1 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * docs/faq/gst-uninstalled:
4 Add libgstapp-0.10 from -base to search path and remove the old
5 lib from -bad from the search path.
7 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
9 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
10 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
11 Release the object lock before calling the query convert pad functions
14 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
16 * gst/gstbus.c: (gst_bus_wakeup_main_context):
17 The lock order should be maincontext > OBJECT_LOCK so we need to release
18 the object lock when waking up the mainloop to avoid deadlocks.
20 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
22 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
23 (gst_bin_change_state_func):
24 Use an iterator to set the clock and the index so that we can release
25 the object lock appropriately. Fixes #566393.
27 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
29 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
30 Use the name of the pads instead of a pointer, helps in debugging.
32 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
34 * gst/gstindex.c: (gst_index_get_type):
35 Add a debugging category for GstIndex, first little step in making
38 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
40 * gst/gstelement.c: (gst_element_message_full),
41 (gst_element_pads_activate):
42 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
43 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
44 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
45 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
46 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
47 Assign debug statements to relevant categories instead of the 'default'
48 category so they don't get lost in debugging.
50 2009-01-01 Stefan Kost <ensonic@users.sf.net>
52 * gst/gstdebugutils.c:
53 Add some ideas, how to make the graph smaller.
56 Add a comment from a debug session.
58 * libs/gst/base/gstbasetransform.c:
61 * libs/gst/controller/gstinterpolationcontrolsource.c:
64 * plugins/elements/gstcapsfilter.c:
67 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
69 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
70 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
71 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
72 (gst_bus_create_watch):
73 Make GstBusSource work with non-default main contexts (#562170).
75 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
76 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
77 Add test case for GstBusSource with a non-default main context.
79 * tests/check/libs/.cvsignore:
82 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
84 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
86 Wrap multi-line macros in G_STMT_{START|END}.
88 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
90 * docs/gst/gstreamer-sections.txt:
93 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
94 (gst_query_parse_uri):
96 API: Add URI query type. This is useful to query the URI
97 of a sink/source element and can be used by demuxers that
98 need to get data from other files.
99 This query should go upstream by default.
101 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
102 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
104 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
105 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
106 (gst_file_src_query):
109 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
112 * tests/check/gst/gstghostpad.c:
113 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
114 That would cause the ghostpad to emit notify::caps two times (fist
115 from gst_pad_set_caps() and after from on_src_target_notify()).
117 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
119 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
121 Add some more unit-tests for the ghostpad notify signal, one of which
124 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
126 * win32/common/libgstreamer.def:
127 Add gst_tag_setter_reset_tags to the list of exported symbols.
129 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
132 * tests/check/gst/gstghostpad.c:
133 In a source ghostpad, when caps are changed in the target pad, the
134 change needs to be reflected in the ghostpad.
137 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
139 * gst/gstutils.c: (gst_element_found_tags_for_pad):
140 Add FIXME for 0.11 to set the pad as message source and not
141 the element. Otherwise it's impossible to detect for which
142 pad the tags were found without adding an event probe
143 or something similar to the pad.
145 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
147 * docs/faq/general.xml:
150 2008-12-16 Stefan Kost <ensonic@users.sf.net>
152 * docs/gst/gstreamer-sections.txt:
153 * gst/gsttagsetter.c:
154 * gst/gsttagsetter.h:
155 Rename api added in previous commit and add since tag to docs.
156 API: gst_tag_setter_reset_tags()
158 2008-12-16 Stefan Kost <ensonic@users.sf.net>
160 * docs/gst/gstreamer-sections.txt:
161 * gst/gsttagsetter.c:
162 * gst/gsttagsetter.h:
163 Add function to reset tagsetter for element reuse.
165 2008-12-16 Stefan Kost <ensonic@users.sf.net>
168 Avoid copy of empty taglist.
170 2008-12-16 Stefan Kost <ensonic@users.sf.net>
173 * tests/check/gst/gsttag.c:
174 More complete unit tests. Fix handling of empty taglists (they were
177 2008-12-15 Stefan Kost <ensonic@users.sf.net>
180 * gst/gsttagsetter.c:
181 Update GstTagSetter and GstTagMergeMode documentation. Mention
182 that tags can come from events and from application. Fix example.
184 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
186 * docs/design/part-TODO.txt:
187 Remove the seqnum entry that we implemented in 0.10 already.
188 Add entry about removing the format return value for queries.
190 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
192 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
193 (gst_base_sink_init), (gst_base_sink_set_property),
194 (gst_base_sink_get_property):
195 Expose the render-delay as a property so things like appsink can use it
196 to tweak the synchronisation.
198 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
200 * libs/gst/check/gstcheck.h: Allow check tests to use
201 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
202 CK_FORK=no to be used with multiple check test that use threads.
204 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
206 * gst/gstutils.c: (gst_element_get_compatible_pad):
207 Fix a caps memory leak introduced by the last change.
209 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
211 * gst/gstutils.c: (gst_element_get_compatible_pad):
212 Check if the caps of the pads are compatible before returning
213 a pad and claiming it is compatible. This, among other things,
214 fixes a bug with gst-launch where an incompatible pad is chosen
215 and linking fails. Fixes bug #544003.
217 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
219 * libs/gst/check/gstcheck.c: (gst_check_init):
220 Revert accidentially commited patch for bug #404631 which
221 tries to print a backtrace if a testcase is terminated by
222 a signal. This code was never activated as the corresponding
223 configure.ac change wasn't committed.
225 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
227 * tests/check/libs/controller.c: (GST_START_TEST):
228 This test should return TRUE now as syncing an uncontrolled
229 object will succeed now (there's nothing to sync).
231 2008-12-09 Stefan Kost <ensonic@users.sf.net>
233 * libs/gst/controller/gstcontroller.c:
234 Aggregate return value for gst_controller_sync_values(). More info in
235 logging. Always set values on first sync-call.
237 * libs/gst/controller/gstcontrolsource.c:
240 * libs/gst/controller/gsthelper.c:
241 Fix return code and comment.
243 2008-12-09 Stefan Kost <ensonic@users.sf.net>
245 * tools/gst-launch.1.in:
246 Fix description of how to specify a type in caps. Fixes #553873.
247 Also ranges and list contain values and not property-assignments.
249 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
251 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
252 Check for changed pads-list before checking the last returned
253 GstFlowReturn because the pad could have been removed and we
254 need to ignore the value in that case.
256 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
258 * libs/gst/base/gstbasetransform.c:
259 (gst_base_transform_prepare_output_buffer),
260 (gst_base_transform_getrange), (gst_base_transform_chain):
261 * libs/gst/base/gstbasetransform.h:
262 Add vmethod that is called before we start the transform and which can
263 be used to configure the transform, such as dynamic properties.
265 2008-12-05 David Schleef <ds@schleef.org>
268 Search for plugins on win32 based on the location of the
269 gstreamer DLL. Fixes #548786
271 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
274 Apparently AC_CONFIG_MACRO_DIR breaks when using more
275 than one macro directory, reverting last change.
277 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
280 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
283 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
285 Patch by: Cygwin Ports maintainer
286 <yselkowitz at users dot sourceforge dot net>
290 Require gettext 0.17 because older versions don't mix with libtool
291 2.2. At build time an older gettext version will still work.
294 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
296 Patch by: 이문형 <iwings at gmail dot com>
298 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
299 Adds support for FD_CONNECT event (win32). See #562258.
301 2008-11-24 Stefan Kost <ensonic@users.sf.net>
303 * libs/gst/base/gstbasesink.c:
304 Turn comment into gtk-doc comment.
306 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
308 * libs/gst/base/gstbasetransform.c:
309 (gst_base_transform_acceptcaps):
310 Revert quick accepcaps attempt, it's not fully equivalent to the old
311 behaviour and thus causes regressions.
313 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
315 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
318 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
320 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
322 * gst/gstregistry.c: (gst_registry_scan_path_level):
323 Reduce the number of stat() calls for every file from three times
324 to one time. Fixes bug #560360.
326 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
328 * libs/gst/base/gstbasetransform.c:
329 (gst_base_transform_acceptcaps):
330 Rename a variable to make the code clearer.
332 2008-11-21 Stefan Kost <ensonic@users.sf.net>
334 * plugins/elements/gstidentity.c:
335 Don't warning on offset==-1. Taken from _check_imperfect_offset().
337 2008-11-21 Michael Smith <msmith@songbirdnest.com>
339 * plugins/elements/gstfilesrc.c:
340 Check for localhost in URI was backwards, fix it. Fixes unit test.
342 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
344 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
345 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
346 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
347 Add beginnings of a more optimized acceptcaps function than the default
350 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
352 * gst/gstpad.c: (gst_pad_accept_caps):
353 Avoid getting the acceptcaps function too early.
355 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
357 * tools/gst-launch.c: (event_loop):
358 Make gst-launch handle LATENCY messages and make it recalculate the
361 2008-11-20 Michael Smith <msmith@songbirdnest.com>
363 * plugins/elements/gstfilesrc.c:
364 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
365 out own slightly incorrect version. Fixes use of some paths on
368 2008-11-20 Michael Smith <msmith@songbirdnest.com>
370 * gst/gstregistrybinary.c:
371 In win32 codepath, if we fail to write the registry, create the
372 directory for it and try again, matching the behaviour in non-win32
375 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
377 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
378 Changing the render delay changes the latency and so we must post a
381 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
385 Add GstQueryType for custom queries instead of having to use the
386 not-so-very-convenient registration infrastructure to register new
389 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
391 Patch by: Andrew Feren <acferen at yahoo dot com>
393 * gst/gstobject.c: (gst_object_default_deep_notify):
394 Unref the GEnumClass after usage again. Fixes bug #561501.
396 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
398 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
399 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
400 (gst_bin_change_state_func):
402 Add do-latency signal with the old default fallback implementation. This
403 allows for custom latency calculations for when the default is not
405 API: GstBin::do-latency signal.
407 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
409 * win32/common/libgstreamer.def:
410 Add new symbols to .def file.
412 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
414 * docs/gst/gstreamer-sections.txt:
415 * gst/gstbin.c: (gst_bin_recalculate_latency),
416 (gst_bin_change_state_func):
418 Add method to recalculate and redistribute the latency on a bin.
419 API: gst_bin_recalculate_latency().
421 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
424 Document the free_func.
426 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
428 * libs/gst/controller/gstinterpolation.c:
429 * libs/gst/controller/gstlfocontrolsource.c:
430 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
431 as it is mapped to a cast on non-win32 platforms.
433 2008-11-17 Stefan Kost <ensonic@users.sf.net>
435 * libs/gst/controller/gstcontroller.c:
436 * libs/gst/controller/gstcontrollerprivate.h:
437 Keep last-value and only call set_property if value has changed. This
438 supresses all the g_object_notifies we would trigger otherwise. It
439 also allows the user to chage the value while there is no controller
442 2008-11-17 Stefan Kost <ensonic@users.sf.net>
445 Don't crash if either of the string GValues is empty.
447 2008-11-17 Andy Wingo <wingo@pobox.com>
449 * tools/gst-inspect.c (print_all_uri_handlers): New function,
450 prints a summary of what URI schemes are supported by what
452 (main): Plumb in support for --uri-handlers or -u, and fix the
453 argc check for -a and -u.
455 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
458 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
459 conversion functions.
461 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
463 * gst/gstbuffer.c: (gst_buffer_finalize):
464 Avoid costly typechecking for trivially correct pointers.
466 * gst/gstpoll.c: (gst_poll_wait):
467 Add some G_LIKELY here and there.
469 * libs/gst/base/gstadapter.c: (gst_adapter_push):
472 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
474 * docs/random/wtay/poll-timeout:
477 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
479 * tests/old/testsuite/caps/intersection.c: (main):
480 * tests/old/testsuite/plugin/loading.c: (main):
481 Remove references to deprecated API g_mem_chunk*.
484 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
486 * tools/gst-inspect.c: (main):
487 Add --plugin option. Fixes #560301.
489 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
491 * docs/random/wtay/poll-timeout:
492 Quick braindump for a possible (not totally verified) atomic case.
494 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
496 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
497 (gst_registry_binary_initialize_magic),
498 (gst_registry_binary_write_cache),
499 (gst_registry_binary_check_magic):
500 * gst/gstregistrybinary.h:
501 Don't write and check a CRC for the binary registry file. It's
502 guaranteed that the registry is completely written (it's first written
503 to a temporary file and then moved) and if the registry was corrupted
504 by some hardware failure we would have bigger problems.
506 Bump binary registry version to 0.10.21.1 for this as it's an
507 incompatible change and to ensure that the registry gets rebuild
510 This saves some milliseconds for reading/writing the registry.
513 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
515 * docs/random/wtay/poll-timeout:
516 Some pseudo code for how we could implement clock timeouts with GstPoll.
518 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
520 * plugins/elements/gstfilesink.c:
521 Update Author string to match others.
523 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
525 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
526 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
527 being fixed and inline the trivial check.
529 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
531 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
532 (gst_caps_merge_structure), (gst_caps_get_structure),
533 (gst_caps_copy_nth), (gst_caps_set_simple),
534 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
535 (gst_caps_is_equal_fixed), (gst_caps_intersect),
536 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
537 (gst_caps_to_string):
538 Callgrind micro optimisations.
539 Avoid array bounds checks and force inline of trivial function.
541 * gst/gstobject.c: (gst_object_set_name_default):
542 -1 is equivalent to letting glib to the strlen but then there is more
543 room for optimisations and it's not our fault.
545 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
546 no need to clear the array, we're cool.
548 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
549 The most common _is_fixed() check is done on fundamental glib base
550 types so we check this first instead of doing a huge amount of
551 useless GST_TYPE_ARRAY calls.
553 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
556 Add a SKIP seek flag for use with advanced trickmodes.
557 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
559 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
561 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
562 No need to memset, we can clear the value ourselves.
564 * gst/gstvalue.c: (gst_type_is_fixed),
565 (gst_value_get_compare_func):
566 Some optimisations from a few callgrind sessions:
567 When checking if a type is fixed, check for trivial fundamental types
568 first before checking types for which we need to get the type followed
569 by the heavy duty type checks, this reduces the amount of
570 g_type_fundamental() calls a lot.
571 When getting the compare function, first check for our registered types.
572 If that fails, do the heavy duty g_type_is_a() checks, reduces the
573 amount of g_type_is_a() considerably.
575 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
577 * docs/design/part-TODO.txt:
578 Mumble something about removing GstXML.
580 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
582 * gst/gstbin.c: (gst_bin_handle_message_func):
583 Get the seqnum before we dispose the message.
585 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
587 * docs/design/part-TODO.txt:
588 Refer to the framestepping document.
590 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
592 * gst/gstbin.c: (bin_handle_async_start),
593 (gst_bin_handle_message_func), (gst_bin_query):
594 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
595 (gst_base_sink_event), (gst_base_sink_change_state):
596 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
597 (gst_base_src_loop), (gst_base_src_change_state):
598 Copy seqnums from events to messages so that they can all be related
601 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
603 * tools/gst-launch.c: (event_loop):
604 Print the message seqnums.
606 2008-11-04 Andy Wingo <wingo@pobox.com>
608 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
610 2008-11-04 Andy Wingo <wingo@pobox.com>
612 Add sequence numbers to events and messages. See #559250.
614 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
618 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
619 events with a new sequence number, and copy it when copying.
620 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
621 an event's sequence number.
624 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
625 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
628 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
630 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
632 * docs/manual/advanced-position.xml:
633 * docs/manual/basics-bins.xml:
634 * docs/manual/basics-bus.xml:
635 * docs/manual/basics-pads.xml:
636 * docs/manual/intro-gstreamer.xml:
637 * docs/manual/intro-preface.xml:
638 Some Application Development Manual fixes thanks to
639 Andrew Feren. Fixes #558459.
641 2008-11-03 Stefan Kost <ensonic@users.sf.net>
643 * gst/gstregistrybinary.c:
644 Don't bother with the GTimer if we don't output the results.
646 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
648 Patch by: David Schleef <ds@schleef.org>
650 * libs/gst/net/Makefile.am:
651 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
653 2008-10-31 Stefan Kost <ensonic@users.sf.net>
655 * gst/gstregistrybinary.c:
656 Oh my, studip, stupid me. Remove double stat() call.
658 2008-10-31 Stefan Kost <ensonic@users.sf.net>
661 Use g_unlink instead of unlink.
663 * gst/gststructure.c:
672 Formatting & whitespaces.
674 2008-10-31 Stefan Kost <ensonic@users.sf.net>
676 * plugins/elements/gstidentity.c:
677 Doc typo. Use return value of parent_class->event.
679 * plugins/elements/gsttypefindelement.c:
680 Chain up at the end for consistency.
682 2008-10-30 Stefan Kost <ensonic@users.sf.net>
685 * docs/gst/gstreamer-docs.sgml:
686 * docs/gst/gstreamer-sections.txt:
687 * docs/gst/running.xml:
688 * docs/libs/gstreamer-libs-docs.sgml:
689 Change to xinclude based build - its faster and easier to maintain.
691 2008-10-30 Stefan Kost <ensonic@users.sf.net>
693 * gst/gstregistrybinary.c:
694 * gst/gstregistryxml.c:
695 Use g_unlink() as none of these are directories.
697 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
699 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
702 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
704 * libs/gst/base/gstbasetransform.c:
705 (gst_base_transform_find_transform), (gst_base_transform_getrange):
706 If we have a fixate function, call it even if we already have fixed caps
707 because the subclass might add some caps. Makes audioconvert add a
708 default channel layout.
710 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
712 * libs/gst/base/gstbasetransform.c:
713 (gst_base_transform_prepare_output_buffer),
714 (gst_base_transform_getrange):
715 Clear the output buffer variable.
716 Cleanups to the error path in the getrange function.
719 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
721 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
722 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
723 Use gst_buffer_try_new_and_alloc() and handle errors instead of
724 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
727 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
729 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
730 Set the last_stop to a more meaningful position when configuring the
731 segment. ie. the start/stop of the segment or clipped against the
732 updated segment boundaries.
734 * tests/check/gst/gstsegment.c: (GST_START_TEST):
735 Add some unit tests for the last_stop.
737 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
739 * libs/gst/base/gstbytereader.c:
740 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
743 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
745 * docs/gst/gstreamer-sections.txt:
747 API: Move float endianness conversion macros from libgstfloatcast
748 to core as it's useful in general, even in core. Fixes bug #555196.
749 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
750 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
751 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
753 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
754 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
755 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
756 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
758 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
760 * docs/libs/gstreamer-libs-sections.txt:
761 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
762 (gst_byte_reader_peek_data):
763 * libs/gst/base/gstbytereader.h:
764 * win32/common/libgstbase.def:
765 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
766 to get a pointer to the data at the current position and have
769 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
772 Fix a bug in the output of the configure script summary
773 when --gst-disable-registry is supplied
775 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
777 * libs/gst/base/gstbitreader.c:
778 * libs/gst/base/gstbytereader.c:
779 Fix the names of 2 functions in the docs strings.
781 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
783 * libs/gst/base/gstbasetransform.c:
784 (gst_base_transform_prepare_output_buffer),
785 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
786 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
787 refcount problems as seen in banshee and maybe also in farsight2.
788 Remove atomic int now that we need to take the lock anyways.
790 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
792 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
793 (gst_base_sink_default_prepare_seek_segment),
794 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
795 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
796 (gst_base_sink_query):
797 Implement more seeking in pull mode.
798 Use pad convert functions to convert position to the requested format.
799 Fix position/duration reporting in pull mode.
800 Implement position and duration reporting in other formats than time.
802 * libs/gst/base/gstbasesink.h:
803 Add member to keep track of when the segment is playing.
805 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
807 * gst/gstpad.c: (gst_pad_configure_src):
808 When we use gst_pad_alloc_buffer() without wanting to set the caps we
809 also don't need to check if the caps are compatible because the caller
810 presumably is going to perform its own custom checks. Fixes some cases
811 where basetransform elements would error out when it was not needed.
813 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
815 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
818 * libs/gst/base/gstbasetransform.c:
819 (gst_base_transform_handle_buffer),
820 (gst_base_transform_reconfigure):
823 * win32/common/libgstbase.def:
826 2008-10-19 Stefan Kost <ensonic@users.sf.net>
828 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
829 Remove duplicated assignment and log a message in failure case.
831 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
833 Patch by: Dig Ge <dig.ge.cn at gmail com>
835 * tests/examples/helloworld/helloworld.c: (main):
836 Fix copy'n'paste bug in hello world example (#556900).
838 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
840 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
841 (gst_base_sink_query):
842 Query the total number of bytes when activating the pad in pull mode.
843 Implement duration query in pull mode by using the installed pad convert
844 function to convert from bytes to the requested format.
846 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
848 * docs/libs/gstreamer-libs-sections.txt:
849 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
850 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
851 (gst_base_sink_event), (gst_base_sink_perform_seek),
852 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
853 (gst_base_sink_send_event), (gst_base_sink_change_state):
854 * libs/gst/base/gstbasesink.h:
855 Add method to commit the state in subclasses.
856 Refactor the flush_start and flush_stop code because we need it for
857 flushing while seeking too.
858 Implement the beginnings of seeking in pull mode.
859 Use the segment last_stop field for the pulling offset.
860 Fix the pause method in pull mode.
861 Configure the segment to BYTES for pull mode.
862 API: GstBaseSink::gst_base_sink_do_preroll()
864 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
866 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
869 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
871 * gst/gstquark.c: (_priv_gst_quarks_initialize):
872 Fix printf format warning.
874 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
876 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
877 Fix flow aggregation of tee. Error out immediately for all flow returns
878 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
879 and return OK if at least one pad is linked.
881 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
882 and otherwise returned the flow return of the last pad, which is wrong.
884 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
885 (GST_START_TEST), (tee_suite):
886 Add unit tests for the flow aggregation.
888 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
890 * docs/design/part-TODO.txt:
891 Remove item from the todo list because it was fixed with the latency
892 state change rewrites.
894 * docs/design/part-seeking.txt:
895 * docs/design/part-segments.txt:
898 * gst/gstevent.c: (gst_event_new_new_segment_full),
899 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
900 (gst_event_parse_buffer_size), (gst_event_new_qos),
901 (gst_event_parse_qos), (gst_event_new_seek),
902 (gst_event_parse_seek), (gst_event_new_latency),
903 (gst_event_parse_latency):
904 Use quarks to construct and parse events.
906 * gst/gstquark.c: (_priv_gst_quarks_initialize):
908 Add some more quarks to the table.
909 Emit a warning when the quark tables are not in sync.
911 * tests/check/gst/gstbus.c: (GST_START_TEST):
914 2008-10-13 Stefan Kost <ensonic@users.sf.net>
916 * plugins/elements/Makefile.am:
917 * plugins/indexers/Makefile.am:
918 Don't install static libs for plugins. Fixes #550851 for core.
920 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
922 * gst/gstbus.c: (gst_bus_source_finalize),
923 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
924 (gst_bus_enable_sync_message_emission),
925 (gst_bus_disable_sync_message_emission),
926 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
927 Fix deadlock, g_source_get_id() cannot be called in finalize.
928 Keep track of the watch source by keeping a pointer to the source object
930 Use the bus lock to protect access to the pointer to the current
933 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
935 Base on Patch by: Olivier Crete <tester at tester dot ca>
937 * gst/gstbus.c: (gst_bus_source_finalize),
938 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
939 Only allow one bus watch to be set at a time. This is necessary
940 because the dispatcher pops the message from the bus and the second
941 watcher will then get NULL or the next message (and the first won't
942 get this next message then, etc). If more than one "watcher" is
943 required signal watches should be used. Fixes bug #526044.
945 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
947 * tools/gst-launch.c:
948 Change the printing of the 'buffering...' output to avoid putting
949 a \r in a translateable string (flagged by the TP).
951 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
954 Clarify that the save_thyself() and restore_thyself() virtual
955 functions of GstObject need to be overriden, not
956 gst_object_(save|restore)_thyself() which is impossible.
959 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
961 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
962 Revert a patch from 21 months ago that broke caps negotiation in pull
963 mode. Basically, having a buffer pass over a pad will trigger the
964 setcaps function when caps change, just like in push mode.
966 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
968 * docs/design/part-negotiation.txt:
969 Update the docs some more.
971 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
972 If we pull a buffer with non-trivial caps, suggest those caps with the
975 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
977 * docs/design/part-TODO.txt:
978 Add another limitation of pad-blocking with segment seeks not pushing
981 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
983 * win32/common/libgstbase.def:
984 * win32/common/libgstreamer.def:
985 Add new symbols to the win32 defs files
987 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
989 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
990 (gst_bin_handle_message_func):
991 The message src can be NULL, don't try to print the object names in that
994 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
995 Add some more debug info.
997 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1000 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1003 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1005 * docs/design/part-negotiation.txt:
1008 * docs/libs/gstreamer-libs-sections.txt:
1009 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1010 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1011 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1012 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1013 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1014 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1015 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1016 (gst_base_sink_change_state):
1017 * libs/gst/base/gstbasesink.h:
1018 Add blocksize property and methods to control the amount of data
1020 Negotiate first before activating upstream in pull mode so that they can
1021 negotiate themselves.
1022 When we operate in pull mode, we only accept the caps that we
1024 Make the sink go ASYNC to PAUSED, like all other sinks.
1025 API: GstBaseSink::gst_base_sink_set_blocksize()
1026 API: GstBaseSink::gst_base_sink_get_blocksize()
1027 API: GstBaseSink::blocksize
1029 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1030 (gst_base_src_set_live), (gst_base_src_is_live),
1031 (gst_base_src_set_format), (gst_base_src_query_latency),
1032 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1033 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1034 (gst_base_src_set_property), (gst_base_src_get_property):
1035 * libs/gst/base/gstbasesrc.h:
1036 Add typechecking in public API functions.
1037 Add methods to control the blocksize in subclasses.
1038 API: GstBaseSrc::gst_base_src_set_blocksize()
1039 API: GstBaseSrc::gst_base_src_get_blocksize()
1041 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1043 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1044 (buffer_probe), (event_probe), (GST_START_TEST):
1045 We now see 3 events go through our pad, since basesink now sends
1046 upstream latency events.
1048 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1050 * gst/gstpipeline.c: (gst_pipeline_change_state):
1051 Release the object lock before trying to flush the bus.
1053 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1055 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1056 Forward LATENCY events upstreams so that elements know about the total
1057 pipeline latency. Fixes #555307.
1059 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1061 * plugins/elements/gstqueue.c:
1062 Allow through queries when we don't know how
1063 to adjust them (not TIME or BYTES), as otherwise it's
1064 not possible to query the current position in order
1065 to seek in other formats at all.
1067 2008-10-08 Andy Wingo <wingo@pobox.com>
1069 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1071 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1073 * gst/gstghostpad.c:
1074 * gst/gstghostpad.h:
1075 Unbreak -good build, private is a reserved c++ keyword.
1077 2008-10-08 Andy Wingo <wingo@pobox.com>
1079 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1080 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1081 removal: re-add GST_GHOST_PAD_CAST to the header.
1083 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1084 (GstGhostPadClass): Publically expose these structures so as to
1085 allow easy subclassing from C. Hide the member data behind a
1086 private opaque data pointer.
1088 * gst/gstghostpad.c: Adapt to store instance data in the type
1089 instance's private data region, not in the public struct.
1091 2008-10-08 Andy Wingo <wingo@pobox.com>
1093 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1094 template via g_object_get(), be sure to unref it.
1096 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1098 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1100 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1101 If we can't get a cache file don't try to save something to it.
1102 Dereferencing NULL pointers usually isn't a good idea.
1104 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1106 * tests/check/Makefile.am:
1107 * tests/check/gst/gstabi.c:
1108 * tests/check/gst/struct_sparc.h:
1109 * tests/check/libs/libsabi.c:
1110 * tests/check/libs/struct_sparc.h:
1111 Add Sparc ABI checks
1113 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1114 Cast signed integer to unsigned to avoid a compiler warning.
1116 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1118 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1119 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1120 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1121 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1122 (gst_byte_reader_peek_int24_be):
1123 Use new GST_READ_UINT24_(LE|BE) macros.
1125 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1127 * docs/gst/gstreamer-sections.txt:
1129 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1130 as it's too easy to break the ISO C strict aliasing rules with simple
1131 casts to the corresponding type and this would introduce hard to debug
1132 bugs. Fixes bug #545714.
1134 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1136 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1138 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1139 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1140 Add 'Since' bits to gtk-doc chunks for new API.
1142 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1144 * docs/gst/gstreamer-sections.txt:
1147 2008-10-06 Andy Wingo <wingo@pobox.com>
1149 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1150 that will be called on the malloc_data to free it. Basically a way
1151 to avoid subclassing when all you need is a different free
1152 function, i.e. free() instead of g_free().
1154 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1155 calling the free function.
1156 (gst_buffer_init): Initialize the free function to g_free.
1158 2008-10-06 Andy Wingo <wingo@pobox.com>
1160 * gst/gstghostpad.h:
1161 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1162 finishes the initialization of ghost pad. Useful for language
1163 bindings and subclassers of GstGhostPad. Fixes #539108.
1164 (gst_ghost_pad_new_full): Use the new constructor.
1166 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1168 Base on Patch by: Olivier Crete <tester at tester dot ca>
1170 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1171 (gst_bin_remove_func), (update_degree),
1172 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1173 Keep track of pads that are being linked/unlinked and resync the state
1176 * gst/gstpad.c: (gst_pad_get_direction),
1177 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1178 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1179 (gst_pad_link_prepare), (gst_pad_link),
1180 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1181 (gst_pad_check_pull_range), (gst_pad_get_range),
1182 (gst_pad_pull_range):
1183 Some code cleanups, use macros to check pad direction.
1184 Don't need to take the lock on the pad direction.
1185 Post structure change when pads are linked/unlinked.
1186 Change some checks into _return_if_fail().
1188 * tests/check/gst/gstbin.c:
1189 (test_link_structure_change_state_changed_sync_cb),
1190 (GST_START_TEST), (gst_bin_suite):
1191 Add testcase for pad link/unlinke resync during a state change.
1194 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1196 * docs/gst/gstreamer-sections.txt:
1197 * gst/gstmessage.c: (gst_message_new_structure_change),
1198 (gst_message_parse_structure_change):
1200 Implement STRUCTURE_CHANGED messages. These messages will be used to
1201 signal the parent bin of link/unlink operations that could require a
1202 resync when doing a state change. See ##510354.
1203 API: gst_message_new_structure_change()
1204 API: gst_message_parse_structure_change()
1206 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1210 Add some more quarks for new message. See #510354.
1212 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1214 * docs/libs/gstreamer-libs-docs.sgml:
1215 * docs/libs/gstreamer-libs-sections.txt:
1216 * libs/gst/base/Makefile.am:
1217 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1218 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1219 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1220 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1221 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1222 (gst_bit_reader_skip_to_byte):
1223 * libs/gst/base/gstbitreader.h:
1224 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1225 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1226 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1227 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1228 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1229 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1230 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1231 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1232 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1233 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1234 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1235 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1236 * libs/gst/base/gstbytereader.h:
1237 * tests/check/Makefile.am:
1238 * tests/check/libs/bitreader.c: (GST_START_TEST),
1239 (gst_bit_reader_suite):
1240 * tests/check/libs/bytereader.c: (GST_START_TEST),
1241 (gst_byte_reader_suite):
1242 API: Add bit reader and byte reader classes, including documentation
1243 and an extensive unit test suite. Fixes bug #553554.
1245 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1247 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1248 (gst_base_sink_query):
1249 Improve position reporting while flushing and other intermediate state
1250 changes. Fixes #553874.
1252 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1254 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1256 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1257 Original patch by : Simon Descaries
1258 Fix small refount leak in caps compatibility check.
1261 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1263 * docs/pwg/advanced-request.xml:
1264 Fix 0.8 api usage in example. Fixes #554561
1266 * docs/pwg/appendix-porting.xml:
1267 Change 0.9 to 0.10 here.
1269 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1271 * docs/manual/basics-data.xml:
1272 Change "event-event interaction" to "element-element interaction".
1273 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1276 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1279 Back to development -> 0.10.21.1
1281 === release 0.10.21 ===
1283 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1286 releasing 0.10.21, "Take These Things From Me"
1288 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1291 0.10.20.4 pre-release
1293 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1295 * libs/gst/base/gstbasetransform.c:
1296 * plugins/elements/gstcapsfilter.c:
1297 * tests/check/Makefile.am:
1298 * tests/check/elements/.cvsignore:
1299 * tests/check/elements/capsfilter.c:
1300 Fix assertion in basetransform when the subclass chooses not to
1301 allocate a buffer in prepare_buffer(), and make capsfilter error out
1302 cleanly if requested to apply caps that don't completely specify the
1303 buffer. Fixes #551509
1305 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1307 * libs/gst/base/gstbasetransform.c:
1308 (gst_base_transform_prepare_output_buffer):
1309 Take new caps ref because our old one might have been gone when the
1310 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1312 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1315 Do not probe availability of check unit test library when cross
1316 compiling, as test would not work anyway. Also cleanup verbose output
1317 of the check test. Fixes #551952.
1319 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1321 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1323 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1324 Avoid leaking the parent ref when we fail changing the state of the
1325 element using gst_element_sync_state_with_parent(). Fixes #551978.
1327 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1329 * docs/manual/intro-motivation.xml::
1330 Remove some bits that no longer apply, update others (#551642).
1332 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1335 0.10.20.2 pre-release
1343 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1345 * win32/common/config.h.in:
1346 Add GST_DATADIR, hard-code cpu to x86.
1348 * win32/common/libgstreamer.def:
1351 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1354 Fix Since: markers for new geo tags.
1356 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1359 Fix actual tag name define after renaming from altitude to elevation.
1361 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1363 * gst/gstpad.c: (add_unref_pad_to_list),
1364 (gst_pad_get_internal_links_default):
1365 Add fallback when calling the deprecated function on an element that
1366 implements the new internal_link handler.
1368 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1370 * docs/gst/gstreamer-sections.txt:
1373 Add new tags for geo location and clarify purpose of existing location
1376 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1378 Patch by: Olivier Crete <tester at tester dot ca>
1380 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1381 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1382 Use thread-safe internal links iterator. Fixes #549504.
1384 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1386 Based on patch by: Olivier Crete <tester at tester dot ca>
1388 * docs/gst/gstreamer-sections.txt:
1389 * win32/common/libgstreamer.def:
1390 * gst/gstpad.c: (gst_pad_init),
1391 (gst_pad_set_iterate_internal_links_function),
1392 (int_link_iter_data_free), (iterate_pad),
1393 (gst_pad_iterate_internal_links_default),
1394 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1396 Add threadsafe replacement functions for getting internal links of an
1397 element. Deprecate the old internal links functions.
1398 API:GstPad::gst_pad_set_iterate_internal_links_function()
1399 API:GstPad::GstPadIterIntLinkFunction
1400 API:GstPad::gst_pad_iterate_internal_links()
1401 API:GstPad::gst_pad_iterate_internal_links_default()
1403 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1404 (gst_proxy_pad_init):
1405 Implement threadsafe internal links.
1407 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1408 Unit test for internal links on tee. See #549504.
1410 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1412 * tests/check/Makefile.am:
1413 libs/transform1 test requires libs/test_transform.c
1415 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1417 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1418 Die evil deadlock, die !
1420 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1422 * gst/gstutils.c: (gst_element_get_compatible_pad):
1423 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1424 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1425 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1426 not steal the refcount of the given caps as stated.
1428 REVERT THIS COMMIT ONCE FIXED !
1429 REVERT THIS COMMIT ONCE FIXED !
1430 REVERT THIS COMMIT ONCE FIXED !
1431 REVERT THIS COMMIT ONCE FIXED !
1432 REVERT THIS COMMIT ONCE FIXED !
1433 REVERT THIS COMMIT ONCE FIXED !
1435 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1437 * gst/gstiterator.c:
1438 * gst/gstiterator.h:
1439 After 3 years it's about time to revise the documentation of the
1442 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1444 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1445 Make the internal links function less thread-unsafe and add some
1446 comments, dunno why.
1448 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1450 * gst/gst_private.h:
1451 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1452 build with --disable-gst-debug.
1454 2008-08-28 David Schleef <ds@schleef.org>
1456 * gst/gstpadtemplate.c: Revert last change, since it breaks
1457 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1458 but shouldn't be enabled until we've released fixed versions
1459 of -good and -ffmpeg.
1461 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1464 Put the gst_object_get_name() back in.
1466 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1468 * gst/gstpadtemplate.c:
1469 The old behaviour was that gst_pad_template_new() takes ownership of
1470 the caps. As we now call g_object_new() which calls g_object_set() and
1471 which copies the caps, we have to unref them to not leak them. Fixes
1472 make valgrid for me.
1474 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1477 Don't segfault on input like "tel:+1-123-555-1234".
1479 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1482 Due to popular request also include ObjectType in
1483 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1485 2008-08-26 David Schleef <ds@schleef.org>
1487 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1488 src_val must be positive, because that's not a requirement.
1489 This causes problems with converting negative granulepos
1491 * gst/gstquery.c: Same, gst_query_new_convert().
1493 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1495 * gst/gstclock.c: (gst_clock_add_observation):
1496 Add some more debugging to the clock slaving code.
1498 * win32/common/libgstbase.def:
1499 Add new basetransform method.
1501 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1503 * gst/gstbin.c: (gst_bin_element_set_state):
1504 Take the (recursive) state lock between getting the locked state of an
1505 element and changing the element state. This allows the application to
1506 lock an element's state and then change its state without races.
1508 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1510 * gst/gstbin.c: (gst_bin_element_set_state):
1511 When an element is in the locked state we still want to update the
1512 base_time of the element.
1514 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1516 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1517 Use the result from gst_pad_set_caps() instead of assuming the element
1518 always accepted the caps computed by the default negotiate function.
1520 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1522 * docs/libs/gstreamer-libs-sections.txt:
1523 * libs/gst/base/gstbasetransform.c:
1524 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1525 (gst_base_transform_chain), (gst_base_transform_suggest),
1526 (gst_base_transform_reconfigure):
1527 * libs/gst/base/gstbasetransform.h:
1528 Implement method for reconfiguring basetransform.
1529 API: GstBaseTransform::gst_base_transform_reconfigure()
1531 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1533 patch by: Murray Cumming <murrayc@murrayc.com>
1536 Mention that this is just like gst_buffer_merge() but with extra
1537 unreffing for C coders. Advise language bindings not to wrap it.
1540 Also fix file comment.
1542 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1544 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1546 * plugins/elements/gstfakesink.c:
1547 * plugins/elements/gstfakesrc.c:
1548 Call super::event() when not handling it. Fixes #544855.
1550 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1552 Patch by: Alessandro Decina <alessandro@nnva.org>
1553 * plugins/elements/gstfilesrc.c:
1554 Use 64 bit variants of stat functions on win32, to enable support
1555 of large files there.
1558 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1560 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1561 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1562 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1563 (gst_base_sink_get_position), (gst_base_sink_change_state):
1564 Improve position reporting in the flushing state.
1565 Also report the position when we are not yet prerolled but we
1566 have a newsegment event. Fixes #543444.
1567 Improve the pull-based negotiation code.
1569 * tests/check/elements/fakesink.c: (GST_START_TEST),
1571 Add testcase for position reporting while flushing in PAUSED and
1574 * tests/check/generic/sinks.c: (GST_START_TEST):
1575 Update unit-test, we can now query the position as soon as we receive a
1578 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1580 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1582 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1583 When the subclass event handler releases the PREROLL_LOCK, we could be
1584 in the flushing state and we have to ignore the event. Fixes #548394.
1586 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1588 * tools/gst-launch.1.in:
1589 Document GST_REGISTRY_UPDATE environment variable.
1591 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1593 * libs/gst/base/gstbasetransform.c:
1594 (gst_base_transform_prepare_output_buffer):
1595 If the element is configured in passthrough mode but the
1596 prepare_output_buffer gave us a new output buffer, discard that buffer
1597 and reuse the input buffer.
1599 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1601 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1603 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1604 (gst_tee_request_new_pad), (gst_tee_release_pad),
1605 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1606 * plugins/elements/gsttee.h:
1607 Protect pad_alloc with a new lock so that we can be sure that nothing is
1608 performing a pad_alloc when removing the pad. Fixes #547835.
1610 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1611 (buffer_alloc_harness_teardown), (app_thread_func),
1612 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1613 Added testcase for shutdown race.
1615 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1620 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1622 * libs/gst/base/gstbasetransform.c:
1623 (gst_base_transform_prepare_output_buffer),
1624 (gst_base_transform_buffer_alloc):
1625 Go over the buffer_alloc function again and make sure we always end up
1626 allocating a buffer.
1628 Avoid doing pad alloc when we have a pending suggestion because we
1629 cannot yet deal with changing caps in that case. Fixes #547728
1631 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1633 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1635 * docs/manual/advanced-clocks.xml:
1636 * docs/manual/clocks.png:
1637 * docs/manual/diagrams-clocks.svg:
1638 Add one more image showing different times together with a describing
1639 paragraph. Fixes #547729.
1641 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1643 * win32/common/libgstbase.def:
1646 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1648 * libs/gst/base/gstbasetransform.c:
1649 (gst_base_transform_transform_caps),
1650 (gst_base_transform_prepare_output_buffer),
1651 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1652 Don't overwrite the outsize when calculating the expected size of a new
1653 buffer because we still need it in case we cannot process the new
1655 When converting the size of the new buffer to an upstream size, actually
1656 use the expected size of the buffer, not some other random value.
1657 Use an atomic int to signal that a new upstream caps suggestion is
1659 When we can convert the current buffer to a new format, check if the
1660 buffer size is of the expected size and allocate a new buffer of the
1661 expected size when this is not the case. Fixes #546883.
1663 * tests/check/libs/transform1.c: (GST_START_TEST):
1664 remove ifdeffed code from the unit test.
1666 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1668 * pkgconfig/gstreamer-uninstalled.pc.in:
1669 * pkgconfig/gstreamer.pc.in:
1670 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1671 called gstcontroller-0.10.
1673 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1675 * gst/gstchildproxy.h:
1677 Remove double interface from doc-string.
1679 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1681 * libs/gst/base/gstbasesrc.c:
1682 * libs/gst/base/gstbasetransform.c:
1683 Fix headings in docs and gtk-doc warnings.
1685 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1687 * gst/gstregistrybinary.c:
1688 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1692 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1694 * libs/gst/base/gstbasetransform.c:
1695 (gst_base_transform_buffer_alloc):
1696 Fix a "may be used unitialized" warning.
1698 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1700 * docs/gst/gstreamer-sections.txt:
1702 Document preset-iface vmethods.
1704 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1706 * docs/manual/advanced-interfaces.xml:
1707 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1708 only used to discover devices.
1710 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1712 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1714 * gst/gst.c: (init_pre):
1715 Make sure gettext returns translations in UTF-8 encoding rather
1716 than in the current locale encoding (#546822).
1718 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1720 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1723 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1724 Improve unit test subset tests and add a testcase for the subset failure
1727 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1728 Improve subtraction unit test.
1730 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1732 * plugins/elements/gsttee.c:
1733 Unlock, instead of locking again.
1735 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1738 Clarify the docs a bit more.
1740 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1742 * tests/examples/metadata/read-metadata.c:
1743 Don't leak old taglist.
1745 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1747 Patch by: Olivier Crete <tester at tester dot ca>
1749 * gst/gststructure.c:
1750 (gst_structure_fixate_field_nearest_fraction):
1751 Avoid overflows in fixation code when dealing with MAXINT values, which
1752 v4l2src seems to do.
1755 * tests/check/gst/gststructure.c: (GST_START_TEST):
1756 Make a unit test to check the fix.
1758 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1760 * plugins/elements/gstcapsfilter.c: (copy_func),
1761 (gst_capsfilter_set_property):
1762 Use new caps suggestion feature of basetransform to request a caps
1763 negotiation upstream.
1765 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1767 * docs/libs/gstreamer-libs-sections.txt:
1769 API: GstBaseTransform::gst_base_transform_suggest()
1771 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1772 (gst_base_transform_init), (gst_base_transform_transform_caps),
1773 (gst_base_transform_transform_size),
1774 (gst_base_transform_configure_caps),
1775 (gst_base_transform_can_transform),
1776 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1777 (gst_base_transform_prepare_output_buffer),
1778 (gst_base_transform_buffer_alloc),
1779 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1780 (gst_base_transform_chain), (gst_base_transform_activate),
1781 (gst_base_transform_set_passthrough),
1782 (gst_base_transform_is_passthrough),
1783 (gst_base_transform_set_in_place),
1784 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1785 (gst_base_transform_set_qos_enabled),
1786 (gst_base_transform_is_qos_enabled),
1787 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1788 (gst_base_transform_reconfigure):
1789 * libs/gst/base/gstbasetransform.h:
1790 Rewrite of basetransform to perform negotiation outside of the
1791 buffer_alloc functions. Fixes #545853.
1793 * tests/check/libs/transform1.c: (GST_START_TEST),
1797 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1799 * tests/check/gst/gstpreset.c:
1800 Only run preset tests when $HOME is writable. Preliminary fix for
1803 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1805 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1806 (gst_bin_change_state_func), (bin_handle_async_done),
1807 (gst_bin_handle_message_func):
1808 Fix race for bins that simulate ASYNC state changes by inserting
1809 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1810 pending ASYNC messages even when the bin does not have ASYNC children.
1811 We note detect this behaviour because we will receive an ASYNC message
1812 that is originating from the bin itself.
1813 Fixes races with decodebin2 state changes.
1815 * tests/check/gst/gstbin.c: (GST_START_TEST):
1816 Add some more debug.
1818 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1820 * gst/gsttaglist.c: (_gst_tag_initialize):
1823 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1826 Argh. actually save the text before committing. Now adds
1827 gst_tag_merge_strings_with_comma() to gst_tag_register().
1829 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1833 Do as tim pointed out and actually register the new tag. Also improve
1834 te docs and use gst_tag_merge_strings_with_comma() method to allow
1835 retriving all keywords merged in one list.
1837 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1840 * docs/gst/gstreamer.types:
1841 Revert 'accidential' change of the configure option removal. We still
1842 need to generate the types file in configure --disable-load-save.
1844 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1846 * docs/gst/gstreamer-sections.txt:
1848 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1850 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1852 * gst/gstpadtemplate.c:
1853 (gst_pad_template_class_init), (gst_static_pad_template_get),
1854 (gst_pad_template_new), (gst_pad_template_pad_created),
1855 (gst_pad_template_set_property), (gst_pad_template_get_property):
1856 Add "name-template", "direction", "presence" and "caps" properties,
1857 so that gst_pad_template_new() is just a thin wrapper around
1858 g_object_new(), which is better for bindings. (Fixes: #539772)
1860 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1863 Be more liberal in what URIs we accept.
1864 Do not unescape bits of the URI for no apparent reason before passing to
1865 the element. Fixes #545352.
1867 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1869 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1872 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1874 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1877 * docs/gst/gstreamer-sections.txt:
1878 * docs/gst/gstreamer.types:
1879 * docs/gst/gstreamer.types.in:
1882 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1883 * gst/gstconfig.h.in:
1884 * gst/gstelement.c: (gst_element_get_index):
1885 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1886 (gst_registry_binary_load_feature),
1887 (gst_registry_binary_read_cache):
1888 * gst/gstregistryxml.c: (load_feature),
1889 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1890 * plugins/Makefile.am:
1892 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1893 (print_plugin_features), (print_element_features):
1894 * tools/gst-xmlinspect.c: (print_event_masks),
1895 (print_element_info):
1896 * win32/common/gstconfig.h:
1897 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1899 Disabling the indexers and URI handler code will only reduce the
1900 required amount of memory by a very small amount but on the other hand
1901 requires much more maintaince work. Apart from that many places of
1902 code are broken when disabling them.
1904 Disabling the enum types doesn't reduce the required amount of memory
1905 by more than a few bytes and makes it hard to fix bugs like #539772,
1906 i.e. use the enums as GObject properties.
1908 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1910 * docs/design/part-TODO.txt:
1911 Add some thoughts and problems with upstream renegotiation.
1913 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1915 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1916 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1917 Remove silly redundant debug.
1918 Add some more debug info.
1919 Clarify the docs regarding new caps received from pad_alloc.
1921 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1923 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1924 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1925 Make setting the caps more threadsafe.
1927 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1929 * docs/design/part-element-transform.txt:
1932 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1934 * plugins/elements/gstqueue.c: (gst_queue_init),
1935 (gst_queue_acceptcaps):
1936 Add and use a custom acceptcaps function instead of falling back to the
1937 potentially less optimized default implementation.
1939 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1941 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1942 Only sanity-check the buffer size if requested_caps == buffer_caps
1943 (ie. don't take pad caps into account, they're not relevant here)
1945 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1947 * plugins/elements/gsttee.c:
1948 * plugins/elements/gsttee.h:
1949 Reverting as not everything is clear yet. Needs some general design
1952 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1955 ChangeLog surgery for tee commit.
1957 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1959 * docs/gst/gstreamer-sections.txt:
1960 Cleanup section-file.
1962 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1964 * plugins/elements/gsttee.c:
1965 * plugins/elements/gsttee.h:
1966 Relay tag events in tee. Fixes parts of #474016.
1967 Downgrades 3 reoccurring debugs to log.
1969 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1972 * libs/gst/Makefile.am:
1973 Build the net library if we have winsock2.
1975 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1977 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1979 * docs/manual/advanced-threads.xml:
1980 * docs/manual/diagrams-pipelines.svg:
1981 * docs/manual/hello-world.png:
1982 * docs/manual/linked-elements.png:
1983 * docs/manual/mime-world.png:
1984 * docs/manual/queue.png:
1985 * docs/manual/thread-buffering.png:
1986 * docs/manual/thread-synchronizing.png:
1987 Replace one diagram with two separate ones and updates others.
1990 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1993 Fix link in documentation.
1995 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1998 Fix confusing documentation.
2000 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2002 * libs/gst/base/gstbasesrc.h:
2003 revert the changes to the header file for the ABI.
2005 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2007 * libs/gst/base/gstbasesrc.c:
2008 * libs/gst/base/gstbasesrc.h:
2009 Don't cache the seekable status.
2012 2008-07-24 Rene Stadler <mail@renestadler.de>
2014 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2015 code to close the pipeline graph. This prevents the program from
2016 printing internal data flow errors.
2018 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2020 * docs/manual/basics-bus.xml:
2021 Correct typo. Fixes bug #544320.
2023 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2026 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2027 Add check (taken from -base) for winsock, adds WIN32_LIBS
2029 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2031 Define GST_EXPORTS when building libgstreamer (only used on win32)
2032 * gst/gst_private.h:
2034 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2035 for symbols that we need to export in both these files.
2037 Include gst_private.h higher up to avoid some compile problems on win32.
2039 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2044 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2047 Previous commit was wrong NULL caps does not exist
2048 and indicate an error, so also add a FIXME to
2049 gst_caps_is_equal where NULL caps are accepted.
2051 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2054 Allow passing of NULL to gst_caps_union
2056 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2058 * gst/gstghostpad.c:
2059 Add in doc that gst_ghost_pad_set_target can accept
2060 NULL to clear target
2062 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2065 * gst/gstregistry.c:
2066 GstRegistryPool doesn't exist; don't refer to it in docs.
2067 Don't refer to functions that don't exist in docs, it's
2070 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2073 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2075 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2077 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2079 * docs/pwg/building-testapp.xml:
2080 Don't use an undeclared variable in the example program.
2083 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2085 * gst/gstdebugutils.c:
2086 Squeeze ghost-pad links and remove <> from classname labels to save
2087 more horizontal space.
2089 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2091 * gst/gstdebugutils.c:
2092 Give request and sometimes pads a different shpe style. Condense the
2093 graphs a little more.
2095 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2098 Don't require flex and bison if the parser is disabled.
2100 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2102 * libs/gst/controller/gstinterpolationcontrolsource.c:
2103 (_list_find_sorted_custom):
2104 Don't use declarations after statements.
2106 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2108 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2109 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2110 of the the child-added / -removed signals as GstChildProxy
2111 only supports GstObjects.
2113 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2115 * gst/gstdebugutils.c:
2118 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2120 Patch by: Alessandro Decina <alessandro at nnva dot org>
2123 Fix "ignored return value" compiler warning with newer glibc.
2125 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2127 * gst/gstchildproxy.c:
2128 Fix copy&paste error in gst_child_proxy_removed() documentation.
2130 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2132 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2133 Print error debug message if plugin description fields that should
2136 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2137 Don't crash if the string to serialise is NULL (it really should
2138 not be, but apparently this used to work with the xml registry ...).
2140 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2142 * tools/gst-plot-timeline.py:
2143 Fix parsing of log messages
2145 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2147 * win32/common/libgstbase.def::
2148 Sort alphabetically so make check-exports doesn't barf.
2150 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2153 Use gst_format_get_name() to improve debug output.
2156 Remove #ifdef'ed code. Add TODO comment.
2159 Add debug output to ease spotting format != segment.format assertions.
2161 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2163 * tests/check/libs/gdp.c: (gst_dp_suite):
2164 Also enable the GDP unit test again on PPC now that the bug
2167 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2169 * libs/gst/dataprotocol/dataprotocol.c:
2170 Don't write to the same region of memory as a uint64 and uint16
2171 as this breaks strict aliasing rules and apparantly breaks on PPC
2172 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2174 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2176 * libs/gst/controller/gstinterpolationcontrolsource.c:
2177 Optimize list handling. Use own find function. Exploit that fact that
2178 the list is sorted. Also pass back the node before, so that we can
2179 insert quickly. Have a fast path for append.
2181 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2183 * docs/design/draft-framestep.txt:
2184 * docs/design/part-negotiation.txt:
2187 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2190 Show configuration sumary after configure run. Based on patch by
2191 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2193 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2195 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2197 * docs/manual/advanced-autoplugging.xml:
2198 * docs/manual/advanced-threads.xml:
2199 * docs/manual/basics-bins.xml:
2200 * docs/manual/basics-elements.xml:
2201 * docs/manual/basics-helloworld.xml:
2202 * docs/manual/basics-pads.xml:
2203 Add scale factor for pdf output.
2205 * docs/manual/intro-basics.xml:
2206 Switched sections "pads" and "bins" and added a pipeline diagram.
2208 * docs/manual/intro-gstreamer.xml:
2209 Added more info on gstreamer.
2211 * docs/manual/intro-motivation.xml:
2212 Commented out the whole section "current problem", which sounds
2213 historical and somehow osolete; it could be turned in a positive
2214 way and reused to improve the design principles.
2216 * docs/manual/intro-preface.xml:
2217 - Update URLs to library.gnome.org.
2218 - Do not mention GTK+ in preliminary reading (irrelevant).
2219 - Mention Plugin Writer's Manual and further reading only in the
2221 - Added a list of most relevant GObject/glib topics.
2223 * docs/manual/Makefile.am:
2224 * docs/manual/bin-element-ghost.fig:
2225 * docs/manual/bin-element-ghost.png:
2226 * docs/manual/bin-element-noghost.fig:
2227 * docs/manual/bin-element-noghost.png:
2228 * docs/manual/bin-element.fig:
2229 * docs/manual/bin-element.png:
2230 * docs/manual/filter-element-multi.fig:
2231 * docs/manual/filter-element-multi.png:
2232 * docs/manual/filter-element.fig:
2233 * docs/manual/filter-element.png:
2234 * docs/manual/gstreamer-overview.png:
2235 * docs/manual/hello-world.fig:
2236 * docs/manual/hello-world.png:
2237 * docs/manual/linked-elements.fig:
2238 * docs/manual/linked-elements.png:
2239 * docs/manual/mime-world.fig:
2240 * docs/manual/mime-world.png:
2241 * docs/manual/queue.fig:
2242 * docs/manual/queue.png:
2243 * docs/manual/simple-player.png:
2244 * docs/manual/sink-element.fig:
2245 * docs/manual/sink-element.png:
2246 * docs/manual/src-element.fig:
2247 * docs/manual/src-element.png:
2248 * docs/manual/diagrams-general.svg:
2249 * docs/manual/diagrams-pipelines.svg:
2250 Removed .fig, added .png counterpart.
2254 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2256 * plugins/elements/gstmultiqueue.c:
2257 * plugins/elements/gstmultiqueue.h:
2258 revert extra-size-buffers stuff, caused some race conditions
2259 and extra-size-buffers is not used anymore. Docs needs some updates
2261 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2263 * win32/common/config.h:
2264 * win32/common/gstenumtypes.c:
2265 * win32/common/gstenumtypes.h:
2266 * win32/common/gstversion.h:
2269 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2271 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2272 (GST_DEBUG_BIN_TO_DOT_FILE):
2273 Add missing Since' markers to gtk-doc blurbs.
2275 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2277 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2278 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2279 (set_caps_1), (set_caps_ct1), (transform_ct1),
2280 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2281 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2282 (transform_size_ct2), (buffer_alloc_ct2):
2283 Add some more tests with switching caps in buffer_alloc.
2285 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2287 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2288 (gst_test_trans_class_init), (result_sink_chain),
2289 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2290 (gst_test_trans_push), (gst_test_trans_pop):
2291 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2292 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2293 (set_caps_1), (set_caps_ct1), (transform_ct1),
2294 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2295 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2296 (transform_size_ct2), (buffer_alloc_ct2),
2297 (gst_basetransform_suite):
2298 More tests, prepare for tests with switching caps in buffer_alloc.
2300 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2302 * plugins/elements/gstmultiqueue.c:
2303 * plugins/elements/gstmultiqueue.h:
2304 Fix dead-lock in underrun_cb
2306 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2308 * docs/design/part-states.txt:
2309 Fix device open/close docs.
2311 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2314 Mention bugnumber for last commit.
2316 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2318 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2320 * docs/manual/manual.xml:
2321 - Reorganised the previous "introduction" bundle into Foreword,
2322 Introduction, and About GStreamer. The two first are <preface>
2323 docbook elements. The later is the first part of the book.
2324 - added intro-gstreamer.xml (content partially from
2326 - moved appendix-win32.xml into appendix-integration.xml
2328 * docs/manual/intro-preface.xml: gstreamer section moved...
2329 * docs/manual/intro-gstreamer.xml: ...here. new file.
2331 * docs/manual/appendix-win32.xml: removed file. Content moved...
2332 * docs/manual/appendix-integration.xml: ...here.
2334 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2335 * docs/manual/appendix-checklist.xml: ...here.
2339 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2341 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2343 * docs/manual/basics-helloworld.xml:
2344 * docs/manual/hello-world.fig:
2345 - Explicitely include glib.h.
2346 - Do not use global variables.
2347 - Use g_printerr() instead of g_print().
2348 - Minor formating/renaming to increase readibility.
2349 - Renamed new_pad() to on_pad_added()
2350 - Improved explenatory comments.
2351 - renamed ogg parser to ogg demuxer
2352 - Use "autoaudiosink" instead of "alsasink".
2355 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2358 Remove cvs conflict marker.
2360 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2363 Document that for plgin-docs we extraxt he short-desc from the element
2366 * docs/design/part-states.txt:
2367 Tell that devices should be closed in PAUSED -> READY.
2369 * docs/manual/README:
2370 Document how tests in the manual are handled.
2375 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2377 * gst/gstbin.c: (bin_query_latency_fold):
2378 Only care about latency min and max when the sink is actually a live
2381 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2383 * docs/design/part-block.txt:
2386 * docs/design/part-element-transform.txt:
2387 Add notes about why transform needs to know input/output sizes.
2388 Add some issues that need to be solved.
2389 Add some more use cases.
2391 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2392 (gst_test_trans_class_init), (result_sink_chain),
2393 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2394 (gst_test_trans_push), (gst_test_trans_pop):
2395 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2396 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2397 (set_caps_1), (set_caps_ct1), (transform_ct1),
2398 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2399 (gst_basetransform_suite):
2400 Add suport for different pad templates and buffer-alloc.
2401 Add more checks for caps and buffer-alloc.
2402 Add checks for proxy buffer alloc.
2403 Add unit test for copy transform.
2405 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2407 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2409 * docs/manual/appendix-integration.xml:
2410 * docs/manual/appendix-licensing.xml:
2411 * docs/manual/basics-elements.xml:
2412 * docs/manual/basics-helloworld.xml:
2413 * docs/manual/basics-pads.xml:
2414 * docs/manual/highlevel-components.xml:
2415 * docs/manual/highlevel-xml.xml:
2416 * docs/manual/intro-basics.xml:
2417 * docs/manual/intro-preface.xml:
2418 Typo and formatting fixes (#538594).
2420 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2422 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2423 Fix some memory leaks and uses of object instances that we don't
2426 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2428 * plugins/elements/gstmultiqueue.c:
2429 Add functionality to extra-size-buffers property.
2431 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2433 * plugins/elements/gstmultiqueue.c:
2434 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2435 activate the pads if they are added in STATE_NULL.
2437 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2439 * docs/libs/gstreamer-libs-sections.txt:
2441 * libs/gst/check/gstcheck.c:
2442 * libs/gst/check/gstcheck.h:
2443 API: gst_check_teardown_pad_by_name
2445 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2447 * libs/gst/check/gstcheck.c:
2448 * libs/gst/check/gstcheck.h:
2449 Also setup request pads and allow setup pads by name (#537812)
2450 API: gst_check_setup_src_pad_by_name
2451 API: gst_check_setup_sink_pad_by_name
2453 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2455 * tests/check/gst/gstbuffer.c:
2456 * tests/check/pipelines/parse-launch.c:
2457 Use HAVE_VALGRIND_H some more.
2459 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2461 * scripts/cvs-update.sh:
2462 Pass arguments to make.
2463 Run autoregen.sh if Makefile is not there.
2465 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2469 Don't assume that <valgrind/valgrind.h> exists just because
2470 the binary is there.
2472 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2474 * tests/check/Makefile.am:
2475 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2476 (gst_test_trans_class_init), (gst_test_trans_init),
2477 (gst_test_trans_set_data), (result_sink_chain),
2478 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2479 (gst_test_trans_pop):
2480 * tests/check/libs/transform1.c: (GST_START_TEST),
2481 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2482 Add some test basetransform element and the beginnings of various
2485 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2487 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2488 Increase code readability.
2489 Don't try to compare buffer offsets when ther are invalid.
2491 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2493 * docs/design/Makefile.am:
2494 Dist some more design docs.
2496 * docs/random/moving-plugins:
2497 Small addition: good plugins mustn't have functional code
2498 within assertion macros.
2500 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2502 * docs/design/draft-framestep.txt:
2503 Some ideas about a framestep API
2505 * docs/design/part-element-transform.txt:
2506 Start design and use cases for basetransform in order to get it
2509 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2512 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2513 be in UTF-8 encoding.
2515 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2518 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2520 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2522 * plugins/elements/gstcapsfilter.c:
2523 * plugins/elements/gstfakesink.c:
2524 * plugins/elements/gstfakesrc.c:
2525 * plugins/elements/gstfdsink.c:
2526 * plugins/elements/gstfdsrc.c:
2527 * plugins/elements/gstfilesink.c:
2528 * plugins/elements/gstfilesrc.c:
2529 * plugins/elements/gstidentity.c:
2530 * plugins/elements/gstmultiqueue.c:
2531 * plugins/elements/gstqueue.c:
2532 * plugins/elements/gsttee.c:
2533 * plugins/elements/gsttypefindelement.c:
2534 Remove short_description. Add basic docs for gsttypefindelement.
2535 Simplify markup for fakesrc/fdsrc.
2537 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2539 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2542 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2544 Patch by: Joel Larsson <tilljoel at gmail dot com>
2546 * docs/plugins/gstreamer-plugins.args:
2547 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2548 (gst_fd_src_init), (gst_fd_src_update_fd),
2549 (gst_fd_src_set_property), (gst_fd_src_get_property),
2550 (gst_fd_src_create):
2551 * plugins/elements/gstfdsrc.h:
2552 Add timeout property like udpsrc. Fixes #538628.
2553 Add some more docs and example pipelines.
2555 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2557 * docs/libs/gstreamer-libs-sections.txt:
2558 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2559 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2560 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2561 (gst_base_sink_do_sync):
2562 * libs/gst/base/gstbasesink.h:
2563 * win32/common/libgstbase.def:
2564 Add method to allow sinks to specify additional delay between the sync
2565 times and the actual rendering of the data.
2566 API: gst_base_sink_set_render_delay()
2567 API: gst_base_sink_get_render_delay()
2569 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2572 Bump version number back to dev -> 0.10.20.1
2574 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2576 * docs/gst/gstreamer-sections.txt:
2577 * gst/gsttaglist.c: (_gst_tag_initialize):
2579 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2582 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2584 * libs/gst/controller/gstcontroller.c:
2585 Revert one change, that make ret value possible uninitialized.
2587 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2589 * libs/gst/controller/gstcontroller.c:
2590 Use freeze/thaw notify to sync notify emission a bit (its also more
2591 efficient). Move debug output to LOG (is called a lot in a loop).
2592 Always unset g_values if the have been initialized.
2594 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2596 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2597 (gst_base_sink_wait_eos), (gst_base_sink_event):
2598 If we have not seen a buffer before EOS, use the segment values to
2599 report the current position instead of invalid positions.
2601 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2603 * docs/plugins/tmpl/.cvsignore:
2604 * tests/check/gst/.cvsignore:
2607 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2609 * libs/gst/controller/gstinterpolation.c:
2610 * libs/gst/controller/gstinterpolationcontrolsource.c:
2611 * tests/check/libs/controller.c:
2612 Rewrite handling of default values. Fix overflow with unsigned types
2613 in linear interpolation. Remove now obsolete _first_value() function.
2614 Add more tests. Fixes #538201.
2616 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2618 * libs/gst/base/gstbasetransform.c:
2619 (gst_base_transform_class_init), (gst_base_transform_init),
2620 (gst_base_transform_transform_caps),
2621 (gst_base_transform_prepare_output_buffer):
2623 When a buffer is writable, its metadata is also writable so we don't
2624 need to subbuffer (which then makes the buffer not-writable anymore).
2626 === release 0.10.20 ===
2628 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2631 releasing 0.10.20, "You Crazy Diamond"
2633 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2636 0.10.19.3 pre-release
2638 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2642 Rename DATADIR to GST_DATADIR to avoid build problems
2643 on win32. Patch By: David Schleef <ds@schleef.org>
2646 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2649 Explicitely link with -ldl if dladdr() is found there. Before it was
2650 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2651 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2653 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2655 * gst/gsterror.c: (_gst_stream_errors_init):
2656 Fix typo (spotted by Fabricio Godoy, #536723).
2658 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2661 0.10.19.2 pre-release
2663 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2665 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2666 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2668 Make sure we don't generate invalid QoS messages.
2670 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2672 * gst/gstevent.c: (gst_event_new_qos):
2673 Add some assert and docs for invalid input to the qos function.
2675 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2677 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2678 (gst_base_sink_get_position):
2679 The reported position must always be smaller than the last seen
2680 timestamps (or timestamp + duration for reverse).
2682 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2684 Patch by: Rob Bradford <rob at robster dot org dot uk>
2686 * gst/gstregistry.c: (gst_registry_scan_path_level):
2687 Don't recurse into .debug directories as some distros install
2688 the debugging symbols next to the plugins in .debug directories
2689 and dlopen() crashes on them sometimes. Fixes bug #508070.
2691 Add FIXME for 0.11 to not recurse into directories at all because
2692 it's very inconsistent to the behaviour of other PATH environment
2695 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2697 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2698 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2699 Fix position query range checks in reverse playback.
2701 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2705 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2706 clear of the reference to the resulting pad must be released later
2707 or not, resulting in possible leaks. Fixes bug #533865.
2709 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2711 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2713 * gst/gstelementfactory.c:
2714 Small doc fix. Fixes #535285.
2716 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2718 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2720 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2721 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2722 (gst_base_src_loop), (gst_base_src_set_flushing),
2723 (gst_base_src_change_state):
2724 Make sending an EOS event to the basesrc non-blocking even if the
2725 implementation does blocking waits in the create function. This is done
2726 by unlocking the create function when EOS is sent.
2729 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2731 * tools/gst-inspect.c: (print_element_properties_info):
2732 If possible print the element type of GValueArray properties.
2734 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2736 * gst/gstiterator.c:
2737 Remove an unused field from the private GstListIterator struct.
2739 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2741 * libs/gst/controller/gstcontroller.c:
2742 Add parameter guards.
2744 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2746 * tests/check/gst/gstpipeline.c:
2747 Revert test change and add comment why it should not work.
2749 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2751 * tests/check/gst/gstpipeline.c:
2752 Extending the test a little to verify that we also get the NULL state-
2755 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2757 * gst/gstpreset.c: (gst_preset_default_get_meta),
2758 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2759 (gst_preset_load_preset), (gst_preset_save_preset),
2760 (gst_preset_rename_preset), (gst_preset_delete_preset),
2761 (gst_preset_set_meta):
2762 Add Since: markers to docs blurbs.
2764 * win32/common/libgstreamer.def:
2765 Add recently-added API.
2767 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2769 Patch by: Stefan Kost <ensonic@users.sf.net>
2772 Add DATADIR for storing presets.
2774 * docs/gst/gstreamer-docs.sgml:
2775 * docs/gst/gstreamer-sections.txt:
2776 * docs/gst/gstreamer.types.in:
2777 Add GstPreset to docs.
2781 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2782 (preset_open_and_parse_header), (preset_parse_version),
2783 (preset_merge), (preset_get_keyfile),
2784 (gst_preset_default_get_preset_names),
2785 (gst_preset_default_get_property_names),
2786 (gst_preset_default_load_preset),
2787 (gst_preset_default_save_presets_file),
2788 (gst_preset_default_save_preset),
2789 (gst_preset_default_rename_preset),
2790 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2791 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2792 (gst_preset_default_reset), (gst_preset_get_preset_names),
2793 (gst_preset_get_property_names), (gst_preset_load_preset),
2794 (gst_preset_save_preset), (gst_preset_rename_preset),
2795 (gst_preset_delete_preset), (gst_preset_set_meta),
2796 (gst_preset_get_meta), (gst_preset_class_init),
2797 (gst_preset_base_init), (gst_preset_get_type):
2799 Add GstPreset to core. Fixes #396779
2801 * tests/check/Makefile.am:
2802 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2803 (gst_preset_test_set_property), (gst_preset_test_class_init),
2804 (gst_preset_test_base_init), (gst_preset_test_get_type),
2805 (gst_preset_test_plugin_init), (GST_START_TEST),
2806 (remove_preset_file), (test_setup), (test_teardown),
2808 Add GstPreset unit tests.
2810 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2812 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2813 The default event function on a sinkpad should return TRUE when
2814 there are no internal links but should collect the return values from
2815 the internal links otherwise.
2817 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2819 * plugins/elements/gsttypefindelement.c:
2820 (gst_type_find_element_src_event),
2821 (gst_type_find_element_handle_event):
2822 Use faster and safer _pad_push_event().
2824 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2826 * docs/gst/gstreamer-sections.txt:
2827 * gst/gstutils.c: (element_find_unlinked_pad),
2828 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2830 API: add gst_bin_find_unlinked_pad()
2831 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2833 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2839 Fixed a bunch of typos.
2841 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2844 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2845 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2846 (gst_parse_bin_from_description_full):
2848 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2850 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2852 * docs/pwg/advanced-tagging.xml:
2853 Small docs update, can't be bothered to rewrite the nonsensical
2856 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2859 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2861 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2863 * gst/parse/grammar.y:
2864 Remove unneeded casts.
2866 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2868 * gst/parse/grammar.y:
2869 * tests/check/pipelines/parse-launch.c:
2870 Get all missing elements from a parse launch string if possible
2871 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2873 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2875 * tests/check/Makefile.am:
2876 * tests/check/pipelines/parse-launch.c:
2877 Add some unit tests for the new gst_parse_launch*_full() API.
2878 (Exposes a previously-existing memory leak in the error code
2879 path, so adding to VALGRIND_TO_FIX for now).
2881 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2883 * docs/gst/gstreamer-sections.txt:
2884 * gst/gst.c: (init_post):
2885 * gst/gst_private.h: (_GstParseContext):
2886 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2887 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2888 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2889 (gst_parse_launch_full):
2890 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2891 (GstParseFlags), (GstParseContext):
2892 * gst/gstutils.c: (gst_parse_bin_from_description),
2893 (gst_parse_bin_from_description_full):
2895 * gst/parse/grammar.y:
2896 * gst/parse/types.h:
2897 * win32/common/libgstreamer.def:
2898 Add new gst_parse_*_full API (#528178):
2899 API: gst_parse_launch_full()
2900 API: gst_parse_launchv_full()
2901 API: gst_parse_bin_from_description_full()
2902 API: gst_parse_context_new()
2903 API: gst_parse_context_free()
2904 API: gst_parse_context_get_missing_elements()
2906 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2908 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2910 * docs/faq/gst-uninstalled:
2911 Also support ffmpeg in gst-uninstalled.
2913 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2916 After discussion on IRC use the binary registry as default
2917 but allow to disable it with --disable-binary-registry.
2919 * win32/common/libgstreamer.def:
2920 Add the two new symbols for the binary registry.
2922 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2924 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2925 * gst/gstutils.c: (gst_parse_bin_from_description):
2926 * gst/parse/grammar.y: (graph):
2927 More guards against bad input; typo fix; some minor clean-ups.
2929 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2931 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2933 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2934 If nothing else can be used, use the last buffer's start time as
2935 the segment's last stop. Fixes bug #534258.
2937 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2939 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2940 Move size sanity check to the right place: downstream may return
2941 a buffer with a smaller size if the buffer caps are different than
2942 the requested ones, as may happen when doing reverse negotiation.
2944 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2946 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2947 (gst_file_sink_render):
2948 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2949 (gst_file_src_start):
2950 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2953 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2955 * gst/gstpad.c: (gst_pad_load_and_link):
2956 * gst/gstutils.c: (gst_element_link_pads),
2957 (gst_element_unlink_pads):
2958 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2959 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2960 (gst_check_teardown_sink_pad),
2961 (gst_check_element_push_buffer_list):
2962 * tests/check/elements/fakesink.c: (GST_START_TEST):
2963 * tests/check/elements/filesink.c:
2964 * tests/check/elements/filesrc.c: (GST_START_TEST):
2965 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2966 (mq_sinkpad_to_srcpad):
2967 * tests/check/elements/tee.c: (GST_START_TEST):
2968 * tests/check/generic/sinks.c: (GST_START_TEST):
2969 * tests/check/gst/gstbin.c: (GST_START_TEST):
2970 * tests/check/gst/gstevent.c: (GST_START_TEST):
2971 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2972 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2973 * tests/check/gst/gstquery.c: (GST_START_TEST):
2974 * tests/check/gst/gstutils.c: (GST_START_TEST):
2975 * tests/check/libs/basesrc.c: (GST_START_TEST):
2976 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2977 (gst_parse_test_element_change_state):
2978 Don't use gst_element_get_pad().
2980 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2983 Fix installing plugin documentation when gtk-doc is disabled.
2985 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2987 * docs/manual/advanced-autoplugging.xml:
2988 * docs/manual/basics-helloworld.xml:
2989 * docs/manual/basics-pads.xml:
2990 * docs/manual/highlevel-components.xml:
2991 Avoid using a bad function in the example code.
2993 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2995 * gst/gstclock.c: (gst_clock_set_calibration):
2996 Fix debug of the new clock rate.
2998 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3000 * win32/common/libgstbase.def:
3001 Add gst_base_sink_wait_clock() to the exported symbols.
3003 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
3005 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3007 * libs/gst/base/gstbasetransform.c:
3008 (gst_base_transform_sink_event):
3009 Unref events that the GstBaseTransform::event vfunc didn't want to
3010 have forwarded by the base class. Closes a leak in identity.
3013 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3015 * docs/libs/gstreamer-libs-sections.txt:
3016 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3017 * libs/gst/base/gstbasesink.h:
3018 Expose a method that was previously used internally to synchronize
3019 against the clock because it can be useful for subclasses too.
3020 API: GstBaseSink::gst_base_sink_wait_clock()
3022 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3024 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3025 Add sanity check to make sure we don't get smaller buffers
3026 than requested (and fallback to normal buffer alloc if we do).
3028 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3030 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3031 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3032 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3033 Refactor adjusting the running_time with latency and offset into a
3035 When doing clipping, we still want to use the subclass get_times method,
3036 just in case the DURATION or TIMESTAMP are not set.
3038 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3040 * docs/gst/gstreamer-sections.txt:
3041 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3042 * gst/gsttypefind.h:
3043 * win32/common/libgstreamer.def:
3044 API: add gst_type_find_suggest_simple(), #533740.
3046 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3048 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3049 Use right error code when typefinding fails, so we can use
3050 the default (translated) error messages.
3052 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3054 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3055 (gst_base_src_start):
3056 When the subclass did not set caps on outgoing buffers, configure the
3057 caps we negotiated on the source pad.
3058 When the typefind helper does not find caps, error out properly instead
3059 of doing things with NULL caps.
3061 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3063 * gst/gsttypefind.h:
3064 Tabs to spaces, oh yes!
3066 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3068 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3069 Add David's and Benjamin's tests for array intersection to the
3070 unit test suite (#147931).
3072 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3075 Document that gst_event_new_tag() and gst_event_new_navigation()
3076 take ownership of the taglist/structure passed to them. (#533635).
3078 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3081 Don't descend into the plugins dir if plugin docs building
3085 Add a note about the new type:GTypeName syntax for the plugin
3086 documentation .types file.
3088 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3090 * gst/gstmessage.c: (gst_message_new_error),
3091 (gst_message_new_warning), (gst_message_new_info):
3093 Mark the debug string parameters as const. Fixes bug #533490.
3095 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3097 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3098 Sort buffer cache list by end offsets. This makes sure that we don't
3099 stop to search for a cached buffer that contains the requested data
3101 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3102 more efficient. Fixes bug #459862.
3104 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3107 Explain why we copy the list.
3109 * gst/gstpipeline.c:
3113 Add one debug-log statement to help tracing probelms with linking pads.
3115 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3117 * tests/check/gst/gstinfo.c:
3118 Add a test for removing the default log handler. Seems to fail under
3121 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3123 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3124 Release pad lock before calling out to avoid a possible deadlock.
3126 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3128 * gst/parse/grammar.y:
3129 Remove unneeded value unset.
3131 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3132 Add unit test for de/serialization of caps.
3134 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3136 * plugins/elements/gstfakesink.c:
3137 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3138 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3139 (gst_fake_src_class_init):
3140 Use custom marshalers that take GstMiniObject as first parameter.
3141 Using OBJECT as parameter while a GstMiniObject is given will lead
3142 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3144 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3146 * plugins/elements/gsttypefindelement.c:
3147 (gst_type_find_element_handle_event),
3148 (gst_type_find_element_send_cached_events),
3149 (gst_type_find_element_change_state):
3150 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3153 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3155 * plugins/elements/gsttypefindelement.c:
3156 (gst_type_find_handle_src_query), (stop_typefinding),
3157 (gst_type_find_element_handle_event),
3158 (gst_type_find_element_send_cached_events),
3159 (gst_type_find_element_change_state):
3160 Forward FLUSH_START events immediately and clean up instead of
3163 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3165 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3167 * libs/gst/base/gstbasetransform.c:
3168 (gst_base_transform_buffer_alloc):
3169 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3170 fall back to default negotiation in the chain function if the caps
3171 are different from what was requested. Fixes bug #526768.
3173 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3176 * tests/check/gst/gstsegment.c:
3177 No, let's not use g_slice_{dup|copy} here, since they only exist
3178 since GLib 2.14 and we still depend only on >= 2.12. Also add
3179 unit test for gst_segment_copy().
3181 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3183 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3184 Try to fix 'dereferencing type-punned pointer will break strict
3185 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3186 changed the default GType typedef from gulong to gsize at some point,
3187 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3188 g_once_* functions all take a gsize * though, so work around the type
3189 mismatch for C++ by doing everything in gsize and casting to GType
3192 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3194 * plugins/elements/gstmultiqueue.c:
3195 Add documentation for the signals to push our core plugin docs
3196 coverage back up to 100%.
3198 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3200 * gst/gstinfo.h (GST_FUNCTION):
3201 Reverted GST_FUNCTION to the old version as we don't want the
3202 full signature in C++ code. Also added support for MSVC.
3204 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3207 Intern the type name string, similar to what G_DEFINE_TYPE does.
3209 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3212 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3214 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3216 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3218 * libs/gst/base/gstbasetransform.c:
3219 (gst_base_transform_buffer_alloc):
3220 Don't passthrough buffer allocation too easily if the caps change.
3221 This breaks when working in passthrough mode and upstream changes
3222 it's caps. Fixes bug #526768.
3224 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3226 * gst/gstinfo.c (gst_debug_log_valist):
3227 Improved the __FILE__ part of debug output for MSVC.
3229 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3231 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3232 Declaration after statement fix for compilers like MSVC.
3234 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3236 * win32/common/config.h.in:
3237 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3238 use the real thing than having "???" unconditionally.
3240 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3242 * gst/gstinfo.h (GST_FUNCTION):
3243 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3245 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3247 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3250 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3251 (gst_base_sink_set_flushing):
3252 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3255 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3257 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3258 (gst_fake_src_init), (gst_fake_src_set_property),
3259 (gst_fake_src_get_property), (gst_fake_src_start):
3260 * plugins/elements/gstfakesrc.h:
3261 Added format property to control the format of the newsegment events.
3262 API: GstFakeSrc:format
3264 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3266 * win32/common/libgstreamer.def:
3267 Add gst_pad_has_name() to the exported symbols.
3269 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3271 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3272 * libs/gst/base/gstbasetransform.c:
3273 (gst_base_transform_prepare_output_buffer):
3274 Don't allow negative sizes when allocating new buffers.
3277 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3279 Patch by: Sjoerd Simons <sjoerd at luon net>
3281 * gst/gstbus.c: (gst_bus_source_dispatch):
3282 Don't print a warning if the queue is empty when we try to pop
3283 here. That could happen if another thread or callback set the
3284 bus to flushing between the source's check/prepare and the
3285 dispatch being called (#531538).
3287 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3289 * plugins/elements/gstmultiqueue.c:
3292 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3294 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3295 Add unit test for deserializing uint64s and check some really large
3296 numbers in the int64 test.
3298 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3300 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3301 (print_interfaces), (print_element_properties_info),
3302 (print_signal_info):
3303 Use "%s" as format string instead of printing strings directly.
3305 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3307 * gst/gstclock.c: (gst_clock_set_calibration):
3308 Make some checks actually useful.
3310 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3311 Remove some unused code. Unsigned integers tend to be >= 0.
3313 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3315 * gst/gstminiobject.c: (gst_value_get_mini_object):
3316 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3317 function was not in the unscheduled 0.10.19 release.
3319 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3321 * gst/gstregistry.c: (gst_registry_scan_path_level):
3322 Only print one log message per non-plugin file.
3324 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3326 * gst/gstinfo.c: (gst_debug_log_default):
3327 Fix alignment of debug log columns on 64-bit.
3329 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3331 * docs/libs/Makefile.am:
3332 * docs/libs/gstreamer-libs-sections.txt:
3333 Ignore private controller headers for docs.
3335 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3337 * libs/gst/controller/gstcontrollerprivate.h:
3338 * libs/gst/controller/gsthelper.c:
3339 * libs/gst/controller/gstinterpolation.c:
3340 * libs/gst/controller/gstinterpolationcontrolsource.c:
3341 (gst_interpolation_control_source_set_interpolation_mode):
3342 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3343 * libs/gst/controller/lib.c:
3344 Move some private declarations into private headers.
3346 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3348 * gst/gstdebugutils.c: (debug_dump_element_pad):
3349 Remove some code that is unused after Stefan's refactoring and uses
3350 uninitialized variables now, resulting in a compiler warning.
3352 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3354 * gst/gstregistry.c: (gst_registry_scan_path_level):
3355 Run g_str_has_suffix() only on the file name, not the
3358 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3360 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3361 Since we're not called only from the chain function any longer,
3362 we can't assume that there's always data in the queue, so move
3363 the is_full check to the beginning of the loop (otherwise we'd
3364 hit the assert when changing the limit properties while the
3365 queue is empty or not running yet).
3366 Also, only set a discont if items were actually removed from
3369 * tests/check/elements/queue.c: (test_leaky_downstream):
3370 Test case for the above.
3372 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3374 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3376 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3377 (gst_queue_chain), (queue_capacity_change),
3378 (gst_queue_set_property):
3379 When changing thr max capacity of a leaky queue, immediatly drop buffers
3380 instead of waiting for a push on the sinkpad. Fixes #530637.
3382 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3384 * gst/gstdebugutils.c:
3385 Refactor code and fix handling of ghostpads and their proxypads.
3387 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3389 * docs/gst/gstreamer-sections.txt:
3390 * gst/gstevent.c: (gst_event_has_name):
3392 * tests/check/gst/gstevent.c: (GST_START_TEST):
3393 Add method to conveniently check the name of a custom event with
3394 gst_event_has_name().
3395 Reformat the event docs so that related methods are put together instead
3396 of the default alphabetical sort.
3397 Update unit test with new method.
3398 API: GstEvent::gst_event_has_name()
3400 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3402 * libs/gst/check/Makefile.am:
3403 Don't add an explicit link to libgstreamer-0.10.la; it's already
3404 included in GST_OBJ_LIBS.
3406 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3409 Register GstClock type from a type-safe context. Fixes bug #530317.
3411 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3413 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3415 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3417 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3419 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3421 Use the GLib stuff to create a private structure.
3422 Add some locking around some dispose methods to make them a little
3423 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3425 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3427 * libs/gst/base/gstbasesink.h:
3428 * libs/gst/base/gstbasesrc.h:
3429 * libs/gst/base/gstbasetransform.h:
3430 * libs/gst/base/gstcollectpads.h:
3431 Fix doc typos and unify caps a bit.
3433 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3435 * tools/gst-launch.1.in:
3436 Forgot to also add the envvar docs here.
3438 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3440 * gst/gst.c: (init_post), (gst_deinit):
3441 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3442 (test_concurrent_create), (gst_pipeline_suite):
3443 Ref some more classes in gst_init() to work around thread-safety
3444 issues in pre-2.16 GLibs, and add basic unit test.
3446 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3448 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3449 (gst_base_sink_send_event):
3450 Rearrange the latency query code. We always want to do the upstream
3451 query, even if we are not live so that the upstream elements can get the
3452 latency results too. If we fail doing the query and we are live, we
3453 return TRUE afterwards.
3455 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3457 patch by: Jason Zhao <e3423c@motorola.com>
3459 * docs/gst/running.xml:
3461 Enable/disable scan_and_update_registry() based on commandline switch
3462 or environment variable. Fixes #520468.
3465 Fix typo in my previous commit.
3467 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3469 * gst/gstregistrybinary.c:
3470 Add a warning if we hit unhandled factories when saving.
3471 More debug logging detail, but move to LOG category.
3473 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3475 * gst/gstregistry.c:
3476 Tell the *truth* when improving the documentation.
3478 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3480 * gst/gstelementfactory.c: (gst_element_factory_make):
3481 Unref the factory after it was used the last time, not before.
3483 * gst/gstindexfactory.c: (gst_index_factory_make):
3484 Improve debugging a bit and don't leak a ref to the index factory with
3487 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3489 * gst/gstregistry.c:
3490 Improve the documentation.
3492 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3495 The glib macro seems to be borked. Use g_slice_copy directly and cast
3496 in the hope that this fixes the warning on 64bit.
3498 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3501 Document the new function. Use g_slice_dup() (no need for
3502 gst_segment_init()).
3504 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3506 * docs/gst/gstreamer-sections.txt:
3507 Move GParamSepc macros to standart section.
3510 Dn't document _get_type - its in private section in docs anyway and
3511 this doc-blob was incomplete.
3514 Fix wrong symbol names in docs.
3517 Add once doc sentence.
3519 * tests/check/gst/.cvsignore:
3522 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3524 * docs/gst/Makefile.am:
3525 And remove those libs here.
3527 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3529 * docs/libs/Makefile.am:
3530 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3532 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3534 Patch by: Olivier Crete <tester at tester dot ca>
3536 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3537 Add the min-threshold to the min latency if possible. Fixes #529148.
3539 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3541 * docs/gst/gstreamer.types.in:
3542 Stupid editor, I removed that line as it should go in yet.
3544 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3546 * docs/gst/gstreamer.types.in:
3547 * docs/libs/gstreamer-libs.types:
3548 Remove library types fro core docs and have them in libs docs.
3549 Reformat and cleanup. Add comment for miniobject types.
3551 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3553 * gst/gsturi.c: (gst_uri_get_protocol):
3554 Fix leak: g_strdown operates on the string in place, while
3555 g_ascii_strdown() returns a newly-allocated string.
3557 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3559 * tools/gst-inspect.c: (print_uri_handler_info),
3560 (print_element_info):
3561 Print the URI protocols and the URI type supported by the element.
3563 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3565 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3566 Use g_value_take_string() instead of the deprecated
3567 g_value_set_string_take_ownership().
3569 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3571 * gst/gstregistrybinary.c: (_gst_crc32):
3572 Return the old CRC instead of 0 if we give a NULL buffer
3573 or a buffer with a length of 0.
3575 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3577 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3578 (gst_uri_get_protocol), (gst_uri_has_protocol),
3579 (gst_uri_construct), (gst_uri_handler_set_uri):
3580 A valid URI scheme can also include '+', '-' and '.' additional
3581 to alphanumeric characters as per RFC 3986 Section 3.1.
3583 Handle URI schemes case insensitive in all places and convert
3584 to lower-case when constructing an URI or setting an URI with
3585 the GstURIHandler interface. Fixes bug #528868.
3586 All elements can still assume (as before) that they will
3587 get passed URIs with a lower-case URI scheme by the GstURIHandler
3590 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3592 * gst/gstcaps.c: (gst_static_caps_get):
3593 * gst/gstclock.c: (gst_clock_entry_new):
3594 Don't use g_atomic_set_int where it's not needed.
3596 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3598 * gst/gstvalue.c: (gst_value_deserialize_caps):
3599 * gst/parse/grammar.y:
3602 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3604 * gst/gstutils.c: (gst_atomic_int_set):
3605 Use g_atomic_int_set() here too instead of assignment +
3608 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3612 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3613 now that we depend on new enough GLib.
3615 * gst/gstcaps.c: (gst_static_caps_get):
3616 * gst/gstclock.c: (gst_clock_entry_new):
3617 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3618 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3619 (gst_debug_category_set_threshold):
3620 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3621 (gst_base_sink_set_qos_enabled):
3622 * libs/gst/net/gstnettimeprovider.c:
3623 (gst_net_time_provider_set_property):
3624 Use g_atomic_int_set() instead of gst_atomic_int_set().
3626 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3629 Also use G_GINT64_CONSTANT for the queries.
3631 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3634 Use G_GINT64_CONSTANT in varargs function.
3636 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3638 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3639 Initialize the registry magic with zeroes.
3641 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3643 * gst/gstregistrybinary.c: (_gst_crc32),
3644 (gst_registry_binary_write),
3645 (gst_registry_binary_initialize_magic),
3646 (gst_registry_binary_write_cache),
3647 (gst_registry_binary_check_magic),
3648 (gst_registry_binary_read_cache):
3649 * gst/gstregistrybinary.h:
3650 Add crc32 checksum to the binary registry file and check this before
3651 accepting a registry file.
3653 Also free the data list when writing to the registry file fails.
3655 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3657 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3658 (gst_registry_binary_load_feature),
3659 (gst_registry_binary_load_plugin):
3660 If an element supports the Uri interface, returns a valid pointer
3661 to the supported URI protocols but this pointer contains nothing
3662 don't try to save that as it will corrupt the registry.
3664 Don't unref the plugin if we added it to the registry already but
3665 fail to load a feature as gst_registry_add_plugin() takes ownership
3668 Improve debugging a bit.
3670 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3673 Clarify some tag item docs after discussion on irc.
3675 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3677 * docs/gst/gstreamer-docs.sgml:
3678 Remove commented out plugins (they have their own docs). Update
3681 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3683 * docs/gst/gstreamer-docs.sgml:
3684 * docs/gst/gstreamer-sections.txt:
3685 * gst/gstparamspecs.c:
3686 * gst/gstparamspecs.h:
3687 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3688 docs to own section.
3691 This now only documents GValue.
3693 * docs/libs/gstreamer-libs-sections.txt:
3694 * libs/gst/controller/gstcontroller.h:
3695 Remove GST_PARAM_CONTROLLABLE.
3697 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3700 Correct file path. Tell about how to use -overrides.txt.
3701 * docs/design/draft-tagreading.txt:
3702 Small design update.
3704 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3707 (gst_registry_binary_load_plugin):
3708 Fix a typo in a debug message and revert change from yesterday as
3709 gst_registry_add_plugin() will only fail if something is really wrong
3710 already and we can't survive it anyway.
3712 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3714 * gst/gst.c: (init_post), (gst_deinit):
3715 Pre-register GstGError GType from a thread-safe context
3716 (fixes #527967); unref enum type classes in deinit.
3718 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3720 Patch by: Rene Stadler <mail at renestadler de>
3722 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3723 Merging an empty list with another list in KEEP_ALL mode should
3724 yield an empty list as result and not the second list (#512578).
3726 * tests/check/gst/gsttagsetter.c:
3727 Add unit test for tag merge modes and the aforementioned bug.
3729 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3731 Patch by: Rene Stadler <mail at renestadler de>
3734 Fix description to match the order in the table (#512577).
3736 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3738 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3740 * libs/gst/net/gstnettimepacket.h:
3741 * docs/libs/gstreamer-libs-sections.txt:
3742 Define socklen_t as int if it's not defined yet. Fixes compilation
3743 with MSVC6 and other versions where socklen_t is not defined in
3744 the windows headers (#518022).
3746 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3748 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3749 If gst_registry_add_plugin() fails our reference to the plugin is
3750 invalid so don't try to use it anymore and instead error out.
3752 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3754 * tools/gst-xmlinspect.c: (print_element_info), (main):
3755 De-cruft a bit. If no argument is specified, print all elements in
3756 XML syntax rather than a freestyle list of elements like gst-inspect.
3757 Also, don't print XML header chunk unless we actually have something
3758 to print (ie. don't print it before an error message); print error
3759 message to stderr not stdout. Remove support for printing plugin
3760 info (it would just output something freestyle along the lines of
3761 gst-inspect so far), which fixes #514507. Also add license header.
3763 2008-04-11 Julien Moutte <julien@fluendo.com>
3766 * configure.ac: Merge platform specific defines, introduce a new
3767 define on OS X to remember that forking when updating registry is
3769 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3771 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3773 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3774 condition that leads to absolutely no plugins being registered on
3777 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3779 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3781 * gst/gstutils.c: (gst_pad_add_data_probe),
3782 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3783 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3784 (gst_pad_add_buffer_probe_full):
3786 * docs/gst/gstreamer-sections.txt:
3787 * win32/common/libgstreamer.def:
3788 Add gst_pad_add_*_probe_full() functions with a notify callback that
3789 lets the caller free the data it passes to the probe functions. This
3790 is useful for bindings such as gst-python or gstreamermm (#526814).
3791 API: gst_pad_add_data_probe_full
3792 API: gst_pad_add_buffer_probe_full
3793 API: gst_pad_add_event_probe_full
3795 * tests/check/gst/gstutils.c:
3796 Add minimal unit test to make sure freeing the data actually works
3799 * tests/benchmarks/.cvsignore:
3800 Random cvsignore addendum.
3802 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3804 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3805 (GST_DEBUG_BIN_TO_DOT_FILE):
3806 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3807 to it in the docs (since these are macros the types of the arguments
3808 won't be shown in the docs otherwise).
3810 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3813 Do not abort on out of memory for pad_alloc_buffer.
3815 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3817 * libs/gst/check/gstcheck.c:
3818 Remove blank line between symbol name ad parameters to fix gtkdoc
3821 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3823 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3825 * docs/gst/gstreamer-sections.txt:
3828 * win32/common/libgstreamer.def:
3829 Expose gst_segment_copy() to make things easier for the c++ bindings.
3831 API: gst_segment_copy()
3833 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3835 * gst/gst.c: (gst_init_get_option_group), (init_post):
3836 Fix const position; ref GType classes for enum types to work
3837 around thread-safety issues in GLib versions < 2.16.
3839 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3841 * docs/design/part-buffering.txt:
3842 Fix some typos and set the estimated total for push mode to -1.
3844 * gst/gstquery.c: (gst_query_new_buffering):
3845 Set buffering-left to 0 as we're not buffering by default.
3847 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3848 Implement BUFFERING query.
3850 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3852 Based on patch by: Milosz Derezynski <internalerror gmail com>
3854 * gst/gsterror.c: (_gst_stream_errors_init):
3856 Add two new error codes for encrypted content. Fixes #524659.
3857 API: GST_STREAM_ERROR_DECRYPT
3858 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3860 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3865 * win32/common/libgstreamer.def:
3868 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3870 * plugins/elements/gstidentity.c: (gst_identity_event),
3871 (gst_identity_start):
3872 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3873 event after processing some data. Fixes bug #526042.
3875 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3877 * docs/gst/gstreamer-sections.txt:
3878 * gst/gstquery.c: (gst_query_parse_latency),
3879 (gst_query_set_buffering_percent),
3880 (gst_query_parse_buffering_percent),
3881 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3883 Rename _avail -> _range
3884 API: gst_query_set_buffering_range
3885 API: gst_query_parse_buffering_range
3887 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3889 * docs/design/part-buffering.txt:
3892 * gst/gstquery.c: (gst_query_parse_latency),
3893 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3894 (gst_query_parse_buffering_percent):
3896 Add busy field and quark for the buffering query so that the app can
3897 only use the query to see if buffering is in progress.
3899 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3901 * docs/gst/gstreamer-sections.txt:
3902 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3903 (gst_message_parse_buffering_stats):
3905 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3906 (gst_query_parse_latency), (gst_query_new_buffering),
3907 (gst_query_set_buffering_percent),
3908 (gst_query_parse_buffering_percent),
3909 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3910 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3912 Reorder the message docs and headers for clarity.
3913 Add aditional buffering stats API for messages.
3914 Add buffering query.
3915 Convert some leftover queries to use GstQuark.
3916 API: gst_message_set_buffering_stats
3917 API: gst_message_parse_buffering_stats
3918 API: GST_QUERY_BUFFERING
3919 API: GstBufferingMode
3920 API: gst_query_new_buffering
3921 API: gst_query_set_buffering_percent
3922 API: gst_query_parse_buffering_percent
3923 API: gst_query_set_buffering_stats
3924 API: gst_query_parse_buffering_stats
3926 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3928 * gst/gstmessage.c: (gst_message_new_error),
3929 (gst_message_new_warning), (gst_message_new_info),
3930 (gst_message_new_buffering), (gst_message_new_state_changed),
3931 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3932 (gst_message_new_new_clock), (gst_message_new_segment_start),
3933 (gst_message_new_segment_done), (gst_message_new_duration),
3934 (gst_message_new_async_start), (gst_message_parse_buffering),
3935 (gst_message_parse_state_changed),
3936 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3937 (gst_message_parse_new_clock), (gst_message_parse_error),
3938 (gst_message_parse_warning), (gst_message_parse_info),
3939 (gst_message_parse_segment_start),
3940 (gst_message_parse_segment_done), (gst_message_parse_duration),
3941 (gst_message_parse_async_start):
3942 Use GstQuark for messages.
3944 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3946 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3948 Add some more quarks needed for messages and queries.
3950 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3952 * docs/design/part-buffering.txt:
3953 Remove the "none" buffering mode, STREAM is a good default.
3954 Move estimated-time to the avail query, that's when it will be needed.
3955 Other small typo fixes and updates.
3957 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3959 * gst/gstindex.c: (gst_index_resolver_get_type):
3960 Don't put descriptions into the nick field of a GEnumValue: it's not
3961 meant for that and some language bindings rely on the nick field to
3962 construct constants and the like. Fixes #526705.
3964 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3969 Merge other changes from 0.10.19 release branch.
3971 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3973 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3976 Actually build dlls when cross-compiling with mingw32.
3979 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3981 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3984 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3986 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3988 * docs/design/draft-latency.txt:
3991 * docs/design/part-buffering.txt:
3992 Update design docs with more buffering ideas.
3994 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3997 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3999 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4002 Revert part that belongs to the preset patch.
4004 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4007 Add qoutes to the define. Fixes # 525961.
4009 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4011 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4012 (gst_file_index_load), (gst_file_index_add_id),
4013 (gst_file_index_get_assoc_entry):
4014 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4015 (gst_mem_index_free_id), (gst_mem_index_add_id),
4016 (gst_mem_index_index_format):
4017 Use GSlice when possible.
4019 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4021 * libs/gst/controller/gstinterpolationcontrolsource.c:
4022 (gst_control_point_free),
4023 (gst_interpolation_control_source_set_internal):
4024 Use GSlice for allocating the control points.
4026 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4028 * plugins/elements/gsttypefindelement.c:
4029 (gst_type_find_element_class_init),
4030 (gst_type_find_element_set_property),
4031 (gst_type_find_element_get_property),
4032 (gst_type_find_element_activate):
4033 * plugins/elements/gsttypefindelement.h:
4035 Fix pad leak when peer query fails.
4036 We can still typefind when the peer returns -1.
4037 Add property to force caps and bypass typefinding. This will be used in
4041 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4046 * gst/glib-compat-private.h:
4047 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4048 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4049 Unconditionally use GSlice for allocation.
4051 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4052 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4053 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4054 (gst_structure_free):
4055 Use GSlice for allocation.
4057 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4059 * gst/parse/Makefile.am:
4060 * gst/parse/grammar.tab.pre.c:
4061 * gst/parse/grammar.tab.pre.h:
4062 * gst/parse/lex._gst_parse_yy.pre.c:
4063 Require a new enough flex and bison and remove the parser hacks to use
4064 a pre-regenerated version.
4066 2008-04-01 Julien Moutte <julien@fluendo.com>
4068 patch by: Jason Zhao <E3423C@motorola.com>
4070 * configure.ac: Add a configure switch to disable option parsing
4074 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4077 * gst/gstregistry.c:
4078 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4079 and handle this case.
4082 Add a comment here describing, why we stat each plugin and not try to
4085 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4087 * libs/gst/base/gstbasetransform.c:
4088 (gst_base_transform_prepare_output_buffer):
4089 Also unset the GAP flag on buffers if we're working inplace but
4090 the element is not GAP-aware.
4092 Mark a comment as FIXME 0.11.
4094 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4097 Fix type in log message and add one to ease seeing how long registry
4098 cache verification takes.
4100 * gst/gstregistry.c:
4101 Only test plugin filenames against G_MODULE_SUFFIX.
4103 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4105 * gst/gstdebugutils.c:
4106 Improve handling ghost/proxy pads.
4108 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4110 * docs/gst/gstreamer-sections.txt:
4113 Expose macro to docs and fix link to it.
4115 2008-03-27 Michael Smith <msmith@fluendo.com>
4117 * libs/gst/dataprotocol/dataprotocol.c:
4118 (gst_dp_packet_from_event_1_0):
4119 When calculating GDP body CRC, use the correct pointer.
4120 Fixes part of #522401.
4122 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4124 Patch by: Mark Nauwelaerts <manauw at skynet be>
4126 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4127 (gst_identity_init), (gst_identity_prepare_output_buffer):
4128 Identity is not always a passthrough element, it can modify the buffer
4129 timestamps when it has a datarate and operates in single-segment mode.
4130 We therefore make it an in_place filter with a custom buffer prepare
4131 function that conditionally makes the input buffer metadata writable
4132 when needed. Fixes #523985.
4134 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4136 Patch by: Mark Nauwelaerts <manauw at skynet be>
4139 * libs/gst/base/gstbasesrc.h:
4140 * libs/gst/base/gstbasetransform.c:
4141 * libs/gst/check/gstcheck.c:
4142 Small documentation fixes. Fixes #523978.
4144 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4146 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4147 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4148 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4150 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4152 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4153 (single_queue_underrun_cb):
4154 When trying to make room in the queue, bump the max allowed buffers
4155 bigger than the current amount of buffers in the queue. this fixes some
4156 nasty deadlocks in multiqueue when dynamically changing the limits of
4159 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4161 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4163 * gst/gstcaps.c: (gst_caps_set_simple),
4164 (gst_caps_set_simple_valist), (gst_caps_intersect):
4166 Constify the field gchar * params in set_simple and friends.
4169 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4171 * gst/gstvalue.c: (gst_value_transform_object_string):
4172 Transform a GstObject to a more meaningfull string that includes the
4173 object type in addition to its name.
4175 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4178 ChangeLog surgery to add bugnumber to commit.
4180 2008-03-23 Rene Stadler <mail@renestadler.de>
4182 * libs/gst/base/gstbasetransform.c:
4183 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4185 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4187 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4188 Rename constant everywhere and don't forget one occurence.
4190 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4192 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4193 Align memory to the pointer size even if the architecture allows
4194 unaligned memory access. Unaligned memory access usually comes with
4195 performance penality.
4197 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4199 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4200 (gst_registry_binary_check_magic),
4201 (gst_registry_binary_load_pad_template),
4202 (gst_registry_binary_load_feature),
4203 (gst_registry_binary_load_plugin):
4204 Align memory to the pointer size instead of always 32 bit. Fixes
4205 unaligned memory accesses on ia64 and friends.
4207 * gst/gstregistrybinary.h:
4208 Bump binary registry format version for this as it changes the
4209 format on those architectures that don't have unaligned access
4210 and 64 bit pointers.
4212 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4214 * docs/pwg/advanced-dparams.xml:
4215 * docs/pwg/building-props.xml:
4216 * docs/pwg/other-source.xml:
4217 * gst/glib-compat.h:
4218 * gst/gstbin.c: (gst_bin_class_init):
4219 * gst/gstclock.c: (gst_clock_class_init):
4220 * gst/gstindex.c: (gst_index_class_init):
4221 * gst/gstobject.c: (gst_object_class_init):
4222 * gst/gstpad.c: (gst_pad_class_init):
4223 * gst/gstpipeline.c: (gst_pipeline_class_init):
4224 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4225 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4226 * libs/gst/base/gstbasetransform.c:
4227 (gst_base_transform_class_init):
4228 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4229 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4230 (_gst_check_fault_handler_sighandler),
4231 (_gst_check_fault_handler_setup), (gst_check_init):
4232 * libs/gst/controller/gstcontroller.c:
4233 (_gst_controller_class_init):
4234 * libs/gst/controller/gstlfocontrolsource.c:
4235 (gst_lfo_control_source_class_init):
4236 * libs/gst/net/gstnetclientclock.c:
4237 (gst_net_client_clock_class_init):
4238 * libs/gst/net/gstnettimeprovider.c:
4239 (gst_net_time_provider_class_init):
4240 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4241 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4242 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4243 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4244 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4245 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4246 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4247 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4248 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4249 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4250 * plugins/elements/gsttee.c: (gst_tee_class_init):
4251 * plugins/elements/gsttypefindelement.c:
4252 (gst_type_find_element_class_init):
4253 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4254 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4255 use it everywhere for GParamSpecs that use static strings (i.e. all).
4256 This gives us less memory usage, fewer allocations and thus less
4257 memory defragmentation. Fixes bug #523806.
4259 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4261 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4262 (gst_param_spec_mini_object):
4263 * gst/gstminiobject.h:
4264 * win32/common/libgstreamer.def:
4265 * docs/gst/gstreamer-sections.txt:
4266 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4267 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4268 GstParamSpecMiniObject into a public header for this.
4270 This make GstMiniObject a bit more consistent with GObject and makes
4271 it possible to extend the param specs.
4273 gst_value_dup_mini_object is mainly useful for set_property methods.
4277 * tools/gst-inspect.c: (print_element_properties_info):
4278 Print something useful for GstMiniObject properties and not just
4281 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4283 * docs/gst/gstreamer-sections.txt:
4284 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4285 (gst_registry_binary_check_magic):
4286 * gst/gstregistrybinary.h:
4287 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4288 and add it to the (private part) of the docs to fix the build.
4290 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4293 (gst_registry_binary_check_magic),
4294 (gst_registry_binary_read_cache):
4295 * gst/gstregistrybinary.h:
4296 Don't use GST_MAJORMINOR for the binary registry version. Instead
4297 hardcode a value that must be changed whenever the format changes
4298 in an incompatible way.
4299 Also don't GST_ERROR when there is a version mismatch, just
4300 regenerate the registry silently.
4302 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4305 Back to development - 0.10.18.1
4307 === release 0.10.18 ===
4309 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4312 releasing 0.10.18, "So far away"
4314 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4317 * win32/common/config.h:
4318 0.10.17.4 pre-release
4320 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4322 Patch by: Ole André Vadla Ravnås
4323 <ole dot andre dot ravnas at tandberg dot com>
4325 * docs/gst/gstreamer-sections.txt:
4326 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4327 (gst_poll_update_winsock_event_mask),
4328 (gst_poll_prepare_winsock_active_sets),
4329 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4330 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4331 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4332 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4333 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4335 * win32/common/libgstreamer.def:
4336 Add new function gst_poll_fd_ignored() for improved Windows
4338 Various minor fixes and cleanups. See #520808.
4340 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4342 * gst/gstindex.c: (gst_index_entry_free):
4344 Don't free key strings which we don't own. Fixes crash in
4345 gst_index_entry_free() (#522741).
4347 * tests/check/Makefile.am:
4348 * tests/check/gst/.cvsignore:
4349 * tests/check/gst/gstindex.c: (test_index_entries),
4350 (gst_index_suite), (gst_index):
4351 Add unit test for the above.
4353 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4355 * win32/common/libgstreamer.def:
4356 Remove symbols that were removed recently. Fixes bug #521740.
4358 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4361 * win32/common/config.h:
4362 0.10.17.3 pre-release
4364 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4366 Patch by: Ole André Vadla Ravnås
4367 <ole dot andre dot ravnas at tandberg dot com>
4369 * docs/gst/gstreamer-sections.txt:
4370 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4371 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4372 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4373 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4374 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4375 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4376 (gst_poll_fd_can_write), (gst_poll_wait),
4377 (gst_poll_set_controllable), (gst_poll_restart),
4378 (gst_poll_set_flushing):
4380 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4381 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4382 (gst_net_time_provider_new):
4383 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4384 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4385 * tests/benchmarks/gstpollstress.c: (main):
4386 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4387 Remove GstPollMode from the API, it does not make sense to let the
4388 application control this.
4389 Add support for Win32.
4390 Fix the testsuite. Fixes #520671.
4392 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4394 Patch by: Ole André Vadla Ravnås
4395 <ole dot andre dot ravnas at tandberg dot com>
4397 * gst/gstregistrybinary.c:
4398 Include io.h for write() and close() when building with MSVC. Fixes
4401 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4404 * gst/gst_private.h:
4405 * gst/gstconfig.h.in:
4406 * gst/gstregistry.h:
4407 * gst/gstregistrybinary.c:
4408 * win32/common/gstconfig.h:
4409 Move registry backend API to private headers where we can. Add
4410 fixme-0.11 comments for the others. Add stubs for the xml backend when
4411 using the binary to ensure they functions exists (they should not be
4412 used though). Fixes #520756.
4414 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4417 * win32/common/config.h:
4420 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4422 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4423 (gst_registry_binary_read_cache):
4424 * gst/gstregistryxml.c: (gst_registry_save):
4425 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4426 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4427 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4428 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4429 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4432 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4434 * gst/gstminiobject.c:
4435 Import gst_private.h before any other header that might include other
4436 glib headers. This fixes the build on windows using native compilers.
4438 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4440 * win32/common/gstconfig.h:
4441 Add here too, just for completeness.
4443 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4446 * gst/gstconfig.h.in:
4447 * gst/gstregistry.h:
4448 Fix broken use of config.h-defined preprocessor directive in a public
4449 header file. Add a corresponding define to gstconfig.h, since we can't
4450 really remove those function declarations from the header file now
4451 (or can we? and why are they there in the first place?).
4453 2008-03-03 Andy Wingo <wingo@pobox.com>
4455 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4458 * gst/gststructure.c (gst_structure_from_string): Warn if
4459 structure_from_string didn't consume the whole string, but the
4460 caller did not provide an end pointer.
4462 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4464 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4466 * gst/gstregistryxml.c: (read_string), (load_feature):
4467 Strings allocated by libxml2 should be freed with xmlFree(), not
4468 with g_free(). Fixes issues on windows in certain contexts (#519698).
4470 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4472 * gst/gstinterface.c: (gst_element_implements_interface):
4473 Don't crash if the element supports the interface queried, but does
4474 not implement GstImplementsInterface. Fixes #519584.
4476 * tests/check/Makefile.am:
4477 * tests/check/gst/.cvsignore:
4478 * tests/check/gst/gstinterface.c:
4479 Add unit test for the above.
4481 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4483 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4486 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4488 * gst/gstsegment.c: (gst_segment_set_seek),
4489 (gst_segment_to_stream_time):
4490 Improve some comment.
4491 Update variables where it makes more sense.
4493 2008-02-29 Rene Stadler <mail@renestadler.de>
4495 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4496 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4497 URIHandlers implemented using language bindings.
4499 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4501 * gst/gstelementfactory.h:
4502 * tests/check/elements/fakesink.c:
4503 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4504 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4505 * tests/check/elements/filesink.c: (setup_filesink):
4506 * tests/check/elements/filesrc.c: (setup_filesrc):
4507 * tests/check/elements/identity.c: (setup_identity):
4508 * tests/check/elements/tee.c:
4509 * tests/check/generic/sinks.c:
4510 * tests/check/generic/states.c: (setup), (teardown):
4511 * tests/check/gst/gst.c:
4512 * tests/check/gst/gstabi.c:
4513 * tests/check/gst/gstbin.c:
4514 * tests/check/gst/gstbus.c: (pull_messages):
4515 * tests/check/gst/gstcaps.c:
4516 * tests/check/gst/gstelement.c:
4517 * tests/check/gst/gstevent.c:
4518 * tests/check/gst/gstghostpad.c:
4519 * tests/check/gst/gstiterator.c:
4520 * tests/check/gst/gstmessage.c:
4521 * tests/check/gst/gstminiobject.c: (my_foo_init):
4522 * tests/check/gst/gstobject.c: (thread_name_object),
4524 * tests/check/gst/gstpad.c:
4525 * tests/check/gst/gstplugin.c:
4526 * tests/check/gst/gstpoll.c:
4527 * tests/check/gst/gstquery.c:
4528 * tests/check/gst/gstsegment.c:
4529 * tests/check/gst/gststructure.c:
4530 * tests/check/gst/gstsystemclock.c:
4531 * tests/check/gst/gsttask.c:
4532 * tests/check/gst/gstutils.c:
4533 * tests/check/gst/gstvalue.c:
4534 * tests/check/gst/struct_hppa.h:
4535 * tests/check/gst/struct_i386.h:
4536 * tests/check/gst/struct_ppc32.h:
4537 * tests/check/gst/struct_ppc64.h:
4538 * tests/check/gst/struct_x86_64.h:
4539 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4540 * tests/check/libs/basesrc.c:
4541 * tests/check/libs/controller.c: (GST_START_TEST):
4542 * tests/check/libs/gdp.c:
4543 * tests/check/libs/gstnetclientclock.c:
4544 * tests/check/libs/gstnettimeprovider.c:
4545 * tests/check/libs/libsabi.c:
4546 * tests/check/libs/struct_hppa.h:
4547 * tests/check/libs/struct_i386.h:
4548 * tests/check/libs/struct_ppc32.h:
4549 * tests/check/libs/struct_ppc64.h:
4550 * tests/check/libs/struct_x86_64.h:
4551 * tests/check/pipelines/cleanup.c:
4552 * tests/check/pipelines/simple-launch-lines.c:
4553 * tests/check/pipelines/stress.c:
4554 And correct even more valid sparse warnings.
4556 * win32/common/libgstreamer.def:
4557 Add gst_poll_fd_init to the list of symbols.
4559 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4561 * gst/gstconfig.h.in:
4562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4563 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4564 (gst_check_log_critical_func), (gst_check_drop_buffers),
4565 (gst_check_element_push_buffer_list):
4566 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4567 (gst_controller_get_type):
4568 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4569 (gst_object_get_controller), (gst_object_get_control_source):
4570 * libs/gst/controller/gstinterpolationcontrolsource.c:
4571 (gst_interpolation_control_source_new):
4572 * libs/gst/controller/gstlfocontrolsource.c:
4573 (gst_lfo_control_source_new):
4574 * libs/gst/dataprotocol/dataprotocol.c:
4575 (gst_dp_event_from_packet_0_2):
4576 * plugins/elements/gstfdsrc.c:
4577 * plugins/elements/gstmultiqueue.c:
4578 * plugins/elements/gsttee.c:
4579 * plugins/elements/gsttypefindelement.c:
4580 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4581 (gst_file_index_add_association):
4582 * plugins/indexers/gstmemindex.c:
4583 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4584 * tests/check/elements/queue.c: (setup_queue):
4585 * tests/check/gst/gstpipeline.c:
4586 * tests/check/libs/collectpads.c: (setup), (teardown),
4587 (gst_collect_pads_suite):
4588 * tests/examples/adapter/adapter_test.c:
4589 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4590 * tests/examples/xml/createxml.c:
4591 * tests/examples/xml/runxml.c:
4592 * tools/gst-inspect.c:
4594 Correct all relevant warnings found by the sparse semantic code
4595 analyzer. This include marking several symbols static, using
4596 NULL instead of 0 for pointers, not using variable sized arrays
4597 on the stack, moving variable declarations to the beginning of
4598 a block and using "foo (void)" instead of "foo ()" for declarations.
4600 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4602 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4603 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4604 Don't reset GstPollFDs, this is not necessary at all.
4606 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4607 (delayed_restart), (delayed_control):
4608 Use GST_POLL_FD_INIT.
4610 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4612 * gst/gstpoll.c: (gst_poll_fd_init):
4616 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4617 Use some more init macros.
4619 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4621 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4622 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4623 Use init macros and functions.
4625 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4627 * docs/gst/gstreamer-sections.txt:
4628 * gst/gstpoll.c: (gst_poll_fd_init):
4630 Add INIT macro and _init method for initializing the GstPollFD.
4632 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4634 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4635 (gst_fd_sink_update_fd):
4636 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4637 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4638 (delayed_restart), (delayed_control):
4639 Initialize some uninitialized variables as spotted by valgrind.
4641 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4643 * tests/benchmarks/Makefile.am:
4644 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4646 Add poll stress test.
4648 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4650 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4652 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4653 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4654 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4655 * plugins/elements/gstfdsink.h:
4656 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4657 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4658 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4659 (gst_fd_src_uri_set_uri):
4660 * plugins/elements/gstfdsrc.h:
4661 Port to GstPoll. See #505417.
4663 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4665 * win32/common/libgstreamer.def:
4666 Add new gst_poll_ symbols to win32 defs.
4668 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4670 * docs/libs/gstreamer-libs-sections.txt:
4671 * libs/gst/net/gstnetclientclock.c:
4672 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4673 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4674 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4675 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4676 * libs/gst/net/gstnetclientclock.h:
4677 * libs/gst/net/gstnettimeprovider.c:
4678 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4679 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4680 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4681 (gst_net_time_provider_new):
4682 * libs/gst/net/gstnettimeprovider.h:
4683 Use a private stuct to not break ABI.
4685 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4687 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4689 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4690 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4691 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4692 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4693 * libs/gst/net/gstnetclientclock.h:
4694 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4695 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4696 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4697 (gst_net_time_provider_new):
4698 * libs/gst/net/gstnettimeprovider.h:
4699 Massive code removal and cleanups because of GstPoll.
4702 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4705 Add checks for poll, ppoll and pselect.
4707 * docs/gst/gstreamer-docs.sgml:
4708 * docs/gst/gstreamer-sections.txt:
4709 Add docs for GstPoll.
4713 * gst/gstpoll.c: (find_index), (selectable_fds),
4714 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4715 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4716 (gst_poll_set_mode), (gst_poll_get_mode),
4717 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4718 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4719 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4720 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4721 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4722 (gst_poll_fd_can_write), (gst_poll_wait),
4723 (gst_poll_set_controllable), (gst_poll_restart),
4724 (gst_poll_set_flushing):
4726 Add generic poll abstraction. We ideally don't want to have this in core
4727 here but in glib intead...
4728 This code will be used in various network elements and ultimately for
4729 the nanosecond precision monotonic clock (that's why it's here in core).
4730 It'll allow us to implement cancelable socket operations for windows too.
4732 * tests/check/Makefile.am:
4733 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4734 (delayed_stop), (delayed_restart), (delayed_flush),
4735 (delayed_control), (gst_poll_suite):
4736 Add GstPoll unit test.
4738 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4741 Improve documentation of gst_filter_run(). Fixes #518627.
4743 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4746 Add a few lines about the new 'check-inspected-versions' target.
4748 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4750 * tests/check/gst/gstevent.c:
4751 Add qos to the event test. Rename tcase/tsuite; is not only about
4754 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4756 * plugins/elements/gstqueue.c:
4757 Ensure that buffer metadata is writeable, before modifying. Spotted by
4760 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4762 * plugins/elements/gstqueue.c:
4763 * plugins/elements/gstqueue.h:
4764 When dropping buffers in leaky modes, mark next buffers we sent as
4767 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4769 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4770 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4772 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4774 * plugins/elements/Makefile.am:
4775 * plugins/elements/gstbufferstore.c:
4776 * plugins/elements/gstbufferstore.h:
4777 * plugins/elements/gsttypefindelement.h:
4778 Remove GstBufferStore, no idea why we were still building it.
4779 It's not used anywhere and superseded by GstAdapter.
4781 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4782 (gst_file_src_create_mmap):
4783 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4784 Printf format fixes for 64-bit integers.
4786 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4789 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4790 We're not in 0.8 times anymore.
4792 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4794 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4795 (gst_check_element_push_buffer_list):
4796 * libs/gst/check/gstcheck.h:
4797 Make the declaration in the header for
4798 gst_check_element_push_buffer_list match the implementation.
4800 Fix up spelling, grammar and wording of the documentation in a few
4801 places, and add the Since keyword to new API functions.
4802 Use g_list_delete_link instead of g_list_remove in
4803 gst_check_drop_buffers, since it's immeasurably more efficient.
4805 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4806 Use new gst_check_drop_buffers function where appropriate.
4808 * win32/common/libgstbase.def:
4809 * win32/common/libgstreamer.def:
4810 Add new symbols gst_collect_pads_take_buffer,
4811 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4814 Changelog surgery to add API keyword to new gst_check API.
4816 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4818 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4819 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4820 Update pre-generated flex files with flex 2.3.34.
4822 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4824 * gst/gstminiobject.c:
4825 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4826 friendly to subclasses and not require them to know all internals
4827 of their parent class.
4829 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4831 * docs/libs/gstreamer-libs-sections.txt:
4832 * libs/gst/base/gstcollectpads.c:
4833 * libs/gst/base/gstcollectpads.h:
4834 Add sub-buffer functions to collectpads. Fixes #516187.
4835 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4837 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4840 Copy selected buffer-flags when creating subbuffers.
4843 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4845 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4846 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4847 * gst/gstmessage.c: (gst_message_class_init),
4848 (gst_message_finalize):
4849 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4850 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4851 (gst_mmap_buffer_finalize):
4852 Properly chain up finalize functions to the parent class.
4854 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4856 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4858 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4859 (gst_index_set_resolver_full):
4861 Add new function with option to dispose of user_data in resolver.
4862 Actually call the dispose function when finalizing the object and not
4863 just when changing the resolver/filter.
4864 API: GstIndex::gst_index_set_resolver_full()
4866 * docs/gst/gstreamer-sections.txt:
4867 Add new function to docs. Fixes #515469.
4869 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4871 * gst/gstindex.c: (gst_index_finalize):
4872 Chain up finalize to the parent class. Fixes leaking the GstObject
4873 name and other things.
4875 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4878 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4879 pre-releases or releases.
4881 * docs/faq/gst-uninstalled:
4884 * docs/random/release:
4885 Change one of the steps - we only upload core & base to Gnome FTP
4887 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4889 * gst/gstconfig.h.in:
4890 Add 'id' for example.
4894 * plugins/elements/gstfdsink.c:
4895 Link to signals. Doc and comment fixes.
4897 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4899 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4900 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4901 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4902 unused and unimplemented; finally, it is plugin features, not
4903 plugins, that have ranks.
4905 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4907 * gst/gstpluginfeature.h:
4908 Clarify GstRank range docs.
4910 2008-02-05 David Schleef <ds@schleef.org>
4912 * gst/gst.c: Add a separate gst_deinitialized that prevents
4913 gst_init() from being called after gst_deinit(). Fixes #509559
4915 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4917 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4918 (gst_bin_class_init):
4919 * gst/gstelement.c: (gst_element_base_class_init),
4920 (gst_element_class_add_pad_template):
4921 * gst/gstpadtemplate.c: (gst_pad_template_init):
4922 * gst/gstpipeline.c: (gst_pipeline_get_type),
4923 (gst_pipeline_base_init), (gst_pipeline_class_init):
4924 * libs/gst/base/gstbasesink.c:
4925 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4926 (gst_base_src_base_init), (gst_base_src_class_init):
4927 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4928 (gst_capsfilter_class_init):
4929 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4930 (gst_fake_sink_class_init):
4931 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4932 (gst_fake_src_class_init):
4933 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4934 (gst_fd_sink_class_init):
4935 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4936 (gst_fd_src_class_init):
4937 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4938 (gst_file_sink_class_init):
4939 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4940 (gst_file_src_class_init):
4941 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4942 (gst_identity_class_init):
4943 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4944 (gst_multi_queue_class_init):
4945 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4946 (gst_queue_class_init):
4947 * plugins/elements/gsttee.c: (gst_tee_base_init),
4948 (gst_tee_class_init):
4949 * plugins/elements/gsttypefindelement.c:
4950 (gst_type_find_element_base_init),
4951 (gst_type_find_element_class_init):
4952 * tests/check/gst/gstelement.c: (gst_element_suite):
4953 Revert previous changes to the behaviour of GstPadTemplates, etc
4954 and the possiblity to call them in class_init as it breaks too
4955 many elements. Reopens bug #491501.
4957 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4960 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4962 * tools/gst-launch.c:
4963 Dump one graph per pipeline state-change and state change name
4964 (if GST_DEBUG_DUMP_DOT_DIR is set).
4966 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4969 * tests/check/gst/gstpad.c:
4970 Be sure that we have a new copy of the caps and not
4971 reffed caps from a template
4973 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4975 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4976 * gst/gstpipeline.c: (gst_pipeline_get_type),
4977 (gst_pipeline_class_init):
4978 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4979 (gst_base_sink_class_init):
4980 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4981 (gst_base_src_class_init):
4982 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4983 (gst_base_transform_class_init):
4984 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4985 (gst_collect_pads_class_init):
4986 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4987 * libs/gst/net/gstnettimeprovider.c:
4988 (gst_net_time_provider_base_init),
4989 (gst_net_time_provider_class_init):
4990 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4991 (gst_capsfilter_class_init):
4992 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4993 (gst_fake_sink_class_init):
4994 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4995 (gst_fake_src_class_init):
4996 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4997 (gst_fd_sink_class_init):
4998 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4999 (gst_fd_src_class_init):
5000 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5001 (gst_file_sink_class_init):
5002 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5003 (gst_file_src_class_init):
5004 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5005 (gst_identity_class_init):
5006 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5007 (gst_multi_queue_class_init):
5008 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5009 (gst_queue_class_init):
5010 * plugins/elements/gsttee.c: (gst_tee_base_init),
5011 (gst_tee_class_init):
5012 * plugins/elements/gsttypefindelement.c:
5013 (gst_type_find_element_base_init),
5014 (gst_type_find_element_class_init):
5015 Don't use base_init where not absolutely necessary. For example it's
5016 not necessary anymore for adding pad templates or setting element
5019 Leave empty base_init functions in several places as GST_BOILERPLATE
5020 still defines and uses them.
5022 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5024 * gst/gstelement.c: (gst_element_base_class_init),
5025 (gst_element_class_add_pad_template):
5026 * gst/gstpadtemplate.c:
5027 Make it possible (and recommended) to set element details and add
5028 pad templates in the class_init functions by copying the details/pad
5029 templates in GstElement's base_init.
5031 Also make it possible to replace existing pad templates by adding
5032 a new one with the same name. This was done in a hackish fashion
5033 in same elements before already.
5035 Don't reference pad templates that are added a second time. A
5036 new pad template has a refcount of one and is not floating anymore
5037 and to be owned by the element's class. Make this more explicit by
5038 mentioning it in the docs of gst_element_class_add_pad_template().
5040 These changes are backwards compatible. Fixes bug #491501.
5042 * tests/check/gst/gstelement.c:
5043 Add unit test for setting element details, adding pad templates and
5044 replacing them in a subclass.
5046 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5048 * tools/gst-inspect.c: (print_interfaces),
5049 (print_element_properties_info), (print_pad_info),
5050 (print_signal_info), (print_element_info):
5051 Fix a few memory leaks.
5053 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5055 * docs/libs/gstreamer-libs-sections.txt:
5056 * libs/gst/check/gstcheck.c:
5057 * libs/gst/check/gstcheck.h:
5058 Add more functions for unit testing: gst_check_drop_buffers,
5059 gst_check_caps_equal, gst_check_element_push_buffer_list,
5060 gst_check_element_push_buffer
5061 API: gst_check_drop_buffers
5062 API: gst_check_caps_equal
5063 API: gst_check_element_push_buffer_list
5064 API: gst_check_element_push_buffer
5066 2008-02-01 Julien Moutte <julien@fluendo.com>
5068 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5069 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5070 (gst_index_finalize), (gst_index_entry_free),
5071 (gst_index_add_association): Fix memory leaks.
5072 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5073 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5074 (gst_mem_index_free_format), (gst_mem_index_free_id),
5075 (gst_mem_index_finalize): Fix memory leaks.
5076 * win32/common/config.h: Updated to CVS HEAD.
5078 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5081 Some more details about how the plugin docs works.
5083 * docs/plugins/gstreamer-plugins-sections.txt:
5086 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5088 * gst/parse/grammar.tab.pre.c:
5089 * gst/parse/grammar.tab.pre.h:
5090 * gst/parse/grammar.y:
5091 * gst/parse/lex._gst_parse_yy.pre.c:
5092 Add delayed set-property. This allows to set properties on dynamicaly
5093 created objects (pads in videomxer). Fixes #509391.
5095 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5098 Check if caps are not NULL (fix bug #510194)
5100 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5102 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5103 (gst_base_sink_get_position_paused):
5104 Add fixme regarding EOS in pull mode.
5105 Fix position reporting in PAUSED for negative rates.
5107 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5109 * gst/gstminiobject.c: (gst_mini_object_replace):
5110 When replacing a miniobject, do a quick equality check first so that we
5111 can avoid a ref/unref pair.
5113 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5115 * docs/design/part-synchronisation.txt:
5118 * docs/plugins/Makefile.am:
5119 * docs/plugins/gstreamer-plugins-docs.sgml:
5120 * docs/plugins/gstreamer-plugins-sections.txt:
5121 * plugins/elements/gstmultiqueue.c:
5122 Add multiqueue to the docs.
5124 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5129 === release 0.10.17 ===
5131 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5134 releasing 0.10.17, "Due Negligence"
5136 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5139 Revert caps != NULL check temporarily for 0.10.17 release.
5141 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5144 Check if caps are not NULL (fix bug #510194)
5146 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5149 Fix compilation on systems that have posix timers but no
5152 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5155 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5157 * tools/gst-inspect.c:
5158 Revert previous commit in preparation for an impromptu 0.10.17 release
5160 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5162 * tools/gst-inspect.c: (print_interfaces),
5163 (print_element_properties_info), (print_pad_info),
5164 (print_signal_info), (print_element_info):
5165 Fix a few memory leaks.
5167 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5172 === release 0.10.16 ===
5174 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5177 releasing 0.10.16, "Special Dispensation"
5179 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5182 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5183 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5184 not fail when trying to crosscompile on OpenEmbedded (#511750).
5186 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5189 Use $(MAKE) instead of make to fix the build if GNU make is
5190 called different. Fixes bug #510747.
5192 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5194 * gst/gstplugin.c: (_gst_plugin_initialize):
5195 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5196 again, which I broke two commits ago when changing the API
5197 of gst_plugin_register_static(): the g_list_foreach() in
5198 _gst_plugin_register_static still assumed the old function
5199 signature and would therefore fail (re-fixes #510187).
5201 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5202 (_gst_plugin_register_static), (gst_plugin_register_static):
5203 Revert the (technically correct) change to call g_thread_init() from
5204 the pre-main() constructor. This will break programs which call
5205 g_thread_init() without an if (!g_thread_supported()) guard in their
5206 main function. We could just blame it on GLib or the application, but
5207 it's probably best to just avoid this altogether and simply not use
5208 any GLib functions here and use plain old malloc() with a simple
5209 array to store the plugins to register later when gst_init() is
5210 finally called (re-fixes #510187).
5212 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5213 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5214 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5215 (GST_START_TEST), (gst_plugin_suite):
5216 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5219 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5221 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5222 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5223 This makes gtk-doc complain, but results in slightly better
5224 compiler errors. The old _gst_plugin_register_static() is
5225 still guarded, so there'll be a compiler warning about that
5226 instead. Fixes #510187 too.
5228 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5230 * gst/gst.c: (init_post):
5231 * gst/gstplugin.c: (_gst_plugin_register_static),
5232 (gst_plugin_register_static), (_gst_plugin_initialize):
5233 * gst/gstplugin.h: (GstPluginFilter):
5234 Change API of gst_plugin_register_static() to not take
5235 a GstPluginDesc, but rather just take all the arguments
5236 in a GstPluginDesc directly. This is more intuitive and
5237 avoids certain mistakes when porting code from
5238 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5241 * tests/check/gst/gstplugin.c:
5242 Fix up for changed API.
5244 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5246 * docs/faq/legal.xml:
5247 Update FAQ, Totem actually has an exception these days.
5249 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5251 * win32/common/libgstreamer.def:
5252 Add new API declarations
5254 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5256 * gst/gstminiobject.c:
5257 Spelling fixes for the API docs.
5259 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5261 * libs/gst/base/gstbasetransform.c:
5262 Fix long property description for QoS.
5264 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5267 _gst_trace_on is already provided by gsttrace.h, no need to declare
5270 * docs/libs/gstreamer-libs-sections.txt:
5271 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5272 and remove strange tcase_add_test which is outputting a warning.
5274 * libs/gst/check/gstcheck.c:
5275 * libs/gst/check/gstcheck.h:
5276 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5277 and define them in gstcheck.c instead of having every .c file whcih
5278 includes gstcheck.h be defining its own copy and relying on symbol
5279 interposing to marry them all, which doesn't work on Solaris.
5281 * tests/check/elements/identity.c: (GST_START_TEST):
5282 Don't define 'buffers' locally, it comes from libgstcheck.
5284 * tests/check/generic/sinks.c: (send_buffer):
5285 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5287 * tests/check/gst/gststructure.c: (GST_START_TEST):
5288 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5289 * tests/check/gst/gstutils.c: (GST_START_TEST):
5290 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5291 Add a bunch of casts to make various constants fit the types
5292 they're being assigned to.
5294 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5296 * gst/gstchildproxy.c:
5297 Improve docs and add some ideas for making this more general-purpose.
5299 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5301 * gst/gst_private.h: (GST_CAT_TYPES):
5302 Add GST_CAT_TYPES, for consistency, and so that the other
5303 debug categories don't make fun of it. Spotted by Saur on IRC.
5305 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5307 * gst/parse/Makefile.am:
5308 Move types.h from EXTRA_DIST to noinst_HEADERS.
5310 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5313 Add -Wno-portability to the automake parameters to stop warnings
5314 about GNU make extensions being used. We require GNU make in almost
5315 every Makefile anyway.
5318 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5319 at the same time is required for per target flags.
5321 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5324 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5325 __GNUC__ is defined before using it.
5327 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5329 * docs/gst/gstreamer-sections.txt:
5330 * gst/gst.c: (init_post):
5331 * gst/gstplugin.c: (_gst_plugin_register_static),
5332 (gst_plugin_register_static), (_gst_plugin_initialize),
5333 (gst_plugin_register_func):
5334 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5335 API: add gst_plugin_register_static() and deprecate
5336 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5338 Also, in _gst_plugin_register_static(), make sure to call
5339 g_thread_init() before calling GLib functions such as
5340 g_list_append() if we're not initialised yet, since that
5341 may lead to random crashes with older GSlice/GLib versions.
5343 * tests/check/gst/gstplugin.c:
5344 Adapt unit test to above changes.
5346 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5348 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5349 * gst/gstcaps.c: (gst_caps_to_string):
5350 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5351 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5352 Yet another gratuitous GString micro-optimisation: add a (private)
5353 function that serialises a structure appending to an existing
5354 GString, so that when we serialise caps we don't need to alloc+free
5355 a throwaway GString for each structure (each of which also entailing
5356 multiple reallocs on the way); also use g_string_sized_new() in
5357 various places with an approximate string length to avoid reallocs
5358 within GString. See #500143.
5360 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5362 * gst/gststructure.c: (gst_structure_id_set_value):
5363 Always check UTF-8 conformance of structure strings and not only
5364 if the debugging system is enabled; reasoning: the behaviour of
5365 the actual code shouldn't really change depending on whether the
5366 debugging system is enabled or not (#508291).
5368 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5371 Remove old coverage target in favour of "make lcov".
5373 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5375 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5376 (gst_base_src_loop):
5377 The start segment for reverse playback goes from start to last_stop.
5379 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5381 Patch by: Peter Kjellerstedt <pkj axis com>
5384 Cast the results from the timeval/spec_to_time macros to what the
5385 docs say it casts to, a GstClockTime. fixes #508175.
5387 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5390 Update some comments.
5392 * tools/gst-inspect.c: (print_element_properties_info):
5393 Improve printing of flags.
5395 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5397 * libs/gst/base/gstbasetransform.c:
5398 (gst_base_transform_transform_size):
5399 Print element name with g_warning() if there's a problem
5402 2008-01-07 David Schleef <ds@schleef.org>
5404 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5406 * libs/gst/controller/gstcontroller.h:
5407 * libs/gst/controller/gstcontrolsource.h:
5408 * libs/gst/controller/gstinterpolationcontrolsource.h:
5409 * libs/gst/controller/gstlfocontrolsource.h:
5410 * libs/gst/dataprotocol/dataprotocol.h:
5411 Fix empty prototypes. Fixes bug #507957.
5413 2008-01-07 David Schleef <ds@schleef.org>
5415 * docs/faq/dependencies.xml: Fix typo.
5417 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5419 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5420 (gst_base_src_loop):
5421 Don't update the last_stop position in do_seek, that's the position we
5423 Read backwards when we have a negative rate.
5425 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5426 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5428 Add check for reverse reading.
5430 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5432 Patch by: Alexis Ballier <aballier at gentoo org>
5434 * tests/check/gst/gstabi.c:
5435 * tests/check/gst/struct_ppc64.h:
5436 * tests/check/libs/libsabi.c:
5437 * tests/check/libs/struct_ppc64.h:
5438 Decide which header to include based on the userland ABI target
5439 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5440 for 64-bit userland (#503590). Might need something similar for
5443 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5445 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5446 Log the reason why fopen fails in addition to the fact that it failed.
5448 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5450 * gst/parse/parse.l:
5451 Use "%option never-interactive" to prevent useless calls to isatty()
5452 on every input when parsing. Also use "%option noinput" to not define
5453 the static input/yyinput functions which we don't use anyway. This
5454 removes a compiler warning with gcc 4.3 and saves some bytes in the
5457 * gst/parse/lex._gst_parse_yy.pre.c:
5458 Regenerated for the above change.
5460 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5462 * gst/gstpad.c: (fixate_value):
5463 Don't crash when trying to fixate and empty list.
5466 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5468 * docs/faq/gst-uninstalled:
5469 Clarify the comments to make the usage of this script and what it
5470 does easier to understand.
5472 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5474 * tools/gst-plot-timeline.py:
5475 Add more options to gst-plot-timeline
5477 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5479 * docs/design/part-synchronisation.txt:
5480 Some more info on how the stream_time in GstBaseSink is done.
5482 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5484 * tests/check/generic/sinks.c: (gst_sinks_suite):
5485 Put back the tcase_set_timeout(), apparently it's needed after
5486 all; fix it up in a way that makes things work with valgrind too.
5488 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5490 * gst/gstdebugutils.c:
5491 Add warning when failed to open file for writing.
5493 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5495 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5497 * gst/gstvalue.c: (gst_value_is_fixed):
5498 Optimisation: bail out of the loop as early as possible (#500143).
5500 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5502 * gst/gstcaps.c: (gst_caps_to_string):
5503 * gst/gstinfo.c: (gst_debug_construct_term_color):
5504 * gst/gstparse.c: (gst_parse_launchv):
5505 * gst/gstutils.c: (gst_util_dump_mem):
5506 * gst/gstvalue.c: (gst_value_serialize_any_list),
5507 (gst_value_transform_any_list_string):
5508 Bunch of gratuitous nano-optimisations.
5510 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5512 * tests/check/generic/sinks.c: (async_done_func),
5513 (async_done_eos_func):
5514 Fix leak in unit test (bus sync handler must unref the message
5515 if it returns GST_BUS_DROP). Don't fiddle with the default test
5516 timeout, this is smaller than the current preconfigured value
5517 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5518 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5520 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5522 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5525 Check for stdio_ext.h for the filesink changes.
5527 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5528 (gst_file_sink_class_init), (gst_file_sink_init),
5529 (gst_file_sink_dispose), (gst_file_sink_set_property),
5530 (gst_file_sink_get_property), (gst_file_sink_open_file),
5531 (gst_file_sink_close_file):
5532 * plugins/elements/gstfilesink.h:
5533 Add two properties to control the buffering mode and size.
5534 API: GstFileSink::buffer-mode
5535 API: GstFileSink::buffer-size
5538 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5540 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5541 Add some more docs to explain why a FIXME was wrongly added.
5543 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5546 Fix typo in the gst_object_{ref,unref} documentation.
5548 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5550 * tests/check/libs/controller.c:
5551 * tests/check/libs/typefindhelper.c:
5552 * tests/check/pipelines/parse-launch.c:
5553 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5554 going to be deprecated (see #498924).
5556 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5558 * gst/gsttypefind.c: (gst_type_find_register):
5559 Make gst_type_find_register work for static typefind functions,
5560 ie. allow passing plugin == NULL (prerequisite for #498924).
5562 * gst/gstelementfactory.c: (gst_element_register):
5563 Small docs addition.
5565 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5567 * gst/gstpad.c: (gst_pad_dispose):
5568 Really unlink the peer pad instead of setting the peer pointer to NULL
5569 when we dispose the pad.
5570 This correctly calls the unlink functions and makes sure that the peer
5571 does not have a handle to invalid memory. See #504671.
5573 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5574 Add testsuite for above case.
5576 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5578 Patch by: Peter Kjellerstedt <pkj axis com>
5580 * libs/gst/check/gstcheck.h:
5581 Fix detection of the check version we're compiling against (would
5582 otherwise break if check goes v0.10.0); correctly report the
5583 name of the failed test again in case of failure, instead of
5584 just 'tf' (fixes #504499).
5586 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5588 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5589 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5590 (gst_base_src_loop), (gst_base_src_set_flushing),
5591 (gst_base_src_change_state):
5592 Allow sending EOS to the source to make it send out an EOS event from
5593 the streaming thread.
5594 Update docs and deprecate the old NULL/READY shutdown method.
5596 * tests/check/libs/basesrc.c: (GST_START_TEST),
5597 (gst_basesrc_suite):
5598 Add unit test for controlled shutdown.
5600 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5602 * docs/design/part-synchronisation.txt:
5605 * gst/gstsegment.c: (gst_segment_set_seek),
5606 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5607 (gst_segment_to_running_time):
5608 The seek format can be different from the segment format when the start
5609 and stop values are not to be updated, when we only do a rate change for
5612 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5613 (gst_segment_suite):
5614 Add a testcase for the rate-only seeks, checking that the format is
5615 correctly ignored when start and stop are not updated.
5617 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5619 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5621 * win32/vs8/grammar.vcproj:
5622 * win32/vs8/libgstcontroller.vcproj:
5623 * win32/vs8/libgstreamer.vcproj:
5624 Fix compilation with VS8 and include some missing files.
5626 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5629 Small docs addition: mention that the strings returned by
5630 gst_tag_list_get_string*() are in UTF-8 encoding.
5632 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5635 The check-exports stuff moved to common/win32.mak, so include that.
5637 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5639 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5640 (gst_base_src_perform_seek), (gst_base_src_get_range),
5641 (gst_base_src_set_playing), (gst_base_src_change_state):
5642 Make _wait_playing() not check any variables so that we can call this
5643 function from subclasses. Move the checks elsewhere similar to
5644 _wait_preroll() in basesink.
5646 Only signal the LIVE cond when we are going back to PLAYING.
5648 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5650 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5651 Use g_remove() and g_rename(). Check result of g_rename(), and
5652 don't leak the open file descriptor if we error out when writing.
5654 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5655 Must check the return value of close() after writing out the new
5656 registry file. Sometimes write problems such as out-of-diskspace
5657 are only reported when the file is closed and not already during
5658 the write. This may have caused partial/broken registry files in
5659 some rare circumstances. Should fix #503675.
5661 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5663 * docs/gst/.cvsignore:
5664 * docs/libs/.cvsignore:
5665 * docs/plugins/.cvsignore:
5666 Ignore files generated by new common/* modifications
5668 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5670 * win32/common/libgstbase.def:
5671 Yes, you can also have a <TAB> if you want.
5673 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5675 * win32/common/libgstbase.def:
5676 Add new basetransform API to win export file.
5678 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5680 * tests/check/gst/gstbin.c:
5681 Adjust the test to the refcount change two days ago.
5683 2007-12-14 David Schleef <ds@schleef.org>
5685 * docs/faq/getting.xml: Fix typo.
5687 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5689 * docs/libs/gstreamer-libs-sections.txt:
5690 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5691 (gst_base_transform_prepare_output_buffer),
5692 (gst_base_transform_set_gap_aware):
5693 * libs/gst/base/gstbasetransform.h:
5694 API: Add gst_base_transform_set_gap_aware() to control whether
5695 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5696 get buffers with this flag at all. Fixes #503231.
5698 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5700 * libs/gst/base/gstbasesink.c:
5701 * libs/gst/base/gstbasesrc.c:
5702 * libs/gst/base/gstbasetransform.c:
5703 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5704 thread. Correct log message in gstbasesrc.c.
5706 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5708 * gst/gstutils.c: (element_find_unconnected_pad):
5709 Fix possible compiler warning (#503417).
5711 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5713 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5714 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5716 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5718 * tools/gst-inspect.c: (print_element_properties_info):
5719 Add support for GstFraction properties.
5721 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5724 Add check-exports target and run it as part of 'make check'
5725 (see #499140 and #493983).
5727 * gst/gst_private.h:
5728 * gst/gstelementfactory.h:
5729 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5730 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5731 (_priv_gst_in_valgrind):
5732 * gst/gstinfo.h: (GstLogFunction):
5733 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5734 (gst_type_find_register):
5735 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5736 (gst_type_find_factory_get_type):
5737 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5738 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5739 (gst_controller_new_valist), (gst_controller_new_list),
5740 (_gst_controller_dispose), (_gst_controller_class_init):
5741 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5742 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5743 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5744 (gst_object_get_controller), (gst_object_set_controller),
5745 (gst_object_suggest_next_sync), (gst_object_sync_values),
5746 (gst_object_set_control_source), (gst_object_get_control_source),
5747 (gst_object_get_value_arrays), (gst_object_get_value_array),
5748 (gst_object_get_control_rate), (gst_object_set_control_rate):
5749 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5750 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5751 Make some functions that should be static static; rename some
5752 private symbols so that they don't get exported; add some FIXME
5753 comments so we can move accidentally exported functions into
5754 our private section in 0.11.
5756 * win32/common/libgstreamer.def:
5757 Add gst_utils_get_timestamp().
5759 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5763 Add more missing "Since:" tags to docs.
5765 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5768 Add mising "Since:" to docs.
5770 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5773 Include "glib-compat-private.h" to fix the build on system with
5774 glib < 2.10. Fixes #503131.
5776 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5780 Actually its not PURE as it gets the time from elsewhere.
5782 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5784 * docs/gst/gstreamer-sections.txt:
5786 * gst/gstdebugutils.c:
5790 * libs/gst/base/gstbasesink.c:
5791 * tools/gst-launch.c:
5792 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5793 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5794 Thanks Tim for spotting.
5795 API: gst_util_get_timestamp
5797 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5800 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5802 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5804 * gst/gststructure.c: (gst_structure_validate_name),
5805 (gst_structure_new_valist), (gst_structure_parse_value),
5806 (gst_structure_from_string):
5807 Don't crash in _from_string() if the structure name is not valid
5808 (fixes #501560). Allow structure names to start with a number
5809 again (this apparently broke the ubuntu codec installer).
5811 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5813 Add unit test for the crash; update unit tests for new behaviour.
5815 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5818 Clarify gst_element_get_compatible_pad() documentation.
5821 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5823 * tests/check/Makefile.am:
5824 Don't forget to dist {gst,libs}/struct_hppa.h.
5826 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5828 * libs/gst/base/gstbasesink.c:
5829 Use new API to get elapsed time.
5831 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5833 * gst/gstdebugutils.c:
5835 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5837 * tools/gst-launch.c:
5838 Use new API to get elapsed time.
5840 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5842 * docs/gst/gstreamer-sections.txt:
5844 * gst/gstdebugutils.c:
5846 Rename new API + ChangeLog surgery to remove old name from last entry..
5848 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5850 * docs/gst/gstreamer-sections.txt:
5852 * gst/gstdebugutils.c:
5854 Now hide the different clock stuff behind a macro.
5856 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5859 * gst/gstdebugutils.c:
5861 Apply the posix-timer check from #361155. Conditionally use the posix
5862 timer for logging. This gives better timestamp precission, less
5863 overhead and no ntp jitter.
5865 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5867 * gst/gstminiobject.c: (gst_mini_object_get_type),
5868 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5869 (gst_mini_object_finalize), (gst_mini_object_copy),
5870 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5871 (gst_mini_object_replace), (param_mini_object_validate),
5872 (gst_param_spec_mini_object_get_type):
5873 Some cleanup and checking against invalid function parameters.
5875 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5877 * docs/gst/gstreamer-sections.txt:
5879 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5880 (gst_systemclock_suite):
5881 Start merging in the easy bits of #361155, the monotonic clock patch.
5882 This one adds a few handy macros with docs and a testsuite.
5884 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5886 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5887 Be a bit smarter when seeking, like, don't try to do a seek when it's
5888 not needed. This avoids errors when the file is not seekable.
5891 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5893 * docs/gst/gstreamer-docs.sgml:
5894 * docs/gst/gstreamer-sections.txt:
5895 * docs/gst/gstreamer.types.in:
5900 * plugins/elements/gstqueue.c:
5901 Due to popular request remove preset interface again. :-(.
5903 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5905 * tools/gst-inspect.c:
5906 Print 'default value' for enums and flags too.
5908 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5910 * docs/random/ensonic/profiling.txt:
5914 Fix typo and give better log output.
5916 * gst/gstdebugutils.c:
5917 * gst/gstdebugutils.h:
5918 More ideas, make graphs a bit smaller and fix param name in macro.
5920 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5923 Try harder to use the return value from fgets().
5925 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5928 For theses two fgets we handle the error below.
5930 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5932 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5933 Only send upstream events upstream. Fixes #498746.
5935 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5937 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5939 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5940 (gst_identity_init), (gst_identity_transform_ip),
5941 (gst_identity_set_property), (gst_identity_get_property):
5942 * plugins/elements/gstidentity.h:
5943 Add property to disable handoff signal emission. Fixes #498694.
5944 API: GstIdentity::signal-handoffs
5946 2007-11-21 Julien Moutte <julien@fluendo.com>
5948 * docs/faq/gst-uninstalled: Yet another missing library for the
5949 uninstalled script (fft)
5951 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5953 * docs/faq/developing.xml:
5954 Add a question about how to submit new translations.
5956 * docs/random/release:
5957 Update the contact email address for the Translation Project
5959 * plugins/elements/gstfdsrc.c:
5960 The parent_class for fdsrc is pushsrc, not GstElement.
5962 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5965 Plug a leak and fix saving.
5967 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5969 * docs/gst/gstreamer-sections.txt:
5970 Add new gst_preset__get_property_names() function to the docs
5973 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5977 Change _get_preset_names API to return a strv with copies. Add
5978 _get_property_names to allow implementations to filter and provide
5979 good default implementation.
5981 2007-11-20 Julien MOUTTE <julien@moutte.net>
5983 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5986 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5989 More cleanups, docs, and TODOs from comments that now slowly come in.
5991 2007-11-19 Julien MOUTTE <julien@moutte.net>
5993 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5996 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5999 Fix bogus warning and make the property type specific code more
6002 2007-11-19 Julien MOUTTE <julien@moutte.net>
6004 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6007 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6009 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6010 (gst_bin_add_func), (gst_bin_remove_func),
6011 (gst_bin_change_state_func), (gst_bin_continue_func):
6012 Change email, cleanups add some more debug and comments.
6013 Also set bus and clock on new elements when the pipeline was in error.
6015 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6018 * gst/gstdebugutils.c:
6019 Fix build with --disable-gst-debug. Fixes #497859.
6020 Spotted by Sameer Naik.
6022 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6025 Little documentation improvment.
6028 More TODO cleanups. Remove c++ comments.
6030 * libs/gst/controller/gstcontroller.c:
6031 Add TODO and use quark from static string.
6033 * tests/check/gst/gstmessage.c:
6034 * tests/check/gst/gststructure.c:
6035 Use quark from static string.
6037 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6040 Add some comments and TODOs.
6043 Add padding for future changes.
6045 * plugins/elements/gstqueue.c:
6046 Implement the iface.
6048 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6050 * docs/gst/gstreamer-docs.sgml:
6051 * docs/gst/gstreamer-sections.txt:
6052 * docs/gst/gstreamer.types.in:
6057 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6059 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6065 === release 0.10.15 ===
6067 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6070 releasing 0.10.15, "October"
6072 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6074 * win32/vs6/libgstreamer.dsp:
6075 Convert line endings back to DOS.
6077 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6079 * docs/design/draft-tagreading.txt:
6080 * docs/random/ensonic/profiling.txt:
6081 Update fast tagreading draft and performance profiling ideas.
6083 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6085 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6086 Don't hold the object lock when unreffing a buffer because it could
6087 cause a deadlock when the finalize function wants to grab the object
6088 lock too. Fixes #495133.
6090 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6092 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6093 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6094 Also accumulate time correctly when doing reverse playback. Fixes
6096 When converting to running and stream time, use default values for
6097 start/stop/time/accum when comparing different formats. Fixes #494245.
6099 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6100 Do running/stream time in TIME format.
6102 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6103 (gst_segment_suite):
6104 2 new unit tests for segment accumulation.
6106 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/gst.c: (init_pre):
6109 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6110 (_gst_debug_bin_to_dot_file):
6111 Move getenv() back into gst_init, so everyone can live happily
6112 ever after. Make sure the symbol isn't exported though.
6114 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6116 Patch by: Sebastien Moutte <sebastien moutte net>
6118 * win32/common/gstenumtypes.c:
6119 * win32/common/gstenumtypes.h:
6122 * win32/vs6/libgstreamer.dsp:
6123 Update vs6 project files (#494343).
6125 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6127 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6128 (gst_base_src_perform_seek), (gst_base_src_default_event),
6129 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6130 (gst_base_src_activate_pull):
6131 Unify flushing code, remove some old unlock code that is no longer used.
6132 Take the streaming lock when seeking to avoid races. Fixes #492729.
6133 Added some more comments.
6135 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6137 * gst/gst.c: (_gst_disable_segtrap):
6138 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6139 we can use gst_segtrap_is_enabled() there now that we have that API.
6140 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6141 to do the getenv here (and export the variable).
6143 * gst/gstdebugutils.c: (debug_dump_element),
6144 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6145 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6147 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6148 (gst_debug_log_default):
6149 Rename _gst_info_start_time to priv_gst_info_start_time so it
6150 doesn't get exported (was never in any header).
6152 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6153 (gst_plugin_loading_mutex):
6154 Make static mutex gst_plugin_loading_mutex really static (was never
6155 in any header), and use gst_segtrap_is_enabled() instead of
6156 _gst_disable_segtrap.
6158 * gst/gsttrace.c: (_gst_trace_default):
6159 Make local _gst_trace_default static (was never in any header).
6161 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6163 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6165 * win32/common/libgstbase.def:
6166 * win32/common/libgstcontroller.def:
6167 * win32/common/libgstdataprotocol.def:
6168 * win32/common/libgstnet.def:
6169 * win32/common/libgstreamer.def:
6170 Add more missing symbols, remove some duplicates, and sort
6171 as the 'sort' command sorts it (partially fixes #493983).
6173 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6175 * gst/gstelement.c: (gst_element_set_state_func):
6176 Only change the state cookie if a different state was set on the
6177 element. See #492729.
6179 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6182 Remove unused and uninitialised type variables that were still
6183 exported for some reason (they were never in any header files
6186 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6188 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6189 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6190 (gst_base_sink_event), (gst_base_sink_get_position_last),
6191 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6192 (gst_base_sink_change_state):
6193 Don't try to report a 0 position when we don't know, return -1 and FALSE
6194 instead. This mostly happens when we are prerolling.
6195 Make sure we can report the right position before we post the ASYNC_DONE
6196 message so that a message handler can query position without races.
6198 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6199 (async_done_handoff), (async_done_func), (send_buffer),
6200 (async_done_eos_func), (gst_sinks_suite):
6201 Add two tests for the above.
6203 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6206 Update with new email address.
6208 * docs/design/part-TODO.txt:
6209 Add some more info about future pad-block and negotiation changes.
6211 * docs/design/part-buffering.txt:
6212 Add some ideas about buffering reporting.
6214 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6216 * tests/check/gst/gstobject.c:
6217 Disable silly racy test that always fails on this combination of CPU
6220 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6222 Patch by: Murray Cumming <murrayc@murrayc.com>
6225 Corrected the registration of the parent-set and parent-unset
6226 signals: The parameter is a GstObject, not a GObject (#493134).
6228 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6230 * gst/gst_private.h:
6239 Move declaration of private _gst_foo_initialize() functions into
6240 our private header file where they should have been all along.
6242 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6244 * docs/plugins/gstreamer-plugins-sections.txt:
6245 * gst/gstdebugutils.h:
6247 * plugins/elements/gstqueue.c:
6248 gtk-doc fixes; trailing-comma-in-enum fix.
6250 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6252 * gst/gst.c: (gst_deinit):
6253 Clean up on deinit (not the external ones though, doesn't seem to be
6254 needed for some reason).
6256 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6258 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6259 Remove __declspec(dllimport) for MSVC that was copied over into core
6260 from a plugin, obviously without ever having been tested (note the
6261 single underscore in _declspec in the initial commit), and that doesn't
6262 really make sense. See #492077.
6264 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6266 * gst/gst.c: (init_post):
6267 * gst/gstevent.c: (_gst_event_initialize):
6268 * gst/gstquery.c: (_gst_query_initialize):
6269 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6270 g_type_class_ref() other types as well, see #349410 and #64764.
6272 * gst/gstbuffer.c: (_gst_buffer_initialize):
6273 * gst/gstmessage.c: (_gst_message_initialize):
6274 Simplify existing g_type_class_ref().
6276 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6278 * gst/gstformat.c: (_gst_format_initialize):
6279 g_type_class_ref() our GstFormat type to make sure we avoid the
6280 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6281 bug #64764. Should fix intermittent tee unit test failures (#474823).
6283 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6285 * tests/check/elements/tee.c: (test_num_buffers):
6286 Simplify, simplify, simplify - or not. Rewrite unit test
6287 not to use gst_parse_launch(); allow N sub-streams. Increasing
6288 the number of sub-streams seems to reproduce #474823 more easily.
6290 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6292 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6295 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6296 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6297 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6298 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6299 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6300 so use _pipe() directly (#492077).
6302 * win32/common/dirent.c: (_treaddir):
6303 Add a couple of casts to make it build without warnings with MSVC.
6305 * win32/common/libgstreamer.def:
6306 Add some more symbols that need to be exported.
6308 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6310 * tests/examples/metadata/read-metadata.c: (message_loop):
6311 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6312 arriving in a second or third tag message are added to
6313 the tag list as well.
6315 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6317 * libs/gst/base/gstbasesrc.c:
6318 Its "Since:" and not "@Since:". And remove an superflous cast.
6320 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6322 * docs/libs/gstreamer-libs-sections.txt:
6323 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6324 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6325 (gst_base_sink_get_property), (gst_base_sink_render_object),
6326 (gst_base_sink_preroll_object),
6327 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6328 (gst_base_sink_change_state):
6329 * libs/gst/base/gstbasesink.h:
6330 Add a new last-buffer property that contains the last buffer used in
6331 basesink for preroll or rendering. useful for making snapshots.
6332 API: gst_base_sink_get_last_buffer()
6333 API: GstBaseSink::last-buffer
6335 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6337 * docs/gst/running.xml:
6339 * gst/gstdebugutils.c:
6340 * gst/gstdebugutils.h:
6341 * tools/gst-launch.c:
6342 Improve bin graph dumping, by using the envvar to specify a path.
6343 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6345 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6347 * plugins/elements/gsttypefindelement.c:
6348 (gst_type_find_element_handle_event),
6349 (gst_type_find_element_activate):
6350 Post special error message if we can't determine the type of a stream
6353 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6355 * docs/gst/running.xml:
6356 * gst/gstdebugutils.c:
6357 Document new env-var. Add one log-line after dumpng a graph.
6359 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6362 Ugly hack to put the (recently removed and non-portable, apparently)
6363 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6364 GNU ld, because without that 'make check' fails miserably on my debian
6365 stable box. Someone with more knowledge of linker intricacies and
6366 portability issues than me fix this properly please.
6368 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6370 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6371 Reset last seen position after flushing so that we don't report the old
6374 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6376 * gst/gstelementfactory.c: (gst_element_register):
6378 Patch from Alessandro Decina adding get_type_full and
6379 get_protocols_full private vfuncs to the URIHandler interface
6380 to allow bindings to support creating URI handlers.
6381 Partially fixes: #339279
6382 API: GstURIHandlerInterface::get_type_full
6383 API: GstURIHandlerInterface::get_protocols_full
6385 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6387 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6388 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6389 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6390 Make it so that pads are considered linked until a buffer is pushed
6391 and discovered otherwise. This avoids problems with decodebin2 hanging
6392 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6395 Make sure we lock the multiqueue when updating the max-size properties.
6397 Fix a crash on Solaris in a debug statement in get_request_pad that
6398 passes a NULL string to GST_DEBUG.
6400 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6401 (run_output_order_test):
6402 Fix the test to allow the first buffer on not-linked pads to come out
6403 of sequence while multiqueue discovers that they are not-linked.
6405 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6408 * libs/gst/check/Makefile.am:
6409 Use a custom export symbol regex for libgstcheck, as it needs
6410 to export symbols that don't match the standard GStreamer gst_*
6411 pattern, and --export-dynamic is not portable (only works on
6414 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6415 (gst_check_setup_sink_pad):
6416 Make sure to pass a message parameter to the fail_* macros.
6418 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6419 Fix some compiler warnings.
6421 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6423 * tests/check/gst/gststructure.c: (test_to_string):
6424 Disable test that checks that white spaces are not allowed
6425 in structure names or field names, since we need to
6426 support that for now for backwards compatibility reasons.
6428 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6430 * docs/gst/gstreamer-sections.txt:
6433 API: add GST_TAG_ARTIST_SORTNAME
6434 API: add GST_TAG_ALBUM_SORTNAME
6435 API: add GST_TAG_TITLE_SORTNAME
6436 Add tag variants for sorting (#414539).
6438 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6440 * gst/gststructure.c:
6441 Also allow white space for names so we don't break
6442 backwards compatibility.
6444 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6446 * docs/design/part-TODO.txt:
6447 * docs/design/part-segments.txt:
6448 * docs/design/part-streams.txt:
6451 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6453 * docs/gst/gstreamer-sections.txt:
6454 Fixed documentation from my previous commit (added new API add
6455 gst_value_set_structure(), add gst_value_get_structure() and
6456 GST_VALUE_HOLDS_STRUCTURE).
6458 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6460 * gst/gstdebugutils.c:
6461 Reflow code to fix uninitialized variable warning.
6463 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6465 * gst/gstcaps.c: (gst_caps_to_string),
6466 (gst_caps_from_string_inplace):
6467 * gst/gststructure.c: (gst_structure_get_abbrs),
6468 (gst_structure_to_string), (gst_structure_from_string):
6469 * gst/gstvalue.c: (gst_value_set_structure),
6470 (gst_value_get_structure), (gst_value_serialize_structure),
6471 (gst_value_deserialize_structure), (_gst_value_initialize):
6473 * tests/check/gst/gststructure.c: (GST_START_TEST),
6474 (gst_structure_suite):
6475 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6476 Added GstStructure to gst_value_table and its related functions.
6477 Changed gst_structure_to_string to print ';' in the end.
6478 Changed gst_caps_to_string to not print ';' beteween its
6479 fields (structures) anymore and remove the lastes ';' from latest
6480 structure. Now it is possible to have nested structures.
6481 In addition, backward compatibilty is assured by accepting '\0' as
6482 end delimiter. Fixes: #487969.
6483 API: add gst_value_set_structure()
6484 API: add gst_value_get_structure()
6485 API: add GST_VALUE_HOLDS_STRUCTURE
6487 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6490 When no GSource callback has been set up, tell developer
6491 to use a function that actually exists.
6493 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6495 * docs/gst/gstreamer-sections.txt:
6499 * gst/gstdebugutils.c:
6500 * gst/gstdebugutils.h:
6503 * tools/gst-launch.c:
6504 Allow dumping pipelines as dot graphs. Fixes #456573.
6506 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6508 * gst/gststructure.c:
6509 Allow '+' as well, it can be part of media or mime types
6510 such as image/svg+xml.
6512 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6514 * docs/gst/gstreamer-sections.txt:
6517 API: add gst_bus_pop_filtered
6518 API: add gst_bus_timed_pop_filtered
6519 Two new functions for waiting for specific message types on the
6520 bus for a specified amount of time without iterating any main
6521 loops or main contexts.
6523 * tests/check/gst/gstbus.c:
6524 Some tests for the new functions.
6526 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6528 * docs/libs/gstreamer-libs-sections.txt:
6529 Make gtk-doc ignore stuff it should ignore.
6531 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6533 * libs/gst/check/gstcheck.c:
6534 * libs/gst/check/gstcheck.h:
6535 Allow runtime selection of unit tests to run via the GST_CHECKS
6536 environment variable (test case function names, comma-separated).
6538 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6540 * gst/gststructure.c:
6541 * tests/check/gst/gststructure.c:
6542 Revert serialisation change and constrain structure-names after
6543 consensus on irc. Update api documentation to reflect the change.
6545 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6547 * gst/gststructure.c:
6548 Improve serialization and fix tests.
6550 * tests/check/gst/gststructure.c:
6551 Add another test that covers why I actually did the previous structure
6554 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6556 * tools/gst-inspect.c: (print_element_info):
6557 Don't crash when inspecting an element.
6559 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6561 * tests/check/gst/gststructure.c:
6562 Add unit test for escaping of structure name when serialising
6563 and deserialising to/from strings.
6565 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6567 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6568 (gst_single_queue_new):
6569 * plugins/elements/gstqueue.c: (gst_queue_init),
6570 (gst_queue_push_one):
6571 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6572 upstream is tricked into thinking it can suggest a format downstream
6573 while downstream does not support that format. The real problem is that
6574 core calls acceptcaps when pushing a buffer with new caps, for which we
6575 do a little workaround by setting the caps on the srcpad ourselves
6576 before pushing the buffer (until this is figured out). Fixes #486758.
6578 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6580 * gst/gststructure.c:
6582 Add some more comments and debug output. Quote structure name to fix
6583 deserialisation of some strings.
6585 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6588 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6589 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6591 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6593 * tools/gst-inspect.c:
6594 Save approx. 400 1 byte allocs when printing. Use API to acces element
6600 * tools/gst-xmlinspect.c:
6601 Use API to acces element details.
6603 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6606 Fix some spelling errors.
6608 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6610 * gst/gstbin.c: (bin_handle_async_done):
6611 Correctly set the next state if all of our async children commited their
6612 state. This makes sure we can actually cancel the state change in
6613 progress. Fixes a regression in Rhythmbox when seeking.
6615 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6618 Don't shadow local variable.
6621 Don't shadow global function name.
6623 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6625 * gst/gstelementfactory.c:
6626 * gst/gstpluginfeature.c:
6627 * gst/gstpluginfeature.h:
6628 * gst/gstregistrybinary.c:
6629 * gst/gstregistryxml.c:
6630 * gst/gsttypefind.c:
6631 Use already-interned string for the private GstPluginFeature
6634 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6636 * docs/libs/gstreamer-libs-sections.txt:
6637 Add new API to docs; fixes the build.
6639 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6641 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6643 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6644 (gst_base_sink_event):
6645 * libs/gst/base/gstbasesink.h:
6646 Add function to wait for EOS, subclasses can use this to correctly wait
6647 for devices to drain before performing the EOS logic. Fixes #485343.
6648 API: gst_base_sink_wait_eos()
6650 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6653 Cast description string constants in GST_PLUGIN_DEFINE macros
6654 to a (gchar*) to make C++ code using these macros compile
6655 without warning with g++-4.2 (see #462737). Even if slightly
6656 ugly, this seems preferable to putting the description strings
6657 into the GLib quark table or making the structure member a
6658 const gchar * and doing casts in core code that allocs and
6659 frees these strings, or requiring a cast in the C++ code.
6661 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6664 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6665 to print the entire class/function signature into the log
6666 file for C++ code. This only affects C++ code, for C code
6667 everything remains the same.
6669 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6671 * gst/gstbin.c: (remove_from_queue):
6672 Work around a problem with pipelines containing (semi)loops until a
6673 proper, more complicated solution is ready. See #475455.
6675 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6679 * gst/gstregistrybinary.c:
6680 * gst/gstregistryxml.c:
6681 Put more strings into the GLib quark table. No need to keep
6682 a hundred-something copies of identical version strings,
6683 license strings, package name strings and package origin
6686 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6688 * docs/manual/advanced-dataaccess.xml:
6689 Don't imply that it's okay to unconditionally change
6690 buffer data or buffer metadata in a pad probe callback,
6691 and a bunch of other comments. Fixes #430031.
6693 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6695 * win32/common/gstenumtypes.c:
6696 * win32/common/gstenumtypes.h:
6697 * win32/common/gstversion.h:
6698 Update generated files.
6700 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6702 * docs/manual/advanced-autoplugging.xml:
6703 Prefix section with broken code with a warning (see #342432).
6705 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6707 * docs/manual/appendix-integration.xml:
6708 * docs/manual/basics-init.xml:
6709 Call g_thread_init() before g_option_context_new() to
6710 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6712 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6714 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6715 (gst_base_sink_queue_object_unlocked),
6716 (gst_base_sink_queue_object), (gst_base_sink_event),
6717 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6718 When we received EOS and are waiting for when to post the EOS message,
6719 our state is prerolled and we should not return ASYNC.
6720 Reorganize some code paths to implement this behavior.
6722 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6724 Add unit test to verify above EOS fix.
6726 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6728 * plugins/elements/gsttypefindelement.c:
6729 (gst_type_find_element_have_type), (gst_type_find_element_init),
6730 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6731 Move detecting the input caps of the sinkpad to the setcaps function.
6732 This allows us to update the output caps when we receive new input caps
6733 instead of always using the first detected caps.
6735 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6737 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6738 (gst_base_sink_get_position):
6739 Don't try to preroll non-async elements after a flush.
6740 Subtract latency form clock times when reporting position.
6742 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6744 * gst/gstpad.c: (gst_pad_pause_task):
6746 Small comment and documentation update.
6748 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6750 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6751 (gst_base_src_set_live), (gst_base_src_is_live),
6752 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6753 (gst_base_src_default_event), (gst_base_src_wait),
6754 (gst_base_src_do_sync), (gst_base_src_get_range),
6755 (gst_base_src_pad_get_range), (gst_base_src_loop),
6756 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6757 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6758 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6759 (gst_base_src_change_state):
6760 Rework the locking of basesrc in a similar fashion to basesink. We
6761 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6762 us to handle live sources and semi live ones much better.
6764 Fix unlocking when seeking, shutting down and pausing in live sources.
6766 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6768 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6769 Fix compilation again.
6771 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6774 Use meaningful categories for the logs to clean the default one.
6776 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6778 * tests/check/pipelines/cleanup.c:
6779 Print message name and not just number.
6781 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6783 * docs/design/draft-tagreading.txt:
6784 Add some more thoughts.
6786 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6788 * tests/check/pipelines/simple-launch-lines.c:
6789 Print message name and not just number.
6791 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6793 * libs/gst/base/gsttypefindhelper.c:
6794 Speedup typefinding. This is work in progress (see #459862).
6796 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6799 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6800 Spotted by Josep Torra Valles <josep@fluendo.com>.
6802 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6805 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6806 field has moved to GstObject.
6808 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6810 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6811 (gst_base_src_get_range), (gst_base_src_change_state):
6812 Call unlock for live sources so that they can't get stuck in _create and
6813 produce a buffer before they are set back to PLAYING.
6815 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6817 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6818 (gst_queue_locked_dequeue):
6819 Comment the segment-related code... in the PROPER function.
6820 See #482147 and my commit from yesterday.
6822 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6824 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6825 Also initialize the counter that calculates the first timestamp on a
6826 buffer correctly for non-live sources.
6828 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6830 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6831 Disable code that's breaking the current-time-level reporting.
6834 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6836 * docs/gst/gstreamer-sections.txt:
6837 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6838 as they shouldn't show up. Fixes the docs build.
6840 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6843 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6844 Define M_PI which is used in files which are including gstinfo.h.
6845 VS6 includes doesn't define it.
6846 * win32/common/libgstbase.def:
6847 * win32/common/libgstcontroller.def:
6848 * win32/common/libgstreamer.def:
6849 Add new exported functions and variables.
6850 * win32/vs6/libgstcontroller.dsp:
6851 * win32/vs6/libgstreamer.dsp:
6852 Update the list of files to build.
6854 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6856 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6858 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6859 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6860 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6861 Improve debugging. Fixes #480858.
6863 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6865 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6867 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6868 First patch of code cleanups, use the macros and right arguments in the
6869 macros to signal and lock the queue. See #480858.
6871 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6873 * gst/gstbus.c: (poll_func):
6874 Improve debugging when dealing with _poll().
6876 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6878 * gst/gstregistryxml.c:
6879 Fix memory leak I introduced a few days ago.
6881 2007-09-26 Michael Smith <msmith@fluendo.com>
6883 * gst/gstbuffer.c: (gst_buffer_finalize):
6884 Make it once again possible to free GstBuffers in the default
6886 The poisoning scribbles on parts of the miniobject we need in
6890 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6892 * docs/gst/gstreamer-sections.txt:
6895 API: add GST_TAG_COMPOSER, fixes #459809.
6897 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6901 Add the 3-clause BSD license and the MIT/X11 license to the license
6902 list. Fixes #479784.
6904 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6906 * docs/faq/getting.xml:
6907 Add Q+A about different GStreamer versions (#364056).
6909 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6911 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6912 (gst_base_sink_event), (gst_base_sink_change_state):
6913 Return correct gboolean from query function.
6915 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6917 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6918 (gst_base_sink_event), (gst_base_sink_query),
6919 (gst_base_sink_change_state):
6920 Simplify latency query.
6921 When not synchronizing, we can report latency without querying the peer
6924 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6928 Fix small typos in the docs.
6930 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6932 * docs/design/draft-latency.txt:
6933 * docs/design/draft-push-pull.txt:
6934 * docs/design/draft-tagreading.txt:
6935 * docs/design/part-MT-refcounting.txt:
6936 * docs/design/part-activation.txt:
6937 * docs/design/part-block.txt:
6938 * docs/design/part-element-source.txt:
6939 * docs/design/part-events.txt:
6940 * docs/design/part-gstbin.txt:
6941 * docs/design/part-gstelement.txt:
6942 * docs/design/part-gstobject.txt:
6943 * docs/design/part-gstpipeline.txt:
6944 * docs/design/part-messages.txt:
6945 * docs/design/part-preroll.txt:
6946 * docs/design/part-push-pull.txt:
6947 * docs/design/part-qos.txt:
6948 * docs/design/part-query.txt:
6949 * docs/design/part-scheduling.txt:
6950 * docs/design/part-seeking.txt:
6951 * docs/design/part-segments.txt:
6952 * docs/design/part-states.txt:
6953 Documentation updates and typo fixes.
6955 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6957 * plugins/elements/gstfakesink.c:
6958 Add some debug text to error message to indicate that
6959 we errored out on request.
6961 * tools/gst-launch.c:
6962 When the state change to PLAYING fails, check for an
6963 error message on the bus and print it.
6965 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6967 translated by: Jorge González González <aloriel@gmail.com>
6971 Added Spanish translation.
6973 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6975 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6976 Fix printf arguments.
6978 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6980 * tests/check/generic/states.c:
6981 Improved state change unit test.
6983 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6986 Move priv to the right place.
6988 * gst/gstsystemclock.c:
6989 Add FIXME: and improve log.
6991 * tests/check/Makefile.am:
6992 * tests/examples/manual/Makefile.am:
6993 Work with all types of registries.
6995 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6997 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6998 Don't unref the event after pushing it. Fixes #478401.
7000 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7003 * tests/examples/manual/.cvsignore:
7004 Ignore registries in any format.
7006 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7008 * gst/glib-compat-private.h:
7009 Add compatibility macro for g_intern_string() for
7010 GLib-2.8 (any reason we can't just bump the
7011 requirement to at least 2.10?)
7013 * gst/gstpadtemplate.h:
7014 * gst/gstelementfactory.c:
7015 * gst/gstregistryxml.c:
7016 * gst/gstregistrybinary.c:
7017 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7018 up the internal code accordingly. This shouldn't be a problem, since
7019 there is no reason external code could ever assume the string in such
7020 a structure is dynamically allocated unless it did that itself; the
7021 use of g_strdup() is private to element factories. The new code also
7022 saves some memory by putting pad template name strings into the GLib
7023 quark table instead of allocating them dynamically.
7024 Declaring this field constant fixes warnings with g++-4.2 when using
7025 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7027 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7029 * gst/gstelementfactory.c:
7030 Release static caps. Fixes #475723.
7032 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7036 Make some internal API take const gchar * instead of just
7037 gchar * to avoid compiler warnings with g++-4.2.2 when
7038 passing string constants (partially fixes #478092).
7040 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7042 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7043 A latency query fails when one of the sinks fail.
7045 * gst/gstelement.c: (gst_element_set_base_time):
7048 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7050 * gst/gstbin.c: (gst_bin_continue_func):
7051 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7053 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7055 Fix minor compilation warnings shown with Forte.
7057 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7059 * plugins/elements/gstqueue.c: (apply_buffer),
7060 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7061 Measure queue level based on the diff between head and tail timestamps
7062 even when pushing the first buffer.
7064 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7066 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7067 (gst_base_sink_event), (gst_base_sink_change_state):
7068 Sinks that don't preroll can always be queried for the latency.
7069 Don't post ASYNC start when we are not async.
7071 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7073 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7074 (gst_queue_handle_sink_event), (gst_queue_chain),
7075 (gst_queue_push_one), (gst_queue_handle_src_query),
7076 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7077 * plugins/elements/gstqueue.h:
7078 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7079 push more buffers but allow pushing of EOS and NEWSEGMENT.
7080 Add some more debug info here and there. Fixes #476514.
7082 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7084 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7085 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7086 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7087 (gst_base_sink_set_flushing), (gst_base_sink_query),
7088 (gst_base_sink_change_state):
7089 Latency query is allowed after we are prerolled. Introduce a new flag
7090 for this and stop abusing other variables.
7092 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7094 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7095 Push OOB events downstream when we get them in send_event. This allows
7096 the application to insert events in the pipeline.
7097 Add some more comments.
7099 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7101 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7102 (do_bin_latency), (gst_bin_change_state_func):
7103 * gst/gstpipeline.c: (gst_pipeline_change_state):
7104 Move latency query from GstPipeline to GstBin so that we can also
7105 use it when async-handling is enabled on bins.
7107 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7109 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7110 (gst_base_src_do_sync), (gst_base_src_change_state):
7112 Clean up the timestamping and syncing code for pseudo live sources.
7114 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7116 Patch by: Steve Fink <sphink gmail com>
7118 * docs/manual/appendix-checklist.xml:
7119 Mention less -R switch in the section about debug output (#474055).
7121 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7123 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7124 Queue can latency to the pipeline up to the configured max size in time.
7125 Report this fact in the latency query.
7127 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7129 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7131 * libs/gst/controller/gstinterpolation.c:
7132 * libs/gst/controller/gstlfocontrolsource.c:
7133 Use gst_guint64_to_gdouble() when converting from a uint64 or
7134 GstClockTime to double to fix the build on win32. Fixes #474371.
7136 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7138 * gst/gstbuffer.c: (gst_buffer_finalize):
7139 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7140 When finalizing a buffer the complete struct is filled with 0xff,
7141 thus making a use of the buffer after the final unref impossible.
7143 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7145 * tests/check/libs/controller.c: (GST_START_TEST):
7146 Use fail_unless_equals_int(a, b) instead of
7147 fail_unless_equals (a == b) to get better output on failures.
7149 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7151 * tests/check/gst/gsturi.c:
7152 Also check for the other file URI variant on win32.
7154 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7156 * gst/gsturi.c: (gst_uri_get_location):
7157 If there's no hostname, we want to return 'c:/foo/bar.txt'
7158 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7160 * tests/check/gst/gsturi.c:
7161 Unit test for the above and a few more things.
7163 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7165 * docs/design/part-live-source.txt:
7166 Add docs on how live sources should timestamp.
7168 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7169 Add some more debug info.
7170 For subclasses that are live and like to sync, add aditional startup
7171 latency to sync time and timestamps so that we timstamp according to the
7174 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7177 Also do a g_type_class_ref() for the subbuffer type in
7180 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7182 * docs/gst/gstreamer-sections.txt:
7183 * gst/gstpad.c: (gst_pad_peer_query):
7185 Add function to perform a query on the peer of a pad.
7186 API: gst_pad_peer_query()
7188 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7190 * tests/check/gst/gstsystemclock.c:
7191 Cleanup the test a little (use gst-logging and not g_message). Improve
7192 test to check if a wait reached the target.
7194 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7196 * docs/libs/gstreamer-libs-sections.txt:
7197 Add new API to docs and fix the build.
7199 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7201 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7202 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7203 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7204 (gst_base_src_get_property), (gst_base_src_do_sync):
7205 * libs/gst/base/gstbasesrc.h:
7206 Add property to make the basesrc timestamp buffers based on the current
7208 API: GstBaseSrc::do-timestamp
7209 API: gst_base_src_set_do_timestamp()
7210 API: gst_base_src_get_do_timestamp()
7212 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7214 * docs/random/release:
7215 Really make sure translations are up-to-date before
7216 a release (#465010).
7218 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7220 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7221 Always destroy the timer, also in error cases.
7223 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7225 * docs/manual/highlevel-xml.xml:
7226 Fix XML example code. Fixes #472714.
7228 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7230 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7231 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7232 (gst_base_sink_query):
7233 Protect eos and have_preroll with the OBJECT lock so we don't need to
7234 take the PREROLL lock when querying the latency. Fixes #473846.
7236 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7239 Give some log-messages a category.
7241 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7243 * gst/gststructure.c:
7244 (gst_structure_fixate_field_nearest_fraction):
7245 Fix fraction list fixation code. Take the fraction with the smallest
7246 difference with the target instead of the first one in the list.
7248 * tests/check/gst/gststructure.c: (GST_START_TEST),
7249 (gst_structure_suite):
7250 Added test to verify correct fraction list fixation behaviour.
7252 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7254 * win32/common/libgstreamer.def:
7255 Export gst_bus_add_signal_watch too.
7257 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7259 * docs/libs/gstreamer-libs-sections.txt:
7260 Add new methods to docs.
7262 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7263 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7264 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7265 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7266 * libs/gst/base/gstbasesink.h:
7267 Add ts-offset property to fine-tune the synchronisation.
7268 API: GstBaseSink::ts-offset property
7269 API: gst_base_sink_set_ts_offset()
7270 API: gst_base_sink_get_ts_offset()
7272 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7274 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7275 (gst_base_sink_init), (gst_base_sink_set_sync),
7276 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7277 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7278 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7279 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7280 (gst_base_sink_get_property), (gst_base_sink_change_state):
7281 * libs/gst/base/gstbasesink.h:
7282 Add async property to instruct the sink never to inform the parent about
7283 ASYNC state changes, update docs.
7284 Check argument with g_return_* for the public functions.
7285 API: GstBaseSink::async property
7286 API: gst_base_sink_set_async_enabled()
7287 API: gst_base_sink_is_async_enabled()
7289 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7291 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7294 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7295 (gst_base_src_default_query), (gst_base_src_wait),
7296 (gst_base_src_do_sync), (gst_base_src_change_state):
7297 Rearrange some code so that we can add support for measuring the
7300 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7302 * docs/random/ensonic/dynlink.txt:
7303 More thoughs on this.
7305 * plugins/elements/gstcapsfilter.c:
7306 Add bugzilla ticket number to FIXME comment.
7308 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7310 * docs/design/part-TODO.txt:
7311 * docs/design/part-block.txt:
7314 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7317 Revert patch which uses $(gst_headers) instead of $^ because it
7320 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7322 * tests/check/gst/gstbin.c: (GST_START_TEST):
7323 Fix leaks in the new unit test.
7325 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7328 Don't use GST_INFO before the debug system is actually initialised
7329 (shouldn't do any harm, but won't print anything either, so we can
7330 just as well remove it).
7333 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7334 compilers that don't support variadic macros (such as MSVC), should
7335 check for debug_level <= __gst_debug_min as well, since that's the
7336 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7337 inline helper functions. Should improve performance a bit, but also
7338 makes sure uses of GST_INFO et.al are ignored if the debugging
7339 system isn't initialised yet (instead of printing an assertion
7342 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7344 patch by: David Nečas <yeti@physics.muni.cz>
7347 Replace some non portable makefile constructs.
7349 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7351 * common/gtk-doc-plugins.mak:
7352 Grrrrr. Don't remove the types file on make clean.
7354 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7356 * tools/gst-launch.1.in:
7357 Add colorspace to example pipeline. Fixes #458274.
7359 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7361 * docs/random/release:
7362 The release manager should run 'make download-po' before making a
7363 release to make sure translations are up-to-date.
7369 Add some new translations.
7371 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7373 * tools/gst-launch.c: (event_loop), (main):
7374 Don´t try to do any state management when a live pipeline posts
7376 Also make the buffering string translatable.
7378 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7380 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7381 (bin_handle_async_start), (gst_bin_handle_message_func):
7383 When adding elements, insert messages into the bus of the newly added
7384 element and make sure the element is the source of the message. This
7385 allows the parent bin to intercept the message and do the
7386 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7387 messages to the app (which is not allowed).
7390 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7391 Fix testsuite so that is does not work around messages that should not
7392 have been posted in the first place.
7394 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7396 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7397 (update_degree), (gst_bin_sort_iterator_next):
7398 Fix annoying bug in the sorted iterator where a sink that is not really
7399 a sink (when it has downstream links) screwed up the iterator.
7401 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7402 Unit test to verify the fix.
7404 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7407 Add some more docs for the messages.
7409 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7410 (gst_base_sink_query):
7411 Add some more debugging.
7413 * tools/gst-launch.c: (event_loop):
7414 When interrupting, don't try to set pipeline to PAUSED twice.
7416 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7419 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7420 (bin_handle_async_start), (gst_bin_handle_message_func):
7421 Move ASYNC_START message posting to where it belongs, similar to
7423 Don't post ASYNC_START when we are in error.
7424 Post ASYNC_START when we added an async element to a bin.
7426 2007-08-14 Julien MOUTTE <julien@moutte.net>
7428 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7429 generation from vargs. Fixes #466595.
7431 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7433 * gst/gstbin.c: (gst_bin_element_set_state):
7434 Always change the state of a NO_PREROLL element even if it has ASYNC
7435 elements inside (in case of a bin).
7437 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7438 Unit test for this case.
7440 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7442 * libs/gst/check/gstbufferstraw.c:
7443 * libs/gst/check/gstcheck.h:
7444 * libs/gst/controller/gstcontroller.c:
7445 * libs/gst/controller/gstcontrolsource.h:
7446 * libs/gst/controller/gstlfocontrolsource.h:
7447 * plugins/elements/gstcapsfilter.h:
7448 * plugins/elements/gstfdsink.h:
7449 * plugins/elements/gstfdsrc.h:
7450 Add more missing docs.
7452 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7454 * gst/gststructure.c:
7455 Add Since tag to docs.
7457 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7459 * docs/gst/gstreamer-sections.txt:
7460 * gst/gststructure.c: (gst_structure_get_uint):
7461 * gst/gststructure.h:
7462 Add function to get uint from a structure.
7463 API: gst_structure_get_uint()
7465 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7467 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7468 (gst_caps_intersect):
7469 Fix proper check for simple caps.
7471 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7473 * docs/gst/Makefile.am:
7474 * docs/libs/Makefile.am:
7475 Remove cruft and do some cleanups.
7477 * docs/gst/gstreamer-docs.sgml:
7478 * docs/libs/gstreamer-libs-docs.sgml:
7479 Prepare for comming gtkdoc features (rebase against online docs).
7481 2007-08-10 Michael Smith <msmith@fluendo.com>
7483 * docs/gst/gstreamer-sections.txt:
7484 Add gst_registry_add_path to docs.
7486 2007-08-10 Michael Smith <msmith@fluendo.com>
7488 * gst/gstregistry.h:
7489 Add gst_registry_add_path, which was missing from this header.
7491 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7493 * libs/gst/controller/gstlfocontrolsource.c:
7496 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7498 * libs/gst/base/gstbasesink.c:
7499 Don't send an async_start message during downwards state change if
7500 target state is less than READY
7502 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7504 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7508 Added Hungarian translation.
7510 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7517 Updated translations.
7519 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7521 * libs/gst/controller/Makefile.am:
7522 Dist gstlfocontrolsourceprivate.h
7524 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7526 * docs/libs/gstreamer-libs.types:
7527 Don't register the enum type gst_lfo_waveform_get_type() in the
7528 .types file - only GObject derived types belong.
7530 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7532 Patch by: <arenevier at fdn dot fr>
7535 Remove comma from last element in enum to avoid compile errors when
7536 using -pendantic. Fixes #464366.
7538 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7540 * docs/design/part-TODO.txt:
7541 Add some more TODO items
7543 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7546 * gst/gstcaps.c: (gst_caps_intersect):
7547 Optimize trivial intersection case between identical caps pointers.
7549 * gst/gstelement.c: (gst_element_continue_state),
7550 (gst_element_set_state_func):
7552 Fix spelling and grammar mistakes.
7554 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7558 Update POTFILES. Fixes #461599.
7560 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7563 Fix confusing typo in debug output.
7565 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7567 reviewed by: Stefan Kost <ensonic@users.sf.net>
7569 * libs/gst/controller/Makefile.am:
7570 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7571 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7572 (gst_lfo_control_source_new),
7573 (gst_lfo_control_source_set_waveform),
7574 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7575 (gst_lfo_control_source_finalize),
7576 (gst_lfo_control_source_dispose),
7577 (gst_lfo_control_source_set_property),
7578 (gst_lfo_control_source_get_property),
7579 (gst_lfo_control_source_class_init):
7580 * libs/gst/controller/gstlfocontrolsource.h:
7581 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7582 API: Add GstLFOControlSource, a control source that gives values
7583 for specific timestamps based on several periodic waveforms.
7586 * tests/check/libs/controller.c: (GST_START_TEST),
7587 (gst_controller_suite):
7588 * docs/libs/gstreamer-libs-docs.sgml:
7589 * docs/libs/gstreamer-libs-sections.txt:
7590 * docs/libs/gstreamer-libs.types:
7591 Add documentation and unit tests for GstLFOControlSource.
7593 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7598 === release 0.10.14 ===
7600 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7603 releasing 0.10.14, "Breathing Vacuum"
7605 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7607 * gst/gstelement.c: (gst_element_class_set_details_simple):
7609 Make strings passed to gst_element_class_set_details_simple()
7610 constant, as they should be (#462752).
7612 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7614 * gst/gstbin.c: (gst_bin_change_state_func),
7615 (bin_handle_async_done), (gst_bin_handle_message_func):
7616 Don't forget about the fact that some element went ASYNC even after a
7617 resync. This makes us post the ASYNC_DONE message correctly.
7620 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7622 * gst/gstregistry.c: (gst_registry_add_feature):
7623 When replacing an existing feature in the registry, make sure to
7624 continue holding a reference until we've replaced the name string
7625 within our feature hash table. Make sure to use g_hash_table_replace
7626 instead of g_hash_table_insert to ensure the new name string is used
7627 as a key instead of the old one that we're about to free.
7630 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7632 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7633 (gst_plugin_feature_set_name):
7634 Revert patch from #459466 until after the release and we can work
7635 out exactly what the problem is (if any).
7637 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7639 * docs/gst/gstreamer-sections.txt:
7642 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7644 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7646 * docs/libs/Makefile.am:
7647 Include our build-prefix libs and includes before the generic ones to
7648 avoid linking against the installed libs when we want the build-tree
7651 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7653 Patch by: Steve Fink <sphink gmail com>
7655 * docs/pwg/building-testapp.xml:
7656 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7657 if people try to build or install the example from the plugin
7658 template against a GStreamer from package using the configure
7661 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7663 Patch by: Steve Fink <sphink gmail com>
7665 * tools/gst-inspect.1.in:
7666 Document --print-all and --print-plugin-auto-install-info command
7667 line options in man page.
7669 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7671 * docs/gst/gstreamer-sections.txt:
7672 Add docs for new api function.
7674 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7676 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7677 * gst/gstelementfactory.h:
7678 API: gst_element_factory_has_interface()
7679 Added method to check if an element factory implements a named
7682 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7685 * docs/gst/gstreamer.types.in:
7686 Another conditional doc check.
7689 * gst/gstparamspecs.h:
7690 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7695 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7697 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7698 (gst_registry_binary_load_feature),
7699 (gst_registry_binary_load_plugin),
7700 (gst_registry_binary_read_cache):
7701 Print error just once and with additional info.
7703 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7705 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7706 (helper_find_suggest), (helper_find_get_length),
7707 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7708 (gst_type_find_helper_for_buffer):
7709 Cleanup the typefindhelper code and add private doc comments.
7711 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7713 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7714 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7715 Fix capsfilter for cases where the caps set on capsfilter will provide
7716 additional information.
7719 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7721 * gst/gsttypefindfactory.c:
7722 Fix docs that recommened wrong function to use.
7724 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7726 * tools/gst-inspect.c: (print_plugin_features):
7727 Also give media-type for typefinders in element output.
7729 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7731 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7732 (gst_registry_remove_features_for_plugin_unlocked),
7733 (gst_registry_add_feature), (gst_registry_remove_feature),
7734 (gst_registry_lookup_feature_locked):
7735 * gst/gstregistry.h:
7736 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7739 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7741 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7742 (gst_plugin_feature_set_name):
7743 Avoid double memory usage for pluginfeature names. Fixes #459466.
7745 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7748 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7749 driving the pipeline may need to explicitly check for NOT_LINKED as
7750 well, since IS_FATAL doesn't cover that.
7752 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7754 * docs/pwg/advanced-types.xml:
7755 Fix typo and duplicate entry in video formats list.
7757 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7759 * libs/gst/controller/gstinterpolation.c:
7760 Also round to the nearest int when using cubic interpolation.
7762 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7764 * libs/gst/controller/gstinterpolation.c:
7765 When linearly interpolating integer types, round to the nearest int
7766 by adding 0.5. Don't do it for float/double types.
7767 Fixes the failing controller test on my machine, which is somehow
7768 rounding differently than on the buildbots.
7770 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7772 * tools/gst-plot-timeline.py:
7773 Better log parsing (categories can have -). Adjust text vs. lines, so
7774 that they span the same y-range.
7776 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7778 * docs/random/ensonic/audiobaseclasses.txt:
7779 * docs/random/ensonic/dynlink.txt:
7780 * docs/random/ensonic/profiling.txt:
7783 * docs/random/moving-plugins:
7784 Add note to use g_assert type macros.
7786 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7789 * libs/gst/check/Makefile.am:
7790 Add libm check as we use in for plugins.
7792 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7794 * gst/gstbin.c: (gst_bin_continue_func):
7795 Check that the state_cookie hasn't changed since the continue_func
7796 was scheduled. Avoids problems where the state changes back to
7797 something it shouldn't be because it was changed in the meantime.
7799 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7801 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7802 (gst_registry_binary_save_string),
7803 (gst_registry_binary_save_pad_template),
7804 (gst_registry_binary_save_feature),
7805 (gst_registry_binary_save_plugin),
7806 (gst_registry_binary_load_feature),
7807 (gst_registry_binary_load_plugin),
7808 (gst_registry_binary_read_cache):
7809 Fix memory leak. Be less verbose in the log.
7811 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7813 * tests/check/elements/.cvsignore:
7814 Add file to cvsignore as commanded.
7816 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7818 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7819 (mq_dummypad_event), (run_output_order_test):
7820 Use a GStaticMutex to protect all cases where libcheck
7821 fail_if/fail_unless macros might be called from multiple threads
7822 simultaneously to avoid errors like:
7823 "check_pack.c:107: :-1081725400:Bad message type arg"
7825 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7827 * tests/check/pipelines/stress.c: (GST_START_TEST):
7828 Make sure we set the pipeline back to the NULL state before
7829 dropping our final reference.
7831 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7833 * tests/check/elements/tee.c: (GST_START_TEST):
7834 Make the tee stress-test a little less stressful so it doesn't just
7835 time out on slow-machines, and remove a small race when it's starting
7836 up by adding a get_state() call.
7838 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7841 Avoid reading registry twice on startup. Fixes #457322.
7843 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7845 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7846 * pkgconfig/gstreamer-check.pc.in:
7847 Substitute the CFLAGS for libcheck into our .pc file too so that
7848 dependent modules will pick it up properly if libcheck is installed
7849 into some other prefix.
7851 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7854 Revert the pkg-config check for libcheck, since it pulls in the
7855 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7856 a proper solution, either from the check project, or something else.
7858 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7861 Use pkg-config to locate check.
7863 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7870 Add deprecation guards.
7872 * libs/gst/base/gstcollectpads.h:
7873 Don't document object (this is implicitly private).
7875 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7877 * gst/gststructure.c: (gst_structure_parse_value):
7878 When deserialising foo=bar without a type cast, check if it's a
7879 boolean before falling back to a string type, otherwise things like
7880 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7881 because the filtercaps end up having a signed=(string)true field,
7882 which causes problems later when intersection caps.
7884 * tests/check/gst/gststructure.c: (GST_START_TEST):
7885 Add a unit test for this.
7887 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7889 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7891 * libs/gst/controller/Makefile.am:
7892 * libs/gst/controller/gstcontroller.c:
7893 (gst_controlled_property_add_interpolation_control_source),
7894 (gst_controlled_property_new), (gst_controlled_property_free),
7895 (gst_controller_find_controlled_property),
7896 (gst_controller_new_valist), (gst_controller_new_list),
7897 (gst_controller_new), (gst_controller_remove_properties_valist),
7898 (gst_controller_remove_properties_list),
7899 (gst_controller_remove_properties),
7900 (gst_controller_set_property_disabled),
7901 (gst_controller_set_disabled), (gst_controller_set_control_source),
7902 (gst_controller_get_control_source), (gst_controller_get),
7903 (gst_controller_sync_values), (gst_controller_get_value_array),
7904 (_gst_controller_dispose), (gst_controller_get_type),
7905 (gst_controlled_property_set_interpolation_mode),
7906 (gst_controller_set), (gst_controller_set_from_list),
7907 (gst_controller_unset), (gst_controller_unset_all),
7908 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7909 * libs/gst/controller/gstcontroller.h:
7910 * libs/gst/controller/gstcontrollerprivate.h:
7911 * libs/gst/controller/gstcontrolsource.c:
7912 (gst_control_source_class_init), (gst_control_source_init),
7913 (gst_control_source_get_value),
7914 (gst_control_source_get_value_array), (gst_control_source_bind):
7915 * libs/gst/controller/gstcontrolsource.h:
7916 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7917 (gst_object_get_control_source):
7918 * libs/gst/controller/gstinterpolation.c:
7919 (gst_interpolation_control_source_find_control_point_node),
7920 (gst_interpolation_control_source_get_first_value),
7921 (_interpolate_none_get), (interpolate_none_get),
7922 (interpolate_none_get_boolean_value_array),
7923 (interpolate_none_get_enum_value_array),
7924 (interpolate_none_get_string_value_array),
7925 (_interpolate_trigger_get), (interpolate_trigger_get),
7926 (interpolate_trigger_get_boolean_value_array),
7927 (interpolate_trigger_get_enum_value_array),
7928 (interpolate_trigger_get_string_value_array):
7929 * libs/gst/controller/gstinterpolationcontrolsource.c:
7930 (gst_control_point_free), (gst_interpolation_control_source_reset),
7931 (gst_interpolation_control_source_new),
7932 (gst_interpolation_control_source_set_interpolation_mode),
7933 (gst_interpolation_control_source_bind),
7934 (gst_control_point_compare), (gst_control_point_find),
7935 (gst_interpolation_control_source_set_internal),
7936 (gst_interpolation_control_source_set),
7937 (gst_interpolation_control_source_set_from_list),
7938 (gst_interpolation_control_source_unset),
7939 (gst_interpolation_control_source_unset_all),
7940 (gst_interpolation_control_source_get_all),
7941 (gst_interpolation_control_source_get_count),
7942 (gst_interpolation_control_source_init),
7943 (gst_interpolation_control_source_finalize),
7944 (gst_interpolation_control_source_dispose),
7945 (gst_interpolation_control_source_class_init):
7946 * libs/gst/controller/gstinterpolationcontrolsource.h:
7947 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7948 API: Refactor GstController into the core controller which can take
7949 a GstControlSource for providing actual values for timestamps.
7950 Implement a interpolation control source and use this for backward
7951 compatibility, deprecate a bunch of functions that are now handled
7952 by GstControlSource or GstInterpolationControlSource.
7953 Make it possible to disable the controller completely or only for
7954 specific properties. Fixes #450711.
7955 * docs/libs/gstreamer-libs-docs.sgml:
7956 * docs/libs/gstreamer-libs-sections.txt:
7957 * docs/libs/gstreamer-libs.types:
7958 Add new functions and classes to the docs.
7959 * tests/check/libs/controller.c: (GST_START_TEST),
7960 (gst_controller_suite):
7961 * tests/examples/controller/audio-example.c: (main):
7962 Port unit test and example to the new API and add some new
7965 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7967 Patch by: Mark Nauwelaerts <manauw at skynet be>
7969 * plugins/elements/gstmultiqueue.c:
7970 (gst_multi_queue_get_internal_links), (apply_buffer),
7971 (single_queue_overrun_cb), (gst_single_queue_new):
7972 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7973 the pipeline layout can be tracked correctly. Fixes #453732.
7975 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7977 * docs/gst/Makefile.am:
7978 * docs/libs/Makefile.am:
7979 * docs/plugins/Makefile.am:
7980 Simplify --extra-dir as gtkdoc scans recursively.
7982 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7984 * tools/gst-launch.c: (main):
7985 When we got an error, there is no point in waiting for preroll when
7988 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7990 * plugins/elements/gsttee.c: (gst_tee_base_init),
7991 (gst_tee_request_new_pad), (gst_tee_release_pad),
7992 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7993 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7995 Be a lot smarter when deciding what srcpad to use for proxying
7996 the buffer_alloc. Also handle pad added/removed when doing so.
7998 Keep track of what pads we already pushed on in case we have pads
7999 added/removed while pushing. Fixes #374639
8001 * tests/check/Makefile.am:
8002 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8004 Added unit test for pad resync.
8006 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8010 Updated translations.
8012 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8014 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8018 Added new Finnish translation.
8020 2007-06-28 Wim Taymans <wim@fluendo.com>
8022 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8023 (single_queue_overrun_cb):
8024 When figuring out when a queue is filled, use our internal time estimate
8025 based on segments, just like check_full does.
8027 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8029 * gst/gstminiobject.c: (gst_mini_object_get_type):
8030 Remove 3 do-nothing methods.
8032 2007-06-27 Wim Taymans <wim@fluendo.com>
8034 Patch by: Tim Angus <tim at ngus dot net>
8036 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8037 (gst_capsfilter_set_property):
8038 Take a reference instead of a copy when setting "caps".
8039 Fix documentation to clarify this behaviour. Fixes #449414.
8041 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8043 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8044 * gst/gstplugin.c: (gst_plugin_init):
8045 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8046 * gst/gstquery.c: (gst_query_get_type):
8047 * gst/gstregistry.c: (gst_registry_init):
8048 * gst/gsturi.c: (gst_uri_handler_base_init):
8049 Remove empty instance_init() functions to save relocs and lessen the
8050 noise. Remove some of the function prototypes that are doubled by
8053 2007-06-27 Wim Taymans <wim@fluendo.com>
8055 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8057 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8058 Add peer and direction in the XML serialisation of ghostpads.
8061 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8064 Preserve useful information, thanks Tim.
8066 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8068 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8069 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8070 (gst_single_queue_push_one), (gst_multi_queue_loop),
8071 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8072 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8073 (compute_high_id), (gst_single_queue_new):
8074 * plugins/elements/gstmultiqueue.h:
8075 Take the multiqueue lock when updating the fill level so we don't get
8078 After applying a buffer or event on the src pad segment, make sure to
8079 call gst_data_queue_limits_changed() to get the data queue to unblock
8080 and check the filled state again.
8082 Rework the not-linked pad handling so the logic is that not-linked
8083 pads can push as fast as they like, but only so they never get
8084 ahead of any linked pads.
8086 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8087 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8088 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8090 Add a test to check that not-linked pads always stay behind
8095 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8097 * docs/random/release:
8098 Some updates to the release procedure.
8100 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8102 * gst/gstelementfactory.c: (__gst_element_details_clear):
8103 Microoptimization that saves stunning 80 bytes.
8105 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8107 * docs/plugins/gstreamer-plugins.args:
8108 * docs/plugins/inspect/plugin-coreelements.xml:
8109 * docs/plugins/inspect/plugin-coreindexers.xml:
8110 Update docs with caps info.
8112 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8115 Updated Italian translation.
8117 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8121 Update Vietnamese translations.
8123 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8125 * libs/gst/base/gstbasesink.c:
8126 Remove unused signal enum.
8128 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8130 * docs/gst/gstreamer-sections.txt:
8132 * gst/gstutils.c: (gst_type_register_static_full):
8133 Beef up and include the docs for gst_type_register_static_full and
8134 gst_element_class_set_details_simple and add the API keyword
8137 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8139 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8140 (update_time_level), (gst_single_queue_push_one),
8141 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8142 (single_queue_overrun_cb), (single_queue_underrun_cb),
8143 (single_queue_check_full):
8144 Fix setting max-* properties after adding queues.
8145 Use IS_FILLED for checking visible items.
8146 Signal overrun if multiple queues overrun.
8147 Add extra debug output.
8148 Patch by: Wim Taymans <wim@fluendo.com>
8150 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8152 * gst/gstelement.c: (gst_element_class_set_details_simple):
8154 * gst/gstutils.c: (gst_type_register_static_full):
8156 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8157 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8158 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8159 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8160 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8161 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8162 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8163 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8164 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8165 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8166 (apply_buffer), (gst_queue_chain):
8167 * plugins/elements/gsttee.c: (gst_tee_base_init):
8168 * plugins/elements/gsttypefindelement.c:
8169 (gst_type_find_element_base_init),
8170 (gst_type_find_element_class_init):
8171 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8172 API: add gst_type_register_static_full
8173 API: add gst_element_class_set_details_simple
8175 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8177 * docs/pwg/advanced-types.xml:
8178 Fix typo in iana.org URI.
8180 2007-06-19 Andy Wingo <wingo@pobox.com>
8182 * tests/check/pipelines/simple-launch-lines.c
8183 (test_state_change_returns): Enable pull-mode tests now that
8184 basesink has been fixed.
8186 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8187 Changed from gst_base_sink_is_prerolled, reversing the sense of
8188 the return value. Returns FALSE also if the sink is in pull mode,
8189 in which case it needs no preroll.
8190 (gst_base_sink_query, gst_base_sink_change_state): Update for
8191 needs_preroll change.
8192 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8193 chaining up, in which we return SUCCESS directly if we activated
8194 in pull mode instead of ASYNC. Involves countering an async_start
8195 message sent before chaining up; not sure if this is correct, in
8196 an ideal world we only send async-start when activating in push
8199 * tests/check/pipelines/simple-launch-lines.c
8200 (test_state_change_returns): New test, partially disabled until
8203 2007-06-19 Wim Taymans <wim@fluendo.com>
8205 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8206 (gst_multi_queue_sink_event):
8209 2007-06-19 Wim Taymans <wim@fluendo.com>
8211 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8212 (gst_bin_change_state_func), (bin_push_state_continue),
8213 (bin_handle_async_start), (bin_handle_async_done),
8214 (gst_bin_handle_message_func):
8215 Move the common code for posting state-change messages into
8217 Broadcast the state signal after we posted the messages.
8218 Mark the bin as busy when it's doing a state-change.
8219 Make sure async-start/done messages don't interfere with the bin's
8220 state when it's busy.
8221 After the state change, let the bin check which elements completed the
8222 state change while it was busy so that it can update its state.
8224 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8226 * docs/random/release:
8227 Add a note about updating the doap file to the release checklist
8229 2007-06-18 Wim Taymans <wim@fluendo.com>
8231 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8232 (gst_single_queue_push_one), (gst_multi_queue_chain),
8233 (gst_multi_queue_sink_event):
8234 Make sure we don't reference the buffer/event after we have given away
8235 ownership in the queue.
8237 2007-06-18 Wim Taymans <wim@fluendo.com>
8239 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8240 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8241 Update queue state _after_ adding the item in the queue because else we
8242 could end up being full without the element added yet.
8244 2007-06-18 Wim Taymans <wim@fluendo.com>
8246 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8247 (gst_bin_remove_func), (gst_bin_get_state_func),
8248 (gst_bin_element_set_state), (gst_bin_continue_func),
8249 (bin_push_state_continue), (bin_handle_async_start),
8250 (bin_handle_async_done), (gst_bin_handle_message_func):
8252 Immediatly commit the toplevel bin state when receiving an async-done
8253 message. This enables us to avoid spawning a thread to commit the state
8254 in some common cases and it also avoids some races.
8255 Avoid spawning a state thread when adding/removing async elements to a
8256 toplevel bin. Instead we immediatly update the bin state.
8257 Get rid of iterating all the children when getting the state in the bin
8258 because it is now always up-to-date.
8259 Fix bug where locked elements would always return _SUCCESS even it they
8260 returned NO_PREROLL before being locked.
8261 Fix the order of the state_change, async-start/done messages that was
8262 sometimes incorrect.
8263 Mark the state_dirty field as deprecated, we don't need it anymore as we
8264 are always up-to-date.
8266 * gst/gstelement.c: (gst_element_get_state_func),
8267 (gst_element_continue_state):
8268 Small debug inprovements.
8269 Return the previous element state return when nothing is pending instead
8270 of blindly returning SUCCESS.
8272 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8274 Add a whole bunch of new testcases.
8276 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8280 Update translations.
8282 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8285 Fix typo in the docs.
8287 2007-06-15 Wim Taymans <wim@fluendo.com>
8289 * docs/libs/gstreamer-libs-sections.txt:
8290 Add docs for new methods.
8292 2007-06-15 Wim Taymans <wim@fluendo.com>
8294 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8295 (gst_multi_queue_item_new):
8296 Don't use GSlice because we don't depend on >= 2.10 yet.
8298 2007-06-15 Wim Taymans <wim@fluendo.com>
8300 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8301 (update_time_level), (apply_segment), (apply_buffer),
8302 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8303 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8304 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8305 (single_queue_underrun_cb), (single_queue_check_full):
8306 Remove debug printf.
8308 2007-06-15 Wim Taymans <wim@fluendo.com>
8310 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8311 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8312 (gst_data_queue_set_flushing), (gst_data_queue_push),
8313 (gst_data_queue_pop), (gst_data_queue_drop_head),
8314 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8315 * libs/gst/base/gstdataqueue.h:
8317 Added methods to get the current levels and to inform the queue that the
8318 'full' limits changed.
8320 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8321 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8322 (gst_single_queue_flush), (update_time_level), (apply_segment),
8323 (apply_buffer), (gst_single_queue_push_one),
8324 (gst_multi_queue_item_steal_object),
8325 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8326 (gst_multi_queue_loop), (gst_multi_queue_chain),
8327 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8328 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8329 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8330 (single_queue_underrun_cb), (single_queue_check_full),
8331 (gst_single_queue_new):
8332 Keep track of time in the queue by measuring the difference between
8333 running_time on input and output. This gives more accurate results and
8334 can compensate for segments correctly.
8335 Make a queue by default only 5 buffers deep. We will now increase the
8336 buffer size depending on the filledness of the other queues.
8337 Factor out commong flush code.
8338 Make sure we don't add additional refcounts to buffers when we can avoid
8340 Propagate GstFlowReturn differently.
8341 Use GSlice for intermediate GstMultiQueueItems.
8343 Resize queues on over and underruns based on filled level of other
8345 When checking if the queue is filled, prefer to measure in time if we
8346 can and fall back to bytes when no time is known.
8348 * plugins/elements/gstqueue.c:
8351 2007-06-15 Wim Taymans <wim@fluendo.com>
8353 * libs/gst/base/gstbasetransform.c:
8354 (gst_base_transform_sink_event):
8355 Work around the brokenness of the event vmethod in basetransform. Prefer
8356 to return TRUE when the subclass returned FALSE (meaning don't forward
8359 * libs/gst/base/gstbasetransform.h:
8362 2007-06-15 Wim Taymans <wim@fluendo.com>
8364 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8365 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8366 (gst_base_src_default_query), (gst_base_src_get_range),
8367 (gst_base_src_start):
8368 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8371 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8373 * docs/pwg/advanced-types.xml:
8374 Added more formats to caps table.
8376 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8378 * tools/gst-launch.c: (main):
8379 Remove crufy code. GOption does not need this workaround.
8381 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8383 * libs/gst/controller/gstcontroller.c:
8384 (gst_controlled_property_set_interpolation_mode):
8385 Fix wrong getter for enums in controller.
8387 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8389 * libs/gst/check/gstcheck.c: (gst_check_init):
8390 Intercept criticals and warnings in the Gst-Phonon log domain, so
8391 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8394 2007-06-14 Edward Hervey <edward@fluendo.com>
8396 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8397 Since this file doesn't include "gst.h" it will not go through the
8398 macros that disable GST_LOG if debugging was disabled.
8400 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8402 * libs/gst/check/Makefile.am:
8403 * libs/gst/check/gstcheck.h:
8404 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8405 * pkgconfig/gstreamer-check.pc.in:
8406 Ugly 'fix' for the controller unit test on the p5 bot: in
8407 fail_unless_equals_float() check whether the values are 'almost
8408 equal' by allowing a small absolute error, which should be good
8409 enough for our use cases (normal numbers and values close to 0).
8410 Proper fixage left to floating point arithmetic aficionados.
8412 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8414 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8415 (gst_base_sink_render_object), (gst_base_sink_get_position):
8416 Add two breaks thats where missing.
8418 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8420 * docs/libs/gstreamer-libs-sections.txt:
8421 * libs/gst/check/gstcheck.h:
8422 API: add fail_unless_equals_float() and assert_equals_float().
8423 Add documentation for some of the macros.
8425 * tests/check/libs/controller.c: (GST_START_TEST):
8426 Use newly-added asserts.
8428 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8430 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8431 Show the caps change in the log to help spotting the case of not
8432 exactly matching caps.
8434 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8436 * docs/pwg/building-boiler.xml:
8437 Fix typos, spotted by Thijs Vermeir (#447190).
8439 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8441 * docs/plugins/tmpl/.cvsignore:
8442 Ignore file to keep the buildbots happy
8444 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8446 * docs/plugins/Makefile.am:
8447 * docs/plugins/gstreamer-plugins-docs.sgml:
8448 * docs/plugins/gstreamer-plugins-sections.txt:
8449 Pull fdsink into the docs too.
8451 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8453 * libs/gst/controller/gstinterpolation.c:
8454 Actually use the new functions with min/max checks for the trigger and
8455 none interpolation modes for get() and get_value_array() instead of
8458 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8460 * libs/gst/controller/gstcontroller.c:
8461 (gst_controlled_property_free):
8462 Unset the minimum and maximum GValues when freeing the corresponding
8463 GstControllerProperty struct.
8465 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8467 * libs/gst/controller/gstcontroller.c:
8468 (gst_controlled_property_new):
8469 * libs/gst/controller/gstcontrollerprivate.h:
8470 * libs/gst/controller/gstinterpolation.c:
8471 (gst_controlled_property_find_control_point_node),
8472 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8473 (interpolate_none_get_string_value_array),
8474 (interpolate_trigger_get),
8475 (interpolate_trigger_get_enum_value_array),
8476 (interpolate_trigger_get_string_value_array):
8477 Protect against values larger or smaller than the minimum or maximum
8478 allowed value for the property when using values that can be compared.
8480 Optimize trigger interpolator a bit by taking the last requested value
8481 into account instead of always looping through the complete list.
8483 Fix coding style a bit, everywhere else we use "return foo" instead
8486 * tests/check/libs/controller.c: (GST_START_TEST),
8487 (gst_controller_suite):
8488 Add unit test for the protection against too large or too small
8491 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8493 * docs/random/slomo/controller.txt:
8494 Add some thoughts about the future of the controller.
8496 2007-06-08 Wim Taymans <wim@fluendo.com>
8498 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8499 Don't overflow in retimestamping code.
8501 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8503 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8504 Use gst_util_guint64_to_gdouble for conversions.
8505 * win32/common/libgstreamer.def:
8506 Add new exported functions.
8508 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8511 Small docs addition.
8513 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8516 Remove that test line again.
8518 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8521 Test commit mail sending.
8523 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8526 Fix typo and test commit mail sending.
8528 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8530 * tests/examples/controller/audio-example.c:
8531 Improve comment and test commit mail sending.
8533 2007-06-07 Wim Taymans <wim@fluendo.com>
8535 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8536 (gst_bin_remove_func), (gst_bin_element_set_state),
8537 (bin_handle_async_start), (bin_handle_async_done),
8538 (gst_bin_handle_message_func):
8539 Add helper function to find messages.
8540 Generate the async-done messages together with the state change
8542 Small cleanups in handling toplevel bins.
8544 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8546 * libs/gst/base/gstdataqueue.c:
8547 * libs/gst/base/gstdataqueue.h:
8548 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8549 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8550 (gst_multi_queue_sink_event):
8551 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8552 Fix multiqueue leaking buffers and events when downstream or the
8553 queue are flushing. Make refcounting assumptions explicit and
8554 document them (shouldn't break existing code that uses it other than
8555 maybe leak miniobjects, but that already happens anyway). Add unit
8556 test for the most common flushing case. Fixes #423700.
8558 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8560 * libs/gst/controller/gstcontroller.c:
8561 Clarify docs: The get_all, get_value_array(s) functions
8562 don't modify the GObject properties.
8564 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8566 * libs/gst/controller/gstcontroller.c:
8567 (gst_controlled_property_set_interpolation_mode),
8568 (gst_controlled_property_prepend_default),
8569 (gst_controlled_property_new), (gst_controller_set_unlocked),
8570 (gst_controller_set), (gst_controller_set_from_list),
8571 (gst_controller_unset), (gst_controller_unset_all):
8572 * libs/gst/controller/gstcontrollerprivate.h:
8573 * libs/gst/controller/gstinterpolation.c:
8574 Factor out the 'set' logic into gst_controller_set_unlocked for the
8575 gst_controller_set and gst_controller_set_from_list functions.
8577 To make life of the interpolators easier always add a control point
8578 at timestamp zero with the default value.
8580 In the linear interpolator make things more obvious by better variable
8583 Implement cubic interpolation mode (by using a natural cubic spline)
8584 and map the quadratic interpolation mode to this too (as quadratic
8585 doesn't make much sense, see discussion on the list).
8587 * tests/check/libs/controller.c: (GST_START_TEST),
8588 (gst_controller_suite):
8589 Add unit test for the cubic interpolation mode and check everywhere
8590 if the interpolation mode could be set as expected.
8592 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8594 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8595 Don't use GLib-2.10 functions, we still depend on
8596 GLib-how-old-is-it-again-2.8.
8598 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8600 * docs/gst/gstreamer-sections.txt:
8604 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8605 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8606 (_gst_param_fraction_values_cmp),
8607 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8608 * gst/gstparamspecs.h:
8610 * tests/check/Makefile.am:
8611 * tests/check/gst/.cvsignore:
8612 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8613 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8614 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8615 (GST_START_TEST), (gst_param_spec_suite):
8616 API: add GstParamSpecFraction, so elements can have fraction
8617 properties without lots of painful string parsing (#444648).
8619 2007-06-05 Wim Taymans <wim@fluendo.com>
8621 * gst/gstobject.c: (gst_object_class_init):
8622 Fix signal signature.
8625 Add small clarification in the api docs.
8627 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8628 States are protected with object lock.
8630 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8633 I should probably be listed as an author by now.
8635 * docs/random/release:
8636 Update the release doc
8638 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8641 Make docs for gst_value_compare() mention return enums that
8644 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8649 === release 0.10.13 ===
8651 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8654 releasing 0.10.13, "With or without you"
8656 2007-05-25 Wim Taymans <wim@fluendo.com>
8658 * gst/gstbin.c: (bin_handle_async_done):
8659 Make sure that the child bin stops after completing the async state
8660 change so that the parent can continue the state change to PLAYING.
8663 2007-05-25 Wim Taymans <wim@fluendo.com>
8665 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8666 (unref_data), (gst_collect_pads_remove_pad),
8667 (gst_collect_pads_check_pads):
8668 Use additional refcounting to avoid crashes when dynamically adding and
8669 removing pads. Fixes #420206.
8671 2007-05-24 Wim Taymans <wim@fluendo.com>
8673 * tools/gst-launch.c: (event_loop):
8674 When buffering goes from a two digit to a single digit number, make sure
8675 to remove the old second digit by writing a blank over it.
8677 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8679 * libs/gst/base/gstdataqueue.c:
8680 Eliminate tabs and trailing comma in enum list; fix some typos.
8682 2007-05-24 Wim Taymans <wim@fluendo.com>
8684 * tests/check/gst/gstbin.c: (GST_START_TEST):
8685 Allow refcount of 3 and 4 because some state thread might still be busy
8688 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8690 * plugins/elements/Makefile.am:
8691 * plugins/elements/gstmultiqueue.h:
8692 * plugins/elements/gstqueue.h:
8693 These are not installed headers, no need for padding.
8695 2007-05-24 Wim Taymans <wim@fluendo.com>
8697 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8698 (gst_bin_continue_func):
8699 Enable latency for next release.
8700 Restore STATE_LOCK around recalc_state that was left out during the
8701 rewrite and could result in racy behaviour when _get_state and
8702 recalc_state are run concurrently. See #440463.
8704 2007-05-23 Wim Taymans <wim@fluendo.com>
8706 * tests/check/gst/gstsystemclock.c: (store_callback),
8708 Improve test_async_order to also work when both timers are already
8709 expired when we get scheduled to check it.
8711 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8713 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8714 (gst_bin_set_property), (gst_bin_get_property),
8715 (gst_bin_remove_func), (gst_bin_handle_message_func):
8717 'private' is a c++ keyword, let's not use that in header files,
8718 otherwise c++ compilers will throw a tantrum.
8720 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8722 * plugins/elements/gstelements.c:
8723 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8724 (gst_file_sink_get_current_offset):
8725 * plugins/indexers/gstindexers.c: (plugin_init):
8726 Use #ifdef for HAVE_XYZ for consistency.
8728 * tests/check/Makefile.am:
8729 * tests/check/elements/.cvsignore:
8730 * tests/check/elements/filesink.c: (setup_filesink),
8731 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8732 Add some unit tests for filesink.
8734 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8736 Patch by: Mark Nauwelaerts <manauw at skynet be>
8738 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8739 (gst_file_sink_query), (gst_file_sink_do_seek),
8740 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8741 * plugins/elements/gstfilesink.h:
8742 Fix position reporting; rename data_written member to current_pos to
8743 reflect its real meaning (fixes #412648).
8745 2007-05-22 Edward Hervey <edward@fluendo.com>
8747 * docs/gst/gstreamer-sections.txt:
8748 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8749 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8750 (gst_bin_remove_func), (gst_bin_handle_message_func):
8752 Add a property for bins that handle the state change of their childs.
8755 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8757 * libs/gst/controller/gstinterpolation.c:
8758 Use an array of the correct type when using _get_value_array with
8759 linear interpolation.
8761 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8763 * gst/gstelement.c (gst_element_requires_clock,
8764 gst_element_provides_clock, gst_element_request_pad,
8765 gst_element_class_set_details, gst_element_class_set_details_simple,
8766 gst_element_default_send_event, gst_element_abort_state,
8767 gst_element_continue_state, gst_element_set_state,
8768 gst_element_set_state_func, iterator_activate_fold_with_resync):
8769 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8770 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8771 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8772 gst_pad_get_range, gst_pad_pull_range):
8773 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8774 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8775 GstPadActivateModeFunction, GstPadChainFunction,
8776 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8777 GstPadFixateCapsFunction, GstPadTemplate):
8778 * gst/gstpipeline.c (gst_pipeline_change_state,
8779 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8780 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8781 gst_pipeline_get_delay):
8782 Whitespace and docs fixes.
8784 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8786 * libs/gst/controller/gstinterpolation.c:
8787 (interpolate_trigger_get_enum_value_array),
8788 (interpolate_trigger_get_string_value_array):
8789 Add support for retrieving value arrays when using the trigger
8792 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8794 * libs/gst/controller/gstcontroller.c:
8795 (gst_controller_get_value_array):
8796 * libs/gst/controller/gstcontroller.h:
8797 Clarify the docs of gst_controller_get_value_array(): The array where
8798 the values should be written to must be allocated as there seems to be
8799 no way to get the size of a random GType. This doesn't change any
8800 behaviour. Also fix some typos all over the place and remove an unused,
8801 commented function that is not necessary as g_object_set() could be
8803 * tests/check/libs/controller.c: (GST_START_TEST),
8804 (gst_controller_suite):
8805 Add unit test for gst_controller_get_value_array().
8807 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8809 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8811 Disable part of the gst_buffer_try_new_and_alloc test, because
8812 it can happily succeed on 64-bit systems where there's more address
8815 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8817 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8818 Add unit test for the improved caps checking from bug #421543.
8820 2007-05-21 Wim Taymans <wim@fluendo.com>
8822 * docs/design/part-synchronisation.txt:
8825 * gst/gstbin.c: (gst_bin_query):
8826 * plugins/elements/gstqueue.c: (apply_segment):
8832 2007-05-21 Wim Taymans <wim@fluendo.com>
8834 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8835 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8836 (gst_pad_configure_src):
8837 Added simple version of improved caps checking. It was previously
8838 assumed that a setcaps function would check the validity of the caps but
8839 people prefer us to check caps against the template automatically.
8842 2007-05-21 Wim Taymans <wim@fluendo.com>
8844 * libs/gst/base/gstbasetransform.h:
8845 Fix macro for locking/unlocking the transform lock.
8847 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8849 * docs/plugins/tmpl/.cvsignore:
8852 2007-05-18 Edward Hervey <edward@fluendo.com>
8854 * plugins/elements/gstqueue.c: (gst_queue_loop):
8855 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8856 for the subtle art of warning a potentially blocking thread that it
8857 should check the source pad return value, and relay the information
8860 2007-05-18 Edward Hervey <edward@fluendo.com>
8862 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8863 Release the queue lock !
8865 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8867 * docs/libs/gstreamer-libs-sections.txt:
8868 Add the two new controller functions to the appropiate places.
8870 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8872 reviewed by: Stefan Kost <ensonic@users.sf.net>
8874 * libs/gst/controller/gstcontroller.c:
8875 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8876 (_gst_controller_get_property), (_gst_controller_set_property),
8877 (_gst_controller_init), (_gst_controller_class_init):
8878 * libs/gst/controller/gstcontroller.h:
8879 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8880 (gst_object_get_control_rate), (gst_object_set_control_rate):
8881 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8882 Add API that provides sync suggestion timestamps for elements that
8883 call gst_object_sync_values() from which those elements can subdivide
8884 their processing loop to get the best results for the controlled
8885 properties. For now it just suggests last_sync + control_rate as
8886 new timestamp but this will be improved in the future.
8888 While doing that change the control-rate property to a GstClockTime
8889 from guint and change it's meaning from samples to nanoseconds as
8890 the GstController doesn't know anything about sampling rate. Strictly
8891 speaking this breaks ABI but as the control-rate property didn't do
8892 anything in the past and as such couldn't be used this should be no
8895 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8897 reviewed by: Stefan Kost <ensonic@users.sf.net>
8899 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8900 (gst_controller_unset_all):
8901 * libs/gst/controller/gstcontrollerprivate.h:
8902 * libs/gst/controller/gstinterpolation.c:
8903 (gst_controlled_property_find_control_point_node):
8904 Save last synced value from the list to continue searching from there
8905 in future syncs. This speeds everything up a bit.
8907 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8909 reviewed by: Stefan Kost <ensonic@users.sf.net>
8911 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8912 (gst_control_point_find), (gst_controlled_property_new),
8913 (gst_control_point_free), (gst_controlled_property_free),
8914 (gst_controller_set), (gst_controller_set_from_list),
8915 (gst_controller_unset), (gst_controller_unset_all),
8916 (gst_controller_sync_values):
8917 * libs/gst/controller/gstcontroller.h:
8918 * libs/gst/controller/gstcontrollerprivate.h:
8919 * libs/gst/controller/gstinterpolation.c:
8920 (gst_controlled_property_find_control_point_node),
8921 (interpolate_none_get), (interpolate_trigger_get):
8922 Add a new private GstControlPoint struct which "inherits" from
8923 GstTimedValue to allow different interpolators to store internal
8924 values next to each control point. From the outside everything is
8925 still a GstControlPoint so we don't loose binary compatibility.
8926 Also fixup all the GValue handling to not leak GValues or list nodes.
8927 * tests/check/libs/controller.c: (GST_START_TEST):
8928 Free the list nodes and GValues in the controller_misc test.
8930 2007-05-17 Edward Hervey <edward@fluendo.com>
8935 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8937 * gst/gstplugin.c: (gst_plugin_load_file):
8938 If we fail to load a plugin because of unresolved symbols or missing
8939 libraries and spew a warning to stderr, we may just as well mention
8940 which plugin it was that failed to load.
8942 2007-05-13 David Schleef <ds@schleef.org>
8944 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8945 handles the case when ENABLE_GTK_DOC is false, and installs
8946 the prebuilt documentation. So gtk-doc subdirs are
8947 unconditionally enabled. Fixes: #349099.
8949 2007-05-13 David Schleef <ds@schleef.org>
8951 * gst/gstutils.h: Reword some documentation.
8953 2007-05-12 David Schleef <ds@schleef.org>
8955 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8956 do anything with the passed "module" parameter, so remove it.
8957 Allows removal of additional vestigal code.
8959 2007-05-12 David Schleef <ds@schleef.org>
8962 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8963 Switch to using g_stat() because it's more portable.
8965 2007-05-12 David Schleef <ds@schleef.org>
8968 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8969 parsing for embedded systems.
8970 * gst/gstelementfactory.c:
8971 Allow gst_element_register() to be called with plugin==NULL.
8972 Did nobody notice that static elements were broken?
8974 2007-05-12 Wim Taymans <wim@fluendo.com>
8976 * tools/gst-launch.c: (event_loop):
8977 Give more interesting info when buffering starts and stops.
8978 Fix case where buffering starts but we fail to update the buffering flag
8979 because the target state is not PLAYING.
8981 2007-05-12 Wim Taymans <wim@fluendo.com>
8983 * plugins/elements/gstqueue.c: (gst_queue_init),
8984 (gst_queue_finalize), (update_time_level), (apply_segment),
8985 (apply_buffer), (gst_queue_locked_flush),
8986 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8987 (gst_queue_handle_sink_event), (gst_queue_chain),
8988 (gst_queue_push_one), (gst_queue_loop):
8989 * plugins/elements/gstqueue.h:
8990 Refactor an cleanup queue a bit.
8991 Do better time level calculations that also work when the srcpad is not
8993 Remove some unneeded debug lines.
8995 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8996 Added testcase for time level measurement.
8997 Try to make some stuff more racefree.
8999 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9001 * gst/gsturi.c: (gst_element_make_from_uri):
9002 Don't leak plugin feature.
9004 * tests/check/Makefile.am:
9005 * tests/check/gst/.cvsignore:
9006 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9007 Add brain-dead unit test.
9009 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9011 Patch by: Jeroen Wouters <woutersj at gmail com>
9013 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9014 Treat protocol strings in a case-insensitive way (#437563).
9016 2007-05-11 Michael Smith <msmith@fluendo.com>
9018 * gst/gstplugin.c: (gst_plugin_load_file):
9019 * gst/gstregistry.c: (gst_registry_scan_path_level):
9020 Don't print a g_warning for any failure to load a shared object.
9021 Instead, push this down into gstplugin.c, and warn _only_ if we
9022 failed to open the module (i.e. failure to link).
9023 Avoids warnings on normal, working, non-plugin .so files.
9025 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9027 * gst/gstplugin.c (gst_plugin_load_file):
9028 * gst/gstregistry.c (GST_CAT_DEFAULT,
9029 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9030 Print a g_warning if there was an error when loading a plugins during
9031 registry scan. The shuld help beginners starting with gst-plugin
9034 2007-05-10 Wim Taymans <wim@fluendo.com>
9036 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9037 (update_time_level), (gst_queue_locked_flush),
9038 (gst_queue_handle_sink_event), (gst_queue_chain),
9039 (gst_queue_push_one), (gst_queue_loop):
9040 * plugins/elements/gstqueue.h:
9041 Be smarter when calculating the current amount of data in the queue by
9042 measuring the difference between start and end timestamps (in running
9043 time) inside the queue. Fixes #432876.
9044 API: GstQueue::pushing to notify elements that we are pushing data again
9045 since the running signal is rather broken for this purpose.
9047 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9049 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9050 gst_queue_base_init, gst_queue_init):
9053 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9055 * win32/common/libgstreamer.def:
9056 Add new exported functions.
9057 * win32/vs6/grammar.dsp:
9058 Use grammar pre-generated files.
9060 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9062 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9065 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9067 * gst/gstutils.c: (gst_parse_bin_from_description):
9069 Maintain API and ABI when --disable-parse is used. Now that
9070 we have an appropriate error code, we can just return NULL and the
9071 appropriate error when gst_parse_launch() is used despite it having
9072 been disabled (#342564).
9074 * tests/check/Makefile.am:
9075 * tests/check/pipelines/.cvsignore:
9076 * tests/check/pipelines/parse-disabled.c:
9077 Make sure these functions exist and return NULL plus a GError when
9078 --disable-parse is used.
9080 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9082 * tests/benchmarks/complexity.c: (main):
9083 * tests/benchmarks/mass-elements.c: (main):
9084 Set a good example and don't leak messages.
9086 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9088 * docs/gst/Makefile.am:
9089 * docs/libs/Makefile.am:
9090 Correct fixxrefs options.
9092 * docs/plugins/Makefile.am:
9093 * docs/plugins/gstreamer-plugins-docs.sgml:
9094 * docs/plugins/gstreamer-plugins-sections.txt:
9095 * plugins/elements/Makefile.am:
9096 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9097 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9098 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9099 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9100 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9101 _GstCapsFilterClass, trans_class):
9102 * plugins/elements/gstelements.c (name, rank, type, _elements):
9103 * plugins/elements/gstidentity.c
9104 (gst_identity_check_imperfect_timestamp,
9105 gst_identity_check_imperfect_offset):
9106 Document capsfilter and add doc-blurb to identity.
9108 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9110 * libs/gst/controller/gstcontroller.c:
9111 (gst_controlled_property_set_interpolation_mode):
9112 * libs/gst/controller/gstinterpolation.c:
9113 Don't crash if someone tries to set an interpolation mode that
9114 is invalid or that isn't supported yet. Fixes #422295.
9116 * tests/check/libs/controller.c: (GST_START_TEST),
9117 (gst_controller_suite):
9118 Add a test case for the above.
9120 2007-05-03 Edward Hervey <edward@fluendo.com>
9122 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9123 Properly set the last_stop position on GstSegment. This will only happen
9124 if there is a buffer to push out.
9126 2007-05-03 Wim Taymans <wim@fluendo.com>
9128 * libs/gst/base/gstbasetransform.c:
9129 (gst_base_transform_buffer_alloc):
9130 always_in_place does not mean that the sink and source caps are the
9131 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9133 2007-05-03 Wim Taymans <wim@fluendo.com>
9135 * docs/libs/gstreamer-libs-sections.txt:
9136 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9137 (gst_base_src_default_query), (gst_base_src_get_range):
9138 * libs/gst/base/gstbasesrc.h:
9139 API: gst_base_src_query_latency(). Added method so that subclasses can
9140 easily get the latency values of the base source class.
9142 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9144 * tools/gst-inspect.c (print_implementation_info):
9147 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9149 * tools/Makefile.am:
9150 * tools/gst-launch.1.in:
9151 Don't create a customised man page based on the host architecture,
9152 describe the default registry path generically. That way the man
9153 page is the same for all architectures and packagers have one
9154 multilib issue less to deal with. Fixes #434926.
9156 2007-05-02 Wim Taymans <wim@fluendo.com>
9159 Fix documentation as spotted by rg on IRC.
9161 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9164 Improve docs for gst_element_{link,unlink}.
9166 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9168 * docs/design/part-events.txt:
9169 * docs/design/part-overview.txt:
9173 * libs/gst/base/gstbasesink.c:
9174 Typo fixes; minor docs addition.
9176 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9178 * docs/gst/gstreamer-sections.txt:
9179 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9180 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9182 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9183 or src that supports a given URI protocol exists.
9185 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9187 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9188 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9189 Set the location to NULL if "file://" is set as URI. Otherwise
9190 some random previous URI would still be set if "file://" is
9191 set on an already used filesink/filesrc.
9193 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9195 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9196 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9197 Special case the "file://" URI as as this is used by some
9198 applications to test with gst_element_make_from_uri if there's
9199 an element that supports the URI protocol.
9200 Also move the g_path_is_absolute() check for the location part
9201 of the URI to also check this for "file://localhost/bla" URIs.
9203 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9205 * docs/gst/gstreamer-sections.txt:
9206 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9208 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9210 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9212 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9214 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9215 (gst_registry_binary_load_pad_template),
9216 (gst_registry_binary_load_plugin),
9217 (gst_registry_binary_read_cache):
9218 * gst/gstregistrybinary.h:
9219 Implement no-mmap alternative for registry reading. Do code cleanups.
9220 Add more comments about avoiding strdups for all text data. Comments
9223 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9225 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9226 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9227 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9228 Comment structs and reformat to fix the build (that stuff should go
9229 into a priv. header).
9231 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9233 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9234 (gst_registry_binary_load_feature):
9235 * gst/gstregistrybinary.h:
9236 Refactor so that we can implement multiple features. Add support for
9237 TypeFindFactory features.
9239 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9241 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9244 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9246 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9248 * gst/gstbin.c: (gst_bin_element_set_state),
9249 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9250 (bin_handle_async_done), (gst_bin_handle_message_func):
9251 Fix build with --gst-disable-gst-debug
9253 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9255 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9256 Make sure streaming has finished before calling the ::stop() vfunc,
9257 since that vfunc might clear state which is being used in the
9258 streaming thread. This fixes a race that caused crashes in
9259 audioresample when shutting down a pipeline (#420106).
9261 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9263 * docs/gst/gstreamer-sections.txt:
9264 That was one byte missing.
9266 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9269 * docs/gst/gstreamer-sections.txt:
9271 * gst/gstconfig.h.in:
9272 * gst/gstobject.c: (gst_object_class_init),
9273 (gst_signal_object_class_init):
9275 2nd attempt to have a xml-less build as a joined effort of #413123
9278 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9280 * docs/design/draft-tagreading.txt:
9281 Added open issues/thoughts to draft.
9283 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9285 * gst/parse/grammar.tab.pre.c:
9286 * gst/parse/grammar.tab.pre.h:
9287 * gst/parse/lex._gst_parse_yy.pre.c:
9288 Update the prebuild parser sources.
9290 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9292 * gst/parse/Makefile.am:
9293 And now fix the building of the flex sources. Now everything should
9296 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9298 * gst/parse/Makefile.am:
9299 Now hopefully fix the build failures by setting proper rule
9300 dependencies and moving instead of copying.
9302 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9304 * tests/benchmarks/complexity.gnuplot:
9305 * tests/benchmarks/complexity.scm:
9306 * tests/benchmarks/mass-elements.gnuplot:
9307 * tests/benchmarks/mass-elements.scm:
9308 Total licensification.
9310 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9312 * gst/parse/Makefile.am:
9313 Fix the build by correcting the rule that gave wrong files to flex.
9315 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9317 * tests/benchmarks/complexity.c:
9318 * tests/benchmarks/mass-elements.c:
9319 Change licence to LGPL as granted by Benjamin and Andy.
9321 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9323 * gst/parse/Makefile.am:
9324 Add correct grammar.tab.h dependency if compiling without new enough
9325 flex. Fixes #431150.
9327 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9329 * gst/parse/Makefile.am:
9330 Fix typo and use outdated sources if the flex/bison sources are newer
9331 than the pregenerated ones but flex is too old. Print a warning in
9332 that case. This should fix the build on the build bot.
9334 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9336 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9337 * gst/parse/Makefile.am:
9338 * gst/parse/grammar.y:
9339 * gst/parse/parse.l:
9340 Make the parser reentrant and recursively callable. This requires flex
9341 >= 2.5.31, for older versions pregenerated sources are used as we
9342 can't bump the build dependency. Finally fixes #349180.
9344 * gst/gstparse.c: (gst_parse_launch):
9345 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9348 * docs/gst/Makefile.am:
9349 * docs/gst/Makefile.am:
9350 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9351 (__gst_parse_strfree), (__gst_parse_link_new),
9352 (__gst_parse_link_free), (__gst_parse_chain_new),
9353 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9354 (gst_parse_element_set), (gst_parse_free_link),
9355 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9356 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9357 (_gst_parse_launch):
9358 * gst/parse/grammar.tab.pre.h:
9359 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9360 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9361 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9362 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9363 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9364 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9365 (_gst_parse_yypop_buffer_state),
9366 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9367 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9368 (yy_fatal_error), (_gst_parse_yyget_extra),
9369 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9370 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9371 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9372 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9373 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9374 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9375 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9376 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9377 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9378 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9379 (_gst_parse_yyfree):
9380 If the installed flex version is too old use pre-generated parser
9381 sources. These pre-generated parser sources are always updated when
9382 the actual flex/bison sources change but require everybody who wants
9383 to change something in the parser to have flex >= 2.5.31 installed.
9385 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9387 * common/m4/gst-gettext.m4:
9388 * gst/gst-i18n-lib.h:
9389 Make --disable-nls to work
9391 2007-04-17 Wim Taymans <wim@fluendo.com>
9393 * gst/gstconfig.h.in:
9394 Revert previous change that broke the build.
9396 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9400 * gst/gstconfig.h.in:
9401 Drop libxml2 dependency when building with
9402 --enable-binary-registry --disable-loadsave
9404 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9406 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9407 (gst_registry_binary_read_cache):
9408 * gst/gstregistrybinary.h:
9409 Remove unnecessary <sys/mman.h> include which broke the win32 build
9410 with MingW; move includes from header file to .c file, even if the
9411 header file isn't installed; use g_strerror() where UTF-8 strings
9412 are expected, such as in GST_DEBUG messages.
9414 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9416 * docs/libs/gstreamer-libs-sections.txt:
9417 Remove bogus addition for API I didn't end up keeping.
9419 * libs/gst/base/gstbasesrc.h:
9420 Mention Since: 0.10.13 in the documentation.
9422 Add the API keyword to the previous ChangeLog entry.
9424 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9426 * docs/libs/gstreamer-libs-sections.txt:
9427 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9428 (gst_base_src_default_prepare_seek_segment),
9429 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9430 * libs/gst/base/gstbasesrc.h:
9431 Allow basesrc derived classes to execute seeks in other formats
9432 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9433 to prepare the GstSegment in any format that their perform_seek method
9434 will be able to understand. The default implementation provides the
9435 old behaviour of attempting to convert the seek offsets to the
9436 configured native format.
9438 API: basesrc::prepare_seek_segment vmethod.
9440 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9442 * gst/gstelement.c: (gst_element_get_state_func):
9443 Don't output the same debug statement twice.
9445 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9446 (gst_adapter_peek), (gst_adapter_take_buffer):
9447 Optimise the case where we have buffers at the head of the queue that
9448 can be joined quickly (because they're contiguous sub-buffers) by
9449 merging them together rather than copying data out into new memory.
9451 * gst/parse/grammar.y:
9452 * tests/check/pipelines/parse-launch.c:
9453 Fix a leak in an error path for parse_launch, and add a check
9454 for it to the testsuite.
9456 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9458 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9459 Don't deadlock when releasing a pad - gst_pad_set_active may try
9460 and take the multiqueue lock too.
9462 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9464 * gst/gsterror.c: (_gst_core_errors_init):
9466 API: add GST_CORE_ERROR_DISABLED (#392804).
9468 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9470 * docs/faq/gst-uninstalled:
9471 don't get empty paths on the PATH variables
9472 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9473 Don't format for the uncommon terminal width of 84 characters.
9475 2007-04-06 Wim Taymans <wim@fluendo.com>
9477 * gst/gstpipeline.c: (reset_stream_time),
9478 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9479 Only try to select a different pipeline clock when we went back to
9480 PAUSED and not when we merely got flushed.
9482 2007-04-05 Michael Smith <msmith@fluendo.com>
9484 * tools/gst-launch.1.in:
9485 fractions are better supported in gstreamer than ractions, so
9486 suggest using those.
9488 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9490 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9494 Added Danish translation.
9496 2007-04-05 Wim Taymans <wim@fluendo.com>
9498 * libs/gst/base/gstbasesink.c:
9499 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9500 Fix leak caused when refusing newsegment after EOS.
9502 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9503 (gst_fake_sink_init), (gst_fake_sink_set_property),
9504 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9505 (gst_fake_sink_render), (gst_fake_sink_change_state):
9506 * plugins/elements/gstfakesink.h:
9507 Add num-buffers property to make the element generate EOS after a
9508 configurable amount of buffers.
9509 API: fakesink::num-buffers property.
9511 * tests/check/elements/fakesink.c: (GST_START_TEST),
9513 Fix GstBus leak in test.
9514 Test for fakesink num-buffers.
9516 2007-04-05 Wim Taymans <wim@fluendo.com>
9518 * libs/gst/base/gstbasesink.c:
9519 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9520 (gst_base_sink_change_state):
9521 Don't accept anything after an EOS, return UNEXPECTED instead.
9523 * tests/check/elements/fakesink.c: (GST_START_TEST),
9525 Unit test for new EOS behaviour.
9527 2007-04-05 Wim Taymans <wim@fluendo.com>
9529 * gst/gstelement.c: (gst_element_get_request_pad):
9530 Make padtemplates also work when they don't contain %s or %d.
9532 2007-04-05 Wim Taymans <wim@fluendo.com>
9534 * docs/gst/gstreamer-sections.txt:
9535 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9536 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9538 Improve _adjust_unlocked() so that it overflows less.
9539 Add gst_clock_unadjust_unlocked to convert from external time to
9540 internal time based on calibration.
9541 Add some more debug.
9542 API: GstClock::gst_clock_unadjust_unlocked()
9544 2007-04-03 Wim Taymans <wim@fluendo.com>
9546 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9548 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9549 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9550 when releasing sink pad. Fixes #425400.
9552 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9554 * docs/random/ensonic/dynlink.txt:
9555 More work on proposal for new core api.
9557 * docs/libs/gstreamer-libs-sections.txt:
9558 * libs/gst/base/gstbasetransform.h:
9559 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9561 * libs/gst/controller/gstcontroller.c:
9562 (on_object_controlled_property_changed),
9563 (gst_controller_sync_values),
9564 (gst_controller_set_interpolation_mode):
9565 * libs/gst/controller/gstcontroller.h:
9566 Less verbose logging add docs for unimplemented parts and correctly
9567 return when using unavailable parts.
9569 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9571 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9572 Move all the debug to the CLOCK category, and associate it with
9575 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9577 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9578 Make take_buffer a bit quicker by removing redundant checks
9579 caused by calling gst_adapter_take.
9581 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9583 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9586 * tests/check/Makefile.am:
9587 * tests/check/elements/.cvsignore:
9588 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9589 (GST_START_TEST), (multiqueue_suite):
9590 Add some dead simple unit tests for the 'multiqueue' element
9591 (some bits don't work yet and are disabled for now).
9593 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9595 * gst/gstelement.c: (gst_element_get_request_pad),
9596 (gst_element_class_get_request_pad_template):
9597 Make gst_element_get_request_pad() create request pads only for
9598 request pad templates and not for, say, sometimes pad templates.
9600 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9602 * docs/design/draft-klass.txt:
9603 Add example that needs more thinking.
9605 * docs/design/draft-missing-plugins.txt:
9606 More thoughts about wrapper plugins.
9608 * docs/random/ensonic/embedded.txt:
9609 * docs/random/ensonic/profiling.txt:
9612 2007-03-25 Wim Taymans <wim@fluendo.com>
9614 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9615 (gst_base_src_loop):
9616 Only push the segment events in the PLAYING state for live sources.
9618 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9620 * gst/gstpipeline.c: (gst_pipeline_change_state):
9621 Modify the clock distribution path in PAUSED->PLAYING so that we
9622 never attempt to choose a new clock unless we're actually leaving
9623 the PAUSED state for the first time. This prevents choosing a
9624 different clock when the state_change gets called for a 2nd time due
9625 to some element doing an async state change.
9627 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9629 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9630 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9631 (gst_pad_chain_unchecked), (gst_pad_push):
9632 Revert last commit. This needs some more thoughts.
9634 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9636 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9637 (gst_pad_chain_unchecked), (gst_pad_push):
9638 Check in set_caps if the caps are compatible with the pad and remove
9639 two functions that are redundant now. Fixes #421543.
9641 2007-03-22 Wim Taymans <wim@fluendo.com>
9643 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9644 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9645 Unref some more to make valgrind happy.
9647 2007-03-22 Wim Taymans <wim@fluendo.com>
9649 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9650 (gst_system_clock_id_wait_jitter),
9651 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9652 Fix anoying regression that survived a few releases. When adding an
9653 async entry while blocking on a sync entry, the sync entry will unblock
9654 but still be busy, so it should continue to wait instead of returning
9656 Add some comments here and there.
9658 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9659 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9660 Add testcase for this.
9662 2007-03-22 Wim Taymans <wim@fluendo.com>
9664 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9665 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9666 WRONG_STATE and can silently pause the task. All other cases should
9669 2007-03-22 Wim Taymans <wim@fluendo.com>
9671 Patch by: Ville Syrjala <syrjala at sci dot fi>
9673 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9674 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9677 2007-03-21 Michael Smith <msmith@fluendo.com>
9679 * docs/pwg/advanced-types.xml:
9680 Fix some errors in the typefinding docs pointed out on irc.
9682 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9684 * libs/gst/base/gstbasesrc.c:
9685 Clarify FIXME comment in the face of having added unlock_stop()
9687 2007-03-21 Wim Taymans <wim@fluendo.com>
9689 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9690 Prepare for release where we warn against possible app breakage in the
9691 case of live pipelines along with an env var to enable/disable live
9692 preroll mode (GST_COMPAT=[no-]live-preroll).
9694 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9696 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9697 So we should use correct constants for checking for None offset.
9699 2007-03-20 Wim Taymans <wim@fluendo.com>
9701 * docs/design/part-block.txt:
9702 Mention the fact that the newly switched element should be set to at
9705 2007-03-20 Wim Taymans <wim@fluendo.com>
9708 Fix compilation with registry disabled as spotted by Saur.
9710 2007-03-20 Wim Taymans <wim@fluendo.com>
9712 Patch by: Olivier Crete <tester at tester dot ca>
9714 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9715 Look at the pending state too when syncing the element state to the
9716 parent. Fixes #420133.
9718 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9720 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9721 (gst_base_sink_change_state):
9722 * libs/gst/base/gstbasesink.h:
9723 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9724 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9725 (gst_base_src_deactivate):
9726 * libs/gst/base/gstbasesrc.h:
9727 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9728 for sub-classes to correctly clear any state they set trying to
9729 unlock, such as clearing out unlock commands from a command fd.
9730 API: basesrc::unlock_stop
9731 API: basesink::unlock_stop
9733 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9734 (gst_fd_sink_render), (gst_fd_sink_unlock),
9735 (gst_fd_sink_unlock_stop):
9736 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9737 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9738 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9740 Implement unlock_stop in fdsrc and fdsink.
9741 Implement seeking in fdsrc when a seekable fd is passed, as in
9742 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9744 2007-03-19 Wim Taymans <wim@fluendo.com>
9746 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9748 * gst/gstelement.c: (gst_element_class_init):
9749 Fix pad-added and pad-removed signal signatures so that the pad type is
9750 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9752 2007-03-19 Wim Taymans <wim@fluendo.com>
9754 * docs/gst/gstreamer-sections.txt:
9755 Add new element field and method.
9757 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9758 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9759 (gst_bin_recalc_state), (gst_bin_get_state_func),
9760 (gst_bin_element_set_state), (gst_bin_change_state_func),
9761 (gst_bin_continue_func), (bin_bus_handler),
9762 (bin_push_state_continue), (bin_handle_async_start),
9763 (bin_handle_async_done), (gst_bin_handle_message_func):
9764 Make async state changes a bit smarter by using new ASYNC_START and
9765 ASYNC_DONE messages. This reduces the number of times we run the state
9766 recalculation thread.
9767 Don't change state of element with a pending ASYNC_START message.
9768 Deprecate STATE_DIRTY messages.
9770 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9771 (gst_element_get_state_func), (gst_element_continue_state),
9772 (gst_element_lost_state), (gst_element_set_state_func),
9773 (gst_element_change_state):
9775 Keep the state that was last set by the app in a new element field.
9776 Don't allow state changes when handling an element event.
9777 Post ASYNC_START and ASYNC_DONE messages.
9778 Change lost_state so that we go to PAUSED and wait for the parent to set
9779 us to PLAYING again (so latency calculation can be performed)
9780 Export gst_element_change_state() method so that subclasses can use it.
9781 API: gst_element_change_state()
9782 API: GST_STATE_TARGET
9784 * gst/gstpipeline.c: (gst_pipeline_class_init),
9785 (reset_stream_time), (gst_pipeline_change_state),
9786 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9787 Using the new ASYNC_START message we can reset the base_time when
9788 needed. This can then be used to implement base_time redistribution in
9789 flushing seeks so that we can remove the explicit seek handling.
9790 Perform latency query and configuration when going to PLAYING.
9792 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9793 (gst_base_sink_query), (gst_base_sink_change_state):
9794 Post new ASYNC_START/ASYNC_DONE messages.
9796 * tests/check/generic/sinks.c: (GST_START_TEST):
9797 Fix test because the bin will not set the async element to PLAYING right
9800 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9801 Make the message check a little stronger.
9802 Handle ASYNC messages.
9804 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9805 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9806 Expect ASYNC_DONE messages.
9808 2007-03-19 Wim Taymans <wim@fluendo.com>
9810 * docs/gst/gstreamer-sections.txt:
9811 * gst/gstmessage.c: (gst_message_new_async_start),
9812 (gst_message_new_async_done), (gst_message_parse_info),
9813 (gst_message_parse_async_start):
9815 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9818 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9820 * tools/gst-inspect.c:
9821 (print_plugin_automatic_install_info_codecs):
9822 Now that we don't check for the 'Codec' keyword any longer in the
9823 klass, we shouldn't spew a warning if the klass isn't a decoder or
9824 encoder (since it might be a Source/Network, for example).
9826 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9828 * tools/gst-inspect.c:
9829 (print_plugin_automatic_install_info_codecs):
9830 Don't require decoder/demuxer/depayloader elements or
9831 encoder/muxer/paylader elements to have 'Codec' as part of their
9832 factory class string when introspecting a plugin's capabilities.
9833 draft-klass.txt mentions that it might be removed in future, and
9834 flump3dec doesn't have it as part of its class string, so chances
9835 are others might also not have it.
9837 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9859 Update translations from translation project
9861 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9863 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9864 (gst_child_proxy_set_property):
9865 Invert precondition check to be alike the ones in the mimiced gobject
9868 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9870 * docs/design/draft-tagreading.txt:
9871 * docs/random/ensonic/audiobaseclasses.txt:
9872 Do some Architect work.
9874 * gst/gstobject.c: (gst_object_set_name):
9878 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9880 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9882 * gst/gstsystemclock.c: (gst_system_clock_init),
9883 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9884 Defer starting the async system clock thread until the first async
9885 wait is scheduled. Fixes #414986.
9887 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9889 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9890 (gst_single_queue_free):
9891 Fix small leak (free GstSingleQueue structure too, not only contents).
9893 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9895 * gst/gstbin.c:(gst_bin_add):
9896 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9897 * win32/common/libgstbase.def:
9898 * win32/common/libgstreamer.def:
9899 Add new exported functions.
9901 2007-03-09 Wim Taymans <wim@fluendo.com>
9903 * docs/plugins/gstreamer-plugins-sections.txt:
9906 2007-03-09 Wim Taymans <wim@fluendo.com>
9908 * docs/gst/gstreamer-sections.txt:
9909 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9911 Add metadata copy functions. Fixes #393099.
9912 API: gst_buffer_copy_metadata()
9914 * gst/gstutils.c: (gst_buffer_stamp):
9915 * libs/gst/base/gstbasetransform.c:
9916 (gst_base_transform_prepare_output_buffer):
9917 Use new metadata copy functions.
9919 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9921 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9922 (gst_identity_init), (gst_identity_check_perfect),
9923 (gst_identity_check_imperfect_timestamp),
9924 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9925 (gst_identity_set_property), (gst_identity_get_property):
9926 * plugins/elements/gstidentity.h:
9927 Separate out check-imperfect-timestamp and check-imperfect-offset.
9928 Put back check-perfect as it was to keep compatibility.
9930 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9932 * gst/gstelement.c: (gst_element_dispose):
9933 There's no need to warn if VOID_PENDING is not NONE here, as
9934 long as the state is NULL it's ok, and that's checked immediately
9937 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9939 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9940 Fix check for perfect stream to ignore buffers with -1
9941 offsets/offset ends when checking data contiguity.
9943 2007-03-08 Wim Taymans <wim@fluendo.com>
9945 * tools/gst-launch.c: (event_loop):
9946 Print INFO messages.
9948 2007-03-08 Wim Taymans <wim@fluendo.com>
9950 * libs/gst/base/gstbasetransform.c:
9951 (gst_base_transform_sink_eventfunc),
9952 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9953 (gst_base_transform_activate):
9954 * libs/gst/base/gstbasetransform.h:
9955 Add support for dropping buffers with custom GstFlowReturn.
9956 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9957 buffers or dropped buffers.
9959 * docs/libs/gstreamer-libs-sections.txt:
9960 docs for new custom return code.
9962 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9963 Use drop support in base class to implement drop-probability.
9965 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9967 * gst/gst.c: (load_plugin_func):
9968 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9969 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9970 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9971 Remove newlines at end of debug log strings.
9973 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9975 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9976 Only post bus message at max, once per buffer received.
9978 2007-03-07 Wim Taymans <wim@fluendo.com>
9980 * docs/design/Makefile.am:
9981 * docs/design/part-synchronisation.txt:
9982 Add doc about synchronisation
9984 * docs/design/draft-latency.txt:
9985 * docs/design/part-TODO.txt:
9986 * docs/design/part-clocks.txt:
9987 * docs/design/part-events.txt:
9988 * docs/design/part-gstbus.txt:
9989 * docs/design/part-gstpipeline.txt:
9990 * docs/design/part-live-source.txt:
9991 * docs/design/part-messages.txt:
9992 * docs/design/part-overview.txt:
9993 * docs/design/part-streams.txt:
9994 * docs/design/part-trickmodes.txt:
9995 Documentation updates.
9997 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10000 Update the doap file.
10002 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10004 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10005 Rename non-perfect to imperfect for Mike and for the sanctity of the
10007 Also make sure bus message gets emitted for data-incontiguities.
10009 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10011 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10012 (gst_identity_start):
10013 * plugins/elements/gstidentity.h:
10014 Emit bus message if check-perfect is true and we encounter a
10015 non-perfect stream between 2 consecutive buffers.
10018 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10023 === release 0.10.12 ===
10025 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10028 releasing 0.10.12, "Inevitable Demise"
10030 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10033 Version 0.10.11.2 (0.10.12 pre-release)
10034 Bump libtool versioning.
10036 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10038 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10039 Log flow-names and not numbers.
10041 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10044 Convert to new AG_GST style.
10046 2007-02-28 Wim Taymans <wim@fluendo.com>
10048 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10049 Don't unref query twice.
10051 2007-02-28 Wim Taymans <wim@fluendo.com>
10053 * gst/gstvalue.c: (gst_value_transform_object_string),
10054 (_gst_value_initialize):
10055 Implement GstObject -> string transform so we print object names
10056 when serializing GValues containing GstObjects.
10058 2007-02-28 Wim Taymans <wim@fluendo.com>
10060 * docs/gst/gstreamer-sections.txt:
10061 Add new stuff to docs.
10063 2007-02-28 Wim Taymans <wim@fluendo.com>
10065 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10066 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10067 (gst_base_sink_change_state):
10068 Improve latency query code.
10069 Don't leak latency events.
10071 * tests/check/gst/gstbin.c: (GST_START_TEST):
10074 2007-02-28 Wim Taymans <wim@fluendo.com>
10076 * gst/gstelement.c: (gst_element_message_full),
10077 (gst_element_get_state_func):
10078 * gst/gstelement.h:
10079 Improve docs a little. Added Since: for new macro.
10081 * gst/gstobject.c: (gst_object_sink):
10082 * gst/gstpipeline.c: (gst_pipeline_change_state),
10083 (gst_pipeline_set_new_stream_time):
10084 * gst/gstpipeline.h:
10085 Improve debugging and docs.
10087 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10090 2007-02-28 Wim Taymans <wim@fluendo.com>
10092 * gst/gstelement.c: (gst_element_message_full),
10093 (gst_element_set_locked_state), (gst_element_get_state_func),
10094 (gst_element_change_state):
10095 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10096 Documentation updates.
10097 Small code cleanups.
10099 * gst/gstmessage.c: (gst_message_new_info),
10100 (gst_message_parse_info):
10101 * gst/gstmessage.h:
10102 API: gst_message_new_info()
10103 API: gst_message_parse_info()
10104 Add INFO message create and parse code.
10106 2007-02-28 Wim Taymans <wim@fluendo.com>
10108 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10109 (bin_query_latency_done):
10110 Also report the live parameter of a latency query.
10112 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10114 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10115 Copy the current generic/states example from -base and adapt so
10116 we can use the exact same code everywhere.
10117 Check a STATES_IGNORE_ELEMENTS env var which can be used
10118 to ignore certain element factories for this test, which is
10119 what is being done in -base
10120 * tests/check/Makefile.am:
10121 Mention this environment variable.
10123 2007-02-27 Wim Taymans <wim@fluendo.com>
10125 * docs/gst/gstreamer-sections.txt:
10126 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10127 (gst_bus_timed_pop), (gst_bus_pop):
10129 API: gst_bus_timed_pop()
10130 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10131 message to arrive on the bus.
10133 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10135 Two unit tests for new _timed_pop() function.
10137 2007-02-23 Wim Taymans <wim@fluendo.com>
10139 * gst/gstpipeline.c: (gst_pipeline_change_state),
10140 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10141 Don't ref a NULL clock in _provide_clock_func().
10142 Don't allow an INVALID delay.
10143 Don't try to calculate base_time with an invalid start_time.
10144 Also distribute and notify a NULL clock when it was selected.
10146 * tools/gst-launch.c: (event_loop):
10147 Don't crash when a NULL clock was selected in the pipeline.
10149 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10151 * docs/design/Makefile.am:
10152 * docs/design/draft-missing-plugins.txt:
10153 * docs/random/draft-missing-plugins.txt:
10154 Some small updates: update plugin system identifier prefix
10155 ('gstreamer.net' to 'gstreamer'), mention our new install
10156 API in libgstbaseutils rather than libgimme-codec, add
10157 reference to the online docs.
10159 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10161 * win32/common/config.h:
10162 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10163 use moap cl ci to only check in what is mentioned in the ChangeLog.
10165 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10167 * docs/gst/gstreamer-sections.txt:
10168 * gst/gstelement.h:
10169 Fix up documentation to link to the correct GstGError section.
10170 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10172 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10174 * tools/gst-launch.c: (event_loop):
10175 Make sure that we actually show the important message part of a
10177 No need to check if the gerror is not NULL to free; first of all
10178 g_free accepts NULL; and second the default error handler would
10179 segfault if gerror was NULL.
10181 2007-02-21 Wim Taymans <wim@fluendo.com>
10183 * docs/gst/gstreamer-sections.txt:
10184 Removed docs as well.
10186 2007-02-21 Wim Taymans <wim@fluendo.com>
10188 * gst/gstmessage.c: (gst_message_parse_duration):
10189 * gst/gstmessage.h:
10190 Remove new messages for release.
10192 2007-02-20 Wim Taymans <wim@fluendo.com>
10194 * docs/design/part-gstghostpad.txt:
10195 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10196 (gst_ghost_pad_new_full):
10197 Make the ghostpad a parent of the internal pad again for better backward
10198 compatibility. Don't write code that relies on this however.
10200 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10201 (gst_pad_link_check_hierarchy):
10202 Require that parents should be GstElements in the hierarchy check.
10204 2007-02-20 Wim Taymans <wim@fluendo.com>
10206 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10207 (gst_bin_change_state_func), (bin_query_min_max_init),
10208 (bin_query_latency_fold), (bin_query_latency_done),
10210 Improve debug info.
10211 Implement latency query.
10213 2007-02-20 Wim Taymans <wim@fluendo.com>
10215 * docs/design/part-gstghostpad.txt:
10216 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10217 (gst_ghost_pad_internal_do_activate_push),
10218 (gst_ghost_pad_internal_do_activate_pull),
10219 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10220 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10221 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10222 Do not set the internal pad as a parent anymore so we can avoid
10223 hierarchy linking errors when the ghostpad has no parent yet. This also
10224 fixes failed activation because of unlinked internal pads, which in
10225 turn fixes the impossible case where you have to activate a pad before
10226 you can add it to a running element.
10229 * gst/gstpad.c: (pre_activate), (post_activate),
10230 (gst_pad_set_active), (gst_pad_activate_pull),
10231 (gst_pad_activate_push), (gst_pad_check_pull_range):
10232 Add some more debug info.
10233 Mark activation mode in pre_activate so that we don't try to activate in
10234 endless loops. Fixes #385084.
10236 2007-02-19 Wim Taymans <wim@fluendo.com>
10238 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10239 (gst_base_transform_check_get_range):
10240 Implement a checkgetrange function instead of relying on the default
10241 core behaviour that assumes we can operate in pull mode if we have a
10242 getrange function. First step at fixing #385084.
10244 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10246 * gst/gstchildproxy.h:
10247 * libs/gst/base/gstbasesink.h:
10248 * libs/gst/base/gstbasesrc.h:
10249 * libs/gst/base/gstbasetransform.h:
10250 More docs coverage and some ChangeLog surgery (add missing names)
10252 2007-02-15 Wim Taymans <wim@fluendo.com>
10254 * docs/design/part-TODO.txt:
10255 * docs/design/part-activation.txt:
10256 * docs/design/part-block.txt:
10257 * docs/design/part-buffering.txt:
10258 * docs/design/part-clocks.txt:
10259 * docs/design/part-element-source.txt:
10260 * docs/design/part-events.txt:
10261 * docs/design/part-gstbin.txt:
10262 * docs/design/part-gstbus.txt:
10263 * docs/design/part-gstpipeline.txt:
10264 * docs/design/part-live-source.txt:
10265 * docs/design/part-messages.txt:
10266 * docs/design/part-overview.txt:
10267 * docs/design/part-qos.txt:
10268 * docs/design/part-query.txt:
10269 * docs/design/part-states.txt:
10270 * docs/design/part-trickmodes.txt:
10271 Some doc updates. Start renaming from stream_time to running_time where
10272 it was used wrongly.
10274 2007-02-15 Wim Taymans <wim@fluendo.com>
10276 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10277 Answer LATENCY query.
10279 2007-02-15 Wim Taymans <wim@fluendo.com>
10281 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10285 2007-02-15 Wim Taymans <wim@fluendo.com>
10287 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10288 (gst_pad_dispatcher):
10289 Improve debugging of default pad dispatcher and query functions.
10291 2007-02-15 Wim Taymans <wim@fluendo.com>
10293 * docs/gst/gstreamer-sections.txt:
10294 Remove old unused method.
10296 2007-02-13 Wim Taymans <wim@fluendo.com>
10298 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10301 2007-02-13 Wim Taymans <wim@fluendo.com>
10303 * docs/design/part-seeking.txt:
10306 * gst/gstsegment.c: (gst_segment_set_seek):
10307 Revert old bogus change that should make seeking work again.
10309 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10311 * docs/random/ensonic/dynlink.txt:
10312 * docs/random/ensonic/interfaces.txt:
10313 * docs/random/ensonic/receipies.txt:
10314 Possible dynamic reconnection api, plus some type fixes the other two
10317 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10319 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10320 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10321 Also check for an absolute path following file:// in the filesrc
10322 element. Remove redundant check and call g_path_is_absolute() on the
10323 unescaped location.
10325 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10327 * docs/design/draft-klass.txt:
10328 Add existing category analysis.
10331 Fix doc example, framerate is a fraction.
10333 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10336 * docs/gst/Makefile.am:
10337 * docs/gst/gstreamer-sections.txt:
10338 * docs/libs/Makefile.am:
10339 Erm, forgot a bunch of --extra-dir.
10341 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10344 * docs/gst/Makefile.am:
10345 * docs/libs/Makefile.am:
10346 * docs/plugins/Makefile.am:
10347 Add crossreferences to glib/gobject docs.
10349 2007-02-12 Wim Taymans <wim@fluendo.com>
10351 * docs/design/draft-latency.txt:
10354 * docs/libs/gstreamer-libs-sections.txt:
10355 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10356 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10357 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10358 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10359 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10360 (gst_base_sink_get_position), (gst_base_sink_query),
10361 (gst_base_sink_change_state):
10362 * libs/gst/base/gstbasesink.h:
10363 API: gst_base_sink_query_latency() to let subclasses query the upstream
10365 API: gst_base_sink_get_latency() to let subclasses query the configured
10366 latency in the sink.
10367 Implement query and set latency.
10369 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10370 don't continue preroll when we are flushing. Fixes #405284.
10372 * tests/check/pipelines/stress.c: (change_state_timeout),
10373 (quit_timeout), (GST_START_TEST), (stress_suite):
10376 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10378 Patch by: René Stadler <mail at renestadler de>
10380 * docs/gst/gstreamer-sections.txt:
10381 * gst/gsttaglist.c: (_gst_tag_initialize):
10382 * gst/gsttaglist.h:
10383 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10385 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10387 * docs/libs/Makefile.am:
10388 Fix path to core docs.
10390 * gst/gstbin.c: (gst_bin_get_by_interface),
10391 (gst_bin_iterate_all_by_interface):
10392 Refix docs by also renaming 'interface' to 'iface' in implementation.
10394 * docs/gst/gstreamer-sections.txt:
10396 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10397 * gst/gstchildproxy.h:
10398 * gst/gstelementfactory.c:
10399 * gst/gstpadtemplate.h:
10400 * libs/gst/controller/gstcontroller.c:
10401 (gst_controlled_property_new):
10404 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10406 * gst/gstbin.h:(gst_bin_get_by_interface),
10407 (gst_bin_iterate_all_by_interface):
10408 Replace interface parameter name by iface as interface is
10409 a reserved keyword in Visual Studio for C++ projects so it removes
10410 a build error for application developpers using VS.
10411 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10412 Fix a bug on Windows in uri format check. Now the prefix checked
10413 is file:// and next we check if the path after file:// is absolute.
10414 * win32/common/libgstbase.def:
10415 * win32/common/libgstdataprotocol.def:
10416 * win32/common/libgstgstreamer.def:
10417 Add new exported functions.
10419 2007-02-09 Andy Wingo <wingo@pobox.com>
10421 * tests/check/pipelines/simple-launch-lines.c
10422 (simple_launch_lines_suite, test_tee): Disable tee test until I
10423 have time to fix it :-(
10425 * tests/check/Makefile.am (noinst_HEADERS):
10426 * tests/check/libs/libsabi.c:
10427 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10428 * tests/check/gst/gstabi.c:
10429 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10431 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10432 tests for push and pull tee behavior.
10434 * plugins/elements/gsttee.h:
10435 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10436 mark as deprecated as well as unimplemented. It was a crack idea.
10437 Add support for tee operating in pull mode, off by default.
10439 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10440 normal-case logs down to LOG, raise errors to WARNING.
10441 (gst_registry_xml_read_cache): Don't log before calling a function
10444 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10445 exit (registry finalize).
10446 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10447 DEBUG log when we emit signals that people don't even have the
10448 chance to connect to.
10449 (gst_registry_scan_path_level): Less logging in the normal case.
10451 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10453 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10455 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10456 Correctly generate EOS for non-seekable files. We don't have a total
10457 length for them and would get an unexpected end of file if we only
10458 special-cased for regular files. (Fixes: #404569)
10460 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10462 * tests/check/elements/filesrc.c: (GST_START_TEST),
10464 Add unit test for the GstURIHandler interface in filesrc. This also
10465 tests the newly added file://localhost/foo/bar support.
10467 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10469 * gst/gstelementfactory.h:
10470 The klass string is not a hierarchy. Add reference to the design doc
10471 for more information and common types.
10473 2007-02-02 Wim Taymans <wim@fluendo.com>
10475 * gst/gstquery.c: (gst_query_new_latency):
10476 Remove old structure field.
10478 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10480 * tools/gst-launch.1.in:
10481 Give example for network streaming (#351998)
10483 2007-02-02 Wim Taymans <wim@fluendo.com>
10485 * docs/gst/gstreamer-sections.txt:
10486 Add docs for new methods.
10488 * gst/gstevent.c: (gst_event_new_latency),
10489 (gst_event_parse_latency):
10491 Add new LATENCY event to configure latency in a pipeline.
10492 API: gst_event_new_latency
10493 API: gst_event_parse_latency
10495 * gst/gstmessage.c: (gst_message_new_buffering),
10496 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10497 (gst_message_new_latency), (gst_message_parse_buffering),
10498 (gst_message_parse_lost_preroll):
10499 * gst/gstmessage.h:
10500 Added messages used in draft-latency.
10501 API: gst_message_new_lost_preroll
10502 API: gst_message_parse_lost_preroll
10503 API: gst_message_new_prerolled
10504 API: gst_message_new_latency
10506 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10507 (gst_query_parse_latency):
10509 Implemented new latency query as in design doc.
10510 API: gst_query_new_latency
10511 API: gst_query_set_latency
10512 API: gst_query_parse_latency
10514 2007-02-02 Wim Taymans <wim@fluendo.com>
10516 * docs/design/draft-latency.txt:
10517 Slight redesign to allow for dynamic latency adjustments.
10519 * docs/design/part-negotiation.txt:
10522 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10524 reviewed by: Wim Taymans <wim@fluendo.com>
10526 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10527 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10528 Allow file://localhost/foo/bar URLs and correctly fail for every other
10529 hostname that one sets. This was gnomevfssrc is linked for those if
10530 installed as it can handle it (#403172)
10532 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10534 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10536 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10537 (unref_data), (gst_collect_pads_add_pad_full):
10538 * libs/gst/base/gstcollectpads.h:
10539 Don't put the previously added destroy notify in the GstCollectData
10540 struct as all it's padding is already used and we don't want to break
10541 ABI. Instead put in the pad's GObject data for now. This should be
10542 cleaned up for 0.11 (#402393).
10544 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10546 reviewed by: Wim Taymans <wim@fluendo.com>
10548 * docs/libs/gstreamer-libs-sections.txt:
10549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10550 (unref_data), (gst_collect_pads_add_pad),
10551 (gst_collect_pads_add_pad_full):
10552 * libs/gst/base/gstcollectpads.h:
10553 API: Add function to specify a destroy notification for custom
10554 GstCollectData when adding new pads in GstCollectPads (#402393).
10556 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10559 Update Swedish translation (#378255).
10561 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10563 * docs/design/draft-klass.txt:
10564 Fix the previous change, this is a list of categories and not a hierarchy.
10566 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10568 * docs/design/draft-klass.txt:
10569 Add info about how to get a list of used classes.
10571 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10573 * plugins/elements/gsttypefindelement.c:
10574 (gst_type_find_element_chain_do_typefinding),
10575 (gst_type_find_element_change_state):
10576 Don't leak found caps in chain function (no idea why that never
10577 showed up as a leak anywhere).
10579 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10582 Fix and expand GstPluginDesc API docs.
10584 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10587 * gst/gstelementfactory.c:
10588 * gst/gstpadtemplate.h:
10591 * libs/gst/controller/gstcontroller.c:
10592 (gst_controlled_property_new):
10593 * tests/examples/controller/audio-example.c:
10596 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10599 comment about refining the xml deps
10601 * docs/manuals.mak:
10602 comments about moving away from jade for docs
10605 recommit the ifdefs to use the binary registry
10607 * gst/gstbin.c: (gst_bin_change_state_func):
10608 this break is obsolete
10610 * gst/gstelementfactory.h:
10611 better GST_ELEMENT_DETAILS docs, add comment about translation
10616 * gst/gstobject.c: (gst_signal_object_get_type):
10617 add G_UNLIKELY as usual
10619 * gst/gstpad.c: (gst_pad_event_default):
10620 add fall trhu comment
10622 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10623 (gst_registry_binary_initialize_magic),
10624 (gst_registry_binary_save_string),
10625 (gst_registry_binary_save_pad_template),
10626 (gst_registry_binary_save_feature),
10627 (gst_registry_binary_save_plugin),
10628 (gst_registry_binary_write_cache),
10629 (gst_registry_binary_check_magic),
10630 (gst_registry_binary_load_pad_template),
10631 (gst_registry_binary_load_feature),
10632 (gst_registry_binary_load_plugin),
10633 (gst_registry_binary_read_cache):
10634 comment typo and formatting
10636 * gst/gstutils.c: (gst_element_state_get_name),
10637 (gst_element_state_change_return_get_name):
10638 remove obsolete breaks
10640 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10641 add FIXME 0.11 and remove cpp comment
10643 2007-01-29 Edward Hervey <edward@fluendo.com>
10645 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10646 Fix print statement in an even more portable way.
10648 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10650 * docs/gst/gstreamer-sections.txt:
10652 API: add GST_ROUND_DOWN_* macros (#401781).
10654 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10656 * docs/gst/gstreamer.types.in:
10657 * gst/gstregistry.c: (gst_registry_class_init):
10658 Document registry signals and make gtk-doc pick them up (#401381).
10660 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10662 * docs/pwg/building-testapp.xml:
10663 Add some audioconverts and audioresample to the pipeline, and some
10664 more comments and error handling.
10666 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10668 * docs/manual/manual.xml:
10669 * docs/pwg/pwg.xml:
10670 Fix typo (#400987).
10672 2007-01-26 Wim Taymans <wim@fluendo.com>
10674 * gst/gstcaps.c: (gst_static_caps_get):
10675 Init caps flags too.
10677 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10679 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10681 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10682 If not using mmap'ed files try to seek to the end instead of the
10683 start to determine whether we can seek at all. This fixes the case
10684 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10685 seeks for everything afterwards fail. Fixes #400656
10687 2007-01-25 Wim Taymans <wim@fluendo.com>
10689 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10690 Add some refcount debugging.
10691 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10692 in multiple streaming threads.
10694 2007-01-25 Wim Taymans <wim@fluendo.com>
10696 Patch by: David Schleef <ds at schleef dot org>
10698 * docs/libs/gstreamer-libs-sections.txt:
10699 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10700 * libs/gst/base/gstadapter.h:
10701 API: gst_adapter_copy() that can reduce the amount of memcpy when
10702 getting data from the adapter. Fixes #388201.
10704 2007-01-25 Edward Hervey <edward@fluendo.com>
10706 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10707 In print statements, "%x" is for guint. Fixes build on macosx.
10709 2007-01-24 Edward Hervey <edward@fluendo.com>
10711 * plugins/elements/gstmultiqueue.c:
10712 (gst_multi_queue_loop):
10714 (single_queue_overrun_cb), (single_queue_underrun_cb),
10715 (single_queue_check_full), (gst_single_queue_new):
10716 Implement single queue growth system.
10717 This uses the extra-size properties, and will grow single queues by
10718 that much if one goes full whereas there are others empty. This is
10719 called extra-mode in the code.
10720 When a single queue's levels go back below the initial max-size
10721 limits, it is no longer in extra-mode. This is to ensure we don't
10722 consume too much memory.
10725 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10727 * gst/gst.c: (gst_init_get_option_group):
10728 Make warning about late g_thread_init() calls a bit more explicit,
10729 so that it's more obvious to application developers what they need
10730 to do if a user files a bug against their application.
10732 2007-01-22 Edward Hervey <edward@fluendo.com>
10734 * plugins/elements/gstmultiqueue.c:
10735 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10736 Remove previous hack of unsetting the flushing flag for the source pad
10737 instead of activating it. Instead, fix the source pad activate function
10738 so that it no longer depends on having a parent set or not.
10740 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10742 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10744 * docs/manual/basics-bus.xml:
10745 Fix example code, gst_element_unref() doesn't exist any longer.
10747 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10749 Patch by: Mark Nauwelaerts <manauw at skynet be>
10752 Fix two docs typoes (#399094).
10754 2007-01-19 Edward Hervey <edward@fluendo.com>
10756 * docs/faq/gst-uninstalled:
10757 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10758 depending on libgstbaseutils can work in uninstalled environment.
10760 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10762 * gst/gsttaglist.h:
10763 * gst/gsttagsetter.c:
10764 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10765 statement for new tag.
10767 2007-01-17 Edward Hervey <edward@fluendo.com>
10769 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10770 When dynamically creating single queues, activate sinkpad before adding
10772 We should be doing the same thing for the source pad, but we can't
10773 since it would call a method which needs the parent to be set in order
10774 to work propertly. Instead of activating the source pad, we just unset
10775 the flushing flag, which is the minimal requirement for adding a pad
10776 to an element in a state greater than READY.
10778 2007-01-17 Edward Hervey <edward@fluendo.com>
10780 * docs/faq/gst-uninstalled:
10781 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10784 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10786 * tests/check/gst/gstabi.c:
10787 * tests/check/gst/struct_hppa.h:
10788 * tests/check/libs/libsabi.c:
10789 * tests/check/libs/struct_hppa.h:
10790 Add ABI structs for HPPA (see #393796).
10792 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10794 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10795 Actually write ABI structs to the file specified in the GST_ABI
10796 environment variable, as the message we print claims we would.
10798 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10800 * tests/check/gst/gsttask.c:
10801 Fix header comment.
10803 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10805 * gst/gsttaglist.c: (_gst_tag_initialize):
10806 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10807 previous two entries.
10809 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10811 * docs/gst/gstreamer-sections.txt:
10812 * gst/gsttaglist.c: (_gst_tag_initialize):
10813 * gst/gsttaglist.h:
10814 Add tag support for beat-per-minute.
10816 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10818 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10819 (gst_registry_binary_initialize_magic),
10820 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10821 (gst_registry_binary_save_pad_template),
10822 (gst_registry_binary_save_feature),
10823 (gst_registry_binary_save_plugin),
10824 (gst_registry_binary_write_cache),
10825 (gst_registry_binary_check_magic),
10826 (gst_registry_binary_load_pad_template),
10827 (gst_registry_binary_load_feature),
10828 (gst_registry_binary_load_plugin),
10829 (gst_registry_binary_read_cache):
10830 * gst/gstregistrybinary.h:
10831 Use glib types, cleanup comments, impement interfaces and uri-types.
10833 2007-01-13 Andy Wingo <wingo@pobox.com>
10835 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10836 getrange() to return buffers with other caps, while we fix
10837 demuxers and typefind, or otherwise change part-negotiation.txt.
10839 2007-01-12 Andy Wingo <wingo@pobox.com>
10841 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10842 Factor start/stop into this private function instead of partially
10843 in activate functions and partially in the change_state function.
10844 Fixes setup before the element has changed from READY->PAUSED, as
10845 is the case in pull-mode pipelines.
10846 (gst_base_transform_sink_activate_push)
10847 (gst_base_transform_src_activate_pull): Refactor to use
10848 gst_base_transform_activate().
10849 (gst_base_transform_change_state): Removed, not needed any more.
10851 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10852 Truncate before fixating.
10854 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10855 Don't set_caps() if the result of fixating is ANY, as it's not
10856 supported, and not necessary in the case of a link with no
10857 template caps on either side. Fixes tests/check/libs/basesrc in
10858 some pull-mode tests.
10860 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10861 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10862 (gst_base_transform_src_activate_pull):
10863 Track the activation mode.
10864 (gst_base_transform_setcaps): In pull mode, when activating the
10865 src pad, after activating the sink pad, activate the sink pad's
10866 peer, as discussed in part-negotiation.txt.
10868 * libs/gst/base/gstbasesrc.h:
10869 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10870 vmethod, as in basesink.
10872 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10874 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10875 mode, first proxy the setcaps to the peer pad.
10876 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10877 new fixate vmethod.
10878 (gst_base_sink_default_activate_pull): Rename from
10879 gst_base_sink_activate_pull.
10880 (gst_base_sink_negotiate_pull): New function, performs negotiation
10881 in pull mode before calling ::activate_pull().
10882 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10883 vmethod instead of the default implementation. I have no idea how
10884 this worked before. Negotiate before calling activate_pull.
10886 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10887 sink pads in pull mode. In addition to being correct, fixes
10888 filesrc ! decodebin ! identity ! fakesink.
10889 (gst_pad_get_range, gst_pad_pull_range): Don't call
10890 gst_pad_set_caps() if the caps changes; instead error out with
10891 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10893 2007-01-12 Andy Wingo <wingo@pobox.com>
10895 * docs/design/part-negotiation.txt: Update with more policy.
10897 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10899 * libs/gst/check/gstbufferstraw.h:
10900 * libs/gst/check/gstcheck.h:
10901 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10904 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10906 * tests/check/Makefile.am:
10907 * tests/check/gst/.cvsignore:
10908 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10909 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10910 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10911 (GST_START_TEST), (gst_tag_setter_suite):
10912 Add minimal unit test for beforementioned GstTagSetter bug.
10914 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10916 Patch by: René Stadler <mail at renestadler dot de>
10918 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10919 gst_tag_list_merge() returns a new list, so it's not the best idea
10920 to ingore its return value. Effectively meant that tags could only
10921 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10922 Also add function guard to require a non-NULL taglist as input (has
10923 always been so due to gst_tag_list_copy(), just making it explicit).
10925 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10927 * docs/random/draft-missing-plugins.txt:
10928 Some additions: mention new API that is supposed to be used at the
10929 various stages; short blob about new gst-inspect introspection
10930 option; mention potential future problem with plugins that have
10931 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10933 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10935 * tools/gst-inspect.c:
10936 (print_plugin_automatic_install_info_codecs),
10937 (print_plugin_automatic_install_info_protocols),
10938 (print_plugin_automatic_install_info), (main):
10939 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10940 introspect plugin files and get machine-parsable output that corresponds
10941 to the last bit of the missing-plugin installer string (small gotcha:
10942 doesn't take into account ranks).
10944 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10947 * docs/gst/gstreamer-sections.txt:
10949 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10950 (gst_registry_lookup_locked):
10951 * gst/gstregistry.h:
10952 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10953 (gst_registry_binary_initialize_magic),
10954 (gst_registry_binary_save_string),
10955 (gst_registry_binary_save_pad_template),
10956 (gst_registry_binary_save_feature),
10957 (gst_registry_binary_save_plugin),
10958 (gst_registry_binary_write_cache),
10959 (gst_registry_binary_check_magic),
10960 (gst_registry_binary_load_pad_template),
10961 (gst_registry_binary_load_feature),
10962 (gst_registry_binary_load_plugin),
10963 (gst_registry_binary_read_cache):
10964 * gst/gstregistrybinary.h:
10965 * gst/gstregistryxml.c: (load_feature),
10966 (gst_registry_xml_read_cache):
10967 commit binary registry (disabled by default, see #359653)
10969 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10971 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10972 Fix 'make check' too.
10974 2007-01-10 Andy Wingo <wingo@pobox.com>
10976 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10979 * docs/design/part-negotiation.txt: Update with, um, one way that
10980 pull-mode negotiation might work?
10983 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10984 that the pad must be a src pad; makes sense to call it the other
10985 way in pull mode, and the logic is symmetric anyway.
10987 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10989 * plugins/elements/gstfilesink.c:
10990 Include <stdio.h> for fseeko().
10992 2007-01-10 Wim Taymans <wim@fluendo.com>
10996 Reserve LATENCY event.
10998 2007-01-09 Wim Taymans <wim@fluendo.com>
11000 * docs/design/draft-latency.txt:
11003 2007-01-09 Wim Taymans <wim@fluendo.com>
11005 * docs/design/draft-latency.txt:
11008 * gst/gstelement.h:
11009 * gst/gststructure.c:
11013 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11015 * tests/check/.cvsignore:
11016 Ignore test-registry.xml as well.
11018 2007-01-09 Wim Taymans <wim@fluendo.com>
11020 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11021 unref data at the end when we are done with the pad.
11023 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11025 * docs/gst/gstreamer-sections.txt:
11026 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11027 (init_post), (gst_deinit), (gst_update_registry):
11029 API: add gst_update_registry() (#391296).
11031 * tests/check/Makefile.am:
11032 * tests/check/gst/gstregistry.c:
11033 * tests/check/gst/.cvsignore:
11034 Simple unit test for the above.
11036 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11038 * gst/gstregistry.c: (gst_registry_scan_path_level):
11039 Plugin extension on HP-UX is .sl, add that to the list of approved
11040 plugin extensions (see #393796).
11042 * tests/check/gst/gstpad.c: (GST_START_TEST):
11043 ulong => gulong. Fixes compilation with HP-UX compiler.
11045 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11046 Fix compilation if valgrind headers are not available.
11048 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11050 * win32/common/libgstreamer.def:
11051 Add new exported function.
11052 * win32/vs6/libgstbase.dsp:
11053 Add gstdataqueue.c to the build.
11054 * win32/vs6/libgstcoreelements.dsp:
11055 Add gstmultiqueue.c to the build.
11057 2007-01-06 Andy Wingo <wingo@pobox.com>
11059 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11060 activate_pull(), providing for a way to specialize the process of
11061 spawning a thread to pull on the sink pad. There is a default
11064 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11065 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11066 (gst_base_sink_init): Renamed pad activation functions (inserting
11067 "_pad" in their names). Refactor to use the new activate_pull
11068 vmethod, as appropriate.
11069 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11070 default activate_pull function to start a task pulling from the
11071 sink pad, as before.
11073 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11074 on the pads if necessary, as in push()/chain(). Update docs.
11075 Shouldn't affect existing pull() usage as it is currently only
11076 being used on buffers without caps.
11078 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11080 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11082 Call g_thread_init() first thing in gst_init() / gst_check_init().
11083 When initialisation is done via gst_init_get_option_group() and
11084 GOption parsing, issue a warning if the GLib thread system has not
11085 been initialised yet by the time gst_init_get_option_group() is
11086 called, as it's quite likely other GLib functions such as
11087 g_option_context_new() have been called already then, and
11088 g_thread_init() must be called before any other GLib function. The
11089 application in question must be fixed in that case, since memory
11090 corruption might happen otherwise.
11091 We issue the warning because even if the GLib folks decide to work
11092 around the problem on their end in future, this is still an issue
11093 with all GLib versions >= 2.10.0, so we should warn until we depend
11094 on a GLib version we know to be safe.
11095 Update documentation as well.
11096 Closes bug #391278.
11098 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11100 * tools/gst-inspect.c: (main):
11101 * tools/gst-launch.c: (main):
11102 * tools/gst-typefind.c: (main):
11103 * tools/gst-xmlinspect.c: (main):
11104 Call g_thread_init() really really early, before any other GLib
11105 function (see #342564 and recent discussion on gtk-devel-list).
11107 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11109 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11111 * gst/gst_private.h:
11112 * gst/gstconfig.h.in:
11114 On win32, all the __declspec stuff for symbol exporting is
11115 apparently only needed with MSVC, but doesn't work with MingW.
11116 Fixes compilation with MingW and #391909.
11118 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11120 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11121 Change some GST_ERROR_OBJECT that aren't really errors to
11122 GST_WARNING_OBJECT in order to reduce terminal spam.
11124 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11126 * tests/check/Makefile.am:
11127 disable test again, as there seem to be still race problems
11129 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11131 * tests/check/Makefile.am:
11132 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11133 (GST_START_TEST), (queue_suite):
11134 enable queue test again, add tests for the leaky behaviour
11136 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11139 * tests/examples/Makefile.am:
11140 Compile adapter test/example only if the required headers are
11141 available (fixes #391915).
11143 2007-01-01 David Schleef <ds@schleef.org>
11146 Restore the previous signal handler for SIGSEGV instead of
11147 setting to default, since we may have stolen it away from
11148 someone. (i.e., Mono)
11150 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11152 * docs/random/draft-missing-plugins.txt:
11153 Some small additions and clarifications.
11155 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11157 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11158 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11159 since that can lead to random memory corruptions and crashes
11160 (may or may not be related to #383244, #386711, and #386711).
11162 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11164 * tests/check/.cvsignore:
11165 * tests/check/Makefile.am:
11166 sync .cvsignome and CLEANFILES
11168 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11170 * tests/check/Makefile.am:
11173 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11175 * docs/design/part-states.txt:
11176 two tiny additional comments
11178 * gst/gststructure.c:
11181 * tests/check/Makefile.am:
11182 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11184 disable test for now, unless it gets fixed
11186 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11188 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11190 fix race in underrun test
11192 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11194 * tests/check/elements/.cvsignore:
11197 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11199 try to narrow test failure
11201 2006-12-21 David Schleef <ds@schleef.org>
11203 * plugins/elements/gstfakesrc.c:
11204 Use g_random_int_range(), since it produces better random
11205 numbers in a range than almost-correct floating point code.
11207 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11209 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11210 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11211 (gst_check_teardown_sink_pad):
11212 do not automatically (de)activate pads
11214 * tests/check/Makefile.am:
11215 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11216 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11217 add new, yet simple tests for queue
11219 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11220 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11221 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11223 * tests/check/elements/identity.c: (cleanup_identity):
11224 consistent pad (de)activation
11226 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11228 Patch by: Sebastian Dröge <slomo ubuntu com>
11230 * libs/gst/base/gstcollectpads.c:
11231 Fix two doc typos (#387866).
11233 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11235 * docs/manual/advanced-dparams.xml:
11236 Fix typo (g_object_control_properties() doesn't exist).
11238 2006-12-19 Edward Hervey <edward@fluendo.com>
11240 * gst/gstsegment.c: (gst_segment_set_seek):
11241 Fine tune the cases where the segment start/stop values are really
11243 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11244 Add tests for the return values of gst_segment_set_seek().
11246 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11251 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11253 Fix incorrect documentation and flesh it out a bit more.
11254 Set default values for the max properties on the GParamSpec as well,
11255 so it shows up correctly in gst-inspect.
11257 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11259 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11260 Correct docs of queue, add more detail and crosslink it more.
11262 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11264 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11265 Print additional debug info when the stream isn't perfectly
11266 timestamped; don't try to use invalid durations.
11268 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11270 * docs/design/Makefile.am:
11271 Dist new design docs.
11273 2006-12-16 Wim Taymans <wim@fluendo.com>
11275 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11277 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11278 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11279 (gst_collect_pads_stop), (gst_collect_pads_event),
11280 (gst_collect_pads_chain):
11281 * libs/gst/base/gstcollectpads.h:
11282 Add refcounting to the collectpads data so we can track when it's safe
11283 to free the data. Fixes #383382.
11285 2006-12-15 Wim Taymans <wim@fluendo.com>
11287 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11288 (gst_collect_pads_remove_pad):
11289 Automatically activate/deactivate pads when they are added to a
11290 started/stoped collectpads.
11292 2006-12-15 Wim Taymans <wim@fluendo.com>
11294 * gst/gstelement.c: (gst_element_add_pad):
11295 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11296 * gst/gstpad.c: (gst_pad_init):
11297 Set pads to FLUSHING when they are created. Check, warn and fix when a
11298 demuxer adds an inactive pad to itself when running. Fixes #339326.
11300 2006-12-15 Wim Taymans <wim@fluendo.com>
11302 * gst/gstelement.c: (gst_element_class_init),
11303 (gst_element_default_send_event), (gst_element_send_event),
11304 (gst_element_default_query), (gst_element_query):
11305 Expose default element send_event and query handling as vmethods that
11306 subclasses can chain up to.
11308 2006-12-15 Wim Taymans <wim@fluendo.com>
11310 * gst/gstelement.c: (gst_element_set_state_func):
11311 Small documentation fixes.
11313 2006-12-15 Wim Taymans <wim@fluendo.com>
11315 * docs/design/draft-latency.txt:
11316 Checked in draft for handling latency in pipelines.
11318 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11322 * gstreamer.spec.in:
11325 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11327 * gst/gst.c: (init_pre), (init_post):
11328 init_pre() and init_post() might be called via our GOptionGroup or
11329 from gst_init(), and we should skip both of them if we've already
11330 been initialised, otherwise we will init some things twice or add
11331 two default log functions.
11333 2006-12-13 Edward Hervey <edward@fluendo.com>
11335 * docs/manual/basics-bus.xml:
11336 No, gst_main_loop does not exist. Its g_main_loop.
11337 Discovered by somebody who abused the copy-paste technique of coding :)
11339 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11341 * gst/gstghostpad.c:
11342 Log ghostpad debug stuff to the GST_PADS category as well rather
11343 than just to the default category.
11345 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11348 * gst/gst.c: (init_pre):
11349 Add some basic system details such as OS and architecture
11350 to the debug output if possible, courtesy of uname().
11352 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11354 * docs/gst/running.xml:
11355 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11356 environment variables.
11358 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11360 * tests/check/gst/gstbin.c: (GST_START_TEST):
11361 It is acceptable to have a refcount of 2 or 3 at this point in the
11362 test, because the pipeline might be just posting its state_change
11363 message. The next line then waits for that message to appear using
11364 bus_poll, so that should be fine too.
11366 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11368 * gst/gst.c: (ensure_current_registry_forking):
11369 Ignore EINTR when reading from the child registry pipe.
11370 Explicitly ignore the return value from close, since it makes no
11373 * gst/gstminiobject.c: (gst_mini_object_ref),
11374 (gst_mini_object_unref):
11375 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11377 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11378 When removing cached plugins, remove their features too, so they're
11379 not visible after they've disappeared.
11381 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11382 In the unlikely case that we are linking pads with no parents, don't
11383 crash trying to get the non-existent parent bin.
11385 * gst/parse/grammar.y:
11386 Output debug in the PIPELINE category
11388 2005-03-08 Wim Taymans <wim@fluendo.com>
11390 Patch by: René Stadler <mail at renestadler dot de>
11392 * gst/gstclock.c: (gst_clock_new_periodic_id):
11393 Reject invalid clock times for interval of periodic ids.
11396 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11398 * gst/gstelementfactory.c: (gst_element_factory_create):
11399 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11400 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11401 * tools/gst-inspect.c: (print_element_info):
11402 Fix refcounting of gst_plugin_feature_load to match the docs.
11405 2006-12-07 Wim Taymans <wim@fluendo.com>
11407 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11408 (gst_base_sink_get_position):
11409 Improve debugging of events.
11411 2006-12-07 Wim Taymans <wim@fluendo.com>
11413 Patch by: René Stadler <mail at renestadler dot de>
11415 * gst/gstclock.c: (gst_clock_id_wait):
11416 Make period ids add the interval to the origial requested time instead
11417 of the possibly updated time which can be wrong when there are multiple
11418 waiters for the same id. Fixes #382592.
11420 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11421 (gst_system_clock_id_wait_jitter_unlocked),
11422 (gst_system_clock_id_wait_jitter):
11423 Fix restart in the async notify thread when an async entry is added to
11424 the front of the list. Fixes #381492.
11426 * tests/check/gst/gstsystemclock.c: (store_callback),
11427 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11428 Added test for multiple async waits.
11429 Added test for async wait order.
11431 2006-12-07 Wim Taymans <wim@fluendo.com>
11433 * gst/gstbin.c: (gst_bin_query):
11434 Add some more docs about the POSITION query.
11436 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11439 Bump version nano - back to CVS.
11441 === release 0.10.11 ===
11443 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11446 releasing 0.10.11, "Love never runs on time"
11448 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11450 * win32/common/libgstbase.def:
11451 * win32/common/libgstreamer.def:
11452 * win32/vs8/libgstbase.vcproj:
11453 * win32/vs8/libgstcoreelements.vcproj:
11454 * win32/vs8/libgstreamer.vcproj:
11455 Fix compilation on win32 under VS8
11456 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11457 Partially fixes #381175
11459 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11461 * gst/gstvalue.c: (gst_value_compare_fraction):
11462 If someone is foolish enough to compare 2 fractions with denominator =
11463 0, return UNORDERED rather than aborting.
11465 2006-11-28 Edward Hervey <edward@fluendo.com>
11467 * libs/gst/base/Makefile.am:
11468 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11469 (gst_data_queue_base_init), (gst_data_queue_class_init),
11470 (gst_data_queue_init), (gst_data_queue_new),
11471 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11472 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11473 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11474 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11475 (gst_data_queue_set_flushing), (gst_data_queue_push),
11476 (gst_data_queue_pop), (gst_data_queue_drop_head),
11477 (gst_data_queue_set_property), (gst_data_queue_get_property):
11478 * libs/gst/base/gstdataqueue.h:
11479 New GstDataQueue object for threadsafe queueing. Most useful for
11480 elements that need some queueing functionnality.
11481 * docs/libs/gstreamer-libs-docs.sgml:
11482 * docs/libs/gstreamer-libs-sections.txt:
11483 Insert documentation for GstDataQueue
11484 * plugins/elements/Makefile.am:
11485 * plugins/elements/gstelements.c:
11486 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11487 (gst_multi_queue_class_init), (gst_multi_queue_init),
11488 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11489 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11490 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11491 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11492 (gst_multi_queue_loop), (gst_multi_queue_chain),
11493 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11494 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11495 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11496 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11497 (wake_up_next_non_linked), (compute_next_non_linked),
11498 (single_queue_overrun_cb), (single_queue_underrun_cb),
11499 (single_queue_check_full), (gst_single_queue_new):
11500 * plugins/elements/gstmultiqueue.h:
11501 New multiqueue element, using GstDataQueue. Used for queuing multiple
11503 Closes #344639 and #347785
11505 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11507 * docs/pwg/advanced-types.xml:
11508 add more missing type details
11510 * tools/gst-run.c: (main):
11511 remove unused variable
11513 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11515 * docs/libs/Makefile.am:
11516 * docs/libs/gstreamer-libs.types:
11517 add types of base classes to enable gobject specific stuff in the docs
11519 * docs/random/ensonic/embedded.txt:
11520 more ideas about isolating platform specific things
11522 2006-11-20 Wim Taymans <wim@fluendo.com>
11524 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11526 * libs/gst/check/gstcheck.h:
11527 Fix compilation and running against 0.9.4. Fixes #377332.
11529 2006-11-20 Wim Taymans <wim@fluendo.com>
11531 * gst/gstsegment.c: (gst_segment_set_seek),
11532 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11533 (gst_segment_to_running_time):
11534 Fix boundary checking in to_running_time() and to_stream_time().
11537 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11538 stream and running time can now be calculated for the complete
11541 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11543 * gst/gstpad.c: (gst_pad_push_event):
11544 Can't access event structure after giving away ownership of
11547 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11549 * docs/random/ensonic/embedded.txt:
11550 * docs/random/ensonic/profiling.txt:
11551 * docs/random/ensonic/receipies.txt:
11554 2006-11-13 Wim Taymans <wim@fluendo.com>
11556 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11559 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11561 2006-11-13 Wim Taymans <wim@fluendo.com>
11563 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11565 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11566 Store new length in segment duration so we don't keep on calling the
11567 potentially expensize get_size() call. Fixes #370865.
11569 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11571 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11573 * win32/common/libgstreamer.def:
11574 Add two missing symbols (#366492).
11576 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11578 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11579 (gst_adapter_take_buffer):
11580 Fix format string to use all its arguments.
11581 Remove useless >= check on a guint
11583 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11585 * tests/examples/adapter/.cvsignore:
11586 Ignore build file as commanded by the build-bot
11588 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11590 * tests/examples/adapter/Makefile.am:
11591 * tests/examples/adapter/adapter_test.c: (run_test_take),
11592 (run_test_take_buffer), (run_tests), (main):
11594 Add new files from the previous commit
11596 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11600 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11601 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11602 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11603 * libs/gst/base/gstadapter.h:
11604 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11605 (GST_START_TEST), (gst_adapter_suite):
11606 * tests/examples/Makefile.am:
11607 Do some optimisation work in GstAdapter to avoid copies in more cases.
11608 It could still do slightly better by merging buffers when
11609 gst_buffer_is_span_fast is true, but is already faster.
11611 Also, avoid traversing a single-linked list to append each incoming
11612 buffer inside the adapter.
11614 Add simple test app that times the adapter behaviour in different
11615 situations, and extend the unit test to check that bytes enter and
11616 exit the adapter in their original order.
11618 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11620 * docs/random/draft-missing-plugins.txt:
11621 Update: use element message instead of adding a new message
11622 type to the core; don't provide GStreamer API to initiate the
11623 plugin download, just provide API to compose the strings needed
11624 and let an external libgimmestuff handle the rest.
11626 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11628 * tools/gst-inspect.c: (print_element_properties_info):
11629 Print a string instead of 'unknown type' for GValueArray properties
11631 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11633 * docs/random/draft-missing-plugins.txt:
11636 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11638 * tests/examples/typefind/typefind.c: (type_found), (main):
11639 Make typefind element example work again (#371894); add a
11642 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11644 * docs/random/draft-missing-plugins.txt:
11645 Commit initial draft about how to deal with missing plugins,
11646 needs work (API too).
11648 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11650 * docs/pwg/advanced-types.xml:
11651 documents the new caps elements (see #363118)
11653 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11655 * gst/gstplugin.c: (gst_plugin_load_file):
11656 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11657 (gst_file_src_map_region), (gst_file_src_start):
11658 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11659 (gst_file_index_commit):
11660 Use g_strerror() instead of strerror() - we want UTF-8.
11662 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11664 Patch by: Peter Kjellerstedt <pkj at axis com>
11666 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11667 Another printf fix (#371493).
11669 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11671 * tests/check/gst/gsttag.c:
11672 relicence (okay with author=company)
11674 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11676 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11677 (gst_pad_push_event):
11678 Enhance debug and improve docs
11683 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11685 * docs/random/ensonic/distributed.txt:
11686 * docs/random/ensonic/profiling.txt:
11689 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11691 * docs/gst/gstreamer-sections.txt:
11692 add new API and fix the build
11694 * gst/gstbin.c: (gst_bin_recalc_state):
11695 * gst/gstelement.c: (gst_element_message_full),
11696 (gst_element_get_state_func), (gst_element_set_state_func):
11697 use new API and improve logging
11699 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11701 API: add function to get StateChangereturn names to improve logs
11703 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11705 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11706 I'm considering shooting the next person to put strerror stuff
11707 in the translateable part of the message.
11709 2006-11-03 Wim Taymans <wim@fluendo.com>
11711 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11712 Get the type and printf conversion specifiers right.
11714 2006-11-03 Wim Taymans <wim@fluendo.com>
11716 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11718 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11719 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11720 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11721 Some small cleanups. Improve debugging.
11723 Signal all waiting threads with a broadcast instead of just one.
11726 2006-11-03 Wim Taymans <wim@fluendo.com>
11728 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11729 (gst_fd_src_create):
11730 Add some debugging.
11731 Only update fd when it's different from the old.
11733 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11735 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11736 Printf fixes for PPC/OSX, take two (#369366).
11738 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11740 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11742 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11743 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11744 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11745 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11746 don't cast to long long for portability reasons, but use
11747 GLib's types instead.
11749 2006-10-30 Michael Smith <msmith@fluendo.com>
11751 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11752 Get the arguments to lseek() the right way around.
11755 2006-10-30 Wim Taymans <wim@fluendo.com>
11757 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11760 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11762 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11764 Patch by: Kjartan Maraas <kmaraas at gnome org>
11766 * docs/design/part-MT-refcounting.txt:
11767 * docs/random/wtay/capsnego2-docs:
11770 Typo fixes (#366212).
11772 2006-10-28 Wim Taymans <wim@fluendo.com>
11774 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11777 * win32/common/libgstbase.def:
11778 * win32/common/libgstreamer.def:
11779 * win32/vs8/libgstbase.vcproj:
11780 * win32/vs8/libgstcontroller.vcproj:
11781 Add needed entries in .def files.
11783 Rearrange def files in vs8 solutions. Fixes #366286.
11785 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11787 * win32/common/gstconfig.h:
11788 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11789 hand-made win32 gstconfig.h. Fixes #366321.
11791 2006-10-27 Wim Taymans <wim@fluendo.com>
11793 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11794 (gst_ghost_pad_new_full):
11795 Make acceptcaps return TRUE when we don't have a target, just like
11798 2006-10-27 Wim Taymans <wim@fluendo.com>
11800 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11801 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11803 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11805 * gst/gststructure.c: (gst_structure_id_set_value):
11806 If someone tries to set a non-UTF8 string field on a structure,
11807 don't just print a warning, but also ignore the request and do
11808 not change/add that field to the structure.
11810 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11811 Test for the above.
11813 2006-10-25 David Schleef <ds@schleef.org>
11816 g_hash_table_insert() needs a cast to a non-const pointer duh.
11818 2006-10-25 David Schleef <ds@schleef.org>
11822 Change name parameter of _gst_debug_register_funcptr to const
11823 to reflect the constness of its use in the function as well
11824 as to quiet a gcc warning.
11826 2006-10-25 Edward Hervey <edward@fluendo.com>
11828 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11829 Don't push the buffer if it's empty.
11832 2006-10-24 Wim Taymans <wim@fluendo.com>
11837 * libs/gst/base/gstbasetransform.c:
11838 (gst_base_transform_sink_eventfunc):
11839 Debug segment values *after* updating them as this is more
11842 2006-10-23 Wim Taymans <wim@fluendo.com>
11844 * docs/design/part-events.txt:
11847 * docs/design/part-block.txt:
11848 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11849 (gst_pad_push_event):
11850 Revert BLOCKING patch, it tries to be smart without really having a
11851 clear idea what or how. So, now we discard all FLUSHING events again on
11852 a blocking pad. Should fix gnonlin again.
11854 2006-10-23 Wim Taymans <wim@fluendo.com>
11856 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11858 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11859 (gst_base_src_start), (gst_base_src_activate_push):
11860 Make sure size is always initialized. Fixes #364388.
11862 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11864 * docs/random/ensonic/distributed.txt:
11865 add some ideas about doing distributed processing
11867 * docs/random/ensonic/profiling.txt:
11868 get_rusage look promising
11870 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11872 * docs/manual/basics-helloworld.xml:
11873 Add a cast in example to fix compile warning
11875 2006-10-18 Wim Taymans <wim@fluendo.com>
11877 * gst/gstsegment.c: (gst_segment_set_last_stop),
11878 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11879 Relax arg checking again, -1 is allowed.
11881 2006-10-18 Wim Taymans <wim@fluendo.com>
11883 * gst/gstsegment.c: (gst_segment_set_last_stop),
11884 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11885 _set_last_stop() must be with a value != -1
11886 A _TYPE_SET to -1 means seek to 0.
11887 Calc last_stop correctly for negative rates.
11888 Make sure we work with positive durations when updating a segment.
11890 2006-10-18 Wim Taymans <wim@fluendo.com>
11892 * docs/design/part-live-source.txt:
11896 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11899 Add an explicit cast to GstBuffer** to keep old code that added an
11900 explicit cast to GstMiniObject** for gst_mini_object_replace()
11901 compiling without warning.
11903 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11905 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11906 check for validity of dates
11908 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11910 * docs/gst/gstreamer-sections.txt:
11911 Forgot this one, makes gtk-doc shut up.
11913 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11915 Patch by: Peter Kjellerstedt <pkj at axis com>
11918 Don't define xmlNodePtr to gpointer if the core was built with
11919 --disable-loadsave and --disable-registry, this will break
11920 applications that want to use libxml2 but are buildling against a
11921 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11922 instead so we don't have to mess with the libxml2 namespace
11925 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11928 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11929 type-punned pointer warnings.
11931 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11933 * gst/gstelement.h:
11934 Add casts to the correct return type to state <=> state transition
11937 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11939 * docs/design/part-live-source.txt:
11940 describe howto handle latency
11942 * docs/random/ensonic/profiling.txt:
11945 * tools/gst-plot-timeline.py:
11946 fix log parsing for solaris, remove unused function
11948 2006-10-16 Wim Taymans <wim@fluendo.com>
11950 * docs/design/part-trickmodes.txt:
11952 Update some docs regarding reverse playback.
11954 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11956 Patch by: Marcus Granado <mrc dot gran at gmail com>
11958 * win32/vs8/grammar.vcproj:
11959 Error out with a warning if glib-genmarshal.exe is not in path,
11960 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11962 2006-10-13 Wim Taymans <wim@fluendo.com>
11964 * gst/gstsegment.c: (gst_segment_set_seek):
11965 When seeking to stop -1, set last_stop (current position) to the
11966 duration of the segment.
11968 2006-10-13 Wim Taymans <wim@fluendo.com>
11970 * gst/gstelement.h:
11971 Clarify _NO_PREROLL a bit more.
11976 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11977 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11978 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11979 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11980 due to wrong locking order. Fixes #361769.
11981 Remove some redundant/misplaced checks in pad_block.
11983 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11984 For negative rates, count backwards from the duration.
11986 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11988 * gst/gsterror.c: (_gst_library_errors_init):
11989 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11990 up with something better).
11992 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11994 * win32/vs6/libgstreamer.dsp:
11995 * win32/vs7/libgstreamer.vcproj:
11996 * win32/vs8/libgstreamer.vcproj:
11997 Don't reference glib-compat.c which is currently not used and not
11998 disted; add gstquark.c which was recently added. Fixes #361730.
12000 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12002 * win32/common/libgstbase.def:
12003 * win32/common/libgstcontroller.def:
12004 * win32/common/libgstreamer.def:
12005 Add gst_caps_merge() and a bunch of other recently-added functions.
12008 2006-10-11 Wim Taymans <wim@fluendo.com>
12010 * docs/plugins/gstreamer-plugins.args:
12011 * docs/plugins/inspect/plugin-coreelements.xml:
12012 * docs/plugins/inspect/plugin-coreindexers.xml:
12013 Update element args.
12015 * gst/gstsystemclock.c:
12016 Small comment update.
12018 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12019 (gst_tee_request_new_pad), (gst_tee_release_pad),
12020 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12021 (gst_tee_sink_activate_pull):
12022 * plugins/elements/gsttee.h:
12024 Add default property defines.
12025 Implement release pad function.
12026 Give properties better blubs etc.
12027 Activate pads before adding them to a running tee.
12028 Do simple buffer_alloc on the first requested pad.
12029 Post error when activation fails.
12031 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12033 * gst/gst.c: (ensure_current_registry_forking):
12034 Check return value of write() to make compiler happy.
12036 2006-10-11 Wim Taymans <wim@fluendo.com>
12038 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12040 * plugins/elements/gstqueue.c: (gst_queue_chain):
12041 Recheck queue filledness after signalling the overrun when we're about
12042 to leak downstream because we released the lock when emitting the signal
12043 and the queue could be empty again. Fixes #352345.
12045 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12047 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12048 Fix refcounting here too, just like we did for _new_valist() a few
12049 days ago (#357180) (thanks to René Stadler). Also remove all those
12050 'Since: 0.9' from the gtk-doc blobs.
12052 * tests/check/libs/controller.c: (controller_refcount_new_list),
12053 (gst_controller_suite):
12054 Unit test for the above.
12056 2006-10-10 Wim Taymans <wim@fluendo.com>
12058 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12060 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12061 (gst_pad_save_thyself):
12063 Write pad direction in XML output. Fixes #345496.
12065 2006-10-10 Wim Taymans <wim@fluendo.com>
12067 Patch by: René Stadler <mail at renestadler dot de>
12069 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12070 (gst_controller_new_list), (_gst_controller_dispose),
12071 (_gst_controller_finalize), (_gst_controller_class_init):
12072 Take ref to controlled object so that it cannot disappear.
12075 2006-10-10 Wim Taymans <wim@fluendo.com>
12077 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12078 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12079 (gst_check_teardown_sink_pad):
12080 Activate/deactivate pads in setup/teardown respectively.
12082 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12084 Patch by: Josep Torra Valles <josep@fluendo.com>
12087 Cast values when making gstenumtypes.h. This pacifies Forte
12088 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12089 in the enumeration.
12091 2006-10-09 Wim Taymans <wim@fluendo.com>
12093 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12094 Rename some more @cur to @start to fix docs.
12096 * gst/gstsegment.c: (gst_segment_set_seek):
12098 time and start must always stay in sync as defined in design doc.
12100 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12101 Rename param to fix docs.
12103 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12104 Check that start and time are in sync.
12106 * tests/check/pipelines/parse-launch.c:
12107 (gst_parse_test_element_change_state):
12108 Activate pad before adding to the element.
12110 2006-10-09 Wim Taymans <wim@fluendo.com>
12112 * docs/design/part-qos.txt:
12117 Update seek event docs regarding negative rates.
12118 Rename @cur to @start.
12120 * gst/gstsegment.c: (gst_segment_set_seek):
12121 * gst/gstsegment.h:
12122 Update set_seek docs regarding negative rates.
12123 Correctly update last_stop to @stop when dealing with negative
12125 Rename @cur to @start.
12127 * tests/check/gst/gstpad.c: (GST_START_TEST):
12128 Activate pads before trying to use them.
12130 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12131 (gst_segment_suite):
12132 Add simple check for segments and negative rates.
12134 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12136 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12137 * gst/gsttaglist.h:
12138 * docs/gst/gstreamer-sections.txt:
12139 API: add gst_tag_list_is_empty() (#360467).
12141 * tests/check/gst/gsttag.c: (GST_START_TEST):
12144 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12146 * gst/gstmessage.h:
12147 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12148 a value that doesn't fit on enumeration.
12150 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12152 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12153 Remove local debugging system and use Gstreamer's instead.
12155 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12157 Patch by: Josep Torra Valles <josep@fluendo.com>
12159 * common/m4/gst-error.m4:
12160 Disable warning of statement not reached on Forte.
12161 * gst/gstmessage.h:
12162 Fix warning on Forte (value doesn't fit on enumeration).
12163 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12164 Fix warning on Forte (value doesn't fit on enumeration).
12165 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12166 DEBUG macro says it takes minimum of 2 args and so Forte
12167 complains about the use with just 1 arg.
12168 * plugins/elements/gstfdsink.c:
12169 * plugins/elements/gstfdsrc.c:
12170 * plugins/elements/gstfilesink.c:
12171 * plugins/elements/gstfilesrc.c:
12172 Use correct return type for the uri handler implementations.
12174 All these fix warnings in Forte. Fixes bug #360860.
12176 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12178 * gst/gstelement.h:
12179 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12180 format string, so don't use G_GNUC_PRINTF for those versions.
12182 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12184 * gst/gsttaglist.c: (gst_is_tag_list):
12185 * gst/gsttaglist.h:
12186 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12188 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12189 Small test for the above.
12191 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12193 * gst/gsttaglist.h:
12194 Less tabs, more spaces.
12196 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12199 Those two function declarations do actually belong there, revert
12200 commit from yesterday that turned them intro macros.
12202 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12204 Patch by: Josep Torra Valles <josep@fluendo.com>
12206 * gst/gst.c: (gst_init_get_option_group):
12207 Fix empty declaration and type mismatch.
12208 * gst/gstbin.c: (gst_bin_change_state_func):
12210 * gst/gstelement.c: (gst_element_continue_state),
12211 (gst_element_set_state_func), (gst_element_change_state),
12212 (gst_element_change_state_func):
12213 Fix type mismatches.
12214 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12215 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12216 Cast as appropriate.
12217 * gst/gstobject.c: (gst_class_signal_connect):
12218 Cast as appropriate. The function pointer parameter really
12219 has the wrong type but would break API if we change it.
12221 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12222 order of including string.h.
12223 * gst/gstutils.c: (gst_element_state_get_name):
12224 Remove unreachable line.
12225 * gst/gstxml.c: (gst_xml_parse_doc):
12227 All these caught by Forte.
12229 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12231 Patch by: Josep Torra Valles <josep@fluendo.com>
12233 * common/m4/gst-error.m4:
12235 We need to disable warnings on Forte for empty declarations
12236 due to gst-indent adding ;s to lines that just use macros
12237 where the macro actually doesn't need a ; at end to end
12240 2006-10-06 Wim Taymans <wim@fluendo.com>
12242 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12243 (gst_file_sink_close_file), (gst_file_sink_event),
12244 (gst_file_sink_render):
12245 Add some FIXME for the NEWSEGMENT handling.
12247 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12249 * gst/parse/grammar.y:
12250 Remove static function gst_parse_element_lock as all it does
12251 is return. Looks like cruft from 0.8.
12253 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12255 Patch by: Josep Torra Valles <josep@fluendo.com>
12257 * common/m4/gst-error.m4:
12259 * libs/gst/net/Makefile.am:
12260 Fix a compilation issue with Forte on Solaris. inet_aton is in
12263 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12265 * gst/gstpad.c: (pre_activate):
12266 * gst/gstregistry.c: (gst_registry_scan_path_level):
12267 * gst/gstregistryxml.c: (load_plugin):
12268 * libs/gst/controller/gstcontroller.c:
12269 (gst_controlled_property_set_interpolation_mode):
12270 * libs/gst/dataprotocol/dataprotocol.c:
12271 (gst_dp_packet_from_event_1_0):
12272 * libs/gst/net/gstnetclientclock.c:
12273 (gst_net_client_clock_observe_times):
12274 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12277 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12280 * docs/gst/gstreamer-sections.txt:
12281 * gst/gstconfig.h.in:
12282 * gst/gstelement.h:
12284 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12285 whether we can use G_GNUC_PRINTF in other header files and at
12286 least check the printf format/arguments of debug messages and
12287 GST_ELEMENT_ERROR messages when the printf extension is not
12289 Replace more tabs with spaces in gstinfo.h and remove two spurious
12290 function declarations in GST_DISABLE_DEBUG part with macros.
12292 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12294 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12295 More docs for the sync-message signal (mention that it is not
12296 emitted by default); log message structures of messages posted on
12299 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12301 * gst/gst.c: (ensure_current_registry_forking):
12302 Use a pipe pair to receive status results from the forked child, and
12303 ignore the result from waitpid. Fixes #355499
12305 2006-10-02 Wim Taymans <wim@fluendo.com>
12307 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12308 (gst_ghost_pad_suite):
12311 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12314 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12316 2006-10-02 Edward Hervey <edward@fluendo.com>
12318 * docs/design/part-block.txt:
12319 Further explain the use of flushing on blocked pads.
12320 * docs/gst/gstreamer-sections.txt:
12321 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12322 (gst_pad_push_event):
12324 Added new GstPadFlag : GST_PAD_BLOCKING.
12325 Adds the notion of pads really blocking, which enables to properly
12326 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12328 API: gst_pad_is_blocking()
12329 API: GST_PAD_IS_BLOCKING() macro
12330 API: GST_PAD_BLOCKING GstPadFlag
12332 2006-10-02 Wim Taymans <wim@fluendo.com>
12334 Patch by: mrcgran <mrc.gran at gmail dot com>
12336 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12337 Filter the proxied caps against the padtemplate if we have one.
12339 * gst/gstquery.c: (gst_query_new_segment):
12340 Add include for gstinfo.h so that compilation with
12341 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12343 2006-10-02 Wim Taymans <wim@fluendo.com>
12345 Patch by: Alessandro Decina <alessandro at nnva org>
12347 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12348 (gst_file_sink_set_location), (gst_file_sink_open_file),
12349 (gst_file_sink_close_file), (gst_file_sink_event),
12350 (gst_file_sink_render):
12351 Set file to NULL when closing filesink so that we can set a new filename
12352 in READY. Fixes #358613.
12354 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12356 Patch by: Alessandro Decina <alessandro at nnva org>
12358 * gst/gstevent.c: (_gst_event_copy):
12359 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12360 with event structures by setting the parent refcount address of the
12361 copied structure to the address of the refcount member of the newly
12362 copied event rather than the address of the refcount member of the
12363 original event. Fixes #358737.
12365 * tests/check/gst/gstevent.c: (GST_START_TEST):
12366 Unit test for the above.
12368 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12370 * docs/design/Makefile.am:
12371 Dist some more files.
12373 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12375 * tests/check/libs/controller.c: (GST_START_TEST),
12376 (gst_controller_suite):
12377 Add test for the previous fix; add some more tests
12378 for correct refcounting behaviour; fix a few leaks
12379 in test cases; call gst_controller_init() at start
12382 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12384 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12385 (gst_controller_set_from_list):
12386 Don't g_return_val_if_fail() on timed values with invalid timestamps
12387 inside a critical section without unlocking the mutex. Spotted by
12388 René Stadler. (#357617)
12389 Also, fix up refcounting properly: when returning an existing
12390 controller, we should increase the reference only once and not
12391 once per property and when trying to control a property again
12392 we should also increase the refcount.
12394 2006-09-29 Wim Taymans <wim@fluendo.com>
12396 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12397 * libs/gst/net/gstnettimeprovider.c:
12398 (gst_net_time_provider_thread):
12399 Stop reading commands when EOF as well.
12401 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12402 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12403 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12404 Unify description of the dump property.
12406 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12408 * tests/examples/manual/.cvsignore:
12409 OK, so it's actually cvsignore that needs changing. Stop laughing.
12411 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12413 * tests/examples/manual/Makefile.am:
12414 Gah, declare vars *before* using them
12416 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12418 * gst/gst.c: (init_pre), (scan_and_update_registry),
12419 (ensure_current_registry_nonforking),
12420 (ensure_current_registry_forking), (ensure_current_registry),
12421 (init_post), (gst_debug_help), (gst_deinit):
12422 * gst/gst_private.h:
12423 * gst/gstregistry.c: (gst_registry_finalize),
12424 (gst_registry_remove_features_for_plugin_unlocked),
12425 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12426 (gst_registry_scan_path),
12427 (_priv_gst_registry_remove_cache_plugins),
12428 (_priv_gst_registry_cleanup):
12429 * gst/gstregistry.h:
12430 Re-commit the registry changes, along with an extra fix:
12431 When a cached plugin is encountered at a different file path,
12432 update the stored path in the registry cache so that the parent
12433 process knows where it actually is now when it re-reads the registry
12434 cache. Fixes the thing that broke distcheck with the previous commit.
12436 * tests/check/Makefile.am:
12437 Clean up files named 'core' too when running make clean.
12439 * tests/examples/manual/Makefile.am:
12440 Set up a registry path for running these tests, and clean it properly
12443 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12446 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12447 want gmodule-no-export-2.0.pc instead so that we don't drag in
12448 --export-dynamic on every project that links to GStreamer.
12450 Also, make our export regex only match the start of symbols, rather
12451 than any symbol that contains '_gst' somewhere.
12453 * libs/gst/check/Makefile.am:
12454 The libgstcheck we build does however need export-dynamic, as it
12455 produces some symbols that don't match our _gst... style regex.
12458 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12460 * gst/gst.c: (init_pre), (scan_and_update_registry),
12461 (ensure_current_registry_nonforking),
12462 (ensure_current_registry_forking), (ensure_current_registry),
12463 (init_post), (gst_debug_help), (gst_deinit):
12464 * gst/gst_private.h:
12465 * gst/gstregistry.c: (gst_registry_finalize),
12466 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12467 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12468 (_gst_registry_cleanup):
12469 * gst/gstregistry.h:
12470 Revert previous change until I figure out why it breaks distcheck.
12472 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12474 * gst/gst.c: (init_pre), (scan_and_update_registry),
12475 (ensure_current_registry_nonforking),
12476 (ensure_current_registry_forking), (ensure_current_registry),
12477 (init_post), (gst_debug_help), (gst_deinit):
12479 Make init_pre and init_post take the full complement of GOptionFunc
12480 args so they can return useful GErrors. Make the registry updating
12483 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12484 ensure that the registry we're about to write out doesn't contain
12485 stale information about old-deleted plugin files.
12487 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12488 that deletion of plugin files is considered a registry change.
12490 * gst/gst_private.h:
12491 * gst/gstregistry.c: (gst_registry_finalize),
12492 (gst_registry_remove_features_for_plugin_unlocked),
12493 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12494 (gst_registry_scan_path),
12495 (_priv_gst_registry_remove_cache_plugins),
12496 (_priv_gst_registry_cleanup):
12497 * gst/gstregistry.h:
12498 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12499 by adding _priv prefix, so that they won't appear in the global
12500 symbol table. They still do atm though because of #318031. Move the
12501 prototypes to gst_private.h
12503 When removing a plugin, remove all features for that plugin too.
12506 2006-09-27 Wim Taymans <wim@fluendo.com>
12508 * docs/random/moving-plugins:
12509 Make it clear that the "compiled-in descriptions" really mean
12510 the element details.
12512 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12513 (gst_base_sink_wait_preroll):
12516 * docs/libs/gstreamer-libs-sections.txt:
12517 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12518 (gst_base_src_get_range), (gst_base_src_activate_push):
12519 * libs/gst/base/gstbasesrc.h:
12520 Added function to block while waiting for PLAYING, this function
12521 is used by live sources that block on the clock.
12522 API: gst_base_src_wait_playing()
12524 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12526 Patch by: Peter Kjellerstedt <pkj at axis com>
12529 gst-element-check.m4 is generated and should therefore be
12530 copied from the build dir rather than the source dir (#357593).
12531 'make distcheck' hasn't noticed this because we were disting
12532 the file as well, so stop doing that.
12534 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12536 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12537 Add some tests for gst_caps_intersect().
12539 * tools/gst-launch.c: (event_loop):
12540 Print all buffering percentages we get, even the 100% one.
12542 2006-09-26 Wim Taymans <wim@fluendo.com>
12544 * tools/gst-inspect.c: (print_element_properties_info),
12545 (print_signal_info):
12546 Fix printing of flags to match the look of enums.
12548 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12550 * gst/gstelementfactory.c:
12551 Fix typo in docs blurb.
12553 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12555 * gst/gsturi.c: (search_by_entry):
12556 Don't assert/crash here if a uri handler doesn't return any
12557 supported protocols. The list of protocols could be generated
12558 dynamically at runtime or at plugin registration, and an error
12559 in the underlying library shouldn't be fatal (#353301).
12561 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12564 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12565 (spotted by Peter Kjellerstedt).
12567 2006-09-23 Wim Taymans <wim@fluendo.com>
12569 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12571 * libs/gst/base/gstbasesrc.c:
12572 (gst_base_src_default_check_get_range), (gst_base_src_start),
12573 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12574 (gst_base_src_change_state):
12575 Match _start/_stop calls in the activate functions. Remove redundant
12576 _stop call from the state change function. Fixes #356910.
12577 Turn failure DEBUG into ERROR.
12579 2006-09-22 Wim Taymans <wim@fluendo.com>
12581 * docs/design/part-buffering.txt:
12582 * gst/gstmessage.c: (gst_message_new_buffering),
12583 (gst_message_parse_buffering):
12584 Update docs about buffering.
12586 * docs/design/part-trickmodes.txt:
12589 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12591 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12592 (gst_controller_new_list):
12593 Ref instances when returning them again (fixes #357180)
12595 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12597 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12598 Don't forget to release proxy lock when there's an error.
12600 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12603 Add extra initialisers for Caps things, to fix some plugin warnings
12606 2006-09-18 Wim Taymans <wim@fluendo.com>
12608 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12609 Also set template on the internal pad so that a getcaps from the
12610 target pad returns the template caps.
12612 2006-09-18 Wim Taymans <wim@fluendo.com>
12614 * gst/gstelement.c: (gst_element_post_message),
12615 (gst_element_dispose):
12616 Use _DEBUG_OBJECT some more.
12618 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12621 * tools/gst-launch.c: (main):
12622 If the toplevel element is not a GstPipeline, it must be put in a
12623 pipeline so that a bus and clock is selected.
12625 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12627 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12628 JITTER, RATE, and LATENCY query should be handled by the
12629 default case and not by the CONVERT query code.
12631 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12633 * gst/gstformat.c: (gst_format_register):
12634 Fix locking order (must take lock before using n_values).
12636 * gst/gstvalue.c: (gst_value_serialize_enum),
12637 (gst_value_deserialize_enum_iter_cmp),
12638 (gst_value_deserialize_enum):
12639 Fix serialisation/deserialisation of custom registered GstFormats.
12641 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12642 Unit test for custom format serialisation/deserialisation.
12644 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12646 * docs/pwg/building-boiler.xml:
12647 * plugins/elements/gstcapsfilter.c:
12648 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12651 2006-09-16 Edward Hervey <edward@fluendo.com>
12653 * libs/gst/base/gstbasetransform.c:
12654 (gst_base_transform_buffer_alloc):
12655 Check if requested caps are the same as the sinks caps IF
12656 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12658 This fixes the renegotiation issues stated in #352827.
12660 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12663 * docs/manual/advanced-autoplugging.xml:
12664 * tests/examples/Makefile.am:
12665 * tests/examples/manual/.cvsignore:
12666 * tests/examples/manual/Makefile.am:
12667 * tests/examples/manual/extract.pl:
12668 Extract the manual examples again like we used to do.
12671 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12673 * win32/common/config.h:
12676 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12679 Documents how to receive errors.
12681 2006-09-15 Wim Taymans <wim@fluendo.com>
12683 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12684 (event_loop), (main):
12685 Added some comments here and there.
12686 Post an application message when an interrupt is caught instead of doing
12687 an uncontrolled state change.
12688 Clean up the event loop.
12689 Handle buffering messages, pause/resume the pipeline.
12690 Make shutdown because of an interrupt more reliable.
12692 2006-09-15 Wim Taymans <wim@fluendo.com>
12694 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12695 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12696 (gst_base_sink_preroll_object):
12697 Make sure that our internal state is correct when we commit our state
12698 asynchronously. This solves a race where a state change to PLAYING
12699 could cause the sink to remain blocked in preroll in some situations.
12701 2006-09-15 Wim Taymans <wim@fluendo.com>
12703 * tools/gst-inspect.c: (print_element_properties_info),
12704 (print_signal_info):
12705 List flags as hex so it's easier to deal with.
12707 2006-09-15 Wim Taymans <wim@fluendo.com>
12709 * docs/libs/gstreamer-libs-sections.txt:
12710 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12711 (gst_base_sink_do_sync):
12712 * libs/gst/base/gstbasesink.h:
12713 Expose logic to wait for preroll so that subclasses such as audiosink
12714 can also use this method.
12715 API: gst_base_sink_wait_preroll()
12717 2006-09-15 Wim Taymans <wim@fluendo.com>
12719 * gst/gstobject.c: (gst_object_set_parent):
12720 * gst/gstpipeline.c: (do_pipeline_seek):
12721 Small cleanups in docs and code.
12723 * gst/gstsegment.c: (gst_segment_clip):
12724 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12725 if stop == start and start is in the segment, no clipping should be
12726 done. Also add a test for this.
12728 2006-09-15 Wim Taymans <wim@fluendo.com>
12730 * docs/design/part-buffering.txt:
12731 * docs/gst/gstreamer-sections.txt:
12732 * gst/gstmessage.c: (gst_message_new_buffering),
12733 (gst_message_parse_buffering):
12734 * gst/gstmessage.h:
12735 Added methods to create and parse BUFFERING messages.
12736 Added preliminary docs about buffering.
12737 API: gst_message_new_buffering
12738 API: gst_message_parse_buffering
12740 2006-09-06 Wim Taymans <wim@fluendo.com>
12743 Update documentation.
12745 * gst/gstelement.c: (gst_element_class_init),
12746 (gst_element_release_request_pad), (gst_element_set_clock),
12747 (gst_element_get_index), (gst_element_add_pad),
12748 (gst_element_remove_pad), (gst_element_get_random_pad),
12749 (gst_element_send_event), (gst_element_get_query_types),
12750 (gst_element_query), (gst_element_post_message),
12751 (gst_element_message_full), (gst_element_continue_state),
12752 (gst_element_lost_state), (gst_element_save_thyself),
12753 (gst_element_restore_thyself):
12754 Documentation updates.
12755 Rename last bit of the new-pad -> pad-added signal rename.
12756 Fix the case where an element query would only work if the source
12758 Avoid some useless type checking in message handling.
12763 Documentation updates.
12765 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12767 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12768 add an INFO line for when we actually update the fd
12770 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12775 === release 0.10.10 ===
12777 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12780 releasing 0.10.10, "Pais"
12782 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12784 * docs/manual/advanced-position.xml:
12785 Fix typo in sample code.
12787 2006-09-05 Wim Taymans <wim@fluendo.com>
12789 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12790 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12791 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12792 * libs/gst/net/gstnetclientclock.h:
12793 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12794 * libs/gst/net/gstnettimepacket.h:
12795 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12796 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12797 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12798 * libs/gst/net/gstnettimeprovider.h:
12799 Make stuff compile on windows. Fixes #345295.
12801 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12803 * gst/gst.c: (ensure_current_registry_forking):
12804 Print better details when child was terminated by signal.
12806 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12808 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12809 Print a warning rather than g_assert() if a plugin feature
12810 is a URI handler but returns no protocols (#353976).
12812 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12814 * docs/random/moving-plugins:
12817 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12819 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12820 Fix locking order, handle NULL function values properly.
12825 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12826 Initialise variable before using it and fix debug statement to
12827 print the address of the function rather than the address of the
12828 variable on the stack holding the address of the function.
12830 2006-09-01 Wim Taymans <wim@fluendo.com>
12832 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12833 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12834 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12835 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12836 (gst_ghost_pad_parent_unset),
12837 (gst_ghost_pad_internal_do_activate_push),
12838 (gst_ghost_pad_internal_do_activate_pull),
12839 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12840 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12841 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12842 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12843 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12844 (gst_ghost_pad_new_no_target_from_template),
12845 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12847 Avoid needless typechecking in macros.
12848 Since the internal pad is always present and never changes, there is
12849 no need to locking or ref when retrieving it.
12850 Improve debugging a bit.
12851 Handle link errors when setting the target. Fixes #341029.
12853 2006-09-01 Wim Taymans <wim@fluendo.com>
12855 * docs/libs/gstreamer-libs-sections.txt:
12856 * docs/plugins/gstreamer-plugins-sections.txt:
12857 Fix docs some more.
12859 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12860 (gst_collect_pads_event):
12861 * libs/gst/base/gstcollectpads.h:
12862 Documentation updates.
12863 Free queued buffer when removing a pad.
12865 2006-08-31 Michael Smith <msmith@fluendo.com>
12867 * gst/gstutils.c: (gst_element_link_pads),
12868 (gst_element_link_pads_filtered):
12869 Ensure that we set a capsfilter to NULL if we failed to link it
12870 when doing filtered linking, to avoid criticals.
12872 No need to check for unreffing srcpad, which is explicly NULLed
12873 above (a trivial code cleanup).
12875 2006-08-31 Wim Taymans <wim@fluendo.com>
12877 * docs/design/part-gstghostpad.txt:
12878 Update ascii art in documentation.
12880 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12881 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12882 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12883 (gst_ghost_pad_internal_do_activate_push),
12884 (gst_ghost_pad_internal_do_activate_pull),
12885 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12886 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12887 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12888 (gst_ghost_pad_set_target):
12889 Small cleanups and leak fixes.
12890 Remove some checks now that the internal pad is never NULL.
12891 Fix the case where linking pads without a target would create nasty
12892 criticals. Fixes #341029.
12893 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12894 value of _set_target().
12896 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12897 (gst_ghost_pad_suite):
12898 Some more tests for creating and linking untargeted ghostpads.
12900 2006-08-31 Edward Hervey <edward@fluendo.com>
12902 * docs/gst/gstreamer-sections.txt:
12903 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12904 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12905 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12906 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12907 (gst_ghost_pad_new_from_template),
12908 (gst_ghost_pad_new_no_target_from_template):
12909 * gst/gstghostpad.h:
12910 Refactored *_new() functions.
12911 Templates are now used as a g_object_new() parameter.
12912 Use template in _do_getcaps() if we don't have a target.
12913 Small documentation cleanups.
12914 Added two new constructors:
12915 gst_ghost_pad_new_from_template()
12916 gst_ghost_pad_new_no_target_from_template()
12917 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12918 (gst_ghost_pad_suite):
12919 Added tests for new ghostpad instanciation functions.
12921 API additions: gst_ghost_pad_new_from_template,
12922 gst_ghost_pad_new_no_target_from_template
12924 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12926 * docs/random/ensonic/profiling.txt:
12927 Ideas about qos profiling.
12929 2006-08-29 Wim Taymans <wim@fluendo.com>
12931 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12935 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12938 Improve and detypofy docs.
12940 * tests/check/Makefile.am:
12941 * tests/check/gst/.cvsignore:
12942 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12943 Add a basic test suite for GstXML.
12945 2006-08-29 Wim Taymans <wim@fluendo.com>
12947 * gst/gstelement.c: (activate_pads), (clear_caps),
12948 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12949 Clear the pad caps when the element shut down all of the pads and
12950 is not streaming data that could modify the caps.
12953 2006-08-28 Michael Smith <msmith@fluendo.com>
12955 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12956 Revert previous change; I misunderstood single-segment mode.
12958 2006-08-28 Michael Smith <msmith@fluendo.com>
12960 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12961 Unset DISCONT on buffers when using single-segment mode.
12963 2006-08-28 Wim Taymans <wim@fluendo.com>
12965 * gst/gstcaps.c: (gst_caps_merge_structure):
12967 Fix docs and indentation again.
12969 * tests/check/gst/gstquery.c: (GST_START_TEST):
12970 Fix leak in tests and add some more tests.
12972 2006-08-28 Edward Hervey <edward@fluendo.com>
12974 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12975 Inform GstSegment of the last stop position in order for the current
12976 segment to have a proper duration if it doesn't have a specific stop
12977 position from which a duration could be calculated.
12978 This bug was noticeable when a non-flushing, non-update new segment was
12979 followed by another segment (all buffers from the new segment were being
12982 2006-08-28 Wim Taymans <wim@fluendo.com>
12984 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12985 Small comment update.
12987 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12988 (gst_identity_transform_ip):
12989 Drop-probability is broken, mention this in the code with a
12990 FIXME and also in the property description.
12991 Make silent also be silent about the drop messages.
12993 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12995 * docs/manual/appendix-win32.xml:
12996 Remove mention of popt, we don't depend on that any
12997 longer (#353136). Add some comments pointing out that
12998 this section is slightly outdated.
13000 2006-08-28 Wim Taymans <wim@fluendo.com>
13002 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13004 * gst/gstquery.c: (gst_query_new_segment):
13005 * tests/check/gst/gstquery.c: (GST_START_TEST):
13006 Initialize variables when creating a new segment query.
13009 2006-08-28 Wim Taymans <wim@fluendo.com>
13011 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13013 * gst/gstelement.c: (gst_element_get_bus):
13014 * tests/check/gst/gstelement.c: (GST_START_TEST):
13015 Check for NULL before _reffing the bus. Fixes #353122.
13017 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13019 * docs/manual/basics-bus.xml:
13020 Docs update: fix wrong callback return value explanation; add
13021 some lines about the implicit relationship between main loop
13022 and main context; remove duplicate main loop variable declaration.
13024 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13026 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13027 Don't leak caps in unit test; add a few more simple
13030 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13032 * docs/gst/gstreamer-sections.txt:
13033 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13034 (gst_caps_structure_is_subset), (gst_caps_merge),
13035 (gst_caps_merge_structure):
13037 * libs/gst/base/gstbasetransform.c:
13038 (gst_base_transform_transform_caps):
13039 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13040 implement caps merging (fixes #352580)
13042 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13044 * tools/Makefile.am:
13045 * tools/gst-plot-timeline.py:
13046 add debug-log plotting developer tool (#340674)
13048 2006-08-23 Wim Taymans <wim@fluendo.com>
13050 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13051 (gst_pad_stop_task):
13052 Improve debugging for task functions.
13054 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13055 (gst_task_start), (gst_task_pause), (gst_task_join):
13056 Make sure that the task function started and finished after a
13058 Don't try to push the task function on the threadpool multiple
13060 Improve the g_warning message with some useful suggestions
13061 about how to fix the problem.
13063 2006-08-23 Wim Taymans <wim@fluendo.com>
13065 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13066 Handle RESYNC correctly in _proxy_getcaps.
13068 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13070 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13071 (gst_xml_parse_memory), (gst_xml_get_element):
13072 Chain up to parent class in dispose function and also
13073 unref the elements in the toplevel_elements GList.
13074 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13075 Always return a reference in gst_xml_get_element() rather
13076 than only sometimes.
13078 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13079 Don't leak GstXml object.
13081 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13083 * docs/gst/gstreamer-sections.txt:
13084 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13087 * libs/gst/base/gstbasetransform.c:
13088 (gst_base_transform_transform_caps):
13089 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13092 2006-08-21 Edward Hervey <edward@fluendo.com>
13094 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13095 Implement GObject::dispose virtual method in GstXML so we can free the
13096 top_elements GList.
13098 2006-08-21 Wim Taymans <wim@fluendo.com>
13100 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13101 (gst_buffer_create_sub):
13102 Copy duration/offset_end/caps when creating a subbuffer of the
13104 Make the subbuffer read-only when we make the metadata writable for
13105 now. Fixes #351768.
13107 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13108 Added check for metadata copy when creating subbuffers.
13110 2006-08-21 Edward Hervey <edward@fluendo.com>
13112 * libs/gst/base/gstbasetransform.c:
13113 (gst_base_transform_buffer_alloc):
13114 Only call downstream buffer_alloc if transform element is passthrough
13115 or always_in_place. Closes #350449.
13117 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13120 ChangeLog surgery to add comments to previous changes
13122 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13127 * gst/gstpad.c: (gst_pad_set_active):
13128 Be more verbose in the log
13130 * libs/gst/base/gstbasetransform.c:
13131 (gst_base_transform_transform_caps):
13132 Simplify caps to get rid of duplicates, fixes #345444
13134 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13138 Use these optimizations only internally.
13140 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13142 * gst/gstvalue.c: (gst_value_compare_list),
13143 (gst_value_compare_fraction_range),
13144 (gst_value_intersect_fraction_fraction_range),
13145 (gst_value_intersect_fraction_range_fraction_range),
13146 (gst_value_subtract_fraction_fraction_range),
13147 (gst_value_subtract_fraction_range_fraction_range),
13148 (gst_value_get_compare_func), (gst_value_compare),
13149 (gst_value_compare_with_func):
13151 Saves the expensive lookup of the compare function in many cases
13154 2006-08-18 Edward Hervey <edward@fluendo.com>
13156 * tests/check/gst/gstinfo.c: (gst_info_suite):
13157 Disable test that require gstdebug if it wasn't built in core.
13159 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13161 * docs/random/ensonic/logging.txt:
13164 * gst/gstinfo.c: (gst_debug_log_default):
13165 reorder fields, save some columns, add optional color codes for log
13168 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13170 * docs/random/ensonic/logging.txt:
13171 add ideas about making the logs a bit more useful
13173 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13175 * docs/pwg/advanced-events.xml:
13176 * docs/pwg/titlepage.xml:
13177 Update for 0.10 API (#340627). Add myself
13180 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13182 * docs/libs/gstreamer-libs-docs.sgml:
13183 * docs/libs/gstreamer-libs-sections.txt:
13184 * libs/gst/check/gstbufferstraw.c:
13185 Make gstcheck stuff show up in docs (still needs to
13186 be documented properly though).
13188 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13190 * docs/gst/gstreamer-sections.txt:
13192 * gst/gst.c: (init_post):
13193 * gst/gst_private.h:
13194 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13196 * gst/gstquery.c: (gst_query_new_position),
13197 (gst_query_set_position), (gst_query_parse_position),
13198 (gst_query_new_duration), (gst_query_set_duration),
13199 (gst_query_parse_duration), (gst_query_new_convert),
13200 (gst_query_set_convert), (gst_query_parse_convert),
13201 (gst_query_new_segment), (gst_query_set_segment),
13202 (gst_query_parse_segment), (gst_query_new_seeking),
13203 (gst_query_set_seeking), (gst_query_parse_seeking):
13204 Add internal helpers for pre-registering quarks from static strings
13205 and using the quark values directly instead of looking them up when
13206 creating and parsing queries. Can be used for event construction too.
13209 2006-08-16 Wim Taymans <wim@fluendo.com>
13214 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13216 * gst/gstutils.c: (gst_util_set_value_from_string):
13217 Fix memleak (#351502).
13219 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13220 Add unit test for most of gst_util_set_value_from_string()
13221 (not that one would want to encourage use of this function).
13223 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13225 * libs/gst/check/gstcheck.h:
13226 Use const gchar * variables in fail_unless_equals_string
13227 macro to avoid compiler warnings (and don't use tabs for
13230 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13232 * tools/gst-launch.c: (print_tag):
13233 More space on the left for the tag names, to cater
13234 for the 'extended comment' tag (not touching the
13235 string for the first line since it's translated).
13237 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13239 * libs/gst/check/gstcheck.h:
13240 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13241 print something when they fail.
13243 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13245 * docs/gst/gstreamer-sections.txt:
13246 * gst/gsttaglist.c: (_gst_tag_initialize):
13247 * gst/gsttaglist.h:
13248 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13249 Also change merge function for GST_TAG_COMMENT to
13252 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13254 * gst/gstinfo.c: (gst_debug_print_object):
13255 Make GST_PTR_FORMAT print messages as well.
13257 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13258 (GST_START_TEST), (gst_info_suite):
13261 2006-08-14 Edward Hervey <edward@fluendo.com>
13263 * gst/gstelementfactory.c: (gst_element_register):
13264 If the GstElementClass doesn't have a GstElementDetails with all fields
13265 filled up correctly (longname, description AND author), then error out
13266 nicely instead of crashing.
13268 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13270 * gst/gststructure.c:
13271 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13274 Expand on the difference between arrays and lists as we use them.
13276 2006-08-14 Wim Taymans <wim@fluendo.com>
13278 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13279 If the parent state change function failed, don't assume we can safely
13280 stop the source, this will be done when the pads are deactivated.
13282 2006-08-14 Wim Taymans <wim@fluendo.com>
13285 * gst/gsttask.c: (gst_task_join):
13288 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13289 (gst_pad_stop_task):
13290 When pad (de)activation failed for some reason, restore the old
13291 activation mode and set the pad to flushing instead of assuming the
13292 pad is deactivated.
13293 If the _task_join() failed, reinstall the task on the pad so that it can
13294 be stopped later and return an error.
13296 2006-08-11 Andy Wingo <wingo@pobox.com>
13299 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13300 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13301 is only for users of API that don't want to see deprecated
13302 functions in the headers; people that want to compile out
13303 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13304 CFLAGS. Fixes the build of multifdsink, or will soon..
13306 2006-08-11 Wim Taymans <wim@fluendo.com>
13308 * docs/gst/gstreamer-sections.txt:
13309 Add GstClockClass vmethod docs.
13312 Mark #endif with comment for associated #if
13314 * gst/gstclock.c: (gst_clock_id_wait):
13316 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13317 most clock implementations.
13319 Flesh out docs about resolution methods.
13320 API: GstClockClass::wait_jitter
13322 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13323 (gst_system_clock_async_thread),
13324 (gst_system_clock_id_wait_jitter_unlocked),
13325 (gst_system_clock_id_wait_jitter):
13326 Use base class wait_jitter variant for improved performance
13327 due to less clock polling.
13329 2006-08-11 Edward Hervey <edward@fluendo.com>
13331 * gst/gst.c: (gst_init_check), (init_post):
13332 Set gst as being initialized before scanning/updating the registry,
13333 since there might be my python plugin loader that calls gst_init() and
13334 we don't want to loop back in.
13337 2006-08-11 Wim Taymans <wim@fluendo.com>
13339 * docs/design/part-qos.txt:
13340 Bring docs in line with the code. Mostly the sign of the jitter was
13341 wrong in the docs. Fixes #349943.
13344 Fix the docs for the jitter.
13346 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13347 (gst_event_parse_tag), (gst_event_new_buffer_size),
13348 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13349 (gst_event_new_seek), (gst_event_parse_seek),
13350 (gst_event_new_navigation):
13351 Make sure the GstStructure has no parent when creating custom
13353 Add some more argument checking so that we avoid 0.0 rates.
13354 Flesh out the docs for the QoS event some more.
13356 2006-08-11 Wim Taymans <wim@fluendo.com>
13358 * docs/gst/gstreamer-sections.txt:
13359 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13360 (ensure_current_registry_forking), (ensure_current_registry),
13361 (parse_one_option), (parse_goption_arg), (gst_deinit),
13362 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13365 Added API and command line option to disable registry forking in
13366 addition to the environment variable.
13367 Constify some static arrays.
13368 Added some more debug.
13369 Don't deinit twice.
13370 API: gst_registry_fork_is_enabled()
13371 API: gst_registry_fork_set_enabled()
13372 API: --gst-disable-registry-fork command line option
13375 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13377 * gst/gst.c: (gst_init):
13378 Fix typo in error message.
13380 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13382 * libs/gst/controller/gstcontroller.h:
13383 fix ABI size-correction
13385 * tests/check/libs/gdp.c: (gst_dp_suite):
13386 make tests that use deprecated API conditional
13388 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13390 * docs/libs/gstreamer-libs-sections.txt:
13391 * libs/gst/controller/gstcontroller.c:
13392 (_gst_controller_get_property), (_gst_controller_set_property),
13393 (_gst_controller_init), (_gst_controller_class_init):
13394 * libs/gst/controller/gstcontroller.h:
13395 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13396 (gst_object_set_control_rate):
13397 API: add gst_object_{s,g}et_control_rate(), add private data section,
13400 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13401 * libs/gst/dataprotocol/dataprotocol.h:
13402 add deprecation guards to make gtk-doc happy and allow disabling cruft
13404 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13406 * tests/check/Makefile.am:
13407 * tests/check/gst/.cvsignore:
13408 Let's enable the new unit test as well.
13410 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13413 * docs/gst/gstreamer-sections.txt:
13414 * gst/gstconfig.h.in:
13415 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13416 (_gst_info_printf_extension_ptr),
13417 (_gst_info_printf_extension_segment):
13418 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13419 register that lets us easily dump GstSegments into debug
13422 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13423 (info_segment_format_printf_extension), (gst_info_suite):
13424 Add simple unit test that logs a bunch of different segments (not
13425 valgrinded at the moment because of leaks in
13426 gst_debug_add_log_function).
13428 2006-08-09 Edward Hervey <edward@fluendo.com>
13430 * libs/gst/base/gstbasetransform.c:
13431 (gst_base_transform_buffer_alloc):
13432 Even if we can't figure out the proper format to request downstream,
13433 call buffer_alloc() downstream with the input parameters without setting
13434 the caps on the srcpad. This will force negotiation in the chain
13438 2006-08-08 Edward Hervey <edward@fluendo.com>
13440 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13441 Unlinking from a pad without a target is now a perfectly valid case
13442 which should NOT raise an assertion.
13443 This case would happen if a linked ghostpad its target set to NULL after
13444 it was previously linked.
13446 2006-08-08 Edward Hervey <edward@fluendo.com>
13448 * tests/check/libs/gdp.c:
13449 Also comment out the test (see below).
13451 2006-08-08 Edward Hervey <edward@fluendo.com>
13453 * tests/check/libs/gdp.c: (gst_dp_suite):
13454 Use the architecture information from config.h and not gcc macros
13455 in order to properly disable a test that fails on PPC64.
13457 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13459 * gst/gstelement.c: (gst_element_remove_pad):
13460 Don't crash printing the warning if the pad has no parent.
13462 2006-08-02 Wim Taymans <wim@fluendo.com>
13464 * libs/gst/dataprotocol/dataprotocol.c:
13465 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13466 (gst_dp_crc), (gst_dp_header_payload_length),
13467 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13468 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13469 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13470 (gst_dp_event_from_packet), (gst_dp_validate_header),
13471 (gst_dp_validate_payload):
13472 Make debug category static
13473 Constify the crc table.
13474 Do some more arg checking in public functions.
13475 Fix some docs and do some small cleanups.
13477 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13478 Add some more checks to see if GDP deals with bogus input.
13480 2006-07-31 Wim Taymans <wim@fluendo.com>
13482 * gst/gstvalue.c: (gst_value_compare_list):
13483 Fix GstValueList comparison code. Fixes #347293.
13485 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13486 Check to test GstValueList comparison.
13488 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13490 * gst/gstelementfactory.c: (gst_element_factory_create):
13491 Remove unnecessary ref/unref pair
13493 * gst/parse/grammar.y:
13494 Make sure to free the parse buffer on all code paths.
13495 Move a g_free up to the error handler where it's easier to see.
13497 * tests/check/gst/gstevent.c: (test_event):
13498 Extending timeout for downstream travelling events to 10 seconds to
13499 hopefully avoid intermittent failure on the buildbots.
13501 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13502 Don't manually set the state of the src element - it will happen as a
13503 natural consequence of the pipeline changing state, and that way it
13504 will do it in the right order too.
13506 2006-07-31 Wim Taymans <wim@fluendo.com>
13508 * libs/gst/base/gstbasetransform.c:
13509 (gst_base_transform_buffer_alloc):
13510 Use OBJECT_LOCK and refcounting to get the pad caps in the
13511 buffer_alloc function because the caps could change while we are
13512 busy with them. Fixes #349105
13514 2006-07-31 Wim Taymans <wim@fluendo.com>
13516 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13517 Protect _PAD_CAPS with OBJECT_LOCK.
13519 2006-07-31 Wim Taymans <wim@fluendo.com>
13521 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13522 (gst_pad_get_property), (gst_pad_activate_pull),
13523 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13524 (gst_pad_set_activate_function),
13525 (gst_pad_set_activatepull_function),
13526 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13527 (gst_pad_set_getrange_function),
13528 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13529 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13530 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13531 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13532 (gst_pad_set_acceptcaps_function),
13533 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13534 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13535 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13536 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13537 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13538 (gst_pad_configure_sink), (gst_pad_configure_src),
13539 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13540 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13541 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13542 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13543 (gst_pad_send_event):
13544 Use _DEBUG_OBJECT when it makes sense.
13545 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13546 Small cleanups and code reflows.
13547 Avoid caps refcounting in _accept_caps.
13548 Refactor alloc_buffer so that the code performed on the peer is in a
13549 separate function. Also if the pad does not implement a buffer alloc
13550 function, we should still check if the pad is flushing before falling
13551 back to the default allocator.
13553 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13555 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13556 Make all uses of identity and fakesink have silent=true to avoid
13557 serialising every passing data structure, which is breaking tests
13558 on FC4 for some unknown reason.
13560 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13562 * gst/parse/Makefile.am:
13563 * gst/parse/grammar.y:
13564 * gst/parse/parse.l:
13565 Reverted previous patch as it required to bump the flex dependency to
13566 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13568 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13570 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13572 * gst/parse/Makefile.am:
13573 * gst/parse/grammar.y:
13574 * gst/parse/parse.l:
13575 push & pop the state of the lexer for reentrant use case
13578 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13580 * libs/gst/base/gstbasesrc.h:
13581 Note in the docs that the ::newsegment vfunc is not actually used by
13584 2006-07-28 Wim Taymans <wim@fluendo.com>
13586 * libs/gst/base/gstcollectpads.c:
13587 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13588 (gst_collect_pads_clear), (gst_collect_pads_flush),
13589 (gst_collect_pads_event), (gst_collect_pads_chain):
13590 When flushing a pad, also clear the queued buffer so that we don't
13591 accidentally use it when we shouldn't.
13592 Fix leaks by inreffing incomming buffer.
13593 Flush out queued buffers in case of errors.
13596 2006-07-28 Wim Taymans <wim@fluendo.com>
13598 * docs/random/phonon-gst:
13599 Random notes about a Phonon backend.
13601 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13603 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13605 * tests/check/libs/gdp.c: (gst_dp_suite):
13606 Take a whack at fixing the ppc compile using a different define to
13607 disable the broken test.
13609 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13610 Remove excess g_print()
13612 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13614 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13615 Oops, meant to uncomment this line too to dampen the noise a bit.
13617 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13619 * gst/parse/grammar.y:
13620 * gst/parse/parse.l:
13621 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13622 (GST_START_TEST), (parse_suite):
13623 Fix some of the leaks exposed by extending the parse-launch testsuite,
13624 and move the 3 I can't figure out into a separate test that won't run
13625 the pipelines unless the appropriate line is uncommented.
13627 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13629 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13630 Requesting 0 bytes before the end of the file should result in
13631 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13634 2006-07-27 Wim Taymans <wim@fluendo.com>
13636 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13637 Fix useless assert, a uint is always positive.
13639 * gst/gststructure.c: (gst_structure_nth_field_name),
13640 (gst_structure_foreach), (gst_structure_map_in_place):
13641 Check input arguments for public functions to avoid obvious crashes.
13643 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13644 * plugins/elements/gstfakesink.h:
13645 Do less useless typechecking.
13647 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13649 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13650 Do not use mmap() by default since there are a number of error
13651 conditions that we would like to handle in a non-fatal way that
13652 will result in a SIGBUS if we use mmap(). Examples: external
13653 devices (USB harddrive, portable music player) being unplugged
13654 while in use; file on mounted CD/DVD that can't be read because
13655 the medium is partly damaged. Fixes #348455 and #348475.
13657 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13660 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13661 rates are a gdouble
13663 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13665 * gst/gstregistry.c:
13666 Move big documentation comment into class section header, so that it
13667 appears in the API docs.
13669 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13671 * docs/gst/gstreamer-sections.txt:
13672 Oops. Commit the docs additions too for new API.
13673 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13675 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13677 * gst/gststructure.c: (gst_structure_id_set),
13678 (gst_structure_id_set_valist):
13679 * gst/gststructure.h:
13680 Add API for setting values into structures without performing
13681 a quark lookup, if the appropriate quark is already known.
13683 API: gst_structure_id_set
13684 API: gst_structure_id_set_valist
13686 * gst/parse/grammar.y:
13687 * gst/parse/parse.l:
13688 Remove some dead code shown by the coverage information.
13689 Don't throw a critical g_warning when encountering a syntax error,
13690 just warn and let the normal error path handle it.
13692 * plugins/elements/gstelements.c:
13693 Bump the rank of filesink up to PRIMARY so that it is preferred over
13694 gnomevfssink for file:// sink uri's
13696 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13697 (GST_START_TEST), (run_delayed_test),
13698 (gst_parse_test_element_base_init),
13699 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13700 (gst_parse_test_element_change_state),
13701 (gst_register_parse_element), (parse_suite):
13702 Beef up the tests for parse syntax to check that more error cases
13703 fail as they are supposed to. Increases the test coverage a bit.
13705 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13707 * docs/manual/basics-elements.xml:
13708 Fix gst_element_link() example.
13711 Mention in API docs that one should usually gst_bin_add()
13712 elements to a bin or pipeline before doing the linking.
13714 2006-07-26 Wim Taymans <wim@fluendo.com>
13716 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13717 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13718 Avoid function call for known types by keeping the buffer and
13719 subbuffer GType global.
13721 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13722 Random silly optimisations in read() path.
13724 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13726 * tools/gst-launch.c: (main):
13727 If the top-level of the parse is a normal bin, it doesn't do the
13728 right logic to run as a top-level element, so place it inside a
13731 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13733 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13734 Remove superfluous g_object_notify() calls, GObject does
13735 that for us automatically.
13737 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13740 on Win32, use dllspec to export the debug category symbols
13742 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13744 * gst/gsttaglist.c: (_gst_tag_initialize):
13745 Allow more than one GST_TAG_IMAGE per taglist.
13747 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13749 * gst/gstminiobject.c:
13751 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13752 (gst_fd_src_create):
13753 log recurring events at LOG level
13754 add more debug for when the fd gets set
13756 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13758 * gst/gstparse.c: (gst_parse_launch):
13759 Also remove reentrance checks if flex is MT safe (#348179)
13760 Fix my empty ChangeLog entry below
13762 2006-07-21 Andy Wingo <wingo@pobox.com>
13764 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13766 * libs/gst/check/Makefile.am
13767 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13768 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13769 * libs/gst/check/gstbufferstraw.h:
13770 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13771 functions, thus proving I am still a GStreamer haxor. OK I wrote
13772 them a long time ago, but anyways.
13774 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13777 * gst/gstparse.c: (gst_parse_launch):
13778 Check for flex version and omit mutex if we have a MT save flex
13781 2006-07-21 Wim Taymans <wim@fluendo.com>
13783 * gst/gstparse.c: (gst_parse_launch):
13784 Protect recursive calls to _parse with a recursive mutex
13787 2006-07-21 Wim Taymans <wim@fluendo.com>
13789 * tests/check/gst/gstpad.c: (GST_START_TEST):
13792 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13794 * gst/gstparse.c: (gst_parse_launch):
13795 Do not hang on recursive usage of gst_parse_launch()
13797 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13799 * gst/gsttaglist.c:
13800 Add some more docs, comments and FIXME 0.11s here and there
13801 and also fix some typos.
13803 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13805 * gst/gstsegment.h:
13806 Convert tabs to spaces for better readability.
13808 2006-07-20 Edward Hervey <edward@fluendo.com>
13810 * tests/check/libs/gdp.c: (gst_dp_suite):
13811 the test_buffer test fails at line 140 on ppc64 at the following
13813 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13814 GST_BUFFER_FLAG_IN_CAPS),
13815 "GST_BUFFER_IN_CAPS flag should have been copied !");
13816 See bug #348114 for more details.
13818 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13820 * docs/pwg/advanced-scheduling.xml:
13822 Fix typos (#348000).
13824 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13826 * docs/pwg/intro-basics.xml:
13827 Fix wrong links (#347927).
13829 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13831 * gst/gstregistry.h:
13832 * gst/gstregistryxml.c: (load_feature),
13833 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13834 * win32/common/config.h:
13835 make --disable-index work (#342564)
13837 2006-07-18 Wim Taymans <wim@fluendo.com>
13839 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13843 The attached patch adds two missing defines to gsttrace.h when tracing
13844 is disabled. It also corrects one existing define.
13847 2006-07-17 Wim Taymans <wim@fluendo.com>
13849 * docs/gst/gstreamer-sections.txt:
13850 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13852 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13853 Add two functions to check and change the SIGSEGV behaviour
13854 when loading plugins.
13855 Don't mess with the SIGSEGV handler when we were told not to.
13857 API: gst_segtrap_is_enabled
13858 API: gst_segtrap_set_enabled
13860 2006-07-14 Wim Taymans <wim@fluendo.com>
13862 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13863 * tests/check/elements/filesrc.c: (GST_START_TEST):
13864 Revert fix for regression in #347408 after release.
13866 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13868 Patch by: Antoine Tremblay <hexa00 at gmail com>
13870 * gst/gstutils.c: (gst_element_unlink):
13871 Free iterator when done (#347311).
13873 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13874 And add a test case for this.
13876 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13879 Bump nano back to CVS
13881 === release 0.10.9 ===
13883 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13886 releasing 0.10.9, "On the road again"
13888 2006-07-13 Wim Taymans <wim@fluendo.com>
13890 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13891 * tests/check/elements/filesrc.c: (GST_START_TEST):
13892 Revert pull-0 fix for release. Disable check. Fixes #347408.
13894 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13896 * libs/gst/dataprotocol/dataprotocol.c:
13897 (gst_dp_event_from_packet_1_0):
13898 Fixes #347337: failure to deserialize event packets with
13899 empty payload (only event type)
13901 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13904 do not install a .c file in the header directory
13906 2006-07-13 Edward Hervey <edward@fluendo.com>
13908 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13909 GhostPad no longer implicitely use the padtemplates of the targets.
13912 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13914 * gst/gstvalue.c: (gst_value_compare_list),
13915 (gst_value_compare_array), (_gst_value_initialize):
13916 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13917 Make GstValueArray comparison be order dependent as designed.
13918 Add checks for value lists and value array comparisons.
13921 2006-07-11 Edward Hervey <edward@fluendo.com>
13923 * gst/gstbin.c: (activate_pads),
13924 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13925 (gst_bin_change_state_func):
13926 (de)activate src pads before calling state_change on the childs.
13927 This is to avoid the case where a src ghostpad is blocked (holding the
13928 stream lock), which would block the deactivation of the ghostpad's
13930 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13931 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13932 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13933 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13934 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13935 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13936 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13937 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13938 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13939 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13940 (gst_ghost_pad_class_init),
13941 (gst_ghost_pad_internal_do_activate_push),
13942 (gst_ghost_pad_internal_do_activate_pull),
13943 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13944 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13945 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13946 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13947 GhostPads now create their internal GstProxyPad at creation (and not
13948 when they're linked, as it was being done previously).
13949 The internal and target pads are linked straight away.
13950 The data will also travel through the other pad in order to make
13951 pad blocking and probes non-hackish (the probe/block now really happens
13952 on the GhostPad and not on the target).
13953 * gst/gstpad.c: (gst_pad_set_blocked_async),
13954 (gst_pad_link_prepare), (gst_pad_push_event):
13955 Remove previous ghostpad cruft.
13956 * gst/gstutils.c: (gst_pad_add_data_probe),
13957 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13958 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13959 (gst_pad_remove_buffer_probe):
13960 Remove previous ghost pad cruft.
13961 Added more detailed debug statements.
13962 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13963 Fix the testsuite for refcounting changes.
13964 The comments about who has references were correct, but the refcount
13965 being checked wasn't the same (!?!).
13969 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13971 * docs/gst/gstreamer-sections.txt:
13972 * gst/gstconfig.h.in:
13973 More docs for configuration options, add docs to gtk-doc.
13975 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13978 * gst/gstconfig.h.in:
13979 * win32/common/config.h:
13980 Fix build when disabling tracing (fixes #344016). Also start to document
13981 the defines that disable the sub-systems.
13983 2006-07-10 Edward Hervey <edward@fluendo.com>
13985 * gst/gst.c: (ensure_current_registry_forking):
13986 let's make valgrind happy...
13988 2006-07-09 Wim Taymans <wim@fluendo.com>
13990 * gst/gstelement.c: (activate_pads),
13991 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13992 Better pad activation code: Reset the collect value too on resync.
13995 2006-07-09 Wim Taymans <wim@fluendo.com>
13997 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13998 (gst_pad_activate_push):
13999 Use some more macros where it makes sense.
14000 Allow pad mode switching instead of asserting. When a pad
14001 is activated in one mode and we activate it in another,
14002 deactivate it first before activating it in a different mode.
14005 2006-07-08 Andy Wingo <wingo@pobox.com>
14007 * tools/gst-launch.c (main): Handle err == NULL.
14009 * gst/gst.c (init_post, ensure_current_registry)
14010 (ensure_current_registry_forking)
14011 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14012 factoring out the registry scanning into separate functions. Don't
14013 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14014 Better environment var name/interface suggestions accepted.
14016 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14018 * gst/gstobject.c: (gst_object_set_name_default),
14019 (gst_object_set_name):
14020 Random micro-optimisation: don't use a hash table
14021 with strings as keys and the usual strdup/strcmp
14022 involved, but rather just use the GQuark of the
14023 type name as key, since it needs to be looked up
14024 anyway to get the type name string.
14026 * tests/check/gst/gstobject.c: (GST_START_TEST):
14029 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14031 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14032 (gst_bin_iterate_all_by_interface):
14033 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14034 GTypes are gulongs and thus the top 4 bytes might be cut
14035 off on some platforms when doing GPOINTER_TO_INT, leading
14036 to invalid GTypes and bad things happening (see RH bug #179654).
14037 Also add a check to make sure the type passed in is really
14040 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14045 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14049 * gst-element-check.m4:
14050 * gst-element-check.m4.in:
14051 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14052 instead of the unversioned gst-inspect (#324176, #168659).
14054 2006-07-06 Wim Taymans <wim@fluendo.com>
14056 * gst/gstmessage.h:
14057 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14060 2006-07-06 Wim Taymans <wim@fluendo.com>
14062 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14063 (gst_base_src_wait), (gst_base_src_update_length),
14064 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14065 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14066 (gst_base_src_loop), (gst_base_src_start),
14067 (gst_base_src_activate_pull):
14069 blocksize == 0 now means the default blocksize when working in push
14071 Remove some pointless asserts in _wait function.
14072 Fix offset/length calculations and EOS handling. We can now pull 0
14073 bytes as well, which is allowed.
14074 use _check_get_range() to decide if we can operate in _pull based
14076 Fix refcounting leak when check_get_range function was not
14078 API GstBaseSrc::blocksize range can be 0 too now (default)
14080 * tests/check/elements/filesrc.c: (GST_START_TEST),
14082 Added check to test _get_range() behaviour.
14084 2006-07-06 Wim Taymans <wim@fluendo.com>
14086 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14087 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14088 (gst_pad_pull_range):
14090 Lots of comments and docs added to the pad functions.
14091 Flesh out the expected behaviour of the get_range() functions.
14093 2006-07-06 Wim Taymans <wim@fluendo.com>
14098 * gst/gstiterator.h:
14102 Remove comma at end of enumerator list.
14104 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14106 * win32/common/libgstbase.def:
14107 * win32/common/libgstdataprotocol.def:
14108 * win32/common/libsgtreamer.def:
14109 Add new exported functions.
14111 2006-07-05 Wim Taymans <wim@fluendo.com>
14113 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14114 Add some more docs here and there.
14116 2006-07-05 Wim Taymans <wim@fluendo.com>
14118 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14119 (gst_base_sink_loop), (gst_base_sink_get_position):
14120 When operating in pull mode update the offset so that we
14123 2006-07-05 Wim Taymans <wim@fluendo.com>
14125 * gst/gstregistryxml.c: (read_string):
14126 Avoid strdup. (will happen in libxml, but hey!)
14129 Add some more docs.
14131 2006-07-05 Wim Taymans <wim@fluendo.com>
14133 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14134 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14135 (gst_buffer_suite):
14136 No point in checking if the size of the subbuffer > 0, the
14137 code handles it correclty as demonstrated by unit test.
14138 Also add a unit test for the zero sized _new_and_alloc and
14139 _copy. Fixes #346663.
14141 2006-07-05 Wim Taymans <wim@fluendo.com>
14143 * libs/gst/base/gstbasetransform.c:
14144 (gst_base_transform_prepare_output_buffer),
14145 (gst_base_transform_buffer_alloc),
14146 (gst_base_transform_handle_buffer):
14147 Make sure the buffer we pass to transform_ip has a refcount of
14148 1 and thus is writable. Fixes #343196
14150 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14152 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14153 (gst_file_src_init), (gst_file_src_set_property),
14154 (gst_file_src_get_property), (gst_file_src_map_region):
14155 * plugins/elements/gstfilesrc.h:
14156 Add "sequential" property, off by default, to use madvise and hint
14157 to the kernel that sequential access is desired.
14158 Touch all retrieved pages by default to ensure they are pulled
14159 into memory. (Closes #345720)
14161 2006-07-03 Wim Taymans <wim@fluendo.com>
14163 * docs/design/part-block.txt:
14164 * docs/design/part-dynamic.txt:
14165 Small docs updates.
14167 2006-07-03 Wim Taymans <wim@fluendo.com>
14169 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14170 (gst_caps_unref), (gst_static_caps_get),
14171 (gst_caps_append_structure):
14172 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14173 Use GSlice when the glib we build against is >= 2.10
14175 2006-07-03 Wim Taymans <wim@fluendo.com>
14177 * gst/gstelement.c: (gst_element_pads_activate):
14178 Small cleanup in pad activation code.
14180 2006-07-03 Wim Taymans <wim@fluendo.com>
14182 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14184 * gst/gst-i18n-app.h:
14185 * gst/gst-i18n-lib.h:
14186 * tools/gst-inspect.c: (print_signal_info):
14187 The attached patch will make the inclusion of gettext.h unconditional in
14188 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14189 libintl.h in tools/gst-inspect.c.
14190 This allows use of --disable-nls again and fixes #344642.
14192 2006-07-03 Edward Hervey <edward@fluendo.com>
14194 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14195 Implement pad blocking on events according to part-block.txt.
14196 More comments on behaviour.
14197 * tests/check/gst/gstevent.c: (test_event):
14198 Send event to peer pad of blocked pad (else it will block).
14200 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14202 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14203 (gst_check_run_suite):
14204 if we get the wrong message, give us the types as string
14205 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14207 * tests/check/elements/filesrc.c: (GST_START_TEST):
14208 add a test for trying to open a non-existing file
14210 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14213 add a test for adding self
14215 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14217 * libs/gst/check/gstcheck.h:
14218 add some assert_ as alias for fail_unless_*
14219 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14220 increase test coverage
14222 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14225 include lcov.mak for lcov coverage generation
14226 * tools/Makefile.am:
14229 2006-07-02 Edward Hervey <edward@fluendo.com>
14231 * tests/check/elements/.cvsignore:
14234 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14237 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14238 * tests/check/Makefile.am:
14239 clean up gcov files
14241 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14243 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14244 remove gst_caps_simplify; it was not declared and not used
14245 and deprecated in 0.8
14247 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14249 * docs/faq/gst-uninstalled:
14250 don't put empty paths on PYTHONPATH
14251 * docs/gst/gstreamer-sections.txt:
14252 remove some symbols that are not there
14254 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14256 * gst/gstcaps.c: (gst_caps_compare_structures):
14258 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14259 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14262 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14264 * libs/gst/dataprotocol/Makefile.am:
14265 build dataprotocol test by linking to the lib, instead of
14266 compiling the source, so we get coverage
14267 * tests/check/Makefile.am:
14268 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14269 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14270 add a test for filesrc
14272 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14274 * tests/check/gst/gststructure.c: (GST_START_TEST),
14275 (gst_structure_suite):
14276 Push coverage from 59.04% to 70.00%
14278 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14280 * tests/check/Makefile.am:
14281 gst-inspect every element; this makes sure that we also get
14282 coverage on element's get/set functions
14284 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14287 set CFLAGS and friends to -O0 if gcov is being used
14290 * libs/gst/base/Makefile.am:
14291 * libs/gst/check/Makefile.am:
14292 * libs/gst/controller/Makefile.am:
14293 * libs/gst/dataprotocol/Makefile.am:
14294 * libs/gst/net/Makefile.am:
14295 * plugins/elements/Makefile.am:
14296 * plugins/indexers/Makefile.am:
14297 add makefile rules to generate gcov data and clean up
14298 * tests/check/Makefile.am:
14299 add a coverage target that generates an html overview
14302 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14304 * tests/check/elements/fakesink.c:
14305 * tests/check/elements/fakesrc.c:
14306 * tests/check/elements/fdsrc.c:
14307 * tests/check/elements/identity.c:
14308 * tests/check/generic/sinks.c: (gst_sinks_suite):
14309 * tests/check/generic/states.c:
14310 * tests/check/gst/gst.c:
14311 * tests/check/gst/gstabi.c:
14312 * tests/check/gst/gstbin.c:
14313 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14314 * tests/check/gst/gstbus.c: (gst_bus_suite):
14315 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14316 * tests/check/gst/gstelement.c:
14317 * tests/check/gst/gstevent.c: (gst_event_suite):
14318 * tests/check/gst/gstghostpad.c:
14319 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14320 * tests/check/gst/gstmessage.c: (gst_message_suite):
14321 * tests/check/gst/gstminiobject.c:
14322 * tests/check/gst/gstobject.c:
14323 * tests/check/gst/gstpad.c:
14324 * tests/check/gst/gstpipeline.c:
14325 * tests/check/gst/gstplugin.c:
14326 * tests/check/gst/gstquery.c: (gst_query_suite):
14327 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14328 * tests/check/gst/gststructure.c:
14329 * tests/check/gst/gstsystemclock.c:
14330 * tests/check/gst/gsttag.c:
14331 * tests/check/gst/gsttask.c: (gst_task_suite):
14332 * tests/check/gst/gstutils.c:
14333 * tests/check/gst/gstvalue.c:
14334 * tests/check/libs/adapter.c:
14335 * tests/check/libs/basesrc.c:
14336 * tests/check/libs/collectpads.c:
14337 * tests/check/libs/controller.c:
14338 * tests/check/libs/gdp.c: (gst_dp_suite):
14339 * tests/check/libs/gstnetclientclock.c:
14340 * tests/check/libs/gstnettimeprovider.c:
14341 * tests/check/libs/libsabi.c: (libsabi_suite):
14342 * tests/check/libs/typefindhelper.c:
14343 * tests/check/pipelines/cleanup.c:
14344 * tests/check/pipelines/parse-launch.c:
14345 * tests/check/pipelines/simple-launch-lines.c:
14346 * tests/check/pipelines/stress.c: (stress_suite):
14349 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14351 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14352 * libs/gst/check/gstcheck.h:
14353 create a macro and function so that the simple unit test
14354 case can be just one macro to create main()
14356 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14358 * gst/gstbin.c: (gst_bin_restore_thyself):
14359 * gst/gstxml.c: (gst_xml_make_element):
14360 Fix deserialisation from XML. Set parent manually
14361 instead of using gst_bin_add(), since gst_bin_add()
14362 will unlink all pads of the element being added.
14365 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14367 Patch by: Peter Kjellerstedt <pkj at axis com>
14369 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14370 Fix missing g_strdup() and double free when using the
14371 --gst-plugin-load command line option (#346097).
14373 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14376 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14378 * libs/gst/net/gstnetclientclock.c:
14379 * libs/gst/net/gstnettimeprovider.c:
14380 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14382 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14384 * docs/manual/advanced-dataaccess.xml:
14385 Fix buffer probe example compilation in
14388 2006-06-22 Edward Hervey <edward@fluendo.com>
14390 * gst/gstelement.c: (gst_element_pads_activate):
14391 We need to deactivate src pads first and then sink pads.
14392 The reason is the src pads might be blocking while holding the streaming
14393 lock, so we need to deactivate them first so that deactivating the sink
14394 pads doesn't block (since it will require the streaming lock).
14396 2006-06-22 Wim Taymans <wim@fluendo.com>
14398 * libs/gst/base/gstbasetransform.c:
14399 (gst_base_transform_buffer_alloc):
14400 Forgot to remove two unneeded unrefs.
14401 Simplify a check _is_equal allready checks the obvious case.
14403 2006-06-22 Wim Taymans <wim@fluendo.com>
14405 * docs/design/part-block.txt:
14406 Some docs about what pad_block should do.
14408 2006-06-22 Wim Taymans <wim@fluendo.com>
14410 * gst/gstcaps.c: (gst_caps_replace):
14411 Fix crasher when passed NULL. Doc clarification.
14412 Optimize for the trivial case.
14414 * gst/gstpipeline.c: (gst_pipeline_change_state):
14417 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14418 Small documentation cleanup.
14420 * libs/gst/base/gstbasetransform.c:
14421 (gst_base_transform_buffer_alloc):
14422 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14423 is what we need and it avoids a whole lot of redundant
14424 refcount operations.
14426 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14428 Patch by: Philip Jägenstedt <philip at lysator liu se>
14430 * docs/manual/advanced-dataaccess.xml:
14431 Fix 'Embedding static elements' section to use
14432 GST_PLUGIN_DEFINE_STATIC (#345607).
14434 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14436 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14437 Attempt to 'fix' spuriously failing test case: it seems like the
14438 timeout of half a second is simply too small when the system is under
14439 load otherwise, and the timeout doesn't really seem to serve any
14440 particular purpose here. Give the pipeline a few seconds to preroll
14441 first, and then give it another half a second to go from PAUSED to
14442 PLAYING and marshal the message into the main thread.
14444 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14446 * tools/gst-feedback-m.m:
14447 Don't only use unversioned tools, try versioned tools as well
14450 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14452 * gst/gstbus.c: (gst_bus_class_init):
14453 Fix some typos, make docs more explicit.
14455 2006-06-20 Wim Taymans <wim@fluendo.com>
14457 * tests/check/gst/gstghostpad.c: (block_callback),
14458 (GST_START_TEST), (gst_ghost_pad_suite):
14459 Added some more ghostpad tests, mainly blocking
14462 2006-06-16 Wim Taymans <wim@fluendo.com>
14464 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14465 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14466 (gst_file_sink_event), (gst_file_sink_render):
14467 * plugins/elements/gstfilesink.h:
14468 Check if we can seek in the file instead of assuming
14469 we always can. Post an error when we are asked to seek in a
14470 non-seekable file (like a fifo). Fixes #343312.
14473 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14475 * tools/gst-launch.1.in:
14476 Un-garble (fourcc) bit in filtered caps section.
14478 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14480 * docs/manual/advanced-autoplugging.xml:
14481 * docs/manual/basics-helloworld.xml:
14482 * docs/manual/highlevel-components.xml:
14483 Don't leak bus reference in sample code.
14485 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14488 Add default for new --enable-plugin-docs switch.
14491 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14494 * docs/Makefile.am:
14495 Use new ENABLE_PLUGIN_DOCS conditional.
14497 2006-06-14 Wim Taymans <wim@fluendo.com>
14499 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14500 Make it clear with a FIXME and a real define what the #if 0
14501 previously disabled.
14503 2006-06-14 Wim Taymans <wim@fluendo.com>
14505 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14506 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14507 * libs/gst/base/gstbasetransform.c:
14508 (gst_base_transform_sink_eventfunc):
14509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14510 Don't randomly and silently reset a segment when the format
14511 changes as this is a bug somewhere upstream. Fixes #330379.
14513 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14515 Patch by: Wouter Paesen <wouter at kangaroot net>
14517 * libs/gst/controller/gstcontroller.c:
14518 (gst_controlled_property_new):
14519 Fix controlling of float properties (#344849).
14521 * tests/check/libs/controller.c:
14522 (gst_test_mono_source_get_property),
14523 (gst_test_mono_source_set_property),
14524 (gst_test_mono_source_class_init), (GST_START_TEST):
14525 While we're at it, add some float stuff to unit test.
14527 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14530 * docs/images/gdp-header.svg:
14532 * docs/libs/Makefile.am:
14533 * docs/libs/gdp-header.png:
14534 * libs/gst/dataprotocol/dataprotocol.c:
14535 add it to the API docs
14536 * docs/manual/intro-motivation.xml:
14539 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14541 * gst/gst.c: (scan_and_update_registry), (init_post):
14542 If the fork()'ed child process can't write the updated registry cache
14543 file to disk for some reason, make it exit with a failure exit code,
14544 so that the parent can then re-scan the plugins itself and update the
14545 registry structures in memory and work with that (rather than failing
14546 when creating elements because seemingly no plugins are available).
14547 Refactor registry scanning code into separate function for this and
14548 also separate fork() and non-fork() code paths. Fixes #344748.
14550 2006-06-13 Wim Taymans <wim@fluendo.com>
14552 * docs/manual/advanced-dataaccess.xml:
14553 Fix wrong PluginDesc. Fixes #344755.
14555 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14557 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14558 Fix silly bug that prevented us from creating
14559 ~/.gstreamer-0.10 and writing the registry in one
14560 go (the first call to g_mkstemp() would overwrite the
14561 placeholder in the template string, so the second call
14562 to g_mkstemp() after creating the missing directory
14563 would then error out with 'invalid argument').
14565 2006-06-13 Edward Hervey <edward@fluendo.com>
14567 * gst/gst.c: (init_post):
14570 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14572 * gst/glib-compat-private.h:
14573 * gst/glib-compat.c:
14574 * gst/glib-compat.h:
14575 * gst/gstvalue.c: (gst_value_serialize_flags):
14576 remove GLib 2.6 compatibility code
14578 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14580 * gst/parse/Makefile.am:
14581 Fix build with 'make -j N' even more (#340016).
14583 2006-06-12 Wim Taymans <wim@fluendo.com>
14585 * docs/gst/gstreamer-sections.txt:
14588 2006-06-12 Wim Taymans <wim@fluendo.com>
14590 * gst/gstsegment.c: (gst_segment_set_duration),
14591 (gst_segment_set_last_stop), (gst_segment_set_seek),
14592 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14593 (gst_segment_to_running_time), (gst_segment_clip):
14594 Use G_UNLIKELY to help the compiler a bit.
14596 2006-06-12 Wim Taymans <wim@fluendo.com>
14598 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14600 * gst/gstevent.c: (gst_event_get_type):
14601 * gst/gstmessage.c:
14602 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14604 constify quark registration strings. Fixes #344115
14605 Avoid unneeded type checking is _pad_push() by internally
14606 calling gst_pad_chain_unchecked().
14608 2006-06-12 Wim Taymans <wim@fluendo.com>
14610 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14611 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14612 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14613 (gst_buffer_is_span_fast), (gst_buffer_span):
14614 Init _type for consistency.
14615 Use _FLAGS macro to avoid type check.
14616 Avoid unneeded type checks in subbufer code.
14618 2006-06-12 Wim Taymans <wim@fluendo.com>
14620 * gst/gst.c: (gst_debug_help):
14621 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14622 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14623 (gst_plugin_feature_list_free):
14624 * gst/gstregistry.c: (gst_registry_add_plugin),
14625 (gst_registry_add_feature), (gst_registry_plugin_filter),
14626 (gst_registry_feature_filter), (gst_registry_find_plugin),
14627 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14628 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14629 * gst/gstregistryxml.c: (load_feature),
14630 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14631 * gst/gstminiobject.c: (gst_mini_object_unref),
14632 (gst_mini_object_replace), (gst_value_mini_object_free),
14633 (gst_value_mini_object_copy):
14634 Use _CAST macros to avoid unneeded type checking.
14635 Added some more G_UNLIKELY.
14637 2006-06-12 Wim Taymans <wim@fluendo.com>
14640 Avoid unneeded type checking.
14641 API: GST_BUFFER_IS_DISCONT
14643 * gst/gstminiobject.h:
14644 Avoid type check in flag accessor.
14646 * gst/gstelementfactory.h:
14648 * gst/gstpluginfeature.h:
14650 API: GST_ELEMENT_FACTORY_CAST
14651 API: GST_PLUGIN_CAST
14652 API: GST_PLUGIN_FEATURE_CAST
14654 2006-06-12 Wim Taymans <wim@fluendo.com>
14656 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14657 (gst_object_unref):
14658 Add G_UNLIKELY in type registration.
14659 Avoid type check in _ref/_unref since that is also
14662 2006-06-12 Wim Taymans <wim@fluendo.com>
14664 * gst/gsterror.c: (gst_g_error_get_type):
14665 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14666 (gst_static_pad_template_get_type):
14667 * gst/gsttaglist.c: (gst_tag_list_get_type):
14668 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14669 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14670 * gst/gsturi.c: (gst_uri_handler_get_type):
14671 * gst/gstvalue.c: (gst_date_get_type):
14672 * gst/gstxml.c: (gst_xml_get_type):
14673 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14674 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14675 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14676 Add G_UNLIKELY in type registration.
14678 2006-06-12 Wim Taymans <wim@fluendo.com>
14680 * tools/gst-inspect.c: (print_signal_info):
14681 Properly print enum values.
14683 2006-06-12 Wim Taymans <wim@fluendo.com>
14685 * gst/gstinfo.c: (gst_debug_set_active),
14686 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14688 Add some G_[UN]LIKELY.
14689 Maintain __gst_debug_min to avoid formatting the arguments of
14690 debug messages that will be dropped anyway to avoid a lot of
14691 overhead from the debugging system.
14693 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14696 * po/POTFILES.skip:
14697 add missing files containing translatable strings, tell intltool about
14700 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14702 * tests/check/libs/.cvsignore:
14703 add test-binary to ignore list
14705 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14707 * docs/libs/gstreamer-libs-docs.sgml:
14708 reorder (put dp into a chapter) and indent
14710 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14715 === release 0.10.8 ===
14717 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14720 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14722 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14724 * gst/gst.c: (init_post):
14725 move pid declaration to declaration block
14727 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14729 * gst/gst.c: (init_post):
14730 use _exit() instead of exit() in our forked child; this ensures
14731 that none of the registered exit handlers from whatever is using
14732 GStreamer get executed. This fixes gnome-mixer-applet failing
14733 to load, because ORBit would shut down.
14734 Spotted by: Edward Hervey <edward@fluendo.com>
14735 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14738 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14743 === release 0.10.7 ===
14745 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14748 releasing 0.10.7, "Soepeke, ik zie ou"
14750 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14773 * win32/common/config.h:
14774 0.10.6.2 prerelease
14776 2006-06-07 Wim Taymans <wim@fluendo.com>
14778 * gst/gstindex.c: (gst_index_gtype_resolver):
14779 * tools/gst-xmlinspect.c: (print_plugin_info):
14780 Fix leak spotted by coverity checker. Fixes #343827
14781 Fix another other leak found by paolo borelli.
14783 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14785 * libs/gst/dataprotocol/dataprotocol.c:
14786 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14787 (gst_dp_version_get_type), (gst_dp_init),
14788 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14789 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14790 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14791 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14792 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14793 (gst_dp_packetizer_free):
14794 * libs/gst/dataprotocol/dataprotocol.h:
14795 API: add a GstDPPacketizer object, and create/free functions
14796 API: add GstDPVersion enum
14797 Add 1.0 event function that uses the string serialization
14798 Serialize more useful buffer flags
14801 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14803 * tests/check/Makefile.am:
14804 * tests/check/gst/gstabi.c:
14805 * tests/check/gst/struct_ppc64.h:
14806 * tests/check/libs/libsabi.c:
14807 * tests/check/libs/struct_ppc64.h:
14808 add ppc64 structure sizes
14810 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14812 * tests/check/Makefile.am:
14813 * tests/check/gst/gstabi.c:
14814 * tests/check/gst/struct_x86_64.h:
14815 * tests/check/libs/libsabi.c:
14816 * tests/check/libs/struct_x86_64.h:
14817 generate and add structure size lists for x86_64
14819 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14821 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14822 * libs/gst/check/gstcheck.h:
14823 factor out the method from tests that checks size of structures,
14824 and add code to generate the header containing these sizes
14825 * tests/check/gst/gstabi.c: (GST_START_TEST):
14826 * tests/check/gst/struct_i386.h:
14827 * tests/check/libs/libsabi.c: (GST_START_TEST):
14828 * tests/check/libs/struct_i386.h:
14831 2006-06-06 Michael Smith <msmith@fluendo.com>
14833 * gst/gstsegment.h:
14834 Don't use c++-style comments, fixes #343929
14836 2006-06-05 Edward Hervey <edward@fluendo.com>
14839 plugin_paths is not used if we build without registry support.
14841 * gst/gstsegment.c: (gst_segment_copy):
14842 _copy() was always returning NULL...
14844 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14846 * libs/gst/dataprotocol/dataprotocol.c:
14847 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14848 (gst_dp_packet_from_event):
14849 factor out CRC code
14851 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14853 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14854 make sure we unset caps
14856 2006-06-02 Michael Smith <msmith@fluendo.com>
14858 * libs/gst/check/gstcheck.c: (gst_check_init),
14859 (gst_check_chain_func):
14860 * libs/gst/check/gstcheck.h:
14861 Add a cond/mutex to the check support lib, signal this whenever we
14862 add to the buffers list. This will allow tests to not busy-wait on
14865 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14867 * libs/gst/dataprotocol/dataprotocol.c:
14868 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14869 (gst_dp_packet_from_event):
14870 factor out some common header init code
14872 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14874 * docs/libs/gstreamer-libs-sections.txt:
14875 * docs/libs/tmpl/gstdataprotocol.sgml:
14876 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14877 * libs/gst/dataprotocol/dataprotocol.h:
14878 API: make gst_dp_crc() public
14880 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14882 * plugins/indexers/gstindexers.c: (plugin_init):
14883 conditionally register fileindexer (fixes #343598)
14885 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14887 * gst/gsttagsetter.h:
14888 Can't cast ifaces to a class
14890 * libs/gst/net/gstnetclientclock.h:
14891 * libs/gst/net/gstnettimeprovider.h:
14892 * plugins/elements/gstfakesink.h:
14893 * plugins/elements/gstfakesrc.h:
14894 * plugins/elements/gstfdsink.h:
14895 * plugins/elements/gstfdsrc.h:
14896 * plugins/elements/gstfilesink.h:
14897 * plugins/elements/gstfilesrc.h:
14898 * plugins/elements/gstidentity.h:
14899 * plugins/elements/gstqueue.h:
14900 * plugins/elements/gsttee.h:
14901 * plugins/indexers/gstfileindex.c:
14902 * plugins/indexers/gstmemindex.c:
14903 * tests/old/examples/plugins/example.h:
14904 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14906 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14908 * libs/gst/dataprotocol/dataprotocol.c:
14909 (gst_dp_header_from_buffer):
14910 make sure we zero the whole ABI-compatible area
14912 2006-06-01 Wim Taymans <wim@fluendo.com>
14914 Patch by: Alessandro Decina <alessandro at nnva dot org>
14916 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14917 Make sure the EOS flag is cleared from pads after a flush
14918 or stop. Fixes #343538.
14920 * tests/check/libs/collectpads.c: (GST_START_TEST),
14921 (gst_collect_pads_suite):
14922 Added test for collectpads reusage after EOS.
14924 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14927 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14928 * win32/common/libgstbase.def:
14929 export gst_collect_pads_set_flushing
14930 * win32/common/libgstreamer.def:
14931 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14932 gst_value_fraction_multiply
14933 * win32/vs6/gst_inspect.dsp:
14934 add a link to intl.lib
14936 2006-05-30 Wim Taymans <wim@fluendo.com>
14938 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14939 (gst_collect_pads_chain):
14940 Handle the case where a pad is removed from the collection
14941 that could cause the other pads to become collectable.
14943 2006-05-30 Wim Taymans <wim@fluendo.com>
14945 * gst/gstelement.c:
14946 Clarify the use of _release_request_pad() and
14947 _get_request_pad() a bit better.
14949 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14950 (gst_adapter_take_buffer):
14951 Fix some doc and comment typos.
14953 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14955 * docs/gst/gstreamer-sections.txt:
14956 * docs/libs/gstreamer-libs-sections.txt:
14957 add declared symbols
14959 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14961 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14962 Add debug that can be enabled using a #define at the top of the file,
14963 for dumping stats about how late/early we were when waking up from
14964 waiting on the clock.
14966 2006-05-30 Wim Taymans <wim@fluendo.com>
14968 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14969 When rebuilding the pad list, don't leak the previous list.
14971 2006-05-30 Wim Taymans <wim@fluendo.com>
14973 Patch by: Lutz Mueller <lutz at topfrose dot de>
14975 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14976 (gst_base_src_get_query_types), (gst_base_src_update_length):
14977 Publish supported query types.
14978 Update last_stop field in get_range mode so the position
14979 query works. Fixes #342321.
14981 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14983 * docs/gst/gstreamer-sections.txt:
14984 * gst/gsttaglist.c: (_gst_tag_initialize):
14985 * gst/gsttaglist.h:
14986 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14988 2006-05-30 Wim Taymans <wim@fluendo.com>
14990 Patch by: Alessandro Decina <alessandro at nnva dot org>
14992 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14993 Unlock mutex when removing an unknown pad.
14996 * tests/check/Makefile.am:
14997 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14998 (push_event), (setup), (teardown), (GST_START_TEST),
14999 (gst_collect_pads_suite), (main):
15000 Added collecpads check, disabled for now as check crashes for
15003 2006-05-29 Wim Taymans <wim@fluendo.com>
15005 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15006 Don't leak pads lists.
15008 2006-05-29 Wim Taymans <wim@fluendo.com>
15010 * docs/libs/gstreamer-libs-sections.txt:
15011 * libs/gst/base/gstcollectpads.c:
15012 (gst_collect_pads_set_flushing_unlocked),
15013 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15014 (gst_collect_pads_stop):
15015 * libs/gst/base/gstcollectpads.h:
15016 API: gst_collect_pads_set_flushing()
15017 Added api to set the pads to flushing, useful for seeking
15018 code in elements using collectpads.
15019 Clear segment when receiving a flush.
15021 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15023 * gst/gst.c: (add_path_func), (init_post):
15024 Don't scan registry paths passed via --gst-plugin-path immediately
15025 (will crash, because absolutely nothing is set up and no types are
15026 registered etc.); do this later in init_post(). Fixes #343057.
15028 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15030 * gst/gst.c: (init_post):
15031 if we have fork, fork while reading/rebuilding the registry
15032 so the parent doesn't take the hit of having all plugins loaded
15033 in memory. Fixes #342777.
15035 Check if we have fork()
15036 * win32/common/config.h.in:
15039 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15041 * plugins/elements/gstelements.c:
15042 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15043 (gst_file_src_init), (gst_file_src_set_property),
15044 (gst_file_src_get_property), (gst_file_src_start):
15045 * plugins/elements/gstfilesrc.h:
15046 API: GstFileSrc::use-mmap
15048 Add a use-mmap property to enable easier testing of all code paths.
15049 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15050 in the absence of gnomevfssrc. (Closes #340501)
15052 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15054 * tools/gst-inspect.c:
15055 Add missing include, removes warning of ngettext not being defined on
15058 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15060 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15061 Handle NULL input and output pointers silently as a failed conversion,
15062 rather than g_warnings.
15064 2006-05-25 Wim Taymans <wim@fluendo.com>
15066 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15067 Initialize variable before using. Fixes #342820.
15069 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15071 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15072 Fix off-by-one bug that would only allow peeks of N-1 bytes
15073 from the start even if the buffer to typefind on contains
15074 in fact N bytes of data (makes vorbis typefinding from a
15075 vorbis identification header buffer work).
15077 * tests/check/Makefile.am:
15078 * tests/check/libs/.cvsignore:
15079 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15080 (gst_typefindhelper_suite), (main), (foobar_typefind),
15082 Add very basic unit test for gst_type_find_helper_for_buffer()
15083 that checks for the problem fixed above.
15085 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15087 * tools/gst-inspect.c: (print_interfaces),
15088 (print_element_properties_info), (print_element_list), (main):
15089 add more translatable strings
15091 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15093 Patch by: Julien Moutte <julien at moutte net>
15095 * docs/gst/gstreamer-sections.txt:
15096 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15098 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15099 (gst_fake_sink_preroll):
15100 * plugins/elements/gstfakesink.h:
15101 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15103 2006-05-23 Wim Taymans <wim@fluendo.com>
15105 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15107 Added _CUSTOM error and success GstFlowReturn that can be
15108 used be elements internally.
15109 Added macro to check for SUCCESS flowreturns.
15110 API: GST_FLOW_CUSTOM_SUCCESS
15111 API: GST_FLOW_CUSTOM_ERROR
15112 API: GST_FLOW_IS_SUCCESS
15114 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15115 Added check for GstFlowReturn sanity.
15117 2006-05-23 Wim Taymans <wim@fluendo.com>
15119 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15122 (gst_collect_pads_event):
15123 clear/reset segment info in FLUSH_STOP.
15126 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15128 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15129 (gst_collect_pads_check_collected):
15130 Flush queued buffer on _stop(), fixes playing again (#342454)
15132 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15134 * tests/check/gst/gststructure.c: (GST_START_TEST),
15135 (gst_structure_suite):
15136 add a test for a complete structure
15138 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15140 * docs/faq/developing.xml:
15141 * docs/faq/faq.xml:
15142 * docs/faq/troubleshooting.xml:
15143 * docs/faq/using.xml:
15144 Some minor FAQ updates that won't change the fact that
15145 our FAQ is badly structured, full of information hardly
15146 anyone new to GStreamer needs to know and lacking lots
15147 of information people constantly ask for.
15149 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15151 * gst/gstpad.c: (gst_pad_set_caps):
15152 Short-circuit gst_pad_set_caps if setting the existing
15153 caps pointer again, and avoid printing debug and
15154 reffing/unreffing the caps.
15156 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15157 There's actually no need to set the caps before pushing -
15158 the acceptcaps method will handle it anyway.
15160 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15162 * docs/gst/gstreamer-sections.txt:
15163 * win32/common/libgstreamer.def:
15164 * gst/gstutils.c: (gst_element_seek_simple):
15166 API: add gst_element_seek_simple() (#342238).
15168 2006-05-18 Edward Hervey <edward@fluendo.com>
15170 * gst/gsttypefind.c: (gst_type_find_get_type):
15171 * gst/gsttypefind.h:
15172 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15173 registered for GstTypeFind pointers. This allows wrapping the structure
15174 in bindings (i.e. gst-python).
15176 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15178 * gst/gsttagsetter.c:
15179 Docs additions and fixes (see #339918).
15181 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15183 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15184 The caps intersection algorithm can produce multiple copies of the
15185 caps. Until that is fixed, we need to simplify the result to be
15186 sure whether the allowed caps are fixed or not.
15188 * plugins/elements/gstqueue.c: (gst_queue_init),
15189 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15190 (gst_queue_push_one):
15191 Proxied buffer alloc should not set the caps on the source pad.
15192 When pushing buffers, we always accept the caps change that triggers.
15193 This prevents negotiation errors caused by caps changing mid-stream
15194 and then being refused on our source pad (because upstream is now
15195 refusing those caps).
15197 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15199 * tests/examples/helloworld/helloworld.c: (main):
15200 Must plug audioconvert and audioresample between decoder
15203 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15205 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15206 (load_feature), (load_plugin):
15207 Allow empty strings for some of the plugin fields so we don't
15208 drop valid plugin entries that were written out correctly
15211 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15213 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15214 Use g_remove and g_rename instead of remove and rename that don't
15215 handle utf8 characters. rename was failing for users who had specific
15216 characters in their name then the registry was built at each
15218 * win32/vs6/gst_inspect.dsp:
15219 * win32/vs6/gst_launch.dsp:
15220 * win32/vs6/libgstbase.dsp:
15221 * win32/vs6/libgstcoreelements.dsp:
15222 * win32/vs6/libgstreamer.dsp:
15223 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15224 build of libgstreamer and clean unused libraries in projects link
15227 2006-05-17 Edward Hervey <edward@fluendo.com>
15229 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15230 The queue is not responsible for pushing an EOS when receiving a fatal
15231 flow error. It's up to the real element driving the pipeline to do that.
15233 2006-05-16 Edward Hervey <edward@fluendo.com>
15235 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15236 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15237 buffer returned a fatal error. It should just send an EOS and stop
15239 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15240 when pushing buffers on the queue and will be able to handle the event.
15242 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15244 * docs/manual/basics-bins.xml:
15245 * docs/manual/basics-init.xml:
15246 Fix typos and minor errors in sample code (#341856).
15248 2006-05-16 Wim Taymans <wim@fluendo.com>
15250 * docs/design/part-qos.txt:
15251 Fix indexes in formulas to make more sense.
15253 2006-05-15 Wim Taymans <wim@fluendo.com>
15255 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15256 Don't report POSITION based on clock time if sync is
15257 disabled in a sink.
15259 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15262 Add cast to make compiler happy - refcount variable was a gint
15263 in GstObject but is a guint in GObject and g_atomic_int_get()
15266 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15268 * gst/parse/Makefile.am:
15269 chain commands using &&, which also makes parallel make work
15271 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15273 * docs/gst/gstreamer-sections.txt:
15276 * gst/gstmessage.h:
15279 === release 0.10.6 ===
15281 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15284 releasing 0.10.6, "Take the cannoli"
15286 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15288 * tools/gst-launch.c: (print_tag):
15289 Fix use of uninitialized variable in the hypothetical
15290 case that some broken plugin creates a GST_TAG_IMAGE
15291 tag containing a NULL buffer (#341667).
15293 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15295 * tools/gst-launch.c: (print_tag):
15296 Print something more intelligible for image tags when
15297 using the -t switch (#341556).
15299 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15304 define GST_MAJORMINOR so we have it available in win32/common/config.h
15305 Possibly remove it from our Makefile.am files later
15306 * win32/common/config.h:
15307 * win32/common/config.h.in:
15308 added GST_MAJORMINOR
15309 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15310 * win32/common/gstversion.h:
15313 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15316 Update win32 files listing.
15317 * win32/common/gstversion.h:
15318 Add GST_MAJORMINOR definition.
15319 * win32/common/libgstreamer.def:
15320 Add new exported functions.
15322 2006-05-12 Michael Smith <msmith@fluendo.com>
15324 * gst/gstplugin.c: (gst_plugin_load_file):
15325 If an so file has no plugin entry point, unload the module.
15327 2006-05-11 Wim Taymans <wim@fluendo.com>
15329 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15330 (gst_queue_set_property):
15331 Don't forget to signal the _chain or _loop function
15332 when the queue size or thresholds change since that might
15333 cause them to make progres again.
15335 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15337 * gst/gstclock.c: (gst_clock_class_init):
15338 * gst/gstindex.c: (gst_index_class_init):
15339 * gst/gstobject.c: (gst_object_class_init):
15340 * gst/gstpad.c: (gst_pad_class_init):
15341 * gst/gstpipeline.c: (gst_pipeline_class_init):
15342 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15343 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15344 * libs/gst/base/gstbasetransform.c:
15345 (gst_base_transform_class_init):
15346 * libs/gst/net/gstnetclientclock.c:
15347 (gst_net_client_clock_class_init):
15348 * libs/gst/net/gstnettimeprovider.c:
15349 (gst_net_time_provider_class_init):
15350 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15351 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15352 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15353 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15354 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15355 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15356 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15357 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15358 * plugins/elements/gsttee.c: (gst_tee_class_init):
15359 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15360 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15361 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15363 2006-05-11 Wim Taymans <wim@fluendo.com>
15365 * gst/gstbuffer.c: (_gst_buffer_initialize):
15366 Register subbufer along with the buffer type so that
15367 it does not accidentally gets registered from N
15368 different streaming threads in a non threadsafe way.
15370 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15374 * gst/gstmessage.h:
15375 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15376 gst_event_ref() and gst_message_ref() functions again
15377 (ugly hack, please do fix if there's a better way besides
15378 overrides.txt, which doesn't seem to work).
15380 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15382 * libs/gst/check/gstcheck.h:
15383 add an assert for setting state to avoid lots of repetitive code
15386 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15388 * gst/gstvalue.c: (gst_value_serialize_flags):
15389 fix a leak if no flags are set
15390 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15393 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15395 * docs/manual/basics-pads.xml:
15396 Expand a bit on caps and filtered links and update
15397 examples that were still using the no longer existing
15398 gst_pad_link_filtered() (#338206).
15400 2006-05-10 Wim Taymans <wim@fluendo.com>
15402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15403 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15404 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15405 (gst_collect_pads_stop):
15406 * libs/gst/base/gstcollectpads.h:
15407 No need to call _stop in _finalize.
15408 Iterate the main pad list in _finalize.
15409 Added some more debug.
15410 Free lists and data in the right order.
15411 Also free data whem doing _remove_pad when stopped for
15412 backward compatibility protect ::started with PAD_LOCK as
15415 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15417 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15418 (gst_structure_parse_value):
15420 rename a method so that it actually says what it does better
15422 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15424 * gst/gstevent.c: (_gst_event_initialize):
15425 * gst/gstformat.c: (_gst_format_initialize):
15426 make sure some essential types used by events are registered
15427 as part of gst_init()
15428 * gst/gstvalue.c: (gst_value_serialize_flags):
15429 if no flags are set, serialize them to a value that represents NONE
15430 so that deserializing them works
15431 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15432 add tests for serialization and deserialization of flags
15434 2006-05-10 Wim Taymans <wim@fluendo.com>
15436 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15437 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15438 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15439 (gst_collect_pads_event), (gst_collect_pads_chain):
15442 Catch and return errors from the collect function
15443 Refuse data on eos pads.
15445 2006-05-10 Edward Hervey <edward@fluendo.com>
15447 * gst/gstinterface.h:
15448 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15449 GInterface type checking.
15450 They were previously using non-defined macros.
15452 2006-05-09 Wim Taymans <wim@fluendo.com>
15454 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15455 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15456 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15457 (gst_collect_pads_start), (gst_collect_pads_stop),
15458 (gst_collect_pads_peek), (gst_collect_pads_pop),
15459 (gst_collect_pads_available), (gst_collect_pads_read),
15460 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15461 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15462 (gst_collect_pads_chain):
15463 * libs/gst/base/gstcollectpads.h:
15464 Clean up the mess that is collectpads, add comments and
15465 FIXMEs where needed.
15466 Maintain a separate pad list so we can add pads while
15467 collecting the other ones. For this we need a new separate
15469 Fix memory leak in finalize.
15470 Refactor some weird code to set/unset pad flushing flags, mark
15472 Don't crash in _available, _read, _flush when we're EOS.
15474 * tests/check/libs/.cvsignore:
15475 Ignore adapter check binary.
15477 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15479 * gst/gstindex.c: (gst_index_resolver_get_type):
15480 * plugins/elements/gstfakesink.c:
15481 (gst_fake_sink_state_error_get_type):
15482 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15483 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15484 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15485 Const-ify GEnumValue arrays.
15487 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15489 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15490 Add test case for flags + gst_buffer_make_metadata_writable().
15492 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15494 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15495 gst_buffer_make_metadata_writable() should maintain the
15496 buffer flags (those that make sense at least) (see #340859).
15498 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15500 * tools/gst-inspect.c:
15501 * tools/gst-launch.c:
15502 * tools/gst-typefind.c:
15503 * tools/gst-xmlinspect.c:
15505 Fix up includes: need to include stdlib.h in tools.h for exit().
15507 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15509 * gst/gsttaglist.c: (_gst_tag_initialize):
15510 * gst/gsttaglist.h:
15511 API: add GST_TAG_IMAGE tag (#340721).
15513 2006-05-08 Wim Taymans <wim@fluendo.com>
15516 Added some docs for the segment query.
15518 2006-05-08 Wim Taymans <wim@fluendo.com>
15520 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15521 (gst_base_src_loop), (gst_base_src_change_state):
15522 Always push non-flushing serialized events in the streaming
15525 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15527 * gst/gsterror.c: (_gst_stream_errors_init):
15528 Add a missing error string.
15530 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15532 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15533 Add applied_rate to the debug
15535 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15536 Copy applied_rate into the outgoing NEWSEGMENT event
15538 2006-05-08 Wim Taymans <wim@fluendo.com>
15540 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15542 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15543 (gst_base_sink_change_state):
15544 call ::unlock before taking the PREROLL_LOCK so we can safely
15545 handle elements that lock in ::render.
15548 2006-05-08 Edward Hervey <edward@fluendo.com>
15550 * autogen.sh: (CONFIGURE_DEF_OPT):
15551 Darwin's libtoolize is in fact called glibtoolize.
15552 Adding glibtoolize to the list of accepted names for libtoolize.
15554 2006-05-08 Wim Taymans <wim@fluendo.com>
15556 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15557 Unify error handling, don't post an error message
15558 when a push() returns EOS but perform our normal EOS
15559 handling code. Fixes #340772.
15561 2006-05-08 Wim Taymans <wim@fluendo.com>
15563 * docs/design/part-overview.txt:
15564 Make upsteam/downstream concepts more clear.
15565 Give an example of serialized/non-serialized events.
15567 * docs/design/part-events.txt:
15568 * docs/design/part-streams.txt:
15569 Mention applied_rate.
15571 * docs/design/part-trickmodes.txt:
15572 Mention applied rate, flesh out some more use cases.
15574 * gst/gstevent.c: (gst_event_new_new_segment),
15575 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15576 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15577 (gst_event_parse_tag), (gst_event_new_buffer_size),
15578 (gst_event_parse_buffer_size), (gst_event_new_qos),
15579 (gst_event_parse_qos), (gst_event_parse_seek),
15580 (gst_event_new_navigation):
15582 Add applied_rate field to NEWSEGMENT event.
15583 API: gst_event_new_new_segment_full()
15584 API: gst_event_parse_new_segment_full()
15586 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15587 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15588 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15589 * gst/gstsegment.h:
15590 Add applied_rate to GstSegment structure.
15591 Make calculation of stream_time and running_time more correct
15592 wrt rate/applied_rate.
15593 Add some more docs.
15594 API: GstSegment::applied_rate field
15595 API: gst_segment_set_newsegment_full();
15597 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15598 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15599 * libs/gst/base/gstbasetransform.c:
15600 (gst_base_transform_sink_eventfunc),
15601 (gst_base_transform_handle_buffer):
15602 Parse and use applied_rate in the GstSegment field.
15604 * tests/check/gst/gstevent.c: (GST_START_TEST):
15605 Add check for applied_rate field.
15607 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15608 (gstsegments_suite):
15609 Add more checks for various GstSegment operations.
15611 2006-05-08 Wim Taymans <wim@fluendo.com>
15613 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15614 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15615 (gst_base_sink_get_position), (gst_base_sink_change_state):
15616 Store the sync time of the buffer end position separatly in a
15617 new variable eos_rtime so we can properly sync the EOS event.
15619 Fix the docs for gst_base_sink_set_qos_enabled().
15620 Don't set segment start to invalid value when we receive a
15621 non TIME newsegment.
15622 get closer to handling position reporting for negative rates
15625 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15628 Docs about how to print caps for debug purposes.
15630 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15631 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15633 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15635 * gst/gstelement.c:
15636 use full enum names and preprend a '%' in docs strings to make recent
15637 gtk-doc turn that into a link
15639 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15641 * docs/manual/basics-bins.xml:
15642 * docs/manual/basics-bus.xml:
15643 * docs/manual/basics-pads.xml:
15644 Some typo fixes, some additions, some clarifications.
15646 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15648 * tools/gst-inspect.c: (main):
15649 * tools/gst-launch.c: (main):
15650 * tools/gst-run.c: (main):
15651 * tools/gst-typefind.c: (main):
15652 * tools/gst-xmlinspect.c: (main):
15653 Use the string passed to g_option_context_new() for
15654 what it's intended for - the program name is already
15657 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15659 * tools/Makefile.am:
15660 * tools/gst-inspect.c: (main):
15661 * tools/gst-launch.c: (main):
15662 * tools/gst-xmlinspect.c: (main):
15664 Add back --version command line option (#340460).
15666 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15667 Add --version option and use GOption for argument parsing; refactor a
15668 bit; accept directories as arguments and recurse into them; lastly,
15669 print a decent error message when things go wrong.
15671 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15673 * docs/manual/basics-bins.xml:
15674 Don't mention GstThread (#340611)
15675 * docs/manual/basics-elements.xml:
15676 Update link to GObject tutorial (#340607)
15678 2006-05-05 Wim Taymans <wim@fluendo.com>
15681 * gst/gstminiobject.c:
15682 Add note about refcounting and miniobject/buffer writeability
15683 to docs. Fixes #340604
15685 * gst/gstelementfactory.h:
15686 Added some explanation about @klass.
15688 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15690 * docs/manual/intro-motivation.xml:
15691 * docs/manual/manual.xml:
15692 Avoid CORBA & Bonobo references (#340598)
15694 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15696 * docs/manual/basics-bus.xml:
15697 * docs/manual/basics-pads.xml:
15698 Fix up some inaccuracies and omissions (#340609)
15700 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15702 * gst/gstghostpad.c:
15703 Small typo in docs (#340625)
15705 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15707 * gst/parse/Makefile.am:
15708 Make 'make -j' proof (see #340698).
15710 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15713 Require GLib-2.8 here as well.
15715 2006-05-05 Wim Taymans <wim@fluendo.com>
15717 * gst/glib-compat.c:
15718 * gst/gst.c: (init_pre):
15719 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15720 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15721 (gst_object_dispatch_properties_changed):
15723 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15724 * gst/gststructure.c: (gst_structure_set_valist):
15725 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15726 Remove pre glib2.8 compatibility, fixes #340508
15728 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15730 * gst/gsttaglist.h:
15731 Mention type of tags in doc blurbs.
15733 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15735 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15736 (gst_pad_configure_src), (gst_pad_push):
15737 Restore acceptcaps checking behaviour now that good plugins have
15740 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15742 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15749 * gst/gstmessage.c:
15753 * gst/parse/Makefile.am:
15754 * libs/gst/base/gstadapter.c:
15755 * libs/gst/base/gstbasesrc.c:
15756 * libs/gst/base/gstpushsrc.c:
15757 * libs/gst/base/gsttypefindhelper.c:
15758 * plugins/elements/gstfakesrc.c:
15759 * plugins/elements/gstidentity.c:
15760 Make sure gstprivate.h and/or config.h are
15761 always included first, otherwise some of our
15762 defines (like _FILE_OFFSET_BITS) might be
15763 redefined in the system headers. Fixes build
15764 on opensolaris (#340016).
15766 2006-05-04 Wim Taymans <wim@fluendo.com>
15768 * docs/libs/gstreamer-libs-sections.txt:
15769 API: addition: gst_adapter_take_buffer()
15771 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15772 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15773 (gst_adapter_available_fast):
15774 * libs/gst/base/gstadapter.h:
15775 Prepare for optimizing the hell out of this hugely inefficient
15777 Added gst_adapter_take_buffer() so we can at least start thinking
15778 about subbuffering and merging.
15779 Added some comments.
15781 * tests/check/Makefile.am:
15782 * tests/check/libs/adapter.c: (GST_START_TEST),
15783 (gst_adapter_suite), (main):
15784 Added GstAdapter check.
15786 2006-05-04 Wim Taymans <wim@fluendo.com>
15788 * docs/design/part-overview.txt:
15789 Fix some typos, add blurb about buffer flags.
15791 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15793 * docs/libs/gstreamer-libs-sections.txt:
15794 make sure GstBaseTransformClass shows up in the docs
15795 * libs/gst/base/gstbasetransform.c:
15796 * libs/gst/base/gstbasetransform.h:
15797 move docs so gtk-doc picks it up now
15799 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15801 * docs/libs/gstreamer-libs-sections.txt:
15802 add missing symbols to docs
15804 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15806 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15807 back out the newsegment handling change, see #340060 for ongoing
15810 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15812 * tools/gst-run.c: (get_candidates), (main):
15813 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15814 work); fix typo in error message. Fixes #340079.
15816 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15818 * common/Makefile.am:
15819 * docs/Makefile.am:
15820 * docs/faq/Makefile.am:
15821 * docs/gst/Makefile.am:
15822 * docs/libs/Makefile.am:
15823 * docs/manual/Makefile.am:
15824 * docs/plugins/Makefile.am:
15825 * docs/pwg/Makefile.am:
15826 * docs/slides/Makefile.am:
15828 * common/upload.mak:
15829 move upload.mak to common
15831 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15833 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15834 add more asserts on refcounts
15835 do more cleanup at end of tests
15836 fix test leaks showing in FC5
15838 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15840 * plugins/elements/gsttypefindelement.c:
15841 (gst_type_find_element_handle_event):
15842 reverted wrong change and reflowed code to avoid others falling into
15845 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15847 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15848 fix changelog entry about last collectpads change,
15849 add notes about proper fix
15851 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15854 * gst/gstregistry.c: (gst_registry_scan_path_level),
15855 (gst_registry_scan_path):
15856 * gst/gstregistry.h:
15857 only write out registry if it has changed, fixes #338339
15859 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15862 * gst/gstpipeline.c:
15863 * plugins/elements/gstcapsfilter.c:
15864 * plugins/elements/gstfakesink.c:
15865 * plugins/elements/gstfakesrc.c:
15866 * plugins/elements/gstfdsink.c:
15867 * plugins/elements/gstfdsrc.c:
15868 * plugins/elements/gstfilesink.c:
15869 * plugins/elements/gstfilesrc.c:
15870 * plugins/elements/gstidentity.c:
15871 * plugins/elements/gstqueue.c:
15872 * plugins/elements/gsttee.c:
15873 * plugins/elements/gsttypefindelement.c:
15874 (gst_type_find_element_handle_event):
15875 make GstElementDetails const
15877 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15879 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15881 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15882 more detailed debug and formatting cleanup,
15883 forward newsegments to src-pad (so that e.g. adder not eats them)
15885 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15887 * gst/gstutils.c: (gst_element_link_pads):
15888 cleanup double code
15890 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15892 * libs/gst/controller/gstcontroller.c:
15893 (gst_controller_sync_values):
15895 * tests/check/libs/controller.c: (GST_START_TEST),
15896 (gst_controller_suite):
15897 a new test for live value handling
15899 2006-04-28 Wim Taymans <wim@fluendo.com>
15901 * gst/gstutils.c: (push_and_ref):
15902 Added some more docs.
15903 Fix refcount issue whith gst_element_found_tags() helper
15904 function. Fixes #338335
15906 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15907 Added testsuite for gst_element_found_tags().
15909 2006-04-28 Michael Smith <msmith@fluendo.com>
15911 * gst/gstvalue.c: (gst_value_serialize_flags):
15912 Avoid NULL dereference when trying to serialize flags containing
15915 2006-04-28 Michael Smith <msmith@fluendo.com>
15917 * plugins/elements/gsttypefindelement.c:
15918 (gst_type_find_element_handle_event):
15919 If we get EOS before any data is accumulated, don't use
15920 uninitialised local variables.
15922 2006-04-28 Michael Smith <msmith@fluendo.com>
15924 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15925 (gst_dp_event_from_packet):
15926 Fixes in reading/writing events over GDP (not currently used?) -
15927 dereferencing NULL events for unknown/invalid event types, memory
15928 leak, and change g_warning to GST_WARNING.
15930 2006-04-28 Wim Taymans <wim@fluendo.com>
15932 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15933 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15934 (gst_base_sink_get_position), (gst_base_sink_change_state):
15935 When frame dropping is enabled, we should not ignore frames
15936 without a duration.
15937 Update some documentation.
15939 2006-04-28 Wim Taymans <wim@fluendo.com>
15941 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15942 (gst_base_src_send_event), (gst_base_src_change_state):
15943 Documentation updates.
15945 2006-04-28 Wim Taymans <wim@fluendo.com>
15947 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15948 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15949 handle EAGAIN, EINTR and short writes correctly. Also clean
15950 up some error cases, avoid a deadlock on bad file descriptors and
15951 use GST_DEBUG_OBJECT.
15954 2006-04-28 Wim Taymans <wim@fluendo.com>
15956 * gst/gstvalue.c: (gst_value_serialize_buffer),
15957 (gst_value_deserialize_buffer):
15958 Don't try to serialize a GValue with a NULL buffer.
15961 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15962 Added check for serialisation of NULL buffers.
15964 2006-04-28 Wim Taymans <wim@fluendo.com>
15966 * gst/gstminiobject.c: (gst_value_take_mini_object):
15967 Taking a NULL miniobject is valid, fix the case where
15968 we try to unref the NULL miniobject.
15970 2006-04-28 Wim Taymans <wim@fluendo.com>
15972 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15974 * gst/gstbin.c: (gst_bin_handle_message_func):
15976 Don't leak bin refcount when a state recalc is
15977 in progress and we delay another one #339808.
15979 2006-04-28 Wim Taymans <wim@fluendo.com>
15981 * docs/design/part-TODO.txt:
15982 Mention QoS as an ongoing work item.
15984 * docs/design/part-buffering.txt:
15985 New doc about buffering that needs to be fleshed out
15988 * docs/design/part-qos.txt:
15989 More QoS policy for decoders/demuxers/transforms
15991 * docs/design/part-trickmodes.txt:
15994 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15999 === release 0.10.5 ===
16001 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16004 releasing 0.10.5, "Fogo"
16006 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16008 patch by: Wim Taymans
16010 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16011 (gst_pad_configure_src), (gst_pad_push):
16012 * gst/gstpipeline.c: (gst_pipeline_init):
16013 Fix internal data flow errors. Fixes #338711.
16015 2006-04-12 Wim Taymans <wim@fluendo.com>
16017 * tests/check/gst/gstelement.c: (GST_START_TEST):
16018 Don't leak the factory.
16020 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16023 * win32/common/config.h:
16026 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16028 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16029 (gst_controller_unset_all):
16030 Free allocated GstTimedValues when freeing list nodes.
16031 Should fix leaks 'make check-valgrind' complains about.
16033 * win32/common/libgstcontroller.def:
16034 Add gst_controller_unset_all.
16036 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16038 * docs/libs/gstreamer-libs-sections.txt:
16039 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16040 (gst_controller_unset_all):
16041 * libs/gst/controller/gstcontroller.h:
16042 API: Added new method gst_controller_unset_all()
16043 fixed gst_controller_unset()
16044 * tests/check/libs/controller.c: (GST_START_TEST),
16045 (gst_controller_suite):
16046 Added two testcases for new and fixed method
16048 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16050 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16051 MSG_DONTWAIT is not defined on Cygwin, so work
16052 around that (fixes #317048).
16054 2006-04-11 Wim Taymans <wim@fluendo.com>
16056 * gst/gstelementfactory.c: (gst_element_register),
16057 (gst_element_factory_create), (gst_element_factory_make):
16060 Updated docs (Fixes #131079)
16062 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16065 * tests/check/gst/gstelement.c: (GST_START_TEST),
16066 (gst_element_suite):
16067 Added testcase for elementfactory class field.
16069 2006-04-10 Wim Taymans <wim@fluendo.com>
16071 * gst/gstsegment.c:
16072 Added some more docs.
16074 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16075 (gst_base_sink_reset_qos):
16076 Calculate more accurate rate values.
16078 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16080 * gst/gst_private.h:
16081 add a new #ifdef to use __declspec(dllimport) only for
16082 other modules and not for gstreamer core
16083 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16084 use gst_guint64_to_gdouble for conversion
16085 * win32/common/libgstreamer.def:
16086 add new exported functions
16087 * win32/vs6/gst_inspect.dsp:
16088 * win32/vs6/gst_launch.dsp:
16089 * win32/vs6/libgstbase.dsp:
16090 * win32/vs6/libgstcontroller.dsp:
16091 * win32/vs6/libgstcoreelements.dsp:
16092 * win32/vs6/libgstdataprotocol.dsp:
16093 * win32/vs6/libgstnet.dsp:
16094 update project files
16096 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16098 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16099 * gst/gstclock.c: (gst_clock_class_init):
16100 * gst/gstelement.c: (gst_element_class_init):
16101 * gst/gstindex.c: (gst_index_class_init):
16102 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16103 * gst/gstobject.c: (gst_object_class_init),
16104 (gst_signal_object_class_init):
16105 * gst/gstpad.c: (gst_pad_class_init):
16106 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16107 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16108 * gst/gstregistry.c: (gst_registry_class_init):
16109 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16110 * gst/gsttask.c: (gst_task_class_init):
16111 * gst/gstxml.c: (gst_xml_class_init):
16112 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16113 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16114 (gst_base_src_loop):
16115 * libs/gst/controller/gstcontroller.c:/
16116 (_gst_controller_class_init):
16117 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16118 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16119 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16120 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16121 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16122 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16124 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16126 * gst/gstpad.c: (gst_pad_link):
16127 Must set peer pads before calling the link function, otherwise
16128 a task started from a link function might get a flow-not-linked
16129 result when trying to push because the other thread where the
16130 linking happens hasn't had a chance to set the peers yet. This
16131 might happen for example when a queue gets linked to a downstream
16132 element, as queue starts a streaming task when its source pad
16133 gets linked. Happens in real life when playing back flac/musepack
16134 files in playbin (#332390).
16136 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16140 * libs/gst/base/gstadapter.h:
16141 * libs/gst/base/gstbasesink.h:
16142 * libs/gst/base/gstbasesrc.h:
16143 * libs/gst/base/gstbasetransform.h:
16144 * libs/gst/base/gstcollectpads.h:
16145 * libs/gst/base/gstpushsrc.h:
16146 Fix broken GObject macros
16148 2006-04-07 Wim Taymans <wim@fluendo.com>
16150 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16151 Initialize start and stop times, thanks valgrind.
16153 2006-04-07 Wim Taymans <wim@fluendo.com>
16155 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16156 Be a bit nicer to badly behaving upstream elements that expect
16157 us to deal with non TIME segments and timestamps (such as fakesrc
16160 2006-04-07 Wim Taymans <wim@fluendo.com>
16163 Small documentation clarification about the signal watch.
16165 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16166 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16167 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16168 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16169 (gst_base_sink_get_position_last),
16170 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16171 Convert and store timestamps in stream time and running time, the
16172 raw timestamps are not useful, also document this better.
16173 Use different window sizes for good and bad QoS observations so
16174 we react to badness a little quicker.
16175 Keep track of the amount of rendered and dropped buffers.
16176 Send QoS timestamps in running time.
16178 * libs/gst/base/gstbasetransform.c:
16179 (gst_base_transform_sink_eventfunc),
16180 (gst_base_transform_handle_buffer):
16181 Compare QoS timestamps against running time.
16183 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16186 Typo fixes in docs.
16188 2006-04-06 Michael Smith <msmith@fluendo.com>
16190 * gst/gstpad.c: (gst_pad_set_property):
16191 Use g_value_get_object() instead of g_value_dup_gst_object(),
16192 to avoid double-reffing the pad template (which we then sink,
16193 so this worked previously if (and only if) the pad template
16196 * gst/gstpadtemplate.c: (gst_pad_template_init),
16197 (gst_pad_template_pad_created):
16198 Never return floating references to pad templates, create
16199 them as initially-sunken.
16201 Document an extra function (and make this stop sinking our
16202 pad template, since that is now guaranteed to do nothing,
16203 since we created it sunken).
16205 * gst/gstghostpad.c:
16208 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16210 * gst/gstinfo.c: (__gst_in_valgrind):
16213 * plugins/elements/gsttypefindelement.c:
16214 (gst_type_find_element_chain):
16215 Don't leak buffer caps.
16217 2006-04-06 Michael Smith <msmith@fluendo.com>
16219 * gst/parse/grammar.y:
16220 Fix a leak in parse-launch for any source-or-sink named element
16223 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16224 Unref the pipeline if it exists after we've failed parsing.
16226 2006-04-05 Michael Smith <msmith@fluendo.com>
16228 * gst/gstpipeline.c: (gst_pipeline_init):
16229 When we create a pipeline bus, initially create it in flushing mode.
16230 Fixes leaks in at least one test, and makes a new pipeline work the
16231 same as one that has gone to READY and then back to NULL.
16233 * gst/gstelement.c:
16236 2006-04-05 Michael Smith <msmith@fluendo.com>
16238 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16239 Unref a pad we reffed.
16240 * tests/check/gst/gstutils.c: (GST_START_TEST):
16243 2006-04-05 Michael Smith <msmith@fluendo.com>
16245 * gst/gstquery.c: (gst_query_set_formats),
16246 (gst_query_set_formatsv):
16247 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16249 2006-04-05 Michael Smith <msmith@fluendo.com>
16251 * tests/check/generic/sinks.c: (GST_START_TEST):
16252 Fix a variety of memleaks in sinks check, which are only sometimes
16253 shown by running the tests under valgrind (weird?).
16255 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16257 * docs/version.entities.in:
16258 Fix the substituted entity name after thomas' changes on the
16261 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16263 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16266 2006-04-05 Andy Wingo <wingo@pobox.com>
16268 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16270 * libs/gst/base/gstbasetransform.c
16271 (gst_base_transform_sink_eventfunc): When resetting our segment on
16272 FLUSH_STOP, also update the flag saying we haven't seen a
16275 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16277 Patch by: Paolo Borelli <pborelli at katamail dot com>
16279 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16280 (gst_plugin_check_license):
16281 minor clean-ups: G_DEFINE_TYPE already takes care of the
16282 parent_class stuff, no need to do it twice. Mark array of
16283 license strings as constant. (#337103)
16285 2006-04-04 Michael Smith <msmith@fluendo.com>
16287 * tools/gst-inspect.c: (print_element_list):
16288 Free the right plugin list; fixes a memory leak.
16290 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16292 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16294 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16295 Don't error out on empty buffers (#336945).
16297 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16299 * docs/libs/gstreamer-libs-sections.txt:
16300 * gst/gsttaglist.c:
16301 * libs/gst/base/gstbasesink.c:
16302 * libs/gst/base/gstbasesink.h:
16303 * libs/gst/base/gstbasesrc.c:
16304 * libs/gst/base/gstbasesrc.h:
16305 Documentation updates. Make BaseSink and BaseSrc docs contain the
16306 class structure so that people can actually see the prototypes for
16307 virtual functions they're supposed to be overriding.
16309 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16311 * plugins/elements/gsttypefindelement.c:
16312 (gst_type_find_element_chain):
16313 More debug info; when skipping typefinding, send cached
16314 events in all cases.
16316 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16319 use new AS_VERSION and AS_NANO macros
16320 * gst/gst-i18n-lib.h:
16323 * gst/gstversion.h.in:
16324 * win32/common/config.h:
16325 * win32/common/config.h.in:
16328 2006-03-31 Michael Smith <msmith@fluendo.com>
16330 * plugins/elements/gsttypefindelement.c:
16331 (gst_type_find_element_chain):
16332 Do not typefind content if the buffers already have caps.
16333 Neccesary for icydemux (#333657), and the right thing to do anyway.
16335 2006-03-30 Wim Taymans <wim@fluendo.com>
16337 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16338 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16339 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16340 (gst_base_sink_record_qos_observation),
16341 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16342 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16343 (gst_base_sink_change_state):
16344 More QoS measurements as described in the design doc.
16345 Get rid of ringbuffer with observations, running average is
16346 more simple and equally good.
16347 Calculates valid proportion now.
16348 Added beginning of flood measurement.
16350 2006-03-29 Wim Taymans <wim@fluendo.com>
16352 * docs/design/part-qos.txt:
16354 Small documentation updates and additions.
16356 2006-03-29 Wim Taymans <wim@fluendo.com>
16358 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16359 (gst_base_src_send_event), (gst_base_src_loop),
16360 (gst_base_src_change_state):
16361 Perform the EOS logic when we reach the segment stop position.
16362 Fix compilation on gcc4.1
16364 2006-03-29 Wim Taymans <wim@fluendo.com>
16366 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16368 * plugins/elements/gstqueue.c: (gst_queue_init),
16369 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16370 (gst_queue_set_property):
16371 * plugins/elements/gstqueue.h:
16372 In queue, when EOS is received, if minimum threshold > max_size -
16373 current_level, there is chance that queue blocks forever in conditional
16374 item del wait. This is because the queue is not emptied completely due
16375 to minimum threshold. Here is another approach. Instead of setting
16376 cur_levels to max in EOS, just zero all minimum threshold levels. This
16377 should make sure that queue gives out all data. When going to READY
16378 (stop) state, just reset the original minimum threshold levels.
16381 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16383 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16384 (gst_type_find_element_handle_event),
16385 (gst_type_find_element_send_cached_events),
16386 (gst_type_find_element_change_state):
16387 * plugins/elements/gsttypefindelement.h:
16388 When typefinding is done in push mode, we should cache
16389 events we receive during typefinding instead of just
16390 dropping them (e.g. newsegment, custom events from
16391 dvdreadsrc etc.) and then send them out once we've
16392 determined the type of the stream (and decodebin
16393 has had a chance to plug in a decoder/demuxer).
16395 2006-03-27 Wim Taymans <wim@fluendo.com>
16397 * docs/design/part-qos.txt:
16400 2006-03-27 Wim Taymans <wim@fluendo.com>
16402 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16404 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16405 (gst_base_src_send_event), (gst_base_src_change_state):
16406 Handle element seek correctly when we are streaming.
16409 2006-03-24 Michael Smith <msmith@fluendo.com>
16411 * docs/faq/gst-uninstalled:
16412 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16413 allow you to correctly run intalled applications built against old
16414 core, using plugins that require updated core (e.g. running
16415 installed totem against a full uninstalled gstreamer stack)
16417 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16419 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16422 2006-03-24 Wim Taymans <wim@fluendo.com>
16424 * docs/gst/gstreamer-sections.txt:
16425 Rearrange the order of the methods so that related methods
16426 are grouped together in sections.
16428 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16430 * gst/gstelement.c:
16431 Little clarification in the docs
16433 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16437 * plugins/elements/gstidentity.c:
16438 * plugins/elements/gstqueue.c:
16439 * plugins/elements/gsttee.c:
16440 * plugins/elements/gsttypefindelement.c:
16441 GST_ELEMENT_DETAILS formatting
16443 2006-03-24 Wim Taymans <wim@fluendo.com>
16445 * libs/gst/base/gstbasesink.h:
16446 Only add fields, not insert or we break ABI.
16448 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16450 * win32/common/libgstbase.def:
16451 * win32/common/libgstreamer.def:
16452 Update, add recently added functions.
16454 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16456 * docs/gst/gstreamer-sections.txt:
16457 * gst/gstutils.c: (gst_pad_query_peer_position),
16458 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16460 API: add some new utility functions:
16461 - gst_pad_query_peer_position()
16462 - gst_pad_query_peer_duration()
16463 - gst_pad_query_peer_convert()
16465 2006-03-23 Wim Taymans <wim@fluendo.com>
16467 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16468 (gst_base_sink_init), (gst_base_sink_finalize),
16469 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16470 (gst_base_sink_set_property), (gst_base_sink_get_property),
16471 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16472 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16473 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16474 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16475 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16476 (gst_base_sink_preroll_object), (gst_base_sink_event),
16477 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16478 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16479 (gst_base_sink_query), (gst_base_sink_change_state):
16480 Decouple max-lateness and the fact that QoS messages are generated
16481 with a new property (qos).
16482 added API: GstBaseSink::async_play()
16483 Add vmethod so subclasses can be notified of ASYNC playing
16485 Collect timestamp start and stop to report better current
16486 position in EOS/PLAYING/PAUSED/READY/NULL.
16487 Refactor QoS/frame dropping and other measurements.
16488 API: GstBaseSrc::qos
16491 * libs/gst/base/gstbasesink.h:
16492 Added Private struct.
16493 API: gst_base_sink_set_qos_enabled()
16494 API: gst_base_sink_is_qos_enabled()
16496 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16498 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16499 If compiling against GLib-2.8 or newer, try to read the
16500 registry file using GMappedFile first before falling back
16501 to fopen() + fread() (#332151).
16503 2006-03-22 Wim Taymans <wim@fluendo.com>
16505 * gst/gstinfo.c: (gst_debug_set_active),
16506 (gst_debug_category_set_threshold):
16507 Disable debugging unless explicitly activated.
16510 2006-03-22 Wim Taymans <wim@fluendo.com>
16512 * gst/gstelement.c: (gst_element_set_locked_state),
16513 (gst_element_dispose):
16514 Cleanup the error case.
16516 * gst/gstobject.c: (gst_object_dispose):
16517 print a critical when some object was disposed with
16518 a parent, also revive the object since it might
16521 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16523 * tools/gst-launch.1.in:
16526 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16529 * tests/check/Makefile.am:
16530 disable some tests when we don't have a registry
16531 * tests/check/gst/gstutils.c: (gst_utils_suite):
16532 don't build the part that needs parsing
16534 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16537 * tests/examples/Makefile.am:
16538 fix --disable-parse build
16540 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16542 * tools/gst-feedback.1.in:
16543 Fix typo: s/feeback/feedback/ (#133494).
16545 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16547 * tools/Makefile.am:
16548 * tools/gst-launch.1.in:
16549 Add FILES section and correct entry about GST_REGISTRY_PATH
16550 environment variable (#133495; #133494).
16552 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16554 * tools/Makefile.am:
16555 * tools/gst-md5sum.1.in:
16556 * tools/gst-md5sum.c:
16557 Remove gst-md5sum and man page (the md5sink element
16558 required was removed ages ago)
16560 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16562 * gst/gststructure.c: (gst_structure_id_set_value):
16563 Make sure that string fields in structures/taglists
16564 contain valid UTF-8 - we don't want to pass rubbish to
16565 applications because of a buggy plugin (cp. #334167).
16567 2006-03-21 Edward Hervey <edward@fluendo.com>
16569 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16570 (gst_bin_handle_message_func):
16571 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16572 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16573 (gst_element_set_bus_func):
16574 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16575 * gst/gstminiobject.c: (gst_value_set_mini_object),
16576 (gst_value_take_mini_object):
16577 * gst/gstpad.c: (gst_pad_set_pad_template):
16578 * gst/gstpipeline.c: (gst_pipeline_dispose),
16579 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16581 (gst_collect_pads_chain):
16582 * libs/gst/net/gstnettimeprovider.c:
16583 (gst_net_time_provider_set_property):
16584 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16585 It's in fact all issues with gst_*object_replace().
16587 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16589 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16591 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16592 * pkgconfig/gstreamer-check.pc.in:
16593 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16595 2006-03-21 Edward Hervey <edward@fluendo.com>
16599 * gst/gstmessage.h:
16600 gst_[buffer|event|message]_ref() macros are replaced by a static
16601 inline functions because gcc-4.1 will about if the return value
16603 * tests/check/gst/gstevent.c: (event_probe):
16604 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16606 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16609 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16610 the type' case. (Closes: #335195 for now). In the future, when we
16611 depend on GLib 2.10, we could also intern the type name using
16612 g_intern_static_string()
16614 2006-03-20 Wim Taymans <wim@fluendo.com>
16616 * gst/gstbin.c: (gst_bin_handle_message_func),
16617 (bin_query_max_init), (bin_query_position_fold),
16618 (bin_query_position_done), (gst_bin_query):
16619 Position query should also take max of all streams.
16621 2006-03-20 Wim Taymans <wim@fluendo.com>
16623 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16624 (gst_fake_src_finalize):
16625 Fix leaks in fakesrc.
16627 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16628 Fix leaks in the testcase.
16630 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16632 * gst/gst_private.h:
16633 add win32 specific import decoration(__declspec(dllimport))
16634 for all extern GstDebugCategory * variables
16635 * win32/common/libgstbase.def:
16636 * win32/common/libgstcontroller.def:
16637 * win32/common/libgstreamer.def:
16638 Add some exports, remove empty lines
16639 * win32/common/libgstdataprotocol.def:
16640 * win32/common/libgstdataprotocol.dsp:
16641 * win32/common/libgstnet.def:
16642 * win32/common/libgstnet.dsp:
16643 new project files and exportation files added
16645 2006-03-19 Wim Taymans <wim@fluendo.com>
16647 * tests/check/libs/basesrc.c: (eos_event_counter):
16648 Use proper return value for probe.
16650 2006-03-17 Wim Taymans <wim@fluendo.com>
16652 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16654 Don't leak buffers, caps and pads on negotiation errors.
16656 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16658 * docs/faq/cvs.xml:
16659 * docs/faq/dependencies.xml:
16660 * docs/faq/developing.xml:
16661 * docs/faq/faq.xml:
16662 * docs/faq/general.xml:
16663 * docs/faq/getting.xml:
16664 * docs/faq/legal.xml:
16665 * docs/faq/troubleshooting.xml:
16666 * docs/faq/using.xml:
16667 Faq review and update.
16669 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16671 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16673 Don't pound the cpu to pieces by checking get_caps when accept_caps
16674 is called with the same caps as the pad already has.
16675 Use GST_DEBUG_OBJECT when outputting caps change information.
16677 2006-03-15 Wim Taymans <wim@fluendo.com>
16679 * gst/gstclock.c: (gst_clock_class_init):
16682 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16687 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16688 (gst_pad_accept_caps), (gst_pad_configure_sink),
16689 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16690 Make the default acceptcaps behaviour be to check the requested
16691 caps against the gst_pad_get_caps output.
16693 Ensure that gst_pad_accept_caps is used to check caps when a pad
16694 doesn't have a setcaps function, so that pads automatically refuse
16695 caps that they don't allow in their pad template. (Fixes #332986)
16697 When a buffer with attached caps is pushed, ensure that the source
16698 pad receives those caps even if the element didn't call
16699 gst_pad_set_caps first.
16701 2006-03-15 Wim Taymans <wim@fluendo.com>
16703 * libs/gst/base/gstadapter.c:
16706 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16708 * win32/common/libgstbase.def:
16709 * win32/common/libgstcontroller.def:
16710 * win32/common/libgstreamer.def:
16711 Add a whole bunch of missing functions (#334434).
16713 2006-03-14 Wim Taymans <wim@fluendo.com>
16715 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16716 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16717 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16718 Better debug info when we receive a segment event.
16719 Reorganize a bit so we can pass the get_times() results around.
16720 Use the segment format when calculating the running time.
16721 Don't do QoS is sync is disabled or we have no clock or the
16722 element does not want us to sync to the clock.
16723 Don't drop buffers if QoS is disabled for now.
16725 2006-03-14 Wim Taymans <wim@fluendo.com>
16727 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16728 Marked the stats property as unimplemented so people don't get
16730 Add debug message when regression goes wrong.
16731 Added some more docs.
16733 2006-03-14 Wim Taymans <wim@fluendo.com>
16735 * gst/gstsegment.c: (gst_segment_to_stream_time):
16736 Return correct return type in case of errors.
16738 2006-03-14 Wim Taymans <wim@fluendo.com>
16740 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16741 Don't segfault on invalid formats.
16743 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16745 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16746 Can't use gst_segment_to_running_time() when the segment
16747 is not in GST_TIME_FORMAT (like with filesink, for example).
16748 Stops flac encoding pipelines from spewing critical warnings
16751 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16753 * gst/gstpipeline.c: (gst_pipeline_class_init):
16754 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16756 * plugins/elements/gsttypefindelement.c:
16757 (gst_type_find_element_handle_event):
16758 Don't try to typefind empty streams.
16760 2006-03-14 Wim Taymans <wim@fluendo.com>
16762 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16763 (gst_base_sink_do_qos):
16764 Separate QoS calculation.
16765 Only drop buffers when lateness is bigger than the
16766 duration of the buffer.
16768 2006-03-13 Wim Taymans <wim@fluendo.com>
16770 * gst/gstpipeline.c: (gst_pipeline_set_property),
16771 (gst_pipeline_get_property), (do_pipeline_seek),
16772 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16773 (gst_pipeline_get_delay):
16774 Don't deadlock when reading properties.
16776 2006-03-13 Wim Taymans <wim@fluendo.com>
16778 * libs/gst/base/gstbasetransform.c:
16779 (gst_base_transform_class_init), (gst_base_transform_init),
16780 (gst_base_transform_sink_event),
16781 (gst_base_transform_sink_eventfunc),
16782 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16783 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16784 (gst_base_transform_set_property),
16785 (gst_base_transform_get_property),
16786 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16787 (gst_base_transform_set_qos_enabled),
16788 (gst_base_transform_is_qos_enabled):
16789 * libs/gst/base/gstbasetransform.h:
16790 Make basetransform virtual method for src events too.
16791 Handle QOS in basetransform.
16792 API: gst_base_transform_update_qos()
16793 API: gst_base_transform_set_qos_enabled()
16794 API: gst_base_transform_is_qos_enabled()
16796 2006-03-13 Wim Taymans <wim@fluendo.com>
16798 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16799 (gst_base_sink_do_sync):
16801 Use QOS debug category.
16803 2006-03-13 Wim Taymans <wim@fluendo.com>
16805 * plugins/elements/gstqueue.c:
16806 Very small doc update.
16808 2006-03-13 Wim Taymans <wim@fluendo.com>
16810 * gst/gst_private.h:
16811 * gst/gstinfo.c: (_gst_debug_init):
16812 Added QOS debug category
16814 2006-03-13 Wim Taymans <wim@fluendo.com>
16816 * docs/gst/gstreamer-sections.txt:
16817 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16819 * gst/gstbus.c: (gst_bus_class_init):
16822 * gst/gstelement.c: (gst_element_set_locked_state):
16823 * gst/gstsegment.c:
16824 Documentation updates.
16826 * gst/gstpipeline.c: (gst_pipeline_get_type),
16827 (gst_pipeline_class_init), (gst_pipeline_init),
16828 (gst_pipeline_dispose), (gst_pipeline_set_property),
16829 (gst_pipeline_get_property), (do_pipeline_seek),
16830 (gst_pipeline_send_event), (gst_pipeline_change_state),
16831 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16832 (gst_pipeline_get_delay):
16833 * gst/gstpipeline.h:
16834 Added methods for setting the delay.
16835 API: gst_pipeline_set_delay()
16836 API: gst_pipeline_get_delay()
16837 Add pipeline debug category
16840 Don't reset stream time when seek failed.
16842 2006-03-13 Wim Taymans <wim@fluendo.com>
16844 * docs/design/draft-klass.txt:
16845 * docs/design/part-clocks.txt:
16846 * docs/design/part-events.txt:
16847 * docs/design/part-gstbin.txt:
16848 * docs/design/part-gstpipeline.txt:
16849 * docs/design/part-messages.txt:
16850 * docs/design/part-negotiation.txt:
16851 * docs/design/part-overview.txt:
16852 * docs/design/part-preroll.txt:
16853 * docs/design/part-seeking.txt:
16854 * docs/design/part-states.txt:
16855 * docs/design/part-streams.txt:
16856 Documentation updates.
16858 2006-03-12 Julien MOUTTE <julien@moutte.net>
16860 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16861 us to leak strings...
16863 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16865 * libs/gst/net/gstnettimeprovider.c:
16867 * win32/common/config.h:
16870 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16872 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16875 Don't check for libgnomeui (leftover from old examples
16876 that aren't built or disted any longer) (#334303).
16878 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16880 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16881 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16882 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16883 there's no space left on the device.
16885 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16888 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16889 to cast the input to GstClockTime before comparing with
16890 another GstClockTime value.
16892 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16897 === release 0.10.4 ===
16899 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16902 releasing 0.10.4, "Light"
16904 2006-03-10 Michael Smith <msmith@fluendo.com>
16906 * libs/gst/dataprotocol/dataprotocol.c:
16907 Fix docs for dataprocotol to not get the return types completely
16908 wrong for a few functions.
16910 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16912 * docs/gst/gstreamer-sections.txt:
16913 * gst/gstpipeline.c: (gst_pipeline_class_init),
16914 (gst_pipeline_init), (gst_pipeline_set_property),
16915 (gst_pipeline_get_property), (gst_pipeline_change_state),
16916 (gst_pipeline_set_auto_flush_bus),
16917 (gst_pipeline_get_auto_flush_bus):
16918 * gst/gstpipeline.h:
16919 Add new API: gst_pipeline_set_auto_flush_bus() and
16920 gst_pipeline_get_auto_flush_bus() to disable automatic
16921 flushing of the pipeline's GstBus when going from READY
16922 to NULL state (#332045).
16924 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16926 * docs/gst/gstreamer-sections.txt:
16927 * gst/gsturi.c: (gst_uri_has_protocol):
16929 Add new API: gst_uri_has_protocol() (#333779).
16931 2006-03-09 Wim Taymans <wim@fluendo.com>
16933 * gst/gstclock.c: (gst_clock_entry_new),
16934 (gst_clock_id_compare_func), (gst_clock_id_wait),
16935 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16936 (gst_clock_init), (gst_clock_get_internal_time),
16937 (gst_clock_set_master), (do_linear_regression),
16938 (gst_clock_add_observation), (gst_clock_set_property):
16942 Fix a possible segfault when the window-size is made smaller.
16943 Calculate jitter before performing the clock wait. Ideally
16944 the clock implementation should calculate jitter but we need
16945 API breakage for that.
16947 * gst/gstsystemclock.c: (gst_system_clock_init):
16950 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16951 Remove leftover else
16953 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16954 (gst_systemclock_suite):
16955 Added check to test GST_CLOCK_DIFF.
16957 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16959 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16960 (gst_type_find_helper_get_range):
16961 If we are provided with the size, we should implement
16962 GstTypeFind::get_length, so that typefind functions who
16963 want to can actually peek at the middle of a file.
16965 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16967 * docs/manual/advanced-dataaccess.xml:
16968 Add some very very basic error checking.
16970 * docs/pwg/appendix-checklist.xml:
16971 Some updates to the list of things to check when writing an element.
16973 2006-03-08 Wim Taymans <wim@fluendo.com>
16975 * docs/design/part-element-transform.txt:
16976 Added some docs about the design of tranform elements.
16978 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16979 (gst_base_src_loop), (gst_base_src_change_state):
16980 Mark buffers with the DISCONT flag.
16982 2006-03-08 Michael Smith <msmith@fluendo.com>
16984 * gst/gstregistry.h:
16985 * gst/gstregistryxml.c: (gst_registry_save),
16986 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16987 (gst_registry_xml_save_pad_template),
16988 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16989 (gst_registry_xml_write_cache):
16990 Rewrite registry-saving to avoid race conditions and check for
16993 2006-03-08 Wim Taymans <wim@fluendo.com>
16995 * libs/gst/base/gstbasetransform.c:
16996 (gst_base_transform_transform_caps),
16997 (gst_base_transform_transform_size),
16998 (gst_base_transform_prepare_output_buffer),
16999 (gst_base_transform_get_unit_size),
17000 (gst_base_transform_buffer_alloc),
17001 (gst_base_transform_handle_buffer),
17002 (gst_base_transform_change_state):
17003 Cleanups, separate normal flow from errors, add sensible
17005 Don't try to renegotiate when allocating an output buffer.
17006 Also copy DISCONT buffer flag when copying a buffer.
17007 Reset the transform after we finish streaming, not during.
17009 2006-03-08 Wim Taymans <wim@fluendo.com>
17011 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17012 Use last buffer timestamp in qos message.
17014 2006-03-07 Wim Taymans <wim@fluendo.com>
17016 Patch by: Christophe Fergeau
17018 * docs/pwg/advanced-tagging.xml:
17019 * docs/pwg/building-pads.xml:
17022 2006-03-07 Wim Taymans <wim@fluendo.com>
17024 * docs/libs/gstreamer-libs-sections.txt:
17025 Added basesink new methods.
17029 Docs updates. Flesh out the QoS docs.
17031 * libs/gst/base/gstadapter.c:
17032 Small doc clarification about ownership and flushing.
17034 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17035 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17036 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17037 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17038 * libs/gst/base/gstbasesink.h:
17040 Added new methods to allow subclass to control max-lateness
17042 Generate very basic QoS events based on last sync observation.
17043 Updated docs, fix typo, added some QoS blurb.
17045 * libs/gst/base/gstbasesrc.c:
17046 Remove obsolete _get_state() calls from docs.
17048 2006-03-07 Wim Taymans <wim@fluendo.com>
17050 * docs/libs/gstreamer-libs-sections.txt:
17051 * libs/gst/base/gstbasetransform.h:
17052 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17053 Fix docs for GstBaseSrc.
17055 2006-03-07 Wim Taymans <wim@fluendo.com>
17057 * docs/gst/gstreamer-sections.txt:
17060 * libs/gst/base/gstbasetransform.h:
17061 Small documentation fixes.
17063 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17066 Document thread-unsafety of gst_value_register_foo_func()
17067 when used at the same time as gst_value_foo() (#322628).
17069 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17071 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17072 (gst_push_src_check_get_range):
17073 Push sources don't support pull mode by default.
17075 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17077 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17078 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17079 (gst_base_src_default_check_get_range):
17080 * libs/gst/base/gstbasesrc.h:
17081 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17082 provide default implementation, and rename
17083 gst_base_src_check_get_range() to
17084 gst_base_src_pad_check_get_range() for clarity.
17086 2006-03-06 Wim Taymans <wim@fluendo.com>
17088 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17089 Make property overridable.
17091 2006-03-06 Wim Taymans <wim@fluendo.com>
17093 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17094 (gst_base_sink_init), (gst_base_sink_set_property),
17095 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17096 * libs/gst/base/gstbasesink.h:
17097 API addition: Make max-lateness a property.
17099 2006-03-06 Wim Taymans <wim@fluendo.com>
17101 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17102 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17103 Don't ever draw a frame that is >10ms late.
17105 2006-03-06 Michael Smith <msmith@fluendo.com>
17107 * gst/gstmessage.c: (_gst_message_copy):
17108 When copying a message, set the parent_refcount of the enclosed
17109 structure to point at the copy, not the original message.
17111 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17113 Patch by: Christophe Fergeau
17116 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17117 usable in c++ code (#333417)
17119 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17122 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17124 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17126 * libs/gst/base/gstbasetransform.c:
17127 (gst_base_transform_transform_caps):
17128 Make sure caps are writable before passing them to
17131 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17134 Fix some minor docs errors.
17136 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17138 Patch by: Ross Burton <ross at burtonini dot com>
17140 * gst/gsterror.c: (_gst_resource_errors_init):
17142 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17144 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17147 Add a check and output a g_warning when GStreamer is built
17148 against GLib 2.6 but running against 2.8 or higher, and vice
17149 versa. (Closes: #323542)
17151 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17153 * gst/parse/parse.l:
17154 Commit patch for parse_launch syntax from #331255. Removes
17155 support for quoted strings and mimetypes when writing filtered
17156 caps. See the bug report for more details - I'm pretty sure this
17157 obscure feature is not in use by _anyone_ anywhere.
17159 With this simple change, the size of the gstreamer.so here
17160 drops from 2193KB to 1565KB.
17162 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17164 * plugins/elements/gsttypefindelement.h:
17165 * plugins/elements/gsttypefindelement.c:
17166 (gst_type_find_element_src_event), (start_typefinding),
17167 (stop_typefinding), (gst_type_find_element_handle_event),
17168 (gst_type_find_element_chain),
17169 (gst_type_find_element_chain_do_typefinding):
17170 Use gst_type_find_helper_for_buffer() for chain-based
17173 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17175 * plugins/elements/gsttypefindelement.c:
17176 (gst_type_find_element_class_init),
17177 (gst_type_find_element_set_property),
17178 (gst_type_find_element_get_property):
17179 Deprecate "maximum" property (not only was it only taken into
17180 account for typefinding in push-mode anyway, it also was never
17181 actually possible to set it in the first place because the
17182 property was registered with the numeric property ID for the
17183 "minimum" property). Register "maximum" property correctly,
17184 for the sake of future copy'n'pasters. Remove some cruft
17185 from property get/set functions.
17187 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17189 * plugins/elements/gsttypefindelement.c:
17190 (gst_type_find_element_activate):
17191 Use gst_type_find_helper_get_range() here, so we
17192 can honour the "minimum" property and also emit
17193 the signal with the correct probability of the found caps.
17195 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17197 * docs/libs/gstreamer-libs-sections.txt:
17198 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17199 (helper_find_suggest), (gst_type_find_helper_get_range),
17200 (gst_type_find_helper):
17201 * libs/gst/base/gsttypefindhelper.h:
17202 New API: gst_type_find_helper_get_range() (#333042).
17204 2006-03-02 Michael Smith <msmith@fluendo.com>
17206 * gst/gstregistryxml.c: (load_feature):
17207 Asserting on a failure to read part of the registry is Not Cool.
17208 Just log a warning and return NULL (which is already handled)
17210 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17212 * win32/common/libgstbase.def:
17213 added export of gst_type_find_helper_for_buffer
17214 * win32/common/libgstbase.def:
17215 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17216 gst_ghost_pad_get_target
17218 2006-02-28 Wim Taymans <wim@fluendo.com>
17220 * docs/design/draft-klass.txt:
17222 Added Connector to mark elements that are only used to
17223 allow pipeline connections.
17224 Moved Debug to extra feature since most of them are
17225 functionally something else.
17227 2006-02-28 Wim Taymans <wim@fluendo.com>
17229 * docs/design/draft-klass.txt:
17230 Some updates and clarifications.
17232 2006-02-28 Wim Taymans <wim@fluendo.com>
17234 * docs/design/draft-klass.txt:
17235 Proposal for klass field values.
17237 * docs/design/part-streams.txt:
17238 Start of a doc describing stream anatomy.
17240 2006-02-28 Wim Taymans <wim@fluendo.com>
17242 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17243 Help the compiler a bit with type registration.
17244 Use existing forward cod path instead of duplicating it when
17245 handling a message.
17247 * gst/gstbus.c: (gst_bus_get_type):
17248 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17249 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17250 * gst/gstclock.c: (gst_clock_get_type):
17251 * gst/gstelement.c: (gst_element_get_type),
17252 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17253 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17254 * gst/gstminiobject.c: (gst_mini_object_get_type):
17255 * gst/gstpad.c: (gst_pad_get_type):
17256 * gst/gstsegment.c: (gst_segment_get_type):
17257 * gst/gststructure.c: (gst_structure_get_type):
17258 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17259 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17261 Help compiler with type registration.
17263 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17266 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17268 * plugins/elements/gsttypefindelement.c:
17269 (gst_type_find_element_handle_event):
17270 When we get an EOS event and have not found a type yet
17271 (most likely because we had not yet accumulated
17272 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17273 type given the data we have so far. Fixes typefinding
17274 for very short streams again, most notably quicktime
17275 redirections as used on Apple's trailer site (#331701).
17277 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17279 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17280 (gst_type_find_helper):
17281 Try typefinding factories with the highest rank first.
17283 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17285 * docs/libs/gstreamer-libs-docs.sgml:
17286 * docs/libs/gstreamer-libs-sections.txt:
17287 * libs/gst/base/gsttypefindhelper.c:
17288 Add section for typefind helper and add documentation
17289 for the old and the new function.
17291 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17293 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17294 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17295 (gst_type_find_helper_for_buffer):
17296 * libs/gst/base/gsttypefindhelper.h:
17297 New API: gst_type_find_helper_for_buffer() (#332723).
17299 2006-02-27 Michael Smith <msmith@fluendo.com>
17301 Patch by: Loïc Minier
17304 * docs/Makefile.am:
17305 * docs/slides/Makefile.am:
17306 prevent CVS directories getting disted.
17308 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17310 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17311 Use the REFCOUNTING category for caps refcounting.
17313 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17315 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17316 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17318 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17320 * plugins/elements/gsttypefindelement.c:
17321 (gst_type_find_element_activate):
17322 Use gst_pad_check_pull_range() before _activate_pull()
17323 to avoid unnecessary open/close (see #331690).
17325 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17328 Docs enhancement: make it crystal clear what the
17329 gst_pad_add_*_probe() callbacks should look like.
17331 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17333 * libs/gst/base/gstbasesrc.c:
17334 Document how applications can stop recording from
17335 live sources (see #330996).
17337 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17339 * tests/check/Makefile.am:
17340 * tests/check/libs/basesrc.c: (eos_event_counter),
17341 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17342 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17343 (gst_basesrc_suite), (main):
17344 ... and add some tests for the base source EOS stuff.
17346 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17348 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17349 Test case originally showed the problem fixed below,
17350 but was then amended. Add checks back at the place
17351 where they used to be.
17353 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17355 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17356 (gst_base_src_init), (gst_base_src_loop),
17357 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17358 (gst_base_src_change_state):
17359 * libs/gst/base/gstbasesrc.h:
17360 Don't unconditionally send EOS when going from PAUSED to
17361 READY state, esp. make sure we don't send two EOS events
17362 in some cases (e.g. one when reaching EOS and one when
17363 going from PAUSED to READY). Also, we don't want to send
17364 EOS events when operating in pull mode. However, we do
17365 want to send an EOS event when shutting down a live
17366 source explicitly, for example (fixes #330996).
17368 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17370 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17371 Update src->read_position after a seek when not using mmap.
17372 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17374 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17380 Make things work with --disable-parse as they do with
17381 --disable-load-save - the symbols involved disappear, but the
17382 header is still installed and GST_DISABLE_PARSE is included via
17385 2006-02-20 Julien MOUTTE <julien@moutte.net>
17387 * libs/gst/base/gstbasetransform.c:
17388 (gst_base_transform_change_state): Fix a stupid bug. I was
17389 sure I compiled that.
17391 2006-02-20 Julien MOUTTE <julien@moutte.net>
17393 * gst/gstpad.c: (gst_pad_set_blocked_async):
17394 * gst/gstutils.c: (gst_pad_add_data_probe),
17395 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17396 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17397 (gst_pad_remove_buffer_probe): Make those function act on the
17398 ghostpad target when it's a ghostpad. (Closes #331727)
17400 2006-02-20 Julien MOUTTE <julien@moutte.net>
17402 * libs/gst/base/gstbasetransform.c:
17403 (gst_base_transform_change_state): Make basetransform reusable.
17406 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17408 * docs/random/release:
17409 Move the current documentation of how to do a release to the top
17412 * gst/gstbin.c: (gst_bin_class_init),
17413 (gst_bin_handle_message_func):
17414 Allow multiple state-recalculation threads. (Closes #328873)
17416 2006-02-19 Julien MOUTTE <julien@moutte.net>
17418 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17419 * gst/gstpad.c: (gst_pad_set_event_function),
17420 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17421 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17422 2 strings. You can't use the STR_NULL macro on that.
17424 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17426 * gst/gstpad.c: (gst_pad_set_event_function),
17427 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17428 (gst_pad_set_getcaps_function)
17429 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17430 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17431 So now, we can use --gst-debug-level=5 on Windows
17432 * win32/common/libgstcontroller.def:
17433 Added export of gst_controller_init
17434 * win32/vs6/libgstcontroller.dsp:
17435 Fixed Release post build configuration
17437 2006-02-17 Wim Taymans <wim@fluendo.com>
17439 * tests/check/gst/gstquery.c: (GST_START_TEST):
17440 Added another check.
17442 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17444 * plugins/elements/gsttypefindelement.c: (find_peek):
17445 We can do peeks at non-zero offsets, as long as they
17446 fall within the buffer we have.
17448 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17450 * tests/check/Makefile.am:
17451 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17452 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17453 (parse_suite), (main):
17454 Add testsuite for parse launch syntax
17456 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17458 * plugins/elements/gsttypefindelement.c:
17459 (gst_type_find_element_chain):
17460 When typefinding is unsuccessful in the chain function, don't
17461 error out immediately. Only error out with NO_CAPS_FOUND if
17462 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17463 otherwise simply wait for more data so we can try typefinding
17464 again with more data later. Also, don't attempt to typefind
17465 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17466 this should improve typefinding from network sources where the
17467 size of the first buffer can be somewhat random.
17469 2006-02-14 Wim Taymans <wim@fluendo.com>
17471 * docs/gst/gstreamer-sections.txt:
17472 * gst/gstpadtemplate.c:
17473 * gst/gstpadtemplate.h:
17474 Fix padtemplate docs, fixes #328805.
17476 2006-02-14 Wim Taymans <wim@fluendo.com>
17478 * tools/gst-launch.c: (main):
17479 NO_PREROLL is not an ERROR so don't send confusing messages
17482 2006-02-14 Wim Taymans <wim@fluendo.com>
17484 Patch by: Torsten Schoenfeld
17486 * gst/gstregistry.c: (gst_registry_get_default),
17487 (_gst_registry_cleanup):
17488 Protect default registry with lock and ref/sink it.
17491 2006-02-14 Wim Taymans <wim@fluendo.com>
17494 * gst/gstquery.c: (gst_query_list_add_format),
17495 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17496 (gst_query_parse_formats_nth):
17497 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17500 2006-02-14 Wim Taymans <wim@fluendo.com>
17502 * docs/gst/gstreamer-sections.txt:
17503 Reworked query docs.
17505 * gst/gstquery.c: (gst_query_new_formats),
17506 (gst_query_list_add_format), (gst_query_set_formats),
17507 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17508 (gst_query_parse_formats_nth):
17510 Flesh out formats query, added some new methods.
17511 Fix part of #324398.
17513 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17514 Added query creation tests.
17516 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17518 * gst/gstpad.c: (fixate_value):
17519 Add a default fixation for fraction lists.
17521 2006-02-13 Wim Taymans <wim@fluendo.com>
17523 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17524 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17527 Detect and warn for obvious deadlocks. fixes #320340
17528 Fix error case where lock was not released.
17530 * tests/check/Makefile.am:
17531 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17532 (task_func), (gst_element_suite), (main):
17535 2006-02-13 Wim Taymans <wim@fluendo.com>
17537 * docs/gst/gstreamer-sections.txt:
17539 Add new functions to docs.
17541 2006-02-13 Wim Taymans <wim@fluendo.com>
17543 * docs/design/part-TODO.txt:
17544 Updated TODO list, basesrc supports seeking to non-bytes
17547 * docs/design/part-element-sink.txt:
17550 * gst/gstbin.c: (bin_replace_message),
17551 (gst_bin_handle_message_func):
17552 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17553 * gst/gstevent.c: (gst_event_finalize):
17554 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17555 (gst_pad_send_event):
17556 Use shiny new _TYPE_NAME macros.
17558 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17559 Move debug statement up.
17561 * gst/gstelement.c: (gst_element_set_locked_state):
17562 Add some debugging.
17564 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17566 * docs/gst/gstreamer-sections.txt:
17567 * gst/gstmessage.h:
17569 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17570 macros (#330906). Also, document the already existing
17571 GST_QUERY_TYPE macro.
17573 2006-02-13 Wim Taymans <wim@fluendo.com>
17575 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17576 (event_probe), (GST_START_TEST):
17577 Only events up to the pipeline EOS are counted, there are
17578 some more when going to NULL currently which we don't care
17581 2006-02-13 Wim Taymans <wim@fluendo.com>
17583 * gst/gstpad.c: (gst_pad_send_event):
17584 Correctly check flushing and emit probes. fixes #330125
17586 2006-02-10 Andy Wingo <wingo@pobox.com>
17588 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17590 (gst_bus_init): Cache the location of the private data in the
17591 instance structure.
17592 (gst_bus_enable_sync_message_emission)
17593 (gst_bus_disable_sync_message_emission): Implement new public
17595 (gst_bus_post): Emit the sync-message signal if the user asked for
17598 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17599 location of the bus-private structure.
17600 (gst_bus_enable_sync_message_emission)
17601 (gst_bus_disable_sync_message_emission): API addition
17603 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17605 Patch by: Vincent Torri
17607 * docs/pwg/building-boiler.xml:
17608 PWG patch from #326800
17610 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17613 * docs/Makefile.am:
17614 * docs/design/Makefile.am:
17617 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17622 === release 0.10.3 ===
17624 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17627 releasing 0.10.3, "Like a virgin"
17629 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17632 2nd prerelease of 0.10.3
17633 Bump libtool versioning.
17635 2006-02-07 Andy Wingo <wingo@pobox.com>
17637 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17638 update last_stop if we're in TIME format and the timestamp is
17641 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17642 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17643 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17644 If we get a new newsegment with a different format, adapt
17647 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17648 of 0. Not a problem, really.
17650 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17653 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17658 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17661 project files updated to the default vs7 configuration
17662 * win32/common/libgstbase.def:
17663 * win32/common/libgstreamer.def:
17665 removed empty lines,
17666 sorted all exported symbols alphabetically
17667 * win32/common/dirent.c:
17668 * win32/common/dirent.h:
17669 * win32/common/gchar.h:
17670 use windows line end.
17672 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17674 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17675 Send EOS event when stopping.
17677 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17680 Tell folks what to do if the plugin-foobar.xml file
17681 hasn't been generated for a newly-added plugin.
17683 2006-02-05 Julien MOUTTE <julien@moutte.net>
17685 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17686 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17687 (gst_collect_pads_start), (gst_collect_pads_stop),
17688 (gst_collect_pads_event): Collectpads now holds a reference
17689 to the GstPad that was added. Indeed we don't want to look
17690 at pads that might just go away with no warning...
17692 2006-02-05 Julien MOUTTE <julien@moutte.net>
17694 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17695 (gst_collect_pads_start), (gst_collect_pads_stop),
17696 (gst_collect_pads_event), (gst_collect_pads_chain):
17697 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17698 Mark Nauwelaerts's patch on bug #328491.
17700 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17702 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17704 Add some simple tests for gst_parse_bin_from_description() and
17705 gst_bin_find_unconnected_pad() (#329069).
17707 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17709 * tools/gst-launch.c: (event_loop), (main):
17710 Catch errors during preroll (#320084).
17712 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17714 * plugins/elements/gsttypefindelement.c:
17715 (gst_type_find_element_activate):
17716 Post TYPE_NOT_FOUND error message when typefinding
17717 is unsuccessful in the activate function as well.
17719 2006-02-02 Wim Taymans <wim@fluendo.com>
17721 * docs/design/part-element-sink.txt:
17724 2006-02-02 Wim Taymans <wim@fluendo.com>
17726 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17727 (gst_base_sink_render_object),
17728 (gst_base_sink_queue_object_unlocked):
17729 Only keep track of prerollable items when we are
17731 Before rendering after preroll, always check if we
17733 Added some more debugging.
17735 2006-02-02 Wim Taymans <wim@fluendo.com>
17737 * gst/gstelement.c: (gst_element_continue_state),
17738 (gst_element_set_state_func), (gst_element_change_state):
17739 Fixed #326576, been running this for quite some time with
17740 no regressions at all.
17742 2006-02-02 Wim Taymans <wim@fluendo.com>
17745 Added more suppressions
17747 2006-02-02 Wim Taymans <wim@fluendo.com>
17749 * docs/design/part-element-sink.txt:
17752 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17753 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17754 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17755 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17756 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17757 (gst_base_sink_preroll_object),
17758 (gst_base_sink_queue_object_unlocked),
17759 (gst_base_sink_queue_object), (gst_base_sink_event),
17760 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17761 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17762 (gst_base_sink_get_position), (gst_base_sink_change_state):
17763 * libs/gst/base/gstbasesink.h:
17764 Totally refactored matching the design doc.
17765 Use two segments, one to clip incomming buffers and another to
17767 Handle queueing correctly, bypass the queue when playing.
17768 Make EOS cancelable.
17769 Handle errors correctly when operating in pull based mode.
17771 * tests/check/elements/fakesink.c: (GST_START_TEST),
17773 Added new check for sinks.
17775 2006-02-02 Wim Taymans <wim@fluendo.com>
17777 * gst/gstsegment.c: (gst_segment_clip):
17778 No reason to refuse to clip when start == -1
17780 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17783 * docs/manual/intro-basics.xml:
17784 * docs/manual/intro-preface.xml:
17785 * docs/manual/manual.xml:
17786 * docs/pwg/advanced-dparams.xml:
17787 * docs/pwg/intro-basics.xml:
17788 * docs/pwg/intro-preface.xml:
17789 * docs/pwg/pwg.xml:
17790 describe dparams (controller) for plugins
17791 unify docs a little more
17793 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17795 * docs/gst/gstreamer-sections.txt:
17796 * gst/gstutils.c: (element_find_unconnected_pad),
17797 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17799 Add new API: gst_parse_bin_from_description() and
17800 gst_bin_find_unconnected_pad() (#329069).
17802 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17804 * docs/manual/README:
17805 uncover a nasty detail of the docs build
17807 2006-01-31 Wim Taymans <wim@fluendo.com>
17809 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17810 Don't cache duration messages if we're not going to use or
17813 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17815 * docs/manual/advanced-dparams.xml:
17816 * docs/pwg/advanced-dparams.xml:
17820 * libs/gst/controller/lib.c: (gst_controller_init):
17823 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17825 * gst/gstelement.c: (gst_element_message_full):
17826 also show file/line/func if no additional debug was given
17828 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17830 * win32/vs7/grammar.vcproj:
17831 activate copy of autogenerated files for Release mode
17833 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17835 * win32/common/libgstreamer.def:
17836 export gst_value_compare
17838 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17840 * plugins/elements/Makefile.am:
17841 * plugins/elements/gstelements.c:
17842 * plugins/elements/gstfdsink.c: (_do_init),
17843 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17844 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17845 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17846 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17847 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17848 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17849 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17850 * plugins/elements/gstfdsink.h:
17851 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17853 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17855 * docs/manual/advanced-dparams.xml:
17856 describe controller
17857 * docs/manual/advanced-position.xml:
17858 * docs/manual/basics-init.xml:
17859 * docs/manual/manual.xml:
17860 * docs/manual/titlepage.xml:
17861 * docs/pwg/pwg.xml:
17862 * docs/pwg/titlepage.xml:
17863 cleanup xml (more to come)
17864 * libs/gst/controller/gstcontroller.c:
17867 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17869 * win32/vs6/grammar.dsp:
17870 add autogen of gstmarshal.c,h for Release mode
17872 2006-01-30 Wim Taymans <wim@fluendo.com>
17874 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17875 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17876 (gst_base_sink_handle_object), (gst_base_sink_event),
17877 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17878 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17879 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17880 (gst_base_sink_deactivate), (gst_base_sink_activate),
17881 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17882 (gst_base_sink_query), (gst_base_sink_change_state):
17883 Basesink cleanups, remove some old code.
17884 Handle the case where a subclass can preroll in the render
17885 method (mostly audiosinks).
17886 Handle more events.
17887 Remove some locks around variables that are now protected
17888 with the PREROLL_LOCK (clock_id, flushing, ..).
17889 Optimize position query some more, do correct locking.
17890 Remove old code to push queue in state change, this is not
17891 needed anymore since preroll blocks on all prerollable items
17893 Almost implemented as described in design doc.
17895 2006-01-30 Wim Taymans <wim@fluendo.com>
17897 * tests/check/gst/gstbin.c: (GST_START_TEST):
17898 Wait for refcount to settle down before checking.
17900 2006-01-30 Wim Taymans <wim@fluendo.com>
17902 * docs/design/part-element-sink.txt:
17903 Pseudo code overview of desired sink behaviour regarding
17906 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17907 * win32/vs6/grammar.dsp:
17908 fix some bugs in Release mode for autogenerated files
17910 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17911 * win32/common/libgstbase.def:
17912 * win32/common/libgstreamer.def:
17913 export some new symbols: gst_base_src_set_format,
17914 gst_iterator_next, gst_structure_set_valist
17916 2006-01-29 Julien MOUTTE <julien@moutte.net>
17918 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17919 Set pad functions unconditionally. Fixes #329105.
17921 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17923 add vs8 project files created by Sergey Scobich
17925 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17927 * gst/gstutils.c: (gst_element_unlink_pads):
17928 Don't leak pad references.
17930 * tests/check/elements/fakesink.c: (GST_START_TEST):
17931 * tests/check/generic/sinks.c: (GST_START_TEST):
17932 * tests/check/generic/states.c: (GST_START_TEST):
17933 * tests/check/gst/gstbin.c: (GST_START_TEST):
17934 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17935 * tests/check/gst/gstelement.c: (GST_START_TEST):
17936 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17937 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17938 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17939 Fix a bunch of leaks. Make generic/sinks.c
17940 use a bit less cpu by slowing the buffer rate
17941 between fakesrc and fakesink.
17943 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17945 * gst/gstelement.c: (gst_element_send_event):
17948 * gst/gstiterator.c:
17949 * gst/gstiterator.h:
17950 * gst/gstpad.c: (gst_pad_send_event):
17951 * gst/gststructure.c:
17955 * libs/gst/base/gstadapter.c:
17956 doc fixes, to link to function, just write gst_cool_function(), don't
17959 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17961 * plugins/elements/gsttee.c: (gst_tee_do_push),
17962 (gst_tee_handle_buffer):
17963 Always prefer an actual return value from a src
17964 pad in place of NOT_LINKED. This means we return
17965 WRONG_STATE when all src pads are WRONG_STATE
17966 instead of NOT_LINKED.
17968 Lock when replacing the last message to prevent
17969 racing with the get_property method.
17973 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17975 * tests/check/Makefile.am:
17976 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17978 Add a very simple check that should have caught the memleak I fixed
17979 last night (if not for the slice allocator hiding it)
17981 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17983 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17984 (gst_bin_remove_func), (gst_bin_handle_message_func),
17985 (bin_query_duration_fold), (bin_query_generic_fold):
17986 Clean up references to the clock provider when disposed or when
17987 handling a clock-lost message from it.
17989 Unref sinks when performing a query via gst_iterator_fold, as the
17990 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17992 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17993 (gst_clock_set_master):
17994 Drop our reference to the master clock, if any, when we are disposed.
17996 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17997 Chain up in dispose.
17999 2006-01-26 Wim Taymans <wim@fluendo.com>
18001 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18002 Add some debugging.
18004 2006-01-26 Julien MOUTTE <julien@moutte.net>
18006 * plugins/elements/gsttee.c: (gst_tee_do_push),
18007 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18008 handles pad being NOT_LINKED or in WRONG_STATE.
18010 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18015 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18018 remove obsolete entry
18020 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18022 * docs/gst/gstreamer-sections.txt:
18023 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18024 (gst_bin_iterate_sources), (gst_bin_send_event):
18026 * gst/gstelement.c: (gst_element_send_event):
18028 * gst/gstpad.c: (gst_pad_send_event):
18029 added code for downstream events, reviewed docs in gstevent.c
18031 2006-01-25 Julien MOUTTE <julien@moutte.net>
18033 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18034 We only query position using the clock in the playing state.
18035 Query peer in the other cases.
18036 * win32/common/config.h: Updates.
18038 2006-01-24 Wim Taymans <wim@fluendo.com>
18040 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18041 A clock entry that is scheduled for the exact time of the
18042 clock is still in time.
18044 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18045 (gst_base_sink_do_sync):
18046 Add some more debug info.
18048 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18051 Add new vs7 project files and solution.
18053 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18056 all files removed as they were out-dated.
18058 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18060 * docs/random/release:
18062 * gst/gstbin.c: (gst_bin_init):
18063 * gst/gstbus.c: (gst_bus_new):
18065 * gst/gstpipeline.c: (gst_pipeline_init):
18066 use gst_bus_new(), improve logging, fix docs
18067 * win32/common/config.h:
18068 update for cvs build
18070 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18073 up required version of automake to 1.7
18075 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18077 * win32/common/libgstreamer.def:
18078 export gst_buffer_is_metadata_writable
18080 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18082 * docs/gst/gstreamer-sections.txt:
18084 Add gst_event_replace() (#327001)
18086 2006-01-20 Wim Taymans <wim@fluendo.com>
18088 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18089 Make it actually compile too..
18091 2006-01-20 Wim Taymans <wim@fluendo.com>
18094 Clarify behaviour of _is_equal() when passing NULL parameters.
18096 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18097 (gst_pad_set_caps):
18098 Cleanups. Don't unref NULL caps.
18099 When setting the same caps, protect caps of the pad with
18101 Use full functionality of _is_equal() when comparing caps.
18103 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18105 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18106 Don't loop infinitely if there are no buffers to present. Partially
18107 fixes #327197, but collectpads is just broken for reusing elements
18108 to do multiple encodes atm.
18110 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18112 * tools/gst-inspect.c: (print_element_features):
18113 * tools/gst-xmlinspect.c: (main):
18114 URL_HANDLER is not a plugin feature we can search for in
18117 2006-01-19 Edward Hervey <edward@fluendo.com>
18119 * gst/gstelement.c: (gst_element_pads_activate):
18120 When activating, do src pads first, then sink pads.
18121 When de-activating, do sink pads first, then src pads.
18123 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18125 * docs/gst/gstreamer-sections.txt:
18126 Add gst_index_add_associationv to the docs
18128 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18133 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18134 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18135 Do some refactoring. Doesn't actually change functionality,
18136 but makes landing the DRAIN event easier later.
18138 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18140 * docs/pwg/advanced-scheduling.xml:
18141 Update from 0.9.x to 0.10 API and make example a bit
18144 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18146 * docs/gst/gstreamer-sections.txt:
18147 Add gst_buffer_(is|make)_metadata_writable methods.
18149 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18151 * docs/design/part-sparsestreams.txt:
18152 Update sparse streams doc, hopefully for greater clarity
18154 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18156 * docs/design/part-events.txt:
18157 Remove mention of FILLER events.
18160 * docs/design/part-sparsestreams.txt:
18161 Write some things about using NEWSEGMENT to keep sparse streams
18164 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18166 * gst/gstbin.c: (gst_bin_dispose):
18167 Guard gst_object_unref call against a NULL object (dispose
18168 can theoretically be called multiple times).
18170 2006-01-18 Wim Taymans <wim@fluendo.com>
18172 * gst/gstbin.c: (gst_bin_element_set_state):
18173 * gst/gstclock.c: (gst_clock_id_wait):
18174 Added some more debug info.
18176 * libs/gst/base/gstadapter.c:
18179 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18180 (gst_base_sink_do_sync), (gst_base_sink_chain):
18181 Added some comments.
18183 2006-01-18 Wim Taymans <wim@fluendo.com>
18185 * tests/check/Makefile.am:
18186 * tests/check/elements/fakesink.c: (chain_async_buffer),
18187 (chain_async), (chain_async_return), (GST_START_TEST),
18188 (fakesink_suite), (main):
18189 Added fakesink test that checks prerolling and clipping
18192 * tests/check/gst/gstutils.c: (GST_START_TEST):
18193 Make check run faster so that buildbots don't timeout.
18195 2006-01-18 Wim Taymans <wim@fluendo.com>
18197 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18198 (gst_base_sink_do_sync):
18200 When the sink finishes blocking on the preroll buffer, it can
18201 immediatly render it instead of rendering when the next buffer
18204 2006-01-18 Wim Taymans <wim@fluendo.com>
18206 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18207 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18208 (gst_base_sink_chain):
18210 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18211 Don't store _last_stop if the buffer is dropped.
18213 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18215 * plugins/elements/gsttypefindelement.c:
18216 (gst_type_find_element_class_init):
18217 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18218 object method handler that sets the caps on the pad and we want
18219 that to happen before we emit the signal (fixes e.g. feeding a
18220 plain text file to decodebin).
18222 2006-01-18 Christian Schaller <Christian@fluendo.com>
18224 * gst/gstplugin.c: Add MPL and Proprietary as license options
18226 2006-01-18 Andy Wingo <wingo@pobox.com>
18228 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18229 symbol was exported before, it appears this was just an oversight.
18231 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18233 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18234 prototype to gint. OK since this prototype was not in the header.
18236 2006-01-17 Andy Wingo <wingo@pobox.com>
18238 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18239 registry while we remove plugins.
18241 * tools/gst-inspect.c (print_element_info): Don't unref the
18242 factory arg, that should be the responsibility of whatever code
18243 received the ref. Fixes a double-free when called from
18244 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18245 (main): Unref the factory if we have one.
18246 (print_element_list): No change -- relies on the
18247 plugin_feature_list_free to free the list of features.
18249 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18251 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18252 (gst_buffer_make_metadata_writable):
18254 * libs/gst/base/gstbasetransform.c:
18255 (gst_base_transform_prepare_output_buf):
18256 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18257 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18258 Replace gst_buffer_(make|is)_metadata_writable patch now
18259 that the release is out.
18261 2006-01-17 Andy Wingo <wingo@pobox.com>
18263 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18264 in the present tense without reference to versions.
18266 * gst/gstregistry.c (gst_registry_add_plugin)
18267 (gst_registry_remove_plugin, gst_registry_remove_feature)
18268 (gst_registry_find_feature, gst_registry_get_feature_list)
18269 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18270 (gst_registry_lookup, gst_registry_scan_path)
18271 (_gst_registry_remove_cache_plugins)
18272 (gst_registry_get_feature_list_by_plugin): Add argument
18275 === release 0.10.2 ===
18277 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18280 releasing 0.10.2, "If man is five"
18282 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18286 * libs/gst/base/gstbasetransform.c:
18287 (gst_base_transform_prepare_output_buf):
18288 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18289 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18290 Back out patch until after the release.
18292 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18294 * gst/gstminiobject.c:
18295 Spelling fix in docs.
18296 * ChangeLog - remove conflict indicator
18298 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18300 Reviewed By: Andy Wingo
18302 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18303 (gst_buffer_make_metadata_writable):
18305 Add gst_buffer_(is|make)_metadata_writable as analogues of
18306 gst_buffer_(is|make)_writable.
18308 * libs/gst/base/gstbasetransform.c:
18309 (gst_base_transform_prepare_output_buf):
18310 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18311 Use name gst_buffer_(is|make)_metadata_writable functions.
18313 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18314 Test gst_buffer_(is|make)_metadata_writable
18318 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18320 * docs/manual/Makefile.am:
18321 don't do parallel make
18324 * win32/common/config.h.in:
18325 add generations for HOST_CPU and GST_MAJORMINOR
18326 * win32/common/config.h:
18327 commit generated result
18329 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18331 * docs/manual/appendix-integration.xml:
18332 Update GNOME integration section to use gst_init_get_option_group()
18333 instead of the old popt stuff (#322911). Also, GNOME applications
18334 should now use gconf*sink and gconf*src instead of the old gconf
18337 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18340 * docs/gst/gstreamer-docs.sgml:
18341 * docs/gst/gstreamer-sections.txt:
18342 * docs/libs/gstreamer-libs-sections.txt:
18343 add new API entries to the docs
18344 * libs/gst/controller/Makefile.am:
18345 * libs/gst/controller/gstcontroller.c:
18346 * libs/gst/controller/gstcontroller.h:
18347 * libs/gst/controller/gstcontrollerprivate.h:
18348 * libs/gst/controller/gsthelper.c:
18349 * libs/gst/controller/gstinterpolation.c:
18350 move private structs to private header
18352 gstreamer-0.7 -> gstreamer-0.10
18353 * tests/check/libs/struct_i386.h:
18354 remove private structs
18356 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18358 * plugins/indexers/Makefile.am:
18359 Fixes as part of #317048
18361 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18363 * plugins/indexers/Makefile.am:
18364 fix #316086 - compilation when mmap is missing
18366 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18368 * libs/gst/base/gstbasesink.c:
18369 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18370 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18371 * win32/common/config.h:
18372 added some defines GST_MAJORMINOR and HOST_CPU
18373 * win32/common/libgstbase.def:
18374 * win32/common/libgstreamer.def:
18375 added some exported functions.
18377 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18379 * libs/gst/controller/gstcontroller.c:
18380 (gst_controlled_property_set_interpolation_mode),
18381 (gst_controlled_property_new):
18382 * libs/gst/controller/gstcontroller.h:
18383 * libs/gst/controller/gstinterpolation.c:
18384 (interpolate_none_get_string_value_array):
18385 make G_TYPE_STRING controlable
18387 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18390 * tools/gst-feedback.1.in:
18391 * tools/gst-inspect.1.in:
18392 * tools/gst-launch.1.in:
18393 * tools/gst-md5sum.1.in:
18394 * tools/gst-typefind.1.in:
18395 * tools/gst-xmlinspect.1.in:
18396 * tools/gst-xmllaunch.1.in:
18397 cleanup man-pages, remove reference to gst-register, document env-vars
18399 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18401 * gst/gstbuffer.c: (gst_buffer_span):
18402 gst_buffer_span should copy the timestamp of the first buffer
18403 if they were both originally overlapping subbuffers of the
18404 same parent, using the same logic as the 'slow copy' case.
18406 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18408 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18409 Need to awaken ALL the pads when we pop a buffer, otherwise
18410 collectpads only works when there is 2 input streams.
18412 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18414 * docs/random/ensonic/media-device-daemon.txt:
18417 fix doc example, add clarification
18418 * tools/gst-launch.1.in:
18419 add initial info about GST_PLUGIN_PATH, needs more work
18421 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18423 * docs/manual/basics-bins.xml:
18424 * docs/manual/basics-elements.xml:
18425 * docs/manual/intro-basics.xml:
18426 Some more minor docs additions and updates.
18428 2006-01-11 Wim Taymans <wim@fluendo.com>
18430 * docs/manual/basics-bins.xml:
18431 * docs/manual/basics-elements.xml:
18432 Some small fixes as pointed out by Ser-ver on IRC.
18434 2006-01-10 Edward Hervey <edward@fluendo.com>
18436 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18437 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18438 the single-segment mode.
18440 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18442 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18444 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18445 (gst_base_src_perform_seek), (gst_base_src_send_event),
18446 (gst_base_src_set_property), (gst_base_src_get_property),
18447 (gst_base_src_loop), (gst_base_src_start),
18448 (gst_base_src_activate_push):
18449 * libs/gst/base/gstbasesrc.h:
18450 Name (private) union; makes Sun's Forte compiler happy (#324900).
18452 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18455 gst-register is gone.
18457 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18459 * gst/gstvalue.c: (_gst_value_initialize):
18460 make the G_TYPE_DATE instantiation work if debug is disabled
18462 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18464 * gst/gstmessage.c: (gst_message_parse_tag),
18465 (gst_message_parse_error), (gst_message_parse_warning):
18466 Don't crash when return location for error/warning debug
18467 string is NULL; add fact that return locations can be
18468 NULL to docs where appropriate.
18470 2006-01-05 Wim Taymans <wim@fluendo.com>
18472 * gst/gstplugin.c: (gst_plugin_load_file):
18473 Replace strdup by g_strdup.
18475 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18477 * docs/pwg/advanced-types.xml:
18480 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18482 submitted by: Abel Cheung
18486 Added Chinese (traditional) translation
18488 2006-01-04 Wim Taymans <wim@fluendo.com>
18490 * docs/manual/basics-pads.xml:
18491 * docs/plugins/Makefile.am:
18492 * docs/plugins/gstreamer-plugins-docs.sgml:
18493 * docs/plugins/gstreamer-plugins-sections.txt:
18494 * docs/pwg/advanced-clock.xml:
18495 * docs/pwg/advanced-scheduling.xml:
18496 * docs/pwg/advanced-types.xml:
18497 * plugins/elements/gstfdsink.c:
18498 * plugins/elements/gstfdsrc.c:
18499 * plugins/elements/gstfdsrc.h:
18500 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18501 * plugins/elements/gstidentity.h:
18502 * plugins/elements/gstqueue.h:
18503 * plugins/elements/gsttee.c:
18504 * plugins/elements/gsttee.h:
18505 * plugins/elements/gsttypefindelement.c:
18506 (gst_type_find_element_class_init):
18507 * plugins/elements/gsttypefindelement.h:
18508 Small updates to various docs.
18509 Added core plugins to docs.
18511 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18514 add a suppression for liboil's uninitialized variable
18516 2006-01-02 James Livingston <jrl at ids dot org dot au>
18518 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18521 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18522 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18523 compiler switch is being used (#325429).
18525 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18527 * gst/gstbin.c: (gst_bin_query):
18528 Disable duration query caching in bins until it gets
18529 fixed (see #324807).
18531 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18533 * tools/gst-inspect.c: (print_element_properties_info):
18534 Handle properties of POINTER and BOXED type.
18536 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18538 * gst/gst.c: (init_post):
18539 Init tags stuff and some other things before loading
18540 any static plugins (there may be other static plugins
18541 than just the GStreamer ones, and they may want to
18542 register their own tags or formats or whatever, and
18543 preferably without segfaulting).
18545 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18546 Print at least a warning in the debug logs if we drop a
18547 query just because we don't know how to adjust the value
18548 in the particular format.
18550 2005-12-24 David Schleef <ds@schleef.org>
18552 * tools/gstreamer-completion:
18553 Replacement for gst-complete written in sh and sed. Only
18554 completes names of features, but that's 90% of what I want
18555 it for. Properties are not available in registry.xml. (Maybe
18558 === release 0.10.1 ===
18560 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18563 releasing 0.10.1, "Nollaig chridheil"
18565 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18567 * docs/faq/cvs.xml:
18568 Add missing quote, should be make ERROR_CFLAGS="".
18570 2005-12-20 Wim Taymans <wim@fluendo.com>
18572 * docs/design/part-trickmodes.txt:
18573 More documentation on trickmodes.
18575 2005-12-20 Edward Hervey <edward@fluendo.com>
18577 * gst/gstcaps.c: (gst_static_caps_get_type):
18579 API addition: GST_TYPE_STATIC_CAPS
18580 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18581 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18582 * gst/gstpadtemplate.h:
18583 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18584 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18587 2005-12-18 Wim Taymans <wim@fluendo.com>
18589 * libs/gst/base/gstadapter.c:
18590 * libs/gst/base/gstadapter.h:
18591 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18592 (gst_base_sink_get_position):
18593 * libs/gst/base/gstbasesink.h:
18594 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18595 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18596 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18597 (gst_base_src_send_event), (gst_base_src_update_length),
18598 (gst_base_src_get_range), (gst_base_src_loop),
18599 (gst_base_src_start):
18600 * libs/gst/base/gstbasesrc.h:
18601 * libs/gst/base/gstbasetransform.h:
18602 * libs/gst/base/gstcollectpads.h:
18603 * libs/gst/base/gstpushsrc.c:
18604 * libs/gst/base/gstpushsrc.h:
18605 * libs/gst/dataprotocol/dataprotocol.c:
18606 * libs/gst/dataprotocol/dataprotocol.h:
18607 * libs/gst/net/gstnetclientclock.h:
18608 * libs/gst/net/gstnettimeprovider.h:
18609 Documentation updates.
18611 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18613 * docs/manual/basics-helloworld.xml:
18614 Remove superfluous closing bracket in helloworld example.
18616 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18618 * tools/gst-launch.1.in:
18619 Update gst-launch man page; add a section with useful
18620 environment variables. Fixes #323882.
18622 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18625 * gst/gst_private.h:
18626 change some char* into char[]
18628 2005-12-16 Wim Taymans <wim@fluendo.com>
18630 * gst/gstregistryxml.c: (load_feature):
18632 Don't use g_object_unref on GstObjects so that we avoid
18633 leaks on unsafe glibs.
18635 2005-12-16 Wim Taymans <wim@fluendo.com>
18637 * gst/gstbin.c: (gst_bin_recalc_state):
18640 2005-12-16 Wim Taymans <wim@fluendo.com>
18642 * common/check.mak:
18643 Added make forever target for check.
18645 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18647 * gst/gst.c: (init_post):
18648 make the registry cache file HOST_CPU-dependent
18650 2005-12-16 Andy Wingo <wingo@pobox.com>
18652 * plugins/elements/gstbufferstore.c
18653 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18656 * tests/check/gst/gstobject.c
18657 (test_fake_object_name_threaded_unique): Pay attention to
18658 g_list_sort return value.
18660 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18662 * tools/gst-feedback-m.m:
18663 Update for 0.9/0.10 (fixes #323870).
18665 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18667 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18668 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18670 * tests/check/gst/gstminiobject.c: (my_foo_init),
18671 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18672 (test_value_collection), (gst_mini_object_suite):
18673 Add test to ensure refcounts end up as expected when passing
18674 GstMiniObjects through g_object_get() and g_object_set().
18676 2005-12-14 Julien MOUTTE <julien@moutte.net>
18678 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18679 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18680 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18681 of collectpads. This version removes a lot of races without
18682 touching API/ABI. Yay !
18684 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18686 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18687 Don't allow activation of a srcpad in pull_range if it has no
18689 Change some debug statements to be a little clearer
18691 * plugins/elements/gsttypefindelement.c:
18692 (gst_type_find_handle_src_query):
18693 Check that we have a peer before executing queries thereupon.
18695 * tests/examples/metadata/read-metadata.c: (message_loop):
18696 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18697 immediately return us any available message with 0 timeout.
18699 2005-12-12 Michael Smith <msmith@fluendo.com>
18701 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18702 Don't unref factories after calling them.
18703 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18704 * plugins/elements/gsttypefindelement.c:
18705 (gst_type_find_element_chain):
18706 Free lists of factories after using them. Fixing typefinding memory
18709 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18711 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18712 (gst_plugin_feature_load):
18713 more meaningful debug output
18715 * tests/Makefile.am:
18716 * tests/old/examples/Makefile.am:
18717 make make distcheck happy again
18719 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18721 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18722 Catch the special case where we are operating chain-based,
18723 but the downstream peer pad has no chain function. Emit a
18724 custom error message in this case instead of letting the
18725 core generate one implying that this is some sort of core
18726 bug. It's not, it just means that whatever got plugged
18727 into the pipeline downstream when we announced the type
18728 can only operate pull-based, while our source can only
18729 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18730 Error string has not been marked for translation yet, as
18731 it probably needs some more work first.
18733 (gst_type_find_element_get_best_possibility):
18734 Add helper function to find the best of all available
18735 found possibilities that qualify given the min. threshold.
18737 (gst_type_find_element_handle_event):
18738 Fix the case where we get an EOS while still in TYPEFIND
18739 mode (we want to chose the best of all possible types,
18740 not just the first type that happens to be in our unsorted
18741 list of possible types).
18743 (gst_type_find_element_chain):
18744 Make sure we return GST_FLOW_ERROR when we errored out
18745 in stop_typefinding(); also, don't just find the best of
18746 all found type entries and then use the last examined
18747 type entry, but actually use the best entry.
18749 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18751 * tests/examples/typefind/typefind.c: (type_found):
18752 * tests/examples/xml/runxml.c: (xml_loaded):
18753 More gcc4 fixes and a mem leak fix.
18755 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18757 * tests/examples/xml/createxml.c: (object_saved):
18760 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18762 * tests/Makefile.am:
18763 enable the examples even more
18765 2005-12-12 Andy Wingo <wingo@pobox.com>
18767 * libs/gst/net/gstnettimeprovider.c
18768 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18769 (gst_net_time_provider_set_property)
18770 (gst_net_time_provider_get_property):
18771 API addition: Export "active" as a GObject property.
18772 (gst_net_time_provider_thread): Only respond to time queries if
18773 the time provider is active.
18775 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18776 NetTimeProvider, preserving binary compat.
18778 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18780 * tests/examples/controller/audio-example.c: (main):
18781 * tests/examples/launch/Makefile.am:
18782 convert comments again
18784 2005-12-12 Wim Taymans <wim@fluendo.com>
18786 * libs/gst/base/gstpushsrc.c:
18789 2005-12-12 Wim Taymans <wim@fluendo.com>
18791 * docs/libs/gstreamer-libs-sections.txt:
18792 Added new symbol to docs.
18794 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18795 (gst_base_src_init), (gst_base_src_set_format),
18796 (gst_base_src_default_query), (gst_base_src_query),
18797 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18798 (gst_base_src_perform_seek), (gst_base_src_send_event),
18799 (gst_base_src_default_event), (gst_base_src_event_handler),
18800 (gst_base_src_set_property), (gst_base_src_get_property),
18801 (gst_base_src_wait), (gst_base_src_do_sync),
18802 (gst_base_src_update_length), (gst_base_src_get_range),
18803 (gst_base_src_check_get_range), (gst_base_src_loop),
18804 (gst_base_src_default_negotiate), (gst_base_src_start),
18805 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18806 (gst_base_src_change_state):
18807 * libs/gst/base/gstbasesrc.h:
18808 Implement seeking to other formats than _BYTES.
18809 Implement more seeking methods correctly.
18811 Added query vmethod.
18812 Added do_seek vmethod to make life easier for subclasses
18814 API addition: gst_base_src_set_format()
18816 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18818 * tests/examples/Makefile.am:
18821 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18824 * docs/random/ensonic/media-device-daemon.txt:
18825 * tests/examples/controller/.cvsignore:
18826 * tests/examples/controller/Makefile.am:
18827 * tests/examples/controller/audio-example.c: (main):
18828 * tests/examples/helloworld/.cvsignore:
18829 * tests/examples/helloworld/Makefile.am:
18830 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18831 * tests/examples/launch/.cvsignore:
18832 * tests/examples/launch/Makefile.am:
18833 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18834 * tests/examples/metadata/.cvsignore:
18835 * tests/examples/metadata/Makefile.am:
18836 * tests/examples/metadata/read-metadata.c: (message_loop),
18837 (make_pipeline), (print_tag), (main):
18838 * tests/examples/queue/.cvsignore:
18839 * tests/examples/queue/Makefile.am:
18840 * tests/examples/queue/queue.c: (event_loop), (main):
18841 * tests/examples/typefind/.cvsignore:
18842 * tests/examples/typefind/Makefile.am:
18843 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18845 * tests/examples/xml/.cvsignore:
18846 * tests/examples/xml/Makefile.am:
18847 * tests/examples/xml/createxml.c: (object_saved), (main):
18848 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18849 * tests/old/examples/Makefile.am:
18850 * tests/old/examples/TODO:
18851 * tests/old/examples/controller/.cvsignore:
18852 * tests/old/examples/controller/Makefile.am:
18853 * tests/old/examples/controller/audio-example.c:
18854 * tests/old/examples/helloworld/.cvsignore:
18855 * tests/old/examples/helloworld/Makefile.am:
18856 * tests/old/examples/helloworld/helloworld.c:
18857 * tests/old/examples/launch/.cvsignore:
18858 * tests/old/examples/launch/Makefile.am:
18859 * tests/old/examples/launch/mp3parselaunch.c:
18860 * tests/old/examples/launch/mp3play:
18861 * tests/old/examples/manual/Makefile.am:
18862 * tests/old/examples/metadata/Makefile.am:
18863 * tests/old/examples/metadata/read-metadata.c:
18864 * tests/old/examples/queue/.cvsignore:
18865 * tests/old/examples/queue/Makefile.am:
18866 * tests/old/examples/queue/queue.c:
18867 * tests/old/examples/typefind/.cvsignore:
18868 * tests/old/examples/typefind/Makefile.am:
18869 * tests/old/examples/typefind/typefind.c:
18870 * tests/old/examples/xml/.cvsignore:
18871 * tests/old/examples/xml/Makefile.am:
18872 * tests/old/examples/xml/createxml.c:
18873 * tests/old/examples/xml/runxml.c:
18874 applied some simple fixing to some examples
18875 re-enabled the working examples
18877 2005-12-12 Wim Taymans <wim@fluendo.com>
18879 * gst/gstsegment.c: (gst_segment_init),
18880 (gst_segment_set_last_stop), (gst_segment_set_seek),
18881 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18882 (gst_segment_to_running_time):
18883 Added more documentation.
18884 Make sure the last_pos value is updated properly.
18885 Make sure to_stream_time and to_running_time don't
18886 operate on wrong values.
18888 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18891 2005-12-12 Michael Smith <msmith@fluendo.com>
18893 * plugins/elements/gsttypefindelement.c: (free_entry),
18894 (gst_type_find_element_chain):
18895 Now that we're not leaking factories, make sure we keep references
18896 to them while we need them.
18898 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18900 * tests/check/gst/struct_i386.h:
18901 ifdef out the XML structs
18903 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18905 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18906 floor is not needed, F is always positive; this obviates the
18907 need for adding -lm when building without libxml
18909 2005-12-12 Wim Taymans <wim@fluendo.com>
18911 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18912 Take current playback rate into account when reporting
18915 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18917 * docs/manual/mime-world.fig:
18918 Let's try this again, this time with a file that is
18919 actually in XFig format.
18921 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18923 * docs/manual/mime-world.fig:
18924 Add audioconvert element to diagram so that it
18925 matches the text and the code (fixes #319526).
18927 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18929 * docs/pwg/building-chainfn.xml:
18930 * docs/pwg/building-pads.xml:
18931 * docs/pwg/building-state.xml:
18932 * docs/pwg/other-source.xml:
18933 Update state change stuff for 0.10 (fixes #322969).
18935 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18937 * docs/manual/advanced-dataaccess.xml:
18938 * docs/manual/appendix-checklist.xml:
18939 * docs/manual/appendix-programs.xml:
18940 * docs/manual/basics-pads.xml:
18941 * docs/manual/highlevel-components.xml:
18942 * docs/manual/manual.xml:
18943 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18944 add converters in front of pipelines; remove curly
18945 brackets for threads stuff, they no longer exist; use
18946 GST_TYPE_FRACTION for framerates; update some pieces of
18947 code to 0.10, but there's plenty more to do.
18949 * docs/manual/appendix-porting.xml:
18950 Expand on asynchroneous state changes; s/0.9/0.10/;
18951 mention disappearance of gst_init_get_popt_table()
18954 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18956 * docs/faq/using.xml:
18957 Spider no longer exists, and neither does gst-launch-ext.
18958 Update examples to use decodebin and playbin and put
18959 converters in front of sinks (fixes #323726).
18961 2005-12-09 Michael Smith <msmith@fluendo.com>
18963 * plugins/elements/gsttypefindelement.c: (find_peek),
18964 (gst_type_find_element_chain):
18965 Fix leaking element factories in typefinding.
18966 Fix problem where we forgot about a probable type on non-seekable
18967 files, and thus later mis-typefound it.
18969 2005-12-09 Michael Smith <msmith@fluendo.com>
18971 * common/m4/gst-makecontext.m4:
18972 * common/m4/gst-mcsc.m4:
18974 * win32/common/config.h:
18975 * win32/common/config.h.in:
18976 Remove makecontext stuff; not used in 0.10 and causes problems on
18977 HPUX according to bug #322441
18979 2005-12-07 Wim Taymans <wim@fluendo.com>
18981 * tests/check/Makefile.am:
18982 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18984 * tests/check/libs/struct_i386.h:
18985 Added ABI check for libs
18987 2005-12-07 Wim Taymans <wim@fluendo.com>
18989 * tests/check/Makefile.am:
18990 And add the struct_i386.h to dist.
18992 2005-12-07 Wim Taymans <wim@fluendo.com>
18994 * tests/check/Makefile.am:
18995 * tests/check/gst/.cvsignore:
18996 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18998 * tests/check/gst/struct_i386.h:
18999 Added check for ABI compatibility.
19001 2005-12-07 Wim Taymans <wim@fluendo.com>
19003 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19004 (gst_fake_src_get_times), (gst_fake_src_create):
19005 Fix broken sync option, fixes #323259
19007 2005-12-07 Wim Taymans <wim@fluendo.com>
19012 * gst/gstcaps.c: (gst_caps_is_equal):
19013 Don't assert on NULL <--> X. Fixes #323260
19015 * gst/gstminiobject.c: (gst_mini_object_replace):
19016 If we're doing atomic operations, we might just as well use
19017 the proper way to get an atomic pointer.
19019 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19020 Clean up debugging.
19022 2005-12-07 Michael Smith <msmith@fluendo.com>
19024 * gst/parse/grammar.y:
19025 Remove handling of { } for threads.
19027 2005-12-06 David Schleef <ds@schleef.org>
19029 * libs/gst/base/gstbasetransform.c: speling fix.
19031 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19033 * docs/libs/tmpl/gstdataprotocol.sgml:
19034 * docs/random/omega/testing/gstobject.c:
19037 * gst/gstelement.c:
19038 * gst/gstelementfactory.c:
19041 * gst/gstghostpad.c:
19043 * gst/gstpadtemplate.c:
19044 * gst/gstregistryxml.c:
19045 * gst/gsttaglist.c:
19046 * gst/gsttagsetter.c:
19047 * gst/gsttypefind.c:
19049 * libs/gst/base/gstbasesrc.c:
19050 * libs/gst/net/gstnetclientclock.c:
19051 * libs/gst/net/gstnettimeprovider.c:
19052 * plugins/elements/gstfakesrc.c:
19053 * plugins/elements/gstfdsrc.c:
19054 * plugins/elements/gstfilesrc.c:
19055 * plugins/elements/gstidentity.c:
19056 * plugins/elements/gstqueue.c:
19057 * plugins/elements/gsttypefindelement.c:
19058 * plugins/indexers/gstfileindex.c:
19059 * plugins/indexers/gstmemindex.c:
19060 * tests/check/gst/gsttag.c:
19061 * tests/old/examples/cutter/cutter.c:
19062 * tests/old/examples/mixer/mixer.c:
19063 * tests/old/examples/xml/runxml.c: (main):
19064 * tests/old/testsuite/caps/normalisation.c:
19065 * tests/old/testsuite/debug/global.c:
19066 * tests/old/testsuite/parse/parse1.c:
19067 * tools/gst-xmlinspect.c:
19068 * win32/common/dirent.c:
19071 === release 0.10.0 ===
19073 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19076 releasing 0.10.0, "Maroilles"
19078 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19080 submitted by: Funda Wang <fundawang@linux.net.cn>
19084 added Chinese (Traditional) translation
19086 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19088 * docs/gst/gstreamer-sections.txt:
19089 * docs/libs/tmpl/gstdataprotocol.sgml:
19090 * docs/random/thomasvs/TODO:
19095 2005-12-05 Andy Wingo <wingo@pobox.com>
19097 patch by: Wim Taymans <wim@fluendo.com>
19099 * libs/gst/base/gstbasetransform.c
19100 (gst_base_transform_prepare_output_buf)
19101 (gst_base_transform_buffer_alloc):
19102 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19103 alloc_buffer_and_set_caps.
19105 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19106 set_caps on the source pad.
19107 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19108 alloc_buffer used to do. Fixes #322874.
19110 * docs/gst/gstreamer-sections.txt:
19111 * docs/design/part-negotiation.txt:
19112 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19115 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19117 patch by: Sebastien Moutte
19120 * win32/common/config.h.in:
19121 * win32/vs6/libgstcontroller.dsp:
19124 2005-12-05 Wim Taymans <wim@fluendo.com>
19126 * gst/gstcaps.c: (gst_caps_is_equal):
19127 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19128 (gst_fake_src_create):
19129 Back out previous code changes, leave doc updates, file bugs
19132 2005-12-05 Wim Taymans <wim@fluendo.com>
19134 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19135 (gst_fake_src_get_times), (gst_fake_src_create):
19136 * plugins/elements/gstfakesrc.h:
19137 Fix broken sync code.
19139 2005-12-05 Wim Taymans <wim@fluendo.com>
19141 * gst/gstcaps.c: (gst_caps_is_equal):
19142 Comparing NULL against !NULL yields different caps, not a
19145 2005-12-05 Wim Taymans <wim@fluendo.com>
19147 * gst/gstpipeline.c:
19148 Fix small typo in docs.
19150 2005-12-05 Andy Wingo <wingo@pobox.com>
19152 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19154 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19155 registries/plugins with a MAJORMINOR one.
19156 (plugin_desc): Rename library from gstcoreleements to
19157 staticelements. Fixes #323222.
19159 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19161 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19162 Change debug category to 'collectpads' from 'collect_pads'
19165 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19167 patch by: Sebastien Moutte
19169 * libs/gst/controller/gstinterpolation.c:
19170 use convert function for uint64/double
19171 * win32/vs6/libgstcontroller.dsp:
19174 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19176 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19177 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19179 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19180 add tests that seem to show that the guint64/gdouble conversions
19183 2005-12-02 Wim Taymans <wim@fluendo.com>
19185 * gst/gstregistry.c: (gst_registry_add_path):
19186 * gst/gstregistry.h:
19187 * gst/gstregistryxml.c:
19190 2005-12-02 Wim Taymans <wim@fluendo.com>
19192 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19193 (gst_util_uint64_scale_int):
19196 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19197 Add debug log line.
19199 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19202 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19205 * win32/common/config.h:
19206 * win32/vs6/gstreamer.dsw:
19207 * win32/vs6/libgstcoreelements.dsp:
19208 * win32/vs6/libgstelements.dsp:
19209 renamed core elements plugin
19211 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19213 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19215 do piece-wise major/minor comparison so 0.9 < 0.10
19216 also allow .exe extensions for tools
19218 2005-12-02 Michael Smith <msmith@fluendo.com>
19221 Escape a % to make gtkdoc happier; bug 322958.
19223 === release 0.9.7 ===
19225 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19228 releasing 0.9.7, "My Dog Has No Nose"
19230 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19232 * common/gst-xmlinspect.py:
19234 * docs/libs/tmpl/gstdataprotocol.sgml:
19235 * docs/random/release:
19254 * win32/common/config.h:
19255 * win32/common/config.h.in:
19256 * win32/vs6/gst_inspect.dsp:
19257 * win32/vs6/gst_launch.dsp:
19258 * win32/vs6/libgstbase.dsp:
19259 * win32/vs6/libgstelements.dsp:
19260 * win32/vs6/libgstreamer.dsp:
19261 * win32/vs7/GStreamer.vcproj:
19262 * win32/vs7/gst-inspect.vcproj:
19263 * win32/vs7/gst-launch.vcproj:
19264 * win32/vs7/libgstbase.vcproj:
19265 bump GST_MAJORMINOR to 0.10
19266 reset libtool version
19268 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19272 Added Bulgarian translation by (Alexander Shopov)
19274 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19276 * tests/check/gst/gstplugin.c:
19279 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19281 * common/gst-xmlinspect.py:
19282 * common/gtk-doc-plugins.mak:
19284 * docs/Makefile.am:
19285 * docs/gst/Makefile.am:
19286 * docs/gst/gstreamer-docs.sgml:
19287 * docs/gst/gstreamer-sections.txt:
19288 * docs/gst/gstreamer.types:
19289 * docs/gst/gstreamer.types.in:
19290 * docs/plugins/Makefile.am:
19291 * docs/plugins/gstreamer-plugins-docs.sgml:
19292 * docs/plugins/gstreamer-plugins-sections.txt:
19293 * docs/plugins/gstreamer-plugins.types:
19294 * docs/plugins/inspect.stamp:
19295 * docs/plugins/inspect/plugin-coreelements.xml:
19296 * docs/plugins/inspect/plugin-coreindexers.xml:
19297 * docs/plugins/scanobj-build.stamp:
19298 * gstreamer.spec.in:
19299 * plugins/elements/Makefile.am:
19300 * plugins/elements/gstelements.c:
19301 * plugins/elements/gstfakesink.c:
19302 * plugins/elements/gstfakesrc.c:
19303 * plugins/elements/gstfilesink.c:
19304 * plugins/elements/gstfilesrc.c:
19305 * plugins/elements/gstqueue.c:
19306 * plugins/indexers/Makefile.am:
19307 * plugins/indexers/gstindexers.c:
19308 document core plugins in a separate document just like all the
19310 rename these plugins to something starting with core
19312 2005-12-01 Andy Wingo <wingo@pobox.com>
19314 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19315 padding here before, but it missed the commit.
19317 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19319 * libs/gst/controller/gstinterpolation.c:
19320 whitespace prices have crashed, we should feel free to use some now
19321 use gst_guint64_to_gdouble
19323 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19325 * libs/gst/controller/gstcontroller.c:
19326 * libs/gst/controller/gsthelper.c:
19327 * libs/gst/controller/gstinterpolation.c:
19328 * libs/gst/controller/lib.c:
19329 wrap config.h include
19331 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19333 * docs/gst/gstreamer-sections.txt:
19336 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19338 * plugins/elements/gstelements.c:
19339 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19340 (gst_fd_sink__class_init), (gst_fd_sink__init),
19341 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19342 (gst_fd_sink__get_property):
19343 * plugins/elements/gstfdsink.h:
19344 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19345 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19346 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19347 (gst_fd_src_unlock), (gst_fd_src_set_property),
19348 (gst_fd_src_get_property), (gst_fd_src_create),
19349 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19350 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19351 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19352 (gst_fd_src_uri_handler_init):
19353 * plugins/elements/gstfdsrc.h:
19354 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19357 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19359 * docs/gst/Makefile.am:
19360 * docs/gst/gstreamer.types.in:
19364 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19370 * gst/gstregistry.h:
19371 * tests/benchmarks/complexity.c:
19372 * tests/benchmarks/mass-elements.c:
19373 * tests/check/Makefile.am:
19374 * tools/Makefile.am:
19375 * tools/gst-inspect.c:
19376 * tools/gst-xmlinspect.c:
19377 various fixes to make
19378 --disable-nls --disable-registry --disable-loadsave
19379 --disable-parse --disable-gst-debug
19380 work and get the core .so down to 360444 bytes after stripping
19382 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19387 * docs/random/thomasvs/TODO:
19388 * tests/Makefile.am:
19392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19394 * win32/GStreamer.vcproj:
19397 * win32/Makefile.inspect:
19398 * win32/Makefile.launch:
19399 * win32/Makefile.register:
19400 * win32/README.txt:
19401 * win32/gst-inspect.vcproj:
19402 * win32/gst-launch.vcproj:
19403 * win32/gst-register.vcproj:
19404 * win32/gstelements.vcproj:
19405 * win32/gstgetbits.def:
19406 * win32/gstgetbits.vcproj:
19407 * win32/gstreamer-dbg.def:
19408 * win32/gstreamer.def:
19409 * win32/libgstbase.def:
19410 * win32/libgstbase.vcproj:
19411 * win32/link_oldruntime.c:
19415 * win32/msvc71.sln:
19416 move even more stuff, win32/ is nice and clean now
19418 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19420 * libs/gst/control/.cvsignore:
19425 * win32/gstbytestream.def:
19426 * win32/gstbytestream.vcproj:
19427 * win32/gstconfig.h:
19428 * win32/gstenumtypes.c:
19429 * win32/gstenumtypes.h:
19430 * win32/gstoptimalscheduler.vcproj:
19431 * win32/gstversion.h:
19433 * win32/testsuite/bins.vcproj:
19434 * win32/testsuite/bytestream.vcproj:
19435 * win32/testsuite/caps.vcproj:
19436 * win32/testsuite/cleanup.vcproj:
19437 * win32/testsuite/clock.vcproj:
19438 * win32/testsuite/debug.vcproj:
19439 * win32/testsuite/dlopen.vcproj:
19440 * win32/testsuite/dynparams.vcproj:
19441 * win32/testsuite/elements.vcproj:
19442 * win32/testsuite/ghostpads.vcproj:
19443 * win32/testsuite/indexers.vcproj:
19444 * win32/testsuite/negotiation.vcproj:
19445 * win32/testsuite/parse.vcproj:
19446 * win32/testsuite/plugin.vcproj:
19447 * win32/testsuite/refcounting.vcproj:
19448 * win32/testsuite/schedulers.vcproj:
19449 * win32/testsuite/states.vcproj:
19450 * win32/testsuite/tags.vcproj:
19451 * win32/testsuite/threads.vcproj:
19452 remove old win32 stuff that isn't maintained and should be
19455 2005-11-30 Andy Wingo <wingo@pobox.com>
19457 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19458 loading the gst.interfaces python module bork.
19460 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19461 available since GLib 2.2. Fixes #318031.
19463 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19466 * check/.cvsignore:
19467 * check/Makefile.am:
19468 * check/elements/.cvsignore:
19469 * check/elements/fakesrc.c:
19470 * check/elements/fdsrc.c:
19471 * check/elements/identity.c:
19472 * check/generic/.cvsignore:
19473 * check/generic/states.c:
19474 * check/gst-libs/.cvsignore:
19475 * check/gst-libs/controller.c:
19476 * check/gst-libs/gdp.c:
19477 * check/gst/.cvsignore:
19478 * check/gst/capslist.h:
19480 * check/gst/gstbin.c:
19481 * check/gst/gstbuffer.c:
19482 * check/gst/gstbus.c:
19483 * check/gst/gstcaps.c:
19484 * check/gst/gstelement.c:
19485 * check/gst/gstevent.c:
19486 * check/gst/gstghostpad.c:
19487 * check/gst/gstiterator.c:
19488 * check/gst/gstmessage.c:
19489 * check/gst/gstminiobject.c:
19490 * check/gst/gstobject.c:
19491 * check/gst/gstpad.c:
19492 * check/gst/gstpipeline.c:
19493 * check/gst/gstplugin.c:
19494 * check/gst/gstsegment.c:
19495 * check/gst/gststructure.c:
19496 * check/gst/gstsystemclock.c:
19497 * check/gst/gsttag.c:
19498 * check/gst/gstutils.c:
19499 * check/gst/gstvalue.c:
19500 * check/net/.cvsignore:
19501 * check/net/gstnetclientclock.c:
19502 * check/net/gstnettimeprovider.c:
19503 * check/pipelines/.cvsignore:
19504 * check/pipelines/cleanup.c:
19505 * check/pipelines/simple_launch_lines.c:
19506 * check/pipelines/stress.c:
19507 * check/states/.cvsignore:
19508 * check/states/sinks.c:
19510 * examples/Makefile.am:
19511 * examples/appreader/.cvsignore:
19512 * examples/appreader/Makefile.am:
19513 * examples/appreader/appreader.c:
19514 * examples/controller/.cvsignore:
19515 * examples/controller/Makefile.am:
19516 * examples/controller/audio-example.c:
19517 * examples/cutter/.cvsignore:
19518 * examples/cutter/Makefile.am:
19519 * examples/cutter/cutter.c:
19520 * examples/cutter/cutter.h:
19521 * examples/events/Makefile.am:
19522 * examples/events/seek.c:
19523 * examples/helloworld/.cvsignore:
19524 * examples/helloworld/Makefile.am:
19525 * examples/helloworld/helloworld.c:
19526 * examples/helloworld2/.cvsignore:
19527 * examples/helloworld2/Makefile.am:
19528 * examples/helloworld2/helloworld2.c:
19529 * examples/launch/.cvsignore:
19530 * examples/launch/Makefile.am:
19531 * examples/launch/mp3parselaunch.c:
19532 * examples/launch/mp3play:
19533 * examples/manual/.cvsignore:
19534 * examples/manual/Makefile.am:
19535 * examples/manual/extract.pl:
19536 * examples/metadata/Makefile.am:
19537 * examples/metadata/read-metadata.c:
19538 * examples/mixer/.cvsignore:
19539 * examples/mixer/Makefile.am:
19540 * examples/mixer/mixer.c:
19541 * examples/mixer/mixer.h:
19542 * examples/pingpong/.cvsignore:
19543 * examples/pingpong/Makefile.am:
19544 * examples/pingpong/pingpong.c:
19545 * examples/plugins/.cvsignore:
19546 * examples/plugins/Makefile.am:
19547 * examples/plugins/example.c:
19548 * examples/plugins/example.h:
19549 * examples/pwg/.cvsignore:
19550 * examples/pwg/Makefile.am:
19551 * examples/pwg/extract.pl:
19552 * examples/queue/.cvsignore:
19553 * examples/queue/Makefile.am:
19554 * examples/queue/queue.c:
19555 * examples/queue2/.cvsignore:
19556 * examples/queue2/Makefile.am:
19557 * examples/queue2/queue2.c:
19558 * examples/queue3/.cvsignore:
19559 * examples/queue3/Makefile.am:
19560 * examples/queue3/queue3.c:
19561 * examples/queue4/.cvsignore:
19562 * examples/queue4/Makefile.am:
19563 * examples/queue4/queue4.c:
19564 * examples/retag/.cvsignore:
19565 * examples/retag/Makefile.am:
19566 * examples/retag/retag.c:
19567 * examples/retag/transcode.c:
19568 * examples/thread/.cvsignore:
19569 * examples/thread/Makefile.am:
19570 * examples/thread/thread.c:
19571 * examples/typefind/.cvsignore:
19572 * examples/typefind/Makefile.am:
19573 * examples/typefind/typefind.c:
19574 * examples/xml/.cvsignore:
19575 * examples/xml/Makefile.am:
19576 * examples/xml/createxml.c:
19577 * examples/xml/runxml.c:
19578 * tests/Makefile.am:
19579 * tests/check/Makefile.am:
19580 * testsuite/.cvsignore:
19581 * testsuite/Makefile.am:
19583 * testsuite/caps/.cvsignore:
19584 * testsuite/caps/Makefile.am:
19585 * testsuite/caps/app_fixate.c:
19586 * testsuite/caps/audioscale.c:
19587 * testsuite/caps/caps.c:
19588 * testsuite/caps/caps.h:
19589 * testsuite/caps/caps_strings:
19590 * testsuite/caps/compatibility.c:
19591 * testsuite/caps/deserialize.c:
19592 * testsuite/caps/enumcaps.c:
19593 * testsuite/caps/eratosthenes.c:
19594 * testsuite/caps/filtercaps.c:
19595 * testsuite/caps/fixed.c:
19596 * testsuite/caps/fraction-convert.c:
19597 * testsuite/caps/fraction-multiply-and-zero.c:
19598 * testsuite/caps/intersect2.c:
19599 * testsuite/caps/intersection.c:
19600 * testsuite/caps/normalisation.c:
19601 * testsuite/caps/random.c:
19602 * testsuite/caps/renegotiate.c:
19603 * testsuite/caps/sets.c:
19604 * testsuite/caps/simplify.c:
19605 * testsuite/caps/string-conversions.c:
19606 * testsuite/caps/structure.c:
19607 * testsuite/caps/subtract.c:
19608 * testsuite/caps/union.c:
19609 * testsuite/debug/.cvsignore:
19610 * testsuite/debug/Makefile.am:
19611 * testsuite/debug/category.c:
19612 * testsuite/debug/commandline.c:
19613 * testsuite/debug/global.c:
19614 * testsuite/debug/output.c:
19615 * testsuite/debug/printf_extension.c:
19616 * testsuite/dlopen/.cvsignore:
19617 * testsuite/dlopen/Makefile.am:
19618 * testsuite/dlopen/dlopen_gst.c:
19619 * testsuite/dlopen/loadgst.c:
19620 * testsuite/elements/.cvsignore:
19621 * testsuite/elements/Makefile.am:
19622 * testsuite/elements/gst-inspect-check.in:
19623 * testsuite/elements/struct_i386.h:
19624 * testsuite/elements/struct_size.c:
19625 * testsuite/indexers/.cvsignore:
19626 * testsuite/indexers/Makefile.am:
19627 * testsuite/indexers/cache1.c:
19628 * testsuite/indexers/indexdump.c:
19629 * testsuite/parse/.cvsignore:
19630 * testsuite/parse/Makefile.am:
19631 * testsuite/parse/parse1.c:
19632 * testsuite/parse/parse2.c:
19633 * testsuite/plugin/.cvsignore:
19634 * testsuite/plugin/Makefile.am:
19635 * testsuite/plugin/README:
19636 * testsuite/plugin/dynamic.c:
19637 * testsuite/plugin/linked.c:
19638 * testsuite/plugin/loading.c:
19639 * testsuite/plugin/registry.c:
19640 * testsuite/plugin/static.c:
19641 * testsuite/plugin/static2.c:
19642 * testsuite/plugin/testplugin.c:
19643 * testsuite/plugin/testplugin2.c:
19644 * testsuite/plugin/testplugin2_s.c:
19645 * testsuite/plugin/testplugin_s.c:
19646 * testsuite/refcounting/.cvsignore:
19647 * testsuite/refcounting/Makefile.am:
19648 * testsuite/refcounting/bin.c:
19649 * testsuite/refcounting/element.c:
19650 * testsuite/refcounting/element_pad.c:
19651 * testsuite/refcounting/mainloop.c:
19652 * testsuite/refcounting/mem.c:
19653 * testsuite/refcounting/mem.h:
19654 * testsuite/refcounting/object.c:
19655 * testsuite/refcounting/pad.c:
19656 * testsuite/refcounting/sched.c:
19657 * testsuite/refcounting/thread.c:
19658 * testsuite/states/.cvsignore:
19659 * testsuite/states/Makefile.am:
19660 * testsuite/states/bin.c:
19661 * testsuite/states/locked.c:
19662 * testsuite/states/parent.c:
19663 * testsuite/threads/.cvsignore:
19664 * testsuite/threads/159566.c:
19665 * testsuite/threads/159852.c:
19666 * testsuite/threads/Makefile.am:
19667 * testsuite/threads/queue.c:
19668 * testsuite/threads/signals.c:
19669 * testsuite/threads/staticrec.c:
19670 * testsuite/threads/thread.c:
19671 * testsuite/threads/threadb.c:
19672 * testsuite/threads/threadc.c:
19673 * testsuite/threads/threadd.c:
19674 * testsuite/threads/threade.c:
19675 * testsuite/threads/threadf.c:
19676 * testsuite/threads/threadg.c:
19677 * testsuite/threads/threadh.c:
19678 * testsuite/threads/threadi.c:
19679 move all of these under tests
19681 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19684 * tests/Makefile.am:
19687 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19689 * docs/gst/gstreamer-sections.txt:
19690 * tests/sched/.cvsignore:
19691 * tests/sched/Makefile.am:
19692 * tests/sched/cases/(fs-fs).xml:
19693 * tests/sched/cases/(fs-i-fs).xml:
19694 * tests/sched/cases/(fs-i-i-fs).xml:
19695 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19696 * tests/sched/dynamic-pipeline.c:
19697 * tests/sched/interrupt1.c:
19698 * tests/sched/interrupt2.c:
19699 * tests/sched/interrupt3.c:
19700 * tests/sched/runtestcases:
19701 * tests/sched/runxml.c:
19702 * tests/sched/sched-stress.c:
19703 * tests/sched/sort.c:
19704 * tests/sched/testcases:
19705 * tests/sched/testcases1.tc:
19706 * tests/seeking/.cvsignore:
19707 * tests/seeking/Makefile.am:
19708 * tests/seeking/seeking1.c:
19709 * tests/threadstate/.cvsignore:
19710 * tests/threadstate/Makefile.am:
19711 * tests/threadstate/test1.c:
19712 * tests/threadstate/test2.c:
19713 * tests/threadstate/threadstate1.c:
19714 * tests/threadstate/threadstate2.c:
19715 * tests/threadstate/threadstate3.c:
19716 * tests/threadstate/threadstate4.c:
19717 * tests/threadstate/threadstate5.c:
19718 remove obsolete tests
19720 * tests/bench-complexity.scm:
19721 * tests/bench-mass_elements.scm:
19722 * tests/complexity.c:
19723 * tests/complexity.gnuplot:
19724 * tests/instantiate/.cvsignore:
19725 * tests/instantiate/Makefile.am:
19726 * tests/instantiate/caps.c:
19727 * tests/mass_elements.c:
19728 * tests/network-clock-utils.scm:
19729 * tests/network-clock.scm:
19731 First pass at cleaning up tests/ dir before moving the rest
19732 Combined with CVS surgery
19734 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19737 queue has moved, update
19739 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19741 * docs/gst/gstreamer-sections.txt:
19742 remove double entries from the docs
19743 * gst/gst_private.h:
19744 * gst/gstinfo.c: (_gst_debug_init):
19745 remove the THREAD debug category
19749 * docs/gst/gstreamer.types:
19750 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19751 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19752 completely move queue and fix up debugging categories
19754 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19756 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19757 make initialization portable, using LL is not
19759 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19761 * win32/common/gstconfig.h:
19764 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19766 * win32/common/libgstreamer.def:
19767 rename symbols; sort base section
19769 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19771 * gst/gstclock.c: (do_linear_regression):
19772 remove crack non-portable handrolled DEBUG macro
19774 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19776 * docs/random/release:
19778 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19779 (gst_object_flags_get_type), (register_gst_bin_flags),
19780 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19781 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19782 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19783 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19784 (gst_caps_flags_get_type), (register_gst_clock_return),
19785 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19786 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19787 (gst_clock_flags_get_type), (register_gst_state),
19788 (gst_state_get_type), (register_gst_state_change_return),
19789 (gst_state_change_return_get_type), (register_gst_state_change),
19790 (gst_state_change_get_type), (register_gst_element_flags),
19791 (gst_element_flags_get_type), (register_gst_core_error),
19792 (gst_core_error_get_type), (register_gst_library_error),
19793 (gst_library_error_get_type), (register_gst_resource_error),
19794 (gst_resource_error_get_type), (register_gst_stream_error),
19795 (gst_stream_error_get_type), (register_gst_event_type_flags),
19796 (gst_event_type_flags_get_type), (register_gst_event_type),
19797 (gst_event_type_get_type), (register_gst_seek_type),
19798 (gst_seek_type_get_type), (register_gst_seek_flags),
19799 (gst_seek_flags_get_type), (register_gst_format),
19800 (gst_format_get_type), (register_gst_index_certainty),
19801 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19802 (gst_index_entry_type_get_type),
19803 (register_gst_index_lookup_method),
19804 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19805 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19806 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19807 (gst_index_flags_get_type), (register_gst_debug_level),
19808 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19809 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19810 (gst_iterator_result_get_type), (register_gst_iterator_item),
19811 (gst_iterator_item_get_type), (register_gst_message_type),
19812 (gst_message_type_get_type), (register_gst_mini_object_flags),
19813 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19814 (gst_pad_link_return_get_type), (register_gst_flow_return),
19815 (gst_flow_return_get_type), (register_gst_activate_mode),
19816 (gst_activate_mode_get_type), (register_gst_pad_direction),
19817 (gst_pad_direction_get_type), (register_gst_pad_flags),
19818 (gst_pad_flags_get_type), (register_gst_pad_presence),
19819 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19820 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19821 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19822 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19823 (gst_plugin_flags_get_type), (register_gst_rank),
19824 (gst_rank_get_type), (register_gst_query_type),
19825 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19826 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19827 (gst_tag_flag_get_type), (register_gst_task_state),
19828 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19829 (gst_alloc_trace_flags_get_type),
19830 (register_gst_type_find_probability),
19831 (gst_type_find_probability_get_type), (register_gst_uri_type),
19832 (gst_uri_type_get_type), (register_gst_parse_error),
19833 (gst_parse_error_get_type):
19834 * win32/common/gstenumtypes.h:
19835 * win32/common/gstversion.h:
19836 update visual studio generated files
19838 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19840 * win32/vs6/libgstbase.dsp:
19841 * win32/vs6/libgstelements.dsp:
19842 update project files for new locations
19844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19849 reinstate and update
19854 * docs/random/LICENSE:
19857 2005-11-30 Edward Hervey <edward@fluendo.com>
19859 * gst/gsttypefind.c: (gst_type_find_register):
19860 * gst/gsttypefind.h:
19861 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19862 (gst_type_find_factory_dispose):
19863 * gst/gsttypefindfactory.h:
19864 Fix memory leak in GstTypeFindFactory.
19866 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19869 * plugins/elements/Makefile.am:
19870 * plugins/elements/gstelements.c:
19871 * plugins/elements/gstqueue.c:
19872 move queue from core to the elements plugin
19874 2005-11-29 Andy Wingo <wingo@pobox.com>
19876 * libs/gst/base/gstbasetransform.h:
19877 * libs/gst/base/gstbasesrc.h:
19878 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19880 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19881 of pointers by which to pad very extensible base classes (like the
19882 ones in libs/gst/base).
19884 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19886 * docs/gst/gstreamer-docs.sgml:
19887 * docs/gst/gstreamer-sections.txt:
19888 * docs/libs/gstreamer-libs-docs.sgml:
19889 * docs/libs/gstreamer-libs-sections.txt:
19890 moving documentation from core to lib
19892 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19894 * check/Makefile.am:
19896 * docs/gst/Makefile.am:
19898 * gst/base/.cvsignore:
19899 * gst/base/Makefile.am:
19901 * gst/base/gstadapter.c:
19902 * gst/base/gstadapter.h:
19903 * gst/base/gstbasesink.c:
19904 * gst/base/gstbasesink.h:
19905 * gst/base/gstbasesrc.c:
19906 * gst/base/gstbasesrc.h:
19907 * gst/base/gstbasetransform.c:
19908 * gst/base/gstbasetransform.h:
19909 * gst/base/gstcollectpads.c:
19910 * gst/base/gstcollectpads.h:
19911 * gst/base/gstpushsrc.c:
19912 * gst/base/gstpushsrc.h:
19913 * gst/base/gsttypefindhelper.c:
19914 * gst/base/gsttypefindhelper.h:
19915 * gst/check/Makefile.am:
19916 * gst/check/gstcheck.c:
19917 * gst/check/gstcheck.h:
19918 * gst/net/Makefile.am:
19919 * gst/net/gstnet.h:
19920 * gst/net/gstnetclientclock.c:
19921 * gst/net/gstnetclientclock.h:
19922 * gst/net/gstnettimepacket.c:
19923 * gst/net/gstnettimepacket.h:
19924 * gst/net/gstnettimeprovider.c:
19925 * gst/net/gstnettimeprovider.h:
19926 * libs/gst/Makefile.am:
19927 * libs/gst/base/Makefile.am:
19928 * libs/gst/base/gstbasetransform.c:
19929 * libs/gst/check/Makefile.am:
19930 * plugins/elements/Makefile.am:
19932 CVS surgery + support to move base, check, and net out of gst
19935 2005-11-29 Andy Wingo <wingo@pobox.com>
19937 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19939 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19942 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19944 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19946 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19948 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19949 padding; reduces object size by about 30%. We don't expect
19950 anything else to go into gstobject.
19952 * gst/gstminiobject.h (struct _GstMiniObject)
19953 (struct _GstMiniObjectClass): Only one pointer of padding; the
19954 payload is only a pointer and two ints anyway. For the class there
19955 are only two methods as well.
19957 * gst/gstelement.h (struct _GstElementClass): Removed
19958 the state_changed signal callback, it is not used.
19960 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19962 * docs/gst/gstreamer.types:
19963 fix includes, though they are a little dinky
19965 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19967 * check/Makefile.am:
19968 look in the right place for elements, a lot more chance of
19971 remove indexers and elements subdirs
19972 * plugins/Makefile.am:
19973 make indexers conditional
19975 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19979 * plugins/elements/Makefile.am:
19980 * plugins/elements/gstcapsfilter.c:
19981 * plugins/elements/gstfilesink.c:
19982 * plugins/elements/gstfilesrc.c:
19983 * plugins/elements/gstidentity.c:
19984 * plugins/indexers/Makefile.am:
19985 do CVS surgery and related build fixery to move elements
19986 and indexers in a new gstreamer/plugins directory, out of the
19989 2005-11-29 Andy Wingo <wingo@pobox.com>
19991 * check/Makefile.am:
19992 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19993 * pkgconfig/gstreamer-net.pc.in:
19994 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19997 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19999 * tools/Makefile.am:
20000 * tools/gst-complete.1.in:
20001 * tools/gst-complete.c:
20002 * tools/gst-compprep.1.in:
20003 * tools/gst-compprep.c:
20004 removing -compprep and -complete
20006 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20008 * gst/gstevent.c: (gst_event_new_new_segment),
20009 (gst_event_parse_new_segment):
20011 fix #320529 - clean up new_segment API and structure.
20012 Let's hope everyone was using the methods, and not the structure.
20014 2005-11-29 Edward Hervey <edward@fluendo.com>
20016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20017 (gst_base_sink_event), (gst_base_sink_do_sync),
20018 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20019 Properly handle non GST_FORMAT_TIME segment
20020 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20021 Properly handle non GST_FORMAT_TIME segment
20022 * gst/gstsegment.c:
20023 This function is valid if the accumulator is 0 and the format
20024 is different from the requested format.
20026 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20028 * docs/gst/gstreamer-sections.txt:
20029 Add gst_query_new_seeking and gst_query_parse_seeking to the
20032 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20034 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20035 Treat a pad alloc with new caps the same as if we were not
20036 negotiated, in order to allow a changing upstream output
20037 to produce a new format of data.
20039 2005-11-29 Edward Hervey <edward@fluendo.com>
20041 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20042 (gst_base_transform_event), (gst_base_transform_eventfunc):
20043 The event virtual method is now properly implemented, with a default
20045 Sub classes should call the parent_class event method. They should
20046 return FALSE if they had a problem handling the given event, or don't
20047 want GstBaseTransform to send that even downstream
20048 * gst/elements/gstidentity.c: (gst_identity_class_init),
20049 (gst_identity_init), (gst_identity_event),
20050 (gst_identity_transform_ip), (gst_identity_set_property),
20051 (gst_identity_get_property):
20052 * gst/elements/gstidentity.h:
20053 Added the single-segment boolean property.
20054 If set to TRUE, it will output a single segment of data, starting from
20055 0, will eat up all incoming newsegment, and modify the timestamp of the
20056 buffers accordingly
20058 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20060 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20061 Don't ref NULL target pad (#322751). Improve docs.
20063 2005-11-29 Michael Smith <msmith@fluendo.com>
20065 * gst/gstregistryxml.c: (load_plugin):
20066 Don't crash if we failed to load a feature from a plugin.
20068 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20070 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20072 use more check API and less GLib API
20074 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20077 don't run checks if we don't have check
20078 * common/check.mak:
20079 remove the registry when running make torture
20080 * docs/gst/gstreamer-sections.txt:
20081 remove second multiply
20082 * gst/gstqueue.c: (gst_queue_loop):
20083 fix a compile warning when disabling debug
20085 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20088 Hey! Let's print the pad name if the pointer != NULL instead
20089 of when it == NULL :-)
20091 2005-11-28 Wim Taymans <wim@fluendo.com>
20093 * check/gst/gstutils.c: (GST_START_TEST):
20094 Updated check, add some scaling accuracy checking code.
20096 * gst/gstutils.c: (gst_util_div128_64),
20097 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20098 (gst_util_uint64_scale_int):
20099 Fix 6 times faster division code. Optimize for common
20100 1/1 and less common X/1 cases.
20102 2005-11-28 Wim Taymans <wim@fluendo.com>
20104 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20107 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20108 (do_linear_regression), (gst_clock_add_observation):
20110 Release lock when the clock cannot be slaved.
20111 Catch the case where the regression returned an invalid denominator.
20113 * gst/gstutils.c: (gst_util_div128_64_iterate),
20114 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20115 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20116 Add protentially more performant non-iterative 128/64 divide function
20117 that unfortunatly does not work yet.
20118 Shortcut the trivial 0/X = 0 case.
20119 Remove the warnings on overflow.
20121 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20123 * gst/gstplugin.c: (gst_plugin_register_func):
20124 everything causing a plugin not to load should be at least a WARNING
20126 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20128 * docs/random/ensonic/dparams.txt:
20129 some TODOs for the next dev cycle
20130 * libs/gst/controller/gstcontroller.c:
20131 (gst_controlled_property_set_interpolation_mode),
20132 (gst_controlled_property_new):
20133 * libs/gst/controller/gstcontroller.h:
20134 use base type to assign acccessor functions
20136 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20138 * check/Makefile.am:
20139 Oops, that should have been top_srcdir
20141 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20143 * check/Makefile.am:
20144 * check/elements/fdsrc.c: (GST_START_TEST):
20145 Use a cmdline define to specify the location of a file to use for
20146 testing, to avoid breaking distcheck.
20148 2005-11-28 Andy Wingo <wingo@pobox.com>
20150 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20152 2005-11-28 Edward Hervey <edward@fluendo.com>
20154 * tools/gst-launch.c: (main):
20155 Clarify the output strings, makes it easier to translate.
20158 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20161 don't try and build net if we don't even have <sys/socket.h>
20163 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20165 * check/Makefile.am:
20166 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20167 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20168 Add tests for fdsrc seekability
20170 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20171 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20172 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20173 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20174 * gst/elements/gstfdsrc.h:
20175 fdsrc should not be a 'live' source.
20176 Implement seeking on seekable fd's.
20178 * gst/gstquery.c: (gst_query_new_seeking),
20179 (gst_query_parse_seeking):
20181 Implement SEEKING query functions:
20182 *_new_seeking and *_parse_seeking
20184 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20186 * gst/gstelement.c: (gst_element_dispose):
20189 * gst/gstiterator.c:
20190 * gst/gststructure.c:
20193 * libs/gst/controller/gstcontroller.c:
20194 (gst_controlled_property_set_interpolation_mode):
20195 * libs/gst/controller/gstcontroller.h:
20196 * libs/gst/controller/gstinterpolation.c:
20197 (interpolate_none_get_enum_value_array):
20198 support controlling enums
20200 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20203 Improve documentation for gst_value_union().
20206 Change return value for union, intersect and subtract functions
20207 from gint to gboolean.
20209 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20211 * gst/gstvalue.c: (gst_value_serialize_any_list),
20212 (gst_value_transform_any_list_string),
20213 (gst_value_deserialize_list), (gst_value_deserialize_array),
20214 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20215 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20216 (gst_value_set_fraction_range_full),
20217 (gst_value_deserialize_fraction_range),
20218 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20219 (gst_value_deserialize_boolean),
20220 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20221 (gst_value_serialize_float), (gst_value_deserialize_float),
20222 (gst_string_wrap), (gst_value_deserialize_string),
20223 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20224 (gst_value_union_int_range_int_range),
20225 (gst_value_intersect_int_range_int_range),
20226 (gst_value_intersect_double_range_double_range),
20227 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20228 (gst_value_subtract_int_range_int_range),
20229 (gst_value_subtract_double_double_range),
20230 (gst_value_subtract_double_range_double_range),
20231 (gst_value_deserialize_fraction):
20233 Use gint, gdouble and gchar in our API instead of int, double and
20234 char (and make usage in gstvalue.c more consistent).
20236 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20238 * check/Makefile.am:
20239 * libs/gst/controller/Makefile.am:
20240 * libs/gst/dataprotocol/Makefile.am:
20241 fix up Makefile.am and remove GST_ENABLE_NEW
20243 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20247 * gst/base/Makefile.am:
20248 * gst/check/Makefile.am:
20249 * gst/elements/Makefile.am:
20250 * gst/net/Makefile.am:
20251 update LDFLAGS use some more
20253 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20255 * common/m4/gst-doc.m4:
20258 2005-11-26 Edward Hervey <edward@fluendo.com>
20260 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20261 This shouldn't issue a g_warning since it returns NULL if it
20262 couldn't find the plugin, and all functions using this behave
20263 properly on a NULL return. Switching to a GST_WARNING.
20265 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20267 * gst/gstbin.c: (gst_bin_handle_message_func):
20268 Don't leak clock messages.
20270 2005-11-25 Wim Taymans <wim@fluendo.com>
20272 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20273 (gst_util_uint64_scale_int):
20274 Optimisations, remove unneeded vars.
20276 2005-11-25 Wim Taymans <wim@fluendo.com>
20278 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20279 Added more checks for the high precision uint64 cases.
20281 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20282 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20283 Implement high precision (guint64 * guint64) / guint64.
20285 2005-11-24 Wim Taymans <wim@fluendo.com>
20287 * gst/base/gstbasesrc.c: (gst_base_src_query):
20288 Fix wrong percentage query.
20290 * gst/gstutils.c: (gst_util_uint64_scale),
20291 (gst_util_uint64_scale_int):
20292 Add some more common cases that can be handled
20293 efficiently to _scale.
20295 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20297 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20298 (gst_mini_object_suite):
20299 don't use check calls from threads; check probably isn't
20300 threadsafe and using a lock to make it threadsafe would
20301 defeat the purpose of this check
20302 * gst/check/gstcheck.c:
20303 * gst/check/gstcheck.h:
20304 use GST_DEBUG some more
20306 2005-11-24 Wim Taymans <wim@fluendo.com>
20308 * gst/gstutils.c: (gst_util_uint64_scale),
20309 (gst_util_uint64_scale_int):
20310 Chain trivial case to _scale_int.
20312 2005-11-24 Wim Taymans <wim@fluendo.com>
20314 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20315 Added test for scaling.
20320 * gst/gstutils.c: (gst_util_uint64_scale_int):
20321 Implemented high precision scaling code.
20323 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20326 do not crash on pad==NULL
20328 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20330 Patch by: Stefan Kost
20332 * common/gtk-doc.mak:
20333 * docs/gst/Makefile.am:
20334 * docs/libs/Makefile.am:
20335 Fix distcheck issues for the libraries docs build
20338 2005-11-24 Michael Smith <msmith@fluendo.com>
20340 * docs/manual/basics-helloworld.xml:
20341 Fix bug #315027: memory leak in example code in docs.
20343 2005-11-24 Michael Smith <msmith@fluendo.com>
20345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20346 Unlock the PREROLL_LOCK in a failure case.
20348 2005-11-24 Wim Taymans <wim@fluendo.com>
20350 * docs/gst/gstreamer-sections.txt:
20351 * gst/base/gstadapter.h:
20352 * gst/base/gstbasesink.h:
20353 * gst/base/gstbasesrc.h:
20354 * gst/base/gstbasetransform.h:
20355 * gst/base/gstpushsrc.h:
20356 * gst/elements/gstfakesink.h:
20357 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20358 * gst/elements/gstfakesrc.h:
20359 * gst/elements/gstfilesink.h:
20360 * gst/elements/gstfilesrc.h:
20363 * gst/gstbuffer.c: (_gst_buffer_copy):
20366 * gst/gstchildproxy.c:
20368 * gst/gstelement.c:
20369 * gst/gstelementfactory.c:
20370 * gst/gstelementfactory.h:
20372 * gst/gstghostpad.h:
20374 * gst/gstinterface.h:
20375 * gst/gstminiobject.c:
20376 * gst/gstminiobject.h:
20379 * gst/gstpadtemplate.h:
20380 * gst/gstpipeline.h:
20381 * gst/gstpluginfeature.h:
20384 * gst/gsttaglist.c:
20385 * gst/gsttaglist.h:
20386 * gst/gsttagsetter.c:
20387 * gst/gsttagsetter.h:
20390 * gst/gsttypefind.h:
20393 * gst/net/gstnetclientclock.c:
20394 * gst/net/gstnetclientclock.h:
20395 * gst/net/gstnettimepacket.c:
20396 * gst/net/gstnettimeprovider.c:
20397 * gst/net/gstnettimeprovider.h:
20400 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20402 * configure.ac: back to HEAD
20404 === release 0.9.6 ===
20406 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20409 releasing 0.9.6, "Always On Time"
20411 2005-11-23 Wim Taymans <wim@fluendo.com>
20413 * docs/gst/gstreamer-sections.txt:
20414 * gst/glib-compat.c:
20415 * gst/gsttagsetter.c:
20417 * gst/net/gstnetclientclock.c:
20418 * gst/net/gstnettimepacket.h:
20421 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20423 * docs/faq/using.xml:
20424 * docs/libs/tmpl/gstcontrol.sgml:
20425 * docs/manual/advanced-dparams.xml:
20426 * docs/manual/appendix-checklist.xml:
20427 * docs/manual/basics-elements.xml:
20428 * docs/pwg/other-source.xml:
20429 * docs/random/moving-plugins:
20431 * tools/gst-launch.1.in:
20432 remove mentions of sinesrc
20434 2005-11-23 Michael Smith <msmith@fluendo.com>
20436 * docs/gst/gstreamer-sections.txt:
20437 Update for new API and API changes.
20439 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20441 Documentation typo fix.
20442 * gst/net/gstnettimepacket.c:
20443 Documentation fixes for arguments.
20445 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20447 * gst/gststructure.c: (gst_structure_get_fraction),
20448 (gst_structure_parse_value),
20449 (gst_structure_fixate_field_nearest_fraction):
20450 * gst/gststructure.h:
20451 * gst/gstutils.c: (gst_util_uint64_scale_int):
20453 * scripts/update-funcnames:
20455 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20456 Make gst_structure_fixate_field_nearest_fraction take a numerator
20457 and denominator argument instead of a GValue
20458 add gst_structure_get_fraction helper function.
20460 2005-11-23 Wim Taymans <wim@fluendo.com>
20462 * docs/design/part-TODO.txt:
20465 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20466 * gst/net/gstnetclientclock.h:
20467 Use parent fields for timeout and window_size.
20469 2005-11-23 Andy Wingo <wingo@pobox.com>
20471 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20472 rate_num/rate_denom change.
20474 * gst/net/gstnetclientclock.c
20475 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20476 OBJECT_LOCK. Don't call add_observation with the lock.
20478 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20480 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20482 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20483 deal with rate as a fraction whose numerator and denominator are
20484 GstClockTime values.
20485 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20486 master; the other fields are protected by the SLAVE_LOCK.
20487 (do_linear_regression): Note that this must be called with the
20489 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20490 OBJECT_LOCK. Call set_calibration instead of touching the
20491 variables directly.
20492 (gst_clock_set_property, gst_clock_get_property): Protect
20493 master/slave parameters with the SLAVE_LOCK.
20495 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20496 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20497 note that all of the instance variables that add_observation and
20498 the set_master functions use are protected by that lock and not
20500 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20502 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20503 the caller to take the object lock.
20505 2005-11-23 Wim Taymans <wim@fluendo.com>
20507 * gst/gsterror.c: (_gst_core_errors_init):
20509 Add error for clock stuff.
20511 * gst/gstpipeline.c: (gst_pipeline_change_state),
20512 (gst_pipeline_set_clock):
20513 Post clock error when clock cannot be used in a pipeline.
20515 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20517 * docs/gst/gstreamer-sections.txt:
20518 make two symbols from gstinfo private for the docs
20519 * gst/base/gstcollectpads.h:
20521 fix doc typos, update docs
20523 2005-11-22 Wim Taymans <wim@fluendo.com>
20525 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20526 (gst_base_sink_wait), (gst_base_sink_do_sync),
20527 (gst_base_sink_handle_event):
20528 * gst/base/gstbasesink.h:
20529 No need to store the clock, the parent element class already
20532 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20533 Updates for clock_set returning a gboolean
20535 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20536 (gst_clock_id_wait_async), (gst_clock_class_init),
20537 (gst_clock_init), (gst_clock_finalize),
20538 (gst_clock_get_internal_time), (gst_clock_get_time),
20539 (gst_clock_slave_callback), (gst_clock_set_master),
20540 (gst_clock_get_master), (do_linear_regression),
20541 (gst_clock_add_observation), (gst_clock_set_property),
20542 (gst_clock_get_property):
20544 Implement master/slave. When setting a clock as a slave, a
20545 periodic timeout is scheduled to sample master and slave times.
20546 Then the slave clock is recalibrated to match offset and rate
20547 of the master clock.
20548 Update logging a bit.
20549 Add flag so that a clock can state that is cannot be slaved to
20552 * gst/gstelement.c: (gst_element_set_clock):
20553 * gst/gstelement.h:
20554 The set clock returns a gboolean for when an element cannot
20555 deal with the selected clock in the pipeline.
20557 * gst/gstpipeline.c: (gst_pipeline_change_state),
20558 (gst_pipeline_set_clock):
20559 * gst/gstpipeline.h:
20560 Handle the case where the selected clock cannot be set on
20563 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20564 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20565 (gst_net_client_clock_set_property),
20566 (gst_net_client_clock_get_property),
20567 (gst_net_client_clock_observe_times):
20568 * gst/net/gstnetclientclock.h:
20569 Use regression code in GstClock parent, remove duplicated
20572 2005-11-22 Michael Smith <msmith@fluendo.com>
20574 * gst/gstutils.c: (gst_util_clock_time_scale):
20576 * docs/gst/gstreamer-sections.txt:
20577 Rename method to have extra underscore.
20579 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20581 * gst/elements/Makefile.am:
20582 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20583 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20584 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20585 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20586 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20587 * gst/elements/gstfakesrc.h:
20588 * gst/gstqueue.c: (queue_leaky_get_type):
20589 correctly fix GEnumValues so that nick is the short lowercase
20591 * tools/gst-inspect.c: (print_element_properties_info):
20592 also show the nick, since it's useful to use from parse_launch
20596 2005-11-22 Michael Smith <msmith@fluendo.com>
20598 * gst/gstutils.c: (gst_util_clocktime_scale):
20600 * docs/gst/gstreamer-sections.txt:
20601 Add util method for scaling a clocktime by a fraction. Useful
20602 implementation is left as an exercise for the reader.
20604 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20606 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20607 If needed, allocate storage in the destination value during
20610 2005-11-22 Edward Hervey <edward@fluendo.com>
20612 * docs/gst/gstreamer-sections.txt:
20615 * gst/gsturitype.c:
20616 * gst/gsturitype.h:
20617 * gst/gstutils.c: (gst_util_set_object_arg):
20618 * tools/gst-compprep.c: (main):
20619 * tools/gst-inspect.c: (print_element_properties_info):
20620 Removed GstURI, closes bug #321061
20622 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20624 * check/gst/gststructure.c: (GST_START_TEST):
20625 * gst/gststructure.c: (gst_structure_parse_value):
20626 Oops, broke automatic string type parsing.
20627 Add a test to catch it in future.
20629 2005-11-22 Andy Wingo <wingo@pobox.com>
20631 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20632 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20633 Actually rename the function implementations. Grr.
20635 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20637 * check/gst/capslist.h:
20639 * check/gst/gststructure.c: (GST_START_TEST),
20640 (gst_structure_suite):
20641 Test automatic value type detection in gst_structure_from_string.
20642 * gst/gststructure.c: (gst_structure_parse_value):
20643 Add fraction as a type we try and guess automatically in
20644 caps/structure strings.
20646 2005-11-22 Andy Wingo <wingo@pobox.com>
20648 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20650 * gst/gsttagsetter.h:
20651 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20652 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20653 (gst_tag_setter_add_tag_valist)
20654 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20655 _add_values, _add_valist, and _add_valist_values. Since this is an
20656 interface the function suffixes should be more explicit so
20657 language binding don't end up with element.add_valist ->
20658 gst_tag_setter_add_valist, for example. Fixes #322069.
20660 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20662 * check/gst/gstcaps.c: (GST_START_TEST):
20663 Extend caps string tests to check that a caps to string
20664 conversion is reversible and produces the same caps.
20666 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20667 Output "fraction" as the generic type fraction range, so caps
20668 serialisation and deserialisation works.
20669 * check/gst/capslist.h:
20670 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20671 Support 'MIN' and 'MAX' for deserialising fractions.
20673 2005-11-22 Andy Wingo <wingo@pobox.com>
20675 * gst/gstevent.h (gst_event_new_new_segment)
20676 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20677 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20678 Renamed from *_newsegment, *_buffersize, *_notarget.
20680 * scripts/update-funcnames: New script, performs the changes
20683 2005-11-22 Wim Taymans <wim@fluendo.com>
20685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20686 Make sure the GstFlowReturn is returned.
20688 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20689 (gst_bus_add_signal_watch):
20691 add gst_bus_add_signal_watch_full.
20693 * gst/gstplugin.c: (gst_plugin_load_file):
20694 Small style cleanup.
20696 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20698 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20699 Block the fakesrc srcpad when we send an event, to avoid
20700 contention on the stream_lock causing random test failures.
20702 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20704 * check/gst/gstvalue.c: (GST_START_TEST):
20705 * gst/gstvalue.c: (gst_value_fraction_subtract):
20708 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20711 include "gstchildproxy.h"
20712 * gst/gstchildproxy.h:
20713 * libs/gst/controller/gstcontroller.h:
20714 use G_GNUC_NULL_TERMINATED
20716 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20718 * check/gst/capslist.h:
20719 * check/gst/gstcaps.c: (GST_START_TEST):
20720 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20721 * gst/gststructure.c: (gst_structure_parse_range),
20722 (gst_structure_fixate_field_nearest_fraction):
20723 * gst/gststructure.h:
20724 * gst/gstvalue.c: (gst_value_init_fraction_range),
20725 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20726 (gst_value_collect_fraction_range),
20727 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20728 (gst_value_set_fraction_range_full),
20729 (gst_value_get_fraction_range_min),
20730 (gst_value_get_fraction_range_max),
20731 (gst_value_serialize_fraction_range),
20732 (gst_value_transform_fraction_range_string),
20733 (gst_value_compare_fraction_range),
20734 (gst_value_deserialize_fraction_range),
20735 (gst_value_intersect_fraction_fraction_range),
20736 (gst_value_intersect_fraction_range_fraction_range),
20737 (gst_value_subtract_fraction_fraction_range),
20738 (gst_value_subtract_fraction_range_fraction),
20739 (gst_value_subtract_fraction_range_fraction_range),
20740 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20741 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20742 (gst_value_transform_string_fraction), (_gst_value_initialize):
20744 Implement fraction ranges and extend GstFraction to support
20745 arithmetic subtraction, as well as deserialization from integer
20746 strings such as "100"
20747 Add a testsuite as for int and double range set operations
20749 2005-11-21 Andy Wingo <wingo@pobox.com>
20751 * gst/gsttaglist.h:
20753 * gst/gststructure.h: Add glib-compat.h.
20755 2005-11-21 Wim Taymans <wim@fluendo.com>
20757 * gst/gstbin.c: (gst_bin_change_state_func):
20760 2005-11-21 Wim Taymans <wim@fluendo.com>
20762 * gst/gstsegment.h:
20763 And add a nice define too.
20765 2005-11-21 Wim Taymans <wim@fluendo.com>
20767 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20768 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20769 (gst_segment_set_duration), (gst_segment_set_last_stop),
20770 (gst_segment_set_seek), (gst_segment_set_newsegment),
20771 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20772 (gst_segment_clip):
20773 * gst/gstsegment.h:
20774 Make binding friendly.
20776 2005-11-21 Andy Wingo <wingo@pobox.com>
20778 * gst/gsttagsetter.h:
20779 * gst/gsttaglist.h:
20780 * gst/gststructure.h:
20782 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20785 * gst/gsterror.c (_gst_core_errors_init):
20786 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20789 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20790 (noinst_HEADERS): noinst the -private.
20792 2005-11-21 Michael Smith <msmith@fluendo.com>
20795 * gst/gstregistry.h:
20796 Remove unimplemented declarations for which we can see no sensible
20799 2005-11-21 Andy Wingo <wingo@pobox.com>
20801 * gst/gst.h: Include glib-compat.h.
20803 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20805 * gst/glib-compat.c: Include the public and the private header.
20807 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20811 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20813 * check/gst/gstevent.c (create_custom_events): Check that
20814 FLUSH_STOP is serialized.
20816 * check/elements/identity.c (event_func):
20817 * check/elements/fakesrc.c (event_func): No stream lock, the core
20820 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20821 stream lock taking, yay.
20823 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20824 ensure that core takes the stream lock.
20826 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20829 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20830 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20831 it already. For the flush start we do take it though so we get the
20832 right preroll state change messages.
20834 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20835 the stream lock here, the core does it for us.
20837 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20838 GST_STREAM_GET_LOCK.
20839 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20840 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20841 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20842 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20843 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20844 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20846 * gst/gstpad.c: Update for stream lock name change.
20848 * gst/base/gstbasesink.c: Update for preroll lock name change.
20850 2005-11-21 Wim Taymans <wim@fluendo.com>
20852 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20853 (gst_clock_get_master):
20855 * gst/gstsystemclock.c: (gst_system_clock_init):
20856 Convert Clock flags to object flags.
20857 Added methods to manage master/slave clocks.
20859 2005-11-21 Wim Taymans <wim@fluendo.com>
20861 * check/gst/gstsegment.c: (GST_START_TEST):
20862 * docs/design/part-TODO.txt:
20863 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20864 (gst_base_sink_event), (gst_base_sink_do_sync),
20865 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20866 (gst_base_sink_query), (gst_base_sink_change_state):
20867 * gst/base/gstbasesink.h:
20868 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20869 (gst_base_src_default_newsegment),
20870 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20871 (gst_base_src_get_range), (gst_base_src_loop),
20872 (gst_base_src_change_state):
20873 * gst/base/gstbasesrc.h:
20874 * gst/base/gstbasetransform.c:
20875 (gst_base_transform_prepare_output_buf),
20876 (gst_base_transform_event), (gst_base_transform_change_state):
20877 * gst/base/gstbasetransform.h:
20878 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20879 (gst_collect_pads_event):
20880 * gst/base/gstcollectpads.h:
20881 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20882 (gst_fake_src_create):
20883 * gst/elements/gstfakesrc.h:
20884 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20885 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20886 (gst_segment_set_last_stop), (gst_segment_set_seek),
20887 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20888 (gst_segment_to_running_time), (gst_segment_clip):
20889 * gst/gstsegment.h:
20890 More segment updates, replace code in plugins with segment
20893 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20895 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20896 Don't ignore sscanf results
20898 2005-11-21 Andy Wingo <wingo@pobox.com>
20900 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20903 * *.c: Ran scripts/update-macros. Oh yes.
20905 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20906 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20909 * scripts/update-macros: New script. Run it on your files to
20910 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20913 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20915 * docs/gst/Makefile.am:
20916 * docs/gst/gstreamer-docs.sgml:
20917 * docs/gst/gstreamer-sections.txt:
20918 * docs/gst/gstreamer.types:
20920 more docs fixes, add new api to the docs
20922 2005-11-21 Andy Wingo <wingo@pobox.com>
20924 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20925 state_broadcast call.
20927 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20929 2005-11-21 Julien MOUTTE <julien@moutte.net>
20931 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20932 function calls for arrays.
20934 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20936 * docs/random/ensonic/media-device-daemon.txt:
20937 wild idea, can this be done?
20938 * docs/gst/gstreamer-sections.txt:
20943 * gst/gstpluginfeature.c:
20947 doc fixes and additions
20949 2005-11-21 Andy Wingo <wingo@pobox.com>
20951 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20952 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20953 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20954 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20955 private to the basesrc implementation.
20957 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20958 behalf of event function if necessary. It should no longer be
20959 necessary to take the stream lock in pad's event functions. Fixes
20962 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20963 * docs/gst/gstreamer-sections.txt:
20964 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20965 (gst_structure_fixate_field_nearest_double),
20966 (gst_structure_fixate_field_boolean):
20967 * gst/gststructure.h:
20968 * win32/common/libgstreamer.def:
20969 * win32/gstreamer.def:
20971 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20974 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20976 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20977 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20978 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20979 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20980 (gst_fdsrc_uri_handler_init):
20981 * gst/elements/gstfdsrc.h:
20982 Port fd:// URI handler from 0.8 to fdsrc
20984 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20986 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20987 (gst_value_serialize_fourcc):
20989 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20990 consistent with our other format defines (#320324).
20992 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20994 * gst/gstvalue.c: (gst_value_is_fixed):
20995 Revert previous commit. Value lists are by definition
20996 not fixed, as they are a list of possible values.
20998 2005-11-21 Andy Wingo <wingo@pobox.com>
21000 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21001 during the stable series if we need it. Fixes #319178.
21003 * gst/gstevent.c (gst_event_new_filler): Removed.
21005 * check/gst/gstevent.c: Update comment about filler events.
21007 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21009 * gst/gstvalue.c: (gst_value_is_fixed):
21010 Should handle both value arrays and value lists.
21012 2005-11-21 Andy Wingo <wingo@pobox.com>
21014 patch by: Alessandro Dessina <alessandro nnva org>
21016 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21017 functions to access arrays. Fixes #321962.
21019 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21021 * docs/gst/gstreamer.types:
21022 gst_collectpads_get_type => gst_collect_pads_get_type.
21024 * gst/base/gstbasetransform.c:
21025 Remove unused SIGNAL_HANDOFF enum.
21027 2005-11-21 Andy Wingo <wingo@pobox.com>
21029 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21030 the event type (upstream, downstream, serialized). Renamed
21031 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21032 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21033 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21035 * gst/gstevent.c: Update for new CUSTOM event names.
21037 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21040 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21043 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21045 * docs/gst/gstreamer-sections.txt:
21046 * win32/common/libgstbase.def:
21047 * win32/libgstbase.def:
21048 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21049 (gst_collect_pads_class_init), (gst_collect_pads_init),
21050 (gst_collect_pads_finalize), (gst_collect_pads_new),
21051 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21052 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21053 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21054 (gst_collect_pads_start), (gst_collect_pads_stop),
21055 (gst_collect_pads_peek), (gst_collect_pads_pop),
21056 (gst_collect_pads_available), (gst_collect_pads_read),
21057 (gst_collect_pads_flush), (gst_collect_pads_event),
21058 (gst_collect_pads_chain):
21059 * gst/base/gstcollectpads.h:
21060 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21061 unimplemented functions as unimplemented. Add padding to
21062 GstCollectData. (#320766, #320423)
21064 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21066 * gst/gstmessage.c:
21067 Improve docs for DURATION message (usage of duration parameter)
21070 2005-11-20 Wim Taymans <wim@fluendo.com>
21072 * check/Makefile.am:
21073 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21077 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21078 (gst_segment_set_seek), (gst_segment_set_newsegment),
21079 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21080 (gst_segment_clip):
21081 * gst/gstsegment.h:
21082 Added segment helper structure and methods. Not fully implemented
21084 Added segment check.
21086 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21088 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21089 Add a deserialisation test for fractions
21090 * examples/metadata/read-metadata.c: (message_loop),
21091 (make_pipeline), (main):
21092 Fix up metadata reading sample.
21093 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21095 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21096 Don't try and fixate empty caps
21097 * gst/gst_private.h:
21098 Wrap in G_BEGIN_DECLS/G_END_DECLS
21099 * gst/gstvalue.c: (gst_value_collect_fraction),
21100 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21101 (gst_value_transform_string_fraction),
21102 (gst_value_compare_fraction):
21103 Add some extra guards to ensure that we don't end up
21104 with an invalid denominator of 0 in a gstfraction and
21105 that fractions always get reduced.
21107 2005-11-20 Wim Taymans <wim@fluendo.com>
21109 * docs/gst/gstreamer-sections.txt:
21111 * gst/gstelement.c:
21120 2005-11-20 Wim Taymans <wim@fluendo.com>
21122 * docs/design/part-TODO.txt:
21124 Make a proper enum of the flag.
21126 2005-11-19 Wim Taymans <wim@fluendo.com>
21128 * docs/design/part-TODO.txt:
21129 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21130 (gst_format_to_quark), (gst_format_register):
21132 * gst/gstquery.c: (_gst_query_initialize),
21133 (gst_query_type_get_name), (gst_query_type_to_quark),
21134 (gst_query_type_register):
21136 Add type to quark and type to string conversions.
21138 2005-11-19 Andy Wingo <wingo@pobox.com>
21140 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21143 2005-11-19 Wim Taymans <wim@fluendo.com>
21145 * docs/design/part-TODO.txt:
21146 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21147 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21148 (gst_bin_handle_message_func):
21150 Make message handling overridable.
21152 2005-11-19 Andy Wingo <wingo@pobox.com>
21154 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21157 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21159 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21160 is a GstClockTime. Fixes #321710.
21162 * gst/gstclock.h (GstClock): Remove offset property. Add
21163 internal_calibration and external_calibration. Fix padding. Pad
21164 also by GstClockTime so we don't run into problems.
21166 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21167 (gst_clock_get_rate_offset): Remove.
21168 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21171 * gst/gstutils.c (g_static_rec_cond_wait)
21172 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21174 * gst/gstbin.c: Remove terrible continue_state prototype.
21176 * gst/gstelement.h (gst_element_continue_state): Make public.
21178 * gst/gstelement.h:
21179 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21180 by continue_state. Fixes #319389.
21182 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21183 Really fixes #168438. However I don't see anywhere where the
21184 filter function is called... stupid GStreamer...
21186 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21187 don't have a dispose function, so it won't get called when the
21188 object is unreffed, but oh well!
21190 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21191 allows a destroy function to be set so user_data can be freed.
21193 (gst_index_set_filter): Call gst_index_set_filter_full.
21195 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21197 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21198 string should produce an error, given the lack of a way to
21199 represent NULL strings. Fixes #165650.
21202 * gst/gstvalue.c (gst_value_array_append_value)
21203 (gst_value_array_prepend_value, gst_value_array_get_size)
21204 (gst_value_array_get_value): New API, copied from
21205 gst_value_list_*, only operates on arrays.
21206 (gst_value_list_append_value, gst_value_list_prepend_value)
21207 (gst_value_list_concat, gst_value_list_get_size)
21208 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21210 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21211 init_list, because it works on both.
21212 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21213 (gst_value_copy_list_or_array): Renamed from copy_list.
21214 (gst_value_free_list_or_array): Renamed from free_list.
21215 (gst_value_collect_list_or_array): Renamed from collect_list.
21216 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21217 (gst_value_list_or_array_peek_pointer): Renamed from
21219 (_gst_value_array_value_table, _gst_value_list_value_table):
21220 Update value table functions.
21221 (gst_value_compare_list_or_array): Renamed from compare_list.
21223 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21226 * gst/gsttaglist.c:
21227 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21228 GstTagList*. Fixes #143472.
21230 * gst/gststructure.h: Clarify what the foreach/map functions can
21231 or can't do to their arguments.
21233 2005-11-18 Wim Taymans <wim@fluendo.com>
21235 * gst/gstclock.c: (gst_clock_set_calibration),
21236 (gst_clock_get_calibration):
21238 Calibration can be set with internal time equal to current
21241 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21247 2005-11-18 Andy Wingo <wingo@pobox.com>
21250 * pkgconfig/gstreamer-net.pc.in:
21251 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21252 * pkgconfig/Makefile.am: Add net pkgconfig files.
21254 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21257 * gst/gstghostpad.c:
21263 2005-11-18 Andy Wingo <wingo@pobox.com>
21265 * gst/net/gstnetclientclock.c: Turn off debugging.
21267 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21268 times connverge somewhat. Can't make a real test.
21270 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21271 integer arithmetic. Return the minimum of the domain, which can be
21272 set as "internal" for gst_clock_set_calibration.
21273 (gst_net_client_clock_observe_times): Call _set_calibration.
21274 (gst_net_client_clock_new): Call _set_calibration instead of
21277 * check/net/gstnetclientclock.c (test_functioning): Use the right
21281 * gst/gstclock.c (gst_clock_get_calibration)
21282 (gst_clock_set_calibration): New functions, obsolete the ones I
21283 added yesterday. Doh. Precision issues mean we have to extrapolate
21284 from a point in the more recent past than 1970.
21285 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21287 (gst_clock_adjust_unlocked): Use the right calibration data.
21289 2005-11-18 Edward Hervey <edward@fluendo.com>
21291 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21292 Also reset the ->current_* values in READY->PAUSED
21294 2005-11-18 Andy Wingo <wingo@pobox.com>
21296 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21297 Whoops, check the right fd. Also add some debugging.
21298 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21299 (do_linear_regression): Add a crapload of debugging. Subtract off
21300 the minimum values from the input series to discard unneeded bits.
21301 Use only int arithmetic. There is still double arithmetic when
21302 calculating the intercept that needs fixing. Return boolean to
21303 indicate success; FALSE would mean the domain or range is too
21304 great. Still needs fixes.
21306 2005-11-18 Wim Taymans <wim@fluendo.com>
21308 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21309 For the current position in stream time, we need to subtract
21312 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21313 Release lock before calling the callback function of async
21316 2005-11-18 Andy Wingo <wingo@pobox.com>
21318 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21319 Port goes all the way to MAXUINT16.
21321 * gst/net/gstnettimeprovider.c: Make the port range the same as
21322 for the kernel: 0 assigns, otherwise ports are less than
21325 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21328 * check/net/gstnetclientclock.c (test_functioning): Add the start
21331 2005-11-18 Wim Taymans <wim@fluendo.com>
21333 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21334 (gst_bin_remove_func), (bin_bus_handler):
21336 Removing a clock provider from a bin, triggers a clock lost message
21337 so that a new clock will be selected.
21338 Adding a clock to a bin triggers a clock provider message.
21339 Make sure we reselect a clock when we received a clock lost message.
21340 Keep a reference to the element that provided the clock.
21342 2005-11-18 Andy Wingo <wingo@pobox.com>
21344 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21345 the clock initially so it produces values around the base time.
21346 (gst_net_client_clock_class_init): Typo fix.
21347 (gst_net_client_clock_thread): Add note on when the socket gets
21350 2005-11-17 Wim Taymans <wim@fluendo.com>
21352 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21353 Free remote and local time arrays.
21355 2005-11-17 Wim Taymans <wim@fluendo.com>
21357 * gst/net/gstnetclientclock.c: (do_linear_regression),
21358 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21359 Fix compilation, uninitialized vars and a forgotten continue.
21361 2005-11-17 Andy Wingo <wingo@pobox.com>
21363 * check/Makefile.am (check_PROGRAMS):
21364 * check/net/gstnetclientclock.c: Add a most minimal test for the
21365 net client clock. More to come later.
21367 * gst/net/gstnet.h:
21368 * gst/net/Makefile.am: Add netclientclock.
21370 * gst/net/gstnetclientclock.h:
21371 * gst/net/gstnetclientclock.c: New files, implement an untested
21372 GstClock that takes its time from a network time provider.
21373 Implements the algorithm in network-clock.scm.
21375 * tests/network-clock.scm (*window-size*): Rename from
21377 * tests/network-clock.scm (network-time):
21378 * tests/network-clock-utils.scm (q-push): Update callers.
21380 2005-11-17 Wim Taymans <wim@fluendo.com>
21382 * gst/gstbin.c: (gst_bin_provide_clock_func),
21383 (gst_bin_sort_iterator_new):
21384 And unref the child too..
21386 2005-11-17 Wim Taymans <wim@fluendo.com>
21388 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21389 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21390 Refactor the sort iterator so it can be used while holding the
21392 Make clock selection select a clock closest to the source.
21394 2005-11-17 Michael Smith <msmith@fluendo.com>
21396 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21397 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21399 Anonymous structs are a gcc (and some other compilers) extension, so
21400 don't use them. Since this is only for ABI-compatibility, and our
21401 API/ABI freeze is over in a few days, this whole thing will only
21402 last a few days, so don't bother trying to think up a meaningful
21403 name for the struct.
21405 2005-11-17 Andy Wingo <wingo@pobox.com>
21407 * gst/gstclock.h (GstClock): Add rate and offset properties,
21408 preserving ABI stability. Add rate/offset accessors. Will file bug
21409 for the freeze break.
21411 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21412 and offset, trying to keep precision and avoiding
21413 underflow/overflow.
21414 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21415 functions. Make gst_clock_set_time_adjust obsolete.
21416 (gst_clock_set_time_adjust): Note that this function is obsolete.
21417 Will file bug soon.
21419 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21420 greppable by using GST_PADDING-1+1.
21422 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21424 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21426 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21427 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21429 * gst/gstpadtemplate.h:
21430 * gst/gstpluginfeature.h:
21431 Don't use c++ style comments in headers (#321638).
21433 2005-11-16 Andy Wingo <wingo@pobox.com>
21435 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21438 * check/net/gstnettimeprovider.c: Check to see that the time
21439 provider actually provides times. Works, yo!
21441 2005-11-16 Wim Taymans <wim@fluendo.com>
21443 * check/Makefile.am:
21446 * check/elements/fakesrc.c: (GST_START_TEST):
21447 Set element to NULL before disposing it.
21449 2005-11-16 Andy Wingo <wingo@pobox.com>
21451 * gst/net/Makefile.am:
21452 * gst/net/gstnet.h:
21453 * gst/net/gstnettimeprovider.c:
21454 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21455 provider, include it from gstnet.h, and add it to the build.
21457 * gst/net/gstnettimepacket.h:
21458 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21459 sending and receiving.
21461 2005-11-16 Wim Taymans <wim@fluendo.com>
21463 * check/Makefile.am:
21464 Enable valgrind check.
21466 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21467 (gst_fake_src_alloc_buffer):
21470 2005-11-16 Wim Taymans <wim@fluendo.com>
21472 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21473 Call parent finalize too.
21475 2005-11-16 Wim Taymans <wim@fluendo.com>
21477 * check/Makefile.am:
21478 Enable valgrind check that should work fine now.
21480 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21481 * gst/gstqueue.c: (gst_queue_init):
21482 Fix memleaks in pad allocation.
21484 2005-11-16 Andy Wingo <wingo@pobox.com>
21486 * gst/net/Makefile.am:
21487 * gst/net/gstnet.h: New part of core to hold network elements and
21488 objects. Put in core because it exposes API that applications want
21489 to use. The library is named libgstnet-tempname right now because
21490 of the existing libgstnet in gst-plugins-base. Solution is
21491 probably to rename the one in plugins-base; will file a bug for
21494 * gst/net/gstnettimeprovider.c:
21495 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21496 get_time call over the network.
21499 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21501 * check/Makefile.am:
21502 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21503 get additions shortly.
21505 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21507 * gst/gstpad.c: (gst_pad_new_from_static_template):
21509 add gst_pad_new_from_static_template functions
21510 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21511 (gst_check_setup_sink_pad):
21512 * gst/elements/gsttee.c: (gst_tee_init):
21515 2005-11-16 Wim Taymans <wim@fluendo.com>
21517 * gst/gstpad.c: (gst_pad_pause_task):
21518 Removed warning, it's not really an error either.
21520 2005-11-16 Wim Taymans <wim@fluendo.com>
21522 * gst/base/gstbasetransform.c:
21523 (gst_base_transform_prepare_output_buf),
21524 (gst_base_transform_event):
21525 Check if the caps are NULL, this can happen if the element
21526 is shutting down and the pad caps are set to NULL.
21528 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21530 * gst/elements/gsttee.c: (gst_tee_init):
21531 fix pad template leak in tee
21533 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21535 * gst/glib-compat.c: (g_value_dup_gst_object):
21536 * gst/glib-compat.h:
21537 * gst/gstpad.c: (gst_pad_set_property):
21538 use gst_object_ref when setting the pad template; this will
21539 trigger the pad template leaks on GLib 2.6 and the slaves
21541 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21543 * gst/glib-compat.c: (gst_flags_get_first_value):
21544 * gst/glib-compat.h:
21545 * gst/gstregistryxml.c:
21546 remove functions copied from GLib 2.6
21548 2005-11-16 Michael Smith <msmith@fluendo.com>
21551 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21552 do, but only breaks with newer valgrind versions. We're not a
21553 valgrind tool, we have no link-time dependencies on libcoregrind.
21555 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21557 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21559 * gst/gstmessage.h:
21562 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21564 * gst/base/gstbasesrc.c: (gst_base_src_init):
21565 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21566 * gst/gstqueue.c: (gst_queue_init):
21567 * gst/gstregistryxml.c: (load_feature):
21568 Revert all these unrefs, they don't even pass make check !
21570 2005-11-15 Johan Dahlin <johan@gnome.org>
21572 * gst/base/gstbasesrc.c: (gst_base_src_init):
21573 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21574 * gst/gstqueue.c: (gst_queue_init):
21575 Free pad templates, fixes a couple of leaks.
21577 2005-11-15 Daniel Fischer <dan at f3c dot com>
21579 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21581 * gst/gstpad.c: (gst_pad_get_property):
21582 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21583 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21586 2005-11-15 Wim Taymans <wim@fluendo.com>
21591 2005-11-15 Andy Wingo <wingo@pobox.com>
21593 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21595 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21596 using GST_CLOCK_TIME_NONE to disable base time management.
21597 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21598 time if it was NONE before.
21599 (gst_pipeline_change_state): Only munge the base time if
21600 stream_time != GST_CLOCK_TIME_NONE.
21602 * check/gst/gstpipeline.c (test_base_time): Punt around the
21603 problem of the probe not being called, because that's not the
21604 issue I'm looking at. Add a check that setting stream_time to NONE
21605 disables base time management.
21607 2005-11-15 Wim Taymans <wim@fluendo.com>
21609 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21610 segment_stop == -1 at startup.
21612 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21613 (gst_base_transform_change_state):
21614 Init segment values at start.
21616 2005-11-15 Wim Taymans <wim@fluendo.com>
21618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21619 0 segment values are 0 in any format.
21621 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21622 * gst/base/gstbasetransform.h:
21623 Parse newsegment correctly in basetransform
21625 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21626 Sync to clock using updated segment values.
21628 2005-11-15 Andy Wingo <wingo@pobox.com>
21630 * check/gst/gstpipeline.c (test_base_time): Add check that the
21631 base time and stream time are reset correctly.
21633 2005-11-15 Wim Taymans <wim@fluendo.com>
21635 * docs/design/part-TODO.txt:
21636 Some more TODO items.
21638 2005-11-15 Andy Wingo <wingo@pobox.com>
21640 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21641 error if the user selected "no clock" as the clocking method.
21643 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21644 timestamps with live capture.
21646 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21647 is 0 but we are a live source, timestamp the buffers using the
21650 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21652 * docs/gst/gstreamer-sections.txt:
21654 * gst/gstghostpad.c:
21659 2005-11-14 Wim Taymans <wim@fluendo.com>
21662 add suppressions from Wim's Debian machine
21664 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21667 add suppressions from Andy's AMD64 Ubuntu machine
21669 2005-11-14 Andy Wingo <wingo@pobox.com>
21671 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21672 STATE_LOCK not necessary. Fixes #311489.
21674 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21677 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21678 this function is not implemented.
21680 2005-11-14 Julien MOUTTE <julien@moutte.net>
21682 * gst/base/gstbasetransform.c:
21683 (gst_base_transform_prepare_output_buf):
21684 Ref the source pad caps while we need them.
21687 2005-11-11 Wim Taymans <wim@fluendo.com>
21689 * docs/gst/gstreamer-sections.txt:
21690 Added some docs for GstCollectData.
21692 * gst/base/gstadapter.c:
21693 Some small code example fix.
21695 * gst/base/gstcollectpads.c:
21696 * gst/base/gstcollectpads.h:
21697 Document some more.
21699 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21701 * configure.ac: back to HEAD
21703 === release 0.9.5 ===
21705 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21708 releasing 0.9.5, "Bike Lunch Day"
21710 2005-11-11 Wim Taymans <wim@fluendo.com>
21712 * gst/gstbuffer.c: (_gst_buffer_copy):
21715 * gst/gstcaps.c: (gst_caps_is_equal):
21717 Make _is_equal fast in the trivial cases.
21719 * gst/gstminiobject.c:
21720 * gst/gstminiobject.h:
21721 More docs. Spifify .h file.
21726 2005-11-11 Wim Taymans <wim@fluendo.com>
21728 * gst/base/gstbasetransform.c:
21729 (gst_base_transform_prepare_output_buf),
21730 (gst_base_transform_handle_buffer):
21732 If we're processing a buffer and need to allocate an output
21733 buffer, we cannot accept a format change. If we did get a
21734 format change, we have to alloc a buffer ourselves of the
21737 2005-11-11 Wim Taymans <wim@fluendo.com>
21739 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21740 While checking the flag for reentrancy in the gstcaps function
21741 is nice to detect recursive invocations, it also makes it
21742 impossible to call getcaps from multiple threads, which must be
21743 possible. So, checking for recursive calls has to go.
21745 2005-11-11 Michael Smith <msmith@fluendo.com>
21747 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21748 Don't sync on buffers that fall partially outside our current
21749 segment. Prevents an assertion failure/abort playing some files.
21751 2005-11-10 Andy Wingo <wingo@pobox.com>
21753 * check/gst/gstbin.c (test_message_state_changed_children): Style
21756 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21757 gst_bus_poll with the signal watch. Ensures that poll and a signal
21758 watch see the same messages.
21760 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21761 a poll and a watch at the same time get the same messages.
21763 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21765 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21766 * gst/gstcaps.c: (gst_caps_intersect):
21767 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21768 and it's not needed.
21770 2005-11-10 Wim Taymans <wim@fluendo.com>
21772 * docs/design/part-TODO.txt:
21775 2005-11-10 Wim Taymans <wim@fluendo.com>
21777 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21778 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21779 (gst_base_src_do_sync), (gst_base_src_get_range):
21780 Implement clock sync in base class.
21782 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21784 patch by: Tim-Philipp Müller <tim at centricular dot net>
21786 * gst/gststructure.c: (gst_structure_parse_field),
21787 (gst_structure_from_string):
21788 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21789 so that gst_parse_launch() can deal with spaces in filtered link
21790 caps (fixes #164479)
21791 * check/gst/capslist.h:
21792 * check/gst/gststructure.c: (GST_START_TEST):
21793 add unit tests for this change
21795 2005-11-10 Wim Taymans <wim@fluendo.com>
21797 * docs/gst/gstreamer-sections.txt:
21798 * gst/gstelement.c:
21799 * gst/gstelement.h:
21800 Fix docs, move some STATE macros to private.
21802 2005-11-10 Wim Taymans <wim@fluendo.com>
21804 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21805 Added check for bug #317341
21809 Some more spiffifying.
21811 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21812 Call peer linkfunction if we are a source pad. Totally fixes
21816 Update docs, source pads should call the peer linkfunction
21817 so they can atomically perform the pad link.
21819 2005-11-09 Wim Taymans <wim@fluendo.com>
21823 Uber-spiffy-spiffify some more.
21825 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21827 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21828 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21829 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21830 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21831 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21832 * gst/gstpad.c: (gst_pad_init):
21833 Use GST_DEBUG_FUNCPTR() more extensively.
21835 2005-11-09 Wim Taymans <wim@fluendo.com>
21837 * gst/gstobject.c: (gst_object_class_init):
21839 Documentation fixes.
21841 2005-11-09 Edward Hervey <edward@fluendo.com>
21843 * gst/gsttypefindfactory.c:
21846 2005-11-09 Edward Hervey <edward@fluendo.com>
21848 * gst/base/gsttypefindhelper.c:
21849 * gst/gsttypefind.c:
21850 * gst/gsttypefind.h:
21853 2005-11-09 Wim Taymans <wim@fluendo.com>
21855 * gst/gstiterator.c:
21862 2005-11-09 Wim Taymans <wim@fluendo.com>
21868 2005-11-09 Wim Taymans <wim@fluendo.com>
21870 * docs/gst/gstreamer-sections.txt:
21871 Moved the message async delivery private lock and cond
21872 to the private section.
21874 * gst/gstmessage.c:
21875 * gst/gstmessage.h:
21878 2005-11-09 Edward Hervey <edward@fluendo.com>
21880 * docs/gst/gstreamer-sections.txt:
21883 Document GstURIHandler
21885 2005-11-09 Wim Taymans <wim@fluendo.com>
21887 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21888 (gst_iterator_find_custom):
21889 * gst/gstiterator.h:
21892 2005-11-09 Wim Taymans <wim@fluendo.com>
21895 Document another field.
21897 * gst/gststructure.c:
21898 * gst/gststructure.h:
21901 2005-11-09 Wim Taymans <wim@fluendo.com>
21904 Documented structs.
21906 2005-11-09 Wim Taymans <wim@fluendo.com>
21908 * docs/gst/gstreamer-sections.txt:
21909 Added some new macros.
21916 2005-11-09 Wim Taymans <wim@fluendo.com>
21918 * docs/design/part-TODO.txt:
21919 Some more items for the TODO
21925 2005-11-09 Andy Wingo <wingo@pobox.com>
21927 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21928 to work on something else now tho...
21930 * gst/base/gstadapter.c: More adapter docs.
21932 * gst/elements/gstfilesink.c (gst_file_sink_start)
21933 (gst_file_sink_stop): New functions, replace the state change
21935 (gst_file_sink_class_init): Hook up the start and stop functions.
21936 (gst_file_sink_base_init): Don't set the state change handler any
21937 more. It was a bit ugly too, being set from here...
21938 (gst_file_sink_get_property, gst_file_sink_set_property):
21940 (gst_file_sink_set_location): More robust check that doesn't call
21941 GST_STATE. Ugggggg.
21943 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21945 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21946 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21948 2005-11-08 Wim Taymans <wim@fluendo.com>
21950 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21951 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21952 (gst_base_sink_chain), (gst_base_sink_change_state):
21953 * gst/base/gstbasesink.h:
21954 * gst/base/gstbasesrc.h:
21955 * gst/gstelement.h:
21957 Avoid excessive typechecking in macros.
21959 * gst/gstminiobject.c: (gst_mini_object_get_type),
21960 (gst_mini_object_init), (gst_mini_object_new),
21961 (gst_mini_object_free):
21962 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21963 (gst_object_finalize):
21964 Remove cruft code, optimize alloc_trace.
21966 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21968 * docs/faq/gst-uninstalled:
21969 fix up PS1 for systems that try to reset it
21971 2005-11-07 Wim Taymans <wim@fluendo.com>
21973 * gst/base/gstbasesrc.c: (gst_base_src_init),
21974 (gst_base_src_get_range):
21975 Set the segment_end to -1 initially. Fixed typefind.
21977 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21979 * gst/base/gstadapter.c:
21980 Debug category should be 'adapter', not 'GstAdapter'.
21982 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21983 (gst_collectpads_class_init), (gst_collectpads_init),
21984 (gst_collectpads_peek), (gst_collectpads_pop),
21985 (gst_collectpads_event), (gst_collectpads_chain):
21986 Add debug category and some debugging output. Use boilerplate
21987 macros. Remove some extraneous words from docs.
21989 2005-11-05 Andy Wingo <wingo@pobox.com>
21991 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21994 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21996 * docs/gst/gstreamer-sections.txt:
21999 * gst/gstminiobject.h:
22004 2005-11-04 Wim Taymans <wim@fluendo.com>
22006 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22007 Small update to stop at the configured segment_end
22010 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22012 * gst/gstregistry.c:
22013 * gst/gstregistry.h:
22016 2005-11-04 Edward Hervey <edward@fluendo.com>
22018 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22019 Check if we are doing a segment seek and have arrived at the
22020 end of that segment.
22022 2005-11-04 Wim Taymans <wim@fluendo.com>
22024 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22025 Don't leak a mutex unlock in case of an error.
22030 2005-11-04 Wim Taymans <wim@fluendo.com>
22032 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22034 Get the context to wake up only once.
22036 2005-11-03 Wim Taymans <wim@fluendo.com>
22038 * check/states/sinks.c: (GST_START_TEST):
22039 Uncomment fixed check.
22041 * docs/design/part-TODO.txt:
22044 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22045 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22046 (gst_base_sink_get_position):
22047 If we are going to PLAYING, post the right pending state
22048 when we post the intermediate paused message.
22050 * gst/gstelement.c: (gst_element_continue_state),
22051 (gst_element_set_state_func), (gst_element_change_state):
22052 Don't post state changes that were between the same state
22053 and were not ASYNC.
22055 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22057 * docs/gst/gstreamer-sections.txt:
22060 * gst/gstminiobject.h:
22063 more docs and doc style fixes
22065 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22067 * docs/gst/gstreamer-sections.txt:
22068 * gst/gstelement.c:
22069 * gst/gstminiobject.c:
22072 2005-11-03 Andy Wingo <wingo@pobox.com>
22074 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22075 state-changed messages actually have the right order and the right
22078 2005-11-03 Wim Taymans <wim@fluendo.com>
22080 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22081 Added some more checks. Specifically the case where NO_PREROLL
22082 elements are in the pipeline.
22084 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22085 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22086 (gst_base_sink_get_position):
22087 Post READY->PAUSED state change messages too.
22088 Fix bug where VOID was posted as pending state...
22090 * gst/gstbin.c: (gst_bin_recalc_state):
22091 use _element_continue_state() to continue the state change.
22093 * gst/gstelement.c: (gst_element_continue_state),
22094 (gst_element_commit_state), (gst_element_set_state_func),
22095 (gst_element_change_state), (gst_element_change_state_func):
22096 Lots of state change cleanups, assign the STATE_RETURN in
22097 a new continue_state() function that also propagates the
22098 last return value from a state change to the app.
22099 Update some debug statements with proper category.
22101 2005-11-03 Wim Taymans <wim@fluendo.com>
22103 * docs/design/part-events.txt:
22104 * docs/design/part-gstpipeline.txt:
22105 * docs/design/part-messages.txt:
22106 * docs/design/part-overview.txt:
22107 * docs/design/part-seeking.txt:
22108 * docs/design/part-states.txt:
22109 * docs/design/part-trickmodes.txt:
22110 * docs/manual/advanced-position.xml:
22111 Small docs updates.
22114 People think !! is ugly, this looks better.
22116 * gst/gstpad.c: (gst_pad_set_blocked_async):
22117 Remove !! since it's fixed elsewhere now.
22119 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22121 * gst/gstminiobject.h:
22123 Add !! to _FLAG_IS_SET macros to make the result boolean.
22125 2005-11-03 Edward Hervey <edward@fluendo.com>
22127 * gst/gstpad.c: (gst_pad_set_blocked_async):
22128 comparing a flag and a gboolean rarely returns coherent results...
22129 Added two characters (!!) to make that work correctly.
22131 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22133 * gst/gstbus.c: (gst_bus_class_init):
22136 * gst/gstqueue.c: (gst_queue_loop):
22137 Don't assume a miniobject that isn't a buffer is an
22138 event (it could be that there is a refcounting
22139 problem somewhere and the pointer is stale and
22140 refers to an already destroyed miniobject).
22142 2005-11-03 Julien MOUTTE <julien@moutte.net>
22144 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22146 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22148 * docs/manual/advanced-position.xml:
22149 Update seek example and explanations to current 0.9 API.
22151 * gst/elements/gsttypefindelement.c:
22152 (gst_type_find_element_activate):
22153 Remove FIXME comment now that the found caps
22156 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22158 * gst/gstregistryxml.c: (load_feature):
22159 Add another GST_STR_NULL instance
22161 2005-11-02 Edward Hervey <edward@fluendo.com>
22163 * gst/gstpad.c: (handle_pad_block):
22164 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22166 2005-11-02 Wim Taymans <wim@fluendo.com>
22171 * gst/gstelement.c: (gst_element_commit_state):
22172 Remove unused value.
22174 * gst/gstiterator.c:
22175 Mention that the returned element is reffed in the docs.
22177 2005-11-02 Wim Taymans <wim@fluendo.com>
22179 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22180 (gst_pad_push), (gst_pad_push_event):
22181 Unlock blocked pads when they are flushed.
22183 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22186 * docs/gst/gstreamer-sections.txt:
22189 * gst/gstregistry.c: (gst_registry_scan_path_level):
22190 fix for a nasty little missed situation where an installed plug-in
22191 which was in the cache did not get overridden by an uninstalled one
22192 which was earlier in the plugin path because the newly created plugin
22193 for the uninstalled one (not in the registry) didn't get its
22194 ->registered set to TRUE
22196 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22198 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22199 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22200 (gst_collectpads_is_active), (gst_collectpads_collect),
22201 (gst_collectpads_collect_range), (gst_collectpads_start),
22202 (gst_collectpads_stop), (gst_collectpads_peek),
22203 (gst_collectpads_pop), (gst_collectpads_available),
22204 (gst_collectpads_read), (gst_collectpads_flush):
22205 Guard public API with assertions.
22208 Fix docs for gst_pad_set_link_function().
22210 2005-11-02 Johan Dahlin <johan@gnome.org>
22212 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22213 Unref found_caps after we used it.
22215 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22217 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22218 Don't try to ref NULL.
22220 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22222 * win32/common/config.h.in:
22223 provide a GST_FUNCTION that just gives a string for now
22225 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22227 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22228 (gst_object_flags_get_type), (register_gst_bin_flags),
22229 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22230 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22231 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22232 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22233 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22234 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22235 (gst_clock_flags_get_type), (register_gst_state),
22236 (gst_state_get_type), (register_gst_state_change_return),
22237 (gst_state_change_return_get_type), (register_gst_state_change),
22238 (gst_state_change_get_type), (register_gst_element_flags),
22239 (gst_element_flags_get_type), (register_gst_core_error),
22240 (gst_core_error_get_type), (register_gst_library_error),
22241 (gst_library_error_get_type), (register_gst_resource_error),
22242 (gst_resource_error_get_type), (register_gst_stream_error),
22243 (gst_stream_error_get_type), (register_gst_event_type),
22244 (gst_event_type_get_type), (register_gst_seek_type),
22245 (gst_seek_type_get_type), (register_gst_seek_flags),
22246 (gst_seek_flags_get_type), (register_gst_format),
22247 (gst_format_get_type), (register_gst_index_certainty),
22248 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22249 (gst_index_entry_type_get_type),
22250 (register_gst_index_lookup_method),
22251 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22252 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22253 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22254 (gst_index_flags_get_type), (register_gst_debug_level),
22255 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22256 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22257 (gst_iterator_result_get_type), (register_gst_iterator_item),
22258 (gst_iterator_item_get_type), (register_gst_message_type),
22259 (gst_message_type_get_type), (register_gst_mini_object_flags),
22260 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22261 (gst_pad_link_return_get_type), (register_gst_flow_return),
22262 (gst_flow_return_get_type), (register_gst_activate_mode),
22263 (gst_activate_mode_get_type), (register_gst_pad_direction),
22264 (gst_pad_direction_get_type), (register_gst_pad_flags),
22265 (gst_pad_flags_get_type), (register_gst_pad_presence),
22266 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22267 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22268 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22269 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22270 (gst_plugin_flags_get_type), (register_gst_rank),
22271 (gst_rank_get_type), (register_gst_query_type),
22272 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22273 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22274 (gst_tag_flag_get_type), (register_gst_task_state),
22275 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22276 (gst_alloc_trace_flags_get_type),
22277 (register_gst_type_find_probability),
22278 (gst_type_find_probability_get_type), (register_gst_uri_type),
22279 (gst_uri_type_get_type), (register_gst_parse_error),
22280 (gst_parse_error_get_type):
22281 * win32/common/gstversion.h:
22282 update win32 copies
22284 2005-11-01 Luca Ognibene <luogni@tin.it>
22287 fix docs. popt is dead, long live GOption.
22289 2005-10-31 Wim Taymans <wim@fluendo.com>
22294 2005-10-31 Andy Wingo <wingo@pobox.com>
22298 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22300 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22301 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22302 the possibility of deadlocks here if code calling notify() or
22303 set() has a lock that can be taken in another notify handler (ABBA
22304 with class lock and e.g. python GIL state lock).
22306 2005-10-28 Julien MOUTTE <julien@moutte.net>
22308 * gst/gstbus.c: Doc updates.
22310 2005-10-28 Wim Taymans <wim@fluendo.com>
22312 * docs/design/part-TODO.txt:
22313 * gst/gstiterator.c:
22314 * gst/gstsystemclock.c:
22315 * gst/gstsystemclock.h:
22318 2005-10-28 Edward Hervey <edward@fluendo.com>
22320 * docs/gst/gstreamer-docs.sgml:
22321 * docs/gst/gstreamer-sections.txt:
22322 the GstURIType documentation page is private, it only defines GstURIType
22323 which should be defined in the GstURIHandler page
22325 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22327 * gst/gstbin.c: (gst_bin_class_init):
22330 Documentation updates.
22332 2005-10-28 Wim Taymans <wim@fluendo.com>
22334 * docs/gst/gstreamer-sections.txt:
22337 Documented the clocks.
22339 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22341 * docs/gst/gstreamer-sections.txt:
22342 move some macros to private sections
22343 * gst/gstminiobject.c:
22344 * gst/gstminiobject.h:
22345 add descriptions provided by ds and some more
22347 mark macro as to be removed
22349 2005-10-28 Wim Taymans <wim@fluendo.com>
22351 * docs/design/part-TODO.txt:
22352 Add an item to TODO.
22354 * gst/gstiterator.c: (gst_iterator_fold),
22355 (gst_iterator_find_custom):
22356 * gst/gstiterator.h:
22359 2005-10-28 Wim Taymans <wim@fluendo.com>
22361 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22362 (gst_base_transform_init):
22365 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22366 An EOS event marks the queue as completely filled.
22368 2005-10-27 Wim Taymans <wim@fluendo.com>
22370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22371 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22372 Some more debugging.
22374 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22375 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22376 (gst_base_transform_event), (gst_base_transform_getrange),
22377 (gst_base_transform_chain):
22378 * gst/base/gstbasetransform.h:
22380 Protect transform and concurrent buffer alloc with a new lock.
22381 Try not to break ABI/API.
22383 2005-10-27 Wim Taymans <wim@fluendo.com>
22385 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22386 (gst_base_src_init), (gst_base_src_query),
22387 (gst_base_src_default_newsegment),
22388 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22389 (gst_base_src_send_event), (gst_base_src_event_handler),
22390 (gst_base_src_pad_get_range), (gst_base_src_loop),
22391 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22392 (gst_base_src_start), (gst_base_src_deactivate),
22393 (gst_base_src_activate_push), (gst_base_src_change_state):
22394 Move some stuff around and cleanup things.
22396 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22398 * gst/base/gstbasesrc.c: (gst_base_src_query):
22399 Add missing break statements.
22401 2005-10-27 Wim Taymans <wim@fluendo.com>
22403 * check/gst/gstbin.c: (GST_START_TEST):
22404 An extra refcount is taken in basesrc.
22406 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22407 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22408 (gst_base_src_loop):
22409 Small cleanups, check for flushing after being unlocked from the
22410 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22411 Don't send out EOS when going to READY.
22413 2005-10-27 Wim Taymans <wim@fluendo.com>
22415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22416 (gst_base_sink_get_position):
22419 * gst/gstbin.c: (message_check), (bin_replace_message),
22420 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22421 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22422 (bin_query_duration_init), (bin_query_duration_fold),
22423 (bin_query_duration_done), (bin_query_generic_fold),
22425 * tools/gst-launch.c: (main):
22428 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22430 * examples/controller/audio-example.c: (main):
22431 * examples/queue/queue.c: (event_loop):
22432 * gst/base/gstbasetransform.h:
22433 * gst/gstelement.c: (gst_element_send_event):
22435 * gst/gstpad.c: (gst_pad_send_event):
22438 changing log priority in error situations
22440 2005-10-25 Wim Taymans <wim@fluendo.com>
22442 * gst/gstbin.c: (message_check), (bin_replace_message),
22443 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22444 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22445 (bin_query_duration_init), (bin_query_duration_fold),
22446 (bin_query_duration_done), (bin_query_generic_fold),
22448 Some doc and debug updates.
22449 Cache previously requested query DURATION for speed. invalidate
22450 cached duration if element posts a DURATION message.
22452 2005-10-25 Wim Taymans <wim@fluendo.com>
22454 * docs/design/part-TODO.txt:
22457 * gst/gstbin.c: (message_check), (bin_replace_message),
22458 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22459 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22460 (bin_query_duration_init), (bin_query_duration_fold),
22461 (bin_query_duration_done), (bin_query_generic_fold),
22463 Handle SEGMENT_START/DONE messages correctly.
22464 More evolved query algorithm that handles duration queries
22467 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22468 (gst_element_get_state_func), (gst_element_abort_state),
22469 (gst_element_commit_state), (gst_element_lost_state):
22470 Some more debugging.
22472 * gst/gstmessage.h:
22475 2005-10-25 Wim Taymans <wim@fluendo.com>
22477 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22478 Don't use invalid stream_time.
22480 * gst/gstevent.c: (gst_event_new_newsegment):
22481 stream_time in newsegment cannot be undefined.
22483 2005-10-24 Wim Taymans <wim@fluendo.com>
22488 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22490 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22492 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22494 * docs/libs/tmpl/gstdparam.sgml:
22495 * docs/libs/tmpl/gstdplinint.sgml:
22496 * docs/libs/tmpl/gstdpman.sgml:
22497 * docs/libs/tmpl/gstdpsmooth.sgml:
22498 * docs/libs/tmpl/gstunitconvert.sgml:
22501 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22506 === release 0.9.4 ===
22508 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22511 releasing 0.9.4, "Tyrannosaurus Rex"
22513 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22515 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22516 (gst_file_sink_get_current_offset):
22517 Use fseeko() and ftello() if available. When falling back on
22518 lseek() to get the current offset, fflush() first to make sure
22519 everything is up-to-date and we get the right offset.
22521 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22524 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22525 * gst/gsterror.c: (_gst_stream_errors_init):
22527 * gst/gstqueue.c: (gst_queue_loop):
22529 remove prematurely added error category and clean up the instances
22531 2005-10-21 Wim Taymans <wim@fluendo.com>
22533 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22534 (gst_base_sink_get_position), (gst_base_sink_query),
22535 (gst_base_sink_change_state):
22536 Simply set the right flag when going to playing, that's all
22537 we need to do instead of calling a function inside the object
22538 lock (that could take the lock as well and deadlock)
22540 2005-10-21 Wim Taymans <wim@fluendo.com>
22542 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22543 (gst_base_src_loop):
22544 Don't warn, the peer element knows what to do best when
22545 the seek failed, it might try something else.
22547 2005-10-21 Wim Taymans <wim@fluendo.com>
22549 * gst/base/gstbasesrc.c: (gst_base_src_init),
22550 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22553 2005-10-21 Wim Taymans <wim@fluendo.com>
22555 * docs/design/part-segments.txt:
22558 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22559 Correctly set caps, even on the subbufer.
22561 2005-10-21 Wim Taymans <wim@fluendo.com>
22563 * docs/gst/gstreamer-docs.sgml:
22564 * docs/gst/gstreamer-sections.txt:
22565 * gst/gstelement.h:
22568 * gst/gstmessage.h:
22571 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22575 And 2% more doc coverage.
22577 2005-10-21 Andy Wingo <wingo@pobox.com>
22579 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22580 position reporting.
22582 2005-10-20 Wim Taymans <wim@fluendo.com>
22584 * gst/gsterror.c: (gst_error_get_message):
22587 * gst/gststructure.c:
22592 2005-10-20 Wim Taymans <wim@fluendo.com>
22597 Another 1% more coverage.
22599 2005-10-20 Wim Taymans <wim@fluendo.com>
22601 * docs/gst/gstreamer-sections.txt:
22602 * gst/gstelement.c: (gst_element_get_state_func),
22603 (gst_element_abort_state), (gst_element_commit_state),
22604 (gst_element_lost_state):
22606 * gst/gstquery.c: (gst_query_set_position),
22607 (gst_query_parse_position), (gst_query_set_duration),
22608 (gst_query_parse_duration), (gst_query_new_convert):
22610 Yay! 1% more docs coverage.
22612 2005-10-20 Wim Taymans <wim@fluendo.com>
22615 * gst/gstquery.c: (gst_query_set_position),
22616 (gst_query_parse_position), (gst_query_set_duration),
22617 (gst_query_parse_duration), (gst_query_new_convert):
22619 * gst/gstutils.c: (gst_element_query_convert):
22621 Docs and consistency fixes.
22623 2005-10-20 Wim Taymans <wim@fluendo.com>
22629 2005-10-20 Wim Taymans <wim@fluendo.com>
22631 * gst/gstbin.c: (message_check), (bin_replace_message),
22632 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22633 (update_degree), (gst_bin_sort_iterator_next),
22634 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22635 Reworked the message handling a bit, cache the messages instead of
22636 only the senders. alows us to do more in the future.
22638 2005-10-20 Wim Taymans <wim@fluendo.com>
22640 * docs/design/part-TODO.txt:
22643 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22644 (gst_base_sink_query):
22645 Don't use clock time to report position when in EOS.
22647 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22649 * tools/gst-inspect.c: (print_interfaces),
22650 (print_element_properties_info), (print_element_info):
22651 Fix interface output with gst-inspect -a; don't print
22652 newlines after double/float properties.
22654 2005-10-20 Wim Taymans <wim@fluendo.com>
22656 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22657 (gst_base_sink_query):
22658 Speed up current position calculation.
22660 * gst/base/gstbasesrc.c: (gst_base_src_query),
22661 (gst_base_src_default_newsegment):
22662 Correctly set stream position in newsegment.
22664 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22665 (update_degree), (gst_bin_sort_iterator_next),
22666 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22667 * gst/gstmessage.c: (gst_message_new_custom):
22668 Clean up debugging info
22670 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22671 (gst_queue_loop), (gst_queue_handle_src_query):
22674 2005-10-19 Wim Taymans <wim@fluendo.com>
22676 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22677 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22678 Fix query handling again.
22680 2005-10-19 Wim Taymans <wim@fluendo.com>
22682 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22683 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22684 * gst/base/gstbasesrc.c: (gst_base_src_query):
22685 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22686 * gst/elements/gsttypefindelement.c:
22687 (gst_type_find_handle_src_query), (find_element_get_length),
22688 (gst_type_find_element_activate):
22691 * gst/gstquery.c: (gst_query_new_position),
22692 (gst_query_set_position), (gst_query_parse_position),
22693 (gst_query_new_duration), (gst_query_set_duration),
22694 (gst_query_parse_duration), (gst_query_set_segment),
22695 (gst_query_parse_segment):
22697 Bundling query position/duration is not a good idea since duration
22698 does not change much and we don't want to recalculate it for every
22699 position query, so they are separated again..
22700 Base value in segment query is not needed.
22702 * gst/gstqueue.c: (gst_queue_handle_src_query):
22703 * gst/gstutils.c: (gst_element_query_position),
22704 (gst_element_query_duration), (gst_pad_query_position),
22705 (gst_pad_query_duration):
22707 Updates for query API change.
22708 Added some docs here and there.
22710 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22712 * check/gst/gstbin.c: (GST_START_TEST):
22713 * check/gst/gstghostpad.c: (GST_START_TEST):
22714 * check/pipelines/cleanup.c: (GST_START_TEST):
22715 wait on thread to die so we can check refcount correctly
22717 2005-10-18 Wim Taymans <wim@fluendo.com>
22719 * check/pipelines/stress.c: (GST_START_TEST):
22720 Make check a little more time consuming.
22722 2005-10-18 Wim Taymans <wim@fluendo.com>
22724 * check/Makefile.am:
22725 * check/pipelines/stress.c: (GST_START_TEST),
22726 (simple_launch_lines_suite), (main):
22727 Small state change torture test.
22729 * docs/design/part-states.txt:
22730 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22731 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22732 (gst_base_sink_change_state):
22733 Never take state lock from streaming thread, clean up ugly
22734 hacks. Unfortunatly core does not yet support nice ways to
22735 async commit state.
22737 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22739 Start state recalc if a STATE_DIRTY message is posted, but only
22740 on the toplevel bin.
22742 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22743 (gst_element_get_state_func), (gst_element_abort_state),
22744 (gst_element_commit_state), (gst_element_lost_state),
22745 (gst_element_set_state_func), (gst_element_change_state):
22746 * gst/gstelement.h:
22747 State variables are now protected with the LOCK, the state
22748 lock is only used to serialize _set_state().
22750 2005-10-18 Wim Taymans <wim@fluendo.com>
22752 * check/gst/gstbin.c: (GST_START_TEST):
22753 * check/gst/gstmessage.c: (GST_START_TEST):
22754 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22755 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22757 * gst/gstelement.c: (gst_element_abort_state),
22758 (gst_element_commit_state), (gst_element_lost_state):
22759 * gst/gstmessage.c: (gst_message_new_state_changed),
22760 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22761 (gst_message_new_segment_done), (gst_message_new_duration),
22762 (gst_message_parse_state_changed),
22763 (gst_message_parse_segment_start),
22764 (gst_message_parse_segment_done), (gst_message_parse_duration):
22765 * gst/gstmessage.h:
22766 * tools/gst-launch.c: (event_loop):
22767 Seriously, this is better than a previous commit as we only need
22768 to notify the fact that an element changed state in a streaming
22769 thread, marking the state of the parents dirty, hence the
22770 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22773 2005-10-18 Wim Taymans <wim@fluendo.com>
22775 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22776 (gst_bin_recalc_func):
22777 * gst/gstelement.c: (gst_element_set_clock),
22778 (gst_element_abort_state), (gst_element_lost_state):
22779 Cleanups, prepare for state change fixes.
22781 2005-10-18 Wim Taymans <wim@fluendo.com>
22784 * gst/gstelement.c: (gst_element_class_init),
22785 (gst_element_set_state), (gst_element_set_state_func):
22786 * gst/gstelement.h:
22787 Pending ABI changes.
22788 GThreadPool in GstBinClass to monitor async state changes.
22789 state_cookie in GstElement to detect concurrent gst/set state.
22790 set_state is now virtual too in case a very complicated element
22791 has to be constructed.
22793 2005-10-18 Wim Taymans <wim@fluendo.com>
22795 * check/gst/gstbin.c: (GST_START_TEST):
22796 * check/gst/gstmessage.c: (GST_START_TEST):
22797 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22798 * gst/gstbin.c: (bin_bus_handler):
22799 * gst/gstelement.c: (gst_element_commit_state),
22800 (gst_element_lost_state):
22801 * gst/gstmessage.c: (gst_message_new_state_changed),
22802 (gst_message_new_segment_start), (gst_message_new_segment_done),
22803 (gst_message_new_duration), (gst_message_parse_state_changed),
22804 (gst_message_parse_segment_start),
22805 (gst_message_parse_segment_done), (gst_message_parse_duration):
22806 * gst/gstmessage.h:
22807 * tools/gst-launch.c: (event_loop):
22808 Make messages future proof.
22809 state-change gets a flag if it was a message comming from the
22811 segment-start/stop can also be specified in other formats.
22812 A message to notify an app that a pipeline changed playback
22814 Also fix a GstMessage leak in -launch
22816 2005-10-18 Andy Wingo <wingo@pobox.com>
22818 * gst/gstelement.c (gst_element_dispose): More helpful message.
22820 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22822 reviewed by: <delete if not using a buddy>
22824 * common/gtk-doc.mak:
22826 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22828 * gst/gstregistry.c: (gst_registry_scan_path_level):
22829 unref a plug-in we get that was already initialized
22831 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22833 * docs/gst/gstreamer-sections.txt:
22834 * docs/libs/gstreamer-libs-sections.txt:
22835 * gst/gstelement.h:
22836 add new api entries
22837 hide internal macro
22839 2005-10-17 Andy Wingo <wingo@pobox.com>
22841 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22844 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22846 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22848 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22849 (gst_element_get_state_func): Better debug message.
22850 (gst_element_commit_state): s/INFO/DEBUG/.
22851 (gst_element_lost_state, gst_element_change_state):
22853 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22854 (gst_message_new_custom): s/INFO/LOG/.
22856 2005-10-17 Michael Smith <msmith@fluendo.com>
22858 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22859 Check if end time is valid using end time, not start time.
22861 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22863 * check/gst-libs/controller.c: (GST_START_TEST),
22864 (gst_controller_suite):
22865 * libs/gst/controller/gstcontroller.c:
22866 (gst_controlled_property_set_interpolation_mode):
22867 * libs/gst/controller/gstcontroller.h:
22868 * libs/gst/controller/gstinterpolation.c:
22869 * testsuite/controller/.cvsignore:
22870 * testsuite/controller/Makefile.am:
22871 * testsuite/controller/interpolator.c:
22872 merge controller testsuites
22874 remove mem-chunk from docs
22876 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22878 * gst/gstmemchunk.c:
22879 * gst/gstmemchunk.h:
22880 * gst/gsttrashstack.c:
22881 * gst/gsttrashstack.h:
22882 out. get out. you're fired. to the Attic !
22884 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22886 * gst/gstcaps.c: (gst_caps_intersect):
22887 fix signedness issues in a (hopefully) correct way
22888 * gst/gstelement.c: (gst_element_pads_activate):
22890 * gst/gstobject.c: (gst_object_set_parent):
22893 2005-10-17 Julien MOUTTE <julien@moutte.net>
22895 * gst/gstvalue.h: Fix prototypes.
22897 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22899 * docs/gst/gstreamer-sections.txt:
22900 * gst/gst.c: (gst_version_string):
22902 * gst/gstversion.h.in:
22903 * win32/common/libgstreamer.def:
22904 add gst_version_string ()
22906 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22910 * gst/gst.c: (init_post):
22911 * win32/common/config.h.in:
22913 * gst/gstcaps.c: (gst_caps_intersect):
22914 use gint64, the range could be bigger than a guint
22916 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22919 document potential problem in 2038
22921 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22923 * gst/gstcaps.c: (gst_caps_intersect):
22924 Fix guint j diving under 0
22926 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22929 * win32/common/config.h:
22930 * win32/common/config.h.in:
22931 check for process.h, declares getpid() on Windows
22933 include process.h if we have it
22934 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22935 * gst/gstmemchunk.h:
22936 fix signedness issues
22937 * win32/common/libgstreamer.def:
22940 2005-10-16 Julien MOUTTE <julien@moutte.net>
22942 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22943 fix. Because of unsigned ints, caps intersection was going nuts and
22944 trying to access structures with G_MAXUINT index. That fixes
22945 videotestsrc ! ffmpegcolorspace ! fakesink
22946 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22949 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22952 use the gettext macro
22953 * gst/elements/gstelements.c:
22955 * gst/indexers/gstindexers.c:
22956 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22957 * win32/common/config.h:
22959 * win32/common/config.h.in:
22960 add the template to generate config.h
22961 * win32/common/gstenumtypes.c:
22962 * win32/common/gstversion.h:
22965 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22967 * gst/gst.c: (gst_version):
22968 * gst/gstversion.h.in:
22971 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22974 Oops, add missing closing bracket.
22976 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22979 use common m4's for argument checking
22981 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22983 * docs/gst/gstreamer-sections.txt:
22985 Add GST_EVENT_TYPE_NAME() macro.
22987 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22990 * gst/gstpluginfeature.c:
22992 privatize more symbols
22994 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22997 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22998 everything that uses GStreamer API should have the includes
23000 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23002 * docs/gst/gstreamer-sections.txt:
23003 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23005 give each value a _get_type, removes the DATA exports
23007 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23011 remove _gst_registry_auto_load, not used anymore
23012 * gst/gstbin.c: (gst_bin_get_type):
23014 * gst/gstelement.c: (gst_element_get_type):
23015 * gst/gstelement.h:
23016 * gst/gstobject.c: (gst_object_get_type):
23018 * gst/gstpad.c: (gst_pad_get_type):
23020 make _get_type functions similar, fixes data export from library
23022 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23025 correctly make conditionals
23026 * gst/elements/Makefile.am:
23027 * gst/elements/gstelements.c:
23028 fix typo causing fdsrc not to build
23030 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23032 * testsuite/Makefile.am:
23033 * testsuite/bytestream/.cvsignore:
23034 * testsuite/bytestream/Makefile.am:
23035 * testsuite/bytestream/filepadsink.c:
23036 * testsuite/bytestream/gstbstest.c:
23037 * testsuite/bytestream/test1.c:
23038 * testsuite/bytestream/testfile1:
23039 * testsuite/caps/normalisation.c:
23040 * testsuite/caps/random.c: (main):
23041 * testsuite/cleanup/.cvsignore:
23042 * testsuite/cleanup/Makefile.am:
23043 * testsuite/cleanup/cleanup1.c:
23044 * testsuite/cleanup/cleanup2.c:
23045 * testsuite/cleanup/cleanup3.c:
23046 * testsuite/cleanup/cleanup4.c:
23047 * testsuite/cleanup/cleanup5.c:
23048 * testsuite/controller/interpolator.c:
23049 * testsuite/debug/printf_extension.c: (main):
23050 * testsuite/elements/tee.c:
23051 * testsuite/negotiation/.cvsignore:
23052 * testsuite/negotiation/Makefile.am:
23053 * testsuite/negotiation/pad_link.c:
23054 * testsuite/pad/Makefile.am:
23055 * testsuite/pad/chainnopull.c:
23056 * testsuite/pad/getnopush.c:
23057 * testsuite/pad/link.c:
23058 * testsuite/refcounting/sched.c: (create_pipeline):
23059 * testsuite/registry/Makefile.am:
23060 * testsuite/registry/gst-print-formats.c:
23061 * testsuite/schedulers/.cvsignore:
23062 * testsuite/schedulers/142183-2.c:
23063 * testsuite/schedulers/142183.c:
23064 * testsuite/schedulers/143777-2.c:
23065 * testsuite/schedulers/143777.c:
23066 * testsuite/schedulers/147713.c:
23067 * testsuite/schedulers/147819.c:
23068 * testsuite/schedulers/147894-2.c:
23069 * testsuite/schedulers/147894.c:
23070 * testsuite/schedulers/Makefile.am:
23071 * testsuite/schedulers/group_link.c:
23072 * testsuite/schedulers/queue_link.c:
23073 * testsuite/schedulers/relink.c:
23074 * testsuite/schedulers/unlink.c:
23075 * testsuite/schedulers/unref.c:
23076 * testsuite/schedulers/useless_iteration.c:
23077 * testsuite/states/bin.c:
23078 clean out/remove some stuff from the testsuite directories
23080 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23083 check for some headers
23084 * gst/elements/Makefile.am:
23085 * gst/elements/gstelements.c:
23086 don't compile fdsrc without sys/socket.h
23087 * gst/indexers/Makefile.am:
23088 * gst/indexers/gstindexers.c: (plugin_init):
23089 don't compile fileindex without mmap
23091 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23098 * check/Makefile.am:
23099 * docs/gst/Makefile.am:
23100 * examples/helloworld/Makefile.am:
23102 * gst/base/Makefile.am:
23103 * gst/check/Makefile.am:
23104 * gst/elements/Makefile.am:
23105 * gst/indexers/Makefile.am:
23106 * gst/parse/Makefile.am:
23107 * libs/gst/controller/Makefile.am:
23108 * libs/gst/dataprotocol/Makefile.am:
23109 * examples/helloworld/helloworld.c: (event_loop):
23110 compile fixes, though it's not being compiled currently
23112 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23114 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23115 Add some simple tests for the new taglist date API.
23117 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23119 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23120 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23121 Beautify 'last-message' output: print 'none' for buffer timestamps
23122 and durations if none is set; improve alignment with next messages.
23124 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23126 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23127 * gst/gstpluginfeature.h:
23128 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23129 * gst/gstregistry.h:
23130 * docs/gst/gstreamer-sections.txt:
23131 Add new API to check plugin feature version requirements.
23133 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23134 Some basic tests for the above.
23136 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23138 * gst/gststructure.c: (gst_structure_to_string):
23139 guard against NULL printf - happens when for example
23140 a message structure with GstClock gets serialized
23142 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23144 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23145 Fix presumable copy'n'pasto.
23147 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23149 * gst/elements/gstfakesrc.h:
23150 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23151 * gst/elements/gsttypefindelement.c:
23152 fix some signedness
23153 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23154 I wonder if this could actually write +2GB files before
23156 2005-10-13 Andy Wingo <wingo@pobox.com>
23158 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23159 Fix Timmeke Waymans bug.
23160 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23161 string of the proper length to gst_caps_from_string. There's a
23162 potential for, before this fix, that this could cause someone
23163 connecting over the network to cause a segfault if the payload is
23164 not NUL-terminated.
23166 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23168 * docs/design/draft-push-pull.txt:
23169 * docs/design/part-overview.txt:
23170 * docs/random/TODO-pre-0.9:
23171 * docs/random/old/ChangeLog.gstreamer:
23172 * gst/base/gstpushsrc.c:
23176 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23178 * gst/glib-compat.c: (gst_flags_get_first_value):
23179 * gst/glib-compat.h:
23180 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23181 (gst_value_compare_double), (gst_value_serialize_flags):
23182 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23185 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23188 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23190 * tools/gst-launch.c: (event_loop):
23191 print out clock nicely
23193 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23195 * docs/gst/gstreamer-sections.txt:
23196 * gst/gsttaglist.h:
23197 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23198 (gst_tag_list_get_date_index):
23199 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23200 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23202 2005-10-13 Julien MOUTTE <julien@moutte.net>
23204 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23205 (gst_collectpads_chain):
23206 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23209 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23211 * docs/gst/gstreamer-sections.txt:
23214 * tools/gst-inspect.c: (main):
23215 * tools/gst-launch.c: (main):
23216 * tools/gst-run.c: (main):
23217 * tools/gst-xmlinspect.c: (main):
23218 fix GOption context leaks
23221 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23225 * win32/common/config.h:
23227 * win32/vs6/grammar.dsp:
23228 * win32/vs6/libgstelements.dsp:
23229 * win32/vs6/libgstreamer.dsp:
23232 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23235 * gst/base/gstbasesrc.c: (gst_base_src_query):
23236 fix more guint64<->gdouble conversions
23238 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23241 add win32-update target
23242 * win32/common/gstconfig.h:
23243 * win32/common/gstenumtypes.c:
23244 * win32/common/gstenumtypes.h:
23245 * win32/common/gstversion.h:
23246 add files that visual studio can't generate
23248 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23251 add a win32-update target
23254 2005-10-12 Wim Taymans <wim@fluendo.com>
23256 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23257 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23258 * gst/gstelement.c: (gst_element_commit_state),
23259 (gst_element_set_state):
23260 Protect flags with proper lock.
23261 unref provided cached clock in dispose.
23263 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23266 * gst/gstminiobject.h:
23268 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23269 removed unused flags from miniobject
23272 2005-10-12 Wim Taymans <wim@fluendo.com>
23274 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23275 (gst_file_sink_event), (gst_file_sink_render):
23276 Flush before seeking.
23278 2005-10-12 Andy Wingo <wingo@pobox.com>
23280 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23281 always been the case.
23283 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23285 * check/gst/gstbin.c: (GST_START_TEST):
23286 * docs/gst/gstreamer-sections.txt:
23287 * gst/base/gstbasesink.c: (gst_base_sink_init):
23288 * gst/base/gstbasesrc.c: (gst_base_src_init),
23289 (gst_base_src_get_range), (gst_base_src_check_get_range),
23290 (gst_base_src_start), (gst_base_src_stop):
23291 * gst/base/gstbasesrc.h:
23292 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23294 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23298 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23300 * gst/gstelement.c: (gst_element_is_locked_state),
23301 (gst_element_set_locked_state), (gst_element_commit_state),
23302 (gst_element_set_state):
23303 * gst/gstelement.h:
23304 * gst/gstindex.c: (gst_index_init):
23306 * gst/gstminiobject.h:
23307 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23308 (gst_object_set_parent):
23310 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23311 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23313 * gst/gstpadtemplate.h:
23314 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23315 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23316 * gst/gstpipeline.h:
23317 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23318 (gst_file_index_commit):
23319 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23320 * testsuite/pad/link.c: (gst_test_src_init),
23321 (gst_test_filter_init), (gst_test_sink_init):
23322 * testsuite/states/locked.c: (main):
23323 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23324 moved bitshift from macro to enum definition
23326 2005-10-12 Wim Taymans <wim@fluendo.com>
23328 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23329 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23330 (gst_file_sink_render):
23331 Some more debugging info.
23333 2005-10-12 Wim Taymans <wim@fluendo.com>
23335 * docs/design/part-states.txt:
23336 * tools/gst-launch.c: (main):
23338 Revert non-intentional change.
23340 2005-10-12 Wim Taymans <wim@fluendo.com>
23342 * check/gst/gstbin.c: (GST_START_TEST):
23343 * check/gst/gstelement.c: (GST_START_TEST):
23344 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23345 * check/gst/gstghostpad.c: (GST_START_TEST):
23346 * check/gst/gstpipeline.c: (GST_START_TEST):
23347 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23348 * check/states/sinks.c: (GST_START_TEST):
23349 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23350 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23351 (gst_bin_remove_func), (gst_bin_get_state_func),
23352 (gst_bin_recalc_state), (gst_bin_change_state_func),
23354 * gst/gstelement.c: (gst_element_get_state_func),
23355 (gst_element_get_state), (gst_element_abort_state),
23356 (gst_element_commit_state), (gst_element_set_state),
23357 (gst_element_change_state), (gst_element_change_state_func):
23358 * gst/gstelement.h:
23359 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23360 (gst_pipeline_provide_clock_func):
23361 * gst/gstutils.c: (gst_element_link_pads_filtered):
23362 * tools/gst-launch.c: (main):
23363 * tools/gst-typefind.c: (main):
23364 Use GstClockTime in _get_state() instead of GTimeVal.
23365 Remove old code in gstutils.c
23367 2005-10-12 Andy Wingo <wingo@pobox.com>
23369 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23372 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23373 there is no task. Shouldn't affect any code, as nothing in our
23374 plugins checks this return value.
23375 (gst_pad_stop_task): Also take the stream lock if the pad has no
23376 task. Docs updated.
23378 2005-10-12 Wim Taymans <wim@fluendo.com>
23380 * gst/gstpad.c: (pre_activate), (post_activate),
23381 (gst_pad_activate_pull), (gst_pad_activate_push):
23382 Cleanup activation code. Reset old state if
23385 2005-10-12 Wim Taymans <wim@fluendo.com>
23387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23388 (gst_base_sink_change_state):
23389 No need to prerol after receiving EOS.
23391 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23392 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23393 * gst/elements/gstidentity.c: (gst_identity_event):
23394 Print events more verbosely.
23396 2005-10-12 Wim Taymans <wim@fluendo.com>
23398 * check/Makefile.am:
23399 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23400 * check/states/sinks2.c:
23401 Moved sinks2 testcode in sinks check.
23403 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23404 (gst_bin_remove_func), (gst_bin_recalc_state),
23405 (gst_bin_change_state_func), (bin_bus_handler):
23406 Fix potential race condition when _get_state() iterated over an
23407 ASYNC element right before it posted a state completion.
23410 Do proper cast here.
23412 * gst/gstevent.c: (gst_event_new_newsegment),
23413 (gst_event_parse_newsegment):
23414 A playback rate of 0.0 is not allowed.
23416 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23418 * win32/common/config.h:
23419 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23420 (_trewinddir), (_ttelldir), (_tseekdir):
23421 * win32/common/dirent.h:
23422 * win32/common/gtchar.h:
23423 * win32/common/libgstbase.def:
23424 * win32/common/libgstreamer.def:
23425 * win32/vs6/grammar.dsp:
23426 * win32/vs6/gst_inspect.dsp:
23427 * win32/vs6/gst_launch.dsp:
23428 * win32/vs6/gstreamer.dsw:
23429 * win32/vs6/libgstbase.dsp:
23430 * win32/vs6/libgstelements.dsp:
23431 * win32/vs6/libgstreamer.dsp:
23432 Visual Studio 6 project files, and a new common directory.
23435 2005-10-11 Wim Taymans <wim@fluendo.com>
23437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23438 (gst_base_sink_do_sync), (gst_base_sink_query),
23439 (gst_base_sink_change_state):
23440 * gst/base/gstbasesink.h:
23441 Correctly parse newsegment info.
23443 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23445 * gst/gst.c: (init_post):
23446 split plugin paths correctly
23448 2005-10-11 Wim Taymans <wim@fluendo.com>
23450 * check/gst/gstevent.c: (GST_START_TEST):
23451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23452 (gst_base_sink_change_state):
23453 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23454 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23455 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23456 * gst/gstevent.c: (gst_event_new_newsegment),
23457 (gst_event_parse_newsegment):
23459 Added extra flag to newsegment for future API freeze.
23460 Updated check and base elements.
23462 2005-10-11 Julien MOUTTE <julien@moutte.net>
23464 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23465 (gst_collectpads_add_pad), (gst_collectpads_pop),
23466 (gst_collectpads_event), (gst_collectpads_chain):
23467 * gst/base/gstcollectpads.h: Handle EOS correctly.
23469 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23471 * tools/gst-launch.c: (main):
23472 more null protecting
23474 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23476 * gst/gst-i18n-lib.h:
23477 check for ENABLE_NLS, not GETTEXT_PACKAGE
23478 * gst/gstregistry.c: (gst_registry_add_plugin),
23479 (gst_registry_scan_path_level),
23480 (_gst_registry_remove_cache_plugins):
23481 protect possibly NULL strings
23482 * gst/parse/types.h:
23483 config.h already included before
23484 * tools/gst-inspect.c: (main):
23485 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23486 check for ENABLE_NLS, not GETTEXT_PACKAGE
23487 * tools/gst-launch.c: (main):
23488 check for ENABLE_NLS, not GETTEXT_PACKAGE
23490 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23493 if we don't have glib, fail before testing 2.8
23494 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23495 fix a leak, should fix plugins-base testsuite
23497 2005-10-11 Andy Wingo <wingo@pobox.com>
23499 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23500 take the mode we're going to as an arg. Go head and set the mode
23501 and flushing flags now, so that if the activate function starts a
23502 thread all the flags will be in the right state.
23503 (post_activate): Renamed also. Just handle making sure streaming
23504 finishes for the deactivation case, and setting the deactivated
23506 (gst_pad_set_active): Complain loudly if deactivation fails.
23507 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23508 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23509 remove the terrible hack.
23511 2005-10-11 Wim Taymans <wim@fluendo.com>
23513 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23514 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23515 (gst_bin_recalc_state), (gst_bin_change_state_func),
23516 (gst_bin_dispose), (bin_bus_handler):
23518 Prepare to make current EOS message queue more generic.
23521 * gst/gstevent.c: (gst_event_new_newsegment),
23522 (gst_event_parse_newsegment):
23524 Rename base to stream_time.
23526 * gst/gstmessage.h:
23529 2005-10-11 Wim Taymans <wim@fluendo.com>
23531 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23532 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23533 (gst_bin_change_state_func), (bin_bus_handler):
23535 Work on proper clock selection.
23537 2005-10-11 Edward Hervey <edward@fluendo.com>
23539 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23540 * libs/gst/controller/gstcontroller.h:
23541 Added GList* version of _remove_properties() in order to be able to wrap
23544 2005-10-11 Wim Taymans <wim@fluendo.com>
23546 * docs/design/part-states.txt:
23549 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23550 (gst_bin_change_state_func), (bin_bus_handler):
23551 Doc updates. Don't distribute the same clock over and over again.
23557 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23558 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23559 (gst_pad_send_event):
23561 Make probe emission threadsafe again.
23562 Register quarks and move _get_name() from utils.
23565 * gst/gstpipeline.c: (gst_pipeline_class_init),
23566 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23567 Only redistribute the clock of it changed.
23569 * gst/gstsystemclock.h:
23574 Moved the _flow_get_name() to GstPad.
23576 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23578 * check/gst-libs/gdp.c: (GST_START_TEST):
23579 * check/gst/gstcaps.c: (GST_START_TEST):
23580 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23581 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23582 (gst_dp_packet_from_caps):
23583 fix more valgrind warnings before turning up the heat
23585 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23587 * gst/parse/grammar.y:
23588 some cleanup before the hacking
23590 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23592 * gst/base/gstbasesrc.c: (gst_base_src_query):
23594 * gst/gstutils.c: (gst_guint64_to_gdouble),
23595 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23597 externalize, basesrc uses it
23598 obviously the implementation needs testing
23600 2005-10-10 Wim Taymans <wim@fluendo.com>
23602 * tests/sched/Makefile.am:
23603 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23604 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23606 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23608 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23609 apparently converting from guint64 to double is not implemented
23612 2005-10-10 Wim Taymans <wim@fluendo.com>
23614 * check/Makefile.am:
23615 * check/generic/states.c: (GST_START_TEST):
23616 * check/gst/gstbin.c: (GST_START_TEST):
23617 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23618 * check/states/sinks.c: (GST_START_TEST):
23619 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23621 Check fixes, use API as stated in design docs, remove hacks.
23623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23624 (gst_base_sink_change_state):
23625 Catch stopping our task while we're shutting down.
23627 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23628 (gst_bin_remove_func), (gst_bin_get_state_func),
23629 (gst_bin_recalc_state), (gst_bin_change_state_func),
23632 * gst/gstelement.c: (gst_element_init),
23633 (gst_element_get_state_func), (gst_element_abort_state),
23634 (gst_element_commit_state), (gst_element_lost_state),
23635 (gst_element_set_state), (gst_element_change_state),
23636 (gst_element_change_state_func):
23637 * gst/gstelement.h:
23638 New state change algorithm (see #318116)
23640 * gst/gstpipeline.c: (gst_pipeline_class_init),
23641 (gst_pipeline_init), (gst_pipeline_set_property),
23642 (gst_pipeline_get_property), (do_pipeline_seek),
23643 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23644 * gst/gstpipeline.h:
23645 Remove crude state change hacks.
23648 Remove crude hacks.
23650 * tools/gst-launch.c: (main):
23651 Fixes for state change. Needs some more work to fully use the
23654 2005-10-10 Andy Wingo <wingo@pobox.com>
23656 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23658 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23659 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23662 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23664 * gst/gstiterator.c: (gst_iterator_new):
23665 Fix my previous commit: GTypes passed to gst_iterator_new()
23666 can be fundamental types.
23668 2005-10-10 Wim Taymans <wim@fluendo.com>
23670 * gst/gstelement.c: (gst_element_iterate_pad_list),
23671 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23672 (gst_element_iterate_sink_pads):
23673 Use src/sink pads lists for the respective iterators instead
23676 2005-10-10 Andy Wingo <wingo@pobox.com>
23678 Merged in popt removal + GOption addition patch from Ronald, bug
23681 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23682 GstElement macros around, remove popt-related symbols, add goption
23685 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23687 * docs/gst/Makefile.am:
23688 * docs/libs/Makefile.am: No POPT_CFLAGS.
23690 * examples/manual/Makefile.am:
23691 * docs/manual/basics-init.xml: Doc updates with an example.
23693 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23694 (gst_init), (parse_one_option), (parse_goption_arg):
23695 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23696 bit of hand merging and debugging to get the GOption stuff working
23699 * tests/Makefile.am:
23700 * tools/Makefile.am:
23701 * tools/gst-inspect.c: (main):
23702 * tools/gst-launch.c: (main):
23703 * tools/gst-run.c: (main):
23704 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23706 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23708 * gst/gstiterator.c: (gst_iterator_new):
23709 Add assertions to make sure passed GType is likely to really
23710 be a GType (as the compiler won't catch it if the size and
23711 GType arguments get mixed up, see #318447).
23713 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23715 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23717 * gst/gstbin.c: (gst_bin_iterate_sorted):
23718 Pass GType and size arguments to gst_iterator_new() in the right
23719 order (maybe we should make _new() take the GType as first argument
23720 just like _new_list()?) (#318447).
23723 2005-10-10 Wim Taymans <wim@fluendo.com>
23725 * gst/gstelement.c: (gst_element_finalize):
23726 And free the GStaticRecMutex too
23728 2005-10-10 Andy Wingo <wingo@pobox.com>
23730 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23731 Allocate and free the mutex properly.
23733 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23735 (GstElement): The state_lock is now recursive. Rebuild your
23736 plugins, suckers. Old macros adapted.
23738 * docs/gst/gstreamer-sections.txt: Doc updates.
23741 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23742 (g_static_rec_cond_wait): Ported from state changes patch, while
23743 we wait on bug #317802 to be solved in a well-distributed GLib.
23745 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23746 gst_element_change_state, variable name changes.
23747 (gst_element_change_state): Split out of gst_element_set_state in
23748 preparation for the state change merge. Doesn't pay attention to
23749 the 'transition' argument.
23750 (gst_element_set_state): Updates, hopefully purely cosmetic.
23751 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23752 state change patch.
23753 (gst_element_get_state_func): Renamed from get_state, cosmetic
23756 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23758 * gst/elements/gstelements.c:
23759 * win32/GStreamer.vcproj:
23761 * win32/dirent.c: (_tseekdir):
23762 * win32/gst-inspect.vcproj:
23763 * win32/gst-launch.vcproj:
23764 * win32/gstconfig.h:
23765 * win32/gstelements.vcproj:
23766 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23767 * win32/gstreamer.def:
23768 * win32/msvc71.sln:
23769 updates for the win32 build (patch from Sebastien Moutte)
23771 2005-10-10 Andy Wingo <wingo@pobox.com>
23773 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23774 gst_bin_get_state, cleaned up (but no logic changes).
23775 (bin_element_is_sink): Comment updates.
23776 (sink_iterator_filter): Remove needless cast.
23777 (gst_bin_iterate_sinks): Doc update.
23778 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23779 cleaned up (but no logic changes).
23781 * check/states/sinks.c (test_src_sink): Cleanups from the state
23783 (test_livesrc_sink): Sync on the state.
23785 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23786 the state change patch.
23788 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23791 * check/gst/gstbin.c: Merge in some style fixes and additional
23792 checks from Wim's state change patch.
23794 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23796 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23797 (gst_type_find_helper):
23798 Check whether we have the requested data already in our list of
23799 cached buffers before pulling a new buffer; also make the buffer
23800 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23802 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23807 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23808 don't use long long, it's not portable. Replacing with
23809 gint64 seems to work; let's hope no skeletons fall out of the closet.
23811 2005-10-10 Andy Wingo <wingo@pobox.com>
23813 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23815 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23817 * docs/gst/gstreamer-sections.txt:
23822 * gst/gstmessage.c: (gst_message_parse_state_changed):
23825 more docs, fix compilation
23827 2005-10-09 Philippe Khalaf <burger@speedy.org>
23828 * gst/gstmessage.c:
23829 Fixed a few forgotten variables on previous commit
23831 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23833 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23834 Fix evil typefind crasher: getrange() might return a short
23835 buffer at the end of a file, but gst_type_find_peek() must
23836 either return the full data as requested or NULL, but
23837 never a short buffer.
23839 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23841 * gst/gstmessage.c: (gst_message_new_state_changed),
23842 (gst_message_parse_state_changed):
23843 * gst/gstmessage.h:
23844 don't use "new", it's a C++ keyword
23846 2005-10-08 Wim Taymans <wim@fluendo.com>
23848 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23849 * gst/gstelement.c: (gst_element_post_message):
23850 * gst/gstpipeline.c: (gst_pipeline_change_state):
23851 Small docs and debug updates.
23853 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23855 * docs/gst/gstreamer-sections.txt:
23856 * gst/gstelementfactory.c:
23858 * gst/gsttaglist.c:
23861 2005-10-08 Wim Taymans <wim@fluendo.com>
23863 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23864 (gst_bin_dispose), (bin_bus_handler):
23865 Fix typos, add comments.
23866 Clear EOS list when going to PAUSED from any direction and do it
23867 in a threadsafe way.
23868 Get base time in a threadsafe way too.
23869 Fix confusing debug in the change_state function.
23870 Various other small cleanups.
23872 * gst/gstelement.c: (gst_element_post_message):
23873 Fix very verbose bus posting code.
23875 * gst/gstpipeline.c: (gst_pipeline_class_init),
23876 (gst_pipeline_set_property), (gst_pipeline_get_property),
23877 (gst_pipeline_change_state):
23878 Small ARG_ -> PROP_ cleanup
23880 2005-10-08 Wim Taymans <wim@fluendo.com>
23882 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23883 Do a less CPU demanding EOS check because we can.
23885 2005-10-08 Wim Taymans <wim@fluendo.com>
23887 * libs/gst/dataprotocol/dataprotocol.c:
23888 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23889 (gst_dp_packet_from_event):
23890 * libs/gst/dataprotocol/dataprotocol.h:
23891 * libs/gst/dataprotocol/dp-private.h:
23892 It's about time we bump the version number.
23893 Since event types don't fit in the guint8 anymore describing
23894 the payload type, make payload type 16 bits wide.
23896 2005-10-08 Wim Taymans <wim@fluendo.com>
23898 * docs/design/part-TODO.txt:
23899 * docs/design/part-clocks.txt:
23900 * docs/design/part-events.txt:
23901 * docs/design/part-gstbin.txt:
23902 * docs/design/part-gstelement.txt:
23903 * docs/design/part-gstpipeline.txt:
23904 * docs/design/part-live-source.txt:
23905 * docs/design/part-messages.txt:
23906 * docs/design/part-overview.txt:
23907 * docs/design/part-states.txt:
23910 2005-10-08 Wim Taymans <wim@fluendo.com>
23914 Fix event quark registration.
23915 Add some space between events so we can insert them in the
23918 2005-10-08 Wim Taymans <wim@fluendo.com>
23920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23921 (gst_base_sink_handle_buffer):
23922 Better log message.
23925 * gst/gstelement.h:
23928 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23929 (gst_queue_set_property), (gst_queue_get_property):
23931 Remove old unused properties.
23933 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23934 * docs/gst/gstreamer-sections.txt:
23935 * gst/gstmessage.c:
23936 * gst/gstmessage.h:
23937 * gst/gstminiobject.c:
23938 * gst/gstminiobject.h:
23942 lots of new docs and doc fixes
23944 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23946 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23948 * gst/gstregistry.c: (gst_registry_lookup_locked),
23949 (gst_registry_scan_path_level):
23950 * gst/gstregistryxml.c: (load_plugin):
23951 Only ever load one plugin for a given plugin basename.
23952 This ensures correct overriding of GST_PLUGIN_PATH over
23953 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23954 system installed plugins.
23956 2005-10-08 Wim Taymans <wim@fluendo.com>
23958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23959 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23960 Prepare for doing QOS.
23962 2005-10-08 Wim Taymans <wim@fluendo.com>
23964 * check/gst/gstbin.c: (GST_START_TEST):
23965 * check/pipelines/cleanup.c: (GST_START_TEST):
23966 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23967 Allow new clock message too.
23969 2005-10-08 Wim Taymans <wim@fluendo.com>
23971 * gst/gstmessage.c: (gst_message_new_error),
23972 (gst_message_new_warning), (gst_message_new_tag),
23973 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23974 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23975 (gst_message_new_segment_start), (gst_message_new_segment_done),
23976 (gst_message_parse_state_changed),
23977 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23978 (gst_message_parse_new_clock):
23979 * gst/gstmessage.h:
23980 Also carry the clock in question.
23982 2005-10-08 Wim Taymans <wim@fluendo.com>
23984 * gst/gstmessage.c: (gst_message_new_custom),
23985 (gst_message_new_eos), (gst_message_new_error),
23986 (gst_message_new_warning), (gst_message_new_tag),
23987 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23988 (gst_message_new_new_clock), (gst_message_new_segment_start),
23989 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23990 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23991 * gst/gstmessage.h:
23993 Added clock related messages.
23995 * gst/gstpipeline.c: (gst_pipeline_change_state):
23996 Post message when the clock changed.
23998 * tools/gst-launch.c: (event_loop):
24001 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
24003 * tools/gst-inspect.c: (print_element_properties_info):
24004 Can't pass NULL strings to g_print() on windows.
24006 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24008 * docs/Makefile.am:
24009 * docs/gst/Makefile.am:
24010 * docs/gst/gstreamer-docs.sgml:
24011 * docs/gst/running.xml:
24012 * docs/version.entities.in:
24013 add a chapter on running GStreamer.
24014 document GST_DEBUG and GST_PLUGIN* env vars
24016 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24021 remove PLUGINS_BUILDDIR stuff
24022 * gst/gst.c: (init_post):
24023 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24025 remove, it was condescending and not needed
24027 2005-10-08 Wim Taymans <wim@fluendo.com>
24029 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24030 (gst_base_sink_handle_object), (gst_base_sink_event),
24031 (gst_base_sink_wait), (gst_base_sink_handle_event),
24032 (gst_base_sink_change_state):
24033 * gst/base/gstbasesink.h:
24034 Repost EOS message while going to PLAYING if still EOS.
24035 Make sure that when receiving a FLUSH_START we don't attempt
24036 to sync on the clock anymore.
24038 2005-10-08 Wim Taymans <wim@fluendo.com>
24040 * tools/gst-launch.c: (event_loop):
24041 Better message printout.
24043 2005-10-08 Wim Taymans <wim@fluendo.com>
24045 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24046 (gst_bin_child_proxy_get_children_count):
24047 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24048 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24049 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24050 (gst_child_proxy_set_valist):
24051 * gst/parse/grammar.y:
24052 Make ChildProxy threadsafe and fix mem leaks.
24054 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24056 * gst/gst.c: (init_post):
24057 debug the GST_PLUGIN_ env vars
24059 2005-10-08 Wim Taymans <wim@fluendo.com>
24061 * check/gst/gstbin.c: (GST_START_TEST):
24062 * check/gst/gstmessage.c: (GST_START_TEST):
24063 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24064 * gst/gstelement.c: (gst_element_commit_state),
24065 (gst_element_lost_state):
24066 * gst/gstmessage.c: (gst_message_new_state_changed),
24067 (gst_message_parse_state_changed):
24068 * gst/gstmessage.h:
24069 * tools/gst-launch.c: (event_loop):
24070 Added extra field to STATE_CHANGE message with the pending
24071 state, which will be different from the new state soon.
24073 2005-10-08 Wim Taymans <wim@fluendo.com>
24075 * gst/gstbus.c: (gst_bus_pop):
24077 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24078 Small cleanups and doc updates.
24080 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24082 * gst/gst.c: (init_pre):
24083 * gst/gstbin.c: (gst_bin_add_func):
24084 log distributing clocks and base time
24085 * gst/gstregistry.c: (gst_registry_add_plugin),
24086 (gst_registry_scan_path_level), (gst_registry_scan_path):
24087 clean up the debugging output a little
24088 * gst/gstutils.c: (gst_element_state_get_name):
24089 warn about a memleak (I've actually seen this be used, though
24090 it was probably a bug)
24092 2005-10-07 Wim Taymans <wim@fluendo.com>
24094 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24095 (gst_base_src_init), (gst_base_src_default_newsegment),
24096 (gst_base_src_newsegment), (gst_base_src_do_seek),
24097 (gst_base_src_loop), (gst_base_src_start):
24098 * gst/base/gstbasesrc.h:
24099 Make the newsegment event customizable by subclasses.
24101 2005-10-07 Wim Taymans <wim@fluendo.com>
24103 * gst/gstevent.c: (gst_event_new_buffersize),
24104 (gst_event_parse_buffersize):
24106 New event for future idea.
24108 2005-10-07 Andy Wingo <wingo@pobox.com>
24110 * gst/gstelement.c (gst_element_post_message): Doc update.
24112 * docs/gst/gstreamer-sections.txt: Update.
24114 * gst/gstmessage.c (gst_message_new_application): Made into a
24115 function like honest API calls.
24116 (gst_message_new_element): New message type.
24118 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24120 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24121 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24124 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24125 NO_PREROLL from gst_element_change_state to fall through.
24127 2005-10-07 Wim Taymans <wim@fluendo.com>
24129 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24130 (gst_ghost_pad_do_activate_push):
24131 Activating a ghostpad with no internal pad in push mode
24134 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24137 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24138 Fixes compilation on Windows.
24140 2005-10-07 Michael Smith <msmith@fluendo.com>
24142 * tools/gst-inspect.c:
24143 Print out feature and plugin count at the end when printing out
24146 2005-10-04 Michael Smith <msmith@fluendo.com>
24148 * gst/gsterror.c: (_gst_stream_errors_init):
24149 Add another error string used in a few existing plugins.
24152 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24153 * tools/gst-inspect.c: (print_element_info):
24154 When a feature disappears from a plugin (and the feature exists in
24155 the cached registry file), things went horribly wrong. This isn't a
24156 complete fix, we should actually be removing the 'missing' features
24157 from the features list when we load the actual plugin. That's not
24160 2005-10-04 Johan Dahlin <johan@gnome.org>
24162 * check/gst/gstiterator.c: (GST_START_TEST):
24163 * gst/gstbin.c: (gst_bin_iterate_elements),
24164 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24165 * gst/gstelement.c: (gst_element_iterate_pads):
24166 * gst/gstformat.c: (gst_format_iterate_definitions):
24167 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24168 (gst_iterator_new_list), (gst_iterator_filter):
24169 * gst/gstiterator.h:
24170 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24171 Add a GType to GstIterator, update callsites and tests.
24173 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24175 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24176 give events a chance to be handled by event probes when the pad
24179 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24181 * gst/gstevent.c: (gst_event_type_get_name),
24182 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24184 add string representations for event types
24186 2005-10-06 Wim Taymans <wim@fluendo.com>
24188 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24189 Don't use NULL pointers.
24191 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24193 * gst/gst_private.h:
24195 * gst/gstelement.c:
24197 * gst/gstpluginfeature.c:
24198 widen the debug category in output to fit the biggest one we have
24199 add a bus category and use it
24200 play with the colors
24201 fix up some categories
24203 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24205 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24206 add push activation of sink ghost pads.
24207 Andye, please verify
24209 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24211 * gst/gstutils.c: (gst_element_link_pads):
24212 fix a bug in the case where neither element has a pad
24213 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24214 add a test for that case
24216 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24218 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24219 emit have-data before checking for peers. This allows
24220 for probe handlers to connect elements. This helps autopluggers.
24221 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24223 add six checks, linked/unlinked with no/true/false probe
24225 2005-10-04 Wim Taymans <wim@fluendo.com>
24227 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24228 (gst_fake_sink_event), (gst_fake_sink_preroll),
24229 (gst_fake_sink_render), (gst_fake_sink_change_state):
24230 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24231 (gst_fake_src_get_property), (gst_fake_src_create),
24232 (gst_fake_src_stop):
24233 * gst/elements/gstidentity.c: (gst_identity_stop):
24234 Protect last_message with lock.
24236 2005-10-04 Edward Hervey <edward@fluendo.com>
24239 Added precision in the comments for GST_FORMAT_DEFAULT
24241 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24243 * tools/gst-launch.c: (main):
24244 Don't try to run erroneous pipelines.
24246 2005-10-04 Julien MOUTTE <julien@moutte.net>
24248 * gst/gstbus.c: We don't need this header.
24250 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24253 back to development
24255 === release 0.9.3 ===
24257 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24261 Releasing 0.9.3, "Unregistered"
24263 2005-10-03 Andy Wingo <wingo@pobox.com>
24265 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24266 whereby calling a pad's activatepush() function can start a thread
24267 that starts to push or pull before the pad gets the FLUSHING flag
24268 unset. Hack around it by holding the stream lock until the flag is
24269 set. Need to replace this with a proper solution. Together with
24270 the ghost pad fixes, this fixes mp3 playing/tagreading.
24272 * docs/design/part-gstghostpad.txt: Add a note about activation of
24273 proxy pads outside of ghost pads.
24275 * gst/gstghostpad.c: Implement the ghost pad activation design.
24277 2005-10-02 Andy Wingo <wingo@pobox.com>
24279 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24280 It is volatile, after all.
24282 * docs/design/part-gstghostpad.txt: Flesh out activation with
24285 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24288 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24291 Fix (unused) AM_CONDITIONAL tests.
24293 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24295 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24297 * gst/gstutils.c: (gst_pad_query_convert):
24298 Add assertion that makes sure src_val is >=0, just like
24299 gst_query_new_convert() has. (#315895)
24301 2005-09-30 Edward Hervey <edward@fluendo.com>
24303 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24304 Let's not iterate pads we're not interested in, it avoids getting
24305 sky-high refcounts on sinkpad.
24307 2005-09-30 Wim Taymans <wim@fluendo.com>
24309 * gst/gstelement.c: (gst_element_set_state),
24310 (gst_element_change_state):
24311 Small tweak, element in ASYNC remains ASYNC.
24313 2005-09-30 Wim Taymans <wim@fluendo.com>
24315 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24316 Only error is an error.
24318 * gst/gstbin.c: (gst_bin_change_state):
24321 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24322 Also call pad_block in pad alloc.
24324 * gst/gstutils.c: (gst_flow_get_name):
24327 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24329 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24330 (gst_base_src_get_range):
24331 Fix documentation typos. Add some more debug info.
24333 2005-09-29 David Schleef <ds@schleef.org>
24335 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24336 more end-user friendly.
24337 * tools/gst-inspect.c: (main): Check if command-line argument is
24338 a file and attempt to load that file as a plugin.
24340 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24342 * check/gst/gstbin.c:
24343 * check/states/sinks.c:
24344 fix tests for the new warning
24345 * check/gst/gstpipeline.c:
24346 add a test for pipeline and bus interaction
24347 * gst/gstelement.c:
24348 elements should be NULL if they get disposed; add a warning if not
24350 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24353 for 2.6 refcounting, make debug log more correct by printing
24354 the actual refcounts at the time of swap (Wim)
24356 2005-09-29 Andy Wingo <wingo@pobox.com>
24358 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24359 removes signal watches previously added via
24360 gst_bus_add_signal_watch.
24361 (gst_bus_add_signal_watch): Don't return the source id, just store
24362 it on the bus if there wasn't an id already.
24364 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24365 add_signal_watch and remove_signal_watch.
24367 2005-09-29 Edward Hervey <edward@fluendo.com>
24369 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24370 Better if we actually iterate the list :)
24372 2005-09-29 Wim Taymans <wim@fluendo.com>
24374 * check/gst/gstbin.c: (GST_START_TEST):
24375 Change for new bus API.
24377 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24378 (send_messages), (GST_START_TEST), (gstbus_suite):
24379 Change for new bus signal API.
24381 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24382 (gst_bus_source_prepare), (gst_bus_source_check),
24383 (gst_bus_create_watch), (gst_bus_add_watch_full),
24384 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24385 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24387 Remove support for multiple GSources operating on different
24388 message types as it is too complex and unneeded when using
24390 Added support for receiving signals from the bus.
24392 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24394 * docs/libs/tmpl/gstdataprotocol.sgml:
24395 * docs/manual/advanced-dataaccess.xml:
24396 * gst/elements/gstcapsfilter.c:
24398 rename filter-caps to caps property
24400 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24402 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24403 More robust fraction string parsing.
24405 * docs/pwg/appendix-porting.xml:
24406 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24408 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24410 * gst/gstcaps.c: (gst_caps_do_simplify):
24411 Thou shalt not free a structure and then continue using it
24412 in the next loop iteration.
24414 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24416 Add test case for caps simplification.
24418 2005-09-29 Wim Taymans <wim@fluendo.com>
24420 * check/gst/gstbin.c: (GST_START_TEST):
24423 2005-09-29 Wim Taymans <wim@fluendo.com>
24425 * check/gst/gstbin.c: (GST_START_TEST):
24428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24429 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24430 (find_element), (gst_bin_sort_iterator_next),
24431 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24432 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24433 (gst_bin_change_state), (gst_bin_dispose):
24434 A bin does not have a bus, it gets the bus from the parent.
24436 * gst/gstelement.c: (gst_element_requires_clock),
24437 (gst_element_provides_clock), (gst_element_is_indexable),
24438 (gst_element_is_locked_state), (gst_element_change_state),
24439 (gst_element_set_bus_func):
24442 * gst/gstpipeline.c: (gst_pipeline_class_init),
24443 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24444 The pipeline provides a bus.
24446 2005-09-28 Johan Dahlin <johan@gnome.org>
24448 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24449 gst_structure_get_enum instead of gst_structure_get_int
24451 * gst/gststructure.c (gst_structure_get_enum): Impl.
24453 * gst/gststructure.h (gst_structure_get_enum): Add
24455 * docs/gst/gstreamer-sections.txt: Ditto
24457 * gst/gstmessage.c (gst_message_new_state_changed): Use
24458 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24459 which does introspection.
24460 Reviewed by Christian Schaller
24462 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24464 * gst/gstinfo.c: (gst_debug_log_default):
24465 don't do dummy g_strdup()s
24466 * libs/gst/controller/gstcontroller.c:
24467 (on_object_controlled_property_changed),
24468 (gst_controlled_property_new), (gst_controller_new_valist),
24469 (gst_controller_new_list),
24470 (gst_controller_remove_properties_valist), (gst_controller_set),
24471 (gst_controller_get), (gst_controller_sync_values),
24472 (gst_controller_get_value_array), (_gst_controller_class_init),
24473 (gst_controller_get_type):
24474 * libs/gst/controller/gstcontroller.h:
24475 * libs/gst/controller/gstinterpolation.c:
24476 (gst_controlled_property_find_timed_value_node):
24477 convert // to /**/ comments
24479 2005-09-28 Wim Taymans <wim@fluendo.com>
24481 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24482 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24483 (gst_bus_sync_signal_handler):
24485 Added async-message and sync-message signals to the bus.
24486 Added helper BusFunc to emit signals for all posted messages.
24488 * gst/gstmessage.c: (gst_message_type_get_name),
24489 (gst_message_type_to_quark), (gst_message_get_type):
24490 * gst/gstmessage.h:
24491 Register quarks for message names.
24493 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24495 * docs/libs/gstreamer-libs-sections.txt:
24496 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24497 (gst_controller_new_list):
24498 * libs/gst/controller/gstcontroller.h:
24499 added another constructor for language bindings
24501 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24503 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24507 * gst/gstinfo.c: (_gst_debug_init):
24508 slightly more readable color for refcount debugging
24510 2005-09-28 Wim Taymans <wim@fluendo.com>
24512 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24513 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24514 (find_element), (gst_bin_sort_iterator_next),
24515 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24516 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24517 (gst_bin_change_state), (gst_bin_dispose):
24518 Small doc fixes. get_clock -> provide_clock.
24520 * gst/gstelement.c: (gst_element_class_init),
24521 (gst_element_provides_clock), (gst_element_provide_clock),
24522 (gst_element_get_clock), (gst_element_commit_state),
24523 (gst_element_lost_state):
24524 * gst/gstelement.h:
24525 Make get/set_clock() symetric. Add provide_clock vmethod since
24526 that is actually what this function does.
24528 * gst/gstpipeline.c: (gst_pipeline_class_init),
24529 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24530 (gst_pipeline_get_clock):
24531 get_clock -> provide_clock.
24533 2005-09-28 Andy Wingo <wingo@pobox.com>
24535 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24536 lieu of real docs...
24538 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24540 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24542 * gst/elements/gstcapsfilter.c:
24543 * gst/elements/gstfakesink.c:
24544 * gst/elements/gstfakesrc.c:
24545 * gst/elements/gstfdsink.c:
24546 * gst/elements/gstfdsrc.c:
24547 * gst/elements/gstfilesink.c:
24548 * gst/elements/gstfilesrc.c:
24549 * gst/elements/gstidentity.c:
24550 * gst/elements/gsttee.c:
24551 * gst/elements/gsttypefindelement.c:
24552 Make element details static.
24554 2005-09-28 Wim Taymans <wim@fluendo.com>
24556 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24557 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24558 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24559 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24560 (gst_bin_change_state), (gst_bin_dispose):
24561 Some documentation updates.
24562 Clean up dispose handlers.
24564 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24565 * gst/gstpad.c: (gst_pad_dispose):
24566 Clean up dispose handler.
24568 * gst/gstpipeline.c: (gst_pipeline_change_state):
24569 Removed spurious UNLOCK.
24571 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24573 * docs/gst/gstreamer-sections.txt:
24574 * gst/base/gstbasesrc.h:
24575 * gst/gstelement.h:
24579 * gst/gstpipeline.c:
24580 * gst/gstpipeline.h:
24583 added two new functions to the docs
24584 documents all undocumented GstXXXFlags
24585 completed some incomplete docs
24587 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24589 * gst/gstbin.c: (gst_bin_dispose):
24590 * gst/gstelement.c: (gst_element_dispose):
24591 remove now useless and leaky resurrection code in dispose
24592 * gst/base/gstbasesrc.c: (gst_base_src_init):
24593 * gst/gstelementfactory.c: (gst_element_factory_create):
24594 * gst/gstobject.c: (gst_object_set_parent):
24597 2005-09-27 Wim Taymans <wim@fluendo.com>
24599 * docs/design/part-TODO.txt:
24602 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24603 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24604 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24605 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24606 (gst_bin_change_state):
24607 * gst/gstelement.h:
24608 Remove element variable, we keep element info in the iterator now.
24610 2005-09-27 Andy Wingo <wingo@pobox.com>
24612 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24615 2005-09-27 Wim Taymans <wim@fluendo.com>
24617 * check/gst/gstbin.c: (GST_START_TEST):
24618 Enable check that works now.
24620 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24621 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24622 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24623 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24624 (gst_bin_change_state):
24626 Redid the state change algorithm using a topological sort algo.
24627 Handles all cases correctly.
24628 Exposed iterator for state change order.
24630 * gst/gstelement.h:
24631 Temp storage for state changes. Need to get rid of this soon.
24633 2005-09-27 Wim Taymans <wim@fluendo.com>
24635 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24636 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24637 (link_fold_func), (gst_pad_proxy_setcaps):
24638 Leak fixes, the fold functions need to unref the passed object and
24639 _get_parent_*() returns ref to parent.
24641 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24643 * check/gst/gstbuffer.c: (test_make_writable):
24644 Plug leak in test case and fix 'make check-valgrind'
24646 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24648 * gst/gstbuffer.c: (gst_subbuffer_init):
24649 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24650 works correctly in all circumstances (we could have just copied
24651 the parent buffer's readonly flag, but conceptually it seems
24652 cleaner to mark all subbuffers as read-only). (based on patch
24653 by Alessandro Decina, #314710).
24655 * check/gst/gstbuffer.c: (create_read_only_buffer),
24656 (test_make_writable), (test_subbuffer_make_writable),
24658 Add some tests for gst_buffer_make_writable().
24660 2005-09-27 Wim Taymans <wim@fluendo.com>
24662 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24663 use gst_object_has_ancestor().
24665 * gst/gstobject.c: (gst_object_has_ancestor):
24667 gst_object_has_ancestor() copied from gstbin.c as it is a
24670 * tests/instantiate/create.c: (create_all_elements):
24671 * tests/lat.c: (handoff_src), (handoff_sink):
24672 * tests/sched/runxml.c: (main):
24673 * tests/seeking/seeking1.c: (main):
24674 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24676 Fix compilation of some tests.
24678 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24681 Remove comment. GST_TYPE_G_ERROR is here to stay,
24682 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24683 (#316961, #300610).
24685 2005-09-26 Wim Taymans <wim@fluendo.com>
24687 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24688 Added check that shows error in state change order.
24690 2005-09-26 Wim Taymans <wim@fluendo.com>
24692 * gst/gstbin.c: (gst_bin_change_state):
24693 Make state change function use 3 queues again, we were
24694 adding elements in the wrong order.
24696 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24699 * gst/gstpad.c: (gst_pad_dispose):
24700 Added some debug info first.
24702 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24704 * docs/design/draft-push-pull.txt:
24705 * docs/design/part-events.txt:
24706 * docs/design/part-overview.txt:
24707 * docs/design/part-scheduling.txt:
24708 Replace all _pull_region() with _pull_range()
24710 2005-09-26 Andy Wingo <wingo@pobox.com>
24712 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24714 * check/gst-libs/controller.c: Update for controller api change.
24717 * tests/Makefile.am:
24718 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24719 over by GLib bug 118439.
24721 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24722 routines to a function.
24724 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24726 * libs/gst/controller/gsthelper.c:
24727 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24728 (gst_object_sync_values): Renamed from sink_values. Ugh.
24730 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24732 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24733 Renamed from controller_key, as it is exported.
24735 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24737 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24742 * gst/gstpadtemplate.h:
24745 * gst/gstqueryutils.c:
24746 * gst/gstqueryutils.h:
24747 remove queryutils headers after moving the two used functions
24748 to gstquery. also fixes build problem for gstsiddec
24750 2005-09-26 Michael Smith <msmith@fluendo.com>
24752 * tools/gst-launch.1.in:
24753 Correct documentation in manpage of debug syntax
24755 2005-09-26 Wim Taymans <wim@fluendo.com>
24757 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24758 (gst_base_src_is_seekable), (gst_base_src_change_state):
24759 Some more debugging info.
24761 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24763 * docs/gst/gstreamer-sections.txt:
24764 * gst/base/gstbasetransform.h:
24768 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24770 * docs/gst/.cvsignore:
24771 * docs/gst/tmpl/.cvsignore:
24772 * docs/gst/tmpl/gstpipeline.sgml:
24773 * docs/gst/tmpl/gstplugin.sgml:
24774 * gst/gstpipeline.c:
24777 inlined the last two docs files
24778 removed the tmpl directory from cvs (no more conflicts here!)
24780 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24782 * docs/gst/gstreamer-sections.txt:
24783 * docs/gst/tmpl/.cvsignore:
24784 * docs/gst/tmpl/gstpad.sgml:
24785 * docs/gst/tmpl/gstpadtemplate.sgml:
24787 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24788 (gst_pad_finalize), (gst_pad_set_pad_template):
24790 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24791 (gst_pad_template_class_init), (gst_pad_template_init),
24792 (gst_pad_template_dispose), (name_is_valid),
24793 (gst_static_pad_template_get), (gst_pad_template_new),
24794 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24795 (gst_pad_template_pad_created):
24796 * gst/gstpadtemplate.h:
24797 inlined two more docs
24798 factored gstpadtemplate out of gstpad
24800 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24802 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24803 (test_children_state_change_order_semi_sink):
24804 Fix test case: we can't rely on a fixed state change order when
24805 going from READY => PAUSED because the sink might commit its
24806 new state first when the first buffer created by the source
24807 reaches the sink before the source has finished its change state.
24808 (Test case still fails at times, see #316856, comment 5 onwards)
24810 2005-09-24 Wim Taymans <wim@fluendo.com>
24812 * docs/design/part-events.txt:
24813 * docs/design/part-gstbus.txt:
24814 * docs/design/part-gstpipeline.txt:
24815 * docs/design/part-messages.txt:
24816 * docs/design/part-overview.txt:
24817 * docs/design/part-segments.txt:
24821 * gst/gstelement.c:
24824 * gst/gstiterator.c:
24825 Various documentation updates.
24827 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24830 Well, that's embarassing. Luckily we weren't using
24831 GST_CLOCK_DIFF anywhere.
24833 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24835 * common/gtk-doc.mak:
24836 don't fail on building XML, FC4 slave shows a bunch of doc
24837 missing bits that I don't get
24839 * gst/gstpipeline.c:
24840 * gst/gststructure.c:
24843 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24845 * docs/design/part-gstbin.txt:
24846 * docs/design/part-gstbus.txt:
24848 Add blurb about how the bus goes into flushing mode and
24849 drops all messages when its bin goes from READY into NULL
24852 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24854 * docs/gst/gstreamer-sections.txt:
24855 * gst/gststructure.c: (gst_structure_get_clock_time):
24856 * gst/gststructure.h:
24857 add a method to get a GstClockTime out of a structure
24859 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24861 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24862 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24863 Added test to check state change order in bins (can still be made
24864 to fail here under heavy disk load; bails out with 'Push on pad
24865 fakesink:sink0, but it was not activated in push mode').
24867 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24868 Fix state change order when there is only a semi sink (#316856)
24870 * gst/gstbus.c: (gst_bus_class_init):
24871 Use _class_peek_parent(), not _class_ref(); fix docs to say
24872 'default main context' instead of 'mainloop' where that is
24875 * gst/gstelement.c: (gst_element_commit_state),
24876 (gst_element_set_state):
24877 Fix typos in debug messages
24879 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24882 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24883 * gst/gstpluginfeature.c:
24885 various doc updates
24886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24887 change an assert into an error until it gets fixed properly
24889 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24891 * docs/gst/gstreamer-sections.txt:
24892 * docs/gst/tmpl/.cvsignore:
24893 * docs/gst/tmpl/gstelement.sgml:
24894 * docs/gst/tmpl/gstinfo.sgml:
24895 * docs/gst/tmpl/gstobject.sgml:
24896 * gst/gstelement.c:
24897 * gst/gstelement.h:
24900 * gst/gstobject.c: (gst_object_class_init):
24902 inlined 3 more biiiig doc files and added some missing docs on the fly
24904 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24906 * check/gst/.cvsignore:
24907 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24908 * gst/gstregistryxml.c: (load_plugin),
24909 (gst_registry_xml_save_plugin):
24910 put back source in registry. add checks for find_plugin.
24911 * testsuite/states/bin.c: (assert_state), (empty_bin),
24912 (test_adding_one_element), (main):
24913 * testsuite/states/locked.c: (main):
24914 some compile/run fixes
24916 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24918 * check/gst/gstvalue.c: (GST_START_TEST):
24919 fix leaks in the test itself
24921 2005-09-22 Wim Taymans <wim@fluendo.com>
24923 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24924 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24925 (gst_base_sink_query):
24926 Prepare for more accurate position reporting and query
24929 * gst/gstelement.c: (gst_element_send_event),
24930 (gst_element_set_state):
24933 2005-09-22 Wim Taymans <wim@fluendo.com>
24935 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24936 (gst_query_parse_segment):
24938 More documentation.
24939 Add segment query for future use.
24941 2005-09-22 Wim Taymans <wim@fluendo.com>
24943 * gst/gstbin.c: (gst_bin_add_func):
24944 Some more debug info.
24946 * gst/gstelement.c: (gst_element_send_event):
24947 Simplify send_event
24949 * gst/gstelement.h:
24950 Don't know how flags got broken.
24955 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24957 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24958 Add simplistic test suite for GST_TYPE_DATE serialisation and
24961 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24963 * docs/gst/gstreamer-sections.txt:
24964 * gst/gststructure.c: (gst_structure_set_valist),
24965 (gst_structure_get_date):
24966 * gst/gststructure.h:
24967 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24968 (gst_date_copy), (gst_value_compare_date),
24969 (gst_value_serialize_date), (gst_value_deserialize_date),
24970 (gst_value_transform_date_string),
24971 (gst_value_transform_string_date), (_gst_value_initialize):
24973 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24974 bunch of utility functions along with a hack that checks that
24975 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24976 is required. Part of the grand scheme in #170777.
24978 2005-09-22 Andy Wingo <wingo@pobox.com>
24980 * gst/gstconfig.h.in: Psych out gtk-doc.
24982 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24984 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24986 * tools/gst-inspect.c (print_element_list): Plug some
24987 inconsequential leaks.
24989 * gst/gstregistry.c (gst_registry_get_default): Doc.
24991 * check/gst/gstplugin.c:
24992 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24993 * gst/gstelementfactory.c (gst_element_factory_create):
24994 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24997 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24998 (gst_plugin_feature_load): Doc, don't eat refs.
25000 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25001 (gst_plugin_list_free): Doc.
25002 (gst_plugin_load_file): Doc updates.
25004 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25005 accessors returning refcounted objects, return a ref.
25007 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25008 accessor for caps. IDEMPOTENCE. Oh yes.
25010 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25012 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25014 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25015 (_gst_debug_register_funcptr):
25016 Add mutex to serialise access to the hash table with
25017 the function pointer => function name string mapping;
25018 make that hash table static scope (#316809).
25020 * gst/registries/.cvsignore:
25021 Remove left-over file.
25023 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25025 * docs/pwg/appendix-porting.xml:
25026 And something about newsegment events and caps-on-buffers to
25027 the porting guide (feel free to improve).
25029 2005-09-21 Andy Wingo <wingo@pobox.com>
25031 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25032 data and event probes on the same pad.
25033 (test_buffer_probe_once): Test that removing probes from within
25034 the probe functions works.
25036 2005-09-21 Andy Wingo <wingo@pobox.com>
25038 * check/gst/gstutils.c: New file.
25039 (test_buffer_probe_n_times): A simple buffer probe test. More to
25042 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25043 have-data::buffer, not have-data.
25044 (gst_pad_add_event_probe): Likewise for have-data::event.
25045 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25046 peer' isn't quite right yet though.
25047 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25048 (gst_pad_remove_data_probe): Change to take the guint handler_id
25049 as their arg, not the function+data, which is more glib-like.
25051 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25052 the signal emission to indicate if the data is a buffer or an
25054 (gst_pad_get_type): Initialize buffer and event quarks.
25055 (gst_pad_class_init): have-data is now a detailed signal, yes it
25058 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25060 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25061 * gst/gstutils.c: (gst_util_set_value_from_string),
25062 (gst_util_set_object_arg):
25063 Don't put functional code in g_return_if_fail() or
25064 g_return_val_if_fail() statements, otherwise things will
25065 break when G_DISABLE_CHECKS is defined during compilation.
25067 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25069 * docs/gst/tmpl/.cvsignore:
25070 * docs/gst/tmpl/gstvalue.sgml:
25073 inlied another one and added some obvious docs
25075 2005-09-21 Wim Taymans <wim@fluendo.com>
25077 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25078 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25079 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25080 (gst_fdsrc_get_property), (gst_fdsrc_create):
25081 * gst/elements/gstfdsrc.h:
25082 Properly implement fdsrc. Removed signal and timeout,
25083 better implemented somewhere else.
25085 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25087 * docs/gst/tmpl/.cvsignore:
25088 * docs/gst/tmpl/gstimplementsinterface.sgml:
25089 * gst/gstinterface.c:
25092 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25094 * docs/gst/gstreamer-sections.txt:
25095 * docs/gst/tmpl/.cvsignore:
25096 * docs/gst/tmpl/gstenumtypes.sgml:
25097 remove obsolete doc file
25099 2005-09-21 David Schleef <ds@schleef.org>
25101 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25102 little beer, fix a little leak.
25104 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25106 * docs/gst/gstreamer-docs.sgml:
25107 * docs/gst/gstreamer-sections.txt:
25108 * docs/gst/tmpl/.cvsignore:
25112 * gst/gstelement.h:
25113 * gst/gstindex.c: (gst_index_class_init):
25115 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25116 (gst_index_factory_class_init), (gst_index_factory_init),
25117 (gst_index_factory_finalize), (gst_index_factory_new),
25118 (gst_index_factory_destroy), (gst_index_factory_find),
25119 (gst_index_factory_create), (gst_index_factory_make):
25120 * gst/gstindexfactory.h:
25121 * gst/gstpluginfeature.c:
25122 * gst/gstpluginfeature.h:
25123 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25124 more docs inlined, splitted gstindex.{c,h}
25126 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25128 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25131 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25133 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25134 Set sync to FALSE by default.
25136 2005-09-20 Wim Taymans <wim@fluendo.com>
25138 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25139 (gst_base_sink_init):
25140 Make sync property settable from subclass.
25142 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25143 (gst_fake_sink_change_state):
25144 Set sync to FALSE by default.
25146 2005-09-20 Wim Taymans <wim@fluendo.com>
25148 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25149 * tools/gst-launch.c: (main):
25150 The timeout handler should have lower priority than the source
25151 so we don't timeout before popping a message with 0 timeout.
25152 Dump error messages after failed state change.
25154 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25156 * tools/gst-inspect.c: (print_element_properties_info):
25159 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25161 * check/gst/gstevent.c:
25162 * gst/elements/gstfakesink.c:
25163 * gst/elements/gstfakesink.h:
25164 remove the sync property from fakesink.
25165 has the side effect of setting sync TRUE
25166 for fakesink, which is a change. Anyone who knows how
25167 to fix this nicely in a GObject-y way, feel free.
25169 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25171 * docs/gst/gstreamer-docs.sgml:
25172 remove probe refsection
25174 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25176 * check/Makefile.am:
25177 disable valgrinding the controller test again
25178 * docs/gst/gstreamer-sections.txt:
25179 update for api-changes
25181 2005-09-20 Wim Taymans <wim@fluendo.com>
25183 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25184 (gst_base_sink_set_property), (gst_base_sink_get_property),
25185 (gst_base_sink_do_sync):
25186 * gst/base/gstbasesink.h:
25187 Added sync property to basesink to disable clock sync.
25189 2005-09-20 Andy Wingo <wingo@pobox.com>
25191 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25192 eating the caller's refcount.
25194 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25195 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25198 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25199 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25200 of GLib 2.8 public, so we can know which refcount to check in
25203 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25204 (gst_object_init): Only set the gst refcount if we're going ahead
25205 with the refcount hack.
25207 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25209 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25210 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25211 more leaks plumbed, added more debug-logging
25215 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25217 * gst/gstmessage.c:
25218 remove include of gstmemchunk.h
25220 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25222 * gst/gstclock.c: (_gst_clock_id_free):
25223 Commit from the Political Party For More Atomic CVS Commits,
25224 so that people don't waste too much of their day fishing
25225 out obvious leaks out of massive commits.
25226 Oh, and fix a pretty damn obvious leak in the memchunk
25229 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25231 * check/Makefile.am:
25232 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25233 plug mem-leak, re-add to valgrindable tests
25235 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25238 unbreak the build for those who have chronic arthritis
25239 and typing "make check" is just too taxing on the hands
25241 2005-09-20 Andy Wingo <wingo@pobox.com>
25243 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25244 really want it out, you should fix plugins at the same time.
25246 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25249 * docs/gst/gstreamer-sections.txt:
25251 added missing symbols to api docs
25252 disable ref-count hack if we have glib >= 2.8
25254 2005-09-19 David Schleef <ds@schleef.org>
25256 * docs/gst/Makefile.am: Ignore a few more internal headers
25257 * docs/gst/gstreamer-docs.sgml: Remove old sections
25258 * docs/gst/gstreamer-sections.txt: Remove old sections
25259 * docs/gst/tmpl/gstobject.sgml: update
25260 * docs/gst/tmpl/gstplugin.sgml: update
25261 * docs/gst/tmpl/gstpluginfeature.sgml: update
25262 * docs/random/ds/0.9-suggested-changes: update.
25263 * gst/Makefile.am: remove memchunk and trashstack, since they're
25265 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25266 * gst/gst.h: don't include some headers
25267 * gst/gstchildproxy.c: add gstmarshal.h
25268 * gst/gstclock.c: Don't use memchunks
25269 * gst/gstminiobject.c: Add some docs
25270 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25271 * gst/gstobject.h: same
25272 * gst/gstplugin.c: include gstmacros.h
25273 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25274 * gst/gstquery.c: don't use memchunks
25275 * gst/gstregistry.c: rename gst_registry_deinit()
25276 * gst/gstregistry.h: same
25278 2005-09-19 David Schleef <ds@schleef.org>
25280 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25281 * docs/libs/gstreamer-libs-sections.txt:
25282 * docs/libs/tmpl/gstgetbits.sgml:
25283 * docs/libs/tmpl/gstputbits.sgml:
25285 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25287 * win32/gstenumtypes.c:
25288 * win32/gstenumtypes.h:
25291 2005-09-19 Wim Taymans <wim@fluendo.com>
25293 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25294 Automatically PAUSE and RESUME a pipeline when a flushing seek
25297 2005-09-19 Andy Wingo <wingo@pobox.com>
25299 * gst/gstregistry.h: Spacing fixen.
25301 2005-09-19 Wim Taymans <wim@fluendo.com>
25303 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25304 Handle state change failure more correctly.
25306 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25308 * check/Makefile.am:
25309 * check/pipelines/cleanup.c: (run_pipeline):
25310 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25312 enable cleanup again after fixing the leak
25314 some more info on docs
25316 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25318 * check/Makefile.am:
25319 re-enable tests now that leaks are plugged
25321 * check/gst/gstbin.c:
25322 * check/gst/gstpipeline.c:
25323 add some more tests while fixing leaks
25324 * common/check.mak:
25325 make sure binaries are uptodate when valgrinding/gdbing
25327 * gst/gstelementfactory.c:
25328 remove a ref too many, and add a FIXME for when we get
25329 round to disposing of classes
25331 fix the refcounting when loading a plugin from a file and
25332 the code pretends that the pointer is the same even though
25333 of course it can change
25334 * gst/gstpluginfeature.c:
25335 unref plugins marked cached (a bit confusing as a name)
25336 as the docs state should be done
25337 various doc additions to explain refcounting
25338 * gst/gstregistry.c:
25339 * gst/gstregistryxml.c:
25342 2005-09-19 Wim Taymans <wim@fluendo.com>
25344 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25345 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25346 (send_messages), (GST_START_TEST), (gstbus_suite):
25347 * check/gst/gstpipeline.c: (GST_START_TEST):
25348 * check/pipelines/cleanup.c: (run_pipeline):
25349 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25351 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25352 (gst_bus_source_check), (gst_bus_source_dispatch),
25353 (gst_bus_create_watch), (gst_bus_add_watch_full),
25354 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25356 * tools/gst-launch.c: (event_loop):
25357 * tools/gst-md5sum.c: (event_loop):
25358 GstBusHandler -> GstBusFunc, return value has the same meaning as
25359 any other GSource (FALSE == remove source).
25360 _add_watch() and _add_watch_full() now take a MessageType mask to
25361 only handle specific types of messages.
25362 _poll() returns the GstMessage instead of the message type to avoid
25364 _have_pending() takes a MessageType mask now too.
25365 Added testsuite for multiple bus watches.
25366 Fix testsuites and applications for new bus API.
25368 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25370 * check/Makefile.am:
25371 mark a bunch of the tests as to fix until we fix them
25373 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25375 * common/check.mak:
25376 use GST_PLUGIN settings for valgrind tests as well, so we're
25377 valgrinding the correct thing
25378 * gst/gst.c: (init_post):
25381 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25383 * gst/gst.c: (init_post), (gst_deinit):
25384 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25385 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25386 * gst/gstindex.c: (gst_index_factory_class_init),
25387 (gst_index_factory_finalize):
25388 * gst/gstobject.c: (gst_object_dispose):
25389 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25390 (gst_plugin_load_file), (gst_plugin_desc_free):
25391 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25392 (gst_plugin_feature_finalize):
25393 * gst/gstregistry.c: (gst_registry_class_init),
25394 (gst_registry_init), (gst_registry_finalize),
25395 (gst_registry_get_default), (gst_registry_deinit):
25396 * gst/gstregistry.h:
25397 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25398 various cleanups and memleak plugging. make valgrind is happy now.
25400 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25402 * common/check.mak:
25403 add a check-valgrind target
25405 2005-09-18 David Schleef <ds@schleef.org>
25407 * tools/gst-inspect.c: Revert the GOption code.
25409 2005-09-17 David Schleef <ds@schleef.org>
25411 * check/Makefile.am: Fix environment variables.
25412 * check/gst/gstplugin.c: Fix for API changes.
25413 * tools/gst-inspect.c: Fix for API changes.
25414 * tools/gst-xmlinspect.c: Fix for API changes.
25415 * gst/gstelementfactory.c:
25418 * gst/gstpluginfeature.c:
25419 * gst/gstpluginfeature.h:
25420 * gst/gstregistry.c:
25421 * gst/gstregistry.h:
25422 * gst/gstregistryxml.c:
25423 * gst/gsttypefind.c:
25424 * gst/gsttypefindfactory.c:
25425 * gst/indexers/gstfileindex.c:
25426 * gst/indexers/gstmemindex.c:
25427 * gst/schedulers/Makefile.am:
25428 Change registry to keep track of both plugins and features,
25429 removing the feature tracking from plugins themselves.
25431 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25433 * check/Makefile.am:
25434 * tools/gst-register.1.in:
25435 remove gst-register
25437 2005-09-15 David Schleef <ds@schleef.org>
25439 * check/gst/gstplugin.c:
25440 * gst/gstelementfactory.c:
25442 * gst/gstpluginfeature.c:
25443 * gst/gstregistry.c:
25444 Getting tired of debugging. Disabled all the unreffing of
25445 plugins and features, which fixes the segfaults, but of
25446 course leaks like crazy. At least playbin works.
25448 2005-09-15 David Schleef <ds@schleef.org>
25450 * check/gst/gstplugin.c: (register_check_elements),
25451 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25453 * gst/elements/gsttypefindelement.c: Fix refcounting.
25454 * gst/gsttypefind.c:
25455 * gst/gsttypefindfactory.c:
25456 * gst/gsttypefindfactory.h:
25458 2005-09-15 David Schleef <ds@schleef.org>
25460 * gst/gstindex.c: get refcounting correct.
25461 * gst/gstregistry.c: Handle the case where a feature/plugin is
25464 2005-09-15 David Schleef <ds@schleef.org>
25466 * check/Makefile.am:
25467 * check/gst/gstplugin.c: Add test
25468 * gst/gstplugin.c: Fix problems noticed by testsuite
25470 * gst/gstregistry.c:
25471 * gst/gstregistry.h:
25473 2005-09-15 David Schleef <ds@schleef.org>
25475 * gst/gstplugin.c: Implement semi-decent recounting and locking
25476 in plugins and plugin features.
25478 * gst/gstpluginfeature.c:
25479 * gst/gstpluginfeature.h:
25480 * gst/gstregistry.c:
25482 2005-09-15 Michael Smith <msmith@fluendo.com>
25484 * gst/gstregistry.c: (gst_registry_get_feature_list):
25485 Implement this. Makes oggdemux work; decodebin still broken.
25487 2005-09-14 David Schleef <ds@schleef.org>
25489 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25491 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25492 * gst/check/Makefile.am:
25493 * libs/gst/controller/Makefile.am:
25494 * libs/gst/dataprotocol/Makefile.am:
25496 2005-09-14 David Schleef <ds@schleef.org>
25498 * configure.ac: Remove getbits library. Nothing uses it, and
25499 it should be in something like liboil if someone did want
25501 * libs/gst/Makefile.am:
25502 * libs/gst/getbits/Makefile.am:
25503 * libs/gst/getbits/gbtest.c:
25504 * libs/gst/getbits/getbits.c:
25505 * libs/gst/getbits/getbits.h:
25506 * libs/gst/getbits/gstgetbits_generic.c:
25507 * libs/gst/getbits/gstgetbits_i386.s:
25508 * libs/gst/getbits/gstgetbits_inl.h:
25510 2005-09-14 David Schleef <ds@schleef.org>
25512 * gst/Makefile.am: Dist glib-compat.h
25514 2005-09-14 David Schleef <ds@schleef.org>
25516 * configure.ac: Remove gst/registries, since it's no longer used.
25517 * gst/registries/Makefile.am:
25518 * gst/registries/gstlibxmlregistry.c:
25519 * gst/registries/gstlibxmlregistry.h:
25520 * gst/registries/gstxmlregistry.c:
25521 * gst/registries/gstxmlregistry.h:
25522 * gst/registries/registrytest.c:
25524 2005-09-14 David Schleef <ds@schleef.org>
25526 * gst/glib-compat.h:
25527 * gst/gstregistryxml.c:
25528 Convergence is near. Seriously.
25530 2005-09-14 David Schleef <ds@schleef.org>
25532 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25533 * gst/glib-compat.h:
25534 Attempt #4 to appease the buildbots.
25536 2005-09-14 David Schleef <ds@schleef.org>
25538 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25541 2005-09-14 David Schleef <ds@schleef.org>
25543 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25546 2005-09-14 David Schleef <ds@schleef.org>
25548 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25551 2005-09-14 David Schleef <ds@schleef.org>
25553 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25554 * gst/glib-compat.h: Add some functions that are in newer versions
25555 of glib than we care to require.
25556 * gst/gstregistryxml.c: Use them.
25558 2005-09-14 David Schleef <ds@schleef.org>
25560 * po/POTFILES.in: remove gst-register.c
25562 2005-09-14 David Schleef <ds@schleef.org>
25564 * docs/gst/gstreamer-docs.sgml:
25565 * docs/gst/gstreamer-sections.txt:
25566 * docs/gst/gstreamer.types:
25567 * docs/gst/tmpl/gstelement.sgml:
25568 * docs/gst/tmpl/gstplugin.sgml:
25569 * docs/gst/tmpl/gstpluginfeature.sgml:
25570 Documentation updates for registry changes.
25572 2005-09-14 David Schleef <ds@schleef.org>
25574 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25575 because we don't require glib-2.8.
25577 2005-09-14 David Schleef <ds@schleef.org>
25579 * gst/gstregistryxml.c: Added. Essentially moved out of the
25580 registries directory.
25582 2005-09-14 David Schleef <ds@schleef.org>
25584 * check/Makefile.am:
25585 * check/generic/states.c:
25589 * gst/gst_private.h:
25590 * gst/gstelementfactory.c:
25595 * gst/gstpluginfeature.c:
25596 * gst/gstpluginfeature.h:
25597 * gst/gstregistry.c:
25598 * gst/gstregistry.h:
25599 * gst/gstregistrypool.c: remove
25600 * gst/gstregistrypool.h: remove
25601 * gst/gsttypefind.c:
25602 * gst/gsttypefindfactory.c:
25604 * tools/Makefile.am:
25605 * tools/gst-compprep.c:
25606 * tools/gst-inspect.c:
25607 * tools/gst-register.c: remove
25608 * tools/gst-xmlinspect.c:
25609 Registry rewrite. Changes registry from being a file created
25610 by a tool into a simple cache file created automatically by
25611 libgstreamer. Removed gst-register (because it's no longer
25612 needed). Remove registry pools, because we only have one
25613 registry implementation (XML). Fix up other subsystems as
25616 2005-09-13 Michael Smith <msmith@fluendo.com>
25618 * gst/gstconfig.h.in:
25619 Don't Use windows linking attributes for MinGW. Fixes #316157
25621 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25623 * gst/gstutils.c: (set_state_async_thread_func),
25624 (gst_element_set_state_async):
25625 Apparently people think it's better if this function doesn't
25626 try to set the state to whatever state was asked for on the first
25627 call to this function for any object. Seriously.
25629 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25631 * check/gst/gstpipeline.c: (GST_START_TEST):
25632 * docs/gst/gstreamer-sections.txt:
25633 * gst/gstutils.c: (set_state_async_thread_func),
25634 (gst_element_set_state_async):
25636 add a "gst_element_set_state_async" method that
25637 sets the state and starts a thread to make sure the state
25638 change completes as best as it can
25640 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25642 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25643 codify design+behaviour in testsuite after discussion
25645 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25647 * docs/gst/tmpl/gstelement.sgml:
25648 * docs/manual/appendix-quotes.xml:
25650 * gst/gstelement.c: (gst_element_set_state):
25653 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25655 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25656 (gst_base_transform_prepare_output_buf),
25657 (gst_base_transform_handle_buffer):
25658 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25659 (gst_capsfilter_prepare_buf):
25660 Remove the requirement for sub-classes to call the parent
25661 implementation of prepare_output_buffer with a wrapper function.
25663 * gst/gsttaglist.h:
25664 * gst/gsttagsetter.h:
25665 Fix #define wrapper
25667 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25669 * docs/gst/gstreamer-sections.txt:
25672 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25674 * docs/gst/gstreamer-sections.txt:
25675 * docs/gst/tmpl/gstelement.sgml:
25676 * docs/gst/tmpl/gstplugin.sgml:
25677 * gst/gstminiobject.c:
25679 docs now stop throwing warnings
25681 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25683 * docs/gst/gstreamer-sections.txt:
25684 * docs/gst/gstreamer.types:
25685 * docs/gst/tmpl/gstpad.sgml:
25686 * docs/gst/tmpl/gsttypes.sgml:
25687 * gst/base/gstadapter.h:
25688 * gst/base/gstbasesink.h:
25689 * gst/base/gstbasesrc.h:
25695 * gst/gstelement.h:
25697 * gst/gstmessage.h:
25699 * gst/gststructure.c:
25700 * gst/registries/gstlibxmlregistry.h:
25701 various documentation fixes
25703 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25705 * docs/gst/gstreamer-sections.txt:
25706 * docs/gst/tmpl/gstvalue.sgml:
25707 rearrange gstvalue section
25708 * gst/gstutils.c: (gst_element_state_get_name):
25710 * gst/gstvalue.c: (_gst_value_initialize):
25714 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25716 * check/gst-libs/controller.c:
25717 Header include fix.
25718 * gst/base/gstbasetransform.c:
25719 (gst_base_transform_default_prepare_buf),
25720 (gst_base_transform_handle_buffer):
25721 * gst/base/gstbasetransform.h:
25722 Some more basetransform changes and fixes to enable sub-classes
25723 that modify buffer metadata only.
25724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25725 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25726 (gst_capsfilter_prepare_buf):
25727 If the output pad has fixed allowed caps and input buffers
25728 don't have any, set the fixed caps on outgoing buffers.
25730 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25731 * check/elements/identity.c: (GST_START_TEST):
25732 Make the error a little clearer when the test fails because
25733 identity made a copy of the buffer.
25734 * docs/gst/gstreamer-sections.txt:
25735 New symbols in gstbasetransform.h
25736 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25737 (gst_base_transform_init), (gst_base_transform_transform_size),
25738 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25739 (gst_base_transform_default_prepare_buf),
25740 (gst_base_transform_get_unit_size),
25741 (gst_base_transform_buffer_alloc),
25742 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25743 (gst_base_transform_change_state),
25744 (gst_base_transform_set_passthrough),
25745 (gst_base_transform_set_in_place),
25746 (gst_base_transform_is_in_place):
25747 * gst/base/gstbasetransform.h:
25748 Change BaseTransform to separate in_place operate from same_caps
25749 output. in_place implies that the element can perform the transform
25750 on incoming buffers in-place, even if the caps on the output are
25752 Sub-class elements can now implement special buffer allocation
25753 methods for outgoing buffers if they wish to.
25754 Big documentation addition.
25755 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25756 * gst/elements/gstelements.c:
25757 Changes for basetransform modifications.
25758 * gst/elements/Makefile.am:
25759 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25760 Compile fix. Extra debug output.
25762 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25764 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25766 add tests for valid pad naming
25767 * gst/check/gstcheck.c: (gst_check_log_message_func),
25768 (gst_check_log_critical_func):
25770 remove printing of code, it is fragile when the code contains
25771 % and the line number is enough info
25772 * gst/check/gstcheck.h:
25773 * gst/gstpad.c: (gst_pad_template_new):
25776 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25779 say what CHECK flags we use
25780 * docs/libs/gstreamer-libs.types:
25781 * libs/gst/controller/Makefile.am:
25782 * libs/gst/controller/gst-controller.c:
25783 * libs/gst/controller/gst-controller.h:
25784 * libs/gst/controller/gst-helper.c:
25785 * libs/gst/controller/gst-interpolation.c:
25786 * libs/gst/controller/gstcontroller.c:
25787 * libs/gst/controller/gsthelper.c:
25788 * libs/gst/controller/gstinterpolation.c:
25789 * tools/gst-inspect.c: (print_plugin_info):
25790 we don't use dashes in header names
25792 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25794 * check/Makefile.am:
25795 * check/gst/.cvsignore:
25796 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25797 (gst_pipeline_suite), (main):
25798 adding a test for pipelines and state changes
25799 * gst/gstutils.c: (get_state_func):
25801 * gstreamer.spec.in:
25804 2005-09-08 Michael Smith <msmith@fluendo.com>
25806 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25807 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25808 (gst_file_src_is_seekable), (gst_file_src_get_size),
25809 (gst_file_src_start):
25810 * gst/elements/gstfilesrc.h:
25811 Various fixes for unseekable, unmmapable, and non-normal files, so
25812 that fallback to read() rather than mmap() works.
25813 * gst/gstevent.c: (gst_event_new_newsegment):
25814 Allow newsegment events with segment_start == segment_end, as will
25815 correctly happen if you use filesrc on a zero-size file, for
25818 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25820 * gst/gstplugin.c: (gst_plugin_load_file):
25821 Call g_module_close when we don't load the module
25823 * gst/registries/gstlibxmlregistry.c:
25824 (gst_xml_registry_get_property):
25825 Port leak fix from 0.8
25827 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25829 * docs/gst/gstreamer-docs.sgml:
25830 * docs/gst/tmpl/.cvsignore:
25831 * docs/gst/tmpl/gsttrace.sgml:
25832 * docs/gst/tmpl/gsttrashstack.sgml:
25835 * gst/gstelement.h:
25837 * gst/gstmessage.c:
25838 * gst/gstmessage.h:
25841 * gst/gsttaginterface.c:
25842 * gst/gsttaginterface.h:
25843 * gst/gsttaglist.c:
25844 * gst/gsttaglist.h:
25845 * gst/gsttagsetter.c:
25846 * gst/gsttagsetter.h:
25849 * gst/gsttrashstack.c:
25850 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25851 inlined docs for gsttrace, gsttrashstack
25853 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25856 * gst/elements/gstbufferstore.h:
25857 * gst/elements/gsttypefindelement.c:
25858 * gst/elements/gsttypefindelement.h:
25860 * gst/gsttypefind.c:
25861 * gst/gsttypefind.h:
25862 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25863 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25864 (gst_type_find_factory_dispose),
25865 (gst_type_find_factory_unload_thyself),
25866 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25867 (gst_type_find_factory_get_caps),
25868 (gst_type_find_factory_get_extensions),
25869 (gst_type_find_factory_call_function):
25870 * gst/gsttypefindfactory.h:
25871 * gst/registries/gstlibxmlregistry.c:
25872 * gst/registries/gstxmlregistry.c:
25873 splitted gsttypefind into gsttypefind, gsttypefindfactory
25875 2005-09-07 Andy Wingo <wingo@pobox.com>
25877 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25878 condition whereby the pad's task function is entered before the
25879 pad_mode variable was set.
25881 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25883 * gst/gstpad.c: (gst_pad_alloc_buffer):
25884 Catch misbehaving pad_alloc functions that don't
25885 set up caps and do it for them.
25887 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25889 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25890 test for pipe!=NULL
25891 * docs/gst/tmpl/.cvsignore:
25892 * docs/gst/tmpl/gstmemchunk.sgml:
25893 * docs/gst/tmpl/gstparse.sgml:
25894 * docs/gst/tmpl/gsttaglist.sgml:
25895 * docs/gst/tmpl/gsttagsetter.sgml:
25896 * docs/gst/tmpl/gsttypefind.sgml:
25897 * docs/gst/tmpl/gsttypefindfactory.sgml:
25898 * gst/gstmemchunk.c:
25901 * gst/gsttaginterface.c:
25902 * gst/gsttypefind.c:
25903 * gst/gsttypefind.h:
25906 === release 0.9.2 ===
25908 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25913 releasing 0.9.2, "South"
25915 2005-09-05 Andy Wingo <wingo@pobox.com>
25917 * gst/registries/gstxmlregistry.h:
25918 * gst/registries/gstxmlregistry.c: Um... resurrect...
25920 * gst/registries/gstxmlregistry.h:
25921 * gst/registries/gstxmlregistry.c: and update to newer API.
25922 Incidentally they should be a bit faster now that they don't have
25925 2005-09-05 Andy Wingo <wingo@pobox.com>
25927 * gst/registries/gstxmlregistry.h:
25928 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25929 replaced by the libxml registry a while back
25931 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25933 * docs/gst/tmpl/gstplugin.sgml:
25934 * gst/elements/gstelements.c:
25936 * gst/gstplugin.c: (gst_plugin_register_func),
25937 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25938 (gst_plugin_get_source):
25940 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25941 (gst_xml_registry_save_plugin):
25942 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25943 (gst_xml_registry_save_plugin):
25944 * tools/gst-inspect.c: (print_plugin_info):
25945 add a "source" plugin description field, to represent the source
25946 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25947 will set it to PACKAGE, which is automake's idea of the name of
25948 the source project.
25950 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25955 * docs/Makefile.am:
25956 * docs/faq/Makefile.am:
25957 * docs/gst/tmpl/gstelement.sgml:
25958 * docs/gst/tmpl/gsttypes.sgml:
25959 * docs/htmlinstall.mak:
25960 * docs/manual/Makefile.am:
25961 * docs/pwg/Makefile.am:
25962 reorganize doc build a little
25963 split out docbook and gtk-doc stuff
25964 have two separate --enable's and enable them through autogen
25965 but disable by default in configure (to be similar to other
25967 * gstreamer.spec.in:
25968 clean up docs install
25986 translation updates
25988 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25990 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25993 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25994 (gst_fake_sink_change_state):
25995 Make state change function thread-safe.
25997 * gst/gstpad.c: (gst_pad_alloc_buffer):
25998 Set offset on generic buffer allocated by fallback.
26000 2005-09-03 Stefan Kost <ensonic@users.sf.net>
26002 * docs/gst/gstreamer-sections.txt:
26003 * docs/gst/tmpl/gstelement.sgml:
26005 * libs/gst/controller/gst-controller.c:
26006 (gst_controlled_property_set_interpolation_mode),
26007 (gst_controlled_property_new),
26008 (gst_controller_find_controlled_property):
26009 run the wingo-magic script against the docs
26011 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26013 * docs/gst/gstreamer-docs.sgml:
26014 * docs/gst/gstreamer-sections.txt:
26015 * docs/gst/tmpl/.cvsignore:
26016 * docs/gst/tmpl/gstelementdetails.sgml:
26017 * docs/gst/tmpl/gstelementfactory.sgml:
26020 * gst/gstelementfactory.c:
26021 * gst/gstelementfactory.h:
26022 merged elementdetails docs into elementfactory docs
26025 2005-09-02 Andy Wingo <wingo@pobox.com>
26027 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26028 consider this enum an enum and not a flags.
26030 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26032 * docs/gst/gstreamer-docs.sgml:
26033 * docs/gst/tmpl/.cvsignore:
26034 * docs/gst/tmpl/gstghostpad.sgml:
26035 * docs/gst/tmpl/gstiterator.sgml:
26036 * docs/gst/tmpl/gstmacros.sgml:
26037 * docs/gst/tmpl/gstrealpad.sgml:
26038 * docs/gst/tmpl/gstregistry.sgml:
26039 * docs/gst/tmpl/gstregistrypool.sgml:
26040 * docs/gst/tmpl/gststructure.sgml:
26041 * docs/gst/tmpl/gstsystemclock.sgml:
26042 * docs/gst/tmpl/gsttrace.sgml:
26043 * gst/gstghostpad.c:
26045 * gst/gstmemchunk.c:
26046 * gst/gstmemchunk.h:
26048 * gst/gstregistry.c:
26049 * gst/gstregistrypool.c:
26050 * gst/gststructure.c:
26051 * gst/gstsystemclock.c:
26054 2005-09-02 Andy Wingo <wingo@pobox.com>
26056 * gst/gstelement.h (GstState): Renamed from GstElementState,
26057 changed to be a normal enum instead of flags.
26058 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26059 munged to be GST_STATE_CHANGE_*.
26060 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26061 work with the new state representation.
26062 (GstStateChange): New enumeration of possible state transitions.
26063 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26064 (GstElementClass::change_state): Pass the GstStateChange along as
26065 an argument. Helps language bindings, so they don't have to use
26066 tricky lock-needing macros like GST_STATE_CHANGE ().
26068 * scripts/update-states (file): New script. Run it on a file to
26069 update it for state naming and API changes. Updates files in
26072 * All files updated for the new API.
26074 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26076 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26077 * gst/gstutils.c: (gst_util_set_value_from_string),
26078 (gst_util_set_object_arg):
26079 fix a bunch of unchecked return values
26080 * tools/gst-complete.c: (main):
26081 * gstreamer.spec.in:
26084 2005-09-01 Wim Taymans <wim@fluendo.com>
26086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26087 (gst_base_sink_event), (gst_base_sink_do_sync),
26088 (gst_base_sink_handle_event):
26089 * gst/base/gstbasesink.h:
26090 Handle newsegments more correctly.
26095 * gst/gstevent.c: (gst_event_new_newsegment):
26096 A newsegment cannot have a start_time of -1
26098 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26100 * win32/gstenumtypes.c:
26101 * win32/gstenumtypes.h:
26104 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26106 * libs/gst/controller/gst-controller.c:
26107 (gst_controlled_property_set_interpolation_mode),
26108 (gst_controlled_property_new):
26109 fixed boolean again
26111 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26113 * docs/faq/gst-uninstalled:
26118 * gst/gstutils.c: (gst_element_link_filtered):
26120 add gst_element_link_filtered
26122 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26124 * docs/gst/gstreamer-docs.sgml:
26125 * docs/gst/gstreamer-sections.txt:
26126 * docs/gst/tmpl/.cvsignore:
26127 * docs/gst/tmpl/gsterror.sgml:
26128 * docs/gst/tmpl/gstfilter.sgml:
26129 * docs/gst/tmpl/gsturihandler.sgml:
26130 * docs/gst/tmpl/gsturitype.sgml:
26131 * docs/gst/tmpl/gstutils.sgml:
26132 * docs/gst/tmpl/gstxml.sgml:
26137 * gst/gsturitype.c:
26140 inlined more docs, fixed double id-ref
26142 2005-08-31 Wim Taymans <wim@fluendo.com>
26144 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26145 (gst_base_transform_handle_buffer):
26146 Passthrough elements don't need the caps as they don't care.
26148 2005-08-31 Wim Taymans <wim@fluendo.com>
26150 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26151 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26152 Don't leak refcounts on buffers.
26154 2005-08-31 Wim Taymans <wim@fluendo.com>
26156 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26157 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26158 (gst_base_transform_chain), (gst_base_transform_change_state):
26159 * gst/base/gstbasetransform.h:
26160 Handle the case where we are not negotiated more gracefully.
26162 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26164 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26165 (gst_file_src_map_region):
26166 Set READONLY flag on mmap'ed buffers, otherwise
26167 gst_buffer_make_writable() won't work properly (#314708).
26169 2005-08-31 Wim Taymans <wim@fluendo.com>
26171 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26172 passthrough elements can even do inplace on non writable
26173 buffers (as they don't touch them).
26175 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26177 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26178 (gst_test_mono_source_set_property),
26179 (gst_test_mono_source_class_init), (GST_START_TEST),
26180 (gst_controller_suite):
26181 more tests (hehe I have the most)
26183 describe popping messages whenusing mulltiple sources
26184 * libs/gst/controller/gst-controller.c:
26185 (gst_controlled_property_set_interpolation_mode),
26186 (gst_controlled_property_new):
26187 * libs/gst/controller/gst-controller.h:
26188 * libs/gst/controller/gst-interpolation.c:
26189 implement boolean properties
26191 2005-08-31 Wim Taymans <wim@fluendo.com>
26193 * gst/gstminiobject.c: (gst_mini_object_ref):
26194 Cannot assert that the refcount has to be positive
26195 since a disposed object can be resurrected.
26197 2005-08-31 Wim Taymans <wim@fluendo.com>
26199 * gst/gstpad.c: (gst_pad_init):
26200 Revert change, need to first fix badly behaving
26203 2005-08-30 Wim Taymans <wim@fluendo.com>
26205 * check/elements/fakesrc.c: (setup_fakesrc):
26206 * check/elements/identity.c: (setup_identity):
26207 Activate pads before using them.
26209 2005-08-30 Wim Taymans <wim@fluendo.com>
26211 * gst/base/gstadapter.c: (gst_adapter_flush):
26212 Flushing out 0 bytes is ok for this function.
26214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26215 no newsegment gives a warning and sets the start/stop to
26218 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26219 (gst_base_transform_set_passthrough):
26222 * gst/gstminiobject.c: (gst_mini_object_ref):
26223 Check refcount here too.
26225 * gst/gstpad.c: (gst_pad_init):
26226 Pads are initially flushing and refusing data.
26228 * gst/gstutils.c: (gst_element_link_pads_filtered):
26229 When adding a capsfilter element make sure it has the
26230 same state as the parent bin.
26232 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26234 * docs/gst/tmpl/.cvsignore:
26235 * docs/gst/tmpl/gstformat.sgml:
26236 * docs/gst/tmpl/gstversion.sgml:
26240 * gst/gstversion.h.in:
26241 more docs and two more inlined
26243 2005-08-30 Wim Taymans <wim@fluendo.com>
26245 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26246 Don't sync to clock.
26248 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26250 * docs/gst/gstreamer-sections.txt:
26251 ultral33t func10ns deserve to appear in the docs actually
26252 * docs/gst/tmpl/.cvsignore:
26253 * docs/gst/tmpl/gstcompat.sgml:
26254 * docs/gst/tmpl/gstconfig.sgml:
26255 * gst/check/gstcheck.c:
26257 * gst/gstconfig.h.in:
26260 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26262 * docs/gst/tmpl/.cvsignore:
26263 * docs/gst/tmpl/gstquery.sgml:
26264 * docs/gst/tmpl/gstutils.sgml:
26267 inlined and extended docs
26269 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26271 * check/gst-libs/controller.c: (GST_START_TEST),
26272 (gst_controller_suite):
26274 * docs/gst/tmpl/gstutils.sgml:
26275 * docs/libs/gstreamer-libs-sections.txt:
26276 * docs/libs/tmpl/gstdataprotocol.sgml:
26278 * examples/controller/audio-example.c: (main):
26279 controller example works now
26282 * tools/gst-inspect.c: (print_element_properties_info):
26283 show param spec flags
26285 2005-08-29 Andy Wingo <wingo@pobox.com>
26287 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26289 2005-08-28 Andy Wingo <wingo@pobox.com>
26291 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26292 as having two arguments instead of just one. Allows superclasses
26293 to access information on subclasses -- see the terrible for() loop
26294 in gtype.c:g_type_create_instance for the reason why. All callers
26297 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26299 * docs/design/part-messages.txt:
26301 * docs/gst/tmpl/.cvsignore:
26302 * docs/gst/tmpl/gstcaps.sgml:
26303 * docs/gst/tmpl/gstclock.sgml:
26309 * gst/gstmessage.c:
26310 added descriptions for bus and message
26311 inline caps and clock docs
26313 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26315 * gst/gstmessage.c:
26316 * gst/gstmessage.h:
26319 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26321 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26324 2005-08-26 Andy Wingo <wingo@pobox.com>
26326 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26327 element_set_state's return val.
26328 (test_2_elements): Add test that's been disabled for months.
26330 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26331 can-activate-pull properties.
26333 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26334 can-activate-pull properties. Implement is_seekable so fakesrc can
26335 operate in pull mode.
26337 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26339 (gst_base_sink_activate, gst_base_sink_activate_pull)
26340 (gst_base_sink_activate_push): Make activation mode choosing work.
26342 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26343 is right. Make pull mode work. Post an eos before pausing in pull
26345 (gst_base_sink_change_state): Pay attention to the core's
26346 change_state() return val.
26348 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26349 has-getrange properties. Cleanups.
26351 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26352 has_getrange and replace with can_activate_pull and
26355 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26356 locking comments. Remove has_loop, has_chain and replace with
26357 can_activate_pull and can_activate_push.
26359 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26362 * examples/Makefile.am:
26363 * examples/metadata/Makefile.am:
26364 * examples/metadata/read-metadata.c: (message_loop),
26365 (have_pad_handler), (make_pipeline), (print_tag), (main):
26366 Add metadata reading example that loops over a list of filenames,
26367 dumping any tags found.
26369 * gst/gstbus.c: (gst_bus_dispose):
26370 * gst/gstelement.c: (gst_element_dispose):
26371 Release a few potentially-held references in dispose.
26373 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26375 * docs/gst/tmpl/gstminiobject.sgml:
26376 do *not* add tmpl/*.sgml files to CVS!
26378 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26380 * libs/gst/bytestream/.cvsignore:
26381 * libs/gst/bytestream/Makefile.am:
26382 * libs/gst/bytestream/adapter.c:
26383 * libs/gst/bytestream/adapter.h:
26384 * libs/gst/bytestream/bytestream.c:
26385 * libs/gst/bytestream/bytestream.h:
26386 * libs/gst/bytestream/filepad.c:
26387 * libs/gst/bytestream/filepad.h:
26388 removing obsolete files
26390 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26392 * docs/gst/gstreamer-docs.sgml:
26393 * docs/libs/gstreamer-libs-docs.sgml:
26394 disabed additional index entries again, as this makes docs-gen just
26395 slow and they aren't useful yet
26396 * docs/libs/gstreamer-libs-sections.txt:
26397 little -section.txt cleanup for libs
26399 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26402 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26403 fix up some debugging
26404 (gst_base_transform_get_unit_size),
26405 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26406 (gst_base_transform_handle_buffer):
26407 * gst/base/gstbasetransform.h:
26408 handle and store timed NEWSEGMENT events so that subclasses that
26409 calculate time by counting samples have a segment_start time they
26410 need to add to their timestamps - see audioresample
26412 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26415 removed ';' from the end of macro defs
26416 * docs/gst/gstreamer-docs.sgml:
26417 * docs/gst/gstreamer-sections.txt:
26418 * docs/gst/tmpl/.cvsignore:
26420 * gst/gstelement.c: (gst_element_class_init),
26421 (gst_element_set_state), (activate_pads),
26422 (gst_element_save_thyself):
26423 * gst/gstevent.c: (gst_event_new_newsegment):
26425 * gst/gstiterator.c:
26426 * gst/gstiterator.h:
26429 * gst/gstutils.c: (gst_pad_query_convert):
26431 fixed parameter name mismatches between source, header and docs
26432 added some more docs, resolved the last batch of unused elements in
26433 docs (now someone needs to doc them)
26435 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26437 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26438 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26439 don't walk through the plugins backwards. Where is all this
26440 reversed logic coming from ?
26442 2005-08-25 Wim Taymans <wim@fluendo.com>
26444 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26445 (gst_base_transform_transform_size),
26446 (gst_base_transform_configure_caps),
26447 (gst_base_transform_get_unit_size),
26448 (gst_base_transform_buffer_alloc),
26449 (gst_base_transform_change_state):
26450 * gst/base/gstbasetransform.h:
26451 Cache caps unit_size.
26452 Make sure we cannot negotiate up and downstream at the
26455 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26457 * gst/gst.c: (init_pre), (init_post):
26458 register the installed plugin path after the env var
26459 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26460 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26461 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26462 directories, so the tests can prefer uninstalled over installed
26464 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26466 * gst/base/gstbasetransform.h:
26471 2005-08-25 Wim Taymans <wim@fluendo.com>
26473 * gst/gstbin.c: (bin_bus_handler):
26474 Be a bit more conservative about the posted message.
26476 * gst/gstbus.c: (gst_bus_post):
26477 Some cleanups, warn wrong return values.
26479 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26481 * check/gst/gstbin.c: (GST_START_TEST):
26482 * gst/gstbin.c: (bin_bus_handler):
26483 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26484 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26485 (gst_message_new_warning), (gst_message_new_tag),
26486 (gst_message_new_state_changed), (gst_message_new_segment_start),
26487 (gst_message_new_segment_done), (gst_message_new_custom):
26488 * gst/gstmessage.h:
26489 * tools/gst-launch.c: (event_loop):
26490 * tools/gst-md5sum.c: (event_loop):
26491 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26493 2005-08-25 Wim Taymans <wim@fluendo.com>
26495 * check/generic/states.c: (GST_START_TEST):
26496 Cleanup can be done at the end.
26498 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26499 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26500 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26501 Oh boy.. Thanks for finding this, Thomas.
26503 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26505 * docs/gst/gstreamer.types:
26506 added missing types
26508 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26510 * docs/gst/gstreamer-docs.sgml:
26511 * docs/gst/gstreamer-sections.txt:
26512 * docs/gst/tmpl/.cvsignore:
26514 * gst/gstiterator.c:
26516 * gst/registries/gstxmlregistry.h:
26517 added missing classes and symbols (123 more to go)
26518 removed removed symbols from section file
26519 fixed many doc-comments
26521 2005-08-24 Wim Taymans <wim@fluendo.com>
26523 * check/generic/states.c: (GST_START_TEST):
26524 Make sure all tasks are stopped.
26526 * check/gst/gstbin.c: (GST_START_TEST):
26527 Unref after usage for proper valgrinding.
26529 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26530 Really wait for the task to stop before destroying the
26533 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26534 (gst_queue_src_activate_push):
26535 Small cleanups. Don't stop the task when we did not start
26538 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26539 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26540 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26543 Protect the stream lock with the object lock.
26544 Disallow setting the stream lock when running.
26545 Add cleanup_all to wait for the threadpool to finish.
26546 Remove code to autoallocate a mutex if none was provided.
26547 Add _join() to wait for a task to stop.
26548 Protect the thread pool with a global lock.
26550 2005-08-24 Wim Taymans <wim@fluendo.com>
26552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26553 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26554 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26555 * gst/base/gstbasesink.h:
26556 Handle newsegment events correctly.
26557 Drop buffers out of the segment range.
26559 2005-08-22 Andy Wingo <wingo@pobox.com>
26561 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26562 macro, implements an interface and gstimplementsinterface for a
26565 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26567 * check/Makefile.am:
26568 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26569 add a test that does a bunch of state changes on elements
26570 needs some fixing for valgrind
26571 * check/states/sinks.c: (gst_object_suite):
26574 add prototype for gst_caps_is_equal_fixed
26576 * gst/gstregistrypool.c:
26579 2005-08-24 Andy Wingo <wingo@pobox.com>
26581 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26582 convert a negative value. Doesn't make much sense. Mostly this is
26583 here to force callers to ensure -1 maps to -1.
26585 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26587 * docs/pwg/advanced-types.xml:
26588 Well done to Michael for catching my deliberate introduction
26589 of this spelling mistake.
26590 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26591 * gst/gstelement.h:
26592 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26593 unlink pads before removing the element from the bin.
26595 2005-08-24 Andy Wingo <wingo@pobox.com>
26597 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26598 the same thing as GST_DEBUG=*:4.
26599 (parse_debug_level, parse_debug_category): New helper parsers.
26601 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26603 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26604 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26605 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26606 (gst_base_transform_buffer_alloc),
26607 (gst_base_transform_handle_buffer):
26608 use gboolean return values and pointers to size so we can use the
26609 full GST_BUFFER_SIZE range (guint) for buffer sizes
26610 use GstPadDirection for transform_caps
26611 * gst/base/gstbasetransform.h:
26612 rename get_size to get_unit_size since that's what it is
26613 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26614 use GstPadDirection for transform_caps
26615 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26617 cleanup and debugging
26619 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26621 * gst/gstelement.c: (gst_element_class_init),
26622 (gst_element_set_state), (activate_pads),
26623 (gst_element_save_thyself):
26624 * tools/gst-compprep.c: (main):
26625 * tools/gst-inspect.c: (print_element_properties_info):
26626 * tools/gst-xmlinspect.c: (print_element_properties):
26627 Fixed long standing mem-leak
26629 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26631 * check/gst/gstbin.c: (GST_START_TEST):
26632 * gst/gstbin.c: (bin_bus_handler):
26633 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26634 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26635 (gst_message_new_warning), (gst_message_new_tag),
26636 (gst_message_new_state_changed), (gst_message_new_segment_start),
26637 (gst_message_new_segment_done), (gst_message_new_custom):
26638 * gst/gstmessage.h:
26639 * tools/gst-launch.c: (event_loop):
26640 * tools/gst-md5sum.c: (event_loop):
26641 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26642 that applications can sensibly post custom messages with references
26643 to their own objects.
26645 2005-08-24 Andy Wingo <wingo@pobox.com>
26647 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26650 2005-08-24 Wim Taymans <wim@fluendo.com>
26652 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26653 (gst_base_transform_transform_caps),
26654 (gst_base_transform_transform_size),
26655 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26656 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26657 (gst_base_transform_handle_buffer):
26658 * gst/base/gstbasetransform.h:
26659 Many fixes and new features added by Thomas. Can now also do
26660 transforms with variable sizes and a custom fixate_caps function.
26662 2005-08-24 Wim Taymans <wim@fluendo.com>
26664 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26668 Cast to ClockTime before formatting to time.
26673 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26675 * check/gst-libs/controller.c: (GST_START_TEST),
26676 (gst_controller_suite):
26677 * docs/gst/tmpl/gstcaps.sgml:
26678 * docs/gst/tmpl/gstghostpad.sgml:
26679 * docs/gst/tmpl/gstquery.sgml:
26680 * docs/gst/tmpl/gstutils.sgml:
26681 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26682 (gst_object_sink_values), (gst_object_get_value_arrays),
26683 (gst_object_get_value_array):
26684 gracefully handle helper method calls to objects that are not beeing
26685 controlled, added test case for that
26687 2005-08-23 Wim Taymans <wim@fluendo.com>
26689 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26690 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26691 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26692 (gst_event_parse_qos), (gst_event_new_seek),
26693 (gst_event_parse_seek):
26695 Some more debugging output and doc cleanups.
26697 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26698 Fix possible deadlock.
26700 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26702 * docs/gst/gstreamer-docs.sgml:
26703 * docs/gst/gstreamer-sections.txt:
26704 * docs/gst/gstreamer.types:
26705 * docs/gst/tmpl/.cvsignore:
26708 * gst/gstelement.c:
26710 added 100 symbols from gstreamer-unused.txt to the right sections
26711 fixed more broken comments
26712 added GstBus to docs
26714 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26716 * docs/gst/gstreamer-sections.txt:
26717 * docs/gst/tmpl/.cvsignore:
26718 * docs/gst/tmpl/gstbin.sgml:
26719 * docs/gst/tmpl/gstbuffer.sgml:
26720 * gst/base/gstbasesrc.c:
26721 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26724 * tools/gst-launch.1.in:
26725 inlined more doc comments, added missing comments and fixed comments
26728 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26730 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26734 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26736 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26737 * gst/gststructure.h:
26738 add a fixate function for booleans; add a FIXME that these func
26739 names should probably be gst_structure_fixate_*
26741 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26743 * docs/gst/gstreamer-docs.sgml:
26744 * docs/gst/gstreamer-sections.txt:
26746 * gst/gstbin.c: (gst_bin_get_type),
26747 (gst_bin_child_proxy_get_child_by_index),
26748 (gst_bin_child_proxy_get_children_count),
26749 (gst_bin_child_proxy_init):
26750 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26751 (gst_child_proxy_get_child_by_index),
26752 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26753 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26754 (gst_child_proxy_get), (gst_child_proxy_set_property),
26755 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26756 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26757 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26758 * gst/gstchildproxy.h:
26759 * gst/parse/grammar.y:
26760 * tools/gst-inspect.c: (print_interfaces),
26761 (print_element_properties_info), (print_element_info):
26762 ported gstchildproxy over from 0.8
26763 ported gst-inspect fixes and enhancements over from 0.8
26765 2005-08-22 Wim Taymans <wim@fluendo.com>
26767 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26768 (gst_base_transform_handle_buffer):
26769 Also call the transform function if we have ANY caps.
26771 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26774 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26776 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26777 Don't pretend to handle seek events if the source is not seekable
26779 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26782 Remove extra parameter to debug output
26784 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26785 (gst_base_src_do_seek), (gst_base_src_activate_push):
26786 Fix seek event handling.
26788 * gst/gstpipeline.c: (gst_pipeline_change_state):
26789 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26790 (gst_queue_src_activate_push):
26791 Don't start the src pad task on FLUSH_STOP if the pad
26795 2005-08-22 Wim Taymans <wim@fluendo.com>
26797 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26798 Added check for gst_static_caps_get() refcounting.
26800 2005-08-22 Wim Taymans <wim@fluendo.com>
26802 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26803 Make _static_caps_get() refcounting sane.
26805 * gst/gstelement.c: (gst_element_set_state):
26806 Add g_return_val_if_fail() to protect against segfaults.
26808 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26810 * docs/gst/tmpl/gstevent.sgml:
26813 inlined remaining docs, added missing doc comments
26815 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26817 * check/gst/gstbin.c: (GST_START_TEST):
26818 since we don't know when preroll is done, use refcount range
26820 * gst/check/gstcheck.h:
26821 add macro for checking refcount range
26823 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26825 * check/Makefile.am:
26826 clean up environment for when registry gets built versus
26827 when actual tests are run; valgrind seems to not report
26828 leaks if GST_PLUGIN_PATH is set to some specific values
26829 * check/gst/gstbin.c: (GST_START_TEST):
26830 add more refcounting checks; maybe this exposes a
26832 * common/check.mak:
26833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26834 * gst/check/gstcheck.h:
26835 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26836 (gst_bin_change_state):
26837 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26838 add/fix debugging/whitespace
26840 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26842 * check/gst/gstevent.c: (event_probe), (test_event),
26844 Er, don't call gst_bin_watch_for_state_change you idiot.
26846 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26848 * check/Makefile.am:
26849 Use CHECK_CFLAGS and CHECK_LIBS
26850 * check/gst/gstevent.c: (event_probe), (test_event),
26853 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26854 (gst_base_src_start), (gst_base_src_stop),
26855 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26856 (gst_base_src_change_state):
26857 Sprinkle gst_base_src_stop liberally around error paths to fix
26858 problems reusing a source after failed state changes.
26859 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26860 (helper_find_suggest), (gst_type_find_helper):
26861 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26863 * docs/gst/tmpl/gstevent.sgml:
26864 Migrate part of the docs from the SGML file. Wait for ensonic to
26865 tell me how I did it wrong ;)
26866 * tools/gst-typefind.c: (main):
26867 Extra robustness to state changes between files.
26869 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26871 * check/Makefile.am:
26872 don't valgrind the controller test - it's leaking - Stefan, HELP
26873 * gst/check/gstcheck.c: (gst_check_message_error),
26874 (gst_check_chain_func), (gst_check_setup_element),
26875 (gst_check_teardown_element), (gst_check_setup_src_pad),
26876 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26877 (gst_check_teardown_sink_pad):
26878 * gst/check/gstcheck.h:
26879 add a bunch of methods to set up elements, and src and sink pads
26880 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26881 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26884 * gst/gstmessage.c:
26886 whitespace/doc fixes
26888 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26890 * gst/gstelement.h:
26891 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26892 be handled by the application and not always printed as well
26894 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26896 * check/Makefile.am:
26898 * gst/check/gstcheck.c: (gst_check_message_error):
26899 * gst/check/gstcheck.h:
26900 add a fail_unless_equals_int
26901 add fail_unless for error messages
26903 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26905 * check/Makefile.am:
26907 * common/Makefile.am:
26908 * common/check.mak:
26910 factor out some of the common stuff so we can use it
26912 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26914 * check/Makefile.am:
26915 * check/gst/gstiterator.c: (GST_START_TEST):
26916 * check/gst/gstsystemclock.c: (GST_START_TEST),
26917 (gst_systemclock_suite):
26918 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26920 valgrind more tests
26922 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26924 * check/elements/.cvsignore:
26925 * check/elements/gstfakesrc.c:
26926 rename to name of element
26927 * check/elements/identity.c: (chain_func), (event_func),
26928 (setup_identity), (cleanup_identity), (GST_START_TEST),
26929 (identity_suite), (main):
26930 add a test for identity
26931 * check/Makefile.am:
26932 * pkgconfig/Makefile.am:
26933 * pkgconfig/gstreamer-check.pc.in:
26934 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26938 move the check stuff to a library that gets installed
26939 * check/gst-libs/controller.c: (GST_START_TEST):
26940 * check/gst-libs/gdp.c:
26941 * check/gst/gst.c: (GST_START_TEST):
26942 * check/gst/gstbin.c:
26943 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26944 * check/gst/gstbus.c:
26945 * check/gst/gstcaps.c: (GST_START_TEST):
26946 * check/gst/gstelement.c:
26947 * check/gst/gstghostpad.c:
26948 * check/gst/gstiterator.c:
26949 * check/gst/gstmessage.c:
26950 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26951 * check/gst/gstobject.c:
26952 * check/gst/gstpad.c: (GST_START_TEST):
26953 * check/gst/gststructure.c: (GST_START_TEST):
26954 * check/gst/gstsystemclock.c: (GST_START_TEST),
26955 (gst_systemclock_suite):
26956 * check/gst/gsttag.c: (gst_tag_suite):
26957 * check/gst/gstvalue.c:
26958 * check/pipelines/cleanup.c:
26959 * check/pipelines/simple_launch_lines.c:
26960 * check/states/sinks.c:
26961 change include statement
26963 * docs/gst/gstreamer-sections.txt:
26964 * docs/gst/tmpl/gstpad.sgml:
26965 document more pad stuff
26966 * gst/gstminiobject.c: (gst_mini_object_ref),
26967 (gst_mini_object_unref):
26970 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26972 * docs/gst/tmpl/gst.sgml:
26974 eliminate another tmpl file, fix spelling in the long-description
26976 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26978 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26979 (test_event), (timediff), (gstevents_suite):
26980 Should fix build on 64-bit arch's
26982 2005-08-18 Andy Wingo <wingo@pobox.com>
26984 Make sure that when a pipeline goes to PLAYING, that data has
26985 actually hit the sink.
26987 * check/states/sinks.c (test_sink): A sink that doesn't get any
26988 data shouldn't return SUCCESS for going to either PLAYING or
26989 PAUSED. Test also the return values on the way back down.
26991 * gst/gstelement.c (gst_element_set_state): When changing the
26992 state of an element currently changing state asynchronously, go to
26993 lost-state after commiting the pending state. Makes future calls
26994 to get_state continue to return ASYNC.
26996 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26997 ASYNC when going to PLAYING if we still don't have preroll, as can
26998 happen with live sources.
27000 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27002 * docs/pwg/advanced-types.xml:
27003 Hack long paragraph into 2 chunks as a workaround for buggy
27004 jadetex version in sid and breezy that loops infinitely and
27007 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27009 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27010 (test_event), (timediff), (gstevents_suite):
27011 Provide more error margin in clock measurements to allow for
27012 g_get_current_time inaccuracies.
27014 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27016 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27017 (test_event), (timediff), (gstevents_suite):
27018 Fix error message output so I might be able to tell why the
27019 test works here but fails on the build farm.
27021 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27023 * check/Makefile.am:
27024 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27025 (test_event), (timediff), (gstevents_suite), (main):
27028 * docs/design/part-seeking.txt:
27029 Spelling correction
27031 * docs/gst/tmpl/gstevent.sgml:
27032 * docs/gst/tmpl/gstfakesrc.sgml:
27035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27036 Treat a buffer-without-newsegment the same as a receiving
27037 a newsegment not in time format, and disable syncing to the clock
27040 * gst/gstbus.c: (gst_bus_set_sync_handler):
27041 Assert if anyone tries to replace the existing sync_handler for bus,
27042 as only the owner should be setting it.
27045 Have a fixed set of custom event enums with events identified by
27046 their structure name (as in 0.8), rather than a free-for-all
27047 allowing collisions between enum values from different plugins.
27049 * gst/gstpad.c: (gst_pad_class_init):
27052 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27053 Handle out-of-band downstream events from the sending thread.
27055 2005-08-17 Andy Wingo <wingo@pobox.com>
27057 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27058 play-timeout==0 to mean no timeout at all. In that case, don't
27059 bother with a get_state or a warning, just return directly, even
27062 * gst/base/gstbasetransform.c: Debug changes.
27065 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27066 ensure bins post state change messages. A bit of a hack but I can't
27067 think of a way to avoid it.
27069 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27071 2005-08-16 Andy Wingo <wingo@pobox.com>
27073 * gst/base/gstadapter.h:
27074 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27075 peek() but you own the data. Not terribly efficient atm.
27077 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27079 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27080 (gst_element_found_tags):
27082 Add two utility functions for tag handling.
27084 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27086 * docs/manual/advanced-dataaccess.xml:
27087 * docs/manual/basics-helloworld.xml:
27088 Fix docs to use _bin_add() before _link(), which fixes the examples
27089 with recent core versions (reported by Madhan Raj M
27090 <raj_madan@rediffmail.com>, #313199).
27092 2005-08-16 Wim Taymans <wim@fluendo.com>
27094 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27095 Added subtract checks.
27097 * docs/design/part-events.txt:
27098 Some more docs about newsegment
27100 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27103 * gst/gstcaps.c: (gst_caps_to_string):
27104 Add comments, cleanups.
27106 * gst/gstelement.c: (gst_element_save_thyself):
27109 * gst/gstvalue.c: (gst_value_collect_int_range),
27110 (gst_string_unwrap), (gst_value_union_int_int_range),
27111 (gst_value_union_int_range_int_range),
27112 (gst_value_intersect_int_int_range),
27113 (gst_value_intersect_int_range_int_range),
27114 (gst_value_intersect_double_double_range),
27115 (gst_value_intersect_double_range_double_range),
27116 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27117 (gst_value_subtract_int_range_int),
27118 (gst_value_subtract_double_range_double),
27119 (gst_value_subtract_double_range_double_range),
27120 (gst_value_subtract_from_list), (gst_value_subtract_list),
27121 (gst_value_can_compare), (gst_value_compare_fraction):
27122 Cleanups, add comments, remove unneeded asserts.
27124 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27126 * tools/gst-launch.c: (event_loop):
27127 don't convert NULL structures to strings
27129 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27131 * docs/gst/gstreamer-sections.txt:
27132 made some defines private
27133 * docs/gst/tmpl/gstconfig.sgml:
27134 * docs/gst/tmpl/gstqueue.sgml:
27135 * docs/gst/tmpl/gsttaglist.sgml:
27136 * docs/gst/tmpl/gsttypes.sgml:
27137 * docs/gst/tmpl/gstutils.sgml:
27138 * docs/pwg/appendix-porting.xml:
27139 * gst/base/gstbasesink.h:
27140 * gst/base/gstbasesrc.c:
27141 * gst/base/gstbasesrc.h:
27142 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27143 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27144 * gst/gstelement.c: (gst_element_class_init):
27145 * gst/gstpad.c: (gst_pad_class_init):
27146 * gst/gstqueue.c: (gst_queue_class_init):
27147 * gst/gstxml.c: (gst_xml_class_init):
27148 documented all undocumented signal inline
27149 * libs/gst/controller/gst-controller.h:
27152 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27154 * docs/pwg/appendix-porting.xml:
27155 Document _set_link_function -> _set_setcaps_function.
27157 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27159 * check/Makefile.am:
27160 add a .check target for running the check
27161 * check/gst-libs/controller.c: (GST_START_TEST):
27163 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27164 complete checks for gstbuffer; would be nice if I could get the
27165 gcov stuff to work so I can see if I actually completed gstbuffer.c
27166 * check/gstcheck.h:
27167 add ASSERT_BUFFER_REFCOUNT
27169 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27171 * docs/gst/gstreamer-sections.txt:
27172 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27174 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27175 spew out a warning if a tag that is already registered
27176 is re-registered, unless it is re-registered with a
27177 different type (#308438).
27179 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27181 * docs/pwg/appendix-porting.xml:
27182 * docs/pwg/building-state.xml:
27183 Add some paragraphs about state changes in 0.9 to the PWG
27184 and the porting guide, in particular about the new meaning
27185 of GST_STATE_PAUSED and how to write state change functions
27186 with concurrent access by multiple threads in mind.
27188 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27190 * docs/gst/gstreamer-docs.sgml:
27191 * docs/libs/gstreamer-libs-docs.sgml:
27192 added deprecation and since indexes
27193 * libs/gst/controller/gst-controller.c:
27194 * libs/gst/controller/gst-helper.c:
27198 2005-08-11 Wim Taymans <wim@fluendo.com>
27200 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27201 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27202 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27203 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27204 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27205 (gst_ghost_pad_set_target):
27206 Actually implement (re)setting the target on a ghostpad
27207 as described in the docs.
27209 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27211 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27212 Check whether GST_DEBUG_NO_COLOR environment variable is
27213 set and disable coloured debug output if that is the case.
27215 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27217 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27218 (gst_type_find_helper):
27219 The memory returned by gst_type_find_peek() needs to
27220 stay valid until the end of a typefind function, and
27221 typefind functions may keep results from different
27222 offsets around, so we can't just unref the buffer from
27223 the previous _peek(), but have to save all buffers
27224 returned by _peek() until typefinding is done and only
27227 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27229 * docs/gst/gstreamer-sections.txt:
27231 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27233 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27235 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27236 Fix a pretty good memleak.
27238 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27240 * gst/gstiterator.h:
27241 Fix wrong include and 'make distcheck'.
27243 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27245 * gst/gstbin.c: (bin_bus_handler):
27246 Use gst_element_post_message() instead.
27248 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27250 * gst/base/gstadapter.h:
27251 * gst/base/gstbasesink.h:
27252 * gst/base/gstbasesrc.h:
27253 * gst/base/gstbasetransform.h:
27254 * gst/base/gstcollectpads.h:
27255 * gst/base/gstpushsrc.h:
27256 * gst/gstiterator.h:
27257 Add padding to our base elements' class and instance structs and
27258 to GstIterator (you will need to rebuild all plugins and apps!)
27260 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27262 * gst/gstbin.c: (bin_bus_handler):
27263 Make default message forwarding from child->bus to bin->bus
27264 threadsafe and make it not emit warnings if the parent has no bus.
27266 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27268 * gst/gstelement.c: (activate_pads):
27269 On paused->ready, set pad->caps to NULL, as is the documented
27270 behaviour in this state change. Fixes playback of series of
27271 media files when visualization is enabled in Totem.
27273 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27275 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27276 Allow NULL as filter-caps (which means "any").
27278 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27280 * docs/libs/gstreamer-libs-sections.txt:
27281 * libs/gst/controller/gst-controller.c:
27282 * libs/gst/controller/gst-controller.h:
27283 * libs/gst/controller/gst-helper.c:
27284 adding more entries to the docs and fix small doc-bugs
27286 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27288 * docs/gst/gstreamer-docs.sgml:
27289 * docs/gst/gstreamer-sections.txt:
27290 * docs/gst/gstreamer.types:
27291 * docs/gst/tmpl/gstbasesink.sgml:
27292 * docs/gst/tmpl/gstbasesrc.sgml:
27293 * docs/gst/tmpl/gstbasetransform.sgml:
27294 * docs/gst/tmpl/gstfakesrc.sgml:
27295 * gst/base/gstcollectpads.c:
27296 * gst/base/gstcollectpads.h:
27297 * libs/gst/controller/gst-controller.c:
27298 * libs/gst/controller/gst-controller.h:
27299 * libs/gst/controller/gst-helper.c:
27300 * libs/gst/controller/gst-interpolation.c:
27301 * libs/gst/controller/lib.c:
27302 added long/short desc for controller docs
27303 added collectpads base class docs
27304 added correct includes to base-class docs
27306 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27308 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27309 (gst_test_mono_source_set_property),
27310 (gst_test_mono_source_class_init), (GST_START_TEST),
27311 (gst_controller_suite):
27312 * docs/gst/gstreamer-docs.sgml:
27313 * docs/gst/gstreamer-sections.txt:
27314 * docs/gst/gstreamer.types:
27315 * docs/libs/gstreamer-libs-docs.sgml:
27316 * docs/libs/gstreamer-libs-sections.txt:
27317 * gst/base/gstadapter.c:
27318 * libs/gst/controller/gst-controller.c:
27319 (gst_controlled_property_new), (gst_controlled_property_free),
27320 (gst_controller_new_valist),
27321 (gst_controller_remove_properties_valist),
27322 (gst_controller_sink_values), (_gst_controller_finalize):
27323 * libs/gst/controller/gst-controller.h:
27324 * libs/gst/controller/gst-helper.c:
27325 (gst_object_control_properties), (gst_object_uncontrol_properties),
27326 (gst_object_get_controller), (gst_object_set_controller),
27327 (gst_object_sink_values), (gst_object_get_value_arrays),
27328 (gst_object_get_value_array):
27329 more tests (and fixes) for the controller
27330 more docs for the controller
27331 integrated companies docs for the adapter
27333 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27335 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27336 (GST_START_TEST), (fakesrc_suite):
27337 add tests for sizetype
27339 2005-08-04 Andy Wingo <wingo@pobox.com>
27341 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27342 fixes buffer_alloc proxying among other things.
27344 * gst/base/gstbasetransform.c:
27345 * gst/base/gstbasetransform.h:
27346 Revert patch to gstbasetransform from 7-28 removing
27349 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27350 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27351 Semantics changed, should return not the size of the output buffer
27352 but the byte size of a buffer with a given caps.
27354 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27356 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27357 out) are not the pad caps until setcaps finishes.
27358 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27359 not-in-place case as well. Deal with changing from in-place to
27360 not-in-place within calling pad_alloc_buffer. Still a bit
27361 concerned about the overhead here...
27363 2005-08-03 Andy Wingo <wingo@pobox.com>
27365 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27366 fixating is an error.
27368 2005-08-04 Edward Hervey <edward@fluendo.com>
27370 * gst/base/gstadapter.h:
27371 Added gst_adapter_get_type() to the header
27373 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27375 * check/Makefile.am:
27376 * check/gst-libs/controller.c:
27377 * libs/gst/controller/gst-controller.c:
27378 (gst_controller_new_valist):
27379 added check test suite for the controller
27380 * gst/base/gstpushsrc.c:
27383 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27385 * docs/gst/Makefile.am:
27386 * docs/gst/gstreamer-docs.sgml:
27387 * docs/gst/gstreamer-sections.txt:
27388 * docs/gst/gstreamer.types:
27389 * docs/gst/tmpl/gstfakesrc.sgml:
27391 * gst/base/gstbasesink.c:
27392 * gst/base/gstbasesink.h:
27393 * gst/base/gstbasesrc.c:
27394 * gst/base/gstbasesrc.h:
27395 * gst/base/gstbasetransform.c:
27396 * gst/base/gstpushsrc.c:
27397 * gst/base/gstpushsrc.h:
27398 add short/long description docs to base classes
27399 add pushsrc to the docs
27400 remove consolidated doc fragments
27402 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27405 * docs/libs/Makefile.am:
27406 * docs/libs/gstreamer-libs-docs.sgml:
27407 * docs/libs/gstreamer-libs-sections.txt:
27408 * docs/libs/gstreamer-libs.types:
27409 * examples/Makefile.am:
27410 * examples/controller/.cvsignore:
27411 * examples/controller/Makefile.am:
27412 * examples/controller/audio-example.c: (main):
27413 * libs/gst/Makefile.am:
27414 * libs/gst/controller/.cvsignore:
27415 * libs/gst/controller/Makefile.am:
27416 * libs/gst/controller/gst-controller.c:
27417 (on_object_controlled_property_changed), (gst_timed_value_compare),
27418 (gst_timed_value_find),
27419 (gst_controlled_property_set_interpolation_mode),
27420 (gst_controlled_property_new), (gst_controlled_property_free),
27421 (gst_controller_find_controlled_property),
27422 (gst_controller_new_valist), (gst_controller_new),
27423 (gst_controller_remove_properties_valist),
27424 (gst_controller_remove_properties), (gst_controller_set),
27425 (gst_controller_set_from_list), (gst_controller_unset),
27426 (gst_controller_get), (gst_controller_get_all),
27427 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27428 (gst_controller_get_value_array),
27429 (gst_controller_set_interpolation_mode),
27430 (_gst_controller_finalize), (_gst_controller_init),
27431 (_gst_controller_class_init), (gst_controller_get_type):
27432 * libs/gst/controller/gst-controller.h:
27433 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27434 (g_object_uncontrol_properties), (g_object_get_controller),
27435 (g_object_set_controller), (g_object_sink_values),
27436 (g_object_get_value_arrays), (g_object_get_value_array):
27437 * libs/gst/controller/gst-interpolation.c:
27438 (gst_controlled_property_find_timed_value_node),
27439 (interpolate_none_get), (interpolate_trigger_get),
27440 (interpolate_trigger_get_value_array):
27441 * libs/gst/controller/lib.c: (gst_controller_init):
27442 * pkgconfig/Makefile.am:
27443 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27444 * pkgconfig/gstreamer-control.pc.in:
27445 * testsuite/Makefile.am:
27446 * testsuite/controller/.cvsignore:
27447 * testsuite/controller/Makefile.am:
27448 * testsuite/controller/interpolator.c: (main):
27449 added controller code
27450 removed dparam pc files
27452 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27453 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27454 (gst_collectpads_stop):
27455 Broadcast the condition when shutting down, to make sure we wake all
27456 threads up. Shut down pads on finalize, for safety.
27458 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27459 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27460 (gst_base_transform_handle_buffer),
27461 (gst_base_transform_change_state):
27462 Handle PAUSED->READY->PAUSED transition after negotiation
27464 * gst/gstmessage.c: (gst_message_init):
27465 Extra piece of debug for new messages.
27467 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27470 * docs/gst/tmpl/gstbasesrc.sgml:
27471 * docs/gst/tmpl/gstelement.sgml:
27472 * docs/gst/tmpl/gstevent.sgml:
27473 * docs/gst/tmpl/gstfakesrc.sgml:
27474 * docs/gst/tmpl/gstformat.sgml:
27475 * docs/gst/tmpl/gstghostpad.sgml:
27476 * docs/gst/tmpl/gstpad.sgml:
27477 * docs/gst/tmpl/gstquery.sgml:
27478 * docs/gst/tmpl/gststructure.sgml:
27479 * docs/gst/tmpl/gsttaglist.sgml:
27480 * docs/gst/tmpl/gstvalue.sgml:
27481 * docs/libs/gstreamer-libs-docs.sgml:
27482 * docs/libs/gstreamer-libs-sections.txt:
27483 * docs/libs/gstreamer-libs.types:
27484 * libs/gst/Makefile.am:
27485 * libs/gst/control/.cvsignore:
27486 * libs/gst/control/Makefile.am:
27487 * libs/gst/control/control.c:
27488 * libs/gst/control/control.h:
27489 * libs/gst/control/dparam.c:
27490 * libs/gst/control/dparam.h:
27491 * libs/gst/control/dparam_smooth.c:
27492 * libs/gst/control/dparam_smooth.h:
27493 * libs/gst/control/dparamcommon.h:
27494 * libs/gst/control/dparammanager.c:
27495 * libs/gst/control/dparammanager.h:
27496 * libs/gst/control/dplinearinterp.c:
27497 * libs/gst/control/dplinearinterp.h:
27498 * libs/gst/control/unitconvert.c:
27499 * libs/gst/control/unitconvert.h:
27500 * testsuite/Makefile.am:
27501 * testsuite/dynparams/.cvsignore:
27502 * testsuite/dynparams/Makefile.am:
27503 * testsuite/dynparams/dparamstest.c:
27504 * tools/Makefile.am:
27505 * tools/gst-inspect.c: (print_element_info), (main):
27506 * tools/gst-xmlinspect.c: (print_element_info), (main):
27507 deactivate and remove dparams (libgstcontrol)
27509 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27511 * gst/elements/gsttypefindelement.c:
27512 (gst_type_find_element_have_type), (gst_type_find_element_init),
27513 (stop_typefinding), (gst_type_find_element_handle_event),
27514 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27515 * gst/elements/gsttypefindelement.h:
27516 Set caps on all outgoing buffers, not just the first one.
27518 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27520 * gst/elements/gsttypefindelement.c:
27521 (gst_type_find_element_have_type),
27522 (gst_type_find_element_check_set_buffer_caps),
27523 (gst_type_find_element_init), (stop_typefinding),
27524 (gst_type_find_element_handle_event),
27525 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27526 * gst/elements/gsttypefindelement.h:
27527 Set caps on first outgoing buffer when we've found the type.
27529 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27531 * docs/gst/gstreamer-docs.sgml:
27532 * docs/gst/gstreamer-sections.txt:
27533 * docs/gst/tmpl/gstscheduler.sgml:
27534 * docs/gst/tmpl/gstschedulerfactory.sgml:
27535 Remove some old cruft from docs.
27537 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27540 Fix inline docs for GstPadLinkReturn.
27542 * gst/gststructure.c: (gst_structure_has_name):
27543 * gst/gststructure.h:
27544 * docs/gst/gstreamer-sections.txt:
27545 New API: gst_structure_has_name().
27547 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27550 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27551 and _LARGEFILE_SOURCE in config.h as required. Do not
27552 export those flags in our .pc files any longer (#142209).
27554 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27556 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27557 (gst_file_sink_do_seek), (gst_file_sink_event),
27558 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27559 Redo seek/tell calls with large file support in mind; add some
27560 debugging messages; add log message that tells us when large
27561 file support is unavailable or not enabled for some reason.
27563 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27564 Add log message that tells us when large file support
27565 is unavailable or not enabled for some reason.
27567 2005-07-29 Wim Taymans <wim@fluendo.com>
27569 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27570 Added test for removing an element with ghostpad from a bin.
27571 Fixed test as current implementation does the right thing.
27573 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27574 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27575 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27576 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27577 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27578 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27579 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27580 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27581 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27582 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27583 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27584 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27585 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27586 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27587 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27588 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27589 * gst/gstghostpad.h:
27590 Clean up ghostpads, remove properties for internal stuff.
27593 Prepare for switching targets, not all use cases work yet.
27595 2005-07-29 Wim Taymans <wim@fluendo.com>
27597 * docs/design/part-gstghostpad.txt:
27600 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27601 (gst_bin_remove_func):
27602 Unlinking pads while holding the bin LOCK is not a good
27605 * gst/gstpad.c: (gst_pad_class_init),
27606 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27607 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27608 No prob setting template after creating the pad.
27610 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27612 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27613 (gst_bus_peek), (gst_bus_source_dispatch),
27614 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27615 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27616 gst_bus_poll may be called from other threads. Handle
27617 this nicely by not making poll_data disappear off the
27618 stack once gst_bus_poll returns.
27619 gst_bus_peek now increments the refcount on the returned
27622 2005-07-29 Wim Taymans <wim@fluendo.com>
27624 * docs/design/part-gstghostpad.txt:
27625 Overview of current GhostPad datastructures and use
27626 cases for changing the target.
27628 2005-07-28 Wim Taymans <wim@fluendo.com>
27630 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27631 Added checks for hierarchy consistency whan adding linked
27634 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27635 Added check to test element scheduling without bin/pipeline.
27637 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27638 First add elements to bin, then link.
27640 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27641 (gst_bin_remove_func):
27642 Unlink pads from elements added/removed from bin to maintain
27643 hierarchy consistency.
27645 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27647 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27648 (gst_base_transform_handle_buffer):
27649 * gst/base/gstbasetransform.h:
27650 Remove broken delay_configure (fixes renegotiation of software
27651 scaling pipelines); remove some leftover printf()s.
27653 2005-07-28 Wim Taymans <wim@fluendo.com>
27655 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27656 Added some more tests for wrong hierarchy
27658 * docs/design/part-overview.txt:
27661 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27664 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27665 (gst_element_dispose):
27666 Some more cleanups.
27668 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27669 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27670 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27671 (gst_pad_set_caps), (gst_pad_send_event):
27672 Check for correct hierarchy when linking pads. Moving to
27673 strict requirement for ghostpads when linking elements in
27677 Clean ups. Added WRONG_HIERARCHY return value.
27679 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27681 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27682 Better debug if no transform is possible.
27684 2005-07-27 Wim Taymans <wim@fluendo.com>
27686 * docs/random/wtay/network-transp:
27687 Some old doc I had.
27689 2005-07-27 Wim Taymans <wim@fluendo.com>
27691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27692 (gst_dp_event_from_packet):
27693 Fix serialization of seek events.
27695 2005-07-27 Wim Taymans <wim@fluendo.com>
27697 * check/gst-libs/gdp.c: (GST_START_TEST):
27698 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27699 Fix compilation and fix event serialization.
27701 2005-07-27 Wim Taymans <wim@fluendo.com>
27704 * docs/design/part-TODO.txt:
27705 * docs/design/part-events.txt:
27708 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27709 (gst_base_sink_event), (gst_base_sink_do_sync),
27710 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27711 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27712 (gst_base_src_do_seek), (gst_base_src_event_handler),
27713 (gst_base_src_loop):
27714 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27715 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27716 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27717 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27718 (gst_base_transform_set_passthrough),
27719 (gst_base_transform_is_passthrough):
27720 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27721 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27727 * gst/gstelement.c: (gst_element_seek):
27728 * gst/gstelement.h:
27729 Update gst_element_seek.
27731 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27732 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27733 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27734 (gst_event_new_eos), (gst_event_new_newsegment),
27735 (gst_event_parse_newsegment), (gst_event_new_tag),
27736 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27737 (gst_event_parse_qos), (gst_event_new_seek),
27738 (gst_event_parse_seek), (gst_event_new_navigation):
27740 Make GstEvent use GstStructure. Add parsing code, make sure the
27741 API is sufficiently generic.
27742 Mark possible directions of events and serialization.
27744 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27745 (_gst_message_copy), (gst_message_new_segment_start),
27746 (gst_message_new_segment_done), (gst_message_new_custom),
27747 (gst_message_parse_segment_start),
27748 (gst_message_parse_segment_done):
27751 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27752 (gst_pad_set_caps), (gst_pad_send_event):
27753 Update for new events.
27754 Catch events sent in wrong directions.
27756 * gst/gstqueue.c: (gst_queue_link_src),
27757 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27758 (gst_queue_handle_src_query):
27763 Remove event code from this file.
27765 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27766 (gst_dp_event_from_packet):
27769 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27771 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27772 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27773 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27774 Make debugging actually useful.
27776 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27778 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27779 (gst_pad_fixate_caps):
27780 Implement default fixation once again, so that gst_pad_fixate()
27781 actually does anything at all. This probably needs to be some
27782 sort of a last resort, and use profile-based fixation first, but
27783 since that doesn't exist yet, this is the best we have. Fixes
27784 visualization in Totem.
27786 2005-07-22 Wim Taymans <wim@fluendo.com>
27788 * docs/design/part-events.txt:
27791 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27792 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27793 (gst_base_sink_activate_pull):
27794 Some more comments.
27796 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27797 (gst_fake_src_create):
27798 Fix handoff marshall.
27800 * gst/elements/gstidentity.c: (gst_identity_class_init),
27801 (gst_identity_transform_ip):
27802 We're a real inplace element.
27804 * gst/gstbus.c: (gst_bus_post):
27805 Added some comments.
27807 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27808 * tests/muxing/case1.c: (main):
27809 * tests/sched/dynamic-pipeline.c: (main):
27810 * tests/sched/interrupt1.c: (main):
27811 * tests/sched/interrupt2.c: (main):
27812 * tests/sched/interrupt3.c: (main):
27813 * tests/sched/runxml.c: (main):
27814 * tests/sched/sched-stress.c: (main):
27815 * tests/seeking/seeking1.c: (event_received), (main):
27816 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27818 * tests/threadstate/threadstate3.c: (main):
27819 * tests/threadstate/threadstate4.c: (main):
27820 * tests/threadstate/threadstate5.c: (main):
27823 2005-07-21 Wim Taymans <wim@fluendo.com>
27825 * docs/design/part-seeking.txt:
27826 Some small additions.
27828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27829 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27830 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27831 * gst/base/gstbasesink.h:
27832 discont values are gint64, handle the math correctly.
27834 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27835 Make the basesrc report error if the source pad is not linked.
27837 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27838 (gst_queue_loop), (gst_queue_handle_src_query),
27839 (gst_queue_src_activate_push):
27840 Make queue collect data even if the srcpad is not linked.
27841 Start pushing out data as soon as it is linked.
27843 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27845 Added gst_flow_get_name() to ease error reporting.
27847 2005-07-20 Wim Taymans <wim@fluendo.com>
27849 * gst/gstmessage.c: (gst_message_new_segment_start),
27850 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27851 (gst_message_parse_segment_done):
27852 * gst/gstmessage.h:
27853 Added a bunch of messages for advanced seeking.
27855 * gst/parse/grammar.y:
27856 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27857 (gst_dpman_state_changed):
27858 Fix some new-pad -> pad-added signals
27860 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27862 * docs/manual/appendix-porting.xml:
27863 * docs/pwg/appendix-porting.xml:
27864 Document new-pad/state-change signal renames and the FixedList
27867 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27869 * docs/manual/advanced-autoplugging.xml:
27870 * docs/manual/basics-helloworld.xml:
27871 * docs/manual/basics-pads.xml:
27872 * docs/random/ds/0.9-suggested-changes:
27873 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27874 * gst/gstelement.h:
27878 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27879 (gst_structure_parse_array), (gst_structure_parse_value):
27880 * gst/gstvalue.c: (gst_type_is_fixed),
27881 (gst_value_list_prepend_value), (gst_value_list_append_value),
27882 (gst_value_list_get_size), (gst_value_list_get_value),
27883 (gst_value_transform_array_string), (gst_value_serialize_array),
27884 (gst_value_deserialize_array), (gst_value_intersect_array),
27885 (gst_value_is_fixed), (_gst_value_initialize):
27887 GstElement::new-pad -> pad-added, GstElement::state-change ->
27888 state-changed, GstValueFixedList -> GstValueArray, add format and
27889 flags as their own arguments in gst_element_seek() (should improve
27890 "bindeability"), remove function generators since they don't work
27891 under a whole bunch of compilers (they were deprecated already
27894 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27896 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27897 (_gst_debug_register_funcptr):
27899 Fix illegal cast on some platforms (#309253).
27901 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27903 * gst/gstmessage.c: (gst_message_new_custom):
27904 * gst/gstmessage.h:
27905 Add _new_custom, make _new_application a macro to _new_custom.
27907 2005-07-20 Wim Taymans <wim@fluendo.com>
27909 * gst/base/gstbasesrc.c: (gst_base_src_init),
27910 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27911 * gst/base/gstbasesrc.h:
27912 Add a gboolean to decide when to push out a discont.
27914 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27915 (gst_queue_loop), (gst_queue_handle_src_query),
27916 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27917 (gst_queue_set_property), (gst_queue_get_property):
27920 * tests/threadstate/threadstate1.c: (main):
27921 Make a thread test compile and run... very silly..
27924 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27926 * docs/manual/appendix-porting.xml:
27927 Mention removal of libgstgconf-0.9.la and existence of gconf
27930 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27932 * docs/pwg/advanced-clock.xml:
27933 * docs/pwg/appendix-porting.xml:
27934 * docs/pwg/intro-preface.xml:
27935 * docs/pwg/other-base.xml:
27936 * docs/pwg/other-manager.xml:
27937 * docs/pwg/other-nton.xml:
27938 * docs/pwg/other-ntoone.xml:
27939 * docs/pwg/other-oneton.xml:
27940 * docs/pwg/pwg.xml:
27941 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27942 demuxer), remove n-to-n (was never written), fix some code examples
27943 and links and update the porting section to include all this.
27945 2005-07-19 Wim Taymans <wim@fluendo.com>
27947 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27948 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27949 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27950 (gst_queue_src_activate_push), (gst_queue_change_state),
27951 (gst_queue_get_property):
27953 Propagate GstFlowReturn more intelligently upstream and output
27954 an ERROR/EOS when streaming stopped due to fatal error.
27956 2005-07-19 Wim Taymans <wim@fluendo.com>
27958 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27959 Don't block forever for the state change to complete, the
27960 pipeline already did with a sensible timeout.
27962 2005-07-19 Wim Taymans <wim@fluendo.com>
27964 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27965 Make sure we never call the create function is we
27968 2005-07-19 Andy Wingo <wingo@pobox.com>
27970 * gst/parse/parse.l: Attempt to solve bug #172815.
27972 2005-07-19 Wim Taymans <wim@fluendo.com>
27974 * docs/design/part-clocks.txt:
27975 * docs/design/part-events.txt:
27976 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27977 Small docs updates.
27978 Only update the seeking values when we are not
27981 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27983 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27984 Oops, ignore the result of gst_pad_push_event here.
27986 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27988 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27989 (gst_base_src_activate_push):
27990 Send discont event from the loop function, as pads
27991 aren't activated yet in the activate_push handler.
27993 * gst/gstbin.c: (bin_bus_handler):
27994 Don't leak element name.
27996 2005-07-18 Andy Wingo <wingo@pobox.com>
27998 * configure.ac: Use AS_LIBTOOL_TAGS.
28000 2005-07-18 Wim Taymans <wim@fluendo.com>
28002 * docs/gst/gstreamer.types:
28003 Remove deleted types.
28005 2005-07-18 Wim Taymans <wim@fluendo.com>
28007 * check/elements/gstfakesrc.c: (GST_START_TEST):
28010 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28011 (init_popt_callback):
28013 * gst/gst_private.h:
28014 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28015 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28018 * gst/gstconfig.h.in:
28019 * gst/gstelement.c: (gst_element_class_init),
28020 (gst_element_set_base_time), (gst_element_get_base_time),
28021 (iterator_fold_with_resync), (gst_element_change_state),
28022 (gst_element_dispose), (gst_element_get_bus):
28023 * gst/gstelement.h:
28024 * gst/gstelementfactory.h:
28025 * gst/gsterror.c: (_gst_core_errors_init):
28028 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28030 * gst/gstinfo.c: (_gst_debug_init):
28031 * gst/gstmessage.c: (_gst_message_copy):
28032 * gst/gstmessage.h:
28033 * gst/gstminiobject.h:
28036 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28037 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28040 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28041 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28042 (gst_pipeline_get_last_stream_time):
28043 * gst/gstpipeline.h:
28044 * gst/gstpluginfeature.h:
28046 * gst/gstscheduler.c:
28047 * gst/gstscheduler.h:
28048 * gst/gststructure.h:
28049 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28050 (gst_task_finalize), (gst_task_func), (gst_task_create),
28051 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28052 (gst_task_stop), (gst_task_pause):
28054 * gst/gsttypefind.h:
28056 * gst/registries/gstlibxmlregistry.c: (load_feature),
28057 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28058 * gst/registries/gstxmlregistry.c:
28059 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28060 * gst/schedulers/threadscheduler.c:
28061 * libs/gst/control/dparammanager.h:
28062 * tools/gst-inspect.c: (print_element_list),
28063 (print_plugin_features), (print_element_features):
28064 * tools/gst-xmlinspect.c: (print_element_list),
28065 (print_plugin_info), (main):
28066 Removed plugable schedulers.
28067 Removed Scheduler/Manager from elements.
28068 Removed gsttypes.h, rearranged includes.
28069 Removed dependency pad<->element, element<>pipeline, and
28070 various others, fix includes.
28071 implement gst_pad_get_parent() with gst_object_get_parent()
28072 Make GstTask sefcontained.
28073 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28075 Fix endless loop in iterator_fold_with_resync.
28078 2005-07-18 Wim Taymans <wim@fluendo.com>
28084 2005-07-18 Wim Taymans <wim@fluendo.com>
28087 No more cothreads.h
28089 2005-07-18 Wim Taymans <wim@fluendo.com>
28093 Let's remove these.
28095 2005-07-18 Wim Taymans <wim@fluendo.com>
28097 * docs/design/part-dynamic.txt:
28098 * docs/design/part-events.txt:
28099 * docs/design/part-seeking.txt:
28100 Some more docs in the works.
28102 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28103 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28104 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28105 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28106 (gst_base_transform_handle_buffer),
28107 (gst_base_transform_sink_activate_push),
28108 (gst_base_transform_src_activate_pull),
28109 (gst_base_transform_set_passthrough),
28110 (gst_base_transform_is_passthrough):
28113 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28116 * gst/gstevent.c: (gst_event_finalize):
28119 * gst/gstutils.c: (gst_element_unlink),
28120 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28121 (gst_pad_proxy_setcaps):
28123 Add _get_parent_element() to get a pads parent as an element.
28125 2005-07-18 Wim Taymans <wim@fluendo.com>
28127 * check/gst/gstbin.c: (GST_START_TEST):
28130 2005-07-18 Wim Taymans <wim@fluendo.com>
28132 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28133 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28134 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28135 (gst_base_sink_event), (gst_base_sink_do_sync),
28136 (gst_base_sink_chain), (gst_base_sink_loop),
28137 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28138 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28140 Fix logic for returning ASYNC when not prerolled.
28142 2005-07-18 Wim Taymans <wim@fluendo.com>
28144 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28145 Fix nasty refcount bug.
28147 2005-07-16 Philippe Khalaf <burger@speedy.org>
28149 * gst/elements/gstfdsrc.c:
28150 * gst/elements/gstfdsrc.h:
28151 * gst/elements/gstelements.c:
28152 * gst/elements/Makefile.am:
28153 Ported fdsrc to 0.9.
28155 2005-07-16 Wim Taymans <wim@fluendo.com>
28157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28158 (gst_base_sink_do_sync):
28161 2005-07-16 Wim Taymans <wim@fluendo.com>
28163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28164 (gst_base_sink_event), (gst_base_sink_get_times),
28165 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28166 * gst/base/gstbasesink.h:
28167 Store and use discont values when syncing buffers as described
28170 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28171 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28172 (gst_base_src_activate_push):
28173 Push discont event when starting.
28175 * gst/elements/gstidentity.c: (gst_identity_transform):
28178 * gst/gstbin.c: (gst_bin_change_state):
28179 Small cleanups in base_time distribution.
28181 * gst/gstelement.c: (gst_element_set_base_time),
28182 (gst_element_get_base_time), (gst_element_change_state):
28183 * gst/gstelement.h:
28184 Added methods for the base_time of the element.
28187 * gst/gstpipeline.c: (gst_pipeline_send_event),
28188 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28189 (gst_pipeline_get_last_stream_time):
28190 * gst/gstpipeline.h:
28192 Handle seeking as described in design doc, remove stream_time
28194 Cleanups clock and stream_time selection code. Added accessors
28195 for the stream_time.
28198 2005-07-16 Andy Wingo <wingo@pobox.com>
28200 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28203 2005-07-16 Wim Taymans <wim@fluendo.com>
28205 * check/gst/gstbin.c: (GST_START_TEST):
28206 Make elements silent as the deep_notify refs the
28207 parent, which might make the test fail.
28209 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28210 Don't hold the lock for too long.
28212 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28214 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28215 Don't unref the caps we passed to gst_caps_make_writable() after
28216 passing them. gst_caps_make_writable() will do that for us.
28218 2005-07-15 Andy Wingo <wingo@pobox.com>
28220 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28223 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28224 own marshalling function for the handoff signal. Properly type the
28225 buffer as a buffer. Fixes some warnings. Should do a more general
28227 (gst_identity_class_init): Plug into the right marshaller.
28229 2005-07-15 Wim Taymans <wim@fluendo.com>
28231 * docs/design/part-TODO.txt:
28232 * docs/design/part-clocks.txt:
28233 * docs/design/part-element-sink.txt:
28234 * docs/design/part-events.txt:
28235 * docs/design/part-gstpipeline.txt:
28236 Updated docs, mostly DISCONT related.
28238 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28240 * docs/pwg/building-pads.xml:
28241 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28243 2005-07-15 Andy Wingo <wingo@pobox.com>
28245 * tools/gst-typefind.c: Update, add copyright block.
28247 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28248 Normalize and truncate caps before fixation.
28251 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28252 discards all but the first structure from its argument.
28254 2005-07-15 Wim Taymans <wim@fluendo.com>
28256 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28257 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28258 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28259 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28260 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28261 (gst_base_transform_chain), (gst_base_transform_change_state),
28262 (gst_base_transform_set_passthrough),
28263 (gst_base_transform_is_passthrough):
28264 * gst/base/gstbasetransform.h:
28265 Make passthrough work using the bufferpools.
28266 Changed API a bit, subclasses have to write into a buffer
28267 provided by the base class.
28268 More debug info in nego functions.
28270 * gst/elements/gstidentity.c: (gst_identity_init),
28271 (gst_identity_transform):
28272 Port to new base class.
28274 2005-07-15 Wim Taymans <wim@fluendo.com>
28276 * gst/gstmessage.c: (gst_message_new_state_changed):
28277 * tools/gst-launch.c: (event_loop), (main):
28278 Totally dump messages in -launch with the -m option.
28279 Fix message name for State messages,
28281 2005-07-14 Wim Taymans <wim@fluendo.com>
28283 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28284 Post error messages on errors.
28286 2005-07-14 Wim Taymans <wim@fluendo.com>
28288 * gst/gstcaps.c: (gst_caps_do_simplify):
28292 Define error for stream stopped.
28294 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28295 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28296 Do proper return values.
28298 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28299 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28300 (gst_pad_get_range):
28301 Better return values.
28304 Reorganise return values, add macro to check for fatal errors.
28306 * gst/gstqueue.c: (gst_queue_chain):
28307 Return proper GstFlowReturn values,
28309 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28311 * docs/gst/gstreamer-sections.txt:
28312 * docs/gst/gstreamer.types:
28313 * docs/gst/tmpl/gst.sgml:
28314 * docs/gst/tmpl/gstbasesink.sgml:
28315 * docs/gst/tmpl/gstbasesrc.sgml:
28316 * docs/gst/tmpl/gstbasetransform.sgml:
28317 * docs/gst/tmpl/gstbin.sgml:
28318 * docs/gst/tmpl/gstbuffer.sgml:
28319 * docs/gst/tmpl/gstcaps.sgml:
28320 * docs/gst/tmpl/gstclock.sgml:
28321 * docs/gst/tmpl/gstcompat.sgml:
28322 * docs/gst/tmpl/gstconfig.sgml:
28323 * docs/gst/tmpl/gstelement.sgml:
28324 * docs/gst/tmpl/gstelementdetails.sgml:
28325 * docs/gst/tmpl/gstelementfactory.sgml:
28326 * docs/gst/tmpl/gstenumtypes.sgml:
28327 * docs/gst/tmpl/gsterror.sgml:
28328 * docs/gst/tmpl/gstevent.sgml:
28329 * docs/gst/tmpl/gstfakesink.sgml:
28330 * docs/gst/tmpl/gstfakesrc.sgml:
28331 * docs/gst/tmpl/gstfilesink.sgml:
28332 * docs/gst/tmpl/gstfilesrc.sgml:
28333 * docs/gst/tmpl/gstfilter.sgml:
28334 * docs/gst/tmpl/gstformat.sgml:
28335 * docs/gst/tmpl/gstghostpad.sgml:
28336 * docs/gst/tmpl/gstimplementsinterface.sgml:
28337 * docs/gst/tmpl/gstindex.sgml:
28338 * docs/gst/tmpl/gstindexfactory.sgml:
28339 * docs/gst/tmpl/gstinfo.sgml:
28340 * docs/gst/tmpl/gstiterator.sgml:
28341 * docs/gst/tmpl/gstmacros.sgml:
28342 * docs/gst/tmpl/gstmemchunk.sgml:
28343 * docs/gst/tmpl/gstminiobject.sgml:
28344 * docs/gst/tmpl/gstobject.sgml:
28345 * docs/gst/tmpl/gstpad.sgml:
28346 * docs/gst/tmpl/gstpadtemplate.sgml:
28347 * docs/gst/tmpl/gstparse.sgml:
28348 * docs/gst/tmpl/gstpipeline.sgml:
28349 * docs/gst/tmpl/gstplugin.sgml:
28350 * docs/gst/tmpl/gstpluginfeature.sgml:
28351 * docs/gst/tmpl/gstquery.sgml:
28352 * docs/gst/tmpl/gstqueue.sgml:
28353 * docs/gst/tmpl/gstregistry.sgml:
28354 * docs/gst/tmpl/gstregistrypool.sgml:
28355 * docs/gst/tmpl/gstscheduler.sgml:
28356 * docs/gst/tmpl/gstschedulerfactory.sgml:
28357 * docs/gst/tmpl/gststructure.sgml:
28358 * docs/gst/tmpl/gstsystemclock.sgml:
28359 * docs/gst/tmpl/gsttaglist.sgml:
28360 * docs/gst/tmpl/gsttagsetter.sgml:
28361 * docs/gst/tmpl/gsttrace.sgml:
28362 * docs/gst/tmpl/gsttrashstack.sgml:
28363 * docs/gst/tmpl/gsttypefind.sgml:
28364 * docs/gst/tmpl/gsttypefindfactory.sgml:
28365 * docs/gst/tmpl/gsttypes.sgml:
28366 * docs/gst/tmpl/gsturihandler.sgml:
28367 * docs/gst/tmpl/gsturitype.sgml:
28368 * docs/gst/tmpl/gstutils.sgml:
28369 * docs/gst/tmpl/gstvalue.sgml:
28370 * docs/gst/tmpl/gstversion.sgml:
28371 * docs/gst/tmpl/gstxml.sgml:
28372 * docs/libs/tmpl/gstcontrol.sgml:
28373 * docs/libs/tmpl/gstdataprotocol.sgml:
28374 * docs/libs/tmpl/gstdparam.sgml:
28375 * docs/libs/tmpl/gstdplinint.sgml:
28376 * docs/libs/tmpl/gstdpman.sgml:
28377 * docs/libs/tmpl/gstdpsmooth.sgml:
28378 * docs/libs/tmpl/gstgetbits.sgml:
28379 * docs/libs/tmpl/gstunitconvert.sgml:
28380 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28381 (gst_push_src_base_init), (gst_push_src_class_init),
28382 (gst_push_src_init), (gst_push_src_create):
28383 * gst/base/gstpushsrc.h:
28384 * gst/elements/gstelements.c:
28385 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28386 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28387 (gst_fake_sink_init), (gst_fake_sink_set_property),
28388 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28389 (gst_fake_sink_event), (gst_fake_sink_preroll),
28390 (gst_fake_sink_render), (gst_fake_sink_change_state):
28391 * gst/elements/gstfakesink.h:
28392 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28393 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28394 (gst_fake_src_base_init), (gst_fake_src_class_init),
28395 (gst_fake_src_init), (gst_fake_src_event_handler),
28396 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28397 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28398 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28399 (gst_fake_src_create_buffer), (gst_fake_src_create),
28400 (gst_fake_src_start), (gst_fake_src_stop):
28401 * gst/elements/gstfakesrc.h:
28402 * gst/elements/gstfilesink.c: (_do_init),
28403 (gst_file_sink_base_init), (gst_file_sink_class_init),
28404 (gst_file_sink_init), (gst_file_sink_dispose),
28405 (gst_file_sink_set_location), (gst_file_sink_set_property),
28406 (gst_file_sink_get_property), (gst_file_sink_open_file),
28407 (gst_file_sink_close_file), (gst_file_sink_query),
28408 (gst_file_sink_event), (gst_file_sink_render),
28409 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28410 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28411 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28412 * gst/elements/gstfilesink.h:
28413 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28414 (gst_file_src_class_init), (gst_file_src_init),
28415 (gst_file_src_finalize), (gst_file_src_set_location),
28416 (gst_file_src_set_property), (gst_file_src_get_property),
28417 (gst_file_src_map_region), (gst_file_src_map_small_region),
28418 (gst_file_src_create_mmap), (gst_file_src_create_read),
28419 (gst_file_src_create), (gst_file_src_is_seekable),
28420 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28421 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28422 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28423 (gst_file_src_uri_handler_init):
28424 * gst/elements/gstfilesrc.h:
28425 more autistic cleanliness in functions/names/defines
28427 2005-07-13 Andy Wingo <wingo@pobox.com>
28429 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28430 source couldn't negotiate.
28432 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28436 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28437 function. I am channeling Hades. Put your boots on suckers!!!
28439 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28441 * testsuite/caps/Makefile.am:
28442 * testsuite/caps/value_compare.c:
28443 * testsuite/caps/value_intersect.c:
28444 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28445 move two testsuite apps over to the check dir
28447 2005-07-12 Wim Taymans <wim@fluendo.com>
28449 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28450 Added more debug info in the negotiate process.
28452 * gst/gstmessage.h:
28453 Prepare for segment playback.
28455 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28461 * tools/gst-launch.c: (main):
28462 NULL pipeline on errors.
28464 2005-07-12 Andy Wingo <wingo@pobox.com>
28466 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28467 not it comes from a malloc region. Make sure our copy gets freed.
28469 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28471 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28472 * check/gst/gstmessage.c: (GST_START_TEST):
28473 * check/gst/gststructure.c: (GST_START_TEST),
28474 (gst_structure_suite), (main):
28476 * gst/gstelement.c: (gst_element_message_full):
28477 clean up GError and debug string now that they get copied
28478 * gst/gstmessage.c: (gst_message_new_error),
28479 (gst_message_new_warning), (gst_message_parse_error),
28480 (gst_message_parse_warning):
28481 use GST_TYPE_G_ERROR for structure_new, and take copies of
28482 arguments, so that we don't mess up refcounting
28484 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28486 * check/Makefile.am:
28487 add per-test valgrind targets
28488 * check/gst-libs/gdp.c: (GST_START_TEST),
28489 (gst_data_protocol_suite), (main):
28492 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28494 * check/Makefile.am:
28495 instate more valgrindable tests
28496 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28497 (GST_START_TEST), (fakesrc_suite):
28498 * check/gst/gstpad.c: (GST_START_TEST):
28499 * check/gst/gststructure.c: (GST_START_TEST):
28501 * docs/gst/tmpl/gstminiobject.sgml:
28502 * gst/gstpad.c: (gst_pad_finalize):
28503 fix the static mutex leak
28505 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28507 * check/Makefile.am:
28508 add two more tests for valgrinding
28509 * check/gst/gstvalue.c: (GST_START_TEST):
28510 test refcount of deserialized buffer, found a leak
28511 * docs/gst/gstreamer-docs.sgml:
28512 * docs/gst/gstreamer-sections.txt:
28513 * docs/gst/gstreamer.types:
28514 * docs/gst/tmpl/gstminiobject.sgml:
28515 add miniobject to docs
28516 * gst/gstminiobject.c:
28518 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28519 (gst_string_unwrap):
28520 fix a hard-to-find invalid write for one of the tests
28521 fix a leak for deserialized buffers
28523 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28525 * docs/pwg/advanced-events.xml:
28526 * docs/pwg/advanced-request.xml:
28527 * docs/pwg/advanced-scheduling.xml:
28528 * docs/pwg/appendix-porting.xml:
28529 * docs/pwg/building-boiler.xml:
28530 * docs/pwg/intro-preface.xml:
28531 * docs/pwg/other-ntoone.xml:
28532 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28533 of example code and explanation for pad activation, loop() and
28534 getrange() functions and a bit more. Remove old comments pointing
28536 * examples/pwg/Makefile.am:
28537 Add loop/getrange examples.
28539 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28542 check for valgrind binary + some fixes
28544 valgrind suppressions for the tests
28545 * check/Makefile.am:
28546 add a valgrind: target that valgrinds the unit tests
28547 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28548 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28549 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28550 * check/gst/gstghostpad.c:
28552 * check/gst/gstdata.c:
28554 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28555 (thread_unref), (gst_mini_object_suite), (main):
28557 * gst/gst.c: (gst_deinit):
28559 add a method to clean up.
28560 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28561 (gst_system_clock_obtain):
28562 allow for disposing the system clock.
28563 * tools/gst-launch.c: (main):
28566 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28568 * docs/gst/tmpl/gstbasesrc.sgml:
28569 * docs/gst/tmpl/gstfakesrc.sgml:
28570 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28571 (gst_base_src_init), (gst_base_src_set_property),
28572 (gst_base_src_get_property), (gst_base_src_get_range),
28573 (gst_base_src_start):
28574 * gst/base/gstbasesrc.h:
28575 add num-buffers property
28576 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28577 (gst_fakesrc_init), (gst_fakesrc_set_property),
28578 (gst_fakesrc_get_property), (gst_fakesrc_create),
28579 (gst_fakesrc_start):
28580 remove num-buffers property
28582 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28584 * docs/gst/gstreamer-sections.txt:
28585 * docs/gst/tmpl/gstbasesink.sgml:
28586 * docs/gst/tmpl/gstbasesrc.sgml:
28587 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28588 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28589 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28590 (gst_base_sink_set_property), (gst_base_sink_get_property),
28591 (gst_base_sink_handle_object), (gst_base_sink_event),
28592 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28593 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28594 (gst_base_sink_loop), (gst_base_sink_deactivate),
28595 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28596 (gst_base_sink_change_state):
28597 * gst/base/gstbasesink.h:
28598 * gst/base/gstbasesrc.h:
28599 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28600 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28601 (gst_filesink_init):
28602 more macro splitting
28604 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28606 * gst/gstelement.c: (gst_element_get_bus):
28608 * tools/gst-launch.c: (check_intr), (event_loop):
28611 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28613 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28616 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28618 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28619 (gst_base_src_finalize):
28620 add finalize method and clean up properly
28621 * gst/gstpipeline.c: (gst_pipeline_dispose):
28624 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28626 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28628 add more things to check
28629 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28630 * gst/gstelement.c:
28633 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28635 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28636 (GST_START_TEST), (fakesrc_suite):
28637 * check/gst-libs/gdp.c: (GST_START_TEST):
28638 * check/gst/gst.c: (GST_START_TEST):
28639 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28640 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28641 * check/gst/gstbus.c: (GST_START_TEST):
28642 * check/gst/gstcaps.c: (GST_START_TEST):
28643 * check/gst/gstdata.c: (GST_START_TEST):
28644 * check/gst/gstelement.c: (GST_START_TEST):
28645 * check/gst/gstghostpad.c: (GST_START_TEST):
28646 * check/gst/gstiterator.c: (GST_START_TEST):
28647 * check/gst/gstmessage.c: (GST_START_TEST):
28648 * check/gst/gstobject.c: (GST_START_TEST):
28649 * check/gst/gstpad.c: (GST_START_TEST):
28650 * check/gst/gststructure.c: (GST_START_TEST):
28651 * check/gst/gstsystemclock.c: (GST_START_TEST),
28652 (gst_systemclock_suite):
28653 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28654 * check/gst/gstvalue.c: (GST_START_TEST):
28655 * check/pipelines/cleanup.c: (GST_START_TEST):
28656 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28657 * check/states/sinks.c: (GST_START_TEST):
28658 * check/gstcheck.c: (gst_check_init):
28659 * check/gstcheck.h:
28660 add debugging category
28661 use GST_START_TEST now, so we add a debug line
28663 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28665 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28666 add test for state change message on a bin
28667 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28669 * gst/gstbin.c: (gst_bin_init):
28670 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28671 * gst/gstelement.c: (gst_element_post_message),
28672 (gst_element_set_state):
28673 * gst/gstelementfactory.c: (gst_element_factory_create):
28674 * gst/gstmessage.c: (gst_message_new):
28675 * gst/gstscheduler.c:
28676 various debugging additions and cleanups
28678 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28680 * check/Makefile.am:
28681 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28683 adding tests for elements
28684 * gst/gstelement.c: (gst_element_dispose):
28686 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28688 * gst/registries/gstlibxmlregistry.c: (load_feature):
28689 plug more leaks. A simple gst_init() now is leakfree, yay.
28691 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28693 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28694 (gst_xml_registry_load):
28695 plug another memleak
28697 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28700 use GST_SET_ERROR_CFLAGS
28701 * docs/faq/cvs.xml:
28702 change to ERROR_CFLAGS
28704 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28707 make GST_ERROR_CFLAGS overridable and re-enable Werror
28708 * docs/faq/cvs.xml:
28709 add a note about error CFLAGS
28710 * docs/gst/tmpl/gstfakesrc.sgml:
28711 * gst/elements/gstfakesrc.c:
28712 comment out some unused code
28713 * gst/gst.c: (split_and_iterate):
28714 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28718 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28720 * common/Makefile.am:
28721 * common/gtk-doc.mak:
28722 * docs/gst/Makefile.am:
28723 factor out gtk-doc.mak
28725 2005-07-07 Wim Taymans <wim@fluendo.com>
28727 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28728 (gst_thread_scheduler_dispose):
28729 Unlock the STREAM_LOCK completely.
28731 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28733 * check/Makefile.am:
28734 * check/elements/.cvsignore:
28735 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28736 (START_TEST), (fakesrc_suite), (main):
28737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28738 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28739 (gst_fakesrc_create), (gst_fakesrc_start):
28740 * gst/elements/gstfakesrc.h:
28741 adding a first element test
28743 2005-07-07 Andy Wingo <wingo@pobox.com>
28745 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28748 2005-07-07 Wim Taymans <wim@fluendo.com>
28754 2005-07-07 Wim Taymans <wim@fluendo.com>
28756 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28757 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28758 Allow subclasses to implement their own negotiation.
28760 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28762 * docs/design/part-gstbin.txt:
28763 * docs/design/part-gstpipeline.txt:
28764 Update design notes to reflect the movement of
28765 responsibility for bus handling from GstPipeline to
28768 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28771 Remove unnecessary queue2/3/4 examples.
28773 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28775 * examples/Makefile.am:
28776 * examples/helloworld/helloworld.c: (event_loop), (main):
28777 * examples/queue/queue.c: (event_loop), (main):
28778 * examples/queue2/queue2.c: (main):
28779 Update a couple of the examples to work again.
28781 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28782 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28783 Spelling corrections and extra debug.
28785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28786 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28787 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28789 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28790 (gst_pipeline_change_state):
28791 * gst/gstpipeline.h:
28792 Move the bus handler for children to the GstBin, and create a
28793 separate bus for receiving messages from children to the one the
28794 bus sends 'upwards' on.
28796 2005-07-06 Wim Taymans <wim@fluendo.com>
28799 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28800 (gst_base_sink_handle_object), (gst_base_sink_loop),
28801 (gst_base_sink_change_state):
28802 * gst/base/gstbasesink.h:
28803 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28804 (gst_base_src_init), (gst_base_src_setcaps),
28805 (gst_base_src_getcaps), (gst_base_src_loop),
28806 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28807 (gst_base_src_start), (gst_base_src_change_state):
28808 * gst/base/gstbasesrc.h:
28809 Make basesrc negotiate.
28810 Handle the case where preroll fails in basesink.
28813 2005-07-06 Wim Taymans <wim@fluendo.com>
28815 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28816 Implement the fixate function.
28817 Clean up acceptcaps.
28819 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28821 * docs/pwg/building-filterfactory.xml:
28822 * docs/pwg/pwg.xml:
28823 Remove never-written filter-factory chapter; I'll add the various
28824 base classes to part 4 ("other element types") later on.
28826 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28828 * docs/pwg/advanced-negotiation.xml:
28829 * docs/pwg/building-boiler.xml:
28830 * docs/pwg/building-pads.xml:
28831 * docs/pwg/pwg.xml:
28832 * examples/pwg/Makefile.am:
28833 Add a chapter on caps negotiation, simplify the original code
28834 samples a bit w.r.t. caps negotiation, add link to the advanced
28835 section. Add a bunch of examples showing different use cases of
28836 different types of caps negotiation. Upstream renegotiation isn't
28837 fully documented yet since nobody knows how that works.
28839 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28841 * check/gst/gstpad.c:
28842 * check/gstcheck.c:
28843 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28844 if pad has no parent, return NULL as list of internal links
28846 2005-07-05 Andy Wingo <wingo@pobox.com>
28848 * gst/elements/gstfilesrc.c:
28849 * gst/elements/gstfakesrc.c:
28850 * gst/base/gstpushsrc.c:
28851 * gst/base/gstbasesrc.h:
28852 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28854 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28857 better report generation target (lcov needs a patch)
28859 2005-07-05 Andy Wingo <wingo@pobox.com>
28861 * gst/elements, testsuite: Null if we got it...
28863 2005-07-05 Wim Taymans <wim@fluendo.com>
28866 * libs/gst/dataprotocol/Makefile.am:
28867 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28868 * libs/gst/dataprotocol/dataprotocol.h:
28869 * pkgconfig/Makefile.am:
28870 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28871 * pkgconfig/gstreamer-dataprotocol.pc.in:
28872 Ported dataprotol to 0.9.
28873 Added pkgconfig files.
28875 2005-07-05 Andy Wingo <wingo@pobox.com>
28877 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28878 Default to returning TRUE for the case when tranform_caps returns
28879 a fixed caps, like for identity or volume.
28881 * check/gst/gstbus.c (pound_bus_with_messages):
28882 * check/gst/gstmessage.c (START_TEST):
28883 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28884 message API change.
28886 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28887 logic weaks here: always run transform_caps, trying passthrough
28888 operation only if the original caps intersects with the transform.
28890 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28891 source and sink caps.
28893 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28894 Intersect the peer caps with the pad template before going into
28896 (gst_base_transform_transform_caps): More debugging.
28898 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28901 2005-07-04 Edward Hervey <edward@fluendo.com>
28905 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28908 2005-07-04 Andy Wingo <wingo@pobox.com>
28910 * check/gst/gstpad.c: Only set explicit caps on pads.
28912 2005-07-01 Andy Wingo <wingo@pobox.com>
28914 * tests/network-clock.scm: Commentary update.
28916 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28917 Didn't really make sense, not implementable with basetransform,
28919 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28920 attempt at implementing the sync property, needs an unlock method.
28922 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28923 New func, by default returns the same caps (the identity
28925 (gst_base_transform_getcaps): Uses transform_caps to return
28926 something sensible.
28927 (gst_base_transform_setcaps): Complicated logic to get caps on
28928 both pads, even if they are different, and to call set_caps once
28929 for every time both pads get their caps set.
28930 (gst_base_transform_handle_buffer): Give the ref to the transform
28931 function. Allows in-place modification of the buffer.
28933 * gst/base/gstbasetransform.h (transform_caps): New class method.
28934 Given caps on one side, what can I do on the other.
28935 (set_caps): Take two caps, one for each side of the element.
28938 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28939 caps in place. This is safe because we can check the mutability of
28940 the caps, and a good idea because fixate functions are just called
28941 as a matter of last resort. (Not actually implemented.)
28942 (gst_pad_set_caps): If the caps we're setting is actually the same
28943 as the existing pad caps, just update the pointer without calling
28944 setcaps. Assert that caps is either NULL or fixed, as per the
28947 * gst/gstghostpad.c: Update for fixate changes.
28949 2005-07-02 Andy Wingo <wingo@pobox.com>
28952 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28953 two refcounts makes it immutable, which is enough. Doc more.
28955 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28957 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28958 Put the mini_object into GValue as a mini_object,
28959 not a gpointer, since that's how we declared
28962 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28964 * examples/pwg/Makefile.am:
28965 Fix buildbot again.
28967 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28969 * docs/pwg/building-testapp.xml:
28971 * examples/pwg/Makefile.am:
28974 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28977 * examples/Makefile.am:
28978 * examples/pwg/Makefile.am:
28979 * examples/pwg/extract.pl:
28980 Enable building the PWG examples.
28981 * docs/pwg/advanced-interfaces.xml:
28982 Add URI interface stub.
28983 * docs/pwg/advanced-types.xml:
28984 * docs/pwg/other-autoplugger.xml:
28985 * docs/pwg/appendix-porting.xml:
28986 * docs/pwg/pwg.xml:
28987 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28988 * docs/pwg/building-boiler.xml:
28989 * docs/pwg/building-chainfn.xml:
28990 * docs/pwg/building-pads.xml:
28991 * docs/pwg/building-props.xml:
28992 * docs/pwg/building-state.xml:
28993 * docs/pwg/building-testapp.xml:
28994 Update the building-*.xml parts for 0.9 changes. All examples
28995 code blocks compile in examples/pwg/*.
28997 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28999 * docs/manual/advanced-autoplugging.xml:
29000 * docs/manual/appendix-checklist.xml:
29001 * docs/manual/appendix-integration.xml:
29002 * docs/manual/highlevel-components.xml:
29003 Fix playbin/decodebin examples, update docs a bit, mention bus
29004 instead of signals in various places, mention kmplayer and
29005 kaffeine since they have a working GStreamer backend in the KDE
29008 2005-06-30 Wim Taymans <wim@fluendo.com>
29011 * docs/design/draft-ghostpads.txt:
29012 * docs/design/draft-push-pull.txt:
29013 * docs/design/draft-query.txt:
29014 * docs/design/part-TODO.txt:
29015 * docs/design/part-query.txt:
29016 Added CHANGES-0.9 doc, updated status of other docs.
29021 2005-06-30 Wim Taymans <wim@fluendo.com>
29023 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29024 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29025 (gst_base_sink_change_state):
29026 * gst/base/gstbasesink.h:
29027 Some tweaks, only EOS and a buffer complete a preroll.
29029 2005-06-30 Andy Wingo <wingo@pobox.com>
29031 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29032 activate_push down to the internal pad as well.
29034 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29036 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29038 * gst/gsttaginterface.c:
29039 Some documentation fixes (#307394 and #307397).
29041 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29043 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29045 * gst/gstvalue.c: (gst_value_intersect_list):
29046 Fix memleak (#309125).
29048 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29050 * docs/manual/advanced-dataaccess.xml:
29051 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29052 * docs/manual/basics-pads.xml:
29053 Add reference for filtered caps to above chapter.
29055 2005-06-30 Wim Taymans <wim@fluendo.com>
29057 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29058 (gst_bin_change_state):
29060 Lame attempt at making the state change function a bit
29063 2005-06-30 Wim Taymans <wim@fluendo.com>
29065 * docs/design/part-clocks.txt:
29066 * docs/design/part-element-sink.txt:
29067 * docs/design/part-events.txt:
29068 * docs/design/part-preroll.txt:
29069 * docs/design/part-states.txt:
29070 Some more tweeks and additions to the docs.
29072 2005-06-30 Wim Taymans <wim@fluendo.com>
29074 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29075 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29076 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29077 (gst_pad_check_pull_range), (gst_pad_get_range),
29078 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29080 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29081 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29082 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29083 (gst_pad_remove_buffer_probe):
29084 Removed atomic operations, use existing LOCK.
29085 Move exception handling out of main code path.
29087 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29089 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29090 (silly_return_true_function), (gst_pad_class_init),
29091 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29092 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29093 (gst_pad_send_event):
29094 Fix accumulator, add default value by using _emitv() instead
29095 of _emit() for signal emission.
29097 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29099 * docs/manual/advanced-dataaccess.xml:
29100 * examples/manual/Makefile.am:
29102 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29105 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29107 * gst/elements/gstfilesink.c: (gst_filesink_render):
29108 Simplify code so that we don't have to handle short
29109 writes and return GST_FLOW_ERROR if an error occured.
29111 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29113 * docs/gst/gstreamer-docs.sgml:
29114 Remove probes more.
29116 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29118 * docs/gst/gstreamer-sections.txt:
29119 * docs/gst/tmpl/gstpad.sgml:
29120 * docs/gst/tmpl/gstprobe.sgml:
29122 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29123 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29124 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29125 (gst_pad_push_event), (gst_pad_send_event):
29127 * gst/gstutils.c: (gst_pad_add_data_probe),
29128 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29129 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29130 (gst_pad_remove_buffer_probe):
29132 Remove old probes, add new g-signal-based probes and some utility
29135 2005-06-29 Edward Hervey <edward@fluendo.com>
29137 * gst/gstelementfactory.c:
29140 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29141 the definition to the header file.
29143 2005-06-29 Andy Wingo <wingo@pobox.com>
29145 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29146 plugins from the source directory.
29148 2005-06-29 Wim Taymans <wim@fluendo.com>
29150 * docs/gst/tmpl/gstbuffer.sgml:
29151 * docs/gst/tmpl/gstclock.sgml:
29152 Some fixings for blantently wrong text.
29154 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29156 * check/Makefile.am:
29157 * gst/gst.c: (add_path_func), (init_pre):
29158 * gst/gstregistry.c: (gst_registry_add_path):
29159 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29160 only scan the GST_PLUGIN_PATH locations, and not add
29163 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29165 * docs/gst/gstreamer-sections.txt:
29166 * docs/gst/tmpl/gstbasesrc.sgml:
29167 * gst/gstelement.c:
29168 * gst/gstelement.h:
29173 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29175 * docs/manual/advanced-autoplugging.xml:
29176 Fix autoplugging example.
29178 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29180 * docs/manual/advanced-autoplugging.xml:
29181 * docs/manual/mime-world.fig:
29182 Try to get autoplugging working, fix type detection. Fix text
29183 in hello-world image.
29185 2005-06-29 Wim Taymans <wim@fluendo.com>
29187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29188 (gst_base_sink_change_state):
29192 map SIGNAL and BROADCAST to the right function.
29195 Remove redundant braces.
29197 * gst/gstpad.c: (gst_pad_set_caps):
29198 Don't call setcaps function when reseting caps to NULL.
29200 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29201 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29202 (gst_system_clock_id_unschedule):
29203 Use BROADCAST as this is what we do.
29205 2005-06-29 Wim Taymans <wim@fluendo.com>
29207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29208 We are actually prerolling before commiting the state
29211 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29213 * docs/manual/advanced-clocks.xml:
29214 * docs/manual/advanced-interfaces.xml:
29215 * docs/manual/advanced-metadata.xml:
29216 * docs/manual/advanced-position.xml:
29217 * docs/manual/advanced-schedulers.xml:
29218 * docs/manual/advanced-threads.xml:
29219 * docs/manual/appendix-porting.xml:
29220 * docs/manual/basics-bins.xml:
29221 * docs/manual/basics-bus.xml:
29222 * docs/manual/basics-elements.xml:
29223 * docs/manual/basics-helloworld.xml:
29224 * docs/manual/basics-pads.xml:
29225 * docs/manual/highlevel-components.xml:
29226 * docs/manual/manual.xml:
29227 * docs/manual/thread.fig:
29228 Update (until threads/scheduling) Application Development Manual;
29229 remove GstThread, add GstBus, add simple porting checklist, add
29230 documentation for tag writing, clocks, make all examples until this
29231 part compile and run.
29232 * examples/manual/Makefile.am:
29233 Update from changes to Application Development Manual; add bus
29234 example, remove thread example.
29236 2005-06-28 Wim Taymans <wim@fluendo.com>
29238 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29239 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29240 (gst_bus_source_dispatch):
29241 Add debugging messages.
29242 Make internal methods static.
29243 Handle the case where the bus is flushed in the handler.
29245 * gst/gstelement.c: (gst_element_get_bus):
29246 Fix refcount in _get_bus();
29248 * gst/gstpipeline.c: (gst_pipeline_change_state),
29249 (gst_pipeline_get_clock_func):
29250 Clock refcounting fixes.
29251 Handle the case where preroll timed out more gracefully.
29253 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29254 Clean up the internal thread in dispose. This is needed
29255 for subclasses that actually get disposed.
29257 * gst/schedulers/threadscheduler.c:
29258 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29259 (gst_thread_scheduler_dispose):
29260 Free thread pool in dispose.
29262 2005-06-28 Andy Wingo <wingo@pobox.com>
29264 * tests/network-clock-utils.scm (debug, print-event): New utils.
29266 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29267 (*packet-loss*): Unified loss probability.
29268 (network-time): Report out-of-band events.
29270 * tests/plot-data: Add support for out-of-band events. Hack it
29271 into this script instead of passing it down the pipe; should fix
29274 2005-06-28 Wim Taymans <wim@fluendo.com>
29276 * docs/gst/gstreamer.types:
29277 * docs/gst/tmpl/gstbasesrc.sgml:
29278 * docs/gst/tmpl/gstpad.sgml:
29281 2005-06-28 Wim Taymans <wim@fluendo.com>
29283 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29284 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29285 (gst_proxy_pad_do_fixatecaps):
29286 Correctly proxy the check_pull_range function.
29288 2005-06-28 Andy Wingo <wingo@pobox.com>
29290 * tests/network-clock.scm: Removed need for slib.
29292 2005-06-28 Wim Taymans <wim@fluendo.com>
29294 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29295 (gst_basesink_preroll_queue_flush):
29296 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29297 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29298 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29299 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29300 (gst_proxy_pad_set_property):
29303 * gst/gstqueue.c: (gst_queue_init):
29304 The deprecated pad loop function is removed now.
29306 2005-06-28 Andy Wingo <wingo@pobox.com>
29308 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29309 New parameters, simulate network packet loss.
29311 * tests/network-clock-utils.scm: Initialize the RNG.
29313 2005-06-28 Wim Taymans <wim@fluendo.com>
29315 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29316 (gst_basesink_event), (gst_basesink_deactivate):
29317 Flushing the preroll queue always needs to unlock the waiters.
29319 2005-06-28 Edward Hervey <edward@fluendo.com>
29321 * gst/gstpipeline.c: (gst_pipeline_send_event):
29322 Wheen a seek was successful on a pipeline, set the stream_time to the
29323 seek offset in order to have a synchronized stream_time.
29325 2005-06-28 Wim Taymans <wim@fluendo.com>
29327 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29328 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29329 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29330 (gst_proxy_pad_do_fixatecaps):
29331 Call wrapper function instead of just calling the function
29332 pointers. This takes care of any locking and whatmore.
29334 2005-06-28 Wim Taymans <wim@fluendo.com>
29336 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29337 (gst_pad_pull_range):
29339 CONNECTED -> LINKED.
29341 2005-06-28 Andy Wingo <wingo@pobox.com>
29343 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29344 source-munging commit!!!
29346 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29347 (gst_object_sink): Take gpointer arguments, not GstObject --
29348 avoids casts. Like GLib.
29350 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29353 2005-06-27 Andy Wingo <wingo@pobox.com>
29355 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29358 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29359 returns a sorted copy of the trace list.
29360 (gst_alloc_trace_print_live): New API, only prints traces with
29361 live objects. Sort the list.
29362 (gst_alloc_trace_print_all): Sort the list.
29363 (gst_alloc_trace_print): Align columns.
29365 * gst/elements/gstttypefindelement.c:
29366 * gst/elements/gsttee.c:
29367 * gst/base/gstbasesrc.c:
29368 * gst/base/gstbasesink.c:
29369 * gst/base/gstbasetransform.c:
29370 * gst/gstqueue.c: Adapt for pad activation changes.
29372 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29374 (gst_pipeline_dispose): Drop ref on sched.
29376 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29377 (gst_pad_activate_default): Push mode by default.
29378 (pre_activate_switch, post_activate_switch): New stubs, things to
29379 do before and after switching activation modes on pads.
29380 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29381 the pad's activate function to choose which mode to activate.
29382 Shortcut on deactivation and call the right function directly.
29383 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29385 (gst_pad_activate_push): New API, same for push mode.
29386 (gst_pad_set_activate_function)
29387 (gst_pad_set_activatepull_function)
29388 (gst_pad_set_activatepush_function): Setters for new API.
29390 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29391 Trace all miniobjects.
29392 (gst_mini_object_make_writable): Unref the arg if we copy, like
29393 gst_caps_make_writable.
29395 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29397 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29398 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29399 Adapt for new pad API.
29401 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29403 * gst/gstelement.h:
29404 * gst/gstelement.c (gst_element_iterate_src_pads)
29405 (gst_element_iterate_sink_pads): New API functions.
29407 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29408 should fold into gstiterator.c in some form.
29409 (gst_element_pads_activate): Simplified via use of fold and
29410 delegation of decisions to gstpad->activate.
29412 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29415 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29416 class once in init, like gstmessage. Didn't run into this issue
29417 but it seems correct. Don't initialize a trace, gstminiobject does
29420 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29421 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29423 (assert_live_count): New util function, uses alloc traces to check
29426 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29427 To be modified when unlink drops the internal pad.
29429 2005-06-27 Wim Taymans <wim@fluendo.com>
29431 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29432 (gst_bin_change_state):
29433 Cleanup the get_state() function a little, make sure it
29434 iterates the same set of elements.
29435 Added stub iterate_state_order().
29437 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29439 * docs/gst/gstreamer-docs.sgml:
29440 * docs/gst/gstreamer-sections.txt:
29441 * docs/gst/gstreamer.types:
29442 * docs/gst/tmpl/gstbasesink.sgml:
29443 * docs/gst/tmpl/gstbasesrc.sgml:
29444 * docs/gst/tmpl/gstbasetransform.sgml:
29445 * docs/gst/tmpl/gstelement.sgml:
29446 * docs/gst/tmpl/gstiterator.sgml:
29447 * gst/base/gstbasesrc.c:
29448 * gst/base/gstbasesrc.h:
29449 * gst/base/gstbasetransform.h:
29450 * gst/gstelement.c:
29451 * gst/gstiterator.h:
29452 adding basetransform and iterator docs
29454 2005-06-27 Andy Wingo <wingo@pobox.com>
29456 * docs/design/part-activation.txt: Notes on how activation should
29457 work -- not quite implemented yet.
29459 2005-06-25 Wim Taymans <wim@fluendo.com>
29461 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29462 At least get the chain function correct, needs more
29465 2005-06-25 Wim Taymans <wim@fluendo.com>
29467 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29468 (gst_basesink_handle_object), (gst_basesink_event),
29469 (gst_basesink_do_sync), (gst_basesink_handle_event),
29470 (gst_basesink_change_state):
29472 Right, two problems here: ghostpads don't take locks and
29473 glib _rec_mutex_lock_full() with depth==0 still locks.
29474 Catch illegal locking and g_warn them.
29476 2005-06-25 Wim Taymans <wim@fluendo.com>
29478 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29479 Have to check for completion now...
29481 2005-06-25 Wim Taymans <wim@fluendo.com>
29483 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29484 (gst_basesink_handle_object), (gst_basesink_event),
29485 (gst_basesink_do_sync), (gst_basesink_handle_event),
29486 (gst_basesink_change_state):
29488 Unlock STREAM_LOCK whatever the recursion was.
29490 2005-06-25 Wim Taymans <wim@fluendo.com>
29492 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29493 (gst_basesink_preroll_queue_empty),
29494 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29495 (gst_basesink_event), (gst_basesink_do_sync),
29496 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29497 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29498 (gst_basesink_change_state):
29499 Reworked the base sink, handle event and buffer serialisation
29500 correctly and removed possible deadlock.
29501 Handle EOS correctly.
29503 2005-06-25 Wim Taymans <wim@fluendo.com>
29505 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29506 (gst_pipeline_change_state):
29507 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29508 Allow elements to post EOS in the state change function.
29509 Fix up -launch, make it exit the poll loop when the
29510 pipeline actually changed state.
29511 Fix up warning parsing in -launch.
29513 2005-06-25 Wim Taymans <wim@fluendo.com>
29515 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29516 (gst_tee_sink_activate):
29517 Core takes STREAM_LOCK for us now.
29519 2005-06-25 Wim Taymans <wim@fluendo.com>
29521 * gst/gstelement.c: (gst_element_get_state_func),
29522 (gst_element_set_state):
29523 * gst/gstelement.h:
29524 * gst/gstmessage.c: (gst_message_parse_error),
29525 (gst_message_parse_warning):
29526 Keep track of current target state while performing a state
29527 change so that subclasses can do something interesting.
29528 Fix parsing of warning/error messages when GError is NULL.
29530 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29532 * docs/gst/Makefile.am:
29533 * docs/gst/gstreamer-docs.sgml:
29534 * docs/gst/gstreamer-sections.txt:
29535 * docs/gst/gstreamer.types:
29536 * docs/gst/tmpl/gstbasesink.sgml:
29537 * docs/gst/tmpl/gstbasesrc.sgml:
29538 * docs/gst/tmpl/gstbin.sgml:
29539 * docs/gst/tmpl/gstcompat.sgml:
29540 * docs/gst/tmpl/gstfakesink.sgml:
29541 * docs/gst/tmpl/gstfakesrc.sgml:
29542 * docs/gst/tmpl/gstfilesink.sgml:
29543 * docs/gst/tmpl/gstfilesrc.sgml:
29544 * docs/gst/tmpl/gstindex.sgml:
29545 * docs/manual/appendix-quotes.xml:
29546 * gst/base/gstbasesrc.h:
29547 * gst/elements/gstfakesrc.h:
29548 * gst/gstmessage.h:
29549 start pulling in base classes and elements in our docs
29551 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29553 * docs/gst/Makefile.am:
29554 * docs/libs/Makefile.am:
29555 fixed make distcheck with gtk-doc 1.3
29557 2005-06-23 Wim Taymans <wim@fluendo.com>
29559 * gst/gstelement.c: (gst_element_get_state_func),
29560 (gst_element_set_state), (gst_element_change_state):
29561 When the state did not change, also report NO_PREROLL
29564 2005-06-23 Wim Taymans <wim@fluendo.com>
29566 * gst/gstpad.c: (gst_pad_event_default):
29567 * gst/gstqueue.c: (gst_queue_loop):
29568 No unsafe task pausing please.
29570 2005-06-23 Wim Taymans <wim@fluendo.com>
29572 * gst/schedulers/threadscheduler.c:
29573 (gst_thread_scheduler_task_start),
29574 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29575 Ref the task before pushing it on the threadpool. This
29576 makes sure that we have a ref when the threadfunction is
29579 2005-06-23 Andy Wingo <wingo@pobox.com>
29581 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29582 offset is greater than the file's size.
29584 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29585 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29586 * gst/gstobject.c (gst_object_class_init): Make the class lock
29587 recursive. Wim won't let me drop deep_notify. Decodebin works
29588 again, whoopdy doo.
29590 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29591 internal pad, and hacks accordingly. Doesn't do it on the target
29592 pad because we change its caps. Probably catches all cases of
29594 (gst_ghost_pad_set_property): Connect to notify::caps as
29597 * tests/network-clock.scm (plot-simulation): Pipe data to the
29598 elite python skript.
29600 * tests/network-clock-utils.scm (define-parameter): New macro,
29601 defines a parameter that can be set via the command line.
29602 (set-parameter!, parse-parameter-arguments): Command line args
29605 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29608 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29610 * gst/elements/gsttypefindelement.c:
29611 (gst_type_find_element_handle_event):
29612 Don't restart typefinding on a discont.
29613 * gst/gstelement.c: (gst_element_set_state):
29614 Debug spelling fix.
29615 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29616 Allow changing mode of an active pad.
29617 Debug output fixes.
29618 * gst/registries/gstlibxmlregistry.c: (load_feature):
29619 Don't cast a static pad template to a normal pad template.
29621 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29623 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29624 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29625 remove gst_strtoll completely, since it didn't actually do
29626 anything more than what g_ascii_strtoull already does.
29627 check for range errors when deserializing
29628 do a cast for the unsigned cases; but further fixing needs
29629 a decision on what the interpretation of "(int)" and
29630 deserialization should be for values that fall outside the
29631 type's boundaries (ie, refuse, or interpret as casting)
29633 2005-06-23 Wim Taymans <wim@fluendo.com>
29635 * check/Makefile.am:
29636 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29637 * docs/design/part-live-source.txt:
29638 * docs/design/part-states.txt:
29639 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29640 (gst_basesrc_set_live), (gst_basesrc_is_live),
29641 (gst_basesrc_get_range), (gst_basesrc_activate),
29642 (gst_basesrc_change_state):
29643 * gst/base/gstbasesrc.h:
29644 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29645 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29646 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29647 * gst/gstelement.c: (gst_element_get_state_func),
29648 (gst_element_set_state):
29649 * gst/gstelement.h:
29651 * tools/gst-launch.c: (event_loop), (main):
29652 Added support for live sources and other elements that
29654 Updated design docs, added live-source design doc.
29655 Implemented live source functionality in basesrc
29656 Fix error condition in _bin_get_state()
29657 Implement live source handling in -launch.
29658 Added check for live sources.
29659 Fixed case in GstBin where elements were changed state
29663 2005-06-23 Andy Wingo <wingo@pobox.com>
29665 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29666 borken refcounting.
29668 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29669 gst_caps_replace takes care of this for us.
29671 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29672 gst_pad_set_caps on the target, not just its setcaps() function.
29674 * tests/network-clock.scm:
29675 * tests/network-clock-utils.scm: A network clock simulator.
29676 Something of an algorithmic testbed before doing something in C.
29678 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29680 * check/Makefile.am:
29681 * check/gst/capslist.h:
29682 copy over from 0.8, and add two with bitmasks specified with
29684 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29685 add test to parse everything from capslist.h
29686 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29688 add test for structure deserialization
29689 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29690 add tests for deserialization of strings to int types
29691 * gst/gststructure.c: (gst_structure_nth_field_name):
29692 * gst/gststructure.h:
29693 add a way to get the name of a field referenced by index
29694 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29695 instead of checking if the resulting long long lies between
29696 min and max, we check if the long long would fit into
29697 a number of bytes for the final type.
29698 This fixes cases where a string represents 2^32 - 1, which
29699 when cast to int would be the (valid) -1, but is bigger than
29702 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29704 * gst/parse/grammar.y:
29705 add a log line for type deserialization
29707 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29709 * check/gst/gstvalue.c: (START_TEST):
29710 * gst/gstvalue.c: (gst_value_deserialize):
29711 return long long, not int, so gint64 deserialization actually
29712 works. Is there any flag that makes the compiler check this ?
29715 2005-06-22 Wim Taymans <wim@fluendo.com>
29718 Added convenience macros for setting buffers in GValue.
29720 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29722 * check/gst/.cvsignore:
29723 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29724 add a test deserializing int64, and comment part out because
29727 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29729 * check/Makefile.am:
29730 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29731 * testsuite/Makefile.am:
29732 * testsuite/caps/Makefile.am:
29733 * testsuite/caps/value_serialize.c:
29734 * testsuite/test_gst_init.c:
29735 move a value_serialize test over
29737 2005-06-20 Wim Taymans <wim@fluendo.com>
29742 * gst/gstvalue.c: (gst_value_compare_buffer),
29743 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29744 (gst_value_compare_flags), (gst_value_serialize_flags),
29745 (gst_value_deserialize_flags), (_gst_value_initialize):
29746 Fix serialisation of buffers, they are not boxed types anymore
29748 2005-06-20 Wim Taymans <wim@fluendo.com>
29750 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29751 Testcase to show error in buffer-on-caps serialisation.
29753 2005-06-20 Andy Wingo <wingo@pobox.com>
29755 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29756 will be adding to later.
29758 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29759 if its socks fill with rocks.
29760 (gst_system_clock_obtain): Set the name on object construction.
29761 Avoid double-checked locking.
29763 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29765 * gst/gsturi.c: (gst_element_make_from_uri):
29766 Fix potential endless loop.
29768 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29770 * check/Makefile.am:
29772 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29774 move over from testsuite dir and clean up
29777 * testsuite/Makefile.am:
29778 * testsuite/tags/.cvsignore:
29779 * testsuite/tags/Makefile.am:
29780 * testsuite/tags/merge.c:
29781 remove testsuite/tags
29783 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29785 * docs/gst/gstreamer-sections.txt:
29786 * docs/gst/tmpl/gstenumtypes.sgml:
29787 * win32/gstenumtypes.c:
29788 clean up documentation build a little
29790 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29792 * check/gstcheck.h:
29793 add macros for checking refcounts on objects and caps
29794 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29795 add some more unit tests
29796 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29797 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29798 fix leaked refcounts (I hope :)) so unittest works
29802 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29804 * configure.ac: back to HEAD
29806 === release 0.9.1 ===
29808 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29814 2005-06-17 Andy Wingo <wingo@pobox.com>
29816 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29817 assert; it's always possible that the pad gets deactivated in
29818 between the checks in gstpad.c and the implementation. Rely on
29819 finish_preroll() to return a FLUSHING or similar instead of on the
29822 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29823 clock and post an EOS message if we come out of finish_preroll in
29826 2005-06-16 David Schleef <ds@schleef.org>
29828 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29829 (gst_capsfilter_set_property): Allow NULL as possible value
29830 for filter_caps property, indicating GST_CAPS_ANY.
29832 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29834 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29836 * gst/schedulers/Makefile.am:
29838 * gstreamer.spec.in:
29841 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29843 * gstreamer.spec.in:
29846 2005-06-08 Andy Wingo <wingo@pobox.com>
29848 * gst/gstutils.c: RPAD fixes all around.
29849 (gst_element_link_pads): Refcounting fixes.
29851 * tools/gst-inspect.c:
29852 * tools/gst-xmlinspect.c:
29854 * gst/base/gsttypefindhelper.c:
29855 * gst/base/gstbasesink.c:
29856 * gst/gstqueue.c: RPAD fixes.
29858 * gst/gstghostpad.h:
29859 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29860 pads. The tricky thing is they provide both source and sink
29861 interfaces, since they proxy the internal pad for the external
29862 pad, and vice versa. Implement with lower-level ProxyPad objects,
29863 with the interior proxy pad as a child of the exterior ghost pad.
29864 Should write a doc on this.
29866 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29867 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29870 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29871 pads are real pads. No ghost pads in this file. Not documenting
29872 the myriad s/RPAD/PAD/ and REALIZE fixes.
29873 (gst_pad_class_init): Add properties for "direction" and
29874 "template". Both are construct-only, so they can't change during
29875 the life of the pad. Fixes properly deriving from GstPad.
29876 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29877 derived objects, just set properties when creating the objects via
29879 (gst_pad_get_parent): Implement as a function, return NULL if the
29880 parent is not an element.
29881 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29882 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29884 * gst/gstobject.c (gst_object_class_init): Make name a construct
29885 property. Don't set it in the object init.
29887 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29888 with UNKNOWN direction.
29889 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29890 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29891 (gst_element_remove_pad): Remove ghost-pad special cases.
29892 (gst_element_pads_activate): Remove rpad cruft.
29894 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29895 catch the pad's-parent-not-an-element case.
29897 * gst/gst.h: Include gstghostpad.h.
29899 * gst/gst.c (init_post): No more real, ghost pads.
29901 * gst/Makefile.am: Add gstghostpad.[ch].
29903 * check/Makefile.am:
29904 * check/gst/gstbin.c:
29905 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29906 into a bin creates ghost pads, and that the refcounts are right.
29907 Partly moved from gstbin.c.
29909 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29911 * check/gst-libs/.cvsignore:
29912 * check/gst/.cvsignore:
29913 * check/pipelines/.cvsignore:
29915 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29916 (START_TEST), (cleanup_suite), (main):
29917 add some tests related to cleanup after running pipelines
29919 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29921 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29922 add a testsuite for GstBuffer
29924 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29926 * gst/gstminiobject.h:
29927 add defines for accessing the refcount
29929 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29931 * Makefile.am: added support for html unit test coverage reports
29933 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29935 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29936 Free existing caps if the capsfilter changes. Add a FIXME about
29937 setting those caps on the pads.
29939 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29940 Before adding a ghost pad to a parent bin, check that there isn't
29941 already one for the element on the bin. Prevents infinite recursion
29942 when using decodebin in parse pipelines. Andy says he'll rewrite the
29943 way this works anyway, so ignore the hack.
29945 2005-06-02 Andy Wingo <wingo@pobox.com>
29947 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29948 file size, pass it on to the type find helper.
29950 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29951 segment_start and segment_end properly according to the seek
29952 method. Segment_end is still a bit flaky because offset can be
29953 negative for CUR and END cases, but it takes -1 as an "unset"
29956 2005-06-02 Wim Taymans <wim@fluendo.com>
29958 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29959 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29960 (gst_basesink_activate):
29961 * gst/base/gstbasesink.h:
29962 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29963 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29964 (gst_pad_query), (gst_pad_start_task):
29966 * gst/gstqueue.c: (gst_queue_bufferalloc),
29967 (gst_queue_handle_sink_event), (gst_queue_chain):
29968 Bufferalloc: return GstFlowReturn to more accuratly report
29969 why allocation failed.
29971 2005-06-02 Wim Taymans <wim@fluendo.com>
29973 * gst/gstpipeline.c: (gst_pipeline_send_event):
29974 Take snapshot of state without blocking.
29976 2005-06-02 Wim Taymans <wim@fluendo.com>
29978 * docs/design/part-TODO.txt:
29979 * docs/design/part-caps.txt:
29980 * docs/design/part-clocks.txt:
29981 * docs/design/part-negotiation.txt:
29982 * docs/design/part-preroll.txt:
29985 2005-05-30 Wim Taymans <wim@fluendo.com>
29987 * gst/elements/gstidentity.c: (gst_identity_event),
29988 (gst_identity_transform), (gst_identity_get_property):
29989 Protect last_message property as it is accessed from
29992 2005-05-30 Wim Taymans <wim@fluendo.com>
29994 * gst/gstelement.c: (gst_element_init),
29995 (gst_element_pads_activate), (gst_element_change_state):
29996 Slicker pad activation code.
29998 2005-05-30 Wim Taymans <wim@fluendo.com>
30001 * gst/gstelement.h:
30002 * gst/gstelementfactory.h:
30004 Move elementfactory methods to separate .h file.
30006 2005-05-30 Wim Taymans <wim@fluendo.com>
30008 * docs/design/part-overview.txt:
30009 * gst/gstsystemclock.h:
30010 Small typo fixes, doc updates.
30012 2005-05-30 Wim Taymans <wim@fluendo.com>
30014 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30015 (init_popt_callback):
30016 Remove cpu-opt flag.
30018 2005-05-30 Wim Taymans <wim@fluendo.com>
30020 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30021 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30023 Avoid typechecking in places where not needed.
30024 Added accessor for malloc_data.
30026 2005-05-30 Wim Taymans <wim@fluendo.com>
30028 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30029 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30030 (gst_pad_configure_sink), (gst_pad_configure_src),
30031 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30032 (gst_pad_start_task):
30033 Propagate errors from _set_caps() in configure_src/sink
30034 functions instead of returning TRUE.
30035 FLUSH events can travel up and downstream
30038 2005-05-30 Wim Taymans <wim@fluendo.com>
30040 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30041 (gst_basesink_activate):
30042 Handle EOS in preroll.
30044 2005-05-30 Wim Taymans <wim@fluendo.com>
30046 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30047 (gst_queue_loop), (gst_queue_handle_src_event):
30048 Remove old pieces of code
30049 Flushing the queue in an upstream event is a very bad idea.
30051 2005-05-26 Andy Wingo <wingo@pobox.com>
30053 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30054 gst_value_set_mini_object so as to add a ref on the object (which
30055 will be removed when the value is unset).
30057 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30058 arg type in ::handoff.
30060 * gst/gstelement.c (gst_element_change_state): Also deactivate
30061 pads in READY->NULL, just in case the element didn't make it to
30062 PAUSED. Wingo tested, Wim approved.
30064 2005-05-26 Wim Taymans <wim@fluendo.com>
30066 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30067 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30068 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30069 A flushing pad cannot be used to alloc_buffer from.
30071 2005-05-26 Wim Taymans <wim@fluendo.com>
30073 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30074 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30075 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30076 (gst_bus_create_watch), (gst_bus_add_watch_full):
30078 Implement a real GSource and use g_main_context_wakeup() to
30079 signal new messages instead of the socketpair.
30081 2005-05-25 Wim Taymans <wim@fluendo.com>
30083 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30084 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30085 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30086 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30087 (gst_pad_send_event), (gst_pad_start_task):
30088 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30089 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30090 (gst_queue_sink_activate), (gst_queue_src_activate),
30091 (gst_queue_change_state):
30093 Fix state changes for non sinks. We now change sinks, then elements
30094 with unconnected srcpads, then the rest.
30095 More efficient queue unlocking in flush and state changes.
30096 Set the pad activate mode even if it does not have an activate
30099 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30101 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30102 Don't go in pull mode for non-seekable sources.
30103 * gst/elements/gsttypefindelement.h:
30104 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30105 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30106 (free_entry), (stop_typefinding),
30107 (gst_type_find_element_handle_event), (find_peek),
30108 (gst_type_find_element_chain), (do_pull_typefind),
30109 (gst_type_find_element_change_state):
30110 Allow typefinding (w/o seeking) in push-mode, simplified version
30111 of what was in 0.8.
30112 * gst/gstutils.c: (gst_buffer_join):
30114 gst_buffer_join() from 0.8.
30116 2005-05-25 Wim Taymans <wim@fluendo.com>
30118 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30119 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30120 (gst_pad_send_event), (gst_pad_start_task):
30121 Disable attempt at mode switching until it is figured out.
30123 2005-05-25 Wim Taymans <wim@fluendo.com>
30125 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30126 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30127 (gst_basesink_finish_preroll), (gst_basesink_chain),
30128 (gst_basesink_loop), (gst_basesink_activate),
30129 (gst_basesink_change_state):
30130 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30131 (gst_basesrc_get_range), (gst_basesrc_loop),
30132 (gst_basesrc_activate):
30133 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30134 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30135 (gst_real_pad_init), (gst_real_pad_set_property),
30136 (gst_real_pad_get_property), (gst_pad_set_active),
30137 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30138 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30139 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30140 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30141 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30142 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30143 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30144 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30145 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30146 (gst_pad_stop_task):
30148 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30149 (gst_queue_loop), (gst_queue_src_activate):
30150 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30151 (gst_task_get_state):
30153 * gst/schedulers/threadscheduler.c:
30154 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30155 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30157 Remove ACTIVE pad flag, use FLUSHING everywhere
30158 Added _pad_chain(), _pad_get_range() to call chain/getrange
30160 Add locks around IS_FLUSHING when reading.
30161 Take STREAM lock in chain(), get_range() functions so plugins
30162 don't need to take it anymore.
30166 2005-05-25 Wim Taymans <wim@fluendo.com>
30168 * tools/gst-launch.c: (event_loop):
30169 Unref message after using its contents instead of
30172 2005-05-24 Wim Taymans <wim@fluendo.com>
30174 * docs/design/draft-ghostpads.txt:
30175 * docs/design/draft-push-pull.txt:
30176 * docs/design/draft-query.txt:
30177 * docs/design/part-overview.txt:
30178 Docs updates, added general overview doc.
30180 2005-05-21 David Schleef <ds@schleef.org>
30182 * docs/gst/tmpl/old/GstBin.sgml:
30183 * docs/gst/tmpl/old/GstBuffer.sgml:
30184 * docs/gst/tmpl/old/GstCaps.sgml:
30185 * docs/gst/tmpl/old/GstClock.sgml:
30186 * docs/gst/tmpl/old/GstCompat.sgml:
30187 * docs/gst/tmpl/old/GstData.sgml:
30188 * docs/gst/tmpl/old/GstElement.sgml:
30189 * docs/gst/tmpl/old/GstEvent.sgml:
30190 * docs/gst/tmpl/old/GstIndex.sgml:
30191 * docs/gst/tmpl/old/GstStructure.sgml:
30192 * docs/gst/tmpl/old/GstTag.sgml:
30193 * docs/gst/tmpl/old/cothreads.sgml:
30194 * docs/gst/tmpl/old/cothreads_compat.sgml:
30195 * docs/gst/tmpl/old/gettext.sgml:
30196 * docs/gst/tmpl/old/gobject2gtk.sgml:
30197 * docs/gst/tmpl/old/grammar.tab.sgml:
30198 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30199 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30200 * docs/gst/tmpl/old/gst_private.sgml:
30201 * docs/gst/tmpl/old/gstaggregator.sgml:
30202 * docs/gst/tmpl/old/gstarch.sgml:
30203 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30204 * docs/gst/tmpl/old/gstbufferstore.sgml:
30205 * docs/gst/tmpl/old/gstdata_private.sgml:
30206 * docs/gst/tmpl/old/gstdisksink.sgml:
30207 * docs/gst/tmpl/old/gstdisksrc.sgml:
30208 * docs/gst/tmpl/old/gstelementfactory.sgml:
30209 * docs/gst/tmpl/old/gstextratypes.sgml:
30210 * docs/gst/tmpl/old/gstfakesink.sgml:
30211 * docs/gst/tmpl/old/gstfakesrc.sgml:
30212 * docs/gst/tmpl/old/gstfdsink.sgml:
30213 * docs/gst/tmpl/old/gstfdsrc.sgml:
30214 * docs/gst/tmpl/old/gstfilesink.sgml:
30215 * docs/gst/tmpl/old/gstfilesrc.sgml:
30216 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30217 * docs/gst/tmpl/old/gstidentity.sgml:
30218 * docs/gst/tmpl/old/gstindexfactory.sgml:
30219 * docs/gst/tmpl/old/gstmarshal.sgml:
30220 * docs/gst/tmpl/old/gstmd5sink.sgml:
30221 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30222 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30223 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30224 * docs/gst/tmpl/old/gstpipefilter.sgml:
30225 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30226 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30227 * docs/gst/tmpl/old/gstshaper.sgml:
30228 * docs/gst/tmpl/old/gstspider.sgml:
30229 * docs/gst/tmpl/old/gstspideridentity.sgml:
30230 * docs/gst/tmpl/old/gststatistics.sgml:
30231 * docs/gst/tmpl/old/gsttee.sgml:
30232 * docs/gst/tmpl/old/gsttimecache.sgml:
30233 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30234 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30235 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30236 * docs/gst/tmpl/old/types.sgml:
30237 I didn't intend to add these or check them in.
30239 2005-05-19 David Schleef <ds@schleef.org>
30241 * configure.ac: Use -no-common everywhere. In a sane world, it
30242 would be the default in libtool, because without it, you can't
30243 build DLLs on Windows.
30244 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30245 * docs/gst/gstreamer-sections.txt:
30246 * docs/gst/tmpl/gstcpu.sgml:
30247 * docs/gst/tmpl/gstdata.sgml:
30248 * docs/gst/tmpl/gstthread.sgml:
30250 2005-05-19 David Schleef <ds@schleef.org>
30252 * gst/gstminiobject.c: (gst_value_set_mini_object),
30253 (gst_value_take_mini_object), (gst_value_get_mini_object):
30254 * gst/gstminiobject.h: Add GValue set/get functions.
30256 2005-05-19 Wim Taymans <wim@fluendo.com>
30258 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30259 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30260 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30262 * gst/gstbus.c: (gst_bus_post):
30263 * gst/gstelement.c: (gst_element_get_random_pad):
30264 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30265 Make subbufer unref the parent in finalize.
30266 some more debugging info.
30269 2005-05-19 Wim Taymans <wim@fluendo.com>
30271 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30272 (gst_basesink_init), (gst_basesink_finalize),
30273 (gst_basesink_activate), (gst_basesink_change_state):
30274 Don't free preroll queue too early.
30276 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30280 Hi, I'm outdated. Please shoot me.
30282 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30284 * gst/gstpipeline.c: (gst_pipeline_send_event):
30285 Do not access variables after they have been deleted.
30287 2005-05-19 Wim Taymans <wim@fluendo.com>
30289 * tools/gst-inspect.c: (print_plugin_features):
30290 A plugin feature does unfortunatly not use the
30293 2005-05-18 Wim Taymans <wim@fluendo.com>
30295 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30296 Port _span() functions to new subbuffers.
30298 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30300 * gst/gstbin.c: (gst_bin_add_func):
30301 Fix clock settery in bins when adding kids after the clock has
30304 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30306 * gst/elements/gstidentity.c: (gst_identity_class_init):
30307 Workaround until signals support GstMiniObject.
30309 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30312 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30314 2005-05-18 Wim Taymans <wim@fluendo.com>
30316 * gst/base/Makefile.am:
30317 * gst/base/gstadapter.c: (gst_adapter_base_init),
30318 (gst_adapter_class_init), (gst_adapter_init),
30319 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30320 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30321 (gst_adapter_flush), (gst_adapter_available),
30322 (gst_adapter_available_fast):
30323 * gst/base/gstadapter.h:
30324 Ported and added adapter to the base classes.
30326 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30329 * gst/gstmessage.c:
30330 Make sure the class is reffed/unreffed once before threads can be
30331 used. Fixes #304551.
30333 2005-05-17 Wim Taymans <wim@fluendo.com>
30335 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30336 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30337 * gst/gstminiobject.c: (gst_mini_object_get_type),
30338 (gst_mini_object_free):
30339 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30340 (gst_pad_push), (gst_pad_push_event):
30341 * gst/gstqueue.c: (gst_queue_change_state):
30342 Don't queue buffers in basesink when we are flushing.
30343 Unref buffer when flushing in basesink.
30344 Flush queue when going to READY
30345 Unref buffer when _push() returns an error.
30346 Don't free MiniObject instance when refcount is incremented
30347 in _finalize() so that we can recover objects.
30349 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30351 * docs/manual/advanced-schedulers.xml:
30352 * docs/manual/appendix-checklist.xml:
30353 * docs/pwg/advanced-clock.xml:
30354 * docs/pwg/advanced-interfaces.xml:
30355 * docs/pwg/advanced-request.xml:
30356 * docs/pwg/advanced-types.xml:
30357 * docs/pwg/intro-preface.xml:
30358 * examples/plugins/example.c: (gst_example_get_type),
30359 (gst_example_class_init), (gst_example_chain),
30360 (gst_example_set_property), (gst_example_get_property),
30361 (gst_example_change_state), (plugin_init):
30362 * examples/plugins/example.h:
30365 2005-05-17 Wim Taymans <wim@fluendo.com>
30367 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30368 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30369 * gst/gstqueue.c: (gst_queue_change_state):
30370 Clear queue when going to READY.
30371 Remove IN_SETCAPS flag too.
30373 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30375 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30376 Remove implicit cast from gboolean to GstElementStateReturn;
30377 make sure we still return failure in paused => ready case if
30378 the parent class fails to change state and our own stop
30381 2005-05-17 Wim Taymans <wim@fluendo.com>
30383 * tools/gst-launch.c: (event_loop):
30384 Message was unreffed too soon.
30386 2005-05-16 Andy Wingo <wingo@pobox.com>
30388 * gst/gstbin.c (sink_iterator_filter): Err... um...
30390 * check/gst/gstbin.c (test_ghost_pads): New test for the
30391 ghosting-if-elements-not-in-same-bin behavior.
30393 2005-05-16 David Schleef <ds@schleef.org>
30395 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30396 accessing refcount directly.
30398 2005-05-15 David Schleef <ds@schleef.org>
30400 * check/Makefile.am: remove GstData checks
30401 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30402 * gst/Makefile.am: add miniobject, remove data
30403 * gst/gst.h: add miniobject, remove data
30404 * gst/gstdata.c: remove
30405 * gst/gstdata.h: remove
30406 * gst/gstdata_private.h: remove
30407 * gst/gsttypes.h: remove GstEvent and GstMessage
30408 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30409 * gst/gstmarshal.list: change BOXED -> OBJECT
30411 Implement GstMiniObject.
30412 * gst/gstminiobject.c:
30413 * gst/gstminiobject.h:
30415 Modify to be subclasses of GstMiniObject.
30416 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30417 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30418 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30419 (gst_subbuffer_get_type), (gst_subbuffer_init),
30420 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30423 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30424 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30425 (_gst_event_copy), (gst_event_new):
30427 * gst/gstmessage.c: (_gst_message_initialize),
30428 (gst_message_get_type), (gst_message_class_init),
30429 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30430 (gst_message_new), (gst_message_new_error),
30431 (gst_message_new_warning), (gst_message_new_tag),
30432 (gst_message_new_state_changed), (gst_message_new_application):
30433 * gst/gstmessage.h:
30434 * gst/gstprobe.c: (gst_probe_perform),
30435 (gst_probe_dispatcher_dispatch):
30437 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30438 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30439 (_gst_query_copy), (gst_query_new):
30441 Update elements for GstData -> GstMiniObject changes
30443 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30444 (gst_queue_chain), (gst_queue_loop):
30445 * gst/elements/gstbufferstore.c:
30446 (gst_buffer_store_add_buffer_func),
30447 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30448 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30449 (gst_fakesink_render):
30450 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30451 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30452 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30453 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30454 (gst_filesrc_create_read):
30455 * gst/elements/gstidentity.c: (gst_identity_class_init):
30456 * gst/elements/gsttypefindelement.c:
30457 (gst_type_find_element_src_event), (free_entry_buffers),
30458 (gst_type_find_element_handle_event):
30459 * libs/gst/dataprotocol/dataprotocol.c:
30460 (gst_dp_header_from_buffer):
30461 * libs/gst/dataprotocol/dataprotocol.h:
30462 * libs/gst/dataprotocol/dp-private.h:
30464 2005-05-15 David Schleef <ds@schleef.org>
30466 * gst/elements/gstelements.c: Don't include headers that were
30469 2005-05-15 David Schleef <ds@schleef.org>
30471 * gst/elements/Makefile.am: Remove some elements that don't
30472 need to be in the core (or even exist at all).
30473 * gst/elements/gstaggregator.c:
30474 * gst/elements/gstaggregator.h:
30475 * gst/elements/gstmd5sink.c:
30476 * gst/elements/gstmd5sink.h:
30477 * gst/elements/gstmultifilesrc.c:
30478 * gst/elements/gstmultifilesrc.h:
30479 * gst/elements/gstpipefilter.c:
30480 * gst/elements/gstpipefilter.h:
30481 * gst/elements/gstshaper.c:
30482 * gst/elements/gstshaper.h:
30483 * gst/elements/gststatistics.c:
30484 * gst/elements/gststatistics.h:
30485 * po/POTFILES.in: Remove above files.
30487 2005-05-14 Andy Wingo <wingo@pobox.com>
30489 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30490 so as to get the refs right.
30491 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30492 unreffing objects that don't pass the filter.
30494 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30495 gst_element_set_bus.
30496 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30497 normal cases, this will destroy the bus.
30499 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30502 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30505 2005-05-13 Andy Wingo <wingo@pobox.com>
30507 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30508 gst_pad_link, call pad_link_maybe_ghosting,
30509 (pad_link_maybe_ghosting): Links pads, making sure that the
30510 elements being linked are in the same bin.
30511 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30512 Helpers for pad_link_maybe_ghosting.
30514 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30517 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30519 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30521 * docs/design/part-element-source.txt:
30524 2005-05-12 Wim Taymans <wim@fluendo.com>
30526 * gst/base/gstbasesink.c: (gst_basesink_init),
30527 (gst_basesink_activate):
30528 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30529 (gst_basesrc_is_seekable):
30530 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30531 (bin_element_is_sink), (gst_bin_change_state):
30532 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30533 * gst/gstelement.h:
30534 Identify sinks by their flag to avoid overly complicated
30536 Do state changes even for elements not reachable from the
30538 BaseSink is a sink now :)
30539 Some more debugging info in the basesrc.
30542 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30545 Implement _query on a bin, similar to _send_event.
30547 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30549 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30550 Discont event offset format should be GST_FORMAT_BYTES,
30551 not GST_FORMAT_TIME.
30553 2005-05-12 Wim Taymans <wim@fluendo.com>
30555 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30556 Same fix as Ronald's but without the signal.
30558 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30560 * gst/gstutils.c: (gst_element_query_position):
30561 No, an element is not a pad.
30563 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30565 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30566 (gst_bin_get_state):
30567 If a child is removed from a bin while we remove the child from
30568 the bin and while we're retrieving its state, signal this to the
30569 get_state function so we abort the wait (instead of waiting for
30570 a timeout) and can immediately re-iterate over all other elements.
30572 2005-05-12 Wim Taymans <wim@fluendo.com>
30574 * gst/base/Makefile.am:
30575 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30576 (gst_basesrc_start):
30577 * gst/base/gstbasesrc.h:
30578 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30579 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30580 (gst_pushsrc_init), (gst_pushsrc_create):
30581 * gst/base/gstpushsrc.h:
30582 Added is_seekable to BaseSrc
30583 Added simple PushSrc.
30585 2005-05-11 Wim Taymans <wim@fluendo.com>
30587 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30588 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30589 (gst_element_link_pads), (gst_element_query_position),
30590 (gst_element_query_convert), (intersect_caps_func),
30591 (gst_pad_query_position), (gst_pad_query_convert):
30592 Fix refcounting in utils function.
30593 No point in trying to activate a pad when it's added, it could
30594 be added from the state change function and then we deadlock, the
30595 element has to decide what to do.
30597 2005-05-10 Andy Wingo <wingo@pobox.com>
30599 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30600 *all* the arguments.
30602 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30603 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30604 lock (according to the docs -- if this is wrong change the docs).
30606 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30607 flush messages in the NULL state.
30609 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30610 message immediately and return.
30611 (gst_bus_set_flushing): New function. If a bus is flushing, it
30612 flushes out any queued messages and immediately unrefs new
30613 messages. This is so when an element goes to NULL, all of the
30614 unhandled messages coming from it can be freed, and their
30615 references to the element dropped. In other words: message source
30616 ref considered harmful :P
30618 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30619 we're finished with it.
30621 * gst/gstmessage.c (gst_message_new_state_changed):
30623 2005-05-10 Wim Taymans <wim@fluendo.com>
30625 * gst/gstvalue.c: (gst_value_compare_flags),
30626 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30627 (_gst_value_initialize):
30628 Added flags serialize/deserialize/compare code.
30630 2005-05-09 Andy Wingo <wingo@pobox.com>
30632 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30633 Intersect the peer's caps with our caps.
30635 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30637 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30638 * gst/elements/gsttypefindelement.c: (find_peek):
30639 Handle negative offsets better. Fixes decodebin.
30641 2005-05-09 Wim Taymans <wim@fluendo.com>
30643 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30644 (gst_base_transform_event):
30645 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30646 Implement accept_caps.
30647 Fix silly lock/unlock mismatch in base class.
30649 2005-05-09 Wim Taymans <wim@fluendo.com>
30651 * docs/design/draft-push-pull.txt:
30652 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30653 * gst/elements/gstfilesink.c: (gst_filesink_init),
30654 (gst_filesink_query):
30655 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30656 (gst_type_find_handle_src_query), (find_element_get_length):
30657 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30658 * gst/gstelement.h:
30659 * gst/gstmessage.c:
30660 * gst/gstmessage.h:
30661 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30662 (gst_real_pad_get_caps_unlocked),
30663 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30664 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30665 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30666 (gst_real_pad_dispose), (gst_real_pad_finalize),
30667 (gst_pad_load_and_link), (gst_pad_save_thyself),
30668 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30669 (gst_pad_check_pull_range), (gst_pad_pull_range),
30670 (gst_pad_template_get_type), (gst_pad_template_class_init),
30671 (gst_pad_template_init), (gst_pad_template_dispose),
30672 (name_is_valid), (gst_static_pad_template_get),
30673 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30674 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30675 (gst_pad_get_element_private), (gst_pad_start_task),
30676 (gst_pad_pause_task), (gst_pad_stop_task),
30677 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30678 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30679 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30680 (gst_ghost_pad_new):
30682 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30683 (gst_query_new_position), (gst_query_set_position),
30684 (gst_query_parse_position), (gst_query_new_convert),
30685 (gst_query_set_convert), (gst_query_parse_convert):
30687 * gst/gstqueryutils.c:
30688 * gst/gstqueryutils.h:
30689 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30690 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30691 (gst_queue_handle_src_query):
30692 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30693 (gst_element_query_position), (gst_element_query_convert),
30694 (intersect_caps_func), (gst_pad_query_position),
30695 (gst_pad_query_convert):
30697 * tools/gst-inspect.c: (print_pad_info):
30698 * tools/gst-xmlinspect.c: (print_element_info):
30699 Remove old query functions. Ported old code.
30700 Added position/convert helper functions to gstutils.
30701 Reordered gstpad.c code, grouping relevant things.
30702 Remove gst_message_new(), always need to speficy a specific
30706 2005-05-09 Andy Wingo <wingo@pobox.com>
30708 * gst/gstiterator.h: Add some includes.
30710 * gst/gstqueryutils.h: Include more headers.
30713 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30714 some uses of gst_pad_query.
30716 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30717 NULL out parameters.
30718 (gst_query_new_position): New proc, allocates a new position
30721 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30722 gstqueryutils.c to the build.
30724 * gst/gststructure.c (gst_structure_set_valist): Implement with
30725 the generic G_VALUE_COLLECT.
30727 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30729 * gst/Makefile.am: (gst_headers):
30730 Added gstqueryutils.h to the list of headers to install, that was
30731 a 'nachty' move wingo :)
30733 2005-05-06 Andy Wingo <wingo@pobox.com>
30736 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30737 GstData, init a memchunk.
30738 (standard_definitions): Add a few query types, deprecate a few.
30739 (gst_query_get_type): New proc.
30740 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30742 (gst_query_new_application, gst_query_get_structure): New public
30745 * docs/design/draft-query.txt: Removed LINKS from the query types,
30746 because all the rest can be dispatched to other pads -- seemed
30747 ugly to have a query that couldn't be dispatched. internal_links
30748 is fine as a pad method.
30750 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30751 in gstpad.c, but maintain binary compatibility for the moment.
30752 Will fix before 0.9 is out.
30754 * gst/gstqueryutils.c:
30755 * gst/gstqueryutils.h: New files, implement 3 methods for each
30756 query type: parse_query, parse_response, and set. Probably need an
30759 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30761 * gst/elements/gstfilesink.c (gst_filesink_query2):
30762 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30763 query_types, and formats methods.
30765 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30766 (gst_pad_set_query2_function): New functions.
30767 (gst_real_pad_init): Set query2_default as the default query2
30768 function. Basically just dispatches to internally linked pads.
30772 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30773 without using the atomic operations. Only one thread can possibly
30774 be accessing the data at this point. Changed so as to avoid
30775 gst_atomic operations.
30777 2005-05-06 Wim Taymans <wim@fluendo.com>
30779 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30780 Also set caps if we use the fallback buffer alloc.
30782 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30784 * docs/gst/Makefile.am:
30785 * docs/gst/gstreamer-docs.sgml:
30786 * docs/gst/gstreamer-sections.txt:
30787 * docs/gst/tmpl/gstatomic.sgml:
30788 * docs/gst/tmpl/gstmemchunk.sgml:
30789 * testsuite/elements/struct_i386.h:
30790 * win32/GStreamer.vcproj:
30792 Purge GstAtomic stuff from docs and win32 makefiles as well
30794 2005-05-06 Wim Taymans <wim@fluendo.com>
30796 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30797 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30798 * gst/gstpad.c: (gst_pad_peer_get_caps):
30799 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30800 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30801 (gst_queue_src_activate), (gst_queue_change_state):
30803 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30804 (intersect_caps_func):
30805 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30806 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30807 Some fixes for the peer_get_caps() change.
30809 2005-05-06 Wim Taymans <wim@fluendo.com>
30811 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30812 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30813 (gst_basesink_activate):
30814 Actually do something with error codes returned from the push
30817 2005-05-06 Wim Taymans <wim@fluendo.com>
30819 * docs/design/part-element-sink.txt:
30820 * docs/design/part-element-source.txt:
30821 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30822 (gst_basesink_event), (gst_basesink_activate):
30823 * gst/base/gstbasesink.h:
30824 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30825 (gst_basesrc_activate):
30826 * gst/base/gstbasesrc.h:
30827 * gst/gstelement.c: (gst_element_pads_activate):
30828 Some more documentation.
30829 Fixed scheduling decision in _pads_activate().
30831 2005-05-05 Andy Wingo <wingo@pobox.com>
30833 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30836 2005-05-05 Wim Taymans <wim@fluendo.com>
30838 * gst/base/Makefile.am:
30839 * gst/base/gstbasesink.h:
30840 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30841 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30842 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30843 (gst_collectpads_class_init), (gst_collectpads_init),
30844 (gst_collectpads_finalize), (gst_collectpads_new),
30845 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30846 (find_pad), (gst_collectpads_remove_pad),
30847 (gst_collectpads_is_active), (gst_collectpads_collect),
30848 (gst_collectpads_collect_range), (gst_collectpads_start),
30849 (gst_collectpads_stop), (gst_collectpads_peek),
30850 (gst_collectpads_pop), (gst_collectpads_available),
30851 (gst_collectpads_read), (gst_collectpads_flush),
30852 (gst_collectpads_chain):
30853 * gst/base/gstcollectpads.h:
30854 * gst/elements/Makefile.am:
30855 * gst/elements/gstelements.c:
30856 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30857 (gst_fakesink_get_times), (gst_fakesink_event),
30858 (gst_fakesink_preroll), (gst_fakesink_render):
30859 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30860 (gst_filesink_init), (gst_filesink_set_location),
30861 (gst_filesink_open_file), (gst_filesink_close_file),
30862 (gst_filesink_pad_query), (gst_filesink_event),
30863 (gst_filesink_render), (gst_filesink_change_state):
30864 * gst/elements/gstfilesink.h:
30865 Added object to help in making collect pad based elements.
30867 Make event function in sink baseclass return gboolean.
30869 2005-05-05 Wim Taymans <wim@fluendo.com>
30871 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30872 (gst_bin_get_by_name):
30874 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30875 (gst_clock_finalize):
30876 * gst/gstdata.c: (gst_data_replace):
30878 * gst/gstelement.c: (gst_element_request_pad),
30879 (gst_element_pads_activate):
30880 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30881 (gst_object_unref):
30882 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30883 (gst_pad_set_checkgetrange_function),
30884 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30885 (gst_pad_check_pull_range), (gst_pad_pull_range),
30886 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30887 (gst_pad_pause_task), (gst_pad_stop_task):
30888 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30889 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30890 Fix name lookup in GstBin.
30891 Added _data_replace() function and _buffer_replace()
30892 Use finalize method to clean up clock.
30893 Fix refcounting on request pads.
30894 Fix pad schedule mode error.
30895 Some more object refcounting debug info,
30898 2005-05-04 Andy Wingo <wingo@pobox.com>
30900 * check/Makefile.am:
30901 * docs/gst/tmpl/gstatomic.sgml:
30902 * docs/gst/tmpl/gstplugin.sgml:
30903 * gst/base/gstbasesink.c: (gst_basesink_activate):
30904 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30905 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30906 (gst_basesrc_query), (gst_basesrc_set_property),
30907 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30908 (gst_basesrc_activate):
30909 * gst/base/gstbasesrc.h:
30910 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30911 (gst_base_transform_src_activate):
30912 * gst/elements/gstelements.c:
30913 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30914 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30915 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30916 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30917 (gst_type_find_element_checkgetrange),
30918 (gst_type_find_element_activate):
30919 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30920 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30921 (gst_caps_load_thyself):
30922 * gst/gstelement.c: (gst_element_pads_activate),
30923 (gst_element_save_thyself), (gst_element_restore_thyself):
30924 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30925 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30927 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30928 (gst_xml_parse_file), (gst_xml_parse_memory),
30929 (gst_xml_get_element), (gst_xml_make_element):
30930 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30931 (_file_index_id_save_xml), (gst_file_index_commit):
30932 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30933 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30935 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30936 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30937 * tools/gst-complete.c: (main):
30938 * tools/gst-compprep.c: (main):
30939 * tools/gst-inspect.c: (print_element_properties_info):
30940 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30941 * tools/gst-xmlinspect.c: (print_element_properties):
30944 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30946 * gst/gstplugin.c: (gst_plugin_check_module),
30947 (gst_plugin_check_file), (gst_plugin_load_file):
30948 apply patch from #172526 to make register work on MacOSX
30950 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30952 * docs/gst/tmpl/gstconfig.sgml:
30953 * gst/gstconfig.h.in:
30954 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30955 * testsuite/debug/printf_extension.c: (main):
30956 Do not use GST_PTR_FORMAT on pointers to types with
30957 sizeof < sizeof(gpointer). Fixes test on 64-bit
30958 * testsuite/elements/property.h:
30959 use correct printf format
30961 2005-05-02 Wim Taymans <wim@fluendo.com>
30963 * docs/design/draft-push-pull.txt:
30964 * docs/design/draft-query.txt:
30965 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30966 (gst_basesrc_start):
30967 Added draft for new query API.
30968 Added draft for better selecting scheduling methods.
30969 Make basesrc ignore length if the subclass does not support
30972 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30975 possible fixes for automake-1.5 - _LIBADD is reserved
30977 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30979 * docs/faq/Makefile.am:
30980 * docs/manual/Makefile.am:
30981 * docs/manuals.mak:
30982 * docs/pwg/Makefile.am:
30984 possible fixes for automake-1.5
30986 2005-04-28 Wim Taymans <wim@fluendo.com>
30988 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30989 (gst_basesink_pad_getcaps), (gst_basesink_init),
30990 (gst_basesink_do_sync):
30991 * gst/gstclock.c: (gst_clock_entry_new):
30992 * gst/gstevent.c: (gst_event_discont_get_value):
30993 * gst/gstpipeline.c: (pipeline_bus_handler),
30994 (gst_pipeline_change_state):
30995 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30996 Better debugging of clocking info.
30997 Allow NULL values when getting discont values.
30999 2005-04-27 Wim Taymans <wim@fluendo.com>
31001 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31002 * check/gst/gstpad.c: (gst_pad_suite):
31003 Increase timeout for checks.
31005 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31007 * check/Makefile.am:
31008 fix the broken rule for cleanup. Apparently this rule is
31009 only needed on FC2, so maybe this warrants further autotool
31012 2005-04-26 Wim Taymans <wim@fluendo.com>
31014 * gst/gsttrashstack.h:
31015 Ooohh. a nasty one! After having a failed pop() from the stack,
31016 it's possible that the stack is empty. In that case, don't
31017 follow the NULL pointer.
31019 2005-04-25 Wim Taymans <wim@fluendo.com>
31021 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31022 (gst_pad_set_checkgetrange_function),
31023 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31024 (gst_pad_check_pull_range), (gst_pad_pull_range),
31025 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31026 (gst_pad_pause_task), (gst_pad_stop_task):
31027 * gst/gstplugin.c: (gst_plugin_load):
31029 Remove gst_library_load as it does more harm than good with
31030 the new g_module flags.
31031 Revert bogus caps template check in pad linking, pad caps
31032 are important when linking not the template, which is more
31033 general than the current caps.
31035 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31037 * gst/autoplug/.cvsignore:
31038 * gst/autoplug/Makefile.am:
31039 * gst/autoplug/gstsearchfuncs.c:
31040 * gst/autoplug/gstsearchfuncs.h:
31041 * gst/autoplug/gstspider.c:
31042 * gst/autoplug/gstspider.h:
31043 * gst/autoplug/gstspideridentity.c:
31044 * gst/autoplug/gstspideridentity.h:
31045 * gst/autoplug/spidertest.c:
31048 2005-04-25 Wim Taymans <wim@fluendo.com>
31050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31051 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31052 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31053 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31055 Added stubs for unimplemented functions.
31057 2005-04-24 David Schleef <ds@schleef.org>
31059 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31062 2005-04-24 David Schleef <ds@schleef.org>
31064 Convert everything from GstAtomicInt to g_atomic_int_*, and
31069 * gst/gstatomic_impl.h:
31077 * gst/gstdata_private.h:
31081 * gst/gstmessage.c:
31084 * gst/gststructure.c:
31085 * gst/gststructure.h:
31086 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31089 2005-04-24 David Schleef <ds@schleef.org>
31091 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31092 make the regressions tests work. Remove some code that is no
31094 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31095 Disable warning for pads without templates.
31097 2005-04-24 David Schleef <ds@schleef.org>
31099 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31100 functions that handle filtered links.
31101 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31103 * gst/gstutils.c: Fix/remove utility functions that handle
31106 * gst/gstvalue.c: Add serialization/deserialization of caps
31107 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31108 requires fixing so that the filter caps notation creates
31109 a capsfilter element and sets the filter_caps property. I
31110 think everyone probably wants to keep the shorthand notation.
31111 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31112 * docs/gst/tmpl/gstpad.sgml:
31114 * gst/elements/gstelements.c: Register capsfilter element.
31115 * gst/Makefile.am: fix spacing
31116 * docs/random/ds/0.9-suggested-changes: random
31118 2005-04-23 David Schleef <ds@schleef.org>
31120 * gst/elements/Makefile.am:
31121 * gst/elements/gstcapsfilter.c: New element that acts like an
31122 identity, but filters caps. Will eventually replace filtered
31123 caps in pad linking.
31124 * gst/gstutils.c: (gst_element_create_all_pads): New function
31125 to create all the ALWAYS pads that are registered with an
31126 element class. This functionality should eventually be
31127 merged in with GstElement initialization.
31129 * testsuite/trigger/README: part of trigger test code that should
31130 have been checked in a long time ago.
31132 2005-04-23 David Schleef <ds@schleef.org>
31134 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31135 needed with new versions of libtool (nobody will confirm this),
31136 and hard to carry around.
31137 * gst/autoplug/Makefile.am:
31138 * gst/base/Makefile.am:
31139 * gst/elements/Makefile.am:
31140 * gst/indexers/Makefile.am:
31141 * gst/schedulers/Makefile.am:
31142 * libs/gst/bytestream/Makefile.am:
31143 * libs/gst/control/Makefile.am:
31144 * libs/gst/dataprotocol/Makefile.am:
31145 * libs/gst/getbits/Makefile.am:
31147 2005-04-21 Wim Taymans <wim@fluendo.com>
31149 * docs/design/draft-push-pull.txt:
31150 * docs/design/part-MT-refcounting.txt:
31151 * docs/design/part-TODO.txt:
31152 * docs/design/part-caps.txt:
31153 * docs/design/part-events.txt:
31154 * docs/design/part-gstbus.txt:
31155 * docs/design/part-gstpipeline.txt:
31156 * docs/design/part-messages.txt:
31157 * docs/design/part-push-pull.txt:
31158 * docs/design/part-query.txt:
31161 2005-04-21 Wim Taymans <wim@fluendo.com>
31163 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31164 (gst_message_new), (gst_message_new_error),
31165 (gst_message_new_warning), (gst_message_new_tag),
31166 (gst_message_new_state_changed), (gst_message_new_application),
31167 (gst_message_get_structure):
31168 * gst/gstmessage.h:
31169 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31170 (gst_structure_copy_conditional):
31171 Use parent refcount in GstMessage to ensure GstStructure
31173 Cleaned up headers a bit.
31176 2005-04-20 Wim Taymans <wim@fluendo.com>
31178 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31179 (gst_basesink_pad_getcaps), (gst_basesink_init),
31180 (gst_basesink_chain_unlocked):
31181 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31182 (gst_type_find_helper):
31183 * gst/elements/gsttypefindelement.c:
31184 (gst_type_find_element_have_type), (gst_type_find_element_init),
31185 (stop_typefinding), (gst_type_find_element_handle_event),
31186 (find_suggest), (gst_type_find_element_chain),
31187 (gst_type_find_element_checkgetrange),
31188 (gst_type_find_element_getrange), (do_typefind),
31189 (gst_type_find_element_activate):
31190 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31191 (gst_buffer_default_free), (gst_buffer_default_copy),
31192 (gst_buffer_set_caps):
31193 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31194 (gst_caps_replace):
31195 * gst/gstmessage.c: (gst_message_new),
31196 (gst_message_new_state_changed):
31197 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31198 (gst_pad_set_checkgetrange_function),
31199 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31200 (gst_pad_set_caps), (gst_pad_check_pull_range),
31201 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31203 * gst/gsttypefind.c: (gst_type_find_register):
31204 Make gst_caps_replace() work like other _replace() functions.
31205 Use _caps_replace() where possible.
31206 Make sure _message_new() initialises its field.
31207 Add gst_static_pad_template_get_caps()
31210 2005-04-18 Andy Wingo <wingo@pobox.com>
31212 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31213 on the peer, not the pad. I think that was a typo. Pass an extra
31214 arg to see if random access is possible. Activate the pads as
31215 PULL_RANGE if possible.
31217 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31219 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31220 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31223 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31225 * docs/faq/using.xml:
31226 Add note on gstreamer-properties (#154996).
31228 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31230 * docs/random/bbb/optional-properties:
31231 Some analysis on optional properties.
31233 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31235 * docs/gst/tmpl/gstelementfactory.sgml:
31236 * gst/gstelement.h:
31237 * gst/gstelementfactory.c: (gst_element_factory_init),
31238 (gst_element_factory_cleanup), (gst_element_register),
31239 (__gst_element_factory_add_static_pad_template),
31240 (gst_element_factory_get_static_pad_templates),
31241 (gst_element_factory_can_src_caps),
31242 (gst_element_factory_can_sink_caps):
31243 * gst/registries/Makefile.am:
31244 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31245 (gst_xml_registry_class_init), (gst_xml_registry_init),
31246 (gst_xml_registry_new), (gst_xml_registry_set_property),
31247 (gst_xml_registry_get_property), (get_time), (make_dir),
31248 (gst_xml_registry_get_perms_func),
31249 (plugin_times_older_than_recurse), (plugin_times_older_than),
31250 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31251 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31252 (add_to_char_array), (read_string), (read_uint), (read_enum),
31253 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31254 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31255 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31256 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31257 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31258 (gst_xml_registry_rebuild):
31259 * gst/registries/gstlibxmlregistry.h:
31260 * tools/gst-compprep.c: (main):
31261 * tools/gst-inspect.c: (print_pad_templates_info):
31262 * tools/gst-xmlinspect.c: (print_element_info):
31263 Use libxml2 for registry parsing, use staticpadtemplates in
31264 elementfactories. Makes gst_init() +/- 10x faster.
31266 2005-04-12 Wim Taymans <wim@fluendo.com>
31268 * gst/base/Makefile.am:
31269 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31270 (gst_basesink_pad_getcaps), (gst_basesink_init),
31271 (gst_basesink_event), (gst_basesink_change_state):
31272 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31273 (gst_basesrc_init), (gst_basesrc_query),
31274 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31275 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31276 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31277 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31278 (gst_basesrc_stop), (gst_basesrc_activate),
31279 (gst_basesrc_change_state):
31280 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31281 (helper_find_suggest), (gst_type_find_helper):
31282 * gst/base/gsttypefindhelper.h:
31283 * gst/elements/Makefile.am:
31284 * gst/elements/gstelements.c:
31285 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31286 (gst_fakesink_get_times), (gst_fakesink_event),
31287 (gst_fakesink_preroll), (gst_fakesink_render):
31288 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31289 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31290 (gst_fakesrc_get_property), (gst_fakesrc_create),
31291 (gst_fakesrc_start), (gst_fakesrc_stop):
31292 * gst/elements/gstfakesrc.h:
31293 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31294 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31295 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31296 (gst_filesrc_create_read), (gst_filesrc_create),
31297 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31298 (gst_filesrc_start):
31299 * gst/elements/gsttypefindelement.c:
31300 (gst_type_find_element_have_type), (gst_type_find_element_init),
31301 (start_typefinding), (stop_typefinding), (push_buffer_store),
31302 (gst_type_find_element_handle_event),
31303 (gst_type_find_element_chain),
31304 (gst_type_find_element_checkgetrange),
31305 (gst_type_find_element_getrange), (do_typefind),
31306 (gst_type_find_element_activate),
31307 (gst_type_find_element_change_state):
31308 * gst/elements/gsttypefindelement.h:
31309 * gst/gstpipeline.c: (pipeline_bus_handler):
31310 Added typefind helper.
31311 Small preroll fix in the base sink.
31312 Disable typefind code in basesrc.
31313 Crude port of typefindelement.
31317 2005-04-11 Wim Taymans <wim@fluendo.com>
31319 * check/gst/gstbus.c: (gstbus_suite):
31320 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31321 * check/gstcheck.h:
31322 Fix up the timeout so that the test does not fail.
31324 2005-04-06 Wim Taymans <wim@fluendo.com>
31327 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31328 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31329 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31330 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31331 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31332 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31333 (gst_basesrc_stop), (gst_basesrc_activate),
31334 (gst_basesrc_change_state), (basesrc_find_peek),
31335 (basesrc_find_suggest), (gst_basesrc_type_find):
31336 * gst/base/gstbasesrc.h:
31337 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31338 (gst_filesrc_class_init), (gst_filesrc_init),
31339 (gst_filesrc_finalize), (gst_filesrc_set_location),
31340 (gst_filesrc_set_property), (gst_filesrc_get_property),
31341 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31342 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31343 (gst_filesrc_create_read), (gst_filesrc_create),
31344 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31345 * gst/elements/gstfilesrc.h:
31346 * gst/gstelement.c: (gst_element_get_state_func),
31347 (gst_element_lost_state), (gst_element_pads_activate):
31348 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31349 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31350 (gst_pad_pull_range):
31352 More work on the generic source base class, implement seeking,
31354 Make filesrc extend the base source class.
31355 Added gst_pad_set_checkgetrange_function to GstPad.
31357 2005-04-06 Andy Wingo <wingo@pobox.com>
31359 * pkgconfig/gstreamer-base.pc.in:
31360 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31362 * pkgconfig/Makefile.am:
31363 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31365 2005-04-04 Wim Taymans <wim@fluendo.com>
31367 * gst/base/Makefile.am:
31369 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31370 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31371 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31372 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31373 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31374 (gst_basesrc_base_init), (gst_basesrc_class_init),
31375 (gst_basesrc_init), (gst_basesrc_get_formats),
31376 (gst_basesrc_get_query_types), (gst_basesrc_query),
31377 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31378 (gst_basesrc_set_property), (gst_basesrc_get_property),
31379 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31380 (gst_basesrc_loop), (gst_basesrc_activate),
31381 (gst_basesrc_change_state):
31382 * gst/base/gstbasesrc.h:
31383 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31384 (gst_fakesrc_class_init), (gst_fakesrc_init),
31385 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31386 (gst_fakesrc_get_property), (gst_fakesrc_create):
31387 * gst/elements/gstfakesrc.h:
31388 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31389 (gst_filesrc_open_file), (gst_filesrc_loop),
31390 (gst_filesrc_activate), (filesrc_find_peek),
31391 (gst_filesrc_type_find):
31392 Made base source class, make fakesrc extend it.
31393 Add comments to basesink class.
31394 Some filesrc cleanup.
31396 2005-03-31 David Schleef <ds@schleef.org>
31398 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31399 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31400 expected to link against libgstreamer.
31401 * gst/base/Makefile.am: link against libgstreamer
31402 * gst/elements/Makefile.am: same
31404 2005-03-31 Andy Wingo <wingo@pobox.com>
31406 * tests/instantiate/Makefile.am:
31407 * tests/instantiate/caps.c: Add test to test speed of caps copy
31410 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31411 GMemChunk to be fair.
31413 * gst/gsttrashstack.h: Remove warning about using the fallback
31414 trash stack implementation, it's still faster than malloc.
31416 2005-03-30 Andy Wingo <wingo@pobox.com>
31418 * tests/complexity.c: Add a copyright.
31420 2005-03-31 Wim Taymans <wim@fluendo.com>
31422 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31423 (gst_base_transform_class_init), (gst_base_transform_init),
31424 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31425 (gst_base_transform_get_property),
31426 (gst_base_transform_sink_activate),
31427 (gst_base_transform_src_activate),
31428 (gst_base_transform_change_state):
31429 * gst/base/gstbasetransform.h:
31430 * gst/elements/gstidentity.c: (gst_identity_class_init),
31431 (gst_identity_event), (gst_identity_check_perfect),
31432 (gst_identity_transform), (gst_identity_start),
31433 (gst_identity_stop):
31434 Added start/stop methods to transform base class so subclasses
31435 don't need to deal with state changes even.
31437 2005-03-31 Wim Taymans <wim@fluendo.com>
31439 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31440 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31442 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31443 (gst_pad_pull_range):
31444 Added rate to the discont event to prepare for variable speed
31445 and reverse playback.
31447 2005-03-29 David Schleef <ds@schleef.org>
31450 * testsuite/trigger/Makefile.am:
31451 * testsuite/trigger/trigger.c: A little example program to show
31452 how trigger-based elements can work.
31454 2005-03-29 Wim Taymans <wim@fluendo.com>
31456 * gst/base/Makefile.am:
31458 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31459 (gst_basesink_base_init), (gst_basesink_class_init),
31460 (gst_basesink_pad_getcaps), (gst_basesink_init),
31461 (gst_basesink_activate), (gst_basesink_change_state):
31462 * gst/base/gstbasesink.h:
31463 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31464 (gst_base_transform_base_init), (gst_base_transform_finalize),
31465 (gst_base_transform_class_init), (gst_base_transform_init),
31466 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31467 (gst_base_transform_event), (gst_base_transform_getrange),
31468 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31469 (gst_base_transform_set_property),
31470 (gst_base_transform_get_property),
31471 (gst_base_transform_sink_activate),
31472 (gst_base_transform_src_activate),
31473 (gst_base_transform_change_state):
31474 * gst/base/gstbasetransform.h:
31475 * gst/elements/gstidentity.c: (gst_identity_finalize),
31476 (gst_identity_class_init), (gst_identity_init),
31477 (gst_identity_event), (gst_identity_check_perfect),
31478 (gst_identity_transform), (gst_identity_set_property),
31479 (gst_identity_get_property), (gst_identity_change_state):
31480 * gst/elements/gstidentity.h:
31481 * gst/gstelement.c: (gst_element_get_state_func),
31482 (gst_element_lost_state), (gst_element_pads_activate):
31483 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31484 (gst_pad_check_pull_range), (gst_pad_pull_range):
31486 Simplify pad activation.
31487 Added function to check if pull_range can be performed.
31488 Error out when pulling inactive or flushing pads.
31489 Removed const from refcounted types as it does not make sense.
31490 Simplify pad templates in basesink
31491 Added base class for simple 1-to-1 transforms.
31492 Make identity subclass the base transform.
31494 2005-03-29 Andy Wingo <wingo@pobox.com>
31496 * docs/libs/gstreamer-libs-overrides.txt:
31497 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31498 really don't understand what's going on, but like whatever. I want
31501 * docs/gst/Makefile.am:
31502 * docs/libs/Makefile.am: Dist the overrides files.
31504 * check/Makefile.am (clean-local): Remove .libs directories.
31506 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31507 elements to EXTRA_DIST, so po/ files are happy.
31509 * po/POTFILES.in: Er, remove it here.
31511 * po/POTFILES: Remove gstspider.c.
31513 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31515 * docs/libs/gstreamer-libs-docs.sgml:
31516 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31519 * tests/complexity.c (main): Set the length of the preroll queue
31520 on the sinks to prevent a lockup.
31522 * libs/gst/dataprotocol/Makefile.am:
31523 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31524 the same as the one in check/gst-libs/gdp.c.
31526 * po/, docs/gst/: Commit automatic changes to docs and po files.
31528 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31529 the versioned libgstbase.
31531 * check/Makefile.am: Depend on an unversioned gst-register, seems
31532 to make autoconf happier.
31534 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31536 2005-03-28 Wim Taymans <wim@fluendo.com>
31539 * docs/design/part-gstelement.txt:
31540 * docs/design/part-negotiation.txt:
31541 * docs/design/part-preroll.txt:
31542 * docs/design/part-scheduling.txt:
31543 * docs/design/part-states.txt:
31545 * gst/base/Makefile.am:
31547 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31548 (gst_basesink_base_init), (gst_basesink_class_init),
31549 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31550 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31551 (gst_basesink_set_pad_functions),
31552 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31553 (gst_basesink_set_property), (gst_basesink_get_property),
31554 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31555 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31556 (gst_basesink_preroll_queue_push),
31557 (gst_basesink_preroll_queue_empty),
31558 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31559 (gst_basesink_event), (gst_basesink_get_times),
31560 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31561 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31562 (gst_basesink_loop), (gst_basesink_activate),
31563 (gst_basesink_change_state):
31564 * gst/base/gstbasesink.h:
31565 * gst/elements/Makefile.am:
31566 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31567 (gst_fakesink_class_init), (gst_fakesink_init),
31568 (gst_fakesink_set_property), (gst_fakesink_get_property),
31569 (gst_fakesink_get_times), (gst_fakesink_event),
31570 (gst_fakesink_preroll), (gst_fakesink_render),
31571 (gst_fakesink_change_state):
31572 * gst/elements/gstfakesink.h:
31573 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31574 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31575 * gst/gstelement.c: (gst_element_add_pad),
31576 (gst_element_get_state_func), (gst_element_abort_state),
31577 (gst_element_commit_state), (gst_element_lost_state),
31578 (gst_element_set_state), (gst_element_pads_activate):
31579 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31580 * gst/gstpipeline.c: (gst_pipeline_send_event),
31581 (gst_pipeline_change_state):
31582 Added state change code.
31583 Added/updated docs.
31584 Added sink base class, make fakesink extend the base class.
31585 Small cleanups in GstPipeline.
31587 2005-03-26 David Schleef <ds@schleef.org>
31589 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31590 is broken and should be implemented in a different library.
31591 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31592 * gst/gst.h: remove gstcpu.h
31593 * gst/gstcpu.c: remove
31594 * gst/gstcpu.h: remove
31595 * gst/Makefile.am.future: Remove this file. It's ancient.
31597 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31600 (gst_bin_send_event):
31601 Add default event/set_manager handlers. The set_manager handler
31602 takes care that the manager is distributed over kids that were
31603 already in the bin before the manager was set. The event handler
31604 is a utility virtual function that sends the event over all sinks,
31605 so that gst_element_send_event (bin, event); has the expected
31607 * gst/gstpad.c: (gst_pad_event_default):
31608 Re-install default event handling for discontinuities, so that
31609 seeking works without requiring hacks in applications or extra
31611 * gst/gstpipeline.c: (gst_pipeline_class_init),
31612 (gst_pipeline_send_event):
31613 Half hack, half utility: set a pipeline to PAUSED for seek events,
31614 since that is the only way we can guarantee a/v sync. Means that
31615 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31616 and it "just works".
31618 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31620 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31621 Lock/unlock mismatch.
31623 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31625 * docs/faq/gst-uninstalled:
31626 add gst-plugins-base
31627 * docs/gst/Makefile.am:
31628 don't error out until docs are fixed
31629 * docs/gst/gstreamer.types:
31632 2005-03-22 Wim Taymans <wim@fluendo.com>
31634 * check/Makefile.am:
31635 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31636 * gst/gststructure.c: (gst_structure_set_valist),
31637 (gst_structure_copy_conditional):
31638 Activated more tests.
31639 Added message test.
31640 Added G_TYPE_POINTER to GstStructure.
31643 2005-03-22 Wim Taymans <wim@fluendo.com>
31645 * docs/design/part-TODO.txt:
31646 * docs/design/part-events.txt:
31647 * docs/design/part-gstbin.txt:
31648 * docs/design/part-gstbus.txt:
31649 * docs/design/part-gstpipeline.txt:
31650 * docs/design/part-messages.txt:
31652 * gst/gstmessage.c:
31655 2005-03-21 Wim Taymans <wim@fluendo.com>
31657 * gst/gstbus.c: (gst_bus_post):
31658 Fix copy-and-paste error.
31660 2005-03-21 Wim Taymans <wim@fluendo.com>
31662 * check/Makefile.am:
31664 * gst/elements/Makefile.am:
31665 * gst/elements/gstelements.c:
31666 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31667 (gst_fakesink_event), (gst_fakesink_chain):
31668 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31669 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31670 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31671 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31672 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31673 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31674 (gst_fakesrc_loop), (gst_fakesrc_activate),
31675 (gst_fakesrc_change_state):
31676 * gst/elements/gstfakesrc.h:
31677 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31678 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31679 (gst_filesrc_open_file), (gst_filesrc_loop),
31680 (gst_filesrc_activate), (gst_filesrc_change_state),
31681 (filesrc_find_peek), (filesrc_find_suggest),
31682 (gst_filesrc_type_find):
31683 * gst/elements/gstidentity.c: (gst_identity_finalize),
31684 (gst_identity_class_init), (gst_identity_init),
31685 (gst_identity_proxy_getcaps), (identity_queue_push),
31686 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31687 (gst_identity_getrange), (gst_identity_chain),
31688 (gst_identity_sink_loop), (gst_identity_src_loop),
31689 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31690 (gst_identity_set_property), (gst_identity_get_property),
31691 (gst_identity_change_state):
31692 * gst/elements/gstidentity.h:
31693 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31694 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31695 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31696 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31697 (gst_tee_sink_activate):
31698 * gst/elements/gsttee.h:
31699 * gst/gst.c: (gst_register_core_elements), (init_post):
31701 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31702 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31703 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31704 (gst_bin_change_state):
31706 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31707 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31708 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31709 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31710 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31711 (bus_watch_callback), (bus_watch_destroy),
31712 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31713 (poll_timeout), (gst_bus_poll):
31717 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31718 (gst_element_post_message), (gst_element_message_full),
31719 (gst_element_get_state_func), (gst_element_get_state),
31720 (gst_element_abort_state), (gst_element_commit_state),
31721 (gst_element_lost_state), (gst_element_set_state),
31722 (gst_element_pads_activate), (gst_element_change_state),
31723 (gst_element_dispose), (gst_element_set_manager_func),
31724 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31725 (gst_element_set_manager), (gst_element_get_manager),
31726 (gst_element_set_bus), (gst_element_get_bus),
31727 (gst_element_set_scheduler), (gst_element_get_scheduler):
31728 * gst/gstelement.h:
31729 * gst/gstevent.c: (gst_event_new_segment_seek),
31730 (gst_event_new_flush):
31732 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31733 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31734 (gst_message_new_eos), (gst_message_new_error),
31735 (gst_message_new_warning), (gst_message_new_tag),
31736 (gst_message_new_state_changed), (gst_message_new_application),
31737 (gst_message_get_structure), (gst_message_parse_tag),
31738 (gst_message_parse_state_changed), (gst_message_parse_error),
31739 (gst_message_parse_warning):
31740 * gst/gstmessage.h:
31741 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31742 (gst_real_pad_set_property), (gst_pad_set_active),
31743 (gst_pad_is_active), (gst_pad_set_blocked_async),
31744 (gst_pad_set_blocked), (gst_pad_is_blocked),
31745 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31746 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31747 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31748 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31749 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31750 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31751 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31752 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31753 (gst_pad_set_caps), (gst_pad_configure_sink),
31754 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31755 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31756 (gst_real_pad_dispose), (gst_real_pad_finalize),
31757 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31758 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31759 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31761 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31762 (pipeline_bus_handler), (gst_pipeline_change_state),
31763 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31764 * gst/gstpipeline.h:
31766 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31767 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31768 (gst_queue_link_src), (gst_queue_bufferalloc),
31769 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31770 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31771 (gst_queue_loop), (gst_queue_handle_src_event),
31772 (gst_queue_handle_src_query), (gst_queue_src_activate),
31773 (gst_queue_change_state):
31775 * gst/gstscheduler.c: (gst_scheduler_init),
31776 (gst_scheduler_dispose), (gst_scheduler_create_task),
31777 (gst_scheduler_factory_create):
31778 * gst/gstscheduler.h:
31779 * gst/gststructure.c: (gst_structure_get_type),
31780 (gst_structure_copy_conditional):
31781 * gst/gststructure.h:
31782 * gst/gsttaginterface.h:
31783 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31784 (gst_task_init), (gst_task_dispose), (gst_task_create),
31785 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31791 * gst/schedulers/Makefile.am:
31792 * gst/schedulers/cothreads_compat.h:
31793 * gst/schedulers/entryscheduler.c:
31794 * gst/schedulers/faircothreads.c:
31795 * gst/schedulers/faircothreads.h:
31796 * gst/schedulers/fairscheduler.c:
31797 * gst/schedulers/gstbasicscheduler.c:
31798 * gst/schedulers/gstoptimalscheduler.c:
31799 * gst/schedulers/gthread-cothreads.h:
31800 * gst/schedulers/threadscheduler.c:
31801 (gst_thread_scheduler_task_get_type),
31802 (gst_thread_scheduler_task_class_init),
31803 (gst_thread_scheduler_task_init),
31804 (gst_thread_scheduler_task_start),
31805 (gst_thread_scheduler_task_stop),
31806 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31807 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31808 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31809 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31811 * libs/gst/Makefile.am:
31812 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31813 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31814 (gst_file_pad_parent_set):
31815 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31816 (gst_dp_event_from_packet):
31817 * tests/complexity.c: (main):
31818 * tests/mass_elements.c: (main):
31819 * testsuite/states/locked.c: (message_received), (main):
31820 * testsuite/states/parent.c: (main):
31821 * tools/gst-inspect.c: (print_element_flag_info),
31822 (print_implementation_info), (print_pad_info):
31823 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31825 * tools/gst-md5sum.c: (event_loop), (main):
31826 * tools/gst-typefind.c: (main):
31827 * tools/gst-xmlinspect.c: (print_element_info):
31829 Added GstBus for mainloop integration.
31830 Added GstMessage for sending notifications on the bus.
31831 Added GstTask as an abstraction for pipeline entry points.
31833 Removed Schedulers.
31834 Simplified GstQueue for multithreaded core.
31835 Made _link threadsafe, removed old capsnego.
31836 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31837 Added pad blocking functions.
31838 Reworked scheduling functions in GstPad to prepare for
31839 scheduling updates soon.
31840 Moved events out of data stream.
31841 Simplified GstEvent types.
31842 Added return values to push/pull.
31843 Removed clocking from GstElement.
31844 Added prototypes for state change function for next merge.
31845 Removed iterate from bins and state change management.
31846 Fixed some elements, disabled others for now.
31847 Fixed -inspect and -launch.
31848 Added check for GstBus.
31850 2005-03-10 Wim Taymans <wim@fluendo.com>
31852 * docs/design/part-MT-refcounting.txt:
31853 * docs/design/part-clocks.txt:
31854 * docs/design/part-gstelement.txt:
31855 * docs/design/part-gstobject.txt:
31856 * docs/design/part-standards.txt:
31857 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31858 (gst_bin_remove_func), (gst_bin_remove):
31862 * testsuite/clock/clock1.c: (main):
31863 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31865 * testsuite/dlopen/loadgst.c: (do_test):
31866 * testsuite/refcounting/bin.c: (add_remove_test1),
31867 (add_remove_test2), (main):
31868 * testsuite/refcounting/element.c: (main):
31869 * testsuite/refcounting/element_pad.c: (main):
31870 * testsuite/refcounting/pad.c: (main):
31871 * tools/gst-launch.c: (sigint_handler_sighandler):
31872 * tools/gst-typefind.c: (main):
31874 Added doc about clock.
31875 removed gst_bin_iterate_recurse_up(), marked methods
31877 Fix more testsuites.
31879 2005-03-09 Wim Taymans <wim@fluendo.com>
31881 * gst/gstpad.c: (gst_pad_get_direction),
31882 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31883 (gst_pad_collect_valist):
31884 * testsuite/bins/interface.c: (main):
31885 * testsuite/caps/audioscale.c: (test_caps):
31886 * testsuite/caps/caps.c: (test1), (test2), (test3):
31887 * testsuite/caps/deserialize.c: (main):
31888 * testsuite/caps/enumcaps.c: (main):
31889 * testsuite/caps/filtercaps.c: (main):
31890 * testsuite/caps/intersect2.c: (main):
31891 * testsuite/caps/random.c: (main):
31892 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31893 * testsuite/caps/sets.c: (check_caps):
31894 * testsuite/caps/simplify.c: (check_caps), (main):
31895 * testsuite/caps/subtract.c: (check_caps):
31896 Fix _pad_get_direction wrt ghostpads.
31897 Fix caps testsuite.
31899 2005-03-09 Wim Taymans <wim@fluendo.com>
31901 * check/Makefile.am:
31902 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31903 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31904 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31905 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31906 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31907 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31908 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31909 (bin_element_is_sink), (gst_bin_iterate_sinks),
31910 (gst_bin_iterate_all_by_interface):
31912 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31913 (gst_element_change_state), (gst_element_dispose),
31914 (gst_element_finalize), (gst_element_set_loop_function):
31915 * gst/gstelement.h:
31916 * gst/gstiterator.c: (find_custom_fold_func):
31917 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31918 (gst_pad_collectv), (gst_pad_collect_valist),
31919 (gst_pad_template_new):
31920 * gst/gstpipeline.c: (gst_pipeline_class_init),
31921 (gst_pipeline_dispose), (gst_pipeline_set_property),
31922 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31923 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31924 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31926 * gst/schedulers/entryscheduler.c:
31927 * gst/schedulers/gstbasicscheduler.c:
31928 (gst_basic_scheduler_cothreaded_chain),
31929 (gst_basic_scheduler_chain_add_element):
31930 * testsuite/bins/interface.c: (main):
31932 Added GstSystemClock test.
31933 Implemented clock distribution code in GstBin.
31934 Implemented iterate sinks method for future use.
31935 Rearranged gstelement.h
31936 Fix GstIterator comparison bug.
31937 Moved some code to GstPipeline, mostly clocking related.
31939 2005-03-09 Wim Taymans <wim@fluendo.com>
31942 * gst/gst_private.h:
31943 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31944 (gst_bin_remove_func), (gst_bin_remove),
31945 (gst_bin_get_by_name_recurse_up):
31946 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31947 (gst_clock_id_compare_func), (gst_clock_id_wait),
31948 (gst_clock_id_wait_async), (gst_clock_init),
31949 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31950 * gst/gstelement.h:
31951 * gst/gstinfo.c: (_gst_debug_init):
31953 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31954 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31956 Bump version number, we're now 0.9.0
31957 Add future debugging category.
31958 Fix NULL _unref() in _get_by_name_recurse_up
31959 Rearrange gstpad.h.
31962 2005-03-08 Wim Taymans <wim@fluendo.com>
31964 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31965 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31966 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31967 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31968 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31969 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31970 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31971 * gst/elements/gstidentity.c: (gst_identity_class_init):
31972 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31973 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31974 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31975 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31976 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31978 * gst/gstelement.c: (gst_element_class_init),
31979 (gst_element_base_class_init), (gst_element_init),
31980 (gst_element_get_random_pad), (gst_element_wait_state_change),
31981 (gst_element_change_state), (gst_element_dispose),
31982 (gst_element_finalize), (gst_element_set_loop_function):
31983 * gst/gstelement.h:
31984 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31985 * gst/gstthread.c: (gst_thread_class_init),
31986 (gst_thread_release_children_locks), (gst_thread_change_state):
31987 * gst/schedulers/gstbasicscheduler.c:
31988 (gst_basic_scheduler_loopfunc_wrapper),
31989 (gst_basic_scheduler_chain_wrapper),
31990 (gst_basic_scheduler_src_wrapper),
31991 (gst_basic_scheduler_remove_element):
31992 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31993 Remove threadsafe properties. Fix elements because GObject
31994 complains when installing a property before declaring a
31995 set/get_property handler.
31996 Rearrange gstelement.h file, use STATE macros for state locks.
31997 Free mutexes in the finalize method instead of dispose.
31999 2005-03-08 Wim Taymans <wim@fluendo.com>
32001 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32002 * gst/gstthread.c: (gst_thread_release_children_locks):
32003 Added parentage check.
32004 Fix build og GstThread again.
32006 2005-03-08 Wim Taymans <wim@fluendo.com>
32008 * docs/design/part-MT-refcounting.txt:
32009 * docs/design/part-conventions.txt:
32010 * docs/design/part-gstobject.txt:
32011 * docs/design/part-relations.txt:
32012 * docs/design/part-standards.txt:
32013 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32014 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32015 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32016 (gst_bin_iterate_all_by_interface):
32019 * gst/gstelement.c: (gst_element_class_init),
32020 (gst_element_change_state), (gst_element_set_loop_function):
32021 * gst/gstelement.h:
32022 * gst/gstiterator.c:
32023 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32024 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32025 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32026 (gst_object_set_parent), (gst_object_unparent),
32027 (gst_object_check_uniqueness):
32029 Docs updates, clean up some headers.
32031 2005-03-07 Wim Taymans <wim@fluendo.com>
32033 * check/.cvsignore:
32034 * check/Makefile.am:
32035 * check/gst-libs/.cvsignore:
32036 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32037 * check/gst/.cvsignore:
32038 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32039 (START_TEST), (gstbus_suite), (main):
32040 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32041 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32042 (gst_data_suite), (main):
32043 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32044 (add_fold_func), (gstiterator_suite), (main):
32045 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32046 (thread_name_object), (thread_name_object_default),
32047 (gst_object_name_compare), (gst_object_suite), (main):
32048 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32049 (gst_pad_suite), (main):
32050 * check/gstcheck.c: (gst_check_log_message_func),
32051 (gst_check_log_critical_func), (gst_check_init):
32052 * check/gstcheck.h:
32053 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32054 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32057 2005-03-07 Wim Taymans <wim@fluendo.com>
32059 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32060 (gst_list_iterator_next), (gst_list_iterator_resync),
32061 (gst_list_iterator_free), (gst_iterator_new_list),
32062 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32063 (gst_iterator_free), (gst_iterator_push), (filter_next),
32064 (filter_resync), (filter_uninit), (filter_free),
32065 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32066 (gst_iterator_foreach), (find_custom_fold_func),
32067 (gst_iterator_find_custom):
32068 * gst/gstiterator.h:
32069 Added missing files.
32071 2005-03-07 Wim Taymans <wim@fluendo.com>
32075 * docs/design/part-MT-refcounting.txt:
32076 * docs/design/part-conventions.txt:
32077 * docs/design/part-gstobject.txt:
32078 * docs/design/part-relations.txt:
32079 * examples/mixer/mixer.c: (main):
32080 * examples/thread/thread.c: (eos), (main):
32082 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32083 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32084 (gst_spider_plug_from_srcpad):
32085 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32086 (gst_spider_identity_change_state),
32087 (gst_spider_identity_sink_loop_type_finding):
32088 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32089 * gst/elements/gstidentity.c: (gst_identity_init):
32090 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32091 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32092 * gst/elements/gsttypefindelement.c: (free_entry):
32095 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32096 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32097 (gst_bin_set_index), (gst_bin_set_element_sched),
32098 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32099 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32100 (gst_bin_iterate_elements), (iterate_child_recurse),
32101 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32102 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32103 (compare_interface), (gst_bin_get_by_interface),
32104 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32106 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32107 (gst_buffer_default_free), (gst_buffer_default_copy),
32108 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32109 (gst_buffer_create_sub):
32111 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32112 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32113 (gst_caps_unref), (gst_static_caps_get),
32114 (gst_caps_remove_and_get_structure), (gst_caps_append),
32115 (gst_caps_append_structure), (gst_caps_remove_structure),
32116 (gst_caps_copy_nth), (gst_caps_set_simple),
32117 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32118 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32119 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32120 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32121 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32122 (gst_caps_structure_figure_out_union),
32123 (gst_caps_switch_structures), (gst_caps_do_simplify),
32124 (gst_caps_replace), (gst_caps_from_string),
32125 (gst_caps_copy_conditional):
32127 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32128 (_gst_clock_id_free), (gst_clock_id_unref),
32129 (gst_clock_id_compare_func), (gst_clock_id_wait),
32130 (gst_clock_id_wait_async), (gst_clock_class_init),
32131 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32132 (gst_clock_get_time), (gst_clock_set_time_adjust),
32133 (gst_clock_set_property), (gst_clock_get_property):
32136 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32137 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32139 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32140 (gst_element_requires_clock), (gst_element_provides_clock),
32141 (gst_element_set_clock), (gst_element_clock_wait),
32142 (gst_element_wait), (gst_element_set_time_delay),
32143 (gst_element_is_indexable), (gst_element_add_pad),
32144 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32145 (pad_compare_name), (gst_element_get_static_pad),
32146 (gst_element_request_pad), (gst_element_get_request_pad),
32147 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32148 (gst_element_class_get_pad_template_list),
32149 (gst_element_class_get_pad_template), (gst_element_error_func),
32150 (gst_element_get_random_pad), (gst_element_get_event_masks),
32151 (gst_element_send_event), (gst_element_seek),
32152 (gst_element_get_query_types), (gst_element_query),
32153 (gst_element_get_formats), (gst_element_convert),
32154 (gst_element_is_locked_state), (gst_element_set_locked_state),
32155 (gst_element_sync_state_with_parent), (gst_element_change_state),
32156 (gst_element_finalize), (gst_element_yield),
32157 (gst_element_interrupt), (gst_element_set_scheduler),
32158 (gst_element_get_scheduler), (gst_element_set_loop_function):
32159 * gst/gstelement.h:
32161 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32162 (gst_format_get_by_nick), (gst_format_get_details),
32163 (gst_format_iterate_definitions):
32165 * gst/gstindex.c: (gst_index_gtype_resolver):
32168 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32169 (gst_mem_chunk_free):
32170 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32171 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32172 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32173 (gst_object_dispatch_properties_changed),
32174 (gst_object_set_name_default), (gst_object_set_name),
32175 (gst_object_get_name), (gst_object_set_name_prefix),
32176 (gst_object_get_name_prefix), (gst_object_set_parent),
32177 (gst_object_get_parent), (gst_object_unparent),
32178 (gst_object_check_uniqueness), (gst_object_save_thyself),
32179 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32180 (gst_object_set_property), (gst_object_get_property),
32181 (gst_object_get_path_string):
32183 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32184 (gst_real_pad_init), (gst_real_pad_get_property),
32185 (gst_pad_custom_new), (gst_pad_get_direction),
32186 (gst_pad_set_active), (gst_pad_is_active),
32187 (gst_pad_set_event_function), (gst_pad_is_linked),
32188 (gst_pad_link_free), (gst_pad_link_intersect),
32189 (gst_pad_link_fixate), (gst_pad_set_caps),
32190 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32191 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32192 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32193 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32194 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32195 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32196 (gst_pad_realize), (gst_pad_get_allowed_caps),
32197 (gst_real_pad_dispose), (gst_real_pad_finalize),
32198 (gst_pad_collectv), (gst_pad_collect_valist),
32199 (gst_pad_template_dispose), (gst_pad_template_new),
32200 (gst_pad_get_internal_links):
32202 * gst/gstpipeline.c: (gst_pipeline_dispose),
32203 (gst_pipeline_change_state):
32204 * gst/gstpipeline.h:
32206 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32207 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32208 * gst/gstpluginfeature.h:
32209 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32210 * gst/gstquery.c: (_gst_query_type_initialize),
32211 (gst_query_type_register), (gst_query_type_get_by_nick),
32212 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32214 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32215 * gst/gstscheduler.c: (gst_scheduler_add_element),
32216 (gst_scheduler_factory_create):
32217 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32218 (gst_structure_free), (gst_structure_set_name),
32219 (gst_structure_id_set_value), (gst_structure_set_value),
32220 (gst_structure_set_valist), (gst_structure_remove_field),
32221 (gst_structure_remove_fields),
32222 (gst_structure_remove_fields_valist),
32223 (gst_structure_remove_all_fields), (gst_structure_foreach),
32224 (gst_structure_map_in_place),
32225 (gst_caps_structure_fixate_field_nearest_int),
32226 (gst_caps_structure_fixate_field_nearest_double):
32227 * gst/gststructure.h:
32228 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32229 (gst_system_clock_init), (gst_system_clock_dispose),
32230 (gst_system_clock_async_thread),
32231 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32232 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32233 * gst/gstsystemclock.h:
32234 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32235 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32236 * gst/gsttaginterface.c:
32237 * gst/gstthread.c: (gst_thread_dispose),
32238 (gst_thread_release_children_locks), (gst_thread_change_state),
32239 (gst_thread_main_loop):
32240 * gst/gsttrashstack.h:
32241 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32243 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32244 (gst_element_request_pad), (gst_element_get_pad_from_template),
32245 (gst_element_request_compatible_pad),
32246 (gst_element_get_compatible_pad_filtered),
32247 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32248 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32249 (gst_element_link_many), (gst_element_link),
32250 (gst_element_link_pads), (gst_element_unlink_pads),
32251 (gst_element_unlink_many), (gst_element_unlink),
32252 (gst_pad_can_link_filtered), (gst_pad_can_link),
32253 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32254 (gst_object_default_error), (gst_bin_add_many),
32255 (gst_bin_remove_many), (gst_element_populate_std_props),
32256 (gst_element_class_install_std_props), (gst_buffer_merge),
32257 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32258 (link_fold_func), (gst_pad_proxy_setcaps):
32260 * gst/gstvalue.c: (gst_value_deserialize_string):
32261 * gst/parse/grammar.y:
32262 * gst/schedulers/gstbasicscheduler.c:
32263 (gst_basic_scheduler_cothreaded_chain),
32264 (gst_basic_scheduler_chain_recursive_add),
32265 (gst_basic_scheduler_pad_link):
32266 * gst/schedulers/gstoptimalscheduler.c:
32267 (get_group_schedule_function),
32268 (gst_opt_scheduler_state_transition),
32269 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32270 * libs/gst/bytestream/bytestream.c:
32271 * libs/gst/dataprotocol/dataprotocol.c:
32272 (gst_dp_header_from_buffer):
32275 * tests/threadstate/threadstate2.c: (eos):
32276 * tools/gst-compprep.c: (main):
32277 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32278 (print_pad_info), (print_children_info):
32279 * tools/gst-launch.c: (idle_func), (main):
32280 * tools/gst-md5sum.c: (idle_func), (main):
32281 * tools/gst-xmlinspect.c: (print_element_info):
32282 First THREADED backport attempt, focusing on adding locks and
32283 making sure the API is threadsafe. Needs more work. More docs
32286 2005-02-24 Andy Wingo <wingo@pobox.com>
32288 * tests/bench-complexity.scm:
32289 * tests/complexity.gnuplot: New files, good for running complexity
32292 * tests/Makefile.am:
32293 * tests/complexity.c: New test, sets up N elements, at each level
32294 teeing into M streams per element. Eeeenteresting.
32296 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32297 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32298 running bench-mass_elements.scm.
32300 * tests/bench-mass_elements.scm: New script, runs mass_elements
32301 for various numbers of identities, outputting the results to a
32302 file. Requires guile 1.6. Just for testing.
32304 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32306 * gst/schedulers/fairscheduler.c:
32307 compile with debug disabled
32309 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32312 hunting season on 0.9 is now OPEN