1 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
3 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
4 Use the name of the pads instead of a pointer, helps in debugging.
6 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
8 * gst/gstindex.c: (gst_index_get_type):
9 Add a debugging category for GstIndex, first little step in making
12 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
14 * gst/gstelement.c: (gst_element_message_full),
15 (gst_element_pads_activate):
16 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
17 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
18 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
19 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
20 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
21 Assign debug statements to relevant categories instead of the 'default'
22 category so they don't get lost in debugging.
24 2009-01-01 Stefan Kost <ensonic@users.sf.net>
26 * gst/gstdebugutils.c:
27 Add some ideas, how to make the graph smaller.
30 Add a comment from a debug session.
32 * libs/gst/base/gstbasetransform.c:
35 * libs/gst/controller/gstinterpolationcontrolsource.c:
38 * plugins/elements/gstcapsfilter.c:
41 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
43 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
44 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
45 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
46 (gst_bus_create_watch):
47 Make GstBusSource work with non-default main contexts (#562170).
49 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
50 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
51 Add test case for GstBusSource with a non-default main context.
53 * tests/check/libs/.cvsignore:
56 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
58 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
60 Wrap multi-line macros in G_STMT_{START|END}.
62 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
64 * docs/gst/gstreamer-sections.txt:
67 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
68 (gst_query_parse_uri):
70 API: Add URI query type. This is useful to query the URI
71 of a sink/source element and can be used by demuxers that
72 need to get data from other files.
73 This query should go upstream by default.
75 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
76 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
78 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
79 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
83 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
86 * tests/check/gst/gstghostpad.c:
87 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
88 That would cause the ghostpad to emit notify::caps two times (fist
89 from gst_pad_set_caps() and after from on_src_target_notify()).
91 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
93 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
95 Add some more unit-tests for the ghostpad notify signal, one of which
98 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
100 * win32/common/libgstreamer.def:
101 Add gst_tag_setter_reset_tags to the list of exported symbols.
103 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
106 * tests/check/gst/gstghostpad.c:
107 In a source ghostpad, when caps are changed in the target pad, the
108 change needs to be reflected in the ghostpad.
111 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
113 * gst/gstutils.c: (gst_element_found_tags_for_pad):
114 Add FIXME for 0.11 to set the pad as message source and not
115 the element. Otherwise it's impossible to detect for which
116 pad the tags were found without adding an event probe
117 or something similar to the pad.
119 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
121 * docs/faq/general.xml:
124 2008-12-16 Stefan Kost <ensonic@users.sf.net>
126 * docs/gst/gstreamer-sections.txt:
127 * gst/gsttagsetter.c:
128 * gst/gsttagsetter.h:
129 Rename api added in previous commit and add since tag to docs.
130 API: gst_tag_setter_reset_tags()
132 2008-12-16 Stefan Kost <ensonic@users.sf.net>
134 * docs/gst/gstreamer-sections.txt:
135 * gst/gsttagsetter.c:
136 * gst/gsttagsetter.h:
137 Add function to reset tagsetter for element reuse.
139 2008-12-16 Stefan Kost <ensonic@users.sf.net>
142 Avoid copy of empty taglist.
144 2008-12-16 Stefan Kost <ensonic@users.sf.net>
147 * tests/check/gst/gsttag.c:
148 More complete unit tests. Fix handling of empty taglists (they were
151 2008-12-15 Stefan Kost <ensonic@users.sf.net>
154 * gst/gsttagsetter.c:
155 Update GstTagSetter and GstTagMergeMode documentation. Mention
156 that tags can come from events and from application. Fix example.
158 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
160 * docs/design/part-TODO.txt:
161 Remove the seqnum entry that we implemented in 0.10 already.
162 Add entry about removing the format return value for queries.
164 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
166 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
167 (gst_base_sink_init), (gst_base_sink_set_property),
168 (gst_base_sink_get_property):
169 Expose the render-delay as a property so things like appsink can use it
170 to tweak the synchronisation.
172 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
174 * libs/gst/check/gstcheck.h: Allow check tests to use
175 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
176 CK_FORK=no to be used with multiple check test that use threads.
178 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
180 * gst/gstutils.c: (gst_element_get_compatible_pad):
181 Fix a caps memory leak introduced by the last change.
183 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
185 * gst/gstutils.c: (gst_element_get_compatible_pad):
186 Check if the caps of the pads are compatible before returning
187 a pad and claiming it is compatible. This, among other things,
188 fixes a bug with gst-launch where an incompatible pad is chosen
189 and linking fails. Fixes bug #544003.
191 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
193 * libs/gst/check/gstcheck.c: (gst_check_init):
194 Revert accidentially commited patch for bug #404631 which
195 tries to print a backtrace if a testcase is terminated by
196 a signal. This code was never activated as the corresponding
197 configure.ac change wasn't committed.
199 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
201 * tests/check/libs/controller.c: (GST_START_TEST):
202 This test should return TRUE now as syncing an uncontrolled
203 object will succeed now (there's nothing to sync).
205 2008-12-09 Stefan Kost <ensonic@users.sf.net>
207 * libs/gst/controller/gstcontroller.c:
208 Aggregate return value for gst_controller_sync_values(). More info in
209 logging. Always set values on first sync-call.
211 * libs/gst/controller/gstcontrolsource.c:
214 * libs/gst/controller/gsthelper.c:
215 Fix return code and comment.
217 2008-12-09 Stefan Kost <ensonic@users.sf.net>
219 * tools/gst-launch.1.in:
220 Fix description of how to specify a type in caps. Fixes #553873.
221 Also ranges and list contain values and not property-assignments.
223 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
225 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
226 Check for changed pads-list before checking the last returned
227 GstFlowReturn because the pad could have been removed and we
228 need to ignore the value in that case.
230 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
232 * libs/gst/base/gstbasetransform.c:
233 (gst_base_transform_prepare_output_buffer),
234 (gst_base_transform_getrange), (gst_base_transform_chain):
235 * libs/gst/base/gstbasetransform.h:
236 Add vmethod that is called before we start the transform and which can
237 be used to configure the transform, such as dynamic properties.
239 2008-12-05 David Schleef <ds@schleef.org>
242 Search for plugins on win32 based on the location of the
243 gstreamer DLL. Fixes #548786
245 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
248 Apparently AC_CONFIG_MACRO_DIR breaks when using more
249 than one macro directory, reverting last change.
251 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
254 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
257 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
259 Patch by: Cygwin Ports maintainer
260 <yselkowitz at users dot sourceforge dot net>
264 Require gettext 0.17 because older versions don't mix with libtool
265 2.2. At build time an older gettext version will still work.
268 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
270 Patch by: 이문형 <iwings at gmail dot com>
272 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
273 Adds support for FD_CONNECT event (win32). See #562258.
275 2008-11-24 Stefan Kost <ensonic@users.sf.net>
277 * libs/gst/base/gstbasesink.c:
278 Turn comment into gtk-doc comment.
280 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
282 * libs/gst/base/gstbasetransform.c:
283 (gst_base_transform_acceptcaps):
284 Revert quick accepcaps attempt, it's not fully equivalent to the old
285 behaviour and thus causes regressions.
287 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
289 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
292 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
294 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
296 * gst/gstregistry.c: (gst_registry_scan_path_level):
297 Reduce the number of stat() calls for every file from three times
298 to one time. Fixes bug #560360.
300 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
302 * libs/gst/base/gstbasetransform.c:
303 (gst_base_transform_acceptcaps):
304 Rename a variable to make the code clearer.
306 2008-11-21 Stefan Kost <ensonic@users.sf.net>
308 * plugins/elements/gstidentity.c:
309 Don't warning on offset==-1. Taken from _check_imperfect_offset().
311 2008-11-21 Michael Smith <msmith@songbirdnest.com>
313 * plugins/elements/gstfilesrc.c:
314 Check for localhost in URI was backwards, fix it. Fixes unit test.
316 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
318 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
319 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
320 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
321 Add beginnings of a more optimized acceptcaps function than the default
324 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
326 * gst/gstpad.c: (gst_pad_accept_caps):
327 Avoid getting the acceptcaps function too early.
329 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
331 * tools/gst-launch.c: (event_loop):
332 Make gst-launch handle LATENCY messages and make it recalculate the
335 2008-11-20 Michael Smith <msmith@songbirdnest.com>
337 * plugins/elements/gstfilesrc.c:
338 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
339 out own slightly incorrect version. Fixes use of some paths on
342 2008-11-20 Michael Smith <msmith@songbirdnest.com>
344 * gst/gstregistrybinary.c:
345 In win32 codepath, if we fail to write the registry, create the
346 directory for it and try again, matching the behaviour in non-win32
349 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
351 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
352 Changing the render delay changes the latency and so we must post a
355 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
359 Add GstQueryType for custom queries instead of having to use the
360 not-so-very-convenient registration infrastructure to register new
363 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
365 Patch by: Andrew Feren <acferen at yahoo dot com>
367 * gst/gstobject.c: (gst_object_default_deep_notify):
368 Unref the GEnumClass after usage again. Fixes bug #561501.
370 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
372 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
373 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
374 (gst_bin_change_state_func):
376 Add do-latency signal with the old default fallback implementation. This
377 allows for custom latency calculations for when the default is not
379 API: GstBin::do-latency signal.
381 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
383 * win32/common/libgstreamer.def:
384 Add new symbols to .def file.
386 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
388 * docs/gst/gstreamer-sections.txt:
389 * gst/gstbin.c: (gst_bin_recalculate_latency),
390 (gst_bin_change_state_func):
392 Add method to recalculate and redistribute the latency on a bin.
393 API: gst_bin_recalculate_latency().
395 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
398 Document the free_func.
400 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
402 * libs/gst/controller/gstinterpolation.c:
403 * libs/gst/controller/gstlfocontrolsource.c:
404 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
405 as it is mapped to a cast on non-win32 platforms.
407 2008-11-17 Stefan Kost <ensonic@users.sf.net>
409 * libs/gst/controller/gstcontroller.c:
410 * libs/gst/controller/gstcontrollerprivate.h:
411 Keep last-value and only call set_property if value has changed. This
412 supresses all the g_object_notifies we would trigger otherwise. It
413 also allows the user to chage the value while there is no controller
416 2008-11-17 Stefan Kost <ensonic@users.sf.net>
419 Don't crash if either of the string GValues is empty.
421 2008-11-17 Andy Wingo <wingo@pobox.com>
423 * tools/gst-inspect.c (print_all_uri_handlers): New function,
424 prints a summary of what URI schemes are supported by what
426 (main): Plumb in support for --uri-handlers or -u, and fix the
427 argc check for -a and -u.
429 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
432 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
433 conversion functions.
435 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
437 * gst/gstbuffer.c: (gst_buffer_finalize):
438 Avoid costly typechecking for trivially correct pointers.
440 * gst/gstpoll.c: (gst_poll_wait):
441 Add some G_LIKELY here and there.
443 * libs/gst/base/gstadapter.c: (gst_adapter_push):
446 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
448 * docs/random/wtay/poll-timeout:
451 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
453 * tests/old/testsuite/caps/intersection.c: (main):
454 * tests/old/testsuite/plugin/loading.c: (main):
455 Remove references to deprecated API g_mem_chunk*.
458 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
460 * tools/gst-inspect.c: (main):
461 Add --plugin option. Fixes #560301.
463 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
465 * docs/random/wtay/poll-timeout:
466 Quick braindump for a possible (not totally verified) atomic case.
468 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
470 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
471 (gst_registry_binary_initialize_magic),
472 (gst_registry_binary_write_cache),
473 (gst_registry_binary_check_magic):
474 * gst/gstregistrybinary.h:
475 Don't write and check a CRC for the binary registry file. It's
476 guaranteed that the registry is completely written (it's first written
477 to a temporary file and then moved) and if the registry was corrupted
478 by some hardware failure we would have bigger problems.
480 Bump binary registry version to 0.10.21.1 for this as it's an
481 incompatible change and to ensure that the registry gets rebuild
484 This saves some milliseconds for reading/writing the registry.
487 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
489 * docs/random/wtay/poll-timeout:
490 Some pseudo code for how we could implement clock timeouts with GstPoll.
492 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
494 * plugins/elements/gstfilesink.c:
495 Update Author string to match others.
497 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
499 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
500 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
501 being fixed and inline the trivial check.
503 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
505 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
506 (gst_caps_merge_structure), (gst_caps_get_structure),
507 (gst_caps_copy_nth), (gst_caps_set_simple),
508 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
509 (gst_caps_is_equal_fixed), (gst_caps_intersect),
510 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
511 (gst_caps_to_string):
512 Callgrind micro optimisations.
513 Avoid array bounds checks and force inline of trivial function.
515 * gst/gstobject.c: (gst_object_set_name_default):
516 -1 is equivalent to letting glib to the strlen but then there is more
517 room for optimisations and it's not our fault.
519 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
520 no need to clear the array, we're cool.
522 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
523 The most common _is_fixed() check is done on fundamental glib base
524 types so we check this first instead of doing a huge amount of
525 useless GST_TYPE_ARRAY calls.
527 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
530 Add a SKIP seek flag for use with advanced trickmodes.
531 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
533 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
535 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
536 No need to memset, we can clear the value ourselves.
538 * gst/gstvalue.c: (gst_type_is_fixed),
539 (gst_value_get_compare_func):
540 Some optimisations from a few callgrind sessions:
541 When checking if a type is fixed, check for trivial fundamental types
542 first before checking types for which we need to get the type followed
543 by the heavy duty type checks, this reduces the amount of
544 g_type_fundamental() calls a lot.
545 When getting the compare function, first check for our registered types.
546 If that fails, do the heavy duty g_type_is_a() checks, reduces the
547 amount of g_type_is_a() considerably.
549 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
551 * docs/design/part-TODO.txt:
552 Mumble something about removing GstXML.
554 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
556 * gst/gstbin.c: (gst_bin_handle_message_func):
557 Get the seqnum before we dispose the message.
559 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
561 * docs/design/part-TODO.txt:
562 Refer to the framestepping document.
564 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
566 * gst/gstbin.c: (bin_handle_async_start),
567 (gst_bin_handle_message_func), (gst_bin_query):
568 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
569 (gst_base_sink_event), (gst_base_sink_change_state):
570 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
571 (gst_base_src_loop), (gst_base_src_change_state):
572 Copy seqnums from events to messages so that they can all be related
575 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
577 * tools/gst-launch.c: (event_loop):
578 Print the message seqnums.
580 2008-11-04 Andy Wingo <wingo@pobox.com>
582 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
584 2008-11-04 Andy Wingo <wingo@pobox.com>
586 Add sequence numbers to events and messages. See #559250.
588 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
592 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
593 events with a new sequence number, and copy it when copying.
594 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
595 an event's sequence number.
598 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
599 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
602 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
604 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
606 * docs/manual/advanced-position.xml:
607 * docs/manual/basics-bins.xml:
608 * docs/manual/basics-bus.xml:
609 * docs/manual/basics-pads.xml:
610 * docs/manual/intro-gstreamer.xml:
611 * docs/manual/intro-preface.xml:
612 Some Application Development Manual fixes thanks to
613 Andrew Feren. Fixes #558459.
615 2008-11-03 Stefan Kost <ensonic@users.sf.net>
617 * gst/gstregistrybinary.c:
618 Don't bother with the GTimer if we don't output the results.
620 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
622 Patch by: David Schleef <ds@schleef.org>
624 * libs/gst/net/Makefile.am:
625 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
627 2008-10-31 Stefan Kost <ensonic@users.sf.net>
629 * gst/gstregistrybinary.c:
630 Oh my, studip, stupid me. Remove double stat() call.
632 2008-10-31 Stefan Kost <ensonic@users.sf.net>
635 Use g_unlink instead of unlink.
637 * gst/gststructure.c:
646 Formatting & whitespaces.
648 2008-10-31 Stefan Kost <ensonic@users.sf.net>
650 * plugins/elements/gstidentity.c:
651 Doc typo. Use return value of parent_class->event.
653 * plugins/elements/gsttypefindelement.c:
654 Chain up at the end for consistency.
656 2008-10-30 Stefan Kost <ensonic@users.sf.net>
659 * docs/gst/gstreamer-docs.sgml:
660 * docs/gst/gstreamer-sections.txt:
661 * docs/gst/running.xml:
662 * docs/libs/gstreamer-libs-docs.sgml:
663 Change to xinclude based build - its faster and easier to maintain.
665 2008-10-30 Stefan Kost <ensonic@users.sf.net>
667 * gst/gstregistrybinary.c:
668 * gst/gstregistryxml.c:
669 Use g_unlink() as none of these are directories.
671 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
673 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
676 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
678 * libs/gst/base/gstbasetransform.c:
679 (gst_base_transform_find_transform), (gst_base_transform_getrange):
680 If we have a fixate function, call it even if we already have fixed caps
681 because the subclass might add some caps. Makes audioconvert add a
682 default channel layout.
684 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
686 * libs/gst/base/gstbasetransform.c:
687 (gst_base_transform_prepare_output_buffer),
688 (gst_base_transform_getrange):
689 Clear the output buffer variable.
690 Cleanups to the error path in the getrange function.
693 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
695 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
696 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
697 Use gst_buffer_try_new_and_alloc() and handle errors instead of
698 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
701 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
703 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
704 Set the last_stop to a more meaningful position when configuring the
705 segment. ie. the start/stop of the segment or clipped against the
706 updated segment boundaries.
708 * tests/check/gst/gstsegment.c: (GST_START_TEST):
709 Add some unit tests for the last_stop.
711 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
713 * libs/gst/base/gstbytereader.c:
714 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
717 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
719 * docs/gst/gstreamer-sections.txt:
721 API: Move float endianness conversion macros from libgstfloatcast
722 to core as it's useful in general, even in core. Fixes bug #555196.
723 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
724 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
725 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
727 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
728 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
729 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
730 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
732 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
734 * docs/libs/gstreamer-libs-sections.txt:
735 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
736 (gst_byte_reader_peek_data):
737 * libs/gst/base/gstbytereader.h:
738 * win32/common/libgstbase.def:
739 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
740 to get a pointer to the data at the current position and have
743 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
746 Fix a bug in the output of the configure script summary
747 when --gst-disable-registry is supplied
749 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
751 * libs/gst/base/gstbitreader.c:
752 * libs/gst/base/gstbytereader.c:
753 Fix the names of 2 functions in the docs strings.
755 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
757 * libs/gst/base/gstbasetransform.c:
758 (gst_base_transform_prepare_output_buffer),
759 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
760 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
761 refcount problems as seen in banshee and maybe also in farsight2.
762 Remove atomic int now that we need to take the lock anyways.
764 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
766 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
767 (gst_base_sink_default_prepare_seek_segment),
768 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
769 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
770 (gst_base_sink_query):
771 Implement more seeking in pull mode.
772 Use pad convert functions to convert position to the requested format.
773 Fix position/duration reporting in pull mode.
774 Implement position and duration reporting in other formats than time.
776 * libs/gst/base/gstbasesink.h:
777 Add member to keep track of when the segment is playing.
779 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
781 * gst/gstpad.c: (gst_pad_configure_src):
782 When we use gst_pad_alloc_buffer() without wanting to set the caps we
783 also don't need to check if the caps are compatible because the caller
784 presumably is going to perform its own custom checks. Fixes some cases
785 where basetransform elements would error out when it was not needed.
787 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
789 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
792 * libs/gst/base/gstbasetransform.c:
793 (gst_base_transform_handle_buffer),
794 (gst_base_transform_reconfigure):
797 * win32/common/libgstbase.def:
800 2008-10-19 Stefan Kost <ensonic@users.sf.net>
802 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
803 Remove duplicated assignment and log a message in failure case.
805 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
807 Patch by: Dig Ge <dig.ge.cn at gmail com>
809 * tests/examples/helloworld/helloworld.c: (main):
810 Fix copy'n'paste bug in hello world example (#556900).
812 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
814 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
815 (gst_base_sink_query):
816 Query the total number of bytes when activating the pad in pull mode.
817 Implement duration query in pull mode by using the installed pad convert
818 function to convert from bytes to the requested format.
820 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
822 * docs/libs/gstreamer-libs-sections.txt:
823 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
824 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
825 (gst_base_sink_event), (gst_base_sink_perform_seek),
826 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
827 (gst_base_sink_send_event), (gst_base_sink_change_state):
828 * libs/gst/base/gstbasesink.h:
829 Add method to commit the state in subclasses.
830 Refactor the flush_start and flush_stop code because we need it for
831 flushing while seeking too.
832 Implement the beginnings of seeking in pull mode.
833 Use the segment last_stop field for the pulling offset.
834 Fix the pause method in pull mode.
835 Configure the segment to BYTES for pull mode.
836 API: GstBaseSink::gst_base_sink_do_preroll()
838 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
840 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
843 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
845 * gst/gstquark.c: (_priv_gst_quarks_initialize):
846 Fix printf format warning.
848 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
850 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
851 Fix flow aggregation of tee. Error out immediately for all flow returns
852 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
853 and return OK if at least one pad is linked.
855 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
856 and otherwise returned the flow return of the last pad, which is wrong.
858 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
859 (GST_START_TEST), (tee_suite):
860 Add unit tests for the flow aggregation.
862 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
864 * docs/design/part-TODO.txt:
865 Remove item from the todo list because it was fixed with the latency
866 state change rewrites.
868 * docs/design/part-seeking.txt:
869 * docs/design/part-segments.txt:
872 * gst/gstevent.c: (gst_event_new_new_segment_full),
873 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
874 (gst_event_parse_buffer_size), (gst_event_new_qos),
875 (gst_event_parse_qos), (gst_event_new_seek),
876 (gst_event_parse_seek), (gst_event_new_latency),
877 (gst_event_parse_latency):
878 Use quarks to construct and parse events.
880 * gst/gstquark.c: (_priv_gst_quarks_initialize):
882 Add some more quarks to the table.
883 Emit a warning when the quark tables are not in sync.
885 * tests/check/gst/gstbus.c: (GST_START_TEST):
888 2008-10-13 Stefan Kost <ensonic@users.sf.net>
890 * plugins/elements/Makefile.am:
891 * plugins/indexers/Makefile.am:
892 Don't install static libs for plugins. Fixes #550851 for core.
894 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
896 * gst/gstbus.c: (gst_bus_source_finalize),
897 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
898 (gst_bus_enable_sync_message_emission),
899 (gst_bus_disable_sync_message_emission),
900 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
901 Fix deadlock, g_source_get_id() cannot be called in finalize.
902 Keep track of the watch source by keeping a pointer to the source object
904 Use the bus lock to protect access to the pointer to the current
907 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
909 Base on Patch by: Olivier Crete <tester at tester dot ca>
911 * gst/gstbus.c: (gst_bus_source_finalize),
912 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
913 Only allow one bus watch to be set at a time. This is necessary
914 because the dispatcher pops the message from the bus and the second
915 watcher will then get NULL or the next message (and the first won't
916 get this next message then, etc). If more than one "watcher" is
917 required signal watches should be used. Fixes bug #526044.
919 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
921 * tools/gst-launch.c:
922 Change the printing of the 'buffering...' output to avoid putting
923 a \r in a translateable string (flagged by the TP).
925 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
928 Clarify that the save_thyself() and restore_thyself() virtual
929 functions of GstObject need to be overriden, not
930 gst_object_(save|restore)_thyself() which is impossible.
933 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
935 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
936 Revert a patch from 21 months ago that broke caps negotiation in pull
937 mode. Basically, having a buffer pass over a pad will trigger the
938 setcaps function when caps change, just like in push mode.
940 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
942 * docs/design/part-negotiation.txt:
943 Update the docs some more.
945 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
946 If we pull a buffer with non-trivial caps, suggest those caps with the
949 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
951 * docs/design/part-TODO.txt:
952 Add another limitation of pad-blocking with segment seeks not pushing
955 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
957 * win32/common/libgstbase.def:
958 * win32/common/libgstreamer.def:
959 Add new symbols to the win32 defs files
961 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
963 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
964 (gst_bin_handle_message_func):
965 The message src can be NULL, don't try to print the object names in that
968 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
969 Add some more debug info.
971 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
974 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
977 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
979 * docs/design/part-negotiation.txt:
982 * docs/libs/gstreamer-libs-sections.txt:
983 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
984 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
985 (gst_base_sink_init), (gst_base_sink_set_blocksize),
986 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
987 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
988 (gst_base_sink_loop), (gst_base_sink_pad_activate),
989 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
990 (gst_base_sink_change_state):
991 * libs/gst/base/gstbasesink.h:
992 Add blocksize property and methods to control the amount of data
994 Negotiate first before activating upstream in pull mode so that they can
995 negotiate themselves.
996 When we operate in pull mode, we only accept the caps that we
998 Make the sink go ASYNC to PAUSED, like all other sinks.
999 API: GstBaseSink::gst_base_sink_set_blocksize()
1000 API: GstBaseSink::gst_base_sink_get_blocksize()
1001 API: GstBaseSink::blocksize
1003 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1004 (gst_base_src_set_live), (gst_base_src_is_live),
1005 (gst_base_src_set_format), (gst_base_src_query_latency),
1006 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1007 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1008 (gst_base_src_set_property), (gst_base_src_get_property):
1009 * libs/gst/base/gstbasesrc.h:
1010 Add typechecking in public API functions.
1011 Add methods to control the blocksize in subclasses.
1012 API: GstBaseSrc::gst_base_src_set_blocksize()
1013 API: GstBaseSrc::gst_base_src_get_blocksize()
1015 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1017 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1018 (buffer_probe), (event_probe), (GST_START_TEST):
1019 We now see 3 events go through our pad, since basesink now sends
1020 upstream latency events.
1022 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * gst/gstpipeline.c: (gst_pipeline_change_state):
1025 Release the object lock before trying to flush the bus.
1027 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1029 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1030 Forward LATENCY events upstreams so that elements know about the total
1031 pipeline latency. Fixes #555307.
1033 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1035 * plugins/elements/gstqueue.c:
1036 Allow through queries when we don't know how
1037 to adjust them (not TIME or BYTES), as otherwise it's
1038 not possible to query the current position in order
1039 to seek in other formats at all.
1041 2008-10-08 Andy Wingo <wingo@pobox.com>
1043 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1045 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1047 * gst/gstghostpad.c:
1048 * gst/gstghostpad.h:
1049 Unbreak -good build, private is a reserved c++ keyword.
1051 2008-10-08 Andy Wingo <wingo@pobox.com>
1053 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1054 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1055 removal: re-add GST_GHOST_PAD_CAST to the header.
1057 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1058 (GstGhostPadClass): Publically expose these structures so as to
1059 allow easy subclassing from C. Hide the member data behind a
1060 private opaque data pointer.
1062 * gst/gstghostpad.c: Adapt to store instance data in the type
1063 instance's private data region, not in the public struct.
1065 2008-10-08 Andy Wingo <wingo@pobox.com>
1067 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1068 template via g_object_get(), be sure to unref it.
1070 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1072 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1074 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1075 If we can't get a cache file don't try to save something to it.
1076 Dereferencing NULL pointers usually isn't a good idea.
1078 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1080 * tests/check/Makefile.am:
1081 * tests/check/gst/gstabi.c:
1082 * tests/check/gst/struct_sparc.h:
1083 * tests/check/libs/libsabi.c:
1084 * tests/check/libs/struct_sparc.h:
1085 Add Sparc ABI checks
1087 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1088 Cast signed integer to unsigned to avoid a compiler warning.
1090 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1092 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1093 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1094 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1095 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1096 (gst_byte_reader_peek_int24_be):
1097 Use new GST_READ_UINT24_(LE|BE) macros.
1099 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1101 * docs/gst/gstreamer-sections.txt:
1103 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1104 as it's too easy to break the ISO C strict aliasing rules with simple
1105 casts to the corresponding type and this would introduce hard to debug
1106 bugs. Fixes bug #545714.
1108 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1110 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1112 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1113 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1114 Add 'Since' bits to gtk-doc chunks for new API.
1116 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1118 * docs/gst/gstreamer-sections.txt:
1121 2008-10-06 Andy Wingo <wingo@pobox.com>
1123 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1124 that will be called on the malloc_data to free it. Basically a way
1125 to avoid subclassing when all you need is a different free
1126 function, i.e. free() instead of g_free().
1128 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1129 calling the free function.
1130 (gst_buffer_init): Initialize the free function to g_free.
1132 2008-10-06 Andy Wingo <wingo@pobox.com>
1134 * gst/gstghostpad.h:
1135 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1136 finishes the initialization of ghost pad. Useful for language
1137 bindings and subclassers of GstGhostPad. Fixes #539108.
1138 (gst_ghost_pad_new_full): Use the new constructor.
1140 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1142 Base on Patch by: Olivier Crete <tester at tester dot ca>
1144 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1145 (gst_bin_remove_func), (update_degree),
1146 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1147 Keep track of pads that are being linked/unlinked and resync the state
1150 * gst/gstpad.c: (gst_pad_get_direction),
1151 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1152 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1153 (gst_pad_link_prepare), (gst_pad_link),
1154 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1155 (gst_pad_check_pull_range), (gst_pad_get_range),
1156 (gst_pad_pull_range):
1157 Some code cleanups, use macros to check pad direction.
1158 Don't need to take the lock on the pad direction.
1159 Post structure change when pads are linked/unlinked.
1160 Change some checks into _return_if_fail().
1162 * tests/check/gst/gstbin.c:
1163 (test_link_structure_change_state_changed_sync_cb),
1164 (GST_START_TEST), (gst_bin_suite):
1165 Add testcase for pad link/unlinke resync during a state change.
1168 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1170 * docs/gst/gstreamer-sections.txt:
1171 * gst/gstmessage.c: (gst_message_new_structure_change),
1172 (gst_message_parse_structure_change):
1174 Implement STRUCTURE_CHANGED messages. These messages will be used to
1175 signal the parent bin of link/unlink operations that could require a
1176 resync when doing a state change. See ##510354.
1177 API: gst_message_new_structure_change()
1178 API: gst_message_parse_structure_change()
1180 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1184 Add some more quarks for new message. See #510354.
1186 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1188 * docs/libs/gstreamer-libs-docs.sgml:
1189 * docs/libs/gstreamer-libs-sections.txt:
1190 * libs/gst/base/Makefile.am:
1191 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1192 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1193 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1194 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1195 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1196 (gst_bit_reader_skip_to_byte):
1197 * libs/gst/base/gstbitreader.h:
1198 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1199 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1200 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1201 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1202 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1203 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1204 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1205 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1206 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1207 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1208 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1209 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1210 * libs/gst/base/gstbytereader.h:
1211 * tests/check/Makefile.am:
1212 * tests/check/libs/bitreader.c: (GST_START_TEST),
1213 (gst_bit_reader_suite):
1214 * tests/check/libs/bytereader.c: (GST_START_TEST),
1215 (gst_byte_reader_suite):
1216 API: Add bit reader and byte reader classes, including documentation
1217 and an extensive unit test suite. Fixes bug #553554.
1219 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1221 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1222 (gst_base_sink_query):
1223 Improve position reporting while flushing and other intermediate state
1224 changes. Fixes #553874.
1226 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1228 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1230 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1231 Original patch by : Simon Descaries
1232 Fix small refount leak in caps compatibility check.
1235 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1237 * docs/pwg/advanced-request.xml:
1238 Fix 0.8 api usage in example. Fixes #554561
1240 * docs/pwg/appendix-porting.xml:
1241 Change 0.9 to 0.10 here.
1243 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1245 * docs/manual/basics-data.xml:
1246 Change "event-event interaction" to "element-element interaction".
1247 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1250 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1253 Back to development -> 0.10.21.1
1255 === release 0.10.21 ===
1257 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1260 releasing 0.10.21, "Take These Things From Me"
1262 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1265 0.10.20.4 pre-release
1267 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1269 * libs/gst/base/gstbasetransform.c:
1270 * plugins/elements/gstcapsfilter.c:
1271 * tests/check/Makefile.am:
1272 * tests/check/elements/.cvsignore:
1273 * tests/check/elements/capsfilter.c:
1274 Fix assertion in basetransform when the subclass chooses not to
1275 allocate a buffer in prepare_buffer(), and make capsfilter error out
1276 cleanly if requested to apply caps that don't completely specify the
1277 buffer. Fixes #551509
1279 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1281 * libs/gst/base/gstbasetransform.c:
1282 (gst_base_transform_prepare_output_buffer):
1283 Take new caps ref because our old one might have been gone when the
1284 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1286 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1289 Do not probe availability of check unit test library when cross
1290 compiling, as test would not work anyway. Also cleanup verbose output
1291 of the check test. Fixes #551952.
1293 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1295 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1297 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1298 Avoid leaking the parent ref when we fail changing the state of the
1299 element using gst_element_sync_state_with_parent(). Fixes #551978.
1301 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1303 * docs/manual/intro-motivation.xml::
1304 Remove some bits that no longer apply, update others (#551642).
1306 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1309 0.10.20.2 pre-release
1317 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1319 * win32/common/config.h.in:
1320 Add GST_DATADIR, hard-code cpu to x86.
1322 * win32/common/libgstreamer.def:
1325 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1328 Fix Since: markers for new geo tags.
1330 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1333 Fix actual tag name define after renaming from altitude to elevation.
1335 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1337 * gst/gstpad.c: (add_unref_pad_to_list),
1338 (gst_pad_get_internal_links_default):
1339 Add fallback when calling the deprecated function on an element that
1340 implements the new internal_link handler.
1342 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1344 * docs/gst/gstreamer-sections.txt:
1347 Add new tags for geo location and clarify purpose of existing location
1350 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1352 Patch by: Olivier Crete <tester at tester dot ca>
1354 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1355 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1356 Use thread-safe internal links iterator. Fixes #549504.
1358 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1360 Based on patch by: Olivier Crete <tester at tester dot ca>
1362 * docs/gst/gstreamer-sections.txt:
1363 * win32/common/libgstreamer.def:
1364 * gst/gstpad.c: (gst_pad_init),
1365 (gst_pad_set_iterate_internal_links_function),
1366 (int_link_iter_data_free), (iterate_pad),
1367 (gst_pad_iterate_internal_links_default),
1368 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1370 Add threadsafe replacement functions for getting internal links of an
1371 element. Deprecate the old internal links functions.
1372 API:GstPad::gst_pad_set_iterate_internal_links_function()
1373 API:GstPad::GstPadIterIntLinkFunction
1374 API:GstPad::gst_pad_iterate_internal_links()
1375 API:GstPad::gst_pad_iterate_internal_links_default()
1377 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1378 (gst_proxy_pad_init):
1379 Implement threadsafe internal links.
1381 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1382 Unit test for internal links on tee. See #549504.
1384 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1386 * tests/check/Makefile.am:
1387 libs/transform1 test requires libs/test_transform.c
1389 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1391 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1392 Die evil deadlock, die !
1394 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1396 * gst/gstutils.c: (gst_element_get_compatible_pad):
1397 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1398 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1399 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1400 not steal the refcount of the given caps as stated.
1402 REVERT THIS COMMIT ONCE FIXED !
1403 REVERT THIS COMMIT ONCE FIXED !
1404 REVERT THIS COMMIT ONCE FIXED !
1405 REVERT THIS COMMIT ONCE FIXED !
1406 REVERT THIS COMMIT ONCE FIXED !
1407 REVERT THIS COMMIT ONCE FIXED !
1409 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1411 * gst/gstiterator.c:
1412 * gst/gstiterator.h:
1413 After 3 years it's about time to revise the documentation of the
1416 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1418 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1419 Make the internal links function less thread-unsafe and add some
1420 comments, dunno why.
1422 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1424 * gst/gst_private.h:
1425 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1426 build with --disable-gst-debug.
1428 2008-08-28 David Schleef <ds@schleef.org>
1430 * gst/gstpadtemplate.c: Revert last change, since it breaks
1431 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1432 but shouldn't be enabled until we've released fixed versions
1433 of -good and -ffmpeg.
1435 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1438 Put the gst_object_get_name() back in.
1440 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1442 * gst/gstpadtemplate.c:
1443 The old behaviour was that gst_pad_template_new() takes ownership of
1444 the caps. As we now call g_object_new() which calls g_object_set() and
1445 which copies the caps, we have to unref them to not leak them. Fixes
1446 make valgrid for me.
1448 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1451 Don't segfault on input like "tel:+1-123-555-1234".
1453 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1456 Due to popular request also include ObjectType in
1457 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1459 2008-08-26 David Schleef <ds@schleef.org>
1461 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1462 src_val must be positive, because that's not a requirement.
1463 This causes problems with converting negative granulepos
1465 * gst/gstquery.c: Same, gst_query_new_convert().
1467 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1469 * gst/gstclock.c: (gst_clock_add_observation):
1470 Add some more debugging to the clock slaving code.
1472 * win32/common/libgstbase.def:
1473 Add new basetransform method.
1475 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1477 * gst/gstbin.c: (gst_bin_element_set_state):
1478 Take the (recursive) state lock between getting the locked state of an
1479 element and changing the element state. This allows the application to
1480 lock an element's state and then change its state without races.
1482 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1484 * gst/gstbin.c: (gst_bin_element_set_state):
1485 When an element is in the locked state we still want to update the
1486 base_time of the element.
1488 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1490 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1491 Use the result from gst_pad_set_caps() instead of assuming the element
1492 always accepted the caps computed by the default negotiate function.
1494 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1496 * docs/libs/gstreamer-libs-sections.txt:
1497 * libs/gst/base/gstbasetransform.c:
1498 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1499 (gst_base_transform_chain), (gst_base_transform_suggest),
1500 (gst_base_transform_reconfigure):
1501 * libs/gst/base/gstbasetransform.h:
1502 Implement method for reconfiguring basetransform.
1503 API: GstBaseTransform::gst_base_transform_reconfigure()
1505 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1507 patch by: Murray Cumming <murrayc@murrayc.com>
1510 Mention that this is just like gst_buffer_merge() but with extra
1511 unreffing for C coders. Advise language bindings not to wrap it.
1514 Also fix file comment.
1516 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1518 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1520 * plugins/elements/gstfakesink.c:
1521 * plugins/elements/gstfakesrc.c:
1522 Call super::event() when not handling it. Fixes #544855.
1524 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1526 Patch by: Alessandro Decina <alessandro@nnva.org>
1527 * plugins/elements/gstfilesrc.c:
1528 Use 64 bit variants of stat functions on win32, to enable support
1529 of large files there.
1532 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1534 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1535 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1536 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1537 (gst_base_sink_get_position), (gst_base_sink_change_state):
1538 Improve position reporting in the flushing state.
1539 Also report the position when we are not yet prerolled but we
1540 have a newsegment event. Fixes #543444.
1541 Improve the pull-based negotiation code.
1543 * tests/check/elements/fakesink.c: (GST_START_TEST),
1545 Add testcase for position reporting while flushing in PAUSED and
1548 * tests/check/generic/sinks.c: (GST_START_TEST):
1549 Update unit-test, we can now query the position as soon as we receive a
1552 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1554 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1556 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1557 When the subclass event handler releases the PREROLL_LOCK, we could be
1558 in the flushing state and we have to ignore the event. Fixes #548394.
1560 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1562 * tools/gst-launch.1.in:
1563 Document GST_REGISTRY_UPDATE environment variable.
1565 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1567 * libs/gst/base/gstbasetransform.c:
1568 (gst_base_transform_prepare_output_buffer):
1569 If the element is configured in passthrough mode but the
1570 prepare_output_buffer gave us a new output buffer, discard that buffer
1571 and reuse the input buffer.
1573 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1575 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1577 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1578 (gst_tee_request_new_pad), (gst_tee_release_pad),
1579 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1580 * plugins/elements/gsttee.h:
1581 Protect pad_alloc with a new lock so that we can be sure that nothing is
1582 performing a pad_alloc when removing the pad. Fixes #547835.
1584 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1585 (buffer_alloc_harness_teardown), (app_thread_func),
1586 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1587 Added testcase for shutdown race.
1589 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1594 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1596 * libs/gst/base/gstbasetransform.c:
1597 (gst_base_transform_prepare_output_buffer),
1598 (gst_base_transform_buffer_alloc):
1599 Go over the buffer_alloc function again and make sure we always end up
1600 allocating a buffer.
1602 Avoid doing pad alloc when we have a pending suggestion because we
1603 cannot yet deal with changing caps in that case. Fixes #547728
1605 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1607 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1609 * docs/manual/advanced-clocks.xml:
1610 * docs/manual/clocks.png:
1611 * docs/manual/diagrams-clocks.svg:
1612 Add one more image showing different times together with a describing
1613 paragraph. Fixes #547729.
1615 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1617 * win32/common/libgstbase.def:
1620 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1622 * libs/gst/base/gstbasetransform.c:
1623 (gst_base_transform_transform_caps),
1624 (gst_base_transform_prepare_output_buffer),
1625 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1626 Don't overwrite the outsize when calculating the expected size of a new
1627 buffer because we still need it in case we cannot process the new
1629 When converting the size of the new buffer to an upstream size, actually
1630 use the expected size of the buffer, not some other random value.
1631 Use an atomic int to signal that a new upstream caps suggestion is
1633 When we can convert the current buffer to a new format, check if the
1634 buffer size is of the expected size and allocate a new buffer of the
1635 expected size when this is not the case. Fixes #546883.
1637 * tests/check/libs/transform1.c: (GST_START_TEST):
1638 remove ifdeffed code from the unit test.
1640 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1642 * pkgconfig/gstreamer-uninstalled.pc.in:
1643 * pkgconfig/gstreamer.pc.in:
1644 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1645 called gstcontroller-0.10.
1647 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1649 * gst/gstchildproxy.h:
1651 Remove double interface from doc-string.
1653 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1655 * libs/gst/base/gstbasesrc.c:
1656 * libs/gst/base/gstbasetransform.c:
1657 Fix headings in docs and gtk-doc warnings.
1659 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1661 * gst/gstregistrybinary.c:
1662 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1666 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1668 * libs/gst/base/gstbasetransform.c:
1669 (gst_base_transform_buffer_alloc):
1670 Fix a "may be used unitialized" warning.
1672 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1674 * docs/gst/gstreamer-sections.txt:
1676 Document preset-iface vmethods.
1678 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1680 * docs/manual/advanced-interfaces.xml:
1681 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1682 only used to discover devices.
1684 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1686 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1688 * gst/gst.c: (init_pre):
1689 Make sure gettext returns translations in UTF-8 encoding rather
1690 than in the current locale encoding (#546822).
1692 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1694 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1697 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1698 Improve unit test subset tests and add a testcase for the subset failure
1701 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1702 Improve subtraction unit test.
1704 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1706 * plugins/elements/gsttee.c:
1707 Unlock, instead of locking again.
1709 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1712 Clarify the docs a bit more.
1714 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1716 * tests/examples/metadata/read-metadata.c:
1717 Don't leak old taglist.
1719 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1721 Patch by: Olivier Crete <tester at tester dot ca>
1723 * gst/gststructure.c:
1724 (gst_structure_fixate_field_nearest_fraction):
1725 Avoid overflows in fixation code when dealing with MAXINT values, which
1726 v4l2src seems to do.
1729 * tests/check/gst/gststructure.c: (GST_START_TEST):
1730 Make a unit test to check the fix.
1732 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1734 * plugins/elements/gstcapsfilter.c: (copy_func),
1735 (gst_capsfilter_set_property):
1736 Use new caps suggestion feature of basetransform to request a caps
1737 negotiation upstream.
1739 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1741 * docs/libs/gstreamer-libs-sections.txt:
1743 API: GstBaseTransform::gst_base_transform_suggest()
1745 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1746 (gst_base_transform_init), (gst_base_transform_transform_caps),
1747 (gst_base_transform_transform_size),
1748 (gst_base_transform_configure_caps),
1749 (gst_base_transform_can_transform),
1750 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1751 (gst_base_transform_prepare_output_buffer),
1752 (gst_base_transform_buffer_alloc),
1753 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1754 (gst_base_transform_chain), (gst_base_transform_activate),
1755 (gst_base_transform_set_passthrough),
1756 (gst_base_transform_is_passthrough),
1757 (gst_base_transform_set_in_place),
1758 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1759 (gst_base_transform_set_qos_enabled),
1760 (gst_base_transform_is_qos_enabled),
1761 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1762 (gst_base_transform_reconfigure):
1763 * libs/gst/base/gstbasetransform.h:
1764 Rewrite of basetransform to perform negotiation outside of the
1765 buffer_alloc functions. Fixes #545853.
1767 * tests/check/libs/transform1.c: (GST_START_TEST),
1771 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1773 * tests/check/gst/gstpreset.c:
1774 Only run preset tests when $HOME is writable. Preliminary fix for
1777 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1779 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1780 (gst_bin_change_state_func), (bin_handle_async_done),
1781 (gst_bin_handle_message_func):
1782 Fix race for bins that simulate ASYNC state changes by inserting
1783 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1784 pending ASYNC messages even when the bin does not have ASYNC children.
1785 We note detect this behaviour because we will receive an ASYNC message
1786 that is originating from the bin itself.
1787 Fixes races with decodebin2 state changes.
1789 * tests/check/gst/gstbin.c: (GST_START_TEST):
1790 Add some more debug.
1792 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1794 * gst/gsttaglist.c: (_gst_tag_initialize):
1797 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1800 Argh. actually save the text before committing. Now adds
1801 gst_tag_merge_strings_with_comma() to gst_tag_register().
1803 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1807 Do as tim pointed out and actually register the new tag. Also improve
1808 te docs and use gst_tag_merge_strings_with_comma() method to allow
1809 retriving all keywords merged in one list.
1811 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1814 * docs/gst/gstreamer.types:
1815 Revert 'accidential' change of the configure option removal. We still
1816 need to generate the types file in configure --disable-load-save.
1818 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1820 * docs/gst/gstreamer-sections.txt:
1822 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1824 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1826 * gst/gstpadtemplate.c:
1827 (gst_pad_template_class_init), (gst_static_pad_template_get),
1828 (gst_pad_template_new), (gst_pad_template_pad_created),
1829 (gst_pad_template_set_property), (gst_pad_template_get_property):
1830 Add "name-template", "direction", "presence" and "caps" properties,
1831 so that gst_pad_template_new() is just a thin wrapper around
1832 g_object_new(), which is better for bindings. (Fixes: #539772)
1834 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1837 Be more liberal in what URIs we accept.
1838 Do not unescape bits of the URI for no apparent reason before passing to
1839 the element. Fixes #545352.
1841 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1843 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1846 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1848 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1851 * docs/gst/gstreamer-sections.txt:
1852 * docs/gst/gstreamer.types:
1853 * docs/gst/gstreamer.types.in:
1856 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1857 * gst/gstconfig.h.in:
1858 * gst/gstelement.c: (gst_element_get_index):
1859 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1860 (gst_registry_binary_load_feature),
1861 (gst_registry_binary_read_cache):
1862 * gst/gstregistryxml.c: (load_feature),
1863 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1864 * plugins/Makefile.am:
1866 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1867 (print_plugin_features), (print_element_features):
1868 * tools/gst-xmlinspect.c: (print_event_masks),
1869 (print_element_info):
1870 * win32/common/gstconfig.h:
1871 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1873 Disabling the indexers and URI handler code will only reduce the
1874 required amount of memory by a very small amount but on the other hand
1875 requires much more maintaince work. Apart from that many places of
1876 code are broken when disabling them.
1878 Disabling the enum types doesn't reduce the required amount of memory
1879 by more than a few bytes and makes it hard to fix bugs like #539772,
1880 i.e. use the enums as GObject properties.
1882 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1884 * docs/design/part-TODO.txt:
1885 Add some thoughts and problems with upstream renegotiation.
1887 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1889 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1890 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1891 Remove silly redundant debug.
1892 Add some more debug info.
1893 Clarify the docs regarding new caps received from pad_alloc.
1895 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1897 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1898 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1899 Make setting the caps more threadsafe.
1901 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1903 * docs/design/part-element-transform.txt:
1906 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1908 * plugins/elements/gstqueue.c: (gst_queue_init),
1909 (gst_queue_acceptcaps):
1910 Add and use a custom acceptcaps function instead of falling back to the
1911 potentially less optimized default implementation.
1913 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1915 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1916 Only sanity-check the buffer size if requested_caps == buffer_caps
1917 (ie. don't take pad caps into account, they're not relevant here)
1919 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1921 * plugins/elements/gsttee.c:
1922 * plugins/elements/gsttee.h:
1923 Reverting as not everything is clear yet. Needs some general design
1926 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1929 ChangeLog surgery for tee commit.
1931 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1933 * docs/gst/gstreamer-sections.txt:
1934 Cleanup section-file.
1936 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1938 * plugins/elements/gsttee.c:
1939 * plugins/elements/gsttee.h:
1940 Relay tag events in tee. Fixes parts of #474016.
1941 Downgrades 3 reoccurring debugs to log.
1943 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1946 * libs/gst/Makefile.am:
1947 Build the net library if we have winsock2.
1949 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1951 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1953 * docs/manual/advanced-threads.xml:
1954 * docs/manual/diagrams-pipelines.svg:
1955 * docs/manual/hello-world.png:
1956 * docs/manual/linked-elements.png:
1957 * docs/manual/mime-world.png:
1958 * docs/manual/queue.png:
1959 * docs/manual/thread-buffering.png:
1960 * docs/manual/thread-synchronizing.png:
1961 Replace one diagram with two separate ones and updates others.
1964 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1967 Fix link in documentation.
1969 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1972 Fix confusing documentation.
1974 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1976 * libs/gst/base/gstbasesrc.h:
1977 revert the changes to the header file for the ABI.
1979 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1981 * libs/gst/base/gstbasesrc.c:
1982 * libs/gst/base/gstbasesrc.h:
1983 Don't cache the seekable status.
1986 2008-07-24 Rene Stadler <mail@renestadler.de>
1988 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1989 code to close the pipeline graph. This prevents the program from
1990 printing internal data flow errors.
1992 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1994 * docs/manual/basics-bus.xml:
1995 Correct typo. Fixes bug #544320.
1997 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2000 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2001 Add check (taken from -base) for winsock, adds WIN32_LIBS
2003 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2005 Define GST_EXPORTS when building libgstreamer (only used on win32)
2006 * gst/gst_private.h:
2008 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2009 for symbols that we need to export in both these files.
2011 Include gst_private.h higher up to avoid some compile problems on win32.
2013 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2018 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2021 Previous commit was wrong NULL caps does not exist
2022 and indicate an error, so also add a FIXME to
2023 gst_caps_is_equal where NULL caps are accepted.
2025 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2028 Allow passing of NULL to gst_caps_union
2030 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2032 * gst/gstghostpad.c:
2033 Add in doc that gst_ghost_pad_set_target can accept
2034 NULL to clear target
2036 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2039 * gst/gstregistry.c:
2040 GstRegistryPool doesn't exist; don't refer to it in docs.
2041 Don't refer to functions that don't exist in docs, it's
2044 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2047 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2049 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2051 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2053 * docs/pwg/building-testapp.xml:
2054 Don't use an undeclared variable in the example program.
2057 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2059 * gst/gstdebugutils.c:
2060 Squeeze ghost-pad links and remove <> from classname labels to save
2061 more horizontal space.
2063 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2065 * gst/gstdebugutils.c:
2066 Give request and sometimes pads a different shpe style. Condense the
2067 graphs a little more.
2069 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2072 Don't require flex and bison if the parser is disabled.
2074 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2076 * libs/gst/controller/gstinterpolationcontrolsource.c:
2077 (_list_find_sorted_custom):
2078 Don't use declarations after statements.
2080 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2082 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2083 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2084 of the the child-added / -removed signals as GstChildProxy
2085 only supports GstObjects.
2087 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2089 * gst/gstdebugutils.c:
2092 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2094 Patch by: Alessandro Decina <alessandro at nnva dot org>
2097 Fix "ignored return value" compiler warning with newer glibc.
2099 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2101 * gst/gstchildproxy.c:
2102 Fix copy&paste error in gst_child_proxy_removed() documentation.
2104 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2106 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2107 Print error debug message if plugin description fields that should
2110 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2111 Don't crash if the string to serialise is NULL (it really should
2112 not be, but apparently this used to work with the xml registry ...).
2114 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2116 * tools/gst-plot-timeline.py:
2117 Fix parsing of log messages
2119 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2121 * win32/common/libgstbase.def::
2122 Sort alphabetically so make check-exports doesn't barf.
2124 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2127 Use gst_format_get_name() to improve debug output.
2130 Remove #ifdef'ed code. Add TODO comment.
2133 Add debug output to ease spotting format != segment.format assertions.
2135 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2137 * tests/check/libs/gdp.c: (gst_dp_suite):
2138 Also enable the GDP unit test again on PPC now that the bug
2141 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2143 * libs/gst/dataprotocol/dataprotocol.c:
2144 Don't write to the same region of memory as a uint64 and uint16
2145 as this breaks strict aliasing rules and apparantly breaks on PPC
2146 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2148 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2150 * libs/gst/controller/gstinterpolationcontrolsource.c:
2151 Optimize list handling. Use own find function. Exploit that fact that
2152 the list is sorted. Also pass back the node before, so that we can
2153 insert quickly. Have a fast path for append.
2155 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2157 * docs/design/draft-framestep.txt:
2158 * docs/design/part-negotiation.txt:
2161 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2164 Show configuration sumary after configure run. Based on patch by
2165 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2167 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2169 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2171 * docs/manual/advanced-autoplugging.xml:
2172 * docs/manual/advanced-threads.xml:
2173 * docs/manual/basics-bins.xml:
2174 * docs/manual/basics-elements.xml:
2175 * docs/manual/basics-helloworld.xml:
2176 * docs/manual/basics-pads.xml:
2177 Add scale factor for pdf output.
2179 * docs/manual/intro-basics.xml:
2180 Switched sections "pads" and "bins" and added a pipeline diagram.
2182 * docs/manual/intro-gstreamer.xml:
2183 Added more info on gstreamer.
2185 * docs/manual/intro-motivation.xml:
2186 Commented out the whole section "current problem", which sounds
2187 historical and somehow osolete; it could be turned in a positive
2188 way and reused to improve the design principles.
2190 * docs/manual/intro-preface.xml:
2191 - Update URLs to library.gnome.org.
2192 - Do not mention GTK+ in preliminary reading (irrelevant).
2193 - Mention Plugin Writer's Manual and further reading only in the
2195 - Added a list of most relevant GObject/glib topics.
2197 * docs/manual/Makefile.am:
2198 * docs/manual/bin-element-ghost.fig:
2199 * docs/manual/bin-element-ghost.png:
2200 * docs/manual/bin-element-noghost.fig:
2201 * docs/manual/bin-element-noghost.png:
2202 * docs/manual/bin-element.fig:
2203 * docs/manual/bin-element.png:
2204 * docs/manual/filter-element-multi.fig:
2205 * docs/manual/filter-element-multi.png:
2206 * docs/manual/filter-element.fig:
2207 * docs/manual/filter-element.png:
2208 * docs/manual/gstreamer-overview.png:
2209 * docs/manual/hello-world.fig:
2210 * docs/manual/hello-world.png:
2211 * docs/manual/linked-elements.fig:
2212 * docs/manual/linked-elements.png:
2213 * docs/manual/mime-world.fig:
2214 * docs/manual/mime-world.png:
2215 * docs/manual/queue.fig:
2216 * docs/manual/queue.png:
2217 * docs/manual/simple-player.png:
2218 * docs/manual/sink-element.fig:
2219 * docs/manual/sink-element.png:
2220 * docs/manual/src-element.fig:
2221 * docs/manual/src-element.png:
2222 * docs/manual/diagrams-general.svg:
2223 * docs/manual/diagrams-pipelines.svg:
2224 Removed .fig, added .png counterpart.
2228 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2230 * plugins/elements/gstmultiqueue.c:
2231 * plugins/elements/gstmultiqueue.h:
2232 revert extra-size-buffers stuff, caused some race conditions
2233 and extra-size-buffers is not used anymore. Docs needs some updates
2235 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2237 * win32/common/config.h:
2238 * win32/common/gstenumtypes.c:
2239 * win32/common/gstenumtypes.h:
2240 * win32/common/gstversion.h:
2243 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2245 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2246 (GST_DEBUG_BIN_TO_DOT_FILE):
2247 Add missing Since' markers to gtk-doc blurbs.
2249 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2251 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2252 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2253 (set_caps_1), (set_caps_ct1), (transform_ct1),
2254 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2255 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2256 (transform_size_ct2), (buffer_alloc_ct2):
2257 Add some more tests with switching caps in buffer_alloc.
2259 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2261 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2262 (gst_test_trans_class_init), (result_sink_chain),
2263 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2264 (gst_test_trans_push), (gst_test_trans_pop):
2265 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2266 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2267 (set_caps_1), (set_caps_ct1), (transform_ct1),
2268 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2269 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2270 (transform_size_ct2), (buffer_alloc_ct2),
2271 (gst_basetransform_suite):
2272 More tests, prepare for tests with switching caps in buffer_alloc.
2274 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2276 * plugins/elements/gstmultiqueue.c:
2277 * plugins/elements/gstmultiqueue.h:
2278 Fix dead-lock in underrun_cb
2280 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2282 * docs/design/part-states.txt:
2283 Fix device open/close docs.
2285 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2288 Mention bugnumber for last commit.
2290 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2292 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2294 * docs/manual/manual.xml:
2295 - Reorganised the previous "introduction" bundle into Foreword,
2296 Introduction, and About GStreamer. The two first are <preface>
2297 docbook elements. The later is the first part of the book.
2298 - added intro-gstreamer.xml (content partially from
2300 - moved appendix-win32.xml into appendix-integration.xml
2302 * docs/manual/intro-preface.xml: gstreamer section moved...
2303 * docs/manual/intro-gstreamer.xml: ...here. new file.
2305 * docs/manual/appendix-win32.xml: removed file. Content moved...
2306 * docs/manual/appendix-integration.xml: ...here.
2308 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2309 * docs/manual/appendix-checklist.xml: ...here.
2313 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2315 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2317 * docs/manual/basics-helloworld.xml:
2318 * docs/manual/hello-world.fig:
2319 - Explicitely include glib.h.
2320 - Do not use global variables.
2321 - Use g_printerr() instead of g_print().
2322 - Minor formating/renaming to increase readibility.
2323 - Renamed new_pad() to on_pad_added()
2324 - Improved explenatory comments.
2325 - renamed ogg parser to ogg demuxer
2326 - Use "autoaudiosink" instead of "alsasink".
2329 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2332 Remove cvs conflict marker.
2334 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2337 Document that for plgin-docs we extraxt he short-desc from the element
2340 * docs/design/part-states.txt:
2341 Tell that devices should be closed in PAUSED -> READY.
2343 * docs/manual/README:
2344 Document how tests in the manual are handled.
2349 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2351 * gst/gstbin.c: (bin_query_latency_fold):
2352 Only care about latency min and max when the sink is actually a live
2355 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2357 * docs/design/part-block.txt:
2360 * docs/design/part-element-transform.txt:
2361 Add notes about why transform needs to know input/output sizes.
2362 Add some issues that need to be solved.
2363 Add some more use cases.
2365 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2366 (gst_test_trans_class_init), (result_sink_chain),
2367 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2368 (gst_test_trans_push), (gst_test_trans_pop):
2369 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2370 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2371 (set_caps_1), (set_caps_ct1), (transform_ct1),
2372 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2373 (gst_basetransform_suite):
2374 Add suport for different pad templates and buffer-alloc.
2375 Add more checks for caps and buffer-alloc.
2376 Add checks for proxy buffer alloc.
2377 Add unit test for copy transform.
2379 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2381 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2383 * docs/manual/appendix-integration.xml:
2384 * docs/manual/appendix-licensing.xml:
2385 * docs/manual/basics-elements.xml:
2386 * docs/manual/basics-helloworld.xml:
2387 * docs/manual/basics-pads.xml:
2388 * docs/manual/highlevel-components.xml:
2389 * docs/manual/highlevel-xml.xml:
2390 * docs/manual/intro-basics.xml:
2391 * docs/manual/intro-preface.xml:
2392 Typo and formatting fixes (#538594).
2394 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2396 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2397 Fix some memory leaks and uses of object instances that we don't
2400 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2402 * plugins/elements/gstmultiqueue.c:
2403 Add functionality to extra-size-buffers property.
2405 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2407 * plugins/elements/gstmultiqueue.c:
2408 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2409 activate the pads if they are added in STATE_NULL.
2411 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2413 * docs/libs/gstreamer-libs-sections.txt:
2415 * libs/gst/check/gstcheck.c:
2416 * libs/gst/check/gstcheck.h:
2417 API: gst_check_teardown_pad_by_name
2419 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2421 * libs/gst/check/gstcheck.c:
2422 * libs/gst/check/gstcheck.h:
2423 Also setup request pads and allow setup pads by name (#537812)
2424 API: gst_check_setup_src_pad_by_name
2425 API: gst_check_setup_sink_pad_by_name
2427 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2429 * tests/check/gst/gstbuffer.c:
2430 * tests/check/pipelines/parse-launch.c:
2431 Use HAVE_VALGRIND_H some more.
2433 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2435 * scripts/cvs-update.sh:
2436 Pass arguments to make.
2437 Run autoregen.sh if Makefile is not there.
2439 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2443 Don't assume that <valgrind/valgrind.h> exists just because
2444 the binary is there.
2446 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2448 * tests/check/Makefile.am:
2449 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2450 (gst_test_trans_class_init), (gst_test_trans_init),
2451 (gst_test_trans_set_data), (result_sink_chain),
2452 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2453 (gst_test_trans_pop):
2454 * tests/check/libs/transform1.c: (GST_START_TEST),
2455 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2456 Add some test basetransform element and the beginnings of various
2459 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2461 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2462 Increase code readability.
2463 Don't try to compare buffer offsets when ther are invalid.
2465 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2467 * docs/design/Makefile.am:
2468 Dist some more design docs.
2470 * docs/random/moving-plugins:
2471 Small addition: good plugins mustn't have functional code
2472 within assertion macros.
2474 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2476 * docs/design/draft-framestep.txt:
2477 Some ideas about a framestep API
2479 * docs/design/part-element-transform.txt:
2480 Start design and use cases for basetransform in order to get it
2483 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2486 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2487 be in UTF-8 encoding.
2489 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2492 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2494 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2496 * plugins/elements/gstcapsfilter.c:
2497 * plugins/elements/gstfakesink.c:
2498 * plugins/elements/gstfakesrc.c:
2499 * plugins/elements/gstfdsink.c:
2500 * plugins/elements/gstfdsrc.c:
2501 * plugins/elements/gstfilesink.c:
2502 * plugins/elements/gstfilesrc.c:
2503 * plugins/elements/gstidentity.c:
2504 * plugins/elements/gstmultiqueue.c:
2505 * plugins/elements/gstqueue.c:
2506 * plugins/elements/gsttee.c:
2507 * plugins/elements/gsttypefindelement.c:
2508 Remove short_description. Add basic docs for gsttypefindelement.
2509 Simplify markup for fakesrc/fdsrc.
2511 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2513 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2516 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2518 Patch by: Joel Larsson <tilljoel at gmail dot com>
2520 * docs/plugins/gstreamer-plugins.args:
2521 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2522 (gst_fd_src_init), (gst_fd_src_update_fd),
2523 (gst_fd_src_set_property), (gst_fd_src_get_property),
2524 (gst_fd_src_create):
2525 * plugins/elements/gstfdsrc.h:
2526 Add timeout property like udpsrc. Fixes #538628.
2527 Add some more docs and example pipelines.
2529 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2531 * docs/libs/gstreamer-libs-sections.txt:
2532 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2533 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2534 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2535 (gst_base_sink_do_sync):
2536 * libs/gst/base/gstbasesink.h:
2537 * win32/common/libgstbase.def:
2538 Add method to allow sinks to specify additional delay between the sync
2539 times and the actual rendering of the data.
2540 API: gst_base_sink_set_render_delay()
2541 API: gst_base_sink_get_render_delay()
2543 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2546 Bump version number back to dev -> 0.10.20.1
2548 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2550 * docs/gst/gstreamer-sections.txt:
2551 * gst/gsttaglist.c: (_gst_tag_initialize):
2553 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2556 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2558 * libs/gst/controller/gstcontroller.c:
2559 Revert one change, that make ret value possible uninitialized.
2561 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2563 * libs/gst/controller/gstcontroller.c:
2564 Use freeze/thaw notify to sync notify emission a bit (its also more
2565 efficient). Move debug output to LOG (is called a lot in a loop).
2566 Always unset g_values if the have been initialized.
2568 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2570 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2571 (gst_base_sink_wait_eos), (gst_base_sink_event):
2572 If we have not seen a buffer before EOS, use the segment values to
2573 report the current position instead of invalid positions.
2575 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2577 * docs/plugins/tmpl/.cvsignore:
2578 * tests/check/gst/.cvsignore:
2581 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2583 * libs/gst/controller/gstinterpolation.c:
2584 * libs/gst/controller/gstinterpolationcontrolsource.c:
2585 * tests/check/libs/controller.c:
2586 Rewrite handling of default values. Fix overflow with unsigned types
2587 in linear interpolation. Remove now obsolete _first_value() function.
2588 Add more tests. Fixes #538201.
2590 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2592 * libs/gst/base/gstbasetransform.c:
2593 (gst_base_transform_class_init), (gst_base_transform_init),
2594 (gst_base_transform_transform_caps),
2595 (gst_base_transform_prepare_output_buffer):
2597 When a buffer is writable, its metadata is also writable so we don't
2598 need to subbuffer (which then makes the buffer not-writable anymore).
2600 === release 0.10.20 ===
2602 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2605 releasing 0.10.20, "You Crazy Diamond"
2607 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2610 0.10.19.3 pre-release
2612 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2616 Rename DATADIR to GST_DATADIR to avoid build problems
2617 on win32. Patch By: David Schleef <ds@schleef.org>
2620 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2623 Explicitely link with -ldl if dladdr() is found there. Before it was
2624 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2625 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2627 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2629 * gst/gsterror.c: (_gst_stream_errors_init):
2630 Fix typo (spotted by Fabricio Godoy, #536723).
2632 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2635 0.10.19.2 pre-release
2637 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2639 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2640 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2642 Make sure we don't generate invalid QoS messages.
2644 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2646 * gst/gstevent.c: (gst_event_new_qos):
2647 Add some assert and docs for invalid input to the qos function.
2649 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2651 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2652 (gst_base_sink_get_position):
2653 The reported position must always be smaller than the last seen
2654 timestamps (or timestamp + duration for reverse).
2656 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2658 Patch by: Rob Bradford <rob at robster dot org dot uk>
2660 * gst/gstregistry.c: (gst_registry_scan_path_level):
2661 Don't recurse into .debug directories as some distros install
2662 the debugging symbols next to the plugins in .debug directories
2663 and dlopen() crashes on them sometimes. Fixes bug #508070.
2665 Add FIXME for 0.11 to not recurse into directories at all because
2666 it's very inconsistent to the behaviour of other PATH environment
2669 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2671 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2672 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2673 Fix position query range checks in reverse playback.
2675 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2679 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2680 clear of the reference to the resulting pad must be released later
2681 or not, resulting in possible leaks. Fixes bug #533865.
2683 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2685 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2687 * gst/gstelementfactory.c:
2688 Small doc fix. Fixes #535285.
2690 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2692 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2694 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2695 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2696 (gst_base_src_loop), (gst_base_src_set_flushing),
2697 (gst_base_src_change_state):
2698 Make sending an EOS event to the basesrc non-blocking even if the
2699 implementation does blocking waits in the create function. This is done
2700 by unlocking the create function when EOS is sent.
2703 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2705 * tools/gst-inspect.c: (print_element_properties_info):
2706 If possible print the element type of GValueArray properties.
2708 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2710 * gst/gstiterator.c:
2711 Remove an unused field from the private GstListIterator struct.
2713 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2715 * libs/gst/controller/gstcontroller.c:
2716 Add parameter guards.
2718 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2720 * tests/check/gst/gstpipeline.c:
2721 Revert test change and add comment why it should not work.
2723 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2725 * tests/check/gst/gstpipeline.c:
2726 Extending the test a little to verify that we also get the NULL state-
2729 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2731 * gst/gstpreset.c: (gst_preset_default_get_meta),
2732 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2733 (gst_preset_load_preset), (gst_preset_save_preset),
2734 (gst_preset_rename_preset), (gst_preset_delete_preset),
2735 (gst_preset_set_meta):
2736 Add Since: markers to docs blurbs.
2738 * win32/common/libgstreamer.def:
2739 Add recently-added API.
2741 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2743 Patch by: Stefan Kost <ensonic@users.sf.net>
2746 Add DATADIR for storing presets.
2748 * docs/gst/gstreamer-docs.sgml:
2749 * docs/gst/gstreamer-sections.txt:
2750 * docs/gst/gstreamer.types.in:
2751 Add GstPreset to docs.
2755 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2756 (preset_open_and_parse_header), (preset_parse_version),
2757 (preset_merge), (preset_get_keyfile),
2758 (gst_preset_default_get_preset_names),
2759 (gst_preset_default_get_property_names),
2760 (gst_preset_default_load_preset),
2761 (gst_preset_default_save_presets_file),
2762 (gst_preset_default_save_preset),
2763 (gst_preset_default_rename_preset),
2764 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2765 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2766 (gst_preset_default_reset), (gst_preset_get_preset_names),
2767 (gst_preset_get_property_names), (gst_preset_load_preset),
2768 (gst_preset_save_preset), (gst_preset_rename_preset),
2769 (gst_preset_delete_preset), (gst_preset_set_meta),
2770 (gst_preset_get_meta), (gst_preset_class_init),
2771 (gst_preset_base_init), (gst_preset_get_type):
2773 Add GstPreset to core. Fixes #396779
2775 * tests/check/Makefile.am:
2776 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2777 (gst_preset_test_set_property), (gst_preset_test_class_init),
2778 (gst_preset_test_base_init), (gst_preset_test_get_type),
2779 (gst_preset_test_plugin_init), (GST_START_TEST),
2780 (remove_preset_file), (test_setup), (test_teardown),
2782 Add GstPreset unit tests.
2784 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2786 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2787 The default event function on a sinkpad should return TRUE when
2788 there are no internal links but should collect the return values from
2789 the internal links otherwise.
2791 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2793 * plugins/elements/gsttypefindelement.c:
2794 (gst_type_find_element_src_event),
2795 (gst_type_find_element_handle_event):
2796 Use faster and safer _pad_push_event().
2798 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2800 * docs/gst/gstreamer-sections.txt:
2801 * gst/gstutils.c: (element_find_unlinked_pad),
2802 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2804 API: add gst_bin_find_unlinked_pad()
2805 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2807 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2813 Fixed a bunch of typos.
2815 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2818 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2819 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2820 (gst_parse_bin_from_description_full):
2822 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2824 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2826 * docs/pwg/advanced-tagging.xml:
2827 Small docs update, can't be bothered to rewrite the nonsensical
2830 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2833 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2835 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2837 * gst/parse/grammar.y:
2838 Remove unneeded casts.
2840 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2842 * gst/parse/grammar.y:
2843 * tests/check/pipelines/parse-launch.c:
2844 Get all missing elements from a parse launch string if possible
2845 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2847 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2849 * tests/check/Makefile.am:
2850 * tests/check/pipelines/parse-launch.c:
2851 Add some unit tests for the new gst_parse_launch*_full() API.
2852 (Exposes a previously-existing memory leak in the error code
2853 path, so adding to VALGRIND_TO_FIX for now).
2855 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2857 * docs/gst/gstreamer-sections.txt:
2858 * gst/gst.c: (init_post):
2859 * gst/gst_private.h: (_GstParseContext):
2860 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2861 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2862 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2863 (gst_parse_launch_full):
2864 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2865 (GstParseFlags), (GstParseContext):
2866 * gst/gstutils.c: (gst_parse_bin_from_description),
2867 (gst_parse_bin_from_description_full):
2869 * gst/parse/grammar.y:
2870 * gst/parse/types.h:
2871 * win32/common/libgstreamer.def:
2872 Add new gst_parse_*_full API (#528178):
2873 API: gst_parse_launch_full()
2874 API: gst_parse_launchv_full()
2875 API: gst_parse_bin_from_description_full()
2876 API: gst_parse_context_new()
2877 API: gst_parse_context_free()
2878 API: gst_parse_context_get_missing_elements()
2880 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2882 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2884 * docs/faq/gst-uninstalled:
2885 Also support ffmpeg in gst-uninstalled.
2887 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2890 After discussion on IRC use the binary registry as default
2891 but allow to disable it with --disable-binary-registry.
2893 * win32/common/libgstreamer.def:
2894 Add the two new symbols for the binary registry.
2896 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2898 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2899 * gst/gstutils.c: (gst_parse_bin_from_description):
2900 * gst/parse/grammar.y: (graph):
2901 More guards against bad input; typo fix; some minor clean-ups.
2903 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2905 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2907 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2908 If nothing else can be used, use the last buffer's start time as
2909 the segment's last stop. Fixes bug #534258.
2911 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2913 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2914 Move size sanity check to the right place: downstream may return
2915 a buffer with a smaller size if the buffer caps are different than
2916 the requested ones, as may happen when doing reverse negotiation.
2918 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2920 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2921 (gst_file_sink_render):
2922 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2923 (gst_file_src_start):
2924 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2927 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2929 * gst/gstpad.c: (gst_pad_load_and_link):
2930 * gst/gstutils.c: (gst_element_link_pads),
2931 (gst_element_unlink_pads):
2932 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2933 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2934 (gst_check_teardown_sink_pad),
2935 (gst_check_element_push_buffer_list):
2936 * tests/check/elements/fakesink.c: (GST_START_TEST):
2937 * tests/check/elements/filesink.c:
2938 * tests/check/elements/filesrc.c: (GST_START_TEST):
2939 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2940 (mq_sinkpad_to_srcpad):
2941 * tests/check/elements/tee.c: (GST_START_TEST):
2942 * tests/check/generic/sinks.c: (GST_START_TEST):
2943 * tests/check/gst/gstbin.c: (GST_START_TEST):
2944 * tests/check/gst/gstevent.c: (GST_START_TEST):
2945 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2946 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2947 * tests/check/gst/gstquery.c: (GST_START_TEST):
2948 * tests/check/gst/gstutils.c: (GST_START_TEST):
2949 * tests/check/libs/basesrc.c: (GST_START_TEST):
2950 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2951 (gst_parse_test_element_change_state):
2952 Don't use gst_element_get_pad().
2954 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2957 Fix installing plugin documentation when gtk-doc is disabled.
2959 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2961 * docs/manual/advanced-autoplugging.xml:
2962 * docs/manual/basics-helloworld.xml:
2963 * docs/manual/basics-pads.xml:
2964 * docs/manual/highlevel-components.xml:
2965 Avoid using a bad function in the example code.
2967 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2969 * gst/gstclock.c: (gst_clock_set_calibration):
2970 Fix debug of the new clock rate.
2972 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2974 * win32/common/libgstbase.def:
2975 Add gst_base_sink_wait_clock() to the exported symbols.
2977 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2979 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2981 * libs/gst/base/gstbasetransform.c:
2982 (gst_base_transform_sink_event):
2983 Unref events that the GstBaseTransform::event vfunc didn't want to
2984 have forwarded by the base class. Closes a leak in identity.
2987 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2989 * docs/libs/gstreamer-libs-sections.txt:
2990 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2991 * libs/gst/base/gstbasesink.h:
2992 Expose a method that was previously used internally to synchronize
2993 against the clock because it can be useful for subclasses too.
2994 API: GstBaseSink::gst_base_sink_wait_clock()
2996 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2998 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2999 Add sanity check to make sure we don't get smaller buffers
3000 than requested (and fallback to normal buffer alloc if we do).
3002 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3004 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3005 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3006 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3007 Refactor adjusting the running_time with latency and offset into a
3009 When doing clipping, we still want to use the subclass get_times method,
3010 just in case the DURATION or TIMESTAMP are not set.
3012 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3014 * docs/gst/gstreamer-sections.txt:
3015 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3016 * gst/gsttypefind.h:
3017 * win32/common/libgstreamer.def:
3018 API: add gst_type_find_suggest_simple(), #533740.
3020 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3022 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3023 Use right error code when typefinding fails, so we can use
3024 the default (translated) error messages.
3026 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3028 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3029 (gst_base_src_start):
3030 When the subclass did not set caps on outgoing buffers, configure the
3031 caps we negotiated on the source pad.
3032 When the typefind helper does not find caps, error out properly instead
3033 of doing things with NULL caps.
3035 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3037 * gst/gsttypefind.h:
3038 Tabs to spaces, oh yes!
3040 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3042 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3043 Add David's and Benjamin's tests for array intersection to the
3044 unit test suite (#147931).
3046 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3049 Document that gst_event_new_tag() and gst_event_new_navigation()
3050 take ownership of the taglist/structure passed to them. (#533635).
3052 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3055 Don't descend into the plugins dir if plugin docs building
3059 Add a note about the new type:GTypeName syntax for the plugin
3060 documentation .types file.
3062 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3064 * gst/gstmessage.c: (gst_message_new_error),
3065 (gst_message_new_warning), (gst_message_new_info):
3067 Mark the debug string parameters as const. Fixes bug #533490.
3069 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3071 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3072 Sort buffer cache list by end offsets. This makes sure that we don't
3073 stop to search for a cached buffer that contains the requested data
3075 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3076 more efficient. Fixes bug #459862.
3078 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3081 Explain why we copy the list.
3083 * gst/gstpipeline.c:
3087 Add one debug-log statement to help tracing probelms with linking pads.
3089 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3091 * tests/check/gst/gstinfo.c:
3092 Add a test for removing the default log handler. Seems to fail under
3095 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3097 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3098 Release pad lock before calling out to avoid a possible deadlock.
3100 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3102 * gst/parse/grammar.y:
3103 Remove unneeded value unset.
3105 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3106 Add unit test for de/serialization of caps.
3108 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3110 * plugins/elements/gstfakesink.c:
3111 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3112 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3113 (gst_fake_src_class_init):
3114 Use custom marshalers that take GstMiniObject as first parameter.
3115 Using OBJECT as parameter while a GstMiniObject is given will lead
3116 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3118 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3120 * plugins/elements/gsttypefindelement.c:
3121 (gst_type_find_element_handle_event),
3122 (gst_type_find_element_send_cached_events),
3123 (gst_type_find_element_change_state):
3124 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3127 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3129 * plugins/elements/gsttypefindelement.c:
3130 (gst_type_find_handle_src_query), (stop_typefinding),
3131 (gst_type_find_element_handle_event),
3132 (gst_type_find_element_send_cached_events),
3133 (gst_type_find_element_change_state):
3134 Forward FLUSH_START events immediately and clean up instead of
3137 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3139 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3141 * libs/gst/base/gstbasetransform.c:
3142 (gst_base_transform_buffer_alloc):
3143 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3144 fall back to default negotiation in the chain function if the caps
3145 are different from what was requested. Fixes bug #526768.
3147 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3150 * tests/check/gst/gstsegment.c:
3151 No, let's not use g_slice_{dup|copy} here, since they only exist
3152 since GLib 2.14 and we still depend only on >= 2.12. Also add
3153 unit test for gst_segment_copy().
3155 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3157 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3158 Try to fix 'dereferencing type-punned pointer will break strict
3159 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3160 changed the default GType typedef from gulong to gsize at some point,
3161 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3162 g_once_* functions all take a gsize * though, so work around the type
3163 mismatch for C++ by doing everything in gsize and casting to GType
3166 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3168 * plugins/elements/gstmultiqueue.c:
3169 Add documentation for the signals to push our core plugin docs
3170 coverage back up to 100%.
3172 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3174 * gst/gstinfo.h (GST_FUNCTION):
3175 Reverted GST_FUNCTION to the old version as we don't want the
3176 full signature in C++ code. Also added support for MSVC.
3178 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3181 Intern the type name string, similar to what G_DEFINE_TYPE does.
3183 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3186 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3188 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3190 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3192 * libs/gst/base/gstbasetransform.c:
3193 (gst_base_transform_buffer_alloc):
3194 Don't passthrough buffer allocation too easily if the caps change.
3195 This breaks when working in passthrough mode and upstream changes
3196 it's caps. Fixes bug #526768.
3198 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3200 * gst/gstinfo.c (gst_debug_log_valist):
3201 Improved the __FILE__ part of debug output for MSVC.
3203 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3205 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3206 Declaration after statement fix for compilers like MSVC.
3208 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3210 * win32/common/config.h.in:
3211 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3212 use the real thing than having "???" unconditionally.
3214 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3216 * gst/gstinfo.h (GST_FUNCTION):
3217 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3219 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3221 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3224 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3225 (gst_base_sink_set_flushing):
3226 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3229 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3231 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3232 (gst_fake_src_init), (gst_fake_src_set_property),
3233 (gst_fake_src_get_property), (gst_fake_src_start):
3234 * plugins/elements/gstfakesrc.h:
3235 Added format property to control the format of the newsegment events.
3236 API: GstFakeSrc:format
3238 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3240 * win32/common/libgstreamer.def:
3241 Add gst_pad_has_name() to the exported symbols.
3243 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3245 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3246 * libs/gst/base/gstbasetransform.c:
3247 (gst_base_transform_prepare_output_buffer):
3248 Don't allow negative sizes when allocating new buffers.
3251 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3253 Patch by: Sjoerd Simons <sjoerd at luon net>
3255 * gst/gstbus.c: (gst_bus_source_dispatch):
3256 Don't print a warning if the queue is empty when we try to pop
3257 here. That could happen if another thread or callback set the
3258 bus to flushing between the source's check/prepare and the
3259 dispatch being called (#531538).
3261 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3263 * plugins/elements/gstmultiqueue.c:
3266 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3268 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3269 Add unit test for deserializing uint64s and check some really large
3270 numbers in the int64 test.
3272 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3274 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3275 (print_interfaces), (print_element_properties_info),
3276 (print_signal_info):
3277 Use "%s" as format string instead of printing strings directly.
3279 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3281 * gst/gstclock.c: (gst_clock_set_calibration):
3282 Make some checks actually useful.
3284 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3285 Remove some unused code. Unsigned integers tend to be >= 0.
3287 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3289 * gst/gstminiobject.c: (gst_value_get_mini_object):
3290 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3291 function was not in the unscheduled 0.10.19 release.
3293 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3295 * gst/gstregistry.c: (gst_registry_scan_path_level):
3296 Only print one log message per non-plugin file.
3298 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3300 * gst/gstinfo.c: (gst_debug_log_default):
3301 Fix alignment of debug log columns on 64-bit.
3303 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3305 * docs/libs/Makefile.am:
3306 * docs/libs/gstreamer-libs-sections.txt:
3307 Ignore private controller headers for docs.
3309 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3311 * libs/gst/controller/gstcontrollerprivate.h:
3312 * libs/gst/controller/gsthelper.c:
3313 * libs/gst/controller/gstinterpolation.c:
3314 * libs/gst/controller/gstinterpolationcontrolsource.c:
3315 (gst_interpolation_control_source_set_interpolation_mode):
3316 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3317 * libs/gst/controller/lib.c:
3318 Move some private declarations into private headers.
3320 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3322 * gst/gstdebugutils.c: (debug_dump_element_pad):
3323 Remove some code that is unused after Stefan's refactoring and uses
3324 uninitialized variables now, resulting in a compiler warning.
3326 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3328 * gst/gstregistry.c: (gst_registry_scan_path_level):
3329 Run g_str_has_suffix() only on the file name, not the
3332 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3334 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3335 Since we're not called only from the chain function any longer,
3336 we can't assume that there's always data in the queue, so move
3337 the is_full check to the beginning of the loop (otherwise we'd
3338 hit the assert when changing the limit properties while the
3339 queue is empty or not running yet).
3340 Also, only set a discont if items were actually removed from
3343 * tests/check/elements/queue.c: (test_leaky_downstream):
3344 Test case for the above.
3346 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3348 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3350 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3351 (gst_queue_chain), (queue_capacity_change),
3352 (gst_queue_set_property):
3353 When changing thr max capacity of a leaky queue, immediatly drop buffers
3354 instead of waiting for a push on the sinkpad. Fixes #530637.
3356 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3358 * gst/gstdebugutils.c:
3359 Refactor code and fix handling of ghostpads and their proxypads.
3361 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3363 * docs/gst/gstreamer-sections.txt:
3364 * gst/gstevent.c: (gst_event_has_name):
3366 * tests/check/gst/gstevent.c: (GST_START_TEST):
3367 Add method to conveniently check the name of a custom event with
3368 gst_event_has_name().
3369 Reformat the event docs so that related methods are put together instead
3370 of the default alphabetical sort.
3371 Update unit test with new method.
3372 API: GstEvent::gst_event_has_name()
3374 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3376 * libs/gst/check/Makefile.am:
3377 Don't add an explicit link to libgstreamer-0.10.la; it's already
3378 included in GST_OBJ_LIBS.
3380 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3383 Register GstClock type from a type-safe context. Fixes bug #530317.
3385 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3387 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3389 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3391 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3393 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3395 Use the GLib stuff to create a private structure.
3396 Add some locking around some dispose methods to make them a little
3397 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3399 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3401 * libs/gst/base/gstbasesink.h:
3402 * libs/gst/base/gstbasesrc.h:
3403 * libs/gst/base/gstbasetransform.h:
3404 * libs/gst/base/gstcollectpads.h:
3405 Fix doc typos and unify caps a bit.
3407 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3409 * tools/gst-launch.1.in:
3410 Forgot to also add the envvar docs here.
3412 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3414 * gst/gst.c: (init_post), (gst_deinit):
3415 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3416 (test_concurrent_create), (gst_pipeline_suite):
3417 Ref some more classes in gst_init() to work around thread-safety
3418 issues in pre-2.16 GLibs, and add basic unit test.
3420 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3422 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3423 (gst_base_sink_send_event):
3424 Rearrange the latency query code. We always want to do the upstream
3425 query, even if we are not live so that the upstream elements can get the
3426 latency results too. If we fail doing the query and we are live, we
3427 return TRUE afterwards.
3429 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3431 patch by: Jason Zhao <e3423c@motorola.com>
3433 * docs/gst/running.xml:
3435 Enable/disable scan_and_update_registry() based on commandline switch
3436 or environment variable. Fixes #520468.
3439 Fix typo in my previous commit.
3441 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3443 * gst/gstregistrybinary.c:
3444 Add a warning if we hit unhandled factories when saving.
3445 More debug logging detail, but move to LOG category.
3447 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3449 * gst/gstregistry.c:
3450 Tell the *truth* when improving the documentation.
3452 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3454 * gst/gstelementfactory.c: (gst_element_factory_make):
3455 Unref the factory after it was used the last time, not before.
3457 * gst/gstindexfactory.c: (gst_index_factory_make):
3458 Improve debugging a bit and don't leak a ref to the index factory with
3461 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3463 * gst/gstregistry.c:
3464 Improve the documentation.
3466 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3469 The glib macro seems to be borked. Use g_slice_copy directly and cast
3470 in the hope that this fixes the warning on 64bit.
3472 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3475 Document the new function. Use g_slice_dup() (no need for
3476 gst_segment_init()).
3478 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3480 * docs/gst/gstreamer-sections.txt:
3481 Move GParamSepc macros to standart section.
3484 Dn't document _get_type - its in private section in docs anyway and
3485 this doc-blob was incomplete.
3488 Fix wrong symbol names in docs.
3491 Add once doc sentence.
3493 * tests/check/gst/.cvsignore:
3496 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3498 * docs/gst/Makefile.am:
3499 And remove those libs here.
3501 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3503 * docs/libs/Makefile.am:
3504 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3506 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3508 Patch by: Olivier Crete <tester at tester dot ca>
3510 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3511 Add the min-threshold to the min latency if possible. Fixes #529148.
3513 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3515 * docs/gst/gstreamer.types.in:
3516 Stupid editor, I removed that line as it should go in yet.
3518 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3520 * docs/gst/gstreamer.types.in:
3521 * docs/libs/gstreamer-libs.types:
3522 Remove library types fro core docs and have them in libs docs.
3523 Reformat and cleanup. Add comment for miniobject types.
3525 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3527 * gst/gsturi.c: (gst_uri_get_protocol):
3528 Fix leak: g_strdown operates on the string in place, while
3529 g_ascii_strdown() returns a newly-allocated string.
3531 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3533 * tools/gst-inspect.c: (print_uri_handler_info),
3534 (print_element_info):
3535 Print the URI protocols and the URI type supported by the element.
3537 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3539 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3540 Use g_value_take_string() instead of the deprecated
3541 g_value_set_string_take_ownership().
3543 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3545 * gst/gstregistrybinary.c: (_gst_crc32):
3546 Return the old CRC instead of 0 if we give a NULL buffer
3547 or a buffer with a length of 0.
3549 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3551 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3552 (gst_uri_get_protocol), (gst_uri_has_protocol),
3553 (gst_uri_construct), (gst_uri_handler_set_uri):
3554 A valid URI scheme can also include '+', '-' and '.' additional
3555 to alphanumeric characters as per RFC 3986 Section 3.1.
3557 Handle URI schemes case insensitive in all places and convert
3558 to lower-case when constructing an URI or setting an URI with
3559 the GstURIHandler interface. Fixes bug #528868.
3560 All elements can still assume (as before) that they will
3561 get passed URIs with a lower-case URI scheme by the GstURIHandler
3564 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3566 * gst/gstcaps.c: (gst_static_caps_get):
3567 * gst/gstclock.c: (gst_clock_entry_new):
3568 Don't use g_atomic_set_int where it's not needed.
3570 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3572 * gst/gstvalue.c: (gst_value_deserialize_caps):
3573 * gst/parse/grammar.y:
3576 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3578 * gst/gstutils.c: (gst_atomic_int_set):
3579 Use g_atomic_int_set() here too instead of assignment +
3582 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3586 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3587 now that we depend on new enough GLib.
3589 * gst/gstcaps.c: (gst_static_caps_get):
3590 * gst/gstclock.c: (gst_clock_entry_new):
3591 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3592 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3593 (gst_debug_category_set_threshold):
3594 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3595 (gst_base_sink_set_qos_enabled):
3596 * libs/gst/net/gstnettimeprovider.c:
3597 (gst_net_time_provider_set_property):
3598 Use g_atomic_int_set() instead of gst_atomic_int_set().
3600 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3603 Also use G_GINT64_CONSTANT for the queries.
3605 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3608 Use G_GINT64_CONSTANT in varargs function.
3610 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3612 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3613 Initialize the registry magic with zeroes.
3615 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3617 * gst/gstregistrybinary.c: (_gst_crc32),
3618 (gst_registry_binary_write),
3619 (gst_registry_binary_initialize_magic),
3620 (gst_registry_binary_write_cache),
3621 (gst_registry_binary_check_magic),
3622 (gst_registry_binary_read_cache):
3623 * gst/gstregistrybinary.h:
3624 Add crc32 checksum to the binary registry file and check this before
3625 accepting a registry file.
3627 Also free the data list when writing to the registry file fails.
3629 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3631 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3632 (gst_registry_binary_load_feature),
3633 (gst_registry_binary_load_plugin):
3634 If an element supports the Uri interface, returns a valid pointer
3635 to the supported URI protocols but this pointer contains nothing
3636 don't try to save that as it will corrupt the registry.
3638 Don't unref the plugin if we added it to the registry already but
3639 fail to load a feature as gst_registry_add_plugin() takes ownership
3642 Improve debugging a bit.
3644 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3647 Clarify some tag item docs after discussion on irc.
3649 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3651 * docs/gst/gstreamer-docs.sgml:
3652 Remove commented out plugins (they have their own docs). Update
3655 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3657 * docs/gst/gstreamer-docs.sgml:
3658 * docs/gst/gstreamer-sections.txt:
3659 * gst/gstparamspecs.c:
3660 * gst/gstparamspecs.h:
3661 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3662 docs to own section.
3665 This now only documents GValue.
3667 * docs/libs/gstreamer-libs-sections.txt:
3668 * libs/gst/controller/gstcontroller.h:
3669 Remove GST_PARAM_CONTROLLABLE.
3671 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3674 Correct file path. Tell about how to use -overrides.txt.
3675 * docs/design/draft-tagreading.txt:
3676 Small design update.
3678 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3680 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3681 (gst_registry_binary_load_plugin):
3682 Fix a typo in a debug message and revert change from yesterday as
3683 gst_registry_add_plugin() will only fail if something is really wrong
3684 already and we can't survive it anyway.
3686 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3688 * gst/gst.c: (init_post), (gst_deinit):
3689 Pre-register GstGError GType from a thread-safe context
3690 (fixes #527967); unref enum type classes in deinit.
3692 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3694 Patch by: Rene Stadler <mail at renestadler de>
3696 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3697 Merging an empty list with another list in KEEP_ALL mode should
3698 yield an empty list as result and not the second list (#512578).
3700 * tests/check/gst/gsttagsetter.c:
3701 Add unit test for tag merge modes and the aforementioned bug.
3703 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3705 Patch by: Rene Stadler <mail at renestadler de>
3708 Fix description to match the order in the table (#512577).
3710 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3712 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3714 * libs/gst/net/gstnettimepacket.h:
3715 * docs/libs/gstreamer-libs-sections.txt:
3716 Define socklen_t as int if it's not defined yet. Fixes compilation
3717 with MSVC6 and other versions where socklen_t is not defined in
3718 the windows headers (#518022).
3720 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3722 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3723 If gst_registry_add_plugin() fails our reference to the plugin is
3724 invalid so don't try to use it anymore and instead error out.
3726 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3728 * tools/gst-xmlinspect.c: (print_element_info), (main):
3729 De-cruft a bit. If no argument is specified, print all elements in
3730 XML syntax rather than a freestyle list of elements like gst-inspect.
3731 Also, don't print XML header chunk unless we actually have something
3732 to print (ie. don't print it before an error message); print error
3733 message to stderr not stdout. Remove support for printing plugin
3734 info (it would just output something freestyle along the lines of
3735 gst-inspect so far), which fixes #514507. Also add license header.
3737 2008-04-11 Julien Moutte <julien@fluendo.com>
3740 * configure.ac: Merge platform specific defines, introduce a new
3741 define on OS X to remember that forking when updating registry is
3743 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3745 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3747 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3748 condition that leads to absolutely no plugins being registered on
3751 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3753 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3755 * gst/gstutils.c: (gst_pad_add_data_probe),
3756 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3757 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3758 (gst_pad_add_buffer_probe_full):
3760 * docs/gst/gstreamer-sections.txt:
3761 * win32/common/libgstreamer.def:
3762 Add gst_pad_add_*_probe_full() functions with a notify callback that
3763 lets the caller free the data it passes to the probe functions. This
3764 is useful for bindings such as gst-python or gstreamermm (#526814).
3765 API: gst_pad_add_data_probe_full
3766 API: gst_pad_add_buffer_probe_full
3767 API: gst_pad_add_event_probe_full
3769 * tests/check/gst/gstutils.c:
3770 Add minimal unit test to make sure freeing the data actually works
3773 * tests/benchmarks/.cvsignore:
3774 Random cvsignore addendum.
3776 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3778 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3779 (GST_DEBUG_BIN_TO_DOT_FILE):
3780 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3781 to it in the docs (since these are macros the types of the arguments
3782 won't be shown in the docs otherwise).
3784 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3787 Do not abort on out of memory for pad_alloc_buffer.
3789 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3791 * libs/gst/check/gstcheck.c:
3792 Remove blank line between symbol name ad parameters to fix gtkdoc
3795 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3797 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3799 * docs/gst/gstreamer-sections.txt:
3802 * win32/common/libgstreamer.def:
3803 Expose gst_segment_copy() to make things easier for the c++ bindings.
3805 API: gst_segment_copy()
3807 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3809 * gst/gst.c: (gst_init_get_option_group), (init_post):
3810 Fix const position; ref GType classes for enum types to work
3811 around thread-safety issues in GLib versions < 2.16.
3813 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3815 * docs/design/part-buffering.txt:
3816 Fix some typos and set the estimated total for push mode to -1.
3818 * gst/gstquery.c: (gst_query_new_buffering):
3819 Set buffering-left to 0 as we're not buffering by default.
3821 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3822 Implement BUFFERING query.
3824 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3826 Based on patch by: Milosz Derezynski <internalerror gmail com>
3828 * gst/gsterror.c: (_gst_stream_errors_init):
3830 Add two new error codes for encrypted content. Fixes #524659.
3831 API: GST_STREAM_ERROR_DECRYPT
3832 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3834 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3839 * win32/common/libgstreamer.def:
3842 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3844 * plugins/elements/gstidentity.c: (gst_identity_event),
3845 (gst_identity_start):
3846 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3847 event after processing some data. Fixes bug #526042.
3849 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3851 * docs/gst/gstreamer-sections.txt:
3852 * gst/gstquery.c: (gst_query_parse_latency),
3853 (gst_query_set_buffering_percent),
3854 (gst_query_parse_buffering_percent),
3855 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3857 Rename _avail -> _range
3858 API: gst_query_set_buffering_range
3859 API: gst_query_parse_buffering_range
3861 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3863 * docs/design/part-buffering.txt:
3866 * gst/gstquery.c: (gst_query_parse_latency),
3867 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3868 (gst_query_parse_buffering_percent):
3870 Add busy field and quark for the buffering query so that the app can
3871 only use the query to see if buffering is in progress.
3873 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3875 * docs/gst/gstreamer-sections.txt:
3876 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3877 (gst_message_parse_buffering_stats):
3879 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3880 (gst_query_parse_latency), (gst_query_new_buffering),
3881 (gst_query_set_buffering_percent),
3882 (gst_query_parse_buffering_percent),
3883 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3884 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3886 Reorder the message docs and headers for clarity.
3887 Add aditional buffering stats API for messages.
3888 Add buffering query.
3889 Convert some leftover queries to use GstQuark.
3890 API: gst_message_set_buffering_stats
3891 API: gst_message_parse_buffering_stats
3892 API: GST_QUERY_BUFFERING
3893 API: GstBufferingMode
3894 API: gst_query_new_buffering
3895 API: gst_query_set_buffering_percent
3896 API: gst_query_parse_buffering_percent
3897 API: gst_query_set_buffering_stats
3898 API: gst_query_parse_buffering_stats
3900 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3902 * gst/gstmessage.c: (gst_message_new_error),
3903 (gst_message_new_warning), (gst_message_new_info),
3904 (gst_message_new_buffering), (gst_message_new_state_changed),
3905 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3906 (gst_message_new_new_clock), (gst_message_new_segment_start),
3907 (gst_message_new_segment_done), (gst_message_new_duration),
3908 (gst_message_new_async_start), (gst_message_parse_buffering),
3909 (gst_message_parse_state_changed),
3910 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3911 (gst_message_parse_new_clock), (gst_message_parse_error),
3912 (gst_message_parse_warning), (gst_message_parse_info),
3913 (gst_message_parse_segment_start),
3914 (gst_message_parse_segment_done), (gst_message_parse_duration),
3915 (gst_message_parse_async_start):
3916 Use GstQuark for messages.
3918 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3920 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3922 Add some more quarks needed for messages and queries.
3924 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3926 * docs/design/part-buffering.txt:
3927 Remove the "none" buffering mode, STREAM is a good default.
3928 Move estimated-time to the avail query, that's when it will be needed.
3929 Other small typo fixes and updates.
3931 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3933 * gst/gstindex.c: (gst_index_resolver_get_type):
3934 Don't put descriptions into the nick field of a GEnumValue: it's not
3935 meant for that and some language bindings rely on the nick field to
3936 construct constants and the like. Fixes #526705.
3938 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3943 Merge other changes from 0.10.19 release branch.
3945 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3947 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3950 Actually build dlls when cross-compiling with mingw32.
3953 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3955 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3958 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3960 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3962 * docs/design/draft-latency.txt:
3965 * docs/design/part-buffering.txt:
3966 Update design docs with more buffering ideas.
3968 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3971 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3973 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3976 Revert part that belongs to the preset patch.
3978 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3981 Add qoutes to the define. Fixes # 525961.
3983 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3985 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3986 (gst_file_index_load), (gst_file_index_add_id),
3987 (gst_file_index_get_assoc_entry):
3988 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3989 (gst_mem_index_free_id), (gst_mem_index_add_id),
3990 (gst_mem_index_index_format):
3991 Use GSlice when possible.
3993 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3995 * libs/gst/controller/gstinterpolationcontrolsource.c:
3996 (gst_control_point_free),
3997 (gst_interpolation_control_source_set_internal):
3998 Use GSlice for allocating the control points.
4000 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4002 * plugins/elements/gsttypefindelement.c:
4003 (gst_type_find_element_class_init),
4004 (gst_type_find_element_set_property),
4005 (gst_type_find_element_get_property),
4006 (gst_type_find_element_activate):
4007 * plugins/elements/gsttypefindelement.h:
4009 Fix pad leak when peer query fails.
4010 We can still typefind when the peer returns -1.
4011 Add property to force caps and bypass typefinding. This will be used in
4015 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4020 * gst/glib-compat-private.h:
4021 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4022 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4023 Unconditionally use GSlice for allocation.
4025 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4026 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4027 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4028 (gst_structure_free):
4029 Use GSlice for allocation.
4031 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4033 * gst/parse/Makefile.am:
4034 * gst/parse/grammar.tab.pre.c:
4035 * gst/parse/grammar.tab.pre.h:
4036 * gst/parse/lex._gst_parse_yy.pre.c:
4037 Require a new enough flex and bison and remove the parser hacks to use
4038 a pre-regenerated version.
4040 2008-04-01 Julien Moutte <julien@fluendo.com>
4042 patch by: Jason Zhao <E3423C@motorola.com>
4044 * configure.ac: Add a configure switch to disable option parsing
4048 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4051 * gst/gstregistry.c:
4052 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4053 and handle this case.
4056 Add a comment here describing, why we stat each plugin and not try to
4059 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4061 * libs/gst/base/gstbasetransform.c:
4062 (gst_base_transform_prepare_output_buffer):
4063 Also unset the GAP flag on buffers if we're working inplace but
4064 the element is not GAP-aware.
4066 Mark a comment as FIXME 0.11.
4068 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4071 Fix type in log message and add one to ease seeing how long registry
4072 cache verification takes.
4074 * gst/gstregistry.c:
4075 Only test plugin filenames against G_MODULE_SUFFIX.
4077 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4079 * gst/gstdebugutils.c:
4080 Improve handling ghost/proxy pads.
4082 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4084 * docs/gst/gstreamer-sections.txt:
4087 Expose macro to docs and fix link to it.
4089 2008-03-27 Michael Smith <msmith@fluendo.com>
4091 * libs/gst/dataprotocol/dataprotocol.c:
4092 (gst_dp_packet_from_event_1_0):
4093 When calculating GDP body CRC, use the correct pointer.
4094 Fixes part of #522401.
4096 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4098 Patch by: Mark Nauwelaerts <manauw at skynet be>
4100 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4101 (gst_identity_init), (gst_identity_prepare_output_buffer):
4102 Identity is not always a passthrough element, it can modify the buffer
4103 timestamps when it has a datarate and operates in single-segment mode.
4104 We therefore make it an in_place filter with a custom buffer prepare
4105 function that conditionally makes the input buffer metadata writable
4106 when needed. Fixes #523985.
4108 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4110 Patch by: Mark Nauwelaerts <manauw at skynet be>
4113 * libs/gst/base/gstbasesrc.h:
4114 * libs/gst/base/gstbasetransform.c:
4115 * libs/gst/check/gstcheck.c:
4116 Small documentation fixes. Fixes #523978.
4118 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4120 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4121 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4122 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4124 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4126 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4127 (single_queue_underrun_cb):
4128 When trying to make room in the queue, bump the max allowed buffers
4129 bigger than the current amount of buffers in the queue. this fixes some
4130 nasty deadlocks in multiqueue when dynamically changing the limits of
4133 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4135 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4137 * gst/gstcaps.c: (gst_caps_set_simple),
4138 (gst_caps_set_simple_valist), (gst_caps_intersect):
4140 Constify the field gchar * params in set_simple and friends.
4143 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4145 * gst/gstvalue.c: (gst_value_transform_object_string):
4146 Transform a GstObject to a more meaningfull string that includes the
4147 object type in addition to its name.
4149 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4152 ChangeLog surgery to add bugnumber to commit.
4154 2008-03-23 Rene Stadler <mail@renestadler.de>
4156 * libs/gst/base/gstbasetransform.c:
4157 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4159 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4161 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4162 Rename constant everywhere and don't forget one occurence.
4164 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4166 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4167 Align memory to the pointer size even if the architecture allows
4168 unaligned memory access. Unaligned memory access usually comes with
4169 performance penality.
4171 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4173 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4174 (gst_registry_binary_check_magic),
4175 (gst_registry_binary_load_pad_template),
4176 (gst_registry_binary_load_feature),
4177 (gst_registry_binary_load_plugin):
4178 Align memory to the pointer size instead of always 32 bit. Fixes
4179 unaligned memory accesses on ia64 and friends.
4181 * gst/gstregistrybinary.h:
4182 Bump binary registry format version for this as it changes the
4183 format on those architectures that don't have unaligned access
4184 and 64 bit pointers.
4186 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4188 * docs/pwg/advanced-dparams.xml:
4189 * docs/pwg/building-props.xml:
4190 * docs/pwg/other-source.xml:
4191 * gst/glib-compat.h:
4192 * gst/gstbin.c: (gst_bin_class_init):
4193 * gst/gstclock.c: (gst_clock_class_init):
4194 * gst/gstindex.c: (gst_index_class_init):
4195 * gst/gstobject.c: (gst_object_class_init):
4196 * gst/gstpad.c: (gst_pad_class_init):
4197 * gst/gstpipeline.c: (gst_pipeline_class_init):
4198 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4199 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4200 * libs/gst/base/gstbasetransform.c:
4201 (gst_base_transform_class_init):
4202 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4203 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4204 (_gst_check_fault_handler_sighandler),
4205 (_gst_check_fault_handler_setup), (gst_check_init):
4206 * libs/gst/controller/gstcontroller.c:
4207 (_gst_controller_class_init):
4208 * libs/gst/controller/gstlfocontrolsource.c:
4209 (gst_lfo_control_source_class_init):
4210 * libs/gst/net/gstnetclientclock.c:
4211 (gst_net_client_clock_class_init):
4212 * libs/gst/net/gstnettimeprovider.c:
4213 (gst_net_time_provider_class_init):
4214 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4215 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4216 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4217 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4218 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4219 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4220 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4221 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4222 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4223 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4224 * plugins/elements/gsttee.c: (gst_tee_class_init):
4225 * plugins/elements/gsttypefindelement.c:
4226 (gst_type_find_element_class_init):
4227 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4228 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4229 use it everywhere for GParamSpecs that use static strings (i.e. all).
4230 This gives us less memory usage, fewer allocations and thus less
4231 memory defragmentation. Fixes bug #523806.
4233 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4235 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4236 (gst_param_spec_mini_object):
4237 * gst/gstminiobject.h:
4238 * win32/common/libgstreamer.def:
4239 * docs/gst/gstreamer-sections.txt:
4240 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4241 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4242 GstParamSpecMiniObject into a public header for this.
4244 This make GstMiniObject a bit more consistent with GObject and makes
4245 it possible to extend the param specs.
4247 gst_value_dup_mini_object is mainly useful for set_property methods.
4251 * tools/gst-inspect.c: (print_element_properties_info):
4252 Print something useful for GstMiniObject properties and not just
4255 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4257 * docs/gst/gstreamer-sections.txt:
4258 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4259 (gst_registry_binary_check_magic):
4260 * gst/gstregistrybinary.h:
4261 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4262 and add it to the (private part) of the docs to fix the build.
4264 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4266 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4267 (gst_registry_binary_check_magic),
4268 (gst_registry_binary_read_cache):
4269 * gst/gstregistrybinary.h:
4270 Don't use GST_MAJORMINOR for the binary registry version. Instead
4271 hardcode a value that must be changed whenever the format changes
4272 in an incompatible way.
4273 Also don't GST_ERROR when there is a version mismatch, just
4274 regenerate the registry silently.
4276 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4279 Back to development - 0.10.18.1
4281 === release 0.10.18 ===
4283 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4286 releasing 0.10.18, "So far away"
4288 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4291 * win32/common/config.h:
4292 0.10.17.4 pre-release
4294 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4296 Patch by: Ole André Vadla Ravnås
4297 <ole dot andre dot ravnas at tandberg dot com>
4299 * docs/gst/gstreamer-sections.txt:
4300 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4301 (gst_poll_update_winsock_event_mask),
4302 (gst_poll_prepare_winsock_active_sets),
4303 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4304 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4305 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4306 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4307 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4309 * win32/common/libgstreamer.def:
4310 Add new function gst_poll_fd_ignored() for improved Windows
4312 Various minor fixes and cleanups. See #520808.
4314 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4316 * gst/gstindex.c: (gst_index_entry_free):
4318 Don't free key strings which we don't own. Fixes crash in
4319 gst_index_entry_free() (#522741).
4321 * tests/check/Makefile.am:
4322 * tests/check/gst/.cvsignore:
4323 * tests/check/gst/gstindex.c: (test_index_entries),
4324 (gst_index_suite), (gst_index):
4325 Add unit test for the above.
4327 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4329 * win32/common/libgstreamer.def:
4330 Remove symbols that were removed recently. Fixes bug #521740.
4332 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4335 * win32/common/config.h:
4336 0.10.17.3 pre-release
4338 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4340 Patch by: Ole André Vadla Ravnås
4341 <ole dot andre dot ravnas at tandberg dot com>
4343 * docs/gst/gstreamer-sections.txt:
4344 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4345 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4346 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4347 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4348 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4349 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4350 (gst_poll_fd_can_write), (gst_poll_wait),
4351 (gst_poll_set_controllable), (gst_poll_restart),
4352 (gst_poll_set_flushing):
4354 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4355 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4356 (gst_net_time_provider_new):
4357 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4358 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4359 * tests/benchmarks/gstpollstress.c: (main):
4360 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4361 Remove GstPollMode from the API, it does not make sense to let the
4362 application control this.
4363 Add support for Win32.
4364 Fix the testsuite. Fixes #520671.
4366 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4368 Patch by: Ole André Vadla Ravnås
4369 <ole dot andre dot ravnas at tandberg dot com>
4371 * gst/gstregistrybinary.c:
4372 Include io.h for write() and close() when building with MSVC. Fixes
4375 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4378 * gst/gst_private.h:
4379 * gst/gstconfig.h.in:
4380 * gst/gstregistry.h:
4381 * gst/gstregistrybinary.c:
4382 * win32/common/gstconfig.h:
4383 Move registry backend API to private headers where we can. Add
4384 fixme-0.11 comments for the others. Add stubs for the xml backend when
4385 using the binary to ensure they functions exists (they should not be
4386 used though). Fixes #520756.
4388 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4391 * win32/common/config.h:
4394 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4396 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4397 (gst_registry_binary_read_cache):
4398 * gst/gstregistryxml.c: (gst_registry_save):
4399 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4400 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4401 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4402 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4403 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4406 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4408 * gst/gstminiobject.c:
4409 Import gst_private.h before any other header that might include other
4410 glib headers. This fixes the build on windows using native compilers.
4412 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4414 * win32/common/gstconfig.h:
4415 Add here too, just for completeness.
4417 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4420 * gst/gstconfig.h.in:
4421 * gst/gstregistry.h:
4422 Fix broken use of config.h-defined preprocessor directive in a public
4423 header file. Add a corresponding define to gstconfig.h, since we can't
4424 really remove those function declarations from the header file now
4425 (or can we? and why are they there in the first place?).
4427 2008-03-03 Andy Wingo <wingo@pobox.com>
4429 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4432 * gst/gststructure.c (gst_structure_from_string): Warn if
4433 structure_from_string didn't consume the whole string, but the
4434 caller did not provide an end pointer.
4436 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4438 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4440 * gst/gstregistryxml.c: (read_string), (load_feature):
4441 Strings allocated by libxml2 should be freed with xmlFree(), not
4442 with g_free(). Fixes issues on windows in certain contexts (#519698).
4444 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4446 * gst/gstinterface.c: (gst_element_implements_interface):
4447 Don't crash if the element supports the interface queried, but does
4448 not implement GstImplementsInterface. Fixes #519584.
4450 * tests/check/Makefile.am:
4451 * tests/check/gst/.cvsignore:
4452 * tests/check/gst/gstinterface.c:
4453 Add unit test for the above.
4455 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4457 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4460 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4462 * gst/gstsegment.c: (gst_segment_set_seek),
4463 (gst_segment_to_stream_time):
4464 Improve some comment.
4465 Update variables where it makes more sense.
4467 2008-02-29 Rene Stadler <mail@renestadler.de>
4469 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4470 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4471 URIHandlers implemented using language bindings.
4473 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4475 * gst/gstelementfactory.h:
4476 * tests/check/elements/fakesink.c:
4477 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4478 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4479 * tests/check/elements/filesink.c: (setup_filesink):
4480 * tests/check/elements/filesrc.c: (setup_filesrc):
4481 * tests/check/elements/identity.c: (setup_identity):
4482 * tests/check/elements/tee.c:
4483 * tests/check/generic/sinks.c:
4484 * tests/check/generic/states.c: (setup), (teardown):
4485 * tests/check/gst/gst.c:
4486 * tests/check/gst/gstabi.c:
4487 * tests/check/gst/gstbin.c:
4488 * tests/check/gst/gstbus.c: (pull_messages):
4489 * tests/check/gst/gstcaps.c:
4490 * tests/check/gst/gstelement.c:
4491 * tests/check/gst/gstevent.c:
4492 * tests/check/gst/gstghostpad.c:
4493 * tests/check/gst/gstiterator.c:
4494 * tests/check/gst/gstmessage.c:
4495 * tests/check/gst/gstminiobject.c: (my_foo_init):
4496 * tests/check/gst/gstobject.c: (thread_name_object),
4498 * tests/check/gst/gstpad.c:
4499 * tests/check/gst/gstplugin.c:
4500 * tests/check/gst/gstpoll.c:
4501 * tests/check/gst/gstquery.c:
4502 * tests/check/gst/gstsegment.c:
4503 * tests/check/gst/gststructure.c:
4504 * tests/check/gst/gstsystemclock.c:
4505 * tests/check/gst/gsttask.c:
4506 * tests/check/gst/gstutils.c:
4507 * tests/check/gst/gstvalue.c:
4508 * tests/check/gst/struct_hppa.h:
4509 * tests/check/gst/struct_i386.h:
4510 * tests/check/gst/struct_ppc32.h:
4511 * tests/check/gst/struct_ppc64.h:
4512 * tests/check/gst/struct_x86_64.h:
4513 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4514 * tests/check/libs/basesrc.c:
4515 * tests/check/libs/controller.c: (GST_START_TEST):
4516 * tests/check/libs/gdp.c:
4517 * tests/check/libs/gstnetclientclock.c:
4518 * tests/check/libs/gstnettimeprovider.c:
4519 * tests/check/libs/libsabi.c:
4520 * tests/check/libs/struct_hppa.h:
4521 * tests/check/libs/struct_i386.h:
4522 * tests/check/libs/struct_ppc32.h:
4523 * tests/check/libs/struct_ppc64.h:
4524 * tests/check/libs/struct_x86_64.h:
4525 * tests/check/pipelines/cleanup.c:
4526 * tests/check/pipelines/simple-launch-lines.c:
4527 * tests/check/pipelines/stress.c:
4528 And correct even more valid sparse warnings.
4530 * win32/common/libgstreamer.def:
4531 Add gst_poll_fd_init to the list of symbols.
4533 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4535 * gst/gstconfig.h.in:
4536 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4537 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4538 (gst_check_log_critical_func), (gst_check_drop_buffers),
4539 (gst_check_element_push_buffer_list):
4540 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4541 (gst_controller_get_type):
4542 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4543 (gst_object_get_controller), (gst_object_get_control_source):
4544 * libs/gst/controller/gstinterpolationcontrolsource.c:
4545 (gst_interpolation_control_source_new):
4546 * libs/gst/controller/gstlfocontrolsource.c:
4547 (gst_lfo_control_source_new):
4548 * libs/gst/dataprotocol/dataprotocol.c:
4549 (gst_dp_event_from_packet_0_2):
4550 * plugins/elements/gstfdsrc.c:
4551 * plugins/elements/gstmultiqueue.c:
4552 * plugins/elements/gsttee.c:
4553 * plugins/elements/gsttypefindelement.c:
4554 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4555 (gst_file_index_add_association):
4556 * plugins/indexers/gstmemindex.c:
4557 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4558 * tests/check/elements/queue.c: (setup_queue):
4559 * tests/check/gst/gstpipeline.c:
4560 * tests/check/libs/collectpads.c: (setup), (teardown),
4561 (gst_collect_pads_suite):
4562 * tests/examples/adapter/adapter_test.c:
4563 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4564 * tests/examples/xml/createxml.c:
4565 * tests/examples/xml/runxml.c:
4566 * tools/gst-inspect.c:
4568 Correct all relevant warnings found by the sparse semantic code
4569 analyzer. This include marking several symbols static, using
4570 NULL instead of 0 for pointers, not using variable sized arrays
4571 on the stack, moving variable declarations to the beginning of
4572 a block and using "foo (void)" instead of "foo ()" for declarations.
4574 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4576 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4577 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4578 Don't reset GstPollFDs, this is not necessary at all.
4580 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4581 (delayed_restart), (delayed_control):
4582 Use GST_POLL_FD_INIT.
4584 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4586 * gst/gstpoll.c: (gst_poll_fd_init):
4590 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4591 Use some more init macros.
4593 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4595 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4596 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4597 Use init macros and functions.
4599 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4601 * docs/gst/gstreamer-sections.txt:
4602 * gst/gstpoll.c: (gst_poll_fd_init):
4604 Add INIT macro and _init method for initializing the GstPollFD.
4606 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4608 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4609 (gst_fd_sink_update_fd):
4610 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4611 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4612 (delayed_restart), (delayed_control):
4613 Initialize some uninitialized variables as spotted by valgrind.
4615 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4617 * tests/benchmarks/Makefile.am:
4618 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4620 Add poll stress test.
4622 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4624 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4626 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4627 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4628 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4629 * plugins/elements/gstfdsink.h:
4630 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4631 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4632 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4633 (gst_fd_src_uri_set_uri):
4634 * plugins/elements/gstfdsrc.h:
4635 Port to GstPoll. See #505417.
4637 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4639 * win32/common/libgstreamer.def:
4640 Add new gst_poll_ symbols to win32 defs.
4642 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4644 * docs/libs/gstreamer-libs-sections.txt:
4645 * libs/gst/net/gstnetclientclock.c:
4646 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4647 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4648 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4649 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4650 * libs/gst/net/gstnetclientclock.h:
4651 * libs/gst/net/gstnettimeprovider.c:
4652 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4653 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4654 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4655 (gst_net_time_provider_new):
4656 * libs/gst/net/gstnettimeprovider.h:
4657 Use a private stuct to not break ABI.
4659 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4661 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4663 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4664 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4665 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4666 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4667 * libs/gst/net/gstnetclientclock.h:
4668 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4669 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4670 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4671 (gst_net_time_provider_new):
4672 * libs/gst/net/gstnettimeprovider.h:
4673 Massive code removal and cleanups because of GstPoll.
4676 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4679 Add checks for poll, ppoll and pselect.
4681 * docs/gst/gstreamer-docs.sgml:
4682 * docs/gst/gstreamer-sections.txt:
4683 Add docs for GstPoll.
4687 * gst/gstpoll.c: (find_index), (selectable_fds),
4688 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4689 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4690 (gst_poll_set_mode), (gst_poll_get_mode),
4691 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4692 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4693 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4694 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4695 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4696 (gst_poll_fd_can_write), (gst_poll_wait),
4697 (gst_poll_set_controllable), (gst_poll_restart),
4698 (gst_poll_set_flushing):
4700 Add generic poll abstraction. We ideally don't want to have this in core
4701 here but in glib intead...
4702 This code will be used in various network elements and ultimately for
4703 the nanosecond precision monotonic clock (that's why it's here in core).
4704 It'll allow us to implement cancelable socket operations for windows too.
4706 * tests/check/Makefile.am:
4707 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4708 (delayed_stop), (delayed_restart), (delayed_flush),
4709 (delayed_control), (gst_poll_suite):
4710 Add GstPoll unit test.
4712 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4715 Improve documentation of gst_filter_run(). Fixes #518627.
4717 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4720 Add a few lines about the new 'check-inspected-versions' target.
4722 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4724 * tests/check/gst/gstevent.c:
4725 Add qos to the event test. Rename tcase/tsuite; is not only about
4728 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4730 * plugins/elements/gstqueue.c:
4731 Ensure that buffer metadata is writeable, before modifying. Spotted by
4734 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4736 * plugins/elements/gstqueue.c:
4737 * plugins/elements/gstqueue.h:
4738 When dropping buffers in leaky modes, mark next buffers we sent as
4741 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4743 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4744 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4746 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4748 * plugins/elements/Makefile.am:
4749 * plugins/elements/gstbufferstore.c:
4750 * plugins/elements/gstbufferstore.h:
4751 * plugins/elements/gsttypefindelement.h:
4752 Remove GstBufferStore, no idea why we were still building it.
4753 It's not used anywhere and superseded by GstAdapter.
4755 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4756 (gst_file_src_create_mmap):
4757 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4758 Printf format fixes for 64-bit integers.
4760 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4763 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4764 We're not in 0.8 times anymore.
4766 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4768 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4769 (gst_check_element_push_buffer_list):
4770 * libs/gst/check/gstcheck.h:
4771 Make the declaration in the header for
4772 gst_check_element_push_buffer_list match the implementation.
4774 Fix up spelling, grammar and wording of the documentation in a few
4775 places, and add the Since keyword to new API functions.
4776 Use g_list_delete_link instead of g_list_remove in
4777 gst_check_drop_buffers, since it's immeasurably more efficient.
4779 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4780 Use new gst_check_drop_buffers function where appropriate.
4782 * win32/common/libgstbase.def:
4783 * win32/common/libgstreamer.def:
4784 Add new symbols gst_collect_pads_take_buffer,
4785 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4788 Changelog surgery to add API keyword to new gst_check API.
4790 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4792 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4793 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4794 Update pre-generated flex files with flex 2.3.34.
4796 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4798 * gst/gstminiobject.c:
4799 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4800 friendly to subclasses and not require them to know all internals
4801 of their parent class.
4803 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4805 * docs/libs/gstreamer-libs-sections.txt:
4806 * libs/gst/base/gstcollectpads.c:
4807 * libs/gst/base/gstcollectpads.h:
4808 Add sub-buffer functions to collectpads. Fixes #516187.
4809 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4811 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4814 Copy selected buffer-flags when creating subbuffers.
4817 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4819 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4820 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4821 * gst/gstmessage.c: (gst_message_class_init),
4822 (gst_message_finalize):
4823 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4824 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4825 (gst_mmap_buffer_finalize):
4826 Properly chain up finalize functions to the parent class.
4828 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4830 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4832 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4833 (gst_index_set_resolver_full):
4835 Add new function with option to dispose of user_data in resolver.
4836 Actually call the dispose function when finalizing the object and not
4837 just when changing the resolver/filter.
4838 API: GstIndex::gst_index_set_resolver_full()
4840 * docs/gst/gstreamer-sections.txt:
4841 Add new function to docs. Fixes #515469.
4843 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4845 * gst/gstindex.c: (gst_index_finalize):
4846 Chain up finalize to the parent class. Fixes leaking the GstObject
4847 name and other things.
4849 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4852 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4853 pre-releases or releases.
4855 * docs/faq/gst-uninstalled:
4858 * docs/random/release:
4859 Change one of the steps - we only upload core & base to Gnome FTP
4861 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4863 * gst/gstconfig.h.in:
4864 Add 'id' for example.
4868 * plugins/elements/gstfdsink.c:
4869 Link to signals. Doc and comment fixes.
4871 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4873 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4874 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4875 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4876 unused and unimplemented; finally, it is plugin features, not
4877 plugins, that have ranks.
4879 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4881 * gst/gstpluginfeature.h:
4882 Clarify GstRank range docs.
4884 2008-02-05 David Schleef <ds@schleef.org>
4886 * gst/gst.c: Add a separate gst_deinitialized that prevents
4887 gst_init() from being called after gst_deinit(). Fixes #509559
4889 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4891 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4892 (gst_bin_class_init):
4893 * gst/gstelement.c: (gst_element_base_class_init),
4894 (gst_element_class_add_pad_template):
4895 * gst/gstpadtemplate.c: (gst_pad_template_init):
4896 * gst/gstpipeline.c: (gst_pipeline_get_type),
4897 (gst_pipeline_base_init), (gst_pipeline_class_init):
4898 * libs/gst/base/gstbasesink.c:
4899 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4900 (gst_base_src_base_init), (gst_base_src_class_init):
4901 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4902 (gst_capsfilter_class_init):
4903 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4904 (gst_fake_sink_class_init):
4905 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4906 (gst_fake_src_class_init):
4907 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4908 (gst_fd_sink_class_init):
4909 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4910 (gst_fd_src_class_init):
4911 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4912 (gst_file_sink_class_init):
4913 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4914 (gst_file_src_class_init):
4915 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4916 (gst_identity_class_init):
4917 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4918 (gst_multi_queue_class_init):
4919 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4920 (gst_queue_class_init):
4921 * plugins/elements/gsttee.c: (gst_tee_base_init),
4922 (gst_tee_class_init):
4923 * plugins/elements/gsttypefindelement.c:
4924 (gst_type_find_element_base_init),
4925 (gst_type_find_element_class_init):
4926 * tests/check/gst/gstelement.c: (gst_element_suite):
4927 Revert previous changes to the behaviour of GstPadTemplates, etc
4928 and the possiblity to call them in class_init as it breaks too
4929 many elements. Reopens bug #491501.
4931 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4934 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4936 * tools/gst-launch.c:
4937 Dump one graph per pipeline state-change and state change name
4938 (if GST_DEBUG_DUMP_DOT_DIR is set).
4940 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4943 * tests/check/gst/gstpad.c:
4944 Be sure that we have a new copy of the caps and not
4945 reffed caps from a template
4947 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4949 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4950 * gst/gstpipeline.c: (gst_pipeline_get_type),
4951 (gst_pipeline_class_init):
4952 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4953 (gst_base_sink_class_init):
4954 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4955 (gst_base_src_class_init):
4956 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4957 (gst_base_transform_class_init):
4958 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4959 (gst_collect_pads_class_init):
4960 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4961 * libs/gst/net/gstnettimeprovider.c:
4962 (gst_net_time_provider_base_init),
4963 (gst_net_time_provider_class_init):
4964 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4965 (gst_capsfilter_class_init):
4966 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4967 (gst_fake_sink_class_init):
4968 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4969 (gst_fake_src_class_init):
4970 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4971 (gst_fd_sink_class_init):
4972 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4973 (gst_fd_src_class_init):
4974 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4975 (gst_file_sink_class_init):
4976 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4977 (gst_file_src_class_init):
4978 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4979 (gst_identity_class_init):
4980 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4981 (gst_multi_queue_class_init):
4982 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4983 (gst_queue_class_init):
4984 * plugins/elements/gsttee.c: (gst_tee_base_init),
4985 (gst_tee_class_init):
4986 * plugins/elements/gsttypefindelement.c:
4987 (gst_type_find_element_base_init),
4988 (gst_type_find_element_class_init):
4989 Don't use base_init where not absolutely necessary. For example it's
4990 not necessary anymore for adding pad templates or setting element
4993 Leave empty base_init functions in several places as GST_BOILERPLATE
4994 still defines and uses them.
4996 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4998 * gst/gstelement.c: (gst_element_base_class_init),
4999 (gst_element_class_add_pad_template):
5000 * gst/gstpadtemplate.c:
5001 Make it possible (and recommended) to set element details and add
5002 pad templates in the class_init functions by copying the details/pad
5003 templates in GstElement's base_init.
5005 Also make it possible to replace existing pad templates by adding
5006 a new one with the same name. This was done in a hackish fashion
5007 in same elements before already.
5009 Don't reference pad templates that are added a second time. A
5010 new pad template has a refcount of one and is not floating anymore
5011 and to be owned by the element's class. Make this more explicit by
5012 mentioning it in the docs of gst_element_class_add_pad_template().
5014 These changes are backwards compatible. Fixes bug #491501.
5016 * tests/check/gst/gstelement.c:
5017 Add unit test for setting element details, adding pad templates and
5018 replacing them in a subclass.
5020 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5022 * tools/gst-inspect.c: (print_interfaces),
5023 (print_element_properties_info), (print_pad_info),
5024 (print_signal_info), (print_element_info):
5025 Fix a few memory leaks.
5027 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5029 * docs/libs/gstreamer-libs-sections.txt:
5030 * libs/gst/check/gstcheck.c:
5031 * libs/gst/check/gstcheck.h:
5032 Add more functions for unit testing: gst_check_drop_buffers,
5033 gst_check_caps_equal, gst_check_element_push_buffer_list,
5034 gst_check_element_push_buffer
5035 API: gst_check_drop_buffers
5036 API: gst_check_caps_equal
5037 API: gst_check_element_push_buffer_list
5038 API: gst_check_element_push_buffer
5040 2008-02-01 Julien Moutte <julien@fluendo.com>
5042 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5043 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5044 (gst_index_finalize), (gst_index_entry_free),
5045 (gst_index_add_association): Fix memory leaks.
5046 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5047 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5048 (gst_mem_index_free_format), (gst_mem_index_free_id),
5049 (gst_mem_index_finalize): Fix memory leaks.
5050 * win32/common/config.h: Updated to CVS HEAD.
5052 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5055 Some more details about how the plugin docs works.
5057 * docs/plugins/gstreamer-plugins-sections.txt:
5060 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5062 * gst/parse/grammar.tab.pre.c:
5063 * gst/parse/grammar.tab.pre.h:
5064 * gst/parse/grammar.y:
5065 * gst/parse/lex._gst_parse_yy.pre.c:
5066 Add delayed set-property. This allows to set properties on dynamicaly
5067 created objects (pads in videomxer). Fixes #509391.
5069 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5072 Check if caps are not NULL (fix bug #510194)
5074 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5076 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5077 (gst_base_sink_get_position_paused):
5078 Add fixme regarding EOS in pull mode.
5079 Fix position reporting in PAUSED for negative rates.
5081 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5083 * gst/gstminiobject.c: (gst_mini_object_replace):
5084 When replacing a miniobject, do a quick equality check first so that we
5085 can avoid a ref/unref pair.
5087 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5089 * docs/design/part-synchronisation.txt:
5092 * docs/plugins/Makefile.am:
5093 * docs/plugins/gstreamer-plugins-docs.sgml:
5094 * docs/plugins/gstreamer-plugins-sections.txt:
5095 * plugins/elements/gstmultiqueue.c:
5096 Add multiqueue to the docs.
5098 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5103 === release 0.10.17 ===
5105 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5108 releasing 0.10.17, "Due Negligence"
5110 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5113 Revert caps != NULL check temporarily for 0.10.17 release.
5115 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5118 Check if caps are not NULL (fix bug #510194)
5120 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5123 Fix compilation on systems that have posix timers but no
5126 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5129 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5131 * tools/gst-inspect.c:
5132 Revert previous commit in preparation for an impromptu 0.10.17 release
5134 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5136 * tools/gst-inspect.c: (print_interfaces),
5137 (print_element_properties_info), (print_pad_info),
5138 (print_signal_info), (print_element_info):
5139 Fix a few memory leaks.
5141 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5146 === release 0.10.16 ===
5148 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5151 releasing 0.10.16, "Special Dispensation"
5153 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5156 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5157 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5158 not fail when trying to crosscompile on OpenEmbedded (#511750).
5160 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5163 Use $(MAKE) instead of make to fix the build if GNU make is
5164 called different. Fixes bug #510747.
5166 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5168 * gst/gstplugin.c: (_gst_plugin_initialize):
5169 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5170 again, which I broke two commits ago when changing the API
5171 of gst_plugin_register_static(): the g_list_foreach() in
5172 _gst_plugin_register_static still assumed the old function
5173 signature and would therefore fail (re-fixes #510187).
5175 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5176 (_gst_plugin_register_static), (gst_plugin_register_static):
5177 Revert the (technically correct) change to call g_thread_init() from
5178 the pre-main() constructor. This will break programs which call
5179 g_thread_init() without an if (!g_thread_supported()) guard in their
5180 main function. We could just blame it on GLib or the application, but
5181 it's probably best to just avoid this altogether and simply not use
5182 any GLib functions here and use plain old malloc() with a simple
5183 array to store the plugins to register later when gst_init() is
5184 finally called (re-fixes #510187).
5186 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5187 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5188 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5189 (GST_START_TEST), (gst_plugin_suite):
5190 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5193 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5195 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5196 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5197 This makes gtk-doc complain, but results in slightly better
5198 compiler errors. The old _gst_plugin_register_static() is
5199 still guarded, so there'll be a compiler warning about that
5200 instead. Fixes #510187 too.
5202 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5204 * gst/gst.c: (init_post):
5205 * gst/gstplugin.c: (_gst_plugin_register_static),
5206 (gst_plugin_register_static), (_gst_plugin_initialize):
5207 * gst/gstplugin.h: (GstPluginFilter):
5208 Change API of gst_plugin_register_static() to not take
5209 a GstPluginDesc, but rather just take all the arguments
5210 in a GstPluginDesc directly. This is more intuitive and
5211 avoids certain mistakes when porting code from
5212 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5215 * tests/check/gst/gstplugin.c:
5216 Fix up for changed API.
5218 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5220 * docs/faq/legal.xml:
5221 Update FAQ, Totem actually has an exception these days.
5223 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5225 * win32/common/libgstreamer.def:
5226 Add new API declarations
5228 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5230 * gst/gstminiobject.c:
5231 Spelling fixes for the API docs.
5233 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5235 * libs/gst/base/gstbasetransform.c:
5236 Fix long property description for QoS.
5238 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5241 _gst_trace_on is already provided by gsttrace.h, no need to declare
5244 * docs/libs/gstreamer-libs-sections.txt:
5245 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5246 and remove strange tcase_add_test which is outputting a warning.
5248 * libs/gst/check/gstcheck.c:
5249 * libs/gst/check/gstcheck.h:
5250 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5251 and define them in gstcheck.c instead of having every .c file whcih
5252 includes gstcheck.h be defining its own copy and relying on symbol
5253 interposing to marry them all, which doesn't work on Solaris.
5255 * tests/check/elements/identity.c: (GST_START_TEST):
5256 Don't define 'buffers' locally, it comes from libgstcheck.
5258 * tests/check/generic/sinks.c: (send_buffer):
5259 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5261 * tests/check/gst/gststructure.c: (GST_START_TEST):
5262 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5263 * tests/check/gst/gstutils.c: (GST_START_TEST):
5264 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5265 Add a bunch of casts to make various constants fit the types
5266 they're being assigned to.
5268 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5270 * gst/gstchildproxy.c:
5271 Improve docs and add some ideas for making this more general-purpose.
5273 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5275 * gst/gst_private.h: (GST_CAT_TYPES):
5276 Add GST_CAT_TYPES, for consistency, and so that the other
5277 debug categories don't make fun of it. Spotted by Saur on IRC.
5279 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5281 * gst/parse/Makefile.am:
5282 Move types.h from EXTRA_DIST to noinst_HEADERS.
5284 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5287 Add -Wno-portability to the automake parameters to stop warnings
5288 about GNU make extensions being used. We require GNU make in almost
5289 every Makefile anyway.
5292 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5293 at the same time is required for per target flags.
5295 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5298 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5299 __GNUC__ is defined before using it.
5301 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5303 * docs/gst/gstreamer-sections.txt:
5304 * gst/gst.c: (init_post):
5305 * gst/gstplugin.c: (_gst_plugin_register_static),
5306 (gst_plugin_register_static), (_gst_plugin_initialize),
5307 (gst_plugin_register_func):
5308 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5309 API: add gst_plugin_register_static() and deprecate
5310 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5312 Also, in _gst_plugin_register_static(), make sure to call
5313 g_thread_init() before calling GLib functions such as
5314 g_list_append() if we're not initialised yet, since that
5315 may lead to random crashes with older GSlice/GLib versions.
5317 * tests/check/gst/gstplugin.c:
5318 Adapt unit test to above changes.
5320 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5322 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5323 * gst/gstcaps.c: (gst_caps_to_string):
5324 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5325 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5326 Yet another gratuitous GString micro-optimisation: add a (private)
5327 function that serialises a structure appending to an existing
5328 GString, so that when we serialise caps we don't need to alloc+free
5329 a throwaway GString for each structure (each of which also entailing
5330 multiple reallocs on the way); also use g_string_sized_new() in
5331 various places with an approximate string length to avoid reallocs
5332 within GString. See #500143.
5334 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5336 * gst/gststructure.c: (gst_structure_id_set_value):
5337 Always check UTF-8 conformance of structure strings and not only
5338 if the debugging system is enabled; reasoning: the behaviour of
5339 the actual code shouldn't really change depending on whether the
5340 debugging system is enabled or not (#508291).
5342 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5345 Remove old coverage target in favour of "make lcov".
5347 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5349 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5350 (gst_base_src_loop):
5351 The start segment for reverse playback goes from start to last_stop.
5353 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5355 Patch by: Peter Kjellerstedt <pkj axis com>
5358 Cast the results from the timeval/spec_to_time macros to what the
5359 docs say it casts to, a GstClockTime. fixes #508175.
5361 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5364 Update some comments.
5366 * tools/gst-inspect.c: (print_element_properties_info):
5367 Improve printing of flags.
5369 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5371 * libs/gst/base/gstbasetransform.c:
5372 (gst_base_transform_transform_size):
5373 Print element name with g_warning() if there's a problem
5376 2008-01-07 David Schleef <ds@schleef.org>
5378 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5380 * libs/gst/controller/gstcontroller.h:
5381 * libs/gst/controller/gstcontrolsource.h:
5382 * libs/gst/controller/gstinterpolationcontrolsource.h:
5383 * libs/gst/controller/gstlfocontrolsource.h:
5384 * libs/gst/dataprotocol/dataprotocol.h:
5385 Fix empty prototypes. Fixes bug #507957.
5387 2008-01-07 David Schleef <ds@schleef.org>
5389 * docs/faq/dependencies.xml: Fix typo.
5391 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5393 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5394 (gst_base_src_loop):
5395 Don't update the last_stop position in do_seek, that's the position we
5397 Read backwards when we have a negative rate.
5399 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5400 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5402 Add check for reverse reading.
5404 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5406 Patch by: Alexis Ballier <aballier at gentoo org>
5408 * tests/check/gst/gstabi.c:
5409 * tests/check/gst/struct_ppc64.h:
5410 * tests/check/libs/libsabi.c:
5411 * tests/check/libs/struct_ppc64.h:
5412 Decide which header to include based on the userland ABI target
5413 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5414 for 64-bit userland (#503590). Might need something similar for
5417 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5419 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5420 Log the reason why fopen fails in addition to the fact that it failed.
5422 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5424 * gst/parse/parse.l:
5425 Use "%option never-interactive" to prevent useless calls to isatty()
5426 on every input when parsing. Also use "%option noinput" to not define
5427 the static input/yyinput functions which we don't use anyway. This
5428 removes a compiler warning with gcc 4.3 and saves some bytes in the
5431 * gst/parse/lex._gst_parse_yy.pre.c:
5432 Regenerated for the above change.
5434 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5436 * gst/gstpad.c: (fixate_value):
5437 Don't crash when trying to fixate and empty list.
5440 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5442 * docs/faq/gst-uninstalled:
5443 Clarify the comments to make the usage of this script and what it
5444 does easier to understand.
5446 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5448 * tools/gst-plot-timeline.py:
5449 Add more options to gst-plot-timeline
5451 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5453 * docs/design/part-synchronisation.txt:
5454 Some more info on how the stream_time in GstBaseSink is done.
5456 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5458 * tests/check/generic/sinks.c: (gst_sinks_suite):
5459 Put back the tcase_set_timeout(), apparently it's needed after
5460 all; fix it up in a way that makes things work with valgrind too.
5462 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5464 * gst/gstdebugutils.c:
5465 Add warning when failed to open file for writing.
5467 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5469 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5471 * gst/gstvalue.c: (gst_value_is_fixed):
5472 Optimisation: bail out of the loop as early as possible (#500143).
5474 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5476 * gst/gstcaps.c: (gst_caps_to_string):
5477 * gst/gstinfo.c: (gst_debug_construct_term_color):
5478 * gst/gstparse.c: (gst_parse_launchv):
5479 * gst/gstutils.c: (gst_util_dump_mem):
5480 * gst/gstvalue.c: (gst_value_serialize_any_list),
5481 (gst_value_transform_any_list_string):
5482 Bunch of gratuitous nano-optimisations.
5484 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5486 * tests/check/generic/sinks.c: (async_done_func),
5487 (async_done_eos_func):
5488 Fix leak in unit test (bus sync handler must unref the message
5489 if it returns GST_BUS_DROP). Don't fiddle with the default test
5490 timeout, this is smaller than the current preconfigured value
5491 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5492 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5494 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5496 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5499 Check for stdio_ext.h for the filesink changes.
5501 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5502 (gst_file_sink_class_init), (gst_file_sink_init),
5503 (gst_file_sink_dispose), (gst_file_sink_set_property),
5504 (gst_file_sink_get_property), (gst_file_sink_open_file),
5505 (gst_file_sink_close_file):
5506 * plugins/elements/gstfilesink.h:
5507 Add two properties to control the buffering mode and size.
5508 API: GstFileSink::buffer-mode
5509 API: GstFileSink::buffer-size
5512 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5514 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5515 Add some more docs to explain why a FIXME was wrongly added.
5517 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5520 Fix typo in the gst_object_{ref,unref} documentation.
5522 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5524 * tests/check/libs/controller.c:
5525 * tests/check/libs/typefindhelper.c:
5526 * tests/check/pipelines/parse-launch.c:
5527 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5528 going to be deprecated (see #498924).
5530 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5532 * gst/gsttypefind.c: (gst_type_find_register):
5533 Make gst_type_find_register work for static typefind functions,
5534 ie. allow passing plugin == NULL (prerequisite for #498924).
5536 * gst/gstelementfactory.c: (gst_element_register):
5537 Small docs addition.
5539 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5541 * gst/gstpad.c: (gst_pad_dispose):
5542 Really unlink the peer pad instead of setting the peer pointer to NULL
5543 when we dispose the pad.
5544 This correctly calls the unlink functions and makes sure that the peer
5545 does not have a handle to invalid memory. See #504671.
5547 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5548 Add testsuite for above case.
5550 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5552 Patch by: Peter Kjellerstedt <pkj axis com>
5554 * libs/gst/check/gstcheck.h:
5555 Fix detection of the check version we're compiling against (would
5556 otherwise break if check goes v0.10.0); correctly report the
5557 name of the failed test again in case of failure, instead of
5558 just 'tf' (fixes #504499).
5560 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5562 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5563 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5564 (gst_base_src_loop), (gst_base_src_set_flushing),
5565 (gst_base_src_change_state):
5566 Allow sending EOS to the source to make it send out an EOS event from
5567 the streaming thread.
5568 Update docs and deprecate the old NULL/READY shutdown method.
5570 * tests/check/libs/basesrc.c: (GST_START_TEST),
5571 (gst_basesrc_suite):
5572 Add unit test for controlled shutdown.
5574 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5576 * docs/design/part-synchronisation.txt:
5579 * gst/gstsegment.c: (gst_segment_set_seek),
5580 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5581 (gst_segment_to_running_time):
5582 The seek format can be different from the segment format when the start
5583 and stop values are not to be updated, when we only do a rate change for
5586 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5587 (gst_segment_suite):
5588 Add a testcase for the rate-only seeks, checking that the format is
5589 correctly ignored when start and stop are not updated.
5591 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5593 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5595 * win32/vs8/grammar.vcproj:
5596 * win32/vs8/libgstcontroller.vcproj:
5597 * win32/vs8/libgstreamer.vcproj:
5598 Fix compilation with VS8 and include some missing files.
5600 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5603 Small docs addition: mention that the strings returned by
5604 gst_tag_list_get_string*() are in UTF-8 encoding.
5606 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5609 The check-exports stuff moved to common/win32.mak, so include that.
5611 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5613 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5614 (gst_base_src_perform_seek), (gst_base_src_get_range),
5615 (gst_base_src_set_playing), (gst_base_src_change_state):
5616 Make _wait_playing() not check any variables so that we can call this
5617 function from subclasses. Move the checks elsewhere similar to
5618 _wait_preroll() in basesink.
5620 Only signal the LIVE cond when we are going back to PLAYING.
5622 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5624 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5625 Use g_remove() and g_rename(). Check result of g_rename(), and
5626 don't leak the open file descriptor if we error out when writing.
5628 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5629 Must check the return value of close() after writing out the new
5630 registry file. Sometimes write problems such as out-of-diskspace
5631 are only reported when the file is closed and not already during
5632 the write. This may have caused partial/broken registry files in
5633 some rare circumstances. Should fix #503675.
5635 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5637 * docs/gst/.cvsignore:
5638 * docs/libs/.cvsignore:
5639 * docs/plugins/.cvsignore:
5640 Ignore files generated by new common/* modifications
5642 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5644 * win32/common/libgstbase.def:
5645 Yes, you can also have a <TAB> if you want.
5647 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5649 * win32/common/libgstbase.def:
5650 Add new basetransform API to win export file.
5652 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5654 * tests/check/gst/gstbin.c:
5655 Adjust the test to the refcount change two days ago.
5657 2007-12-14 David Schleef <ds@schleef.org>
5659 * docs/faq/getting.xml: Fix typo.
5661 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5663 * docs/libs/gstreamer-libs-sections.txt:
5664 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5665 (gst_base_transform_prepare_output_buffer),
5666 (gst_base_transform_set_gap_aware):
5667 * libs/gst/base/gstbasetransform.h:
5668 API: Add gst_base_transform_set_gap_aware() to control whether
5669 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5670 get buffers with this flag at all. Fixes #503231.
5672 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5674 * libs/gst/base/gstbasesink.c:
5675 * libs/gst/base/gstbasesrc.c:
5676 * libs/gst/base/gstbasetransform.c:
5677 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5678 thread. Correct log message in gstbasesrc.c.
5680 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5682 * gst/gstutils.c: (element_find_unconnected_pad):
5683 Fix possible compiler warning (#503417).
5685 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5687 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5688 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5690 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5692 * tools/gst-inspect.c: (print_element_properties_info):
5693 Add support for GstFraction properties.
5695 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5698 Add check-exports target and run it as part of 'make check'
5699 (see #499140 and #493983).
5701 * gst/gst_private.h:
5702 * gst/gstelementfactory.h:
5703 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5704 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5705 (_priv_gst_in_valgrind):
5706 * gst/gstinfo.h: (GstLogFunction):
5707 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5708 (gst_type_find_register):
5709 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5710 (gst_type_find_factory_get_type):
5711 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5712 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5713 (gst_controller_new_valist), (gst_controller_new_list),
5714 (_gst_controller_dispose), (_gst_controller_class_init):
5715 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5716 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5717 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5718 (gst_object_get_controller), (gst_object_set_controller),
5719 (gst_object_suggest_next_sync), (gst_object_sync_values),
5720 (gst_object_set_control_source), (gst_object_get_control_source),
5721 (gst_object_get_value_arrays), (gst_object_get_value_array),
5722 (gst_object_get_control_rate), (gst_object_set_control_rate):
5723 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5724 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5725 Make some functions that should be static static; rename some
5726 private symbols so that they don't get exported; add some FIXME
5727 comments so we can move accidentally exported functions into
5728 our private section in 0.11.
5730 * win32/common/libgstreamer.def:
5731 Add gst_utils_get_timestamp().
5733 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5737 Add more missing "Since:" tags to docs.
5739 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5742 Add mising "Since:" to docs.
5744 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5747 Include "glib-compat-private.h" to fix the build on system with
5748 glib < 2.10. Fixes #503131.
5750 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5754 Actually its not PURE as it gets the time from elsewhere.
5756 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5758 * docs/gst/gstreamer-sections.txt:
5760 * gst/gstdebugutils.c:
5764 * libs/gst/base/gstbasesink.c:
5765 * tools/gst-launch.c:
5766 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5767 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5768 Thanks Tim for spotting.
5769 API: gst_util_get_timestamp
5771 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5774 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5776 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5778 * gst/gststructure.c: (gst_structure_validate_name),
5779 (gst_structure_new_valist), (gst_structure_parse_value),
5780 (gst_structure_from_string):
5781 Don't crash in _from_string() if the structure name is not valid
5782 (fixes #501560). Allow structure names to start with a number
5783 again (this apparently broke the ubuntu codec installer).
5785 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5787 Add unit test for the crash; update unit tests for new behaviour.
5789 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5792 Clarify gst_element_get_compatible_pad() documentation.
5795 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5797 * tests/check/Makefile.am:
5798 Don't forget to dist {gst,libs}/struct_hppa.h.
5800 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5802 * libs/gst/base/gstbasesink.c:
5803 Use new API to get elapsed time.
5805 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5807 * gst/gstdebugutils.c:
5809 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5811 * tools/gst-launch.c:
5812 Use new API to get elapsed time.
5814 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5816 * docs/gst/gstreamer-sections.txt:
5818 * gst/gstdebugutils.c:
5820 Rename new API + ChangeLog surgery to remove old name from last entry..
5822 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5824 * docs/gst/gstreamer-sections.txt:
5826 * gst/gstdebugutils.c:
5828 Now hide the different clock stuff behind a macro.
5830 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5833 * gst/gstdebugutils.c:
5835 Apply the posix-timer check from #361155. Conditionally use the posix
5836 timer for logging. This gives better timestamp precission, less
5837 overhead and no ntp jitter.
5839 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5841 * gst/gstminiobject.c: (gst_mini_object_get_type),
5842 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5843 (gst_mini_object_finalize), (gst_mini_object_copy),
5844 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5845 (gst_mini_object_replace), (param_mini_object_validate),
5846 (gst_param_spec_mini_object_get_type):
5847 Some cleanup and checking against invalid function parameters.
5849 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5851 * docs/gst/gstreamer-sections.txt:
5853 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5854 (gst_systemclock_suite):
5855 Start merging in the easy bits of #361155, the monotonic clock patch.
5856 This one adds a few handy macros with docs and a testsuite.
5858 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5860 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5861 Be a bit smarter when seeking, like, don't try to do a seek when it's
5862 not needed. This avoids errors when the file is not seekable.
5865 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5867 * docs/gst/gstreamer-docs.sgml:
5868 * docs/gst/gstreamer-sections.txt:
5869 * docs/gst/gstreamer.types.in:
5874 * plugins/elements/gstqueue.c:
5875 Due to popular request remove preset interface again. :-(.
5877 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5879 * tools/gst-inspect.c:
5880 Print 'default value' for enums and flags too.
5882 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5884 * docs/random/ensonic/profiling.txt:
5888 Fix typo and give better log output.
5890 * gst/gstdebugutils.c:
5891 * gst/gstdebugutils.h:
5892 More ideas, make graphs a bit smaller and fix param name in macro.
5894 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5897 Try harder to use the return value from fgets().
5899 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5902 For theses two fgets we handle the error below.
5904 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5906 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5907 Only send upstream events upstream. Fixes #498746.
5909 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5911 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5913 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5914 (gst_identity_init), (gst_identity_transform_ip),
5915 (gst_identity_set_property), (gst_identity_get_property):
5916 * plugins/elements/gstidentity.h:
5917 Add property to disable handoff signal emission. Fixes #498694.
5918 API: GstIdentity::signal-handoffs
5920 2007-11-21 Julien Moutte <julien@fluendo.com>
5922 * docs/faq/gst-uninstalled: Yet another missing library for the
5923 uninstalled script (fft)
5925 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5927 * docs/faq/developing.xml:
5928 Add a question about how to submit new translations.
5930 * docs/random/release:
5931 Update the contact email address for the Translation Project
5933 * plugins/elements/gstfdsrc.c:
5934 The parent_class for fdsrc is pushsrc, not GstElement.
5936 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5939 Plug a leak and fix saving.
5941 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5943 * docs/gst/gstreamer-sections.txt:
5944 Add new gst_preset__get_property_names() function to the docs
5947 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5951 Change _get_preset_names API to return a strv with copies. Add
5952 _get_property_names to allow implementations to filter and provide
5953 good default implementation.
5955 2007-11-20 Julien MOUTTE <julien@moutte.net>
5957 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5960 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5963 More cleanups, docs, and TODOs from comments that now slowly come in.
5965 2007-11-19 Julien MOUTTE <julien@moutte.net>
5967 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5970 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5973 Fix bogus warning and make the property type specific code more
5976 2007-11-19 Julien MOUTTE <julien@moutte.net>
5978 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5981 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5983 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5984 (gst_bin_add_func), (gst_bin_remove_func),
5985 (gst_bin_change_state_func), (gst_bin_continue_func):
5986 Change email, cleanups add some more debug and comments.
5987 Also set bus and clock on new elements when the pipeline was in error.
5989 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5992 * gst/gstdebugutils.c:
5993 Fix build with --disable-gst-debug. Fixes #497859.
5994 Spotted by Sameer Naik.
5996 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5999 Little documentation improvment.
6002 More TODO cleanups. Remove c++ comments.
6004 * libs/gst/controller/gstcontroller.c:
6005 Add TODO and use quark from static string.
6007 * tests/check/gst/gstmessage.c:
6008 * tests/check/gst/gststructure.c:
6009 Use quark from static string.
6011 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6014 Add some comments and TODOs.
6017 Add padding for future changes.
6019 * plugins/elements/gstqueue.c:
6020 Implement the iface.
6022 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6024 * docs/gst/gstreamer-docs.sgml:
6025 * docs/gst/gstreamer-sections.txt:
6026 * docs/gst/gstreamer.types.in:
6031 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6033 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6039 === release 0.10.15 ===
6041 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6044 releasing 0.10.15, "October"
6046 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6048 * win32/vs6/libgstreamer.dsp:
6049 Convert line endings back to DOS.
6051 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6053 * docs/design/draft-tagreading.txt:
6054 * docs/random/ensonic/profiling.txt:
6055 Update fast tagreading draft and performance profiling ideas.
6057 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6059 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6060 Don't hold the object lock when unreffing a buffer because it could
6061 cause a deadlock when the finalize function wants to grab the object
6062 lock too. Fixes #495133.
6064 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6066 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6067 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6068 Also accumulate time correctly when doing reverse playback. Fixes
6070 When converting to running and stream time, use default values for
6071 start/stop/time/accum when comparing different formats. Fixes #494245.
6073 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6074 Do running/stream time in TIME format.
6076 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6077 (gst_segment_suite):
6078 2 new unit tests for segment accumulation.
6080 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6082 * gst/gst.c: (init_pre):
6083 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6084 (_gst_debug_bin_to_dot_file):
6085 Move getenv() back into gst_init, so everyone can live happily
6086 ever after. Make sure the symbol isn't exported though.
6088 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6090 Patch by: Sebastien Moutte <sebastien moutte net>
6092 * win32/common/gstenumtypes.c:
6093 * win32/common/gstenumtypes.h:
6096 * win32/vs6/libgstreamer.dsp:
6097 Update vs6 project files (#494343).
6099 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6101 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6102 (gst_base_src_perform_seek), (gst_base_src_default_event),
6103 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6104 (gst_base_src_activate_pull):
6105 Unify flushing code, remove some old unlock code that is no longer used.
6106 Take the streaming lock when seeking to avoid races. Fixes #492729.
6107 Added some more comments.
6109 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6111 * gst/gst.c: (_gst_disable_segtrap):
6112 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6113 we can use gst_segtrap_is_enabled() there now that we have that API.
6114 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6115 to do the getenv here (and export the variable).
6117 * gst/gstdebugutils.c: (debug_dump_element),
6118 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6119 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6121 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6122 (gst_debug_log_default):
6123 Rename _gst_info_start_time to priv_gst_info_start_time so it
6124 doesn't get exported (was never in any header).
6126 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6127 (gst_plugin_loading_mutex):
6128 Make static mutex gst_plugin_loading_mutex really static (was never
6129 in any header), and use gst_segtrap_is_enabled() instead of
6130 _gst_disable_segtrap.
6132 * gst/gsttrace.c: (_gst_trace_default):
6133 Make local _gst_trace_default static (was never in any header).
6135 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6137 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6139 * win32/common/libgstbase.def:
6140 * win32/common/libgstcontroller.def:
6141 * win32/common/libgstdataprotocol.def:
6142 * win32/common/libgstnet.def:
6143 * win32/common/libgstreamer.def:
6144 Add more missing symbols, remove some duplicates, and sort
6145 as the 'sort' command sorts it (partially fixes #493983).
6147 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6149 * gst/gstelement.c: (gst_element_set_state_func):
6150 Only change the state cookie if a different state was set on the
6151 element. See #492729.
6153 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6156 Remove unused and uninitialised type variables that were still
6157 exported for some reason (they were never in any header files
6160 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6162 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6163 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6164 (gst_base_sink_event), (gst_base_sink_get_position_last),
6165 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6166 (gst_base_sink_change_state):
6167 Don't try to report a 0 position when we don't know, return -1 and FALSE
6168 instead. This mostly happens when we are prerolling.
6169 Make sure we can report the right position before we post the ASYNC_DONE
6170 message so that a message handler can query position without races.
6172 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6173 (async_done_handoff), (async_done_func), (send_buffer),
6174 (async_done_eos_func), (gst_sinks_suite):
6175 Add two tests for the above.
6177 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6180 Update with new email address.
6182 * docs/design/part-TODO.txt:
6183 Add some more info about future pad-block and negotiation changes.
6185 * docs/design/part-buffering.txt:
6186 Add some ideas about buffering reporting.
6188 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6190 * tests/check/gst/gstobject.c:
6191 Disable silly racy test that always fails on this combination of CPU
6194 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6196 Patch by: Murray Cumming <murrayc@murrayc.com>
6199 Corrected the registration of the parent-set and parent-unset
6200 signals: The parameter is a GstObject, not a GObject (#493134).
6202 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6204 * gst/gst_private.h:
6213 Move declaration of private _gst_foo_initialize() functions into
6214 our private header file where they should have been all along.
6216 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6218 * docs/plugins/gstreamer-plugins-sections.txt:
6219 * gst/gstdebugutils.h:
6221 * plugins/elements/gstqueue.c:
6222 gtk-doc fixes; trailing-comma-in-enum fix.
6224 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6226 * gst/gst.c: (gst_deinit):
6227 Clean up on deinit (not the external ones though, doesn't seem to be
6228 needed for some reason).
6230 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6232 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6233 Remove __declspec(dllimport) for MSVC that was copied over into core
6234 from a plugin, obviously without ever having been tested (note the
6235 single underscore in _declspec in the initial commit), and that doesn't
6236 really make sense. See #492077.
6238 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6240 * gst/gst.c: (init_post):
6241 * gst/gstevent.c: (_gst_event_initialize):
6242 * gst/gstquery.c: (_gst_query_initialize):
6243 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6244 g_type_class_ref() other types as well, see #349410 and #64764.
6246 * gst/gstbuffer.c: (_gst_buffer_initialize):
6247 * gst/gstmessage.c: (_gst_message_initialize):
6248 Simplify existing g_type_class_ref().
6250 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6252 * gst/gstformat.c: (_gst_format_initialize):
6253 g_type_class_ref() our GstFormat type to make sure we avoid the
6254 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6255 bug #64764. Should fix intermittent tee unit test failures (#474823).
6257 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6259 * tests/check/elements/tee.c: (test_num_buffers):
6260 Simplify, simplify, simplify - or not. Rewrite unit test
6261 not to use gst_parse_launch(); allow N sub-streams. Increasing
6262 the number of sub-streams seems to reproduce #474823 more easily.
6264 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6266 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6269 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6270 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6271 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6272 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6273 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6274 so use _pipe() directly (#492077).
6276 * win32/common/dirent.c: (_treaddir):
6277 Add a couple of casts to make it build without warnings with MSVC.
6279 * win32/common/libgstreamer.def:
6280 Add some more symbols that need to be exported.
6282 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6284 * tests/examples/metadata/read-metadata.c: (message_loop):
6285 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6286 arriving in a second or third tag message are added to
6287 the tag list as well.
6289 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6291 * libs/gst/base/gstbasesrc.c:
6292 Its "Since:" and not "@Since:". And remove an superflous cast.
6294 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6296 * docs/libs/gstreamer-libs-sections.txt:
6297 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6298 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6299 (gst_base_sink_get_property), (gst_base_sink_render_object),
6300 (gst_base_sink_preroll_object),
6301 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6302 (gst_base_sink_change_state):
6303 * libs/gst/base/gstbasesink.h:
6304 Add a new last-buffer property that contains the last buffer used in
6305 basesink for preroll or rendering. useful for making snapshots.
6306 API: gst_base_sink_get_last_buffer()
6307 API: GstBaseSink::last-buffer
6309 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6311 * docs/gst/running.xml:
6313 * gst/gstdebugutils.c:
6314 * gst/gstdebugutils.h:
6315 * tools/gst-launch.c:
6316 Improve bin graph dumping, by using the envvar to specify a path.
6317 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6319 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6321 * plugins/elements/gsttypefindelement.c:
6322 (gst_type_find_element_handle_event),
6323 (gst_type_find_element_activate):
6324 Post special error message if we can't determine the type of a stream
6327 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6329 * docs/gst/running.xml:
6330 * gst/gstdebugutils.c:
6331 Document new env-var. Add one log-line after dumpng a graph.
6333 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6336 Ugly hack to put the (recently removed and non-portable, apparently)
6337 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6338 GNU ld, because without that 'make check' fails miserably on my debian
6339 stable box. Someone with more knowledge of linker intricacies and
6340 portability issues than me fix this properly please.
6342 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6344 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6345 Reset last seen position after flushing so that we don't report the old
6348 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6350 * gst/gstelementfactory.c: (gst_element_register):
6352 Patch from Alessandro Decina adding get_type_full and
6353 get_protocols_full private vfuncs to the URIHandler interface
6354 to allow bindings to support creating URI handlers.
6355 Partially fixes: #339279
6356 API: GstURIHandlerInterface::get_type_full
6357 API: GstURIHandlerInterface::get_protocols_full
6359 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6361 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6362 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6363 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6364 Make it so that pads are considered linked until a buffer is pushed
6365 and discovered otherwise. This avoids problems with decodebin2 hanging
6366 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6369 Make sure we lock the multiqueue when updating the max-size properties.
6371 Fix a crash on Solaris in a debug statement in get_request_pad that
6372 passes a NULL string to GST_DEBUG.
6374 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6375 (run_output_order_test):
6376 Fix the test to allow the first buffer on not-linked pads to come out
6377 of sequence while multiqueue discovers that they are not-linked.
6379 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6382 * libs/gst/check/Makefile.am:
6383 Use a custom export symbol regex for libgstcheck, as it needs
6384 to export symbols that don't match the standard GStreamer gst_*
6385 pattern, and --export-dynamic is not portable (only works on
6388 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6389 (gst_check_setup_sink_pad):
6390 Make sure to pass a message parameter to the fail_* macros.
6392 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6393 Fix some compiler warnings.
6395 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6397 * tests/check/gst/gststructure.c: (test_to_string):
6398 Disable test that checks that white spaces are not allowed
6399 in structure names or field names, since we need to
6400 support that for now for backwards compatibility reasons.
6402 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6404 * docs/gst/gstreamer-sections.txt:
6407 API: add GST_TAG_ARTIST_SORTNAME
6408 API: add GST_TAG_ALBUM_SORTNAME
6409 API: add GST_TAG_TITLE_SORTNAME
6410 Add tag variants for sorting (#414539).
6412 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6414 * gst/gststructure.c:
6415 Also allow white space for names so we don't break
6416 backwards compatibility.
6418 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6420 * docs/design/part-TODO.txt:
6421 * docs/design/part-segments.txt:
6422 * docs/design/part-streams.txt:
6425 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6427 * docs/gst/gstreamer-sections.txt:
6428 Fixed documentation from my previous commit (added new API add
6429 gst_value_set_structure(), add gst_value_get_structure() and
6430 GST_VALUE_HOLDS_STRUCTURE).
6432 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6434 * gst/gstdebugutils.c:
6435 Reflow code to fix uninitialized variable warning.
6437 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6439 * gst/gstcaps.c: (gst_caps_to_string),
6440 (gst_caps_from_string_inplace):
6441 * gst/gststructure.c: (gst_structure_get_abbrs),
6442 (gst_structure_to_string), (gst_structure_from_string):
6443 * gst/gstvalue.c: (gst_value_set_structure),
6444 (gst_value_get_structure), (gst_value_serialize_structure),
6445 (gst_value_deserialize_structure), (_gst_value_initialize):
6447 * tests/check/gst/gststructure.c: (GST_START_TEST),
6448 (gst_structure_suite):
6449 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6450 Added GstStructure to gst_value_table and its related functions.
6451 Changed gst_structure_to_string to print ';' in the end.
6452 Changed gst_caps_to_string to not print ';' beteween its
6453 fields (structures) anymore and remove the lastes ';' from latest
6454 structure. Now it is possible to have nested structures.
6455 In addition, backward compatibilty is assured by accepting '\0' as
6456 end delimiter. Fixes: #487969.
6457 API: add gst_value_set_structure()
6458 API: add gst_value_get_structure()
6459 API: add GST_VALUE_HOLDS_STRUCTURE
6461 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6464 When no GSource callback has been set up, tell developer
6465 to use a function that actually exists.
6467 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6469 * docs/gst/gstreamer-sections.txt:
6473 * gst/gstdebugutils.c:
6474 * gst/gstdebugutils.h:
6477 * tools/gst-launch.c:
6478 Allow dumping pipelines as dot graphs. Fixes #456573.
6480 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6482 * gst/gststructure.c:
6483 Allow '+' as well, it can be part of media or mime types
6484 such as image/svg+xml.
6486 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6488 * docs/gst/gstreamer-sections.txt:
6491 API: add gst_bus_pop_filtered
6492 API: add gst_bus_timed_pop_filtered
6493 Two new functions for waiting for specific message types on the
6494 bus for a specified amount of time without iterating any main
6495 loops or main contexts.
6497 * tests/check/gst/gstbus.c:
6498 Some tests for the new functions.
6500 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6502 * docs/libs/gstreamer-libs-sections.txt:
6503 Make gtk-doc ignore stuff it should ignore.
6505 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6507 * libs/gst/check/gstcheck.c:
6508 * libs/gst/check/gstcheck.h:
6509 Allow runtime selection of unit tests to run via the GST_CHECKS
6510 environment variable (test case function names, comma-separated).
6512 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6514 * gst/gststructure.c:
6515 * tests/check/gst/gststructure.c:
6516 Revert serialisation change and constrain structure-names after
6517 consensus on irc. Update api documentation to reflect the change.
6519 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6521 * gst/gststructure.c:
6522 Improve serialization and fix tests.
6524 * tests/check/gst/gststructure.c:
6525 Add another test that covers why I actually did the previous structure
6528 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6530 * tools/gst-inspect.c: (print_element_info):
6531 Don't crash when inspecting an element.
6533 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6535 * tests/check/gst/gststructure.c:
6536 Add unit test for escaping of structure name when serialising
6537 and deserialising to/from strings.
6539 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6541 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6542 (gst_single_queue_new):
6543 * plugins/elements/gstqueue.c: (gst_queue_init),
6544 (gst_queue_push_one):
6545 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6546 upstream is tricked into thinking it can suggest a format downstream
6547 while downstream does not support that format. The real problem is that
6548 core calls acceptcaps when pushing a buffer with new caps, for which we
6549 do a little workaround by setting the caps on the srcpad ourselves
6550 before pushing the buffer (until this is figured out). Fixes #486758.
6552 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6554 * gst/gststructure.c:
6556 Add some more comments and debug output. Quote structure name to fix
6557 deserialisation of some strings.
6559 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6562 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6563 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6565 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6567 * tools/gst-inspect.c:
6568 Save approx. 400 1 byte allocs when printing. Use API to acces element
6574 * tools/gst-xmlinspect.c:
6575 Use API to acces element details.
6577 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6580 Fix some spelling errors.
6582 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6584 * gst/gstbin.c: (bin_handle_async_done):
6585 Correctly set the next state if all of our async children commited their
6586 state. This makes sure we can actually cancel the state change in
6587 progress. Fixes a regression in Rhythmbox when seeking.
6589 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6592 Don't shadow local variable.
6595 Don't shadow global function name.
6597 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6599 * gst/gstelementfactory.c:
6600 * gst/gstpluginfeature.c:
6601 * gst/gstpluginfeature.h:
6602 * gst/gstregistrybinary.c:
6603 * gst/gstregistryxml.c:
6604 * gst/gsttypefind.c:
6605 Use already-interned string for the private GstPluginFeature
6608 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6610 * docs/libs/gstreamer-libs-sections.txt:
6611 Add new API to docs; fixes the build.
6613 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6615 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6617 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6618 (gst_base_sink_event):
6619 * libs/gst/base/gstbasesink.h:
6620 Add function to wait for EOS, subclasses can use this to correctly wait
6621 for devices to drain before performing the EOS logic. Fixes #485343.
6622 API: gst_base_sink_wait_eos()
6624 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6627 Cast description string constants in GST_PLUGIN_DEFINE macros
6628 to a (gchar*) to make C++ code using these macros compile
6629 without warning with g++-4.2 (see #462737). Even if slightly
6630 ugly, this seems preferable to putting the description strings
6631 into the GLib quark table or making the structure member a
6632 const gchar * and doing casts in core code that allocs and
6633 frees these strings, or requiring a cast in the C++ code.
6635 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6638 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6639 to print the entire class/function signature into the log
6640 file for C++ code. This only affects C++ code, for C code
6641 everything remains the same.
6643 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6645 * gst/gstbin.c: (remove_from_queue):
6646 Work around a problem with pipelines containing (semi)loops until a
6647 proper, more complicated solution is ready. See #475455.
6649 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6653 * gst/gstregistrybinary.c:
6654 * gst/gstregistryxml.c:
6655 Put more strings into the GLib quark table. No need to keep
6656 a hundred-something copies of identical version strings,
6657 license strings, package name strings and package origin
6660 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6662 * docs/manual/advanced-dataaccess.xml:
6663 Don't imply that it's okay to unconditionally change
6664 buffer data or buffer metadata in a pad probe callback,
6665 and a bunch of other comments. Fixes #430031.
6667 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6669 * win32/common/gstenumtypes.c:
6670 * win32/common/gstenumtypes.h:
6671 * win32/common/gstversion.h:
6672 Update generated files.
6674 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6676 * docs/manual/advanced-autoplugging.xml:
6677 Prefix section with broken code with a warning (see #342432).
6679 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6681 * docs/manual/appendix-integration.xml:
6682 * docs/manual/basics-init.xml:
6683 Call g_thread_init() before g_option_context_new() to
6684 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6686 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6688 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6689 (gst_base_sink_queue_object_unlocked),
6690 (gst_base_sink_queue_object), (gst_base_sink_event),
6691 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6692 When we received EOS and are waiting for when to post the EOS message,
6693 our state is prerolled and we should not return ASYNC.
6694 Reorganize some code paths to implement this behavior.
6696 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6698 Add unit test to verify above EOS fix.
6700 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6702 * plugins/elements/gsttypefindelement.c:
6703 (gst_type_find_element_have_type), (gst_type_find_element_init),
6704 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6705 Move detecting the input caps of the sinkpad to the setcaps function.
6706 This allows us to update the output caps when we receive new input caps
6707 instead of always using the first detected caps.
6709 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6711 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6712 (gst_base_sink_get_position):
6713 Don't try to preroll non-async elements after a flush.
6714 Subtract latency form clock times when reporting position.
6716 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6718 * gst/gstpad.c: (gst_pad_pause_task):
6720 Small comment and documentation update.
6722 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6724 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6725 (gst_base_src_set_live), (gst_base_src_is_live),
6726 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6727 (gst_base_src_default_event), (gst_base_src_wait),
6728 (gst_base_src_do_sync), (gst_base_src_get_range),
6729 (gst_base_src_pad_get_range), (gst_base_src_loop),
6730 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6731 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6732 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6733 (gst_base_src_change_state):
6734 Rework the locking of basesrc in a similar fashion to basesink. We
6735 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6736 us to handle live sources and semi live ones much better.
6738 Fix unlocking when seeking, shutting down and pausing in live sources.
6740 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6742 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6743 Fix compilation again.
6745 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6748 Use meaningful categories for the logs to clean the default one.
6750 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6752 * tests/check/pipelines/cleanup.c:
6753 Print message name and not just number.
6755 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6757 * docs/design/draft-tagreading.txt:
6758 Add some more thoughts.
6760 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6762 * tests/check/pipelines/simple-launch-lines.c:
6763 Print message name and not just number.
6765 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6767 * libs/gst/base/gsttypefindhelper.c:
6768 Speedup typefinding. This is work in progress (see #459862).
6770 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6773 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6774 Spotted by Josep Torra Valles <josep@fluendo.com>.
6776 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6779 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6780 field has moved to GstObject.
6782 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6784 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6785 (gst_base_src_get_range), (gst_base_src_change_state):
6786 Call unlock for live sources so that they can't get stuck in _create and
6787 produce a buffer before they are set back to PLAYING.
6789 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6791 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6792 (gst_queue_locked_dequeue):
6793 Comment the segment-related code... in the PROPER function.
6794 See #482147 and my commit from yesterday.
6796 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6798 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6799 Also initialize the counter that calculates the first timestamp on a
6800 buffer correctly for non-live sources.
6802 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6804 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6805 Disable code that's breaking the current-time-level reporting.
6808 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6810 * docs/gst/gstreamer-sections.txt:
6811 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6812 as they shouldn't show up. Fixes the docs build.
6814 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6817 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6818 Define M_PI which is used in files which are including gstinfo.h.
6819 VS6 includes doesn't define it.
6820 * win32/common/libgstbase.def:
6821 * win32/common/libgstcontroller.def:
6822 * win32/common/libgstreamer.def:
6823 Add new exported functions and variables.
6824 * win32/vs6/libgstcontroller.dsp:
6825 * win32/vs6/libgstreamer.dsp:
6826 Update the list of files to build.
6828 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6830 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6832 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6833 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6834 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6835 Improve debugging. Fixes #480858.
6837 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6839 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6841 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6842 First patch of code cleanups, use the macros and right arguments in the
6843 macros to signal and lock the queue. See #480858.
6845 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6847 * gst/gstbus.c: (poll_func):
6848 Improve debugging when dealing with _poll().
6850 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6852 * gst/gstregistryxml.c:
6853 Fix memory leak I introduced a few days ago.
6855 2007-09-26 Michael Smith <msmith@fluendo.com>
6857 * gst/gstbuffer.c: (gst_buffer_finalize):
6858 Make it once again possible to free GstBuffers in the default
6860 The poisoning scribbles on parts of the miniobject we need in
6864 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6866 * docs/gst/gstreamer-sections.txt:
6869 API: add GST_TAG_COMPOSER, fixes #459809.
6871 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6875 Add the 3-clause BSD license and the MIT/X11 license to the license
6876 list. Fixes #479784.
6878 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6880 * docs/faq/getting.xml:
6881 Add Q+A about different GStreamer versions (#364056).
6883 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6885 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6886 (gst_base_sink_event), (gst_base_sink_change_state):
6887 Return correct gboolean from query function.
6889 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6891 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6892 (gst_base_sink_event), (gst_base_sink_query),
6893 (gst_base_sink_change_state):
6894 Simplify latency query.
6895 When not synchronizing, we can report latency without querying the peer
6898 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6902 Fix small typos in the docs.
6904 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6906 * docs/design/draft-latency.txt:
6907 * docs/design/draft-push-pull.txt:
6908 * docs/design/draft-tagreading.txt:
6909 * docs/design/part-MT-refcounting.txt:
6910 * docs/design/part-activation.txt:
6911 * docs/design/part-block.txt:
6912 * docs/design/part-element-source.txt:
6913 * docs/design/part-events.txt:
6914 * docs/design/part-gstbin.txt:
6915 * docs/design/part-gstelement.txt:
6916 * docs/design/part-gstobject.txt:
6917 * docs/design/part-gstpipeline.txt:
6918 * docs/design/part-messages.txt:
6919 * docs/design/part-preroll.txt:
6920 * docs/design/part-push-pull.txt:
6921 * docs/design/part-qos.txt:
6922 * docs/design/part-query.txt:
6923 * docs/design/part-scheduling.txt:
6924 * docs/design/part-seeking.txt:
6925 * docs/design/part-segments.txt:
6926 * docs/design/part-states.txt:
6927 Documentation updates and typo fixes.
6929 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6931 * plugins/elements/gstfakesink.c:
6932 Add some debug text to error message to indicate that
6933 we errored out on request.
6935 * tools/gst-launch.c:
6936 When the state change to PLAYING fails, check for an
6937 error message on the bus and print it.
6939 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6941 translated by: Jorge González González <aloriel@gmail.com>
6945 Added Spanish translation.
6947 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6949 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6950 Fix printf arguments.
6952 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6954 * tests/check/generic/states.c:
6955 Improved state change unit test.
6957 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6960 Move priv to the right place.
6962 * gst/gstsystemclock.c:
6963 Add FIXME: and improve log.
6965 * tests/check/Makefile.am:
6966 * tests/examples/manual/Makefile.am:
6967 Work with all types of registries.
6969 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6971 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6972 Don't unref the event after pushing it. Fixes #478401.
6974 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6977 * tests/examples/manual/.cvsignore:
6978 Ignore registries in any format.
6980 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6982 * gst/glib-compat-private.h:
6983 Add compatibility macro for g_intern_string() for
6984 GLib-2.8 (any reason we can't just bump the
6985 requirement to at least 2.10?)
6987 * gst/gstpadtemplate.h:
6988 * gst/gstelementfactory.c:
6989 * gst/gstregistryxml.c:
6990 * gst/gstregistrybinary.c:
6991 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6992 up the internal code accordingly. This shouldn't be a problem, since
6993 there is no reason external code could ever assume the string in such
6994 a structure is dynamically allocated unless it did that itself; the
6995 use of g_strdup() is private to element factories. The new code also
6996 saves some memory by putting pad template name strings into the GLib
6997 quark table instead of allocating them dynamically.
6998 Declaring this field constant fixes warnings with g++-4.2 when using
6999 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7001 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7003 * gst/gstelementfactory.c:
7004 Release static caps. Fixes #475723.
7006 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7010 Make some internal API take const gchar * instead of just
7011 gchar * to avoid compiler warnings with g++-4.2.2 when
7012 passing string constants (partially fixes #478092).
7014 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7016 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7017 A latency query fails when one of the sinks fail.
7019 * gst/gstelement.c: (gst_element_set_base_time):
7022 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7024 * gst/gstbin.c: (gst_bin_continue_func):
7025 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7026 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7027 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7029 Fix minor compilation warnings shown with Forte.
7031 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7033 * plugins/elements/gstqueue.c: (apply_buffer),
7034 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7035 Measure queue level based on the diff between head and tail timestamps
7036 even when pushing the first buffer.
7038 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7040 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7041 (gst_base_sink_event), (gst_base_sink_change_state):
7042 Sinks that don't preroll can always be queried for the latency.
7043 Don't post ASYNC start when we are not async.
7045 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7047 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7048 (gst_queue_handle_sink_event), (gst_queue_chain),
7049 (gst_queue_push_one), (gst_queue_handle_src_query),
7050 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7051 * plugins/elements/gstqueue.h:
7052 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7053 push more buffers but allow pushing of EOS and NEWSEGMENT.
7054 Add some more debug info here and there. Fixes #476514.
7056 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7058 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7059 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7060 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7061 (gst_base_sink_set_flushing), (gst_base_sink_query),
7062 (gst_base_sink_change_state):
7063 Latency query is allowed after we are prerolled. Introduce a new flag
7064 for this and stop abusing other variables.
7066 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7068 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7069 Push OOB events downstream when we get them in send_event. This allows
7070 the application to insert events in the pipeline.
7071 Add some more comments.
7073 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7075 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7076 (do_bin_latency), (gst_bin_change_state_func):
7077 * gst/gstpipeline.c: (gst_pipeline_change_state):
7078 Move latency query from GstPipeline to GstBin so that we can also
7079 use it when async-handling is enabled on bins.
7081 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7083 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7084 (gst_base_src_do_sync), (gst_base_src_change_state):
7086 Clean up the timestamping and syncing code for pseudo live sources.
7088 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7090 Patch by: Steve Fink <sphink gmail com>
7092 * docs/manual/appendix-checklist.xml:
7093 Mention less -R switch in the section about debug output (#474055).
7095 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7097 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7098 Queue can latency to the pipeline up to the configured max size in time.
7099 Report this fact in the latency query.
7101 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7103 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7105 * libs/gst/controller/gstinterpolation.c:
7106 * libs/gst/controller/gstlfocontrolsource.c:
7107 Use gst_guint64_to_gdouble() when converting from a uint64 or
7108 GstClockTime to double to fix the build on win32. Fixes #474371.
7110 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7112 * gst/gstbuffer.c: (gst_buffer_finalize):
7113 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7114 When finalizing a buffer the complete struct is filled with 0xff,
7115 thus making a use of the buffer after the final unref impossible.
7117 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7119 * tests/check/libs/controller.c: (GST_START_TEST):
7120 Use fail_unless_equals_int(a, b) instead of
7121 fail_unless_equals (a == b) to get better output on failures.
7123 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7125 * tests/check/gst/gsturi.c:
7126 Also check for the other file URI variant on win32.
7128 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7130 * gst/gsturi.c: (gst_uri_get_location):
7131 If there's no hostname, we want to return 'c:/foo/bar.txt'
7132 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7134 * tests/check/gst/gsturi.c:
7135 Unit test for the above and a few more things.
7137 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7139 * docs/design/part-live-source.txt:
7140 Add docs on how live sources should timestamp.
7142 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7143 Add some more debug info.
7144 For subclasses that are live and like to sync, add aditional startup
7145 latency to sync time and timestamps so that we timstamp according to the
7148 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7151 Also do a g_type_class_ref() for the subbuffer type in
7154 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7156 * docs/gst/gstreamer-sections.txt:
7157 * gst/gstpad.c: (gst_pad_peer_query):
7159 Add function to perform a query on the peer of a pad.
7160 API: gst_pad_peer_query()
7162 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7164 * tests/check/gst/gstsystemclock.c:
7165 Cleanup the test a little (use gst-logging and not g_message). Improve
7166 test to check if a wait reached the target.
7168 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7170 * docs/libs/gstreamer-libs-sections.txt:
7171 Add new API to docs and fix the build.
7173 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7175 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7176 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7177 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7178 (gst_base_src_get_property), (gst_base_src_do_sync):
7179 * libs/gst/base/gstbasesrc.h:
7180 Add property to make the basesrc timestamp buffers based on the current
7182 API: GstBaseSrc::do-timestamp
7183 API: gst_base_src_set_do_timestamp()
7184 API: gst_base_src_get_do_timestamp()
7186 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7188 * docs/random/release:
7189 Really make sure translations are up-to-date before
7190 a release (#465010).
7192 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7194 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7195 Always destroy the timer, also in error cases.
7197 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7199 * docs/manual/highlevel-xml.xml:
7200 Fix XML example code. Fixes #472714.
7202 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7204 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7205 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7206 (gst_base_sink_query):
7207 Protect eos and have_preroll with the OBJECT lock so we don't need to
7208 take the PREROLL lock when querying the latency. Fixes #473846.
7210 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7213 Give some log-messages a category.
7215 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7217 * gst/gststructure.c:
7218 (gst_structure_fixate_field_nearest_fraction):
7219 Fix fraction list fixation code. Take the fraction with the smallest
7220 difference with the target instead of the first one in the list.
7222 * tests/check/gst/gststructure.c: (GST_START_TEST),
7223 (gst_structure_suite):
7224 Added test to verify correct fraction list fixation behaviour.
7226 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7228 * win32/common/libgstreamer.def:
7229 Export gst_bus_add_signal_watch too.
7231 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7233 * docs/libs/gstreamer-libs-sections.txt:
7234 Add new methods to docs.
7236 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7237 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7238 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7239 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7240 * libs/gst/base/gstbasesink.h:
7241 Add ts-offset property to fine-tune the synchronisation.
7242 API: GstBaseSink::ts-offset property
7243 API: gst_base_sink_set_ts_offset()
7244 API: gst_base_sink_get_ts_offset()
7246 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7248 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7249 (gst_base_sink_init), (gst_base_sink_set_sync),
7250 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7251 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7252 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7253 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7254 (gst_base_sink_get_property), (gst_base_sink_change_state):
7255 * libs/gst/base/gstbasesink.h:
7256 Add async property to instruct the sink never to inform the parent about
7257 ASYNC state changes, update docs.
7258 Check argument with g_return_* for the public functions.
7259 API: GstBaseSink::async property
7260 API: gst_base_sink_set_async_enabled()
7261 API: gst_base_sink_is_async_enabled()
7263 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7265 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7268 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7269 (gst_base_src_default_query), (gst_base_src_wait),
7270 (gst_base_src_do_sync), (gst_base_src_change_state):
7271 Rearrange some code so that we can add support for measuring the
7274 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7276 * docs/random/ensonic/dynlink.txt:
7277 More thoughs on this.
7279 * plugins/elements/gstcapsfilter.c:
7280 Add bugzilla ticket number to FIXME comment.
7282 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7284 * docs/design/part-TODO.txt:
7285 * docs/design/part-block.txt:
7288 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7291 Revert patch which uses $(gst_headers) instead of $^ because it
7294 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7296 * tests/check/gst/gstbin.c: (GST_START_TEST):
7297 Fix leaks in the new unit test.
7299 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7302 Don't use GST_INFO before the debug system is actually initialised
7303 (shouldn't do any harm, but won't print anything either, so we can
7304 just as well remove it).
7307 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7308 compilers that don't support variadic macros (such as MSVC), should
7309 check for debug_level <= __gst_debug_min as well, since that's the
7310 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7311 inline helper functions. Should improve performance a bit, but also
7312 makes sure uses of GST_INFO et.al are ignored if the debugging
7313 system isn't initialised yet (instead of printing an assertion
7316 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7318 patch by: David Nečas <yeti@physics.muni.cz>
7321 Replace some non portable makefile constructs.
7323 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7325 * common/gtk-doc-plugins.mak:
7326 Grrrrr. Don't remove the types file on make clean.
7328 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7330 * tools/gst-launch.1.in:
7331 Add colorspace to example pipeline. Fixes #458274.
7333 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7335 * docs/random/release:
7336 The release manager should run 'make download-po' before making a
7337 release to make sure translations are up-to-date.
7343 Add some new translations.
7345 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7347 * tools/gst-launch.c: (event_loop), (main):
7348 Don´t try to do any state management when a live pipeline posts
7350 Also make the buffering string translatable.
7352 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7354 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7355 (bin_handle_async_start), (gst_bin_handle_message_func):
7357 When adding elements, insert messages into the bus of the newly added
7358 element and make sure the element is the source of the message. This
7359 allows the parent bin to intercept the message and do the
7360 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7361 messages to the app (which is not allowed).
7364 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7365 Fix testsuite so that is does not work around messages that should not
7366 have been posted in the first place.
7368 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7370 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7371 (update_degree), (gst_bin_sort_iterator_next):
7372 Fix annoying bug in the sorted iterator where a sink that is not really
7373 a sink (when it has downstream links) screwed up the iterator.
7375 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7376 Unit test to verify the fix.
7378 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7381 Add some more docs for the messages.
7383 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7384 (gst_base_sink_query):
7385 Add some more debugging.
7387 * tools/gst-launch.c: (event_loop):
7388 When interrupting, don't try to set pipeline to PAUSED twice.
7390 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7393 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7394 (bin_handle_async_start), (gst_bin_handle_message_func):
7395 Move ASYNC_START message posting to where it belongs, similar to
7397 Don't post ASYNC_START when we are in error.
7398 Post ASYNC_START when we added an async element to a bin.
7400 2007-08-14 Julien MOUTTE <julien@moutte.net>
7402 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7403 generation from vargs. Fixes #466595.
7405 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7407 * gst/gstbin.c: (gst_bin_element_set_state):
7408 Always change the state of a NO_PREROLL element even if it has ASYNC
7409 elements inside (in case of a bin).
7411 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7412 Unit test for this case.
7414 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7416 * libs/gst/check/gstbufferstraw.c:
7417 * libs/gst/check/gstcheck.h:
7418 * libs/gst/controller/gstcontroller.c:
7419 * libs/gst/controller/gstcontrolsource.h:
7420 * libs/gst/controller/gstlfocontrolsource.h:
7421 * plugins/elements/gstcapsfilter.h:
7422 * plugins/elements/gstfdsink.h:
7423 * plugins/elements/gstfdsrc.h:
7424 Add more missing docs.
7426 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7428 * gst/gststructure.c:
7429 Add Since tag to docs.
7431 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7433 * docs/gst/gstreamer-sections.txt:
7434 * gst/gststructure.c: (gst_structure_get_uint):
7435 * gst/gststructure.h:
7436 Add function to get uint from a structure.
7437 API: gst_structure_get_uint()
7439 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7441 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7442 (gst_caps_intersect):
7443 Fix proper check for simple caps.
7445 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7447 * docs/gst/Makefile.am:
7448 * docs/libs/Makefile.am:
7449 Remove cruft and do some cleanups.
7451 * docs/gst/gstreamer-docs.sgml:
7452 * docs/libs/gstreamer-libs-docs.sgml:
7453 Prepare for comming gtkdoc features (rebase against online docs).
7455 2007-08-10 Michael Smith <msmith@fluendo.com>
7457 * docs/gst/gstreamer-sections.txt:
7458 Add gst_registry_add_path to docs.
7460 2007-08-10 Michael Smith <msmith@fluendo.com>
7462 * gst/gstregistry.h:
7463 Add gst_registry_add_path, which was missing from this header.
7465 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7467 * libs/gst/controller/gstlfocontrolsource.c:
7470 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7472 * libs/gst/base/gstbasesink.c:
7473 Don't send an async_start message during downwards state change if
7474 target state is less than READY
7476 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7478 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7482 Added Hungarian translation.
7484 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7491 Updated translations.
7493 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7495 * libs/gst/controller/Makefile.am:
7496 Dist gstlfocontrolsourceprivate.h
7498 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7500 * docs/libs/gstreamer-libs.types:
7501 Don't register the enum type gst_lfo_waveform_get_type() in the
7502 .types file - only GObject derived types belong.
7504 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7506 Patch by: <arenevier at fdn dot fr>
7509 Remove comma from last element in enum to avoid compile errors when
7510 using -pendantic. Fixes #464366.
7512 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7514 * docs/design/part-TODO.txt:
7515 Add some more TODO items
7517 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7520 * gst/gstcaps.c: (gst_caps_intersect):
7521 Optimize trivial intersection case between identical caps pointers.
7523 * gst/gstelement.c: (gst_element_continue_state),
7524 (gst_element_set_state_func):
7526 Fix spelling and grammar mistakes.
7528 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7532 Update POTFILES. Fixes #461599.
7534 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7537 Fix confusing typo in debug output.
7539 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7541 reviewed by: Stefan Kost <ensonic@users.sf.net>
7543 * libs/gst/controller/Makefile.am:
7544 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7545 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7546 (gst_lfo_control_source_new),
7547 (gst_lfo_control_source_set_waveform),
7548 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7549 (gst_lfo_control_source_finalize),
7550 (gst_lfo_control_source_dispose),
7551 (gst_lfo_control_source_set_property),
7552 (gst_lfo_control_source_get_property),
7553 (gst_lfo_control_source_class_init):
7554 * libs/gst/controller/gstlfocontrolsource.h:
7555 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7556 API: Add GstLFOControlSource, a control source that gives values
7557 for specific timestamps based on several periodic waveforms.
7560 * tests/check/libs/controller.c: (GST_START_TEST),
7561 (gst_controller_suite):
7562 * docs/libs/gstreamer-libs-docs.sgml:
7563 * docs/libs/gstreamer-libs-sections.txt:
7564 * docs/libs/gstreamer-libs.types:
7565 Add documentation and unit tests for GstLFOControlSource.
7567 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7572 === release 0.10.14 ===
7574 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7577 releasing 0.10.14, "Breathing Vacuum"
7579 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7581 * gst/gstelement.c: (gst_element_class_set_details_simple):
7583 Make strings passed to gst_element_class_set_details_simple()
7584 constant, as they should be (#462752).
7586 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7588 * gst/gstbin.c: (gst_bin_change_state_func),
7589 (bin_handle_async_done), (gst_bin_handle_message_func):
7590 Don't forget about the fact that some element went ASYNC even after a
7591 resync. This makes us post the ASYNC_DONE message correctly.
7594 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7596 * gst/gstregistry.c: (gst_registry_add_feature):
7597 When replacing an existing feature in the registry, make sure to
7598 continue holding a reference until we've replaced the name string
7599 within our feature hash table. Make sure to use g_hash_table_replace
7600 instead of g_hash_table_insert to ensure the new name string is used
7601 as a key instead of the old one that we're about to free.
7604 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7606 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7607 (gst_plugin_feature_set_name):
7608 Revert patch from #459466 until after the release and we can work
7609 out exactly what the problem is (if any).
7611 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7613 * docs/gst/gstreamer-sections.txt:
7616 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7618 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7620 * docs/libs/Makefile.am:
7621 Include our build-prefix libs and includes before the generic ones to
7622 avoid linking against the installed libs when we want the build-tree
7625 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7627 Patch by: Steve Fink <sphink gmail com>
7629 * docs/pwg/building-testapp.xml:
7630 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7631 if people try to build or install the example from the plugin
7632 template against a GStreamer from package using the configure
7635 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7637 Patch by: Steve Fink <sphink gmail com>
7639 * tools/gst-inspect.1.in:
7640 Document --print-all and --print-plugin-auto-install-info command
7641 line options in man page.
7643 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7645 * docs/gst/gstreamer-sections.txt:
7646 Add docs for new api function.
7648 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7650 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7651 * gst/gstelementfactory.h:
7652 API: gst_element_factory_has_interface()
7653 Added method to check if an element factory implements a named
7656 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7659 * docs/gst/gstreamer.types.in:
7660 Another conditional doc check.
7663 * gst/gstparamspecs.h:
7664 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7669 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7671 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7672 (gst_registry_binary_load_feature),
7673 (gst_registry_binary_load_plugin),
7674 (gst_registry_binary_read_cache):
7675 Print error just once and with additional info.
7677 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7679 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7680 (helper_find_suggest), (helper_find_get_length),
7681 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7682 (gst_type_find_helper_for_buffer):
7683 Cleanup the typefindhelper code and add private doc comments.
7685 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7687 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7688 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7689 Fix capsfilter for cases where the caps set on capsfilter will provide
7690 additional information.
7693 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7695 * gst/gsttypefindfactory.c:
7696 Fix docs that recommened wrong function to use.
7698 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7700 * tools/gst-inspect.c: (print_plugin_features):
7701 Also give media-type for typefinders in element output.
7703 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7705 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7706 (gst_registry_remove_features_for_plugin_unlocked),
7707 (gst_registry_add_feature), (gst_registry_remove_feature),
7708 (gst_registry_lookup_feature_locked):
7709 * gst/gstregistry.h:
7710 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7713 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7715 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7716 (gst_plugin_feature_set_name):
7717 Avoid double memory usage for pluginfeature names. Fixes #459466.
7719 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7722 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7723 driving the pipeline may need to explicitly check for NOT_LINKED as
7724 well, since IS_FATAL doesn't cover that.
7726 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7728 * docs/pwg/advanced-types.xml:
7729 Fix typo and duplicate entry in video formats list.
7731 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7733 * libs/gst/controller/gstinterpolation.c:
7734 Also round to the nearest int when using cubic interpolation.
7736 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7738 * libs/gst/controller/gstinterpolation.c:
7739 When linearly interpolating integer types, round to the nearest int
7740 by adding 0.5. Don't do it for float/double types.
7741 Fixes the failing controller test on my machine, which is somehow
7742 rounding differently than on the buildbots.
7744 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7746 * tools/gst-plot-timeline.py:
7747 Better log parsing (categories can have -). Adjust text vs. lines, so
7748 that they span the same y-range.
7750 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7752 * docs/random/ensonic/audiobaseclasses.txt:
7753 * docs/random/ensonic/dynlink.txt:
7754 * docs/random/ensonic/profiling.txt:
7757 * docs/random/moving-plugins:
7758 Add note to use g_assert type macros.
7760 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7763 * libs/gst/check/Makefile.am:
7764 Add libm check as we use in for plugins.
7766 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7768 * gst/gstbin.c: (gst_bin_continue_func):
7769 Check that the state_cookie hasn't changed since the continue_func
7770 was scheduled. Avoids problems where the state changes back to
7771 something it shouldn't be because it was changed in the meantime.
7773 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7775 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7776 (gst_registry_binary_save_string),
7777 (gst_registry_binary_save_pad_template),
7778 (gst_registry_binary_save_feature),
7779 (gst_registry_binary_save_plugin),
7780 (gst_registry_binary_load_feature),
7781 (gst_registry_binary_load_plugin),
7782 (gst_registry_binary_read_cache):
7783 Fix memory leak. Be less verbose in the log.
7785 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7787 * tests/check/elements/.cvsignore:
7788 Add file to cvsignore as commanded.
7790 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7792 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7793 (mq_dummypad_event), (run_output_order_test):
7794 Use a GStaticMutex to protect all cases where libcheck
7795 fail_if/fail_unless macros might be called from multiple threads
7796 simultaneously to avoid errors like:
7797 "check_pack.c:107: :-1081725400:Bad message type arg"
7799 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7801 * tests/check/pipelines/stress.c: (GST_START_TEST):
7802 Make sure we set the pipeline back to the NULL state before
7803 dropping our final reference.
7805 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7807 * tests/check/elements/tee.c: (GST_START_TEST):
7808 Make the tee stress-test a little less stressful so it doesn't just
7809 time out on slow-machines, and remove a small race when it's starting
7810 up by adding a get_state() call.
7812 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7815 Avoid reading registry twice on startup. Fixes #457322.
7817 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7819 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7820 * pkgconfig/gstreamer-check.pc.in:
7821 Substitute the CFLAGS for libcheck into our .pc file too so that
7822 dependent modules will pick it up properly if libcheck is installed
7823 into some other prefix.
7825 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7828 Revert the pkg-config check for libcheck, since it pulls in the
7829 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7830 a proper solution, either from the check project, or something else.
7832 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7835 Use pkg-config to locate check.
7837 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7844 Add deprecation guards.
7846 * libs/gst/base/gstcollectpads.h:
7847 Don't document object (this is implicitly private).
7849 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7851 * gst/gststructure.c: (gst_structure_parse_value):
7852 When deserialising foo=bar without a type cast, check if it's a
7853 boolean before falling back to a string type, otherwise things like
7854 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7855 because the filtercaps end up having a signed=(string)true field,
7856 which causes problems later when intersection caps.
7858 * tests/check/gst/gststructure.c: (GST_START_TEST):
7859 Add a unit test for this.
7861 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7863 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7865 * libs/gst/controller/Makefile.am:
7866 * libs/gst/controller/gstcontroller.c:
7867 (gst_controlled_property_add_interpolation_control_source),
7868 (gst_controlled_property_new), (gst_controlled_property_free),
7869 (gst_controller_find_controlled_property),
7870 (gst_controller_new_valist), (gst_controller_new_list),
7871 (gst_controller_new), (gst_controller_remove_properties_valist),
7872 (gst_controller_remove_properties_list),
7873 (gst_controller_remove_properties),
7874 (gst_controller_set_property_disabled),
7875 (gst_controller_set_disabled), (gst_controller_set_control_source),
7876 (gst_controller_get_control_source), (gst_controller_get),
7877 (gst_controller_sync_values), (gst_controller_get_value_array),
7878 (_gst_controller_dispose), (gst_controller_get_type),
7879 (gst_controlled_property_set_interpolation_mode),
7880 (gst_controller_set), (gst_controller_set_from_list),
7881 (gst_controller_unset), (gst_controller_unset_all),
7882 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7883 * libs/gst/controller/gstcontroller.h:
7884 * libs/gst/controller/gstcontrollerprivate.h:
7885 * libs/gst/controller/gstcontrolsource.c:
7886 (gst_control_source_class_init), (gst_control_source_init),
7887 (gst_control_source_get_value),
7888 (gst_control_source_get_value_array), (gst_control_source_bind):
7889 * libs/gst/controller/gstcontrolsource.h:
7890 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7891 (gst_object_get_control_source):
7892 * libs/gst/controller/gstinterpolation.c:
7893 (gst_interpolation_control_source_find_control_point_node),
7894 (gst_interpolation_control_source_get_first_value),
7895 (_interpolate_none_get), (interpolate_none_get),
7896 (interpolate_none_get_boolean_value_array),
7897 (interpolate_none_get_enum_value_array),
7898 (interpolate_none_get_string_value_array),
7899 (_interpolate_trigger_get), (interpolate_trigger_get),
7900 (interpolate_trigger_get_boolean_value_array),
7901 (interpolate_trigger_get_enum_value_array),
7902 (interpolate_trigger_get_string_value_array):
7903 * libs/gst/controller/gstinterpolationcontrolsource.c:
7904 (gst_control_point_free), (gst_interpolation_control_source_reset),
7905 (gst_interpolation_control_source_new),
7906 (gst_interpolation_control_source_set_interpolation_mode),
7907 (gst_interpolation_control_source_bind),
7908 (gst_control_point_compare), (gst_control_point_find),
7909 (gst_interpolation_control_source_set_internal),
7910 (gst_interpolation_control_source_set),
7911 (gst_interpolation_control_source_set_from_list),
7912 (gst_interpolation_control_source_unset),
7913 (gst_interpolation_control_source_unset_all),
7914 (gst_interpolation_control_source_get_all),
7915 (gst_interpolation_control_source_get_count),
7916 (gst_interpolation_control_source_init),
7917 (gst_interpolation_control_source_finalize),
7918 (gst_interpolation_control_source_dispose),
7919 (gst_interpolation_control_source_class_init):
7920 * libs/gst/controller/gstinterpolationcontrolsource.h:
7921 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7922 API: Refactor GstController into the core controller which can take
7923 a GstControlSource for providing actual values for timestamps.
7924 Implement a interpolation control source and use this for backward
7925 compatibility, deprecate a bunch of functions that are now handled
7926 by GstControlSource or GstInterpolationControlSource.
7927 Make it possible to disable the controller completely or only for
7928 specific properties. Fixes #450711.
7929 * docs/libs/gstreamer-libs-docs.sgml:
7930 * docs/libs/gstreamer-libs-sections.txt:
7931 * docs/libs/gstreamer-libs.types:
7932 Add new functions and classes to the docs.
7933 * tests/check/libs/controller.c: (GST_START_TEST),
7934 (gst_controller_suite):
7935 * tests/examples/controller/audio-example.c: (main):
7936 Port unit test and example to the new API and add some new
7939 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7941 Patch by: Mark Nauwelaerts <manauw at skynet be>
7943 * plugins/elements/gstmultiqueue.c:
7944 (gst_multi_queue_get_internal_links), (apply_buffer),
7945 (single_queue_overrun_cb), (gst_single_queue_new):
7946 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7947 the pipeline layout can be tracked correctly. Fixes #453732.
7949 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7951 * docs/gst/Makefile.am:
7952 * docs/libs/Makefile.am:
7953 * docs/plugins/Makefile.am:
7954 Simplify --extra-dir as gtkdoc scans recursively.
7956 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7958 * tools/gst-launch.c: (main):
7959 When we got an error, there is no point in waiting for preroll when
7962 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7964 * plugins/elements/gsttee.c: (gst_tee_base_init),
7965 (gst_tee_request_new_pad), (gst_tee_release_pad),
7966 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7967 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7969 Be a lot smarter when deciding what srcpad to use for proxying
7970 the buffer_alloc. Also handle pad added/removed when doing so.
7972 Keep track of what pads we already pushed on in case we have pads
7973 added/removed while pushing. Fixes #374639
7975 * tests/check/Makefile.am:
7976 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7978 Added unit test for pad resync.
7980 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7984 Updated translations.
7986 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7988 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7992 Added new Finnish translation.
7994 2007-06-28 Wim Taymans <wim@fluendo.com>
7996 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7997 (single_queue_overrun_cb):
7998 When figuring out when a queue is filled, use our internal time estimate
7999 based on segments, just like check_full does.
8001 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8003 * gst/gstminiobject.c: (gst_mini_object_get_type):
8004 Remove 3 do-nothing methods.
8006 2007-06-27 Wim Taymans <wim@fluendo.com>
8008 Patch by: Tim Angus <tim at ngus dot net>
8010 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8011 (gst_capsfilter_set_property):
8012 Take a reference instead of a copy when setting "caps".
8013 Fix documentation to clarify this behaviour. Fixes #449414.
8015 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8017 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8018 * gst/gstplugin.c: (gst_plugin_init):
8019 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8020 * gst/gstquery.c: (gst_query_get_type):
8021 * gst/gstregistry.c: (gst_registry_init):
8022 * gst/gsturi.c: (gst_uri_handler_base_init):
8023 Remove empty instance_init() functions to save relocs and lessen the
8024 noise. Remove some of the function prototypes that are doubled by
8027 2007-06-27 Wim Taymans <wim@fluendo.com>
8029 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8031 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8032 Add peer and direction in the XML serialisation of ghostpads.
8035 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8038 Preserve useful information, thanks Tim.
8040 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8042 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8043 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8044 (gst_single_queue_push_one), (gst_multi_queue_loop),
8045 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8046 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8047 (compute_high_id), (gst_single_queue_new):
8048 * plugins/elements/gstmultiqueue.h:
8049 Take the multiqueue lock when updating the fill level so we don't get
8052 After applying a buffer or event on the src pad segment, make sure to
8053 call gst_data_queue_limits_changed() to get the data queue to unblock
8054 and check the filled state again.
8056 Rework the not-linked pad handling so the logic is that not-linked
8057 pads can push as fast as they like, but only so they never get
8058 ahead of any linked pads.
8060 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8061 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8062 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8064 Add a test to check that not-linked pads always stay behind
8069 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8071 * docs/random/release:
8072 Some updates to the release procedure.
8074 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8076 * gst/gstelementfactory.c: (__gst_element_details_clear):
8077 Microoptimization that saves stunning 80 bytes.
8079 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8081 * docs/plugins/gstreamer-plugins.args:
8082 * docs/plugins/inspect/plugin-coreelements.xml:
8083 * docs/plugins/inspect/plugin-coreindexers.xml:
8084 Update docs with caps info.
8086 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8089 Updated Italian translation.
8091 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8095 Update Vietnamese translations.
8097 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8099 * libs/gst/base/gstbasesink.c:
8100 Remove unused signal enum.
8102 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8104 * docs/gst/gstreamer-sections.txt:
8106 * gst/gstutils.c: (gst_type_register_static_full):
8107 Beef up and include the docs for gst_type_register_static_full and
8108 gst_element_class_set_details_simple and add the API keyword
8111 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8113 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8114 (update_time_level), (gst_single_queue_push_one),
8115 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8116 (single_queue_overrun_cb), (single_queue_underrun_cb),
8117 (single_queue_check_full):
8118 Fix setting max-* properties after adding queues.
8119 Use IS_FILLED for checking visible items.
8120 Signal overrun if multiple queues overrun.
8121 Add extra debug output.
8122 Patch by: Wim Taymans <wim@fluendo.com>
8124 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8126 * gst/gstelement.c: (gst_element_class_set_details_simple):
8128 * gst/gstutils.c: (gst_type_register_static_full):
8130 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8131 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8132 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8133 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8134 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8135 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8136 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8137 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8138 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8139 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8140 (apply_buffer), (gst_queue_chain):
8141 * plugins/elements/gsttee.c: (gst_tee_base_init):
8142 * plugins/elements/gsttypefindelement.c:
8143 (gst_type_find_element_base_init),
8144 (gst_type_find_element_class_init):
8145 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8146 API: add gst_type_register_static_full
8147 API: add gst_element_class_set_details_simple
8149 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8151 * docs/pwg/advanced-types.xml:
8152 Fix typo in iana.org URI.
8154 2007-06-19 Andy Wingo <wingo@pobox.com>
8156 * tests/check/pipelines/simple-launch-lines.c
8157 (test_state_change_returns): Enable pull-mode tests now that
8158 basesink has been fixed.
8160 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8161 Changed from gst_base_sink_is_prerolled, reversing the sense of
8162 the return value. Returns FALSE also if the sink is in pull mode,
8163 in which case it needs no preroll.
8164 (gst_base_sink_query, gst_base_sink_change_state): Update for
8165 needs_preroll change.
8166 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8167 chaining up, in which we return SUCCESS directly if we activated
8168 in pull mode instead of ASYNC. Involves countering an async_start
8169 message sent before chaining up; not sure if this is correct, in
8170 an ideal world we only send async-start when activating in push
8173 * tests/check/pipelines/simple-launch-lines.c
8174 (test_state_change_returns): New test, partially disabled until
8177 2007-06-19 Wim Taymans <wim@fluendo.com>
8179 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8180 (gst_multi_queue_sink_event):
8183 2007-06-19 Wim Taymans <wim@fluendo.com>
8185 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8186 (gst_bin_change_state_func), (bin_push_state_continue),
8187 (bin_handle_async_start), (bin_handle_async_done),
8188 (gst_bin_handle_message_func):
8189 Move the common code for posting state-change messages into
8191 Broadcast the state signal after we posted the messages.
8192 Mark the bin as busy when it's doing a state-change.
8193 Make sure async-start/done messages don't interfere with the bin's
8194 state when it's busy.
8195 After the state change, let the bin check which elements completed the
8196 state change while it was busy so that it can update its state.
8198 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8200 * docs/random/release:
8201 Add a note about updating the doap file to the release checklist
8203 2007-06-18 Wim Taymans <wim@fluendo.com>
8205 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8206 (gst_single_queue_push_one), (gst_multi_queue_chain),
8207 (gst_multi_queue_sink_event):
8208 Make sure we don't reference the buffer/event after we have given away
8209 ownership in the queue.
8211 2007-06-18 Wim Taymans <wim@fluendo.com>
8213 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8214 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8215 Update queue state _after_ adding the item in the queue because else we
8216 could end up being full without the element added yet.
8218 2007-06-18 Wim Taymans <wim@fluendo.com>
8220 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8221 (gst_bin_remove_func), (gst_bin_get_state_func),
8222 (gst_bin_element_set_state), (gst_bin_continue_func),
8223 (bin_push_state_continue), (bin_handle_async_start),
8224 (bin_handle_async_done), (gst_bin_handle_message_func):
8226 Immediatly commit the toplevel bin state when receiving an async-done
8227 message. This enables us to avoid spawning a thread to commit the state
8228 in some common cases and it also avoids some races.
8229 Avoid spawning a state thread when adding/removing async elements to a
8230 toplevel bin. Instead we immediatly update the bin state.
8231 Get rid of iterating all the children when getting the state in the bin
8232 because it is now always up-to-date.
8233 Fix bug where locked elements would always return _SUCCESS even it they
8234 returned NO_PREROLL before being locked.
8235 Fix the order of the state_change, async-start/done messages that was
8236 sometimes incorrect.
8237 Mark the state_dirty field as deprecated, we don't need it anymore as we
8238 are always up-to-date.
8240 * gst/gstelement.c: (gst_element_get_state_func),
8241 (gst_element_continue_state):
8242 Small debug inprovements.
8243 Return the previous element state return when nothing is pending instead
8244 of blindly returning SUCCESS.
8246 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8248 Add a whole bunch of new testcases.
8250 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8254 Update translations.
8256 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8259 Fix typo in the docs.
8261 2007-06-15 Wim Taymans <wim@fluendo.com>
8263 * docs/libs/gstreamer-libs-sections.txt:
8264 Add docs for new methods.
8266 2007-06-15 Wim Taymans <wim@fluendo.com>
8268 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8269 (gst_multi_queue_item_new):
8270 Don't use GSlice because we don't depend on >= 2.10 yet.
8272 2007-06-15 Wim Taymans <wim@fluendo.com>
8274 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8275 (update_time_level), (apply_segment), (apply_buffer),
8276 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8277 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8278 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8279 (single_queue_underrun_cb), (single_queue_check_full):
8280 Remove debug printf.
8282 2007-06-15 Wim Taymans <wim@fluendo.com>
8284 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8285 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8286 (gst_data_queue_set_flushing), (gst_data_queue_push),
8287 (gst_data_queue_pop), (gst_data_queue_drop_head),
8288 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8289 * libs/gst/base/gstdataqueue.h:
8291 Added methods to get the current levels and to inform the queue that the
8292 'full' limits changed.
8294 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8295 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8296 (gst_single_queue_flush), (update_time_level), (apply_segment),
8297 (apply_buffer), (gst_single_queue_push_one),
8298 (gst_multi_queue_item_steal_object),
8299 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8300 (gst_multi_queue_loop), (gst_multi_queue_chain),
8301 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8302 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8303 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8304 (single_queue_underrun_cb), (single_queue_check_full),
8305 (gst_single_queue_new):
8306 Keep track of time in the queue by measuring the difference between
8307 running_time on input and output. This gives more accurate results and
8308 can compensate for segments correctly.
8309 Make a queue by default only 5 buffers deep. We will now increase the
8310 buffer size depending on the filledness of the other queues.
8311 Factor out commong flush code.
8312 Make sure we don't add additional refcounts to buffers when we can avoid
8314 Propagate GstFlowReturn differently.
8315 Use GSlice for intermediate GstMultiQueueItems.
8317 Resize queues on over and underruns based on filled level of other
8319 When checking if the queue is filled, prefer to measure in time if we
8320 can and fall back to bytes when no time is known.
8322 * plugins/elements/gstqueue.c:
8325 2007-06-15 Wim Taymans <wim@fluendo.com>
8327 * libs/gst/base/gstbasetransform.c:
8328 (gst_base_transform_sink_event):
8329 Work around the brokenness of the event vmethod in basetransform. Prefer
8330 to return TRUE when the subclass returned FALSE (meaning don't forward
8333 * libs/gst/base/gstbasetransform.h:
8336 2007-06-15 Wim Taymans <wim@fluendo.com>
8338 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8339 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8340 (gst_base_src_default_query), (gst_base_src_get_range),
8341 (gst_base_src_start):
8342 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8345 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8347 * docs/pwg/advanced-types.xml:
8348 Added more formats to caps table.
8350 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8352 * tools/gst-launch.c: (main):
8353 Remove crufy code. GOption does not need this workaround.
8355 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8357 * libs/gst/controller/gstcontroller.c:
8358 (gst_controlled_property_set_interpolation_mode):
8359 Fix wrong getter for enums in controller.
8361 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8363 * libs/gst/check/gstcheck.c: (gst_check_init):
8364 Intercept criticals and warnings in the Gst-Phonon log domain, so
8365 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8368 2007-06-14 Edward Hervey <edward@fluendo.com>
8370 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8371 Since this file doesn't include "gst.h" it will not go through the
8372 macros that disable GST_LOG if debugging was disabled.
8374 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8376 * libs/gst/check/Makefile.am:
8377 * libs/gst/check/gstcheck.h:
8378 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8379 * pkgconfig/gstreamer-check.pc.in:
8380 Ugly 'fix' for the controller unit test on the p5 bot: in
8381 fail_unless_equals_float() check whether the values are 'almost
8382 equal' by allowing a small absolute error, which should be good
8383 enough for our use cases (normal numbers and values close to 0).
8384 Proper fixage left to floating point arithmetic aficionados.
8386 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8388 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8389 (gst_base_sink_render_object), (gst_base_sink_get_position):
8390 Add two breaks thats where missing.
8392 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8394 * docs/libs/gstreamer-libs-sections.txt:
8395 * libs/gst/check/gstcheck.h:
8396 API: add fail_unless_equals_float() and assert_equals_float().
8397 Add documentation for some of the macros.
8399 * tests/check/libs/controller.c: (GST_START_TEST):
8400 Use newly-added asserts.
8402 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8404 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8405 Show the caps change in the log to help spotting the case of not
8406 exactly matching caps.
8408 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8410 * docs/pwg/building-boiler.xml:
8411 Fix typos, spotted by Thijs Vermeir (#447190).
8413 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8415 * docs/plugins/tmpl/.cvsignore:
8416 Ignore file to keep the buildbots happy
8418 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8420 * docs/plugins/Makefile.am:
8421 * docs/plugins/gstreamer-plugins-docs.sgml:
8422 * docs/plugins/gstreamer-plugins-sections.txt:
8423 Pull fdsink into the docs too.
8425 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8427 * libs/gst/controller/gstinterpolation.c:
8428 Actually use the new functions with min/max checks for the trigger and
8429 none interpolation modes for get() and get_value_array() instead of
8432 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8434 * libs/gst/controller/gstcontroller.c:
8435 (gst_controlled_property_free):
8436 Unset the minimum and maximum GValues when freeing the corresponding
8437 GstControllerProperty struct.
8439 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8441 * libs/gst/controller/gstcontroller.c:
8442 (gst_controlled_property_new):
8443 * libs/gst/controller/gstcontrollerprivate.h:
8444 * libs/gst/controller/gstinterpolation.c:
8445 (gst_controlled_property_find_control_point_node),
8446 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8447 (interpolate_none_get_string_value_array),
8448 (interpolate_trigger_get),
8449 (interpolate_trigger_get_enum_value_array),
8450 (interpolate_trigger_get_string_value_array):
8451 Protect against values larger or smaller than the minimum or maximum
8452 allowed value for the property when using values that can be compared.
8454 Optimize trigger interpolator a bit by taking the last requested value
8455 into account instead of always looping through the complete list.
8457 Fix coding style a bit, everywhere else we use "return foo" instead
8460 * tests/check/libs/controller.c: (GST_START_TEST),
8461 (gst_controller_suite):
8462 Add unit test for the protection against too large or too small
8465 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8467 * docs/random/slomo/controller.txt:
8468 Add some thoughts about the future of the controller.
8470 2007-06-08 Wim Taymans <wim@fluendo.com>
8472 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8473 Don't overflow in retimestamping code.
8475 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8477 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8478 Use gst_util_guint64_to_gdouble for conversions.
8479 * win32/common/libgstreamer.def:
8480 Add new exported functions.
8482 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8485 Small docs addition.
8487 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8490 Remove that test line again.
8492 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8495 Test commit mail sending.
8497 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8500 Fix typo and test commit mail sending.
8502 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8504 * tests/examples/controller/audio-example.c:
8505 Improve comment and test commit mail sending.
8507 2007-06-07 Wim Taymans <wim@fluendo.com>
8509 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8510 (gst_bin_remove_func), (gst_bin_element_set_state),
8511 (bin_handle_async_start), (bin_handle_async_done),
8512 (gst_bin_handle_message_func):
8513 Add helper function to find messages.
8514 Generate the async-done messages together with the state change
8516 Small cleanups in handling toplevel bins.
8518 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8520 * libs/gst/base/gstdataqueue.c:
8521 * libs/gst/base/gstdataqueue.h:
8522 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8523 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8524 (gst_multi_queue_sink_event):
8525 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8526 Fix multiqueue leaking buffers and events when downstream or the
8527 queue are flushing. Make refcounting assumptions explicit and
8528 document them (shouldn't break existing code that uses it other than
8529 maybe leak miniobjects, but that already happens anyway). Add unit
8530 test for the most common flushing case. Fixes #423700.
8532 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8534 * libs/gst/controller/gstcontroller.c:
8535 Clarify docs: The get_all, get_value_array(s) functions
8536 don't modify the GObject properties.
8538 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8540 * libs/gst/controller/gstcontroller.c:
8541 (gst_controlled_property_set_interpolation_mode),
8542 (gst_controlled_property_prepend_default),
8543 (gst_controlled_property_new), (gst_controller_set_unlocked),
8544 (gst_controller_set), (gst_controller_set_from_list),
8545 (gst_controller_unset), (gst_controller_unset_all):
8546 * libs/gst/controller/gstcontrollerprivate.h:
8547 * libs/gst/controller/gstinterpolation.c:
8548 Factor out the 'set' logic into gst_controller_set_unlocked for the
8549 gst_controller_set and gst_controller_set_from_list functions.
8551 To make life of the interpolators easier always add a control point
8552 at timestamp zero with the default value.
8554 In the linear interpolator make things more obvious by better variable
8557 Implement cubic interpolation mode (by using a natural cubic spline)
8558 and map the quadratic interpolation mode to this too (as quadratic
8559 doesn't make much sense, see discussion on the list).
8561 * tests/check/libs/controller.c: (GST_START_TEST),
8562 (gst_controller_suite):
8563 Add unit test for the cubic interpolation mode and check everywhere
8564 if the interpolation mode could be set as expected.
8566 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8568 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8569 Don't use GLib-2.10 functions, we still depend on
8570 GLib-how-old-is-it-again-2.8.
8572 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8574 * docs/gst/gstreamer-sections.txt:
8578 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8579 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8580 (_gst_param_fraction_values_cmp),
8581 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8582 * gst/gstparamspecs.h:
8584 * tests/check/Makefile.am:
8585 * tests/check/gst/.cvsignore:
8586 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8587 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8588 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8589 (GST_START_TEST), (gst_param_spec_suite):
8590 API: add GstParamSpecFraction, so elements can have fraction
8591 properties without lots of painful string parsing (#444648).
8593 2007-06-05 Wim Taymans <wim@fluendo.com>
8595 * gst/gstobject.c: (gst_object_class_init):
8596 Fix signal signature.
8599 Add small clarification in the api docs.
8601 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8602 States are protected with object lock.
8604 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8607 I should probably be listed as an author by now.
8609 * docs/random/release:
8610 Update the release doc
8612 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8615 Make docs for gst_value_compare() mention return enums that
8618 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8623 === release 0.10.13 ===
8625 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8628 releasing 0.10.13, "With or without you"
8630 2007-05-25 Wim Taymans <wim@fluendo.com>
8632 * gst/gstbin.c: (bin_handle_async_done):
8633 Make sure that the child bin stops after completing the async state
8634 change so that the parent can continue the state change to PLAYING.
8637 2007-05-25 Wim Taymans <wim@fluendo.com>
8639 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8640 (unref_data), (gst_collect_pads_remove_pad),
8641 (gst_collect_pads_check_pads):
8642 Use additional refcounting to avoid crashes when dynamically adding and
8643 removing pads. Fixes #420206.
8645 2007-05-24 Wim Taymans <wim@fluendo.com>
8647 * tools/gst-launch.c: (event_loop):
8648 When buffering goes from a two digit to a single digit number, make sure
8649 to remove the old second digit by writing a blank over it.
8651 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8653 * libs/gst/base/gstdataqueue.c:
8654 Eliminate tabs and trailing comma in enum list; fix some typos.
8656 2007-05-24 Wim Taymans <wim@fluendo.com>
8658 * tests/check/gst/gstbin.c: (GST_START_TEST):
8659 Allow refcount of 3 and 4 because some state thread might still be busy
8662 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8664 * plugins/elements/Makefile.am:
8665 * plugins/elements/gstmultiqueue.h:
8666 * plugins/elements/gstqueue.h:
8667 These are not installed headers, no need for padding.
8669 2007-05-24 Wim Taymans <wim@fluendo.com>
8671 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8672 (gst_bin_continue_func):
8673 Enable latency for next release.
8674 Restore STATE_LOCK around recalc_state that was left out during the
8675 rewrite and could result in racy behaviour when _get_state and
8676 recalc_state are run concurrently. See #440463.
8678 2007-05-23 Wim Taymans <wim@fluendo.com>
8680 * tests/check/gst/gstsystemclock.c: (store_callback),
8682 Improve test_async_order to also work when both timers are already
8683 expired when we get scheduled to check it.
8685 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8687 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8688 (gst_bin_set_property), (gst_bin_get_property),
8689 (gst_bin_remove_func), (gst_bin_handle_message_func):
8691 'private' is a c++ keyword, let's not use that in header files,
8692 otherwise c++ compilers will throw a tantrum.
8694 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8696 * plugins/elements/gstelements.c:
8697 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8698 (gst_file_sink_get_current_offset):
8699 * plugins/indexers/gstindexers.c: (plugin_init):
8700 Use #ifdef for HAVE_XYZ for consistency.
8702 * tests/check/Makefile.am:
8703 * tests/check/elements/.cvsignore:
8704 * tests/check/elements/filesink.c: (setup_filesink),
8705 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8706 Add some unit tests for filesink.
8708 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8710 Patch by: Mark Nauwelaerts <manauw at skynet be>
8712 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8713 (gst_file_sink_query), (gst_file_sink_do_seek),
8714 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8715 * plugins/elements/gstfilesink.h:
8716 Fix position reporting; rename data_written member to current_pos to
8717 reflect its real meaning (fixes #412648).
8719 2007-05-22 Edward Hervey <edward@fluendo.com>
8721 * docs/gst/gstreamer-sections.txt:
8722 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8723 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8724 (gst_bin_remove_func), (gst_bin_handle_message_func):
8726 Add a property for bins that handle the state change of their childs.
8729 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8731 * libs/gst/controller/gstinterpolation.c:
8732 Use an array of the correct type when using _get_value_array with
8733 linear interpolation.
8735 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8737 * gst/gstelement.c (gst_element_requires_clock,
8738 gst_element_provides_clock, gst_element_request_pad,
8739 gst_element_class_set_details, gst_element_class_set_details_simple,
8740 gst_element_default_send_event, gst_element_abort_state,
8741 gst_element_continue_state, gst_element_set_state,
8742 gst_element_set_state_func, iterator_activate_fold_with_resync):
8743 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8744 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8745 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8746 gst_pad_get_range, gst_pad_pull_range):
8747 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8748 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8749 GstPadActivateModeFunction, GstPadChainFunction,
8750 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8751 GstPadFixateCapsFunction, GstPadTemplate):
8752 * gst/gstpipeline.c (gst_pipeline_change_state,
8753 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8754 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8755 gst_pipeline_get_delay):
8756 Whitespace and docs fixes.
8758 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8760 * libs/gst/controller/gstinterpolation.c:
8761 (interpolate_trigger_get_enum_value_array),
8762 (interpolate_trigger_get_string_value_array):
8763 Add support for retrieving value arrays when using the trigger
8766 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8768 * libs/gst/controller/gstcontroller.c:
8769 (gst_controller_get_value_array):
8770 * libs/gst/controller/gstcontroller.h:
8771 Clarify the docs of gst_controller_get_value_array(): The array where
8772 the values should be written to must be allocated as there seems to be
8773 no way to get the size of a random GType. This doesn't change any
8774 behaviour. Also fix some typos all over the place and remove an unused,
8775 commented function that is not necessary as g_object_set() could be
8777 * tests/check/libs/controller.c: (GST_START_TEST),
8778 (gst_controller_suite):
8779 Add unit test for gst_controller_get_value_array().
8781 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8783 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8785 Disable part of the gst_buffer_try_new_and_alloc test, because
8786 it can happily succeed on 64-bit systems where there's more address
8789 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8791 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8792 Add unit test for the improved caps checking from bug #421543.
8794 2007-05-21 Wim Taymans <wim@fluendo.com>
8796 * docs/design/part-synchronisation.txt:
8799 * gst/gstbin.c: (gst_bin_query):
8800 * plugins/elements/gstqueue.c: (apply_segment):
8806 2007-05-21 Wim Taymans <wim@fluendo.com>
8808 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8809 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8810 (gst_pad_configure_src):
8811 Added simple version of improved caps checking. It was previously
8812 assumed that a setcaps function would check the validity of the caps but
8813 people prefer us to check caps against the template automatically.
8816 2007-05-21 Wim Taymans <wim@fluendo.com>
8818 * libs/gst/base/gstbasetransform.h:
8819 Fix macro for locking/unlocking the transform lock.
8821 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8823 * docs/plugins/tmpl/.cvsignore:
8826 2007-05-18 Edward Hervey <edward@fluendo.com>
8828 * plugins/elements/gstqueue.c: (gst_queue_loop):
8829 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8830 for the subtle art of warning a potentially blocking thread that it
8831 should check the source pad return value, and relay the information
8834 2007-05-18 Edward Hervey <edward@fluendo.com>
8836 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8837 Release the queue lock !
8839 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8841 * docs/libs/gstreamer-libs-sections.txt:
8842 Add the two new controller functions to the appropiate places.
8844 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8846 reviewed by: Stefan Kost <ensonic@users.sf.net>
8848 * libs/gst/controller/gstcontroller.c:
8849 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8850 (_gst_controller_get_property), (_gst_controller_set_property),
8851 (_gst_controller_init), (_gst_controller_class_init):
8852 * libs/gst/controller/gstcontroller.h:
8853 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8854 (gst_object_get_control_rate), (gst_object_set_control_rate):
8855 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8856 Add API that provides sync suggestion timestamps for elements that
8857 call gst_object_sync_values() from which those elements can subdivide
8858 their processing loop to get the best results for the controlled
8859 properties. For now it just suggests last_sync + control_rate as
8860 new timestamp but this will be improved in the future.
8862 While doing that change the control-rate property to a GstClockTime
8863 from guint and change it's meaning from samples to nanoseconds as
8864 the GstController doesn't know anything about sampling rate. Strictly
8865 speaking this breaks ABI but as the control-rate property didn't do
8866 anything in the past and as such couldn't be used this should be no
8869 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8871 reviewed by: Stefan Kost <ensonic@users.sf.net>
8873 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8874 (gst_controller_unset_all):
8875 * libs/gst/controller/gstcontrollerprivate.h:
8876 * libs/gst/controller/gstinterpolation.c:
8877 (gst_controlled_property_find_control_point_node):
8878 Save last synced value from the list to continue searching from there
8879 in future syncs. This speeds everything up a bit.
8881 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8883 reviewed by: Stefan Kost <ensonic@users.sf.net>
8885 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8886 (gst_control_point_find), (gst_controlled_property_new),
8887 (gst_control_point_free), (gst_controlled_property_free),
8888 (gst_controller_set), (gst_controller_set_from_list),
8889 (gst_controller_unset), (gst_controller_unset_all),
8890 (gst_controller_sync_values):
8891 * libs/gst/controller/gstcontroller.h:
8892 * libs/gst/controller/gstcontrollerprivate.h:
8893 * libs/gst/controller/gstinterpolation.c:
8894 (gst_controlled_property_find_control_point_node),
8895 (interpolate_none_get), (interpolate_trigger_get):
8896 Add a new private GstControlPoint struct which "inherits" from
8897 GstTimedValue to allow different interpolators to store internal
8898 values next to each control point. From the outside everything is
8899 still a GstControlPoint so we don't loose binary compatibility.
8900 Also fixup all the GValue handling to not leak GValues or list nodes.
8901 * tests/check/libs/controller.c: (GST_START_TEST):
8902 Free the list nodes and GValues in the controller_misc test.
8904 2007-05-17 Edward Hervey <edward@fluendo.com>
8909 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8911 * gst/gstplugin.c: (gst_plugin_load_file):
8912 If we fail to load a plugin because of unresolved symbols or missing
8913 libraries and spew a warning to stderr, we may just as well mention
8914 which plugin it was that failed to load.
8916 2007-05-13 David Schleef <ds@schleef.org>
8918 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8919 handles the case when ENABLE_GTK_DOC is false, and installs
8920 the prebuilt documentation. So gtk-doc subdirs are
8921 unconditionally enabled. Fixes: #349099.
8923 2007-05-13 David Schleef <ds@schleef.org>
8925 * gst/gstutils.h: Reword some documentation.
8927 2007-05-12 David Schleef <ds@schleef.org>
8929 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8930 do anything with the passed "module" parameter, so remove it.
8931 Allows removal of additional vestigal code.
8933 2007-05-12 David Schleef <ds@schleef.org>
8936 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8937 Switch to using g_stat() because it's more portable.
8939 2007-05-12 David Schleef <ds@schleef.org>
8942 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8943 parsing for embedded systems.
8944 * gst/gstelementfactory.c:
8945 Allow gst_element_register() to be called with plugin==NULL.
8946 Did nobody notice that static elements were broken?
8948 2007-05-12 Wim Taymans <wim@fluendo.com>
8950 * tools/gst-launch.c: (event_loop):
8951 Give more interesting info when buffering starts and stops.
8952 Fix case where buffering starts but we fail to update the buffering flag
8953 because the target state is not PLAYING.
8955 2007-05-12 Wim Taymans <wim@fluendo.com>
8957 * plugins/elements/gstqueue.c: (gst_queue_init),
8958 (gst_queue_finalize), (update_time_level), (apply_segment),
8959 (apply_buffer), (gst_queue_locked_flush),
8960 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8961 (gst_queue_handle_sink_event), (gst_queue_chain),
8962 (gst_queue_push_one), (gst_queue_loop):
8963 * plugins/elements/gstqueue.h:
8964 Refactor an cleanup queue a bit.
8965 Do better time level calculations that also work when the srcpad is not
8967 Remove some unneeded debug lines.
8969 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8970 Added testcase for time level measurement.
8971 Try to make some stuff more racefree.
8973 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8975 * gst/gsturi.c: (gst_element_make_from_uri):
8976 Don't leak plugin feature.
8978 * tests/check/Makefile.am:
8979 * tests/check/gst/.cvsignore:
8980 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8981 Add brain-dead unit test.
8983 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8985 Patch by: Jeroen Wouters <woutersj at gmail com>
8987 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8988 Treat protocol strings in a case-insensitive way (#437563).
8990 2007-05-11 Michael Smith <msmith@fluendo.com>
8992 * gst/gstplugin.c: (gst_plugin_load_file):
8993 * gst/gstregistry.c: (gst_registry_scan_path_level):
8994 Don't print a g_warning for any failure to load a shared object.
8995 Instead, push this down into gstplugin.c, and warn _only_ if we
8996 failed to open the module (i.e. failure to link).
8997 Avoids warnings on normal, working, non-plugin .so files.
8999 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9001 * gst/gstplugin.c (gst_plugin_load_file):
9002 * gst/gstregistry.c (GST_CAT_DEFAULT,
9003 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9004 Print a g_warning if there was an error when loading a plugins during
9005 registry scan. The shuld help beginners starting with gst-plugin
9008 2007-05-10 Wim Taymans <wim@fluendo.com>
9010 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9011 (update_time_level), (gst_queue_locked_flush),
9012 (gst_queue_handle_sink_event), (gst_queue_chain),
9013 (gst_queue_push_one), (gst_queue_loop):
9014 * plugins/elements/gstqueue.h:
9015 Be smarter when calculating the current amount of data in the queue by
9016 measuring the difference between start and end timestamps (in running
9017 time) inside the queue. Fixes #432876.
9018 API: GstQueue::pushing to notify elements that we are pushing data again
9019 since the running signal is rather broken for this purpose.
9021 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9023 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9024 gst_queue_base_init, gst_queue_init):
9027 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9029 * win32/common/libgstreamer.def:
9030 Add new exported functions.
9031 * win32/vs6/grammar.dsp:
9032 Use grammar pre-generated files.
9034 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9036 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9039 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9041 * gst/gstutils.c: (gst_parse_bin_from_description):
9043 Maintain API and ABI when --disable-parse is used. Now that
9044 we have an appropriate error code, we can just return NULL and the
9045 appropriate error when gst_parse_launch() is used despite it having
9046 been disabled (#342564).
9048 * tests/check/Makefile.am:
9049 * tests/check/pipelines/.cvsignore:
9050 * tests/check/pipelines/parse-disabled.c:
9051 Make sure these functions exist and return NULL plus a GError when
9052 --disable-parse is used.
9054 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9056 * tests/benchmarks/complexity.c: (main):
9057 * tests/benchmarks/mass-elements.c: (main):
9058 Set a good example and don't leak messages.
9060 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9062 * docs/gst/Makefile.am:
9063 * docs/libs/Makefile.am:
9064 Correct fixxrefs options.
9066 * docs/plugins/Makefile.am:
9067 * docs/plugins/gstreamer-plugins-docs.sgml:
9068 * docs/plugins/gstreamer-plugins-sections.txt:
9069 * plugins/elements/Makefile.am:
9070 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9071 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9072 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9073 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9074 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9075 _GstCapsFilterClass, trans_class):
9076 * plugins/elements/gstelements.c (name, rank, type, _elements):
9077 * plugins/elements/gstidentity.c
9078 (gst_identity_check_imperfect_timestamp,
9079 gst_identity_check_imperfect_offset):
9080 Document capsfilter and add doc-blurb to identity.
9082 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9084 * libs/gst/controller/gstcontroller.c:
9085 (gst_controlled_property_set_interpolation_mode):
9086 * libs/gst/controller/gstinterpolation.c:
9087 Don't crash if someone tries to set an interpolation mode that
9088 is invalid or that isn't supported yet. Fixes #422295.
9090 * tests/check/libs/controller.c: (GST_START_TEST),
9091 (gst_controller_suite):
9092 Add a test case for the above.
9094 2007-05-03 Edward Hervey <edward@fluendo.com>
9096 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9097 Properly set the last_stop position on GstSegment. This will only happen
9098 if there is a buffer to push out.
9100 2007-05-03 Wim Taymans <wim@fluendo.com>
9102 * libs/gst/base/gstbasetransform.c:
9103 (gst_base_transform_buffer_alloc):
9104 always_in_place does not mean that the sink and source caps are the
9105 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9107 2007-05-03 Wim Taymans <wim@fluendo.com>
9109 * docs/libs/gstreamer-libs-sections.txt:
9110 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9111 (gst_base_src_default_query), (gst_base_src_get_range):
9112 * libs/gst/base/gstbasesrc.h:
9113 API: gst_base_src_query_latency(). Added method so that subclasses can
9114 easily get the latency values of the base source class.
9116 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9118 * tools/gst-inspect.c (print_implementation_info):
9121 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9123 * tools/Makefile.am:
9124 * tools/gst-launch.1.in:
9125 Don't create a customised man page based on the host architecture,
9126 describe the default registry path generically. That way the man
9127 page is the same for all architectures and packagers have one
9128 multilib issue less to deal with. Fixes #434926.
9130 2007-05-02 Wim Taymans <wim@fluendo.com>
9133 Fix documentation as spotted by rg on IRC.
9135 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9138 Improve docs for gst_element_{link,unlink}.
9140 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9142 * docs/design/part-events.txt:
9143 * docs/design/part-overview.txt:
9147 * libs/gst/base/gstbasesink.c:
9148 Typo fixes; minor docs addition.
9150 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9152 * docs/gst/gstreamer-sections.txt:
9153 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9154 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9156 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9157 or src that supports a given URI protocol exists.
9159 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9161 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9162 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9163 Set the location to NULL if "file://" is set as URI. Otherwise
9164 some random previous URI would still be set if "file://" is
9165 set on an already used filesink/filesrc.
9167 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9169 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9170 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9171 Special case the "file://" URI as as this is used by some
9172 applications to test with gst_element_make_from_uri if there's
9173 an element that supports the URI protocol.
9174 Also move the g_path_is_absolute() check for the location part
9175 of the URI to also check this for "file://localhost/bla" URIs.
9177 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9179 * docs/gst/gstreamer-sections.txt:
9180 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9182 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9184 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9186 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9188 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9189 (gst_registry_binary_load_pad_template),
9190 (gst_registry_binary_load_plugin),
9191 (gst_registry_binary_read_cache):
9192 * gst/gstregistrybinary.h:
9193 Implement no-mmap alternative for registry reading. Do code cleanups.
9194 Add more comments about avoiding strdups for all text data. Comments
9197 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9199 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9200 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9201 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9202 Comment structs and reformat to fix the build (that stuff should go
9203 into a priv. header).
9205 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9207 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9208 (gst_registry_binary_load_feature):
9209 * gst/gstregistrybinary.h:
9210 Refactor so that we can implement multiple features. Add support for
9211 TypeFindFactory features.
9213 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9215 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9218 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9220 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9222 * gst/gstbin.c: (gst_bin_element_set_state),
9223 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9224 (bin_handle_async_done), (gst_bin_handle_message_func):
9225 Fix build with --gst-disable-gst-debug
9227 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9229 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9230 Make sure streaming has finished before calling the ::stop() vfunc,
9231 since that vfunc might clear state which is being used in the
9232 streaming thread. This fixes a race that caused crashes in
9233 audioresample when shutting down a pipeline (#420106).
9235 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9237 * docs/gst/gstreamer-sections.txt:
9238 That was one byte missing.
9240 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9243 * docs/gst/gstreamer-sections.txt:
9245 * gst/gstconfig.h.in:
9246 * gst/gstobject.c: (gst_object_class_init),
9247 (gst_signal_object_class_init):
9249 2nd attempt to have a xml-less build as a joined effort of #413123
9252 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9254 * docs/design/draft-tagreading.txt:
9255 Added open issues/thoughts to draft.
9257 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9259 * gst/parse/grammar.tab.pre.c:
9260 * gst/parse/grammar.tab.pre.h:
9261 * gst/parse/lex._gst_parse_yy.pre.c:
9262 Update the prebuild parser sources.
9264 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9266 * gst/parse/Makefile.am:
9267 And now fix the building of the flex sources. Now everything should
9270 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9272 * gst/parse/Makefile.am:
9273 Now hopefully fix the build failures by setting proper rule
9274 dependencies and moving instead of copying.
9276 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9278 * tests/benchmarks/complexity.gnuplot:
9279 * tests/benchmarks/complexity.scm:
9280 * tests/benchmarks/mass-elements.gnuplot:
9281 * tests/benchmarks/mass-elements.scm:
9282 Total licensification.
9284 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9286 * gst/parse/Makefile.am:
9287 Fix the build by correcting the rule that gave wrong files to flex.
9289 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9291 * tests/benchmarks/complexity.c:
9292 * tests/benchmarks/mass-elements.c:
9293 Change licence to LGPL as granted by Benjamin and Andy.
9295 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9297 * gst/parse/Makefile.am:
9298 Add correct grammar.tab.h dependency if compiling without new enough
9299 flex. Fixes #431150.
9301 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9303 * gst/parse/Makefile.am:
9304 Fix typo and use outdated sources if the flex/bison sources are newer
9305 than the pregenerated ones but flex is too old. Print a warning in
9306 that case. This should fix the build on the build bot.
9308 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9310 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9311 * gst/parse/Makefile.am:
9312 * gst/parse/grammar.y:
9313 * gst/parse/parse.l:
9314 Make the parser reentrant and recursively callable. This requires flex
9315 >= 2.5.31, for older versions pregenerated sources are used as we
9316 can't bump the build dependency. Finally fixes #349180.
9318 * gst/gstparse.c: (gst_parse_launch):
9319 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9322 * docs/gst/Makefile.am:
9323 * docs/gst/Makefile.am:
9324 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9325 (__gst_parse_strfree), (__gst_parse_link_new),
9326 (__gst_parse_link_free), (__gst_parse_chain_new),
9327 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9328 (gst_parse_element_set), (gst_parse_free_link),
9329 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9330 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9331 (_gst_parse_launch):
9332 * gst/parse/grammar.tab.pre.h:
9333 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9334 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9335 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9336 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9337 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9338 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9339 (_gst_parse_yypop_buffer_state),
9340 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9341 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9342 (yy_fatal_error), (_gst_parse_yyget_extra),
9343 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9344 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9345 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9346 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9347 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9348 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9349 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9350 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9351 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9352 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9353 (_gst_parse_yyfree):
9354 If the installed flex version is too old use pre-generated parser
9355 sources. These pre-generated parser sources are always updated when
9356 the actual flex/bison sources change but require everybody who wants
9357 to change something in the parser to have flex >= 2.5.31 installed.
9359 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9361 * common/m4/gst-gettext.m4:
9362 * gst/gst-i18n-lib.h:
9363 Make --disable-nls to work
9365 2007-04-17 Wim Taymans <wim@fluendo.com>
9367 * gst/gstconfig.h.in:
9368 Revert previous change that broke the build.
9370 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9374 * gst/gstconfig.h.in:
9375 Drop libxml2 dependency when building with
9376 --enable-binary-registry --disable-loadsave
9378 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9380 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9381 (gst_registry_binary_read_cache):
9382 * gst/gstregistrybinary.h:
9383 Remove unnecessary <sys/mman.h> include which broke the win32 build
9384 with MingW; move includes from header file to .c file, even if the
9385 header file isn't installed; use g_strerror() where UTF-8 strings
9386 are expected, such as in GST_DEBUG messages.
9388 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9390 * docs/libs/gstreamer-libs-sections.txt:
9391 Remove bogus addition for API I didn't end up keeping.
9393 * libs/gst/base/gstbasesrc.h:
9394 Mention Since: 0.10.13 in the documentation.
9396 Add the API keyword to the previous ChangeLog entry.
9398 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9400 * docs/libs/gstreamer-libs-sections.txt:
9401 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9402 (gst_base_src_default_prepare_seek_segment),
9403 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9404 * libs/gst/base/gstbasesrc.h:
9405 Allow basesrc derived classes to execute seeks in other formats
9406 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9407 to prepare the GstSegment in any format that their perform_seek method
9408 will be able to understand. The default implementation provides the
9409 old behaviour of attempting to convert the seek offsets to the
9410 configured native format.
9412 API: basesrc::prepare_seek_segment vmethod.
9414 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9416 * gst/gstelement.c: (gst_element_get_state_func):
9417 Don't output the same debug statement twice.
9419 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9420 (gst_adapter_peek), (gst_adapter_take_buffer):
9421 Optimise the case where we have buffers at the head of the queue that
9422 can be joined quickly (because they're contiguous sub-buffers) by
9423 merging them together rather than copying data out into new memory.
9425 * gst/parse/grammar.y:
9426 * tests/check/pipelines/parse-launch.c:
9427 Fix a leak in an error path for parse_launch, and add a check
9428 for it to the testsuite.
9430 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9432 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9433 Don't deadlock when releasing a pad - gst_pad_set_active may try
9434 and take the multiqueue lock too.
9436 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9438 * gst/gsterror.c: (_gst_core_errors_init):
9440 API: add GST_CORE_ERROR_DISABLED (#392804).
9442 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9444 * docs/faq/gst-uninstalled:
9445 don't get empty paths on the PATH variables
9446 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9447 Don't format for the uncommon terminal width of 84 characters.
9449 2007-04-06 Wim Taymans <wim@fluendo.com>
9451 * gst/gstpipeline.c: (reset_stream_time),
9452 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9453 Only try to select a different pipeline clock when we went back to
9454 PAUSED and not when we merely got flushed.
9456 2007-04-05 Michael Smith <msmith@fluendo.com>
9458 * tools/gst-launch.1.in:
9459 fractions are better supported in gstreamer than ractions, so
9460 suggest using those.
9462 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9464 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9468 Added Danish translation.
9470 2007-04-05 Wim Taymans <wim@fluendo.com>
9472 * libs/gst/base/gstbasesink.c:
9473 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9474 Fix leak caused when refusing newsegment after EOS.
9476 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9477 (gst_fake_sink_init), (gst_fake_sink_set_property),
9478 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9479 (gst_fake_sink_render), (gst_fake_sink_change_state):
9480 * plugins/elements/gstfakesink.h:
9481 Add num-buffers property to make the element generate EOS after a
9482 configurable amount of buffers.
9483 API: fakesink::num-buffers property.
9485 * tests/check/elements/fakesink.c: (GST_START_TEST),
9487 Fix GstBus leak in test.
9488 Test for fakesink num-buffers.
9490 2007-04-05 Wim Taymans <wim@fluendo.com>
9492 * libs/gst/base/gstbasesink.c:
9493 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9494 (gst_base_sink_change_state):
9495 Don't accept anything after an EOS, return UNEXPECTED instead.
9497 * tests/check/elements/fakesink.c: (GST_START_TEST),
9499 Unit test for new EOS behaviour.
9501 2007-04-05 Wim Taymans <wim@fluendo.com>
9503 * gst/gstelement.c: (gst_element_get_request_pad):
9504 Make padtemplates also work when they don't contain %s or %d.
9506 2007-04-05 Wim Taymans <wim@fluendo.com>
9508 * docs/gst/gstreamer-sections.txt:
9509 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9510 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9512 Improve _adjust_unlocked() so that it overflows less.
9513 Add gst_clock_unadjust_unlocked to convert from external time to
9514 internal time based on calibration.
9515 Add some more debug.
9516 API: GstClock::gst_clock_unadjust_unlocked()
9518 2007-04-03 Wim Taymans <wim@fluendo.com>
9520 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9522 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9523 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9524 when releasing sink pad. Fixes #425400.
9526 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9528 * docs/random/ensonic/dynlink.txt:
9529 More work on proposal for new core api.
9531 * docs/libs/gstreamer-libs-sections.txt:
9532 * libs/gst/base/gstbasetransform.h:
9533 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9535 * libs/gst/controller/gstcontroller.c:
9536 (on_object_controlled_property_changed),
9537 (gst_controller_sync_values),
9538 (gst_controller_set_interpolation_mode):
9539 * libs/gst/controller/gstcontroller.h:
9540 Less verbose logging add docs for unimplemented parts and correctly
9541 return when using unavailable parts.
9543 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9545 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9546 Move all the debug to the CLOCK category, and associate it with
9549 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9551 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9552 Make take_buffer a bit quicker by removing redundant checks
9553 caused by calling gst_adapter_take.
9555 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9557 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9560 * tests/check/Makefile.am:
9561 * tests/check/elements/.cvsignore:
9562 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9563 (GST_START_TEST), (multiqueue_suite):
9564 Add some dead simple unit tests for the 'multiqueue' element
9565 (some bits don't work yet and are disabled for now).
9567 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9569 * gst/gstelement.c: (gst_element_get_request_pad),
9570 (gst_element_class_get_request_pad_template):
9571 Make gst_element_get_request_pad() create request pads only for
9572 request pad templates and not for, say, sometimes pad templates.
9574 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9576 * docs/design/draft-klass.txt:
9577 Add example that needs more thinking.
9579 * docs/design/draft-missing-plugins.txt:
9580 More thoughts about wrapper plugins.
9582 * docs/random/ensonic/embedded.txt:
9583 * docs/random/ensonic/profiling.txt:
9586 2007-03-25 Wim Taymans <wim@fluendo.com>
9588 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9589 (gst_base_src_loop):
9590 Only push the segment events in the PLAYING state for live sources.
9592 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9594 * gst/gstpipeline.c: (gst_pipeline_change_state):
9595 Modify the clock distribution path in PAUSED->PLAYING so that we
9596 never attempt to choose a new clock unless we're actually leaving
9597 the PAUSED state for the first time. This prevents choosing a
9598 different clock when the state_change gets called for a 2nd time due
9599 to some element doing an async state change.
9601 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9603 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9604 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9605 (gst_pad_chain_unchecked), (gst_pad_push):
9606 Revert last commit. This needs some more thoughts.
9608 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9610 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9611 (gst_pad_chain_unchecked), (gst_pad_push):
9612 Check in set_caps if the caps are compatible with the pad and remove
9613 two functions that are redundant now. Fixes #421543.
9615 2007-03-22 Wim Taymans <wim@fluendo.com>
9617 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9618 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9619 Unref some more to make valgrind happy.
9621 2007-03-22 Wim Taymans <wim@fluendo.com>
9623 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9624 (gst_system_clock_id_wait_jitter),
9625 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9626 Fix anoying regression that survived a few releases. When adding an
9627 async entry while blocking on a sync entry, the sync entry will unblock
9628 but still be busy, so it should continue to wait instead of returning
9630 Add some comments here and there.
9632 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9633 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9634 Add testcase for this.
9636 2007-03-22 Wim Taymans <wim@fluendo.com>
9638 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9639 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9640 WRONG_STATE and can silently pause the task. All other cases should
9643 2007-03-22 Wim Taymans <wim@fluendo.com>
9645 Patch by: Ville Syrjala <syrjala at sci dot fi>
9647 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9648 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9651 2007-03-21 Michael Smith <msmith@fluendo.com>
9653 * docs/pwg/advanced-types.xml:
9654 Fix some errors in the typefinding docs pointed out on irc.
9656 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9658 * libs/gst/base/gstbasesrc.c:
9659 Clarify FIXME comment in the face of having added unlock_stop()
9661 2007-03-21 Wim Taymans <wim@fluendo.com>
9663 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9664 Prepare for release where we warn against possible app breakage in the
9665 case of live pipelines along with an env var to enable/disable live
9666 preroll mode (GST_COMPAT=[no-]live-preroll).
9668 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9670 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9671 So we should use correct constants for checking for None offset.
9673 2007-03-20 Wim Taymans <wim@fluendo.com>
9675 * docs/design/part-block.txt:
9676 Mention the fact that the newly switched element should be set to at
9679 2007-03-20 Wim Taymans <wim@fluendo.com>
9682 Fix compilation with registry disabled as spotted by Saur.
9684 2007-03-20 Wim Taymans <wim@fluendo.com>
9686 Patch by: Olivier Crete <tester at tester dot ca>
9688 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9689 Look at the pending state too when syncing the element state to the
9690 parent. Fixes #420133.
9692 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9694 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9695 (gst_base_sink_change_state):
9696 * libs/gst/base/gstbasesink.h:
9697 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9698 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9699 (gst_base_src_deactivate):
9700 * libs/gst/base/gstbasesrc.h:
9701 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9702 for sub-classes to correctly clear any state they set trying to
9703 unlock, such as clearing out unlock commands from a command fd.
9704 API: basesrc::unlock_stop
9705 API: basesink::unlock_stop
9707 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9708 (gst_fd_sink_render), (gst_fd_sink_unlock),
9709 (gst_fd_sink_unlock_stop):
9710 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9711 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9712 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9714 Implement unlock_stop in fdsrc and fdsink.
9715 Implement seeking in fdsrc when a seekable fd is passed, as in
9716 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9718 2007-03-19 Wim Taymans <wim@fluendo.com>
9720 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9722 * gst/gstelement.c: (gst_element_class_init):
9723 Fix pad-added and pad-removed signal signatures so that the pad type is
9724 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9726 2007-03-19 Wim Taymans <wim@fluendo.com>
9728 * docs/gst/gstreamer-sections.txt:
9729 Add new element field and method.
9731 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9732 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9733 (gst_bin_recalc_state), (gst_bin_get_state_func),
9734 (gst_bin_element_set_state), (gst_bin_change_state_func),
9735 (gst_bin_continue_func), (bin_bus_handler),
9736 (bin_push_state_continue), (bin_handle_async_start),
9737 (bin_handle_async_done), (gst_bin_handle_message_func):
9738 Make async state changes a bit smarter by using new ASYNC_START and
9739 ASYNC_DONE messages. This reduces the number of times we run the state
9740 recalculation thread.
9741 Don't change state of element with a pending ASYNC_START message.
9742 Deprecate STATE_DIRTY messages.
9744 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9745 (gst_element_get_state_func), (gst_element_continue_state),
9746 (gst_element_lost_state), (gst_element_set_state_func),
9747 (gst_element_change_state):
9749 Keep the state that was last set by the app in a new element field.
9750 Don't allow state changes when handling an element event.
9751 Post ASYNC_START and ASYNC_DONE messages.
9752 Change lost_state so that we go to PAUSED and wait for the parent to set
9753 us to PLAYING again (so latency calculation can be performed)
9754 Export gst_element_change_state() method so that subclasses can use it.
9755 API: gst_element_change_state()
9756 API: GST_STATE_TARGET
9758 * gst/gstpipeline.c: (gst_pipeline_class_init),
9759 (reset_stream_time), (gst_pipeline_change_state),
9760 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9761 Using the new ASYNC_START message we can reset the base_time when
9762 needed. This can then be used to implement base_time redistribution in
9763 flushing seeks so that we can remove the explicit seek handling.
9764 Perform latency query and configuration when going to PLAYING.
9766 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9767 (gst_base_sink_query), (gst_base_sink_change_state):
9768 Post new ASYNC_START/ASYNC_DONE messages.
9770 * tests/check/generic/sinks.c: (GST_START_TEST):
9771 Fix test because the bin will not set the async element to PLAYING right
9774 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9775 Make the message check a little stronger.
9776 Handle ASYNC messages.
9778 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9779 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9780 Expect ASYNC_DONE messages.
9782 2007-03-19 Wim Taymans <wim@fluendo.com>
9784 * docs/gst/gstreamer-sections.txt:
9785 * gst/gstmessage.c: (gst_message_new_async_start),
9786 (gst_message_new_async_done), (gst_message_parse_info),
9787 (gst_message_parse_async_start):
9789 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9792 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9794 * tools/gst-inspect.c:
9795 (print_plugin_automatic_install_info_codecs):
9796 Now that we don't check for the 'Codec' keyword any longer in the
9797 klass, we shouldn't spew a warning if the klass isn't a decoder or
9798 encoder (since it might be a Source/Network, for example).
9800 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9802 * tools/gst-inspect.c:
9803 (print_plugin_automatic_install_info_codecs):
9804 Don't require decoder/demuxer/depayloader elements or
9805 encoder/muxer/paylader elements to have 'Codec' as part of their
9806 factory class string when introspecting a plugin's capabilities.
9807 draft-klass.txt mentions that it might be removed in future, and
9808 flump3dec doesn't have it as part of its class string, so chances
9809 are others might also not have it.
9811 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9833 Update translations from translation project
9835 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9837 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9838 (gst_child_proxy_set_property):
9839 Invert precondition check to be alike the ones in the mimiced gobject
9842 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9844 * docs/design/draft-tagreading.txt:
9845 * docs/random/ensonic/audiobaseclasses.txt:
9846 Do some Architect work.
9848 * gst/gstobject.c: (gst_object_set_name):
9852 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9854 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9856 * gst/gstsystemclock.c: (gst_system_clock_init),
9857 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9858 Defer starting the async system clock thread until the first async
9859 wait is scheduled. Fixes #414986.
9861 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9863 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9864 (gst_single_queue_free):
9865 Fix small leak (free GstSingleQueue structure too, not only contents).
9867 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9869 * gst/gstbin.c:(gst_bin_add):
9870 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9871 * win32/common/libgstbase.def:
9872 * win32/common/libgstreamer.def:
9873 Add new exported functions.
9875 2007-03-09 Wim Taymans <wim@fluendo.com>
9877 * docs/plugins/gstreamer-plugins-sections.txt:
9880 2007-03-09 Wim Taymans <wim@fluendo.com>
9882 * docs/gst/gstreamer-sections.txt:
9883 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9885 Add metadata copy functions. Fixes #393099.
9886 API: gst_buffer_copy_metadata()
9888 * gst/gstutils.c: (gst_buffer_stamp):
9889 * libs/gst/base/gstbasetransform.c:
9890 (gst_base_transform_prepare_output_buffer):
9891 Use new metadata copy functions.
9893 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9895 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9896 (gst_identity_init), (gst_identity_check_perfect),
9897 (gst_identity_check_imperfect_timestamp),
9898 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9899 (gst_identity_set_property), (gst_identity_get_property):
9900 * plugins/elements/gstidentity.h:
9901 Separate out check-imperfect-timestamp and check-imperfect-offset.
9902 Put back check-perfect as it was to keep compatibility.
9904 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9906 * gst/gstelement.c: (gst_element_dispose):
9907 There's no need to warn if VOID_PENDING is not NONE here, as
9908 long as the state is NULL it's ok, and that's checked immediately
9911 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9913 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9914 Fix check for perfect stream to ignore buffers with -1
9915 offsets/offset ends when checking data contiguity.
9917 2007-03-08 Wim Taymans <wim@fluendo.com>
9919 * tools/gst-launch.c: (event_loop):
9920 Print INFO messages.
9922 2007-03-08 Wim Taymans <wim@fluendo.com>
9924 * libs/gst/base/gstbasetransform.c:
9925 (gst_base_transform_sink_eventfunc),
9926 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9927 (gst_base_transform_activate):
9928 * libs/gst/base/gstbasetransform.h:
9929 Add support for dropping buffers with custom GstFlowReturn.
9930 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9931 buffers or dropped buffers.
9933 * docs/libs/gstreamer-libs-sections.txt:
9934 docs for new custom return code.
9936 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9937 Use drop support in base class to implement drop-probability.
9939 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9941 * gst/gst.c: (load_plugin_func):
9942 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9943 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9944 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9945 Remove newlines at end of debug log strings.
9947 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9949 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9950 Only post bus message at max, once per buffer received.
9952 2007-03-07 Wim Taymans <wim@fluendo.com>
9954 * docs/design/Makefile.am:
9955 * docs/design/part-synchronisation.txt:
9956 Add doc about synchronisation
9958 * docs/design/draft-latency.txt:
9959 * docs/design/part-TODO.txt:
9960 * docs/design/part-clocks.txt:
9961 * docs/design/part-events.txt:
9962 * docs/design/part-gstbus.txt:
9963 * docs/design/part-gstpipeline.txt:
9964 * docs/design/part-live-source.txt:
9965 * docs/design/part-messages.txt:
9966 * docs/design/part-overview.txt:
9967 * docs/design/part-streams.txt:
9968 * docs/design/part-trickmodes.txt:
9969 Documentation updates.
9971 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9974 Update the doap file.
9976 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9978 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9979 Rename non-perfect to imperfect for Mike and for the sanctity of the
9981 Also make sure bus message gets emitted for data-incontiguities.
9983 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9985 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9986 (gst_identity_start):
9987 * plugins/elements/gstidentity.h:
9988 Emit bus message if check-perfect is true and we encounter a
9989 non-perfect stream between 2 consecutive buffers.
9992 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9997 === release 0.10.12 ===
9999 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10002 releasing 0.10.12, "Inevitable Demise"
10004 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10007 Version 0.10.11.2 (0.10.12 pre-release)
10008 Bump libtool versioning.
10010 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10012 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10013 Log flow-names and not numbers.
10015 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10018 Convert to new AG_GST style.
10020 2007-02-28 Wim Taymans <wim@fluendo.com>
10022 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10023 Don't unref query twice.
10025 2007-02-28 Wim Taymans <wim@fluendo.com>
10027 * gst/gstvalue.c: (gst_value_transform_object_string),
10028 (_gst_value_initialize):
10029 Implement GstObject -> string transform so we print object names
10030 when serializing GValues containing GstObjects.
10032 2007-02-28 Wim Taymans <wim@fluendo.com>
10034 * docs/gst/gstreamer-sections.txt:
10035 Add new stuff to docs.
10037 2007-02-28 Wim Taymans <wim@fluendo.com>
10039 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10040 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10041 (gst_base_sink_change_state):
10042 Improve latency query code.
10043 Don't leak latency events.
10045 * tests/check/gst/gstbin.c: (GST_START_TEST):
10048 2007-02-28 Wim Taymans <wim@fluendo.com>
10050 * gst/gstelement.c: (gst_element_message_full),
10051 (gst_element_get_state_func):
10052 * gst/gstelement.h:
10053 Improve docs a little. Added Since: for new macro.
10055 * gst/gstobject.c: (gst_object_sink):
10056 * gst/gstpipeline.c: (gst_pipeline_change_state),
10057 (gst_pipeline_set_new_stream_time):
10058 * gst/gstpipeline.h:
10059 Improve debugging and docs.
10061 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10064 2007-02-28 Wim Taymans <wim@fluendo.com>
10066 * gst/gstelement.c: (gst_element_message_full),
10067 (gst_element_set_locked_state), (gst_element_get_state_func),
10068 (gst_element_change_state):
10069 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10070 Documentation updates.
10071 Small code cleanups.
10073 * gst/gstmessage.c: (gst_message_new_info),
10074 (gst_message_parse_info):
10075 * gst/gstmessage.h:
10076 API: gst_message_new_info()
10077 API: gst_message_parse_info()
10078 Add INFO message create and parse code.
10080 2007-02-28 Wim Taymans <wim@fluendo.com>
10082 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10083 (bin_query_latency_done):
10084 Also report the live parameter of a latency query.
10086 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10088 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10089 Copy the current generic/states example from -base and adapt so
10090 we can use the exact same code everywhere.
10091 Check a STATES_IGNORE_ELEMENTS env var which can be used
10092 to ignore certain element factories for this test, which is
10093 what is being done in -base
10094 * tests/check/Makefile.am:
10095 Mention this environment variable.
10097 2007-02-27 Wim Taymans <wim@fluendo.com>
10099 * docs/gst/gstreamer-sections.txt:
10100 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10101 (gst_bus_timed_pop), (gst_bus_pop):
10103 API: gst_bus_timed_pop()
10104 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10105 message to arrive on the bus.
10107 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10109 Two unit tests for new _timed_pop() function.
10111 2007-02-23 Wim Taymans <wim@fluendo.com>
10113 * gst/gstpipeline.c: (gst_pipeline_change_state),
10114 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10115 Don't ref a NULL clock in _provide_clock_func().
10116 Don't allow an INVALID delay.
10117 Don't try to calculate base_time with an invalid start_time.
10118 Also distribute and notify a NULL clock when it was selected.
10120 * tools/gst-launch.c: (event_loop):
10121 Don't crash when a NULL clock was selected in the pipeline.
10123 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10125 * docs/design/Makefile.am:
10126 * docs/design/draft-missing-plugins.txt:
10127 * docs/random/draft-missing-plugins.txt:
10128 Some small updates: update plugin system identifier prefix
10129 ('gstreamer.net' to 'gstreamer'), mention our new install
10130 API in libgstbaseutils rather than libgimme-codec, add
10131 reference to the online docs.
10133 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10135 * win32/common/config.h:
10136 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10137 use moap cl ci to only check in what is mentioned in the ChangeLog.
10139 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10141 * docs/gst/gstreamer-sections.txt:
10142 * gst/gstelement.h:
10143 Fix up documentation to link to the correct GstGError section.
10144 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10146 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10148 * tools/gst-launch.c: (event_loop):
10149 Make sure that we actually show the important message part of a
10151 No need to check if the gerror is not NULL to free; first of all
10152 g_free accepts NULL; and second the default error handler would
10153 segfault if gerror was NULL.
10155 2007-02-21 Wim Taymans <wim@fluendo.com>
10157 * docs/gst/gstreamer-sections.txt:
10158 Removed docs as well.
10160 2007-02-21 Wim Taymans <wim@fluendo.com>
10162 * gst/gstmessage.c: (gst_message_parse_duration):
10163 * gst/gstmessage.h:
10164 Remove new messages for release.
10166 2007-02-20 Wim Taymans <wim@fluendo.com>
10168 * docs/design/part-gstghostpad.txt:
10169 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10170 (gst_ghost_pad_new_full):
10171 Make the ghostpad a parent of the internal pad again for better backward
10172 compatibility. Don't write code that relies on this however.
10174 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10175 (gst_pad_link_check_hierarchy):
10176 Require that parents should be GstElements in the hierarchy check.
10178 2007-02-20 Wim Taymans <wim@fluendo.com>
10180 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10181 (gst_bin_change_state_func), (bin_query_min_max_init),
10182 (bin_query_latency_fold), (bin_query_latency_done),
10184 Improve debug info.
10185 Implement latency query.
10187 2007-02-20 Wim Taymans <wim@fluendo.com>
10189 * docs/design/part-gstghostpad.txt:
10190 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10191 (gst_ghost_pad_internal_do_activate_push),
10192 (gst_ghost_pad_internal_do_activate_pull),
10193 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10194 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10195 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10196 Do not set the internal pad as a parent anymore so we can avoid
10197 hierarchy linking errors when the ghostpad has no parent yet. This also
10198 fixes failed activation because of unlinked internal pads, which in
10199 turn fixes the impossible case where you have to activate a pad before
10200 you can add it to a running element.
10203 * gst/gstpad.c: (pre_activate), (post_activate),
10204 (gst_pad_set_active), (gst_pad_activate_pull),
10205 (gst_pad_activate_push), (gst_pad_check_pull_range):
10206 Add some more debug info.
10207 Mark activation mode in pre_activate so that we don't try to activate in
10208 endless loops. Fixes #385084.
10210 2007-02-19 Wim Taymans <wim@fluendo.com>
10212 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10213 (gst_base_transform_check_get_range):
10214 Implement a checkgetrange function instead of relying on the default
10215 core behaviour that assumes we can operate in pull mode if we have a
10216 getrange function. First step at fixing #385084.
10218 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10220 * gst/gstchildproxy.h:
10221 * libs/gst/base/gstbasesink.h:
10222 * libs/gst/base/gstbasesrc.h:
10223 * libs/gst/base/gstbasetransform.h:
10224 More docs coverage and some ChangeLog surgery (add missing names)
10226 2007-02-15 Wim Taymans <wim@fluendo.com>
10228 * docs/design/part-TODO.txt:
10229 * docs/design/part-activation.txt:
10230 * docs/design/part-block.txt:
10231 * docs/design/part-buffering.txt:
10232 * docs/design/part-clocks.txt:
10233 * docs/design/part-element-source.txt:
10234 * docs/design/part-events.txt:
10235 * docs/design/part-gstbin.txt:
10236 * docs/design/part-gstbus.txt:
10237 * docs/design/part-gstpipeline.txt:
10238 * docs/design/part-live-source.txt:
10239 * docs/design/part-messages.txt:
10240 * docs/design/part-overview.txt:
10241 * docs/design/part-qos.txt:
10242 * docs/design/part-query.txt:
10243 * docs/design/part-states.txt:
10244 * docs/design/part-trickmodes.txt:
10245 Some doc updates. Start renaming from stream_time to running_time where
10246 it was used wrongly.
10248 2007-02-15 Wim Taymans <wim@fluendo.com>
10250 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10251 Answer LATENCY query.
10253 2007-02-15 Wim Taymans <wim@fluendo.com>
10255 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10259 2007-02-15 Wim Taymans <wim@fluendo.com>
10261 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10262 (gst_pad_dispatcher):
10263 Improve debugging of default pad dispatcher and query functions.
10265 2007-02-15 Wim Taymans <wim@fluendo.com>
10267 * docs/gst/gstreamer-sections.txt:
10268 Remove old unused method.
10270 2007-02-13 Wim Taymans <wim@fluendo.com>
10272 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10275 2007-02-13 Wim Taymans <wim@fluendo.com>
10277 * docs/design/part-seeking.txt:
10280 * gst/gstsegment.c: (gst_segment_set_seek):
10281 Revert old bogus change that should make seeking work again.
10283 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10285 * docs/random/ensonic/dynlink.txt:
10286 * docs/random/ensonic/interfaces.txt:
10287 * docs/random/ensonic/receipies.txt:
10288 Possible dynamic reconnection api, plus some type fixes the other two
10291 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10293 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10294 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10295 Also check for an absolute path following file:// in the filesrc
10296 element. Remove redundant check and call g_path_is_absolute() on the
10297 unescaped location.
10299 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10301 * docs/design/draft-klass.txt:
10302 Add existing category analysis.
10305 Fix doc example, framerate is a fraction.
10307 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10310 * docs/gst/Makefile.am:
10311 * docs/gst/gstreamer-sections.txt:
10312 * docs/libs/Makefile.am:
10313 Erm, forgot a bunch of --extra-dir.
10315 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10318 * docs/gst/Makefile.am:
10319 * docs/libs/Makefile.am:
10320 * docs/plugins/Makefile.am:
10321 Add crossreferences to glib/gobject docs.
10323 2007-02-12 Wim Taymans <wim@fluendo.com>
10325 * docs/design/draft-latency.txt:
10328 * docs/libs/gstreamer-libs-sections.txt:
10329 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10330 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10331 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10332 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10333 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10334 (gst_base_sink_get_position), (gst_base_sink_query),
10335 (gst_base_sink_change_state):
10336 * libs/gst/base/gstbasesink.h:
10337 API: gst_base_sink_query_latency() to let subclasses query the upstream
10339 API: gst_base_sink_get_latency() to let subclasses query the configured
10340 latency in the sink.
10341 Implement query and set latency.
10343 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10344 don't continue preroll when we are flushing. Fixes #405284.
10346 * tests/check/pipelines/stress.c: (change_state_timeout),
10347 (quit_timeout), (GST_START_TEST), (stress_suite):
10350 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10352 Patch by: René Stadler <mail at renestadler de>
10354 * docs/gst/gstreamer-sections.txt:
10355 * gst/gsttaglist.c: (_gst_tag_initialize):
10356 * gst/gsttaglist.h:
10357 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10359 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10361 * docs/libs/Makefile.am:
10362 Fix path to core docs.
10364 * gst/gstbin.c: (gst_bin_get_by_interface),
10365 (gst_bin_iterate_all_by_interface):
10366 Refix docs by also renaming 'interface' to 'iface' in implementation.
10368 * docs/gst/gstreamer-sections.txt:
10370 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10371 * gst/gstchildproxy.h:
10372 * gst/gstelementfactory.c:
10373 * gst/gstpadtemplate.h:
10374 * libs/gst/controller/gstcontroller.c:
10375 (gst_controlled_property_new):
10378 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10380 * gst/gstbin.h:(gst_bin_get_by_interface),
10381 (gst_bin_iterate_all_by_interface):
10382 Replace interface parameter name by iface as interface is
10383 a reserved keyword in Visual Studio for C++ projects so it removes
10384 a build error for application developpers using VS.
10385 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10386 Fix a bug on Windows in uri format check. Now the prefix checked
10387 is file:// and next we check if the path after file:// is absolute.
10388 * win32/common/libgstbase.def:
10389 * win32/common/libgstdataprotocol.def:
10390 * win32/common/libgstgstreamer.def:
10391 Add new exported functions.
10393 2007-02-09 Andy Wingo <wingo@pobox.com>
10395 * tests/check/pipelines/simple-launch-lines.c
10396 (simple_launch_lines_suite, test_tee): Disable tee test until I
10397 have time to fix it :-(
10399 * tests/check/Makefile.am (noinst_HEADERS):
10400 * tests/check/libs/libsabi.c:
10401 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10402 * tests/check/gst/gstabi.c:
10403 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10405 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10406 tests for push and pull tee behavior.
10408 * plugins/elements/gsttee.h:
10409 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10410 mark as deprecated as well as unimplemented. It was a crack idea.
10411 Add support for tee operating in pull mode, off by default.
10413 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10414 normal-case logs down to LOG, raise errors to WARNING.
10415 (gst_registry_xml_read_cache): Don't log before calling a function
10418 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10419 exit (registry finalize).
10420 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10421 DEBUG log when we emit signals that people don't even have the
10422 chance to connect to.
10423 (gst_registry_scan_path_level): Less logging in the normal case.
10425 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10427 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10429 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10430 Correctly generate EOS for non-seekable files. We don't have a total
10431 length for them and would get an unexpected end of file if we only
10432 special-cased for regular files. (Fixes: #404569)
10434 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10436 * tests/check/elements/filesrc.c: (GST_START_TEST),
10438 Add unit test for the GstURIHandler interface in filesrc. This also
10439 tests the newly added file://localhost/foo/bar support.
10441 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10443 * gst/gstelementfactory.h:
10444 The klass string is not a hierarchy. Add reference to the design doc
10445 for more information and common types.
10447 2007-02-02 Wim Taymans <wim@fluendo.com>
10449 * gst/gstquery.c: (gst_query_new_latency):
10450 Remove old structure field.
10452 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10454 * tools/gst-launch.1.in:
10455 Give example for network streaming (#351998)
10457 2007-02-02 Wim Taymans <wim@fluendo.com>
10459 * docs/gst/gstreamer-sections.txt:
10460 Add docs for new methods.
10462 * gst/gstevent.c: (gst_event_new_latency),
10463 (gst_event_parse_latency):
10465 Add new LATENCY event to configure latency in a pipeline.
10466 API: gst_event_new_latency
10467 API: gst_event_parse_latency
10469 * gst/gstmessage.c: (gst_message_new_buffering),
10470 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10471 (gst_message_new_latency), (gst_message_parse_buffering),
10472 (gst_message_parse_lost_preroll):
10473 * gst/gstmessage.h:
10474 Added messages used in draft-latency.
10475 API: gst_message_new_lost_preroll
10476 API: gst_message_parse_lost_preroll
10477 API: gst_message_new_prerolled
10478 API: gst_message_new_latency
10480 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10481 (gst_query_parse_latency):
10483 Implemented new latency query as in design doc.
10484 API: gst_query_new_latency
10485 API: gst_query_set_latency
10486 API: gst_query_parse_latency
10488 2007-02-02 Wim Taymans <wim@fluendo.com>
10490 * docs/design/draft-latency.txt:
10491 Slight redesign to allow for dynamic latency adjustments.
10493 * docs/design/part-negotiation.txt:
10496 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10498 reviewed by: Wim Taymans <wim@fluendo.com>
10500 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10501 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10502 Allow file://localhost/foo/bar URLs and correctly fail for every other
10503 hostname that one sets. This was gnomevfssrc is linked for those if
10504 installed as it can handle it (#403172)
10506 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10508 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10510 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10511 (unref_data), (gst_collect_pads_add_pad_full):
10512 * libs/gst/base/gstcollectpads.h:
10513 Don't put the previously added destroy notify in the GstCollectData
10514 struct as all it's padding is already used and we don't want to break
10515 ABI. Instead put in the pad's GObject data for now. This should be
10516 cleaned up for 0.11 (#402393).
10518 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10520 reviewed by: Wim Taymans <wim@fluendo.com>
10522 * docs/libs/gstreamer-libs-sections.txt:
10523 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10524 (unref_data), (gst_collect_pads_add_pad),
10525 (gst_collect_pads_add_pad_full):
10526 * libs/gst/base/gstcollectpads.h:
10527 API: Add function to specify a destroy notification for custom
10528 GstCollectData when adding new pads in GstCollectPads (#402393).
10530 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10533 Update Swedish translation (#378255).
10535 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10537 * docs/design/draft-klass.txt:
10538 Fix the previous change, this is a list of categories and not a hierarchy.
10540 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10542 * docs/design/draft-klass.txt:
10543 Add info about how to get a list of used classes.
10545 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10547 * plugins/elements/gsttypefindelement.c:
10548 (gst_type_find_element_chain_do_typefinding),
10549 (gst_type_find_element_change_state):
10550 Don't leak found caps in chain function (no idea why that never
10551 showed up as a leak anywhere).
10553 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10556 Fix and expand GstPluginDesc API docs.
10558 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10561 * gst/gstelementfactory.c:
10562 * gst/gstpadtemplate.h:
10565 * libs/gst/controller/gstcontroller.c:
10566 (gst_controlled_property_new):
10567 * tests/examples/controller/audio-example.c:
10570 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10573 comment about refining the xml deps
10575 * docs/manuals.mak:
10576 comments about moving away from jade for docs
10579 recommit the ifdefs to use the binary registry
10581 * gst/gstbin.c: (gst_bin_change_state_func):
10582 this break is obsolete
10584 * gst/gstelementfactory.h:
10585 better GST_ELEMENT_DETAILS docs, add comment about translation
10590 * gst/gstobject.c: (gst_signal_object_get_type):
10591 add G_UNLIKELY as usual
10593 * gst/gstpad.c: (gst_pad_event_default):
10594 add fall trhu comment
10596 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10597 (gst_registry_binary_initialize_magic),
10598 (gst_registry_binary_save_string),
10599 (gst_registry_binary_save_pad_template),
10600 (gst_registry_binary_save_feature),
10601 (gst_registry_binary_save_plugin),
10602 (gst_registry_binary_write_cache),
10603 (gst_registry_binary_check_magic),
10604 (gst_registry_binary_load_pad_template),
10605 (gst_registry_binary_load_feature),
10606 (gst_registry_binary_load_plugin),
10607 (gst_registry_binary_read_cache):
10608 comment typo and formatting
10610 * gst/gstutils.c: (gst_element_state_get_name),
10611 (gst_element_state_change_return_get_name):
10612 remove obsolete breaks
10614 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10615 add FIXME 0.11 and remove cpp comment
10617 2007-01-29 Edward Hervey <edward@fluendo.com>
10619 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10620 Fix print statement in an even more portable way.
10622 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10624 * docs/gst/gstreamer-sections.txt:
10626 API: add GST_ROUND_DOWN_* macros (#401781).
10628 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10630 * docs/gst/gstreamer.types.in:
10631 * gst/gstregistry.c: (gst_registry_class_init):
10632 Document registry signals and make gtk-doc pick them up (#401381).
10634 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10636 * docs/pwg/building-testapp.xml:
10637 Add some audioconverts and audioresample to the pipeline, and some
10638 more comments and error handling.
10640 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10642 * docs/manual/manual.xml:
10643 * docs/pwg/pwg.xml:
10644 Fix typo (#400987).
10646 2007-01-26 Wim Taymans <wim@fluendo.com>
10648 * gst/gstcaps.c: (gst_static_caps_get):
10649 Init caps flags too.
10651 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10653 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10655 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10656 If not using mmap'ed files try to seek to the end instead of the
10657 start to determine whether we can seek at all. This fixes the case
10658 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10659 seeks for everything afterwards fail. Fixes #400656
10661 2007-01-25 Wim Taymans <wim@fluendo.com>
10663 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10664 Add some refcount debugging.
10665 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10666 in multiple streaming threads.
10668 2007-01-25 Wim Taymans <wim@fluendo.com>
10670 Patch by: David Schleef <ds at schleef dot org>
10672 * docs/libs/gstreamer-libs-sections.txt:
10673 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10674 * libs/gst/base/gstadapter.h:
10675 API: gst_adapter_copy() that can reduce the amount of memcpy when
10676 getting data from the adapter. Fixes #388201.
10678 2007-01-25 Edward Hervey <edward@fluendo.com>
10680 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10681 In print statements, "%x" is for guint. Fixes build on macosx.
10683 2007-01-24 Edward Hervey <edward@fluendo.com>
10685 * plugins/elements/gstmultiqueue.c:
10686 (gst_multi_queue_loop):
10688 (single_queue_overrun_cb), (single_queue_underrun_cb),
10689 (single_queue_check_full), (gst_single_queue_new):
10690 Implement single queue growth system.
10691 This uses the extra-size properties, and will grow single queues by
10692 that much if one goes full whereas there are others empty. This is
10693 called extra-mode in the code.
10694 When a single queue's levels go back below the initial max-size
10695 limits, it is no longer in extra-mode. This is to ensure we don't
10696 consume too much memory.
10699 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10701 * gst/gst.c: (gst_init_get_option_group):
10702 Make warning about late g_thread_init() calls a bit more explicit,
10703 so that it's more obvious to application developers what they need
10704 to do if a user files a bug against their application.
10706 2007-01-22 Edward Hervey <edward@fluendo.com>
10708 * plugins/elements/gstmultiqueue.c:
10709 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10710 Remove previous hack of unsetting the flushing flag for the source pad
10711 instead of activating it. Instead, fix the source pad activate function
10712 so that it no longer depends on having a parent set or not.
10714 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10716 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10718 * docs/manual/basics-bus.xml:
10719 Fix example code, gst_element_unref() doesn't exist any longer.
10721 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10723 Patch by: Mark Nauwelaerts <manauw at skynet be>
10726 Fix two docs typoes (#399094).
10728 2007-01-19 Edward Hervey <edward@fluendo.com>
10730 * docs/faq/gst-uninstalled:
10731 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10732 depending on libgstbaseutils can work in uninstalled environment.
10734 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10736 * gst/gsttaglist.h:
10737 * gst/gsttagsetter.c:
10738 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10739 statement for new tag.
10741 2007-01-17 Edward Hervey <edward@fluendo.com>
10743 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10744 When dynamically creating single queues, activate sinkpad before adding
10746 We should be doing the same thing for the source pad, but we can't
10747 since it would call a method which needs the parent to be set in order
10748 to work propertly. Instead of activating the source pad, we just unset
10749 the flushing flag, which is the minimal requirement for adding a pad
10750 to an element in a state greater than READY.
10752 2007-01-17 Edward Hervey <edward@fluendo.com>
10754 * docs/faq/gst-uninstalled:
10755 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10758 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10760 * tests/check/gst/gstabi.c:
10761 * tests/check/gst/struct_hppa.h:
10762 * tests/check/libs/libsabi.c:
10763 * tests/check/libs/struct_hppa.h:
10764 Add ABI structs for HPPA (see #393796).
10766 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10768 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10769 Actually write ABI structs to the file specified in the GST_ABI
10770 environment variable, as the message we print claims we would.
10772 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10774 * tests/check/gst/gsttask.c:
10775 Fix header comment.
10777 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10779 * gst/gsttaglist.c: (_gst_tag_initialize):
10780 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10781 previous two entries.
10783 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10785 * docs/gst/gstreamer-sections.txt:
10786 * gst/gsttaglist.c: (_gst_tag_initialize):
10787 * gst/gsttaglist.h:
10788 Add tag support for beat-per-minute.
10790 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10792 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10793 (gst_registry_binary_initialize_magic),
10794 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10795 (gst_registry_binary_save_pad_template),
10796 (gst_registry_binary_save_feature),
10797 (gst_registry_binary_save_plugin),
10798 (gst_registry_binary_write_cache),
10799 (gst_registry_binary_check_magic),
10800 (gst_registry_binary_load_pad_template),
10801 (gst_registry_binary_load_feature),
10802 (gst_registry_binary_load_plugin),
10803 (gst_registry_binary_read_cache):
10804 * gst/gstregistrybinary.h:
10805 Use glib types, cleanup comments, impement interfaces and uri-types.
10807 2007-01-13 Andy Wingo <wingo@pobox.com>
10809 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10810 getrange() to return buffers with other caps, while we fix
10811 demuxers and typefind, or otherwise change part-negotiation.txt.
10813 2007-01-12 Andy Wingo <wingo@pobox.com>
10815 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10816 Factor start/stop into this private function instead of partially
10817 in activate functions and partially in the change_state function.
10818 Fixes setup before the element has changed from READY->PAUSED, as
10819 is the case in pull-mode pipelines.
10820 (gst_base_transform_sink_activate_push)
10821 (gst_base_transform_src_activate_pull): Refactor to use
10822 gst_base_transform_activate().
10823 (gst_base_transform_change_state): Removed, not needed any more.
10825 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10826 Truncate before fixating.
10828 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10829 Don't set_caps() if the result of fixating is ANY, as it's not
10830 supported, and not necessary in the case of a link with no
10831 template caps on either side. Fixes tests/check/libs/basesrc in
10832 some pull-mode tests.
10834 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10835 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10836 (gst_base_transform_src_activate_pull):
10837 Track the activation mode.
10838 (gst_base_transform_setcaps): In pull mode, when activating the
10839 src pad, after activating the sink pad, activate the sink pad's
10840 peer, as discussed in part-negotiation.txt.
10842 * libs/gst/base/gstbasesrc.h:
10843 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10844 vmethod, as in basesink.
10846 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10848 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10849 mode, first proxy the setcaps to the peer pad.
10850 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10851 new fixate vmethod.
10852 (gst_base_sink_default_activate_pull): Rename from
10853 gst_base_sink_activate_pull.
10854 (gst_base_sink_negotiate_pull): New function, performs negotiation
10855 in pull mode before calling ::activate_pull().
10856 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10857 vmethod instead of the default implementation. I have no idea how
10858 this worked before. Negotiate before calling activate_pull.
10860 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10861 sink pads in pull mode. In addition to being correct, fixes
10862 filesrc ! decodebin ! identity ! fakesink.
10863 (gst_pad_get_range, gst_pad_pull_range): Don't call
10864 gst_pad_set_caps() if the caps changes; instead error out with
10865 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10867 2007-01-12 Andy Wingo <wingo@pobox.com>
10869 * docs/design/part-negotiation.txt: Update with more policy.
10871 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10873 * libs/gst/check/gstbufferstraw.h:
10874 * libs/gst/check/gstcheck.h:
10875 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10878 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10880 * tests/check/Makefile.am:
10881 * tests/check/gst/.cvsignore:
10882 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10883 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10884 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10885 (GST_START_TEST), (gst_tag_setter_suite):
10886 Add minimal unit test for beforementioned GstTagSetter bug.
10888 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10890 Patch by: René Stadler <mail at renestadler dot de>
10892 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10893 gst_tag_list_merge() returns a new list, so it's not the best idea
10894 to ingore its return value. Effectively meant that tags could only
10895 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10896 Also add function guard to require a non-NULL taglist as input (has
10897 always been so due to gst_tag_list_copy(), just making it explicit).
10899 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10901 * docs/random/draft-missing-plugins.txt:
10902 Some additions: mention new API that is supposed to be used at the
10903 various stages; short blob about new gst-inspect introspection
10904 option; mention potential future problem with plugins that have
10905 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10907 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10909 * tools/gst-inspect.c:
10910 (print_plugin_automatic_install_info_codecs),
10911 (print_plugin_automatic_install_info_protocols),
10912 (print_plugin_automatic_install_info), (main):
10913 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10914 introspect plugin files and get machine-parsable output that corresponds
10915 to the last bit of the missing-plugin installer string (small gotcha:
10916 doesn't take into account ranks).
10918 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10921 * docs/gst/gstreamer-sections.txt:
10923 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10924 (gst_registry_lookup_locked):
10925 * gst/gstregistry.h:
10926 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10927 (gst_registry_binary_initialize_magic),
10928 (gst_registry_binary_save_string),
10929 (gst_registry_binary_save_pad_template),
10930 (gst_registry_binary_save_feature),
10931 (gst_registry_binary_save_plugin),
10932 (gst_registry_binary_write_cache),
10933 (gst_registry_binary_check_magic),
10934 (gst_registry_binary_load_pad_template),
10935 (gst_registry_binary_load_feature),
10936 (gst_registry_binary_load_plugin),
10937 (gst_registry_binary_read_cache):
10938 * gst/gstregistrybinary.h:
10939 * gst/gstregistryxml.c: (load_feature),
10940 (gst_registry_xml_read_cache):
10941 commit binary registry (disabled by default, see #359653)
10943 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10945 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10946 Fix 'make check' too.
10948 2007-01-10 Andy Wingo <wingo@pobox.com>
10950 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10953 * docs/design/part-negotiation.txt: Update with, um, one way that
10954 pull-mode negotiation might work?
10957 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10958 that the pad must be a src pad; makes sense to call it the other
10959 way in pull mode, and the logic is symmetric anyway.
10961 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10963 * plugins/elements/gstfilesink.c:
10964 Include <stdio.h> for fseeko().
10966 2007-01-10 Wim Taymans <wim@fluendo.com>
10970 Reserve LATENCY event.
10972 2007-01-09 Wim Taymans <wim@fluendo.com>
10974 * docs/design/draft-latency.txt:
10977 2007-01-09 Wim Taymans <wim@fluendo.com>
10979 * docs/design/draft-latency.txt:
10982 * gst/gstelement.h:
10983 * gst/gststructure.c:
10987 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10989 * tests/check/.cvsignore:
10990 Ignore test-registry.xml as well.
10992 2007-01-09 Wim Taymans <wim@fluendo.com>
10994 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10995 unref data at the end when we are done with the pad.
10997 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10999 * docs/gst/gstreamer-sections.txt:
11000 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11001 (init_post), (gst_deinit), (gst_update_registry):
11003 API: add gst_update_registry() (#391296).
11005 * tests/check/Makefile.am:
11006 * tests/check/gst/gstregistry.c:
11007 * tests/check/gst/.cvsignore:
11008 Simple unit test for the above.
11010 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11012 * gst/gstregistry.c: (gst_registry_scan_path_level):
11013 Plugin extension on HP-UX is .sl, add that to the list of approved
11014 plugin extensions (see #393796).
11016 * tests/check/gst/gstpad.c: (GST_START_TEST):
11017 ulong => gulong. Fixes compilation with HP-UX compiler.
11019 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11020 Fix compilation if valgrind headers are not available.
11022 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11024 * win32/common/libgstreamer.def:
11025 Add new exported function.
11026 * win32/vs6/libgstbase.dsp:
11027 Add gstdataqueue.c to the build.
11028 * win32/vs6/libgstcoreelements.dsp:
11029 Add gstmultiqueue.c to the build.
11031 2007-01-06 Andy Wingo <wingo@pobox.com>
11033 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11034 activate_pull(), providing for a way to specialize the process of
11035 spawning a thread to pull on the sink pad. There is a default
11038 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11039 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11040 (gst_base_sink_init): Renamed pad activation functions (inserting
11041 "_pad" in their names). Refactor to use the new activate_pull
11042 vmethod, as appropriate.
11043 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11044 default activate_pull function to start a task pulling from the
11045 sink pad, as before.
11047 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11048 on the pads if necessary, as in push()/chain(). Update docs.
11049 Shouldn't affect existing pull() usage as it is currently only
11050 being used on buffers without caps.
11052 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11054 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11056 Call g_thread_init() first thing in gst_init() / gst_check_init().
11057 When initialisation is done via gst_init_get_option_group() and
11058 GOption parsing, issue a warning if the GLib thread system has not
11059 been initialised yet by the time gst_init_get_option_group() is
11060 called, as it's quite likely other GLib functions such as
11061 g_option_context_new() have been called already then, and
11062 g_thread_init() must be called before any other GLib function. The
11063 application in question must be fixed in that case, since memory
11064 corruption might happen otherwise.
11065 We issue the warning because even if the GLib folks decide to work
11066 around the problem on their end in future, this is still an issue
11067 with all GLib versions >= 2.10.0, so we should warn until we depend
11068 on a GLib version we know to be safe.
11069 Update documentation as well.
11070 Closes bug #391278.
11072 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11074 * tools/gst-inspect.c: (main):
11075 * tools/gst-launch.c: (main):
11076 * tools/gst-typefind.c: (main):
11077 * tools/gst-xmlinspect.c: (main):
11078 Call g_thread_init() really really early, before any other GLib
11079 function (see #342564 and recent discussion on gtk-devel-list).
11081 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11083 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11085 * gst/gst_private.h:
11086 * gst/gstconfig.h.in:
11088 On win32, all the __declspec stuff for symbol exporting is
11089 apparently only needed with MSVC, but doesn't work with MingW.
11090 Fixes compilation with MingW and #391909.
11092 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11094 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11095 Change some GST_ERROR_OBJECT that aren't really errors to
11096 GST_WARNING_OBJECT in order to reduce terminal spam.
11098 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11100 * tests/check/Makefile.am:
11101 disable test again, as there seem to be still race problems
11103 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11105 * tests/check/Makefile.am:
11106 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11107 (GST_START_TEST), (queue_suite):
11108 enable queue test again, add tests for the leaky behaviour
11110 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11113 * tests/examples/Makefile.am:
11114 Compile adapter test/example only if the required headers are
11115 available (fixes #391915).
11117 2007-01-01 David Schleef <ds@schleef.org>
11120 Restore the previous signal handler for SIGSEGV instead of
11121 setting to default, since we may have stolen it away from
11122 someone. (i.e., Mono)
11124 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11126 * docs/random/draft-missing-plugins.txt:
11127 Some small additions and clarifications.
11129 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11131 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11132 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11133 since that can lead to random memory corruptions and crashes
11134 (may or may not be related to #383244, #386711, and #386711).
11136 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11138 * tests/check/.cvsignore:
11139 * tests/check/Makefile.am:
11140 sync .cvsignome and CLEANFILES
11142 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11144 * tests/check/Makefile.am:
11147 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11149 * docs/design/part-states.txt:
11150 two tiny additional comments
11152 * gst/gststructure.c:
11155 * tests/check/Makefile.am:
11156 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11158 disable test for now, unless it gets fixed
11160 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11162 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11164 fix race in underrun test
11166 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11168 * tests/check/elements/.cvsignore:
11171 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11173 try to narrow test failure
11175 2006-12-21 David Schleef <ds@schleef.org>
11177 * plugins/elements/gstfakesrc.c:
11178 Use g_random_int_range(), since it produces better random
11179 numbers in a range than almost-correct floating point code.
11181 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11183 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11184 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11185 (gst_check_teardown_sink_pad):
11186 do not automatically (de)activate pads
11188 * tests/check/Makefile.am:
11189 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11190 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11191 add new, yet simple tests for queue
11193 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11194 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11195 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11197 * tests/check/elements/identity.c: (cleanup_identity):
11198 consistent pad (de)activation
11200 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11202 Patch by: Sebastian Dröge <slomo ubuntu com>
11204 * libs/gst/base/gstcollectpads.c:
11205 Fix two doc typos (#387866).
11207 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11209 * docs/manual/advanced-dparams.xml:
11210 Fix typo (g_object_control_properties() doesn't exist).
11212 2006-12-19 Edward Hervey <edward@fluendo.com>
11214 * gst/gstsegment.c: (gst_segment_set_seek):
11215 Fine tune the cases where the segment start/stop values are really
11217 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11218 Add tests for the return values of gst_segment_set_seek().
11220 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11225 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11227 Fix incorrect documentation and flesh it out a bit more.
11228 Set default values for the max properties on the GParamSpec as well,
11229 so it shows up correctly in gst-inspect.
11231 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11233 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11234 Correct docs of queue, add more detail and crosslink it more.
11236 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11238 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11239 Print additional debug info when the stream isn't perfectly
11240 timestamped; don't try to use invalid durations.
11242 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11244 * docs/design/Makefile.am:
11245 Dist new design docs.
11247 2006-12-16 Wim Taymans <wim@fluendo.com>
11249 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11251 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11252 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11253 (gst_collect_pads_stop), (gst_collect_pads_event),
11254 (gst_collect_pads_chain):
11255 * libs/gst/base/gstcollectpads.h:
11256 Add refcounting to the collectpads data so we can track when it's safe
11257 to free the data. Fixes #383382.
11259 2006-12-15 Wim Taymans <wim@fluendo.com>
11261 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11262 (gst_collect_pads_remove_pad):
11263 Automatically activate/deactivate pads when they are added to a
11264 started/stoped collectpads.
11266 2006-12-15 Wim Taymans <wim@fluendo.com>
11268 * gst/gstelement.c: (gst_element_add_pad):
11269 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11270 * gst/gstpad.c: (gst_pad_init):
11271 Set pads to FLUSHING when they are created. Check, warn and fix when a
11272 demuxer adds an inactive pad to itself when running. Fixes #339326.
11274 2006-12-15 Wim Taymans <wim@fluendo.com>
11276 * gst/gstelement.c: (gst_element_class_init),
11277 (gst_element_default_send_event), (gst_element_send_event),
11278 (gst_element_default_query), (gst_element_query):
11279 Expose default element send_event and query handling as vmethods that
11280 subclasses can chain up to.
11282 2006-12-15 Wim Taymans <wim@fluendo.com>
11284 * gst/gstelement.c: (gst_element_set_state_func):
11285 Small documentation fixes.
11287 2006-12-15 Wim Taymans <wim@fluendo.com>
11289 * docs/design/draft-latency.txt:
11290 Checked in draft for handling latency in pipelines.
11292 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11296 * gstreamer.spec.in:
11299 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11301 * gst/gst.c: (init_pre), (init_post):
11302 init_pre() and init_post() might be called via our GOptionGroup or
11303 from gst_init(), and we should skip both of them if we've already
11304 been initialised, otherwise we will init some things twice or add
11305 two default log functions.
11307 2006-12-13 Edward Hervey <edward@fluendo.com>
11309 * docs/manual/basics-bus.xml:
11310 No, gst_main_loop does not exist. Its g_main_loop.
11311 Discovered by somebody who abused the copy-paste technique of coding :)
11313 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11315 * gst/gstghostpad.c:
11316 Log ghostpad debug stuff to the GST_PADS category as well rather
11317 than just to the default category.
11319 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11322 * gst/gst.c: (init_pre):
11323 Add some basic system details such as OS and architecture
11324 to the debug output if possible, courtesy of uname().
11326 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11328 * docs/gst/running.xml:
11329 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11330 environment variables.
11332 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11334 * tests/check/gst/gstbin.c: (GST_START_TEST):
11335 It is acceptable to have a refcount of 2 or 3 at this point in the
11336 test, because the pipeline might be just posting its state_change
11337 message. The next line then waits for that message to appear using
11338 bus_poll, so that should be fine too.
11340 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11342 * gst/gst.c: (ensure_current_registry_forking):
11343 Ignore EINTR when reading from the child registry pipe.
11344 Explicitly ignore the return value from close, since it makes no
11347 * gst/gstminiobject.c: (gst_mini_object_ref),
11348 (gst_mini_object_unref):
11349 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11351 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11352 When removing cached plugins, remove their features too, so they're
11353 not visible after they've disappeared.
11355 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11356 In the unlikely case that we are linking pads with no parents, don't
11357 crash trying to get the non-existent parent bin.
11359 * gst/parse/grammar.y:
11360 Output debug in the PIPELINE category
11362 2005-03-08 Wim Taymans <wim@fluendo.com>
11364 Patch by: René Stadler <mail at renestadler dot de>
11366 * gst/gstclock.c: (gst_clock_new_periodic_id):
11367 Reject invalid clock times for interval of periodic ids.
11370 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11372 * gst/gstelementfactory.c: (gst_element_factory_create):
11373 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11374 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11375 * tools/gst-inspect.c: (print_element_info):
11376 Fix refcounting of gst_plugin_feature_load to match the docs.
11379 2006-12-07 Wim Taymans <wim@fluendo.com>
11381 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11382 (gst_base_sink_get_position):
11383 Improve debugging of events.
11385 2006-12-07 Wim Taymans <wim@fluendo.com>
11387 Patch by: René Stadler <mail at renestadler dot de>
11389 * gst/gstclock.c: (gst_clock_id_wait):
11390 Make period ids add the interval to the origial requested time instead
11391 of the possibly updated time which can be wrong when there are multiple
11392 waiters for the same id. Fixes #382592.
11394 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11395 (gst_system_clock_id_wait_jitter_unlocked),
11396 (gst_system_clock_id_wait_jitter):
11397 Fix restart in the async notify thread when an async entry is added to
11398 the front of the list. Fixes #381492.
11400 * tests/check/gst/gstsystemclock.c: (store_callback),
11401 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11402 Added test for multiple async waits.
11403 Added test for async wait order.
11405 2006-12-07 Wim Taymans <wim@fluendo.com>
11407 * gst/gstbin.c: (gst_bin_query):
11408 Add some more docs about the POSITION query.
11410 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11413 Bump version nano - back to CVS.
11415 === release 0.10.11 ===
11417 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11420 releasing 0.10.11, "Love never runs on time"
11422 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11424 * win32/common/libgstbase.def:
11425 * win32/common/libgstreamer.def:
11426 * win32/vs8/libgstbase.vcproj:
11427 * win32/vs8/libgstcoreelements.vcproj:
11428 * win32/vs8/libgstreamer.vcproj:
11429 Fix compilation on win32 under VS8
11430 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11431 Partially fixes #381175
11433 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11435 * gst/gstvalue.c: (gst_value_compare_fraction):
11436 If someone is foolish enough to compare 2 fractions with denominator =
11437 0, return UNORDERED rather than aborting.
11439 2006-11-28 Edward Hervey <edward@fluendo.com>
11441 * libs/gst/base/Makefile.am:
11442 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11443 (gst_data_queue_base_init), (gst_data_queue_class_init),
11444 (gst_data_queue_init), (gst_data_queue_new),
11445 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11446 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11447 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11448 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11449 (gst_data_queue_set_flushing), (gst_data_queue_push),
11450 (gst_data_queue_pop), (gst_data_queue_drop_head),
11451 (gst_data_queue_set_property), (gst_data_queue_get_property):
11452 * libs/gst/base/gstdataqueue.h:
11453 New GstDataQueue object for threadsafe queueing. Most useful for
11454 elements that need some queueing functionnality.
11455 * docs/libs/gstreamer-libs-docs.sgml:
11456 * docs/libs/gstreamer-libs-sections.txt:
11457 Insert documentation for GstDataQueue
11458 * plugins/elements/Makefile.am:
11459 * plugins/elements/gstelements.c:
11460 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11461 (gst_multi_queue_class_init), (gst_multi_queue_init),
11462 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11463 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11464 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11465 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11466 (gst_multi_queue_loop), (gst_multi_queue_chain),
11467 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11468 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11469 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11470 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11471 (wake_up_next_non_linked), (compute_next_non_linked),
11472 (single_queue_overrun_cb), (single_queue_underrun_cb),
11473 (single_queue_check_full), (gst_single_queue_new):
11474 * plugins/elements/gstmultiqueue.h:
11475 New multiqueue element, using GstDataQueue. Used for queuing multiple
11477 Closes #344639 and #347785
11479 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11481 * docs/pwg/advanced-types.xml:
11482 add more missing type details
11484 * tools/gst-run.c: (main):
11485 remove unused variable
11487 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11489 * docs/libs/Makefile.am:
11490 * docs/libs/gstreamer-libs.types:
11491 add types of base classes to enable gobject specific stuff in the docs
11493 * docs/random/ensonic/embedded.txt:
11494 more ideas about isolating platform specific things
11496 2006-11-20 Wim Taymans <wim@fluendo.com>
11498 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11500 * libs/gst/check/gstcheck.h:
11501 Fix compilation and running against 0.9.4. Fixes #377332.
11503 2006-11-20 Wim Taymans <wim@fluendo.com>
11505 * gst/gstsegment.c: (gst_segment_set_seek),
11506 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11507 (gst_segment_to_running_time):
11508 Fix boundary checking in to_running_time() and to_stream_time().
11511 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11512 stream and running time can now be calculated for the complete
11515 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11517 * gst/gstpad.c: (gst_pad_push_event):
11518 Can't access event structure after giving away ownership of
11521 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11523 * docs/random/ensonic/embedded.txt:
11524 * docs/random/ensonic/profiling.txt:
11525 * docs/random/ensonic/receipies.txt:
11528 2006-11-13 Wim Taymans <wim@fluendo.com>
11530 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11533 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11535 2006-11-13 Wim Taymans <wim@fluendo.com>
11537 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11539 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11540 Store new length in segment duration so we don't keep on calling the
11541 potentially expensize get_size() call. Fixes #370865.
11543 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11545 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11547 * win32/common/libgstreamer.def:
11548 Add two missing symbols (#366492).
11550 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11552 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11553 (gst_adapter_take_buffer):
11554 Fix format string to use all its arguments.
11555 Remove useless >= check on a guint
11557 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11559 * tests/examples/adapter/.cvsignore:
11560 Ignore build file as commanded by the build-bot
11562 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11564 * tests/examples/adapter/Makefile.am:
11565 * tests/examples/adapter/adapter_test.c: (run_test_take),
11566 (run_test_take_buffer), (run_tests), (main):
11568 Add new files from the previous commit
11570 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11574 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11575 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11576 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11577 * libs/gst/base/gstadapter.h:
11578 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11579 (GST_START_TEST), (gst_adapter_suite):
11580 * tests/examples/Makefile.am:
11581 Do some optimisation work in GstAdapter to avoid copies in more cases.
11582 It could still do slightly better by merging buffers when
11583 gst_buffer_is_span_fast is true, but is already faster.
11585 Also, avoid traversing a single-linked list to append each incoming
11586 buffer inside the adapter.
11588 Add simple test app that times the adapter behaviour in different
11589 situations, and extend the unit test to check that bytes enter and
11590 exit the adapter in their original order.
11592 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11594 * docs/random/draft-missing-plugins.txt:
11595 Update: use element message instead of adding a new message
11596 type to the core; don't provide GStreamer API to initiate the
11597 plugin download, just provide API to compose the strings needed
11598 and let an external libgimmestuff handle the rest.
11600 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11602 * tools/gst-inspect.c: (print_element_properties_info):
11603 Print a string instead of 'unknown type' for GValueArray properties
11605 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11607 * docs/random/draft-missing-plugins.txt:
11610 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11612 * tests/examples/typefind/typefind.c: (type_found), (main):
11613 Make typefind element example work again (#371894); add a
11616 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11618 * docs/random/draft-missing-plugins.txt:
11619 Commit initial draft about how to deal with missing plugins,
11620 needs work (API too).
11622 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11624 * docs/pwg/advanced-types.xml:
11625 documents the new caps elements (see #363118)
11627 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11629 * gst/gstplugin.c: (gst_plugin_load_file):
11630 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11631 (gst_file_src_map_region), (gst_file_src_start):
11632 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11633 (gst_file_index_commit):
11634 Use g_strerror() instead of strerror() - we want UTF-8.
11636 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11638 Patch by: Peter Kjellerstedt <pkj at axis com>
11640 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11641 Another printf fix (#371493).
11643 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11645 * tests/check/gst/gsttag.c:
11646 relicence (okay with author=company)
11648 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11650 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11651 (gst_pad_push_event):
11652 Enhance debug and improve docs
11657 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11659 * docs/random/ensonic/distributed.txt:
11660 * docs/random/ensonic/profiling.txt:
11663 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11665 * docs/gst/gstreamer-sections.txt:
11666 add new API and fix the build
11668 * gst/gstbin.c: (gst_bin_recalc_state):
11669 * gst/gstelement.c: (gst_element_message_full),
11670 (gst_element_get_state_func), (gst_element_set_state_func):
11671 use new API and improve logging
11673 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11675 API: add function to get StateChangereturn names to improve logs
11677 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11679 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11680 I'm considering shooting the next person to put strerror stuff
11681 in the translateable part of the message.
11683 2006-11-03 Wim Taymans <wim@fluendo.com>
11685 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11686 Get the type and printf conversion specifiers right.
11688 2006-11-03 Wim Taymans <wim@fluendo.com>
11690 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11692 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11693 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11694 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11695 Some small cleanups. Improve debugging.
11697 Signal all waiting threads with a broadcast instead of just one.
11700 2006-11-03 Wim Taymans <wim@fluendo.com>
11702 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11703 (gst_fd_src_create):
11704 Add some debugging.
11705 Only update fd when it's different from the old.
11707 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11709 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11710 Printf fixes for PPC/OSX, take two (#369366).
11712 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11714 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11716 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11717 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11718 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11719 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11720 don't cast to long long for portability reasons, but use
11721 GLib's types instead.
11723 2006-10-30 Michael Smith <msmith@fluendo.com>
11725 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11726 Get the arguments to lseek() the right way around.
11729 2006-10-30 Wim Taymans <wim@fluendo.com>
11731 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11734 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11736 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11738 Patch by: Kjartan Maraas <kmaraas at gnome org>
11740 * docs/design/part-MT-refcounting.txt:
11741 * docs/random/wtay/capsnego2-docs:
11744 Typo fixes (#366212).
11746 2006-10-28 Wim Taymans <wim@fluendo.com>
11748 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11751 * win32/common/libgstbase.def:
11752 * win32/common/libgstreamer.def:
11753 * win32/vs8/libgstbase.vcproj:
11754 * win32/vs8/libgstcontroller.vcproj:
11755 Add needed entries in .def files.
11757 Rearrange def files in vs8 solutions. Fixes #366286.
11759 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11761 * win32/common/gstconfig.h:
11762 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11763 hand-made win32 gstconfig.h. Fixes #366321.
11765 2006-10-27 Wim Taymans <wim@fluendo.com>
11767 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11768 (gst_ghost_pad_new_full):
11769 Make acceptcaps return TRUE when we don't have a target, just like
11772 2006-10-27 Wim Taymans <wim@fluendo.com>
11774 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11775 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11777 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11779 * gst/gststructure.c: (gst_structure_id_set_value):
11780 If someone tries to set a non-UTF8 string field on a structure,
11781 don't just print a warning, but also ignore the request and do
11782 not change/add that field to the structure.
11784 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11785 Test for the above.
11787 2006-10-25 David Schleef <ds@schleef.org>
11790 g_hash_table_insert() needs a cast to a non-const pointer duh.
11792 2006-10-25 David Schleef <ds@schleef.org>
11796 Change name parameter of _gst_debug_register_funcptr to const
11797 to reflect the constness of its use in the function as well
11798 as to quiet a gcc warning.
11800 2006-10-25 Edward Hervey <edward@fluendo.com>
11802 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11803 Don't push the buffer if it's empty.
11806 2006-10-24 Wim Taymans <wim@fluendo.com>
11811 * libs/gst/base/gstbasetransform.c:
11812 (gst_base_transform_sink_eventfunc):
11813 Debug segment values *after* updating them as this is more
11816 2006-10-23 Wim Taymans <wim@fluendo.com>
11818 * docs/design/part-events.txt:
11821 * docs/design/part-block.txt:
11822 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11823 (gst_pad_push_event):
11824 Revert BLOCKING patch, it tries to be smart without really having a
11825 clear idea what or how. So, now we discard all FLUSHING events again on
11826 a blocking pad. Should fix gnonlin again.
11828 2006-10-23 Wim Taymans <wim@fluendo.com>
11830 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11832 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11833 (gst_base_src_start), (gst_base_src_activate_push):
11834 Make sure size is always initialized. Fixes #364388.
11836 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11838 * docs/random/ensonic/distributed.txt:
11839 add some ideas about doing distributed processing
11841 * docs/random/ensonic/profiling.txt:
11842 get_rusage look promising
11844 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11846 * docs/manual/basics-helloworld.xml:
11847 Add a cast in example to fix compile warning
11849 2006-10-18 Wim Taymans <wim@fluendo.com>
11851 * gst/gstsegment.c: (gst_segment_set_last_stop),
11852 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11853 Relax arg checking again, -1 is allowed.
11855 2006-10-18 Wim Taymans <wim@fluendo.com>
11857 * gst/gstsegment.c: (gst_segment_set_last_stop),
11858 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11859 _set_last_stop() must be with a value != -1
11860 A _TYPE_SET to -1 means seek to 0.
11861 Calc last_stop correctly for negative rates.
11862 Make sure we work with positive durations when updating a segment.
11864 2006-10-18 Wim Taymans <wim@fluendo.com>
11866 * docs/design/part-live-source.txt:
11870 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11873 Add an explicit cast to GstBuffer** to keep old code that added an
11874 explicit cast to GstMiniObject** for gst_mini_object_replace()
11875 compiling without warning.
11877 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11879 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11880 check for validity of dates
11882 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11884 * docs/gst/gstreamer-sections.txt:
11885 Forgot this one, makes gtk-doc shut up.
11887 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11889 Patch by: Peter Kjellerstedt <pkj at axis com>
11892 Don't define xmlNodePtr to gpointer if the core was built with
11893 --disable-loadsave and --disable-registry, this will break
11894 applications that want to use libxml2 but are buildling against a
11895 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11896 instead so we don't have to mess with the libxml2 namespace
11899 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11902 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11903 type-punned pointer warnings.
11905 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11907 * gst/gstelement.h:
11908 Add casts to the correct return type to state <=> state transition
11911 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11913 * docs/design/part-live-source.txt:
11914 describe howto handle latency
11916 * docs/random/ensonic/profiling.txt:
11919 * tools/gst-plot-timeline.py:
11920 fix log parsing for solaris, remove unused function
11922 2006-10-16 Wim Taymans <wim@fluendo.com>
11924 * docs/design/part-trickmodes.txt:
11926 Update some docs regarding reverse playback.
11928 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11930 Patch by: Marcus Granado <mrc dot gran at gmail com>
11932 * win32/vs8/grammar.vcproj:
11933 Error out with a warning if glib-genmarshal.exe is not in path,
11934 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11936 2006-10-13 Wim Taymans <wim@fluendo.com>
11938 * gst/gstsegment.c: (gst_segment_set_seek):
11939 When seeking to stop -1, set last_stop (current position) to the
11940 duration of the segment.
11942 2006-10-13 Wim Taymans <wim@fluendo.com>
11944 * gst/gstelement.h:
11945 Clarify _NO_PREROLL a bit more.
11950 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11951 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11952 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11953 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11954 due to wrong locking order. Fixes #361769.
11955 Remove some redundant/misplaced checks in pad_block.
11957 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11958 For negative rates, count backwards from the duration.
11960 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11962 * gst/gsterror.c: (_gst_library_errors_init):
11963 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11964 up with something better).
11966 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11968 * win32/vs6/libgstreamer.dsp:
11969 * win32/vs7/libgstreamer.vcproj:
11970 * win32/vs8/libgstreamer.vcproj:
11971 Don't reference glib-compat.c which is currently not used and not
11972 disted; add gstquark.c which was recently added. Fixes #361730.
11974 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11976 * win32/common/libgstbase.def:
11977 * win32/common/libgstcontroller.def:
11978 * win32/common/libgstreamer.def:
11979 Add gst_caps_merge() and a bunch of other recently-added functions.
11982 2006-10-11 Wim Taymans <wim@fluendo.com>
11984 * docs/plugins/gstreamer-plugins.args:
11985 * docs/plugins/inspect/plugin-coreelements.xml:
11986 * docs/plugins/inspect/plugin-coreindexers.xml:
11987 Update element args.
11989 * gst/gstsystemclock.c:
11990 Small comment update.
11992 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11993 (gst_tee_request_new_pad), (gst_tee_release_pad),
11994 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11995 (gst_tee_sink_activate_pull):
11996 * plugins/elements/gsttee.h:
11998 Add default property defines.
11999 Implement release pad function.
12000 Give properties better blubs etc.
12001 Activate pads before adding them to a running tee.
12002 Do simple buffer_alloc on the first requested pad.
12003 Post error when activation fails.
12005 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12007 * gst/gst.c: (ensure_current_registry_forking):
12008 Check return value of write() to make compiler happy.
12010 2006-10-11 Wim Taymans <wim@fluendo.com>
12012 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12014 * plugins/elements/gstqueue.c: (gst_queue_chain):
12015 Recheck queue filledness after signalling the overrun when we're about
12016 to leak downstream because we released the lock when emitting the signal
12017 and the queue could be empty again. Fixes #352345.
12019 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12021 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12022 Fix refcounting here too, just like we did for _new_valist() a few
12023 days ago (#357180) (thanks to René Stadler). Also remove all those
12024 'Since: 0.9' from the gtk-doc blobs.
12026 * tests/check/libs/controller.c: (controller_refcount_new_list),
12027 (gst_controller_suite):
12028 Unit test for the above.
12030 2006-10-10 Wim Taymans <wim@fluendo.com>
12032 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12034 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12035 (gst_pad_save_thyself):
12037 Write pad direction in XML output. Fixes #345496.
12039 2006-10-10 Wim Taymans <wim@fluendo.com>
12041 Patch by: René Stadler <mail at renestadler dot de>
12043 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12044 (gst_controller_new_list), (_gst_controller_dispose),
12045 (_gst_controller_finalize), (_gst_controller_class_init):
12046 Take ref to controlled object so that it cannot disappear.
12049 2006-10-10 Wim Taymans <wim@fluendo.com>
12051 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12052 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12053 (gst_check_teardown_sink_pad):
12054 Activate/deactivate pads in setup/teardown respectively.
12056 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12058 Patch by: Josep Torra Valles <josep@fluendo.com>
12061 Cast values when making gstenumtypes.h. This pacifies Forte
12062 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12063 in the enumeration.
12065 2006-10-09 Wim Taymans <wim@fluendo.com>
12067 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12068 Rename some more @cur to @start to fix docs.
12070 * gst/gstsegment.c: (gst_segment_set_seek):
12072 time and start must always stay in sync as defined in design doc.
12074 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12075 Rename param to fix docs.
12077 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12078 Check that start and time are in sync.
12080 * tests/check/pipelines/parse-launch.c:
12081 (gst_parse_test_element_change_state):
12082 Activate pad before adding to the element.
12084 2006-10-09 Wim Taymans <wim@fluendo.com>
12086 * docs/design/part-qos.txt:
12091 Update seek event docs regarding negative rates.
12092 Rename @cur to @start.
12094 * gst/gstsegment.c: (gst_segment_set_seek):
12095 * gst/gstsegment.h:
12096 Update set_seek docs regarding negative rates.
12097 Correctly update last_stop to @stop when dealing with negative
12099 Rename @cur to @start.
12101 * tests/check/gst/gstpad.c: (GST_START_TEST):
12102 Activate pads before trying to use them.
12104 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12105 (gst_segment_suite):
12106 Add simple check for segments and negative rates.
12108 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12110 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12111 * gst/gsttaglist.h:
12112 * docs/gst/gstreamer-sections.txt:
12113 API: add gst_tag_list_is_empty() (#360467).
12115 * tests/check/gst/gsttag.c: (GST_START_TEST):
12118 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12120 * gst/gstmessage.h:
12121 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12122 a value that doesn't fit on enumeration.
12124 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12126 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12127 Remove local debugging system and use Gstreamer's instead.
12129 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12131 Patch by: Josep Torra Valles <josep@fluendo.com>
12133 * common/m4/gst-error.m4:
12134 Disable warning of statement not reached on Forte.
12135 * gst/gstmessage.h:
12136 Fix warning on Forte (value doesn't fit on enumeration).
12137 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12138 Fix warning on Forte (value doesn't fit on enumeration).
12139 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12140 DEBUG macro says it takes minimum of 2 args and so Forte
12141 complains about the use with just 1 arg.
12142 * plugins/elements/gstfdsink.c:
12143 * plugins/elements/gstfdsrc.c:
12144 * plugins/elements/gstfilesink.c:
12145 * plugins/elements/gstfilesrc.c:
12146 Use correct return type for the uri handler implementations.
12148 All these fix warnings in Forte. Fixes bug #360860.
12150 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12152 * gst/gstelement.h:
12153 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12154 format string, so don't use G_GNUC_PRINTF for those versions.
12156 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12158 * gst/gsttaglist.c: (gst_is_tag_list):
12159 * gst/gsttaglist.h:
12160 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12162 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12163 Small test for the above.
12165 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12167 * gst/gsttaglist.h:
12168 Less tabs, more spaces.
12170 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12173 Those two function declarations do actually belong there, revert
12174 commit from yesterday that turned them intro macros.
12176 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12178 Patch by: Josep Torra Valles <josep@fluendo.com>
12180 * gst/gst.c: (gst_init_get_option_group):
12181 Fix empty declaration and type mismatch.
12182 * gst/gstbin.c: (gst_bin_change_state_func):
12184 * gst/gstelement.c: (gst_element_continue_state),
12185 (gst_element_set_state_func), (gst_element_change_state),
12186 (gst_element_change_state_func):
12187 Fix type mismatches.
12188 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12189 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12190 Cast as appropriate.
12191 * gst/gstobject.c: (gst_class_signal_connect):
12192 Cast as appropriate. The function pointer parameter really
12193 has the wrong type but would break API if we change it.
12195 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12196 order of including string.h.
12197 * gst/gstutils.c: (gst_element_state_get_name):
12198 Remove unreachable line.
12199 * gst/gstxml.c: (gst_xml_parse_doc):
12201 All these caught by Forte.
12203 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12205 Patch by: Josep Torra Valles <josep@fluendo.com>
12207 * common/m4/gst-error.m4:
12209 We need to disable warnings on Forte for empty declarations
12210 due to gst-indent adding ;s to lines that just use macros
12211 where the macro actually doesn't need a ; at end to end
12214 2006-10-06 Wim Taymans <wim@fluendo.com>
12216 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12217 (gst_file_sink_close_file), (gst_file_sink_event),
12218 (gst_file_sink_render):
12219 Add some FIXME for the NEWSEGMENT handling.
12221 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12223 * gst/parse/grammar.y:
12224 Remove static function gst_parse_element_lock as all it does
12225 is return. Looks like cruft from 0.8.
12227 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12229 Patch by: Josep Torra Valles <josep@fluendo.com>
12231 * common/m4/gst-error.m4:
12233 * libs/gst/net/Makefile.am:
12234 Fix a compilation issue with Forte on Solaris. inet_aton is in
12237 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12239 * gst/gstpad.c: (pre_activate):
12240 * gst/gstregistry.c: (gst_registry_scan_path_level):
12241 * gst/gstregistryxml.c: (load_plugin):
12242 * libs/gst/controller/gstcontroller.c:
12243 (gst_controlled_property_set_interpolation_mode):
12244 * libs/gst/dataprotocol/dataprotocol.c:
12245 (gst_dp_packet_from_event_1_0):
12246 * libs/gst/net/gstnetclientclock.c:
12247 (gst_net_client_clock_observe_times):
12248 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12251 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12254 * docs/gst/gstreamer-sections.txt:
12255 * gst/gstconfig.h.in:
12256 * gst/gstelement.h:
12258 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12259 whether we can use G_GNUC_PRINTF in other header files and at
12260 least check the printf format/arguments of debug messages and
12261 GST_ELEMENT_ERROR messages when the printf extension is not
12263 Replace more tabs with spaces in gstinfo.h and remove two spurious
12264 function declarations in GST_DISABLE_DEBUG part with macros.
12266 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12268 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12269 More docs for the sync-message signal (mention that it is not
12270 emitted by default); log message structures of messages posted on
12273 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12275 * gst/gst.c: (ensure_current_registry_forking):
12276 Use a pipe pair to receive status results from the forked child, and
12277 ignore the result from waitpid. Fixes #355499
12279 2006-10-02 Wim Taymans <wim@fluendo.com>
12281 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12282 (gst_ghost_pad_suite):
12285 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12288 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12290 2006-10-02 Edward Hervey <edward@fluendo.com>
12292 * docs/design/part-block.txt:
12293 Further explain the use of flushing on blocked pads.
12294 * docs/gst/gstreamer-sections.txt:
12295 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12296 (gst_pad_push_event):
12298 Added new GstPadFlag : GST_PAD_BLOCKING.
12299 Adds the notion of pads really blocking, which enables to properly
12300 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12302 API: gst_pad_is_blocking()
12303 API: GST_PAD_IS_BLOCKING() macro
12304 API: GST_PAD_BLOCKING GstPadFlag
12306 2006-10-02 Wim Taymans <wim@fluendo.com>
12308 Patch by: mrcgran <mrc.gran at gmail dot com>
12310 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12311 Filter the proxied caps against the padtemplate if we have one.
12313 * gst/gstquery.c: (gst_query_new_segment):
12314 Add include for gstinfo.h so that compilation with
12315 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12317 2006-10-02 Wim Taymans <wim@fluendo.com>
12319 Patch by: Alessandro Decina <alessandro at nnva org>
12321 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12322 (gst_file_sink_set_location), (gst_file_sink_open_file),
12323 (gst_file_sink_close_file), (gst_file_sink_event),
12324 (gst_file_sink_render):
12325 Set file to NULL when closing filesink so that we can set a new filename
12326 in READY. Fixes #358613.
12328 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12330 Patch by: Alessandro Decina <alessandro at nnva org>
12332 * gst/gstevent.c: (_gst_event_copy):
12333 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12334 with event structures by setting the parent refcount address of the
12335 copied structure to the address of the refcount member of the newly
12336 copied event rather than the address of the refcount member of the
12337 original event. Fixes #358737.
12339 * tests/check/gst/gstevent.c: (GST_START_TEST):
12340 Unit test for the above.
12342 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12344 * docs/design/Makefile.am:
12345 Dist some more files.
12347 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12349 * tests/check/libs/controller.c: (GST_START_TEST),
12350 (gst_controller_suite):
12351 Add test for the previous fix; add some more tests
12352 for correct refcounting behaviour; fix a few leaks
12353 in test cases; call gst_controller_init() at start
12356 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12358 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12359 (gst_controller_set_from_list):
12360 Don't g_return_val_if_fail() on timed values with invalid timestamps
12361 inside a critical section without unlocking the mutex. Spotted by
12362 René Stadler. (#357617)
12363 Also, fix up refcounting properly: when returning an existing
12364 controller, we should increase the reference only once and not
12365 once per property and when trying to control a property again
12366 we should also increase the refcount.
12368 2006-09-29 Wim Taymans <wim@fluendo.com>
12370 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12371 * libs/gst/net/gstnettimeprovider.c:
12372 (gst_net_time_provider_thread):
12373 Stop reading commands when EOF as well.
12375 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12376 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12377 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12378 Unify description of the dump property.
12380 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12382 * tests/examples/manual/.cvsignore:
12383 OK, so it's actually cvsignore that needs changing. Stop laughing.
12385 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12387 * tests/examples/manual/Makefile.am:
12388 Gah, declare vars *before* using them
12390 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12392 * gst/gst.c: (init_pre), (scan_and_update_registry),
12393 (ensure_current_registry_nonforking),
12394 (ensure_current_registry_forking), (ensure_current_registry),
12395 (init_post), (gst_debug_help), (gst_deinit):
12396 * gst/gst_private.h:
12397 * gst/gstregistry.c: (gst_registry_finalize),
12398 (gst_registry_remove_features_for_plugin_unlocked),
12399 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12400 (gst_registry_scan_path),
12401 (_priv_gst_registry_remove_cache_plugins),
12402 (_priv_gst_registry_cleanup):
12403 * gst/gstregistry.h:
12404 Re-commit the registry changes, along with an extra fix:
12405 When a cached plugin is encountered at a different file path,
12406 update the stored path in the registry cache so that the parent
12407 process knows where it actually is now when it re-reads the registry
12408 cache. Fixes the thing that broke distcheck with the previous commit.
12410 * tests/check/Makefile.am:
12411 Clean up files named 'core' too when running make clean.
12413 * tests/examples/manual/Makefile.am:
12414 Set up a registry path for running these tests, and clean it properly
12417 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12420 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12421 want gmodule-no-export-2.0.pc instead so that we don't drag in
12422 --export-dynamic on every project that links to GStreamer.
12424 Also, make our export regex only match the start of symbols, rather
12425 than any symbol that contains '_gst' somewhere.
12427 * libs/gst/check/Makefile.am:
12428 The libgstcheck we build does however need export-dynamic, as it
12429 produces some symbols that don't match our _gst... style regex.
12432 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12434 * gst/gst.c: (init_pre), (scan_and_update_registry),
12435 (ensure_current_registry_nonforking),
12436 (ensure_current_registry_forking), (ensure_current_registry),
12437 (init_post), (gst_debug_help), (gst_deinit):
12438 * gst/gst_private.h:
12439 * gst/gstregistry.c: (gst_registry_finalize),
12440 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12441 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12442 (_gst_registry_cleanup):
12443 * gst/gstregistry.h:
12444 Revert previous change until I figure out why it breaks distcheck.
12446 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12448 * gst/gst.c: (init_pre), (scan_and_update_registry),
12449 (ensure_current_registry_nonforking),
12450 (ensure_current_registry_forking), (ensure_current_registry),
12451 (init_post), (gst_debug_help), (gst_deinit):
12453 Make init_pre and init_post take the full complement of GOptionFunc
12454 args so they can return useful GErrors. Make the registry updating
12457 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12458 ensure that the registry we're about to write out doesn't contain
12459 stale information about old-deleted plugin files.
12461 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12462 that deletion of plugin files is considered a registry change.
12464 * gst/gst_private.h:
12465 * gst/gstregistry.c: (gst_registry_finalize),
12466 (gst_registry_remove_features_for_plugin_unlocked),
12467 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12468 (gst_registry_scan_path),
12469 (_priv_gst_registry_remove_cache_plugins),
12470 (_priv_gst_registry_cleanup):
12471 * gst/gstregistry.h:
12472 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12473 by adding _priv prefix, so that they won't appear in the global
12474 symbol table. They still do atm though because of #318031. Move the
12475 prototypes to gst_private.h
12477 When removing a plugin, remove all features for that plugin too.
12480 2006-09-27 Wim Taymans <wim@fluendo.com>
12482 * docs/random/moving-plugins:
12483 Make it clear that the "compiled-in descriptions" really mean
12484 the element details.
12486 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12487 (gst_base_sink_wait_preroll):
12490 * docs/libs/gstreamer-libs-sections.txt:
12491 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12492 (gst_base_src_get_range), (gst_base_src_activate_push):
12493 * libs/gst/base/gstbasesrc.h:
12494 Added function to block while waiting for PLAYING, this function
12495 is used by live sources that block on the clock.
12496 API: gst_base_src_wait_playing()
12498 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12500 Patch by: Peter Kjellerstedt <pkj at axis com>
12503 gst-element-check.m4 is generated and should therefore be
12504 copied from the build dir rather than the source dir (#357593).
12505 'make distcheck' hasn't noticed this because we were disting
12506 the file as well, so stop doing that.
12508 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12510 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12511 Add some tests for gst_caps_intersect().
12513 * tools/gst-launch.c: (event_loop):
12514 Print all buffering percentages we get, even the 100% one.
12516 2006-09-26 Wim Taymans <wim@fluendo.com>
12518 * tools/gst-inspect.c: (print_element_properties_info),
12519 (print_signal_info):
12520 Fix printing of flags to match the look of enums.
12522 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12524 * gst/gstelementfactory.c:
12525 Fix typo in docs blurb.
12527 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12529 * gst/gsturi.c: (search_by_entry):
12530 Don't assert/crash here if a uri handler doesn't return any
12531 supported protocols. The list of protocols could be generated
12532 dynamically at runtime or at plugin registration, and an error
12533 in the underlying library shouldn't be fatal (#353301).
12535 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12538 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12539 (spotted by Peter Kjellerstedt).
12541 2006-09-23 Wim Taymans <wim@fluendo.com>
12543 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12545 * libs/gst/base/gstbasesrc.c:
12546 (gst_base_src_default_check_get_range), (gst_base_src_start),
12547 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12548 (gst_base_src_change_state):
12549 Match _start/_stop calls in the activate functions. Remove redundant
12550 _stop call from the state change function. Fixes #356910.
12551 Turn failure DEBUG into ERROR.
12553 2006-09-22 Wim Taymans <wim@fluendo.com>
12555 * docs/design/part-buffering.txt:
12556 * gst/gstmessage.c: (gst_message_new_buffering),
12557 (gst_message_parse_buffering):
12558 Update docs about buffering.
12560 * docs/design/part-trickmodes.txt:
12563 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12565 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12566 (gst_controller_new_list):
12567 Ref instances when returning them again (fixes #357180)
12569 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12571 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12572 Don't forget to release proxy lock when there's an error.
12574 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12577 Add extra initialisers for Caps things, to fix some plugin warnings
12580 2006-09-18 Wim Taymans <wim@fluendo.com>
12582 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12583 Also set template on the internal pad so that a getcaps from the
12584 target pad returns the template caps.
12586 2006-09-18 Wim Taymans <wim@fluendo.com>
12588 * gst/gstelement.c: (gst_element_post_message),
12589 (gst_element_dispose):
12590 Use _DEBUG_OBJECT some more.
12592 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12595 * tools/gst-launch.c: (main):
12596 If the toplevel element is not a GstPipeline, it must be put in a
12597 pipeline so that a bus and clock is selected.
12599 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12601 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12602 JITTER, RATE, and LATENCY query should be handled by the
12603 default case and not by the CONVERT query code.
12605 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12607 * gst/gstformat.c: (gst_format_register):
12608 Fix locking order (must take lock before using n_values).
12610 * gst/gstvalue.c: (gst_value_serialize_enum),
12611 (gst_value_deserialize_enum_iter_cmp),
12612 (gst_value_deserialize_enum):
12613 Fix serialisation/deserialisation of custom registered GstFormats.
12615 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12616 Unit test for custom format serialisation/deserialisation.
12618 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12620 * docs/pwg/building-boiler.xml:
12621 * plugins/elements/gstcapsfilter.c:
12622 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12625 2006-09-16 Edward Hervey <edward@fluendo.com>
12627 * libs/gst/base/gstbasetransform.c:
12628 (gst_base_transform_buffer_alloc):
12629 Check if requested caps are the same as the sinks caps IF
12630 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12632 This fixes the renegotiation issues stated in #352827.
12634 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12637 * docs/manual/advanced-autoplugging.xml:
12638 * tests/examples/Makefile.am:
12639 * tests/examples/manual/.cvsignore:
12640 * tests/examples/manual/Makefile.am:
12641 * tests/examples/manual/extract.pl:
12642 Extract the manual examples again like we used to do.
12645 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12647 * win32/common/config.h:
12650 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12653 Documents how to receive errors.
12655 2006-09-15 Wim Taymans <wim@fluendo.com>
12657 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12658 (event_loop), (main):
12659 Added some comments here and there.
12660 Post an application message when an interrupt is caught instead of doing
12661 an uncontrolled state change.
12662 Clean up the event loop.
12663 Handle buffering messages, pause/resume the pipeline.
12664 Make shutdown because of an interrupt more reliable.
12666 2006-09-15 Wim Taymans <wim@fluendo.com>
12668 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12669 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12670 (gst_base_sink_preroll_object):
12671 Make sure that our internal state is correct when we commit our state
12672 asynchronously. This solves a race where a state change to PLAYING
12673 could cause the sink to remain blocked in preroll in some situations.
12675 2006-09-15 Wim Taymans <wim@fluendo.com>
12677 * tools/gst-inspect.c: (print_element_properties_info),
12678 (print_signal_info):
12679 List flags as hex so it's easier to deal with.
12681 2006-09-15 Wim Taymans <wim@fluendo.com>
12683 * docs/libs/gstreamer-libs-sections.txt:
12684 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12685 (gst_base_sink_do_sync):
12686 * libs/gst/base/gstbasesink.h:
12687 Expose logic to wait for preroll so that subclasses such as audiosink
12688 can also use this method.
12689 API: gst_base_sink_wait_preroll()
12691 2006-09-15 Wim Taymans <wim@fluendo.com>
12693 * gst/gstobject.c: (gst_object_set_parent):
12694 * gst/gstpipeline.c: (do_pipeline_seek):
12695 Small cleanups in docs and code.
12697 * gst/gstsegment.c: (gst_segment_clip):
12698 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12699 if stop == start and start is in the segment, no clipping should be
12700 done. Also add a test for this.
12702 2006-09-15 Wim Taymans <wim@fluendo.com>
12704 * docs/design/part-buffering.txt:
12705 * docs/gst/gstreamer-sections.txt:
12706 * gst/gstmessage.c: (gst_message_new_buffering),
12707 (gst_message_parse_buffering):
12708 * gst/gstmessage.h:
12709 Added methods to create and parse BUFFERING messages.
12710 Added preliminary docs about buffering.
12711 API: gst_message_new_buffering
12712 API: gst_message_parse_buffering
12714 2006-09-06 Wim Taymans <wim@fluendo.com>
12717 Update documentation.
12719 * gst/gstelement.c: (gst_element_class_init),
12720 (gst_element_release_request_pad), (gst_element_set_clock),
12721 (gst_element_get_index), (gst_element_add_pad),
12722 (gst_element_remove_pad), (gst_element_get_random_pad),
12723 (gst_element_send_event), (gst_element_get_query_types),
12724 (gst_element_query), (gst_element_post_message),
12725 (gst_element_message_full), (gst_element_continue_state),
12726 (gst_element_lost_state), (gst_element_save_thyself),
12727 (gst_element_restore_thyself):
12728 Documentation updates.
12729 Rename last bit of the new-pad -> pad-added signal rename.
12730 Fix the case where an element query would only work if the source
12732 Avoid some useless type checking in message handling.
12737 Documentation updates.
12739 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12741 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12742 add an INFO line for when we actually update the fd
12744 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12749 === release 0.10.10 ===
12751 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12754 releasing 0.10.10, "Pais"
12756 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12758 * docs/manual/advanced-position.xml:
12759 Fix typo in sample code.
12761 2006-09-05 Wim Taymans <wim@fluendo.com>
12763 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12764 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12765 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12766 * libs/gst/net/gstnetclientclock.h:
12767 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12768 * libs/gst/net/gstnettimepacket.h:
12769 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12770 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12771 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12772 * libs/gst/net/gstnettimeprovider.h:
12773 Make stuff compile on windows. Fixes #345295.
12775 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12777 * gst/gst.c: (ensure_current_registry_forking):
12778 Print better details when child was terminated by signal.
12780 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12782 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12783 Print a warning rather than g_assert() if a plugin feature
12784 is a URI handler but returns no protocols (#353976).
12786 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12788 * docs/random/moving-plugins:
12791 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12793 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12794 Fix locking order, handle NULL function values properly.
12799 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12800 Initialise variable before using it and fix debug statement to
12801 print the address of the function rather than the address of the
12802 variable on the stack holding the address of the function.
12804 2006-09-01 Wim Taymans <wim@fluendo.com>
12806 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12807 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12808 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12809 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12810 (gst_ghost_pad_parent_unset),
12811 (gst_ghost_pad_internal_do_activate_push),
12812 (gst_ghost_pad_internal_do_activate_pull),
12813 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12814 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12815 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12816 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12817 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12818 (gst_ghost_pad_new_no_target_from_template),
12819 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12821 Avoid needless typechecking in macros.
12822 Since the internal pad is always present and never changes, there is
12823 no need to locking or ref when retrieving it.
12824 Improve debugging a bit.
12825 Handle link errors when setting the target. Fixes #341029.
12827 2006-09-01 Wim Taymans <wim@fluendo.com>
12829 * docs/libs/gstreamer-libs-sections.txt:
12830 * docs/plugins/gstreamer-plugins-sections.txt:
12831 Fix docs some more.
12833 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12834 (gst_collect_pads_event):
12835 * libs/gst/base/gstcollectpads.h:
12836 Documentation updates.
12837 Free queued buffer when removing a pad.
12839 2006-08-31 Michael Smith <msmith@fluendo.com>
12841 * gst/gstutils.c: (gst_element_link_pads),
12842 (gst_element_link_pads_filtered):
12843 Ensure that we set a capsfilter to NULL if we failed to link it
12844 when doing filtered linking, to avoid criticals.
12846 No need to check for unreffing srcpad, which is explicly NULLed
12847 above (a trivial code cleanup).
12849 2006-08-31 Wim Taymans <wim@fluendo.com>
12851 * docs/design/part-gstghostpad.txt:
12852 Update ascii art in documentation.
12854 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12855 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12856 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12857 (gst_ghost_pad_internal_do_activate_push),
12858 (gst_ghost_pad_internal_do_activate_pull),
12859 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12860 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12861 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12862 (gst_ghost_pad_set_target):
12863 Small cleanups and leak fixes.
12864 Remove some checks now that the internal pad is never NULL.
12865 Fix the case where linking pads without a target would create nasty
12866 criticals. Fixes #341029.
12867 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12868 value of _set_target().
12870 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12871 (gst_ghost_pad_suite):
12872 Some more tests for creating and linking untargeted ghostpads.
12874 2006-08-31 Edward Hervey <edward@fluendo.com>
12876 * docs/gst/gstreamer-sections.txt:
12877 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12878 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12879 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12880 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12881 (gst_ghost_pad_new_from_template),
12882 (gst_ghost_pad_new_no_target_from_template):
12883 * gst/gstghostpad.h:
12884 Refactored *_new() functions.
12885 Templates are now used as a g_object_new() parameter.
12886 Use template in _do_getcaps() if we don't have a target.
12887 Small documentation cleanups.
12888 Added two new constructors:
12889 gst_ghost_pad_new_from_template()
12890 gst_ghost_pad_new_no_target_from_template()
12891 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12892 (gst_ghost_pad_suite):
12893 Added tests for new ghostpad instanciation functions.
12895 API additions: gst_ghost_pad_new_from_template,
12896 gst_ghost_pad_new_no_target_from_template
12898 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12900 * docs/random/ensonic/profiling.txt:
12901 Ideas about qos profiling.
12903 2006-08-29 Wim Taymans <wim@fluendo.com>
12905 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12909 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12912 Improve and detypofy docs.
12914 * tests/check/Makefile.am:
12915 * tests/check/gst/.cvsignore:
12916 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12917 Add a basic test suite for GstXML.
12919 2006-08-29 Wim Taymans <wim@fluendo.com>
12921 * gst/gstelement.c: (activate_pads), (clear_caps),
12922 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12923 Clear the pad caps when the element shut down all of the pads and
12924 is not streaming data that could modify the caps.
12927 2006-08-28 Michael Smith <msmith@fluendo.com>
12929 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12930 Revert previous change; I misunderstood single-segment mode.
12932 2006-08-28 Michael Smith <msmith@fluendo.com>
12934 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12935 Unset DISCONT on buffers when using single-segment mode.
12937 2006-08-28 Wim Taymans <wim@fluendo.com>
12939 * gst/gstcaps.c: (gst_caps_merge_structure):
12941 Fix docs and indentation again.
12943 * tests/check/gst/gstquery.c: (GST_START_TEST):
12944 Fix leak in tests and add some more tests.
12946 2006-08-28 Edward Hervey <edward@fluendo.com>
12948 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12949 Inform GstSegment of the last stop position in order for the current
12950 segment to have a proper duration if it doesn't have a specific stop
12951 position from which a duration could be calculated.
12952 This bug was noticeable when a non-flushing, non-update new segment was
12953 followed by another segment (all buffers from the new segment were being
12956 2006-08-28 Wim Taymans <wim@fluendo.com>
12958 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12959 Small comment update.
12961 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12962 (gst_identity_transform_ip):
12963 Drop-probability is broken, mention this in the code with a
12964 FIXME and also in the property description.
12965 Make silent also be silent about the drop messages.
12967 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12969 * docs/manual/appendix-win32.xml:
12970 Remove mention of popt, we don't depend on that any
12971 longer (#353136). Add some comments pointing out that
12972 this section is slightly outdated.
12974 2006-08-28 Wim Taymans <wim@fluendo.com>
12976 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12978 * gst/gstquery.c: (gst_query_new_segment):
12979 * tests/check/gst/gstquery.c: (GST_START_TEST):
12980 Initialize variables when creating a new segment query.
12983 2006-08-28 Wim Taymans <wim@fluendo.com>
12985 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12987 * gst/gstelement.c: (gst_element_get_bus):
12988 * tests/check/gst/gstelement.c: (GST_START_TEST):
12989 Check for NULL before _reffing the bus. Fixes #353122.
12991 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12993 * docs/manual/basics-bus.xml:
12994 Docs update: fix wrong callback return value explanation; add
12995 some lines about the implicit relationship between main loop
12996 and main context; remove duplicate main loop variable declaration.
12998 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13000 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13001 Don't leak caps in unit test; add a few more simple
13004 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13006 * docs/gst/gstreamer-sections.txt:
13007 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13008 (gst_caps_structure_is_subset), (gst_caps_merge),
13009 (gst_caps_merge_structure):
13011 * libs/gst/base/gstbasetransform.c:
13012 (gst_base_transform_transform_caps):
13013 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13014 implement caps merging (fixes #352580)
13016 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13018 * tools/Makefile.am:
13019 * tools/gst-plot-timeline.py:
13020 add debug-log plotting developer tool (#340674)
13022 2006-08-23 Wim Taymans <wim@fluendo.com>
13024 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13025 (gst_pad_stop_task):
13026 Improve debugging for task functions.
13028 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13029 (gst_task_start), (gst_task_pause), (gst_task_join):
13030 Make sure that the task function started and finished after a
13032 Don't try to push the task function on the threadpool multiple
13034 Improve the g_warning message with some useful suggestions
13035 about how to fix the problem.
13037 2006-08-23 Wim Taymans <wim@fluendo.com>
13039 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13040 Handle RESYNC correctly in _proxy_getcaps.
13042 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13044 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13045 (gst_xml_parse_memory), (gst_xml_get_element):
13046 Chain up to parent class in dispose function and also
13047 unref the elements in the toplevel_elements GList.
13048 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13049 Always return a reference in gst_xml_get_element() rather
13050 than only sometimes.
13052 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13053 Don't leak GstXml object.
13055 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13057 * docs/gst/gstreamer-sections.txt:
13058 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13061 * libs/gst/base/gstbasetransform.c:
13062 (gst_base_transform_transform_caps):
13063 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13066 2006-08-21 Edward Hervey <edward@fluendo.com>
13068 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13069 Implement GObject::dispose virtual method in GstXML so we can free the
13070 top_elements GList.
13072 2006-08-21 Wim Taymans <wim@fluendo.com>
13074 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13075 (gst_buffer_create_sub):
13076 Copy duration/offset_end/caps when creating a subbuffer of the
13078 Make the subbuffer read-only when we make the metadata writable for
13079 now. Fixes #351768.
13081 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13082 Added check for metadata copy when creating subbuffers.
13084 2006-08-21 Edward Hervey <edward@fluendo.com>
13086 * libs/gst/base/gstbasetransform.c:
13087 (gst_base_transform_buffer_alloc):
13088 Only call downstream buffer_alloc if transform element is passthrough
13089 or always_in_place. Closes #350449.
13091 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13094 ChangeLog surgery to add comments to previous changes
13096 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13101 * gst/gstpad.c: (gst_pad_set_active):
13102 Be more verbose in the log
13104 * libs/gst/base/gstbasetransform.c:
13105 (gst_base_transform_transform_caps):
13106 Simplify caps to get rid of duplicates, fixes #345444
13108 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13112 Use these optimizations only internally.
13114 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13116 * gst/gstvalue.c: (gst_value_compare_list),
13117 (gst_value_compare_fraction_range),
13118 (gst_value_intersect_fraction_fraction_range),
13119 (gst_value_intersect_fraction_range_fraction_range),
13120 (gst_value_subtract_fraction_fraction_range),
13121 (gst_value_subtract_fraction_range_fraction_range),
13122 (gst_value_get_compare_func), (gst_value_compare),
13123 (gst_value_compare_with_func):
13125 Saves the expensive lookup of the compare function in many cases
13128 2006-08-18 Edward Hervey <edward@fluendo.com>
13130 * tests/check/gst/gstinfo.c: (gst_info_suite):
13131 Disable test that require gstdebug if it wasn't built in core.
13133 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13135 * docs/random/ensonic/logging.txt:
13138 * gst/gstinfo.c: (gst_debug_log_default):
13139 reorder fields, save some columns, add optional color codes for log
13142 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13144 * docs/random/ensonic/logging.txt:
13145 add ideas about making the logs a bit more useful
13147 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13149 * docs/pwg/advanced-events.xml:
13150 * docs/pwg/titlepage.xml:
13151 Update for 0.10 API (#340627). Add myself
13154 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13156 * docs/libs/gstreamer-libs-docs.sgml:
13157 * docs/libs/gstreamer-libs-sections.txt:
13158 * libs/gst/check/gstbufferstraw.c:
13159 Make gstcheck stuff show up in docs (still needs to
13160 be documented properly though).
13162 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13164 * docs/gst/gstreamer-sections.txt:
13166 * gst/gst.c: (init_post):
13167 * gst/gst_private.h:
13168 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13170 * gst/gstquery.c: (gst_query_new_position),
13171 (gst_query_set_position), (gst_query_parse_position),
13172 (gst_query_new_duration), (gst_query_set_duration),
13173 (gst_query_parse_duration), (gst_query_new_convert),
13174 (gst_query_set_convert), (gst_query_parse_convert),
13175 (gst_query_new_segment), (gst_query_set_segment),
13176 (gst_query_parse_segment), (gst_query_new_seeking),
13177 (gst_query_set_seeking), (gst_query_parse_seeking):
13178 Add internal helpers for pre-registering quarks from static strings
13179 and using the quark values directly instead of looking them up when
13180 creating and parsing queries. Can be used for event construction too.
13183 2006-08-16 Wim Taymans <wim@fluendo.com>
13188 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13190 * gst/gstutils.c: (gst_util_set_value_from_string):
13191 Fix memleak (#351502).
13193 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13194 Add unit test for most of gst_util_set_value_from_string()
13195 (not that one would want to encourage use of this function).
13197 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13199 * libs/gst/check/gstcheck.h:
13200 Use const gchar * variables in fail_unless_equals_string
13201 macro to avoid compiler warnings (and don't use tabs for
13204 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13206 * tools/gst-launch.c: (print_tag):
13207 More space on the left for the tag names, to cater
13208 for the 'extended comment' tag (not touching the
13209 string for the first line since it's translated).
13211 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13213 * libs/gst/check/gstcheck.h:
13214 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13215 print something when they fail.
13217 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13219 * docs/gst/gstreamer-sections.txt:
13220 * gst/gsttaglist.c: (_gst_tag_initialize):
13221 * gst/gsttaglist.h:
13222 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13223 Also change merge function for GST_TAG_COMMENT to
13226 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13228 * gst/gstinfo.c: (gst_debug_print_object):
13229 Make GST_PTR_FORMAT print messages as well.
13231 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13232 (GST_START_TEST), (gst_info_suite):
13235 2006-08-14 Edward Hervey <edward@fluendo.com>
13237 * gst/gstelementfactory.c: (gst_element_register):
13238 If the GstElementClass doesn't have a GstElementDetails with all fields
13239 filled up correctly (longname, description AND author), then error out
13240 nicely instead of crashing.
13242 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13244 * gst/gststructure.c:
13245 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13248 Expand on the difference between arrays and lists as we use them.
13250 2006-08-14 Wim Taymans <wim@fluendo.com>
13252 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13253 If the parent state change function failed, don't assume we can safely
13254 stop the source, this will be done when the pads are deactivated.
13256 2006-08-14 Wim Taymans <wim@fluendo.com>
13259 * gst/gsttask.c: (gst_task_join):
13262 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13263 (gst_pad_stop_task):
13264 When pad (de)activation failed for some reason, restore the old
13265 activation mode and set the pad to flushing instead of assuming the
13266 pad is deactivated.
13267 If the _task_join() failed, reinstall the task on the pad so that it can
13268 be stopped later and return an error.
13270 2006-08-11 Andy Wingo <wingo@pobox.com>
13273 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13274 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13275 is only for users of API that don't want to see deprecated
13276 functions in the headers; people that want to compile out
13277 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13278 CFLAGS. Fixes the build of multifdsink, or will soon..
13280 2006-08-11 Wim Taymans <wim@fluendo.com>
13282 * docs/gst/gstreamer-sections.txt:
13283 Add GstClockClass vmethod docs.
13286 Mark #endif with comment for associated #if
13288 * gst/gstclock.c: (gst_clock_id_wait):
13290 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13291 most clock implementations.
13293 Flesh out docs about resolution methods.
13294 API: GstClockClass::wait_jitter
13296 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13297 (gst_system_clock_async_thread),
13298 (gst_system_clock_id_wait_jitter_unlocked),
13299 (gst_system_clock_id_wait_jitter):
13300 Use base class wait_jitter variant for improved performance
13301 due to less clock polling.
13303 2006-08-11 Edward Hervey <edward@fluendo.com>
13305 * gst/gst.c: (gst_init_check), (init_post):
13306 Set gst as being initialized before scanning/updating the registry,
13307 since there might be my python plugin loader that calls gst_init() and
13308 we don't want to loop back in.
13311 2006-08-11 Wim Taymans <wim@fluendo.com>
13313 * docs/design/part-qos.txt:
13314 Bring docs in line with the code. Mostly the sign of the jitter was
13315 wrong in the docs. Fixes #349943.
13318 Fix the docs for the jitter.
13320 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13321 (gst_event_parse_tag), (gst_event_new_buffer_size),
13322 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13323 (gst_event_new_seek), (gst_event_parse_seek),
13324 (gst_event_new_navigation):
13325 Make sure the GstStructure has no parent when creating custom
13327 Add some more argument checking so that we avoid 0.0 rates.
13328 Flesh out the docs for the QoS event some more.
13330 2006-08-11 Wim Taymans <wim@fluendo.com>
13332 * docs/gst/gstreamer-sections.txt:
13333 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13334 (ensure_current_registry_forking), (ensure_current_registry),
13335 (parse_one_option), (parse_goption_arg), (gst_deinit),
13336 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13339 Added API and command line option to disable registry forking in
13340 addition to the environment variable.
13341 Constify some static arrays.
13342 Added some more debug.
13343 Don't deinit twice.
13344 API: gst_registry_fork_is_enabled()
13345 API: gst_registry_fork_set_enabled()
13346 API: --gst-disable-registry-fork command line option
13349 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13351 * gst/gst.c: (gst_init):
13352 Fix typo in error message.
13354 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13356 * libs/gst/controller/gstcontroller.h:
13357 fix ABI size-correction
13359 * tests/check/libs/gdp.c: (gst_dp_suite):
13360 make tests that use deprecated API conditional
13362 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13364 * docs/libs/gstreamer-libs-sections.txt:
13365 * libs/gst/controller/gstcontroller.c:
13366 (_gst_controller_get_property), (_gst_controller_set_property),
13367 (_gst_controller_init), (_gst_controller_class_init):
13368 * libs/gst/controller/gstcontroller.h:
13369 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13370 (gst_object_set_control_rate):
13371 API: add gst_object_{s,g}et_control_rate(), add private data section,
13374 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13375 * libs/gst/dataprotocol/dataprotocol.h:
13376 add deprecation guards to make gtk-doc happy and allow disabling cruft
13378 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13380 * tests/check/Makefile.am:
13381 * tests/check/gst/.cvsignore:
13382 Let's enable the new unit test as well.
13384 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13387 * docs/gst/gstreamer-sections.txt:
13388 * gst/gstconfig.h.in:
13389 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13390 (_gst_info_printf_extension_ptr),
13391 (_gst_info_printf_extension_segment):
13392 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13393 register that lets us easily dump GstSegments into debug
13396 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13397 (info_segment_format_printf_extension), (gst_info_suite):
13398 Add simple unit test that logs a bunch of different segments (not
13399 valgrinded at the moment because of leaks in
13400 gst_debug_add_log_function).
13402 2006-08-09 Edward Hervey <edward@fluendo.com>
13404 * libs/gst/base/gstbasetransform.c:
13405 (gst_base_transform_buffer_alloc):
13406 Even if we can't figure out the proper format to request downstream,
13407 call buffer_alloc() downstream with the input parameters without setting
13408 the caps on the srcpad. This will force negotiation in the chain
13412 2006-08-08 Edward Hervey <edward@fluendo.com>
13414 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13415 Unlinking from a pad without a target is now a perfectly valid case
13416 which should NOT raise an assertion.
13417 This case would happen if a linked ghostpad its target set to NULL after
13418 it was previously linked.
13420 2006-08-08 Edward Hervey <edward@fluendo.com>
13422 * tests/check/libs/gdp.c:
13423 Also comment out the test (see below).
13425 2006-08-08 Edward Hervey <edward@fluendo.com>
13427 * tests/check/libs/gdp.c: (gst_dp_suite):
13428 Use the architecture information from config.h and not gcc macros
13429 in order to properly disable a test that fails on PPC64.
13431 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13433 * gst/gstelement.c: (gst_element_remove_pad):
13434 Don't crash printing the warning if the pad has no parent.
13436 2006-08-02 Wim Taymans <wim@fluendo.com>
13438 * libs/gst/dataprotocol/dataprotocol.c:
13439 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13440 (gst_dp_crc), (gst_dp_header_payload_length),
13441 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13442 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13443 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13444 (gst_dp_event_from_packet), (gst_dp_validate_header),
13445 (gst_dp_validate_payload):
13446 Make debug category static
13447 Constify the crc table.
13448 Do some more arg checking in public functions.
13449 Fix some docs and do some small cleanups.
13451 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13452 Add some more checks to see if GDP deals with bogus input.
13454 2006-07-31 Wim Taymans <wim@fluendo.com>
13456 * gst/gstvalue.c: (gst_value_compare_list):
13457 Fix GstValueList comparison code. Fixes #347293.
13459 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13460 Check to test GstValueList comparison.
13462 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13464 * gst/gstelementfactory.c: (gst_element_factory_create):
13465 Remove unnecessary ref/unref pair
13467 * gst/parse/grammar.y:
13468 Make sure to free the parse buffer on all code paths.
13469 Move a g_free up to the error handler where it's easier to see.
13471 * tests/check/gst/gstevent.c: (test_event):
13472 Extending timeout for downstream travelling events to 10 seconds to
13473 hopefully avoid intermittent failure on the buildbots.
13475 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13476 Don't manually set the state of the src element - it will happen as a
13477 natural consequence of the pipeline changing state, and that way it
13478 will do it in the right order too.
13480 2006-07-31 Wim Taymans <wim@fluendo.com>
13482 * libs/gst/base/gstbasetransform.c:
13483 (gst_base_transform_buffer_alloc):
13484 Use OBJECT_LOCK and refcounting to get the pad caps in the
13485 buffer_alloc function because the caps could change while we are
13486 busy with them. Fixes #349105
13488 2006-07-31 Wim Taymans <wim@fluendo.com>
13490 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13491 Protect _PAD_CAPS with OBJECT_LOCK.
13493 2006-07-31 Wim Taymans <wim@fluendo.com>
13495 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13496 (gst_pad_get_property), (gst_pad_activate_pull),
13497 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13498 (gst_pad_set_activate_function),
13499 (gst_pad_set_activatepull_function),
13500 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13501 (gst_pad_set_getrange_function),
13502 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13503 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13504 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13505 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13506 (gst_pad_set_acceptcaps_function),
13507 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13508 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13509 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13510 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13511 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13512 (gst_pad_configure_sink), (gst_pad_configure_src),
13513 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13514 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13515 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13516 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13517 (gst_pad_send_event):
13518 Use _DEBUG_OBJECT when it makes sense.
13519 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13520 Small cleanups and code reflows.
13521 Avoid caps refcounting in _accept_caps.
13522 Refactor alloc_buffer so that the code performed on the peer is in a
13523 separate function. Also if the pad does not implement a buffer alloc
13524 function, we should still check if the pad is flushing before falling
13525 back to the default allocator.
13527 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13529 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13530 Make all uses of identity and fakesink have silent=true to avoid
13531 serialising every passing data structure, which is breaking tests
13532 on FC4 for some unknown reason.
13534 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13536 * gst/parse/Makefile.am:
13537 * gst/parse/grammar.y:
13538 * gst/parse/parse.l:
13539 Reverted previous patch as it required to bump the flex dependency to
13540 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13542 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13544 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13546 * gst/parse/Makefile.am:
13547 * gst/parse/grammar.y:
13548 * gst/parse/parse.l:
13549 push & pop the state of the lexer for reentrant use case
13552 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13554 * libs/gst/base/gstbasesrc.h:
13555 Note in the docs that the ::newsegment vfunc is not actually used by
13558 2006-07-28 Wim Taymans <wim@fluendo.com>
13560 * libs/gst/base/gstcollectpads.c:
13561 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13562 (gst_collect_pads_clear), (gst_collect_pads_flush),
13563 (gst_collect_pads_event), (gst_collect_pads_chain):
13564 When flushing a pad, also clear the queued buffer so that we don't
13565 accidentally use it when we shouldn't.
13566 Fix leaks by inreffing incomming buffer.
13567 Flush out queued buffers in case of errors.
13570 2006-07-28 Wim Taymans <wim@fluendo.com>
13572 * docs/random/phonon-gst:
13573 Random notes about a Phonon backend.
13575 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13577 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13579 * tests/check/libs/gdp.c: (gst_dp_suite):
13580 Take a whack at fixing the ppc compile using a different define to
13581 disable the broken test.
13583 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13584 Remove excess g_print()
13586 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13588 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13589 Oops, meant to uncomment this line too to dampen the noise a bit.
13591 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13593 * gst/parse/grammar.y:
13594 * gst/parse/parse.l:
13595 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13596 (GST_START_TEST), (parse_suite):
13597 Fix some of the leaks exposed by extending the parse-launch testsuite,
13598 and move the 3 I can't figure out into a separate test that won't run
13599 the pipelines unless the appropriate line is uncommented.
13601 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13603 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13604 Requesting 0 bytes before the end of the file should result in
13605 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13608 2006-07-27 Wim Taymans <wim@fluendo.com>
13610 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13611 Fix useless assert, a uint is always positive.
13613 * gst/gststructure.c: (gst_structure_nth_field_name),
13614 (gst_structure_foreach), (gst_structure_map_in_place):
13615 Check input arguments for public functions to avoid obvious crashes.
13617 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13618 * plugins/elements/gstfakesink.h:
13619 Do less useless typechecking.
13621 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13623 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13624 Do not use mmap() by default since there are a number of error
13625 conditions that we would like to handle in a non-fatal way that
13626 will result in a SIGBUS if we use mmap(). Examples: external
13627 devices (USB harddrive, portable music player) being unplugged
13628 while in use; file on mounted CD/DVD that can't be read because
13629 the medium is partly damaged. Fixes #348455 and #348475.
13631 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13634 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13635 rates are a gdouble
13637 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13639 * gst/gstregistry.c:
13640 Move big documentation comment into class section header, so that it
13641 appears in the API docs.
13643 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13645 * docs/gst/gstreamer-sections.txt:
13646 Oops. Commit the docs additions too for new API.
13647 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13649 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13651 * gst/gststructure.c: (gst_structure_id_set),
13652 (gst_structure_id_set_valist):
13653 * gst/gststructure.h:
13654 Add API for setting values into structures without performing
13655 a quark lookup, if the appropriate quark is already known.
13657 API: gst_structure_id_set
13658 API: gst_structure_id_set_valist
13660 * gst/parse/grammar.y:
13661 * gst/parse/parse.l:
13662 Remove some dead code shown by the coverage information.
13663 Don't throw a critical g_warning when encountering a syntax error,
13664 just warn and let the normal error path handle it.
13666 * plugins/elements/gstelements.c:
13667 Bump the rank of filesink up to PRIMARY so that it is preferred over
13668 gnomevfssink for file:// sink uri's
13670 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13671 (GST_START_TEST), (run_delayed_test),
13672 (gst_parse_test_element_base_init),
13673 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13674 (gst_parse_test_element_change_state),
13675 (gst_register_parse_element), (parse_suite):
13676 Beef up the tests for parse syntax to check that more error cases
13677 fail as they are supposed to. Increases the test coverage a bit.
13679 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13681 * docs/manual/basics-elements.xml:
13682 Fix gst_element_link() example.
13685 Mention in API docs that one should usually gst_bin_add()
13686 elements to a bin or pipeline before doing the linking.
13688 2006-07-26 Wim Taymans <wim@fluendo.com>
13690 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13691 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13692 Avoid function call for known types by keeping the buffer and
13693 subbuffer GType global.
13695 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13696 Random silly optimisations in read() path.
13698 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13700 * tools/gst-launch.c: (main):
13701 If the top-level of the parse is a normal bin, it doesn't do the
13702 right logic to run as a top-level element, so place it inside a
13705 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13707 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13708 Remove superfluous g_object_notify() calls, GObject does
13709 that for us automatically.
13711 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13714 on Win32, use dllspec to export the debug category symbols
13716 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13718 * gst/gsttaglist.c: (_gst_tag_initialize):
13719 Allow more than one GST_TAG_IMAGE per taglist.
13721 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13723 * gst/gstminiobject.c:
13725 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13726 (gst_fd_src_create):
13727 log recurring events at LOG level
13728 add more debug for when the fd gets set
13730 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13732 * gst/gstparse.c: (gst_parse_launch):
13733 Also remove reentrance checks if flex is MT safe (#348179)
13734 Fix my empty ChangeLog entry below
13736 2006-07-21 Andy Wingo <wingo@pobox.com>
13738 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13740 * libs/gst/check/Makefile.am
13741 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13742 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13743 * libs/gst/check/gstbufferstraw.h:
13744 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13745 functions, thus proving I am still a GStreamer haxor. OK I wrote
13746 them a long time ago, but anyways.
13748 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13751 * gst/gstparse.c: (gst_parse_launch):
13752 Check for flex version and omit mutex if we have a MT save flex
13755 2006-07-21 Wim Taymans <wim@fluendo.com>
13757 * gst/gstparse.c: (gst_parse_launch):
13758 Protect recursive calls to _parse with a recursive mutex
13761 2006-07-21 Wim Taymans <wim@fluendo.com>
13763 * tests/check/gst/gstpad.c: (GST_START_TEST):
13766 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13768 * gst/gstparse.c: (gst_parse_launch):
13769 Do not hang on recursive usage of gst_parse_launch()
13771 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13773 * gst/gsttaglist.c:
13774 Add some more docs, comments and FIXME 0.11s here and there
13775 and also fix some typos.
13777 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13779 * gst/gstsegment.h:
13780 Convert tabs to spaces for better readability.
13782 2006-07-20 Edward Hervey <edward@fluendo.com>
13784 * tests/check/libs/gdp.c: (gst_dp_suite):
13785 the test_buffer test fails at line 140 on ppc64 at the following
13787 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13788 GST_BUFFER_FLAG_IN_CAPS),
13789 "GST_BUFFER_IN_CAPS flag should have been copied !");
13790 See bug #348114 for more details.
13792 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13794 * docs/pwg/advanced-scheduling.xml:
13796 Fix typos (#348000).
13798 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13800 * docs/pwg/intro-basics.xml:
13801 Fix wrong links (#347927).
13803 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13805 * gst/gstregistry.h:
13806 * gst/gstregistryxml.c: (load_feature),
13807 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13808 * win32/common/config.h:
13809 make --disable-index work (#342564)
13811 2006-07-18 Wim Taymans <wim@fluendo.com>
13813 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13817 The attached patch adds two missing defines to gsttrace.h when tracing
13818 is disabled. It also corrects one existing define.
13821 2006-07-17 Wim Taymans <wim@fluendo.com>
13823 * docs/gst/gstreamer-sections.txt:
13824 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13826 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13827 Add two functions to check and change the SIGSEGV behaviour
13828 when loading plugins.
13829 Don't mess with the SIGSEGV handler when we were told not to.
13831 API: gst_segtrap_is_enabled
13832 API: gst_segtrap_set_enabled
13834 2006-07-14 Wim Taymans <wim@fluendo.com>
13836 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13837 * tests/check/elements/filesrc.c: (GST_START_TEST):
13838 Revert fix for regression in #347408 after release.
13840 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13842 Patch by: Antoine Tremblay <hexa00 at gmail com>
13844 * gst/gstutils.c: (gst_element_unlink):
13845 Free iterator when done (#347311).
13847 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13848 And add a test case for this.
13850 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13853 Bump nano back to CVS
13855 === release 0.10.9 ===
13857 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13860 releasing 0.10.9, "On the road again"
13862 2006-07-13 Wim Taymans <wim@fluendo.com>
13864 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13865 * tests/check/elements/filesrc.c: (GST_START_TEST):
13866 Revert pull-0 fix for release. Disable check. Fixes #347408.
13868 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13870 * libs/gst/dataprotocol/dataprotocol.c:
13871 (gst_dp_event_from_packet_1_0):
13872 Fixes #347337: failure to deserialize event packets with
13873 empty payload (only event type)
13875 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13878 do not install a .c file in the header directory
13880 2006-07-13 Edward Hervey <edward@fluendo.com>
13882 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13883 GhostPad no longer implicitely use the padtemplates of the targets.
13886 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13888 * gst/gstvalue.c: (gst_value_compare_list),
13889 (gst_value_compare_array), (_gst_value_initialize):
13890 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13891 Make GstValueArray comparison be order dependent as designed.
13892 Add checks for value lists and value array comparisons.
13895 2006-07-11 Edward Hervey <edward@fluendo.com>
13897 * gst/gstbin.c: (activate_pads),
13898 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13899 (gst_bin_change_state_func):
13900 (de)activate src pads before calling state_change on the childs.
13901 This is to avoid the case where a src ghostpad is blocked (holding the
13902 stream lock), which would block the deactivation of the ghostpad's
13904 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13905 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13906 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13907 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13908 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13909 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13910 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13911 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13912 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13913 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13914 (gst_ghost_pad_class_init),
13915 (gst_ghost_pad_internal_do_activate_push),
13916 (gst_ghost_pad_internal_do_activate_pull),
13917 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13918 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13919 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13920 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13921 GhostPads now create their internal GstProxyPad at creation (and not
13922 when they're linked, as it was being done previously).
13923 The internal and target pads are linked straight away.
13924 The data will also travel through the other pad in order to make
13925 pad blocking and probes non-hackish (the probe/block now really happens
13926 on the GhostPad and not on the target).
13927 * gst/gstpad.c: (gst_pad_set_blocked_async),
13928 (gst_pad_link_prepare), (gst_pad_push_event):
13929 Remove previous ghostpad cruft.
13930 * gst/gstutils.c: (gst_pad_add_data_probe),
13931 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13932 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13933 (gst_pad_remove_buffer_probe):
13934 Remove previous ghost pad cruft.
13935 Added more detailed debug statements.
13936 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13937 Fix the testsuite for refcounting changes.
13938 The comments about who has references were correct, but the refcount
13939 being checked wasn't the same (!?!).
13943 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13945 * docs/gst/gstreamer-sections.txt:
13946 * gst/gstconfig.h.in:
13947 More docs for configuration options, add docs to gtk-doc.
13949 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13952 * gst/gstconfig.h.in:
13953 * win32/common/config.h:
13954 Fix build when disabling tracing (fixes #344016). Also start to document
13955 the defines that disable the sub-systems.
13957 2006-07-10 Edward Hervey <edward@fluendo.com>
13959 * gst/gst.c: (ensure_current_registry_forking):
13960 let's make valgrind happy...
13962 2006-07-09 Wim Taymans <wim@fluendo.com>
13964 * gst/gstelement.c: (activate_pads),
13965 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13966 Better pad activation code: Reset the collect value too on resync.
13969 2006-07-09 Wim Taymans <wim@fluendo.com>
13971 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13972 (gst_pad_activate_push):
13973 Use some more macros where it makes sense.
13974 Allow pad mode switching instead of asserting. When a pad
13975 is activated in one mode and we activate it in another,
13976 deactivate it first before activating it in a different mode.
13979 2006-07-08 Andy Wingo <wingo@pobox.com>
13981 * tools/gst-launch.c (main): Handle err == NULL.
13983 * gst/gst.c (init_post, ensure_current_registry)
13984 (ensure_current_registry_forking)
13985 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13986 factoring out the registry scanning into separate functions. Don't
13987 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13988 Better environment var name/interface suggestions accepted.
13990 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13992 * gst/gstobject.c: (gst_object_set_name_default),
13993 (gst_object_set_name):
13994 Random micro-optimisation: don't use a hash table
13995 with strings as keys and the usual strdup/strcmp
13996 involved, but rather just use the GQuark of the
13997 type name as key, since it needs to be looked up
13998 anyway to get the type name string.
14000 * tests/check/gst/gstobject.c: (GST_START_TEST):
14003 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14005 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14006 (gst_bin_iterate_all_by_interface):
14007 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14008 GTypes are gulongs and thus the top 4 bytes might be cut
14009 off on some platforms when doing GPOINTER_TO_INT, leading
14010 to invalid GTypes and bad things happening (see RH bug #179654).
14011 Also add a check to make sure the type passed in is really
14014 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14019 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14023 * gst-element-check.m4:
14024 * gst-element-check.m4.in:
14025 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14026 instead of the unversioned gst-inspect (#324176, #168659).
14028 2006-07-06 Wim Taymans <wim@fluendo.com>
14030 * gst/gstmessage.h:
14031 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14034 2006-07-06 Wim Taymans <wim@fluendo.com>
14036 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14037 (gst_base_src_wait), (gst_base_src_update_length),
14038 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14039 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14040 (gst_base_src_loop), (gst_base_src_start),
14041 (gst_base_src_activate_pull):
14043 blocksize == 0 now means the default blocksize when working in push
14045 Remove some pointless asserts in _wait function.
14046 Fix offset/length calculations and EOS handling. We can now pull 0
14047 bytes as well, which is allowed.
14048 use _check_get_range() to decide if we can operate in _pull based
14050 Fix refcounting leak when check_get_range function was not
14052 API GstBaseSrc::blocksize range can be 0 too now (default)
14054 * tests/check/elements/filesrc.c: (GST_START_TEST),
14056 Added check to test _get_range() behaviour.
14058 2006-07-06 Wim Taymans <wim@fluendo.com>
14060 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14061 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14062 (gst_pad_pull_range):
14064 Lots of comments and docs added to the pad functions.
14065 Flesh out the expected behaviour of the get_range() functions.
14067 2006-07-06 Wim Taymans <wim@fluendo.com>
14072 * gst/gstiterator.h:
14076 Remove comma at end of enumerator list.
14078 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14080 * win32/common/libgstbase.def:
14081 * win32/common/libgstdataprotocol.def:
14082 * win32/common/libsgtreamer.def:
14083 Add new exported functions.
14085 2006-07-05 Wim Taymans <wim@fluendo.com>
14087 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14088 Add some more docs here and there.
14090 2006-07-05 Wim Taymans <wim@fluendo.com>
14092 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14093 (gst_base_sink_loop), (gst_base_sink_get_position):
14094 When operating in pull mode update the offset so that we
14097 2006-07-05 Wim Taymans <wim@fluendo.com>
14099 * gst/gstregistryxml.c: (read_string):
14100 Avoid strdup. (will happen in libxml, but hey!)
14103 Add some more docs.
14105 2006-07-05 Wim Taymans <wim@fluendo.com>
14107 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14108 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14109 (gst_buffer_suite):
14110 No point in checking if the size of the subbuffer > 0, the
14111 code handles it correclty as demonstrated by unit test.
14112 Also add a unit test for the zero sized _new_and_alloc and
14113 _copy. Fixes #346663.
14115 2006-07-05 Wim Taymans <wim@fluendo.com>
14117 * libs/gst/base/gstbasetransform.c:
14118 (gst_base_transform_prepare_output_buffer),
14119 (gst_base_transform_buffer_alloc),
14120 (gst_base_transform_handle_buffer):
14121 Make sure the buffer we pass to transform_ip has a refcount of
14122 1 and thus is writable. Fixes #343196
14124 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14126 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14127 (gst_file_src_init), (gst_file_src_set_property),
14128 (gst_file_src_get_property), (gst_file_src_map_region):
14129 * plugins/elements/gstfilesrc.h:
14130 Add "sequential" property, off by default, to use madvise and hint
14131 to the kernel that sequential access is desired.
14132 Touch all retrieved pages by default to ensure they are pulled
14133 into memory. (Closes #345720)
14135 2006-07-03 Wim Taymans <wim@fluendo.com>
14137 * docs/design/part-block.txt:
14138 * docs/design/part-dynamic.txt:
14139 Small docs updates.
14141 2006-07-03 Wim Taymans <wim@fluendo.com>
14143 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14144 (gst_caps_unref), (gst_static_caps_get),
14145 (gst_caps_append_structure):
14146 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14147 Use GSlice when the glib we build against is >= 2.10
14149 2006-07-03 Wim Taymans <wim@fluendo.com>
14151 * gst/gstelement.c: (gst_element_pads_activate):
14152 Small cleanup in pad activation code.
14154 2006-07-03 Wim Taymans <wim@fluendo.com>
14156 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14158 * gst/gst-i18n-app.h:
14159 * gst/gst-i18n-lib.h:
14160 * tools/gst-inspect.c: (print_signal_info):
14161 The attached patch will make the inclusion of gettext.h unconditional in
14162 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14163 libintl.h in tools/gst-inspect.c.
14164 This allows use of --disable-nls again and fixes #344642.
14166 2006-07-03 Edward Hervey <edward@fluendo.com>
14168 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14169 Implement pad blocking on events according to part-block.txt.
14170 More comments on behaviour.
14171 * tests/check/gst/gstevent.c: (test_event):
14172 Send event to peer pad of blocked pad (else it will block).
14174 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14176 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14177 (gst_check_run_suite):
14178 if we get the wrong message, give us the types as string
14179 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14181 * tests/check/elements/filesrc.c: (GST_START_TEST):
14182 add a test for trying to open a non-existing file
14184 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14186 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14187 add a test for adding self
14189 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14191 * libs/gst/check/gstcheck.h:
14192 add some assert_ as alias for fail_unless_*
14193 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14194 increase test coverage
14196 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14199 include lcov.mak for lcov coverage generation
14200 * tools/Makefile.am:
14203 2006-07-02 Edward Hervey <edward@fluendo.com>
14205 * tests/check/elements/.cvsignore:
14208 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14211 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14212 * tests/check/Makefile.am:
14213 clean up gcov files
14215 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14217 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14218 remove gst_caps_simplify; it was not declared and not used
14219 and deprecated in 0.8
14221 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14223 * docs/faq/gst-uninstalled:
14224 don't put empty paths on PYTHONPATH
14225 * docs/gst/gstreamer-sections.txt:
14226 remove some symbols that are not there
14228 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14230 * gst/gstcaps.c: (gst_caps_compare_structures):
14232 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14233 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14236 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14238 * libs/gst/dataprotocol/Makefile.am:
14239 build dataprotocol test by linking to the lib, instead of
14240 compiling the source, so we get coverage
14241 * tests/check/Makefile.am:
14242 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14243 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14244 add a test for filesrc
14246 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14248 * tests/check/gst/gststructure.c: (GST_START_TEST),
14249 (gst_structure_suite):
14250 Push coverage from 59.04% to 70.00%
14252 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14254 * tests/check/Makefile.am:
14255 gst-inspect every element; this makes sure that we also get
14256 coverage on element's get/set functions
14258 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14261 set CFLAGS and friends to -O0 if gcov is being used
14264 * libs/gst/base/Makefile.am:
14265 * libs/gst/check/Makefile.am:
14266 * libs/gst/controller/Makefile.am:
14267 * libs/gst/dataprotocol/Makefile.am:
14268 * libs/gst/net/Makefile.am:
14269 * plugins/elements/Makefile.am:
14270 * plugins/indexers/Makefile.am:
14271 add makefile rules to generate gcov data and clean up
14272 * tests/check/Makefile.am:
14273 add a coverage target that generates an html overview
14276 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14278 * tests/check/elements/fakesink.c:
14279 * tests/check/elements/fakesrc.c:
14280 * tests/check/elements/fdsrc.c:
14281 * tests/check/elements/identity.c:
14282 * tests/check/generic/sinks.c: (gst_sinks_suite):
14283 * tests/check/generic/states.c:
14284 * tests/check/gst/gst.c:
14285 * tests/check/gst/gstabi.c:
14286 * tests/check/gst/gstbin.c:
14287 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14288 * tests/check/gst/gstbus.c: (gst_bus_suite):
14289 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14290 * tests/check/gst/gstelement.c:
14291 * tests/check/gst/gstevent.c: (gst_event_suite):
14292 * tests/check/gst/gstghostpad.c:
14293 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14294 * tests/check/gst/gstmessage.c: (gst_message_suite):
14295 * tests/check/gst/gstminiobject.c:
14296 * tests/check/gst/gstobject.c:
14297 * tests/check/gst/gstpad.c:
14298 * tests/check/gst/gstpipeline.c:
14299 * tests/check/gst/gstplugin.c:
14300 * tests/check/gst/gstquery.c: (gst_query_suite):
14301 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14302 * tests/check/gst/gststructure.c:
14303 * tests/check/gst/gstsystemclock.c:
14304 * tests/check/gst/gsttag.c:
14305 * tests/check/gst/gsttask.c: (gst_task_suite):
14306 * tests/check/gst/gstutils.c:
14307 * tests/check/gst/gstvalue.c:
14308 * tests/check/libs/adapter.c:
14309 * tests/check/libs/basesrc.c:
14310 * tests/check/libs/collectpads.c:
14311 * tests/check/libs/controller.c:
14312 * tests/check/libs/gdp.c: (gst_dp_suite):
14313 * tests/check/libs/gstnetclientclock.c:
14314 * tests/check/libs/gstnettimeprovider.c:
14315 * tests/check/libs/libsabi.c: (libsabi_suite):
14316 * tests/check/libs/typefindhelper.c:
14317 * tests/check/pipelines/cleanup.c:
14318 * tests/check/pipelines/parse-launch.c:
14319 * tests/check/pipelines/simple-launch-lines.c:
14320 * tests/check/pipelines/stress.c: (stress_suite):
14323 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14325 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14326 * libs/gst/check/gstcheck.h:
14327 create a macro and function so that the simple unit test
14328 case can be just one macro to create main()
14330 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14332 * gst/gstbin.c: (gst_bin_restore_thyself):
14333 * gst/gstxml.c: (gst_xml_make_element):
14334 Fix deserialisation from XML. Set parent manually
14335 instead of using gst_bin_add(), since gst_bin_add()
14336 will unlink all pads of the element being added.
14339 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14341 Patch by: Peter Kjellerstedt <pkj at axis com>
14343 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14344 Fix missing g_strdup() and double free when using the
14345 --gst-plugin-load command line option (#346097).
14347 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14350 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14352 * libs/gst/net/gstnetclientclock.c:
14353 * libs/gst/net/gstnettimeprovider.c:
14354 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14356 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14358 * docs/manual/advanced-dataaccess.xml:
14359 Fix buffer probe example compilation in
14362 2006-06-22 Edward Hervey <edward@fluendo.com>
14364 * gst/gstelement.c: (gst_element_pads_activate):
14365 We need to deactivate src pads first and then sink pads.
14366 The reason is the src pads might be blocking while holding the streaming
14367 lock, so we need to deactivate them first so that deactivating the sink
14368 pads doesn't block (since it will require the streaming lock).
14370 2006-06-22 Wim Taymans <wim@fluendo.com>
14372 * libs/gst/base/gstbasetransform.c:
14373 (gst_base_transform_buffer_alloc):
14374 Forgot to remove two unneeded unrefs.
14375 Simplify a check _is_equal allready checks the obvious case.
14377 2006-06-22 Wim Taymans <wim@fluendo.com>
14379 * docs/design/part-block.txt:
14380 Some docs about what pad_block should do.
14382 2006-06-22 Wim Taymans <wim@fluendo.com>
14384 * gst/gstcaps.c: (gst_caps_replace):
14385 Fix crasher when passed NULL. Doc clarification.
14386 Optimize for the trivial case.
14388 * gst/gstpipeline.c: (gst_pipeline_change_state):
14391 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14392 Small documentation cleanup.
14394 * libs/gst/base/gstbasetransform.c:
14395 (gst_base_transform_buffer_alloc):
14396 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14397 is what we need and it avoids a whole lot of redundant
14398 refcount operations.
14400 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14402 Patch by: Philip Jägenstedt <philip at lysator liu se>
14404 * docs/manual/advanced-dataaccess.xml:
14405 Fix 'Embedding static elements' section to use
14406 GST_PLUGIN_DEFINE_STATIC (#345607).
14408 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14410 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14411 Attempt to 'fix' spuriously failing test case: it seems like the
14412 timeout of half a second is simply too small when the system is under
14413 load otherwise, and the timeout doesn't really seem to serve any
14414 particular purpose here. Give the pipeline a few seconds to preroll
14415 first, and then give it another half a second to go from PAUSED to
14416 PLAYING and marshal the message into the main thread.
14418 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14420 * tools/gst-feedback-m.m:
14421 Don't only use unversioned tools, try versioned tools as well
14424 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14426 * gst/gstbus.c: (gst_bus_class_init):
14427 Fix some typos, make docs more explicit.
14429 2006-06-20 Wim Taymans <wim@fluendo.com>
14431 * tests/check/gst/gstghostpad.c: (block_callback),
14432 (GST_START_TEST), (gst_ghost_pad_suite):
14433 Added some more ghostpad tests, mainly blocking
14436 2006-06-16 Wim Taymans <wim@fluendo.com>
14438 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14439 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14440 (gst_file_sink_event), (gst_file_sink_render):
14441 * plugins/elements/gstfilesink.h:
14442 Check if we can seek in the file instead of assuming
14443 we always can. Post an error when we are asked to seek in a
14444 non-seekable file (like a fifo). Fixes #343312.
14447 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14449 * tools/gst-launch.1.in:
14450 Un-garble (fourcc) bit in filtered caps section.
14452 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14454 * docs/manual/advanced-autoplugging.xml:
14455 * docs/manual/basics-helloworld.xml:
14456 * docs/manual/highlevel-components.xml:
14457 Don't leak bus reference in sample code.
14459 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14462 Add default for new --enable-plugin-docs switch.
14465 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14468 * docs/Makefile.am:
14469 Use new ENABLE_PLUGIN_DOCS conditional.
14471 2006-06-14 Wim Taymans <wim@fluendo.com>
14473 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14474 Make it clear with a FIXME and a real define what the #if 0
14475 previously disabled.
14477 2006-06-14 Wim Taymans <wim@fluendo.com>
14479 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14480 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14481 * libs/gst/base/gstbasetransform.c:
14482 (gst_base_transform_sink_eventfunc):
14483 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14484 Don't randomly and silently reset a segment when the format
14485 changes as this is a bug somewhere upstream. Fixes #330379.
14487 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14489 Patch by: Wouter Paesen <wouter at kangaroot net>
14491 * libs/gst/controller/gstcontroller.c:
14492 (gst_controlled_property_new):
14493 Fix controlling of float properties (#344849).
14495 * tests/check/libs/controller.c:
14496 (gst_test_mono_source_get_property),
14497 (gst_test_mono_source_set_property),
14498 (gst_test_mono_source_class_init), (GST_START_TEST):
14499 While we're at it, add some float stuff to unit test.
14501 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14504 * docs/images/gdp-header.svg:
14506 * docs/libs/Makefile.am:
14507 * docs/libs/gdp-header.png:
14508 * libs/gst/dataprotocol/dataprotocol.c:
14509 add it to the API docs
14510 * docs/manual/intro-motivation.xml:
14513 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14515 * gst/gst.c: (scan_and_update_registry), (init_post):
14516 If the fork()'ed child process can't write the updated registry cache
14517 file to disk for some reason, make it exit with a failure exit code,
14518 so that the parent can then re-scan the plugins itself and update the
14519 registry structures in memory and work with that (rather than failing
14520 when creating elements because seemingly no plugins are available).
14521 Refactor registry scanning code into separate function for this and
14522 also separate fork() and non-fork() code paths. Fixes #344748.
14524 2006-06-13 Wim Taymans <wim@fluendo.com>
14526 * docs/manual/advanced-dataaccess.xml:
14527 Fix wrong PluginDesc. Fixes #344755.
14529 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14531 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14532 Fix silly bug that prevented us from creating
14533 ~/.gstreamer-0.10 and writing the registry in one
14534 go (the first call to g_mkstemp() would overwrite the
14535 placeholder in the template string, so the second call
14536 to g_mkstemp() after creating the missing directory
14537 would then error out with 'invalid argument').
14539 2006-06-13 Edward Hervey <edward@fluendo.com>
14541 * gst/gst.c: (init_post):
14544 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14546 * gst/glib-compat-private.h:
14547 * gst/glib-compat.c:
14548 * gst/glib-compat.h:
14549 * gst/gstvalue.c: (gst_value_serialize_flags):
14550 remove GLib 2.6 compatibility code
14552 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14554 * gst/parse/Makefile.am:
14555 Fix build with 'make -j N' even more (#340016).
14557 2006-06-12 Wim Taymans <wim@fluendo.com>
14559 * docs/gst/gstreamer-sections.txt:
14562 2006-06-12 Wim Taymans <wim@fluendo.com>
14564 * gst/gstsegment.c: (gst_segment_set_duration),
14565 (gst_segment_set_last_stop), (gst_segment_set_seek),
14566 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14567 (gst_segment_to_running_time), (gst_segment_clip):
14568 Use G_UNLIKELY to help the compiler a bit.
14570 2006-06-12 Wim Taymans <wim@fluendo.com>
14572 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14574 * gst/gstevent.c: (gst_event_get_type):
14575 * gst/gstmessage.c:
14576 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14578 constify quark registration strings. Fixes #344115
14579 Avoid unneeded type checking is _pad_push() by internally
14580 calling gst_pad_chain_unchecked().
14582 2006-06-12 Wim Taymans <wim@fluendo.com>
14584 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14585 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14586 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14587 (gst_buffer_is_span_fast), (gst_buffer_span):
14588 Init _type for consistency.
14589 Use _FLAGS macro to avoid type check.
14590 Avoid unneeded type checks in subbufer code.
14592 2006-06-12 Wim Taymans <wim@fluendo.com>
14594 * gst/gst.c: (gst_debug_help):
14595 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14596 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14597 (gst_plugin_feature_list_free):
14598 * gst/gstregistry.c: (gst_registry_add_plugin),
14599 (gst_registry_add_feature), (gst_registry_plugin_filter),
14600 (gst_registry_feature_filter), (gst_registry_find_plugin),
14601 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14602 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14603 * gst/gstregistryxml.c: (load_feature),
14604 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14605 * gst/gstminiobject.c: (gst_mini_object_unref),
14606 (gst_mini_object_replace), (gst_value_mini_object_free),
14607 (gst_value_mini_object_copy):
14608 Use _CAST macros to avoid unneeded type checking.
14609 Added some more G_UNLIKELY.
14611 2006-06-12 Wim Taymans <wim@fluendo.com>
14614 Avoid unneeded type checking.
14615 API: GST_BUFFER_IS_DISCONT
14617 * gst/gstminiobject.h:
14618 Avoid type check in flag accessor.
14620 * gst/gstelementfactory.h:
14622 * gst/gstpluginfeature.h:
14624 API: GST_ELEMENT_FACTORY_CAST
14625 API: GST_PLUGIN_CAST
14626 API: GST_PLUGIN_FEATURE_CAST
14628 2006-06-12 Wim Taymans <wim@fluendo.com>
14630 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14631 (gst_object_unref):
14632 Add G_UNLIKELY in type registration.
14633 Avoid type check in _ref/_unref since that is also
14636 2006-06-12 Wim Taymans <wim@fluendo.com>
14638 * gst/gsterror.c: (gst_g_error_get_type):
14639 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14640 (gst_static_pad_template_get_type):
14641 * gst/gsttaglist.c: (gst_tag_list_get_type):
14642 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14643 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14644 * gst/gsturi.c: (gst_uri_handler_get_type):
14645 * gst/gstvalue.c: (gst_date_get_type):
14646 * gst/gstxml.c: (gst_xml_get_type):
14647 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14648 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14649 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14650 Add G_UNLIKELY in type registration.
14652 2006-06-12 Wim Taymans <wim@fluendo.com>
14654 * tools/gst-inspect.c: (print_signal_info):
14655 Properly print enum values.
14657 2006-06-12 Wim Taymans <wim@fluendo.com>
14659 * gst/gstinfo.c: (gst_debug_set_active),
14660 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14662 Add some G_[UN]LIKELY.
14663 Maintain __gst_debug_min to avoid formatting the arguments of
14664 debug messages that will be dropped anyway to avoid a lot of
14665 overhead from the debugging system.
14667 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14670 * po/POTFILES.skip:
14671 add missing files containing translatable strings, tell intltool about
14674 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14676 * tests/check/libs/.cvsignore:
14677 add test-binary to ignore list
14679 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14681 * docs/libs/gstreamer-libs-docs.sgml:
14682 reorder (put dp into a chapter) and indent
14684 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14689 === release 0.10.8 ===
14691 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14694 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14696 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14698 * gst/gst.c: (init_post):
14699 move pid declaration to declaration block
14701 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14703 * gst/gst.c: (init_post):
14704 use _exit() instead of exit() in our forked child; this ensures
14705 that none of the registered exit handlers from whatever is using
14706 GStreamer get executed. This fixes gnome-mixer-applet failing
14707 to load, because ORBit would shut down.
14708 Spotted by: Edward Hervey <edward@fluendo.com>
14709 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14712 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14717 === release 0.10.7 ===
14719 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14722 releasing 0.10.7, "Soepeke, ik zie ou"
14724 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14747 * win32/common/config.h:
14748 0.10.6.2 prerelease
14750 2006-06-07 Wim Taymans <wim@fluendo.com>
14752 * gst/gstindex.c: (gst_index_gtype_resolver):
14753 * tools/gst-xmlinspect.c: (print_plugin_info):
14754 Fix leak spotted by coverity checker. Fixes #343827
14755 Fix another other leak found by paolo borelli.
14757 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14759 * libs/gst/dataprotocol/dataprotocol.c:
14760 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14761 (gst_dp_version_get_type), (gst_dp_init),
14762 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14763 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14764 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14765 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14766 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14767 (gst_dp_packetizer_free):
14768 * libs/gst/dataprotocol/dataprotocol.h:
14769 API: add a GstDPPacketizer object, and create/free functions
14770 API: add GstDPVersion enum
14771 Add 1.0 event function that uses the string serialization
14772 Serialize more useful buffer flags
14775 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14777 * tests/check/Makefile.am:
14778 * tests/check/gst/gstabi.c:
14779 * tests/check/gst/struct_ppc64.h:
14780 * tests/check/libs/libsabi.c:
14781 * tests/check/libs/struct_ppc64.h:
14782 add ppc64 structure sizes
14784 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14786 * tests/check/Makefile.am:
14787 * tests/check/gst/gstabi.c:
14788 * tests/check/gst/struct_x86_64.h:
14789 * tests/check/libs/libsabi.c:
14790 * tests/check/libs/struct_x86_64.h:
14791 generate and add structure size lists for x86_64
14793 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14795 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14796 * libs/gst/check/gstcheck.h:
14797 factor out the method from tests that checks size of structures,
14798 and add code to generate the header containing these sizes
14799 * tests/check/gst/gstabi.c: (GST_START_TEST):
14800 * tests/check/gst/struct_i386.h:
14801 * tests/check/libs/libsabi.c: (GST_START_TEST):
14802 * tests/check/libs/struct_i386.h:
14805 2006-06-06 Michael Smith <msmith@fluendo.com>
14807 * gst/gstsegment.h:
14808 Don't use c++-style comments, fixes #343929
14810 2006-06-05 Edward Hervey <edward@fluendo.com>
14813 plugin_paths is not used if we build without registry support.
14815 * gst/gstsegment.c: (gst_segment_copy):
14816 _copy() was always returning NULL...
14818 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14820 * libs/gst/dataprotocol/dataprotocol.c:
14821 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14822 (gst_dp_packet_from_event):
14823 factor out CRC code
14825 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14827 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14828 make sure we unset caps
14830 2006-06-02 Michael Smith <msmith@fluendo.com>
14832 * libs/gst/check/gstcheck.c: (gst_check_init),
14833 (gst_check_chain_func):
14834 * libs/gst/check/gstcheck.h:
14835 Add a cond/mutex to the check support lib, signal this whenever we
14836 add to the buffers list. This will allow tests to not busy-wait on
14839 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14841 * libs/gst/dataprotocol/dataprotocol.c:
14842 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14843 (gst_dp_packet_from_event):
14844 factor out some common header init code
14846 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14848 * docs/libs/gstreamer-libs-sections.txt:
14849 * docs/libs/tmpl/gstdataprotocol.sgml:
14850 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14851 * libs/gst/dataprotocol/dataprotocol.h:
14852 API: make gst_dp_crc() public
14854 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14856 * plugins/indexers/gstindexers.c: (plugin_init):
14857 conditionally register fileindexer (fixes #343598)
14859 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14861 * gst/gsttagsetter.h:
14862 Can't cast ifaces to a class
14864 * libs/gst/net/gstnetclientclock.h:
14865 * libs/gst/net/gstnettimeprovider.h:
14866 * plugins/elements/gstfakesink.h:
14867 * plugins/elements/gstfakesrc.h:
14868 * plugins/elements/gstfdsink.h:
14869 * plugins/elements/gstfdsrc.h:
14870 * plugins/elements/gstfilesink.h:
14871 * plugins/elements/gstfilesrc.h:
14872 * plugins/elements/gstidentity.h:
14873 * plugins/elements/gstqueue.h:
14874 * plugins/elements/gsttee.h:
14875 * plugins/indexers/gstfileindex.c:
14876 * plugins/indexers/gstmemindex.c:
14877 * tests/old/examples/plugins/example.h:
14878 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14880 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14882 * libs/gst/dataprotocol/dataprotocol.c:
14883 (gst_dp_header_from_buffer):
14884 make sure we zero the whole ABI-compatible area
14886 2006-06-01 Wim Taymans <wim@fluendo.com>
14888 Patch by: Alessandro Decina <alessandro at nnva dot org>
14890 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14891 Make sure the EOS flag is cleared from pads after a flush
14892 or stop. Fixes #343538.
14894 * tests/check/libs/collectpads.c: (GST_START_TEST),
14895 (gst_collect_pads_suite):
14896 Added test for collectpads reusage after EOS.
14898 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14901 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14902 * win32/common/libgstbase.def:
14903 export gst_collect_pads_set_flushing
14904 * win32/common/libgstreamer.def:
14905 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14906 gst_value_fraction_multiply
14907 * win32/vs6/gst_inspect.dsp:
14908 add a link to intl.lib
14910 2006-05-30 Wim Taymans <wim@fluendo.com>
14912 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14913 (gst_collect_pads_chain):
14914 Handle the case where a pad is removed from the collection
14915 that could cause the other pads to become collectable.
14917 2006-05-30 Wim Taymans <wim@fluendo.com>
14919 * gst/gstelement.c:
14920 Clarify the use of _release_request_pad() and
14921 _get_request_pad() a bit better.
14923 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14924 (gst_adapter_take_buffer):
14925 Fix some doc and comment typos.
14927 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14929 * docs/gst/gstreamer-sections.txt:
14930 * docs/libs/gstreamer-libs-sections.txt:
14931 add declared symbols
14933 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14935 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14936 Add debug that can be enabled using a #define at the top of the file,
14937 for dumping stats about how late/early we were when waking up from
14938 waiting on the clock.
14940 2006-05-30 Wim Taymans <wim@fluendo.com>
14942 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14943 When rebuilding the pad list, don't leak the previous list.
14945 2006-05-30 Wim Taymans <wim@fluendo.com>
14947 Patch by: Lutz Mueller <lutz at topfrose dot de>
14949 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14950 (gst_base_src_get_query_types), (gst_base_src_update_length):
14951 Publish supported query types.
14952 Update last_stop field in get_range mode so the position
14953 query works. Fixes #342321.
14955 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14957 * docs/gst/gstreamer-sections.txt:
14958 * gst/gsttaglist.c: (_gst_tag_initialize):
14959 * gst/gsttaglist.h:
14960 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14962 2006-05-30 Wim Taymans <wim@fluendo.com>
14964 Patch by: Alessandro Decina <alessandro at nnva dot org>
14966 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14967 Unlock mutex when removing an unknown pad.
14970 * tests/check/Makefile.am:
14971 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14972 (push_event), (setup), (teardown), (GST_START_TEST),
14973 (gst_collect_pads_suite), (main):
14974 Added collecpads check, disabled for now as check crashes for
14977 2006-05-29 Wim Taymans <wim@fluendo.com>
14979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14980 Don't leak pads lists.
14982 2006-05-29 Wim Taymans <wim@fluendo.com>
14984 * docs/libs/gstreamer-libs-sections.txt:
14985 * libs/gst/base/gstcollectpads.c:
14986 (gst_collect_pads_set_flushing_unlocked),
14987 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14988 (gst_collect_pads_stop):
14989 * libs/gst/base/gstcollectpads.h:
14990 API: gst_collect_pads_set_flushing()
14991 Added api to set the pads to flushing, useful for seeking
14992 code in elements using collectpads.
14993 Clear segment when receiving a flush.
14995 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14997 * gst/gst.c: (add_path_func), (init_post):
14998 Don't scan registry paths passed via --gst-plugin-path immediately
14999 (will crash, because absolutely nothing is set up and no types are
15000 registered etc.); do this later in init_post(). Fixes #343057.
15002 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15004 * gst/gst.c: (init_post):
15005 if we have fork, fork while reading/rebuilding the registry
15006 so the parent doesn't take the hit of having all plugins loaded
15007 in memory. Fixes #342777.
15009 Check if we have fork()
15010 * win32/common/config.h.in:
15013 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15015 * plugins/elements/gstelements.c:
15016 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15017 (gst_file_src_init), (gst_file_src_set_property),
15018 (gst_file_src_get_property), (gst_file_src_start):
15019 * plugins/elements/gstfilesrc.h:
15020 API: GstFileSrc::use-mmap
15022 Add a use-mmap property to enable easier testing of all code paths.
15023 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15024 in the absence of gnomevfssrc. (Closes #340501)
15026 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15028 * tools/gst-inspect.c:
15029 Add missing include, removes warning of ngettext not being defined on
15032 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15034 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15035 Handle NULL input and output pointers silently as a failed conversion,
15036 rather than g_warnings.
15038 2006-05-25 Wim Taymans <wim@fluendo.com>
15040 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15041 Initialize variable before using. Fixes #342820.
15043 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15045 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15046 Fix off-by-one bug that would only allow peeks of N-1 bytes
15047 from the start even if the buffer to typefind on contains
15048 in fact N bytes of data (makes vorbis typefinding from a
15049 vorbis identification header buffer work).
15051 * tests/check/Makefile.am:
15052 * tests/check/libs/.cvsignore:
15053 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15054 (gst_typefindhelper_suite), (main), (foobar_typefind),
15056 Add very basic unit test for gst_type_find_helper_for_buffer()
15057 that checks for the problem fixed above.
15059 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15061 * tools/gst-inspect.c: (print_interfaces),
15062 (print_element_properties_info), (print_element_list), (main):
15063 add more translatable strings
15065 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15067 Patch by: Julien Moutte <julien at moutte net>
15069 * docs/gst/gstreamer-sections.txt:
15070 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15072 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15073 (gst_fake_sink_preroll):
15074 * plugins/elements/gstfakesink.h:
15075 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15077 2006-05-23 Wim Taymans <wim@fluendo.com>
15079 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15081 Added _CUSTOM error and success GstFlowReturn that can be
15082 used be elements internally.
15083 Added macro to check for SUCCESS flowreturns.
15084 API: GST_FLOW_CUSTOM_SUCCESS
15085 API: GST_FLOW_CUSTOM_ERROR
15086 API: GST_FLOW_IS_SUCCESS
15088 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15089 Added check for GstFlowReturn sanity.
15091 2006-05-23 Wim Taymans <wim@fluendo.com>
15093 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15096 (gst_collect_pads_event):
15097 clear/reset segment info in FLUSH_STOP.
15100 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15103 (gst_collect_pads_check_collected):
15104 Flush queued buffer on _stop(), fixes playing again (#342454)
15106 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15108 * tests/check/gst/gststructure.c: (GST_START_TEST),
15109 (gst_structure_suite):
15110 add a test for a complete structure
15112 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15114 * docs/faq/developing.xml:
15115 * docs/faq/faq.xml:
15116 * docs/faq/troubleshooting.xml:
15117 * docs/faq/using.xml:
15118 Some minor FAQ updates that won't change the fact that
15119 our FAQ is badly structured, full of information hardly
15120 anyone new to GStreamer needs to know and lacking lots
15121 of information people constantly ask for.
15123 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15125 * gst/gstpad.c: (gst_pad_set_caps):
15126 Short-circuit gst_pad_set_caps if setting the existing
15127 caps pointer again, and avoid printing debug and
15128 reffing/unreffing the caps.
15130 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15131 There's actually no need to set the caps before pushing -
15132 the acceptcaps method will handle it anyway.
15134 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15136 * docs/gst/gstreamer-sections.txt:
15137 * win32/common/libgstreamer.def:
15138 * gst/gstutils.c: (gst_element_seek_simple):
15140 API: add gst_element_seek_simple() (#342238).
15142 2006-05-18 Edward Hervey <edward@fluendo.com>
15144 * gst/gsttypefind.c: (gst_type_find_get_type):
15145 * gst/gsttypefind.h:
15146 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15147 registered for GstTypeFind pointers. This allows wrapping the structure
15148 in bindings (i.e. gst-python).
15150 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15152 * gst/gsttagsetter.c:
15153 Docs additions and fixes (see #339918).
15155 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15157 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15158 The caps intersection algorithm can produce multiple copies of the
15159 caps. Until that is fixed, we need to simplify the result to be
15160 sure whether the allowed caps are fixed or not.
15162 * plugins/elements/gstqueue.c: (gst_queue_init),
15163 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15164 (gst_queue_push_one):
15165 Proxied buffer alloc should not set the caps on the source pad.
15166 When pushing buffers, we always accept the caps change that triggers.
15167 This prevents negotiation errors caused by caps changing mid-stream
15168 and then being refused on our source pad (because upstream is now
15169 refusing those caps).
15171 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15173 * tests/examples/helloworld/helloworld.c: (main):
15174 Must plug audioconvert and audioresample between decoder
15177 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15179 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15180 (load_feature), (load_plugin):
15181 Allow empty strings for some of the plugin fields so we don't
15182 drop valid plugin entries that were written out correctly
15185 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15187 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15188 Use g_remove and g_rename instead of remove and rename that don't
15189 handle utf8 characters. rename was failing for users who had specific
15190 characters in their name then the registry was built at each
15192 * win32/vs6/gst_inspect.dsp:
15193 * win32/vs6/gst_launch.dsp:
15194 * win32/vs6/libgstbase.dsp:
15195 * win32/vs6/libgstcoreelements.dsp:
15196 * win32/vs6/libgstreamer.dsp:
15197 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15198 build of libgstreamer and clean unused libraries in projects link
15201 2006-05-17 Edward Hervey <edward@fluendo.com>
15203 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15204 The queue is not responsible for pushing an EOS when receiving a fatal
15205 flow error. It's up to the real element driving the pipeline to do that.
15207 2006-05-16 Edward Hervey <edward@fluendo.com>
15209 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15210 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15211 buffer returned a fatal error. It should just send an EOS and stop
15213 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15214 when pushing buffers on the queue and will be able to handle the event.
15216 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15218 * docs/manual/basics-bins.xml:
15219 * docs/manual/basics-init.xml:
15220 Fix typos and minor errors in sample code (#341856).
15222 2006-05-16 Wim Taymans <wim@fluendo.com>
15224 * docs/design/part-qos.txt:
15225 Fix indexes in formulas to make more sense.
15227 2006-05-15 Wim Taymans <wim@fluendo.com>
15229 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15230 Don't report POSITION based on clock time if sync is
15231 disabled in a sink.
15233 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15236 Add cast to make compiler happy - refcount variable was a gint
15237 in GstObject but is a guint in GObject and g_atomic_int_get()
15240 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15242 * gst/parse/Makefile.am:
15243 chain commands using &&, which also makes parallel make work
15245 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15247 * docs/gst/gstreamer-sections.txt:
15250 * gst/gstmessage.h:
15253 === release 0.10.6 ===
15255 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15258 releasing 0.10.6, "Take the cannoli"
15260 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15262 * tools/gst-launch.c: (print_tag):
15263 Fix use of uninitialized variable in the hypothetical
15264 case that some broken plugin creates a GST_TAG_IMAGE
15265 tag containing a NULL buffer (#341667).
15267 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15269 * tools/gst-launch.c: (print_tag):
15270 Print something more intelligible for image tags when
15271 using the -t switch (#341556).
15273 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15278 define GST_MAJORMINOR so we have it available in win32/common/config.h
15279 Possibly remove it from our Makefile.am files later
15280 * win32/common/config.h:
15281 * win32/common/config.h.in:
15282 added GST_MAJORMINOR
15283 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15284 * win32/common/gstversion.h:
15287 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15290 Update win32 files listing.
15291 * win32/common/gstversion.h:
15292 Add GST_MAJORMINOR definition.
15293 * win32/common/libgstreamer.def:
15294 Add new exported functions.
15296 2006-05-12 Michael Smith <msmith@fluendo.com>
15298 * gst/gstplugin.c: (gst_plugin_load_file):
15299 If an so file has no plugin entry point, unload the module.
15301 2006-05-11 Wim Taymans <wim@fluendo.com>
15303 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15304 (gst_queue_set_property):
15305 Don't forget to signal the _chain or _loop function
15306 when the queue size or thresholds change since that might
15307 cause them to make progres again.
15309 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15311 * gst/gstclock.c: (gst_clock_class_init):
15312 * gst/gstindex.c: (gst_index_class_init):
15313 * gst/gstobject.c: (gst_object_class_init):
15314 * gst/gstpad.c: (gst_pad_class_init):
15315 * gst/gstpipeline.c: (gst_pipeline_class_init):
15316 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15317 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15318 * libs/gst/base/gstbasetransform.c:
15319 (gst_base_transform_class_init):
15320 * libs/gst/net/gstnetclientclock.c:
15321 (gst_net_client_clock_class_init):
15322 * libs/gst/net/gstnettimeprovider.c:
15323 (gst_net_time_provider_class_init):
15324 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15325 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15326 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15327 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15328 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15329 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15330 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15331 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15332 * plugins/elements/gsttee.c: (gst_tee_class_init):
15333 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15334 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15335 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15337 2006-05-11 Wim Taymans <wim@fluendo.com>
15339 * gst/gstbuffer.c: (_gst_buffer_initialize):
15340 Register subbufer along with the buffer type so that
15341 it does not accidentally gets registered from N
15342 different streaming threads in a non threadsafe way.
15344 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15348 * gst/gstmessage.h:
15349 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15350 gst_event_ref() and gst_message_ref() functions again
15351 (ugly hack, please do fix if there's a better way besides
15352 overrides.txt, which doesn't seem to work).
15354 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15356 * libs/gst/check/gstcheck.h:
15357 add an assert for setting state to avoid lots of repetitive code
15360 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15362 * gst/gstvalue.c: (gst_value_serialize_flags):
15363 fix a leak if no flags are set
15364 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15367 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15369 * docs/manual/basics-pads.xml:
15370 Expand a bit on caps and filtered links and update
15371 examples that were still using the no longer existing
15372 gst_pad_link_filtered() (#338206).
15374 2006-05-10 Wim Taymans <wim@fluendo.com>
15376 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15377 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15378 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15379 (gst_collect_pads_stop):
15380 * libs/gst/base/gstcollectpads.h:
15381 No need to call _stop in _finalize.
15382 Iterate the main pad list in _finalize.
15383 Added some more debug.
15384 Free lists and data in the right order.
15385 Also free data whem doing _remove_pad when stopped for
15386 backward compatibility protect ::started with PAD_LOCK as
15389 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15391 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15392 (gst_structure_parse_value):
15394 rename a method so that it actually says what it does better
15396 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15398 * gst/gstevent.c: (_gst_event_initialize):
15399 * gst/gstformat.c: (_gst_format_initialize):
15400 make sure some essential types used by events are registered
15401 as part of gst_init()
15402 * gst/gstvalue.c: (gst_value_serialize_flags):
15403 if no flags are set, serialize them to a value that represents NONE
15404 so that deserializing them works
15405 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15406 add tests for serialization and deserialization of flags
15408 2006-05-10 Wim Taymans <wim@fluendo.com>
15410 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15411 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15412 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15413 (gst_collect_pads_event), (gst_collect_pads_chain):
15416 Catch and return errors from the collect function
15417 Refuse data on eos pads.
15419 2006-05-10 Edward Hervey <edward@fluendo.com>
15421 * gst/gstinterface.h:
15422 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15423 GInterface type checking.
15424 They were previously using non-defined macros.
15426 2006-05-09 Wim Taymans <wim@fluendo.com>
15428 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15429 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15430 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15431 (gst_collect_pads_start), (gst_collect_pads_stop),
15432 (gst_collect_pads_peek), (gst_collect_pads_pop),
15433 (gst_collect_pads_available), (gst_collect_pads_read),
15434 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15435 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15436 (gst_collect_pads_chain):
15437 * libs/gst/base/gstcollectpads.h:
15438 Clean up the mess that is collectpads, add comments and
15439 FIXMEs where needed.
15440 Maintain a separate pad list so we can add pads while
15441 collecting the other ones. For this we need a new separate
15443 Fix memory leak in finalize.
15444 Refactor some weird code to set/unset pad flushing flags, mark
15446 Don't crash in _available, _read, _flush when we're EOS.
15448 * tests/check/libs/.cvsignore:
15449 Ignore adapter check binary.
15451 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15453 * gst/gstindex.c: (gst_index_resolver_get_type):
15454 * plugins/elements/gstfakesink.c:
15455 (gst_fake_sink_state_error_get_type):
15456 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15457 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15458 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15459 Const-ify GEnumValue arrays.
15461 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15463 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15464 Add test case for flags + gst_buffer_make_metadata_writable().
15466 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15468 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15469 gst_buffer_make_metadata_writable() should maintain the
15470 buffer flags (those that make sense at least) (see #340859).
15472 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15474 * tools/gst-inspect.c:
15475 * tools/gst-launch.c:
15476 * tools/gst-typefind.c:
15477 * tools/gst-xmlinspect.c:
15479 Fix up includes: need to include stdlib.h in tools.h for exit().
15481 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15483 * gst/gsttaglist.c: (_gst_tag_initialize):
15484 * gst/gsttaglist.h:
15485 API: add GST_TAG_IMAGE tag (#340721).
15487 2006-05-08 Wim Taymans <wim@fluendo.com>
15490 Added some docs for the segment query.
15492 2006-05-08 Wim Taymans <wim@fluendo.com>
15494 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15495 (gst_base_src_loop), (gst_base_src_change_state):
15496 Always push non-flushing serialized events in the streaming
15499 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15501 * gst/gsterror.c: (_gst_stream_errors_init):
15502 Add a missing error string.
15504 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15506 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15507 Add applied_rate to the debug
15509 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15510 Copy applied_rate into the outgoing NEWSEGMENT event
15512 2006-05-08 Wim Taymans <wim@fluendo.com>
15514 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15516 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15517 (gst_base_sink_change_state):
15518 call ::unlock before taking the PREROLL_LOCK so we can safely
15519 handle elements that lock in ::render.
15522 2006-05-08 Edward Hervey <edward@fluendo.com>
15524 * autogen.sh: (CONFIGURE_DEF_OPT):
15525 Darwin's libtoolize is in fact called glibtoolize.
15526 Adding glibtoolize to the list of accepted names for libtoolize.
15528 2006-05-08 Wim Taymans <wim@fluendo.com>
15530 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15531 Unify error handling, don't post an error message
15532 when a push() returns EOS but perform our normal EOS
15533 handling code. Fixes #340772.
15535 2006-05-08 Wim Taymans <wim@fluendo.com>
15537 * docs/design/part-overview.txt:
15538 Make upsteam/downstream concepts more clear.
15539 Give an example of serialized/non-serialized events.
15541 * docs/design/part-events.txt:
15542 * docs/design/part-streams.txt:
15543 Mention applied_rate.
15545 * docs/design/part-trickmodes.txt:
15546 Mention applied rate, flesh out some more use cases.
15548 * gst/gstevent.c: (gst_event_new_new_segment),
15549 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15550 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15551 (gst_event_parse_tag), (gst_event_new_buffer_size),
15552 (gst_event_parse_buffer_size), (gst_event_new_qos),
15553 (gst_event_parse_qos), (gst_event_parse_seek),
15554 (gst_event_new_navigation):
15556 Add applied_rate field to NEWSEGMENT event.
15557 API: gst_event_new_new_segment_full()
15558 API: gst_event_parse_new_segment_full()
15560 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15561 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15562 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15563 * gst/gstsegment.h:
15564 Add applied_rate to GstSegment structure.
15565 Make calculation of stream_time and running_time more correct
15566 wrt rate/applied_rate.
15567 Add some more docs.
15568 API: GstSegment::applied_rate field
15569 API: gst_segment_set_newsegment_full();
15571 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15572 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15573 * libs/gst/base/gstbasetransform.c:
15574 (gst_base_transform_sink_eventfunc),
15575 (gst_base_transform_handle_buffer):
15576 Parse and use applied_rate in the GstSegment field.
15578 * tests/check/gst/gstevent.c: (GST_START_TEST):
15579 Add check for applied_rate field.
15581 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15582 (gstsegments_suite):
15583 Add more checks for various GstSegment operations.
15585 2006-05-08 Wim Taymans <wim@fluendo.com>
15587 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15588 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15589 (gst_base_sink_get_position), (gst_base_sink_change_state):
15590 Store the sync time of the buffer end position separatly in a
15591 new variable eos_rtime so we can properly sync the EOS event.
15593 Fix the docs for gst_base_sink_set_qos_enabled().
15594 Don't set segment start to invalid value when we receive a
15595 non TIME newsegment.
15596 get closer to handling position reporting for negative rates
15599 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15602 Docs about how to print caps for debug purposes.
15604 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15605 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15607 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15609 * gst/gstelement.c:
15610 use full enum names and preprend a '%' in docs strings to make recent
15611 gtk-doc turn that into a link
15613 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15615 * docs/manual/basics-bins.xml:
15616 * docs/manual/basics-bus.xml:
15617 * docs/manual/basics-pads.xml:
15618 Some typo fixes, some additions, some clarifications.
15620 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15622 * tools/gst-inspect.c: (main):
15623 * tools/gst-launch.c: (main):
15624 * tools/gst-run.c: (main):
15625 * tools/gst-typefind.c: (main):
15626 * tools/gst-xmlinspect.c: (main):
15627 Use the string passed to g_option_context_new() for
15628 what it's intended for - the program name is already
15631 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15633 * tools/Makefile.am:
15634 * tools/gst-inspect.c: (main):
15635 * tools/gst-launch.c: (main):
15636 * tools/gst-xmlinspect.c: (main):
15638 Add back --version command line option (#340460).
15640 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15641 Add --version option and use GOption for argument parsing; refactor a
15642 bit; accept directories as arguments and recurse into them; lastly,
15643 print a decent error message when things go wrong.
15645 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15647 * docs/manual/basics-bins.xml:
15648 Don't mention GstThread (#340611)
15649 * docs/manual/basics-elements.xml:
15650 Update link to GObject tutorial (#340607)
15652 2006-05-05 Wim Taymans <wim@fluendo.com>
15655 * gst/gstminiobject.c:
15656 Add note about refcounting and miniobject/buffer writeability
15657 to docs. Fixes #340604
15659 * gst/gstelementfactory.h:
15660 Added some explanation about @klass.
15662 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15664 * docs/manual/intro-motivation.xml:
15665 * docs/manual/manual.xml:
15666 Avoid CORBA & Bonobo references (#340598)
15668 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15670 * docs/manual/basics-bus.xml:
15671 * docs/manual/basics-pads.xml:
15672 Fix up some inaccuracies and omissions (#340609)
15674 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15676 * gst/gstghostpad.c:
15677 Small typo in docs (#340625)
15679 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15681 * gst/parse/Makefile.am:
15682 Make 'make -j' proof (see #340698).
15684 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15687 Require GLib-2.8 here as well.
15689 2006-05-05 Wim Taymans <wim@fluendo.com>
15691 * gst/glib-compat.c:
15692 * gst/gst.c: (init_pre):
15693 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15694 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15695 (gst_object_dispatch_properties_changed):
15697 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15698 * gst/gststructure.c: (gst_structure_set_valist):
15699 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15700 Remove pre glib2.8 compatibility, fixes #340508
15702 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15704 * gst/gsttaglist.h:
15705 Mention type of tags in doc blurbs.
15707 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15709 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15710 (gst_pad_configure_src), (gst_pad_push):
15711 Restore acceptcaps checking behaviour now that good plugins have
15714 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15716 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15723 * gst/gstmessage.c:
15727 * gst/parse/Makefile.am:
15728 * libs/gst/base/gstadapter.c:
15729 * libs/gst/base/gstbasesrc.c:
15730 * libs/gst/base/gstpushsrc.c:
15731 * libs/gst/base/gsttypefindhelper.c:
15732 * plugins/elements/gstfakesrc.c:
15733 * plugins/elements/gstidentity.c:
15734 Make sure gstprivate.h and/or config.h are
15735 always included first, otherwise some of our
15736 defines (like _FILE_OFFSET_BITS) might be
15737 redefined in the system headers. Fixes build
15738 on opensolaris (#340016).
15740 2006-05-04 Wim Taymans <wim@fluendo.com>
15742 * docs/libs/gstreamer-libs-sections.txt:
15743 API: addition: gst_adapter_take_buffer()
15745 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15746 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15747 (gst_adapter_available_fast):
15748 * libs/gst/base/gstadapter.h:
15749 Prepare for optimizing the hell out of this hugely inefficient
15751 Added gst_adapter_take_buffer() so we can at least start thinking
15752 about subbuffering and merging.
15753 Added some comments.
15755 * tests/check/Makefile.am:
15756 * tests/check/libs/adapter.c: (GST_START_TEST),
15757 (gst_adapter_suite), (main):
15758 Added GstAdapter check.
15760 2006-05-04 Wim Taymans <wim@fluendo.com>
15762 * docs/design/part-overview.txt:
15763 Fix some typos, add blurb about buffer flags.
15765 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15767 * docs/libs/gstreamer-libs-sections.txt:
15768 make sure GstBaseTransformClass shows up in the docs
15769 * libs/gst/base/gstbasetransform.c:
15770 * libs/gst/base/gstbasetransform.h:
15771 move docs so gtk-doc picks it up now
15773 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15775 * docs/libs/gstreamer-libs-sections.txt:
15776 add missing symbols to docs
15778 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15780 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15781 back out the newsegment handling change, see #340060 for ongoing
15784 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15786 * tools/gst-run.c: (get_candidates), (main):
15787 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15788 work); fix typo in error message. Fixes #340079.
15790 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15792 * common/Makefile.am:
15793 * docs/Makefile.am:
15794 * docs/faq/Makefile.am:
15795 * docs/gst/Makefile.am:
15796 * docs/libs/Makefile.am:
15797 * docs/manual/Makefile.am:
15798 * docs/plugins/Makefile.am:
15799 * docs/pwg/Makefile.am:
15800 * docs/slides/Makefile.am:
15802 * common/upload.mak:
15803 move upload.mak to common
15805 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15807 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15808 add more asserts on refcounts
15809 do more cleanup at end of tests
15810 fix test leaks showing in FC5
15812 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15814 * plugins/elements/gsttypefindelement.c:
15815 (gst_type_find_element_handle_event):
15816 reverted wrong change and reflowed code to avoid others falling into
15819 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15821 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15822 fix changelog entry about last collectpads change,
15823 add notes about proper fix
15825 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15828 * gst/gstregistry.c: (gst_registry_scan_path_level),
15829 (gst_registry_scan_path):
15830 * gst/gstregistry.h:
15831 only write out registry if it has changed, fixes #338339
15833 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15836 * gst/gstpipeline.c:
15837 * plugins/elements/gstcapsfilter.c:
15838 * plugins/elements/gstfakesink.c:
15839 * plugins/elements/gstfakesrc.c:
15840 * plugins/elements/gstfdsink.c:
15841 * plugins/elements/gstfdsrc.c:
15842 * plugins/elements/gstfilesink.c:
15843 * plugins/elements/gstfilesrc.c:
15844 * plugins/elements/gstidentity.c:
15845 * plugins/elements/gstqueue.c:
15846 * plugins/elements/gsttee.c:
15847 * plugins/elements/gsttypefindelement.c:
15848 (gst_type_find_element_handle_event):
15849 make GstElementDetails const
15851 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15853 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15854 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15855 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15856 more detailed debug and formatting cleanup,
15857 forward newsegments to src-pad (so that e.g. adder not eats them)
15859 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15861 * gst/gstutils.c: (gst_element_link_pads):
15862 cleanup double code
15864 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15866 * libs/gst/controller/gstcontroller.c:
15867 (gst_controller_sync_values):
15869 * tests/check/libs/controller.c: (GST_START_TEST),
15870 (gst_controller_suite):
15871 a new test for live value handling
15873 2006-04-28 Wim Taymans <wim@fluendo.com>
15875 * gst/gstutils.c: (push_and_ref):
15876 Added some more docs.
15877 Fix refcount issue whith gst_element_found_tags() helper
15878 function. Fixes #338335
15880 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15881 Added testsuite for gst_element_found_tags().
15883 2006-04-28 Michael Smith <msmith@fluendo.com>
15885 * gst/gstvalue.c: (gst_value_serialize_flags):
15886 Avoid NULL dereference when trying to serialize flags containing
15889 2006-04-28 Michael Smith <msmith@fluendo.com>
15891 * plugins/elements/gsttypefindelement.c:
15892 (gst_type_find_element_handle_event):
15893 If we get EOS before any data is accumulated, don't use
15894 uninitialised local variables.
15896 2006-04-28 Michael Smith <msmith@fluendo.com>
15898 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15899 (gst_dp_event_from_packet):
15900 Fixes in reading/writing events over GDP (not currently used?) -
15901 dereferencing NULL events for unknown/invalid event types, memory
15902 leak, and change g_warning to GST_WARNING.
15904 2006-04-28 Wim Taymans <wim@fluendo.com>
15906 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15907 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15908 (gst_base_sink_get_position), (gst_base_sink_change_state):
15909 When frame dropping is enabled, we should not ignore frames
15910 without a duration.
15911 Update some documentation.
15913 2006-04-28 Wim Taymans <wim@fluendo.com>
15915 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15916 (gst_base_src_send_event), (gst_base_src_change_state):
15917 Documentation updates.
15919 2006-04-28 Wim Taymans <wim@fluendo.com>
15921 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15922 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15923 handle EAGAIN, EINTR and short writes correctly. Also clean
15924 up some error cases, avoid a deadlock on bad file descriptors and
15925 use GST_DEBUG_OBJECT.
15928 2006-04-28 Wim Taymans <wim@fluendo.com>
15930 * gst/gstvalue.c: (gst_value_serialize_buffer),
15931 (gst_value_deserialize_buffer):
15932 Don't try to serialize a GValue with a NULL buffer.
15935 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15936 Added check for serialisation of NULL buffers.
15938 2006-04-28 Wim Taymans <wim@fluendo.com>
15940 * gst/gstminiobject.c: (gst_value_take_mini_object):
15941 Taking a NULL miniobject is valid, fix the case where
15942 we try to unref the NULL miniobject.
15944 2006-04-28 Wim Taymans <wim@fluendo.com>
15946 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15948 * gst/gstbin.c: (gst_bin_handle_message_func):
15950 Don't leak bin refcount when a state recalc is
15951 in progress and we delay another one #339808.
15953 2006-04-28 Wim Taymans <wim@fluendo.com>
15955 * docs/design/part-TODO.txt:
15956 Mention QoS as an ongoing work item.
15958 * docs/design/part-buffering.txt:
15959 New doc about buffering that needs to be fleshed out
15962 * docs/design/part-qos.txt:
15963 More QoS policy for decoders/demuxers/transforms
15965 * docs/design/part-trickmodes.txt:
15968 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15973 === release 0.10.5 ===
15975 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15978 releasing 0.10.5, "Fogo"
15980 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15982 patch by: Wim Taymans
15984 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15985 (gst_pad_configure_src), (gst_pad_push):
15986 * gst/gstpipeline.c: (gst_pipeline_init):
15987 Fix internal data flow errors. Fixes #338711.
15989 2006-04-12 Wim Taymans <wim@fluendo.com>
15991 * tests/check/gst/gstelement.c: (GST_START_TEST):
15992 Don't leak the factory.
15994 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15997 * win32/common/config.h:
16000 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16002 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16003 (gst_controller_unset_all):
16004 Free allocated GstTimedValues when freeing list nodes.
16005 Should fix leaks 'make check-valgrind' complains about.
16007 * win32/common/libgstcontroller.def:
16008 Add gst_controller_unset_all.
16010 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16012 * docs/libs/gstreamer-libs-sections.txt:
16013 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16014 (gst_controller_unset_all):
16015 * libs/gst/controller/gstcontroller.h:
16016 API: Added new method gst_controller_unset_all()
16017 fixed gst_controller_unset()
16018 * tests/check/libs/controller.c: (GST_START_TEST),
16019 (gst_controller_suite):
16020 Added two testcases for new and fixed method
16022 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16024 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16025 MSG_DONTWAIT is not defined on Cygwin, so work
16026 around that (fixes #317048).
16028 2006-04-11 Wim Taymans <wim@fluendo.com>
16030 * gst/gstelementfactory.c: (gst_element_register),
16031 (gst_element_factory_create), (gst_element_factory_make):
16034 Updated docs (Fixes #131079)
16036 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16039 * tests/check/gst/gstelement.c: (GST_START_TEST),
16040 (gst_element_suite):
16041 Added testcase for elementfactory class field.
16043 2006-04-10 Wim Taymans <wim@fluendo.com>
16045 * gst/gstsegment.c:
16046 Added some more docs.
16048 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16049 (gst_base_sink_reset_qos):
16050 Calculate more accurate rate values.
16052 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16054 * gst/gst_private.h:
16055 add a new #ifdef to use __declspec(dllimport) only for
16056 other modules and not for gstreamer core
16057 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16058 use gst_guint64_to_gdouble for conversion
16059 * win32/common/libgstreamer.def:
16060 add new exported functions
16061 * win32/vs6/gst_inspect.dsp:
16062 * win32/vs6/gst_launch.dsp:
16063 * win32/vs6/libgstbase.dsp:
16064 * win32/vs6/libgstcontroller.dsp:
16065 * win32/vs6/libgstcoreelements.dsp:
16066 * win32/vs6/libgstdataprotocol.dsp:
16067 * win32/vs6/libgstnet.dsp:
16068 update project files
16070 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16072 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16073 * gst/gstclock.c: (gst_clock_class_init):
16074 * gst/gstelement.c: (gst_element_class_init):
16075 * gst/gstindex.c: (gst_index_class_init):
16076 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16077 * gst/gstobject.c: (gst_object_class_init),
16078 (gst_signal_object_class_init):
16079 * gst/gstpad.c: (gst_pad_class_init):
16080 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16081 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16082 * gst/gstregistry.c: (gst_registry_class_init):
16083 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16084 * gst/gsttask.c: (gst_task_class_init):
16085 * gst/gstxml.c: (gst_xml_class_init):
16086 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16087 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16088 (gst_base_src_loop):
16089 * libs/gst/controller/gstcontroller.c:/
16090 (_gst_controller_class_init):
16091 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16092 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16093 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16094 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16095 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16096 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16098 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16100 * gst/gstpad.c: (gst_pad_link):
16101 Must set peer pads before calling the link function, otherwise
16102 a task started from a link function might get a flow-not-linked
16103 result when trying to push because the other thread where the
16104 linking happens hasn't had a chance to set the peers yet. This
16105 might happen for example when a queue gets linked to a downstream
16106 element, as queue starts a streaming task when its source pad
16107 gets linked. Happens in real life when playing back flac/musepack
16108 files in playbin (#332390).
16110 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16114 * libs/gst/base/gstadapter.h:
16115 * libs/gst/base/gstbasesink.h:
16116 * libs/gst/base/gstbasesrc.h:
16117 * libs/gst/base/gstbasetransform.h:
16118 * libs/gst/base/gstcollectpads.h:
16119 * libs/gst/base/gstpushsrc.h:
16120 Fix broken GObject macros
16122 2006-04-07 Wim Taymans <wim@fluendo.com>
16124 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16125 Initialize start and stop times, thanks valgrind.
16127 2006-04-07 Wim Taymans <wim@fluendo.com>
16129 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16130 Be a bit nicer to badly behaving upstream elements that expect
16131 us to deal with non TIME segments and timestamps (such as fakesrc
16134 2006-04-07 Wim Taymans <wim@fluendo.com>
16137 Small documentation clarification about the signal watch.
16139 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16140 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16141 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16142 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16143 (gst_base_sink_get_position_last),
16144 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16145 Convert and store timestamps in stream time and running time, the
16146 raw timestamps are not useful, also document this better.
16147 Use different window sizes for good and bad QoS observations so
16148 we react to badness a little quicker.
16149 Keep track of the amount of rendered and dropped buffers.
16150 Send QoS timestamps in running time.
16152 * libs/gst/base/gstbasetransform.c:
16153 (gst_base_transform_sink_eventfunc),
16154 (gst_base_transform_handle_buffer):
16155 Compare QoS timestamps against running time.
16157 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16160 Typo fixes in docs.
16162 2006-04-06 Michael Smith <msmith@fluendo.com>
16164 * gst/gstpad.c: (gst_pad_set_property):
16165 Use g_value_get_object() instead of g_value_dup_gst_object(),
16166 to avoid double-reffing the pad template (which we then sink,
16167 so this worked previously if (and only if) the pad template
16170 * gst/gstpadtemplate.c: (gst_pad_template_init),
16171 (gst_pad_template_pad_created):
16172 Never return floating references to pad templates, create
16173 them as initially-sunken.
16175 Document an extra function (and make this stop sinking our
16176 pad template, since that is now guaranteed to do nothing,
16177 since we created it sunken).
16179 * gst/gstghostpad.c:
16182 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16184 * gst/gstinfo.c: (__gst_in_valgrind):
16187 * plugins/elements/gsttypefindelement.c:
16188 (gst_type_find_element_chain):
16189 Don't leak buffer caps.
16191 2006-04-06 Michael Smith <msmith@fluendo.com>
16193 * gst/parse/grammar.y:
16194 Fix a leak in parse-launch for any source-or-sink named element
16197 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16198 Unref the pipeline if it exists after we've failed parsing.
16200 2006-04-05 Michael Smith <msmith@fluendo.com>
16202 * gst/gstpipeline.c: (gst_pipeline_init):
16203 When we create a pipeline bus, initially create it in flushing mode.
16204 Fixes leaks in at least one test, and makes a new pipeline work the
16205 same as one that has gone to READY and then back to NULL.
16207 * gst/gstelement.c:
16210 2006-04-05 Michael Smith <msmith@fluendo.com>
16212 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16213 Unref a pad we reffed.
16214 * tests/check/gst/gstutils.c: (GST_START_TEST):
16217 2006-04-05 Michael Smith <msmith@fluendo.com>
16219 * gst/gstquery.c: (gst_query_set_formats),
16220 (gst_query_set_formatsv):
16221 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16223 2006-04-05 Michael Smith <msmith@fluendo.com>
16225 * tests/check/generic/sinks.c: (GST_START_TEST):
16226 Fix a variety of memleaks in sinks check, which are only sometimes
16227 shown by running the tests under valgrind (weird?).
16229 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16231 * docs/version.entities.in:
16232 Fix the substituted entity name after thomas' changes on the
16235 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16237 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16240 2006-04-05 Andy Wingo <wingo@pobox.com>
16242 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16244 * libs/gst/base/gstbasetransform.c
16245 (gst_base_transform_sink_eventfunc): When resetting our segment on
16246 FLUSH_STOP, also update the flag saying we haven't seen a
16249 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16251 Patch by: Paolo Borelli <pborelli at katamail dot com>
16253 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16254 (gst_plugin_check_license):
16255 minor clean-ups: G_DEFINE_TYPE already takes care of the
16256 parent_class stuff, no need to do it twice. Mark array of
16257 license strings as constant. (#337103)
16259 2006-04-04 Michael Smith <msmith@fluendo.com>
16261 * tools/gst-inspect.c: (print_element_list):
16262 Free the right plugin list; fixes a memory leak.
16264 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16266 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16268 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16269 Don't error out on empty buffers (#336945).
16271 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16273 * docs/libs/gstreamer-libs-sections.txt:
16274 * gst/gsttaglist.c:
16275 * libs/gst/base/gstbasesink.c:
16276 * libs/gst/base/gstbasesink.h:
16277 * libs/gst/base/gstbasesrc.c:
16278 * libs/gst/base/gstbasesrc.h:
16279 Documentation updates. Make BaseSink and BaseSrc docs contain the
16280 class structure so that people can actually see the prototypes for
16281 virtual functions they're supposed to be overriding.
16283 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16285 * plugins/elements/gsttypefindelement.c:
16286 (gst_type_find_element_chain):
16287 More debug info; when skipping typefinding, send cached
16288 events in all cases.
16290 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16293 use new AS_VERSION and AS_NANO macros
16294 * gst/gst-i18n-lib.h:
16297 * gst/gstversion.h.in:
16298 * win32/common/config.h:
16299 * win32/common/config.h.in:
16302 2006-03-31 Michael Smith <msmith@fluendo.com>
16304 * plugins/elements/gsttypefindelement.c:
16305 (gst_type_find_element_chain):
16306 Do not typefind content if the buffers already have caps.
16307 Neccesary for icydemux (#333657), and the right thing to do anyway.
16309 2006-03-30 Wim Taymans <wim@fluendo.com>
16311 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16312 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16313 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16314 (gst_base_sink_record_qos_observation),
16315 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16316 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16317 (gst_base_sink_change_state):
16318 More QoS measurements as described in the design doc.
16319 Get rid of ringbuffer with observations, running average is
16320 more simple and equally good.
16321 Calculates valid proportion now.
16322 Added beginning of flood measurement.
16324 2006-03-29 Wim Taymans <wim@fluendo.com>
16326 * docs/design/part-qos.txt:
16328 Small documentation updates and additions.
16330 2006-03-29 Wim Taymans <wim@fluendo.com>
16332 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16333 (gst_base_src_send_event), (gst_base_src_loop),
16334 (gst_base_src_change_state):
16335 Perform the EOS logic when we reach the segment stop position.
16336 Fix compilation on gcc4.1
16338 2006-03-29 Wim Taymans <wim@fluendo.com>
16340 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16342 * plugins/elements/gstqueue.c: (gst_queue_init),
16343 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16344 (gst_queue_set_property):
16345 * plugins/elements/gstqueue.h:
16346 In queue, when EOS is received, if minimum threshold > max_size -
16347 current_level, there is chance that queue blocks forever in conditional
16348 item del wait. This is because the queue is not emptied completely due
16349 to minimum threshold. Here is another approach. Instead of setting
16350 cur_levels to max in EOS, just zero all minimum threshold levels. This
16351 should make sure that queue gives out all data. When going to READY
16352 (stop) state, just reset the original minimum threshold levels.
16355 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16357 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16358 (gst_type_find_element_handle_event),
16359 (gst_type_find_element_send_cached_events),
16360 (gst_type_find_element_change_state):
16361 * plugins/elements/gsttypefindelement.h:
16362 When typefinding is done in push mode, we should cache
16363 events we receive during typefinding instead of just
16364 dropping them (e.g. newsegment, custom events from
16365 dvdreadsrc etc.) and then send them out once we've
16366 determined the type of the stream (and decodebin
16367 has had a chance to plug in a decoder/demuxer).
16369 2006-03-27 Wim Taymans <wim@fluendo.com>
16371 * docs/design/part-qos.txt:
16374 2006-03-27 Wim Taymans <wim@fluendo.com>
16376 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16378 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16379 (gst_base_src_send_event), (gst_base_src_change_state):
16380 Handle element seek correctly when we are streaming.
16383 2006-03-24 Michael Smith <msmith@fluendo.com>
16385 * docs/faq/gst-uninstalled:
16386 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16387 allow you to correctly run intalled applications built against old
16388 core, using plugins that require updated core (e.g. running
16389 installed totem against a full uninstalled gstreamer stack)
16391 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16393 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16396 2006-03-24 Wim Taymans <wim@fluendo.com>
16398 * docs/gst/gstreamer-sections.txt:
16399 Rearrange the order of the methods so that related methods
16400 are grouped together in sections.
16402 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16404 * gst/gstelement.c:
16405 Little clarification in the docs
16407 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16411 * plugins/elements/gstidentity.c:
16412 * plugins/elements/gstqueue.c:
16413 * plugins/elements/gsttee.c:
16414 * plugins/elements/gsttypefindelement.c:
16415 GST_ELEMENT_DETAILS formatting
16417 2006-03-24 Wim Taymans <wim@fluendo.com>
16419 * libs/gst/base/gstbasesink.h:
16420 Only add fields, not insert or we break ABI.
16422 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16424 * win32/common/libgstbase.def:
16425 * win32/common/libgstreamer.def:
16426 Update, add recently added functions.
16428 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16430 * docs/gst/gstreamer-sections.txt:
16431 * gst/gstutils.c: (gst_pad_query_peer_position),
16432 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16434 API: add some new utility functions:
16435 - gst_pad_query_peer_position()
16436 - gst_pad_query_peer_duration()
16437 - gst_pad_query_peer_convert()
16439 2006-03-23 Wim Taymans <wim@fluendo.com>
16441 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16442 (gst_base_sink_init), (gst_base_sink_finalize),
16443 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16444 (gst_base_sink_set_property), (gst_base_sink_get_property),
16445 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16446 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16447 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16448 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16449 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16450 (gst_base_sink_preroll_object), (gst_base_sink_event),
16451 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16452 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16453 (gst_base_sink_query), (gst_base_sink_change_state):
16454 Decouple max-lateness and the fact that QoS messages are generated
16455 with a new property (qos).
16456 added API: GstBaseSink::async_play()
16457 Add vmethod so subclasses can be notified of ASYNC playing
16459 Collect timestamp start and stop to report better current
16460 position in EOS/PLAYING/PAUSED/READY/NULL.
16461 Refactor QoS/frame dropping and other measurements.
16462 API: GstBaseSrc::qos
16465 * libs/gst/base/gstbasesink.h:
16466 Added Private struct.
16467 API: gst_base_sink_set_qos_enabled()
16468 API: gst_base_sink_is_qos_enabled()
16470 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16472 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16473 If compiling against GLib-2.8 or newer, try to read the
16474 registry file using GMappedFile first before falling back
16475 to fopen() + fread() (#332151).
16477 2006-03-22 Wim Taymans <wim@fluendo.com>
16479 * gst/gstinfo.c: (gst_debug_set_active),
16480 (gst_debug_category_set_threshold):
16481 Disable debugging unless explicitly activated.
16484 2006-03-22 Wim Taymans <wim@fluendo.com>
16486 * gst/gstelement.c: (gst_element_set_locked_state),
16487 (gst_element_dispose):
16488 Cleanup the error case.
16490 * gst/gstobject.c: (gst_object_dispose):
16491 print a critical when some object was disposed with
16492 a parent, also revive the object since it might
16495 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16497 * tools/gst-launch.1.in:
16500 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16503 * tests/check/Makefile.am:
16504 disable some tests when we don't have a registry
16505 * tests/check/gst/gstutils.c: (gst_utils_suite):
16506 don't build the part that needs parsing
16508 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16511 * tests/examples/Makefile.am:
16512 fix --disable-parse build
16514 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16516 * tools/gst-feedback.1.in:
16517 Fix typo: s/feeback/feedback/ (#133494).
16519 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16521 * tools/Makefile.am:
16522 * tools/gst-launch.1.in:
16523 Add FILES section and correct entry about GST_REGISTRY_PATH
16524 environment variable (#133495; #133494).
16526 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16528 * tools/Makefile.am:
16529 * tools/gst-md5sum.1.in:
16530 * tools/gst-md5sum.c:
16531 Remove gst-md5sum and man page (the md5sink element
16532 required was removed ages ago)
16534 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16536 * gst/gststructure.c: (gst_structure_id_set_value):
16537 Make sure that string fields in structures/taglists
16538 contain valid UTF-8 - we don't want to pass rubbish to
16539 applications because of a buggy plugin (cp. #334167).
16541 2006-03-21 Edward Hervey <edward@fluendo.com>
16543 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16544 (gst_bin_handle_message_func):
16545 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16546 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16547 (gst_element_set_bus_func):
16548 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16549 * gst/gstminiobject.c: (gst_value_set_mini_object),
16550 (gst_value_take_mini_object):
16551 * gst/gstpad.c: (gst_pad_set_pad_template):
16552 * gst/gstpipeline.c: (gst_pipeline_dispose),
16553 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16554 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16555 (gst_collect_pads_chain):
16556 * libs/gst/net/gstnettimeprovider.c:
16557 (gst_net_time_provider_set_property):
16558 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16559 It's in fact all issues with gst_*object_replace().
16561 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16563 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16565 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16566 * pkgconfig/gstreamer-check.pc.in:
16567 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16569 2006-03-21 Edward Hervey <edward@fluendo.com>
16573 * gst/gstmessage.h:
16574 gst_[buffer|event|message]_ref() macros are replaced by a static
16575 inline functions because gcc-4.1 will about if the return value
16577 * tests/check/gst/gstevent.c: (event_probe):
16578 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16580 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16583 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16584 the type' case. (Closes: #335195 for now). In the future, when we
16585 depend on GLib 2.10, we could also intern the type name using
16586 g_intern_static_string()
16588 2006-03-20 Wim Taymans <wim@fluendo.com>
16590 * gst/gstbin.c: (gst_bin_handle_message_func),
16591 (bin_query_max_init), (bin_query_position_fold),
16592 (bin_query_position_done), (gst_bin_query):
16593 Position query should also take max of all streams.
16595 2006-03-20 Wim Taymans <wim@fluendo.com>
16597 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16598 (gst_fake_src_finalize):
16599 Fix leaks in fakesrc.
16601 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16602 Fix leaks in the testcase.
16604 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16606 * gst/gst_private.h:
16607 add win32 specific import decoration(__declspec(dllimport))
16608 for all extern GstDebugCategory * variables
16609 * win32/common/libgstbase.def:
16610 * win32/common/libgstcontroller.def:
16611 * win32/common/libgstreamer.def:
16612 Add some exports, remove empty lines
16613 * win32/common/libgstdataprotocol.def:
16614 * win32/common/libgstdataprotocol.dsp:
16615 * win32/common/libgstnet.def:
16616 * win32/common/libgstnet.dsp:
16617 new project files and exportation files added
16619 2006-03-19 Wim Taymans <wim@fluendo.com>
16621 * tests/check/libs/basesrc.c: (eos_event_counter):
16622 Use proper return value for probe.
16624 2006-03-17 Wim Taymans <wim@fluendo.com>
16626 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16628 Don't leak buffers, caps and pads on negotiation errors.
16630 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16632 * docs/faq/cvs.xml:
16633 * docs/faq/dependencies.xml:
16634 * docs/faq/developing.xml:
16635 * docs/faq/faq.xml:
16636 * docs/faq/general.xml:
16637 * docs/faq/getting.xml:
16638 * docs/faq/legal.xml:
16639 * docs/faq/troubleshooting.xml:
16640 * docs/faq/using.xml:
16641 Faq review and update.
16643 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16645 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16647 Don't pound the cpu to pieces by checking get_caps when accept_caps
16648 is called with the same caps as the pad already has.
16649 Use GST_DEBUG_OBJECT when outputting caps change information.
16651 2006-03-15 Wim Taymans <wim@fluendo.com>
16653 * gst/gstclock.c: (gst_clock_class_init):
16656 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16661 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16662 (gst_pad_accept_caps), (gst_pad_configure_sink),
16663 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16664 Make the default acceptcaps behaviour be to check the requested
16665 caps against the gst_pad_get_caps output.
16667 Ensure that gst_pad_accept_caps is used to check caps when a pad
16668 doesn't have a setcaps function, so that pads automatically refuse
16669 caps that they don't allow in their pad template. (Fixes #332986)
16671 When a buffer with attached caps is pushed, ensure that the source
16672 pad receives those caps even if the element didn't call
16673 gst_pad_set_caps first.
16675 2006-03-15 Wim Taymans <wim@fluendo.com>
16677 * libs/gst/base/gstadapter.c:
16680 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16682 * win32/common/libgstbase.def:
16683 * win32/common/libgstcontroller.def:
16684 * win32/common/libgstreamer.def:
16685 Add a whole bunch of missing functions (#334434).
16687 2006-03-14 Wim Taymans <wim@fluendo.com>
16689 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16690 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16691 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16692 Better debug info when we receive a segment event.
16693 Reorganize a bit so we can pass the get_times() results around.
16694 Use the segment format when calculating the running time.
16695 Don't do QoS is sync is disabled or we have no clock or the
16696 element does not want us to sync to the clock.
16697 Don't drop buffers if QoS is disabled for now.
16699 2006-03-14 Wim Taymans <wim@fluendo.com>
16701 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16702 Marked the stats property as unimplemented so people don't get
16704 Add debug message when regression goes wrong.
16705 Added some more docs.
16707 2006-03-14 Wim Taymans <wim@fluendo.com>
16709 * gst/gstsegment.c: (gst_segment_to_stream_time):
16710 Return correct return type in case of errors.
16712 2006-03-14 Wim Taymans <wim@fluendo.com>
16714 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16715 Don't segfault on invalid formats.
16717 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16719 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16720 Can't use gst_segment_to_running_time() when the segment
16721 is not in GST_TIME_FORMAT (like with filesink, for example).
16722 Stops flac encoding pipelines from spewing critical warnings
16725 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16727 * gst/gstpipeline.c: (gst_pipeline_class_init):
16728 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16730 * plugins/elements/gsttypefindelement.c:
16731 (gst_type_find_element_handle_event):
16732 Don't try to typefind empty streams.
16734 2006-03-14 Wim Taymans <wim@fluendo.com>
16736 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16737 (gst_base_sink_do_qos):
16738 Separate QoS calculation.
16739 Only drop buffers when lateness is bigger than the
16740 duration of the buffer.
16742 2006-03-13 Wim Taymans <wim@fluendo.com>
16744 * gst/gstpipeline.c: (gst_pipeline_set_property),
16745 (gst_pipeline_get_property), (do_pipeline_seek),
16746 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16747 (gst_pipeline_get_delay):
16748 Don't deadlock when reading properties.
16750 2006-03-13 Wim Taymans <wim@fluendo.com>
16752 * libs/gst/base/gstbasetransform.c:
16753 (gst_base_transform_class_init), (gst_base_transform_init),
16754 (gst_base_transform_sink_event),
16755 (gst_base_transform_sink_eventfunc),
16756 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16757 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16758 (gst_base_transform_set_property),
16759 (gst_base_transform_get_property),
16760 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16761 (gst_base_transform_set_qos_enabled),
16762 (gst_base_transform_is_qos_enabled):
16763 * libs/gst/base/gstbasetransform.h:
16764 Make basetransform virtual method for src events too.
16765 Handle QOS in basetransform.
16766 API: gst_base_transform_update_qos()
16767 API: gst_base_transform_set_qos_enabled()
16768 API: gst_base_transform_is_qos_enabled()
16770 2006-03-13 Wim Taymans <wim@fluendo.com>
16772 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16773 (gst_base_sink_do_sync):
16775 Use QOS debug category.
16777 2006-03-13 Wim Taymans <wim@fluendo.com>
16779 * plugins/elements/gstqueue.c:
16780 Very small doc update.
16782 2006-03-13 Wim Taymans <wim@fluendo.com>
16784 * gst/gst_private.h:
16785 * gst/gstinfo.c: (_gst_debug_init):
16786 Added QOS debug category
16788 2006-03-13 Wim Taymans <wim@fluendo.com>
16790 * docs/gst/gstreamer-sections.txt:
16791 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16793 * gst/gstbus.c: (gst_bus_class_init):
16796 * gst/gstelement.c: (gst_element_set_locked_state):
16797 * gst/gstsegment.c:
16798 Documentation updates.
16800 * gst/gstpipeline.c: (gst_pipeline_get_type),
16801 (gst_pipeline_class_init), (gst_pipeline_init),
16802 (gst_pipeline_dispose), (gst_pipeline_set_property),
16803 (gst_pipeline_get_property), (do_pipeline_seek),
16804 (gst_pipeline_send_event), (gst_pipeline_change_state),
16805 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16806 (gst_pipeline_get_delay):
16807 * gst/gstpipeline.h:
16808 Added methods for setting the delay.
16809 API: gst_pipeline_set_delay()
16810 API: gst_pipeline_get_delay()
16811 Add pipeline debug category
16814 Don't reset stream time when seek failed.
16816 2006-03-13 Wim Taymans <wim@fluendo.com>
16818 * docs/design/draft-klass.txt:
16819 * docs/design/part-clocks.txt:
16820 * docs/design/part-events.txt:
16821 * docs/design/part-gstbin.txt:
16822 * docs/design/part-gstpipeline.txt:
16823 * docs/design/part-messages.txt:
16824 * docs/design/part-negotiation.txt:
16825 * docs/design/part-overview.txt:
16826 * docs/design/part-preroll.txt:
16827 * docs/design/part-seeking.txt:
16828 * docs/design/part-states.txt:
16829 * docs/design/part-streams.txt:
16830 Documentation updates.
16832 2006-03-12 Julien MOUTTE <julien@moutte.net>
16834 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16835 us to leak strings...
16837 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16839 * libs/gst/net/gstnettimeprovider.c:
16841 * win32/common/config.h:
16844 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16846 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16849 Don't check for libgnomeui (leftover from old examples
16850 that aren't built or disted any longer) (#334303).
16852 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16854 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16855 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16856 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16857 there's no space left on the device.
16859 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16862 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16863 to cast the input to GstClockTime before comparing with
16864 another GstClockTime value.
16866 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16871 === release 0.10.4 ===
16873 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16876 releasing 0.10.4, "Light"
16878 2006-03-10 Michael Smith <msmith@fluendo.com>
16880 * libs/gst/dataprotocol/dataprotocol.c:
16881 Fix docs for dataprocotol to not get the return types completely
16882 wrong for a few functions.
16884 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16886 * docs/gst/gstreamer-sections.txt:
16887 * gst/gstpipeline.c: (gst_pipeline_class_init),
16888 (gst_pipeline_init), (gst_pipeline_set_property),
16889 (gst_pipeline_get_property), (gst_pipeline_change_state),
16890 (gst_pipeline_set_auto_flush_bus),
16891 (gst_pipeline_get_auto_flush_bus):
16892 * gst/gstpipeline.h:
16893 Add new API: gst_pipeline_set_auto_flush_bus() and
16894 gst_pipeline_get_auto_flush_bus() to disable automatic
16895 flushing of the pipeline's GstBus when going from READY
16896 to NULL state (#332045).
16898 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16900 * docs/gst/gstreamer-sections.txt:
16901 * gst/gsturi.c: (gst_uri_has_protocol):
16903 Add new API: gst_uri_has_protocol() (#333779).
16905 2006-03-09 Wim Taymans <wim@fluendo.com>
16907 * gst/gstclock.c: (gst_clock_entry_new),
16908 (gst_clock_id_compare_func), (gst_clock_id_wait),
16909 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16910 (gst_clock_init), (gst_clock_get_internal_time),
16911 (gst_clock_set_master), (do_linear_regression),
16912 (gst_clock_add_observation), (gst_clock_set_property):
16916 Fix a possible segfault when the window-size is made smaller.
16917 Calculate jitter before performing the clock wait. Ideally
16918 the clock implementation should calculate jitter but we need
16919 API breakage for that.
16921 * gst/gstsystemclock.c: (gst_system_clock_init):
16924 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16925 Remove leftover else
16927 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16928 (gst_systemclock_suite):
16929 Added check to test GST_CLOCK_DIFF.
16931 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16933 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16934 (gst_type_find_helper_get_range):
16935 If we are provided with the size, we should implement
16936 GstTypeFind::get_length, so that typefind functions who
16937 want to can actually peek at the middle of a file.
16939 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16941 * docs/manual/advanced-dataaccess.xml:
16942 Add some very very basic error checking.
16944 * docs/pwg/appendix-checklist.xml:
16945 Some updates to the list of things to check when writing an element.
16947 2006-03-08 Wim Taymans <wim@fluendo.com>
16949 * docs/design/part-element-transform.txt:
16950 Added some docs about the design of tranform elements.
16952 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16953 (gst_base_src_loop), (gst_base_src_change_state):
16954 Mark buffers with the DISCONT flag.
16956 2006-03-08 Michael Smith <msmith@fluendo.com>
16958 * gst/gstregistry.h:
16959 * gst/gstregistryxml.c: (gst_registry_save),
16960 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16961 (gst_registry_xml_save_pad_template),
16962 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16963 (gst_registry_xml_write_cache):
16964 Rewrite registry-saving to avoid race conditions and check for
16967 2006-03-08 Wim Taymans <wim@fluendo.com>
16969 * libs/gst/base/gstbasetransform.c:
16970 (gst_base_transform_transform_caps),
16971 (gst_base_transform_transform_size),
16972 (gst_base_transform_prepare_output_buffer),
16973 (gst_base_transform_get_unit_size),
16974 (gst_base_transform_buffer_alloc),
16975 (gst_base_transform_handle_buffer),
16976 (gst_base_transform_change_state):
16977 Cleanups, separate normal flow from errors, add sensible
16979 Don't try to renegotiate when allocating an output buffer.
16980 Also copy DISCONT buffer flag when copying a buffer.
16981 Reset the transform after we finish streaming, not during.
16983 2006-03-08 Wim Taymans <wim@fluendo.com>
16985 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16986 Use last buffer timestamp in qos message.
16988 2006-03-07 Wim Taymans <wim@fluendo.com>
16990 Patch by: Christophe Fergeau
16992 * docs/pwg/advanced-tagging.xml:
16993 * docs/pwg/building-pads.xml:
16996 2006-03-07 Wim Taymans <wim@fluendo.com>
16998 * docs/libs/gstreamer-libs-sections.txt:
16999 Added basesink new methods.
17003 Docs updates. Flesh out the QoS docs.
17005 * libs/gst/base/gstadapter.c:
17006 Small doc clarification about ownership and flushing.
17008 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17009 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17010 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17011 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17012 * libs/gst/base/gstbasesink.h:
17014 Added new methods to allow subclass to control max-lateness
17016 Generate very basic QoS events based on last sync observation.
17017 Updated docs, fix typo, added some QoS blurb.
17019 * libs/gst/base/gstbasesrc.c:
17020 Remove obsolete _get_state() calls from docs.
17022 2006-03-07 Wim Taymans <wim@fluendo.com>
17024 * docs/libs/gstreamer-libs-sections.txt:
17025 * libs/gst/base/gstbasetransform.h:
17026 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17027 Fix docs for GstBaseSrc.
17029 2006-03-07 Wim Taymans <wim@fluendo.com>
17031 * docs/gst/gstreamer-sections.txt:
17034 * libs/gst/base/gstbasetransform.h:
17035 Small documentation fixes.
17037 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17040 Document thread-unsafety of gst_value_register_foo_func()
17041 when used at the same time as gst_value_foo() (#322628).
17043 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17045 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17046 (gst_push_src_check_get_range):
17047 Push sources don't support pull mode by default.
17049 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17051 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17052 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17053 (gst_base_src_default_check_get_range):
17054 * libs/gst/base/gstbasesrc.h:
17055 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17056 provide default implementation, and rename
17057 gst_base_src_check_get_range() to
17058 gst_base_src_pad_check_get_range() for clarity.
17060 2006-03-06 Wim Taymans <wim@fluendo.com>
17062 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17063 Make property overridable.
17065 2006-03-06 Wim Taymans <wim@fluendo.com>
17067 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17068 (gst_base_sink_init), (gst_base_sink_set_property),
17069 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17070 * libs/gst/base/gstbasesink.h:
17071 API addition: Make max-lateness a property.
17073 2006-03-06 Wim Taymans <wim@fluendo.com>
17075 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17076 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17077 Don't ever draw a frame that is >10ms late.
17079 2006-03-06 Michael Smith <msmith@fluendo.com>
17081 * gst/gstmessage.c: (_gst_message_copy):
17082 When copying a message, set the parent_refcount of the enclosed
17083 structure to point at the copy, not the original message.
17085 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17087 Patch by: Christophe Fergeau
17090 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17091 usable in c++ code (#333417)
17093 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17096 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17098 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17100 * libs/gst/base/gstbasetransform.c:
17101 (gst_base_transform_transform_caps):
17102 Make sure caps are writable before passing them to
17105 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17108 Fix some minor docs errors.
17110 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17112 Patch by: Ross Burton <ross at burtonini dot com>
17114 * gst/gsterror.c: (_gst_resource_errors_init):
17116 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17118 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17121 Add a check and output a g_warning when GStreamer is built
17122 against GLib 2.6 but running against 2.8 or higher, and vice
17123 versa. (Closes: #323542)
17125 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17127 * gst/parse/parse.l:
17128 Commit patch for parse_launch syntax from #331255. Removes
17129 support for quoted strings and mimetypes when writing filtered
17130 caps. See the bug report for more details - I'm pretty sure this
17131 obscure feature is not in use by _anyone_ anywhere.
17133 With this simple change, the size of the gstreamer.so here
17134 drops from 2193KB to 1565KB.
17136 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17138 * plugins/elements/gsttypefindelement.h:
17139 * plugins/elements/gsttypefindelement.c:
17140 (gst_type_find_element_src_event), (start_typefinding),
17141 (stop_typefinding), (gst_type_find_element_handle_event),
17142 (gst_type_find_element_chain),
17143 (gst_type_find_element_chain_do_typefinding):
17144 Use gst_type_find_helper_for_buffer() for chain-based
17147 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17149 * plugins/elements/gsttypefindelement.c:
17150 (gst_type_find_element_class_init),
17151 (gst_type_find_element_set_property),
17152 (gst_type_find_element_get_property):
17153 Deprecate "maximum" property (not only was it only taken into
17154 account for typefinding in push-mode anyway, it also was never
17155 actually possible to set it in the first place because the
17156 property was registered with the numeric property ID for the
17157 "minimum" property). Register "maximum" property correctly,
17158 for the sake of future copy'n'pasters. Remove some cruft
17159 from property get/set functions.
17161 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17163 * plugins/elements/gsttypefindelement.c:
17164 (gst_type_find_element_activate):
17165 Use gst_type_find_helper_get_range() here, so we
17166 can honour the "minimum" property and also emit
17167 the signal with the correct probability of the found caps.
17169 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17171 * docs/libs/gstreamer-libs-sections.txt:
17172 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17173 (helper_find_suggest), (gst_type_find_helper_get_range),
17174 (gst_type_find_helper):
17175 * libs/gst/base/gsttypefindhelper.h:
17176 New API: gst_type_find_helper_get_range() (#333042).
17178 2006-03-02 Michael Smith <msmith@fluendo.com>
17180 * gst/gstregistryxml.c: (load_feature):
17181 Asserting on a failure to read part of the registry is Not Cool.
17182 Just log a warning and return NULL (which is already handled)
17184 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17186 * win32/common/libgstbase.def:
17187 added export of gst_type_find_helper_for_buffer
17188 * win32/common/libgstbase.def:
17189 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17190 gst_ghost_pad_get_target
17192 2006-02-28 Wim Taymans <wim@fluendo.com>
17194 * docs/design/draft-klass.txt:
17196 Added Connector to mark elements that are only used to
17197 allow pipeline connections.
17198 Moved Debug to extra feature since most of them are
17199 functionally something else.
17201 2006-02-28 Wim Taymans <wim@fluendo.com>
17203 * docs/design/draft-klass.txt:
17204 Some updates and clarifications.
17206 2006-02-28 Wim Taymans <wim@fluendo.com>
17208 * docs/design/draft-klass.txt:
17209 Proposal for klass field values.
17211 * docs/design/part-streams.txt:
17212 Start of a doc describing stream anatomy.
17214 2006-02-28 Wim Taymans <wim@fluendo.com>
17216 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17217 Help the compiler a bit with type registration.
17218 Use existing forward cod path instead of duplicating it when
17219 handling a message.
17221 * gst/gstbus.c: (gst_bus_get_type):
17222 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17223 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17224 * gst/gstclock.c: (gst_clock_get_type):
17225 * gst/gstelement.c: (gst_element_get_type),
17226 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17227 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17228 * gst/gstminiobject.c: (gst_mini_object_get_type):
17229 * gst/gstpad.c: (gst_pad_get_type):
17230 * gst/gstsegment.c: (gst_segment_get_type):
17231 * gst/gststructure.c: (gst_structure_get_type):
17232 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17233 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17235 Help compiler with type registration.
17237 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17240 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17242 * plugins/elements/gsttypefindelement.c:
17243 (gst_type_find_element_handle_event):
17244 When we get an EOS event and have not found a type yet
17245 (most likely because we had not yet accumulated
17246 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17247 type given the data we have so far. Fixes typefinding
17248 for very short streams again, most notably quicktime
17249 redirections as used on Apple's trailer site (#331701).
17251 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17253 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17254 (gst_type_find_helper):
17255 Try typefinding factories with the highest rank first.
17257 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17259 * docs/libs/gstreamer-libs-docs.sgml:
17260 * docs/libs/gstreamer-libs-sections.txt:
17261 * libs/gst/base/gsttypefindhelper.c:
17262 Add section for typefind helper and add documentation
17263 for the old and the new function.
17265 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17267 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17268 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17269 (gst_type_find_helper_for_buffer):
17270 * libs/gst/base/gsttypefindhelper.h:
17271 New API: gst_type_find_helper_for_buffer() (#332723).
17273 2006-02-27 Michael Smith <msmith@fluendo.com>
17275 Patch by: Loïc Minier
17278 * docs/Makefile.am:
17279 * docs/slides/Makefile.am:
17280 prevent CVS directories getting disted.
17282 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17284 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17285 Use the REFCOUNTING category for caps refcounting.
17287 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17289 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17290 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17292 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17294 * plugins/elements/gsttypefindelement.c:
17295 (gst_type_find_element_activate):
17296 Use gst_pad_check_pull_range() before _activate_pull()
17297 to avoid unnecessary open/close (see #331690).
17299 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17302 Docs enhancement: make it crystal clear what the
17303 gst_pad_add_*_probe() callbacks should look like.
17305 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17307 * libs/gst/base/gstbasesrc.c:
17308 Document how applications can stop recording from
17309 live sources (see #330996).
17311 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17313 * tests/check/Makefile.am:
17314 * tests/check/libs/basesrc.c: (eos_event_counter),
17315 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17316 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17317 (gst_basesrc_suite), (main):
17318 ... and add some tests for the base source EOS stuff.
17320 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17322 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17323 Test case originally showed the problem fixed below,
17324 but was then amended. Add checks back at the place
17325 where they used to be.
17327 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17329 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17330 (gst_base_src_init), (gst_base_src_loop),
17331 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17332 (gst_base_src_change_state):
17333 * libs/gst/base/gstbasesrc.h:
17334 Don't unconditionally send EOS when going from PAUSED to
17335 READY state, esp. make sure we don't send two EOS events
17336 in some cases (e.g. one when reaching EOS and one when
17337 going from PAUSED to READY). Also, we don't want to send
17338 EOS events when operating in pull mode. However, we do
17339 want to send an EOS event when shutting down a live
17340 source explicitly, for example (fixes #330996).
17342 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17344 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17345 Update src->read_position after a seek when not using mmap.
17346 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17348 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17354 Make things work with --disable-parse as they do with
17355 --disable-load-save - the symbols involved disappear, but the
17356 header is still installed and GST_DISABLE_PARSE is included via
17359 2006-02-20 Julien MOUTTE <julien@moutte.net>
17361 * libs/gst/base/gstbasetransform.c:
17362 (gst_base_transform_change_state): Fix a stupid bug. I was
17363 sure I compiled that.
17365 2006-02-20 Julien MOUTTE <julien@moutte.net>
17367 * gst/gstpad.c: (gst_pad_set_blocked_async):
17368 * gst/gstutils.c: (gst_pad_add_data_probe),
17369 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17370 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17371 (gst_pad_remove_buffer_probe): Make those function act on the
17372 ghostpad target when it's a ghostpad. (Closes #331727)
17374 2006-02-20 Julien MOUTTE <julien@moutte.net>
17376 * libs/gst/base/gstbasetransform.c:
17377 (gst_base_transform_change_state): Make basetransform reusable.
17380 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17382 * docs/random/release:
17383 Move the current documentation of how to do a release to the top
17386 * gst/gstbin.c: (gst_bin_class_init),
17387 (gst_bin_handle_message_func):
17388 Allow multiple state-recalculation threads. (Closes #328873)
17390 2006-02-19 Julien MOUTTE <julien@moutte.net>
17392 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17393 * gst/gstpad.c: (gst_pad_set_event_function),
17394 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17395 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17396 2 strings. You can't use the STR_NULL macro on that.
17398 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
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)
17403 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17404 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17405 So now, we can use --gst-debug-level=5 on Windows
17406 * win32/common/libgstcontroller.def:
17407 Added export of gst_controller_init
17408 * win32/vs6/libgstcontroller.dsp:
17409 Fixed Release post build configuration
17411 2006-02-17 Wim Taymans <wim@fluendo.com>
17413 * tests/check/gst/gstquery.c: (GST_START_TEST):
17414 Added another check.
17416 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17418 * plugins/elements/gsttypefindelement.c: (find_peek):
17419 We can do peeks at non-zero offsets, as long as they
17420 fall within the buffer we have.
17422 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17424 * tests/check/Makefile.am:
17425 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17426 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17427 (parse_suite), (main):
17428 Add testsuite for parse launch syntax
17430 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17432 * plugins/elements/gsttypefindelement.c:
17433 (gst_type_find_element_chain):
17434 When typefinding is unsuccessful in the chain function, don't
17435 error out immediately. Only error out with NO_CAPS_FOUND if
17436 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17437 otherwise simply wait for more data so we can try typefinding
17438 again with more data later. Also, don't attempt to typefind
17439 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17440 this should improve typefinding from network sources where the
17441 size of the first buffer can be somewhat random.
17443 2006-02-14 Wim Taymans <wim@fluendo.com>
17445 * docs/gst/gstreamer-sections.txt:
17446 * gst/gstpadtemplate.c:
17447 * gst/gstpadtemplate.h:
17448 Fix padtemplate docs, fixes #328805.
17450 2006-02-14 Wim Taymans <wim@fluendo.com>
17452 * tools/gst-launch.c: (main):
17453 NO_PREROLL is not an ERROR so don't send confusing messages
17456 2006-02-14 Wim Taymans <wim@fluendo.com>
17458 Patch by: Torsten Schoenfeld
17460 * gst/gstregistry.c: (gst_registry_get_default),
17461 (_gst_registry_cleanup):
17462 Protect default registry with lock and ref/sink it.
17465 2006-02-14 Wim Taymans <wim@fluendo.com>
17468 * gst/gstquery.c: (gst_query_list_add_format),
17469 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17470 (gst_query_parse_formats_nth):
17471 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17474 2006-02-14 Wim Taymans <wim@fluendo.com>
17476 * docs/gst/gstreamer-sections.txt:
17477 Reworked query docs.
17479 * gst/gstquery.c: (gst_query_new_formats),
17480 (gst_query_list_add_format), (gst_query_set_formats),
17481 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17482 (gst_query_parse_formats_nth):
17484 Flesh out formats query, added some new methods.
17485 Fix part of #324398.
17487 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17488 Added query creation tests.
17490 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17492 * gst/gstpad.c: (fixate_value):
17493 Add a default fixation for fraction lists.
17495 2006-02-13 Wim Taymans <wim@fluendo.com>
17497 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17498 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17501 Detect and warn for obvious deadlocks. fixes #320340
17502 Fix error case where lock was not released.
17504 * tests/check/Makefile.am:
17505 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17506 (task_func), (gst_element_suite), (main):
17509 2006-02-13 Wim Taymans <wim@fluendo.com>
17511 * docs/gst/gstreamer-sections.txt:
17513 Add new functions to docs.
17515 2006-02-13 Wim Taymans <wim@fluendo.com>
17517 * docs/design/part-TODO.txt:
17518 Updated TODO list, basesrc supports seeking to non-bytes
17521 * docs/design/part-element-sink.txt:
17524 * gst/gstbin.c: (bin_replace_message),
17525 (gst_bin_handle_message_func):
17526 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17527 * gst/gstevent.c: (gst_event_finalize):
17528 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17529 (gst_pad_send_event):
17530 Use shiny new _TYPE_NAME macros.
17532 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17533 Move debug statement up.
17535 * gst/gstelement.c: (gst_element_set_locked_state):
17536 Add some debugging.
17538 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17540 * docs/gst/gstreamer-sections.txt:
17541 * gst/gstmessage.h:
17543 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17544 macros (#330906). Also, document the already existing
17545 GST_QUERY_TYPE macro.
17547 2006-02-13 Wim Taymans <wim@fluendo.com>
17549 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17550 (event_probe), (GST_START_TEST):
17551 Only events up to the pipeline EOS are counted, there are
17552 some more when going to NULL currently which we don't care
17555 2006-02-13 Wim Taymans <wim@fluendo.com>
17557 * gst/gstpad.c: (gst_pad_send_event):
17558 Correctly check flushing and emit probes. fixes #330125
17560 2006-02-10 Andy Wingo <wingo@pobox.com>
17562 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17564 (gst_bus_init): Cache the location of the private data in the
17565 instance structure.
17566 (gst_bus_enable_sync_message_emission)
17567 (gst_bus_disable_sync_message_emission): Implement new public
17569 (gst_bus_post): Emit the sync-message signal if the user asked for
17572 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17573 location of the bus-private structure.
17574 (gst_bus_enable_sync_message_emission)
17575 (gst_bus_disable_sync_message_emission): API addition
17577 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17579 Patch by: Vincent Torri
17581 * docs/pwg/building-boiler.xml:
17582 PWG patch from #326800
17584 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17587 * docs/Makefile.am:
17588 * docs/design/Makefile.am:
17591 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17596 === release 0.10.3 ===
17598 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17601 releasing 0.10.3, "Like a virgin"
17603 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17606 2nd prerelease of 0.10.3
17607 Bump libtool versioning.
17609 2006-02-07 Andy Wingo <wingo@pobox.com>
17611 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17612 update last_stop if we're in TIME format and the timestamp is
17615 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17616 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17617 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17618 If we get a new newsegment with a different format, adapt
17621 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17622 of 0. Not a problem, really.
17624 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17627 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17632 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17635 project files updated to the default vs7 configuration
17636 * win32/common/libgstbase.def:
17637 * win32/common/libgstreamer.def:
17639 removed empty lines,
17640 sorted all exported symbols alphabetically
17641 * win32/common/dirent.c:
17642 * win32/common/dirent.h:
17643 * win32/common/gchar.h:
17644 use windows line end.
17646 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17648 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17649 Send EOS event when stopping.
17651 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17654 Tell folks what to do if the plugin-foobar.xml file
17655 hasn't been generated for a newly-added plugin.
17657 2006-02-05 Julien MOUTTE <julien@moutte.net>
17659 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17660 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17661 (gst_collect_pads_start), (gst_collect_pads_stop),
17662 (gst_collect_pads_event): Collectpads now holds a reference
17663 to the GstPad that was added. Indeed we don't want to look
17664 at pads that might just go away with no warning...
17666 2006-02-05 Julien MOUTTE <julien@moutte.net>
17668 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17669 (gst_collect_pads_start), (gst_collect_pads_stop),
17670 (gst_collect_pads_event), (gst_collect_pads_chain):
17671 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17672 Mark Nauwelaerts's patch on bug #328491.
17674 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17676 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17678 Add some simple tests for gst_parse_bin_from_description() and
17679 gst_bin_find_unconnected_pad() (#329069).
17681 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17683 * tools/gst-launch.c: (event_loop), (main):
17684 Catch errors during preroll (#320084).
17686 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17688 * plugins/elements/gsttypefindelement.c:
17689 (gst_type_find_element_activate):
17690 Post TYPE_NOT_FOUND error message when typefinding
17691 is unsuccessful in the activate function as well.
17693 2006-02-02 Wim Taymans <wim@fluendo.com>
17695 * docs/design/part-element-sink.txt:
17698 2006-02-02 Wim Taymans <wim@fluendo.com>
17700 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17701 (gst_base_sink_render_object),
17702 (gst_base_sink_queue_object_unlocked):
17703 Only keep track of prerollable items when we are
17705 Before rendering after preroll, always check if we
17707 Added some more debugging.
17709 2006-02-02 Wim Taymans <wim@fluendo.com>
17711 * gst/gstelement.c: (gst_element_continue_state),
17712 (gst_element_set_state_func), (gst_element_change_state):
17713 Fixed #326576, been running this for quite some time with
17714 no regressions at all.
17716 2006-02-02 Wim Taymans <wim@fluendo.com>
17719 Added more suppressions
17721 2006-02-02 Wim Taymans <wim@fluendo.com>
17723 * docs/design/part-element-sink.txt:
17726 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17727 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17728 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17729 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17730 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17731 (gst_base_sink_preroll_object),
17732 (gst_base_sink_queue_object_unlocked),
17733 (gst_base_sink_queue_object), (gst_base_sink_event),
17734 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17735 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17736 (gst_base_sink_get_position), (gst_base_sink_change_state):
17737 * libs/gst/base/gstbasesink.h:
17738 Totally refactored matching the design doc.
17739 Use two segments, one to clip incomming buffers and another to
17741 Handle queueing correctly, bypass the queue when playing.
17742 Make EOS cancelable.
17743 Handle errors correctly when operating in pull based mode.
17745 * tests/check/elements/fakesink.c: (GST_START_TEST),
17747 Added new check for sinks.
17749 2006-02-02 Wim Taymans <wim@fluendo.com>
17751 * gst/gstsegment.c: (gst_segment_clip):
17752 No reason to refuse to clip when start == -1
17754 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17757 * docs/manual/intro-basics.xml:
17758 * docs/manual/intro-preface.xml:
17759 * docs/manual/manual.xml:
17760 * docs/pwg/advanced-dparams.xml:
17761 * docs/pwg/intro-basics.xml:
17762 * docs/pwg/intro-preface.xml:
17763 * docs/pwg/pwg.xml:
17764 describe dparams (controller) for plugins
17765 unify docs a little more
17767 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17769 * docs/gst/gstreamer-sections.txt:
17770 * gst/gstutils.c: (element_find_unconnected_pad),
17771 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17773 Add new API: gst_parse_bin_from_description() and
17774 gst_bin_find_unconnected_pad() (#329069).
17776 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17778 * docs/manual/README:
17779 uncover a nasty detail of the docs build
17781 2006-01-31 Wim Taymans <wim@fluendo.com>
17783 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17784 Don't cache duration messages if we're not going to use or
17787 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17789 * docs/manual/advanced-dparams.xml:
17790 * docs/pwg/advanced-dparams.xml:
17794 * libs/gst/controller/lib.c: (gst_controller_init):
17797 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17799 * gst/gstelement.c: (gst_element_message_full):
17800 also show file/line/func if no additional debug was given
17802 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17804 * win32/vs7/grammar.vcproj:
17805 activate copy of autogenerated files for Release mode
17807 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17809 * win32/common/libgstreamer.def:
17810 export gst_value_compare
17812 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17814 * plugins/elements/Makefile.am:
17815 * plugins/elements/gstelements.c:
17816 * plugins/elements/gstfdsink.c: (_do_init),
17817 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17818 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17819 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17820 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17821 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17822 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17823 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17824 * plugins/elements/gstfdsink.h:
17825 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17827 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17829 * docs/manual/advanced-dparams.xml:
17830 describe controller
17831 * docs/manual/advanced-position.xml:
17832 * docs/manual/basics-init.xml:
17833 * docs/manual/manual.xml:
17834 * docs/manual/titlepage.xml:
17835 * docs/pwg/pwg.xml:
17836 * docs/pwg/titlepage.xml:
17837 cleanup xml (more to come)
17838 * libs/gst/controller/gstcontroller.c:
17841 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17843 * win32/vs6/grammar.dsp:
17844 add autogen of gstmarshal.c,h for Release mode
17846 2006-01-30 Wim Taymans <wim@fluendo.com>
17848 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17849 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17850 (gst_base_sink_handle_object), (gst_base_sink_event),
17851 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17852 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17853 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17854 (gst_base_sink_deactivate), (gst_base_sink_activate),
17855 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17856 (gst_base_sink_query), (gst_base_sink_change_state):
17857 Basesink cleanups, remove some old code.
17858 Handle the case where a subclass can preroll in the render
17859 method (mostly audiosinks).
17860 Handle more events.
17861 Remove some locks around variables that are now protected
17862 with the PREROLL_LOCK (clock_id, flushing, ..).
17863 Optimize position query some more, do correct locking.
17864 Remove old code to push queue in state change, this is not
17865 needed anymore since preroll blocks on all prerollable items
17867 Almost implemented as described in design doc.
17869 2006-01-30 Wim Taymans <wim@fluendo.com>
17871 * tests/check/gst/gstbin.c: (GST_START_TEST):
17872 Wait for refcount to settle down before checking.
17874 2006-01-30 Wim Taymans <wim@fluendo.com>
17876 * docs/design/part-element-sink.txt:
17877 Pseudo code overview of desired sink behaviour regarding
17880 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17881 * win32/vs6/grammar.dsp:
17882 fix some bugs in Release mode for autogenerated files
17884 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17885 * win32/common/libgstbase.def:
17886 * win32/common/libgstreamer.def:
17887 export some new symbols: gst_base_src_set_format,
17888 gst_iterator_next, gst_structure_set_valist
17890 2006-01-29 Julien MOUTTE <julien@moutte.net>
17892 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17893 Set pad functions unconditionally. Fixes #329105.
17895 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17897 add vs8 project files created by Sergey Scobich
17899 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17901 * gst/gstutils.c: (gst_element_unlink_pads):
17902 Don't leak pad references.
17904 * tests/check/elements/fakesink.c: (GST_START_TEST):
17905 * tests/check/generic/sinks.c: (GST_START_TEST):
17906 * tests/check/generic/states.c: (GST_START_TEST):
17907 * tests/check/gst/gstbin.c: (GST_START_TEST):
17908 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17909 * tests/check/gst/gstelement.c: (GST_START_TEST):
17910 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17911 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17912 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17913 Fix a bunch of leaks. Make generic/sinks.c
17914 use a bit less cpu by slowing the buffer rate
17915 between fakesrc and fakesink.
17917 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17919 * gst/gstelement.c: (gst_element_send_event):
17922 * gst/gstiterator.c:
17923 * gst/gstiterator.h:
17924 * gst/gstpad.c: (gst_pad_send_event):
17925 * gst/gststructure.c:
17929 * libs/gst/base/gstadapter.c:
17930 doc fixes, to link to function, just write gst_cool_function(), don't
17933 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17935 * plugins/elements/gsttee.c: (gst_tee_do_push),
17936 (gst_tee_handle_buffer):
17937 Always prefer an actual return value from a src
17938 pad in place of NOT_LINKED. This means we return
17939 WRONG_STATE when all src pads are WRONG_STATE
17940 instead of NOT_LINKED.
17942 Lock when replacing the last message to prevent
17943 racing with the get_property method.
17947 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17949 * tests/check/Makefile.am:
17950 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17952 Add a very simple check that should have caught the memleak I fixed
17953 last night (if not for the slice allocator hiding it)
17955 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17957 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17958 (gst_bin_remove_func), (gst_bin_handle_message_func),
17959 (bin_query_duration_fold), (bin_query_generic_fold):
17960 Clean up references to the clock provider when disposed or when
17961 handling a clock-lost message from it.
17963 Unref sinks when performing a query via gst_iterator_fold, as the
17964 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17966 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17967 (gst_clock_set_master):
17968 Drop our reference to the master clock, if any, when we are disposed.
17970 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17971 Chain up in dispose.
17973 2006-01-26 Wim Taymans <wim@fluendo.com>
17975 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17976 Add some debugging.
17978 2006-01-26 Julien MOUTTE <julien@moutte.net>
17980 * plugins/elements/gsttee.c: (gst_tee_do_push),
17981 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17982 handles pad being NOT_LINKED or in WRONG_STATE.
17984 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17989 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17992 remove obsolete entry
17994 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17996 * docs/gst/gstreamer-sections.txt:
17997 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17998 (gst_bin_iterate_sources), (gst_bin_send_event):
18000 * gst/gstelement.c: (gst_element_send_event):
18002 * gst/gstpad.c: (gst_pad_send_event):
18003 added code for downstream events, reviewed docs in gstevent.c
18005 2006-01-25 Julien MOUTTE <julien@moutte.net>
18007 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18008 We only query position using the clock in the playing state.
18009 Query peer in the other cases.
18010 * win32/common/config.h: Updates.
18012 2006-01-24 Wim Taymans <wim@fluendo.com>
18014 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18015 A clock entry that is scheduled for the exact time of the
18016 clock is still in time.
18018 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18019 (gst_base_sink_do_sync):
18020 Add some more debug info.
18022 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18025 Add new vs7 project files and solution.
18027 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18030 all files removed as they were out-dated.
18032 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18034 * docs/random/release:
18036 * gst/gstbin.c: (gst_bin_init):
18037 * gst/gstbus.c: (gst_bus_new):
18039 * gst/gstpipeline.c: (gst_pipeline_init):
18040 use gst_bus_new(), improve logging, fix docs
18041 * win32/common/config.h:
18042 update for cvs build
18044 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18047 up required version of automake to 1.7
18049 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18051 * win32/common/libgstreamer.def:
18052 export gst_buffer_is_metadata_writable
18054 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18056 * docs/gst/gstreamer-sections.txt:
18058 Add gst_event_replace() (#327001)
18060 2006-01-20 Wim Taymans <wim@fluendo.com>
18062 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18063 Make it actually compile too..
18065 2006-01-20 Wim Taymans <wim@fluendo.com>
18068 Clarify behaviour of _is_equal() when passing NULL parameters.
18070 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18071 (gst_pad_set_caps):
18072 Cleanups. Don't unref NULL caps.
18073 When setting the same caps, protect caps of the pad with
18075 Use full functionality of _is_equal() when comparing caps.
18077 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18080 Don't loop infinitely if there are no buffers to present. Partially
18081 fixes #327197, but collectpads is just broken for reusing elements
18082 to do multiple encodes atm.
18084 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18086 * tools/gst-inspect.c: (print_element_features):
18087 * tools/gst-xmlinspect.c: (main):
18088 URL_HANDLER is not a plugin feature we can search for in
18091 2006-01-19 Edward Hervey <edward@fluendo.com>
18093 * gst/gstelement.c: (gst_element_pads_activate):
18094 When activating, do src pads first, then sink pads.
18095 When de-activating, do sink pads first, then src pads.
18097 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18099 * docs/gst/gstreamer-sections.txt:
18100 Add gst_index_add_associationv to the docs
18102 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18107 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18108 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18109 Do some refactoring. Doesn't actually change functionality,
18110 but makes landing the DRAIN event easier later.
18112 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18114 * docs/pwg/advanced-scheduling.xml:
18115 Update from 0.9.x to 0.10 API and make example a bit
18118 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18120 * docs/gst/gstreamer-sections.txt:
18121 Add gst_buffer_(is|make)_metadata_writable methods.
18123 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18125 * docs/design/part-sparsestreams.txt:
18126 Update sparse streams doc, hopefully for greater clarity
18128 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18130 * docs/design/part-events.txt:
18131 Remove mention of FILLER events.
18134 * docs/design/part-sparsestreams.txt:
18135 Write some things about using NEWSEGMENT to keep sparse streams
18138 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18140 * gst/gstbin.c: (gst_bin_dispose):
18141 Guard gst_object_unref call against a NULL object (dispose
18142 can theoretically be called multiple times).
18144 2006-01-18 Wim Taymans <wim@fluendo.com>
18146 * gst/gstbin.c: (gst_bin_element_set_state):
18147 * gst/gstclock.c: (gst_clock_id_wait):
18148 Added some more debug info.
18150 * libs/gst/base/gstadapter.c:
18153 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18154 (gst_base_sink_do_sync), (gst_base_sink_chain):
18155 Added some comments.
18157 2006-01-18 Wim Taymans <wim@fluendo.com>
18159 * tests/check/Makefile.am:
18160 * tests/check/elements/fakesink.c: (chain_async_buffer),
18161 (chain_async), (chain_async_return), (GST_START_TEST),
18162 (fakesink_suite), (main):
18163 Added fakesink test that checks prerolling and clipping
18166 * tests/check/gst/gstutils.c: (GST_START_TEST):
18167 Make check run faster so that buildbots don't timeout.
18169 2006-01-18 Wim Taymans <wim@fluendo.com>
18171 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18172 (gst_base_sink_do_sync):
18174 When the sink finishes blocking on the preroll buffer, it can
18175 immediatly render it instead of rendering when the next buffer
18178 2006-01-18 Wim Taymans <wim@fluendo.com>
18180 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18181 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18182 (gst_base_sink_chain):
18184 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18185 Don't store _last_stop if the buffer is dropped.
18187 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18189 * plugins/elements/gsttypefindelement.c:
18190 (gst_type_find_element_class_init):
18191 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18192 object method handler that sets the caps on the pad and we want
18193 that to happen before we emit the signal (fixes e.g. feeding a
18194 plain text file to decodebin).
18196 2006-01-18 Christian Schaller <Christian@fluendo.com>
18198 * gst/gstplugin.c: Add MPL and Proprietary as license options
18200 2006-01-18 Andy Wingo <wingo@pobox.com>
18202 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18203 symbol was exported before, it appears this was just an oversight.
18205 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18207 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18208 prototype to gint. OK since this prototype was not in the header.
18210 2006-01-17 Andy Wingo <wingo@pobox.com>
18212 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18213 registry while we remove plugins.
18215 * tools/gst-inspect.c (print_element_info): Don't unref the
18216 factory arg, that should be the responsibility of whatever code
18217 received the ref. Fixes a double-free when called from
18218 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18219 (main): Unref the factory if we have one.
18220 (print_element_list): No change -- relies on the
18221 plugin_feature_list_free to free the list of features.
18223 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18225 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18226 (gst_buffer_make_metadata_writable):
18228 * libs/gst/base/gstbasetransform.c:
18229 (gst_base_transform_prepare_output_buf):
18230 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18231 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18232 Replace gst_buffer_(make|is)_metadata_writable patch now
18233 that the release is out.
18235 2006-01-17 Andy Wingo <wingo@pobox.com>
18237 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18238 in the present tense without reference to versions.
18240 * gst/gstregistry.c (gst_registry_add_plugin)
18241 (gst_registry_remove_plugin, gst_registry_remove_feature)
18242 (gst_registry_find_feature, gst_registry_get_feature_list)
18243 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18244 (gst_registry_lookup, gst_registry_scan_path)
18245 (_gst_registry_remove_cache_plugins)
18246 (gst_registry_get_feature_list_by_plugin): Add argument
18249 === release 0.10.2 ===
18251 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18254 releasing 0.10.2, "If man is five"
18256 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18260 * libs/gst/base/gstbasetransform.c:
18261 (gst_base_transform_prepare_output_buf):
18262 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18263 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18264 Back out patch until after the release.
18266 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18268 * gst/gstminiobject.c:
18269 Spelling fix in docs.
18270 * ChangeLog - remove conflict indicator
18272 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18274 Reviewed By: Andy Wingo
18276 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18277 (gst_buffer_make_metadata_writable):
18279 Add gst_buffer_(is|make)_metadata_writable as analogues of
18280 gst_buffer_(is|make)_writable.
18282 * libs/gst/base/gstbasetransform.c:
18283 (gst_base_transform_prepare_output_buf):
18284 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18285 Use name gst_buffer_(is|make)_metadata_writable functions.
18287 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18288 Test gst_buffer_(is|make)_metadata_writable
18292 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18294 * docs/manual/Makefile.am:
18295 don't do parallel make
18298 * win32/common/config.h.in:
18299 add generations for HOST_CPU and GST_MAJORMINOR
18300 * win32/common/config.h:
18301 commit generated result
18303 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18305 * docs/manual/appendix-integration.xml:
18306 Update GNOME integration section to use gst_init_get_option_group()
18307 instead of the old popt stuff (#322911). Also, GNOME applications
18308 should now use gconf*sink and gconf*src instead of the old gconf
18311 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18314 * docs/gst/gstreamer-docs.sgml:
18315 * docs/gst/gstreamer-sections.txt:
18316 * docs/libs/gstreamer-libs-sections.txt:
18317 add new API entries to the docs
18318 * libs/gst/controller/Makefile.am:
18319 * libs/gst/controller/gstcontroller.c:
18320 * libs/gst/controller/gstcontroller.h:
18321 * libs/gst/controller/gstcontrollerprivate.h:
18322 * libs/gst/controller/gsthelper.c:
18323 * libs/gst/controller/gstinterpolation.c:
18324 move private structs to private header
18326 gstreamer-0.7 -> gstreamer-0.10
18327 * tests/check/libs/struct_i386.h:
18328 remove private structs
18330 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18332 * plugins/indexers/Makefile.am:
18333 Fixes as part of #317048
18335 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18337 * plugins/indexers/Makefile.am:
18338 fix #316086 - compilation when mmap is missing
18340 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18342 * libs/gst/base/gstbasesink.c:
18343 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18344 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18345 * win32/common/config.h:
18346 added some defines GST_MAJORMINOR and HOST_CPU
18347 * win32/common/libgstbase.def:
18348 * win32/common/libgstreamer.def:
18349 added some exported functions.
18351 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18353 * libs/gst/controller/gstcontroller.c:
18354 (gst_controlled_property_set_interpolation_mode),
18355 (gst_controlled_property_new):
18356 * libs/gst/controller/gstcontroller.h:
18357 * libs/gst/controller/gstinterpolation.c:
18358 (interpolate_none_get_string_value_array):
18359 make G_TYPE_STRING controlable
18361 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18364 * tools/gst-feedback.1.in:
18365 * tools/gst-inspect.1.in:
18366 * tools/gst-launch.1.in:
18367 * tools/gst-md5sum.1.in:
18368 * tools/gst-typefind.1.in:
18369 * tools/gst-xmlinspect.1.in:
18370 * tools/gst-xmllaunch.1.in:
18371 cleanup man-pages, remove reference to gst-register, document env-vars
18373 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18375 * gst/gstbuffer.c: (gst_buffer_span):
18376 gst_buffer_span should copy the timestamp of the first buffer
18377 if they were both originally overlapping subbuffers of the
18378 same parent, using the same logic as the 'slow copy' case.
18380 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18382 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18383 Need to awaken ALL the pads when we pop a buffer, otherwise
18384 collectpads only works when there is 2 input streams.
18386 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18388 * docs/random/ensonic/media-device-daemon.txt:
18391 fix doc example, add clarification
18392 * tools/gst-launch.1.in:
18393 add initial info about GST_PLUGIN_PATH, needs more work
18395 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18397 * docs/manual/basics-bins.xml:
18398 * docs/manual/basics-elements.xml:
18399 * docs/manual/intro-basics.xml:
18400 Some more minor docs additions and updates.
18402 2006-01-11 Wim Taymans <wim@fluendo.com>
18404 * docs/manual/basics-bins.xml:
18405 * docs/manual/basics-elements.xml:
18406 Some small fixes as pointed out by Ser-ver on IRC.
18408 2006-01-10 Edward Hervey <edward@fluendo.com>
18410 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18411 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18412 the single-segment mode.
18414 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18416 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18418 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18419 (gst_base_src_perform_seek), (gst_base_src_send_event),
18420 (gst_base_src_set_property), (gst_base_src_get_property),
18421 (gst_base_src_loop), (gst_base_src_start),
18422 (gst_base_src_activate_push):
18423 * libs/gst/base/gstbasesrc.h:
18424 Name (private) union; makes Sun's Forte compiler happy (#324900).
18426 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18429 gst-register is gone.
18431 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18433 * gst/gstvalue.c: (_gst_value_initialize):
18434 make the G_TYPE_DATE instantiation work if debug is disabled
18436 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18438 * gst/gstmessage.c: (gst_message_parse_tag),
18439 (gst_message_parse_error), (gst_message_parse_warning):
18440 Don't crash when return location for error/warning debug
18441 string is NULL; add fact that return locations can be
18442 NULL to docs where appropriate.
18444 2006-01-05 Wim Taymans <wim@fluendo.com>
18446 * gst/gstplugin.c: (gst_plugin_load_file):
18447 Replace strdup by g_strdup.
18449 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18451 * docs/pwg/advanced-types.xml:
18454 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18456 submitted by: Abel Cheung
18460 Added Chinese (traditional) translation
18462 2006-01-04 Wim Taymans <wim@fluendo.com>
18464 * docs/manual/basics-pads.xml:
18465 * docs/plugins/Makefile.am:
18466 * docs/plugins/gstreamer-plugins-docs.sgml:
18467 * docs/plugins/gstreamer-plugins-sections.txt:
18468 * docs/pwg/advanced-clock.xml:
18469 * docs/pwg/advanced-scheduling.xml:
18470 * docs/pwg/advanced-types.xml:
18471 * plugins/elements/gstfdsink.c:
18472 * plugins/elements/gstfdsrc.c:
18473 * plugins/elements/gstfdsrc.h:
18474 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18475 * plugins/elements/gstidentity.h:
18476 * plugins/elements/gstqueue.h:
18477 * plugins/elements/gsttee.c:
18478 * plugins/elements/gsttee.h:
18479 * plugins/elements/gsttypefindelement.c:
18480 (gst_type_find_element_class_init):
18481 * plugins/elements/gsttypefindelement.h:
18482 Small updates to various docs.
18483 Added core plugins to docs.
18485 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18488 add a suppression for liboil's uninitialized variable
18490 2006-01-02 James Livingston <jrl at ids dot org dot au>
18492 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18495 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18496 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18497 compiler switch is being used (#325429).
18499 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18501 * gst/gstbin.c: (gst_bin_query):
18502 Disable duration query caching in bins until it gets
18503 fixed (see #324807).
18505 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18507 * tools/gst-inspect.c: (print_element_properties_info):
18508 Handle properties of POINTER and BOXED type.
18510 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18512 * gst/gst.c: (init_post):
18513 Init tags stuff and some other things before loading
18514 any static plugins (there may be other static plugins
18515 than just the GStreamer ones, and they may want to
18516 register their own tags or formats or whatever, and
18517 preferably without segfaulting).
18519 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18520 Print at least a warning in the debug logs if we drop a
18521 query just because we don't know how to adjust the value
18522 in the particular format.
18524 2005-12-24 David Schleef <ds@schleef.org>
18526 * tools/gstreamer-completion:
18527 Replacement for gst-complete written in sh and sed. Only
18528 completes names of features, but that's 90% of what I want
18529 it for. Properties are not available in registry.xml. (Maybe
18532 === release 0.10.1 ===
18534 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18537 releasing 0.10.1, "Nollaig chridheil"
18539 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18541 * docs/faq/cvs.xml:
18542 Add missing quote, should be make ERROR_CFLAGS="".
18544 2005-12-20 Wim Taymans <wim@fluendo.com>
18546 * docs/design/part-trickmodes.txt:
18547 More documentation on trickmodes.
18549 2005-12-20 Edward Hervey <edward@fluendo.com>
18551 * gst/gstcaps.c: (gst_static_caps_get_type):
18553 API addition: GST_TYPE_STATIC_CAPS
18554 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18555 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18556 * gst/gstpadtemplate.h:
18557 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18558 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18561 2005-12-18 Wim Taymans <wim@fluendo.com>
18563 * libs/gst/base/gstadapter.c:
18564 * libs/gst/base/gstadapter.h:
18565 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18566 (gst_base_sink_get_position):
18567 * libs/gst/base/gstbasesink.h:
18568 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18569 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18570 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18571 (gst_base_src_send_event), (gst_base_src_update_length),
18572 (gst_base_src_get_range), (gst_base_src_loop),
18573 (gst_base_src_start):
18574 * libs/gst/base/gstbasesrc.h:
18575 * libs/gst/base/gstbasetransform.h:
18576 * libs/gst/base/gstcollectpads.h:
18577 * libs/gst/base/gstpushsrc.c:
18578 * libs/gst/base/gstpushsrc.h:
18579 * libs/gst/dataprotocol/dataprotocol.c:
18580 * libs/gst/dataprotocol/dataprotocol.h:
18581 * libs/gst/net/gstnetclientclock.h:
18582 * libs/gst/net/gstnettimeprovider.h:
18583 Documentation updates.
18585 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18587 * docs/manual/basics-helloworld.xml:
18588 Remove superfluous closing bracket in helloworld example.
18590 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18592 * tools/gst-launch.1.in:
18593 Update gst-launch man page; add a section with useful
18594 environment variables. Fixes #323882.
18596 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18599 * gst/gst_private.h:
18600 change some char* into char[]
18602 2005-12-16 Wim Taymans <wim@fluendo.com>
18604 * gst/gstregistryxml.c: (load_feature):
18606 Don't use g_object_unref on GstObjects so that we avoid
18607 leaks on unsafe glibs.
18609 2005-12-16 Wim Taymans <wim@fluendo.com>
18611 * gst/gstbin.c: (gst_bin_recalc_state):
18614 2005-12-16 Wim Taymans <wim@fluendo.com>
18616 * common/check.mak:
18617 Added make forever target for check.
18619 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18621 * gst/gst.c: (init_post):
18622 make the registry cache file HOST_CPU-dependent
18624 2005-12-16 Andy Wingo <wingo@pobox.com>
18626 * plugins/elements/gstbufferstore.c
18627 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18630 * tests/check/gst/gstobject.c
18631 (test_fake_object_name_threaded_unique): Pay attention to
18632 g_list_sort return value.
18634 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18636 * tools/gst-feedback-m.m:
18637 Update for 0.9/0.10 (fixes #323870).
18639 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18641 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18642 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18644 * tests/check/gst/gstminiobject.c: (my_foo_init),
18645 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18646 (test_value_collection), (gst_mini_object_suite):
18647 Add test to ensure refcounts end up as expected when passing
18648 GstMiniObjects through g_object_get() and g_object_set().
18650 2005-12-14 Julien MOUTTE <julien@moutte.net>
18652 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18653 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18654 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18655 of collectpads. This version removes a lot of races without
18656 touching API/ABI. Yay !
18658 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18660 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18661 Don't allow activation of a srcpad in pull_range if it has no
18663 Change some debug statements to be a little clearer
18665 * plugins/elements/gsttypefindelement.c:
18666 (gst_type_find_handle_src_query):
18667 Check that we have a peer before executing queries thereupon.
18669 * tests/examples/metadata/read-metadata.c: (message_loop):
18670 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18671 immediately return us any available message with 0 timeout.
18673 2005-12-12 Michael Smith <msmith@fluendo.com>
18675 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18676 Don't unref factories after calling them.
18677 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18678 * plugins/elements/gsttypefindelement.c:
18679 (gst_type_find_element_chain):
18680 Free lists of factories after using them. Fixing typefinding memory
18683 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18685 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18686 (gst_plugin_feature_load):
18687 more meaningful debug output
18689 * tests/Makefile.am:
18690 * tests/old/examples/Makefile.am:
18691 make make distcheck happy again
18693 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18695 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18696 Catch the special case where we are operating chain-based,
18697 but the downstream peer pad has no chain function. Emit a
18698 custom error message in this case instead of letting the
18699 core generate one implying that this is some sort of core
18700 bug. It's not, it just means that whatever got plugged
18701 into the pipeline downstream when we announced the type
18702 can only operate pull-based, while our source can only
18703 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18704 Error string has not been marked for translation yet, as
18705 it probably needs some more work first.
18707 (gst_type_find_element_get_best_possibility):
18708 Add helper function to find the best of all available
18709 found possibilities that qualify given the min. threshold.
18711 (gst_type_find_element_handle_event):
18712 Fix the case where we get an EOS while still in TYPEFIND
18713 mode (we want to chose the best of all possible types,
18714 not just the first type that happens to be in our unsorted
18715 list of possible types).
18717 (gst_type_find_element_chain):
18718 Make sure we return GST_FLOW_ERROR when we errored out
18719 in stop_typefinding(); also, don't just find the best of
18720 all found type entries and then use the last examined
18721 type entry, but actually use the best entry.
18723 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18725 * tests/examples/typefind/typefind.c: (type_found):
18726 * tests/examples/xml/runxml.c: (xml_loaded):
18727 More gcc4 fixes and a mem leak fix.
18729 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18731 * tests/examples/xml/createxml.c: (object_saved):
18734 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18736 * tests/Makefile.am:
18737 enable the examples even more
18739 2005-12-12 Andy Wingo <wingo@pobox.com>
18741 * libs/gst/net/gstnettimeprovider.c
18742 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18743 (gst_net_time_provider_set_property)
18744 (gst_net_time_provider_get_property):
18745 API addition: Export "active" as a GObject property.
18746 (gst_net_time_provider_thread): Only respond to time queries if
18747 the time provider is active.
18749 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18750 NetTimeProvider, preserving binary compat.
18752 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18754 * tests/examples/controller/audio-example.c: (main):
18755 * tests/examples/launch/Makefile.am:
18756 convert comments again
18758 2005-12-12 Wim Taymans <wim@fluendo.com>
18760 * libs/gst/base/gstpushsrc.c:
18763 2005-12-12 Wim Taymans <wim@fluendo.com>
18765 * docs/libs/gstreamer-libs-sections.txt:
18766 Added new symbol to docs.
18768 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18769 (gst_base_src_init), (gst_base_src_set_format),
18770 (gst_base_src_default_query), (gst_base_src_query),
18771 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18772 (gst_base_src_perform_seek), (gst_base_src_send_event),
18773 (gst_base_src_default_event), (gst_base_src_event_handler),
18774 (gst_base_src_set_property), (gst_base_src_get_property),
18775 (gst_base_src_wait), (gst_base_src_do_sync),
18776 (gst_base_src_update_length), (gst_base_src_get_range),
18777 (gst_base_src_check_get_range), (gst_base_src_loop),
18778 (gst_base_src_default_negotiate), (gst_base_src_start),
18779 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18780 (gst_base_src_change_state):
18781 * libs/gst/base/gstbasesrc.h:
18782 Implement seeking to other formats than _BYTES.
18783 Implement more seeking methods correctly.
18785 Added query vmethod.
18786 Added do_seek vmethod to make life easier for subclasses
18788 API addition: gst_base_src_set_format()
18790 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18792 * tests/examples/Makefile.am:
18795 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18798 * docs/random/ensonic/media-device-daemon.txt:
18799 * tests/examples/controller/.cvsignore:
18800 * tests/examples/controller/Makefile.am:
18801 * tests/examples/controller/audio-example.c: (main):
18802 * tests/examples/helloworld/.cvsignore:
18803 * tests/examples/helloworld/Makefile.am:
18804 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18805 * tests/examples/launch/.cvsignore:
18806 * tests/examples/launch/Makefile.am:
18807 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18808 * tests/examples/metadata/.cvsignore:
18809 * tests/examples/metadata/Makefile.am:
18810 * tests/examples/metadata/read-metadata.c: (message_loop),
18811 (make_pipeline), (print_tag), (main):
18812 * tests/examples/queue/.cvsignore:
18813 * tests/examples/queue/Makefile.am:
18814 * tests/examples/queue/queue.c: (event_loop), (main):
18815 * tests/examples/typefind/.cvsignore:
18816 * tests/examples/typefind/Makefile.am:
18817 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18819 * tests/examples/xml/.cvsignore:
18820 * tests/examples/xml/Makefile.am:
18821 * tests/examples/xml/createxml.c: (object_saved), (main):
18822 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18823 * tests/old/examples/Makefile.am:
18824 * tests/old/examples/TODO:
18825 * tests/old/examples/controller/.cvsignore:
18826 * tests/old/examples/controller/Makefile.am:
18827 * tests/old/examples/controller/audio-example.c:
18828 * tests/old/examples/helloworld/.cvsignore:
18829 * tests/old/examples/helloworld/Makefile.am:
18830 * tests/old/examples/helloworld/helloworld.c:
18831 * tests/old/examples/launch/.cvsignore:
18832 * tests/old/examples/launch/Makefile.am:
18833 * tests/old/examples/launch/mp3parselaunch.c:
18834 * tests/old/examples/launch/mp3play:
18835 * tests/old/examples/manual/Makefile.am:
18836 * tests/old/examples/metadata/Makefile.am:
18837 * tests/old/examples/metadata/read-metadata.c:
18838 * tests/old/examples/queue/.cvsignore:
18839 * tests/old/examples/queue/Makefile.am:
18840 * tests/old/examples/queue/queue.c:
18841 * tests/old/examples/typefind/.cvsignore:
18842 * tests/old/examples/typefind/Makefile.am:
18843 * tests/old/examples/typefind/typefind.c:
18844 * tests/old/examples/xml/.cvsignore:
18845 * tests/old/examples/xml/Makefile.am:
18846 * tests/old/examples/xml/createxml.c:
18847 * tests/old/examples/xml/runxml.c:
18848 applied some simple fixing to some examples
18849 re-enabled the working examples
18851 2005-12-12 Wim Taymans <wim@fluendo.com>
18853 * gst/gstsegment.c: (gst_segment_init),
18854 (gst_segment_set_last_stop), (gst_segment_set_seek),
18855 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18856 (gst_segment_to_running_time):
18857 Added more documentation.
18858 Make sure the last_pos value is updated properly.
18859 Make sure to_stream_time and to_running_time don't
18860 operate on wrong values.
18862 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18865 2005-12-12 Michael Smith <msmith@fluendo.com>
18867 * plugins/elements/gsttypefindelement.c: (free_entry),
18868 (gst_type_find_element_chain):
18869 Now that we're not leaking factories, make sure we keep references
18870 to them while we need them.
18872 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18874 * tests/check/gst/struct_i386.h:
18875 ifdef out the XML structs
18877 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18879 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18880 floor is not needed, F is always positive; this obviates the
18881 need for adding -lm when building without libxml
18883 2005-12-12 Wim Taymans <wim@fluendo.com>
18885 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18886 Take current playback rate into account when reporting
18889 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18891 * docs/manual/mime-world.fig:
18892 Let's try this again, this time with a file that is
18893 actually in XFig format.
18895 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18897 * docs/manual/mime-world.fig:
18898 Add audioconvert element to diagram so that it
18899 matches the text and the code (fixes #319526).
18901 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18903 * docs/pwg/building-chainfn.xml:
18904 * docs/pwg/building-pads.xml:
18905 * docs/pwg/building-state.xml:
18906 * docs/pwg/other-source.xml:
18907 Update state change stuff for 0.10 (fixes #322969).
18909 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18911 * docs/manual/advanced-dataaccess.xml:
18912 * docs/manual/appendix-checklist.xml:
18913 * docs/manual/appendix-programs.xml:
18914 * docs/manual/basics-pads.xml:
18915 * docs/manual/highlevel-components.xml:
18916 * docs/manual/manual.xml:
18917 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18918 add converters in front of pipelines; remove curly
18919 brackets for threads stuff, they no longer exist; use
18920 GST_TYPE_FRACTION for framerates; update some pieces of
18921 code to 0.10, but there's plenty more to do.
18923 * docs/manual/appendix-porting.xml:
18924 Expand on asynchroneous state changes; s/0.9/0.10/;
18925 mention disappearance of gst_init_get_popt_table()
18928 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18930 * docs/faq/using.xml:
18931 Spider no longer exists, and neither does gst-launch-ext.
18932 Update examples to use decodebin and playbin and put
18933 converters in front of sinks (fixes #323726).
18935 2005-12-09 Michael Smith <msmith@fluendo.com>
18937 * plugins/elements/gsttypefindelement.c: (find_peek),
18938 (gst_type_find_element_chain):
18939 Fix leaking element factories in typefinding.
18940 Fix problem where we forgot about a probable type on non-seekable
18941 files, and thus later mis-typefound it.
18943 2005-12-09 Michael Smith <msmith@fluendo.com>
18945 * common/m4/gst-makecontext.m4:
18946 * common/m4/gst-mcsc.m4:
18948 * win32/common/config.h:
18949 * win32/common/config.h.in:
18950 Remove makecontext stuff; not used in 0.10 and causes problems on
18951 HPUX according to bug #322441
18953 2005-12-07 Wim Taymans <wim@fluendo.com>
18955 * tests/check/Makefile.am:
18956 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18958 * tests/check/libs/struct_i386.h:
18959 Added ABI check for libs
18961 2005-12-07 Wim Taymans <wim@fluendo.com>
18963 * tests/check/Makefile.am:
18964 And add the struct_i386.h to dist.
18966 2005-12-07 Wim Taymans <wim@fluendo.com>
18968 * tests/check/Makefile.am:
18969 * tests/check/gst/.cvsignore:
18970 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18972 * tests/check/gst/struct_i386.h:
18973 Added check for ABI compatibility.
18975 2005-12-07 Wim Taymans <wim@fluendo.com>
18977 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18978 (gst_fake_src_get_times), (gst_fake_src_create):
18979 Fix broken sync option, fixes #323259
18981 2005-12-07 Wim Taymans <wim@fluendo.com>
18986 * gst/gstcaps.c: (gst_caps_is_equal):
18987 Don't assert on NULL <--> X. Fixes #323260
18989 * gst/gstminiobject.c: (gst_mini_object_replace):
18990 If we're doing atomic operations, we might just as well use
18991 the proper way to get an atomic pointer.
18993 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18994 Clean up debugging.
18996 2005-12-07 Michael Smith <msmith@fluendo.com>
18998 * gst/parse/grammar.y:
18999 Remove handling of { } for threads.
19001 2005-12-06 David Schleef <ds@schleef.org>
19003 * libs/gst/base/gstbasetransform.c: speling fix.
19005 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19007 * docs/libs/tmpl/gstdataprotocol.sgml:
19008 * docs/random/omega/testing/gstobject.c:
19011 * gst/gstelement.c:
19012 * gst/gstelementfactory.c:
19015 * gst/gstghostpad.c:
19017 * gst/gstpadtemplate.c:
19018 * gst/gstregistryxml.c:
19019 * gst/gsttaglist.c:
19020 * gst/gsttagsetter.c:
19021 * gst/gsttypefind.c:
19023 * libs/gst/base/gstbasesrc.c:
19024 * libs/gst/net/gstnetclientclock.c:
19025 * libs/gst/net/gstnettimeprovider.c:
19026 * plugins/elements/gstfakesrc.c:
19027 * plugins/elements/gstfdsrc.c:
19028 * plugins/elements/gstfilesrc.c:
19029 * plugins/elements/gstidentity.c:
19030 * plugins/elements/gstqueue.c:
19031 * plugins/elements/gsttypefindelement.c:
19032 * plugins/indexers/gstfileindex.c:
19033 * plugins/indexers/gstmemindex.c:
19034 * tests/check/gst/gsttag.c:
19035 * tests/old/examples/cutter/cutter.c:
19036 * tests/old/examples/mixer/mixer.c:
19037 * tests/old/examples/xml/runxml.c: (main):
19038 * tests/old/testsuite/caps/normalisation.c:
19039 * tests/old/testsuite/debug/global.c:
19040 * tests/old/testsuite/parse/parse1.c:
19041 * tools/gst-xmlinspect.c:
19042 * win32/common/dirent.c:
19045 === release 0.10.0 ===
19047 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19050 releasing 0.10.0, "Maroilles"
19052 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19054 submitted by: Funda Wang <fundawang@linux.net.cn>
19058 added Chinese (Traditional) translation
19060 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19062 * docs/gst/gstreamer-sections.txt:
19063 * docs/libs/tmpl/gstdataprotocol.sgml:
19064 * docs/random/thomasvs/TODO:
19069 2005-12-05 Andy Wingo <wingo@pobox.com>
19071 patch by: Wim Taymans <wim@fluendo.com>
19073 * libs/gst/base/gstbasetransform.c
19074 (gst_base_transform_prepare_output_buf)
19075 (gst_base_transform_buffer_alloc):
19076 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19077 alloc_buffer_and_set_caps.
19079 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19080 set_caps on the source pad.
19081 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19082 alloc_buffer used to do. Fixes #322874.
19084 * docs/gst/gstreamer-sections.txt:
19085 * docs/design/part-negotiation.txt:
19086 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19089 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19091 patch by: Sebastien Moutte
19094 * win32/common/config.h.in:
19095 * win32/vs6/libgstcontroller.dsp:
19098 2005-12-05 Wim Taymans <wim@fluendo.com>
19100 * gst/gstcaps.c: (gst_caps_is_equal):
19101 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19102 (gst_fake_src_create):
19103 Back out previous code changes, leave doc updates, file bugs
19106 2005-12-05 Wim Taymans <wim@fluendo.com>
19108 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19109 (gst_fake_src_get_times), (gst_fake_src_create):
19110 * plugins/elements/gstfakesrc.h:
19111 Fix broken sync code.
19113 2005-12-05 Wim Taymans <wim@fluendo.com>
19115 * gst/gstcaps.c: (gst_caps_is_equal):
19116 Comparing NULL against !NULL yields different caps, not a
19119 2005-12-05 Wim Taymans <wim@fluendo.com>
19121 * gst/gstpipeline.c:
19122 Fix small typo in docs.
19124 2005-12-05 Andy Wingo <wingo@pobox.com>
19126 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19128 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19129 registries/plugins with a MAJORMINOR one.
19130 (plugin_desc): Rename library from gstcoreleements to
19131 staticelements. Fixes #323222.
19133 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19135 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19136 Change debug category to 'collectpads' from 'collect_pads'
19139 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19141 patch by: Sebastien Moutte
19143 * libs/gst/controller/gstinterpolation.c:
19144 use convert function for uint64/double
19145 * win32/vs6/libgstcontroller.dsp:
19148 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19150 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19151 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19153 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19154 add tests that seem to show that the guint64/gdouble conversions
19157 2005-12-02 Wim Taymans <wim@fluendo.com>
19159 * gst/gstregistry.c: (gst_registry_add_path):
19160 * gst/gstregistry.h:
19161 * gst/gstregistryxml.c:
19164 2005-12-02 Wim Taymans <wim@fluendo.com>
19166 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19167 (gst_util_uint64_scale_int):
19170 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19171 Add debug log line.
19173 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19176 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19179 * win32/common/config.h:
19180 * win32/vs6/gstreamer.dsw:
19181 * win32/vs6/libgstcoreelements.dsp:
19182 * win32/vs6/libgstelements.dsp:
19183 renamed core elements plugin
19185 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19187 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19189 do piece-wise major/minor comparison so 0.9 < 0.10
19190 also allow .exe extensions for tools
19192 2005-12-02 Michael Smith <msmith@fluendo.com>
19195 Escape a % to make gtkdoc happier; bug 322958.
19197 === release 0.9.7 ===
19199 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19202 releasing 0.9.7, "My Dog Has No Nose"
19204 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19206 * common/gst-xmlinspect.py:
19208 * docs/libs/tmpl/gstdataprotocol.sgml:
19209 * docs/random/release:
19228 * win32/common/config.h:
19229 * win32/common/config.h.in:
19230 * win32/vs6/gst_inspect.dsp:
19231 * win32/vs6/gst_launch.dsp:
19232 * win32/vs6/libgstbase.dsp:
19233 * win32/vs6/libgstelements.dsp:
19234 * win32/vs6/libgstreamer.dsp:
19235 * win32/vs7/GStreamer.vcproj:
19236 * win32/vs7/gst-inspect.vcproj:
19237 * win32/vs7/gst-launch.vcproj:
19238 * win32/vs7/libgstbase.vcproj:
19239 bump GST_MAJORMINOR to 0.10
19240 reset libtool version
19242 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19246 Added Bulgarian translation by (Alexander Shopov)
19248 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19250 * tests/check/gst/gstplugin.c:
19253 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19255 * common/gst-xmlinspect.py:
19256 * common/gtk-doc-plugins.mak:
19258 * docs/Makefile.am:
19259 * docs/gst/Makefile.am:
19260 * docs/gst/gstreamer-docs.sgml:
19261 * docs/gst/gstreamer-sections.txt:
19262 * docs/gst/gstreamer.types:
19263 * docs/gst/gstreamer.types.in:
19264 * docs/plugins/Makefile.am:
19265 * docs/plugins/gstreamer-plugins-docs.sgml:
19266 * docs/plugins/gstreamer-plugins-sections.txt:
19267 * docs/plugins/gstreamer-plugins.types:
19268 * docs/plugins/inspect.stamp:
19269 * docs/plugins/inspect/plugin-coreelements.xml:
19270 * docs/plugins/inspect/plugin-coreindexers.xml:
19271 * docs/plugins/scanobj-build.stamp:
19272 * gstreamer.spec.in:
19273 * plugins/elements/Makefile.am:
19274 * plugins/elements/gstelements.c:
19275 * plugins/elements/gstfakesink.c:
19276 * plugins/elements/gstfakesrc.c:
19277 * plugins/elements/gstfilesink.c:
19278 * plugins/elements/gstfilesrc.c:
19279 * plugins/elements/gstqueue.c:
19280 * plugins/indexers/Makefile.am:
19281 * plugins/indexers/gstindexers.c:
19282 document core plugins in a separate document just like all the
19284 rename these plugins to something starting with core
19286 2005-12-01 Andy Wingo <wingo@pobox.com>
19288 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19289 padding here before, but it missed the commit.
19291 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19293 * libs/gst/controller/gstinterpolation.c:
19294 whitespace prices have crashed, we should feel free to use some now
19295 use gst_guint64_to_gdouble
19297 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19299 * libs/gst/controller/gstcontroller.c:
19300 * libs/gst/controller/gsthelper.c:
19301 * libs/gst/controller/gstinterpolation.c:
19302 * libs/gst/controller/lib.c:
19303 wrap config.h include
19305 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19307 * docs/gst/gstreamer-sections.txt:
19310 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19312 * plugins/elements/gstelements.c:
19313 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19314 (gst_fd_sink__class_init), (gst_fd_sink__init),
19315 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19316 (gst_fd_sink__get_property):
19317 * plugins/elements/gstfdsink.h:
19318 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19319 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19320 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19321 (gst_fd_src_unlock), (gst_fd_src_set_property),
19322 (gst_fd_src_get_property), (gst_fd_src_create),
19323 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19324 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19325 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19326 (gst_fd_src_uri_handler_init):
19327 * plugins/elements/gstfdsrc.h:
19328 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19331 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19333 * docs/gst/Makefile.am:
19334 * docs/gst/gstreamer.types.in:
19338 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19344 * gst/gstregistry.h:
19345 * tests/benchmarks/complexity.c:
19346 * tests/benchmarks/mass-elements.c:
19347 * tests/check/Makefile.am:
19348 * tools/Makefile.am:
19349 * tools/gst-inspect.c:
19350 * tools/gst-xmlinspect.c:
19351 various fixes to make
19352 --disable-nls --disable-registry --disable-loadsave
19353 --disable-parse --disable-gst-debug
19354 work and get the core .so down to 360444 bytes after stripping
19356 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19361 * docs/random/thomasvs/TODO:
19362 * tests/Makefile.am:
19366 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19368 * win32/GStreamer.vcproj:
19371 * win32/Makefile.inspect:
19372 * win32/Makefile.launch:
19373 * win32/Makefile.register:
19374 * win32/README.txt:
19375 * win32/gst-inspect.vcproj:
19376 * win32/gst-launch.vcproj:
19377 * win32/gst-register.vcproj:
19378 * win32/gstelements.vcproj:
19379 * win32/gstgetbits.def:
19380 * win32/gstgetbits.vcproj:
19381 * win32/gstreamer-dbg.def:
19382 * win32/gstreamer.def:
19383 * win32/libgstbase.def:
19384 * win32/libgstbase.vcproj:
19385 * win32/link_oldruntime.c:
19389 * win32/msvc71.sln:
19390 move even more stuff, win32/ is nice and clean now
19392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19394 * libs/gst/control/.cvsignore:
19399 * win32/gstbytestream.def:
19400 * win32/gstbytestream.vcproj:
19401 * win32/gstconfig.h:
19402 * win32/gstenumtypes.c:
19403 * win32/gstenumtypes.h:
19404 * win32/gstoptimalscheduler.vcproj:
19405 * win32/gstversion.h:
19407 * win32/testsuite/bins.vcproj:
19408 * win32/testsuite/bytestream.vcproj:
19409 * win32/testsuite/caps.vcproj:
19410 * win32/testsuite/cleanup.vcproj:
19411 * win32/testsuite/clock.vcproj:
19412 * win32/testsuite/debug.vcproj:
19413 * win32/testsuite/dlopen.vcproj:
19414 * win32/testsuite/dynparams.vcproj:
19415 * win32/testsuite/elements.vcproj:
19416 * win32/testsuite/ghostpads.vcproj:
19417 * win32/testsuite/indexers.vcproj:
19418 * win32/testsuite/negotiation.vcproj:
19419 * win32/testsuite/parse.vcproj:
19420 * win32/testsuite/plugin.vcproj:
19421 * win32/testsuite/refcounting.vcproj:
19422 * win32/testsuite/schedulers.vcproj:
19423 * win32/testsuite/states.vcproj:
19424 * win32/testsuite/tags.vcproj:
19425 * win32/testsuite/threads.vcproj:
19426 remove old win32 stuff that isn't maintained and should be
19429 2005-11-30 Andy Wingo <wingo@pobox.com>
19431 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19432 loading the gst.interfaces python module bork.
19434 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19435 available since GLib 2.2. Fixes #318031.
19437 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19440 * check/.cvsignore:
19441 * check/Makefile.am:
19442 * check/elements/.cvsignore:
19443 * check/elements/fakesrc.c:
19444 * check/elements/fdsrc.c:
19445 * check/elements/identity.c:
19446 * check/generic/.cvsignore:
19447 * check/generic/states.c:
19448 * check/gst-libs/.cvsignore:
19449 * check/gst-libs/controller.c:
19450 * check/gst-libs/gdp.c:
19451 * check/gst/.cvsignore:
19452 * check/gst/capslist.h:
19454 * check/gst/gstbin.c:
19455 * check/gst/gstbuffer.c:
19456 * check/gst/gstbus.c:
19457 * check/gst/gstcaps.c:
19458 * check/gst/gstelement.c:
19459 * check/gst/gstevent.c:
19460 * check/gst/gstghostpad.c:
19461 * check/gst/gstiterator.c:
19462 * check/gst/gstmessage.c:
19463 * check/gst/gstminiobject.c:
19464 * check/gst/gstobject.c:
19465 * check/gst/gstpad.c:
19466 * check/gst/gstpipeline.c:
19467 * check/gst/gstplugin.c:
19468 * check/gst/gstsegment.c:
19469 * check/gst/gststructure.c:
19470 * check/gst/gstsystemclock.c:
19471 * check/gst/gsttag.c:
19472 * check/gst/gstutils.c:
19473 * check/gst/gstvalue.c:
19474 * check/net/.cvsignore:
19475 * check/net/gstnetclientclock.c:
19476 * check/net/gstnettimeprovider.c:
19477 * check/pipelines/.cvsignore:
19478 * check/pipelines/cleanup.c:
19479 * check/pipelines/simple_launch_lines.c:
19480 * check/pipelines/stress.c:
19481 * check/states/.cvsignore:
19482 * check/states/sinks.c:
19484 * examples/Makefile.am:
19485 * examples/appreader/.cvsignore:
19486 * examples/appreader/Makefile.am:
19487 * examples/appreader/appreader.c:
19488 * examples/controller/.cvsignore:
19489 * examples/controller/Makefile.am:
19490 * examples/controller/audio-example.c:
19491 * examples/cutter/.cvsignore:
19492 * examples/cutter/Makefile.am:
19493 * examples/cutter/cutter.c:
19494 * examples/cutter/cutter.h:
19495 * examples/events/Makefile.am:
19496 * examples/events/seek.c:
19497 * examples/helloworld/.cvsignore:
19498 * examples/helloworld/Makefile.am:
19499 * examples/helloworld/helloworld.c:
19500 * examples/helloworld2/.cvsignore:
19501 * examples/helloworld2/Makefile.am:
19502 * examples/helloworld2/helloworld2.c:
19503 * examples/launch/.cvsignore:
19504 * examples/launch/Makefile.am:
19505 * examples/launch/mp3parselaunch.c:
19506 * examples/launch/mp3play:
19507 * examples/manual/.cvsignore:
19508 * examples/manual/Makefile.am:
19509 * examples/manual/extract.pl:
19510 * examples/metadata/Makefile.am:
19511 * examples/metadata/read-metadata.c:
19512 * examples/mixer/.cvsignore:
19513 * examples/mixer/Makefile.am:
19514 * examples/mixer/mixer.c:
19515 * examples/mixer/mixer.h:
19516 * examples/pingpong/.cvsignore:
19517 * examples/pingpong/Makefile.am:
19518 * examples/pingpong/pingpong.c:
19519 * examples/plugins/.cvsignore:
19520 * examples/plugins/Makefile.am:
19521 * examples/plugins/example.c:
19522 * examples/plugins/example.h:
19523 * examples/pwg/.cvsignore:
19524 * examples/pwg/Makefile.am:
19525 * examples/pwg/extract.pl:
19526 * examples/queue/.cvsignore:
19527 * examples/queue/Makefile.am:
19528 * examples/queue/queue.c:
19529 * examples/queue2/.cvsignore:
19530 * examples/queue2/Makefile.am:
19531 * examples/queue2/queue2.c:
19532 * examples/queue3/.cvsignore:
19533 * examples/queue3/Makefile.am:
19534 * examples/queue3/queue3.c:
19535 * examples/queue4/.cvsignore:
19536 * examples/queue4/Makefile.am:
19537 * examples/queue4/queue4.c:
19538 * examples/retag/.cvsignore:
19539 * examples/retag/Makefile.am:
19540 * examples/retag/retag.c:
19541 * examples/retag/transcode.c:
19542 * examples/thread/.cvsignore:
19543 * examples/thread/Makefile.am:
19544 * examples/thread/thread.c:
19545 * examples/typefind/.cvsignore:
19546 * examples/typefind/Makefile.am:
19547 * examples/typefind/typefind.c:
19548 * examples/xml/.cvsignore:
19549 * examples/xml/Makefile.am:
19550 * examples/xml/createxml.c:
19551 * examples/xml/runxml.c:
19552 * tests/Makefile.am:
19553 * tests/check/Makefile.am:
19554 * testsuite/.cvsignore:
19555 * testsuite/Makefile.am:
19557 * testsuite/caps/.cvsignore:
19558 * testsuite/caps/Makefile.am:
19559 * testsuite/caps/app_fixate.c:
19560 * testsuite/caps/audioscale.c:
19561 * testsuite/caps/caps.c:
19562 * testsuite/caps/caps.h:
19563 * testsuite/caps/caps_strings:
19564 * testsuite/caps/compatibility.c:
19565 * testsuite/caps/deserialize.c:
19566 * testsuite/caps/enumcaps.c:
19567 * testsuite/caps/eratosthenes.c:
19568 * testsuite/caps/filtercaps.c:
19569 * testsuite/caps/fixed.c:
19570 * testsuite/caps/fraction-convert.c:
19571 * testsuite/caps/fraction-multiply-and-zero.c:
19572 * testsuite/caps/intersect2.c:
19573 * testsuite/caps/intersection.c:
19574 * testsuite/caps/normalisation.c:
19575 * testsuite/caps/random.c:
19576 * testsuite/caps/renegotiate.c:
19577 * testsuite/caps/sets.c:
19578 * testsuite/caps/simplify.c:
19579 * testsuite/caps/string-conversions.c:
19580 * testsuite/caps/structure.c:
19581 * testsuite/caps/subtract.c:
19582 * testsuite/caps/union.c:
19583 * testsuite/debug/.cvsignore:
19584 * testsuite/debug/Makefile.am:
19585 * testsuite/debug/category.c:
19586 * testsuite/debug/commandline.c:
19587 * testsuite/debug/global.c:
19588 * testsuite/debug/output.c:
19589 * testsuite/debug/printf_extension.c:
19590 * testsuite/dlopen/.cvsignore:
19591 * testsuite/dlopen/Makefile.am:
19592 * testsuite/dlopen/dlopen_gst.c:
19593 * testsuite/dlopen/loadgst.c:
19594 * testsuite/elements/.cvsignore:
19595 * testsuite/elements/Makefile.am:
19596 * testsuite/elements/gst-inspect-check.in:
19597 * testsuite/elements/struct_i386.h:
19598 * testsuite/elements/struct_size.c:
19599 * testsuite/indexers/.cvsignore:
19600 * testsuite/indexers/Makefile.am:
19601 * testsuite/indexers/cache1.c:
19602 * testsuite/indexers/indexdump.c:
19603 * testsuite/parse/.cvsignore:
19604 * testsuite/parse/Makefile.am:
19605 * testsuite/parse/parse1.c:
19606 * testsuite/parse/parse2.c:
19607 * testsuite/plugin/.cvsignore:
19608 * testsuite/plugin/Makefile.am:
19609 * testsuite/plugin/README:
19610 * testsuite/plugin/dynamic.c:
19611 * testsuite/plugin/linked.c:
19612 * testsuite/plugin/loading.c:
19613 * testsuite/plugin/registry.c:
19614 * testsuite/plugin/static.c:
19615 * testsuite/plugin/static2.c:
19616 * testsuite/plugin/testplugin.c:
19617 * testsuite/plugin/testplugin2.c:
19618 * testsuite/plugin/testplugin2_s.c:
19619 * testsuite/plugin/testplugin_s.c:
19620 * testsuite/refcounting/.cvsignore:
19621 * testsuite/refcounting/Makefile.am:
19622 * testsuite/refcounting/bin.c:
19623 * testsuite/refcounting/element.c:
19624 * testsuite/refcounting/element_pad.c:
19625 * testsuite/refcounting/mainloop.c:
19626 * testsuite/refcounting/mem.c:
19627 * testsuite/refcounting/mem.h:
19628 * testsuite/refcounting/object.c:
19629 * testsuite/refcounting/pad.c:
19630 * testsuite/refcounting/sched.c:
19631 * testsuite/refcounting/thread.c:
19632 * testsuite/states/.cvsignore:
19633 * testsuite/states/Makefile.am:
19634 * testsuite/states/bin.c:
19635 * testsuite/states/locked.c:
19636 * testsuite/states/parent.c:
19637 * testsuite/threads/.cvsignore:
19638 * testsuite/threads/159566.c:
19639 * testsuite/threads/159852.c:
19640 * testsuite/threads/Makefile.am:
19641 * testsuite/threads/queue.c:
19642 * testsuite/threads/signals.c:
19643 * testsuite/threads/staticrec.c:
19644 * testsuite/threads/thread.c:
19645 * testsuite/threads/threadb.c:
19646 * testsuite/threads/threadc.c:
19647 * testsuite/threads/threadd.c:
19648 * testsuite/threads/threade.c:
19649 * testsuite/threads/threadf.c:
19650 * testsuite/threads/threadg.c:
19651 * testsuite/threads/threadh.c:
19652 * testsuite/threads/threadi.c:
19653 move all of these under tests
19655 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19658 * tests/Makefile.am:
19661 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19663 * docs/gst/gstreamer-sections.txt:
19664 * tests/sched/.cvsignore:
19665 * tests/sched/Makefile.am:
19666 * tests/sched/cases/(fs-fs).xml:
19667 * tests/sched/cases/(fs-i-fs).xml:
19668 * tests/sched/cases/(fs-i-i-fs).xml:
19669 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19670 * tests/sched/dynamic-pipeline.c:
19671 * tests/sched/interrupt1.c:
19672 * tests/sched/interrupt2.c:
19673 * tests/sched/interrupt3.c:
19674 * tests/sched/runtestcases:
19675 * tests/sched/runxml.c:
19676 * tests/sched/sched-stress.c:
19677 * tests/sched/sort.c:
19678 * tests/sched/testcases:
19679 * tests/sched/testcases1.tc:
19680 * tests/seeking/.cvsignore:
19681 * tests/seeking/Makefile.am:
19682 * tests/seeking/seeking1.c:
19683 * tests/threadstate/.cvsignore:
19684 * tests/threadstate/Makefile.am:
19685 * tests/threadstate/test1.c:
19686 * tests/threadstate/test2.c:
19687 * tests/threadstate/threadstate1.c:
19688 * tests/threadstate/threadstate2.c:
19689 * tests/threadstate/threadstate3.c:
19690 * tests/threadstate/threadstate4.c:
19691 * tests/threadstate/threadstate5.c:
19692 remove obsolete tests
19694 * tests/bench-complexity.scm:
19695 * tests/bench-mass_elements.scm:
19696 * tests/complexity.c:
19697 * tests/complexity.gnuplot:
19698 * tests/instantiate/.cvsignore:
19699 * tests/instantiate/Makefile.am:
19700 * tests/instantiate/caps.c:
19701 * tests/mass_elements.c:
19702 * tests/network-clock-utils.scm:
19703 * tests/network-clock.scm:
19705 First pass at cleaning up tests/ dir before moving the rest
19706 Combined with CVS surgery
19708 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19711 queue has moved, update
19713 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19715 * docs/gst/gstreamer-sections.txt:
19716 remove double entries from the docs
19717 * gst/gst_private.h:
19718 * gst/gstinfo.c: (_gst_debug_init):
19719 remove the THREAD debug category
19723 * docs/gst/gstreamer.types:
19724 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19725 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19726 completely move queue and fix up debugging categories
19728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19730 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19731 make initialization portable, using LL is not
19733 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19735 * win32/common/gstconfig.h:
19738 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19740 * win32/common/libgstreamer.def:
19741 rename symbols; sort base section
19743 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19745 * gst/gstclock.c: (do_linear_regression):
19746 remove crack non-portable handrolled DEBUG macro
19748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19750 * docs/random/release:
19752 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19753 (gst_object_flags_get_type), (register_gst_bin_flags),
19754 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19755 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19756 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19757 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19758 (gst_caps_flags_get_type), (register_gst_clock_return),
19759 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19760 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19761 (gst_clock_flags_get_type), (register_gst_state),
19762 (gst_state_get_type), (register_gst_state_change_return),
19763 (gst_state_change_return_get_type), (register_gst_state_change),
19764 (gst_state_change_get_type), (register_gst_element_flags),
19765 (gst_element_flags_get_type), (register_gst_core_error),
19766 (gst_core_error_get_type), (register_gst_library_error),
19767 (gst_library_error_get_type), (register_gst_resource_error),
19768 (gst_resource_error_get_type), (register_gst_stream_error),
19769 (gst_stream_error_get_type), (register_gst_event_type_flags),
19770 (gst_event_type_flags_get_type), (register_gst_event_type),
19771 (gst_event_type_get_type), (register_gst_seek_type),
19772 (gst_seek_type_get_type), (register_gst_seek_flags),
19773 (gst_seek_flags_get_type), (register_gst_format),
19774 (gst_format_get_type), (register_gst_index_certainty),
19775 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19776 (gst_index_entry_type_get_type),
19777 (register_gst_index_lookup_method),
19778 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19779 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19780 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19781 (gst_index_flags_get_type), (register_gst_debug_level),
19782 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19783 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19784 (gst_iterator_result_get_type), (register_gst_iterator_item),
19785 (gst_iterator_item_get_type), (register_gst_message_type),
19786 (gst_message_type_get_type), (register_gst_mini_object_flags),
19787 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19788 (gst_pad_link_return_get_type), (register_gst_flow_return),
19789 (gst_flow_return_get_type), (register_gst_activate_mode),
19790 (gst_activate_mode_get_type), (register_gst_pad_direction),
19791 (gst_pad_direction_get_type), (register_gst_pad_flags),
19792 (gst_pad_flags_get_type), (register_gst_pad_presence),
19793 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19794 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19795 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19796 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19797 (gst_plugin_flags_get_type), (register_gst_rank),
19798 (gst_rank_get_type), (register_gst_query_type),
19799 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19800 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19801 (gst_tag_flag_get_type), (register_gst_task_state),
19802 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19803 (gst_alloc_trace_flags_get_type),
19804 (register_gst_type_find_probability),
19805 (gst_type_find_probability_get_type), (register_gst_uri_type),
19806 (gst_uri_type_get_type), (register_gst_parse_error),
19807 (gst_parse_error_get_type):
19808 * win32/common/gstenumtypes.h:
19809 * win32/common/gstversion.h:
19810 update visual studio generated files
19812 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19814 * win32/vs6/libgstbase.dsp:
19815 * win32/vs6/libgstelements.dsp:
19816 update project files for new locations
19818 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19823 reinstate and update
19828 * docs/random/LICENSE:
19831 2005-11-30 Edward Hervey <edward@fluendo.com>
19833 * gst/gsttypefind.c: (gst_type_find_register):
19834 * gst/gsttypefind.h:
19835 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19836 (gst_type_find_factory_dispose):
19837 * gst/gsttypefindfactory.h:
19838 Fix memory leak in GstTypeFindFactory.
19840 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19843 * plugins/elements/Makefile.am:
19844 * plugins/elements/gstelements.c:
19845 * plugins/elements/gstqueue.c:
19846 move queue from core to the elements plugin
19848 2005-11-29 Andy Wingo <wingo@pobox.com>
19850 * libs/gst/base/gstbasetransform.h:
19851 * libs/gst/base/gstbasesrc.h:
19852 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19854 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19855 of pointers by which to pad very extensible base classes (like the
19856 ones in libs/gst/base).
19858 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19860 * docs/gst/gstreamer-docs.sgml:
19861 * docs/gst/gstreamer-sections.txt:
19862 * docs/libs/gstreamer-libs-docs.sgml:
19863 * docs/libs/gstreamer-libs-sections.txt:
19864 moving documentation from core to lib
19866 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19868 * check/Makefile.am:
19870 * docs/gst/Makefile.am:
19872 * gst/base/.cvsignore:
19873 * gst/base/Makefile.am:
19875 * gst/base/gstadapter.c:
19876 * gst/base/gstadapter.h:
19877 * gst/base/gstbasesink.c:
19878 * gst/base/gstbasesink.h:
19879 * gst/base/gstbasesrc.c:
19880 * gst/base/gstbasesrc.h:
19881 * gst/base/gstbasetransform.c:
19882 * gst/base/gstbasetransform.h:
19883 * gst/base/gstcollectpads.c:
19884 * gst/base/gstcollectpads.h:
19885 * gst/base/gstpushsrc.c:
19886 * gst/base/gstpushsrc.h:
19887 * gst/base/gsttypefindhelper.c:
19888 * gst/base/gsttypefindhelper.h:
19889 * gst/check/Makefile.am:
19890 * gst/check/gstcheck.c:
19891 * gst/check/gstcheck.h:
19892 * gst/net/Makefile.am:
19893 * gst/net/gstnet.h:
19894 * gst/net/gstnetclientclock.c:
19895 * gst/net/gstnetclientclock.h:
19896 * gst/net/gstnettimepacket.c:
19897 * gst/net/gstnettimepacket.h:
19898 * gst/net/gstnettimeprovider.c:
19899 * gst/net/gstnettimeprovider.h:
19900 * libs/gst/Makefile.am:
19901 * libs/gst/base/Makefile.am:
19902 * libs/gst/base/gstbasetransform.c:
19903 * libs/gst/check/Makefile.am:
19904 * plugins/elements/Makefile.am:
19906 CVS surgery + support to move base, check, and net out of gst
19909 2005-11-29 Andy Wingo <wingo@pobox.com>
19911 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19913 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19916 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19918 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19920 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19922 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19923 padding; reduces object size by about 30%. We don't expect
19924 anything else to go into gstobject.
19926 * gst/gstminiobject.h (struct _GstMiniObject)
19927 (struct _GstMiniObjectClass): Only one pointer of padding; the
19928 payload is only a pointer and two ints anyway. For the class there
19929 are only two methods as well.
19931 * gst/gstelement.h (struct _GstElementClass): Removed
19932 the state_changed signal callback, it is not used.
19934 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19936 * docs/gst/gstreamer.types:
19937 fix includes, though they are a little dinky
19939 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19941 * check/Makefile.am:
19942 look in the right place for elements, a lot more chance of
19945 remove indexers and elements subdirs
19946 * plugins/Makefile.am:
19947 make indexers conditional
19949 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19953 * plugins/elements/Makefile.am:
19954 * plugins/elements/gstcapsfilter.c:
19955 * plugins/elements/gstfilesink.c:
19956 * plugins/elements/gstfilesrc.c:
19957 * plugins/elements/gstidentity.c:
19958 * plugins/indexers/Makefile.am:
19959 do CVS surgery and related build fixery to move elements
19960 and indexers in a new gstreamer/plugins directory, out of the
19963 2005-11-29 Andy Wingo <wingo@pobox.com>
19965 * check/Makefile.am:
19966 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19967 * pkgconfig/gstreamer-net.pc.in:
19968 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19971 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19973 * tools/Makefile.am:
19974 * tools/gst-complete.1.in:
19975 * tools/gst-complete.c:
19976 * tools/gst-compprep.1.in:
19977 * tools/gst-compprep.c:
19978 removing -compprep and -complete
19980 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19982 * gst/gstevent.c: (gst_event_new_new_segment),
19983 (gst_event_parse_new_segment):
19985 fix #320529 - clean up new_segment API and structure.
19986 Let's hope everyone was using the methods, and not the structure.
19988 2005-11-29 Edward Hervey <edward@fluendo.com>
19990 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19991 (gst_base_sink_event), (gst_base_sink_do_sync),
19992 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19993 Properly handle non GST_FORMAT_TIME segment
19994 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19995 Properly handle non GST_FORMAT_TIME segment
19996 * gst/gstsegment.c:
19997 This function is valid if the accumulator is 0 and the format
19998 is different from the requested format.
20000 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20002 * docs/gst/gstreamer-sections.txt:
20003 Add gst_query_new_seeking and gst_query_parse_seeking to the
20006 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20008 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20009 Treat a pad alloc with new caps the same as if we were not
20010 negotiated, in order to allow a changing upstream output
20011 to produce a new format of data.
20013 2005-11-29 Edward Hervey <edward@fluendo.com>
20015 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20016 (gst_base_transform_event), (gst_base_transform_eventfunc):
20017 The event virtual method is now properly implemented, with a default
20019 Sub classes should call the parent_class event method. They should
20020 return FALSE if they had a problem handling the given event, or don't
20021 want GstBaseTransform to send that even downstream
20022 * gst/elements/gstidentity.c: (gst_identity_class_init),
20023 (gst_identity_init), (gst_identity_event),
20024 (gst_identity_transform_ip), (gst_identity_set_property),
20025 (gst_identity_get_property):
20026 * gst/elements/gstidentity.h:
20027 Added the single-segment boolean property.
20028 If set to TRUE, it will output a single segment of data, starting from
20029 0, will eat up all incoming newsegment, and modify the timestamp of the
20030 buffers accordingly
20032 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20034 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20035 Don't ref NULL target pad (#322751). Improve docs.
20037 2005-11-29 Michael Smith <msmith@fluendo.com>
20039 * gst/gstregistryxml.c: (load_plugin):
20040 Don't crash if we failed to load a feature from a plugin.
20042 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20044 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20046 use more check API and less GLib API
20048 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20051 don't run checks if we don't have check
20052 * common/check.mak:
20053 remove the registry when running make torture
20054 * docs/gst/gstreamer-sections.txt:
20055 remove second multiply
20056 * gst/gstqueue.c: (gst_queue_loop):
20057 fix a compile warning when disabling debug
20059 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20062 Hey! Let's print the pad name if the pointer != NULL instead
20063 of when it == NULL :-)
20065 2005-11-28 Wim Taymans <wim@fluendo.com>
20067 * check/gst/gstutils.c: (GST_START_TEST):
20068 Updated check, add some scaling accuracy checking code.
20070 * gst/gstutils.c: (gst_util_div128_64),
20071 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20072 (gst_util_uint64_scale_int):
20073 Fix 6 times faster division code. Optimize for common
20074 1/1 and less common X/1 cases.
20076 2005-11-28 Wim Taymans <wim@fluendo.com>
20078 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20081 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20082 (do_linear_regression), (gst_clock_add_observation):
20084 Release lock when the clock cannot be slaved.
20085 Catch the case where the regression returned an invalid denominator.
20087 * gst/gstutils.c: (gst_util_div128_64_iterate),
20088 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20089 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20090 Add protentially more performant non-iterative 128/64 divide function
20091 that unfortunatly does not work yet.
20092 Shortcut the trivial 0/X = 0 case.
20093 Remove the warnings on overflow.
20095 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20097 * gst/gstplugin.c: (gst_plugin_register_func):
20098 everything causing a plugin not to load should be at least a WARNING
20100 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20102 * docs/random/ensonic/dparams.txt:
20103 some TODOs for the next dev cycle
20104 * libs/gst/controller/gstcontroller.c:
20105 (gst_controlled_property_set_interpolation_mode),
20106 (gst_controlled_property_new):
20107 * libs/gst/controller/gstcontroller.h:
20108 use base type to assign acccessor functions
20110 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20112 * check/Makefile.am:
20113 Oops, that should have been top_srcdir
20115 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20117 * check/Makefile.am:
20118 * check/elements/fdsrc.c: (GST_START_TEST):
20119 Use a cmdline define to specify the location of a file to use for
20120 testing, to avoid breaking distcheck.
20122 2005-11-28 Andy Wingo <wingo@pobox.com>
20124 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20126 2005-11-28 Edward Hervey <edward@fluendo.com>
20128 * tools/gst-launch.c: (main):
20129 Clarify the output strings, makes it easier to translate.
20132 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20135 don't try and build net if we don't even have <sys/socket.h>
20137 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20139 * check/Makefile.am:
20140 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20141 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20142 Add tests for fdsrc seekability
20144 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20145 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20146 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20147 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20148 * gst/elements/gstfdsrc.h:
20149 fdsrc should not be a 'live' source.
20150 Implement seeking on seekable fd's.
20152 * gst/gstquery.c: (gst_query_new_seeking),
20153 (gst_query_parse_seeking):
20155 Implement SEEKING query functions:
20156 *_new_seeking and *_parse_seeking
20158 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20160 * gst/gstelement.c: (gst_element_dispose):
20163 * gst/gstiterator.c:
20164 * gst/gststructure.c:
20167 * libs/gst/controller/gstcontroller.c:
20168 (gst_controlled_property_set_interpolation_mode):
20169 * libs/gst/controller/gstcontroller.h:
20170 * libs/gst/controller/gstinterpolation.c:
20171 (interpolate_none_get_enum_value_array):
20172 support controlling enums
20174 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20177 Improve documentation for gst_value_union().
20180 Change return value for union, intersect and subtract functions
20181 from gint to gboolean.
20183 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20185 * gst/gstvalue.c: (gst_value_serialize_any_list),
20186 (gst_value_transform_any_list_string),
20187 (gst_value_deserialize_list), (gst_value_deserialize_array),
20188 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20189 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20190 (gst_value_set_fraction_range_full),
20191 (gst_value_deserialize_fraction_range),
20192 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20193 (gst_value_deserialize_boolean),
20194 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20195 (gst_value_serialize_float), (gst_value_deserialize_float),
20196 (gst_string_wrap), (gst_value_deserialize_string),
20197 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20198 (gst_value_union_int_range_int_range),
20199 (gst_value_intersect_int_range_int_range),
20200 (gst_value_intersect_double_range_double_range),
20201 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20202 (gst_value_subtract_int_range_int_range),
20203 (gst_value_subtract_double_double_range),
20204 (gst_value_subtract_double_range_double_range),
20205 (gst_value_deserialize_fraction):
20207 Use gint, gdouble and gchar in our API instead of int, double and
20208 char (and make usage in gstvalue.c more consistent).
20210 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20212 * check/Makefile.am:
20213 * libs/gst/controller/Makefile.am:
20214 * libs/gst/dataprotocol/Makefile.am:
20215 fix up Makefile.am and remove GST_ENABLE_NEW
20217 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20221 * gst/base/Makefile.am:
20222 * gst/check/Makefile.am:
20223 * gst/elements/Makefile.am:
20224 * gst/net/Makefile.am:
20225 update LDFLAGS use some more
20227 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20229 * common/m4/gst-doc.m4:
20232 2005-11-26 Edward Hervey <edward@fluendo.com>
20234 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20235 This shouldn't issue a g_warning since it returns NULL if it
20236 couldn't find the plugin, and all functions using this behave
20237 properly on a NULL return. Switching to a GST_WARNING.
20239 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20241 * gst/gstbin.c: (gst_bin_handle_message_func):
20242 Don't leak clock messages.
20244 2005-11-25 Wim Taymans <wim@fluendo.com>
20246 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20247 (gst_util_uint64_scale_int):
20248 Optimisations, remove unneeded vars.
20250 2005-11-25 Wim Taymans <wim@fluendo.com>
20252 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20253 Added more checks for the high precision uint64 cases.
20255 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20256 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20257 Implement high precision (guint64 * guint64) / guint64.
20259 2005-11-24 Wim Taymans <wim@fluendo.com>
20261 * gst/base/gstbasesrc.c: (gst_base_src_query):
20262 Fix wrong percentage query.
20264 * gst/gstutils.c: (gst_util_uint64_scale),
20265 (gst_util_uint64_scale_int):
20266 Add some more common cases that can be handled
20267 efficiently to _scale.
20269 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20271 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20272 (gst_mini_object_suite):
20273 don't use check calls from threads; check probably isn't
20274 threadsafe and using a lock to make it threadsafe would
20275 defeat the purpose of this check
20276 * gst/check/gstcheck.c:
20277 * gst/check/gstcheck.h:
20278 use GST_DEBUG some more
20280 2005-11-24 Wim Taymans <wim@fluendo.com>
20282 * gst/gstutils.c: (gst_util_uint64_scale),
20283 (gst_util_uint64_scale_int):
20284 Chain trivial case to _scale_int.
20286 2005-11-24 Wim Taymans <wim@fluendo.com>
20288 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20289 Added test for scaling.
20294 * gst/gstutils.c: (gst_util_uint64_scale_int):
20295 Implemented high precision scaling code.
20297 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20300 do not crash on pad==NULL
20302 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20304 Patch by: Stefan Kost
20306 * common/gtk-doc.mak:
20307 * docs/gst/Makefile.am:
20308 * docs/libs/Makefile.am:
20309 Fix distcheck issues for the libraries docs build
20312 2005-11-24 Michael Smith <msmith@fluendo.com>
20314 * docs/manual/basics-helloworld.xml:
20315 Fix bug #315027: memory leak in example code in docs.
20317 2005-11-24 Michael Smith <msmith@fluendo.com>
20319 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20320 Unlock the PREROLL_LOCK in a failure case.
20322 2005-11-24 Wim Taymans <wim@fluendo.com>
20324 * docs/gst/gstreamer-sections.txt:
20325 * gst/base/gstadapter.h:
20326 * gst/base/gstbasesink.h:
20327 * gst/base/gstbasesrc.h:
20328 * gst/base/gstbasetransform.h:
20329 * gst/base/gstpushsrc.h:
20330 * gst/elements/gstfakesink.h:
20331 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20332 * gst/elements/gstfakesrc.h:
20333 * gst/elements/gstfilesink.h:
20334 * gst/elements/gstfilesrc.h:
20337 * gst/gstbuffer.c: (_gst_buffer_copy):
20340 * gst/gstchildproxy.c:
20342 * gst/gstelement.c:
20343 * gst/gstelementfactory.c:
20344 * gst/gstelementfactory.h:
20346 * gst/gstghostpad.h:
20348 * gst/gstinterface.h:
20349 * gst/gstminiobject.c:
20350 * gst/gstminiobject.h:
20353 * gst/gstpadtemplate.h:
20354 * gst/gstpipeline.h:
20355 * gst/gstpluginfeature.h:
20358 * gst/gsttaglist.c:
20359 * gst/gsttaglist.h:
20360 * gst/gsttagsetter.c:
20361 * gst/gsttagsetter.h:
20364 * gst/gsttypefind.h:
20367 * gst/net/gstnetclientclock.c:
20368 * gst/net/gstnetclientclock.h:
20369 * gst/net/gstnettimepacket.c:
20370 * gst/net/gstnettimeprovider.c:
20371 * gst/net/gstnettimeprovider.h:
20374 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20376 * configure.ac: back to HEAD
20378 === release 0.9.6 ===
20380 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20383 releasing 0.9.6, "Always On Time"
20385 2005-11-23 Wim Taymans <wim@fluendo.com>
20387 * docs/gst/gstreamer-sections.txt:
20388 * gst/glib-compat.c:
20389 * gst/gsttagsetter.c:
20391 * gst/net/gstnetclientclock.c:
20392 * gst/net/gstnettimepacket.h:
20395 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20397 * docs/faq/using.xml:
20398 * docs/libs/tmpl/gstcontrol.sgml:
20399 * docs/manual/advanced-dparams.xml:
20400 * docs/manual/appendix-checklist.xml:
20401 * docs/manual/basics-elements.xml:
20402 * docs/pwg/other-source.xml:
20403 * docs/random/moving-plugins:
20405 * tools/gst-launch.1.in:
20406 remove mentions of sinesrc
20408 2005-11-23 Michael Smith <msmith@fluendo.com>
20410 * docs/gst/gstreamer-sections.txt:
20411 Update for new API and API changes.
20413 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20415 Documentation typo fix.
20416 * gst/net/gstnettimepacket.c:
20417 Documentation fixes for arguments.
20419 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20421 * gst/gststructure.c: (gst_structure_get_fraction),
20422 (gst_structure_parse_value),
20423 (gst_structure_fixate_field_nearest_fraction):
20424 * gst/gststructure.h:
20425 * gst/gstutils.c: (gst_util_uint64_scale_int):
20427 * scripts/update-funcnames:
20429 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20430 Make gst_structure_fixate_field_nearest_fraction take a numerator
20431 and denominator argument instead of a GValue
20432 add gst_structure_get_fraction helper function.
20434 2005-11-23 Wim Taymans <wim@fluendo.com>
20436 * docs/design/part-TODO.txt:
20439 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20440 * gst/net/gstnetclientclock.h:
20441 Use parent fields for timeout and window_size.
20443 2005-11-23 Andy Wingo <wingo@pobox.com>
20445 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20446 rate_num/rate_denom change.
20448 * gst/net/gstnetclientclock.c
20449 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20450 OBJECT_LOCK. Don't call add_observation with the lock.
20452 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20454 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20456 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20457 deal with rate as a fraction whose numerator and denominator are
20458 GstClockTime values.
20459 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20460 master; the other fields are protected by the SLAVE_LOCK.
20461 (do_linear_regression): Note that this must be called with the
20463 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20464 OBJECT_LOCK. Call set_calibration instead of touching the
20465 variables directly.
20466 (gst_clock_set_property, gst_clock_get_property): Protect
20467 master/slave parameters with the SLAVE_LOCK.
20469 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20470 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20471 note that all of the instance variables that add_observation and
20472 the set_master functions use are protected by that lock and not
20474 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20476 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20477 the caller to take the object lock.
20479 2005-11-23 Wim Taymans <wim@fluendo.com>
20481 * gst/gsterror.c: (_gst_core_errors_init):
20483 Add error for clock stuff.
20485 * gst/gstpipeline.c: (gst_pipeline_change_state),
20486 (gst_pipeline_set_clock):
20487 Post clock error when clock cannot be used in a pipeline.
20489 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20491 * docs/gst/gstreamer-sections.txt:
20492 make two symbols from gstinfo private for the docs
20493 * gst/base/gstcollectpads.h:
20495 fix doc typos, update docs
20497 2005-11-22 Wim Taymans <wim@fluendo.com>
20499 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20500 (gst_base_sink_wait), (gst_base_sink_do_sync),
20501 (gst_base_sink_handle_event):
20502 * gst/base/gstbasesink.h:
20503 No need to store the clock, the parent element class already
20506 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20507 Updates for clock_set returning a gboolean
20509 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20510 (gst_clock_id_wait_async), (gst_clock_class_init),
20511 (gst_clock_init), (gst_clock_finalize),
20512 (gst_clock_get_internal_time), (gst_clock_get_time),
20513 (gst_clock_slave_callback), (gst_clock_set_master),
20514 (gst_clock_get_master), (do_linear_regression),
20515 (gst_clock_add_observation), (gst_clock_set_property),
20516 (gst_clock_get_property):
20518 Implement master/slave. When setting a clock as a slave, a
20519 periodic timeout is scheduled to sample master and slave times.
20520 Then the slave clock is recalibrated to match offset and rate
20521 of the master clock.
20522 Update logging a bit.
20523 Add flag so that a clock can state that is cannot be slaved to
20526 * gst/gstelement.c: (gst_element_set_clock):
20527 * gst/gstelement.h:
20528 The set clock returns a gboolean for when an element cannot
20529 deal with the selected clock in the pipeline.
20531 * gst/gstpipeline.c: (gst_pipeline_change_state),
20532 (gst_pipeline_set_clock):
20533 * gst/gstpipeline.h:
20534 Handle the case where the selected clock cannot be set on
20537 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20538 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20539 (gst_net_client_clock_set_property),
20540 (gst_net_client_clock_get_property),
20541 (gst_net_client_clock_observe_times):
20542 * gst/net/gstnetclientclock.h:
20543 Use regression code in GstClock parent, remove duplicated
20546 2005-11-22 Michael Smith <msmith@fluendo.com>
20548 * gst/gstutils.c: (gst_util_clock_time_scale):
20550 * docs/gst/gstreamer-sections.txt:
20551 Rename method to have extra underscore.
20553 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20555 * gst/elements/Makefile.am:
20556 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20557 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20558 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20559 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20560 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20561 * gst/elements/gstfakesrc.h:
20562 * gst/gstqueue.c: (queue_leaky_get_type):
20563 correctly fix GEnumValues so that nick is the short lowercase
20565 * tools/gst-inspect.c: (print_element_properties_info):
20566 also show the nick, since it's useful to use from parse_launch
20570 2005-11-22 Michael Smith <msmith@fluendo.com>
20572 * gst/gstutils.c: (gst_util_clocktime_scale):
20574 * docs/gst/gstreamer-sections.txt:
20575 Add util method for scaling a clocktime by a fraction. Useful
20576 implementation is left as an exercise for the reader.
20578 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20580 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20581 If needed, allocate storage in the destination value during
20584 2005-11-22 Edward Hervey <edward@fluendo.com>
20586 * docs/gst/gstreamer-sections.txt:
20589 * gst/gsturitype.c:
20590 * gst/gsturitype.h:
20591 * gst/gstutils.c: (gst_util_set_object_arg):
20592 * tools/gst-compprep.c: (main):
20593 * tools/gst-inspect.c: (print_element_properties_info):
20594 Removed GstURI, closes bug #321061
20596 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20598 * check/gst/gststructure.c: (GST_START_TEST):
20599 * gst/gststructure.c: (gst_structure_parse_value):
20600 Oops, broke automatic string type parsing.
20601 Add a test to catch it in future.
20603 2005-11-22 Andy Wingo <wingo@pobox.com>
20605 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20606 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20607 Actually rename the function implementations. Grr.
20609 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20611 * check/gst/capslist.h:
20613 * check/gst/gststructure.c: (GST_START_TEST),
20614 (gst_structure_suite):
20615 Test automatic value type detection in gst_structure_from_string.
20616 * gst/gststructure.c: (gst_structure_parse_value):
20617 Add fraction as a type we try and guess automatically in
20618 caps/structure strings.
20620 2005-11-22 Andy Wingo <wingo@pobox.com>
20622 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20624 * gst/gsttagsetter.h:
20625 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20626 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20627 (gst_tag_setter_add_tag_valist)
20628 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20629 _add_values, _add_valist, and _add_valist_values. Since this is an
20630 interface the function suffixes should be more explicit so
20631 language binding don't end up with element.add_valist ->
20632 gst_tag_setter_add_valist, for example. Fixes #322069.
20634 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20636 * check/gst/gstcaps.c: (GST_START_TEST):
20637 Extend caps string tests to check that a caps to string
20638 conversion is reversible and produces the same caps.
20640 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20641 Output "fraction" as the generic type fraction range, so caps
20642 serialisation and deserialisation works.
20643 * check/gst/capslist.h:
20644 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20645 Support 'MIN' and 'MAX' for deserialising fractions.
20647 2005-11-22 Andy Wingo <wingo@pobox.com>
20649 * gst/gstevent.h (gst_event_new_new_segment)
20650 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20651 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20652 Renamed from *_newsegment, *_buffersize, *_notarget.
20654 * scripts/update-funcnames: New script, performs the changes
20657 2005-11-22 Wim Taymans <wim@fluendo.com>
20659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20660 Make sure the GstFlowReturn is returned.
20662 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20663 (gst_bus_add_signal_watch):
20665 add gst_bus_add_signal_watch_full.
20667 * gst/gstplugin.c: (gst_plugin_load_file):
20668 Small style cleanup.
20670 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20672 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20673 Block the fakesrc srcpad when we send an event, to avoid
20674 contention on the stream_lock causing random test failures.
20676 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20678 * check/gst/gstvalue.c: (GST_START_TEST):
20679 * gst/gstvalue.c: (gst_value_fraction_subtract):
20682 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20685 include "gstchildproxy.h"
20686 * gst/gstchildproxy.h:
20687 * libs/gst/controller/gstcontroller.h:
20688 use G_GNUC_NULL_TERMINATED
20690 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20692 * check/gst/capslist.h:
20693 * check/gst/gstcaps.c: (GST_START_TEST):
20694 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20695 * gst/gststructure.c: (gst_structure_parse_range),
20696 (gst_structure_fixate_field_nearest_fraction):
20697 * gst/gststructure.h:
20698 * gst/gstvalue.c: (gst_value_init_fraction_range),
20699 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20700 (gst_value_collect_fraction_range),
20701 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20702 (gst_value_set_fraction_range_full),
20703 (gst_value_get_fraction_range_min),
20704 (gst_value_get_fraction_range_max),
20705 (gst_value_serialize_fraction_range),
20706 (gst_value_transform_fraction_range_string),
20707 (gst_value_compare_fraction_range),
20708 (gst_value_deserialize_fraction_range),
20709 (gst_value_intersect_fraction_fraction_range),
20710 (gst_value_intersect_fraction_range_fraction_range),
20711 (gst_value_subtract_fraction_fraction_range),
20712 (gst_value_subtract_fraction_range_fraction),
20713 (gst_value_subtract_fraction_range_fraction_range),
20714 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20715 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20716 (gst_value_transform_string_fraction), (_gst_value_initialize):
20718 Implement fraction ranges and extend GstFraction to support
20719 arithmetic subtraction, as well as deserialization from integer
20720 strings such as "100"
20721 Add a testsuite as for int and double range set operations
20723 2005-11-21 Andy Wingo <wingo@pobox.com>
20725 * gst/gsttaglist.h:
20727 * gst/gststructure.h: Add glib-compat.h.
20729 2005-11-21 Wim Taymans <wim@fluendo.com>
20731 * gst/gstbin.c: (gst_bin_change_state_func):
20734 2005-11-21 Wim Taymans <wim@fluendo.com>
20736 * gst/gstsegment.h:
20737 And add a nice define too.
20739 2005-11-21 Wim Taymans <wim@fluendo.com>
20741 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20742 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20743 (gst_segment_set_duration), (gst_segment_set_last_stop),
20744 (gst_segment_set_seek), (gst_segment_set_newsegment),
20745 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20746 (gst_segment_clip):
20747 * gst/gstsegment.h:
20748 Make binding friendly.
20750 2005-11-21 Andy Wingo <wingo@pobox.com>
20752 * gst/gsttagsetter.h:
20753 * gst/gsttaglist.h:
20754 * gst/gststructure.h:
20756 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20759 * gst/gsterror.c (_gst_core_errors_init):
20760 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20763 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20764 (noinst_HEADERS): noinst the -private.
20766 2005-11-21 Michael Smith <msmith@fluendo.com>
20769 * gst/gstregistry.h:
20770 Remove unimplemented declarations for which we can see no sensible
20773 2005-11-21 Andy Wingo <wingo@pobox.com>
20775 * gst/gst.h: Include glib-compat.h.
20777 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20779 * gst/glib-compat.c: Include the public and the private header.
20781 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20785 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20787 * check/gst/gstevent.c (create_custom_events): Check that
20788 FLUSH_STOP is serialized.
20790 * check/elements/identity.c (event_func):
20791 * check/elements/fakesrc.c (event_func): No stream lock, the core
20794 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20795 stream lock taking, yay.
20797 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20798 ensure that core takes the stream lock.
20800 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20803 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20804 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20805 it already. For the flush start we do take it though so we get the
20806 right preroll state change messages.
20808 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20809 the stream lock here, the core does it for us.
20811 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20812 GST_STREAM_GET_LOCK.
20813 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20814 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20815 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20816 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20817 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20818 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20820 * gst/gstpad.c: Update for stream lock name change.
20822 * gst/base/gstbasesink.c: Update for preroll lock name change.
20824 2005-11-21 Wim Taymans <wim@fluendo.com>
20826 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20827 (gst_clock_get_master):
20829 * gst/gstsystemclock.c: (gst_system_clock_init):
20830 Convert Clock flags to object flags.
20831 Added methods to manage master/slave clocks.
20833 2005-11-21 Wim Taymans <wim@fluendo.com>
20835 * check/gst/gstsegment.c: (GST_START_TEST):
20836 * docs/design/part-TODO.txt:
20837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20838 (gst_base_sink_event), (gst_base_sink_do_sync),
20839 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20840 (gst_base_sink_query), (gst_base_sink_change_state):
20841 * gst/base/gstbasesink.h:
20842 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20843 (gst_base_src_default_newsegment),
20844 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20845 (gst_base_src_get_range), (gst_base_src_loop),
20846 (gst_base_src_change_state):
20847 * gst/base/gstbasesrc.h:
20848 * gst/base/gstbasetransform.c:
20849 (gst_base_transform_prepare_output_buf),
20850 (gst_base_transform_event), (gst_base_transform_change_state):
20851 * gst/base/gstbasetransform.h:
20852 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20853 (gst_collect_pads_event):
20854 * gst/base/gstcollectpads.h:
20855 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20856 (gst_fake_src_create):
20857 * gst/elements/gstfakesrc.h:
20858 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20859 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20860 (gst_segment_set_last_stop), (gst_segment_set_seek),
20861 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20862 (gst_segment_to_running_time), (gst_segment_clip):
20863 * gst/gstsegment.h:
20864 More segment updates, replace code in plugins with segment
20867 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20869 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20870 Don't ignore sscanf results
20872 2005-11-21 Andy Wingo <wingo@pobox.com>
20874 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20877 * *.c: Ran scripts/update-macros. Oh yes.
20879 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20880 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20883 * scripts/update-macros: New script. Run it on your files to
20884 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20887 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20889 * docs/gst/Makefile.am:
20890 * docs/gst/gstreamer-docs.sgml:
20891 * docs/gst/gstreamer-sections.txt:
20892 * docs/gst/gstreamer.types:
20894 more docs fixes, add new api to the docs
20896 2005-11-21 Andy Wingo <wingo@pobox.com>
20898 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20899 state_broadcast call.
20901 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20903 2005-11-21 Julien MOUTTE <julien@moutte.net>
20905 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20906 function calls for arrays.
20908 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20910 * docs/random/ensonic/media-device-daemon.txt:
20911 wild idea, can this be done?
20912 * docs/gst/gstreamer-sections.txt:
20917 * gst/gstpluginfeature.c:
20921 doc fixes and additions
20923 2005-11-21 Andy Wingo <wingo@pobox.com>
20925 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20926 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20927 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20928 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20929 private to the basesrc implementation.
20931 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20932 behalf of event function if necessary. It should no longer be
20933 necessary to take the stream lock in pad's event functions. Fixes
20936 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20937 * docs/gst/gstreamer-sections.txt:
20938 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20939 (gst_structure_fixate_field_nearest_double),
20940 (gst_structure_fixate_field_boolean):
20941 * gst/gststructure.h:
20942 * win32/common/libgstreamer.def:
20943 * win32/gstreamer.def:
20945 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20948 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20950 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20951 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20952 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20953 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20954 (gst_fdsrc_uri_handler_init):
20955 * gst/elements/gstfdsrc.h:
20956 Port fd:// URI handler from 0.8 to fdsrc
20958 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20960 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20961 (gst_value_serialize_fourcc):
20963 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20964 consistent with our other format defines (#320324).
20966 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20968 * gst/gstvalue.c: (gst_value_is_fixed):
20969 Revert previous commit. Value lists are by definition
20970 not fixed, as they are a list of possible values.
20972 2005-11-21 Andy Wingo <wingo@pobox.com>
20974 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20975 during the stable series if we need it. Fixes #319178.
20977 * gst/gstevent.c (gst_event_new_filler): Removed.
20979 * check/gst/gstevent.c: Update comment about filler events.
20981 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20983 * gst/gstvalue.c: (gst_value_is_fixed):
20984 Should handle both value arrays and value lists.
20986 2005-11-21 Andy Wingo <wingo@pobox.com>
20988 patch by: Alessandro Dessina <alessandro nnva org>
20990 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20991 functions to access arrays. Fixes #321962.
20993 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20995 * docs/gst/gstreamer.types:
20996 gst_collectpads_get_type => gst_collect_pads_get_type.
20998 * gst/base/gstbasetransform.c:
20999 Remove unused SIGNAL_HANDOFF enum.
21001 2005-11-21 Andy Wingo <wingo@pobox.com>
21003 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21004 the event type (upstream, downstream, serialized). Renamed
21005 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21006 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21007 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21009 * gst/gstevent.c: Update for new CUSTOM event names.
21011 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21014 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21017 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21019 * docs/gst/gstreamer-sections.txt:
21020 * win32/common/libgstbase.def:
21021 * win32/libgstbase.def:
21022 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21023 (gst_collect_pads_class_init), (gst_collect_pads_init),
21024 (gst_collect_pads_finalize), (gst_collect_pads_new),
21025 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21026 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21027 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21028 (gst_collect_pads_start), (gst_collect_pads_stop),
21029 (gst_collect_pads_peek), (gst_collect_pads_pop),
21030 (gst_collect_pads_available), (gst_collect_pads_read),
21031 (gst_collect_pads_flush), (gst_collect_pads_event),
21032 (gst_collect_pads_chain):
21033 * gst/base/gstcollectpads.h:
21034 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21035 unimplemented functions as unimplemented. Add padding to
21036 GstCollectData. (#320766, #320423)
21038 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21040 * gst/gstmessage.c:
21041 Improve docs for DURATION message (usage of duration parameter)
21044 2005-11-20 Wim Taymans <wim@fluendo.com>
21046 * check/Makefile.am:
21047 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21051 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21052 (gst_segment_set_seek), (gst_segment_set_newsegment),
21053 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21054 (gst_segment_clip):
21055 * gst/gstsegment.h:
21056 Added segment helper structure and methods. Not fully implemented
21058 Added segment check.
21060 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21062 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21063 Add a deserialisation test for fractions
21064 * examples/metadata/read-metadata.c: (message_loop),
21065 (make_pipeline), (main):
21066 Fix up metadata reading sample.
21067 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21069 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21070 Don't try and fixate empty caps
21071 * gst/gst_private.h:
21072 Wrap in G_BEGIN_DECLS/G_END_DECLS
21073 * gst/gstvalue.c: (gst_value_collect_fraction),
21074 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21075 (gst_value_transform_string_fraction),
21076 (gst_value_compare_fraction):
21077 Add some extra guards to ensure that we don't end up
21078 with an invalid denominator of 0 in a gstfraction and
21079 that fractions always get reduced.
21081 2005-11-20 Wim Taymans <wim@fluendo.com>
21083 * docs/gst/gstreamer-sections.txt:
21085 * gst/gstelement.c:
21094 2005-11-20 Wim Taymans <wim@fluendo.com>
21096 * docs/design/part-TODO.txt:
21098 Make a proper enum of the flag.
21100 2005-11-19 Wim Taymans <wim@fluendo.com>
21102 * docs/design/part-TODO.txt:
21103 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21104 (gst_format_to_quark), (gst_format_register):
21106 * gst/gstquery.c: (_gst_query_initialize),
21107 (gst_query_type_get_name), (gst_query_type_to_quark),
21108 (gst_query_type_register):
21110 Add type to quark and type to string conversions.
21112 2005-11-19 Andy Wingo <wingo@pobox.com>
21114 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21117 2005-11-19 Wim Taymans <wim@fluendo.com>
21119 * docs/design/part-TODO.txt:
21120 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21121 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21122 (gst_bin_handle_message_func):
21124 Make message handling overridable.
21126 2005-11-19 Andy Wingo <wingo@pobox.com>
21128 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21131 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21133 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21134 is a GstClockTime. Fixes #321710.
21136 * gst/gstclock.h (GstClock): Remove offset property. Add
21137 internal_calibration and external_calibration. Fix padding. Pad
21138 also by GstClockTime so we don't run into problems.
21140 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21141 (gst_clock_get_rate_offset): Remove.
21142 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21145 * gst/gstutils.c (g_static_rec_cond_wait)
21146 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21148 * gst/gstbin.c: Remove terrible continue_state prototype.
21150 * gst/gstelement.h (gst_element_continue_state): Make public.
21152 * gst/gstelement.h:
21153 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21154 by continue_state. Fixes #319389.
21156 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21157 Really fixes #168438. However I don't see anywhere where the
21158 filter function is called... stupid GStreamer...
21160 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21161 don't have a dispose function, so it won't get called when the
21162 object is unreffed, but oh well!
21164 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21165 allows a destroy function to be set so user_data can be freed.
21167 (gst_index_set_filter): Call gst_index_set_filter_full.
21169 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21171 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21172 string should produce an error, given the lack of a way to
21173 represent NULL strings. Fixes #165650.
21176 * gst/gstvalue.c (gst_value_array_append_value)
21177 (gst_value_array_prepend_value, gst_value_array_get_size)
21178 (gst_value_array_get_value): New API, copied from
21179 gst_value_list_*, only operates on arrays.
21180 (gst_value_list_append_value, gst_value_list_prepend_value)
21181 (gst_value_list_concat, gst_value_list_get_size)
21182 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21184 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21185 init_list, because it works on both.
21186 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21187 (gst_value_copy_list_or_array): Renamed from copy_list.
21188 (gst_value_free_list_or_array): Renamed from free_list.
21189 (gst_value_collect_list_or_array): Renamed from collect_list.
21190 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21191 (gst_value_list_or_array_peek_pointer): Renamed from
21193 (_gst_value_array_value_table, _gst_value_list_value_table):
21194 Update value table functions.
21195 (gst_value_compare_list_or_array): Renamed from compare_list.
21197 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21200 * gst/gsttaglist.c:
21201 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21202 GstTagList*. Fixes #143472.
21204 * gst/gststructure.h: Clarify what the foreach/map functions can
21205 or can't do to their arguments.
21207 2005-11-18 Wim Taymans <wim@fluendo.com>
21209 * gst/gstclock.c: (gst_clock_set_calibration),
21210 (gst_clock_get_calibration):
21212 Calibration can be set with internal time equal to current
21215 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21221 2005-11-18 Andy Wingo <wingo@pobox.com>
21224 * pkgconfig/gstreamer-net.pc.in:
21225 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21226 * pkgconfig/Makefile.am: Add net pkgconfig files.
21228 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21231 * gst/gstghostpad.c:
21237 2005-11-18 Andy Wingo <wingo@pobox.com>
21239 * gst/net/gstnetclientclock.c: Turn off debugging.
21241 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21242 times connverge somewhat. Can't make a real test.
21244 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21245 integer arithmetic. Return the minimum of the domain, which can be
21246 set as "internal" for gst_clock_set_calibration.
21247 (gst_net_client_clock_observe_times): Call _set_calibration.
21248 (gst_net_client_clock_new): Call _set_calibration instead of
21251 * check/net/gstnetclientclock.c (test_functioning): Use the right
21255 * gst/gstclock.c (gst_clock_get_calibration)
21256 (gst_clock_set_calibration): New functions, obsolete the ones I
21257 added yesterday. Doh. Precision issues mean we have to extrapolate
21258 from a point in the more recent past than 1970.
21259 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21261 (gst_clock_adjust_unlocked): Use the right calibration data.
21263 2005-11-18 Edward Hervey <edward@fluendo.com>
21265 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21266 Also reset the ->current_* values in READY->PAUSED
21268 2005-11-18 Andy Wingo <wingo@pobox.com>
21270 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21271 Whoops, check the right fd. Also add some debugging.
21272 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21273 (do_linear_regression): Add a crapload of debugging. Subtract off
21274 the minimum values from the input series to discard unneeded bits.
21275 Use only int arithmetic. There is still double arithmetic when
21276 calculating the intercept that needs fixing. Return boolean to
21277 indicate success; FALSE would mean the domain or range is too
21278 great. Still needs fixes.
21280 2005-11-18 Wim Taymans <wim@fluendo.com>
21282 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21283 For the current position in stream time, we need to subtract
21286 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21287 Release lock before calling the callback function of async
21290 2005-11-18 Andy Wingo <wingo@pobox.com>
21292 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21293 Port goes all the way to MAXUINT16.
21295 * gst/net/gstnettimeprovider.c: Make the port range the same as
21296 for the kernel: 0 assigns, otherwise ports are less than
21299 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21302 * check/net/gstnetclientclock.c (test_functioning): Add the start
21305 2005-11-18 Wim Taymans <wim@fluendo.com>
21307 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21308 (gst_bin_remove_func), (bin_bus_handler):
21310 Removing a clock provider from a bin, triggers a clock lost message
21311 so that a new clock will be selected.
21312 Adding a clock to a bin triggers a clock provider message.
21313 Make sure we reselect a clock when we received a clock lost message.
21314 Keep a reference to the element that provided the clock.
21316 2005-11-18 Andy Wingo <wingo@pobox.com>
21318 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21319 the clock initially so it produces values around the base time.
21320 (gst_net_client_clock_class_init): Typo fix.
21321 (gst_net_client_clock_thread): Add note on when the socket gets
21324 2005-11-17 Wim Taymans <wim@fluendo.com>
21326 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21327 Free remote and local time arrays.
21329 2005-11-17 Wim Taymans <wim@fluendo.com>
21331 * gst/net/gstnetclientclock.c: (do_linear_regression),
21332 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21333 Fix compilation, uninitialized vars and a forgotten continue.
21335 2005-11-17 Andy Wingo <wingo@pobox.com>
21337 * check/Makefile.am (check_PROGRAMS):
21338 * check/net/gstnetclientclock.c: Add a most minimal test for the
21339 net client clock. More to come later.
21341 * gst/net/gstnet.h:
21342 * gst/net/Makefile.am: Add netclientclock.
21344 * gst/net/gstnetclientclock.h:
21345 * gst/net/gstnetclientclock.c: New files, implement an untested
21346 GstClock that takes its time from a network time provider.
21347 Implements the algorithm in network-clock.scm.
21349 * tests/network-clock.scm (*window-size*): Rename from
21351 * tests/network-clock.scm (network-time):
21352 * tests/network-clock-utils.scm (q-push): Update callers.
21354 2005-11-17 Wim Taymans <wim@fluendo.com>
21356 * gst/gstbin.c: (gst_bin_provide_clock_func),
21357 (gst_bin_sort_iterator_new):
21358 And unref the child too..
21360 2005-11-17 Wim Taymans <wim@fluendo.com>
21362 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21363 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21364 Refactor the sort iterator so it can be used while holding the
21366 Make clock selection select a clock closest to the source.
21368 2005-11-17 Michael Smith <msmith@fluendo.com>
21370 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21371 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21373 Anonymous structs are a gcc (and some other compilers) extension, so
21374 don't use them. Since this is only for ABI-compatibility, and our
21375 API/ABI freeze is over in a few days, this whole thing will only
21376 last a few days, so don't bother trying to think up a meaningful
21377 name for the struct.
21379 2005-11-17 Andy Wingo <wingo@pobox.com>
21381 * gst/gstclock.h (GstClock): Add rate and offset properties,
21382 preserving ABI stability. Add rate/offset accessors. Will file bug
21383 for the freeze break.
21385 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21386 and offset, trying to keep precision and avoiding
21387 underflow/overflow.
21388 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21389 functions. Make gst_clock_set_time_adjust obsolete.
21390 (gst_clock_set_time_adjust): Note that this function is obsolete.
21391 Will file bug soon.
21393 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21394 greppable by using GST_PADDING-1+1.
21396 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21398 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21400 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21401 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21403 * gst/gstpadtemplate.h:
21404 * gst/gstpluginfeature.h:
21405 Don't use c++ style comments in headers (#321638).
21407 2005-11-16 Andy Wingo <wingo@pobox.com>
21409 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21412 * check/net/gstnettimeprovider.c: Check to see that the time
21413 provider actually provides times. Works, yo!
21415 2005-11-16 Wim Taymans <wim@fluendo.com>
21417 * check/Makefile.am:
21420 * check/elements/fakesrc.c: (GST_START_TEST):
21421 Set element to NULL before disposing it.
21423 2005-11-16 Andy Wingo <wingo@pobox.com>
21425 * gst/net/Makefile.am:
21426 * gst/net/gstnet.h:
21427 * gst/net/gstnettimeprovider.c:
21428 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21429 provider, include it from gstnet.h, and add it to the build.
21431 * gst/net/gstnettimepacket.h:
21432 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21433 sending and receiving.
21435 2005-11-16 Wim Taymans <wim@fluendo.com>
21437 * check/Makefile.am:
21438 Enable valgrind check.
21440 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21441 (gst_fake_src_alloc_buffer):
21444 2005-11-16 Wim Taymans <wim@fluendo.com>
21446 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21447 Call parent finalize too.
21449 2005-11-16 Wim Taymans <wim@fluendo.com>
21451 * check/Makefile.am:
21452 Enable valgrind check that should work fine now.
21454 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21455 * gst/gstqueue.c: (gst_queue_init):
21456 Fix memleaks in pad allocation.
21458 2005-11-16 Andy Wingo <wingo@pobox.com>
21460 * gst/net/Makefile.am:
21461 * gst/net/gstnet.h: New part of core to hold network elements and
21462 objects. Put in core because it exposes API that applications want
21463 to use. The library is named libgstnet-tempname right now because
21464 of the existing libgstnet in gst-plugins-base. Solution is
21465 probably to rename the one in plugins-base; will file a bug for
21468 * gst/net/gstnettimeprovider.c:
21469 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21470 get_time call over the network.
21473 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21475 * check/Makefile.am:
21476 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21477 get additions shortly.
21479 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21481 * gst/gstpad.c: (gst_pad_new_from_static_template):
21483 add gst_pad_new_from_static_template functions
21484 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21485 (gst_check_setup_sink_pad):
21486 * gst/elements/gsttee.c: (gst_tee_init):
21489 2005-11-16 Wim Taymans <wim@fluendo.com>
21491 * gst/gstpad.c: (gst_pad_pause_task):
21492 Removed warning, it's not really an error either.
21494 2005-11-16 Wim Taymans <wim@fluendo.com>
21496 * gst/base/gstbasetransform.c:
21497 (gst_base_transform_prepare_output_buf),
21498 (gst_base_transform_event):
21499 Check if the caps are NULL, this can happen if the element
21500 is shutting down and the pad caps are set to NULL.
21502 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21504 * gst/elements/gsttee.c: (gst_tee_init):
21505 fix pad template leak in tee
21507 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21509 * gst/glib-compat.c: (g_value_dup_gst_object):
21510 * gst/glib-compat.h:
21511 * gst/gstpad.c: (gst_pad_set_property):
21512 use gst_object_ref when setting the pad template; this will
21513 trigger the pad template leaks on GLib 2.6 and the slaves
21515 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21517 * gst/glib-compat.c: (gst_flags_get_first_value):
21518 * gst/glib-compat.h:
21519 * gst/gstregistryxml.c:
21520 remove functions copied from GLib 2.6
21522 2005-11-16 Michael Smith <msmith@fluendo.com>
21525 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21526 do, but only breaks with newer valgrind versions. We're not a
21527 valgrind tool, we have no link-time dependencies on libcoregrind.
21529 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21531 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21533 * gst/gstmessage.h:
21536 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21538 * gst/base/gstbasesrc.c: (gst_base_src_init):
21539 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21540 * gst/gstqueue.c: (gst_queue_init):
21541 * gst/gstregistryxml.c: (load_feature):
21542 Revert all these unrefs, they don't even pass make check !
21544 2005-11-15 Johan Dahlin <johan@gnome.org>
21546 * gst/base/gstbasesrc.c: (gst_base_src_init):
21547 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21548 * gst/gstqueue.c: (gst_queue_init):
21549 Free pad templates, fixes a couple of leaks.
21551 2005-11-15 Daniel Fischer <dan at f3c dot com>
21553 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21555 * gst/gstpad.c: (gst_pad_get_property):
21556 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21557 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21560 2005-11-15 Wim Taymans <wim@fluendo.com>
21565 2005-11-15 Andy Wingo <wingo@pobox.com>
21567 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21569 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21570 using GST_CLOCK_TIME_NONE to disable base time management.
21571 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21572 time if it was NONE before.
21573 (gst_pipeline_change_state): Only munge the base time if
21574 stream_time != GST_CLOCK_TIME_NONE.
21576 * check/gst/gstpipeline.c (test_base_time): Punt around the
21577 problem of the probe not being called, because that's not the
21578 issue I'm looking at. Add a check that setting stream_time to NONE
21579 disables base time management.
21581 2005-11-15 Wim Taymans <wim@fluendo.com>
21583 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21584 segment_stop == -1 at startup.
21586 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21587 (gst_base_transform_change_state):
21588 Init segment values at start.
21590 2005-11-15 Wim Taymans <wim@fluendo.com>
21592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21593 0 segment values are 0 in any format.
21595 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21596 * gst/base/gstbasetransform.h:
21597 Parse newsegment correctly in basetransform
21599 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21600 Sync to clock using updated segment values.
21602 2005-11-15 Andy Wingo <wingo@pobox.com>
21604 * check/gst/gstpipeline.c (test_base_time): Add check that the
21605 base time and stream time are reset correctly.
21607 2005-11-15 Wim Taymans <wim@fluendo.com>
21609 * docs/design/part-TODO.txt:
21610 Some more TODO items.
21612 2005-11-15 Andy Wingo <wingo@pobox.com>
21614 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21615 error if the user selected "no clock" as the clocking method.
21617 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21618 timestamps with live capture.
21620 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21621 is 0 but we are a live source, timestamp the buffers using the
21624 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21626 * docs/gst/gstreamer-sections.txt:
21628 * gst/gstghostpad.c:
21633 2005-11-14 Wim Taymans <wim@fluendo.com>
21636 add suppressions from Wim's Debian machine
21638 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21641 add suppressions from Andy's AMD64 Ubuntu machine
21643 2005-11-14 Andy Wingo <wingo@pobox.com>
21645 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21646 STATE_LOCK not necessary. Fixes #311489.
21648 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21651 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21652 this function is not implemented.
21654 2005-11-14 Julien MOUTTE <julien@moutte.net>
21656 * gst/base/gstbasetransform.c:
21657 (gst_base_transform_prepare_output_buf):
21658 Ref the source pad caps while we need them.
21661 2005-11-11 Wim Taymans <wim@fluendo.com>
21663 * docs/gst/gstreamer-sections.txt:
21664 Added some docs for GstCollectData.
21666 * gst/base/gstadapter.c:
21667 Some small code example fix.
21669 * gst/base/gstcollectpads.c:
21670 * gst/base/gstcollectpads.h:
21671 Document some more.
21673 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21675 * configure.ac: back to HEAD
21677 === release 0.9.5 ===
21679 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21682 releasing 0.9.5, "Bike Lunch Day"
21684 2005-11-11 Wim Taymans <wim@fluendo.com>
21686 * gst/gstbuffer.c: (_gst_buffer_copy):
21689 * gst/gstcaps.c: (gst_caps_is_equal):
21691 Make _is_equal fast in the trivial cases.
21693 * gst/gstminiobject.c:
21694 * gst/gstminiobject.h:
21695 More docs. Spifify .h file.
21700 2005-11-11 Wim Taymans <wim@fluendo.com>
21702 * gst/base/gstbasetransform.c:
21703 (gst_base_transform_prepare_output_buf),
21704 (gst_base_transform_handle_buffer):
21706 If we're processing a buffer and need to allocate an output
21707 buffer, we cannot accept a format change. If we did get a
21708 format change, we have to alloc a buffer ourselves of the
21711 2005-11-11 Wim Taymans <wim@fluendo.com>
21713 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21714 While checking the flag for reentrancy in the gstcaps function
21715 is nice to detect recursive invocations, it also makes it
21716 impossible to call getcaps from multiple threads, which must be
21717 possible. So, checking for recursive calls has to go.
21719 2005-11-11 Michael Smith <msmith@fluendo.com>
21721 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21722 Don't sync on buffers that fall partially outside our current
21723 segment. Prevents an assertion failure/abort playing some files.
21725 2005-11-10 Andy Wingo <wingo@pobox.com>
21727 * check/gst/gstbin.c (test_message_state_changed_children): Style
21730 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21731 gst_bus_poll with the signal watch. Ensures that poll and a signal
21732 watch see the same messages.
21734 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21735 a poll and a watch at the same time get the same messages.
21737 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21739 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21740 * gst/gstcaps.c: (gst_caps_intersect):
21741 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21742 and it's not needed.
21744 2005-11-10 Wim Taymans <wim@fluendo.com>
21746 * docs/design/part-TODO.txt:
21749 2005-11-10 Wim Taymans <wim@fluendo.com>
21751 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21752 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21753 (gst_base_src_do_sync), (gst_base_src_get_range):
21754 Implement clock sync in base class.
21756 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21758 patch by: Tim-Philipp Müller <tim at centricular dot net>
21760 * gst/gststructure.c: (gst_structure_parse_field),
21761 (gst_structure_from_string):
21762 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21763 so that gst_parse_launch() can deal with spaces in filtered link
21764 caps (fixes #164479)
21765 * check/gst/capslist.h:
21766 * check/gst/gststructure.c: (GST_START_TEST):
21767 add unit tests for this change
21769 2005-11-10 Wim Taymans <wim@fluendo.com>
21771 * docs/gst/gstreamer-sections.txt:
21772 * gst/gstelement.c:
21773 * gst/gstelement.h:
21774 Fix docs, move some STATE macros to private.
21776 2005-11-10 Wim Taymans <wim@fluendo.com>
21778 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21779 Added check for bug #317341
21783 Some more spiffifying.
21785 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21786 Call peer linkfunction if we are a source pad. Totally fixes
21790 Update docs, source pads should call the peer linkfunction
21791 so they can atomically perform the pad link.
21793 2005-11-09 Wim Taymans <wim@fluendo.com>
21797 Uber-spiffy-spiffify some more.
21799 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21801 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21802 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21803 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21804 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21805 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21806 * gst/gstpad.c: (gst_pad_init):
21807 Use GST_DEBUG_FUNCPTR() more extensively.
21809 2005-11-09 Wim Taymans <wim@fluendo.com>
21811 * gst/gstobject.c: (gst_object_class_init):
21813 Documentation fixes.
21815 2005-11-09 Edward Hervey <edward@fluendo.com>
21817 * gst/gsttypefindfactory.c:
21820 2005-11-09 Edward Hervey <edward@fluendo.com>
21822 * gst/base/gsttypefindhelper.c:
21823 * gst/gsttypefind.c:
21824 * gst/gsttypefind.h:
21827 2005-11-09 Wim Taymans <wim@fluendo.com>
21829 * gst/gstiterator.c:
21836 2005-11-09 Wim Taymans <wim@fluendo.com>
21842 2005-11-09 Wim Taymans <wim@fluendo.com>
21844 * docs/gst/gstreamer-sections.txt:
21845 Moved the message async delivery private lock and cond
21846 to the private section.
21848 * gst/gstmessage.c:
21849 * gst/gstmessage.h:
21852 2005-11-09 Edward Hervey <edward@fluendo.com>
21854 * docs/gst/gstreamer-sections.txt:
21857 Document GstURIHandler
21859 2005-11-09 Wim Taymans <wim@fluendo.com>
21861 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21862 (gst_iterator_find_custom):
21863 * gst/gstiterator.h:
21866 2005-11-09 Wim Taymans <wim@fluendo.com>
21869 Document another field.
21871 * gst/gststructure.c:
21872 * gst/gststructure.h:
21875 2005-11-09 Wim Taymans <wim@fluendo.com>
21878 Documented structs.
21880 2005-11-09 Wim Taymans <wim@fluendo.com>
21882 * docs/gst/gstreamer-sections.txt:
21883 Added some new macros.
21890 2005-11-09 Wim Taymans <wim@fluendo.com>
21892 * docs/design/part-TODO.txt:
21893 Some more items for the TODO
21899 2005-11-09 Andy Wingo <wingo@pobox.com>
21901 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21902 to work on something else now tho...
21904 * gst/base/gstadapter.c: More adapter docs.
21906 * gst/elements/gstfilesink.c (gst_file_sink_start)
21907 (gst_file_sink_stop): New functions, replace the state change
21909 (gst_file_sink_class_init): Hook up the start and stop functions.
21910 (gst_file_sink_base_init): Don't set the state change handler any
21911 more. It was a bit ugly too, being set from here...
21912 (gst_file_sink_get_property, gst_file_sink_set_property):
21914 (gst_file_sink_set_location): More robust check that doesn't call
21915 GST_STATE. Ugggggg.
21917 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21919 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21920 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21922 2005-11-08 Wim Taymans <wim@fluendo.com>
21924 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21925 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21926 (gst_base_sink_chain), (gst_base_sink_change_state):
21927 * gst/base/gstbasesink.h:
21928 * gst/base/gstbasesrc.h:
21929 * gst/gstelement.h:
21931 Avoid excessive typechecking in macros.
21933 * gst/gstminiobject.c: (gst_mini_object_get_type),
21934 (gst_mini_object_init), (gst_mini_object_new),
21935 (gst_mini_object_free):
21936 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21937 (gst_object_finalize):
21938 Remove cruft code, optimize alloc_trace.
21940 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21942 * docs/faq/gst-uninstalled:
21943 fix up PS1 for systems that try to reset it
21945 2005-11-07 Wim Taymans <wim@fluendo.com>
21947 * gst/base/gstbasesrc.c: (gst_base_src_init),
21948 (gst_base_src_get_range):
21949 Set the segment_end to -1 initially. Fixed typefind.
21951 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21953 * gst/base/gstadapter.c:
21954 Debug category should be 'adapter', not 'GstAdapter'.
21956 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21957 (gst_collectpads_class_init), (gst_collectpads_init),
21958 (gst_collectpads_peek), (gst_collectpads_pop),
21959 (gst_collectpads_event), (gst_collectpads_chain):
21960 Add debug category and some debugging output. Use boilerplate
21961 macros. Remove some extraneous words from docs.
21963 2005-11-05 Andy Wingo <wingo@pobox.com>
21965 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21968 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21970 * docs/gst/gstreamer-sections.txt:
21973 * gst/gstminiobject.h:
21978 2005-11-04 Wim Taymans <wim@fluendo.com>
21980 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21981 Small update to stop at the configured segment_end
21984 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21986 * gst/gstregistry.c:
21987 * gst/gstregistry.h:
21990 2005-11-04 Edward Hervey <edward@fluendo.com>
21992 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21993 Check if we are doing a segment seek and have arrived at the
21994 end of that segment.
21996 2005-11-04 Wim Taymans <wim@fluendo.com>
21998 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21999 Don't leak a mutex unlock in case of an error.
22004 2005-11-04 Wim Taymans <wim@fluendo.com>
22006 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22008 Get the context to wake up only once.
22010 2005-11-03 Wim Taymans <wim@fluendo.com>
22012 * check/states/sinks.c: (GST_START_TEST):
22013 Uncomment fixed check.
22015 * docs/design/part-TODO.txt:
22018 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22019 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22020 (gst_base_sink_get_position):
22021 If we are going to PLAYING, post the right pending state
22022 when we post the intermediate paused message.
22024 * gst/gstelement.c: (gst_element_continue_state),
22025 (gst_element_set_state_func), (gst_element_change_state):
22026 Don't post state changes that were between the same state
22027 and were not ASYNC.
22029 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22031 * docs/gst/gstreamer-sections.txt:
22034 * gst/gstminiobject.h:
22037 more docs and doc style fixes
22039 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22041 * docs/gst/gstreamer-sections.txt:
22042 * gst/gstelement.c:
22043 * gst/gstminiobject.c:
22046 2005-11-03 Andy Wingo <wingo@pobox.com>
22048 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22049 state-changed messages actually have the right order and the right
22052 2005-11-03 Wim Taymans <wim@fluendo.com>
22054 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22055 Added some more checks. Specifically the case where NO_PREROLL
22056 elements are in the pipeline.
22058 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22059 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22060 (gst_base_sink_get_position):
22061 Post READY->PAUSED state change messages too.
22062 Fix bug where VOID was posted as pending state...
22064 * gst/gstbin.c: (gst_bin_recalc_state):
22065 use _element_continue_state() to continue the state change.
22067 * gst/gstelement.c: (gst_element_continue_state),
22068 (gst_element_commit_state), (gst_element_set_state_func),
22069 (gst_element_change_state), (gst_element_change_state_func):
22070 Lots of state change cleanups, assign the STATE_RETURN in
22071 a new continue_state() function that also propagates the
22072 last return value from a state change to the app.
22073 Update some debug statements with proper category.
22075 2005-11-03 Wim Taymans <wim@fluendo.com>
22077 * docs/design/part-events.txt:
22078 * docs/design/part-gstpipeline.txt:
22079 * docs/design/part-messages.txt:
22080 * docs/design/part-overview.txt:
22081 * docs/design/part-seeking.txt:
22082 * docs/design/part-states.txt:
22083 * docs/design/part-trickmodes.txt:
22084 * docs/manual/advanced-position.xml:
22085 Small docs updates.
22088 People think !! is ugly, this looks better.
22090 * gst/gstpad.c: (gst_pad_set_blocked_async):
22091 Remove !! since it's fixed elsewhere now.
22093 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22095 * gst/gstminiobject.h:
22097 Add !! to _FLAG_IS_SET macros to make the result boolean.
22099 2005-11-03 Edward Hervey <edward@fluendo.com>
22101 * gst/gstpad.c: (gst_pad_set_blocked_async):
22102 comparing a flag and a gboolean rarely returns coherent results...
22103 Added two characters (!!) to make that work correctly.
22105 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22107 * gst/gstbus.c: (gst_bus_class_init):
22110 * gst/gstqueue.c: (gst_queue_loop):
22111 Don't assume a miniobject that isn't a buffer is an
22112 event (it could be that there is a refcounting
22113 problem somewhere and the pointer is stale and
22114 refers to an already destroyed miniobject).
22116 2005-11-03 Julien MOUTTE <julien@moutte.net>
22118 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22120 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22122 * docs/manual/advanced-position.xml:
22123 Update seek example and explanations to current 0.9 API.
22125 * gst/elements/gsttypefindelement.c:
22126 (gst_type_find_element_activate):
22127 Remove FIXME comment now that the found caps
22130 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22132 * gst/gstregistryxml.c: (load_feature):
22133 Add another GST_STR_NULL instance
22135 2005-11-02 Edward Hervey <edward@fluendo.com>
22137 * gst/gstpad.c: (handle_pad_block):
22138 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22140 2005-11-02 Wim Taymans <wim@fluendo.com>
22145 * gst/gstelement.c: (gst_element_commit_state):
22146 Remove unused value.
22148 * gst/gstiterator.c:
22149 Mention that the returned element is reffed in the docs.
22151 2005-11-02 Wim Taymans <wim@fluendo.com>
22153 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22154 (gst_pad_push), (gst_pad_push_event):
22155 Unlock blocked pads when they are flushed.
22157 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22160 * docs/gst/gstreamer-sections.txt:
22163 * gst/gstregistry.c: (gst_registry_scan_path_level):
22164 fix for a nasty little missed situation where an installed plug-in
22165 which was in the cache did not get overridden by an uninstalled one
22166 which was earlier in the plugin path because the newly created plugin
22167 for the uninstalled one (not in the registry) didn't get its
22168 ->registered set to TRUE
22170 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22172 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22173 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22174 (gst_collectpads_is_active), (gst_collectpads_collect),
22175 (gst_collectpads_collect_range), (gst_collectpads_start),
22176 (gst_collectpads_stop), (gst_collectpads_peek),
22177 (gst_collectpads_pop), (gst_collectpads_available),
22178 (gst_collectpads_read), (gst_collectpads_flush):
22179 Guard public API with assertions.
22182 Fix docs for gst_pad_set_link_function().
22184 2005-11-02 Johan Dahlin <johan@gnome.org>
22186 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22187 Unref found_caps after we used it.
22189 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22191 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22192 Don't try to ref NULL.
22194 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22196 * win32/common/config.h.in:
22197 provide a GST_FUNCTION that just gives a string for now
22199 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22201 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22202 (gst_object_flags_get_type), (register_gst_bin_flags),
22203 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22204 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22205 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22206 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22207 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22208 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22209 (gst_clock_flags_get_type), (register_gst_state),
22210 (gst_state_get_type), (register_gst_state_change_return),
22211 (gst_state_change_return_get_type), (register_gst_state_change),
22212 (gst_state_change_get_type), (register_gst_element_flags),
22213 (gst_element_flags_get_type), (register_gst_core_error),
22214 (gst_core_error_get_type), (register_gst_library_error),
22215 (gst_library_error_get_type), (register_gst_resource_error),
22216 (gst_resource_error_get_type), (register_gst_stream_error),
22217 (gst_stream_error_get_type), (register_gst_event_type),
22218 (gst_event_type_get_type), (register_gst_seek_type),
22219 (gst_seek_type_get_type), (register_gst_seek_flags),
22220 (gst_seek_flags_get_type), (register_gst_format),
22221 (gst_format_get_type), (register_gst_index_certainty),
22222 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22223 (gst_index_entry_type_get_type),
22224 (register_gst_index_lookup_method),
22225 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22226 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22227 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22228 (gst_index_flags_get_type), (register_gst_debug_level),
22229 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22230 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22231 (gst_iterator_result_get_type), (register_gst_iterator_item),
22232 (gst_iterator_item_get_type), (register_gst_message_type),
22233 (gst_message_type_get_type), (register_gst_mini_object_flags),
22234 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22235 (gst_pad_link_return_get_type), (register_gst_flow_return),
22236 (gst_flow_return_get_type), (register_gst_activate_mode),
22237 (gst_activate_mode_get_type), (register_gst_pad_direction),
22238 (gst_pad_direction_get_type), (register_gst_pad_flags),
22239 (gst_pad_flags_get_type), (register_gst_pad_presence),
22240 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22241 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22242 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22243 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22244 (gst_plugin_flags_get_type), (register_gst_rank),
22245 (gst_rank_get_type), (register_gst_query_type),
22246 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22247 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22248 (gst_tag_flag_get_type), (register_gst_task_state),
22249 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22250 (gst_alloc_trace_flags_get_type),
22251 (register_gst_type_find_probability),
22252 (gst_type_find_probability_get_type), (register_gst_uri_type),
22253 (gst_uri_type_get_type), (register_gst_parse_error),
22254 (gst_parse_error_get_type):
22255 * win32/common/gstversion.h:
22256 update win32 copies
22258 2005-11-01 Luca Ognibene <luogni@tin.it>
22261 fix docs. popt is dead, long live GOption.
22263 2005-10-31 Wim Taymans <wim@fluendo.com>
22268 2005-10-31 Andy Wingo <wingo@pobox.com>
22272 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22274 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22275 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22276 the possibility of deadlocks here if code calling notify() or
22277 set() has a lock that can be taken in another notify handler (ABBA
22278 with class lock and e.g. python GIL state lock).
22280 2005-10-28 Julien MOUTTE <julien@moutte.net>
22282 * gst/gstbus.c: Doc updates.
22284 2005-10-28 Wim Taymans <wim@fluendo.com>
22286 * docs/design/part-TODO.txt:
22287 * gst/gstiterator.c:
22288 * gst/gstsystemclock.c:
22289 * gst/gstsystemclock.h:
22292 2005-10-28 Edward Hervey <edward@fluendo.com>
22294 * docs/gst/gstreamer-docs.sgml:
22295 * docs/gst/gstreamer-sections.txt:
22296 the GstURIType documentation page is private, it only defines GstURIType
22297 which should be defined in the GstURIHandler page
22299 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22301 * gst/gstbin.c: (gst_bin_class_init):
22304 Documentation updates.
22306 2005-10-28 Wim Taymans <wim@fluendo.com>
22308 * docs/gst/gstreamer-sections.txt:
22311 Documented the clocks.
22313 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22315 * docs/gst/gstreamer-sections.txt:
22316 move some macros to private sections
22317 * gst/gstminiobject.c:
22318 * gst/gstminiobject.h:
22319 add descriptions provided by ds and some more
22321 mark macro as to be removed
22323 2005-10-28 Wim Taymans <wim@fluendo.com>
22325 * docs/design/part-TODO.txt:
22326 Add an item to TODO.
22328 * gst/gstiterator.c: (gst_iterator_fold),
22329 (gst_iterator_find_custom):
22330 * gst/gstiterator.h:
22333 2005-10-28 Wim Taymans <wim@fluendo.com>
22335 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22336 (gst_base_transform_init):
22339 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22340 An EOS event marks the queue as completely filled.
22342 2005-10-27 Wim Taymans <wim@fluendo.com>
22344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22345 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22346 Some more debugging.
22348 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22349 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22350 (gst_base_transform_event), (gst_base_transform_getrange),
22351 (gst_base_transform_chain):
22352 * gst/base/gstbasetransform.h:
22354 Protect transform and concurrent buffer alloc with a new lock.
22355 Try not to break ABI/API.
22357 2005-10-27 Wim Taymans <wim@fluendo.com>
22359 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22360 (gst_base_src_init), (gst_base_src_query),
22361 (gst_base_src_default_newsegment),
22362 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22363 (gst_base_src_send_event), (gst_base_src_event_handler),
22364 (gst_base_src_pad_get_range), (gst_base_src_loop),
22365 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22366 (gst_base_src_start), (gst_base_src_deactivate),
22367 (gst_base_src_activate_push), (gst_base_src_change_state):
22368 Move some stuff around and cleanup things.
22370 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22372 * gst/base/gstbasesrc.c: (gst_base_src_query):
22373 Add missing break statements.
22375 2005-10-27 Wim Taymans <wim@fluendo.com>
22377 * check/gst/gstbin.c: (GST_START_TEST):
22378 An extra refcount is taken in basesrc.
22380 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22381 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22382 (gst_base_src_loop):
22383 Small cleanups, check for flushing after being unlocked from the
22384 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22385 Don't send out EOS when going to READY.
22387 2005-10-27 Wim Taymans <wim@fluendo.com>
22389 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22390 (gst_base_sink_get_position):
22393 * gst/gstbin.c: (message_check), (bin_replace_message),
22394 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22395 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22396 (bin_query_duration_init), (bin_query_duration_fold),
22397 (bin_query_duration_done), (bin_query_generic_fold),
22399 * tools/gst-launch.c: (main):
22402 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22404 * examples/controller/audio-example.c: (main):
22405 * examples/queue/queue.c: (event_loop):
22406 * gst/base/gstbasetransform.h:
22407 * gst/gstelement.c: (gst_element_send_event):
22409 * gst/gstpad.c: (gst_pad_send_event):
22412 changing log priority in error situations
22414 2005-10-25 Wim Taymans <wim@fluendo.com>
22416 * gst/gstbin.c: (message_check), (bin_replace_message),
22417 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22418 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22419 (bin_query_duration_init), (bin_query_duration_fold),
22420 (bin_query_duration_done), (bin_query_generic_fold),
22422 Some doc and debug updates.
22423 Cache previously requested query DURATION for speed. invalidate
22424 cached duration if element posts a DURATION message.
22426 2005-10-25 Wim Taymans <wim@fluendo.com>
22428 * docs/design/part-TODO.txt:
22431 * gst/gstbin.c: (message_check), (bin_replace_message),
22432 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22433 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22434 (bin_query_duration_init), (bin_query_duration_fold),
22435 (bin_query_duration_done), (bin_query_generic_fold),
22437 Handle SEGMENT_START/DONE messages correctly.
22438 More evolved query algorithm that handles duration queries
22441 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22442 (gst_element_get_state_func), (gst_element_abort_state),
22443 (gst_element_commit_state), (gst_element_lost_state):
22444 Some more debugging.
22446 * gst/gstmessage.h:
22449 2005-10-25 Wim Taymans <wim@fluendo.com>
22451 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22452 Don't use invalid stream_time.
22454 * gst/gstevent.c: (gst_event_new_newsegment):
22455 stream_time in newsegment cannot be undefined.
22457 2005-10-24 Wim Taymans <wim@fluendo.com>
22462 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22464 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22466 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22468 * docs/libs/tmpl/gstdparam.sgml:
22469 * docs/libs/tmpl/gstdplinint.sgml:
22470 * docs/libs/tmpl/gstdpman.sgml:
22471 * docs/libs/tmpl/gstdpsmooth.sgml:
22472 * docs/libs/tmpl/gstunitconvert.sgml:
22475 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22480 === release 0.9.4 ===
22482 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22485 releasing 0.9.4, "Tyrannosaurus Rex"
22487 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22489 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22490 (gst_file_sink_get_current_offset):
22491 Use fseeko() and ftello() if available. When falling back on
22492 lseek() to get the current offset, fflush() first to make sure
22493 everything is up-to-date and we get the right offset.
22495 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22498 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22499 * gst/gsterror.c: (_gst_stream_errors_init):
22501 * gst/gstqueue.c: (gst_queue_loop):
22503 remove prematurely added error category and clean up the instances
22505 2005-10-21 Wim Taymans <wim@fluendo.com>
22507 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22508 (gst_base_sink_get_position), (gst_base_sink_query),
22509 (gst_base_sink_change_state):
22510 Simply set the right flag when going to playing, that's all
22511 we need to do instead of calling a function inside the object
22512 lock (that could take the lock as well and deadlock)
22514 2005-10-21 Wim Taymans <wim@fluendo.com>
22516 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22517 (gst_base_src_loop):
22518 Don't warn, the peer element knows what to do best when
22519 the seek failed, it might try something else.
22521 2005-10-21 Wim Taymans <wim@fluendo.com>
22523 * gst/base/gstbasesrc.c: (gst_base_src_init),
22524 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22527 2005-10-21 Wim Taymans <wim@fluendo.com>
22529 * docs/design/part-segments.txt:
22532 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22533 Correctly set caps, even on the subbufer.
22535 2005-10-21 Wim Taymans <wim@fluendo.com>
22537 * docs/gst/gstreamer-docs.sgml:
22538 * docs/gst/gstreamer-sections.txt:
22539 * gst/gstelement.h:
22542 * gst/gstmessage.h:
22545 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22549 And 2% more doc coverage.
22551 2005-10-21 Andy Wingo <wingo@pobox.com>
22553 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22554 position reporting.
22556 2005-10-20 Wim Taymans <wim@fluendo.com>
22558 * gst/gsterror.c: (gst_error_get_message):
22561 * gst/gststructure.c:
22566 2005-10-20 Wim Taymans <wim@fluendo.com>
22571 Another 1% more coverage.
22573 2005-10-20 Wim Taymans <wim@fluendo.com>
22575 * docs/gst/gstreamer-sections.txt:
22576 * gst/gstelement.c: (gst_element_get_state_func),
22577 (gst_element_abort_state), (gst_element_commit_state),
22578 (gst_element_lost_state):
22580 * gst/gstquery.c: (gst_query_set_position),
22581 (gst_query_parse_position), (gst_query_set_duration),
22582 (gst_query_parse_duration), (gst_query_new_convert):
22584 Yay! 1% more docs coverage.
22586 2005-10-20 Wim Taymans <wim@fluendo.com>
22589 * gst/gstquery.c: (gst_query_set_position),
22590 (gst_query_parse_position), (gst_query_set_duration),
22591 (gst_query_parse_duration), (gst_query_new_convert):
22593 * gst/gstutils.c: (gst_element_query_convert):
22595 Docs and consistency fixes.
22597 2005-10-20 Wim Taymans <wim@fluendo.com>
22603 2005-10-20 Wim Taymans <wim@fluendo.com>
22605 * gst/gstbin.c: (message_check), (bin_replace_message),
22606 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22607 (update_degree), (gst_bin_sort_iterator_next),
22608 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22609 Reworked the message handling a bit, cache the messages instead of
22610 only the senders. alows us to do more in the future.
22612 2005-10-20 Wim Taymans <wim@fluendo.com>
22614 * docs/design/part-TODO.txt:
22617 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22618 (gst_base_sink_query):
22619 Don't use clock time to report position when in EOS.
22621 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22623 * tools/gst-inspect.c: (print_interfaces),
22624 (print_element_properties_info), (print_element_info):
22625 Fix interface output with gst-inspect -a; don't print
22626 newlines after double/float properties.
22628 2005-10-20 Wim Taymans <wim@fluendo.com>
22630 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22631 (gst_base_sink_query):
22632 Speed up current position calculation.
22634 * gst/base/gstbasesrc.c: (gst_base_src_query),
22635 (gst_base_src_default_newsegment):
22636 Correctly set stream position in newsegment.
22638 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22639 (update_degree), (gst_bin_sort_iterator_next),
22640 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22641 * gst/gstmessage.c: (gst_message_new_custom):
22642 Clean up debugging info
22644 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22645 (gst_queue_loop), (gst_queue_handle_src_query):
22648 2005-10-19 Wim Taymans <wim@fluendo.com>
22650 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22651 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22652 Fix query handling again.
22654 2005-10-19 Wim Taymans <wim@fluendo.com>
22656 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22657 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22658 * gst/base/gstbasesrc.c: (gst_base_src_query):
22659 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22660 * gst/elements/gsttypefindelement.c:
22661 (gst_type_find_handle_src_query), (find_element_get_length),
22662 (gst_type_find_element_activate):
22665 * gst/gstquery.c: (gst_query_new_position),
22666 (gst_query_set_position), (gst_query_parse_position),
22667 (gst_query_new_duration), (gst_query_set_duration),
22668 (gst_query_parse_duration), (gst_query_set_segment),
22669 (gst_query_parse_segment):
22671 Bundling query position/duration is not a good idea since duration
22672 does not change much and we don't want to recalculate it for every
22673 position query, so they are separated again..
22674 Base value in segment query is not needed.
22676 * gst/gstqueue.c: (gst_queue_handle_src_query):
22677 * gst/gstutils.c: (gst_element_query_position),
22678 (gst_element_query_duration), (gst_pad_query_position),
22679 (gst_pad_query_duration):
22681 Updates for query API change.
22682 Added some docs here and there.
22684 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22686 * check/gst/gstbin.c: (GST_START_TEST):
22687 * check/gst/gstghostpad.c: (GST_START_TEST):
22688 * check/pipelines/cleanup.c: (GST_START_TEST):
22689 wait on thread to die so we can check refcount correctly
22691 2005-10-18 Wim Taymans <wim@fluendo.com>
22693 * check/pipelines/stress.c: (GST_START_TEST):
22694 Make check a little more time consuming.
22696 2005-10-18 Wim Taymans <wim@fluendo.com>
22698 * check/Makefile.am:
22699 * check/pipelines/stress.c: (GST_START_TEST),
22700 (simple_launch_lines_suite), (main):
22701 Small state change torture test.
22703 * docs/design/part-states.txt:
22704 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22705 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22706 (gst_base_sink_change_state):
22707 Never take state lock from streaming thread, clean up ugly
22708 hacks. Unfortunatly core does not yet support nice ways to
22709 async commit state.
22711 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22713 Start state recalc if a STATE_DIRTY message is posted, but only
22714 on the toplevel bin.
22716 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22717 (gst_element_get_state_func), (gst_element_abort_state),
22718 (gst_element_commit_state), (gst_element_lost_state),
22719 (gst_element_set_state_func), (gst_element_change_state):
22720 * gst/gstelement.h:
22721 State variables are now protected with the LOCK, the state
22722 lock is only used to serialize _set_state().
22724 2005-10-18 Wim Taymans <wim@fluendo.com>
22726 * check/gst/gstbin.c: (GST_START_TEST):
22727 * check/gst/gstmessage.c: (GST_START_TEST):
22728 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22729 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22731 * gst/gstelement.c: (gst_element_abort_state),
22732 (gst_element_commit_state), (gst_element_lost_state):
22733 * gst/gstmessage.c: (gst_message_new_state_changed),
22734 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22735 (gst_message_new_segment_done), (gst_message_new_duration),
22736 (gst_message_parse_state_changed),
22737 (gst_message_parse_segment_start),
22738 (gst_message_parse_segment_done), (gst_message_parse_duration):
22739 * gst/gstmessage.h:
22740 * tools/gst-launch.c: (event_loop):
22741 Seriously, this is better than a previous commit as we only need
22742 to notify the fact that an element changed state in a streaming
22743 thread, marking the state of the parents dirty, hence the
22744 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22747 2005-10-18 Wim Taymans <wim@fluendo.com>
22749 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22750 (gst_bin_recalc_func):
22751 * gst/gstelement.c: (gst_element_set_clock),
22752 (gst_element_abort_state), (gst_element_lost_state):
22753 Cleanups, prepare for state change fixes.
22755 2005-10-18 Wim Taymans <wim@fluendo.com>
22758 * gst/gstelement.c: (gst_element_class_init),
22759 (gst_element_set_state), (gst_element_set_state_func):
22760 * gst/gstelement.h:
22761 Pending ABI changes.
22762 GThreadPool in GstBinClass to monitor async state changes.
22763 state_cookie in GstElement to detect concurrent gst/set state.
22764 set_state is now virtual too in case a very complicated element
22765 has to be constructed.
22767 2005-10-18 Wim Taymans <wim@fluendo.com>
22769 * check/gst/gstbin.c: (GST_START_TEST):
22770 * check/gst/gstmessage.c: (GST_START_TEST):
22771 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22772 * gst/gstbin.c: (bin_bus_handler):
22773 * gst/gstelement.c: (gst_element_commit_state),
22774 (gst_element_lost_state):
22775 * gst/gstmessage.c: (gst_message_new_state_changed),
22776 (gst_message_new_segment_start), (gst_message_new_segment_done),
22777 (gst_message_new_duration), (gst_message_parse_state_changed),
22778 (gst_message_parse_segment_start),
22779 (gst_message_parse_segment_done), (gst_message_parse_duration):
22780 * gst/gstmessage.h:
22781 * tools/gst-launch.c: (event_loop):
22782 Make messages future proof.
22783 state-change gets a flag if it was a message comming from the
22785 segment-start/stop can also be specified in other formats.
22786 A message to notify an app that a pipeline changed playback
22788 Also fix a GstMessage leak in -launch
22790 2005-10-18 Andy Wingo <wingo@pobox.com>
22792 * gst/gstelement.c (gst_element_dispose): More helpful message.
22794 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22796 reviewed by: <delete if not using a buddy>
22798 * common/gtk-doc.mak:
22800 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22802 * gst/gstregistry.c: (gst_registry_scan_path_level):
22803 unref a plug-in we get that was already initialized
22805 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22807 * docs/gst/gstreamer-sections.txt:
22808 * docs/libs/gstreamer-libs-sections.txt:
22809 * gst/gstelement.h:
22810 add new api entries
22811 hide internal macro
22813 2005-10-17 Andy Wingo <wingo@pobox.com>
22815 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22818 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22820 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22822 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22823 (gst_element_get_state_func): Better debug message.
22824 (gst_element_commit_state): s/INFO/DEBUG/.
22825 (gst_element_lost_state, gst_element_change_state):
22827 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22828 (gst_message_new_custom): s/INFO/LOG/.
22830 2005-10-17 Michael Smith <msmith@fluendo.com>
22832 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22833 Check if end time is valid using end time, not start time.
22835 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22837 * check/gst-libs/controller.c: (GST_START_TEST),
22838 (gst_controller_suite):
22839 * libs/gst/controller/gstcontroller.c:
22840 (gst_controlled_property_set_interpolation_mode):
22841 * libs/gst/controller/gstcontroller.h:
22842 * libs/gst/controller/gstinterpolation.c:
22843 * testsuite/controller/.cvsignore:
22844 * testsuite/controller/Makefile.am:
22845 * testsuite/controller/interpolator.c:
22846 merge controller testsuites
22848 remove mem-chunk from docs
22850 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22852 * gst/gstmemchunk.c:
22853 * gst/gstmemchunk.h:
22854 * gst/gsttrashstack.c:
22855 * gst/gsttrashstack.h:
22856 out. get out. you're fired. to the Attic !
22858 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22860 * gst/gstcaps.c: (gst_caps_intersect):
22861 fix signedness issues in a (hopefully) correct way
22862 * gst/gstelement.c: (gst_element_pads_activate):
22864 * gst/gstobject.c: (gst_object_set_parent):
22867 2005-10-17 Julien MOUTTE <julien@moutte.net>
22869 * gst/gstvalue.h: Fix prototypes.
22871 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22873 * docs/gst/gstreamer-sections.txt:
22874 * gst/gst.c: (gst_version_string):
22876 * gst/gstversion.h.in:
22877 * win32/common/libgstreamer.def:
22878 add gst_version_string ()
22880 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22884 * gst/gst.c: (init_post):
22885 * win32/common/config.h.in:
22887 * gst/gstcaps.c: (gst_caps_intersect):
22888 use gint64, the range could be bigger than a guint
22890 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22893 document potential problem in 2038
22895 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22897 * gst/gstcaps.c: (gst_caps_intersect):
22898 Fix guint j diving under 0
22900 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22903 * win32/common/config.h:
22904 * win32/common/config.h.in:
22905 check for process.h, declares getpid() on Windows
22907 include process.h if we have it
22908 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22909 * gst/gstmemchunk.h:
22910 fix signedness issues
22911 * win32/common/libgstreamer.def:
22914 2005-10-16 Julien MOUTTE <julien@moutte.net>
22916 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22917 fix. Because of unsigned ints, caps intersection was going nuts and
22918 trying to access structures with G_MAXUINT index. That fixes
22919 videotestsrc ! ffmpegcolorspace ! fakesink
22920 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22923 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22926 use the gettext macro
22927 * gst/elements/gstelements.c:
22929 * gst/indexers/gstindexers.c:
22930 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22931 * win32/common/config.h:
22933 * win32/common/config.h.in:
22934 add the template to generate config.h
22935 * win32/common/gstenumtypes.c:
22936 * win32/common/gstversion.h:
22939 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22941 * gst/gst.c: (gst_version):
22942 * gst/gstversion.h.in:
22945 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22948 Oops, add missing closing bracket.
22950 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22953 use common m4's for argument checking
22955 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22957 * docs/gst/gstreamer-sections.txt:
22959 Add GST_EVENT_TYPE_NAME() macro.
22961 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22964 * gst/gstpluginfeature.c:
22966 privatize more symbols
22968 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22971 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22972 everything that uses GStreamer API should have the includes
22974 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22976 * docs/gst/gstreamer-sections.txt:
22977 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22979 give each value a _get_type, removes the DATA exports
22981 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22985 remove _gst_registry_auto_load, not used anymore
22986 * gst/gstbin.c: (gst_bin_get_type):
22988 * gst/gstelement.c: (gst_element_get_type):
22989 * gst/gstelement.h:
22990 * gst/gstobject.c: (gst_object_get_type):
22992 * gst/gstpad.c: (gst_pad_get_type):
22994 make _get_type functions similar, fixes data export from library
22996 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22999 correctly make conditionals
23000 * gst/elements/Makefile.am:
23001 * gst/elements/gstelements.c:
23002 fix typo causing fdsrc not to build
23004 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23006 * testsuite/Makefile.am:
23007 * testsuite/bytestream/.cvsignore:
23008 * testsuite/bytestream/Makefile.am:
23009 * testsuite/bytestream/filepadsink.c:
23010 * testsuite/bytestream/gstbstest.c:
23011 * testsuite/bytestream/test1.c:
23012 * testsuite/bytestream/testfile1:
23013 * testsuite/caps/normalisation.c:
23014 * testsuite/caps/random.c: (main):
23015 * testsuite/cleanup/.cvsignore:
23016 * testsuite/cleanup/Makefile.am:
23017 * testsuite/cleanup/cleanup1.c:
23018 * testsuite/cleanup/cleanup2.c:
23019 * testsuite/cleanup/cleanup3.c:
23020 * testsuite/cleanup/cleanup4.c:
23021 * testsuite/cleanup/cleanup5.c:
23022 * testsuite/controller/interpolator.c:
23023 * testsuite/debug/printf_extension.c: (main):
23024 * testsuite/elements/tee.c:
23025 * testsuite/negotiation/.cvsignore:
23026 * testsuite/negotiation/Makefile.am:
23027 * testsuite/negotiation/pad_link.c:
23028 * testsuite/pad/Makefile.am:
23029 * testsuite/pad/chainnopull.c:
23030 * testsuite/pad/getnopush.c:
23031 * testsuite/pad/link.c:
23032 * testsuite/refcounting/sched.c: (create_pipeline):
23033 * testsuite/registry/Makefile.am:
23034 * testsuite/registry/gst-print-formats.c:
23035 * testsuite/schedulers/.cvsignore:
23036 * testsuite/schedulers/142183-2.c:
23037 * testsuite/schedulers/142183.c:
23038 * testsuite/schedulers/143777-2.c:
23039 * testsuite/schedulers/143777.c:
23040 * testsuite/schedulers/147713.c:
23041 * testsuite/schedulers/147819.c:
23042 * testsuite/schedulers/147894-2.c:
23043 * testsuite/schedulers/147894.c:
23044 * testsuite/schedulers/Makefile.am:
23045 * testsuite/schedulers/group_link.c:
23046 * testsuite/schedulers/queue_link.c:
23047 * testsuite/schedulers/relink.c:
23048 * testsuite/schedulers/unlink.c:
23049 * testsuite/schedulers/unref.c:
23050 * testsuite/schedulers/useless_iteration.c:
23051 * testsuite/states/bin.c:
23052 clean out/remove some stuff from the testsuite directories
23054 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23057 check for some headers
23058 * gst/elements/Makefile.am:
23059 * gst/elements/gstelements.c:
23060 don't compile fdsrc without sys/socket.h
23061 * gst/indexers/Makefile.am:
23062 * gst/indexers/gstindexers.c: (plugin_init):
23063 don't compile fileindex without mmap
23065 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23072 * check/Makefile.am:
23073 * docs/gst/Makefile.am:
23074 * examples/helloworld/Makefile.am:
23076 * gst/base/Makefile.am:
23077 * gst/check/Makefile.am:
23078 * gst/elements/Makefile.am:
23079 * gst/indexers/Makefile.am:
23080 * gst/parse/Makefile.am:
23081 * libs/gst/controller/Makefile.am:
23082 * libs/gst/dataprotocol/Makefile.am:
23083 * examples/helloworld/helloworld.c: (event_loop):
23084 compile fixes, though it's not being compiled currently
23086 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23088 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23089 Add some simple tests for the new taglist date API.
23091 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23093 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23094 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23095 Beautify 'last-message' output: print 'none' for buffer timestamps
23096 and durations if none is set; improve alignment with next messages.
23098 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23100 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23101 * gst/gstpluginfeature.h:
23102 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23103 * gst/gstregistry.h:
23104 * docs/gst/gstreamer-sections.txt:
23105 Add new API to check plugin feature version requirements.
23107 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23108 Some basic tests for the above.
23110 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23112 * gst/gststructure.c: (gst_structure_to_string):
23113 guard against NULL printf - happens when for example
23114 a message structure with GstClock gets serialized
23116 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23118 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23119 Fix presumable copy'n'pasto.
23121 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23123 * gst/elements/gstfakesrc.h:
23124 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23125 * gst/elements/gsttypefindelement.c:
23126 fix some signedness
23127 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23128 I wonder if this could actually write +2GB files before
23130 2005-10-13 Andy Wingo <wingo@pobox.com>
23132 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23133 Fix Timmeke Waymans bug.
23134 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23135 string of the proper length to gst_caps_from_string. There's a
23136 potential for, before this fix, that this could cause someone
23137 connecting over the network to cause a segfault if the payload is
23138 not NUL-terminated.
23140 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23142 * docs/design/draft-push-pull.txt:
23143 * docs/design/part-overview.txt:
23144 * docs/random/TODO-pre-0.9:
23145 * docs/random/old/ChangeLog.gstreamer:
23146 * gst/base/gstpushsrc.c:
23150 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23152 * gst/glib-compat.c: (gst_flags_get_first_value):
23153 * gst/glib-compat.h:
23154 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23155 (gst_value_compare_double), (gst_value_serialize_flags):
23156 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23159 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23162 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23164 * tools/gst-launch.c: (event_loop):
23165 print out clock nicely
23167 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23169 * docs/gst/gstreamer-sections.txt:
23170 * gst/gsttaglist.h:
23171 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23172 (gst_tag_list_get_date_index):
23173 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23174 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23176 2005-10-13 Julien MOUTTE <julien@moutte.net>
23178 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23179 (gst_collectpads_chain):
23180 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23183 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23185 * docs/gst/gstreamer-sections.txt:
23188 * tools/gst-inspect.c: (main):
23189 * tools/gst-launch.c: (main):
23190 * tools/gst-run.c: (main):
23191 * tools/gst-xmlinspect.c: (main):
23192 fix GOption context leaks
23195 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23199 * win32/common/config.h:
23201 * win32/vs6/grammar.dsp:
23202 * win32/vs6/libgstelements.dsp:
23203 * win32/vs6/libgstreamer.dsp:
23206 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23208 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23209 * gst/base/gstbasesrc.c: (gst_base_src_query):
23210 fix more guint64<->gdouble conversions
23212 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23215 add win32-update target
23216 * win32/common/gstconfig.h:
23217 * win32/common/gstenumtypes.c:
23218 * win32/common/gstenumtypes.h:
23219 * win32/common/gstversion.h:
23220 add files that visual studio can't generate
23222 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23225 add a win32-update target
23228 2005-10-12 Wim Taymans <wim@fluendo.com>
23230 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23231 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23232 * gst/gstelement.c: (gst_element_commit_state),
23233 (gst_element_set_state):
23234 Protect flags with proper lock.
23235 unref provided cached clock in dispose.
23237 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23240 * gst/gstminiobject.h:
23242 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23243 removed unused flags from miniobject
23246 2005-10-12 Wim Taymans <wim@fluendo.com>
23248 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23249 (gst_file_sink_event), (gst_file_sink_render):
23250 Flush before seeking.
23252 2005-10-12 Andy Wingo <wingo@pobox.com>
23254 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23255 always been the case.
23257 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23259 * check/gst/gstbin.c: (GST_START_TEST):
23260 * docs/gst/gstreamer-sections.txt:
23261 * gst/base/gstbasesink.c: (gst_base_sink_init):
23262 * gst/base/gstbasesrc.c: (gst_base_src_init),
23263 (gst_base_src_get_range), (gst_base_src_check_get_range),
23264 (gst_base_src_start), (gst_base_src_stop):
23265 * gst/base/gstbasesrc.h:
23266 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23267 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23268 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23272 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23274 * gst/gstelement.c: (gst_element_is_locked_state),
23275 (gst_element_set_locked_state), (gst_element_commit_state),
23276 (gst_element_set_state):
23277 * gst/gstelement.h:
23278 * gst/gstindex.c: (gst_index_init):
23280 * gst/gstminiobject.h:
23281 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23282 (gst_object_set_parent):
23284 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23285 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23287 * gst/gstpadtemplate.h:
23288 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23289 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23290 * gst/gstpipeline.h:
23291 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23292 (gst_file_index_commit):
23293 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23294 * testsuite/pad/link.c: (gst_test_src_init),
23295 (gst_test_filter_init), (gst_test_sink_init):
23296 * testsuite/states/locked.c: (main):
23297 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23298 moved bitshift from macro to enum definition
23300 2005-10-12 Wim Taymans <wim@fluendo.com>
23302 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23303 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23304 (gst_file_sink_render):
23305 Some more debugging info.
23307 2005-10-12 Wim Taymans <wim@fluendo.com>
23309 * docs/design/part-states.txt:
23310 * tools/gst-launch.c: (main):
23312 Revert non-intentional change.
23314 2005-10-12 Wim Taymans <wim@fluendo.com>
23316 * check/gst/gstbin.c: (GST_START_TEST):
23317 * check/gst/gstelement.c: (GST_START_TEST):
23318 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23319 * check/gst/gstghostpad.c: (GST_START_TEST):
23320 * check/gst/gstpipeline.c: (GST_START_TEST):
23321 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23322 * check/states/sinks.c: (GST_START_TEST):
23323 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23324 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23325 (gst_bin_remove_func), (gst_bin_get_state_func),
23326 (gst_bin_recalc_state), (gst_bin_change_state_func),
23328 * gst/gstelement.c: (gst_element_get_state_func),
23329 (gst_element_get_state), (gst_element_abort_state),
23330 (gst_element_commit_state), (gst_element_set_state),
23331 (gst_element_change_state), (gst_element_change_state_func):
23332 * gst/gstelement.h:
23333 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23334 (gst_pipeline_provide_clock_func):
23335 * gst/gstutils.c: (gst_element_link_pads_filtered):
23336 * tools/gst-launch.c: (main):
23337 * tools/gst-typefind.c: (main):
23338 Use GstClockTime in _get_state() instead of GTimeVal.
23339 Remove old code in gstutils.c
23341 2005-10-12 Andy Wingo <wingo@pobox.com>
23343 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23346 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23347 there is no task. Shouldn't affect any code, as nothing in our
23348 plugins checks this return value.
23349 (gst_pad_stop_task): Also take the stream lock if the pad has no
23350 task. Docs updated.
23352 2005-10-12 Wim Taymans <wim@fluendo.com>
23354 * gst/gstpad.c: (pre_activate), (post_activate),
23355 (gst_pad_activate_pull), (gst_pad_activate_push):
23356 Cleanup activation code. Reset old state if
23359 2005-10-12 Wim Taymans <wim@fluendo.com>
23361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23362 (gst_base_sink_change_state):
23363 No need to prerol after receiving EOS.
23365 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23366 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23367 * gst/elements/gstidentity.c: (gst_identity_event):
23368 Print events more verbosely.
23370 2005-10-12 Wim Taymans <wim@fluendo.com>
23372 * check/Makefile.am:
23373 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23374 * check/states/sinks2.c:
23375 Moved sinks2 testcode in sinks check.
23377 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23378 (gst_bin_remove_func), (gst_bin_recalc_state),
23379 (gst_bin_change_state_func), (bin_bus_handler):
23380 Fix potential race condition when _get_state() iterated over an
23381 ASYNC element right before it posted a state completion.
23384 Do proper cast here.
23386 * gst/gstevent.c: (gst_event_new_newsegment),
23387 (gst_event_parse_newsegment):
23388 A playback rate of 0.0 is not allowed.
23390 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23392 * win32/common/config.h:
23393 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23394 (_trewinddir), (_ttelldir), (_tseekdir):
23395 * win32/common/dirent.h:
23396 * win32/common/gtchar.h:
23397 * win32/common/libgstbase.def:
23398 * win32/common/libgstreamer.def:
23399 * win32/vs6/grammar.dsp:
23400 * win32/vs6/gst_inspect.dsp:
23401 * win32/vs6/gst_launch.dsp:
23402 * win32/vs6/gstreamer.dsw:
23403 * win32/vs6/libgstbase.dsp:
23404 * win32/vs6/libgstelements.dsp:
23405 * win32/vs6/libgstreamer.dsp:
23406 Visual Studio 6 project files, and a new common directory.
23409 2005-10-11 Wim Taymans <wim@fluendo.com>
23411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23412 (gst_base_sink_do_sync), (gst_base_sink_query),
23413 (gst_base_sink_change_state):
23414 * gst/base/gstbasesink.h:
23415 Correctly parse newsegment info.
23417 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23419 * gst/gst.c: (init_post):
23420 split plugin paths correctly
23422 2005-10-11 Wim Taymans <wim@fluendo.com>
23424 * check/gst/gstevent.c: (GST_START_TEST):
23425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23426 (gst_base_sink_change_state):
23427 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23428 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23429 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23430 * gst/gstevent.c: (gst_event_new_newsegment),
23431 (gst_event_parse_newsegment):
23433 Added extra flag to newsegment for future API freeze.
23434 Updated check and base elements.
23436 2005-10-11 Julien MOUTTE <julien@moutte.net>
23438 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23439 (gst_collectpads_add_pad), (gst_collectpads_pop),
23440 (gst_collectpads_event), (gst_collectpads_chain):
23441 * gst/base/gstcollectpads.h: Handle EOS correctly.
23443 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23445 * tools/gst-launch.c: (main):
23446 more null protecting
23448 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23450 * gst/gst-i18n-lib.h:
23451 check for ENABLE_NLS, not GETTEXT_PACKAGE
23452 * gst/gstregistry.c: (gst_registry_add_plugin),
23453 (gst_registry_scan_path_level),
23454 (_gst_registry_remove_cache_plugins):
23455 protect possibly NULL strings
23456 * gst/parse/types.h:
23457 config.h already included before
23458 * tools/gst-inspect.c: (main):
23459 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23460 check for ENABLE_NLS, not GETTEXT_PACKAGE
23461 * tools/gst-launch.c: (main):
23462 check for ENABLE_NLS, not GETTEXT_PACKAGE
23464 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23467 if we don't have glib, fail before testing 2.8
23468 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23469 fix a leak, should fix plugins-base testsuite
23471 2005-10-11 Andy Wingo <wingo@pobox.com>
23473 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23474 take the mode we're going to as an arg. Go head and set the mode
23475 and flushing flags now, so that if the activate function starts a
23476 thread all the flags will be in the right state.
23477 (post_activate): Renamed also. Just handle making sure streaming
23478 finishes for the deactivation case, and setting the deactivated
23480 (gst_pad_set_active): Complain loudly if deactivation fails.
23481 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23482 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23483 remove the terrible hack.
23485 2005-10-11 Wim Taymans <wim@fluendo.com>
23487 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23488 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23489 (gst_bin_recalc_state), (gst_bin_change_state_func),
23490 (gst_bin_dispose), (bin_bus_handler):
23492 Prepare to make current EOS message queue more generic.
23495 * gst/gstevent.c: (gst_event_new_newsegment),
23496 (gst_event_parse_newsegment):
23498 Rename base to stream_time.
23500 * gst/gstmessage.h:
23503 2005-10-11 Wim Taymans <wim@fluendo.com>
23505 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23506 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23507 (gst_bin_change_state_func), (bin_bus_handler):
23509 Work on proper clock selection.
23511 2005-10-11 Edward Hervey <edward@fluendo.com>
23513 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23514 * libs/gst/controller/gstcontroller.h:
23515 Added GList* version of _remove_properties() in order to be able to wrap
23518 2005-10-11 Wim Taymans <wim@fluendo.com>
23520 * docs/design/part-states.txt:
23523 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23524 (gst_bin_change_state_func), (bin_bus_handler):
23525 Doc updates. Don't distribute the same clock over and over again.
23531 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23532 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23533 (gst_pad_send_event):
23535 Make probe emission threadsafe again.
23536 Register quarks and move _get_name() from utils.
23539 * gst/gstpipeline.c: (gst_pipeline_class_init),
23540 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23541 Only redistribute the clock of it changed.
23543 * gst/gstsystemclock.h:
23548 Moved the _flow_get_name() to GstPad.
23550 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23552 * check/gst-libs/gdp.c: (GST_START_TEST):
23553 * check/gst/gstcaps.c: (GST_START_TEST):
23554 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23555 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23556 (gst_dp_packet_from_caps):
23557 fix more valgrind warnings before turning up the heat
23559 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23561 * gst/parse/grammar.y:
23562 some cleanup before the hacking
23564 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23566 * gst/base/gstbasesrc.c: (gst_base_src_query):
23568 * gst/gstutils.c: (gst_guint64_to_gdouble),
23569 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23571 externalize, basesrc uses it
23572 obviously the implementation needs testing
23574 2005-10-10 Wim Taymans <wim@fluendo.com>
23576 * tests/sched/Makefile.am:
23577 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23578 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23580 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23582 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23583 apparently converting from guint64 to double is not implemented
23586 2005-10-10 Wim Taymans <wim@fluendo.com>
23588 * check/Makefile.am:
23589 * check/generic/states.c: (GST_START_TEST):
23590 * check/gst/gstbin.c: (GST_START_TEST):
23591 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23592 * check/states/sinks.c: (GST_START_TEST):
23593 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23595 Check fixes, use API as stated in design docs, remove hacks.
23597 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23598 (gst_base_sink_change_state):
23599 Catch stopping our task while we're shutting down.
23601 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23602 (gst_bin_remove_func), (gst_bin_get_state_func),
23603 (gst_bin_recalc_state), (gst_bin_change_state_func),
23606 * gst/gstelement.c: (gst_element_init),
23607 (gst_element_get_state_func), (gst_element_abort_state),
23608 (gst_element_commit_state), (gst_element_lost_state),
23609 (gst_element_set_state), (gst_element_change_state),
23610 (gst_element_change_state_func):
23611 * gst/gstelement.h:
23612 New state change algorithm (see #318116)
23614 * gst/gstpipeline.c: (gst_pipeline_class_init),
23615 (gst_pipeline_init), (gst_pipeline_set_property),
23616 (gst_pipeline_get_property), (do_pipeline_seek),
23617 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23618 * gst/gstpipeline.h:
23619 Remove crude state change hacks.
23622 Remove crude hacks.
23624 * tools/gst-launch.c: (main):
23625 Fixes for state change. Needs some more work to fully use the
23628 2005-10-10 Andy Wingo <wingo@pobox.com>
23630 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23632 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23633 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23636 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23638 * gst/gstiterator.c: (gst_iterator_new):
23639 Fix my previous commit: GTypes passed to gst_iterator_new()
23640 can be fundamental types.
23642 2005-10-10 Wim Taymans <wim@fluendo.com>
23644 * gst/gstelement.c: (gst_element_iterate_pad_list),
23645 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23646 (gst_element_iterate_sink_pads):
23647 Use src/sink pads lists for the respective iterators instead
23650 2005-10-10 Andy Wingo <wingo@pobox.com>
23652 Merged in popt removal + GOption addition patch from Ronald, bug
23655 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23656 GstElement macros around, remove popt-related symbols, add goption
23659 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23661 * docs/gst/Makefile.am:
23662 * docs/libs/Makefile.am: No POPT_CFLAGS.
23664 * examples/manual/Makefile.am:
23665 * docs/manual/basics-init.xml: Doc updates with an example.
23667 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23668 (gst_init), (parse_one_option), (parse_goption_arg):
23669 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23670 bit of hand merging and debugging to get the GOption stuff working
23673 * tests/Makefile.am:
23674 * tools/Makefile.am:
23675 * tools/gst-inspect.c: (main):
23676 * tools/gst-launch.c: (main):
23677 * tools/gst-run.c: (main):
23678 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23680 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23682 * gst/gstiterator.c: (gst_iterator_new):
23683 Add assertions to make sure passed GType is likely to really
23684 be a GType (as the compiler won't catch it if the size and
23685 GType arguments get mixed up, see #318447).
23687 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23689 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23691 * gst/gstbin.c: (gst_bin_iterate_sorted):
23692 Pass GType and size arguments to gst_iterator_new() in the right
23693 order (maybe we should make _new() take the GType as first argument
23694 just like _new_list()?) (#318447).
23697 2005-10-10 Wim Taymans <wim@fluendo.com>
23699 * gst/gstelement.c: (gst_element_finalize):
23700 And free the GStaticRecMutex too
23702 2005-10-10 Andy Wingo <wingo@pobox.com>
23704 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23705 Allocate and free the mutex properly.
23707 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23709 (GstElement): The state_lock is now recursive. Rebuild your
23710 plugins, suckers. Old macros adapted.
23712 * docs/gst/gstreamer-sections.txt: Doc updates.
23715 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23716 (g_static_rec_cond_wait): Ported from state changes patch, while
23717 we wait on bug #317802 to be solved in a well-distributed GLib.
23719 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23720 gst_element_change_state, variable name changes.
23721 (gst_element_change_state): Split out of gst_element_set_state in
23722 preparation for the state change merge. Doesn't pay attention to
23723 the 'transition' argument.
23724 (gst_element_set_state): Updates, hopefully purely cosmetic.
23725 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23726 state change patch.
23727 (gst_element_get_state_func): Renamed from get_state, cosmetic
23730 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23732 * gst/elements/gstelements.c:
23733 * win32/GStreamer.vcproj:
23735 * win32/dirent.c: (_tseekdir):
23736 * win32/gst-inspect.vcproj:
23737 * win32/gst-launch.vcproj:
23738 * win32/gstconfig.h:
23739 * win32/gstelements.vcproj:
23740 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23741 * win32/gstreamer.def:
23742 * win32/msvc71.sln:
23743 updates for the win32 build (patch from Sebastien Moutte)
23745 2005-10-10 Andy Wingo <wingo@pobox.com>
23747 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23748 gst_bin_get_state, cleaned up (but no logic changes).
23749 (bin_element_is_sink): Comment updates.
23750 (sink_iterator_filter): Remove needless cast.
23751 (gst_bin_iterate_sinks): Doc update.
23752 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23753 cleaned up (but no logic changes).
23755 * check/states/sinks.c (test_src_sink): Cleanups from the state
23757 (test_livesrc_sink): Sync on the state.
23759 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23760 the state change patch.
23762 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23765 * check/gst/gstbin.c: Merge in some style fixes and additional
23766 checks from Wim's state change patch.
23768 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23770 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23771 (gst_type_find_helper):
23772 Check whether we have the requested data already in our list of
23773 cached buffers before pulling a new buffer; also make the buffer
23774 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23776 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23781 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23782 don't use long long, it's not portable. Replacing with
23783 gint64 seems to work; let's hope no skeletons fall out of the closet.
23785 2005-10-10 Andy Wingo <wingo@pobox.com>
23787 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23789 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23791 * docs/gst/gstreamer-sections.txt:
23796 * gst/gstmessage.c: (gst_message_parse_state_changed):
23799 more docs, fix compilation
23801 2005-10-09 Philippe Khalaf <burger@speedy.org>
23802 * gst/gstmessage.c:
23803 Fixed a few forgotten variables on previous commit
23805 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23807 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23808 Fix evil typefind crasher: getrange() might return a short
23809 buffer at the end of a file, but gst_type_find_peek() must
23810 either return the full data as requested or NULL, but
23811 never a short buffer.
23813 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23815 * gst/gstmessage.c: (gst_message_new_state_changed),
23816 (gst_message_parse_state_changed):
23817 * gst/gstmessage.h:
23818 don't use "new", it's a C++ keyword
23820 2005-10-08 Wim Taymans <wim@fluendo.com>
23822 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23823 * gst/gstelement.c: (gst_element_post_message):
23824 * gst/gstpipeline.c: (gst_pipeline_change_state):
23825 Small docs and debug updates.
23827 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23829 * docs/gst/gstreamer-sections.txt:
23830 * gst/gstelementfactory.c:
23832 * gst/gsttaglist.c:
23835 2005-10-08 Wim Taymans <wim@fluendo.com>
23837 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23838 (gst_bin_dispose), (bin_bus_handler):
23839 Fix typos, add comments.
23840 Clear EOS list when going to PAUSED from any direction and do it
23841 in a threadsafe way.
23842 Get base time in a threadsafe way too.
23843 Fix confusing debug in the change_state function.
23844 Various other small cleanups.
23846 * gst/gstelement.c: (gst_element_post_message):
23847 Fix very verbose bus posting code.
23849 * gst/gstpipeline.c: (gst_pipeline_class_init),
23850 (gst_pipeline_set_property), (gst_pipeline_get_property),
23851 (gst_pipeline_change_state):
23852 Small ARG_ -> PROP_ cleanup
23854 2005-10-08 Wim Taymans <wim@fluendo.com>
23856 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23857 Do a less CPU demanding EOS check because we can.
23859 2005-10-08 Wim Taymans <wim@fluendo.com>
23861 * libs/gst/dataprotocol/dataprotocol.c:
23862 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23863 (gst_dp_packet_from_event):
23864 * libs/gst/dataprotocol/dataprotocol.h:
23865 * libs/gst/dataprotocol/dp-private.h:
23866 It's about time we bump the version number.
23867 Since event types don't fit in the guint8 anymore describing
23868 the payload type, make payload type 16 bits wide.
23870 2005-10-08 Wim Taymans <wim@fluendo.com>
23872 * docs/design/part-TODO.txt:
23873 * docs/design/part-clocks.txt:
23874 * docs/design/part-events.txt:
23875 * docs/design/part-gstbin.txt:
23876 * docs/design/part-gstelement.txt:
23877 * docs/design/part-gstpipeline.txt:
23878 * docs/design/part-live-source.txt:
23879 * docs/design/part-messages.txt:
23880 * docs/design/part-overview.txt:
23881 * docs/design/part-states.txt:
23884 2005-10-08 Wim Taymans <wim@fluendo.com>
23888 Fix event quark registration.
23889 Add some space between events so we can insert them in the
23892 2005-10-08 Wim Taymans <wim@fluendo.com>
23894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23895 (gst_base_sink_handle_buffer):
23896 Better log message.
23899 * gst/gstelement.h:
23902 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23903 (gst_queue_set_property), (gst_queue_get_property):
23905 Remove old unused properties.
23907 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23908 * docs/gst/gstreamer-sections.txt:
23909 * gst/gstmessage.c:
23910 * gst/gstmessage.h:
23911 * gst/gstminiobject.c:
23912 * gst/gstminiobject.h:
23916 lots of new docs and doc fixes
23918 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23920 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23922 * gst/gstregistry.c: (gst_registry_lookup_locked),
23923 (gst_registry_scan_path_level):
23924 * gst/gstregistryxml.c: (load_plugin):
23925 Only ever load one plugin for a given plugin basename.
23926 This ensures correct overriding of GST_PLUGIN_PATH over
23927 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23928 system installed plugins.
23930 2005-10-08 Wim Taymans <wim@fluendo.com>
23932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23933 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23934 Prepare for doing QOS.
23936 2005-10-08 Wim Taymans <wim@fluendo.com>
23938 * check/gst/gstbin.c: (GST_START_TEST):
23939 * check/pipelines/cleanup.c: (GST_START_TEST):
23940 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23941 Allow new clock message too.
23943 2005-10-08 Wim Taymans <wim@fluendo.com>
23945 * gst/gstmessage.c: (gst_message_new_error),
23946 (gst_message_new_warning), (gst_message_new_tag),
23947 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23948 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23949 (gst_message_new_segment_start), (gst_message_new_segment_done),
23950 (gst_message_parse_state_changed),
23951 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23952 (gst_message_parse_new_clock):
23953 * gst/gstmessage.h:
23954 Also carry the clock in question.
23956 2005-10-08 Wim Taymans <wim@fluendo.com>
23958 * gst/gstmessage.c: (gst_message_new_custom),
23959 (gst_message_new_eos), (gst_message_new_error),
23960 (gst_message_new_warning), (gst_message_new_tag),
23961 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23962 (gst_message_new_new_clock), (gst_message_new_segment_start),
23963 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23964 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23965 * gst/gstmessage.h:
23967 Added clock related messages.
23969 * gst/gstpipeline.c: (gst_pipeline_change_state):
23970 Post message when the clock changed.
23972 * tools/gst-launch.c: (event_loop):
23975 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23977 * tools/gst-inspect.c: (print_element_properties_info):
23978 Can't pass NULL strings to g_print() on windows.
23980 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23982 * docs/Makefile.am:
23983 * docs/gst/Makefile.am:
23984 * docs/gst/gstreamer-docs.sgml:
23985 * docs/gst/running.xml:
23986 * docs/version.entities.in:
23987 add a chapter on running GStreamer.
23988 document GST_DEBUG and GST_PLUGIN* env vars
23990 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23995 remove PLUGINS_BUILDDIR stuff
23996 * gst/gst.c: (init_post):
23997 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23999 remove, it was condescending and not needed
24001 2005-10-08 Wim Taymans <wim@fluendo.com>
24003 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24004 (gst_base_sink_handle_object), (gst_base_sink_event),
24005 (gst_base_sink_wait), (gst_base_sink_handle_event),
24006 (gst_base_sink_change_state):
24007 * gst/base/gstbasesink.h:
24008 Repost EOS message while going to PLAYING if still EOS.
24009 Make sure that when receiving a FLUSH_START we don't attempt
24010 to sync on the clock anymore.
24012 2005-10-08 Wim Taymans <wim@fluendo.com>
24014 * tools/gst-launch.c: (event_loop):
24015 Better message printout.
24017 2005-10-08 Wim Taymans <wim@fluendo.com>
24019 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24020 (gst_bin_child_proxy_get_children_count):
24021 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24022 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24023 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24024 (gst_child_proxy_set_valist):
24025 * gst/parse/grammar.y:
24026 Make ChildProxy threadsafe and fix mem leaks.
24028 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24030 * gst/gst.c: (init_post):
24031 debug the GST_PLUGIN_ env vars
24033 2005-10-08 Wim Taymans <wim@fluendo.com>
24035 * check/gst/gstbin.c: (GST_START_TEST):
24036 * check/gst/gstmessage.c: (GST_START_TEST):
24037 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24038 * gst/gstelement.c: (gst_element_commit_state),
24039 (gst_element_lost_state):
24040 * gst/gstmessage.c: (gst_message_new_state_changed),
24041 (gst_message_parse_state_changed):
24042 * gst/gstmessage.h:
24043 * tools/gst-launch.c: (event_loop):
24044 Added extra field to STATE_CHANGE message with the pending
24045 state, which will be different from the new state soon.
24047 2005-10-08 Wim Taymans <wim@fluendo.com>
24049 * gst/gstbus.c: (gst_bus_pop):
24051 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24052 Small cleanups and doc updates.
24054 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24056 * gst/gst.c: (init_pre):
24057 * gst/gstbin.c: (gst_bin_add_func):
24058 log distributing clocks and base time
24059 * gst/gstregistry.c: (gst_registry_add_plugin),
24060 (gst_registry_scan_path_level), (gst_registry_scan_path):
24061 clean up the debugging output a little
24062 * gst/gstutils.c: (gst_element_state_get_name):
24063 warn about a memleak (I've actually seen this be used, though
24064 it was probably a bug)
24066 2005-10-07 Wim Taymans <wim@fluendo.com>
24068 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24069 (gst_base_src_init), (gst_base_src_default_newsegment),
24070 (gst_base_src_newsegment), (gst_base_src_do_seek),
24071 (gst_base_src_loop), (gst_base_src_start):
24072 * gst/base/gstbasesrc.h:
24073 Make the newsegment event customizable by subclasses.
24075 2005-10-07 Wim Taymans <wim@fluendo.com>
24077 * gst/gstevent.c: (gst_event_new_buffersize),
24078 (gst_event_parse_buffersize):
24080 New event for future idea.
24082 2005-10-07 Andy Wingo <wingo@pobox.com>
24084 * gst/gstelement.c (gst_element_post_message): Doc update.
24086 * docs/gst/gstreamer-sections.txt: Update.
24088 * gst/gstmessage.c (gst_message_new_application): Made into a
24089 function like honest API calls.
24090 (gst_message_new_element): New message type.
24092 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24094 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24095 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24098 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24099 NO_PREROLL from gst_element_change_state to fall through.
24101 2005-10-07 Wim Taymans <wim@fluendo.com>
24103 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24104 (gst_ghost_pad_do_activate_push):
24105 Activating a ghostpad with no internal pad in push mode
24108 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24111 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24112 Fixes compilation on Windows.
24114 2005-10-07 Michael Smith <msmith@fluendo.com>
24116 * tools/gst-inspect.c:
24117 Print out feature and plugin count at the end when printing out
24120 2005-10-04 Michael Smith <msmith@fluendo.com>
24122 * gst/gsterror.c: (_gst_stream_errors_init):
24123 Add another error string used in a few existing plugins.
24126 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24127 * tools/gst-inspect.c: (print_element_info):
24128 When a feature disappears from a plugin (and the feature exists in
24129 the cached registry file), things went horribly wrong. This isn't a
24130 complete fix, we should actually be removing the 'missing' features
24131 from the features list when we load the actual plugin. That's not
24134 2005-10-04 Johan Dahlin <johan@gnome.org>
24136 * check/gst/gstiterator.c: (GST_START_TEST):
24137 * gst/gstbin.c: (gst_bin_iterate_elements),
24138 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24139 * gst/gstelement.c: (gst_element_iterate_pads):
24140 * gst/gstformat.c: (gst_format_iterate_definitions):
24141 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24142 (gst_iterator_new_list), (gst_iterator_filter):
24143 * gst/gstiterator.h:
24144 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24145 Add a GType to GstIterator, update callsites and tests.
24147 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24149 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24150 give events a chance to be handled by event probes when the pad
24153 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24155 * gst/gstevent.c: (gst_event_type_get_name),
24156 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24158 add string representations for event types
24160 2005-10-06 Wim Taymans <wim@fluendo.com>
24162 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24163 Don't use NULL pointers.
24165 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24167 * gst/gst_private.h:
24169 * gst/gstelement.c:
24171 * gst/gstpluginfeature.c:
24172 widen the debug category in output to fit the biggest one we have
24173 add a bus category and use it
24174 play with the colors
24175 fix up some categories
24177 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24179 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24180 add push activation of sink ghost pads.
24181 Andye, please verify
24183 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24185 * gst/gstutils.c: (gst_element_link_pads):
24186 fix a bug in the case where neither element has a pad
24187 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24188 add a test for that case
24190 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24192 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24193 emit have-data before checking for peers. This allows
24194 for probe handlers to connect elements. This helps autopluggers.
24195 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24197 add six checks, linked/unlinked with no/true/false probe
24199 2005-10-04 Wim Taymans <wim@fluendo.com>
24201 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24202 (gst_fake_sink_event), (gst_fake_sink_preroll),
24203 (gst_fake_sink_render), (gst_fake_sink_change_state):
24204 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24205 (gst_fake_src_get_property), (gst_fake_src_create),
24206 (gst_fake_src_stop):
24207 * gst/elements/gstidentity.c: (gst_identity_stop):
24208 Protect last_message with lock.
24210 2005-10-04 Edward Hervey <edward@fluendo.com>
24213 Added precision in the comments for GST_FORMAT_DEFAULT
24215 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24217 * tools/gst-launch.c: (main):
24218 Don't try to run erroneous pipelines.
24220 2005-10-04 Julien MOUTTE <julien@moutte.net>
24222 * gst/gstbus.c: We don't need this header.
24224 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24227 back to development
24229 === release 0.9.3 ===
24231 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24235 Releasing 0.9.3, "Unregistered"
24237 2005-10-03 Andy Wingo <wingo@pobox.com>
24239 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24240 whereby calling a pad's activatepush() function can start a thread
24241 that starts to push or pull before the pad gets the FLUSHING flag
24242 unset. Hack around it by holding the stream lock until the flag is
24243 set. Need to replace this with a proper solution. Together with
24244 the ghost pad fixes, this fixes mp3 playing/tagreading.
24246 * docs/design/part-gstghostpad.txt: Add a note about activation of
24247 proxy pads outside of ghost pads.
24249 * gst/gstghostpad.c: Implement the ghost pad activation design.
24251 2005-10-02 Andy Wingo <wingo@pobox.com>
24253 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24254 It is volatile, after all.
24256 * docs/design/part-gstghostpad.txt: Flesh out activation with
24259 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24262 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24265 Fix (unused) AM_CONDITIONAL tests.
24267 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24269 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24271 * gst/gstutils.c: (gst_pad_query_convert):
24272 Add assertion that makes sure src_val is >=0, just like
24273 gst_query_new_convert() has. (#315895)
24275 2005-09-30 Edward Hervey <edward@fluendo.com>
24277 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24278 Let's not iterate pads we're not interested in, it avoids getting
24279 sky-high refcounts on sinkpad.
24281 2005-09-30 Wim Taymans <wim@fluendo.com>
24283 * gst/gstelement.c: (gst_element_set_state),
24284 (gst_element_change_state):
24285 Small tweak, element in ASYNC remains ASYNC.
24287 2005-09-30 Wim Taymans <wim@fluendo.com>
24289 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24290 Only error is an error.
24292 * gst/gstbin.c: (gst_bin_change_state):
24295 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24296 Also call pad_block in pad alloc.
24298 * gst/gstutils.c: (gst_flow_get_name):
24301 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24303 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24304 (gst_base_src_get_range):
24305 Fix documentation typos. Add some more debug info.
24307 2005-09-29 David Schleef <ds@schleef.org>
24309 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24310 more end-user friendly.
24311 * tools/gst-inspect.c: (main): Check if command-line argument is
24312 a file and attempt to load that file as a plugin.
24314 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24316 * check/gst/gstbin.c:
24317 * check/states/sinks.c:
24318 fix tests for the new warning
24319 * check/gst/gstpipeline.c:
24320 add a test for pipeline and bus interaction
24321 * gst/gstelement.c:
24322 elements should be NULL if they get disposed; add a warning if not
24324 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24327 for 2.6 refcounting, make debug log more correct by printing
24328 the actual refcounts at the time of swap (Wim)
24330 2005-09-29 Andy Wingo <wingo@pobox.com>
24332 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24333 removes signal watches previously added via
24334 gst_bus_add_signal_watch.
24335 (gst_bus_add_signal_watch): Don't return the source id, just store
24336 it on the bus if there wasn't an id already.
24338 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24339 add_signal_watch and remove_signal_watch.
24341 2005-09-29 Edward Hervey <edward@fluendo.com>
24343 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24344 Better if we actually iterate the list :)
24346 2005-09-29 Wim Taymans <wim@fluendo.com>
24348 * check/gst/gstbin.c: (GST_START_TEST):
24349 Change for new bus API.
24351 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24352 (send_messages), (GST_START_TEST), (gstbus_suite):
24353 Change for new bus signal API.
24355 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24356 (gst_bus_source_prepare), (gst_bus_source_check),
24357 (gst_bus_create_watch), (gst_bus_add_watch_full),
24358 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24359 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24361 Remove support for multiple GSources operating on different
24362 message types as it is too complex and unneeded when using
24364 Added support for receiving signals from the bus.
24366 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24368 * docs/libs/tmpl/gstdataprotocol.sgml:
24369 * docs/manual/advanced-dataaccess.xml:
24370 * gst/elements/gstcapsfilter.c:
24372 rename filter-caps to caps property
24374 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24376 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24377 More robust fraction string parsing.
24379 * docs/pwg/appendix-porting.xml:
24380 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24382 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24384 * gst/gstcaps.c: (gst_caps_do_simplify):
24385 Thou shalt not free a structure and then continue using it
24386 in the next loop iteration.
24388 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24390 Add test case for caps simplification.
24392 2005-09-29 Wim Taymans <wim@fluendo.com>
24394 * check/gst/gstbin.c: (GST_START_TEST):
24397 2005-09-29 Wim Taymans <wim@fluendo.com>
24399 * check/gst/gstbin.c: (GST_START_TEST):
24402 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24403 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24404 (find_element), (gst_bin_sort_iterator_next),
24405 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24406 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24407 (gst_bin_change_state), (gst_bin_dispose):
24408 A bin does not have a bus, it gets the bus from the parent.
24410 * gst/gstelement.c: (gst_element_requires_clock),
24411 (gst_element_provides_clock), (gst_element_is_indexable),
24412 (gst_element_is_locked_state), (gst_element_change_state),
24413 (gst_element_set_bus_func):
24416 * gst/gstpipeline.c: (gst_pipeline_class_init),
24417 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24418 The pipeline provides a bus.
24420 2005-09-28 Johan Dahlin <johan@gnome.org>
24422 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24423 gst_structure_get_enum instead of gst_structure_get_int
24425 * gst/gststructure.c (gst_structure_get_enum): Impl.
24427 * gst/gststructure.h (gst_structure_get_enum): Add
24429 * docs/gst/gstreamer-sections.txt: Ditto
24431 * gst/gstmessage.c (gst_message_new_state_changed): Use
24432 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24433 which does introspection.
24434 Reviewed by Christian Schaller
24436 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24438 * gst/gstinfo.c: (gst_debug_log_default):
24439 don't do dummy g_strdup()s
24440 * libs/gst/controller/gstcontroller.c:
24441 (on_object_controlled_property_changed),
24442 (gst_controlled_property_new), (gst_controller_new_valist),
24443 (gst_controller_new_list),
24444 (gst_controller_remove_properties_valist), (gst_controller_set),
24445 (gst_controller_get), (gst_controller_sync_values),
24446 (gst_controller_get_value_array), (_gst_controller_class_init),
24447 (gst_controller_get_type):
24448 * libs/gst/controller/gstcontroller.h:
24449 * libs/gst/controller/gstinterpolation.c:
24450 (gst_controlled_property_find_timed_value_node):
24451 convert // to /**/ comments
24453 2005-09-28 Wim Taymans <wim@fluendo.com>
24455 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24456 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24457 (gst_bus_sync_signal_handler):
24459 Added async-message and sync-message signals to the bus.
24460 Added helper BusFunc to emit signals for all posted messages.
24462 * gst/gstmessage.c: (gst_message_type_get_name),
24463 (gst_message_type_to_quark), (gst_message_get_type):
24464 * gst/gstmessage.h:
24465 Register quarks for message names.
24467 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24469 * docs/libs/gstreamer-libs-sections.txt:
24470 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24471 (gst_controller_new_list):
24472 * libs/gst/controller/gstcontroller.h:
24473 added another constructor for language bindings
24475 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24477 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24481 * gst/gstinfo.c: (_gst_debug_init):
24482 slightly more readable color for refcount debugging
24484 2005-09-28 Wim Taymans <wim@fluendo.com>
24486 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24487 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24488 (find_element), (gst_bin_sort_iterator_next),
24489 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24490 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24491 (gst_bin_change_state), (gst_bin_dispose):
24492 Small doc fixes. get_clock -> provide_clock.
24494 * gst/gstelement.c: (gst_element_class_init),
24495 (gst_element_provides_clock), (gst_element_provide_clock),
24496 (gst_element_get_clock), (gst_element_commit_state),
24497 (gst_element_lost_state):
24498 * gst/gstelement.h:
24499 Make get/set_clock() symetric. Add provide_clock vmethod since
24500 that is actually what this function does.
24502 * gst/gstpipeline.c: (gst_pipeline_class_init),
24503 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24504 (gst_pipeline_get_clock):
24505 get_clock -> provide_clock.
24507 2005-09-28 Andy Wingo <wingo@pobox.com>
24509 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24510 lieu of real docs...
24512 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24514 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24516 * gst/elements/gstcapsfilter.c:
24517 * gst/elements/gstfakesink.c:
24518 * gst/elements/gstfakesrc.c:
24519 * gst/elements/gstfdsink.c:
24520 * gst/elements/gstfdsrc.c:
24521 * gst/elements/gstfilesink.c:
24522 * gst/elements/gstfilesrc.c:
24523 * gst/elements/gstidentity.c:
24524 * gst/elements/gsttee.c:
24525 * gst/elements/gsttypefindelement.c:
24526 Make element details static.
24528 2005-09-28 Wim Taymans <wim@fluendo.com>
24530 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24531 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24532 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24533 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24534 (gst_bin_change_state), (gst_bin_dispose):
24535 Some documentation updates.
24536 Clean up dispose handlers.
24538 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24539 * gst/gstpad.c: (gst_pad_dispose):
24540 Clean up dispose handler.
24542 * gst/gstpipeline.c: (gst_pipeline_change_state):
24543 Removed spurious UNLOCK.
24545 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24547 * docs/gst/gstreamer-sections.txt:
24548 * gst/base/gstbasesrc.h:
24549 * gst/gstelement.h:
24553 * gst/gstpipeline.c:
24554 * gst/gstpipeline.h:
24557 added two new functions to the docs
24558 documents all undocumented GstXXXFlags
24559 completed some incomplete docs
24561 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24563 * gst/gstbin.c: (gst_bin_dispose):
24564 * gst/gstelement.c: (gst_element_dispose):
24565 remove now useless and leaky resurrection code in dispose
24566 * gst/base/gstbasesrc.c: (gst_base_src_init):
24567 * gst/gstelementfactory.c: (gst_element_factory_create):
24568 * gst/gstobject.c: (gst_object_set_parent):
24571 2005-09-27 Wim Taymans <wim@fluendo.com>
24573 * docs/design/part-TODO.txt:
24576 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24577 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24578 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24579 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24580 (gst_bin_change_state):
24581 * gst/gstelement.h:
24582 Remove element variable, we keep element info in the iterator now.
24584 2005-09-27 Andy Wingo <wingo@pobox.com>
24586 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24589 2005-09-27 Wim Taymans <wim@fluendo.com>
24591 * check/gst/gstbin.c: (GST_START_TEST):
24592 Enable check that works now.
24594 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24595 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24596 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24597 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24598 (gst_bin_change_state):
24600 Redid the state change algorithm using a topological sort algo.
24601 Handles all cases correctly.
24602 Exposed iterator for state change order.
24604 * gst/gstelement.h:
24605 Temp storage for state changes. Need to get rid of this soon.
24607 2005-09-27 Wim Taymans <wim@fluendo.com>
24609 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24610 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24611 (link_fold_func), (gst_pad_proxy_setcaps):
24612 Leak fixes, the fold functions need to unref the passed object and
24613 _get_parent_*() returns ref to parent.
24615 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24617 * check/gst/gstbuffer.c: (test_make_writable):
24618 Plug leak in test case and fix 'make check-valgrind'
24620 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24622 * gst/gstbuffer.c: (gst_subbuffer_init):
24623 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24624 works correctly in all circumstances (we could have just copied
24625 the parent buffer's readonly flag, but conceptually it seems
24626 cleaner to mark all subbuffers as read-only). (based on patch
24627 by Alessandro Decina, #314710).
24629 * check/gst/gstbuffer.c: (create_read_only_buffer),
24630 (test_make_writable), (test_subbuffer_make_writable),
24632 Add some tests for gst_buffer_make_writable().
24634 2005-09-27 Wim Taymans <wim@fluendo.com>
24636 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24637 use gst_object_has_ancestor().
24639 * gst/gstobject.c: (gst_object_has_ancestor):
24641 gst_object_has_ancestor() copied from gstbin.c as it is a
24644 * tests/instantiate/create.c: (create_all_elements):
24645 * tests/lat.c: (handoff_src), (handoff_sink):
24646 * tests/sched/runxml.c: (main):
24647 * tests/seeking/seeking1.c: (main):
24648 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24650 Fix compilation of some tests.
24652 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24655 Remove comment. GST_TYPE_G_ERROR is here to stay,
24656 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24657 (#316961, #300610).
24659 2005-09-26 Wim Taymans <wim@fluendo.com>
24661 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24662 Added check that shows error in state change order.
24664 2005-09-26 Wim Taymans <wim@fluendo.com>
24666 * gst/gstbin.c: (gst_bin_change_state):
24667 Make state change function use 3 queues again, we were
24668 adding elements in the wrong order.
24670 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24673 * gst/gstpad.c: (gst_pad_dispose):
24674 Added some debug info first.
24676 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24678 * docs/design/draft-push-pull.txt:
24679 * docs/design/part-events.txt:
24680 * docs/design/part-overview.txt:
24681 * docs/design/part-scheduling.txt:
24682 Replace all _pull_region() with _pull_range()
24684 2005-09-26 Andy Wingo <wingo@pobox.com>
24686 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24688 * check/gst-libs/controller.c: Update for controller api change.
24691 * tests/Makefile.am:
24692 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24693 over by GLib bug 118439.
24695 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24696 routines to a function.
24698 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24700 * libs/gst/controller/gsthelper.c:
24701 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24702 (gst_object_sync_values): Renamed from sink_values. Ugh.
24704 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24706 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24707 Renamed from controller_key, as it is exported.
24709 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24711 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24716 * gst/gstpadtemplate.h:
24719 * gst/gstqueryutils.c:
24720 * gst/gstqueryutils.h:
24721 remove queryutils headers after moving the two used functions
24722 to gstquery. also fixes build problem for gstsiddec
24724 2005-09-26 Michael Smith <msmith@fluendo.com>
24726 * tools/gst-launch.1.in:
24727 Correct documentation in manpage of debug syntax
24729 2005-09-26 Wim Taymans <wim@fluendo.com>
24731 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24732 (gst_base_src_is_seekable), (gst_base_src_change_state):
24733 Some more debugging info.
24735 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24737 * docs/gst/gstreamer-sections.txt:
24738 * gst/base/gstbasetransform.h:
24742 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24744 * docs/gst/.cvsignore:
24745 * docs/gst/tmpl/.cvsignore:
24746 * docs/gst/tmpl/gstpipeline.sgml:
24747 * docs/gst/tmpl/gstplugin.sgml:
24748 * gst/gstpipeline.c:
24751 inlined the last two docs files
24752 removed the tmpl directory from cvs (no more conflicts here!)
24754 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24756 * docs/gst/gstreamer-sections.txt:
24757 * docs/gst/tmpl/.cvsignore:
24758 * docs/gst/tmpl/gstpad.sgml:
24759 * docs/gst/tmpl/gstpadtemplate.sgml:
24761 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24762 (gst_pad_finalize), (gst_pad_set_pad_template):
24764 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24765 (gst_pad_template_class_init), (gst_pad_template_init),
24766 (gst_pad_template_dispose), (name_is_valid),
24767 (gst_static_pad_template_get), (gst_pad_template_new),
24768 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24769 (gst_pad_template_pad_created):
24770 * gst/gstpadtemplate.h:
24771 inlined two more docs
24772 factored gstpadtemplate out of gstpad
24774 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24776 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24777 (test_children_state_change_order_semi_sink):
24778 Fix test case: we can't rely on a fixed state change order when
24779 going from READY => PAUSED because the sink might commit its
24780 new state first when the first buffer created by the source
24781 reaches the sink before the source has finished its change state.
24782 (Test case still fails at times, see #316856, comment 5 onwards)
24784 2005-09-24 Wim Taymans <wim@fluendo.com>
24786 * docs/design/part-events.txt:
24787 * docs/design/part-gstbus.txt:
24788 * docs/design/part-gstpipeline.txt:
24789 * docs/design/part-messages.txt:
24790 * docs/design/part-overview.txt:
24791 * docs/design/part-segments.txt:
24795 * gst/gstelement.c:
24798 * gst/gstiterator.c:
24799 Various documentation updates.
24801 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24804 Well, that's embarassing. Luckily we weren't using
24805 GST_CLOCK_DIFF anywhere.
24807 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24809 * common/gtk-doc.mak:
24810 don't fail on building XML, FC4 slave shows a bunch of doc
24811 missing bits that I don't get
24813 * gst/gstpipeline.c:
24814 * gst/gststructure.c:
24817 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24819 * docs/design/part-gstbin.txt:
24820 * docs/design/part-gstbus.txt:
24822 Add blurb about how the bus goes into flushing mode and
24823 drops all messages when its bin goes from READY into NULL
24826 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24828 * docs/gst/gstreamer-sections.txt:
24829 * gst/gststructure.c: (gst_structure_get_clock_time):
24830 * gst/gststructure.h:
24831 add a method to get a GstClockTime out of a structure
24833 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24835 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24836 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24837 Added test to check state change order in bins (can still be made
24838 to fail here under heavy disk load; bails out with 'Push on pad
24839 fakesink:sink0, but it was not activated in push mode').
24841 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24842 Fix state change order when there is only a semi sink (#316856)
24844 * gst/gstbus.c: (gst_bus_class_init):
24845 Use _class_peek_parent(), not _class_ref(); fix docs to say
24846 'default main context' instead of 'mainloop' where that is
24849 * gst/gstelement.c: (gst_element_commit_state),
24850 (gst_element_set_state):
24851 Fix typos in debug messages
24853 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24856 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24857 * gst/gstpluginfeature.c:
24859 various doc updates
24860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24861 change an assert into an error until it gets fixed properly
24863 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24865 * docs/gst/gstreamer-sections.txt:
24866 * docs/gst/tmpl/.cvsignore:
24867 * docs/gst/tmpl/gstelement.sgml:
24868 * docs/gst/tmpl/gstinfo.sgml:
24869 * docs/gst/tmpl/gstobject.sgml:
24870 * gst/gstelement.c:
24871 * gst/gstelement.h:
24874 * gst/gstobject.c: (gst_object_class_init):
24876 inlined 3 more biiiig doc files and added some missing docs on the fly
24878 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24880 * check/gst/.cvsignore:
24881 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24882 * gst/gstregistryxml.c: (load_plugin),
24883 (gst_registry_xml_save_plugin):
24884 put back source in registry. add checks for find_plugin.
24885 * testsuite/states/bin.c: (assert_state), (empty_bin),
24886 (test_adding_one_element), (main):
24887 * testsuite/states/locked.c: (main):
24888 some compile/run fixes
24890 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24892 * check/gst/gstvalue.c: (GST_START_TEST):
24893 fix leaks in the test itself
24895 2005-09-22 Wim Taymans <wim@fluendo.com>
24897 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24898 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24899 (gst_base_sink_query):
24900 Prepare for more accurate position reporting and query
24903 * gst/gstelement.c: (gst_element_send_event),
24904 (gst_element_set_state):
24907 2005-09-22 Wim Taymans <wim@fluendo.com>
24909 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24910 (gst_query_parse_segment):
24912 More documentation.
24913 Add segment query for future use.
24915 2005-09-22 Wim Taymans <wim@fluendo.com>
24917 * gst/gstbin.c: (gst_bin_add_func):
24918 Some more debug info.
24920 * gst/gstelement.c: (gst_element_send_event):
24921 Simplify send_event
24923 * gst/gstelement.h:
24924 Don't know how flags got broken.
24929 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24931 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24932 Add simplistic test suite for GST_TYPE_DATE serialisation and
24935 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24937 * docs/gst/gstreamer-sections.txt:
24938 * gst/gststructure.c: (gst_structure_set_valist),
24939 (gst_structure_get_date):
24940 * gst/gststructure.h:
24941 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24942 (gst_date_copy), (gst_value_compare_date),
24943 (gst_value_serialize_date), (gst_value_deserialize_date),
24944 (gst_value_transform_date_string),
24945 (gst_value_transform_string_date), (_gst_value_initialize):
24947 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24948 bunch of utility functions along with a hack that checks that
24949 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24950 is required. Part of the grand scheme in #170777.
24952 2005-09-22 Andy Wingo <wingo@pobox.com>
24954 * gst/gstconfig.h.in: Psych out gtk-doc.
24956 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24958 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24960 * tools/gst-inspect.c (print_element_list): Plug some
24961 inconsequential leaks.
24963 * gst/gstregistry.c (gst_registry_get_default): Doc.
24965 * check/gst/gstplugin.c:
24966 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24967 * gst/gstelementfactory.c (gst_element_factory_create):
24968 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24971 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24972 (gst_plugin_feature_load): Doc, don't eat refs.
24974 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24975 (gst_plugin_list_free): Doc.
24976 (gst_plugin_load_file): Doc updates.
24978 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24979 accessors returning refcounted objects, return a ref.
24981 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24982 accessor for caps. IDEMPOTENCE. Oh yes.
24984 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24986 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24988 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24989 (_gst_debug_register_funcptr):
24990 Add mutex to serialise access to the hash table with
24991 the function pointer => function name string mapping;
24992 make that hash table static scope (#316809).
24994 * gst/registries/.cvsignore:
24995 Remove left-over file.
24997 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24999 * docs/pwg/appendix-porting.xml:
25000 And something about newsegment events and caps-on-buffers to
25001 the porting guide (feel free to improve).
25003 2005-09-21 Andy Wingo <wingo@pobox.com>
25005 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25006 data and event probes on the same pad.
25007 (test_buffer_probe_once): Test that removing probes from within
25008 the probe functions works.
25010 2005-09-21 Andy Wingo <wingo@pobox.com>
25012 * check/gst/gstutils.c: New file.
25013 (test_buffer_probe_n_times): A simple buffer probe test. More to
25016 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25017 have-data::buffer, not have-data.
25018 (gst_pad_add_event_probe): Likewise for have-data::event.
25019 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25020 peer' isn't quite right yet though.
25021 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25022 (gst_pad_remove_data_probe): Change to take the guint handler_id
25023 as their arg, not the function+data, which is more glib-like.
25025 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25026 the signal emission to indicate if the data is a buffer or an
25028 (gst_pad_get_type): Initialize buffer and event quarks.
25029 (gst_pad_class_init): have-data is now a detailed signal, yes it
25032 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25034 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25035 * gst/gstutils.c: (gst_util_set_value_from_string),
25036 (gst_util_set_object_arg):
25037 Don't put functional code in g_return_if_fail() or
25038 g_return_val_if_fail() statements, otherwise things will
25039 break when G_DISABLE_CHECKS is defined during compilation.
25041 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25043 * docs/gst/tmpl/.cvsignore:
25044 * docs/gst/tmpl/gstvalue.sgml:
25047 inlied another one and added some obvious docs
25049 2005-09-21 Wim Taymans <wim@fluendo.com>
25051 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25052 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25053 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25054 (gst_fdsrc_get_property), (gst_fdsrc_create):
25055 * gst/elements/gstfdsrc.h:
25056 Properly implement fdsrc. Removed signal and timeout,
25057 better implemented somewhere else.
25059 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25061 * docs/gst/tmpl/.cvsignore:
25062 * docs/gst/tmpl/gstimplementsinterface.sgml:
25063 * gst/gstinterface.c:
25066 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25068 * docs/gst/gstreamer-sections.txt:
25069 * docs/gst/tmpl/.cvsignore:
25070 * docs/gst/tmpl/gstenumtypes.sgml:
25071 remove obsolete doc file
25073 2005-09-21 David Schleef <ds@schleef.org>
25075 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25076 little beer, fix a little leak.
25078 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25080 * docs/gst/gstreamer-docs.sgml:
25081 * docs/gst/gstreamer-sections.txt:
25082 * docs/gst/tmpl/.cvsignore:
25086 * gst/gstelement.h:
25087 * gst/gstindex.c: (gst_index_class_init):
25089 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25090 (gst_index_factory_class_init), (gst_index_factory_init),
25091 (gst_index_factory_finalize), (gst_index_factory_new),
25092 (gst_index_factory_destroy), (gst_index_factory_find),
25093 (gst_index_factory_create), (gst_index_factory_make):
25094 * gst/gstindexfactory.h:
25095 * gst/gstpluginfeature.c:
25096 * gst/gstpluginfeature.h:
25097 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25098 more docs inlined, splitted gstindex.{c,h}
25100 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25105 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25107 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25108 Set sync to FALSE by default.
25110 2005-09-20 Wim Taymans <wim@fluendo.com>
25112 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25113 (gst_base_sink_init):
25114 Make sync property settable from subclass.
25116 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25117 (gst_fake_sink_change_state):
25118 Set sync to FALSE by default.
25120 2005-09-20 Wim Taymans <wim@fluendo.com>
25122 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25123 * tools/gst-launch.c: (main):
25124 The timeout handler should have lower priority than the source
25125 so we don't timeout before popping a message with 0 timeout.
25126 Dump error messages after failed state change.
25128 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25130 * tools/gst-inspect.c: (print_element_properties_info):
25133 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25135 * check/gst/gstevent.c:
25136 * gst/elements/gstfakesink.c:
25137 * gst/elements/gstfakesink.h:
25138 remove the sync property from fakesink.
25139 has the side effect of setting sync TRUE
25140 for fakesink, which is a change. Anyone who knows how
25141 to fix this nicely in a GObject-y way, feel free.
25143 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25145 * docs/gst/gstreamer-docs.sgml:
25146 remove probe refsection
25148 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25150 * check/Makefile.am:
25151 disable valgrinding the controller test again
25152 * docs/gst/gstreamer-sections.txt:
25153 update for api-changes
25155 2005-09-20 Wim Taymans <wim@fluendo.com>
25157 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25158 (gst_base_sink_set_property), (gst_base_sink_get_property),
25159 (gst_base_sink_do_sync):
25160 * gst/base/gstbasesink.h:
25161 Added sync property to basesink to disable clock sync.
25163 2005-09-20 Andy Wingo <wingo@pobox.com>
25165 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25166 eating the caller's refcount.
25168 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25169 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25172 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25173 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25174 of GLib 2.8 public, so we can know which refcount to check in
25177 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25178 (gst_object_init): Only set the gst refcount if we're going ahead
25179 with the refcount hack.
25181 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25183 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25184 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25185 more leaks plumbed, added more debug-logging
25189 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25191 * gst/gstmessage.c:
25192 remove include of gstmemchunk.h
25194 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25196 * gst/gstclock.c: (_gst_clock_id_free):
25197 Commit from the Political Party For More Atomic CVS Commits,
25198 so that people don't waste too much of their day fishing
25199 out obvious leaks out of massive commits.
25200 Oh, and fix a pretty damn obvious leak in the memchunk
25203 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25205 * check/Makefile.am:
25206 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25207 plug mem-leak, re-add to valgrindable tests
25209 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25212 unbreak the build for those who have chronic arthritis
25213 and typing "make check" is just too taxing on the hands
25215 2005-09-20 Andy Wingo <wingo@pobox.com>
25217 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25218 really want it out, you should fix plugins at the same time.
25220 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25223 * docs/gst/gstreamer-sections.txt:
25225 added missing symbols to api docs
25226 disable ref-count hack if we have glib >= 2.8
25228 2005-09-19 David Schleef <ds@schleef.org>
25230 * docs/gst/Makefile.am: Ignore a few more internal headers
25231 * docs/gst/gstreamer-docs.sgml: Remove old sections
25232 * docs/gst/gstreamer-sections.txt: Remove old sections
25233 * docs/gst/tmpl/gstobject.sgml: update
25234 * docs/gst/tmpl/gstplugin.sgml: update
25235 * docs/gst/tmpl/gstpluginfeature.sgml: update
25236 * docs/random/ds/0.9-suggested-changes: update.
25237 * gst/Makefile.am: remove memchunk and trashstack, since they're
25239 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25240 * gst/gst.h: don't include some headers
25241 * gst/gstchildproxy.c: add gstmarshal.h
25242 * gst/gstclock.c: Don't use memchunks
25243 * gst/gstminiobject.c: Add some docs
25244 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25245 * gst/gstobject.h: same
25246 * gst/gstplugin.c: include gstmacros.h
25247 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25248 * gst/gstquery.c: don't use memchunks
25249 * gst/gstregistry.c: rename gst_registry_deinit()
25250 * gst/gstregistry.h: same
25252 2005-09-19 David Schleef <ds@schleef.org>
25254 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25255 * docs/libs/gstreamer-libs-sections.txt:
25256 * docs/libs/tmpl/gstgetbits.sgml:
25257 * docs/libs/tmpl/gstputbits.sgml:
25259 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25261 * win32/gstenumtypes.c:
25262 * win32/gstenumtypes.h:
25265 2005-09-19 Wim Taymans <wim@fluendo.com>
25267 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25268 Automatically PAUSE and RESUME a pipeline when a flushing seek
25271 2005-09-19 Andy Wingo <wingo@pobox.com>
25273 * gst/gstregistry.h: Spacing fixen.
25275 2005-09-19 Wim Taymans <wim@fluendo.com>
25277 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25278 Handle state change failure more correctly.
25280 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25282 * check/Makefile.am:
25283 * check/pipelines/cleanup.c: (run_pipeline):
25284 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25286 enable cleanup again after fixing the leak
25288 some more info on docs
25290 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25292 * check/Makefile.am:
25293 re-enable tests now that leaks are plugged
25295 * check/gst/gstbin.c:
25296 * check/gst/gstpipeline.c:
25297 add some more tests while fixing leaks
25298 * common/check.mak:
25299 make sure binaries are uptodate when valgrinding/gdbing
25301 * gst/gstelementfactory.c:
25302 remove a ref too many, and add a FIXME for when we get
25303 round to disposing of classes
25305 fix the refcounting when loading a plugin from a file and
25306 the code pretends that the pointer is the same even though
25307 of course it can change
25308 * gst/gstpluginfeature.c:
25309 unref plugins marked cached (a bit confusing as a name)
25310 as the docs state should be done
25311 various doc additions to explain refcounting
25312 * gst/gstregistry.c:
25313 * gst/gstregistryxml.c:
25316 2005-09-19 Wim Taymans <wim@fluendo.com>
25318 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25319 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25320 (send_messages), (GST_START_TEST), (gstbus_suite):
25321 * check/gst/gstpipeline.c: (GST_START_TEST):
25322 * check/pipelines/cleanup.c: (run_pipeline):
25323 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25325 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25326 (gst_bus_source_check), (gst_bus_source_dispatch),
25327 (gst_bus_create_watch), (gst_bus_add_watch_full),
25328 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25330 * tools/gst-launch.c: (event_loop):
25331 * tools/gst-md5sum.c: (event_loop):
25332 GstBusHandler -> GstBusFunc, return value has the same meaning as
25333 any other GSource (FALSE == remove source).
25334 _add_watch() and _add_watch_full() now take a MessageType mask to
25335 only handle specific types of messages.
25336 _poll() returns the GstMessage instead of the message type to avoid
25338 _have_pending() takes a MessageType mask now too.
25339 Added testsuite for multiple bus watches.
25340 Fix testsuites and applications for new bus API.
25342 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25344 * check/Makefile.am:
25345 mark a bunch of the tests as to fix until we fix them
25347 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25349 * common/check.mak:
25350 use GST_PLUGIN settings for valgrind tests as well, so we're
25351 valgrinding the correct thing
25352 * gst/gst.c: (init_post):
25355 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25357 * gst/gst.c: (init_post), (gst_deinit):
25358 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25359 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25360 * gst/gstindex.c: (gst_index_factory_class_init),
25361 (gst_index_factory_finalize):
25362 * gst/gstobject.c: (gst_object_dispose):
25363 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25364 (gst_plugin_load_file), (gst_plugin_desc_free):
25365 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25366 (gst_plugin_feature_finalize):
25367 * gst/gstregistry.c: (gst_registry_class_init),
25368 (gst_registry_init), (gst_registry_finalize),
25369 (gst_registry_get_default), (gst_registry_deinit):
25370 * gst/gstregistry.h:
25371 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25372 various cleanups and memleak plugging. make valgrind is happy now.
25374 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25376 * common/check.mak:
25377 add a check-valgrind target
25379 2005-09-18 David Schleef <ds@schleef.org>
25381 * tools/gst-inspect.c: Revert the GOption code.
25383 2005-09-17 David Schleef <ds@schleef.org>
25385 * check/Makefile.am: Fix environment variables.
25386 * check/gst/gstplugin.c: Fix for API changes.
25387 * tools/gst-inspect.c: Fix for API changes.
25388 * tools/gst-xmlinspect.c: Fix for API changes.
25389 * gst/gstelementfactory.c:
25392 * gst/gstpluginfeature.c:
25393 * gst/gstpluginfeature.h:
25394 * gst/gstregistry.c:
25395 * gst/gstregistry.h:
25396 * gst/gstregistryxml.c:
25397 * gst/gsttypefind.c:
25398 * gst/gsttypefindfactory.c:
25399 * gst/indexers/gstfileindex.c:
25400 * gst/indexers/gstmemindex.c:
25401 * gst/schedulers/Makefile.am:
25402 Change registry to keep track of both plugins and features,
25403 removing the feature tracking from plugins themselves.
25405 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25407 * check/Makefile.am:
25408 * tools/gst-register.1.in:
25409 remove gst-register
25411 2005-09-15 David Schleef <ds@schleef.org>
25413 * check/gst/gstplugin.c:
25414 * gst/gstelementfactory.c:
25416 * gst/gstpluginfeature.c:
25417 * gst/gstregistry.c:
25418 Getting tired of debugging. Disabled all the unreffing of
25419 plugins and features, which fixes the segfaults, but of
25420 course leaks like crazy. At least playbin works.
25422 2005-09-15 David Schleef <ds@schleef.org>
25424 * check/gst/gstplugin.c: (register_check_elements),
25425 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25427 * gst/elements/gsttypefindelement.c: Fix refcounting.
25428 * gst/gsttypefind.c:
25429 * gst/gsttypefindfactory.c:
25430 * gst/gsttypefindfactory.h:
25432 2005-09-15 David Schleef <ds@schleef.org>
25434 * gst/gstindex.c: get refcounting correct.
25435 * gst/gstregistry.c: Handle the case where a feature/plugin is
25438 2005-09-15 David Schleef <ds@schleef.org>
25440 * check/Makefile.am:
25441 * check/gst/gstplugin.c: Add test
25442 * gst/gstplugin.c: Fix problems noticed by testsuite
25444 * gst/gstregistry.c:
25445 * gst/gstregistry.h:
25447 2005-09-15 David Schleef <ds@schleef.org>
25449 * gst/gstplugin.c: Implement semi-decent recounting and locking
25450 in plugins and plugin features.
25452 * gst/gstpluginfeature.c:
25453 * gst/gstpluginfeature.h:
25454 * gst/gstregistry.c:
25456 2005-09-15 Michael Smith <msmith@fluendo.com>
25458 * gst/gstregistry.c: (gst_registry_get_feature_list):
25459 Implement this. Makes oggdemux work; decodebin still broken.
25461 2005-09-14 David Schleef <ds@schleef.org>
25463 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25465 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25466 * gst/check/Makefile.am:
25467 * libs/gst/controller/Makefile.am:
25468 * libs/gst/dataprotocol/Makefile.am:
25470 2005-09-14 David Schleef <ds@schleef.org>
25472 * configure.ac: Remove getbits library. Nothing uses it, and
25473 it should be in something like liboil if someone did want
25475 * libs/gst/Makefile.am:
25476 * libs/gst/getbits/Makefile.am:
25477 * libs/gst/getbits/gbtest.c:
25478 * libs/gst/getbits/getbits.c:
25479 * libs/gst/getbits/getbits.h:
25480 * libs/gst/getbits/gstgetbits_generic.c:
25481 * libs/gst/getbits/gstgetbits_i386.s:
25482 * libs/gst/getbits/gstgetbits_inl.h:
25484 2005-09-14 David Schleef <ds@schleef.org>
25486 * gst/Makefile.am: Dist glib-compat.h
25488 2005-09-14 David Schleef <ds@schleef.org>
25490 * configure.ac: Remove gst/registries, since it's no longer used.
25491 * gst/registries/Makefile.am:
25492 * gst/registries/gstlibxmlregistry.c:
25493 * gst/registries/gstlibxmlregistry.h:
25494 * gst/registries/gstxmlregistry.c:
25495 * gst/registries/gstxmlregistry.h:
25496 * gst/registries/registrytest.c:
25498 2005-09-14 David Schleef <ds@schleef.org>
25500 * gst/glib-compat.h:
25501 * gst/gstregistryxml.c:
25502 Convergence is near. Seriously.
25504 2005-09-14 David Schleef <ds@schleef.org>
25506 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25507 * gst/glib-compat.h:
25508 Attempt #4 to appease the buildbots.
25510 2005-09-14 David Schleef <ds@schleef.org>
25512 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25515 2005-09-14 David Schleef <ds@schleef.org>
25517 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25520 2005-09-14 David Schleef <ds@schleef.org>
25522 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25525 2005-09-14 David Schleef <ds@schleef.org>
25527 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25528 * gst/glib-compat.h: Add some functions that are in newer versions
25529 of glib than we care to require.
25530 * gst/gstregistryxml.c: Use them.
25532 2005-09-14 David Schleef <ds@schleef.org>
25534 * po/POTFILES.in: remove gst-register.c
25536 2005-09-14 David Schleef <ds@schleef.org>
25538 * docs/gst/gstreamer-docs.sgml:
25539 * docs/gst/gstreamer-sections.txt:
25540 * docs/gst/gstreamer.types:
25541 * docs/gst/tmpl/gstelement.sgml:
25542 * docs/gst/tmpl/gstplugin.sgml:
25543 * docs/gst/tmpl/gstpluginfeature.sgml:
25544 Documentation updates for registry changes.
25546 2005-09-14 David Schleef <ds@schleef.org>
25548 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25549 because we don't require glib-2.8.
25551 2005-09-14 David Schleef <ds@schleef.org>
25553 * gst/gstregistryxml.c: Added. Essentially moved out of the
25554 registries directory.
25556 2005-09-14 David Schleef <ds@schleef.org>
25558 * check/Makefile.am:
25559 * check/generic/states.c:
25563 * gst/gst_private.h:
25564 * gst/gstelementfactory.c:
25569 * gst/gstpluginfeature.c:
25570 * gst/gstpluginfeature.h:
25571 * gst/gstregistry.c:
25572 * gst/gstregistry.h:
25573 * gst/gstregistrypool.c: remove
25574 * gst/gstregistrypool.h: remove
25575 * gst/gsttypefind.c:
25576 * gst/gsttypefindfactory.c:
25578 * tools/Makefile.am:
25579 * tools/gst-compprep.c:
25580 * tools/gst-inspect.c:
25581 * tools/gst-register.c: remove
25582 * tools/gst-xmlinspect.c:
25583 Registry rewrite. Changes registry from being a file created
25584 by a tool into a simple cache file created automatically by
25585 libgstreamer. Removed gst-register (because it's no longer
25586 needed). Remove registry pools, because we only have one
25587 registry implementation (XML). Fix up other subsystems as
25590 2005-09-13 Michael Smith <msmith@fluendo.com>
25592 * gst/gstconfig.h.in:
25593 Don't Use windows linking attributes for MinGW. Fixes #316157
25595 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25597 * gst/gstutils.c: (set_state_async_thread_func),
25598 (gst_element_set_state_async):
25599 Apparently people think it's better if this function doesn't
25600 try to set the state to whatever state was asked for on the first
25601 call to this function for any object. Seriously.
25603 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25605 * check/gst/gstpipeline.c: (GST_START_TEST):
25606 * docs/gst/gstreamer-sections.txt:
25607 * gst/gstutils.c: (set_state_async_thread_func),
25608 (gst_element_set_state_async):
25610 add a "gst_element_set_state_async" method that
25611 sets the state and starts a thread to make sure the state
25612 change completes as best as it can
25614 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25616 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25617 codify design+behaviour in testsuite after discussion
25619 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25621 * docs/gst/tmpl/gstelement.sgml:
25622 * docs/manual/appendix-quotes.xml:
25624 * gst/gstelement.c: (gst_element_set_state):
25627 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25629 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25630 (gst_base_transform_prepare_output_buf),
25631 (gst_base_transform_handle_buffer):
25632 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25633 (gst_capsfilter_prepare_buf):
25634 Remove the requirement for sub-classes to call the parent
25635 implementation of prepare_output_buffer with a wrapper function.
25637 * gst/gsttaglist.h:
25638 * gst/gsttagsetter.h:
25639 Fix #define wrapper
25641 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25643 * docs/gst/gstreamer-sections.txt:
25646 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25648 * docs/gst/gstreamer-sections.txt:
25649 * docs/gst/tmpl/gstelement.sgml:
25650 * docs/gst/tmpl/gstplugin.sgml:
25651 * gst/gstminiobject.c:
25653 docs now stop throwing warnings
25655 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25657 * docs/gst/gstreamer-sections.txt:
25658 * docs/gst/gstreamer.types:
25659 * docs/gst/tmpl/gstpad.sgml:
25660 * docs/gst/tmpl/gsttypes.sgml:
25661 * gst/base/gstadapter.h:
25662 * gst/base/gstbasesink.h:
25663 * gst/base/gstbasesrc.h:
25669 * gst/gstelement.h:
25671 * gst/gstmessage.h:
25673 * gst/gststructure.c:
25674 * gst/registries/gstlibxmlregistry.h:
25675 various documentation fixes
25677 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25679 * docs/gst/gstreamer-sections.txt:
25680 * docs/gst/tmpl/gstvalue.sgml:
25681 rearrange gstvalue section
25682 * gst/gstutils.c: (gst_element_state_get_name):
25684 * gst/gstvalue.c: (_gst_value_initialize):
25688 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25690 * check/gst-libs/controller.c:
25691 Header include fix.
25692 * gst/base/gstbasetransform.c:
25693 (gst_base_transform_default_prepare_buf),
25694 (gst_base_transform_handle_buffer):
25695 * gst/base/gstbasetransform.h:
25696 Some more basetransform changes and fixes to enable sub-classes
25697 that modify buffer metadata only.
25698 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25699 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25700 (gst_capsfilter_prepare_buf):
25701 If the output pad has fixed allowed caps and input buffers
25702 don't have any, set the fixed caps on outgoing buffers.
25704 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25705 * check/elements/identity.c: (GST_START_TEST):
25706 Make the error a little clearer when the test fails because
25707 identity made a copy of the buffer.
25708 * docs/gst/gstreamer-sections.txt:
25709 New symbols in gstbasetransform.h
25710 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25711 (gst_base_transform_init), (gst_base_transform_transform_size),
25712 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25713 (gst_base_transform_default_prepare_buf),
25714 (gst_base_transform_get_unit_size),
25715 (gst_base_transform_buffer_alloc),
25716 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25717 (gst_base_transform_change_state),
25718 (gst_base_transform_set_passthrough),
25719 (gst_base_transform_set_in_place),
25720 (gst_base_transform_is_in_place):
25721 * gst/base/gstbasetransform.h:
25722 Change BaseTransform to separate in_place operate from same_caps
25723 output. in_place implies that the element can perform the transform
25724 on incoming buffers in-place, even if the caps on the output are
25726 Sub-class elements can now implement special buffer allocation
25727 methods for outgoing buffers if they wish to.
25728 Big documentation addition.
25729 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25730 * gst/elements/gstelements.c:
25731 Changes for basetransform modifications.
25732 * gst/elements/Makefile.am:
25733 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25734 Compile fix. Extra debug output.
25736 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25738 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25740 add tests for valid pad naming
25741 * gst/check/gstcheck.c: (gst_check_log_message_func),
25742 (gst_check_log_critical_func):
25744 remove printing of code, it is fragile when the code contains
25745 % and the line number is enough info
25746 * gst/check/gstcheck.h:
25747 * gst/gstpad.c: (gst_pad_template_new):
25750 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25753 say what CHECK flags we use
25754 * docs/libs/gstreamer-libs.types:
25755 * libs/gst/controller/Makefile.am:
25756 * libs/gst/controller/gst-controller.c:
25757 * libs/gst/controller/gst-controller.h:
25758 * libs/gst/controller/gst-helper.c:
25759 * libs/gst/controller/gst-interpolation.c:
25760 * libs/gst/controller/gstcontroller.c:
25761 * libs/gst/controller/gsthelper.c:
25762 * libs/gst/controller/gstinterpolation.c:
25763 * tools/gst-inspect.c: (print_plugin_info):
25764 we don't use dashes in header names
25766 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25768 * check/Makefile.am:
25769 * check/gst/.cvsignore:
25770 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25771 (gst_pipeline_suite), (main):
25772 adding a test for pipelines and state changes
25773 * gst/gstutils.c: (get_state_func):
25775 * gstreamer.spec.in:
25778 2005-09-08 Michael Smith <msmith@fluendo.com>
25780 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25781 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25782 (gst_file_src_is_seekable), (gst_file_src_get_size),
25783 (gst_file_src_start):
25784 * gst/elements/gstfilesrc.h:
25785 Various fixes for unseekable, unmmapable, and non-normal files, so
25786 that fallback to read() rather than mmap() works.
25787 * gst/gstevent.c: (gst_event_new_newsegment):
25788 Allow newsegment events with segment_start == segment_end, as will
25789 correctly happen if you use filesrc on a zero-size file, for
25792 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25794 * gst/gstplugin.c: (gst_plugin_load_file):
25795 Call g_module_close when we don't load the module
25797 * gst/registries/gstlibxmlregistry.c:
25798 (gst_xml_registry_get_property):
25799 Port leak fix from 0.8
25801 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25803 * docs/gst/gstreamer-docs.sgml:
25804 * docs/gst/tmpl/.cvsignore:
25805 * docs/gst/tmpl/gsttrace.sgml:
25806 * docs/gst/tmpl/gsttrashstack.sgml:
25809 * gst/gstelement.h:
25811 * gst/gstmessage.c:
25812 * gst/gstmessage.h:
25815 * gst/gsttaginterface.c:
25816 * gst/gsttaginterface.h:
25817 * gst/gsttaglist.c:
25818 * gst/gsttaglist.h:
25819 * gst/gsttagsetter.c:
25820 * gst/gsttagsetter.h:
25823 * gst/gsttrashstack.c:
25824 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25825 inlined docs for gsttrace, gsttrashstack
25827 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25830 * gst/elements/gstbufferstore.h:
25831 * gst/elements/gsttypefindelement.c:
25832 * gst/elements/gsttypefindelement.h:
25834 * gst/gsttypefind.c:
25835 * gst/gsttypefind.h:
25836 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25837 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25838 (gst_type_find_factory_dispose),
25839 (gst_type_find_factory_unload_thyself),
25840 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25841 (gst_type_find_factory_get_caps),
25842 (gst_type_find_factory_get_extensions),
25843 (gst_type_find_factory_call_function):
25844 * gst/gsttypefindfactory.h:
25845 * gst/registries/gstlibxmlregistry.c:
25846 * gst/registries/gstxmlregistry.c:
25847 splitted gsttypefind into gsttypefind, gsttypefindfactory
25849 2005-09-07 Andy Wingo <wingo@pobox.com>
25851 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25852 condition whereby the pad's task function is entered before the
25853 pad_mode variable was set.
25855 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25857 * gst/gstpad.c: (gst_pad_alloc_buffer):
25858 Catch misbehaving pad_alloc functions that don't
25859 set up caps and do it for them.
25861 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25863 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25864 test for pipe!=NULL
25865 * docs/gst/tmpl/.cvsignore:
25866 * docs/gst/tmpl/gstmemchunk.sgml:
25867 * docs/gst/tmpl/gstparse.sgml:
25868 * docs/gst/tmpl/gsttaglist.sgml:
25869 * docs/gst/tmpl/gsttagsetter.sgml:
25870 * docs/gst/tmpl/gsttypefind.sgml:
25871 * docs/gst/tmpl/gsttypefindfactory.sgml:
25872 * gst/gstmemchunk.c:
25875 * gst/gsttaginterface.c:
25876 * gst/gsttypefind.c:
25877 * gst/gsttypefind.h:
25880 === release 0.9.2 ===
25882 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25887 releasing 0.9.2, "South"
25889 2005-09-05 Andy Wingo <wingo@pobox.com>
25891 * gst/registries/gstxmlregistry.h:
25892 * gst/registries/gstxmlregistry.c: Um... resurrect...
25894 * gst/registries/gstxmlregistry.h:
25895 * gst/registries/gstxmlregistry.c: and update to newer API.
25896 Incidentally they should be a bit faster now that they don't have
25899 2005-09-05 Andy Wingo <wingo@pobox.com>
25901 * gst/registries/gstxmlregistry.h:
25902 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25903 replaced by the libxml registry a while back
25905 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25907 * docs/gst/tmpl/gstplugin.sgml:
25908 * gst/elements/gstelements.c:
25910 * gst/gstplugin.c: (gst_plugin_register_func),
25911 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25912 (gst_plugin_get_source):
25914 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25915 (gst_xml_registry_save_plugin):
25916 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25917 (gst_xml_registry_save_plugin):
25918 * tools/gst-inspect.c: (print_plugin_info):
25919 add a "source" plugin description field, to represent the source
25920 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25921 will set it to PACKAGE, which is automake's idea of the name of
25922 the source project.
25924 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25929 * docs/Makefile.am:
25930 * docs/faq/Makefile.am:
25931 * docs/gst/tmpl/gstelement.sgml:
25932 * docs/gst/tmpl/gsttypes.sgml:
25933 * docs/htmlinstall.mak:
25934 * docs/manual/Makefile.am:
25935 * docs/pwg/Makefile.am:
25936 reorganize doc build a little
25937 split out docbook and gtk-doc stuff
25938 have two separate --enable's and enable them through autogen
25939 but disable by default in configure (to be similar to other
25941 * gstreamer.spec.in:
25942 clean up docs install
25960 translation updates
25962 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25964 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25967 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25968 (gst_fake_sink_change_state):
25969 Make state change function thread-safe.
25971 * gst/gstpad.c: (gst_pad_alloc_buffer):
25972 Set offset on generic buffer allocated by fallback.
25974 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25976 * docs/gst/gstreamer-sections.txt:
25977 * docs/gst/tmpl/gstelement.sgml:
25979 * libs/gst/controller/gst-controller.c:
25980 (gst_controlled_property_set_interpolation_mode),
25981 (gst_controlled_property_new),
25982 (gst_controller_find_controlled_property):
25983 run the wingo-magic script against the docs
25985 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25987 * docs/gst/gstreamer-docs.sgml:
25988 * docs/gst/gstreamer-sections.txt:
25989 * docs/gst/tmpl/.cvsignore:
25990 * docs/gst/tmpl/gstelementdetails.sgml:
25991 * docs/gst/tmpl/gstelementfactory.sgml:
25994 * gst/gstelementfactory.c:
25995 * gst/gstelementfactory.h:
25996 merged elementdetails docs into elementfactory docs
25999 2005-09-02 Andy Wingo <wingo@pobox.com>
26001 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26002 consider this enum an enum and not a flags.
26004 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26006 * docs/gst/gstreamer-docs.sgml:
26007 * docs/gst/tmpl/.cvsignore:
26008 * docs/gst/tmpl/gstghostpad.sgml:
26009 * docs/gst/tmpl/gstiterator.sgml:
26010 * docs/gst/tmpl/gstmacros.sgml:
26011 * docs/gst/tmpl/gstrealpad.sgml:
26012 * docs/gst/tmpl/gstregistry.sgml:
26013 * docs/gst/tmpl/gstregistrypool.sgml:
26014 * docs/gst/tmpl/gststructure.sgml:
26015 * docs/gst/tmpl/gstsystemclock.sgml:
26016 * docs/gst/tmpl/gsttrace.sgml:
26017 * gst/gstghostpad.c:
26019 * gst/gstmemchunk.c:
26020 * gst/gstmemchunk.h:
26022 * gst/gstregistry.c:
26023 * gst/gstregistrypool.c:
26024 * gst/gststructure.c:
26025 * gst/gstsystemclock.c:
26028 2005-09-02 Andy Wingo <wingo@pobox.com>
26030 * gst/gstelement.h (GstState): Renamed from GstElementState,
26031 changed to be a normal enum instead of flags.
26032 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26033 munged to be GST_STATE_CHANGE_*.
26034 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26035 work with the new state representation.
26036 (GstStateChange): New enumeration of possible state transitions.
26037 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26038 (GstElementClass::change_state): Pass the GstStateChange along as
26039 an argument. Helps language bindings, so they don't have to use
26040 tricky lock-needing macros like GST_STATE_CHANGE ().
26042 * scripts/update-states (file): New script. Run it on a file to
26043 update it for state naming and API changes. Updates files in
26046 * All files updated for the new API.
26048 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26050 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26051 * gst/gstutils.c: (gst_util_set_value_from_string),
26052 (gst_util_set_object_arg):
26053 fix a bunch of unchecked return values
26054 * tools/gst-complete.c: (main):
26055 * gstreamer.spec.in:
26058 2005-09-01 Wim Taymans <wim@fluendo.com>
26060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26061 (gst_base_sink_event), (gst_base_sink_do_sync),
26062 (gst_base_sink_handle_event):
26063 * gst/base/gstbasesink.h:
26064 Handle newsegments more correctly.
26069 * gst/gstevent.c: (gst_event_new_newsegment):
26070 A newsegment cannot have a start_time of -1
26072 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26074 * win32/gstenumtypes.c:
26075 * win32/gstenumtypes.h:
26078 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26080 * libs/gst/controller/gst-controller.c:
26081 (gst_controlled_property_set_interpolation_mode),
26082 (gst_controlled_property_new):
26083 fixed boolean again
26085 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26087 * docs/faq/gst-uninstalled:
26092 * gst/gstutils.c: (gst_element_link_filtered):
26094 add gst_element_link_filtered
26096 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26098 * docs/gst/gstreamer-docs.sgml:
26099 * docs/gst/gstreamer-sections.txt:
26100 * docs/gst/tmpl/.cvsignore:
26101 * docs/gst/tmpl/gsterror.sgml:
26102 * docs/gst/tmpl/gstfilter.sgml:
26103 * docs/gst/tmpl/gsturihandler.sgml:
26104 * docs/gst/tmpl/gsturitype.sgml:
26105 * docs/gst/tmpl/gstutils.sgml:
26106 * docs/gst/tmpl/gstxml.sgml:
26111 * gst/gsturitype.c:
26114 inlined more docs, fixed double id-ref
26116 2005-08-31 Wim Taymans <wim@fluendo.com>
26118 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26119 (gst_base_transform_handle_buffer):
26120 Passthrough elements don't need the caps as they don't care.
26122 2005-08-31 Wim Taymans <wim@fluendo.com>
26124 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26125 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26126 Don't leak refcounts on buffers.
26128 2005-08-31 Wim Taymans <wim@fluendo.com>
26130 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26131 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26132 (gst_base_transform_chain), (gst_base_transform_change_state):
26133 * gst/base/gstbasetransform.h:
26134 Handle the case where we are not negotiated more gracefully.
26136 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26138 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26139 (gst_file_src_map_region):
26140 Set READONLY flag on mmap'ed buffers, otherwise
26141 gst_buffer_make_writable() won't work properly (#314708).
26143 2005-08-31 Wim Taymans <wim@fluendo.com>
26145 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26146 passthrough elements can even do inplace on non writable
26147 buffers (as they don't touch them).
26149 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26151 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26152 (gst_test_mono_source_set_property),
26153 (gst_test_mono_source_class_init), (GST_START_TEST),
26154 (gst_controller_suite):
26155 more tests (hehe I have the most)
26157 describe popping messages whenusing mulltiple sources
26158 * libs/gst/controller/gst-controller.c:
26159 (gst_controlled_property_set_interpolation_mode),
26160 (gst_controlled_property_new):
26161 * libs/gst/controller/gst-controller.h:
26162 * libs/gst/controller/gst-interpolation.c:
26163 implement boolean properties
26165 2005-08-31 Wim Taymans <wim@fluendo.com>
26167 * gst/gstminiobject.c: (gst_mini_object_ref):
26168 Cannot assert that the refcount has to be positive
26169 since a disposed object can be resurrected.
26171 2005-08-31 Wim Taymans <wim@fluendo.com>
26173 * gst/gstpad.c: (gst_pad_init):
26174 Revert change, need to first fix badly behaving
26177 2005-08-30 Wim Taymans <wim@fluendo.com>
26179 * check/elements/fakesrc.c: (setup_fakesrc):
26180 * check/elements/identity.c: (setup_identity):
26181 Activate pads before using them.
26183 2005-08-30 Wim Taymans <wim@fluendo.com>
26185 * gst/base/gstadapter.c: (gst_adapter_flush):
26186 Flushing out 0 bytes is ok for this function.
26188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26189 no newsegment gives a warning and sets the start/stop to
26192 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26193 (gst_base_transform_set_passthrough):
26196 * gst/gstminiobject.c: (gst_mini_object_ref):
26197 Check refcount here too.
26199 * gst/gstpad.c: (gst_pad_init):
26200 Pads are initially flushing and refusing data.
26202 * gst/gstutils.c: (gst_element_link_pads_filtered):
26203 When adding a capsfilter element make sure it has the
26204 same state as the parent bin.
26206 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26208 * docs/gst/tmpl/.cvsignore:
26209 * docs/gst/tmpl/gstformat.sgml:
26210 * docs/gst/tmpl/gstversion.sgml:
26214 * gst/gstversion.h.in:
26215 more docs and two more inlined
26217 2005-08-30 Wim Taymans <wim@fluendo.com>
26219 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26220 Don't sync to clock.
26222 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26224 * docs/gst/gstreamer-sections.txt:
26225 ultral33t func10ns deserve to appear in the docs actually
26226 * docs/gst/tmpl/.cvsignore:
26227 * docs/gst/tmpl/gstcompat.sgml:
26228 * docs/gst/tmpl/gstconfig.sgml:
26229 * gst/check/gstcheck.c:
26231 * gst/gstconfig.h.in:
26234 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26236 * docs/gst/tmpl/.cvsignore:
26237 * docs/gst/tmpl/gstquery.sgml:
26238 * docs/gst/tmpl/gstutils.sgml:
26241 inlined and extended docs
26243 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26245 * check/gst-libs/controller.c: (GST_START_TEST),
26246 (gst_controller_suite):
26248 * docs/gst/tmpl/gstutils.sgml:
26249 * docs/libs/gstreamer-libs-sections.txt:
26250 * docs/libs/tmpl/gstdataprotocol.sgml:
26252 * examples/controller/audio-example.c: (main):
26253 controller example works now
26256 * tools/gst-inspect.c: (print_element_properties_info):
26257 show param spec flags
26259 2005-08-29 Andy Wingo <wingo@pobox.com>
26261 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26263 2005-08-28 Andy Wingo <wingo@pobox.com>
26265 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26266 as having two arguments instead of just one. Allows superclasses
26267 to access information on subclasses -- see the terrible for() loop
26268 in gtype.c:g_type_create_instance for the reason why. All callers
26271 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26273 * docs/design/part-messages.txt:
26275 * docs/gst/tmpl/.cvsignore:
26276 * docs/gst/tmpl/gstcaps.sgml:
26277 * docs/gst/tmpl/gstclock.sgml:
26283 * gst/gstmessage.c:
26284 added descriptions for bus and message
26285 inline caps and clock docs
26287 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26289 * gst/gstmessage.c:
26290 * gst/gstmessage.h:
26293 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26295 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26298 2005-08-26 Andy Wingo <wingo@pobox.com>
26300 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26301 element_set_state's return val.
26302 (test_2_elements): Add test that's been disabled for months.
26304 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26305 can-activate-pull properties.
26307 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26308 can-activate-pull properties. Implement is_seekable so fakesrc can
26309 operate in pull mode.
26311 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26313 (gst_base_sink_activate, gst_base_sink_activate_pull)
26314 (gst_base_sink_activate_push): Make activation mode choosing work.
26316 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26317 is right. Make pull mode work. Post an eos before pausing in pull
26319 (gst_base_sink_change_state): Pay attention to the core's
26320 change_state() return val.
26322 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26323 has-getrange properties. Cleanups.
26325 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26326 has_getrange and replace with can_activate_pull and
26329 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26330 locking comments. Remove has_loop, has_chain and replace with
26331 can_activate_pull and can_activate_push.
26333 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26336 * examples/Makefile.am:
26337 * examples/metadata/Makefile.am:
26338 * examples/metadata/read-metadata.c: (message_loop),
26339 (have_pad_handler), (make_pipeline), (print_tag), (main):
26340 Add metadata reading example that loops over a list of filenames,
26341 dumping any tags found.
26343 * gst/gstbus.c: (gst_bus_dispose):
26344 * gst/gstelement.c: (gst_element_dispose):
26345 Release a few potentially-held references in dispose.
26347 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26349 * docs/gst/tmpl/gstminiobject.sgml:
26350 do *not* add tmpl/*.sgml files to CVS!
26352 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26354 * libs/gst/bytestream/.cvsignore:
26355 * libs/gst/bytestream/Makefile.am:
26356 * libs/gst/bytestream/adapter.c:
26357 * libs/gst/bytestream/adapter.h:
26358 * libs/gst/bytestream/bytestream.c:
26359 * libs/gst/bytestream/bytestream.h:
26360 * libs/gst/bytestream/filepad.c:
26361 * libs/gst/bytestream/filepad.h:
26362 removing obsolete files
26364 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26366 * docs/gst/gstreamer-docs.sgml:
26367 * docs/libs/gstreamer-libs-docs.sgml:
26368 disabed additional index entries again, as this makes docs-gen just
26369 slow and they aren't useful yet
26370 * docs/libs/gstreamer-libs-sections.txt:
26371 little -section.txt cleanup for libs
26373 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26376 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26377 fix up some debugging
26378 (gst_base_transform_get_unit_size),
26379 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26380 (gst_base_transform_handle_buffer):
26381 * gst/base/gstbasetransform.h:
26382 handle and store timed NEWSEGMENT events so that subclasses that
26383 calculate time by counting samples have a segment_start time they
26384 need to add to their timestamps - see audioresample
26386 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26389 removed ';' from the end of macro defs
26390 * docs/gst/gstreamer-docs.sgml:
26391 * docs/gst/gstreamer-sections.txt:
26392 * docs/gst/tmpl/.cvsignore:
26394 * gst/gstelement.c: (gst_element_class_init),
26395 (gst_element_set_state), (activate_pads),
26396 (gst_element_save_thyself):
26397 * gst/gstevent.c: (gst_event_new_newsegment):
26399 * gst/gstiterator.c:
26400 * gst/gstiterator.h:
26403 * gst/gstutils.c: (gst_pad_query_convert):
26405 fixed parameter name mismatches between source, header and docs
26406 added some more docs, resolved the last batch of unused elements in
26407 docs (now someone needs to doc them)
26409 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26411 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26412 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26413 don't walk through the plugins backwards. Where is all this
26414 reversed logic coming from ?
26416 2005-08-25 Wim Taymans <wim@fluendo.com>
26418 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26419 (gst_base_transform_transform_size),
26420 (gst_base_transform_configure_caps),
26421 (gst_base_transform_get_unit_size),
26422 (gst_base_transform_buffer_alloc),
26423 (gst_base_transform_change_state):
26424 * gst/base/gstbasetransform.h:
26425 Cache caps unit_size.
26426 Make sure we cannot negotiate up and downstream at the
26429 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26431 * gst/gst.c: (init_pre), (init_post):
26432 register the installed plugin path after the env var
26433 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26434 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26435 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26436 directories, so the tests can prefer uninstalled over installed
26438 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26440 * gst/base/gstbasetransform.h:
26445 2005-08-25 Wim Taymans <wim@fluendo.com>
26447 * gst/gstbin.c: (bin_bus_handler):
26448 Be a bit more conservative about the posted message.
26450 * gst/gstbus.c: (gst_bus_post):
26451 Some cleanups, warn wrong return values.
26453 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26455 * check/gst/gstbin.c: (GST_START_TEST):
26456 * gst/gstbin.c: (bin_bus_handler):
26457 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26458 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26459 (gst_message_new_warning), (gst_message_new_tag),
26460 (gst_message_new_state_changed), (gst_message_new_segment_start),
26461 (gst_message_new_segment_done), (gst_message_new_custom):
26462 * gst/gstmessage.h:
26463 * tools/gst-launch.c: (event_loop):
26464 * tools/gst-md5sum.c: (event_loop):
26465 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26467 2005-08-25 Wim Taymans <wim@fluendo.com>
26469 * check/generic/states.c: (GST_START_TEST):
26470 Cleanup can be done at the end.
26472 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26473 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26474 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26475 Oh boy.. Thanks for finding this, Thomas.
26477 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26479 * docs/gst/gstreamer.types:
26480 added missing types
26482 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26484 * docs/gst/gstreamer-docs.sgml:
26485 * docs/gst/gstreamer-sections.txt:
26486 * docs/gst/tmpl/.cvsignore:
26488 * gst/gstiterator.c:
26490 * gst/registries/gstxmlregistry.h:
26491 added missing classes and symbols (123 more to go)
26492 removed removed symbols from section file
26493 fixed many doc-comments
26495 2005-08-24 Wim Taymans <wim@fluendo.com>
26497 * check/generic/states.c: (GST_START_TEST):
26498 Make sure all tasks are stopped.
26500 * check/gst/gstbin.c: (GST_START_TEST):
26501 Unref after usage for proper valgrinding.
26503 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26504 Really wait for the task to stop before destroying the
26507 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26508 (gst_queue_src_activate_push):
26509 Small cleanups. Don't stop the task when we did not start
26512 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26513 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26514 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26517 Protect the stream lock with the object lock.
26518 Disallow setting the stream lock when running.
26519 Add cleanup_all to wait for the threadpool to finish.
26520 Remove code to autoallocate a mutex if none was provided.
26521 Add _join() to wait for a task to stop.
26522 Protect the thread pool with a global lock.
26524 2005-08-24 Wim Taymans <wim@fluendo.com>
26526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26527 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26528 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26529 * gst/base/gstbasesink.h:
26530 Handle newsegment events correctly.
26531 Drop buffers out of the segment range.
26533 2005-08-22 Andy Wingo <wingo@pobox.com>
26535 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26536 macro, implements an interface and gstimplementsinterface for a
26539 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26541 * check/Makefile.am:
26542 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26543 add a test that does a bunch of state changes on elements
26544 needs some fixing for valgrind
26545 * check/states/sinks.c: (gst_object_suite):
26548 add prototype for gst_caps_is_equal_fixed
26550 * gst/gstregistrypool.c:
26553 2005-08-24 Andy Wingo <wingo@pobox.com>
26555 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26556 convert a negative value. Doesn't make much sense. Mostly this is
26557 here to force callers to ensure -1 maps to -1.
26559 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26561 * docs/pwg/advanced-types.xml:
26562 Well done to Michael for catching my deliberate introduction
26563 of this spelling mistake.
26564 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26565 * gst/gstelement.h:
26566 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26567 unlink pads before removing the element from the bin.
26569 2005-08-24 Andy Wingo <wingo@pobox.com>
26571 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26572 the same thing as GST_DEBUG=*:4.
26573 (parse_debug_level, parse_debug_category): New helper parsers.
26575 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26577 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26578 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26579 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26580 (gst_base_transform_buffer_alloc),
26581 (gst_base_transform_handle_buffer):
26582 use gboolean return values and pointers to size so we can use the
26583 full GST_BUFFER_SIZE range (guint) for buffer sizes
26584 use GstPadDirection for transform_caps
26585 * gst/base/gstbasetransform.h:
26586 rename get_size to get_unit_size since that's what it is
26587 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26588 use GstPadDirection for transform_caps
26589 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26591 cleanup and debugging
26593 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26595 * gst/gstelement.c: (gst_element_class_init),
26596 (gst_element_set_state), (activate_pads),
26597 (gst_element_save_thyself):
26598 * tools/gst-compprep.c: (main):
26599 * tools/gst-inspect.c: (print_element_properties_info):
26600 * tools/gst-xmlinspect.c: (print_element_properties):
26601 Fixed long standing mem-leak
26603 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26605 * check/gst/gstbin.c: (GST_START_TEST):
26606 * gst/gstbin.c: (bin_bus_handler):
26607 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26608 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26609 (gst_message_new_warning), (gst_message_new_tag),
26610 (gst_message_new_state_changed), (gst_message_new_segment_start),
26611 (gst_message_new_segment_done), (gst_message_new_custom):
26612 * gst/gstmessage.h:
26613 * tools/gst-launch.c: (event_loop):
26614 * tools/gst-md5sum.c: (event_loop):
26615 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26616 that applications can sensibly post custom messages with references
26617 to their own objects.
26619 2005-08-24 Andy Wingo <wingo@pobox.com>
26621 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26624 2005-08-24 Wim Taymans <wim@fluendo.com>
26626 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26627 (gst_base_transform_transform_caps),
26628 (gst_base_transform_transform_size),
26629 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26630 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26631 (gst_base_transform_handle_buffer):
26632 * gst/base/gstbasetransform.h:
26633 Many fixes and new features added by Thomas. Can now also do
26634 transforms with variable sizes and a custom fixate_caps function.
26636 2005-08-24 Wim Taymans <wim@fluendo.com>
26638 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26642 Cast to ClockTime before formatting to time.
26647 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26649 * check/gst-libs/controller.c: (GST_START_TEST),
26650 (gst_controller_suite):
26651 * docs/gst/tmpl/gstcaps.sgml:
26652 * docs/gst/tmpl/gstghostpad.sgml:
26653 * docs/gst/tmpl/gstquery.sgml:
26654 * docs/gst/tmpl/gstutils.sgml:
26655 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26656 (gst_object_sink_values), (gst_object_get_value_arrays),
26657 (gst_object_get_value_array):
26658 gracefully handle helper method calls to objects that are not beeing
26659 controlled, added test case for that
26661 2005-08-23 Wim Taymans <wim@fluendo.com>
26663 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26664 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26665 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26666 (gst_event_parse_qos), (gst_event_new_seek),
26667 (gst_event_parse_seek):
26669 Some more debugging output and doc cleanups.
26671 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26672 Fix possible deadlock.
26674 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26676 * docs/gst/gstreamer-docs.sgml:
26677 * docs/gst/gstreamer-sections.txt:
26678 * docs/gst/gstreamer.types:
26679 * docs/gst/tmpl/.cvsignore:
26682 * gst/gstelement.c:
26684 added 100 symbols from gstreamer-unused.txt to the right sections
26685 fixed more broken comments
26686 added GstBus to docs
26688 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26690 * docs/gst/gstreamer-sections.txt:
26691 * docs/gst/tmpl/.cvsignore:
26692 * docs/gst/tmpl/gstbin.sgml:
26693 * docs/gst/tmpl/gstbuffer.sgml:
26694 * gst/base/gstbasesrc.c:
26695 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26698 * tools/gst-launch.1.in:
26699 inlined more doc comments, added missing comments and fixed comments
26702 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26704 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26708 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26710 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26711 * gst/gststructure.h:
26712 add a fixate function for booleans; add a FIXME that these func
26713 names should probably be gst_structure_fixate_*
26715 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26717 * docs/gst/gstreamer-docs.sgml:
26718 * docs/gst/gstreamer-sections.txt:
26720 * gst/gstbin.c: (gst_bin_get_type),
26721 (gst_bin_child_proxy_get_child_by_index),
26722 (gst_bin_child_proxy_get_children_count),
26723 (gst_bin_child_proxy_init):
26724 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26725 (gst_child_proxy_get_child_by_index),
26726 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26727 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26728 (gst_child_proxy_get), (gst_child_proxy_set_property),
26729 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26730 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26731 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26732 * gst/gstchildproxy.h:
26733 * gst/parse/grammar.y:
26734 * tools/gst-inspect.c: (print_interfaces),
26735 (print_element_properties_info), (print_element_info):
26736 ported gstchildproxy over from 0.8
26737 ported gst-inspect fixes and enhancements over from 0.8
26739 2005-08-22 Wim Taymans <wim@fluendo.com>
26741 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26742 (gst_base_transform_handle_buffer):
26743 Also call the transform function if we have ANY caps.
26745 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26748 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26750 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26751 Don't pretend to handle seek events if the source is not seekable
26753 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26756 Remove extra parameter to debug output
26758 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26759 (gst_base_src_do_seek), (gst_base_src_activate_push):
26760 Fix seek event handling.
26762 * gst/gstpipeline.c: (gst_pipeline_change_state):
26763 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26764 (gst_queue_src_activate_push):
26765 Don't start the src pad task on FLUSH_STOP if the pad
26769 2005-08-22 Wim Taymans <wim@fluendo.com>
26771 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26772 Added check for gst_static_caps_get() refcounting.
26774 2005-08-22 Wim Taymans <wim@fluendo.com>
26776 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26777 Make _static_caps_get() refcounting sane.
26779 * gst/gstelement.c: (gst_element_set_state):
26780 Add g_return_val_if_fail() to protect against segfaults.
26782 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26784 * docs/gst/tmpl/gstevent.sgml:
26787 inlined remaining docs, added missing doc comments
26789 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26791 * check/gst/gstbin.c: (GST_START_TEST):
26792 since we don't know when preroll is done, use refcount range
26794 * gst/check/gstcheck.h:
26795 add macro for checking refcount range
26797 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26799 * check/Makefile.am:
26800 clean up environment for when registry gets built versus
26801 when actual tests are run; valgrind seems to not report
26802 leaks if GST_PLUGIN_PATH is set to some specific values
26803 * check/gst/gstbin.c: (GST_START_TEST):
26804 add more refcounting checks; maybe this exposes a
26806 * common/check.mak:
26807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26808 * gst/check/gstcheck.h:
26809 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26810 (gst_bin_change_state):
26811 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26812 add/fix debugging/whitespace
26814 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26816 * check/gst/gstevent.c: (event_probe), (test_event),
26818 Er, don't call gst_bin_watch_for_state_change you idiot.
26820 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26822 * check/Makefile.am:
26823 Use CHECK_CFLAGS and CHECK_LIBS
26824 * check/gst/gstevent.c: (event_probe), (test_event),
26827 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26828 (gst_base_src_start), (gst_base_src_stop),
26829 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26830 (gst_base_src_change_state):
26831 Sprinkle gst_base_src_stop liberally around error paths to fix
26832 problems reusing a source after failed state changes.
26833 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26834 (helper_find_suggest), (gst_type_find_helper):
26835 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26837 * docs/gst/tmpl/gstevent.sgml:
26838 Migrate part of the docs from the SGML file. Wait for ensonic to
26839 tell me how I did it wrong ;)
26840 * tools/gst-typefind.c: (main):
26841 Extra robustness to state changes between files.
26843 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26845 * check/Makefile.am:
26846 don't valgrind the controller test - it's leaking - Stefan, HELP
26847 * gst/check/gstcheck.c: (gst_check_message_error),
26848 (gst_check_chain_func), (gst_check_setup_element),
26849 (gst_check_teardown_element), (gst_check_setup_src_pad),
26850 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26851 (gst_check_teardown_sink_pad):
26852 * gst/check/gstcheck.h:
26853 add a bunch of methods to set up elements, and src and sink pads
26854 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26855 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26858 * gst/gstmessage.c:
26860 whitespace/doc fixes
26862 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26864 * gst/gstelement.h:
26865 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26866 be handled by the application and not always printed as well
26868 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26870 * check/Makefile.am:
26872 * gst/check/gstcheck.c: (gst_check_message_error):
26873 * gst/check/gstcheck.h:
26874 add a fail_unless_equals_int
26875 add fail_unless for error messages
26877 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26879 * check/Makefile.am:
26881 * common/Makefile.am:
26882 * common/check.mak:
26884 factor out some of the common stuff so we can use it
26886 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26888 * check/Makefile.am:
26889 * check/gst/gstiterator.c: (GST_START_TEST):
26890 * check/gst/gstsystemclock.c: (GST_START_TEST),
26891 (gst_systemclock_suite):
26892 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26894 valgrind more tests
26896 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26898 * check/elements/.cvsignore:
26899 * check/elements/gstfakesrc.c:
26900 rename to name of element
26901 * check/elements/identity.c: (chain_func), (event_func),
26902 (setup_identity), (cleanup_identity), (GST_START_TEST),
26903 (identity_suite), (main):
26904 add a test for identity
26905 * check/Makefile.am:
26906 * pkgconfig/Makefile.am:
26907 * pkgconfig/gstreamer-check.pc.in:
26908 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26912 move the check stuff to a library that gets installed
26913 * check/gst-libs/controller.c: (GST_START_TEST):
26914 * check/gst-libs/gdp.c:
26915 * check/gst/gst.c: (GST_START_TEST):
26916 * check/gst/gstbin.c:
26917 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26918 * check/gst/gstbus.c:
26919 * check/gst/gstcaps.c: (GST_START_TEST):
26920 * check/gst/gstelement.c:
26921 * check/gst/gstghostpad.c:
26922 * check/gst/gstiterator.c:
26923 * check/gst/gstmessage.c:
26924 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26925 * check/gst/gstobject.c:
26926 * check/gst/gstpad.c: (GST_START_TEST):
26927 * check/gst/gststructure.c: (GST_START_TEST):
26928 * check/gst/gstsystemclock.c: (GST_START_TEST),
26929 (gst_systemclock_suite):
26930 * check/gst/gsttag.c: (gst_tag_suite):
26931 * check/gst/gstvalue.c:
26932 * check/pipelines/cleanup.c:
26933 * check/pipelines/simple_launch_lines.c:
26934 * check/states/sinks.c:
26935 change include statement
26937 * docs/gst/gstreamer-sections.txt:
26938 * docs/gst/tmpl/gstpad.sgml:
26939 document more pad stuff
26940 * gst/gstminiobject.c: (gst_mini_object_ref),
26941 (gst_mini_object_unref):
26944 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26946 * docs/gst/tmpl/gst.sgml:
26948 eliminate another tmpl file, fix spelling in the long-description
26950 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26952 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26953 (test_event), (timediff), (gstevents_suite):
26954 Should fix build on 64-bit arch's
26956 2005-08-18 Andy Wingo <wingo@pobox.com>
26958 Make sure that when a pipeline goes to PLAYING, that data has
26959 actually hit the sink.
26961 * check/states/sinks.c (test_sink): A sink that doesn't get any
26962 data shouldn't return SUCCESS for going to either PLAYING or
26963 PAUSED. Test also the return values on the way back down.
26965 * gst/gstelement.c (gst_element_set_state): When changing the
26966 state of an element currently changing state asynchronously, go to
26967 lost-state after commiting the pending state. Makes future calls
26968 to get_state continue to return ASYNC.
26970 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26971 ASYNC when going to PLAYING if we still don't have preroll, as can
26972 happen with live sources.
26974 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26976 * docs/pwg/advanced-types.xml:
26977 Hack long paragraph into 2 chunks as a workaround for buggy
26978 jadetex version in sid and breezy that loops infinitely and
26981 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26983 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26984 (test_event), (timediff), (gstevents_suite):
26985 Provide more error margin in clock measurements to allow for
26986 g_get_current_time inaccuracies.
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 Fix error message output so I might be able to tell why the
26993 test works here but fails on the build farm.
26995 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26997 * check/Makefile.am:
26998 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26999 (test_event), (timediff), (gstevents_suite), (main):
27002 * docs/design/part-seeking.txt:
27003 Spelling correction
27005 * docs/gst/tmpl/gstevent.sgml:
27006 * docs/gst/tmpl/gstfakesrc.sgml:
27009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27010 Treat a buffer-without-newsegment the same as a receiving
27011 a newsegment not in time format, and disable syncing to the clock
27014 * gst/gstbus.c: (gst_bus_set_sync_handler):
27015 Assert if anyone tries to replace the existing sync_handler for bus,
27016 as only the owner should be setting it.
27019 Have a fixed set of custom event enums with events identified by
27020 their structure name (as in 0.8), rather than a free-for-all
27021 allowing collisions between enum values from different plugins.
27023 * gst/gstpad.c: (gst_pad_class_init):
27026 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27027 Handle out-of-band downstream events from the sending thread.
27029 2005-08-17 Andy Wingo <wingo@pobox.com>
27031 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27032 play-timeout==0 to mean no timeout at all. In that case, don't
27033 bother with a get_state or a warning, just return directly, even
27036 * gst/base/gstbasetransform.c: Debug changes.
27039 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27040 ensure bins post state change messages. A bit of a hack but I can't
27041 think of a way to avoid it.
27043 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27045 2005-08-16 Andy Wingo <wingo@pobox.com>
27047 * gst/base/gstadapter.h:
27048 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27049 peek() but you own the data. Not terribly efficient atm.
27051 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27053 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27054 (gst_element_found_tags):
27056 Add two utility functions for tag handling.
27058 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27060 * docs/manual/advanced-dataaccess.xml:
27061 * docs/manual/basics-helloworld.xml:
27062 Fix docs to use _bin_add() before _link(), which fixes the examples
27063 with recent core versions (reported by Madhan Raj M
27064 <raj_madan@rediffmail.com>, #313199).
27066 2005-08-16 Wim Taymans <wim@fluendo.com>
27068 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27069 Added subtract checks.
27071 * docs/design/part-events.txt:
27072 Some more docs about newsegment
27074 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27077 * gst/gstcaps.c: (gst_caps_to_string):
27078 Add comments, cleanups.
27080 * gst/gstelement.c: (gst_element_save_thyself):
27083 * gst/gstvalue.c: (gst_value_collect_int_range),
27084 (gst_string_unwrap), (gst_value_union_int_int_range),
27085 (gst_value_union_int_range_int_range),
27086 (gst_value_intersect_int_int_range),
27087 (gst_value_intersect_int_range_int_range),
27088 (gst_value_intersect_double_double_range),
27089 (gst_value_intersect_double_range_double_range),
27090 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27091 (gst_value_subtract_int_range_int),
27092 (gst_value_subtract_double_range_double),
27093 (gst_value_subtract_double_range_double_range),
27094 (gst_value_subtract_from_list), (gst_value_subtract_list),
27095 (gst_value_can_compare), (gst_value_compare_fraction):
27096 Cleanups, add comments, remove unneeded asserts.
27098 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27100 * tools/gst-launch.c: (event_loop):
27101 don't convert NULL structures to strings
27103 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27105 * docs/gst/gstreamer-sections.txt:
27106 made some defines private
27107 * docs/gst/tmpl/gstconfig.sgml:
27108 * docs/gst/tmpl/gstqueue.sgml:
27109 * docs/gst/tmpl/gsttaglist.sgml:
27110 * docs/gst/tmpl/gsttypes.sgml:
27111 * docs/gst/tmpl/gstutils.sgml:
27112 * docs/pwg/appendix-porting.xml:
27113 * gst/base/gstbasesink.h:
27114 * gst/base/gstbasesrc.c:
27115 * gst/base/gstbasesrc.h:
27116 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27117 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27118 * gst/gstelement.c: (gst_element_class_init):
27119 * gst/gstpad.c: (gst_pad_class_init):
27120 * gst/gstqueue.c: (gst_queue_class_init):
27121 * gst/gstxml.c: (gst_xml_class_init):
27122 documented all undocumented signal inline
27123 * libs/gst/controller/gst-controller.h:
27126 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27128 * docs/pwg/appendix-porting.xml:
27129 Document _set_link_function -> _set_setcaps_function.
27131 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27133 * check/Makefile.am:
27134 add a .check target for running the check
27135 * check/gst-libs/controller.c: (GST_START_TEST):
27137 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27138 complete checks for gstbuffer; would be nice if I could get the
27139 gcov stuff to work so I can see if I actually completed gstbuffer.c
27140 * check/gstcheck.h:
27141 add ASSERT_BUFFER_REFCOUNT
27143 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27145 * docs/gst/gstreamer-sections.txt:
27146 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27148 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27149 spew out a warning if a tag that is already registered
27150 is re-registered, unless it is re-registered with a
27151 different type (#308438).
27153 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27155 * docs/pwg/appendix-porting.xml:
27156 * docs/pwg/building-state.xml:
27157 Add some paragraphs about state changes in 0.9 to the PWG
27158 and the porting guide, in particular about the new meaning
27159 of GST_STATE_PAUSED and how to write state change functions
27160 with concurrent access by multiple threads in mind.
27162 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27164 * docs/gst/gstreamer-docs.sgml:
27165 * docs/libs/gstreamer-libs-docs.sgml:
27166 added deprecation and since indexes
27167 * libs/gst/controller/gst-controller.c:
27168 * libs/gst/controller/gst-helper.c:
27172 2005-08-11 Wim Taymans <wim@fluendo.com>
27174 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27175 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27176 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27177 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27178 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27179 (gst_ghost_pad_set_target):
27180 Actually implement (re)setting the target on a ghostpad
27181 as described in the docs.
27183 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27185 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27186 Check whether GST_DEBUG_NO_COLOR environment variable is
27187 set and disable coloured debug output if that is the case.
27189 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27191 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27192 (gst_type_find_helper):
27193 The memory returned by gst_type_find_peek() needs to
27194 stay valid until the end of a typefind function, and
27195 typefind functions may keep results from different
27196 offsets around, so we can't just unref the buffer from
27197 the previous _peek(), but have to save all buffers
27198 returned by _peek() until typefinding is done and only
27201 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27203 * docs/gst/gstreamer-sections.txt:
27205 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27207 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27209 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27210 Fix a pretty good memleak.
27212 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27214 * gst/gstiterator.h:
27215 Fix wrong include and 'make distcheck'.
27217 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27219 * gst/gstbin.c: (bin_bus_handler):
27220 Use gst_element_post_message() instead.
27222 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27224 * gst/base/gstadapter.h:
27225 * gst/base/gstbasesink.h:
27226 * gst/base/gstbasesrc.h:
27227 * gst/base/gstbasetransform.h:
27228 * gst/base/gstcollectpads.h:
27229 * gst/base/gstpushsrc.h:
27230 * gst/gstiterator.h:
27231 Add padding to our base elements' class and instance structs and
27232 to GstIterator (you will need to rebuild all plugins and apps!)
27234 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27236 * gst/gstbin.c: (bin_bus_handler):
27237 Make default message forwarding from child->bus to bin->bus
27238 threadsafe and make it not emit warnings if the parent has no bus.
27240 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27242 * gst/gstelement.c: (activate_pads):
27243 On paused->ready, set pad->caps to NULL, as is the documented
27244 behaviour in this state change. Fixes playback of series of
27245 media files when visualization is enabled in Totem.
27247 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27249 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27250 Allow NULL as filter-caps (which means "any").
27252 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27254 * docs/libs/gstreamer-libs-sections.txt:
27255 * libs/gst/controller/gst-controller.c:
27256 * libs/gst/controller/gst-controller.h:
27257 * libs/gst/controller/gst-helper.c:
27258 adding more entries to the docs and fix small doc-bugs
27260 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27262 * docs/gst/gstreamer-docs.sgml:
27263 * docs/gst/gstreamer-sections.txt:
27264 * docs/gst/gstreamer.types:
27265 * docs/gst/tmpl/gstbasesink.sgml:
27266 * docs/gst/tmpl/gstbasesrc.sgml:
27267 * docs/gst/tmpl/gstbasetransform.sgml:
27268 * docs/gst/tmpl/gstfakesrc.sgml:
27269 * gst/base/gstcollectpads.c:
27270 * gst/base/gstcollectpads.h:
27271 * libs/gst/controller/gst-controller.c:
27272 * libs/gst/controller/gst-controller.h:
27273 * libs/gst/controller/gst-helper.c:
27274 * libs/gst/controller/gst-interpolation.c:
27275 * libs/gst/controller/lib.c:
27276 added long/short desc for controller docs
27277 added collectpads base class docs
27278 added correct includes to base-class docs
27280 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27282 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27283 (gst_test_mono_source_set_property),
27284 (gst_test_mono_source_class_init), (GST_START_TEST),
27285 (gst_controller_suite):
27286 * docs/gst/gstreamer-docs.sgml:
27287 * docs/gst/gstreamer-sections.txt:
27288 * docs/gst/gstreamer.types:
27289 * docs/libs/gstreamer-libs-docs.sgml:
27290 * docs/libs/gstreamer-libs-sections.txt:
27291 * gst/base/gstadapter.c:
27292 * libs/gst/controller/gst-controller.c:
27293 (gst_controlled_property_new), (gst_controlled_property_free),
27294 (gst_controller_new_valist),
27295 (gst_controller_remove_properties_valist),
27296 (gst_controller_sink_values), (_gst_controller_finalize):
27297 * libs/gst/controller/gst-controller.h:
27298 * libs/gst/controller/gst-helper.c:
27299 (gst_object_control_properties), (gst_object_uncontrol_properties),
27300 (gst_object_get_controller), (gst_object_set_controller),
27301 (gst_object_sink_values), (gst_object_get_value_arrays),
27302 (gst_object_get_value_array):
27303 more tests (and fixes) for the controller
27304 more docs for the controller
27305 integrated companies docs for the adapter
27307 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27309 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27310 (GST_START_TEST), (fakesrc_suite):
27311 add tests for sizetype
27313 2005-08-04 Andy Wingo <wingo@pobox.com>
27315 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27316 fixes buffer_alloc proxying among other things.
27318 * gst/base/gstbasetransform.c:
27319 * gst/base/gstbasetransform.h:
27320 Revert patch to gstbasetransform from 7-28 removing
27323 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27324 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27325 Semantics changed, should return not the size of the output buffer
27326 but the byte size of a buffer with a given caps.
27328 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27330 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27331 out) are not the pad caps until setcaps finishes.
27332 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27333 not-in-place case as well. Deal with changing from in-place to
27334 not-in-place within calling pad_alloc_buffer. Still a bit
27335 concerned about the overhead here...
27337 2005-08-03 Andy Wingo <wingo@pobox.com>
27339 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27340 fixating is an error.
27342 2005-08-04 Edward Hervey <edward@fluendo.com>
27344 * gst/base/gstadapter.h:
27345 Added gst_adapter_get_type() to the header
27347 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27349 * check/Makefile.am:
27350 * check/gst-libs/controller.c:
27351 * libs/gst/controller/gst-controller.c:
27352 (gst_controller_new_valist):
27353 added check test suite for the controller
27354 * gst/base/gstpushsrc.c:
27357 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27359 * docs/gst/Makefile.am:
27360 * docs/gst/gstreamer-docs.sgml:
27361 * docs/gst/gstreamer-sections.txt:
27362 * docs/gst/gstreamer.types:
27363 * docs/gst/tmpl/gstfakesrc.sgml:
27365 * gst/base/gstbasesink.c:
27366 * gst/base/gstbasesink.h:
27367 * gst/base/gstbasesrc.c:
27368 * gst/base/gstbasesrc.h:
27369 * gst/base/gstbasetransform.c:
27370 * gst/base/gstpushsrc.c:
27371 * gst/base/gstpushsrc.h:
27372 add short/long description docs to base classes
27373 add pushsrc to the docs
27374 remove consolidated doc fragments
27376 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27379 * docs/libs/Makefile.am:
27380 * docs/libs/gstreamer-libs-docs.sgml:
27381 * docs/libs/gstreamer-libs-sections.txt:
27382 * docs/libs/gstreamer-libs.types:
27383 * examples/Makefile.am:
27384 * examples/controller/.cvsignore:
27385 * examples/controller/Makefile.am:
27386 * examples/controller/audio-example.c: (main):
27387 * libs/gst/Makefile.am:
27388 * libs/gst/controller/.cvsignore:
27389 * libs/gst/controller/Makefile.am:
27390 * libs/gst/controller/gst-controller.c:
27391 (on_object_controlled_property_changed), (gst_timed_value_compare),
27392 (gst_timed_value_find),
27393 (gst_controlled_property_set_interpolation_mode),
27394 (gst_controlled_property_new), (gst_controlled_property_free),
27395 (gst_controller_find_controlled_property),
27396 (gst_controller_new_valist), (gst_controller_new),
27397 (gst_controller_remove_properties_valist),
27398 (gst_controller_remove_properties), (gst_controller_set),
27399 (gst_controller_set_from_list), (gst_controller_unset),
27400 (gst_controller_get), (gst_controller_get_all),
27401 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27402 (gst_controller_get_value_array),
27403 (gst_controller_set_interpolation_mode),
27404 (_gst_controller_finalize), (_gst_controller_init),
27405 (_gst_controller_class_init), (gst_controller_get_type):
27406 * libs/gst/controller/gst-controller.h:
27407 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27408 (g_object_uncontrol_properties), (g_object_get_controller),
27409 (g_object_set_controller), (g_object_sink_values),
27410 (g_object_get_value_arrays), (g_object_get_value_array):
27411 * libs/gst/controller/gst-interpolation.c:
27412 (gst_controlled_property_find_timed_value_node),
27413 (interpolate_none_get), (interpolate_trigger_get),
27414 (interpolate_trigger_get_value_array):
27415 * libs/gst/controller/lib.c: (gst_controller_init):
27416 * pkgconfig/Makefile.am:
27417 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27418 * pkgconfig/gstreamer-control.pc.in:
27419 * testsuite/Makefile.am:
27420 * testsuite/controller/.cvsignore:
27421 * testsuite/controller/Makefile.am:
27422 * testsuite/controller/interpolator.c: (main):
27423 added controller code
27424 removed dparam pc files
27426 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27427 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27428 (gst_collectpads_stop):
27429 Broadcast the condition when shutting down, to make sure we wake all
27430 threads up. Shut down pads on finalize, for safety.
27432 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27433 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27434 (gst_base_transform_handle_buffer),
27435 (gst_base_transform_change_state):
27436 Handle PAUSED->READY->PAUSED transition after negotiation
27438 * gst/gstmessage.c: (gst_message_init):
27439 Extra piece of debug for new messages.
27441 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27444 * docs/gst/tmpl/gstbasesrc.sgml:
27445 * docs/gst/tmpl/gstelement.sgml:
27446 * docs/gst/tmpl/gstevent.sgml:
27447 * docs/gst/tmpl/gstfakesrc.sgml:
27448 * docs/gst/tmpl/gstformat.sgml:
27449 * docs/gst/tmpl/gstghostpad.sgml:
27450 * docs/gst/tmpl/gstpad.sgml:
27451 * docs/gst/tmpl/gstquery.sgml:
27452 * docs/gst/tmpl/gststructure.sgml:
27453 * docs/gst/tmpl/gsttaglist.sgml:
27454 * docs/gst/tmpl/gstvalue.sgml:
27455 * docs/libs/gstreamer-libs-docs.sgml:
27456 * docs/libs/gstreamer-libs-sections.txt:
27457 * docs/libs/gstreamer-libs.types:
27458 * libs/gst/Makefile.am:
27459 * libs/gst/control/.cvsignore:
27460 * libs/gst/control/Makefile.am:
27461 * libs/gst/control/control.c:
27462 * libs/gst/control/control.h:
27463 * libs/gst/control/dparam.c:
27464 * libs/gst/control/dparam.h:
27465 * libs/gst/control/dparam_smooth.c:
27466 * libs/gst/control/dparam_smooth.h:
27467 * libs/gst/control/dparamcommon.h:
27468 * libs/gst/control/dparammanager.c:
27469 * libs/gst/control/dparammanager.h:
27470 * libs/gst/control/dplinearinterp.c:
27471 * libs/gst/control/dplinearinterp.h:
27472 * libs/gst/control/unitconvert.c:
27473 * libs/gst/control/unitconvert.h:
27474 * testsuite/Makefile.am:
27475 * testsuite/dynparams/.cvsignore:
27476 * testsuite/dynparams/Makefile.am:
27477 * testsuite/dynparams/dparamstest.c:
27478 * tools/Makefile.am:
27479 * tools/gst-inspect.c: (print_element_info), (main):
27480 * tools/gst-xmlinspect.c: (print_element_info), (main):
27481 deactivate and remove dparams (libgstcontrol)
27483 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27485 * gst/elements/gsttypefindelement.c:
27486 (gst_type_find_element_have_type), (gst_type_find_element_init),
27487 (stop_typefinding), (gst_type_find_element_handle_event),
27488 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27489 * gst/elements/gsttypefindelement.h:
27490 Set caps on all outgoing buffers, not just the first one.
27492 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27494 * gst/elements/gsttypefindelement.c:
27495 (gst_type_find_element_have_type),
27496 (gst_type_find_element_check_set_buffer_caps),
27497 (gst_type_find_element_init), (stop_typefinding),
27498 (gst_type_find_element_handle_event),
27499 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27500 * gst/elements/gsttypefindelement.h:
27501 Set caps on first outgoing buffer when we've found the type.
27503 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27505 * docs/gst/gstreamer-docs.sgml:
27506 * docs/gst/gstreamer-sections.txt:
27507 * docs/gst/tmpl/gstscheduler.sgml:
27508 * docs/gst/tmpl/gstschedulerfactory.sgml:
27509 Remove some old cruft from docs.
27511 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27514 Fix inline docs for GstPadLinkReturn.
27516 * gst/gststructure.c: (gst_structure_has_name):
27517 * gst/gststructure.h:
27518 * docs/gst/gstreamer-sections.txt:
27519 New API: gst_structure_has_name().
27521 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27524 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27525 and _LARGEFILE_SOURCE in config.h as required. Do not
27526 export those flags in our .pc files any longer (#142209).
27528 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27530 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27531 (gst_file_sink_do_seek), (gst_file_sink_event),
27532 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27533 Redo seek/tell calls with large file support in mind; add some
27534 debugging messages; add log message that tells us when large
27535 file support is unavailable or not enabled for some reason.
27537 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27538 Add log message that tells us when large file support
27539 is unavailable or not enabled for some reason.
27541 2005-07-29 Wim Taymans <wim@fluendo.com>
27543 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27544 Added test for removing an element with ghostpad from a bin.
27545 Fixed test as current implementation does the right thing.
27547 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27548 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27549 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27550 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27551 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27552 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27553 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27554 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27555 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27556 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27557 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27558 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27559 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27560 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27561 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27562 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27563 * gst/gstghostpad.h:
27564 Clean up ghostpads, remove properties for internal stuff.
27567 Prepare for switching targets, not all use cases work yet.
27569 2005-07-29 Wim Taymans <wim@fluendo.com>
27571 * docs/design/part-gstghostpad.txt:
27574 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27575 (gst_bin_remove_func):
27576 Unlinking pads while holding the bin LOCK is not a good
27579 * gst/gstpad.c: (gst_pad_class_init),
27580 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27581 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27582 No prob setting template after creating the pad.
27584 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27586 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27587 (gst_bus_peek), (gst_bus_source_dispatch),
27588 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27589 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27590 gst_bus_poll may be called from other threads. Handle
27591 this nicely by not making poll_data disappear off the
27592 stack once gst_bus_poll returns.
27593 gst_bus_peek now increments the refcount on the returned
27596 2005-07-29 Wim Taymans <wim@fluendo.com>
27598 * docs/design/part-gstghostpad.txt:
27599 Overview of current GhostPad datastructures and use
27600 cases for changing the target.
27602 2005-07-28 Wim Taymans <wim@fluendo.com>
27604 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27605 Added checks for hierarchy consistency whan adding linked
27608 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27609 Added check to test element scheduling without bin/pipeline.
27611 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27612 First add elements to bin, then link.
27614 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27615 (gst_bin_remove_func):
27616 Unlink pads from elements added/removed from bin to maintain
27617 hierarchy consistency.
27619 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27621 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27622 (gst_base_transform_handle_buffer):
27623 * gst/base/gstbasetransform.h:
27624 Remove broken delay_configure (fixes renegotiation of software
27625 scaling pipelines); remove some leftover printf()s.
27627 2005-07-28 Wim Taymans <wim@fluendo.com>
27629 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27630 Added some more tests for wrong hierarchy
27632 * docs/design/part-overview.txt:
27635 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27638 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27639 (gst_element_dispose):
27640 Some more cleanups.
27642 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27643 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27644 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27645 (gst_pad_set_caps), (gst_pad_send_event):
27646 Check for correct hierarchy when linking pads. Moving to
27647 strict requirement for ghostpads when linking elements in
27651 Clean ups. Added WRONG_HIERARCHY return value.
27653 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27655 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27656 Better debug if no transform is possible.
27658 2005-07-27 Wim Taymans <wim@fluendo.com>
27660 * docs/random/wtay/network-transp:
27661 Some old doc I had.
27663 2005-07-27 Wim Taymans <wim@fluendo.com>
27665 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27666 (gst_dp_event_from_packet):
27667 Fix serialization of seek events.
27669 2005-07-27 Wim Taymans <wim@fluendo.com>
27671 * check/gst-libs/gdp.c: (GST_START_TEST):
27672 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27673 Fix compilation and fix event serialization.
27675 2005-07-27 Wim Taymans <wim@fluendo.com>
27678 * docs/design/part-TODO.txt:
27679 * docs/design/part-events.txt:
27682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27683 (gst_base_sink_event), (gst_base_sink_do_sync),
27684 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27685 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27686 (gst_base_src_do_seek), (gst_base_src_event_handler),
27687 (gst_base_src_loop):
27688 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27689 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27690 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27691 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27692 (gst_base_transform_set_passthrough),
27693 (gst_base_transform_is_passthrough):
27694 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27695 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27701 * gst/gstelement.c: (gst_element_seek):
27702 * gst/gstelement.h:
27703 Update gst_element_seek.
27705 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27706 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27707 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27708 (gst_event_new_eos), (gst_event_new_newsegment),
27709 (gst_event_parse_newsegment), (gst_event_new_tag),
27710 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27711 (gst_event_parse_qos), (gst_event_new_seek),
27712 (gst_event_parse_seek), (gst_event_new_navigation):
27714 Make GstEvent use GstStructure. Add parsing code, make sure the
27715 API is sufficiently generic.
27716 Mark possible directions of events and serialization.
27718 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27719 (_gst_message_copy), (gst_message_new_segment_start),
27720 (gst_message_new_segment_done), (gst_message_new_custom),
27721 (gst_message_parse_segment_start),
27722 (gst_message_parse_segment_done):
27725 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27726 (gst_pad_set_caps), (gst_pad_send_event):
27727 Update for new events.
27728 Catch events sent in wrong directions.
27730 * gst/gstqueue.c: (gst_queue_link_src),
27731 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27732 (gst_queue_handle_src_query):
27737 Remove event code from this file.
27739 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27740 (gst_dp_event_from_packet):
27743 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27745 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27746 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27747 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27748 Make debugging actually useful.
27750 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27752 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27753 (gst_pad_fixate_caps):
27754 Implement default fixation once again, so that gst_pad_fixate()
27755 actually does anything at all. This probably needs to be some
27756 sort of a last resort, and use profile-based fixation first, but
27757 since that doesn't exist yet, this is the best we have. Fixes
27758 visualization in Totem.
27760 2005-07-22 Wim Taymans <wim@fluendo.com>
27762 * docs/design/part-events.txt:
27765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27766 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27767 (gst_base_sink_activate_pull):
27768 Some more comments.
27770 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27771 (gst_fake_src_create):
27772 Fix handoff marshall.
27774 * gst/elements/gstidentity.c: (gst_identity_class_init),
27775 (gst_identity_transform_ip):
27776 We're a real inplace element.
27778 * gst/gstbus.c: (gst_bus_post):
27779 Added some comments.
27781 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27782 * tests/muxing/case1.c: (main):
27783 * tests/sched/dynamic-pipeline.c: (main):
27784 * tests/sched/interrupt1.c: (main):
27785 * tests/sched/interrupt2.c: (main):
27786 * tests/sched/interrupt3.c: (main):
27787 * tests/sched/runxml.c: (main):
27788 * tests/sched/sched-stress.c: (main):
27789 * tests/seeking/seeking1.c: (event_received), (main):
27790 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27792 * tests/threadstate/threadstate3.c: (main):
27793 * tests/threadstate/threadstate4.c: (main):
27794 * tests/threadstate/threadstate5.c: (main):
27797 2005-07-21 Wim Taymans <wim@fluendo.com>
27799 * docs/design/part-seeking.txt:
27800 Some small additions.
27802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27803 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27804 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27805 * gst/base/gstbasesink.h:
27806 discont values are gint64, handle the math correctly.
27808 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27809 Make the basesrc report error if the source pad is not linked.
27811 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27812 (gst_queue_loop), (gst_queue_handle_src_query),
27813 (gst_queue_src_activate_push):
27814 Make queue collect data even if the srcpad is not linked.
27815 Start pushing out data as soon as it is linked.
27817 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27819 Added gst_flow_get_name() to ease error reporting.
27821 2005-07-20 Wim Taymans <wim@fluendo.com>
27823 * gst/gstmessage.c: (gst_message_new_segment_start),
27824 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27825 (gst_message_parse_segment_done):
27826 * gst/gstmessage.h:
27827 Added a bunch of messages for advanced seeking.
27829 * gst/parse/grammar.y:
27830 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27831 (gst_dpman_state_changed):
27832 Fix some new-pad -> pad-added signals
27834 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27836 * docs/manual/appendix-porting.xml:
27837 * docs/pwg/appendix-porting.xml:
27838 Document new-pad/state-change signal renames and the FixedList
27841 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27843 * docs/manual/advanced-autoplugging.xml:
27844 * docs/manual/basics-helloworld.xml:
27845 * docs/manual/basics-pads.xml:
27846 * docs/random/ds/0.9-suggested-changes:
27847 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27848 * gst/gstelement.h:
27852 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27853 (gst_structure_parse_array), (gst_structure_parse_value):
27854 * gst/gstvalue.c: (gst_type_is_fixed),
27855 (gst_value_list_prepend_value), (gst_value_list_append_value),
27856 (gst_value_list_get_size), (gst_value_list_get_value),
27857 (gst_value_transform_array_string), (gst_value_serialize_array),
27858 (gst_value_deserialize_array), (gst_value_intersect_array),
27859 (gst_value_is_fixed), (_gst_value_initialize):
27861 GstElement::new-pad -> pad-added, GstElement::state-change ->
27862 state-changed, GstValueFixedList -> GstValueArray, add format and
27863 flags as their own arguments in gst_element_seek() (should improve
27864 "bindeability"), remove function generators since they don't work
27865 under a whole bunch of compilers (they were deprecated already
27868 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27870 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27871 (_gst_debug_register_funcptr):
27873 Fix illegal cast on some platforms (#309253).
27875 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27877 * gst/gstmessage.c: (gst_message_new_custom):
27878 * gst/gstmessage.h:
27879 Add _new_custom, make _new_application a macro to _new_custom.
27881 2005-07-20 Wim Taymans <wim@fluendo.com>
27883 * gst/base/gstbasesrc.c: (gst_base_src_init),
27884 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27885 * gst/base/gstbasesrc.h:
27886 Add a gboolean to decide when to push out a discont.
27888 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27889 (gst_queue_loop), (gst_queue_handle_src_query),
27890 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27891 (gst_queue_set_property), (gst_queue_get_property):
27894 * tests/threadstate/threadstate1.c: (main):
27895 Make a thread test compile and run... very silly..
27898 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27900 * docs/manual/appendix-porting.xml:
27901 Mention removal of libgstgconf-0.9.la and existence of gconf
27904 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27906 * docs/pwg/advanced-clock.xml:
27907 * docs/pwg/appendix-porting.xml:
27908 * docs/pwg/intro-preface.xml:
27909 * docs/pwg/other-base.xml:
27910 * docs/pwg/other-manager.xml:
27911 * docs/pwg/other-nton.xml:
27912 * docs/pwg/other-ntoone.xml:
27913 * docs/pwg/other-oneton.xml:
27914 * docs/pwg/pwg.xml:
27915 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27916 demuxer), remove n-to-n (was never written), fix some code examples
27917 and links and update the porting section to include all this.
27919 2005-07-19 Wim Taymans <wim@fluendo.com>
27921 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27922 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27923 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27924 (gst_queue_src_activate_push), (gst_queue_change_state),
27925 (gst_queue_get_property):
27927 Propagate GstFlowReturn more intelligently upstream and output
27928 an ERROR/EOS when streaming stopped due to fatal error.
27930 2005-07-19 Wim Taymans <wim@fluendo.com>
27932 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27933 Don't block forever for the state change to complete, the
27934 pipeline already did with a sensible timeout.
27936 2005-07-19 Wim Taymans <wim@fluendo.com>
27938 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27939 Make sure we never call the create function is we
27942 2005-07-19 Andy Wingo <wingo@pobox.com>
27944 * gst/parse/parse.l: Attempt to solve bug #172815.
27946 2005-07-19 Wim Taymans <wim@fluendo.com>
27948 * docs/design/part-clocks.txt:
27949 * docs/design/part-events.txt:
27950 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27951 Small docs updates.
27952 Only update the seeking values when we are not
27955 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27957 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27958 Oops, ignore the result of gst_pad_push_event here.
27960 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27962 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27963 (gst_base_src_activate_push):
27964 Send discont event from the loop function, as pads
27965 aren't activated yet in the activate_push handler.
27967 * gst/gstbin.c: (bin_bus_handler):
27968 Don't leak element name.
27970 2005-07-18 Andy Wingo <wingo@pobox.com>
27972 * configure.ac: Use AS_LIBTOOL_TAGS.
27974 2005-07-18 Wim Taymans <wim@fluendo.com>
27976 * docs/gst/gstreamer.types:
27977 Remove deleted types.
27979 2005-07-18 Wim Taymans <wim@fluendo.com>
27981 * check/elements/gstfakesrc.c: (GST_START_TEST):
27984 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27985 (init_popt_callback):
27987 * gst/gst_private.h:
27988 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27989 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27992 * gst/gstconfig.h.in:
27993 * gst/gstelement.c: (gst_element_class_init),
27994 (gst_element_set_base_time), (gst_element_get_base_time),
27995 (iterator_fold_with_resync), (gst_element_change_state),
27996 (gst_element_dispose), (gst_element_get_bus):
27997 * gst/gstelement.h:
27998 * gst/gstelementfactory.h:
27999 * gst/gsterror.c: (_gst_core_errors_init):
28002 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28004 * gst/gstinfo.c: (_gst_debug_init):
28005 * gst/gstmessage.c: (_gst_message_copy):
28006 * gst/gstmessage.h:
28007 * gst/gstminiobject.h:
28010 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28011 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28014 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28015 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28016 (gst_pipeline_get_last_stream_time):
28017 * gst/gstpipeline.h:
28018 * gst/gstpluginfeature.h:
28020 * gst/gstscheduler.c:
28021 * gst/gstscheduler.h:
28022 * gst/gststructure.h:
28023 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28024 (gst_task_finalize), (gst_task_func), (gst_task_create),
28025 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28026 (gst_task_stop), (gst_task_pause):
28028 * gst/gsttypefind.h:
28030 * gst/registries/gstlibxmlregistry.c: (load_feature),
28031 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28032 * gst/registries/gstxmlregistry.c:
28033 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28034 * gst/schedulers/threadscheduler.c:
28035 * libs/gst/control/dparammanager.h:
28036 * tools/gst-inspect.c: (print_element_list),
28037 (print_plugin_features), (print_element_features):
28038 * tools/gst-xmlinspect.c: (print_element_list),
28039 (print_plugin_info), (main):
28040 Removed plugable schedulers.
28041 Removed Scheduler/Manager from elements.
28042 Removed gsttypes.h, rearranged includes.
28043 Removed dependency pad<->element, element<>pipeline, and
28044 various others, fix includes.
28045 implement gst_pad_get_parent() with gst_object_get_parent()
28046 Make GstTask sefcontained.
28047 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28049 Fix endless loop in iterator_fold_with_resync.
28052 2005-07-18 Wim Taymans <wim@fluendo.com>
28058 2005-07-18 Wim Taymans <wim@fluendo.com>
28061 No more cothreads.h
28063 2005-07-18 Wim Taymans <wim@fluendo.com>
28067 Let's remove these.
28069 2005-07-18 Wim Taymans <wim@fluendo.com>
28071 * docs/design/part-dynamic.txt:
28072 * docs/design/part-events.txt:
28073 * docs/design/part-seeking.txt:
28074 Some more docs in the works.
28076 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28077 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28078 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28079 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28080 (gst_base_transform_handle_buffer),
28081 (gst_base_transform_sink_activate_push),
28082 (gst_base_transform_src_activate_pull),
28083 (gst_base_transform_set_passthrough),
28084 (gst_base_transform_is_passthrough):
28087 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28090 * gst/gstevent.c: (gst_event_finalize):
28093 * gst/gstutils.c: (gst_element_unlink),
28094 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28095 (gst_pad_proxy_setcaps):
28097 Add _get_parent_element() to get a pads parent as an element.
28099 2005-07-18 Wim Taymans <wim@fluendo.com>
28101 * check/gst/gstbin.c: (GST_START_TEST):
28104 2005-07-18 Wim Taymans <wim@fluendo.com>
28106 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28107 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28108 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28109 (gst_base_sink_event), (gst_base_sink_do_sync),
28110 (gst_base_sink_chain), (gst_base_sink_loop),
28111 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28112 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28114 Fix logic for returning ASYNC when not prerolled.
28116 2005-07-18 Wim Taymans <wim@fluendo.com>
28118 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28119 Fix nasty refcount bug.
28121 2005-07-16 Philippe Khalaf <burger@speedy.org>
28123 * gst/elements/gstfdsrc.c:
28124 * gst/elements/gstfdsrc.h:
28125 * gst/elements/gstelements.c:
28126 * gst/elements/Makefile.am:
28127 Ported fdsrc to 0.9.
28129 2005-07-16 Wim Taymans <wim@fluendo.com>
28131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28132 (gst_base_sink_do_sync):
28135 2005-07-16 Wim Taymans <wim@fluendo.com>
28137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28138 (gst_base_sink_event), (gst_base_sink_get_times),
28139 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28140 * gst/base/gstbasesink.h:
28141 Store and use discont values when syncing buffers as described
28144 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28145 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28146 (gst_base_src_activate_push):
28147 Push discont event when starting.
28149 * gst/elements/gstidentity.c: (gst_identity_transform):
28152 * gst/gstbin.c: (gst_bin_change_state):
28153 Small cleanups in base_time distribution.
28155 * gst/gstelement.c: (gst_element_set_base_time),
28156 (gst_element_get_base_time), (gst_element_change_state):
28157 * gst/gstelement.h:
28158 Added methods for the base_time of the element.
28161 * gst/gstpipeline.c: (gst_pipeline_send_event),
28162 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28163 (gst_pipeline_get_last_stream_time):
28164 * gst/gstpipeline.h:
28166 Handle seeking as described in design doc, remove stream_time
28168 Cleanups clock and stream_time selection code. Added accessors
28169 for the stream_time.
28172 2005-07-16 Andy Wingo <wingo@pobox.com>
28174 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28177 2005-07-16 Wim Taymans <wim@fluendo.com>
28179 * check/gst/gstbin.c: (GST_START_TEST):
28180 Make elements silent as the deep_notify refs the
28181 parent, which might make the test fail.
28183 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28184 Don't hold the lock for too long.
28186 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28188 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28189 Don't unref the caps we passed to gst_caps_make_writable() after
28190 passing them. gst_caps_make_writable() will do that for us.
28192 2005-07-15 Andy Wingo <wingo@pobox.com>
28194 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28197 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28198 own marshalling function for the handoff signal. Properly type the
28199 buffer as a buffer. Fixes some warnings. Should do a more general
28201 (gst_identity_class_init): Plug into the right marshaller.
28203 2005-07-15 Wim Taymans <wim@fluendo.com>
28205 * docs/design/part-TODO.txt:
28206 * docs/design/part-clocks.txt:
28207 * docs/design/part-element-sink.txt:
28208 * docs/design/part-events.txt:
28209 * docs/design/part-gstpipeline.txt:
28210 Updated docs, mostly DISCONT related.
28212 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28214 * docs/pwg/building-pads.xml:
28215 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28217 2005-07-15 Andy Wingo <wingo@pobox.com>
28219 * tools/gst-typefind.c: Update, add copyright block.
28221 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28222 Normalize and truncate caps before fixation.
28225 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28226 discards all but the first structure from its argument.
28228 2005-07-15 Wim Taymans <wim@fluendo.com>
28230 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28231 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28232 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28233 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28234 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28235 (gst_base_transform_chain), (gst_base_transform_change_state),
28236 (gst_base_transform_set_passthrough),
28237 (gst_base_transform_is_passthrough):
28238 * gst/base/gstbasetransform.h:
28239 Make passthrough work using the bufferpools.
28240 Changed API a bit, subclasses have to write into a buffer
28241 provided by the base class.
28242 More debug info in nego functions.
28244 * gst/elements/gstidentity.c: (gst_identity_init),
28245 (gst_identity_transform):
28246 Port to new base class.
28248 2005-07-15 Wim Taymans <wim@fluendo.com>
28250 * gst/gstmessage.c: (gst_message_new_state_changed):
28251 * tools/gst-launch.c: (event_loop), (main):
28252 Totally dump messages in -launch with the -m option.
28253 Fix message name for State messages,
28255 2005-07-14 Wim Taymans <wim@fluendo.com>
28257 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28258 Post error messages on errors.
28260 2005-07-14 Wim Taymans <wim@fluendo.com>
28262 * gst/gstcaps.c: (gst_caps_do_simplify):
28266 Define error for stream stopped.
28268 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28269 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28270 Do proper return values.
28272 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28273 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28274 (gst_pad_get_range):
28275 Better return values.
28278 Reorganise return values, add macro to check for fatal errors.
28280 * gst/gstqueue.c: (gst_queue_chain):
28281 Return proper GstFlowReturn values,
28283 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28285 * docs/gst/gstreamer-sections.txt:
28286 * docs/gst/gstreamer.types:
28287 * docs/gst/tmpl/gst.sgml:
28288 * docs/gst/tmpl/gstbasesink.sgml:
28289 * docs/gst/tmpl/gstbasesrc.sgml:
28290 * docs/gst/tmpl/gstbasetransform.sgml:
28291 * docs/gst/tmpl/gstbin.sgml:
28292 * docs/gst/tmpl/gstbuffer.sgml:
28293 * docs/gst/tmpl/gstcaps.sgml:
28294 * docs/gst/tmpl/gstclock.sgml:
28295 * docs/gst/tmpl/gstcompat.sgml:
28296 * docs/gst/tmpl/gstconfig.sgml:
28297 * docs/gst/tmpl/gstelement.sgml:
28298 * docs/gst/tmpl/gstelementdetails.sgml:
28299 * docs/gst/tmpl/gstelementfactory.sgml:
28300 * docs/gst/tmpl/gstenumtypes.sgml:
28301 * docs/gst/tmpl/gsterror.sgml:
28302 * docs/gst/tmpl/gstevent.sgml:
28303 * docs/gst/tmpl/gstfakesink.sgml:
28304 * docs/gst/tmpl/gstfakesrc.sgml:
28305 * docs/gst/tmpl/gstfilesink.sgml:
28306 * docs/gst/tmpl/gstfilesrc.sgml:
28307 * docs/gst/tmpl/gstfilter.sgml:
28308 * docs/gst/tmpl/gstformat.sgml:
28309 * docs/gst/tmpl/gstghostpad.sgml:
28310 * docs/gst/tmpl/gstimplementsinterface.sgml:
28311 * docs/gst/tmpl/gstindex.sgml:
28312 * docs/gst/tmpl/gstindexfactory.sgml:
28313 * docs/gst/tmpl/gstinfo.sgml:
28314 * docs/gst/tmpl/gstiterator.sgml:
28315 * docs/gst/tmpl/gstmacros.sgml:
28316 * docs/gst/tmpl/gstmemchunk.sgml:
28317 * docs/gst/tmpl/gstminiobject.sgml:
28318 * docs/gst/tmpl/gstobject.sgml:
28319 * docs/gst/tmpl/gstpad.sgml:
28320 * docs/gst/tmpl/gstpadtemplate.sgml:
28321 * docs/gst/tmpl/gstparse.sgml:
28322 * docs/gst/tmpl/gstpipeline.sgml:
28323 * docs/gst/tmpl/gstplugin.sgml:
28324 * docs/gst/tmpl/gstpluginfeature.sgml:
28325 * docs/gst/tmpl/gstquery.sgml:
28326 * docs/gst/tmpl/gstqueue.sgml:
28327 * docs/gst/tmpl/gstregistry.sgml:
28328 * docs/gst/tmpl/gstregistrypool.sgml:
28329 * docs/gst/tmpl/gstscheduler.sgml:
28330 * docs/gst/tmpl/gstschedulerfactory.sgml:
28331 * docs/gst/tmpl/gststructure.sgml:
28332 * docs/gst/tmpl/gstsystemclock.sgml:
28333 * docs/gst/tmpl/gsttaglist.sgml:
28334 * docs/gst/tmpl/gsttagsetter.sgml:
28335 * docs/gst/tmpl/gsttrace.sgml:
28336 * docs/gst/tmpl/gsttrashstack.sgml:
28337 * docs/gst/tmpl/gsttypefind.sgml:
28338 * docs/gst/tmpl/gsttypefindfactory.sgml:
28339 * docs/gst/tmpl/gsttypes.sgml:
28340 * docs/gst/tmpl/gsturihandler.sgml:
28341 * docs/gst/tmpl/gsturitype.sgml:
28342 * docs/gst/tmpl/gstutils.sgml:
28343 * docs/gst/tmpl/gstvalue.sgml:
28344 * docs/gst/tmpl/gstversion.sgml:
28345 * docs/gst/tmpl/gstxml.sgml:
28346 * docs/libs/tmpl/gstcontrol.sgml:
28347 * docs/libs/tmpl/gstdataprotocol.sgml:
28348 * docs/libs/tmpl/gstdparam.sgml:
28349 * docs/libs/tmpl/gstdplinint.sgml:
28350 * docs/libs/tmpl/gstdpman.sgml:
28351 * docs/libs/tmpl/gstdpsmooth.sgml:
28352 * docs/libs/tmpl/gstgetbits.sgml:
28353 * docs/libs/tmpl/gstunitconvert.sgml:
28354 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28355 (gst_push_src_base_init), (gst_push_src_class_init),
28356 (gst_push_src_init), (gst_push_src_create):
28357 * gst/base/gstpushsrc.h:
28358 * gst/elements/gstelements.c:
28359 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28360 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28361 (gst_fake_sink_init), (gst_fake_sink_set_property),
28362 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28363 (gst_fake_sink_event), (gst_fake_sink_preroll),
28364 (gst_fake_sink_render), (gst_fake_sink_change_state):
28365 * gst/elements/gstfakesink.h:
28366 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28367 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28368 (gst_fake_src_base_init), (gst_fake_src_class_init),
28369 (gst_fake_src_init), (gst_fake_src_event_handler),
28370 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28371 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28372 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28373 (gst_fake_src_create_buffer), (gst_fake_src_create),
28374 (gst_fake_src_start), (gst_fake_src_stop):
28375 * gst/elements/gstfakesrc.h:
28376 * gst/elements/gstfilesink.c: (_do_init),
28377 (gst_file_sink_base_init), (gst_file_sink_class_init),
28378 (gst_file_sink_init), (gst_file_sink_dispose),
28379 (gst_file_sink_set_location), (gst_file_sink_set_property),
28380 (gst_file_sink_get_property), (gst_file_sink_open_file),
28381 (gst_file_sink_close_file), (gst_file_sink_query),
28382 (gst_file_sink_event), (gst_file_sink_render),
28383 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28384 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28385 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28386 * gst/elements/gstfilesink.h:
28387 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28388 (gst_file_src_class_init), (gst_file_src_init),
28389 (gst_file_src_finalize), (gst_file_src_set_location),
28390 (gst_file_src_set_property), (gst_file_src_get_property),
28391 (gst_file_src_map_region), (gst_file_src_map_small_region),
28392 (gst_file_src_create_mmap), (gst_file_src_create_read),
28393 (gst_file_src_create), (gst_file_src_is_seekable),
28394 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28395 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28396 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28397 (gst_file_src_uri_handler_init):
28398 * gst/elements/gstfilesrc.h:
28399 more autistic cleanliness in functions/names/defines
28401 2005-07-13 Andy Wingo <wingo@pobox.com>
28403 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28404 source couldn't negotiate.
28406 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28410 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28411 function. I am channeling Hades. Put your boots on suckers!!!
28413 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28415 * testsuite/caps/Makefile.am:
28416 * testsuite/caps/value_compare.c:
28417 * testsuite/caps/value_intersect.c:
28418 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28419 move two testsuite apps over to the check dir
28421 2005-07-12 Wim Taymans <wim@fluendo.com>
28423 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28424 Added more debug info in the negotiate process.
28426 * gst/gstmessage.h:
28427 Prepare for segment playback.
28429 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28435 * tools/gst-launch.c: (main):
28436 NULL pipeline on errors.
28438 2005-07-12 Andy Wingo <wingo@pobox.com>
28440 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28441 not it comes from a malloc region. Make sure our copy gets freed.
28443 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28445 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28446 * check/gst/gstmessage.c: (GST_START_TEST):
28447 * check/gst/gststructure.c: (GST_START_TEST),
28448 (gst_structure_suite), (main):
28450 * gst/gstelement.c: (gst_element_message_full):
28451 clean up GError and debug string now that they get copied
28452 * gst/gstmessage.c: (gst_message_new_error),
28453 (gst_message_new_warning), (gst_message_parse_error),
28454 (gst_message_parse_warning):
28455 use GST_TYPE_G_ERROR for structure_new, and take copies of
28456 arguments, so that we don't mess up refcounting
28458 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28460 * check/Makefile.am:
28461 add per-test valgrind targets
28462 * check/gst-libs/gdp.c: (GST_START_TEST),
28463 (gst_data_protocol_suite), (main):
28466 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28468 * check/Makefile.am:
28469 instate more valgrindable tests
28470 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28471 (GST_START_TEST), (fakesrc_suite):
28472 * check/gst/gstpad.c: (GST_START_TEST):
28473 * check/gst/gststructure.c: (GST_START_TEST):
28475 * docs/gst/tmpl/gstminiobject.sgml:
28476 * gst/gstpad.c: (gst_pad_finalize):
28477 fix the static mutex leak
28479 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28481 * check/Makefile.am:
28482 add two more tests for valgrinding
28483 * check/gst/gstvalue.c: (GST_START_TEST):
28484 test refcount of deserialized buffer, found a leak
28485 * docs/gst/gstreamer-docs.sgml:
28486 * docs/gst/gstreamer-sections.txt:
28487 * docs/gst/gstreamer.types:
28488 * docs/gst/tmpl/gstminiobject.sgml:
28489 add miniobject to docs
28490 * gst/gstminiobject.c:
28492 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28493 (gst_string_unwrap):
28494 fix a hard-to-find invalid write for one of the tests
28495 fix a leak for deserialized buffers
28497 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28499 * docs/pwg/advanced-events.xml:
28500 * docs/pwg/advanced-request.xml:
28501 * docs/pwg/advanced-scheduling.xml:
28502 * docs/pwg/appendix-porting.xml:
28503 * docs/pwg/building-boiler.xml:
28504 * docs/pwg/intro-preface.xml:
28505 * docs/pwg/other-ntoone.xml:
28506 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28507 of example code and explanation for pad activation, loop() and
28508 getrange() functions and a bit more. Remove old comments pointing
28510 * examples/pwg/Makefile.am:
28511 Add loop/getrange examples.
28513 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28516 check for valgrind binary + some fixes
28518 valgrind suppressions for the tests
28519 * check/Makefile.am:
28520 add a valgrind: target that valgrinds the unit tests
28521 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28522 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28523 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28524 * check/gst/gstghostpad.c:
28526 * check/gst/gstdata.c:
28528 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28529 (thread_unref), (gst_mini_object_suite), (main):
28531 * gst/gst.c: (gst_deinit):
28533 add a method to clean up.
28534 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28535 (gst_system_clock_obtain):
28536 allow for disposing the system clock.
28537 * tools/gst-launch.c: (main):
28540 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28542 * docs/gst/tmpl/gstbasesrc.sgml:
28543 * docs/gst/tmpl/gstfakesrc.sgml:
28544 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28545 (gst_base_src_init), (gst_base_src_set_property),
28546 (gst_base_src_get_property), (gst_base_src_get_range),
28547 (gst_base_src_start):
28548 * gst/base/gstbasesrc.h:
28549 add num-buffers property
28550 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28551 (gst_fakesrc_init), (gst_fakesrc_set_property),
28552 (gst_fakesrc_get_property), (gst_fakesrc_create),
28553 (gst_fakesrc_start):
28554 remove num-buffers property
28556 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28558 * docs/gst/gstreamer-sections.txt:
28559 * docs/gst/tmpl/gstbasesink.sgml:
28560 * docs/gst/tmpl/gstbasesrc.sgml:
28561 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28562 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28563 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28564 (gst_base_sink_set_property), (gst_base_sink_get_property),
28565 (gst_base_sink_handle_object), (gst_base_sink_event),
28566 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28567 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28568 (gst_base_sink_loop), (gst_base_sink_deactivate),
28569 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28570 (gst_base_sink_change_state):
28571 * gst/base/gstbasesink.h:
28572 * gst/base/gstbasesrc.h:
28573 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28574 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28575 (gst_filesink_init):
28576 more macro splitting
28578 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28580 * gst/gstelement.c: (gst_element_get_bus):
28582 * tools/gst-launch.c: (check_intr), (event_loop):
28585 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28587 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28590 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28592 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28593 (gst_base_src_finalize):
28594 add finalize method and clean up properly
28595 * gst/gstpipeline.c: (gst_pipeline_dispose):
28598 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28600 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28602 add more things to check
28603 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28604 * gst/gstelement.c:
28607 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28609 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28610 (GST_START_TEST), (fakesrc_suite):
28611 * check/gst-libs/gdp.c: (GST_START_TEST):
28612 * check/gst/gst.c: (GST_START_TEST):
28613 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28614 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28615 * check/gst/gstbus.c: (GST_START_TEST):
28616 * check/gst/gstcaps.c: (GST_START_TEST):
28617 * check/gst/gstdata.c: (GST_START_TEST):
28618 * check/gst/gstelement.c: (GST_START_TEST):
28619 * check/gst/gstghostpad.c: (GST_START_TEST):
28620 * check/gst/gstiterator.c: (GST_START_TEST):
28621 * check/gst/gstmessage.c: (GST_START_TEST):
28622 * check/gst/gstobject.c: (GST_START_TEST):
28623 * check/gst/gstpad.c: (GST_START_TEST):
28624 * check/gst/gststructure.c: (GST_START_TEST):
28625 * check/gst/gstsystemclock.c: (GST_START_TEST),
28626 (gst_systemclock_suite):
28627 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28628 * check/gst/gstvalue.c: (GST_START_TEST):
28629 * check/pipelines/cleanup.c: (GST_START_TEST):
28630 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28631 * check/states/sinks.c: (GST_START_TEST):
28632 * check/gstcheck.c: (gst_check_init):
28633 * check/gstcheck.h:
28634 add debugging category
28635 use GST_START_TEST now, so we add a debug line
28637 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28639 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28640 add test for state change message on a bin
28641 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28643 * gst/gstbin.c: (gst_bin_init):
28644 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28645 * gst/gstelement.c: (gst_element_post_message),
28646 (gst_element_set_state):
28647 * gst/gstelementfactory.c: (gst_element_factory_create):
28648 * gst/gstmessage.c: (gst_message_new):
28649 * gst/gstscheduler.c:
28650 various debugging additions and cleanups
28652 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28654 * check/Makefile.am:
28655 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28657 adding tests for elements
28658 * gst/gstelement.c: (gst_element_dispose):
28660 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28662 * gst/registries/gstlibxmlregistry.c: (load_feature):
28663 plug more leaks. A simple gst_init() now is leakfree, yay.
28665 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28667 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28668 (gst_xml_registry_load):
28669 plug another memleak
28671 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28674 use GST_SET_ERROR_CFLAGS
28675 * docs/faq/cvs.xml:
28676 change to ERROR_CFLAGS
28678 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28681 make GST_ERROR_CFLAGS overridable and re-enable Werror
28682 * docs/faq/cvs.xml:
28683 add a note about error CFLAGS
28684 * docs/gst/tmpl/gstfakesrc.sgml:
28685 * gst/elements/gstfakesrc.c:
28686 comment out some unused code
28687 * gst/gst.c: (split_and_iterate):
28688 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28692 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28694 * common/Makefile.am:
28695 * common/gtk-doc.mak:
28696 * docs/gst/Makefile.am:
28697 factor out gtk-doc.mak
28699 2005-07-07 Wim Taymans <wim@fluendo.com>
28701 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28702 (gst_thread_scheduler_dispose):
28703 Unlock the STREAM_LOCK completely.
28705 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28707 * check/Makefile.am:
28708 * check/elements/.cvsignore:
28709 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28710 (START_TEST), (fakesrc_suite), (main):
28711 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28712 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28713 (gst_fakesrc_create), (gst_fakesrc_start):
28714 * gst/elements/gstfakesrc.h:
28715 adding a first element test
28717 2005-07-07 Andy Wingo <wingo@pobox.com>
28719 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28722 2005-07-07 Wim Taymans <wim@fluendo.com>
28728 2005-07-07 Wim Taymans <wim@fluendo.com>
28730 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28731 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28732 Allow subclasses to implement their own negotiation.
28734 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28736 * docs/design/part-gstbin.txt:
28737 * docs/design/part-gstpipeline.txt:
28738 Update design notes to reflect the movement of
28739 responsibility for bus handling from GstPipeline to
28742 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28745 Remove unnecessary queue2/3/4 examples.
28747 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28749 * examples/Makefile.am:
28750 * examples/helloworld/helloworld.c: (event_loop), (main):
28751 * examples/queue/queue.c: (event_loop), (main):
28752 * examples/queue2/queue2.c: (main):
28753 Update a couple of the examples to work again.
28755 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28756 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28757 Spelling corrections and extra debug.
28759 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28760 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28761 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28763 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28764 (gst_pipeline_change_state):
28765 * gst/gstpipeline.h:
28766 Move the bus handler for children to the GstBin, and create a
28767 separate bus for receiving messages from children to the one the
28768 bus sends 'upwards' on.
28770 2005-07-06 Wim Taymans <wim@fluendo.com>
28773 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28774 (gst_base_sink_handle_object), (gst_base_sink_loop),
28775 (gst_base_sink_change_state):
28776 * gst/base/gstbasesink.h:
28777 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28778 (gst_base_src_init), (gst_base_src_setcaps),
28779 (gst_base_src_getcaps), (gst_base_src_loop),
28780 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28781 (gst_base_src_start), (gst_base_src_change_state):
28782 * gst/base/gstbasesrc.h:
28783 Make basesrc negotiate.
28784 Handle the case where preroll fails in basesink.
28787 2005-07-06 Wim Taymans <wim@fluendo.com>
28789 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28790 Implement the fixate function.
28791 Clean up acceptcaps.
28793 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28795 * docs/pwg/building-filterfactory.xml:
28796 * docs/pwg/pwg.xml:
28797 Remove never-written filter-factory chapter; I'll add the various
28798 base classes to part 4 ("other element types") later on.
28800 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28802 * docs/pwg/advanced-negotiation.xml:
28803 * docs/pwg/building-boiler.xml:
28804 * docs/pwg/building-pads.xml:
28805 * docs/pwg/pwg.xml:
28806 * examples/pwg/Makefile.am:
28807 Add a chapter on caps negotiation, simplify the original code
28808 samples a bit w.r.t. caps negotiation, add link to the advanced
28809 section. Add a bunch of examples showing different use cases of
28810 different types of caps negotiation. Upstream renegotiation isn't
28811 fully documented yet since nobody knows how that works.
28813 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28815 * check/gst/gstpad.c:
28816 * check/gstcheck.c:
28817 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28818 if pad has no parent, return NULL as list of internal links
28820 2005-07-05 Andy Wingo <wingo@pobox.com>
28822 * gst/elements/gstfilesrc.c:
28823 * gst/elements/gstfakesrc.c:
28824 * gst/base/gstpushsrc.c:
28825 * gst/base/gstbasesrc.h:
28826 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28828 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28831 better report generation target (lcov needs a patch)
28833 2005-07-05 Andy Wingo <wingo@pobox.com>
28835 * gst/elements, testsuite: Null if we got it...
28837 2005-07-05 Wim Taymans <wim@fluendo.com>
28840 * libs/gst/dataprotocol/Makefile.am:
28841 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28842 * libs/gst/dataprotocol/dataprotocol.h:
28843 * pkgconfig/Makefile.am:
28844 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28845 * pkgconfig/gstreamer-dataprotocol.pc.in:
28846 Ported dataprotol to 0.9.
28847 Added pkgconfig files.
28849 2005-07-05 Andy Wingo <wingo@pobox.com>
28851 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28852 Default to returning TRUE for the case when tranform_caps returns
28853 a fixed caps, like for identity or volume.
28855 * check/gst/gstbus.c (pound_bus_with_messages):
28856 * check/gst/gstmessage.c (START_TEST):
28857 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28858 message API change.
28860 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28861 logic weaks here: always run transform_caps, trying passthrough
28862 operation only if the original caps intersects with the transform.
28864 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28865 source and sink caps.
28867 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28868 Intersect the peer caps with the pad template before going into
28870 (gst_base_transform_transform_caps): More debugging.
28872 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28875 2005-07-04 Edward Hervey <edward@fluendo.com>
28879 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28882 2005-07-04 Andy Wingo <wingo@pobox.com>
28884 * check/gst/gstpad.c: Only set explicit caps on pads.
28886 2005-07-01 Andy Wingo <wingo@pobox.com>
28888 * tests/network-clock.scm: Commentary update.
28890 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28891 Didn't really make sense, not implementable with basetransform,
28893 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28894 attempt at implementing the sync property, needs an unlock method.
28896 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28897 New func, by default returns the same caps (the identity
28899 (gst_base_transform_getcaps): Uses transform_caps to return
28900 something sensible.
28901 (gst_base_transform_setcaps): Complicated logic to get caps on
28902 both pads, even if they are different, and to call set_caps once
28903 for every time both pads get their caps set.
28904 (gst_base_transform_handle_buffer): Give the ref to the transform
28905 function. Allows in-place modification of the buffer.
28907 * gst/base/gstbasetransform.h (transform_caps): New class method.
28908 Given caps on one side, what can I do on the other.
28909 (set_caps): Take two caps, one for each side of the element.
28912 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28913 caps in place. This is safe because we can check the mutability of
28914 the caps, and a good idea because fixate functions are just called
28915 as a matter of last resort. (Not actually implemented.)
28916 (gst_pad_set_caps): If the caps we're setting is actually the same
28917 as the existing pad caps, just update the pointer without calling
28918 setcaps. Assert that caps is either NULL or fixed, as per the
28921 * gst/gstghostpad.c: Update for fixate changes.
28923 2005-07-02 Andy Wingo <wingo@pobox.com>
28926 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28927 two refcounts makes it immutable, which is enough. Doc more.
28929 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28931 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28932 Put the mini_object into GValue as a mini_object,
28933 not a gpointer, since that's how we declared
28936 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28938 * examples/pwg/Makefile.am:
28939 Fix buildbot again.
28941 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28943 * docs/pwg/building-testapp.xml:
28945 * examples/pwg/Makefile.am:
28948 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28951 * examples/Makefile.am:
28952 * examples/pwg/Makefile.am:
28953 * examples/pwg/extract.pl:
28954 Enable building the PWG examples.
28955 * docs/pwg/advanced-interfaces.xml:
28956 Add URI interface stub.
28957 * docs/pwg/advanced-types.xml:
28958 * docs/pwg/other-autoplugger.xml:
28959 * docs/pwg/appendix-porting.xml:
28960 * docs/pwg/pwg.xml:
28961 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28962 * docs/pwg/building-boiler.xml:
28963 * docs/pwg/building-chainfn.xml:
28964 * docs/pwg/building-pads.xml:
28965 * docs/pwg/building-props.xml:
28966 * docs/pwg/building-state.xml:
28967 * docs/pwg/building-testapp.xml:
28968 Update the building-*.xml parts for 0.9 changes. All examples
28969 code blocks compile in examples/pwg/*.
28971 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28973 * docs/manual/advanced-autoplugging.xml:
28974 * docs/manual/appendix-checklist.xml:
28975 * docs/manual/appendix-integration.xml:
28976 * docs/manual/highlevel-components.xml:
28977 Fix playbin/decodebin examples, update docs a bit, mention bus
28978 instead of signals in various places, mention kmplayer and
28979 kaffeine since they have a working GStreamer backend in the KDE
28982 2005-06-30 Wim Taymans <wim@fluendo.com>
28985 * docs/design/draft-ghostpads.txt:
28986 * docs/design/draft-push-pull.txt:
28987 * docs/design/draft-query.txt:
28988 * docs/design/part-TODO.txt:
28989 * docs/design/part-query.txt:
28990 Added CHANGES-0.9 doc, updated status of other docs.
28995 2005-06-30 Wim Taymans <wim@fluendo.com>
28997 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28998 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28999 (gst_base_sink_change_state):
29000 * gst/base/gstbasesink.h:
29001 Some tweaks, only EOS and a buffer complete a preroll.
29003 2005-06-30 Andy Wingo <wingo@pobox.com>
29005 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29006 activate_push down to the internal pad as well.
29008 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29010 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29012 * gst/gsttaginterface.c:
29013 Some documentation fixes (#307394 and #307397).
29015 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29017 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29019 * gst/gstvalue.c: (gst_value_intersect_list):
29020 Fix memleak (#309125).
29022 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29024 * docs/manual/advanced-dataaccess.xml:
29025 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29026 * docs/manual/basics-pads.xml:
29027 Add reference for filtered caps to above chapter.
29029 2005-06-30 Wim Taymans <wim@fluendo.com>
29031 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29032 (gst_bin_change_state):
29034 Lame attempt at making the state change function a bit
29037 2005-06-30 Wim Taymans <wim@fluendo.com>
29039 * docs/design/part-clocks.txt:
29040 * docs/design/part-element-sink.txt:
29041 * docs/design/part-events.txt:
29042 * docs/design/part-preroll.txt:
29043 * docs/design/part-states.txt:
29044 Some more tweeks and additions to the docs.
29046 2005-06-30 Wim Taymans <wim@fluendo.com>
29048 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29049 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29050 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29051 (gst_pad_check_pull_range), (gst_pad_get_range),
29052 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29054 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29055 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29056 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29057 (gst_pad_remove_buffer_probe):
29058 Removed atomic operations, use existing LOCK.
29059 Move exception handling out of main code path.
29061 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29063 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29064 (silly_return_true_function), (gst_pad_class_init),
29065 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29066 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29067 (gst_pad_send_event):
29068 Fix accumulator, add default value by using _emitv() instead
29069 of _emit() for signal emission.
29071 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29073 * docs/manual/advanced-dataaccess.xml:
29074 * examples/manual/Makefile.am:
29076 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29079 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29081 * gst/elements/gstfilesink.c: (gst_filesink_render):
29082 Simplify code so that we don't have to handle short
29083 writes and return GST_FLOW_ERROR if an error occured.
29085 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29087 * docs/gst/gstreamer-docs.sgml:
29088 Remove probes more.
29090 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29092 * docs/gst/gstreamer-sections.txt:
29093 * docs/gst/tmpl/gstpad.sgml:
29094 * docs/gst/tmpl/gstprobe.sgml:
29096 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29097 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29098 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29099 (gst_pad_push_event), (gst_pad_send_event):
29101 * gst/gstutils.c: (gst_pad_add_data_probe),
29102 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29103 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29104 (gst_pad_remove_buffer_probe):
29106 Remove old probes, add new g-signal-based probes and some utility
29109 2005-06-29 Edward Hervey <edward@fluendo.com>
29111 * gst/gstelementfactory.c:
29114 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29115 the definition to the header file.
29117 2005-06-29 Andy Wingo <wingo@pobox.com>
29119 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29120 plugins from the source directory.
29122 2005-06-29 Wim Taymans <wim@fluendo.com>
29124 * docs/gst/tmpl/gstbuffer.sgml:
29125 * docs/gst/tmpl/gstclock.sgml:
29126 Some fixings for blantently wrong text.
29128 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29130 * check/Makefile.am:
29131 * gst/gst.c: (add_path_func), (init_pre):
29132 * gst/gstregistry.c: (gst_registry_add_path):
29133 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29134 only scan the GST_PLUGIN_PATH locations, and not add
29137 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29139 * docs/gst/gstreamer-sections.txt:
29140 * docs/gst/tmpl/gstbasesrc.sgml:
29141 * gst/gstelement.c:
29142 * gst/gstelement.h:
29147 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29149 * docs/manual/advanced-autoplugging.xml:
29150 Fix autoplugging example.
29152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29154 * docs/manual/advanced-autoplugging.xml:
29155 * docs/manual/mime-world.fig:
29156 Try to get autoplugging working, fix type detection. Fix text
29157 in hello-world image.
29159 2005-06-29 Wim Taymans <wim@fluendo.com>
29161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29162 (gst_base_sink_change_state):
29166 map SIGNAL and BROADCAST to the right function.
29169 Remove redundant braces.
29171 * gst/gstpad.c: (gst_pad_set_caps):
29172 Don't call setcaps function when reseting caps to NULL.
29174 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29175 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29176 (gst_system_clock_id_unschedule):
29177 Use BROADCAST as this is what we do.
29179 2005-06-29 Wim Taymans <wim@fluendo.com>
29181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29182 We are actually prerolling before commiting the state
29185 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29187 * docs/manual/advanced-clocks.xml:
29188 * docs/manual/advanced-interfaces.xml:
29189 * docs/manual/advanced-metadata.xml:
29190 * docs/manual/advanced-position.xml:
29191 * docs/manual/advanced-schedulers.xml:
29192 * docs/manual/advanced-threads.xml:
29193 * docs/manual/appendix-porting.xml:
29194 * docs/manual/basics-bins.xml:
29195 * docs/manual/basics-bus.xml:
29196 * docs/manual/basics-elements.xml:
29197 * docs/manual/basics-helloworld.xml:
29198 * docs/manual/basics-pads.xml:
29199 * docs/manual/highlevel-components.xml:
29200 * docs/manual/manual.xml:
29201 * docs/manual/thread.fig:
29202 Update (until threads/scheduling) Application Development Manual;
29203 remove GstThread, add GstBus, add simple porting checklist, add
29204 documentation for tag writing, clocks, make all examples until this
29205 part compile and run.
29206 * examples/manual/Makefile.am:
29207 Update from changes to Application Development Manual; add bus
29208 example, remove thread example.
29210 2005-06-28 Wim Taymans <wim@fluendo.com>
29212 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29213 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29214 (gst_bus_source_dispatch):
29215 Add debugging messages.
29216 Make internal methods static.
29217 Handle the case where the bus is flushed in the handler.
29219 * gst/gstelement.c: (gst_element_get_bus):
29220 Fix refcount in _get_bus();
29222 * gst/gstpipeline.c: (gst_pipeline_change_state),
29223 (gst_pipeline_get_clock_func):
29224 Clock refcounting fixes.
29225 Handle the case where preroll timed out more gracefully.
29227 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29228 Clean up the internal thread in dispose. This is needed
29229 for subclasses that actually get disposed.
29231 * gst/schedulers/threadscheduler.c:
29232 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29233 (gst_thread_scheduler_dispose):
29234 Free thread pool in dispose.
29236 2005-06-28 Andy Wingo <wingo@pobox.com>
29238 * tests/network-clock-utils.scm (debug, print-event): New utils.
29240 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29241 (*packet-loss*): Unified loss probability.
29242 (network-time): Report out-of-band events.
29244 * tests/plot-data: Add support for out-of-band events. Hack it
29245 into this script instead of passing it down the pipe; should fix
29248 2005-06-28 Wim Taymans <wim@fluendo.com>
29250 * docs/gst/gstreamer.types:
29251 * docs/gst/tmpl/gstbasesrc.sgml:
29252 * docs/gst/tmpl/gstpad.sgml:
29255 2005-06-28 Wim Taymans <wim@fluendo.com>
29257 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29258 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29259 (gst_proxy_pad_do_fixatecaps):
29260 Correctly proxy the check_pull_range function.
29262 2005-06-28 Andy Wingo <wingo@pobox.com>
29264 * tests/network-clock.scm: Removed need for slib.
29266 2005-06-28 Wim Taymans <wim@fluendo.com>
29268 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29269 (gst_basesink_preroll_queue_flush):
29270 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29271 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29272 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29273 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29274 (gst_proxy_pad_set_property):
29277 * gst/gstqueue.c: (gst_queue_init):
29278 The deprecated pad loop function is removed now.
29280 2005-06-28 Andy Wingo <wingo@pobox.com>
29282 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29283 New parameters, simulate network packet loss.
29285 * tests/network-clock-utils.scm: Initialize the RNG.
29287 2005-06-28 Wim Taymans <wim@fluendo.com>
29289 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29290 (gst_basesink_event), (gst_basesink_deactivate):
29291 Flushing the preroll queue always needs to unlock the waiters.
29293 2005-06-28 Edward Hervey <edward@fluendo.com>
29295 * gst/gstpipeline.c: (gst_pipeline_send_event):
29296 Wheen a seek was successful on a pipeline, set the stream_time to the
29297 seek offset in order to have a synchronized stream_time.
29299 2005-06-28 Wim Taymans <wim@fluendo.com>
29301 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29302 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29303 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29304 (gst_proxy_pad_do_fixatecaps):
29305 Call wrapper function instead of just calling the function
29306 pointers. This takes care of any locking and whatmore.
29308 2005-06-28 Wim Taymans <wim@fluendo.com>
29310 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29311 (gst_pad_pull_range):
29313 CONNECTED -> LINKED.
29315 2005-06-28 Andy Wingo <wingo@pobox.com>
29317 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29318 source-munging commit!!!
29320 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29321 (gst_object_sink): Take gpointer arguments, not GstObject --
29322 avoids casts. Like GLib.
29324 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29327 2005-06-27 Andy Wingo <wingo@pobox.com>
29329 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29332 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29333 returns a sorted copy of the trace list.
29334 (gst_alloc_trace_print_live): New API, only prints traces with
29335 live objects. Sort the list.
29336 (gst_alloc_trace_print_all): Sort the list.
29337 (gst_alloc_trace_print): Align columns.
29339 * gst/elements/gstttypefindelement.c:
29340 * gst/elements/gsttee.c:
29341 * gst/base/gstbasesrc.c:
29342 * gst/base/gstbasesink.c:
29343 * gst/base/gstbasetransform.c:
29344 * gst/gstqueue.c: Adapt for pad activation changes.
29346 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29348 (gst_pipeline_dispose): Drop ref on sched.
29350 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29351 (gst_pad_activate_default): Push mode by default.
29352 (pre_activate_switch, post_activate_switch): New stubs, things to
29353 do before and after switching activation modes on pads.
29354 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29355 the pad's activate function to choose which mode to activate.
29356 Shortcut on deactivation and call the right function directly.
29357 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29359 (gst_pad_activate_push): New API, same for push mode.
29360 (gst_pad_set_activate_function)
29361 (gst_pad_set_activatepull_function)
29362 (gst_pad_set_activatepush_function): Setters for new API.
29364 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29365 Trace all miniobjects.
29366 (gst_mini_object_make_writable): Unref the arg if we copy, like
29367 gst_caps_make_writable.
29369 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29371 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29372 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29373 Adapt for new pad API.
29375 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29377 * gst/gstelement.h:
29378 * gst/gstelement.c (gst_element_iterate_src_pads)
29379 (gst_element_iterate_sink_pads): New API functions.
29381 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29382 should fold into gstiterator.c in some form.
29383 (gst_element_pads_activate): Simplified via use of fold and
29384 delegation of decisions to gstpad->activate.
29386 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29389 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29390 class once in init, like gstmessage. Didn't run into this issue
29391 but it seems correct. Don't initialize a trace, gstminiobject does
29394 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29395 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29397 (assert_live_count): New util function, uses alloc traces to check
29400 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29401 To be modified when unlink drops the internal pad.
29403 2005-06-27 Wim Taymans <wim@fluendo.com>
29405 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29406 (gst_bin_change_state):
29407 Cleanup the get_state() function a little, make sure it
29408 iterates the same set of elements.
29409 Added stub iterate_state_order().
29411 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29413 * docs/gst/gstreamer-docs.sgml:
29414 * docs/gst/gstreamer-sections.txt:
29415 * docs/gst/gstreamer.types:
29416 * docs/gst/tmpl/gstbasesink.sgml:
29417 * docs/gst/tmpl/gstbasesrc.sgml:
29418 * docs/gst/tmpl/gstbasetransform.sgml:
29419 * docs/gst/tmpl/gstelement.sgml:
29420 * docs/gst/tmpl/gstiterator.sgml:
29421 * gst/base/gstbasesrc.c:
29422 * gst/base/gstbasesrc.h:
29423 * gst/base/gstbasetransform.h:
29424 * gst/gstelement.c:
29425 * gst/gstiterator.h:
29426 adding basetransform and iterator docs
29428 2005-06-27 Andy Wingo <wingo@pobox.com>
29430 * docs/design/part-activation.txt: Notes on how activation should
29431 work -- not quite implemented yet.
29433 2005-06-25 Wim Taymans <wim@fluendo.com>
29435 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29436 At least get the chain function correct, needs more
29439 2005-06-25 Wim Taymans <wim@fluendo.com>
29441 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29442 (gst_basesink_handle_object), (gst_basesink_event),
29443 (gst_basesink_do_sync), (gst_basesink_handle_event),
29444 (gst_basesink_change_state):
29446 Right, two problems here: ghostpads don't take locks and
29447 glib _rec_mutex_lock_full() with depth==0 still locks.
29448 Catch illegal locking and g_warn them.
29450 2005-06-25 Wim Taymans <wim@fluendo.com>
29452 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29453 Have to check for completion now...
29455 2005-06-25 Wim Taymans <wim@fluendo.com>
29457 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29458 (gst_basesink_handle_object), (gst_basesink_event),
29459 (gst_basesink_do_sync), (gst_basesink_handle_event),
29460 (gst_basesink_change_state):
29462 Unlock STREAM_LOCK whatever the recursion was.
29464 2005-06-25 Wim Taymans <wim@fluendo.com>
29466 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29467 (gst_basesink_preroll_queue_empty),
29468 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29469 (gst_basesink_event), (gst_basesink_do_sync),
29470 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29471 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29472 (gst_basesink_change_state):
29473 Reworked the base sink, handle event and buffer serialisation
29474 correctly and removed possible deadlock.
29475 Handle EOS correctly.
29477 2005-06-25 Wim Taymans <wim@fluendo.com>
29479 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29480 (gst_pipeline_change_state):
29481 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29482 Allow elements to post EOS in the state change function.
29483 Fix up -launch, make it exit the poll loop when the
29484 pipeline actually changed state.
29485 Fix up warning parsing in -launch.
29487 2005-06-25 Wim Taymans <wim@fluendo.com>
29489 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29490 (gst_tee_sink_activate):
29491 Core takes STREAM_LOCK for us now.
29493 2005-06-25 Wim Taymans <wim@fluendo.com>
29495 * gst/gstelement.c: (gst_element_get_state_func),
29496 (gst_element_set_state):
29497 * gst/gstelement.h:
29498 * gst/gstmessage.c: (gst_message_parse_error),
29499 (gst_message_parse_warning):
29500 Keep track of current target state while performing a state
29501 change so that subclasses can do something interesting.
29502 Fix parsing of warning/error messages when GError is NULL.
29504 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29506 * docs/gst/Makefile.am:
29507 * docs/gst/gstreamer-docs.sgml:
29508 * docs/gst/gstreamer-sections.txt:
29509 * docs/gst/gstreamer.types:
29510 * docs/gst/tmpl/gstbasesink.sgml:
29511 * docs/gst/tmpl/gstbasesrc.sgml:
29512 * docs/gst/tmpl/gstbin.sgml:
29513 * docs/gst/tmpl/gstcompat.sgml:
29514 * docs/gst/tmpl/gstfakesink.sgml:
29515 * docs/gst/tmpl/gstfakesrc.sgml:
29516 * docs/gst/tmpl/gstfilesink.sgml:
29517 * docs/gst/tmpl/gstfilesrc.sgml:
29518 * docs/gst/tmpl/gstindex.sgml:
29519 * docs/manual/appendix-quotes.xml:
29520 * gst/base/gstbasesrc.h:
29521 * gst/elements/gstfakesrc.h:
29522 * gst/gstmessage.h:
29523 start pulling in base classes and elements in our docs
29525 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29527 * docs/gst/Makefile.am:
29528 * docs/libs/Makefile.am:
29529 fixed make distcheck with gtk-doc 1.3
29531 2005-06-23 Wim Taymans <wim@fluendo.com>
29533 * gst/gstelement.c: (gst_element_get_state_func),
29534 (gst_element_set_state), (gst_element_change_state):
29535 When the state did not change, also report NO_PREROLL
29538 2005-06-23 Wim Taymans <wim@fluendo.com>
29540 * gst/gstpad.c: (gst_pad_event_default):
29541 * gst/gstqueue.c: (gst_queue_loop):
29542 No unsafe task pausing please.
29544 2005-06-23 Wim Taymans <wim@fluendo.com>
29546 * gst/schedulers/threadscheduler.c:
29547 (gst_thread_scheduler_task_start),
29548 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29549 Ref the task before pushing it on the threadpool. This
29550 makes sure that we have a ref when the threadfunction is
29553 2005-06-23 Andy Wingo <wingo@pobox.com>
29555 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29556 offset is greater than the file's size.
29558 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29559 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29560 * gst/gstobject.c (gst_object_class_init): Make the class lock
29561 recursive. Wim won't let me drop deep_notify. Decodebin works
29562 again, whoopdy doo.
29564 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29565 internal pad, and hacks accordingly. Doesn't do it on the target
29566 pad because we change its caps. Probably catches all cases of
29568 (gst_ghost_pad_set_property): Connect to notify::caps as
29571 * tests/network-clock.scm (plot-simulation): Pipe data to the
29572 elite python skript.
29574 * tests/network-clock-utils.scm (define-parameter): New macro,
29575 defines a parameter that can be set via the command line.
29576 (set-parameter!, parse-parameter-arguments): Command line args
29579 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29582 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29584 * gst/elements/gsttypefindelement.c:
29585 (gst_type_find_element_handle_event):
29586 Don't restart typefinding on a discont.
29587 * gst/gstelement.c: (gst_element_set_state):
29588 Debug spelling fix.
29589 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29590 Allow changing mode of an active pad.
29591 Debug output fixes.
29592 * gst/registries/gstlibxmlregistry.c: (load_feature):
29593 Don't cast a static pad template to a normal pad template.
29595 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29597 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29598 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29599 remove gst_strtoll completely, since it didn't actually do
29600 anything more than what g_ascii_strtoull already does.
29601 check for range errors when deserializing
29602 do a cast for the unsigned cases; but further fixing needs
29603 a decision on what the interpretation of "(int)" and
29604 deserialization should be for values that fall outside the
29605 type's boundaries (ie, refuse, or interpret as casting)
29607 2005-06-23 Wim Taymans <wim@fluendo.com>
29609 * check/Makefile.am:
29610 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29611 * docs/design/part-live-source.txt:
29612 * docs/design/part-states.txt:
29613 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29614 (gst_basesrc_set_live), (gst_basesrc_is_live),
29615 (gst_basesrc_get_range), (gst_basesrc_activate),
29616 (gst_basesrc_change_state):
29617 * gst/base/gstbasesrc.h:
29618 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29619 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29620 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29621 * gst/gstelement.c: (gst_element_get_state_func),
29622 (gst_element_set_state):
29623 * gst/gstelement.h:
29625 * tools/gst-launch.c: (event_loop), (main):
29626 Added support for live sources and other elements that
29628 Updated design docs, added live-source design doc.
29629 Implemented live source functionality in basesrc
29630 Fix error condition in _bin_get_state()
29631 Implement live source handling in -launch.
29632 Added check for live sources.
29633 Fixed case in GstBin where elements were changed state
29637 2005-06-23 Andy Wingo <wingo@pobox.com>
29639 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29640 borken refcounting.
29642 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29643 gst_caps_replace takes care of this for us.
29645 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29646 gst_pad_set_caps on the target, not just its setcaps() function.
29648 * tests/network-clock.scm:
29649 * tests/network-clock-utils.scm: A network clock simulator.
29650 Something of an algorithmic testbed before doing something in C.
29652 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29654 * check/Makefile.am:
29655 * check/gst/capslist.h:
29656 copy over from 0.8, and add two with bitmasks specified with
29658 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29659 add test to parse everything from capslist.h
29660 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29662 add test for structure deserialization
29663 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29664 add tests for deserialization of strings to int types
29665 * gst/gststructure.c: (gst_structure_nth_field_name):
29666 * gst/gststructure.h:
29667 add a way to get the name of a field referenced by index
29668 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29669 instead of checking if the resulting long long lies between
29670 min and max, we check if the long long would fit into
29671 a number of bytes for the final type.
29672 This fixes cases where a string represents 2^32 - 1, which
29673 when cast to int would be the (valid) -1, but is bigger than
29676 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29678 * gst/parse/grammar.y:
29679 add a log line for type deserialization
29681 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29683 * check/gst/gstvalue.c: (START_TEST):
29684 * gst/gstvalue.c: (gst_value_deserialize):
29685 return long long, not int, so gint64 deserialization actually
29686 works. Is there any flag that makes the compiler check this ?
29689 2005-06-22 Wim Taymans <wim@fluendo.com>
29692 Added convenience macros for setting buffers in GValue.
29694 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29696 * check/gst/.cvsignore:
29697 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29698 add a test deserializing int64, and comment part out because
29701 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29703 * check/Makefile.am:
29704 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29705 * testsuite/Makefile.am:
29706 * testsuite/caps/Makefile.am:
29707 * testsuite/caps/value_serialize.c:
29708 * testsuite/test_gst_init.c:
29709 move a value_serialize test over
29711 2005-06-20 Wim Taymans <wim@fluendo.com>
29716 * gst/gstvalue.c: (gst_value_compare_buffer),
29717 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29718 (gst_value_compare_flags), (gst_value_serialize_flags),
29719 (gst_value_deserialize_flags), (_gst_value_initialize):
29720 Fix serialisation of buffers, they are not boxed types anymore
29722 2005-06-20 Wim Taymans <wim@fluendo.com>
29724 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29725 Testcase to show error in buffer-on-caps serialisation.
29727 2005-06-20 Andy Wingo <wingo@pobox.com>
29729 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29730 will be adding to later.
29732 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29733 if its socks fill with rocks.
29734 (gst_system_clock_obtain): Set the name on object construction.
29735 Avoid double-checked locking.
29737 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29739 * gst/gsturi.c: (gst_element_make_from_uri):
29740 Fix potential endless loop.
29742 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29744 * check/Makefile.am:
29746 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29748 move over from testsuite dir and clean up
29751 * testsuite/Makefile.am:
29752 * testsuite/tags/.cvsignore:
29753 * testsuite/tags/Makefile.am:
29754 * testsuite/tags/merge.c:
29755 remove testsuite/tags
29757 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29759 * docs/gst/gstreamer-sections.txt:
29760 * docs/gst/tmpl/gstenumtypes.sgml:
29761 * win32/gstenumtypes.c:
29762 clean up documentation build a little
29764 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29766 * check/gstcheck.h:
29767 add macros for checking refcounts on objects and caps
29768 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29769 add some more unit tests
29770 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29771 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29772 fix leaked refcounts (I hope :)) so unittest works
29776 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29778 * configure.ac: back to HEAD
29780 === release 0.9.1 ===
29782 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29788 2005-06-17 Andy Wingo <wingo@pobox.com>
29790 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29791 assert; it's always possible that the pad gets deactivated in
29792 between the checks in gstpad.c and the implementation. Rely on
29793 finish_preroll() to return a FLUSHING or similar instead of on the
29796 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29797 clock and post an EOS message if we come out of finish_preroll in
29800 2005-06-16 David Schleef <ds@schleef.org>
29802 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29803 (gst_capsfilter_set_property): Allow NULL as possible value
29804 for filter_caps property, indicating GST_CAPS_ANY.
29806 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29808 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29810 * gst/schedulers/Makefile.am:
29812 * gstreamer.spec.in:
29815 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29817 * gstreamer.spec.in:
29820 2005-06-08 Andy Wingo <wingo@pobox.com>
29822 * gst/gstutils.c: RPAD fixes all around.
29823 (gst_element_link_pads): Refcounting fixes.
29825 * tools/gst-inspect.c:
29826 * tools/gst-xmlinspect.c:
29828 * gst/base/gsttypefindhelper.c:
29829 * gst/base/gstbasesink.c:
29830 * gst/gstqueue.c: RPAD fixes.
29832 * gst/gstghostpad.h:
29833 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29834 pads. The tricky thing is they provide both source and sink
29835 interfaces, since they proxy the internal pad for the external
29836 pad, and vice versa. Implement with lower-level ProxyPad objects,
29837 with the interior proxy pad as a child of the exterior ghost pad.
29838 Should write a doc on this.
29840 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29841 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29844 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29845 pads are real pads. No ghost pads in this file. Not documenting
29846 the myriad s/RPAD/PAD/ and REALIZE fixes.
29847 (gst_pad_class_init): Add properties for "direction" and
29848 "template". Both are construct-only, so they can't change during
29849 the life of the pad. Fixes properly deriving from GstPad.
29850 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29851 derived objects, just set properties when creating the objects via
29853 (gst_pad_get_parent): Implement as a function, return NULL if the
29854 parent is not an element.
29855 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29856 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29858 * gst/gstobject.c (gst_object_class_init): Make name a construct
29859 property. Don't set it in the object init.
29861 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29862 with UNKNOWN direction.
29863 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29864 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29865 (gst_element_remove_pad): Remove ghost-pad special cases.
29866 (gst_element_pads_activate): Remove rpad cruft.
29868 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29869 catch the pad's-parent-not-an-element case.
29871 * gst/gst.h: Include gstghostpad.h.
29873 * gst/gst.c (init_post): No more real, ghost pads.
29875 * gst/Makefile.am: Add gstghostpad.[ch].
29877 * check/Makefile.am:
29878 * check/gst/gstbin.c:
29879 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29880 into a bin creates ghost pads, and that the refcounts are right.
29881 Partly moved from gstbin.c.
29883 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29885 * check/gst-libs/.cvsignore:
29886 * check/gst/.cvsignore:
29887 * check/pipelines/.cvsignore:
29889 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29890 (START_TEST), (cleanup_suite), (main):
29891 add some tests related to cleanup after running pipelines
29893 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29895 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29896 add a testsuite for GstBuffer
29898 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29900 * gst/gstminiobject.h:
29901 add defines for accessing the refcount
29903 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29905 * Makefile.am: added support for html unit test coverage reports
29907 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29909 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29910 Free existing caps if the capsfilter changes. Add a FIXME about
29911 setting those caps on the pads.
29913 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29914 Before adding a ghost pad to a parent bin, check that there isn't
29915 already one for the element on the bin. Prevents infinite recursion
29916 when using decodebin in parse pipelines. Andy says he'll rewrite the
29917 way this works anyway, so ignore the hack.
29919 2005-06-02 Andy Wingo <wingo@pobox.com>
29921 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29922 file size, pass it on to the type find helper.
29924 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29925 segment_start and segment_end properly according to the seek
29926 method. Segment_end is still a bit flaky because offset can be
29927 negative for CUR and END cases, but it takes -1 as an "unset"
29930 2005-06-02 Wim Taymans <wim@fluendo.com>
29932 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29933 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29934 (gst_basesink_activate):
29935 * gst/base/gstbasesink.h:
29936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29937 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29938 (gst_pad_query), (gst_pad_start_task):
29940 * gst/gstqueue.c: (gst_queue_bufferalloc),
29941 (gst_queue_handle_sink_event), (gst_queue_chain):
29942 Bufferalloc: return GstFlowReturn to more accuratly report
29943 why allocation failed.
29945 2005-06-02 Wim Taymans <wim@fluendo.com>
29947 * gst/gstpipeline.c: (gst_pipeline_send_event):
29948 Take snapshot of state without blocking.
29950 2005-06-02 Wim Taymans <wim@fluendo.com>
29952 * docs/design/part-TODO.txt:
29953 * docs/design/part-caps.txt:
29954 * docs/design/part-clocks.txt:
29955 * docs/design/part-negotiation.txt:
29956 * docs/design/part-preroll.txt:
29959 2005-05-30 Wim Taymans <wim@fluendo.com>
29961 * gst/elements/gstidentity.c: (gst_identity_event),
29962 (gst_identity_transform), (gst_identity_get_property):
29963 Protect last_message property as it is accessed from
29966 2005-05-30 Wim Taymans <wim@fluendo.com>
29968 * gst/gstelement.c: (gst_element_init),
29969 (gst_element_pads_activate), (gst_element_change_state):
29970 Slicker pad activation code.
29972 2005-05-30 Wim Taymans <wim@fluendo.com>
29975 * gst/gstelement.h:
29976 * gst/gstelementfactory.h:
29978 Move elementfactory methods to separate .h file.
29980 2005-05-30 Wim Taymans <wim@fluendo.com>
29982 * docs/design/part-overview.txt:
29983 * gst/gstsystemclock.h:
29984 Small typo fixes, doc updates.
29986 2005-05-30 Wim Taymans <wim@fluendo.com>
29988 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29989 (init_popt_callback):
29990 Remove cpu-opt flag.
29992 2005-05-30 Wim Taymans <wim@fluendo.com>
29994 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29995 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29997 Avoid typechecking in places where not needed.
29998 Added accessor for malloc_data.
30000 2005-05-30 Wim Taymans <wim@fluendo.com>
30002 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30003 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30004 (gst_pad_configure_sink), (gst_pad_configure_src),
30005 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30006 (gst_pad_start_task):
30007 Propagate errors from _set_caps() in configure_src/sink
30008 functions instead of returning TRUE.
30009 FLUSH events can travel up and downstream
30012 2005-05-30 Wim Taymans <wim@fluendo.com>
30014 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30015 (gst_basesink_activate):
30016 Handle EOS in preroll.
30018 2005-05-30 Wim Taymans <wim@fluendo.com>
30020 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30021 (gst_queue_loop), (gst_queue_handle_src_event):
30022 Remove old pieces of code
30023 Flushing the queue in an upstream event is a very bad idea.
30025 2005-05-26 Andy Wingo <wingo@pobox.com>
30027 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30028 gst_value_set_mini_object so as to add a ref on the object (which
30029 will be removed when the value is unset).
30031 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30032 arg type in ::handoff.
30034 * gst/gstelement.c (gst_element_change_state): Also deactivate
30035 pads in READY->NULL, just in case the element didn't make it to
30036 PAUSED. Wingo tested, Wim approved.
30038 2005-05-26 Wim Taymans <wim@fluendo.com>
30040 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30041 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30042 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30043 A flushing pad cannot be used to alloc_buffer from.
30045 2005-05-26 Wim Taymans <wim@fluendo.com>
30047 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30048 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30049 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30050 (gst_bus_create_watch), (gst_bus_add_watch_full):
30052 Implement a real GSource and use g_main_context_wakeup() to
30053 signal new messages instead of the socketpair.
30055 2005-05-25 Wim Taymans <wim@fluendo.com>
30057 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30058 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30059 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30060 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30061 (gst_pad_send_event), (gst_pad_start_task):
30062 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30063 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30064 (gst_queue_sink_activate), (gst_queue_src_activate),
30065 (gst_queue_change_state):
30067 Fix state changes for non sinks. We now change sinks, then elements
30068 with unconnected srcpads, then the rest.
30069 More efficient queue unlocking in flush and state changes.
30070 Set the pad activate mode even if it does not have an activate
30073 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30075 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30076 Don't go in pull mode for non-seekable sources.
30077 * gst/elements/gsttypefindelement.h:
30078 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30079 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30080 (free_entry), (stop_typefinding),
30081 (gst_type_find_element_handle_event), (find_peek),
30082 (gst_type_find_element_chain), (do_pull_typefind),
30083 (gst_type_find_element_change_state):
30084 Allow typefinding (w/o seeking) in push-mode, simplified version
30085 of what was in 0.8.
30086 * gst/gstutils.c: (gst_buffer_join):
30088 gst_buffer_join() from 0.8.
30090 2005-05-25 Wim Taymans <wim@fluendo.com>
30092 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30093 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30094 (gst_pad_send_event), (gst_pad_start_task):
30095 Disable attempt at mode switching until it is figured out.
30097 2005-05-25 Wim Taymans <wim@fluendo.com>
30099 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30100 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30101 (gst_basesink_finish_preroll), (gst_basesink_chain),
30102 (gst_basesink_loop), (gst_basesink_activate),
30103 (gst_basesink_change_state):
30104 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30105 (gst_basesrc_get_range), (gst_basesrc_loop),
30106 (gst_basesrc_activate):
30107 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30108 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30109 (gst_real_pad_init), (gst_real_pad_set_property),
30110 (gst_real_pad_get_property), (gst_pad_set_active),
30111 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30112 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30113 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30114 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30115 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30116 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30117 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30118 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30119 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30120 (gst_pad_stop_task):
30122 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30123 (gst_queue_loop), (gst_queue_src_activate):
30124 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30125 (gst_task_get_state):
30127 * gst/schedulers/threadscheduler.c:
30128 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30129 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30131 Remove ACTIVE pad flag, use FLUSHING everywhere
30132 Added _pad_chain(), _pad_get_range() to call chain/getrange
30134 Add locks around IS_FLUSHING when reading.
30135 Take STREAM lock in chain(), get_range() functions so plugins
30136 don't need to take it anymore.
30140 2005-05-25 Wim Taymans <wim@fluendo.com>
30142 * tools/gst-launch.c: (event_loop):
30143 Unref message after using its contents instead of
30146 2005-05-24 Wim Taymans <wim@fluendo.com>
30148 * docs/design/draft-ghostpads.txt:
30149 * docs/design/draft-push-pull.txt:
30150 * docs/design/draft-query.txt:
30151 * docs/design/part-overview.txt:
30152 Docs updates, added general overview doc.
30154 2005-05-21 David Schleef <ds@schleef.org>
30156 * docs/gst/tmpl/old/GstBin.sgml:
30157 * docs/gst/tmpl/old/GstBuffer.sgml:
30158 * docs/gst/tmpl/old/GstCaps.sgml:
30159 * docs/gst/tmpl/old/GstClock.sgml:
30160 * docs/gst/tmpl/old/GstCompat.sgml:
30161 * docs/gst/tmpl/old/GstData.sgml:
30162 * docs/gst/tmpl/old/GstElement.sgml:
30163 * docs/gst/tmpl/old/GstEvent.sgml:
30164 * docs/gst/tmpl/old/GstIndex.sgml:
30165 * docs/gst/tmpl/old/GstStructure.sgml:
30166 * docs/gst/tmpl/old/GstTag.sgml:
30167 * docs/gst/tmpl/old/cothreads.sgml:
30168 * docs/gst/tmpl/old/cothreads_compat.sgml:
30169 * docs/gst/tmpl/old/gettext.sgml:
30170 * docs/gst/tmpl/old/gobject2gtk.sgml:
30171 * docs/gst/tmpl/old/grammar.tab.sgml:
30172 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30173 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30174 * docs/gst/tmpl/old/gst_private.sgml:
30175 * docs/gst/tmpl/old/gstaggregator.sgml:
30176 * docs/gst/tmpl/old/gstarch.sgml:
30177 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30178 * docs/gst/tmpl/old/gstbufferstore.sgml:
30179 * docs/gst/tmpl/old/gstdata_private.sgml:
30180 * docs/gst/tmpl/old/gstdisksink.sgml:
30181 * docs/gst/tmpl/old/gstdisksrc.sgml:
30182 * docs/gst/tmpl/old/gstelementfactory.sgml:
30183 * docs/gst/tmpl/old/gstextratypes.sgml:
30184 * docs/gst/tmpl/old/gstfakesink.sgml:
30185 * docs/gst/tmpl/old/gstfakesrc.sgml:
30186 * docs/gst/tmpl/old/gstfdsink.sgml:
30187 * docs/gst/tmpl/old/gstfdsrc.sgml:
30188 * docs/gst/tmpl/old/gstfilesink.sgml:
30189 * docs/gst/tmpl/old/gstfilesrc.sgml:
30190 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30191 * docs/gst/tmpl/old/gstidentity.sgml:
30192 * docs/gst/tmpl/old/gstindexfactory.sgml:
30193 * docs/gst/tmpl/old/gstmarshal.sgml:
30194 * docs/gst/tmpl/old/gstmd5sink.sgml:
30195 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30196 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30197 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30198 * docs/gst/tmpl/old/gstpipefilter.sgml:
30199 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30200 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30201 * docs/gst/tmpl/old/gstshaper.sgml:
30202 * docs/gst/tmpl/old/gstspider.sgml:
30203 * docs/gst/tmpl/old/gstspideridentity.sgml:
30204 * docs/gst/tmpl/old/gststatistics.sgml:
30205 * docs/gst/tmpl/old/gsttee.sgml:
30206 * docs/gst/tmpl/old/gsttimecache.sgml:
30207 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30208 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30209 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30210 * docs/gst/tmpl/old/types.sgml:
30211 I didn't intend to add these or check them in.
30213 2005-05-19 David Schleef <ds@schleef.org>
30215 * configure.ac: Use -no-common everywhere. In a sane world, it
30216 would be the default in libtool, because without it, you can't
30217 build DLLs on Windows.
30218 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30219 * docs/gst/gstreamer-sections.txt:
30220 * docs/gst/tmpl/gstcpu.sgml:
30221 * docs/gst/tmpl/gstdata.sgml:
30222 * docs/gst/tmpl/gstthread.sgml:
30224 2005-05-19 David Schleef <ds@schleef.org>
30226 * gst/gstminiobject.c: (gst_value_set_mini_object),
30227 (gst_value_take_mini_object), (gst_value_get_mini_object):
30228 * gst/gstminiobject.h: Add GValue set/get functions.
30230 2005-05-19 Wim Taymans <wim@fluendo.com>
30232 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30233 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30234 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30236 * gst/gstbus.c: (gst_bus_post):
30237 * gst/gstelement.c: (gst_element_get_random_pad):
30238 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30239 Make subbufer unref the parent in finalize.
30240 some more debugging info.
30243 2005-05-19 Wim Taymans <wim@fluendo.com>
30245 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30246 (gst_basesink_init), (gst_basesink_finalize),
30247 (gst_basesink_activate), (gst_basesink_change_state):
30248 Don't free preroll queue too early.
30250 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30254 Hi, I'm outdated. Please shoot me.
30256 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30258 * gst/gstpipeline.c: (gst_pipeline_send_event):
30259 Do not access variables after they have been deleted.
30261 2005-05-19 Wim Taymans <wim@fluendo.com>
30263 * tools/gst-inspect.c: (print_plugin_features):
30264 A plugin feature does unfortunatly not use the
30267 2005-05-18 Wim Taymans <wim@fluendo.com>
30269 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30270 Port _span() functions to new subbuffers.
30272 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30274 * gst/gstbin.c: (gst_bin_add_func):
30275 Fix clock settery in bins when adding kids after the clock has
30278 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30280 * gst/elements/gstidentity.c: (gst_identity_class_init):
30281 Workaround until signals support GstMiniObject.
30283 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30286 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30288 2005-05-18 Wim Taymans <wim@fluendo.com>
30290 * gst/base/Makefile.am:
30291 * gst/base/gstadapter.c: (gst_adapter_base_init),
30292 (gst_adapter_class_init), (gst_adapter_init),
30293 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30294 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30295 (gst_adapter_flush), (gst_adapter_available),
30296 (gst_adapter_available_fast):
30297 * gst/base/gstadapter.h:
30298 Ported and added adapter to the base classes.
30300 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30303 * gst/gstmessage.c:
30304 Make sure the class is reffed/unreffed once before threads can be
30305 used. Fixes #304551.
30307 2005-05-17 Wim Taymans <wim@fluendo.com>
30309 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30310 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30311 * gst/gstminiobject.c: (gst_mini_object_get_type),
30312 (gst_mini_object_free):
30313 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30314 (gst_pad_push), (gst_pad_push_event):
30315 * gst/gstqueue.c: (gst_queue_change_state):
30316 Don't queue buffers in basesink when we are flushing.
30317 Unref buffer when flushing in basesink.
30318 Flush queue when going to READY
30319 Unref buffer when _push() returns an error.
30320 Don't free MiniObject instance when refcount is incremented
30321 in _finalize() so that we can recover objects.
30323 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30325 * docs/manual/advanced-schedulers.xml:
30326 * docs/manual/appendix-checklist.xml:
30327 * docs/pwg/advanced-clock.xml:
30328 * docs/pwg/advanced-interfaces.xml:
30329 * docs/pwg/advanced-request.xml:
30330 * docs/pwg/advanced-types.xml:
30331 * docs/pwg/intro-preface.xml:
30332 * examples/plugins/example.c: (gst_example_get_type),
30333 (gst_example_class_init), (gst_example_chain),
30334 (gst_example_set_property), (gst_example_get_property),
30335 (gst_example_change_state), (plugin_init):
30336 * examples/plugins/example.h:
30339 2005-05-17 Wim Taymans <wim@fluendo.com>
30341 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30342 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30343 * gst/gstqueue.c: (gst_queue_change_state):
30344 Clear queue when going to READY.
30345 Remove IN_SETCAPS flag too.
30347 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30349 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30350 Remove implicit cast from gboolean to GstElementStateReturn;
30351 make sure we still return failure in paused => ready case if
30352 the parent class fails to change state and our own stop
30355 2005-05-17 Wim Taymans <wim@fluendo.com>
30357 * tools/gst-launch.c: (event_loop):
30358 Message was unreffed too soon.
30360 2005-05-16 Andy Wingo <wingo@pobox.com>
30362 * gst/gstbin.c (sink_iterator_filter): Err... um...
30364 * check/gst/gstbin.c (test_ghost_pads): New test for the
30365 ghosting-if-elements-not-in-same-bin behavior.
30367 2005-05-16 David Schleef <ds@schleef.org>
30369 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30370 accessing refcount directly.
30372 2005-05-15 David Schleef <ds@schleef.org>
30374 * check/Makefile.am: remove GstData checks
30375 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30376 * gst/Makefile.am: add miniobject, remove data
30377 * gst/gst.h: add miniobject, remove data
30378 * gst/gstdata.c: remove
30379 * gst/gstdata.h: remove
30380 * gst/gstdata_private.h: remove
30381 * gst/gsttypes.h: remove GstEvent and GstMessage
30382 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30383 * gst/gstmarshal.list: change BOXED -> OBJECT
30385 Implement GstMiniObject.
30386 * gst/gstminiobject.c:
30387 * gst/gstminiobject.h:
30389 Modify to be subclasses of GstMiniObject.
30390 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30391 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30392 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30393 (gst_subbuffer_get_type), (gst_subbuffer_init),
30394 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30397 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30398 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30399 (_gst_event_copy), (gst_event_new):
30401 * gst/gstmessage.c: (_gst_message_initialize),
30402 (gst_message_get_type), (gst_message_class_init),
30403 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30404 (gst_message_new), (gst_message_new_error),
30405 (gst_message_new_warning), (gst_message_new_tag),
30406 (gst_message_new_state_changed), (gst_message_new_application):
30407 * gst/gstmessage.h:
30408 * gst/gstprobe.c: (gst_probe_perform),
30409 (gst_probe_dispatcher_dispatch):
30411 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30412 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30413 (_gst_query_copy), (gst_query_new):
30415 Update elements for GstData -> GstMiniObject changes
30417 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30418 (gst_queue_chain), (gst_queue_loop):
30419 * gst/elements/gstbufferstore.c:
30420 (gst_buffer_store_add_buffer_func),
30421 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30422 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30423 (gst_fakesink_render):
30424 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30425 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30426 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30427 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30428 (gst_filesrc_create_read):
30429 * gst/elements/gstidentity.c: (gst_identity_class_init):
30430 * gst/elements/gsttypefindelement.c:
30431 (gst_type_find_element_src_event), (free_entry_buffers),
30432 (gst_type_find_element_handle_event):
30433 * libs/gst/dataprotocol/dataprotocol.c:
30434 (gst_dp_header_from_buffer):
30435 * libs/gst/dataprotocol/dataprotocol.h:
30436 * libs/gst/dataprotocol/dp-private.h:
30438 2005-05-15 David Schleef <ds@schleef.org>
30440 * gst/elements/gstelements.c: Don't include headers that were
30443 2005-05-15 David Schleef <ds@schleef.org>
30445 * gst/elements/Makefile.am: Remove some elements that don't
30446 need to be in the core (or even exist at all).
30447 * gst/elements/gstaggregator.c:
30448 * gst/elements/gstaggregator.h:
30449 * gst/elements/gstmd5sink.c:
30450 * gst/elements/gstmd5sink.h:
30451 * gst/elements/gstmultifilesrc.c:
30452 * gst/elements/gstmultifilesrc.h:
30453 * gst/elements/gstpipefilter.c:
30454 * gst/elements/gstpipefilter.h:
30455 * gst/elements/gstshaper.c:
30456 * gst/elements/gstshaper.h:
30457 * gst/elements/gststatistics.c:
30458 * gst/elements/gststatistics.h:
30459 * po/POTFILES.in: Remove above files.
30461 2005-05-14 Andy Wingo <wingo@pobox.com>
30463 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30464 so as to get the refs right.
30465 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30466 unreffing objects that don't pass the filter.
30468 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30469 gst_element_set_bus.
30470 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30471 normal cases, this will destroy the bus.
30473 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30476 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30479 2005-05-13 Andy Wingo <wingo@pobox.com>
30481 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30482 gst_pad_link, call pad_link_maybe_ghosting,
30483 (pad_link_maybe_ghosting): Links pads, making sure that the
30484 elements being linked are in the same bin.
30485 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30486 Helpers for pad_link_maybe_ghosting.
30488 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30491 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30493 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30495 * docs/design/part-element-source.txt:
30498 2005-05-12 Wim Taymans <wim@fluendo.com>
30500 * gst/base/gstbasesink.c: (gst_basesink_init),
30501 (gst_basesink_activate):
30502 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30503 (gst_basesrc_is_seekable):
30504 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30505 (bin_element_is_sink), (gst_bin_change_state):
30506 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30507 * gst/gstelement.h:
30508 Identify sinks by their flag to avoid overly complicated
30510 Do state changes even for elements not reachable from the
30512 BaseSink is a sink now :)
30513 Some more debugging info in the basesrc.
30516 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30519 Implement _query on a bin, similar to _send_event.
30521 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30523 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30524 Discont event offset format should be GST_FORMAT_BYTES,
30525 not GST_FORMAT_TIME.
30527 2005-05-12 Wim Taymans <wim@fluendo.com>
30529 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30530 Same fix as Ronald's but without the signal.
30532 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30534 * gst/gstutils.c: (gst_element_query_position):
30535 No, an element is not a pad.
30537 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30539 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30540 (gst_bin_get_state):
30541 If a child is removed from a bin while we remove the child from
30542 the bin and while we're retrieving its state, signal this to the
30543 get_state function so we abort the wait (instead of waiting for
30544 a timeout) and can immediately re-iterate over all other elements.
30546 2005-05-12 Wim Taymans <wim@fluendo.com>
30548 * gst/base/Makefile.am:
30549 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30550 (gst_basesrc_start):
30551 * gst/base/gstbasesrc.h:
30552 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30553 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30554 (gst_pushsrc_init), (gst_pushsrc_create):
30555 * gst/base/gstpushsrc.h:
30556 Added is_seekable to BaseSrc
30557 Added simple PushSrc.
30559 2005-05-11 Wim Taymans <wim@fluendo.com>
30561 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30562 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30563 (gst_element_link_pads), (gst_element_query_position),
30564 (gst_element_query_convert), (intersect_caps_func),
30565 (gst_pad_query_position), (gst_pad_query_convert):
30566 Fix refcounting in utils function.
30567 No point in trying to activate a pad when it's added, it could
30568 be added from the state change function and then we deadlock, the
30569 element has to decide what to do.
30571 2005-05-10 Andy Wingo <wingo@pobox.com>
30573 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30574 *all* the arguments.
30576 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30577 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30578 lock (according to the docs -- if this is wrong change the docs).
30580 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30581 flush messages in the NULL state.
30583 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30584 message immediately and return.
30585 (gst_bus_set_flushing): New function. If a bus is flushing, it
30586 flushes out any queued messages and immediately unrefs new
30587 messages. This is so when an element goes to NULL, all of the
30588 unhandled messages coming from it can be freed, and their
30589 references to the element dropped. In other words: message source
30590 ref considered harmful :P
30592 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30593 we're finished with it.
30595 * gst/gstmessage.c (gst_message_new_state_changed):
30597 2005-05-10 Wim Taymans <wim@fluendo.com>
30599 * gst/gstvalue.c: (gst_value_compare_flags),
30600 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30601 (_gst_value_initialize):
30602 Added flags serialize/deserialize/compare code.
30604 2005-05-09 Andy Wingo <wingo@pobox.com>
30606 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30607 Intersect the peer's caps with our caps.
30609 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30611 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30612 * gst/elements/gsttypefindelement.c: (find_peek):
30613 Handle negative offsets better. Fixes decodebin.
30615 2005-05-09 Wim Taymans <wim@fluendo.com>
30617 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30618 (gst_base_transform_event):
30619 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30620 Implement accept_caps.
30621 Fix silly lock/unlock mismatch in base class.
30623 2005-05-09 Wim Taymans <wim@fluendo.com>
30625 * docs/design/draft-push-pull.txt:
30626 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30627 * gst/elements/gstfilesink.c: (gst_filesink_init),
30628 (gst_filesink_query):
30629 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30630 (gst_type_find_handle_src_query), (find_element_get_length):
30631 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30632 * gst/gstelement.h:
30633 * gst/gstmessage.c:
30634 * gst/gstmessage.h:
30635 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30636 (gst_real_pad_get_caps_unlocked),
30637 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30638 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30639 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30640 (gst_real_pad_dispose), (gst_real_pad_finalize),
30641 (gst_pad_load_and_link), (gst_pad_save_thyself),
30642 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30643 (gst_pad_check_pull_range), (gst_pad_pull_range),
30644 (gst_pad_template_get_type), (gst_pad_template_class_init),
30645 (gst_pad_template_init), (gst_pad_template_dispose),
30646 (name_is_valid), (gst_static_pad_template_get),
30647 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30648 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30649 (gst_pad_get_element_private), (gst_pad_start_task),
30650 (gst_pad_pause_task), (gst_pad_stop_task),
30651 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30652 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30653 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30654 (gst_ghost_pad_new):
30656 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30657 (gst_query_new_position), (gst_query_set_position),
30658 (gst_query_parse_position), (gst_query_new_convert),
30659 (gst_query_set_convert), (gst_query_parse_convert):
30661 * gst/gstqueryutils.c:
30662 * gst/gstqueryutils.h:
30663 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30664 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30665 (gst_queue_handle_src_query):
30666 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30667 (gst_element_query_position), (gst_element_query_convert),
30668 (intersect_caps_func), (gst_pad_query_position),
30669 (gst_pad_query_convert):
30671 * tools/gst-inspect.c: (print_pad_info):
30672 * tools/gst-xmlinspect.c: (print_element_info):
30673 Remove old query functions. Ported old code.
30674 Added position/convert helper functions to gstutils.
30675 Reordered gstpad.c code, grouping relevant things.
30676 Remove gst_message_new(), always need to speficy a specific
30680 2005-05-09 Andy Wingo <wingo@pobox.com>
30682 * gst/gstiterator.h: Add some includes.
30684 * gst/gstqueryutils.h: Include more headers.
30687 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30688 some uses of gst_pad_query.
30690 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30691 NULL out parameters.
30692 (gst_query_new_position): New proc, allocates a new position
30695 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30696 gstqueryutils.c to the build.
30698 * gst/gststructure.c (gst_structure_set_valist): Implement with
30699 the generic G_VALUE_COLLECT.
30701 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30703 * gst/Makefile.am: (gst_headers):
30704 Added gstqueryutils.h to the list of headers to install, that was
30705 a 'nachty' move wingo :)
30707 2005-05-06 Andy Wingo <wingo@pobox.com>
30710 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30711 GstData, init a memchunk.
30712 (standard_definitions): Add a few query types, deprecate a few.
30713 (gst_query_get_type): New proc.
30714 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30716 (gst_query_new_application, gst_query_get_structure): New public
30719 * docs/design/draft-query.txt: Removed LINKS from the query types,
30720 because all the rest can be dispatched to other pads -- seemed
30721 ugly to have a query that couldn't be dispatched. internal_links
30722 is fine as a pad method.
30724 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30725 in gstpad.c, but maintain binary compatibility for the moment.
30726 Will fix before 0.9 is out.
30728 * gst/gstqueryutils.c:
30729 * gst/gstqueryutils.h: New files, implement 3 methods for each
30730 query type: parse_query, parse_response, and set. Probably need an
30733 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30735 * gst/elements/gstfilesink.c (gst_filesink_query2):
30736 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30737 query_types, and formats methods.
30739 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30740 (gst_pad_set_query2_function): New functions.
30741 (gst_real_pad_init): Set query2_default as the default query2
30742 function. Basically just dispatches to internally linked pads.
30746 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30747 without using the atomic operations. Only one thread can possibly
30748 be accessing the data at this point. Changed so as to avoid
30749 gst_atomic operations.
30751 2005-05-06 Wim Taymans <wim@fluendo.com>
30753 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30754 Also set caps if we use the fallback buffer alloc.
30756 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30758 * docs/gst/Makefile.am:
30759 * docs/gst/gstreamer-docs.sgml:
30760 * docs/gst/gstreamer-sections.txt:
30761 * docs/gst/tmpl/gstatomic.sgml:
30762 * docs/gst/tmpl/gstmemchunk.sgml:
30763 * testsuite/elements/struct_i386.h:
30764 * win32/GStreamer.vcproj:
30766 Purge GstAtomic stuff from docs and win32 makefiles as well
30768 2005-05-06 Wim Taymans <wim@fluendo.com>
30770 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30771 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30772 * gst/gstpad.c: (gst_pad_peer_get_caps):
30773 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30774 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30775 (gst_queue_src_activate), (gst_queue_change_state):
30777 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30778 (intersect_caps_func):
30779 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30780 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30781 Some fixes for the peer_get_caps() change.
30783 2005-05-06 Wim Taymans <wim@fluendo.com>
30785 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30786 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30787 (gst_basesink_activate):
30788 Actually do something with error codes returned from the push
30791 2005-05-06 Wim Taymans <wim@fluendo.com>
30793 * docs/design/part-element-sink.txt:
30794 * docs/design/part-element-source.txt:
30795 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30796 (gst_basesink_event), (gst_basesink_activate):
30797 * gst/base/gstbasesink.h:
30798 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30799 (gst_basesrc_activate):
30800 * gst/base/gstbasesrc.h:
30801 * gst/gstelement.c: (gst_element_pads_activate):
30802 Some more documentation.
30803 Fixed scheduling decision in _pads_activate().
30805 2005-05-05 Andy Wingo <wingo@pobox.com>
30807 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30810 2005-05-05 Wim Taymans <wim@fluendo.com>
30812 * gst/base/Makefile.am:
30813 * gst/base/gstbasesink.h:
30814 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30815 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30816 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30817 (gst_collectpads_class_init), (gst_collectpads_init),
30818 (gst_collectpads_finalize), (gst_collectpads_new),
30819 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30820 (find_pad), (gst_collectpads_remove_pad),
30821 (gst_collectpads_is_active), (gst_collectpads_collect),
30822 (gst_collectpads_collect_range), (gst_collectpads_start),
30823 (gst_collectpads_stop), (gst_collectpads_peek),
30824 (gst_collectpads_pop), (gst_collectpads_available),
30825 (gst_collectpads_read), (gst_collectpads_flush),
30826 (gst_collectpads_chain):
30827 * gst/base/gstcollectpads.h:
30828 * gst/elements/Makefile.am:
30829 * gst/elements/gstelements.c:
30830 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30831 (gst_fakesink_get_times), (gst_fakesink_event),
30832 (gst_fakesink_preroll), (gst_fakesink_render):
30833 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30834 (gst_filesink_init), (gst_filesink_set_location),
30835 (gst_filesink_open_file), (gst_filesink_close_file),
30836 (gst_filesink_pad_query), (gst_filesink_event),
30837 (gst_filesink_render), (gst_filesink_change_state):
30838 * gst/elements/gstfilesink.h:
30839 Added object to help in making collect pad based elements.
30841 Make event function in sink baseclass return gboolean.
30843 2005-05-05 Wim Taymans <wim@fluendo.com>
30845 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30846 (gst_bin_get_by_name):
30848 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30849 (gst_clock_finalize):
30850 * gst/gstdata.c: (gst_data_replace):
30852 * gst/gstelement.c: (gst_element_request_pad),
30853 (gst_element_pads_activate):
30854 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30855 (gst_object_unref):
30856 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30857 (gst_pad_set_checkgetrange_function),
30858 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30859 (gst_pad_check_pull_range), (gst_pad_pull_range),
30860 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30861 (gst_pad_pause_task), (gst_pad_stop_task):
30862 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30863 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30864 Fix name lookup in GstBin.
30865 Added _data_replace() function and _buffer_replace()
30866 Use finalize method to clean up clock.
30867 Fix refcounting on request pads.
30868 Fix pad schedule mode error.
30869 Some more object refcounting debug info,
30872 2005-05-04 Andy Wingo <wingo@pobox.com>
30874 * check/Makefile.am:
30875 * docs/gst/tmpl/gstatomic.sgml:
30876 * docs/gst/tmpl/gstplugin.sgml:
30877 * gst/base/gstbasesink.c: (gst_basesink_activate):
30878 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30879 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30880 (gst_basesrc_query), (gst_basesrc_set_property),
30881 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30882 (gst_basesrc_activate):
30883 * gst/base/gstbasesrc.h:
30884 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30885 (gst_base_transform_src_activate):
30886 * gst/elements/gstelements.c:
30887 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30888 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30889 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30890 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30891 (gst_type_find_element_checkgetrange),
30892 (gst_type_find_element_activate):
30893 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30894 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30895 (gst_caps_load_thyself):
30896 * gst/gstelement.c: (gst_element_pads_activate),
30897 (gst_element_save_thyself), (gst_element_restore_thyself):
30898 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30899 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30901 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30902 (gst_xml_parse_file), (gst_xml_parse_memory),
30903 (gst_xml_get_element), (gst_xml_make_element):
30904 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30905 (_file_index_id_save_xml), (gst_file_index_commit):
30906 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30907 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30909 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30910 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30911 * tools/gst-complete.c: (main):
30912 * tools/gst-compprep.c: (main):
30913 * tools/gst-inspect.c: (print_element_properties_info):
30914 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30915 * tools/gst-xmlinspect.c: (print_element_properties):
30918 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30920 * gst/gstplugin.c: (gst_plugin_check_module),
30921 (gst_plugin_check_file), (gst_plugin_load_file):
30922 apply patch from #172526 to make register work on MacOSX
30924 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30926 * docs/gst/tmpl/gstconfig.sgml:
30927 * gst/gstconfig.h.in:
30928 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30929 * testsuite/debug/printf_extension.c: (main):
30930 Do not use GST_PTR_FORMAT on pointers to types with
30931 sizeof < sizeof(gpointer). Fixes test on 64-bit
30932 * testsuite/elements/property.h:
30933 use correct printf format
30935 2005-05-02 Wim Taymans <wim@fluendo.com>
30937 * docs/design/draft-push-pull.txt:
30938 * docs/design/draft-query.txt:
30939 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30940 (gst_basesrc_start):
30941 Added draft for new query API.
30942 Added draft for better selecting scheduling methods.
30943 Make basesrc ignore length if the subclass does not support
30946 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30949 possible fixes for automake-1.5 - _LIBADD is reserved
30951 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30953 * docs/faq/Makefile.am:
30954 * docs/manual/Makefile.am:
30955 * docs/manuals.mak:
30956 * docs/pwg/Makefile.am:
30958 possible fixes for automake-1.5
30960 2005-04-28 Wim Taymans <wim@fluendo.com>
30962 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30963 (gst_basesink_pad_getcaps), (gst_basesink_init),
30964 (gst_basesink_do_sync):
30965 * gst/gstclock.c: (gst_clock_entry_new):
30966 * gst/gstevent.c: (gst_event_discont_get_value):
30967 * gst/gstpipeline.c: (pipeline_bus_handler),
30968 (gst_pipeline_change_state):
30969 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30970 Better debugging of clocking info.
30971 Allow NULL values when getting discont values.
30973 2005-04-27 Wim Taymans <wim@fluendo.com>
30975 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30976 * check/gst/gstpad.c: (gst_pad_suite):
30977 Increase timeout for checks.
30979 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30981 * check/Makefile.am:
30982 fix the broken rule for cleanup. Apparently this rule is
30983 only needed on FC2, so maybe this warrants further autotool
30986 2005-04-26 Wim Taymans <wim@fluendo.com>
30988 * gst/gsttrashstack.h:
30989 Ooohh. a nasty one! After having a failed pop() from the stack,
30990 it's possible that the stack is empty. In that case, don't
30991 follow the NULL pointer.
30993 2005-04-25 Wim Taymans <wim@fluendo.com>
30995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30996 (gst_pad_set_checkgetrange_function),
30997 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30998 (gst_pad_check_pull_range), (gst_pad_pull_range),
30999 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31000 (gst_pad_pause_task), (gst_pad_stop_task):
31001 * gst/gstplugin.c: (gst_plugin_load):
31003 Remove gst_library_load as it does more harm than good with
31004 the new g_module flags.
31005 Revert bogus caps template check in pad linking, pad caps
31006 are important when linking not the template, which is more
31007 general than the current caps.
31009 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31011 * gst/autoplug/.cvsignore:
31012 * gst/autoplug/Makefile.am:
31013 * gst/autoplug/gstsearchfuncs.c:
31014 * gst/autoplug/gstsearchfuncs.h:
31015 * gst/autoplug/gstspider.c:
31016 * gst/autoplug/gstspider.h:
31017 * gst/autoplug/gstspideridentity.c:
31018 * gst/autoplug/gstspideridentity.h:
31019 * gst/autoplug/spidertest.c:
31022 2005-04-25 Wim Taymans <wim@fluendo.com>
31024 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31025 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31026 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31027 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31029 Added stubs for unimplemented functions.
31031 2005-04-24 David Schleef <ds@schleef.org>
31033 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31036 2005-04-24 David Schleef <ds@schleef.org>
31038 Convert everything from GstAtomicInt to g_atomic_int_*, and
31043 * gst/gstatomic_impl.h:
31051 * gst/gstdata_private.h:
31055 * gst/gstmessage.c:
31058 * gst/gststructure.c:
31059 * gst/gststructure.h:
31060 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31063 2005-04-24 David Schleef <ds@schleef.org>
31065 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31066 make the regressions tests work. Remove some code that is no
31068 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31069 Disable warning for pads without templates.
31071 2005-04-24 David Schleef <ds@schleef.org>
31073 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31074 functions that handle filtered links.
31075 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31077 * gst/gstutils.c: Fix/remove utility functions that handle
31080 * gst/gstvalue.c: Add serialization/deserialization of caps
31081 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31082 requires fixing so that the filter caps notation creates
31083 a capsfilter element and sets the filter_caps property. I
31084 think everyone probably wants to keep the shorthand notation.
31085 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31086 * docs/gst/tmpl/gstpad.sgml:
31088 * gst/elements/gstelements.c: Register capsfilter element.
31089 * gst/Makefile.am: fix spacing
31090 * docs/random/ds/0.9-suggested-changes: random
31092 2005-04-23 David Schleef <ds@schleef.org>
31094 * gst/elements/Makefile.am:
31095 * gst/elements/gstcapsfilter.c: New element that acts like an
31096 identity, but filters caps. Will eventually replace filtered
31097 caps in pad linking.
31098 * gst/gstutils.c: (gst_element_create_all_pads): New function
31099 to create all the ALWAYS pads that are registered with an
31100 element class. This functionality should eventually be
31101 merged in with GstElement initialization.
31103 * testsuite/trigger/README: part of trigger test code that should
31104 have been checked in a long time ago.
31106 2005-04-23 David Schleef <ds@schleef.org>
31108 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31109 needed with new versions of libtool (nobody will confirm this),
31110 and hard to carry around.
31111 * gst/autoplug/Makefile.am:
31112 * gst/base/Makefile.am:
31113 * gst/elements/Makefile.am:
31114 * gst/indexers/Makefile.am:
31115 * gst/schedulers/Makefile.am:
31116 * libs/gst/bytestream/Makefile.am:
31117 * libs/gst/control/Makefile.am:
31118 * libs/gst/dataprotocol/Makefile.am:
31119 * libs/gst/getbits/Makefile.am:
31121 2005-04-21 Wim Taymans <wim@fluendo.com>
31123 * docs/design/draft-push-pull.txt:
31124 * docs/design/part-MT-refcounting.txt:
31125 * docs/design/part-TODO.txt:
31126 * docs/design/part-caps.txt:
31127 * docs/design/part-events.txt:
31128 * docs/design/part-gstbus.txt:
31129 * docs/design/part-gstpipeline.txt:
31130 * docs/design/part-messages.txt:
31131 * docs/design/part-push-pull.txt:
31132 * docs/design/part-query.txt:
31135 2005-04-21 Wim Taymans <wim@fluendo.com>
31137 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31138 (gst_message_new), (gst_message_new_error),
31139 (gst_message_new_warning), (gst_message_new_tag),
31140 (gst_message_new_state_changed), (gst_message_new_application),
31141 (gst_message_get_structure):
31142 * gst/gstmessage.h:
31143 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31144 (gst_structure_copy_conditional):
31145 Use parent refcount in GstMessage to ensure GstStructure
31147 Cleaned up headers a bit.
31150 2005-04-20 Wim Taymans <wim@fluendo.com>
31152 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31153 (gst_basesink_pad_getcaps), (gst_basesink_init),
31154 (gst_basesink_chain_unlocked):
31155 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31156 (gst_type_find_helper):
31157 * gst/elements/gsttypefindelement.c:
31158 (gst_type_find_element_have_type), (gst_type_find_element_init),
31159 (stop_typefinding), (gst_type_find_element_handle_event),
31160 (find_suggest), (gst_type_find_element_chain),
31161 (gst_type_find_element_checkgetrange),
31162 (gst_type_find_element_getrange), (do_typefind),
31163 (gst_type_find_element_activate):
31164 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31165 (gst_buffer_default_free), (gst_buffer_default_copy),
31166 (gst_buffer_set_caps):
31167 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31168 (gst_caps_replace):
31169 * gst/gstmessage.c: (gst_message_new),
31170 (gst_message_new_state_changed):
31171 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31172 (gst_pad_set_checkgetrange_function),
31173 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31174 (gst_pad_set_caps), (gst_pad_check_pull_range),
31175 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31177 * gst/gsttypefind.c: (gst_type_find_register):
31178 Make gst_caps_replace() work like other _replace() functions.
31179 Use _caps_replace() where possible.
31180 Make sure _message_new() initialises its field.
31181 Add gst_static_pad_template_get_caps()
31184 2005-04-18 Andy Wingo <wingo@pobox.com>
31186 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31187 on the peer, not the pad. I think that was a typo. Pass an extra
31188 arg to see if random access is possible. Activate the pads as
31189 PULL_RANGE if possible.
31191 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31193 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31194 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31197 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31199 * docs/faq/using.xml:
31200 Add note on gstreamer-properties (#154996).
31202 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31204 * docs/random/bbb/optional-properties:
31205 Some analysis on optional properties.
31207 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31209 * docs/gst/tmpl/gstelementfactory.sgml:
31210 * gst/gstelement.h:
31211 * gst/gstelementfactory.c: (gst_element_factory_init),
31212 (gst_element_factory_cleanup), (gst_element_register),
31213 (__gst_element_factory_add_static_pad_template),
31214 (gst_element_factory_get_static_pad_templates),
31215 (gst_element_factory_can_src_caps),
31216 (gst_element_factory_can_sink_caps):
31217 * gst/registries/Makefile.am:
31218 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31219 (gst_xml_registry_class_init), (gst_xml_registry_init),
31220 (gst_xml_registry_new), (gst_xml_registry_set_property),
31221 (gst_xml_registry_get_property), (get_time), (make_dir),
31222 (gst_xml_registry_get_perms_func),
31223 (plugin_times_older_than_recurse), (plugin_times_older_than),
31224 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31225 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31226 (add_to_char_array), (read_string), (read_uint), (read_enum),
31227 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31228 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31229 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31230 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31231 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31232 (gst_xml_registry_rebuild):
31233 * gst/registries/gstlibxmlregistry.h:
31234 * tools/gst-compprep.c: (main):
31235 * tools/gst-inspect.c: (print_pad_templates_info):
31236 * tools/gst-xmlinspect.c: (print_element_info):
31237 Use libxml2 for registry parsing, use staticpadtemplates in
31238 elementfactories. Makes gst_init() +/- 10x faster.
31240 2005-04-12 Wim Taymans <wim@fluendo.com>
31242 * gst/base/Makefile.am:
31243 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31244 (gst_basesink_pad_getcaps), (gst_basesink_init),
31245 (gst_basesink_event), (gst_basesink_change_state):
31246 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31247 (gst_basesrc_init), (gst_basesrc_query),
31248 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31249 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31250 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31251 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31252 (gst_basesrc_stop), (gst_basesrc_activate),
31253 (gst_basesrc_change_state):
31254 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31255 (helper_find_suggest), (gst_type_find_helper):
31256 * gst/base/gsttypefindhelper.h:
31257 * gst/elements/Makefile.am:
31258 * gst/elements/gstelements.c:
31259 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31260 (gst_fakesink_get_times), (gst_fakesink_event),
31261 (gst_fakesink_preroll), (gst_fakesink_render):
31262 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31263 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31264 (gst_fakesrc_get_property), (gst_fakesrc_create),
31265 (gst_fakesrc_start), (gst_fakesrc_stop):
31266 * gst/elements/gstfakesrc.h:
31267 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31268 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31269 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31270 (gst_filesrc_create_read), (gst_filesrc_create),
31271 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31272 (gst_filesrc_start):
31273 * gst/elements/gsttypefindelement.c:
31274 (gst_type_find_element_have_type), (gst_type_find_element_init),
31275 (start_typefinding), (stop_typefinding), (push_buffer_store),
31276 (gst_type_find_element_handle_event),
31277 (gst_type_find_element_chain),
31278 (gst_type_find_element_checkgetrange),
31279 (gst_type_find_element_getrange), (do_typefind),
31280 (gst_type_find_element_activate),
31281 (gst_type_find_element_change_state):
31282 * gst/elements/gsttypefindelement.h:
31283 * gst/gstpipeline.c: (pipeline_bus_handler):
31284 Added typefind helper.
31285 Small preroll fix in the base sink.
31286 Disable typefind code in basesrc.
31287 Crude port of typefindelement.
31291 2005-04-11 Wim Taymans <wim@fluendo.com>
31293 * check/gst/gstbus.c: (gstbus_suite):
31294 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31295 * check/gstcheck.h:
31296 Fix up the timeout so that the test does not fail.
31298 2005-04-06 Wim Taymans <wim@fluendo.com>
31301 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31302 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31303 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31304 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31305 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31306 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31307 (gst_basesrc_stop), (gst_basesrc_activate),
31308 (gst_basesrc_change_state), (basesrc_find_peek),
31309 (basesrc_find_suggest), (gst_basesrc_type_find):
31310 * gst/base/gstbasesrc.h:
31311 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31312 (gst_filesrc_class_init), (gst_filesrc_init),
31313 (gst_filesrc_finalize), (gst_filesrc_set_location),
31314 (gst_filesrc_set_property), (gst_filesrc_get_property),
31315 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31316 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31317 (gst_filesrc_create_read), (gst_filesrc_create),
31318 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31319 * gst/elements/gstfilesrc.h:
31320 * gst/gstelement.c: (gst_element_get_state_func),
31321 (gst_element_lost_state), (gst_element_pads_activate):
31322 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31323 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31324 (gst_pad_pull_range):
31326 More work on the generic source base class, implement seeking,
31328 Make filesrc extend the base source class.
31329 Added gst_pad_set_checkgetrange_function to GstPad.
31331 2005-04-06 Andy Wingo <wingo@pobox.com>
31333 * pkgconfig/gstreamer-base.pc.in:
31334 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31336 * pkgconfig/Makefile.am:
31337 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31339 2005-04-04 Wim Taymans <wim@fluendo.com>
31341 * gst/base/Makefile.am:
31343 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31344 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31345 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31346 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31347 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31348 (gst_basesrc_base_init), (gst_basesrc_class_init),
31349 (gst_basesrc_init), (gst_basesrc_get_formats),
31350 (gst_basesrc_get_query_types), (gst_basesrc_query),
31351 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31352 (gst_basesrc_set_property), (gst_basesrc_get_property),
31353 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31354 (gst_basesrc_loop), (gst_basesrc_activate),
31355 (gst_basesrc_change_state):
31356 * gst/base/gstbasesrc.h:
31357 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31358 (gst_fakesrc_class_init), (gst_fakesrc_init),
31359 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31360 (gst_fakesrc_get_property), (gst_fakesrc_create):
31361 * gst/elements/gstfakesrc.h:
31362 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31363 (gst_filesrc_open_file), (gst_filesrc_loop),
31364 (gst_filesrc_activate), (filesrc_find_peek),
31365 (gst_filesrc_type_find):
31366 Made base source class, make fakesrc extend it.
31367 Add comments to basesink class.
31368 Some filesrc cleanup.
31370 2005-03-31 David Schleef <ds@schleef.org>
31372 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31373 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31374 expected to link against libgstreamer.
31375 * gst/base/Makefile.am: link against libgstreamer
31376 * gst/elements/Makefile.am: same
31378 2005-03-31 Andy Wingo <wingo@pobox.com>
31380 * tests/instantiate/Makefile.am:
31381 * tests/instantiate/caps.c: Add test to test speed of caps copy
31384 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31385 GMemChunk to be fair.
31387 * gst/gsttrashstack.h: Remove warning about using the fallback
31388 trash stack implementation, it's still faster than malloc.
31390 2005-03-30 Andy Wingo <wingo@pobox.com>
31392 * tests/complexity.c: Add a copyright.
31394 2005-03-31 Wim Taymans <wim@fluendo.com>
31396 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31397 (gst_base_transform_class_init), (gst_base_transform_init),
31398 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31399 (gst_base_transform_get_property),
31400 (gst_base_transform_sink_activate),
31401 (gst_base_transform_src_activate),
31402 (gst_base_transform_change_state):
31403 * gst/base/gstbasetransform.h:
31404 * gst/elements/gstidentity.c: (gst_identity_class_init),
31405 (gst_identity_event), (gst_identity_check_perfect),
31406 (gst_identity_transform), (gst_identity_start),
31407 (gst_identity_stop):
31408 Added start/stop methods to transform base class so subclasses
31409 don't need to deal with state changes even.
31411 2005-03-31 Wim Taymans <wim@fluendo.com>
31413 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31414 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31416 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31417 (gst_pad_pull_range):
31418 Added rate to the discont event to prepare for variable speed
31419 and reverse playback.
31421 2005-03-29 David Schleef <ds@schleef.org>
31424 * testsuite/trigger/Makefile.am:
31425 * testsuite/trigger/trigger.c: A little example program to show
31426 how trigger-based elements can work.
31428 2005-03-29 Wim Taymans <wim@fluendo.com>
31430 * gst/base/Makefile.am:
31432 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31433 (gst_basesink_base_init), (gst_basesink_class_init),
31434 (gst_basesink_pad_getcaps), (gst_basesink_init),
31435 (gst_basesink_activate), (gst_basesink_change_state):
31436 * gst/base/gstbasesink.h:
31437 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31438 (gst_base_transform_base_init), (gst_base_transform_finalize),
31439 (gst_base_transform_class_init), (gst_base_transform_init),
31440 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31441 (gst_base_transform_event), (gst_base_transform_getrange),
31442 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31443 (gst_base_transform_set_property),
31444 (gst_base_transform_get_property),
31445 (gst_base_transform_sink_activate),
31446 (gst_base_transform_src_activate),
31447 (gst_base_transform_change_state):
31448 * gst/base/gstbasetransform.h:
31449 * gst/elements/gstidentity.c: (gst_identity_finalize),
31450 (gst_identity_class_init), (gst_identity_init),
31451 (gst_identity_event), (gst_identity_check_perfect),
31452 (gst_identity_transform), (gst_identity_set_property),
31453 (gst_identity_get_property), (gst_identity_change_state):
31454 * gst/elements/gstidentity.h:
31455 * gst/gstelement.c: (gst_element_get_state_func),
31456 (gst_element_lost_state), (gst_element_pads_activate):
31457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31458 (gst_pad_check_pull_range), (gst_pad_pull_range):
31460 Simplify pad activation.
31461 Added function to check if pull_range can be performed.
31462 Error out when pulling inactive or flushing pads.
31463 Removed const from refcounted types as it does not make sense.
31464 Simplify pad templates in basesink
31465 Added base class for simple 1-to-1 transforms.
31466 Make identity subclass the base transform.
31468 2005-03-29 Andy Wingo <wingo@pobox.com>
31470 * docs/libs/gstreamer-libs-overrides.txt:
31471 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31472 really don't understand what's going on, but like whatever. I want
31475 * docs/gst/Makefile.am:
31476 * docs/libs/Makefile.am: Dist the overrides files.
31478 * check/Makefile.am (clean-local): Remove .libs directories.
31480 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31481 elements to EXTRA_DIST, so po/ files are happy.
31483 * po/POTFILES.in: Er, remove it here.
31485 * po/POTFILES: Remove gstspider.c.
31487 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31489 * docs/libs/gstreamer-libs-docs.sgml:
31490 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31493 * tests/complexity.c (main): Set the length of the preroll queue
31494 on the sinks to prevent a lockup.
31496 * libs/gst/dataprotocol/Makefile.am:
31497 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31498 the same as the one in check/gst-libs/gdp.c.
31500 * po/, docs/gst/: Commit automatic changes to docs and po files.
31502 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31503 the versioned libgstbase.
31505 * check/Makefile.am: Depend on an unversioned gst-register, seems
31506 to make autoconf happier.
31508 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31510 2005-03-28 Wim Taymans <wim@fluendo.com>
31513 * docs/design/part-gstelement.txt:
31514 * docs/design/part-negotiation.txt:
31515 * docs/design/part-preroll.txt:
31516 * docs/design/part-scheduling.txt:
31517 * docs/design/part-states.txt:
31519 * gst/base/Makefile.am:
31521 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31522 (gst_basesink_base_init), (gst_basesink_class_init),
31523 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31524 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31525 (gst_basesink_set_pad_functions),
31526 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31527 (gst_basesink_set_property), (gst_basesink_get_property),
31528 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31529 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31530 (gst_basesink_preroll_queue_push),
31531 (gst_basesink_preroll_queue_empty),
31532 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31533 (gst_basesink_event), (gst_basesink_get_times),
31534 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31535 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31536 (gst_basesink_loop), (gst_basesink_activate),
31537 (gst_basesink_change_state):
31538 * gst/base/gstbasesink.h:
31539 * gst/elements/Makefile.am:
31540 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31541 (gst_fakesink_class_init), (gst_fakesink_init),
31542 (gst_fakesink_set_property), (gst_fakesink_get_property),
31543 (gst_fakesink_get_times), (gst_fakesink_event),
31544 (gst_fakesink_preroll), (gst_fakesink_render),
31545 (gst_fakesink_change_state):
31546 * gst/elements/gstfakesink.h:
31547 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31548 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31549 * gst/gstelement.c: (gst_element_add_pad),
31550 (gst_element_get_state_func), (gst_element_abort_state),
31551 (gst_element_commit_state), (gst_element_lost_state),
31552 (gst_element_set_state), (gst_element_pads_activate):
31553 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31554 * gst/gstpipeline.c: (gst_pipeline_send_event),
31555 (gst_pipeline_change_state):
31556 Added state change code.
31557 Added/updated docs.
31558 Added sink base class, make fakesink extend the base class.
31559 Small cleanups in GstPipeline.
31561 2005-03-26 David Schleef <ds@schleef.org>
31563 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31564 is broken and should be implemented in a different library.
31565 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31566 * gst/gst.h: remove gstcpu.h
31567 * gst/gstcpu.c: remove
31568 * gst/gstcpu.h: remove
31569 * gst/Makefile.am.future: Remove this file. It's ancient.
31571 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31573 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31574 (gst_bin_send_event):
31575 Add default event/set_manager handlers. The set_manager handler
31576 takes care that the manager is distributed over kids that were
31577 already in the bin before the manager was set. The event handler
31578 is a utility virtual function that sends the event over all sinks,
31579 so that gst_element_send_event (bin, event); has the expected
31581 * gst/gstpad.c: (gst_pad_event_default):
31582 Re-install default event handling for discontinuities, so that
31583 seeking works without requiring hacks in applications or extra
31585 * gst/gstpipeline.c: (gst_pipeline_class_init),
31586 (gst_pipeline_send_event):
31587 Half hack, half utility: set a pipeline to PAUSED for seek events,
31588 since that is the only way we can guarantee a/v sync. Means that
31589 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31590 and it "just works".
31592 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31594 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31595 Lock/unlock mismatch.
31597 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31599 * docs/faq/gst-uninstalled:
31600 add gst-plugins-base
31601 * docs/gst/Makefile.am:
31602 don't error out until docs are fixed
31603 * docs/gst/gstreamer.types:
31606 2005-03-22 Wim Taymans <wim@fluendo.com>
31608 * check/Makefile.am:
31609 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31610 * gst/gststructure.c: (gst_structure_set_valist),
31611 (gst_structure_copy_conditional):
31612 Activated more tests.
31613 Added message test.
31614 Added G_TYPE_POINTER to GstStructure.
31617 2005-03-22 Wim Taymans <wim@fluendo.com>
31619 * docs/design/part-TODO.txt:
31620 * docs/design/part-events.txt:
31621 * docs/design/part-gstbin.txt:
31622 * docs/design/part-gstbus.txt:
31623 * docs/design/part-gstpipeline.txt:
31624 * docs/design/part-messages.txt:
31626 * gst/gstmessage.c:
31629 2005-03-21 Wim Taymans <wim@fluendo.com>
31631 * gst/gstbus.c: (gst_bus_post):
31632 Fix copy-and-paste error.
31634 2005-03-21 Wim Taymans <wim@fluendo.com>
31636 * check/Makefile.am:
31638 * gst/elements/Makefile.am:
31639 * gst/elements/gstelements.c:
31640 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31641 (gst_fakesink_event), (gst_fakesink_chain):
31642 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31643 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31644 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31645 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31646 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31647 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31648 (gst_fakesrc_loop), (gst_fakesrc_activate),
31649 (gst_fakesrc_change_state):
31650 * gst/elements/gstfakesrc.h:
31651 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31652 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31653 (gst_filesrc_open_file), (gst_filesrc_loop),
31654 (gst_filesrc_activate), (gst_filesrc_change_state),
31655 (filesrc_find_peek), (filesrc_find_suggest),
31656 (gst_filesrc_type_find):
31657 * gst/elements/gstidentity.c: (gst_identity_finalize),
31658 (gst_identity_class_init), (gst_identity_init),
31659 (gst_identity_proxy_getcaps), (identity_queue_push),
31660 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31661 (gst_identity_getrange), (gst_identity_chain),
31662 (gst_identity_sink_loop), (gst_identity_src_loop),
31663 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31664 (gst_identity_set_property), (gst_identity_get_property),
31665 (gst_identity_change_state):
31666 * gst/elements/gstidentity.h:
31667 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31668 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31669 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31670 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31671 (gst_tee_sink_activate):
31672 * gst/elements/gsttee.h:
31673 * gst/gst.c: (gst_register_core_elements), (init_post):
31675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31676 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31677 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31678 (gst_bin_change_state):
31680 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31681 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31682 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31683 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31684 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31685 (bus_watch_callback), (bus_watch_destroy),
31686 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31687 (poll_timeout), (gst_bus_poll):
31691 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31692 (gst_element_post_message), (gst_element_message_full),
31693 (gst_element_get_state_func), (gst_element_get_state),
31694 (gst_element_abort_state), (gst_element_commit_state),
31695 (gst_element_lost_state), (gst_element_set_state),
31696 (gst_element_pads_activate), (gst_element_change_state),
31697 (gst_element_dispose), (gst_element_set_manager_func),
31698 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31699 (gst_element_set_manager), (gst_element_get_manager),
31700 (gst_element_set_bus), (gst_element_get_bus),
31701 (gst_element_set_scheduler), (gst_element_get_scheduler):
31702 * gst/gstelement.h:
31703 * gst/gstevent.c: (gst_event_new_segment_seek),
31704 (gst_event_new_flush):
31706 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31707 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31708 (gst_message_new_eos), (gst_message_new_error),
31709 (gst_message_new_warning), (gst_message_new_tag),
31710 (gst_message_new_state_changed), (gst_message_new_application),
31711 (gst_message_get_structure), (gst_message_parse_tag),
31712 (gst_message_parse_state_changed), (gst_message_parse_error),
31713 (gst_message_parse_warning):
31714 * gst/gstmessage.h:
31715 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31716 (gst_real_pad_set_property), (gst_pad_set_active),
31717 (gst_pad_is_active), (gst_pad_set_blocked_async),
31718 (gst_pad_set_blocked), (gst_pad_is_blocked),
31719 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31720 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31721 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31722 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31723 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31724 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31725 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31726 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31727 (gst_pad_set_caps), (gst_pad_configure_sink),
31728 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31729 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31730 (gst_real_pad_dispose), (gst_real_pad_finalize),
31731 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31732 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31733 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31735 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31736 (pipeline_bus_handler), (gst_pipeline_change_state),
31737 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31738 * gst/gstpipeline.h:
31740 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31741 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31742 (gst_queue_link_src), (gst_queue_bufferalloc),
31743 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31744 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31745 (gst_queue_loop), (gst_queue_handle_src_event),
31746 (gst_queue_handle_src_query), (gst_queue_src_activate),
31747 (gst_queue_change_state):
31749 * gst/gstscheduler.c: (gst_scheduler_init),
31750 (gst_scheduler_dispose), (gst_scheduler_create_task),
31751 (gst_scheduler_factory_create):
31752 * gst/gstscheduler.h:
31753 * gst/gststructure.c: (gst_structure_get_type),
31754 (gst_structure_copy_conditional):
31755 * gst/gststructure.h:
31756 * gst/gsttaginterface.h:
31757 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31758 (gst_task_init), (gst_task_dispose), (gst_task_create),
31759 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31765 * gst/schedulers/Makefile.am:
31766 * gst/schedulers/cothreads_compat.h:
31767 * gst/schedulers/entryscheduler.c:
31768 * gst/schedulers/faircothreads.c:
31769 * gst/schedulers/faircothreads.h:
31770 * gst/schedulers/fairscheduler.c:
31771 * gst/schedulers/gstbasicscheduler.c:
31772 * gst/schedulers/gstoptimalscheduler.c:
31773 * gst/schedulers/gthread-cothreads.h:
31774 * gst/schedulers/threadscheduler.c:
31775 (gst_thread_scheduler_task_get_type),
31776 (gst_thread_scheduler_task_class_init),
31777 (gst_thread_scheduler_task_init),
31778 (gst_thread_scheduler_task_start),
31779 (gst_thread_scheduler_task_stop),
31780 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31781 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31782 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31783 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31785 * libs/gst/Makefile.am:
31786 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31787 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31788 (gst_file_pad_parent_set):
31789 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31790 (gst_dp_event_from_packet):
31791 * tests/complexity.c: (main):
31792 * tests/mass_elements.c: (main):
31793 * testsuite/states/locked.c: (message_received), (main):
31794 * testsuite/states/parent.c: (main):
31795 * tools/gst-inspect.c: (print_element_flag_info),
31796 (print_implementation_info), (print_pad_info):
31797 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31799 * tools/gst-md5sum.c: (event_loop), (main):
31800 * tools/gst-typefind.c: (main):
31801 * tools/gst-xmlinspect.c: (print_element_info):
31803 Added GstBus for mainloop integration.
31804 Added GstMessage for sending notifications on the bus.
31805 Added GstTask as an abstraction for pipeline entry points.
31807 Removed Schedulers.
31808 Simplified GstQueue for multithreaded core.
31809 Made _link threadsafe, removed old capsnego.
31810 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31811 Added pad blocking functions.
31812 Reworked scheduling functions in GstPad to prepare for
31813 scheduling updates soon.
31814 Moved events out of data stream.
31815 Simplified GstEvent types.
31816 Added return values to push/pull.
31817 Removed clocking from GstElement.
31818 Added prototypes for state change function for next merge.
31819 Removed iterate from bins and state change management.
31820 Fixed some elements, disabled others for now.
31821 Fixed -inspect and -launch.
31822 Added check for GstBus.
31824 2005-03-10 Wim Taymans <wim@fluendo.com>
31826 * docs/design/part-MT-refcounting.txt:
31827 * docs/design/part-clocks.txt:
31828 * docs/design/part-gstelement.txt:
31829 * docs/design/part-gstobject.txt:
31830 * docs/design/part-standards.txt:
31831 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31832 (gst_bin_remove_func), (gst_bin_remove):
31836 * testsuite/clock/clock1.c: (main):
31837 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31839 * testsuite/dlopen/loadgst.c: (do_test):
31840 * testsuite/refcounting/bin.c: (add_remove_test1),
31841 (add_remove_test2), (main):
31842 * testsuite/refcounting/element.c: (main):
31843 * testsuite/refcounting/element_pad.c: (main):
31844 * testsuite/refcounting/pad.c: (main):
31845 * tools/gst-launch.c: (sigint_handler_sighandler):
31846 * tools/gst-typefind.c: (main):
31848 Added doc about clock.
31849 removed gst_bin_iterate_recurse_up(), marked methods
31851 Fix more testsuites.
31853 2005-03-09 Wim Taymans <wim@fluendo.com>
31855 * gst/gstpad.c: (gst_pad_get_direction),
31856 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31857 (gst_pad_collect_valist):
31858 * testsuite/bins/interface.c: (main):
31859 * testsuite/caps/audioscale.c: (test_caps):
31860 * testsuite/caps/caps.c: (test1), (test2), (test3):
31861 * testsuite/caps/deserialize.c: (main):
31862 * testsuite/caps/enumcaps.c: (main):
31863 * testsuite/caps/filtercaps.c: (main):
31864 * testsuite/caps/intersect2.c: (main):
31865 * testsuite/caps/random.c: (main):
31866 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31867 * testsuite/caps/sets.c: (check_caps):
31868 * testsuite/caps/simplify.c: (check_caps), (main):
31869 * testsuite/caps/subtract.c: (check_caps):
31870 Fix _pad_get_direction wrt ghostpads.
31871 Fix caps testsuite.
31873 2005-03-09 Wim Taymans <wim@fluendo.com>
31875 * check/Makefile.am:
31876 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31877 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31878 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31880 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31881 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31882 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31883 (bin_element_is_sink), (gst_bin_iterate_sinks),
31884 (gst_bin_iterate_all_by_interface):
31886 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31887 (gst_element_change_state), (gst_element_dispose),
31888 (gst_element_finalize), (gst_element_set_loop_function):
31889 * gst/gstelement.h:
31890 * gst/gstiterator.c: (find_custom_fold_func):
31891 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31892 (gst_pad_collectv), (gst_pad_collect_valist),
31893 (gst_pad_template_new):
31894 * gst/gstpipeline.c: (gst_pipeline_class_init),
31895 (gst_pipeline_dispose), (gst_pipeline_set_property),
31896 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31897 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31898 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31900 * gst/schedulers/entryscheduler.c:
31901 * gst/schedulers/gstbasicscheduler.c:
31902 (gst_basic_scheduler_cothreaded_chain),
31903 (gst_basic_scheduler_chain_add_element):
31904 * testsuite/bins/interface.c: (main):
31906 Added GstSystemClock test.
31907 Implemented clock distribution code in GstBin.
31908 Implemented iterate sinks method for future use.
31909 Rearranged gstelement.h
31910 Fix GstIterator comparison bug.
31911 Moved some code to GstPipeline, mostly clocking related.
31913 2005-03-09 Wim Taymans <wim@fluendo.com>
31916 * gst/gst_private.h:
31917 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31918 (gst_bin_remove_func), (gst_bin_remove),
31919 (gst_bin_get_by_name_recurse_up):
31920 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31921 (gst_clock_id_compare_func), (gst_clock_id_wait),
31922 (gst_clock_id_wait_async), (gst_clock_init),
31923 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31924 * gst/gstelement.h:
31925 * gst/gstinfo.c: (_gst_debug_init):
31927 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31928 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31930 Bump version number, we're now 0.9.0
31931 Add future debugging category.
31932 Fix NULL _unref() in _get_by_name_recurse_up
31933 Rearrange gstpad.h.
31936 2005-03-08 Wim Taymans <wim@fluendo.com>
31938 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31939 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31940 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31941 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31942 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31943 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31944 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31945 * gst/elements/gstidentity.c: (gst_identity_class_init):
31946 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31947 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31948 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31949 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31950 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31952 * gst/gstelement.c: (gst_element_class_init),
31953 (gst_element_base_class_init), (gst_element_init),
31954 (gst_element_get_random_pad), (gst_element_wait_state_change),
31955 (gst_element_change_state), (gst_element_dispose),
31956 (gst_element_finalize), (gst_element_set_loop_function):
31957 * gst/gstelement.h:
31958 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31959 * gst/gstthread.c: (gst_thread_class_init),
31960 (gst_thread_release_children_locks), (gst_thread_change_state):
31961 * gst/schedulers/gstbasicscheduler.c:
31962 (gst_basic_scheduler_loopfunc_wrapper),
31963 (gst_basic_scheduler_chain_wrapper),
31964 (gst_basic_scheduler_src_wrapper),
31965 (gst_basic_scheduler_remove_element):
31966 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31967 Remove threadsafe properties. Fix elements because GObject
31968 complains when installing a property before declaring a
31969 set/get_property handler.
31970 Rearrange gstelement.h file, use STATE macros for state locks.
31971 Free mutexes in the finalize method instead of dispose.
31973 2005-03-08 Wim Taymans <wim@fluendo.com>
31975 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31976 * gst/gstthread.c: (gst_thread_release_children_locks):
31977 Added parentage check.
31978 Fix build og GstThread again.
31980 2005-03-08 Wim Taymans <wim@fluendo.com>
31982 * docs/design/part-MT-refcounting.txt:
31983 * docs/design/part-conventions.txt:
31984 * docs/design/part-gstobject.txt:
31985 * docs/design/part-relations.txt:
31986 * docs/design/part-standards.txt:
31987 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31988 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31989 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31990 (gst_bin_iterate_all_by_interface):
31993 * gst/gstelement.c: (gst_element_class_init),
31994 (gst_element_change_state), (gst_element_set_loop_function):
31995 * gst/gstelement.h:
31996 * gst/gstiterator.c:
31997 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31998 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31999 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32000 (gst_object_set_parent), (gst_object_unparent),
32001 (gst_object_check_uniqueness):
32003 Docs updates, clean up some headers.
32005 2005-03-07 Wim Taymans <wim@fluendo.com>
32007 * check/.cvsignore:
32008 * check/Makefile.am:
32009 * check/gst-libs/.cvsignore:
32010 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32011 * check/gst/.cvsignore:
32012 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32013 (START_TEST), (gstbus_suite), (main):
32014 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32015 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32016 (gst_data_suite), (main):
32017 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32018 (add_fold_func), (gstiterator_suite), (main):
32019 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32020 (thread_name_object), (thread_name_object_default),
32021 (gst_object_name_compare), (gst_object_suite), (main):
32022 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32023 (gst_pad_suite), (main):
32024 * check/gstcheck.c: (gst_check_log_message_func),
32025 (gst_check_log_critical_func), (gst_check_init):
32026 * check/gstcheck.h:
32027 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32028 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32031 2005-03-07 Wim Taymans <wim@fluendo.com>
32033 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32034 (gst_list_iterator_next), (gst_list_iterator_resync),
32035 (gst_list_iterator_free), (gst_iterator_new_list),
32036 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32037 (gst_iterator_free), (gst_iterator_push), (filter_next),
32038 (filter_resync), (filter_uninit), (filter_free),
32039 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32040 (gst_iterator_foreach), (find_custom_fold_func),
32041 (gst_iterator_find_custom):
32042 * gst/gstiterator.h:
32043 Added missing files.
32045 2005-03-07 Wim Taymans <wim@fluendo.com>
32049 * docs/design/part-MT-refcounting.txt:
32050 * docs/design/part-conventions.txt:
32051 * docs/design/part-gstobject.txt:
32052 * docs/design/part-relations.txt:
32053 * examples/mixer/mixer.c: (main):
32054 * examples/thread/thread.c: (eos), (main):
32056 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32057 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32058 (gst_spider_plug_from_srcpad):
32059 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32060 (gst_spider_identity_change_state),
32061 (gst_spider_identity_sink_loop_type_finding):
32062 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32063 * gst/elements/gstidentity.c: (gst_identity_init):
32064 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32065 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32066 * gst/elements/gsttypefindelement.c: (free_entry):
32069 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32070 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32071 (gst_bin_set_index), (gst_bin_set_element_sched),
32072 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32073 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32074 (gst_bin_iterate_elements), (iterate_child_recurse),
32075 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32076 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32077 (compare_interface), (gst_bin_get_by_interface),
32078 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32080 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32081 (gst_buffer_default_free), (gst_buffer_default_copy),
32082 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32083 (gst_buffer_create_sub):
32085 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32086 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32087 (gst_caps_unref), (gst_static_caps_get),
32088 (gst_caps_remove_and_get_structure), (gst_caps_append),
32089 (gst_caps_append_structure), (gst_caps_remove_structure),
32090 (gst_caps_copy_nth), (gst_caps_set_simple),
32091 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32092 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32093 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32094 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32095 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32096 (gst_caps_structure_figure_out_union),
32097 (gst_caps_switch_structures), (gst_caps_do_simplify),
32098 (gst_caps_replace), (gst_caps_from_string),
32099 (gst_caps_copy_conditional):
32101 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32102 (_gst_clock_id_free), (gst_clock_id_unref),
32103 (gst_clock_id_compare_func), (gst_clock_id_wait),
32104 (gst_clock_id_wait_async), (gst_clock_class_init),
32105 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32106 (gst_clock_get_time), (gst_clock_set_time_adjust),
32107 (gst_clock_set_property), (gst_clock_get_property):
32110 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32111 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32113 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32114 (gst_element_requires_clock), (gst_element_provides_clock),
32115 (gst_element_set_clock), (gst_element_clock_wait),
32116 (gst_element_wait), (gst_element_set_time_delay),
32117 (gst_element_is_indexable), (gst_element_add_pad),
32118 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32119 (pad_compare_name), (gst_element_get_static_pad),
32120 (gst_element_request_pad), (gst_element_get_request_pad),
32121 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32122 (gst_element_class_get_pad_template_list),
32123 (gst_element_class_get_pad_template), (gst_element_error_func),
32124 (gst_element_get_random_pad), (gst_element_get_event_masks),
32125 (gst_element_send_event), (gst_element_seek),
32126 (gst_element_get_query_types), (gst_element_query),
32127 (gst_element_get_formats), (gst_element_convert),
32128 (gst_element_is_locked_state), (gst_element_set_locked_state),
32129 (gst_element_sync_state_with_parent), (gst_element_change_state),
32130 (gst_element_finalize), (gst_element_yield),
32131 (gst_element_interrupt), (gst_element_set_scheduler),
32132 (gst_element_get_scheduler), (gst_element_set_loop_function):
32133 * gst/gstelement.h:
32135 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32136 (gst_format_get_by_nick), (gst_format_get_details),
32137 (gst_format_iterate_definitions):
32139 * gst/gstindex.c: (gst_index_gtype_resolver):
32142 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32143 (gst_mem_chunk_free):
32144 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32145 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32146 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32147 (gst_object_dispatch_properties_changed),
32148 (gst_object_set_name_default), (gst_object_set_name),
32149 (gst_object_get_name), (gst_object_set_name_prefix),
32150 (gst_object_get_name_prefix), (gst_object_set_parent),
32151 (gst_object_get_parent), (gst_object_unparent),
32152 (gst_object_check_uniqueness), (gst_object_save_thyself),
32153 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32154 (gst_object_set_property), (gst_object_get_property),
32155 (gst_object_get_path_string):
32157 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32158 (gst_real_pad_init), (gst_real_pad_get_property),
32159 (gst_pad_custom_new), (gst_pad_get_direction),
32160 (gst_pad_set_active), (gst_pad_is_active),
32161 (gst_pad_set_event_function), (gst_pad_is_linked),
32162 (gst_pad_link_free), (gst_pad_link_intersect),
32163 (gst_pad_link_fixate), (gst_pad_set_caps),
32164 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32165 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32166 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32167 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32168 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32169 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32170 (gst_pad_realize), (gst_pad_get_allowed_caps),
32171 (gst_real_pad_dispose), (gst_real_pad_finalize),
32172 (gst_pad_collectv), (gst_pad_collect_valist),
32173 (gst_pad_template_dispose), (gst_pad_template_new),
32174 (gst_pad_get_internal_links):
32176 * gst/gstpipeline.c: (gst_pipeline_dispose),
32177 (gst_pipeline_change_state):
32178 * gst/gstpipeline.h:
32180 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32181 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32182 * gst/gstpluginfeature.h:
32183 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32184 * gst/gstquery.c: (_gst_query_type_initialize),
32185 (gst_query_type_register), (gst_query_type_get_by_nick),
32186 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32188 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32189 * gst/gstscheduler.c: (gst_scheduler_add_element),
32190 (gst_scheduler_factory_create):
32191 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32192 (gst_structure_free), (gst_structure_set_name),
32193 (gst_structure_id_set_value), (gst_structure_set_value),
32194 (gst_structure_set_valist), (gst_structure_remove_field),
32195 (gst_structure_remove_fields),
32196 (gst_structure_remove_fields_valist),
32197 (gst_structure_remove_all_fields), (gst_structure_foreach),
32198 (gst_structure_map_in_place),
32199 (gst_caps_structure_fixate_field_nearest_int),
32200 (gst_caps_structure_fixate_field_nearest_double):
32201 * gst/gststructure.h:
32202 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32203 (gst_system_clock_init), (gst_system_clock_dispose),
32204 (gst_system_clock_async_thread),
32205 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32206 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32207 * gst/gstsystemclock.h:
32208 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32209 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32210 * gst/gsttaginterface.c:
32211 * gst/gstthread.c: (gst_thread_dispose),
32212 (gst_thread_release_children_locks), (gst_thread_change_state),
32213 (gst_thread_main_loop):
32214 * gst/gsttrashstack.h:
32215 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32217 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32218 (gst_element_request_pad), (gst_element_get_pad_from_template),
32219 (gst_element_request_compatible_pad),
32220 (gst_element_get_compatible_pad_filtered),
32221 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32222 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32223 (gst_element_link_many), (gst_element_link),
32224 (gst_element_link_pads), (gst_element_unlink_pads),
32225 (gst_element_unlink_many), (gst_element_unlink),
32226 (gst_pad_can_link_filtered), (gst_pad_can_link),
32227 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32228 (gst_object_default_error), (gst_bin_add_many),
32229 (gst_bin_remove_many), (gst_element_populate_std_props),
32230 (gst_element_class_install_std_props), (gst_buffer_merge),
32231 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32232 (link_fold_func), (gst_pad_proxy_setcaps):
32234 * gst/gstvalue.c: (gst_value_deserialize_string):
32235 * gst/parse/grammar.y:
32236 * gst/schedulers/gstbasicscheduler.c:
32237 (gst_basic_scheduler_cothreaded_chain),
32238 (gst_basic_scheduler_chain_recursive_add),
32239 (gst_basic_scheduler_pad_link):
32240 * gst/schedulers/gstoptimalscheduler.c:
32241 (get_group_schedule_function),
32242 (gst_opt_scheduler_state_transition),
32243 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32244 * libs/gst/bytestream/bytestream.c:
32245 * libs/gst/dataprotocol/dataprotocol.c:
32246 (gst_dp_header_from_buffer):
32249 * tests/threadstate/threadstate2.c: (eos):
32250 * tools/gst-compprep.c: (main):
32251 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32252 (print_pad_info), (print_children_info):
32253 * tools/gst-launch.c: (idle_func), (main):
32254 * tools/gst-md5sum.c: (idle_func), (main):
32255 * tools/gst-xmlinspect.c: (print_element_info):
32256 First THREADED backport attempt, focusing on adding locks and
32257 making sure the API is threadsafe. Needs more work. More docs
32260 2005-02-24 Andy Wingo <wingo@pobox.com>
32262 * tests/bench-complexity.scm:
32263 * tests/complexity.gnuplot: New files, good for running complexity
32266 * tests/Makefile.am:
32267 * tests/complexity.c: New test, sets up N elements, at each level
32268 teeing into M streams per element. Eeeenteresting.
32270 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32271 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32272 running bench-mass_elements.scm.
32274 * tests/bench-mass_elements.scm: New script, runs mass_elements
32275 for various numbers of identities, outputting the results to a
32276 file. Requires guile 1.6. Just for testing.
32278 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32280 * gst/schedulers/fairscheduler.c:
32281 compile with debug disabled
32283 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32286 hunting season on 0.9 is now OPEN