1 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
3 * win32/common/libgstreamer.def:
4 Add gst_tag_setter_reset_tags to the list of exported symbols.
6 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
9 * tests/check/gst/gstghostpad.c:
10 In a source ghostpad, when caps are changed in the target pad, the
11 change needs to be reflected in the ghostpad.
14 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
16 * gst/gstutils.c: (gst_element_found_tags_for_pad):
17 Add FIXME for 0.11 to set the pad as message source and not
18 the element. Otherwise it's impossible to detect for which
19 pad the tags were found without adding an event probe
20 or something similar to the pad.
22 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
24 * docs/faq/general.xml:
27 2008-12-16 Stefan Kost <ensonic@users.sf.net>
29 * docs/gst/gstreamer-sections.txt:
32 Rename api added in previous commit and add since tag to docs.
33 API: gst_tag_setter_reset_tags()
35 2008-12-16 Stefan Kost <ensonic@users.sf.net>
37 * docs/gst/gstreamer-sections.txt:
40 Add function to reset tagsetter for element reuse.
42 2008-12-16 Stefan Kost <ensonic@users.sf.net>
45 Avoid copy of empty taglist.
47 2008-12-16 Stefan Kost <ensonic@users.sf.net>
50 * tests/check/gst/gsttag.c:
51 More complete unit tests. Fix handling of empty taglists (they were
54 2008-12-15 Stefan Kost <ensonic@users.sf.net>
58 Update GstTagSetter and GstTagMergeMode documentation. Mention
59 that tags can come from events and from application. Fix example.
61 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
63 * docs/design/part-TODO.txt:
64 Remove the seqnum entry that we implemented in 0.10 already.
65 Add entry about removing the format return value for queries.
67 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
69 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
70 (gst_base_sink_init), (gst_base_sink_set_property),
71 (gst_base_sink_get_property):
72 Expose the render-delay as a property so things like appsink can use it
73 to tweak the synchronisation.
75 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
77 * libs/gst/check/gstcheck.h: Allow check tests to use
78 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
79 CK_FORK=no to be used with multiple check test that use threads.
81 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
83 * gst/gstutils.c: (gst_element_get_compatible_pad):
84 Fix a caps memory leak introduced by the last change.
86 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
88 * gst/gstutils.c: (gst_element_get_compatible_pad):
89 Check if the caps of the pads are compatible before returning
90 a pad and claiming it is compatible. This, among other things,
91 fixes a bug with gst-launch where an incompatible pad is chosen
92 and linking fails. Fixes bug #544003.
94 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
96 * libs/gst/check/gstcheck.c: (gst_check_init):
97 Revert accidentially commited patch for bug #404631 which
98 tries to print a backtrace if a testcase is terminated by
99 a signal. This code was never activated as the corresponding
100 configure.ac change wasn't committed.
102 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
104 * tests/check/libs/controller.c: (GST_START_TEST):
105 This test should return TRUE now as syncing an uncontrolled
106 object will succeed now (there's nothing to sync).
108 2008-12-09 Stefan Kost <ensonic@users.sf.net>
110 * libs/gst/controller/gstcontroller.c:
111 Aggregate return value for gst_controller_sync_values(). More info in
112 logging. Always set values on first sync-call.
114 * libs/gst/controller/gstcontrolsource.c:
117 * libs/gst/controller/gsthelper.c:
118 Fix return code and comment.
120 2008-12-09 Stefan Kost <ensonic@users.sf.net>
122 * tools/gst-launch.1.in:
123 Fix description of how to specify a type in caps. Fixes #553873.
124 Also ranges and list contain values and not property-assignments.
126 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
128 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
129 Check for changed pads-list before checking the last returned
130 GstFlowReturn because the pad could have been removed and we
131 need to ignore the value in that case.
133 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
135 * libs/gst/base/gstbasetransform.c:
136 (gst_base_transform_prepare_output_buffer),
137 (gst_base_transform_getrange), (gst_base_transform_chain):
138 * libs/gst/base/gstbasetransform.h:
139 Add vmethod that is called before we start the transform and which can
140 be used to configure the transform, such as dynamic properties.
142 2008-12-05 David Schleef <ds@schleef.org>
145 Search for plugins on win32 based on the location of the
146 gstreamer DLL. Fixes #548786
148 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
151 Apparently AC_CONFIG_MACRO_DIR breaks when using more
152 than one macro directory, reverting last change.
154 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
157 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
160 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
162 Patch by: Cygwin Ports maintainer
163 <yselkowitz at users dot sourceforge dot net>
167 Require gettext 0.17 because older versions don't mix with libtool
168 2.2. At build time an older gettext version will still work.
171 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
173 Patch by: 이문형 <iwings at gmail dot com>
175 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
176 Adds support for FD_CONNECT event (win32). See #562258.
178 2008-11-24 Stefan Kost <ensonic@users.sf.net>
180 * libs/gst/base/gstbasesink.c:
181 Turn comment into gtk-doc comment.
183 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
185 * libs/gst/base/gstbasetransform.c:
186 (gst_base_transform_acceptcaps):
187 Revert quick accepcaps attempt, it's not fully equivalent to the old
188 behaviour and thus causes regressions.
190 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
192 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
195 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
197 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
199 * gst/gstregistry.c: (gst_registry_scan_path_level):
200 Reduce the number of stat() calls for every file from three times
201 to one time. Fixes bug #560360.
203 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
205 * libs/gst/base/gstbasetransform.c:
206 (gst_base_transform_acceptcaps):
207 Rename a variable to make the code clearer.
209 2008-11-21 Stefan Kost <ensonic@users.sf.net>
211 * plugins/elements/gstidentity.c:
212 Don't warning on offset==-1. Taken from _check_imperfect_offset().
214 2008-11-21 Michael Smith <msmith@songbirdnest.com>
216 * plugins/elements/gstfilesrc.c:
217 Check for localhost in URI was backwards, fix it. Fixes unit test.
219 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
221 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
222 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
223 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
224 Add beginnings of a more optimized acceptcaps function than the default
227 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
229 * gst/gstpad.c: (gst_pad_accept_caps):
230 Avoid getting the acceptcaps function too early.
232 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
234 * tools/gst-launch.c: (event_loop):
235 Make gst-launch handle LATENCY messages and make it recalculate the
238 2008-11-20 Michael Smith <msmith@songbirdnest.com>
240 * plugins/elements/gstfilesrc.c:
241 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
242 out own slightly incorrect version. Fixes use of some paths on
245 2008-11-20 Michael Smith <msmith@songbirdnest.com>
247 * gst/gstregistrybinary.c:
248 In win32 codepath, if we fail to write the registry, create the
249 directory for it and try again, matching the behaviour in non-win32
252 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
254 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
255 Changing the render delay changes the latency and so we must post a
258 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
262 Add GstQueryType for custom queries instead of having to use the
263 not-so-very-convenient registration infrastructure to register new
266 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
268 Patch by: Andrew Feren <acferen at yahoo dot com>
270 * gst/gstobject.c: (gst_object_default_deep_notify):
271 Unref the GEnumClass after usage again. Fixes bug #561501.
273 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
275 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
276 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
277 (gst_bin_change_state_func):
279 Add do-latency signal with the old default fallback implementation. This
280 allows for custom latency calculations for when the default is not
282 API: GstBin::do-latency signal.
284 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
286 * win32/common/libgstreamer.def:
287 Add new symbols to .def file.
289 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
291 * docs/gst/gstreamer-sections.txt:
292 * gst/gstbin.c: (gst_bin_recalculate_latency),
293 (gst_bin_change_state_func):
295 Add method to recalculate and redistribute the latency on a bin.
296 API: gst_bin_recalculate_latency().
298 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
301 Document the free_func.
303 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
305 * libs/gst/controller/gstinterpolation.c:
306 * libs/gst/controller/gstlfocontrolsource.c:
307 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
308 as it is mapped to a cast on non-win32 platforms.
310 2008-11-17 Stefan Kost <ensonic@users.sf.net>
312 * libs/gst/controller/gstcontroller.c:
313 * libs/gst/controller/gstcontrollerprivate.h:
314 Keep last-value and only call set_property if value has changed. This
315 supresses all the g_object_notifies we would trigger otherwise. It
316 also allows the user to chage the value while there is no controller
319 2008-11-17 Stefan Kost <ensonic@users.sf.net>
322 Don't crash if either of the string GValues is empty.
324 2008-11-17 Andy Wingo <wingo@pobox.com>
326 * tools/gst-inspect.c (print_all_uri_handlers): New function,
327 prints a summary of what URI schemes are supported by what
329 (main): Plumb in support for --uri-handlers or -u, and fix the
330 argc check for -a and -u.
332 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
335 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
336 conversion functions.
338 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
340 * gst/gstbuffer.c: (gst_buffer_finalize):
341 Avoid costly typechecking for trivially correct pointers.
343 * gst/gstpoll.c: (gst_poll_wait):
344 Add some G_LIKELY here and there.
346 * libs/gst/base/gstadapter.c: (gst_adapter_push):
349 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
351 * docs/random/wtay/poll-timeout:
354 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
356 * tests/old/testsuite/caps/intersection.c: (main):
357 * tests/old/testsuite/plugin/loading.c: (main):
358 Remove references to deprecated API g_mem_chunk*.
361 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
363 * tools/gst-inspect.c: (main):
364 Add --plugin option. Fixes #560301.
366 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
368 * docs/random/wtay/poll-timeout:
369 Quick braindump for a possible (not totally verified) atomic case.
371 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
373 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
374 (gst_registry_binary_initialize_magic),
375 (gst_registry_binary_write_cache),
376 (gst_registry_binary_check_magic):
377 * gst/gstregistrybinary.h:
378 Don't write and check a CRC for the binary registry file. It's
379 guaranteed that the registry is completely written (it's first written
380 to a temporary file and then moved) and if the registry was corrupted
381 by some hardware failure we would have bigger problems.
383 Bump binary registry version to 0.10.21.1 for this as it's an
384 incompatible change and to ensure that the registry gets rebuild
387 This saves some milliseconds for reading/writing the registry.
390 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
392 * docs/random/wtay/poll-timeout:
393 Some pseudo code for how we could implement clock timeouts with GstPoll.
395 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
397 * plugins/elements/gstfilesink.c:
398 Update Author string to match others.
400 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
402 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
403 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
404 being fixed and inline the trivial check.
406 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
408 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
409 (gst_caps_merge_structure), (gst_caps_get_structure),
410 (gst_caps_copy_nth), (gst_caps_set_simple),
411 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
412 (gst_caps_is_equal_fixed), (gst_caps_intersect),
413 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
414 (gst_caps_to_string):
415 Callgrind micro optimisations.
416 Avoid array bounds checks and force inline of trivial function.
418 * gst/gstobject.c: (gst_object_set_name_default):
419 -1 is equivalent to letting glib to the strlen but then there is more
420 room for optimisations and it's not our fault.
422 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
423 no need to clear the array, we're cool.
425 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
426 The most common _is_fixed() check is done on fundamental glib base
427 types so we check this first instead of doing a huge amount of
428 useless GST_TYPE_ARRAY calls.
430 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
433 Add a SKIP seek flag for use with advanced trickmodes.
434 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
436 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
438 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
439 No need to memset, we can clear the value ourselves.
441 * gst/gstvalue.c: (gst_type_is_fixed),
442 (gst_value_get_compare_func):
443 Some optimisations from a few callgrind sessions:
444 When checking if a type is fixed, check for trivial fundamental types
445 first before checking types for which we need to get the type followed
446 by the heavy duty type checks, this reduces the amount of
447 g_type_fundamental() calls a lot.
448 When getting the compare function, first check for our registered types.
449 If that fails, do the heavy duty g_type_is_a() checks, reduces the
450 amount of g_type_is_a() considerably.
452 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
454 * docs/design/part-TODO.txt:
455 Mumble something about removing GstXML.
457 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
459 * gst/gstbin.c: (gst_bin_handle_message_func):
460 Get the seqnum before we dispose the message.
462 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
464 * docs/design/part-TODO.txt:
465 Refer to the framestepping document.
467 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
469 * gst/gstbin.c: (bin_handle_async_start),
470 (gst_bin_handle_message_func), (gst_bin_query):
471 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
472 (gst_base_sink_event), (gst_base_sink_change_state):
473 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
474 (gst_base_src_loop), (gst_base_src_change_state):
475 Copy seqnums from events to messages so that they can all be related
478 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
480 * tools/gst-launch.c: (event_loop):
481 Print the message seqnums.
483 2008-11-04 Andy Wingo <wingo@pobox.com>
485 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
487 2008-11-04 Andy Wingo <wingo@pobox.com>
489 Add sequence numbers to events and messages. See #559250.
491 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
495 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
496 events with a new sequence number, and copy it when copying.
497 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
498 an event's sequence number.
501 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
502 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
505 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
507 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
509 * docs/manual/advanced-position.xml:
510 * docs/manual/basics-bins.xml:
511 * docs/manual/basics-bus.xml:
512 * docs/manual/basics-pads.xml:
513 * docs/manual/intro-gstreamer.xml:
514 * docs/manual/intro-preface.xml:
515 Some Application Development Manual fixes thanks to
516 Andrew Feren. Fixes #558459.
518 2008-11-03 Stefan Kost <ensonic@users.sf.net>
520 * gst/gstregistrybinary.c:
521 Don't bother with the GTimer if we don't output the results.
523 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
525 Patch by: David Schleef <ds@schleef.org>
527 * libs/gst/net/Makefile.am:
528 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
530 2008-10-31 Stefan Kost <ensonic@users.sf.net>
532 * gst/gstregistrybinary.c:
533 Oh my, studip, stupid me. Remove double stat() call.
535 2008-10-31 Stefan Kost <ensonic@users.sf.net>
538 Use g_unlink instead of unlink.
540 * gst/gststructure.c:
549 Formatting & whitespaces.
551 2008-10-31 Stefan Kost <ensonic@users.sf.net>
553 * plugins/elements/gstidentity.c:
554 Doc typo. Use return value of parent_class->event.
556 * plugins/elements/gsttypefindelement.c:
557 Chain up at the end for consistency.
559 2008-10-30 Stefan Kost <ensonic@users.sf.net>
562 * docs/gst/gstreamer-docs.sgml:
563 * docs/gst/gstreamer-sections.txt:
564 * docs/gst/running.xml:
565 * docs/libs/gstreamer-libs-docs.sgml:
566 Change to xinclude based build - its faster and easier to maintain.
568 2008-10-30 Stefan Kost <ensonic@users.sf.net>
570 * gst/gstregistrybinary.c:
571 * gst/gstregistryxml.c:
572 Use g_unlink() as none of these are directories.
574 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
576 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
579 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
581 * libs/gst/base/gstbasetransform.c:
582 (gst_base_transform_find_transform), (gst_base_transform_getrange):
583 If we have a fixate function, call it even if we already have fixed caps
584 because the subclass might add some caps. Makes audioconvert add a
585 default channel layout.
587 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
589 * libs/gst/base/gstbasetransform.c:
590 (gst_base_transform_prepare_output_buffer),
591 (gst_base_transform_getrange):
592 Clear the output buffer variable.
593 Cleanups to the error path in the getrange function.
596 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
598 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
599 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
600 Use gst_buffer_try_new_and_alloc() and handle errors instead of
601 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
604 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
606 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
607 Set the last_stop to a more meaningful position when configuring the
608 segment. ie. the start/stop of the segment or clipped against the
609 updated segment boundaries.
611 * tests/check/gst/gstsegment.c: (GST_START_TEST):
612 Add some unit tests for the last_stop.
614 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
616 * libs/gst/base/gstbytereader.c:
617 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
620 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
622 * docs/gst/gstreamer-sections.txt:
624 API: Move float endianness conversion macros from libgstfloatcast
625 to core as it's useful in general, even in core. Fixes bug #555196.
626 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
627 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
628 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
630 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
631 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
632 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
633 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
635 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
637 * docs/libs/gstreamer-libs-sections.txt:
638 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
639 (gst_byte_reader_peek_data):
640 * libs/gst/base/gstbytereader.h:
641 * win32/common/libgstbase.def:
642 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
643 to get a pointer to the data at the current position and have
646 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
649 Fix a bug in the output of the configure script summary
650 when --gst-disable-registry is supplied
652 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
654 * libs/gst/base/gstbitreader.c:
655 * libs/gst/base/gstbytereader.c:
656 Fix the names of 2 functions in the docs strings.
658 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
660 * libs/gst/base/gstbasetransform.c:
661 (gst_base_transform_prepare_output_buffer),
662 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
663 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
664 refcount problems as seen in banshee and maybe also in farsight2.
665 Remove atomic int now that we need to take the lock anyways.
667 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
669 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
670 (gst_base_sink_default_prepare_seek_segment),
671 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
672 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
673 (gst_base_sink_query):
674 Implement more seeking in pull mode.
675 Use pad convert functions to convert position to the requested format.
676 Fix position/duration reporting in pull mode.
677 Implement position and duration reporting in other formats than time.
679 * libs/gst/base/gstbasesink.h:
680 Add member to keep track of when the segment is playing.
682 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
684 * gst/gstpad.c: (gst_pad_configure_src):
685 When we use gst_pad_alloc_buffer() without wanting to set the caps we
686 also don't need to check if the caps are compatible because the caller
687 presumably is going to perform its own custom checks. Fixes some cases
688 where basetransform elements would error out when it was not needed.
690 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
692 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
695 * libs/gst/base/gstbasetransform.c:
696 (gst_base_transform_handle_buffer),
697 (gst_base_transform_reconfigure):
700 * win32/common/libgstbase.def:
703 2008-10-19 Stefan Kost <ensonic@users.sf.net>
705 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
706 Remove duplicated assignment and log a message in failure case.
708 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
710 Patch by: Dig Ge <dig.ge.cn at gmail com>
712 * tests/examples/helloworld/helloworld.c: (main):
713 Fix copy'n'paste bug in hello world example (#556900).
715 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
717 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
718 (gst_base_sink_query):
719 Query the total number of bytes when activating the pad in pull mode.
720 Implement duration query in pull mode by using the installed pad convert
721 function to convert from bytes to the requested format.
723 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
725 * docs/libs/gstreamer-libs-sections.txt:
726 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
727 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
728 (gst_base_sink_event), (gst_base_sink_perform_seek),
729 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
730 (gst_base_sink_send_event), (gst_base_sink_change_state):
731 * libs/gst/base/gstbasesink.h:
732 Add method to commit the state in subclasses.
733 Refactor the flush_start and flush_stop code because we need it for
734 flushing while seeking too.
735 Implement the beginnings of seeking in pull mode.
736 Use the segment last_stop field for the pulling offset.
737 Fix the pause method in pull mode.
738 Configure the segment to BYTES for pull mode.
739 API: GstBaseSink::gst_base_sink_do_preroll()
741 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
743 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
746 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
748 * gst/gstquark.c: (_priv_gst_quarks_initialize):
749 Fix printf format warning.
751 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
753 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
754 Fix flow aggregation of tee. Error out immediately for all flow returns
755 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
756 and return OK if at least one pad is linked.
758 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
759 and otherwise returned the flow return of the last pad, which is wrong.
761 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
762 (GST_START_TEST), (tee_suite):
763 Add unit tests for the flow aggregation.
765 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
767 * docs/design/part-TODO.txt:
768 Remove item from the todo list because it was fixed with the latency
769 state change rewrites.
771 * docs/design/part-seeking.txt:
772 * docs/design/part-segments.txt:
775 * gst/gstevent.c: (gst_event_new_new_segment_full),
776 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
777 (gst_event_parse_buffer_size), (gst_event_new_qos),
778 (gst_event_parse_qos), (gst_event_new_seek),
779 (gst_event_parse_seek), (gst_event_new_latency),
780 (gst_event_parse_latency):
781 Use quarks to construct and parse events.
783 * gst/gstquark.c: (_priv_gst_quarks_initialize):
785 Add some more quarks to the table.
786 Emit a warning when the quark tables are not in sync.
788 * tests/check/gst/gstbus.c: (GST_START_TEST):
791 2008-10-13 Stefan Kost <ensonic@users.sf.net>
793 * plugins/elements/Makefile.am:
794 * plugins/indexers/Makefile.am:
795 Don't install static libs for plugins. Fixes #550851 for core.
797 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
799 * gst/gstbus.c: (gst_bus_source_finalize),
800 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
801 (gst_bus_enable_sync_message_emission),
802 (gst_bus_disable_sync_message_emission),
803 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
804 Fix deadlock, g_source_get_id() cannot be called in finalize.
805 Keep track of the watch source by keeping a pointer to the source object
807 Use the bus lock to protect access to the pointer to the current
810 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
812 Base on Patch by: Olivier Crete <tester at tester dot ca>
814 * gst/gstbus.c: (gst_bus_source_finalize),
815 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
816 Only allow one bus watch to be set at a time. This is necessary
817 because the dispatcher pops the message from the bus and the second
818 watcher will then get NULL or the next message (and the first won't
819 get this next message then, etc). If more than one "watcher" is
820 required signal watches should be used. Fixes bug #526044.
822 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
824 * tools/gst-launch.c:
825 Change the printing of the 'buffering...' output to avoid putting
826 a \r in a translateable string (flagged by the TP).
828 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
831 Clarify that the save_thyself() and restore_thyself() virtual
832 functions of GstObject need to be overriden, not
833 gst_object_(save|restore)_thyself() which is impossible.
836 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
838 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
839 Revert a patch from 21 months ago that broke caps negotiation in pull
840 mode. Basically, having a buffer pass over a pad will trigger the
841 setcaps function when caps change, just like in push mode.
843 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
845 * docs/design/part-negotiation.txt:
846 Update the docs some more.
848 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
849 If we pull a buffer with non-trivial caps, suggest those caps with the
852 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
854 * docs/design/part-TODO.txt:
855 Add another limitation of pad-blocking with segment seeks not pushing
858 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
860 * win32/common/libgstbase.def:
861 * win32/common/libgstreamer.def:
862 Add new symbols to the win32 defs files
864 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
866 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
867 (gst_bin_handle_message_func):
868 The message src can be NULL, don't try to print the object names in that
871 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
872 Add some more debug info.
874 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
877 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
880 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
882 * docs/design/part-negotiation.txt:
885 * docs/libs/gstreamer-libs-sections.txt:
886 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
887 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
888 (gst_base_sink_init), (gst_base_sink_set_blocksize),
889 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
890 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
891 (gst_base_sink_loop), (gst_base_sink_pad_activate),
892 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
893 (gst_base_sink_change_state):
894 * libs/gst/base/gstbasesink.h:
895 Add blocksize property and methods to control the amount of data
897 Negotiate first before activating upstream in pull mode so that they can
898 negotiate themselves.
899 When we operate in pull mode, we only accept the caps that we
901 Make the sink go ASYNC to PAUSED, like all other sinks.
902 API: GstBaseSink::gst_base_sink_set_blocksize()
903 API: GstBaseSink::gst_base_sink_get_blocksize()
904 API: GstBaseSink::blocksize
906 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
907 (gst_base_src_set_live), (gst_base_src_is_live),
908 (gst_base_src_set_format), (gst_base_src_query_latency),
909 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
910 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
911 (gst_base_src_set_property), (gst_base_src_get_property):
912 * libs/gst/base/gstbasesrc.h:
913 Add typechecking in public API functions.
914 Add methods to control the blocksize in subclasses.
915 API: GstBaseSrc::gst_base_src_set_blocksize()
916 API: GstBaseSrc::gst_base_src_get_blocksize()
918 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
920 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
921 (buffer_probe), (event_probe), (GST_START_TEST):
922 We now see 3 events go through our pad, since basesink now sends
923 upstream latency events.
925 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
927 * gst/gstpipeline.c: (gst_pipeline_change_state):
928 Release the object lock before trying to flush the bus.
930 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
932 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
933 Forward LATENCY events upstreams so that elements know about the total
934 pipeline latency. Fixes #555307.
936 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
938 * plugins/elements/gstqueue.c:
939 Allow through queries when we don't know how
940 to adjust them (not TIME or BYTES), as otherwise it's
941 not possible to query the current position in order
942 to seek in other formats at all.
944 2008-10-08 Andy Wingo <wingo@pobox.com>
946 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
948 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
952 Unbreak -good build, private is a reserved c++ keyword.
954 2008-10-08 Andy Wingo <wingo@pobox.com>
956 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
957 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
958 removal: re-add GST_GHOST_PAD_CAST to the header.
960 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
961 (GstGhostPadClass): Publically expose these structures so as to
962 allow easy subclassing from C. Hide the member data behind a
963 private opaque data pointer.
965 * gst/gstghostpad.c: Adapt to store instance data in the type
966 instance's private data region, not in the public struct.
968 2008-10-08 Andy Wingo <wingo@pobox.com>
970 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
971 template via g_object_get(), be sure to unref it.
973 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
975 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
977 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
978 If we can't get a cache file don't try to save something to it.
979 Dereferencing NULL pointers usually isn't a good idea.
981 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
983 * tests/check/Makefile.am:
984 * tests/check/gst/gstabi.c:
985 * tests/check/gst/struct_sparc.h:
986 * tests/check/libs/libsabi.c:
987 * tests/check/libs/struct_sparc.h:
990 * tests/check/gst/gstvalue.c: (GST_START_TEST):
991 Cast signed integer to unsigned to avoid a compiler warning.
993 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
995 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
996 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
997 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
998 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
999 (gst_byte_reader_peek_int24_be):
1000 Use new GST_READ_UINT24_(LE|BE) macros.
1002 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1004 * docs/gst/gstreamer-sections.txt:
1006 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1007 as it's too easy to break the ISO C strict aliasing rules with simple
1008 casts to the corresponding type and this would introduce hard to debug
1009 bugs. Fixes bug #545714.
1011 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1013 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1015 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1016 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1017 Add 'Since' bits to gtk-doc chunks for new API.
1019 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1021 * docs/gst/gstreamer-sections.txt:
1024 2008-10-06 Andy Wingo <wingo@pobox.com>
1026 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1027 that will be called on the malloc_data to free it. Basically a way
1028 to avoid subclassing when all you need is a different free
1029 function, i.e. free() instead of g_free().
1031 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1032 calling the free function.
1033 (gst_buffer_init): Initialize the free function to g_free.
1035 2008-10-06 Andy Wingo <wingo@pobox.com>
1037 * gst/gstghostpad.h:
1038 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1039 finishes the initialization of ghost pad. Useful for language
1040 bindings and subclassers of GstGhostPad. Fixes #539108.
1041 (gst_ghost_pad_new_full): Use the new constructor.
1043 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1045 Base on Patch by: Olivier Crete <tester at tester dot ca>
1047 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1048 (gst_bin_remove_func), (update_degree),
1049 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1050 Keep track of pads that are being linked/unlinked and resync the state
1053 * gst/gstpad.c: (gst_pad_get_direction),
1054 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1055 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1056 (gst_pad_link_prepare), (gst_pad_link),
1057 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1058 (gst_pad_check_pull_range), (gst_pad_get_range),
1059 (gst_pad_pull_range):
1060 Some code cleanups, use macros to check pad direction.
1061 Don't need to take the lock on the pad direction.
1062 Post structure change when pads are linked/unlinked.
1063 Change some checks into _return_if_fail().
1065 * tests/check/gst/gstbin.c:
1066 (test_link_structure_change_state_changed_sync_cb),
1067 (GST_START_TEST), (gst_bin_suite):
1068 Add testcase for pad link/unlinke resync during a state change.
1071 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1073 * docs/gst/gstreamer-sections.txt:
1074 * gst/gstmessage.c: (gst_message_new_structure_change),
1075 (gst_message_parse_structure_change):
1077 Implement STRUCTURE_CHANGED messages. These messages will be used to
1078 signal the parent bin of link/unlink operations that could require a
1079 resync when doing a state change. See ##510354.
1080 API: gst_message_new_structure_change()
1081 API: gst_message_parse_structure_change()
1083 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1087 Add some more quarks for new message. See #510354.
1089 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1091 * docs/libs/gstreamer-libs-docs.sgml:
1092 * docs/libs/gstreamer-libs-sections.txt:
1093 * libs/gst/base/Makefile.am:
1094 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1095 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1096 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1097 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1098 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1099 (gst_bit_reader_skip_to_byte):
1100 * libs/gst/base/gstbitreader.h:
1101 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1102 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1103 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1104 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1105 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1106 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1107 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1108 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1109 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1110 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1111 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1112 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1113 * libs/gst/base/gstbytereader.h:
1114 * tests/check/Makefile.am:
1115 * tests/check/libs/bitreader.c: (GST_START_TEST),
1116 (gst_bit_reader_suite):
1117 * tests/check/libs/bytereader.c: (GST_START_TEST),
1118 (gst_byte_reader_suite):
1119 API: Add bit reader and byte reader classes, including documentation
1120 and an extensive unit test suite. Fixes bug #553554.
1122 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1124 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1125 (gst_base_sink_query):
1126 Improve position reporting while flushing and other intermediate state
1127 changes. Fixes #553874.
1129 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1131 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1133 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1134 Original patch by : Simon Descaries
1135 Fix small refount leak in caps compatibility check.
1138 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1140 * docs/pwg/advanced-request.xml:
1141 Fix 0.8 api usage in example. Fixes #554561
1143 * docs/pwg/appendix-porting.xml:
1144 Change 0.9 to 0.10 here.
1146 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1148 * docs/manual/basics-data.xml:
1149 Change "event-event interaction" to "element-element interaction".
1150 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1153 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1156 Back to development -> 0.10.21.1
1158 === release 0.10.21 ===
1160 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1163 releasing 0.10.21, "Take These Things From Me"
1165 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1168 0.10.20.4 pre-release
1170 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1172 * libs/gst/base/gstbasetransform.c:
1173 * plugins/elements/gstcapsfilter.c:
1174 * tests/check/Makefile.am:
1175 * tests/check/elements/.cvsignore:
1176 * tests/check/elements/capsfilter.c:
1177 Fix assertion in basetransform when the subclass chooses not to
1178 allocate a buffer in prepare_buffer(), and make capsfilter error out
1179 cleanly if requested to apply caps that don't completely specify the
1180 buffer. Fixes #551509
1182 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1184 * libs/gst/base/gstbasetransform.c:
1185 (gst_base_transform_prepare_output_buffer):
1186 Take new caps ref because our old one might have been gone when the
1187 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1189 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1192 Do not probe availability of check unit test library when cross
1193 compiling, as test would not work anyway. Also cleanup verbose output
1194 of the check test. Fixes #551952.
1196 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1198 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1200 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1201 Avoid leaking the parent ref when we fail changing the state of the
1202 element using gst_element_sync_state_with_parent(). Fixes #551978.
1204 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1206 * docs/manual/intro-motivation.xml::
1207 Remove some bits that no longer apply, update others (#551642).
1209 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1212 0.10.20.2 pre-release
1220 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1222 * win32/common/config.h.in:
1223 Add GST_DATADIR, hard-code cpu to x86.
1225 * win32/common/libgstreamer.def:
1228 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1231 Fix Since: markers for new geo tags.
1233 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1236 Fix actual tag name define after renaming from altitude to elevation.
1238 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1240 * gst/gstpad.c: (add_unref_pad_to_list),
1241 (gst_pad_get_internal_links_default):
1242 Add fallback when calling the deprecated function on an element that
1243 implements the new internal_link handler.
1245 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1247 * docs/gst/gstreamer-sections.txt:
1250 Add new tags for geo location and clarify purpose of existing location
1253 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1255 Patch by: Olivier Crete <tester at tester dot ca>
1257 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1258 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1259 Use thread-safe internal links iterator. Fixes #549504.
1261 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1263 Based on patch by: Olivier Crete <tester at tester dot ca>
1265 * docs/gst/gstreamer-sections.txt:
1266 * win32/common/libgstreamer.def:
1267 * gst/gstpad.c: (gst_pad_init),
1268 (gst_pad_set_iterate_internal_links_function),
1269 (int_link_iter_data_free), (iterate_pad),
1270 (gst_pad_iterate_internal_links_default),
1271 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1273 Add threadsafe replacement functions for getting internal links of an
1274 element. Deprecate the old internal links functions.
1275 API:GstPad::gst_pad_set_iterate_internal_links_function()
1276 API:GstPad::GstPadIterIntLinkFunction
1277 API:GstPad::gst_pad_iterate_internal_links()
1278 API:GstPad::gst_pad_iterate_internal_links_default()
1280 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1281 (gst_proxy_pad_init):
1282 Implement threadsafe internal links.
1284 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1285 Unit test for internal links on tee. See #549504.
1287 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1289 * tests/check/Makefile.am:
1290 libs/transform1 test requires libs/test_transform.c
1292 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1294 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1295 Die evil deadlock, die !
1297 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1299 * gst/gstutils.c: (gst_element_get_compatible_pad):
1300 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1301 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1302 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1303 not steal the refcount of the given caps as stated.
1305 REVERT THIS COMMIT ONCE FIXED !
1306 REVERT THIS COMMIT ONCE FIXED !
1307 REVERT THIS COMMIT ONCE FIXED !
1308 REVERT THIS COMMIT ONCE FIXED !
1309 REVERT THIS COMMIT ONCE FIXED !
1310 REVERT THIS COMMIT ONCE FIXED !
1312 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1314 * gst/gstiterator.c:
1315 * gst/gstiterator.h:
1316 After 3 years it's about time to revise the documentation of the
1319 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1321 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1322 Make the internal links function less thread-unsafe and add some
1323 comments, dunno why.
1325 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1327 * gst/gst_private.h:
1328 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1329 build with --disable-gst-debug.
1331 2008-08-28 David Schleef <ds@schleef.org>
1333 * gst/gstpadtemplate.c: Revert last change, since it breaks
1334 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1335 but shouldn't be enabled until we've released fixed versions
1336 of -good and -ffmpeg.
1338 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1341 Put the gst_object_get_name() back in.
1343 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1345 * gst/gstpadtemplate.c:
1346 The old behaviour was that gst_pad_template_new() takes ownership of
1347 the caps. As we now call g_object_new() which calls g_object_set() and
1348 which copies the caps, we have to unref them to not leak them. Fixes
1349 make valgrid for me.
1351 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1354 Don't segfault on input like "tel:+1-123-555-1234".
1356 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1359 Due to popular request also include ObjectType in
1360 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1362 2008-08-26 David Schleef <ds@schleef.org>
1364 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1365 src_val must be positive, because that's not a requirement.
1366 This causes problems with converting negative granulepos
1368 * gst/gstquery.c: Same, gst_query_new_convert().
1370 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1372 * gst/gstclock.c: (gst_clock_add_observation):
1373 Add some more debugging to the clock slaving code.
1375 * win32/common/libgstbase.def:
1376 Add new basetransform method.
1378 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1380 * gst/gstbin.c: (gst_bin_element_set_state):
1381 Take the (recursive) state lock between getting the locked state of an
1382 element and changing the element state. This allows the application to
1383 lock an element's state and then change its state without races.
1385 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1387 * gst/gstbin.c: (gst_bin_element_set_state):
1388 When an element is in the locked state we still want to update the
1389 base_time of the element.
1391 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1393 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1394 Use the result from gst_pad_set_caps() instead of assuming the element
1395 always accepted the caps computed by the default negotiate function.
1397 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1399 * docs/libs/gstreamer-libs-sections.txt:
1400 * libs/gst/base/gstbasetransform.c:
1401 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1402 (gst_base_transform_chain), (gst_base_transform_suggest),
1403 (gst_base_transform_reconfigure):
1404 * libs/gst/base/gstbasetransform.h:
1405 Implement method for reconfiguring basetransform.
1406 API: GstBaseTransform::gst_base_transform_reconfigure()
1408 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1410 patch by: Murray Cumming <murrayc@murrayc.com>
1413 Mention that this is just like gst_buffer_merge() but with extra
1414 unreffing for C coders. Advise language bindings not to wrap it.
1417 Also fix file comment.
1419 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1421 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1423 * plugins/elements/gstfakesink.c:
1424 * plugins/elements/gstfakesrc.c:
1425 Call super::event() when not handling it. Fixes #544855.
1427 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1429 Patch by: Alessandro Decina <alessandro@nnva.org>
1430 * plugins/elements/gstfilesrc.c:
1431 Use 64 bit variants of stat functions on win32, to enable support
1432 of large files there.
1435 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1437 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1438 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1439 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1440 (gst_base_sink_get_position), (gst_base_sink_change_state):
1441 Improve position reporting in the flushing state.
1442 Also report the position when we are not yet prerolled but we
1443 have a newsegment event. Fixes #543444.
1444 Improve the pull-based negotiation code.
1446 * tests/check/elements/fakesink.c: (GST_START_TEST),
1448 Add testcase for position reporting while flushing in PAUSED and
1451 * tests/check/generic/sinks.c: (GST_START_TEST):
1452 Update unit-test, we can now query the position as soon as we receive a
1455 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1457 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1459 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1460 When the subclass event handler releases the PREROLL_LOCK, we could be
1461 in the flushing state and we have to ignore the event. Fixes #548394.
1463 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1465 * tools/gst-launch.1.in:
1466 Document GST_REGISTRY_UPDATE environment variable.
1468 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1470 * libs/gst/base/gstbasetransform.c:
1471 (gst_base_transform_prepare_output_buffer):
1472 If the element is configured in passthrough mode but the
1473 prepare_output_buffer gave us a new output buffer, discard that buffer
1474 and reuse the input buffer.
1476 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1478 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1480 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1481 (gst_tee_request_new_pad), (gst_tee_release_pad),
1482 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1483 * plugins/elements/gsttee.h:
1484 Protect pad_alloc with a new lock so that we can be sure that nothing is
1485 performing a pad_alloc when removing the pad. Fixes #547835.
1487 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1488 (buffer_alloc_harness_teardown), (app_thread_func),
1489 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1490 Added testcase for shutdown race.
1492 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1497 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1499 * libs/gst/base/gstbasetransform.c:
1500 (gst_base_transform_prepare_output_buffer),
1501 (gst_base_transform_buffer_alloc):
1502 Go over the buffer_alloc function again and make sure we always end up
1503 allocating a buffer.
1505 Avoid doing pad alloc when we have a pending suggestion because we
1506 cannot yet deal with changing caps in that case. Fixes #547728
1508 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1510 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1512 * docs/manual/advanced-clocks.xml:
1513 * docs/manual/clocks.png:
1514 * docs/manual/diagrams-clocks.svg:
1515 Add one more image showing different times together with a describing
1516 paragraph. Fixes #547729.
1518 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1520 * win32/common/libgstbase.def:
1523 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1525 * libs/gst/base/gstbasetransform.c:
1526 (gst_base_transform_transform_caps),
1527 (gst_base_transform_prepare_output_buffer),
1528 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1529 Don't overwrite the outsize when calculating the expected size of a new
1530 buffer because we still need it in case we cannot process the new
1532 When converting the size of the new buffer to an upstream size, actually
1533 use the expected size of the buffer, not some other random value.
1534 Use an atomic int to signal that a new upstream caps suggestion is
1536 When we can convert the current buffer to a new format, check if the
1537 buffer size is of the expected size and allocate a new buffer of the
1538 expected size when this is not the case. Fixes #546883.
1540 * tests/check/libs/transform1.c: (GST_START_TEST):
1541 remove ifdeffed code from the unit test.
1543 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1545 * pkgconfig/gstreamer-uninstalled.pc.in:
1546 * pkgconfig/gstreamer.pc.in:
1547 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1548 called gstcontroller-0.10.
1550 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1552 * gst/gstchildproxy.h:
1554 Remove double interface from doc-string.
1556 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1558 * libs/gst/base/gstbasesrc.c:
1559 * libs/gst/base/gstbasetransform.c:
1560 Fix headings in docs and gtk-doc warnings.
1562 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1564 * gst/gstregistrybinary.c:
1565 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1569 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1571 * libs/gst/base/gstbasetransform.c:
1572 (gst_base_transform_buffer_alloc):
1573 Fix a "may be used unitialized" warning.
1575 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1577 * docs/gst/gstreamer-sections.txt:
1579 Document preset-iface vmethods.
1581 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1583 * docs/manual/advanced-interfaces.xml:
1584 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1585 only used to discover devices.
1587 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1589 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1591 * gst/gst.c: (init_pre):
1592 Make sure gettext returns translations in UTF-8 encoding rather
1593 than in the current locale encoding (#546822).
1595 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1597 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1600 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1601 Improve unit test subset tests and add a testcase for the subset failure
1604 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1605 Improve subtraction unit test.
1607 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1609 * plugins/elements/gsttee.c:
1610 Unlock, instead of locking again.
1612 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1615 Clarify the docs a bit more.
1617 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1619 * tests/examples/metadata/read-metadata.c:
1620 Don't leak old taglist.
1622 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1624 Patch by: Olivier Crete <tester at tester dot ca>
1626 * gst/gststructure.c:
1627 (gst_structure_fixate_field_nearest_fraction):
1628 Avoid overflows in fixation code when dealing with MAXINT values, which
1629 v4l2src seems to do.
1632 * tests/check/gst/gststructure.c: (GST_START_TEST):
1633 Make a unit test to check the fix.
1635 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1637 * plugins/elements/gstcapsfilter.c: (copy_func),
1638 (gst_capsfilter_set_property):
1639 Use new caps suggestion feature of basetransform to request a caps
1640 negotiation upstream.
1642 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1644 * docs/libs/gstreamer-libs-sections.txt:
1646 API: GstBaseTransform::gst_base_transform_suggest()
1648 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1649 (gst_base_transform_init), (gst_base_transform_transform_caps),
1650 (gst_base_transform_transform_size),
1651 (gst_base_transform_configure_caps),
1652 (gst_base_transform_can_transform),
1653 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1654 (gst_base_transform_prepare_output_buffer),
1655 (gst_base_transform_buffer_alloc),
1656 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1657 (gst_base_transform_chain), (gst_base_transform_activate),
1658 (gst_base_transform_set_passthrough),
1659 (gst_base_transform_is_passthrough),
1660 (gst_base_transform_set_in_place),
1661 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1662 (gst_base_transform_set_qos_enabled),
1663 (gst_base_transform_is_qos_enabled),
1664 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1665 (gst_base_transform_reconfigure):
1666 * libs/gst/base/gstbasetransform.h:
1667 Rewrite of basetransform to perform negotiation outside of the
1668 buffer_alloc functions. Fixes #545853.
1670 * tests/check/libs/transform1.c: (GST_START_TEST),
1674 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1676 * tests/check/gst/gstpreset.c:
1677 Only run preset tests when $HOME is writable. Preliminary fix for
1680 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1682 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1683 (gst_bin_change_state_func), (bin_handle_async_done),
1684 (gst_bin_handle_message_func):
1685 Fix race for bins that simulate ASYNC state changes by inserting
1686 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1687 pending ASYNC messages even when the bin does not have ASYNC children.
1688 We note detect this behaviour because we will receive an ASYNC message
1689 that is originating from the bin itself.
1690 Fixes races with decodebin2 state changes.
1692 * tests/check/gst/gstbin.c: (GST_START_TEST):
1693 Add some more debug.
1695 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1697 * gst/gsttaglist.c: (_gst_tag_initialize):
1700 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1703 Argh. actually save the text before committing. Now adds
1704 gst_tag_merge_strings_with_comma() to gst_tag_register().
1706 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1710 Do as tim pointed out and actually register the new tag. Also improve
1711 te docs and use gst_tag_merge_strings_with_comma() method to allow
1712 retriving all keywords merged in one list.
1714 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1717 * docs/gst/gstreamer.types:
1718 Revert 'accidential' change of the configure option removal. We still
1719 need to generate the types file in configure --disable-load-save.
1721 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1723 * docs/gst/gstreamer-sections.txt:
1725 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1727 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1729 * gst/gstpadtemplate.c:
1730 (gst_pad_template_class_init), (gst_static_pad_template_get),
1731 (gst_pad_template_new), (gst_pad_template_pad_created),
1732 (gst_pad_template_set_property), (gst_pad_template_get_property):
1733 Add "name-template", "direction", "presence" and "caps" properties,
1734 so that gst_pad_template_new() is just a thin wrapper around
1735 g_object_new(), which is better for bindings. (Fixes: #539772)
1737 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1740 Be more liberal in what URIs we accept.
1741 Do not unescape bits of the URI for no apparent reason before passing to
1742 the element. Fixes #545352.
1744 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1746 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1749 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1751 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1754 * docs/gst/gstreamer-sections.txt:
1755 * docs/gst/gstreamer.types:
1756 * docs/gst/gstreamer.types.in:
1759 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1760 * gst/gstconfig.h.in:
1761 * gst/gstelement.c: (gst_element_get_index):
1762 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1763 (gst_registry_binary_load_feature),
1764 (gst_registry_binary_read_cache):
1765 * gst/gstregistryxml.c: (load_feature),
1766 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1767 * plugins/Makefile.am:
1769 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1770 (print_plugin_features), (print_element_features):
1771 * tools/gst-xmlinspect.c: (print_event_masks),
1772 (print_element_info):
1773 * win32/common/gstconfig.h:
1774 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1776 Disabling the indexers and URI handler code will only reduce the
1777 required amount of memory by a very small amount but on the other hand
1778 requires much more maintaince work. Apart from that many places of
1779 code are broken when disabling them.
1781 Disabling the enum types doesn't reduce the required amount of memory
1782 by more than a few bytes and makes it hard to fix bugs like #539772,
1783 i.e. use the enums as GObject properties.
1785 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1787 * docs/design/part-TODO.txt:
1788 Add some thoughts and problems with upstream renegotiation.
1790 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1792 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1793 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1794 Remove silly redundant debug.
1795 Add some more debug info.
1796 Clarify the docs regarding new caps received from pad_alloc.
1798 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1800 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1801 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1802 Make setting the caps more threadsafe.
1804 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1806 * docs/design/part-element-transform.txt:
1809 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1811 * plugins/elements/gstqueue.c: (gst_queue_init),
1812 (gst_queue_acceptcaps):
1813 Add and use a custom acceptcaps function instead of falling back to the
1814 potentially less optimized default implementation.
1816 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1818 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1819 Only sanity-check the buffer size if requested_caps == buffer_caps
1820 (ie. don't take pad caps into account, they're not relevant here)
1822 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1824 * plugins/elements/gsttee.c:
1825 * plugins/elements/gsttee.h:
1826 Reverting as not everything is clear yet. Needs some general design
1829 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1832 ChangeLog surgery for tee commit.
1834 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1836 * docs/gst/gstreamer-sections.txt:
1837 Cleanup section-file.
1839 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1841 * plugins/elements/gsttee.c:
1842 * plugins/elements/gsttee.h:
1843 Relay tag events in tee. Fixes parts of #474016.
1844 Downgrades 3 reoccurring debugs to log.
1846 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1849 * libs/gst/Makefile.am:
1850 Build the net library if we have winsock2.
1852 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1854 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1856 * docs/manual/advanced-threads.xml:
1857 * docs/manual/diagrams-pipelines.svg:
1858 * docs/manual/hello-world.png:
1859 * docs/manual/linked-elements.png:
1860 * docs/manual/mime-world.png:
1861 * docs/manual/queue.png:
1862 * docs/manual/thread-buffering.png:
1863 * docs/manual/thread-synchronizing.png:
1864 Replace one diagram with two separate ones and updates others.
1867 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1870 Fix link in documentation.
1872 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1875 Fix confusing documentation.
1877 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1879 * libs/gst/base/gstbasesrc.h:
1880 revert the changes to the header file for the ABI.
1882 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1884 * libs/gst/base/gstbasesrc.c:
1885 * libs/gst/base/gstbasesrc.h:
1886 Don't cache the seekable status.
1889 2008-07-24 Rene Stadler <mail@renestadler.de>
1891 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1892 code to close the pipeline graph. This prevents the program from
1893 printing internal data flow errors.
1895 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1897 * docs/manual/basics-bus.xml:
1898 Correct typo. Fixes bug #544320.
1900 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1903 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1904 Add check (taken from -base) for winsock, adds WIN32_LIBS
1906 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1908 Define GST_EXPORTS when building libgstreamer (only used on win32)
1909 * gst/gst_private.h:
1911 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1912 for symbols that we need to export in both these files.
1914 Include gst_private.h higher up to avoid some compile problems on win32.
1916 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1921 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1924 Previous commit was wrong NULL caps does not exist
1925 and indicate an error, so also add a FIXME to
1926 gst_caps_is_equal where NULL caps are accepted.
1928 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1931 Allow passing of NULL to gst_caps_union
1933 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1935 * gst/gstghostpad.c:
1936 Add in doc that gst_ghost_pad_set_target can accept
1937 NULL to clear target
1939 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1942 * gst/gstregistry.c:
1943 GstRegistryPool doesn't exist; don't refer to it in docs.
1944 Don't refer to functions that don't exist in docs, it's
1947 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1950 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1952 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1954 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1956 * docs/pwg/building-testapp.xml:
1957 Don't use an undeclared variable in the example program.
1960 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1962 * gst/gstdebugutils.c:
1963 Squeeze ghost-pad links and remove <> from classname labels to save
1964 more horizontal space.
1966 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1968 * gst/gstdebugutils.c:
1969 Give request and sometimes pads a different shpe style. Condense the
1970 graphs a little more.
1972 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1975 Don't require flex and bison if the parser is disabled.
1977 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1979 * libs/gst/controller/gstinterpolationcontrolsource.c:
1980 (_list_find_sorted_custom):
1981 Don't use declarations after statements.
1983 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1985 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1986 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1987 of the the child-added / -removed signals as GstChildProxy
1988 only supports GstObjects.
1990 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1992 * gst/gstdebugutils.c:
1995 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1997 Patch by: Alessandro Decina <alessandro at nnva dot org>
2000 Fix "ignored return value" compiler warning with newer glibc.
2002 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2004 * gst/gstchildproxy.c:
2005 Fix copy&paste error in gst_child_proxy_removed() documentation.
2007 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2009 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2010 Print error debug message if plugin description fields that should
2013 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2014 Don't crash if the string to serialise is NULL (it really should
2015 not be, but apparently this used to work with the xml registry ...).
2017 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2019 * tools/gst-plot-timeline.py:
2020 Fix parsing of log messages
2022 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2024 * win32/common/libgstbase.def::
2025 Sort alphabetically so make check-exports doesn't barf.
2027 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2030 Use gst_format_get_name() to improve debug output.
2033 Remove #ifdef'ed code. Add TODO comment.
2036 Add debug output to ease spotting format != segment.format assertions.
2038 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2040 * tests/check/libs/gdp.c: (gst_dp_suite):
2041 Also enable the GDP unit test again on PPC now that the bug
2044 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2046 * libs/gst/dataprotocol/dataprotocol.c:
2047 Don't write to the same region of memory as a uint64 and uint16
2048 as this breaks strict aliasing rules and apparantly breaks on PPC
2049 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2051 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2053 * libs/gst/controller/gstinterpolationcontrolsource.c:
2054 Optimize list handling. Use own find function. Exploit that fact that
2055 the list is sorted. Also pass back the node before, so that we can
2056 insert quickly. Have a fast path for append.
2058 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2060 * docs/design/draft-framestep.txt:
2061 * docs/design/part-negotiation.txt:
2064 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2067 Show configuration sumary after configure run. Based on patch by
2068 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2070 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2072 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2074 * docs/manual/advanced-autoplugging.xml:
2075 * docs/manual/advanced-threads.xml:
2076 * docs/manual/basics-bins.xml:
2077 * docs/manual/basics-elements.xml:
2078 * docs/manual/basics-helloworld.xml:
2079 * docs/manual/basics-pads.xml:
2080 Add scale factor for pdf output.
2082 * docs/manual/intro-basics.xml:
2083 Switched sections "pads" and "bins" and added a pipeline diagram.
2085 * docs/manual/intro-gstreamer.xml:
2086 Added more info on gstreamer.
2088 * docs/manual/intro-motivation.xml:
2089 Commented out the whole section "current problem", which sounds
2090 historical and somehow osolete; it could be turned in a positive
2091 way and reused to improve the design principles.
2093 * docs/manual/intro-preface.xml:
2094 - Update URLs to library.gnome.org.
2095 - Do not mention GTK+ in preliminary reading (irrelevant).
2096 - Mention Plugin Writer's Manual and further reading only in the
2098 - Added a list of most relevant GObject/glib topics.
2100 * docs/manual/Makefile.am:
2101 * docs/manual/bin-element-ghost.fig:
2102 * docs/manual/bin-element-ghost.png:
2103 * docs/manual/bin-element-noghost.fig:
2104 * docs/manual/bin-element-noghost.png:
2105 * docs/manual/bin-element.fig:
2106 * docs/manual/bin-element.png:
2107 * docs/manual/filter-element-multi.fig:
2108 * docs/manual/filter-element-multi.png:
2109 * docs/manual/filter-element.fig:
2110 * docs/manual/filter-element.png:
2111 * docs/manual/gstreamer-overview.png:
2112 * docs/manual/hello-world.fig:
2113 * docs/manual/hello-world.png:
2114 * docs/manual/linked-elements.fig:
2115 * docs/manual/linked-elements.png:
2116 * docs/manual/mime-world.fig:
2117 * docs/manual/mime-world.png:
2118 * docs/manual/queue.fig:
2119 * docs/manual/queue.png:
2120 * docs/manual/simple-player.png:
2121 * docs/manual/sink-element.fig:
2122 * docs/manual/sink-element.png:
2123 * docs/manual/src-element.fig:
2124 * docs/manual/src-element.png:
2125 * docs/manual/diagrams-general.svg:
2126 * docs/manual/diagrams-pipelines.svg:
2127 Removed .fig, added .png counterpart.
2131 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2133 * plugins/elements/gstmultiqueue.c:
2134 * plugins/elements/gstmultiqueue.h:
2135 revert extra-size-buffers stuff, caused some race conditions
2136 and extra-size-buffers is not used anymore. Docs needs some updates
2138 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2140 * win32/common/config.h:
2141 * win32/common/gstenumtypes.c:
2142 * win32/common/gstenumtypes.h:
2143 * win32/common/gstversion.h:
2146 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2148 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2149 (GST_DEBUG_BIN_TO_DOT_FILE):
2150 Add missing Since' markers to gtk-doc blurbs.
2152 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2154 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2155 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2156 (set_caps_1), (set_caps_ct1), (transform_ct1),
2157 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2158 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2159 (transform_size_ct2), (buffer_alloc_ct2):
2160 Add some more tests with switching caps in buffer_alloc.
2162 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2164 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2165 (gst_test_trans_class_init), (result_sink_chain),
2166 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2167 (gst_test_trans_push), (gst_test_trans_pop):
2168 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2169 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2170 (set_caps_1), (set_caps_ct1), (transform_ct1),
2171 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2172 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2173 (transform_size_ct2), (buffer_alloc_ct2),
2174 (gst_basetransform_suite):
2175 More tests, prepare for tests with switching caps in buffer_alloc.
2177 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2179 * plugins/elements/gstmultiqueue.c:
2180 * plugins/elements/gstmultiqueue.h:
2181 Fix dead-lock in underrun_cb
2183 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2185 * docs/design/part-states.txt:
2186 Fix device open/close docs.
2188 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2191 Mention bugnumber for last commit.
2193 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2195 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2197 * docs/manual/manual.xml:
2198 - Reorganised the previous "introduction" bundle into Foreword,
2199 Introduction, and About GStreamer. The two first are <preface>
2200 docbook elements. The later is the first part of the book.
2201 - added intro-gstreamer.xml (content partially from
2203 - moved appendix-win32.xml into appendix-integration.xml
2205 * docs/manual/intro-preface.xml: gstreamer section moved...
2206 * docs/manual/intro-gstreamer.xml: ...here. new file.
2208 * docs/manual/appendix-win32.xml: removed file. Content moved...
2209 * docs/manual/appendix-integration.xml: ...here.
2211 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2212 * docs/manual/appendix-checklist.xml: ...here.
2216 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2218 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2220 * docs/manual/basics-helloworld.xml:
2221 * docs/manual/hello-world.fig:
2222 - Explicitely include glib.h.
2223 - Do not use global variables.
2224 - Use g_printerr() instead of g_print().
2225 - Minor formating/renaming to increase readibility.
2226 - Renamed new_pad() to on_pad_added()
2227 - Improved explenatory comments.
2228 - renamed ogg parser to ogg demuxer
2229 - Use "autoaudiosink" instead of "alsasink".
2232 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2235 Remove cvs conflict marker.
2237 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2240 Document that for plgin-docs we extraxt he short-desc from the element
2243 * docs/design/part-states.txt:
2244 Tell that devices should be closed in PAUSED -> READY.
2246 * docs/manual/README:
2247 Document how tests in the manual are handled.
2252 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2254 * gst/gstbin.c: (bin_query_latency_fold):
2255 Only care about latency min and max when the sink is actually a live
2258 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2260 * docs/design/part-block.txt:
2263 * docs/design/part-element-transform.txt:
2264 Add notes about why transform needs to know input/output sizes.
2265 Add some issues that need to be solved.
2266 Add some more use cases.
2268 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2269 (gst_test_trans_class_init), (result_sink_chain),
2270 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2271 (gst_test_trans_push), (gst_test_trans_pop):
2272 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2273 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2274 (set_caps_1), (set_caps_ct1), (transform_ct1),
2275 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2276 (gst_basetransform_suite):
2277 Add suport for different pad templates and buffer-alloc.
2278 Add more checks for caps and buffer-alloc.
2279 Add checks for proxy buffer alloc.
2280 Add unit test for copy transform.
2282 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2284 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2286 * docs/manual/appendix-integration.xml:
2287 * docs/manual/appendix-licensing.xml:
2288 * docs/manual/basics-elements.xml:
2289 * docs/manual/basics-helloworld.xml:
2290 * docs/manual/basics-pads.xml:
2291 * docs/manual/highlevel-components.xml:
2292 * docs/manual/highlevel-xml.xml:
2293 * docs/manual/intro-basics.xml:
2294 * docs/manual/intro-preface.xml:
2295 Typo and formatting fixes (#538594).
2297 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2299 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2300 Fix some memory leaks and uses of object instances that we don't
2303 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2305 * plugins/elements/gstmultiqueue.c:
2306 Add functionality to extra-size-buffers property.
2308 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2310 * plugins/elements/gstmultiqueue.c:
2311 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2312 activate the pads if they are added in STATE_NULL.
2314 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2316 * docs/libs/gstreamer-libs-sections.txt:
2318 * libs/gst/check/gstcheck.c:
2319 * libs/gst/check/gstcheck.h:
2320 API: gst_check_teardown_pad_by_name
2322 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2324 * libs/gst/check/gstcheck.c:
2325 * libs/gst/check/gstcheck.h:
2326 Also setup request pads and allow setup pads by name (#537812)
2327 API: gst_check_setup_src_pad_by_name
2328 API: gst_check_setup_sink_pad_by_name
2330 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2332 * tests/check/gst/gstbuffer.c:
2333 * tests/check/pipelines/parse-launch.c:
2334 Use HAVE_VALGRIND_H some more.
2336 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2338 * scripts/cvs-update.sh:
2339 Pass arguments to make.
2340 Run autoregen.sh if Makefile is not there.
2342 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2346 Don't assume that <valgrind/valgrind.h> exists just because
2347 the binary is there.
2349 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2351 * tests/check/Makefile.am:
2352 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2353 (gst_test_trans_class_init), (gst_test_trans_init),
2354 (gst_test_trans_set_data), (result_sink_chain),
2355 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2356 (gst_test_trans_pop):
2357 * tests/check/libs/transform1.c: (GST_START_TEST),
2358 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2359 Add some test basetransform element and the beginnings of various
2362 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2364 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2365 Increase code readability.
2366 Don't try to compare buffer offsets when ther are invalid.
2368 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2370 * docs/design/Makefile.am:
2371 Dist some more design docs.
2373 * docs/random/moving-plugins:
2374 Small addition: good plugins mustn't have functional code
2375 within assertion macros.
2377 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2379 * docs/design/draft-framestep.txt:
2380 Some ideas about a framestep API
2382 * docs/design/part-element-transform.txt:
2383 Start design and use cases for basetransform in order to get it
2386 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2389 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2390 be in UTF-8 encoding.
2392 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2395 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2397 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2399 * plugins/elements/gstcapsfilter.c:
2400 * plugins/elements/gstfakesink.c:
2401 * plugins/elements/gstfakesrc.c:
2402 * plugins/elements/gstfdsink.c:
2403 * plugins/elements/gstfdsrc.c:
2404 * plugins/elements/gstfilesink.c:
2405 * plugins/elements/gstfilesrc.c:
2406 * plugins/elements/gstidentity.c:
2407 * plugins/elements/gstmultiqueue.c:
2408 * plugins/elements/gstqueue.c:
2409 * plugins/elements/gsttee.c:
2410 * plugins/elements/gsttypefindelement.c:
2411 Remove short_description. Add basic docs for gsttypefindelement.
2412 Simplify markup for fakesrc/fdsrc.
2414 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2416 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2419 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2421 Patch by: Joel Larsson <tilljoel at gmail dot com>
2423 * docs/plugins/gstreamer-plugins.args:
2424 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2425 (gst_fd_src_init), (gst_fd_src_update_fd),
2426 (gst_fd_src_set_property), (gst_fd_src_get_property),
2427 (gst_fd_src_create):
2428 * plugins/elements/gstfdsrc.h:
2429 Add timeout property like udpsrc. Fixes #538628.
2430 Add some more docs and example pipelines.
2432 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2434 * docs/libs/gstreamer-libs-sections.txt:
2435 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2436 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2437 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2438 (gst_base_sink_do_sync):
2439 * libs/gst/base/gstbasesink.h:
2440 * win32/common/libgstbase.def:
2441 Add method to allow sinks to specify additional delay between the sync
2442 times and the actual rendering of the data.
2443 API: gst_base_sink_set_render_delay()
2444 API: gst_base_sink_get_render_delay()
2446 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2449 Bump version number back to dev -> 0.10.20.1
2451 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2453 * docs/gst/gstreamer-sections.txt:
2454 * gst/gsttaglist.c: (_gst_tag_initialize):
2456 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2459 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2461 * libs/gst/controller/gstcontroller.c:
2462 Revert one change, that make ret value possible uninitialized.
2464 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2466 * libs/gst/controller/gstcontroller.c:
2467 Use freeze/thaw notify to sync notify emission a bit (its also more
2468 efficient). Move debug output to LOG (is called a lot in a loop).
2469 Always unset g_values if the have been initialized.
2471 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2473 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2474 (gst_base_sink_wait_eos), (gst_base_sink_event):
2475 If we have not seen a buffer before EOS, use the segment values to
2476 report the current position instead of invalid positions.
2478 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2480 * docs/plugins/tmpl/.cvsignore:
2481 * tests/check/gst/.cvsignore:
2484 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2486 * libs/gst/controller/gstinterpolation.c:
2487 * libs/gst/controller/gstinterpolationcontrolsource.c:
2488 * tests/check/libs/controller.c:
2489 Rewrite handling of default values. Fix overflow with unsigned types
2490 in linear interpolation. Remove now obsolete _first_value() function.
2491 Add more tests. Fixes #538201.
2493 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2495 * libs/gst/base/gstbasetransform.c:
2496 (gst_base_transform_class_init), (gst_base_transform_init),
2497 (gst_base_transform_transform_caps),
2498 (gst_base_transform_prepare_output_buffer):
2500 When a buffer is writable, its metadata is also writable so we don't
2501 need to subbuffer (which then makes the buffer not-writable anymore).
2503 === release 0.10.20 ===
2505 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2508 releasing 0.10.20, "You Crazy Diamond"
2510 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2513 0.10.19.3 pre-release
2515 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2519 Rename DATADIR to GST_DATADIR to avoid build problems
2520 on win32. Patch By: David Schleef <ds@schleef.org>
2523 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2526 Explicitely link with -ldl if dladdr() is found there. Before it was
2527 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2528 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2530 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2532 * gst/gsterror.c: (_gst_stream_errors_init):
2533 Fix typo (spotted by Fabricio Godoy, #536723).
2535 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2538 0.10.19.2 pre-release
2540 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2542 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2543 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2545 Make sure we don't generate invalid QoS messages.
2547 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2549 * gst/gstevent.c: (gst_event_new_qos):
2550 Add some assert and docs for invalid input to the qos function.
2552 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2554 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2555 (gst_base_sink_get_position):
2556 The reported position must always be smaller than the last seen
2557 timestamps (or timestamp + duration for reverse).
2559 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2561 Patch by: Rob Bradford <rob at robster dot org dot uk>
2563 * gst/gstregistry.c: (gst_registry_scan_path_level):
2564 Don't recurse into .debug directories as some distros install
2565 the debugging symbols next to the plugins in .debug directories
2566 and dlopen() crashes on them sometimes. Fixes bug #508070.
2568 Add FIXME for 0.11 to not recurse into directories at all because
2569 it's very inconsistent to the behaviour of other PATH environment
2572 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2574 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2575 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2576 Fix position query range checks in reverse playback.
2578 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2582 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2583 clear of the reference to the resulting pad must be released later
2584 or not, resulting in possible leaks. Fixes bug #533865.
2586 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2588 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2590 * gst/gstelementfactory.c:
2591 Small doc fix. Fixes #535285.
2593 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2595 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2597 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2598 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2599 (gst_base_src_loop), (gst_base_src_set_flushing),
2600 (gst_base_src_change_state):
2601 Make sending an EOS event to the basesrc non-blocking even if the
2602 implementation does blocking waits in the create function. This is done
2603 by unlocking the create function when EOS is sent.
2606 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2608 * tools/gst-inspect.c: (print_element_properties_info):
2609 If possible print the element type of GValueArray properties.
2611 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2613 * gst/gstiterator.c:
2614 Remove an unused field from the private GstListIterator struct.
2616 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2618 * libs/gst/controller/gstcontroller.c:
2619 Add parameter guards.
2621 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2623 * tests/check/gst/gstpipeline.c:
2624 Revert test change and add comment why it should not work.
2626 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2628 * tests/check/gst/gstpipeline.c:
2629 Extending the test a little to verify that we also get the NULL state-
2632 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2634 * gst/gstpreset.c: (gst_preset_default_get_meta),
2635 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2636 (gst_preset_load_preset), (gst_preset_save_preset),
2637 (gst_preset_rename_preset), (gst_preset_delete_preset),
2638 (gst_preset_set_meta):
2639 Add Since: markers to docs blurbs.
2641 * win32/common/libgstreamer.def:
2642 Add recently-added API.
2644 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2646 Patch by: Stefan Kost <ensonic@users.sf.net>
2649 Add DATADIR for storing presets.
2651 * docs/gst/gstreamer-docs.sgml:
2652 * docs/gst/gstreamer-sections.txt:
2653 * docs/gst/gstreamer.types.in:
2654 Add GstPreset to docs.
2658 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2659 (preset_open_and_parse_header), (preset_parse_version),
2660 (preset_merge), (preset_get_keyfile),
2661 (gst_preset_default_get_preset_names),
2662 (gst_preset_default_get_property_names),
2663 (gst_preset_default_load_preset),
2664 (gst_preset_default_save_presets_file),
2665 (gst_preset_default_save_preset),
2666 (gst_preset_default_rename_preset),
2667 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2668 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2669 (gst_preset_default_reset), (gst_preset_get_preset_names),
2670 (gst_preset_get_property_names), (gst_preset_load_preset),
2671 (gst_preset_save_preset), (gst_preset_rename_preset),
2672 (gst_preset_delete_preset), (gst_preset_set_meta),
2673 (gst_preset_get_meta), (gst_preset_class_init),
2674 (gst_preset_base_init), (gst_preset_get_type):
2676 Add GstPreset to core. Fixes #396779
2678 * tests/check/Makefile.am:
2679 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2680 (gst_preset_test_set_property), (gst_preset_test_class_init),
2681 (gst_preset_test_base_init), (gst_preset_test_get_type),
2682 (gst_preset_test_plugin_init), (GST_START_TEST),
2683 (remove_preset_file), (test_setup), (test_teardown),
2685 Add GstPreset unit tests.
2687 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2689 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2690 The default event function on a sinkpad should return TRUE when
2691 there are no internal links but should collect the return values from
2692 the internal links otherwise.
2694 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2696 * plugins/elements/gsttypefindelement.c:
2697 (gst_type_find_element_src_event),
2698 (gst_type_find_element_handle_event):
2699 Use faster and safer _pad_push_event().
2701 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2703 * docs/gst/gstreamer-sections.txt:
2704 * gst/gstutils.c: (element_find_unlinked_pad),
2705 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2707 API: add gst_bin_find_unlinked_pad()
2708 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2710 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2716 Fixed a bunch of typos.
2718 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2721 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2722 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2723 (gst_parse_bin_from_description_full):
2725 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2727 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2729 * docs/pwg/advanced-tagging.xml:
2730 Small docs update, can't be bothered to rewrite the nonsensical
2733 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2736 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2738 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2740 * gst/parse/grammar.y:
2741 Remove unneeded casts.
2743 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2745 * gst/parse/grammar.y:
2746 * tests/check/pipelines/parse-launch.c:
2747 Get all missing elements from a parse launch string if possible
2748 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2750 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2752 * tests/check/Makefile.am:
2753 * tests/check/pipelines/parse-launch.c:
2754 Add some unit tests for the new gst_parse_launch*_full() API.
2755 (Exposes a previously-existing memory leak in the error code
2756 path, so adding to VALGRIND_TO_FIX for now).
2758 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2760 * docs/gst/gstreamer-sections.txt:
2761 * gst/gst.c: (init_post):
2762 * gst/gst_private.h: (_GstParseContext):
2763 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2764 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2765 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2766 (gst_parse_launch_full):
2767 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2768 (GstParseFlags), (GstParseContext):
2769 * gst/gstutils.c: (gst_parse_bin_from_description),
2770 (gst_parse_bin_from_description_full):
2772 * gst/parse/grammar.y:
2773 * gst/parse/types.h:
2774 * win32/common/libgstreamer.def:
2775 Add new gst_parse_*_full API (#528178):
2776 API: gst_parse_launch_full()
2777 API: gst_parse_launchv_full()
2778 API: gst_parse_bin_from_description_full()
2779 API: gst_parse_context_new()
2780 API: gst_parse_context_free()
2781 API: gst_parse_context_get_missing_elements()
2783 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2785 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2787 * docs/faq/gst-uninstalled:
2788 Also support ffmpeg in gst-uninstalled.
2790 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2793 After discussion on IRC use the binary registry as default
2794 but allow to disable it with --disable-binary-registry.
2796 * win32/common/libgstreamer.def:
2797 Add the two new symbols for the binary registry.
2799 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2801 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2802 * gst/gstutils.c: (gst_parse_bin_from_description):
2803 * gst/parse/grammar.y: (graph):
2804 More guards against bad input; typo fix; some minor clean-ups.
2806 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2808 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2810 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2811 If nothing else can be used, use the last buffer's start time as
2812 the segment's last stop. Fixes bug #534258.
2814 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2816 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2817 Move size sanity check to the right place: downstream may return
2818 a buffer with a smaller size if the buffer caps are different than
2819 the requested ones, as may happen when doing reverse negotiation.
2821 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2823 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2824 (gst_file_sink_render):
2825 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2826 (gst_file_src_start):
2827 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2830 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2832 * gst/gstpad.c: (gst_pad_load_and_link):
2833 * gst/gstutils.c: (gst_element_link_pads),
2834 (gst_element_unlink_pads):
2835 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2836 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2837 (gst_check_teardown_sink_pad),
2838 (gst_check_element_push_buffer_list):
2839 * tests/check/elements/fakesink.c: (GST_START_TEST):
2840 * tests/check/elements/filesink.c:
2841 * tests/check/elements/filesrc.c: (GST_START_TEST):
2842 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2843 (mq_sinkpad_to_srcpad):
2844 * tests/check/elements/tee.c: (GST_START_TEST):
2845 * tests/check/generic/sinks.c: (GST_START_TEST):
2846 * tests/check/gst/gstbin.c: (GST_START_TEST):
2847 * tests/check/gst/gstevent.c: (GST_START_TEST):
2848 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2849 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2850 * tests/check/gst/gstquery.c: (GST_START_TEST):
2851 * tests/check/gst/gstutils.c: (GST_START_TEST):
2852 * tests/check/libs/basesrc.c: (GST_START_TEST):
2853 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2854 (gst_parse_test_element_change_state):
2855 Don't use gst_element_get_pad().
2857 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2860 Fix installing plugin documentation when gtk-doc is disabled.
2862 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2864 * docs/manual/advanced-autoplugging.xml:
2865 * docs/manual/basics-helloworld.xml:
2866 * docs/manual/basics-pads.xml:
2867 * docs/manual/highlevel-components.xml:
2868 Avoid using a bad function in the example code.
2870 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2872 * gst/gstclock.c: (gst_clock_set_calibration):
2873 Fix debug of the new clock rate.
2875 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2877 * win32/common/libgstbase.def:
2878 Add gst_base_sink_wait_clock() to the exported symbols.
2880 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2882 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2884 * libs/gst/base/gstbasetransform.c:
2885 (gst_base_transform_sink_event):
2886 Unref events that the GstBaseTransform::event vfunc didn't want to
2887 have forwarded by the base class. Closes a leak in identity.
2890 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2892 * docs/libs/gstreamer-libs-sections.txt:
2893 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2894 * libs/gst/base/gstbasesink.h:
2895 Expose a method that was previously used internally to synchronize
2896 against the clock because it can be useful for subclasses too.
2897 API: GstBaseSink::gst_base_sink_wait_clock()
2899 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2901 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2902 Add sanity check to make sure we don't get smaller buffers
2903 than requested (and fallback to normal buffer alloc if we do).
2905 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2907 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2908 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2909 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2910 Refactor adjusting the running_time with latency and offset into a
2912 When doing clipping, we still want to use the subclass get_times method,
2913 just in case the DURATION or TIMESTAMP are not set.
2915 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2917 * docs/gst/gstreamer-sections.txt:
2918 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2919 * gst/gsttypefind.h:
2920 * win32/common/libgstreamer.def:
2921 API: add gst_type_find_suggest_simple(), #533740.
2923 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2925 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2926 Use right error code when typefinding fails, so we can use
2927 the default (translated) error messages.
2929 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2931 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2932 (gst_base_src_start):
2933 When the subclass did not set caps on outgoing buffers, configure the
2934 caps we negotiated on the source pad.
2935 When the typefind helper does not find caps, error out properly instead
2936 of doing things with NULL caps.
2938 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2940 * gst/gsttypefind.h:
2941 Tabs to spaces, oh yes!
2943 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2945 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2946 Add David's and Benjamin's tests for array intersection to the
2947 unit test suite (#147931).
2949 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2952 Document that gst_event_new_tag() and gst_event_new_navigation()
2953 take ownership of the taglist/structure passed to them. (#533635).
2955 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2958 Don't descend into the plugins dir if plugin docs building
2962 Add a note about the new type:GTypeName syntax for the plugin
2963 documentation .types file.
2965 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2967 * gst/gstmessage.c: (gst_message_new_error),
2968 (gst_message_new_warning), (gst_message_new_info):
2970 Mark the debug string parameters as const. Fixes bug #533490.
2972 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2974 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2975 Sort buffer cache list by end offsets. This makes sure that we don't
2976 stop to search for a cached buffer that contains the requested data
2978 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2979 more efficient. Fixes bug #459862.
2981 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2984 Explain why we copy the list.
2986 * gst/gstpipeline.c:
2990 Add one debug-log statement to help tracing probelms with linking pads.
2992 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2994 * tests/check/gst/gstinfo.c:
2995 Add a test for removing the default log handler. Seems to fail under
2998 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3000 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3001 Release pad lock before calling out to avoid a possible deadlock.
3003 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3005 * gst/parse/grammar.y:
3006 Remove unneeded value unset.
3008 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3009 Add unit test for de/serialization of caps.
3011 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3013 * plugins/elements/gstfakesink.c:
3014 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3015 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3016 (gst_fake_src_class_init):
3017 Use custom marshalers that take GstMiniObject as first parameter.
3018 Using OBJECT as parameter while a GstMiniObject is given will lead
3019 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3021 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3023 * plugins/elements/gsttypefindelement.c:
3024 (gst_type_find_element_handle_event),
3025 (gst_type_find_element_send_cached_events),
3026 (gst_type_find_element_change_state):
3027 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3030 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3032 * plugins/elements/gsttypefindelement.c:
3033 (gst_type_find_handle_src_query), (stop_typefinding),
3034 (gst_type_find_element_handle_event),
3035 (gst_type_find_element_send_cached_events),
3036 (gst_type_find_element_change_state):
3037 Forward FLUSH_START events immediately and clean up instead of
3040 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3042 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3044 * libs/gst/base/gstbasetransform.c:
3045 (gst_base_transform_buffer_alloc):
3046 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3047 fall back to default negotiation in the chain function if the caps
3048 are different from what was requested. Fixes bug #526768.
3050 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3053 * tests/check/gst/gstsegment.c:
3054 No, let's not use g_slice_{dup|copy} here, since they only exist
3055 since GLib 2.14 and we still depend only on >= 2.12. Also add
3056 unit test for gst_segment_copy().
3058 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3060 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3061 Try to fix 'dereferencing type-punned pointer will break strict
3062 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3063 changed the default GType typedef from gulong to gsize at some point,
3064 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3065 g_once_* functions all take a gsize * though, so work around the type
3066 mismatch for C++ by doing everything in gsize and casting to GType
3069 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3071 * plugins/elements/gstmultiqueue.c:
3072 Add documentation for the signals to push our core plugin docs
3073 coverage back up to 100%.
3075 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3077 * gst/gstinfo.h (GST_FUNCTION):
3078 Reverted GST_FUNCTION to the old version as we don't want the
3079 full signature in C++ code. Also added support for MSVC.
3081 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3084 Intern the type name string, similar to what G_DEFINE_TYPE does.
3086 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3089 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3091 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3093 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3095 * libs/gst/base/gstbasetransform.c:
3096 (gst_base_transform_buffer_alloc):
3097 Don't passthrough buffer allocation too easily if the caps change.
3098 This breaks when working in passthrough mode and upstream changes
3099 it's caps. Fixes bug #526768.
3101 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3103 * gst/gstinfo.c (gst_debug_log_valist):
3104 Improved the __FILE__ part of debug output for MSVC.
3106 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3108 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3109 Declaration after statement fix for compilers like MSVC.
3111 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3113 * win32/common/config.h.in:
3114 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3115 use the real thing than having "???" unconditionally.
3117 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3119 * gst/gstinfo.h (GST_FUNCTION):
3120 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3122 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3124 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3127 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3128 (gst_base_sink_set_flushing):
3129 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3132 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3134 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3135 (gst_fake_src_init), (gst_fake_src_set_property),
3136 (gst_fake_src_get_property), (gst_fake_src_start):
3137 * plugins/elements/gstfakesrc.h:
3138 Added format property to control the format of the newsegment events.
3139 API: GstFakeSrc:format
3141 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3143 * win32/common/libgstreamer.def:
3144 Add gst_pad_has_name() to the exported symbols.
3146 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3148 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3149 * libs/gst/base/gstbasetransform.c:
3150 (gst_base_transform_prepare_output_buffer):
3151 Don't allow negative sizes when allocating new buffers.
3154 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3156 Patch by: Sjoerd Simons <sjoerd at luon net>
3158 * gst/gstbus.c: (gst_bus_source_dispatch):
3159 Don't print a warning if the queue is empty when we try to pop
3160 here. That could happen if another thread or callback set the
3161 bus to flushing between the source's check/prepare and the
3162 dispatch being called (#531538).
3164 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3166 * plugins/elements/gstmultiqueue.c:
3169 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3171 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3172 Add unit test for deserializing uint64s and check some really large
3173 numbers in the int64 test.
3175 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3177 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3178 (print_interfaces), (print_element_properties_info),
3179 (print_signal_info):
3180 Use "%s" as format string instead of printing strings directly.
3182 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3184 * gst/gstclock.c: (gst_clock_set_calibration):
3185 Make some checks actually useful.
3187 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3188 Remove some unused code. Unsigned integers tend to be >= 0.
3190 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3192 * gst/gstminiobject.c: (gst_value_get_mini_object):
3193 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3194 function was not in the unscheduled 0.10.19 release.
3196 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3198 * gst/gstregistry.c: (gst_registry_scan_path_level):
3199 Only print one log message per non-plugin file.
3201 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3203 * gst/gstinfo.c: (gst_debug_log_default):
3204 Fix alignment of debug log columns on 64-bit.
3206 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3208 * docs/libs/Makefile.am:
3209 * docs/libs/gstreamer-libs-sections.txt:
3210 Ignore private controller headers for docs.
3212 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3214 * libs/gst/controller/gstcontrollerprivate.h:
3215 * libs/gst/controller/gsthelper.c:
3216 * libs/gst/controller/gstinterpolation.c:
3217 * libs/gst/controller/gstinterpolationcontrolsource.c:
3218 (gst_interpolation_control_source_set_interpolation_mode):
3219 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3220 * libs/gst/controller/lib.c:
3221 Move some private declarations into private headers.
3223 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3225 * gst/gstdebugutils.c: (debug_dump_element_pad):
3226 Remove some code that is unused after Stefan's refactoring and uses
3227 uninitialized variables now, resulting in a compiler warning.
3229 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3231 * gst/gstregistry.c: (gst_registry_scan_path_level):
3232 Run g_str_has_suffix() only on the file name, not the
3235 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3237 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3238 Since we're not called only from the chain function any longer,
3239 we can't assume that there's always data in the queue, so move
3240 the is_full check to the beginning of the loop (otherwise we'd
3241 hit the assert when changing the limit properties while the
3242 queue is empty or not running yet).
3243 Also, only set a discont if items were actually removed from
3246 * tests/check/elements/queue.c: (test_leaky_downstream):
3247 Test case for the above.
3249 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3251 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3253 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3254 (gst_queue_chain), (queue_capacity_change),
3255 (gst_queue_set_property):
3256 When changing thr max capacity of a leaky queue, immediatly drop buffers
3257 instead of waiting for a push on the sinkpad. Fixes #530637.
3259 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3261 * gst/gstdebugutils.c:
3262 Refactor code and fix handling of ghostpads and their proxypads.
3264 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3266 * docs/gst/gstreamer-sections.txt:
3267 * gst/gstevent.c: (gst_event_has_name):
3269 * tests/check/gst/gstevent.c: (GST_START_TEST):
3270 Add method to conveniently check the name of a custom event with
3271 gst_event_has_name().
3272 Reformat the event docs so that related methods are put together instead
3273 of the default alphabetical sort.
3274 Update unit test with new method.
3275 API: GstEvent::gst_event_has_name()
3277 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3279 * libs/gst/check/Makefile.am:
3280 Don't add an explicit link to libgstreamer-0.10.la; it's already
3281 included in GST_OBJ_LIBS.
3283 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3286 Register GstClock type from a type-safe context. Fixes bug #530317.
3288 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3290 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3292 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3294 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3296 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3298 Use the GLib stuff to create a private structure.
3299 Add some locking around some dispose methods to make them a little
3300 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3302 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3304 * libs/gst/base/gstbasesink.h:
3305 * libs/gst/base/gstbasesrc.h:
3306 * libs/gst/base/gstbasetransform.h:
3307 * libs/gst/base/gstcollectpads.h:
3308 Fix doc typos and unify caps a bit.
3310 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3312 * tools/gst-launch.1.in:
3313 Forgot to also add the envvar docs here.
3315 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3317 * gst/gst.c: (init_post), (gst_deinit):
3318 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3319 (test_concurrent_create), (gst_pipeline_suite):
3320 Ref some more classes in gst_init() to work around thread-safety
3321 issues in pre-2.16 GLibs, and add basic unit test.
3323 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3325 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3326 (gst_base_sink_send_event):
3327 Rearrange the latency query code. We always want to do the upstream
3328 query, even if we are not live so that the upstream elements can get the
3329 latency results too. If we fail doing the query and we are live, we
3330 return TRUE afterwards.
3332 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3334 patch by: Jason Zhao <e3423c@motorola.com>
3336 * docs/gst/running.xml:
3338 Enable/disable scan_and_update_registry() based on commandline switch
3339 or environment variable. Fixes #520468.
3342 Fix typo in my previous commit.
3344 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3346 * gst/gstregistrybinary.c:
3347 Add a warning if we hit unhandled factories when saving.
3348 More debug logging detail, but move to LOG category.
3350 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3352 * gst/gstregistry.c:
3353 Tell the *truth* when improving the documentation.
3355 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3357 * gst/gstelementfactory.c: (gst_element_factory_make):
3358 Unref the factory after it was used the last time, not before.
3360 * gst/gstindexfactory.c: (gst_index_factory_make):
3361 Improve debugging a bit and don't leak a ref to the index factory with
3364 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3366 * gst/gstregistry.c:
3367 Improve the documentation.
3369 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3372 The glib macro seems to be borked. Use g_slice_copy directly and cast
3373 in the hope that this fixes the warning on 64bit.
3375 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3378 Document the new function. Use g_slice_dup() (no need for
3379 gst_segment_init()).
3381 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3383 * docs/gst/gstreamer-sections.txt:
3384 Move GParamSepc macros to standart section.
3387 Dn't document _get_type - its in private section in docs anyway and
3388 this doc-blob was incomplete.
3391 Fix wrong symbol names in docs.
3394 Add once doc sentence.
3396 * tests/check/gst/.cvsignore:
3399 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3401 * docs/gst/Makefile.am:
3402 And remove those libs here.
3404 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3406 * docs/libs/Makefile.am:
3407 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3409 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3411 Patch by: Olivier Crete <tester at tester dot ca>
3413 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3414 Add the min-threshold to the min latency if possible. Fixes #529148.
3416 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3418 * docs/gst/gstreamer.types.in:
3419 Stupid editor, I removed that line as it should go in yet.
3421 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3423 * docs/gst/gstreamer.types.in:
3424 * docs/libs/gstreamer-libs.types:
3425 Remove library types fro core docs and have them in libs docs.
3426 Reformat and cleanup. Add comment for miniobject types.
3428 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3430 * gst/gsturi.c: (gst_uri_get_protocol):
3431 Fix leak: g_strdown operates on the string in place, while
3432 g_ascii_strdown() returns a newly-allocated string.
3434 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3436 * tools/gst-inspect.c: (print_uri_handler_info),
3437 (print_element_info):
3438 Print the URI protocols and the URI type supported by the element.
3440 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3442 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3443 Use g_value_take_string() instead of the deprecated
3444 g_value_set_string_take_ownership().
3446 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3448 * gst/gstregistrybinary.c: (_gst_crc32):
3449 Return the old CRC instead of 0 if we give a NULL buffer
3450 or a buffer with a length of 0.
3452 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3454 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3455 (gst_uri_get_protocol), (gst_uri_has_protocol),
3456 (gst_uri_construct), (gst_uri_handler_set_uri):
3457 A valid URI scheme can also include '+', '-' and '.' additional
3458 to alphanumeric characters as per RFC 3986 Section 3.1.
3460 Handle URI schemes case insensitive in all places and convert
3461 to lower-case when constructing an URI or setting an URI with
3462 the GstURIHandler interface. Fixes bug #528868.
3463 All elements can still assume (as before) that they will
3464 get passed URIs with a lower-case URI scheme by the GstURIHandler
3467 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3469 * gst/gstcaps.c: (gst_static_caps_get):
3470 * gst/gstclock.c: (gst_clock_entry_new):
3471 Don't use g_atomic_set_int where it's not needed.
3473 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3475 * gst/gstvalue.c: (gst_value_deserialize_caps):
3476 * gst/parse/grammar.y:
3479 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3481 * gst/gstutils.c: (gst_atomic_int_set):
3482 Use g_atomic_int_set() here too instead of assignment +
3485 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3489 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3490 now that we depend on new enough GLib.
3492 * gst/gstcaps.c: (gst_static_caps_get):
3493 * gst/gstclock.c: (gst_clock_entry_new):
3494 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3495 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3496 (gst_debug_category_set_threshold):
3497 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3498 (gst_base_sink_set_qos_enabled):
3499 * libs/gst/net/gstnettimeprovider.c:
3500 (gst_net_time_provider_set_property):
3501 Use g_atomic_int_set() instead of gst_atomic_int_set().
3503 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3506 Also use G_GINT64_CONSTANT for the queries.
3508 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3511 Use G_GINT64_CONSTANT in varargs function.
3513 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3515 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3516 Initialize the registry magic with zeroes.
3518 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3520 * gst/gstregistrybinary.c: (_gst_crc32),
3521 (gst_registry_binary_write),
3522 (gst_registry_binary_initialize_magic),
3523 (gst_registry_binary_write_cache),
3524 (gst_registry_binary_check_magic),
3525 (gst_registry_binary_read_cache):
3526 * gst/gstregistrybinary.h:
3527 Add crc32 checksum to the binary registry file and check this before
3528 accepting a registry file.
3530 Also free the data list when writing to the registry file fails.
3532 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3534 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3535 (gst_registry_binary_load_feature),
3536 (gst_registry_binary_load_plugin):
3537 If an element supports the Uri interface, returns a valid pointer
3538 to the supported URI protocols but this pointer contains nothing
3539 don't try to save that as it will corrupt the registry.
3541 Don't unref the plugin if we added it to the registry already but
3542 fail to load a feature as gst_registry_add_plugin() takes ownership
3545 Improve debugging a bit.
3547 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3550 Clarify some tag item docs after discussion on irc.
3552 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3554 * docs/gst/gstreamer-docs.sgml:
3555 Remove commented out plugins (they have their own docs). Update
3558 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3560 * docs/gst/gstreamer-docs.sgml:
3561 * docs/gst/gstreamer-sections.txt:
3562 * gst/gstparamspecs.c:
3563 * gst/gstparamspecs.h:
3564 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3565 docs to own section.
3568 This now only documents GValue.
3570 * docs/libs/gstreamer-libs-sections.txt:
3571 * libs/gst/controller/gstcontroller.h:
3572 Remove GST_PARAM_CONTROLLABLE.
3574 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3577 Correct file path. Tell about how to use -overrides.txt.
3578 * docs/design/draft-tagreading.txt:
3579 Small design update.
3581 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3583 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3584 (gst_registry_binary_load_plugin):
3585 Fix a typo in a debug message and revert change from yesterday as
3586 gst_registry_add_plugin() will only fail if something is really wrong
3587 already and we can't survive it anyway.
3589 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3591 * gst/gst.c: (init_post), (gst_deinit):
3592 Pre-register GstGError GType from a thread-safe context
3593 (fixes #527967); unref enum type classes in deinit.
3595 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3597 Patch by: Rene Stadler <mail at renestadler de>
3599 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3600 Merging an empty list with another list in KEEP_ALL mode should
3601 yield an empty list as result and not the second list (#512578).
3603 * tests/check/gst/gsttagsetter.c:
3604 Add unit test for tag merge modes and the aforementioned bug.
3606 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3608 Patch by: Rene Stadler <mail at renestadler de>
3611 Fix description to match the order in the table (#512577).
3613 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3615 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3617 * libs/gst/net/gstnettimepacket.h:
3618 * docs/libs/gstreamer-libs-sections.txt:
3619 Define socklen_t as int if it's not defined yet. Fixes compilation
3620 with MSVC6 and other versions where socklen_t is not defined in
3621 the windows headers (#518022).
3623 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3625 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3626 If gst_registry_add_plugin() fails our reference to the plugin is
3627 invalid so don't try to use it anymore and instead error out.
3629 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3631 * tools/gst-xmlinspect.c: (print_element_info), (main):
3632 De-cruft a bit. If no argument is specified, print all elements in
3633 XML syntax rather than a freestyle list of elements like gst-inspect.
3634 Also, don't print XML header chunk unless we actually have something
3635 to print (ie. don't print it before an error message); print error
3636 message to stderr not stdout. Remove support for printing plugin
3637 info (it would just output something freestyle along the lines of
3638 gst-inspect so far), which fixes #514507. Also add license header.
3640 2008-04-11 Julien Moutte <julien@fluendo.com>
3643 * configure.ac: Merge platform specific defines, introduce a new
3644 define on OS X to remember that forking when updating registry is
3646 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3648 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3650 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3651 condition that leads to absolutely no plugins being registered on
3654 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3656 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3658 * gst/gstutils.c: (gst_pad_add_data_probe),
3659 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3660 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3661 (gst_pad_add_buffer_probe_full):
3663 * docs/gst/gstreamer-sections.txt:
3664 * win32/common/libgstreamer.def:
3665 Add gst_pad_add_*_probe_full() functions with a notify callback that
3666 lets the caller free the data it passes to the probe functions. This
3667 is useful for bindings such as gst-python or gstreamermm (#526814).
3668 API: gst_pad_add_data_probe_full
3669 API: gst_pad_add_buffer_probe_full
3670 API: gst_pad_add_event_probe_full
3672 * tests/check/gst/gstutils.c:
3673 Add minimal unit test to make sure freeing the data actually works
3676 * tests/benchmarks/.cvsignore:
3677 Random cvsignore addendum.
3679 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3681 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3682 (GST_DEBUG_BIN_TO_DOT_FILE):
3683 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3684 to it in the docs (since these are macros the types of the arguments
3685 won't be shown in the docs otherwise).
3687 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3690 Do not abort on out of memory for pad_alloc_buffer.
3692 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3694 * libs/gst/check/gstcheck.c:
3695 Remove blank line between symbol name ad parameters to fix gtkdoc
3698 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3700 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3702 * docs/gst/gstreamer-sections.txt:
3705 * win32/common/libgstreamer.def:
3706 Expose gst_segment_copy() to make things easier for the c++ bindings.
3708 API: gst_segment_copy()
3710 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3712 * gst/gst.c: (gst_init_get_option_group), (init_post):
3713 Fix const position; ref GType classes for enum types to work
3714 around thread-safety issues in GLib versions < 2.16.
3716 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3718 * docs/design/part-buffering.txt:
3719 Fix some typos and set the estimated total for push mode to -1.
3721 * gst/gstquery.c: (gst_query_new_buffering):
3722 Set buffering-left to 0 as we're not buffering by default.
3724 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3725 Implement BUFFERING query.
3727 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3729 Based on patch by: Milosz Derezynski <internalerror gmail com>
3731 * gst/gsterror.c: (_gst_stream_errors_init):
3733 Add two new error codes for encrypted content. Fixes #524659.
3734 API: GST_STREAM_ERROR_DECRYPT
3735 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3737 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3742 * win32/common/libgstreamer.def:
3745 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3747 * plugins/elements/gstidentity.c: (gst_identity_event),
3748 (gst_identity_start):
3749 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3750 event after processing some data. Fixes bug #526042.
3752 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3754 * docs/gst/gstreamer-sections.txt:
3755 * gst/gstquery.c: (gst_query_parse_latency),
3756 (gst_query_set_buffering_percent),
3757 (gst_query_parse_buffering_percent),
3758 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3760 Rename _avail -> _range
3761 API: gst_query_set_buffering_range
3762 API: gst_query_parse_buffering_range
3764 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3766 * docs/design/part-buffering.txt:
3769 * gst/gstquery.c: (gst_query_parse_latency),
3770 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3771 (gst_query_parse_buffering_percent):
3773 Add busy field and quark for the buffering query so that the app can
3774 only use the query to see if buffering is in progress.
3776 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3778 * docs/gst/gstreamer-sections.txt:
3779 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3780 (gst_message_parse_buffering_stats):
3782 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3783 (gst_query_parse_latency), (gst_query_new_buffering),
3784 (gst_query_set_buffering_percent),
3785 (gst_query_parse_buffering_percent),
3786 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3787 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3789 Reorder the message docs and headers for clarity.
3790 Add aditional buffering stats API for messages.
3791 Add buffering query.
3792 Convert some leftover queries to use GstQuark.
3793 API: gst_message_set_buffering_stats
3794 API: gst_message_parse_buffering_stats
3795 API: GST_QUERY_BUFFERING
3796 API: GstBufferingMode
3797 API: gst_query_new_buffering
3798 API: gst_query_set_buffering_percent
3799 API: gst_query_parse_buffering_percent
3800 API: gst_query_set_buffering_stats
3801 API: gst_query_parse_buffering_stats
3803 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3805 * gst/gstmessage.c: (gst_message_new_error),
3806 (gst_message_new_warning), (gst_message_new_info),
3807 (gst_message_new_buffering), (gst_message_new_state_changed),
3808 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3809 (gst_message_new_new_clock), (gst_message_new_segment_start),
3810 (gst_message_new_segment_done), (gst_message_new_duration),
3811 (gst_message_new_async_start), (gst_message_parse_buffering),
3812 (gst_message_parse_state_changed),
3813 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3814 (gst_message_parse_new_clock), (gst_message_parse_error),
3815 (gst_message_parse_warning), (gst_message_parse_info),
3816 (gst_message_parse_segment_start),
3817 (gst_message_parse_segment_done), (gst_message_parse_duration),
3818 (gst_message_parse_async_start):
3819 Use GstQuark for messages.
3821 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3823 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3825 Add some more quarks needed for messages and queries.
3827 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3829 * docs/design/part-buffering.txt:
3830 Remove the "none" buffering mode, STREAM is a good default.
3831 Move estimated-time to the avail query, that's when it will be needed.
3832 Other small typo fixes and updates.
3834 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3836 * gst/gstindex.c: (gst_index_resolver_get_type):
3837 Don't put descriptions into the nick field of a GEnumValue: it's not
3838 meant for that and some language bindings rely on the nick field to
3839 construct constants and the like. Fixes #526705.
3841 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3846 Merge other changes from 0.10.19 release branch.
3848 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3850 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3853 Actually build dlls when cross-compiling with mingw32.
3856 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3858 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3861 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3863 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3865 * docs/design/draft-latency.txt:
3868 * docs/design/part-buffering.txt:
3869 Update design docs with more buffering ideas.
3871 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3874 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3876 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3879 Revert part that belongs to the preset patch.
3881 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3884 Add qoutes to the define. Fixes # 525961.
3886 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3888 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3889 (gst_file_index_load), (gst_file_index_add_id),
3890 (gst_file_index_get_assoc_entry):
3891 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3892 (gst_mem_index_free_id), (gst_mem_index_add_id),
3893 (gst_mem_index_index_format):
3894 Use GSlice when possible.
3896 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3898 * libs/gst/controller/gstinterpolationcontrolsource.c:
3899 (gst_control_point_free),
3900 (gst_interpolation_control_source_set_internal):
3901 Use GSlice for allocating the control points.
3903 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3905 * plugins/elements/gsttypefindelement.c:
3906 (gst_type_find_element_class_init),
3907 (gst_type_find_element_set_property),
3908 (gst_type_find_element_get_property),
3909 (gst_type_find_element_activate):
3910 * plugins/elements/gsttypefindelement.h:
3912 Fix pad leak when peer query fails.
3913 We can still typefind when the peer returns -1.
3914 Add property to force caps and bypass typefinding. This will be used in
3918 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3923 * gst/glib-compat-private.h:
3924 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3925 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3926 Unconditionally use GSlice for allocation.
3928 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3929 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3930 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3931 (gst_structure_free):
3932 Use GSlice for allocation.
3934 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3936 * gst/parse/Makefile.am:
3937 * gst/parse/grammar.tab.pre.c:
3938 * gst/parse/grammar.tab.pre.h:
3939 * gst/parse/lex._gst_parse_yy.pre.c:
3940 Require a new enough flex and bison and remove the parser hacks to use
3941 a pre-regenerated version.
3943 2008-04-01 Julien Moutte <julien@fluendo.com>
3945 patch by: Jason Zhao <E3423C@motorola.com>
3947 * configure.ac: Add a configure switch to disable option parsing
3951 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3954 * gst/gstregistry.c:
3955 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3956 and handle this case.
3959 Add a comment here describing, why we stat each plugin and not try to
3962 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3964 * libs/gst/base/gstbasetransform.c:
3965 (gst_base_transform_prepare_output_buffer):
3966 Also unset the GAP flag on buffers if we're working inplace but
3967 the element is not GAP-aware.
3969 Mark a comment as FIXME 0.11.
3971 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3974 Fix type in log message and add one to ease seeing how long registry
3975 cache verification takes.
3977 * gst/gstregistry.c:
3978 Only test plugin filenames against G_MODULE_SUFFIX.
3980 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3982 * gst/gstdebugutils.c:
3983 Improve handling ghost/proxy pads.
3985 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3987 * docs/gst/gstreamer-sections.txt:
3990 Expose macro to docs and fix link to it.
3992 2008-03-27 Michael Smith <msmith@fluendo.com>
3994 * libs/gst/dataprotocol/dataprotocol.c:
3995 (gst_dp_packet_from_event_1_0):
3996 When calculating GDP body CRC, use the correct pointer.
3997 Fixes part of #522401.
3999 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4001 Patch by: Mark Nauwelaerts <manauw at skynet be>
4003 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4004 (gst_identity_init), (gst_identity_prepare_output_buffer):
4005 Identity is not always a passthrough element, it can modify the buffer
4006 timestamps when it has a datarate and operates in single-segment mode.
4007 We therefore make it an in_place filter with a custom buffer prepare
4008 function that conditionally makes the input buffer metadata writable
4009 when needed. Fixes #523985.
4011 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4013 Patch by: Mark Nauwelaerts <manauw at skynet be>
4016 * libs/gst/base/gstbasesrc.h:
4017 * libs/gst/base/gstbasetransform.c:
4018 * libs/gst/check/gstcheck.c:
4019 Small documentation fixes. Fixes #523978.
4021 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4023 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4024 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4025 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4027 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4029 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4030 (single_queue_underrun_cb):
4031 When trying to make room in the queue, bump the max allowed buffers
4032 bigger than the current amount of buffers in the queue. this fixes some
4033 nasty deadlocks in multiqueue when dynamically changing the limits of
4036 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4038 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4040 * gst/gstcaps.c: (gst_caps_set_simple),
4041 (gst_caps_set_simple_valist), (gst_caps_intersect):
4043 Constify the field gchar * params in set_simple and friends.
4046 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4048 * gst/gstvalue.c: (gst_value_transform_object_string):
4049 Transform a GstObject to a more meaningfull string that includes the
4050 object type in addition to its name.
4052 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4055 ChangeLog surgery to add bugnumber to commit.
4057 2008-03-23 Rene Stadler <mail@renestadler.de>
4059 * libs/gst/base/gstbasetransform.c:
4060 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4062 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4064 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4065 Rename constant everywhere and don't forget one occurence.
4067 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4069 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4070 Align memory to the pointer size even if the architecture allows
4071 unaligned memory access. Unaligned memory access usually comes with
4072 performance penality.
4074 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4076 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4077 (gst_registry_binary_check_magic),
4078 (gst_registry_binary_load_pad_template),
4079 (gst_registry_binary_load_feature),
4080 (gst_registry_binary_load_plugin):
4081 Align memory to the pointer size instead of always 32 bit. Fixes
4082 unaligned memory accesses on ia64 and friends.
4084 * gst/gstregistrybinary.h:
4085 Bump binary registry format version for this as it changes the
4086 format on those architectures that don't have unaligned access
4087 and 64 bit pointers.
4089 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4091 * docs/pwg/advanced-dparams.xml:
4092 * docs/pwg/building-props.xml:
4093 * docs/pwg/other-source.xml:
4094 * gst/glib-compat.h:
4095 * gst/gstbin.c: (gst_bin_class_init):
4096 * gst/gstclock.c: (gst_clock_class_init):
4097 * gst/gstindex.c: (gst_index_class_init):
4098 * gst/gstobject.c: (gst_object_class_init):
4099 * gst/gstpad.c: (gst_pad_class_init):
4100 * gst/gstpipeline.c: (gst_pipeline_class_init):
4101 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4102 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4103 * libs/gst/base/gstbasetransform.c:
4104 (gst_base_transform_class_init):
4105 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4106 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4107 (_gst_check_fault_handler_sighandler),
4108 (_gst_check_fault_handler_setup), (gst_check_init):
4109 * libs/gst/controller/gstcontroller.c:
4110 (_gst_controller_class_init):
4111 * libs/gst/controller/gstlfocontrolsource.c:
4112 (gst_lfo_control_source_class_init):
4113 * libs/gst/net/gstnetclientclock.c:
4114 (gst_net_client_clock_class_init):
4115 * libs/gst/net/gstnettimeprovider.c:
4116 (gst_net_time_provider_class_init):
4117 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4118 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4119 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4120 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4121 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4122 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4123 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4124 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4125 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4126 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4127 * plugins/elements/gsttee.c: (gst_tee_class_init):
4128 * plugins/elements/gsttypefindelement.c:
4129 (gst_type_find_element_class_init):
4130 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4131 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4132 use it everywhere for GParamSpecs that use static strings (i.e. all).
4133 This gives us less memory usage, fewer allocations and thus less
4134 memory defragmentation. Fixes bug #523806.
4136 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4138 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4139 (gst_param_spec_mini_object):
4140 * gst/gstminiobject.h:
4141 * win32/common/libgstreamer.def:
4142 * docs/gst/gstreamer-sections.txt:
4143 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4144 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4145 GstParamSpecMiniObject into a public header for this.
4147 This make GstMiniObject a bit more consistent with GObject and makes
4148 it possible to extend the param specs.
4150 gst_value_dup_mini_object is mainly useful for set_property methods.
4154 * tools/gst-inspect.c: (print_element_properties_info):
4155 Print something useful for GstMiniObject properties and not just
4158 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4160 * docs/gst/gstreamer-sections.txt:
4161 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4162 (gst_registry_binary_check_magic):
4163 * gst/gstregistrybinary.h:
4164 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4165 and add it to the (private part) of the docs to fix the build.
4167 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4169 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4170 (gst_registry_binary_check_magic),
4171 (gst_registry_binary_read_cache):
4172 * gst/gstregistrybinary.h:
4173 Don't use GST_MAJORMINOR for the binary registry version. Instead
4174 hardcode a value that must be changed whenever the format changes
4175 in an incompatible way.
4176 Also don't GST_ERROR when there is a version mismatch, just
4177 regenerate the registry silently.
4179 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4182 Back to development - 0.10.18.1
4184 === release 0.10.18 ===
4186 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4189 releasing 0.10.18, "So far away"
4191 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4194 * win32/common/config.h:
4195 0.10.17.4 pre-release
4197 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4199 Patch by: Ole André Vadla Ravnås
4200 <ole dot andre dot ravnas at tandberg dot com>
4202 * docs/gst/gstreamer-sections.txt:
4203 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4204 (gst_poll_update_winsock_event_mask),
4205 (gst_poll_prepare_winsock_active_sets),
4206 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4207 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4208 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4209 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4210 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4212 * win32/common/libgstreamer.def:
4213 Add new function gst_poll_fd_ignored() for improved Windows
4215 Various minor fixes and cleanups. See #520808.
4217 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4219 * gst/gstindex.c: (gst_index_entry_free):
4221 Don't free key strings which we don't own. Fixes crash in
4222 gst_index_entry_free() (#522741).
4224 * tests/check/Makefile.am:
4225 * tests/check/gst/.cvsignore:
4226 * tests/check/gst/gstindex.c: (test_index_entries),
4227 (gst_index_suite), (gst_index):
4228 Add unit test for the above.
4230 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4232 * win32/common/libgstreamer.def:
4233 Remove symbols that were removed recently. Fixes bug #521740.
4235 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4238 * win32/common/config.h:
4239 0.10.17.3 pre-release
4241 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4243 Patch by: Ole André Vadla Ravnås
4244 <ole dot andre dot ravnas at tandberg dot com>
4246 * docs/gst/gstreamer-sections.txt:
4247 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4248 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4249 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4250 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4251 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4252 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4253 (gst_poll_fd_can_write), (gst_poll_wait),
4254 (gst_poll_set_controllable), (gst_poll_restart),
4255 (gst_poll_set_flushing):
4257 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4258 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4259 (gst_net_time_provider_new):
4260 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4261 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4262 * tests/benchmarks/gstpollstress.c: (main):
4263 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4264 Remove GstPollMode from the API, it does not make sense to let the
4265 application control this.
4266 Add support for Win32.
4267 Fix the testsuite. Fixes #520671.
4269 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4271 Patch by: Ole André Vadla Ravnås
4272 <ole dot andre dot ravnas at tandberg dot com>
4274 * gst/gstregistrybinary.c:
4275 Include io.h for write() and close() when building with MSVC. Fixes
4278 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4281 * gst/gst_private.h:
4282 * gst/gstconfig.h.in:
4283 * gst/gstregistry.h:
4284 * gst/gstregistrybinary.c:
4285 * win32/common/gstconfig.h:
4286 Move registry backend API to private headers where we can. Add
4287 fixme-0.11 comments for the others. Add stubs for the xml backend when
4288 using the binary to ensure they functions exists (they should not be
4289 used though). Fixes #520756.
4291 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4294 * win32/common/config.h:
4297 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4299 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4300 (gst_registry_binary_read_cache):
4301 * gst/gstregistryxml.c: (gst_registry_save):
4302 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4303 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4304 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4305 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4306 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4309 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4311 * gst/gstminiobject.c:
4312 Import gst_private.h before any other header that might include other
4313 glib headers. This fixes the build on windows using native compilers.
4315 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4317 * win32/common/gstconfig.h:
4318 Add here too, just for completeness.
4320 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4323 * gst/gstconfig.h.in:
4324 * gst/gstregistry.h:
4325 Fix broken use of config.h-defined preprocessor directive in a public
4326 header file. Add a corresponding define to gstconfig.h, since we can't
4327 really remove those function declarations from the header file now
4328 (or can we? and why are they there in the first place?).
4330 2008-03-03 Andy Wingo <wingo@pobox.com>
4332 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4335 * gst/gststructure.c (gst_structure_from_string): Warn if
4336 structure_from_string didn't consume the whole string, but the
4337 caller did not provide an end pointer.
4339 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4341 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4343 * gst/gstregistryxml.c: (read_string), (load_feature):
4344 Strings allocated by libxml2 should be freed with xmlFree(), not
4345 with g_free(). Fixes issues on windows in certain contexts (#519698).
4347 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4349 * gst/gstinterface.c: (gst_element_implements_interface):
4350 Don't crash if the element supports the interface queried, but does
4351 not implement GstImplementsInterface. Fixes #519584.
4353 * tests/check/Makefile.am:
4354 * tests/check/gst/.cvsignore:
4355 * tests/check/gst/gstinterface.c:
4356 Add unit test for the above.
4358 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4360 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4363 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4365 * gst/gstsegment.c: (gst_segment_set_seek),
4366 (gst_segment_to_stream_time):
4367 Improve some comment.
4368 Update variables where it makes more sense.
4370 2008-02-29 Rene Stadler <mail@renestadler.de>
4372 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4373 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4374 URIHandlers implemented using language bindings.
4376 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4378 * gst/gstelementfactory.h:
4379 * tests/check/elements/fakesink.c:
4380 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4381 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4382 * tests/check/elements/filesink.c: (setup_filesink):
4383 * tests/check/elements/filesrc.c: (setup_filesrc):
4384 * tests/check/elements/identity.c: (setup_identity):
4385 * tests/check/elements/tee.c:
4386 * tests/check/generic/sinks.c:
4387 * tests/check/generic/states.c: (setup), (teardown):
4388 * tests/check/gst/gst.c:
4389 * tests/check/gst/gstabi.c:
4390 * tests/check/gst/gstbin.c:
4391 * tests/check/gst/gstbus.c: (pull_messages):
4392 * tests/check/gst/gstcaps.c:
4393 * tests/check/gst/gstelement.c:
4394 * tests/check/gst/gstevent.c:
4395 * tests/check/gst/gstghostpad.c:
4396 * tests/check/gst/gstiterator.c:
4397 * tests/check/gst/gstmessage.c:
4398 * tests/check/gst/gstminiobject.c: (my_foo_init):
4399 * tests/check/gst/gstobject.c: (thread_name_object),
4401 * tests/check/gst/gstpad.c:
4402 * tests/check/gst/gstplugin.c:
4403 * tests/check/gst/gstpoll.c:
4404 * tests/check/gst/gstquery.c:
4405 * tests/check/gst/gstsegment.c:
4406 * tests/check/gst/gststructure.c:
4407 * tests/check/gst/gstsystemclock.c:
4408 * tests/check/gst/gsttask.c:
4409 * tests/check/gst/gstutils.c:
4410 * tests/check/gst/gstvalue.c:
4411 * tests/check/gst/struct_hppa.h:
4412 * tests/check/gst/struct_i386.h:
4413 * tests/check/gst/struct_ppc32.h:
4414 * tests/check/gst/struct_ppc64.h:
4415 * tests/check/gst/struct_x86_64.h:
4416 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4417 * tests/check/libs/basesrc.c:
4418 * tests/check/libs/controller.c: (GST_START_TEST):
4419 * tests/check/libs/gdp.c:
4420 * tests/check/libs/gstnetclientclock.c:
4421 * tests/check/libs/gstnettimeprovider.c:
4422 * tests/check/libs/libsabi.c:
4423 * tests/check/libs/struct_hppa.h:
4424 * tests/check/libs/struct_i386.h:
4425 * tests/check/libs/struct_ppc32.h:
4426 * tests/check/libs/struct_ppc64.h:
4427 * tests/check/libs/struct_x86_64.h:
4428 * tests/check/pipelines/cleanup.c:
4429 * tests/check/pipelines/simple-launch-lines.c:
4430 * tests/check/pipelines/stress.c:
4431 And correct even more valid sparse warnings.
4433 * win32/common/libgstreamer.def:
4434 Add gst_poll_fd_init to the list of symbols.
4436 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4438 * gst/gstconfig.h.in:
4439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4440 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4441 (gst_check_log_critical_func), (gst_check_drop_buffers),
4442 (gst_check_element_push_buffer_list):
4443 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4444 (gst_controller_get_type):
4445 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4446 (gst_object_get_controller), (gst_object_get_control_source):
4447 * libs/gst/controller/gstinterpolationcontrolsource.c:
4448 (gst_interpolation_control_source_new):
4449 * libs/gst/controller/gstlfocontrolsource.c:
4450 (gst_lfo_control_source_new):
4451 * libs/gst/dataprotocol/dataprotocol.c:
4452 (gst_dp_event_from_packet_0_2):
4453 * plugins/elements/gstfdsrc.c:
4454 * plugins/elements/gstmultiqueue.c:
4455 * plugins/elements/gsttee.c:
4456 * plugins/elements/gsttypefindelement.c:
4457 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4458 (gst_file_index_add_association):
4459 * plugins/indexers/gstmemindex.c:
4460 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4461 * tests/check/elements/queue.c: (setup_queue):
4462 * tests/check/gst/gstpipeline.c:
4463 * tests/check/libs/collectpads.c: (setup), (teardown),
4464 (gst_collect_pads_suite):
4465 * tests/examples/adapter/adapter_test.c:
4466 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4467 * tests/examples/xml/createxml.c:
4468 * tests/examples/xml/runxml.c:
4469 * tools/gst-inspect.c:
4471 Correct all relevant warnings found by the sparse semantic code
4472 analyzer. This include marking several symbols static, using
4473 NULL instead of 0 for pointers, not using variable sized arrays
4474 on the stack, moving variable declarations to the beginning of
4475 a block and using "foo (void)" instead of "foo ()" for declarations.
4477 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4479 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4480 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4481 Don't reset GstPollFDs, this is not necessary at all.
4483 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4484 (delayed_restart), (delayed_control):
4485 Use GST_POLL_FD_INIT.
4487 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4489 * gst/gstpoll.c: (gst_poll_fd_init):
4493 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4494 Use some more init macros.
4496 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4498 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4499 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4500 Use init macros and functions.
4502 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4504 * docs/gst/gstreamer-sections.txt:
4505 * gst/gstpoll.c: (gst_poll_fd_init):
4507 Add INIT macro and _init method for initializing the GstPollFD.
4509 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4511 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4512 (gst_fd_sink_update_fd):
4513 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4514 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4515 (delayed_restart), (delayed_control):
4516 Initialize some uninitialized variables as spotted by valgrind.
4518 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4520 * tests/benchmarks/Makefile.am:
4521 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4523 Add poll stress test.
4525 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4527 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4529 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4530 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4531 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4532 * plugins/elements/gstfdsink.h:
4533 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4534 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4535 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4536 (gst_fd_src_uri_set_uri):
4537 * plugins/elements/gstfdsrc.h:
4538 Port to GstPoll. See #505417.
4540 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4542 * win32/common/libgstreamer.def:
4543 Add new gst_poll_ symbols to win32 defs.
4545 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4547 * docs/libs/gstreamer-libs-sections.txt:
4548 * libs/gst/net/gstnetclientclock.c:
4549 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4550 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4551 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4552 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4553 * libs/gst/net/gstnetclientclock.h:
4554 * libs/gst/net/gstnettimeprovider.c:
4555 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4556 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4557 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4558 (gst_net_time_provider_new):
4559 * libs/gst/net/gstnettimeprovider.h:
4560 Use a private stuct to not break ABI.
4562 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4564 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4566 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4567 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4568 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4569 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4570 * libs/gst/net/gstnetclientclock.h:
4571 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4572 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4573 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4574 (gst_net_time_provider_new):
4575 * libs/gst/net/gstnettimeprovider.h:
4576 Massive code removal and cleanups because of GstPoll.
4579 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4582 Add checks for poll, ppoll and pselect.
4584 * docs/gst/gstreamer-docs.sgml:
4585 * docs/gst/gstreamer-sections.txt:
4586 Add docs for GstPoll.
4590 * gst/gstpoll.c: (find_index), (selectable_fds),
4591 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4592 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4593 (gst_poll_set_mode), (gst_poll_get_mode),
4594 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4595 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4596 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4597 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4598 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4599 (gst_poll_fd_can_write), (gst_poll_wait),
4600 (gst_poll_set_controllable), (gst_poll_restart),
4601 (gst_poll_set_flushing):
4603 Add generic poll abstraction. We ideally don't want to have this in core
4604 here but in glib intead...
4605 This code will be used in various network elements and ultimately for
4606 the nanosecond precision monotonic clock (that's why it's here in core).
4607 It'll allow us to implement cancelable socket operations for windows too.
4609 * tests/check/Makefile.am:
4610 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4611 (delayed_stop), (delayed_restart), (delayed_flush),
4612 (delayed_control), (gst_poll_suite):
4613 Add GstPoll unit test.
4615 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4618 Improve documentation of gst_filter_run(). Fixes #518627.
4620 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4623 Add a few lines about the new 'check-inspected-versions' target.
4625 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4627 * tests/check/gst/gstevent.c:
4628 Add qos to the event test. Rename tcase/tsuite; is not only about
4631 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4633 * plugins/elements/gstqueue.c:
4634 Ensure that buffer metadata is writeable, before modifying. Spotted by
4637 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4639 * plugins/elements/gstqueue.c:
4640 * plugins/elements/gstqueue.h:
4641 When dropping buffers in leaky modes, mark next buffers we sent as
4644 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4646 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4647 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4649 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4651 * plugins/elements/Makefile.am:
4652 * plugins/elements/gstbufferstore.c:
4653 * plugins/elements/gstbufferstore.h:
4654 * plugins/elements/gsttypefindelement.h:
4655 Remove GstBufferStore, no idea why we were still building it.
4656 It's not used anywhere and superseded by GstAdapter.
4658 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4659 (gst_file_src_create_mmap):
4660 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4661 Printf format fixes for 64-bit integers.
4663 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4666 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4667 We're not in 0.8 times anymore.
4669 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4671 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4672 (gst_check_element_push_buffer_list):
4673 * libs/gst/check/gstcheck.h:
4674 Make the declaration in the header for
4675 gst_check_element_push_buffer_list match the implementation.
4677 Fix up spelling, grammar and wording of the documentation in a few
4678 places, and add the Since keyword to new API functions.
4679 Use g_list_delete_link instead of g_list_remove in
4680 gst_check_drop_buffers, since it's immeasurably more efficient.
4682 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4683 Use new gst_check_drop_buffers function where appropriate.
4685 * win32/common/libgstbase.def:
4686 * win32/common/libgstreamer.def:
4687 Add new symbols gst_collect_pads_take_buffer,
4688 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4691 Changelog surgery to add API keyword to new gst_check API.
4693 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4695 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4696 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4697 Update pre-generated flex files with flex 2.3.34.
4699 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4701 * gst/gstminiobject.c:
4702 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4703 friendly to subclasses and not require them to know all internals
4704 of their parent class.
4706 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4708 * docs/libs/gstreamer-libs-sections.txt:
4709 * libs/gst/base/gstcollectpads.c:
4710 * libs/gst/base/gstcollectpads.h:
4711 Add sub-buffer functions to collectpads. Fixes #516187.
4712 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4714 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4717 Copy selected buffer-flags when creating subbuffers.
4720 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4722 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4723 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4724 * gst/gstmessage.c: (gst_message_class_init),
4725 (gst_message_finalize):
4726 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4727 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4728 (gst_mmap_buffer_finalize):
4729 Properly chain up finalize functions to the parent class.
4731 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4733 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4735 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4736 (gst_index_set_resolver_full):
4738 Add new function with option to dispose of user_data in resolver.
4739 Actually call the dispose function when finalizing the object and not
4740 just when changing the resolver/filter.
4741 API: GstIndex::gst_index_set_resolver_full()
4743 * docs/gst/gstreamer-sections.txt:
4744 Add new function to docs. Fixes #515469.
4746 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4748 * gst/gstindex.c: (gst_index_finalize):
4749 Chain up finalize to the parent class. Fixes leaking the GstObject
4750 name and other things.
4752 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4755 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4756 pre-releases or releases.
4758 * docs/faq/gst-uninstalled:
4761 * docs/random/release:
4762 Change one of the steps - we only upload core & base to Gnome FTP
4764 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4766 * gst/gstconfig.h.in:
4767 Add 'id' for example.
4771 * plugins/elements/gstfdsink.c:
4772 Link to signals. Doc and comment fixes.
4774 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4776 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4777 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4778 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4779 unused and unimplemented; finally, it is plugin features, not
4780 plugins, that have ranks.
4782 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4784 * gst/gstpluginfeature.h:
4785 Clarify GstRank range docs.
4787 2008-02-05 David Schleef <ds@schleef.org>
4789 * gst/gst.c: Add a separate gst_deinitialized that prevents
4790 gst_init() from being called after gst_deinit(). Fixes #509559
4792 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4794 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4795 (gst_bin_class_init):
4796 * gst/gstelement.c: (gst_element_base_class_init),
4797 (gst_element_class_add_pad_template):
4798 * gst/gstpadtemplate.c: (gst_pad_template_init):
4799 * gst/gstpipeline.c: (gst_pipeline_get_type),
4800 (gst_pipeline_base_init), (gst_pipeline_class_init):
4801 * libs/gst/base/gstbasesink.c:
4802 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4803 (gst_base_src_base_init), (gst_base_src_class_init):
4804 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4805 (gst_capsfilter_class_init):
4806 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4807 (gst_fake_sink_class_init):
4808 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4809 (gst_fake_src_class_init):
4810 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4811 (gst_fd_sink_class_init):
4812 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4813 (gst_fd_src_class_init):
4814 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4815 (gst_file_sink_class_init):
4816 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4817 (gst_file_src_class_init):
4818 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4819 (gst_identity_class_init):
4820 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4821 (gst_multi_queue_class_init):
4822 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4823 (gst_queue_class_init):
4824 * plugins/elements/gsttee.c: (gst_tee_base_init),
4825 (gst_tee_class_init):
4826 * plugins/elements/gsttypefindelement.c:
4827 (gst_type_find_element_base_init),
4828 (gst_type_find_element_class_init):
4829 * tests/check/gst/gstelement.c: (gst_element_suite):
4830 Revert previous changes to the behaviour of GstPadTemplates, etc
4831 and the possiblity to call them in class_init as it breaks too
4832 many elements. Reopens bug #491501.
4834 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4837 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4839 * tools/gst-launch.c:
4840 Dump one graph per pipeline state-change and state change name
4841 (if GST_DEBUG_DUMP_DOT_DIR is set).
4843 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4846 * tests/check/gst/gstpad.c:
4847 Be sure that we have a new copy of the caps and not
4848 reffed caps from a template
4850 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4852 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4853 * gst/gstpipeline.c: (gst_pipeline_get_type),
4854 (gst_pipeline_class_init):
4855 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4856 (gst_base_sink_class_init):
4857 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4858 (gst_base_src_class_init):
4859 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4860 (gst_base_transform_class_init):
4861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4862 (gst_collect_pads_class_init):
4863 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4864 * libs/gst/net/gstnettimeprovider.c:
4865 (gst_net_time_provider_base_init),
4866 (gst_net_time_provider_class_init):
4867 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4868 (gst_capsfilter_class_init):
4869 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4870 (gst_fake_sink_class_init):
4871 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4872 (gst_fake_src_class_init):
4873 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4874 (gst_fd_sink_class_init):
4875 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4876 (gst_fd_src_class_init):
4877 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4878 (gst_file_sink_class_init):
4879 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4880 (gst_file_src_class_init):
4881 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4882 (gst_identity_class_init):
4883 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4884 (gst_multi_queue_class_init):
4885 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4886 (gst_queue_class_init):
4887 * plugins/elements/gsttee.c: (gst_tee_base_init),
4888 (gst_tee_class_init):
4889 * plugins/elements/gsttypefindelement.c:
4890 (gst_type_find_element_base_init),
4891 (gst_type_find_element_class_init):
4892 Don't use base_init where not absolutely necessary. For example it's
4893 not necessary anymore for adding pad templates or setting element
4896 Leave empty base_init functions in several places as GST_BOILERPLATE
4897 still defines and uses them.
4899 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4901 * gst/gstelement.c: (gst_element_base_class_init),
4902 (gst_element_class_add_pad_template):
4903 * gst/gstpadtemplate.c:
4904 Make it possible (and recommended) to set element details and add
4905 pad templates in the class_init functions by copying the details/pad
4906 templates in GstElement's base_init.
4908 Also make it possible to replace existing pad templates by adding
4909 a new one with the same name. This was done in a hackish fashion
4910 in same elements before already.
4912 Don't reference pad templates that are added a second time. A
4913 new pad template has a refcount of one and is not floating anymore
4914 and to be owned by the element's class. Make this more explicit by
4915 mentioning it in the docs of gst_element_class_add_pad_template().
4917 These changes are backwards compatible. Fixes bug #491501.
4919 * tests/check/gst/gstelement.c:
4920 Add unit test for setting element details, adding pad templates and
4921 replacing them in a subclass.
4923 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4925 * tools/gst-inspect.c: (print_interfaces),
4926 (print_element_properties_info), (print_pad_info),
4927 (print_signal_info), (print_element_info):
4928 Fix a few memory leaks.
4930 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4932 * docs/libs/gstreamer-libs-sections.txt:
4933 * libs/gst/check/gstcheck.c:
4934 * libs/gst/check/gstcheck.h:
4935 Add more functions for unit testing: gst_check_drop_buffers,
4936 gst_check_caps_equal, gst_check_element_push_buffer_list,
4937 gst_check_element_push_buffer
4938 API: gst_check_drop_buffers
4939 API: gst_check_caps_equal
4940 API: gst_check_element_push_buffer_list
4941 API: gst_check_element_push_buffer
4943 2008-02-01 Julien Moutte <julien@fluendo.com>
4945 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4946 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4947 (gst_index_finalize), (gst_index_entry_free),
4948 (gst_index_add_association): Fix memory leaks.
4949 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4950 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4951 (gst_mem_index_free_format), (gst_mem_index_free_id),
4952 (gst_mem_index_finalize): Fix memory leaks.
4953 * win32/common/config.h: Updated to CVS HEAD.
4955 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4958 Some more details about how the plugin docs works.
4960 * docs/plugins/gstreamer-plugins-sections.txt:
4963 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4965 * gst/parse/grammar.tab.pre.c:
4966 * gst/parse/grammar.tab.pre.h:
4967 * gst/parse/grammar.y:
4968 * gst/parse/lex._gst_parse_yy.pre.c:
4969 Add delayed set-property. This allows to set properties on dynamicaly
4970 created objects (pads in videomxer). Fixes #509391.
4972 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4975 Check if caps are not NULL (fix bug #510194)
4977 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4979 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4980 (gst_base_sink_get_position_paused):
4981 Add fixme regarding EOS in pull mode.
4982 Fix position reporting in PAUSED for negative rates.
4984 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4986 * gst/gstminiobject.c: (gst_mini_object_replace):
4987 When replacing a miniobject, do a quick equality check first so that we
4988 can avoid a ref/unref pair.
4990 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4992 * docs/design/part-synchronisation.txt:
4995 * docs/plugins/Makefile.am:
4996 * docs/plugins/gstreamer-plugins-docs.sgml:
4997 * docs/plugins/gstreamer-plugins-sections.txt:
4998 * plugins/elements/gstmultiqueue.c:
4999 Add multiqueue to the docs.
5001 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5006 === release 0.10.17 ===
5008 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5011 releasing 0.10.17, "Due Negligence"
5013 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5016 Revert caps != NULL check temporarily for 0.10.17 release.
5018 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5021 Check if caps are not NULL (fix bug #510194)
5023 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5026 Fix compilation on systems that have posix timers but no
5029 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5032 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5034 * tools/gst-inspect.c:
5035 Revert previous commit in preparation for an impromptu 0.10.17 release
5037 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5039 * tools/gst-inspect.c: (print_interfaces),
5040 (print_element_properties_info), (print_pad_info),
5041 (print_signal_info), (print_element_info):
5042 Fix a few memory leaks.
5044 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5049 === release 0.10.16 ===
5051 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5054 releasing 0.10.16, "Special Dispensation"
5056 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5059 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5060 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5061 not fail when trying to crosscompile on OpenEmbedded (#511750).
5063 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5066 Use $(MAKE) instead of make to fix the build if GNU make is
5067 called different. Fixes bug #510747.
5069 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5071 * gst/gstplugin.c: (_gst_plugin_initialize):
5072 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5073 again, which I broke two commits ago when changing the API
5074 of gst_plugin_register_static(): the g_list_foreach() in
5075 _gst_plugin_register_static still assumed the old function
5076 signature and would therefore fail (re-fixes #510187).
5078 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5079 (_gst_plugin_register_static), (gst_plugin_register_static):
5080 Revert the (technically correct) change to call g_thread_init() from
5081 the pre-main() constructor. This will break programs which call
5082 g_thread_init() without an if (!g_thread_supported()) guard in their
5083 main function. We could just blame it on GLib or the application, but
5084 it's probably best to just avoid this altogether and simply not use
5085 any GLib functions here and use plain old malloc() with a simple
5086 array to store the plugins to register later when gst_init() is
5087 finally called (re-fixes #510187).
5089 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5090 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5091 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5092 (GST_START_TEST), (gst_plugin_suite):
5093 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5096 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5098 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5099 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5100 This makes gtk-doc complain, but results in slightly better
5101 compiler errors. The old _gst_plugin_register_static() is
5102 still guarded, so there'll be a compiler warning about that
5103 instead. Fixes #510187 too.
5105 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5107 * gst/gst.c: (init_post):
5108 * gst/gstplugin.c: (_gst_plugin_register_static),
5109 (gst_plugin_register_static), (_gst_plugin_initialize):
5110 * gst/gstplugin.h: (GstPluginFilter):
5111 Change API of gst_plugin_register_static() to not take
5112 a GstPluginDesc, but rather just take all the arguments
5113 in a GstPluginDesc directly. This is more intuitive and
5114 avoids certain mistakes when porting code from
5115 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5118 * tests/check/gst/gstplugin.c:
5119 Fix up for changed API.
5121 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5123 * docs/faq/legal.xml:
5124 Update FAQ, Totem actually has an exception these days.
5126 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5128 * win32/common/libgstreamer.def:
5129 Add new API declarations
5131 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5133 * gst/gstminiobject.c:
5134 Spelling fixes for the API docs.
5136 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5138 * libs/gst/base/gstbasetransform.c:
5139 Fix long property description for QoS.
5141 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5144 _gst_trace_on is already provided by gsttrace.h, no need to declare
5147 * docs/libs/gstreamer-libs-sections.txt:
5148 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5149 and remove strange tcase_add_test which is outputting a warning.
5151 * libs/gst/check/gstcheck.c:
5152 * libs/gst/check/gstcheck.h:
5153 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5154 and define them in gstcheck.c instead of having every .c file whcih
5155 includes gstcheck.h be defining its own copy and relying on symbol
5156 interposing to marry them all, which doesn't work on Solaris.
5158 * tests/check/elements/identity.c: (GST_START_TEST):
5159 Don't define 'buffers' locally, it comes from libgstcheck.
5161 * tests/check/generic/sinks.c: (send_buffer):
5162 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5164 * tests/check/gst/gststructure.c: (GST_START_TEST):
5165 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5166 * tests/check/gst/gstutils.c: (GST_START_TEST):
5167 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5168 Add a bunch of casts to make various constants fit the types
5169 they're being assigned to.
5171 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5173 * gst/gstchildproxy.c:
5174 Improve docs and add some ideas for making this more general-purpose.
5176 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5178 * gst/gst_private.h: (GST_CAT_TYPES):
5179 Add GST_CAT_TYPES, for consistency, and so that the other
5180 debug categories don't make fun of it. Spotted by Saur on IRC.
5182 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5184 * gst/parse/Makefile.am:
5185 Move types.h from EXTRA_DIST to noinst_HEADERS.
5187 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5190 Add -Wno-portability to the automake parameters to stop warnings
5191 about GNU make extensions being used. We require GNU make in almost
5192 every Makefile anyway.
5195 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5196 at the same time is required for per target flags.
5198 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5201 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5202 __GNUC__ is defined before using it.
5204 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5206 * docs/gst/gstreamer-sections.txt:
5207 * gst/gst.c: (init_post):
5208 * gst/gstplugin.c: (_gst_plugin_register_static),
5209 (gst_plugin_register_static), (_gst_plugin_initialize),
5210 (gst_plugin_register_func):
5211 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5212 API: add gst_plugin_register_static() and deprecate
5213 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5215 Also, in _gst_plugin_register_static(), make sure to call
5216 g_thread_init() before calling GLib functions such as
5217 g_list_append() if we're not initialised yet, since that
5218 may lead to random crashes with older GSlice/GLib versions.
5220 * tests/check/gst/gstplugin.c:
5221 Adapt unit test to above changes.
5223 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5225 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5226 * gst/gstcaps.c: (gst_caps_to_string):
5227 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5228 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5229 Yet another gratuitous GString micro-optimisation: add a (private)
5230 function that serialises a structure appending to an existing
5231 GString, so that when we serialise caps we don't need to alloc+free
5232 a throwaway GString for each structure (each of which also entailing
5233 multiple reallocs on the way); also use g_string_sized_new() in
5234 various places with an approximate string length to avoid reallocs
5235 within GString. See #500143.
5237 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5239 * gst/gststructure.c: (gst_structure_id_set_value):
5240 Always check UTF-8 conformance of structure strings and not only
5241 if the debugging system is enabled; reasoning: the behaviour of
5242 the actual code shouldn't really change depending on whether the
5243 debugging system is enabled or not (#508291).
5245 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5248 Remove old coverage target in favour of "make lcov".
5250 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5252 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5253 (gst_base_src_loop):
5254 The start segment for reverse playback goes from start to last_stop.
5256 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5258 Patch by: Peter Kjellerstedt <pkj axis com>
5261 Cast the results from the timeval/spec_to_time macros to what the
5262 docs say it casts to, a GstClockTime. fixes #508175.
5264 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5267 Update some comments.
5269 * tools/gst-inspect.c: (print_element_properties_info):
5270 Improve printing of flags.
5272 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5274 * libs/gst/base/gstbasetransform.c:
5275 (gst_base_transform_transform_size):
5276 Print element name with g_warning() if there's a problem
5279 2008-01-07 David Schleef <ds@schleef.org>
5281 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5283 * libs/gst/controller/gstcontroller.h:
5284 * libs/gst/controller/gstcontrolsource.h:
5285 * libs/gst/controller/gstinterpolationcontrolsource.h:
5286 * libs/gst/controller/gstlfocontrolsource.h:
5287 * libs/gst/dataprotocol/dataprotocol.h:
5288 Fix empty prototypes. Fixes bug #507957.
5290 2008-01-07 David Schleef <ds@schleef.org>
5292 * docs/faq/dependencies.xml: Fix typo.
5294 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5296 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5297 (gst_base_src_loop):
5298 Don't update the last_stop position in do_seek, that's the position we
5300 Read backwards when we have a negative rate.
5302 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5303 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5305 Add check for reverse reading.
5307 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5309 Patch by: Alexis Ballier <aballier at gentoo org>
5311 * tests/check/gst/gstabi.c:
5312 * tests/check/gst/struct_ppc64.h:
5313 * tests/check/libs/libsabi.c:
5314 * tests/check/libs/struct_ppc64.h:
5315 Decide which header to include based on the userland ABI target
5316 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5317 for 64-bit userland (#503590). Might need something similar for
5320 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5322 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5323 Log the reason why fopen fails in addition to the fact that it failed.
5325 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5327 * gst/parse/parse.l:
5328 Use "%option never-interactive" to prevent useless calls to isatty()
5329 on every input when parsing. Also use "%option noinput" to not define
5330 the static input/yyinput functions which we don't use anyway. This
5331 removes a compiler warning with gcc 4.3 and saves some bytes in the
5334 * gst/parse/lex._gst_parse_yy.pre.c:
5335 Regenerated for the above change.
5337 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5339 * gst/gstpad.c: (fixate_value):
5340 Don't crash when trying to fixate and empty list.
5343 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5345 * docs/faq/gst-uninstalled:
5346 Clarify the comments to make the usage of this script and what it
5347 does easier to understand.
5349 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5351 * tools/gst-plot-timeline.py:
5352 Add more options to gst-plot-timeline
5354 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5356 * docs/design/part-synchronisation.txt:
5357 Some more info on how the stream_time in GstBaseSink is done.
5359 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5361 * tests/check/generic/sinks.c: (gst_sinks_suite):
5362 Put back the tcase_set_timeout(), apparently it's needed after
5363 all; fix it up in a way that makes things work with valgrind too.
5365 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5367 * gst/gstdebugutils.c:
5368 Add warning when failed to open file for writing.
5370 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5372 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5374 * gst/gstvalue.c: (gst_value_is_fixed):
5375 Optimisation: bail out of the loop as early as possible (#500143).
5377 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5379 * gst/gstcaps.c: (gst_caps_to_string):
5380 * gst/gstinfo.c: (gst_debug_construct_term_color):
5381 * gst/gstparse.c: (gst_parse_launchv):
5382 * gst/gstutils.c: (gst_util_dump_mem):
5383 * gst/gstvalue.c: (gst_value_serialize_any_list),
5384 (gst_value_transform_any_list_string):
5385 Bunch of gratuitous nano-optimisations.
5387 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5389 * tests/check/generic/sinks.c: (async_done_func),
5390 (async_done_eos_func):
5391 Fix leak in unit test (bus sync handler must unref the message
5392 if it returns GST_BUS_DROP). Don't fiddle with the default test
5393 timeout, this is smaller than the current preconfigured value
5394 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5395 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5397 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5399 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5402 Check for stdio_ext.h for the filesink changes.
5404 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5405 (gst_file_sink_class_init), (gst_file_sink_init),
5406 (gst_file_sink_dispose), (gst_file_sink_set_property),
5407 (gst_file_sink_get_property), (gst_file_sink_open_file),
5408 (gst_file_sink_close_file):
5409 * plugins/elements/gstfilesink.h:
5410 Add two properties to control the buffering mode and size.
5411 API: GstFileSink::buffer-mode
5412 API: GstFileSink::buffer-size
5415 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5417 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5418 Add some more docs to explain why a FIXME was wrongly added.
5420 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5423 Fix typo in the gst_object_{ref,unref} documentation.
5425 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5427 * tests/check/libs/controller.c:
5428 * tests/check/libs/typefindhelper.c:
5429 * tests/check/pipelines/parse-launch.c:
5430 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5431 going to be deprecated (see #498924).
5433 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5435 * gst/gsttypefind.c: (gst_type_find_register):
5436 Make gst_type_find_register work for static typefind functions,
5437 ie. allow passing plugin == NULL (prerequisite for #498924).
5439 * gst/gstelementfactory.c: (gst_element_register):
5440 Small docs addition.
5442 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5444 * gst/gstpad.c: (gst_pad_dispose):
5445 Really unlink the peer pad instead of setting the peer pointer to NULL
5446 when we dispose the pad.
5447 This correctly calls the unlink functions and makes sure that the peer
5448 does not have a handle to invalid memory. See #504671.
5450 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5451 Add testsuite for above case.
5453 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5455 Patch by: Peter Kjellerstedt <pkj axis com>
5457 * libs/gst/check/gstcheck.h:
5458 Fix detection of the check version we're compiling against (would
5459 otherwise break if check goes v0.10.0); correctly report the
5460 name of the failed test again in case of failure, instead of
5461 just 'tf' (fixes #504499).
5463 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5465 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5466 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5467 (gst_base_src_loop), (gst_base_src_set_flushing),
5468 (gst_base_src_change_state):
5469 Allow sending EOS to the source to make it send out an EOS event from
5470 the streaming thread.
5471 Update docs and deprecate the old NULL/READY shutdown method.
5473 * tests/check/libs/basesrc.c: (GST_START_TEST),
5474 (gst_basesrc_suite):
5475 Add unit test for controlled shutdown.
5477 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5479 * docs/design/part-synchronisation.txt:
5482 * gst/gstsegment.c: (gst_segment_set_seek),
5483 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5484 (gst_segment_to_running_time):
5485 The seek format can be different from the segment format when the start
5486 and stop values are not to be updated, when we only do a rate change for
5489 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5490 (gst_segment_suite):
5491 Add a testcase for the rate-only seeks, checking that the format is
5492 correctly ignored when start and stop are not updated.
5494 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5496 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5498 * win32/vs8/grammar.vcproj:
5499 * win32/vs8/libgstcontroller.vcproj:
5500 * win32/vs8/libgstreamer.vcproj:
5501 Fix compilation with VS8 and include some missing files.
5503 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5506 Small docs addition: mention that the strings returned by
5507 gst_tag_list_get_string*() are in UTF-8 encoding.
5509 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5512 The check-exports stuff moved to common/win32.mak, so include that.
5514 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5516 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5517 (gst_base_src_perform_seek), (gst_base_src_get_range),
5518 (gst_base_src_set_playing), (gst_base_src_change_state):
5519 Make _wait_playing() not check any variables so that we can call this
5520 function from subclasses. Move the checks elsewhere similar to
5521 _wait_preroll() in basesink.
5523 Only signal the LIVE cond when we are going back to PLAYING.
5525 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5527 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5528 Use g_remove() and g_rename(). Check result of g_rename(), and
5529 don't leak the open file descriptor if we error out when writing.
5531 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5532 Must check the return value of close() after writing out the new
5533 registry file. Sometimes write problems such as out-of-diskspace
5534 are only reported when the file is closed and not already during
5535 the write. This may have caused partial/broken registry files in
5536 some rare circumstances. Should fix #503675.
5538 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5540 * docs/gst/.cvsignore:
5541 * docs/libs/.cvsignore:
5542 * docs/plugins/.cvsignore:
5543 Ignore files generated by new common/* modifications
5545 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5547 * win32/common/libgstbase.def:
5548 Yes, you can also have a <TAB> if you want.
5550 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5552 * win32/common/libgstbase.def:
5553 Add new basetransform API to win export file.
5555 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5557 * tests/check/gst/gstbin.c:
5558 Adjust the test to the refcount change two days ago.
5560 2007-12-14 David Schleef <ds@schleef.org>
5562 * docs/faq/getting.xml: Fix typo.
5564 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5566 * docs/libs/gstreamer-libs-sections.txt:
5567 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5568 (gst_base_transform_prepare_output_buffer),
5569 (gst_base_transform_set_gap_aware):
5570 * libs/gst/base/gstbasetransform.h:
5571 API: Add gst_base_transform_set_gap_aware() to control whether
5572 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5573 get buffers with this flag at all. Fixes #503231.
5575 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5577 * libs/gst/base/gstbasesink.c:
5578 * libs/gst/base/gstbasesrc.c:
5579 * libs/gst/base/gstbasetransform.c:
5580 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5581 thread. Correct log message in gstbasesrc.c.
5583 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5585 * gst/gstutils.c: (element_find_unconnected_pad):
5586 Fix possible compiler warning (#503417).
5588 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5590 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5591 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5593 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5595 * tools/gst-inspect.c: (print_element_properties_info):
5596 Add support for GstFraction properties.
5598 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5601 Add check-exports target and run it as part of 'make check'
5602 (see #499140 and #493983).
5604 * gst/gst_private.h:
5605 * gst/gstelementfactory.h:
5606 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5607 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5608 (_priv_gst_in_valgrind):
5609 * gst/gstinfo.h: (GstLogFunction):
5610 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5611 (gst_type_find_register):
5612 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5613 (gst_type_find_factory_get_type):
5614 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5615 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5616 (gst_controller_new_valist), (gst_controller_new_list),
5617 (_gst_controller_dispose), (_gst_controller_class_init):
5618 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5619 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5620 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5621 (gst_object_get_controller), (gst_object_set_controller),
5622 (gst_object_suggest_next_sync), (gst_object_sync_values),
5623 (gst_object_set_control_source), (gst_object_get_control_source),
5624 (gst_object_get_value_arrays), (gst_object_get_value_array),
5625 (gst_object_get_control_rate), (gst_object_set_control_rate):
5626 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5627 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5628 Make some functions that should be static static; rename some
5629 private symbols so that they don't get exported; add some FIXME
5630 comments so we can move accidentally exported functions into
5631 our private section in 0.11.
5633 * win32/common/libgstreamer.def:
5634 Add gst_utils_get_timestamp().
5636 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5640 Add more missing "Since:" tags to docs.
5642 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5645 Add mising "Since:" to docs.
5647 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5650 Include "glib-compat-private.h" to fix the build on system with
5651 glib < 2.10. Fixes #503131.
5653 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5657 Actually its not PURE as it gets the time from elsewhere.
5659 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5661 * docs/gst/gstreamer-sections.txt:
5663 * gst/gstdebugutils.c:
5667 * libs/gst/base/gstbasesink.c:
5668 * tools/gst-launch.c:
5669 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5670 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5671 Thanks Tim for spotting.
5672 API: gst_util_get_timestamp
5674 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5677 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5679 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5681 * gst/gststructure.c: (gst_structure_validate_name),
5682 (gst_structure_new_valist), (gst_structure_parse_value),
5683 (gst_structure_from_string):
5684 Don't crash in _from_string() if the structure name is not valid
5685 (fixes #501560). Allow structure names to start with a number
5686 again (this apparently broke the ubuntu codec installer).
5688 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5690 Add unit test for the crash; update unit tests for new behaviour.
5692 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5695 Clarify gst_element_get_compatible_pad() documentation.
5698 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5700 * tests/check/Makefile.am:
5701 Don't forget to dist {gst,libs}/struct_hppa.h.
5703 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5705 * libs/gst/base/gstbasesink.c:
5706 Use new API to get elapsed time.
5708 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5710 * gst/gstdebugutils.c:
5712 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5714 * tools/gst-launch.c:
5715 Use new API to get elapsed time.
5717 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5719 * docs/gst/gstreamer-sections.txt:
5721 * gst/gstdebugutils.c:
5723 Rename new API + ChangeLog surgery to remove old name from last entry..
5725 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5727 * docs/gst/gstreamer-sections.txt:
5729 * gst/gstdebugutils.c:
5731 Now hide the different clock stuff behind a macro.
5733 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5736 * gst/gstdebugutils.c:
5738 Apply the posix-timer check from #361155. Conditionally use the posix
5739 timer for logging. This gives better timestamp precission, less
5740 overhead and no ntp jitter.
5742 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5744 * gst/gstminiobject.c: (gst_mini_object_get_type),
5745 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5746 (gst_mini_object_finalize), (gst_mini_object_copy),
5747 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5748 (gst_mini_object_replace), (param_mini_object_validate),
5749 (gst_param_spec_mini_object_get_type):
5750 Some cleanup and checking against invalid function parameters.
5752 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5754 * docs/gst/gstreamer-sections.txt:
5756 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5757 (gst_systemclock_suite):
5758 Start merging in the easy bits of #361155, the monotonic clock patch.
5759 This one adds a few handy macros with docs and a testsuite.
5761 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5763 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5764 Be a bit smarter when seeking, like, don't try to do a seek when it's
5765 not needed. This avoids errors when the file is not seekable.
5768 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5770 * docs/gst/gstreamer-docs.sgml:
5771 * docs/gst/gstreamer-sections.txt:
5772 * docs/gst/gstreamer.types.in:
5777 * plugins/elements/gstqueue.c:
5778 Due to popular request remove preset interface again. :-(.
5780 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5782 * tools/gst-inspect.c:
5783 Print 'default value' for enums and flags too.
5785 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5787 * docs/random/ensonic/profiling.txt:
5791 Fix typo and give better log output.
5793 * gst/gstdebugutils.c:
5794 * gst/gstdebugutils.h:
5795 More ideas, make graphs a bit smaller and fix param name in macro.
5797 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5800 Try harder to use the return value from fgets().
5802 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5805 For theses two fgets we handle the error below.
5807 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5809 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5810 Only send upstream events upstream. Fixes #498746.
5812 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5814 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5816 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5817 (gst_identity_init), (gst_identity_transform_ip),
5818 (gst_identity_set_property), (gst_identity_get_property):
5819 * plugins/elements/gstidentity.h:
5820 Add property to disable handoff signal emission. Fixes #498694.
5821 API: GstIdentity::signal-handoffs
5823 2007-11-21 Julien Moutte <julien@fluendo.com>
5825 * docs/faq/gst-uninstalled: Yet another missing library for the
5826 uninstalled script (fft)
5828 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5830 * docs/faq/developing.xml:
5831 Add a question about how to submit new translations.
5833 * docs/random/release:
5834 Update the contact email address for the Translation Project
5836 * plugins/elements/gstfdsrc.c:
5837 The parent_class for fdsrc is pushsrc, not GstElement.
5839 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5842 Plug a leak and fix saving.
5844 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5846 * docs/gst/gstreamer-sections.txt:
5847 Add new gst_preset__get_property_names() function to the docs
5850 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5854 Change _get_preset_names API to return a strv with copies. Add
5855 _get_property_names to allow implementations to filter and provide
5856 good default implementation.
5858 2007-11-20 Julien MOUTTE <julien@moutte.net>
5860 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5863 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5866 More cleanups, docs, and TODOs from comments that now slowly come in.
5868 2007-11-19 Julien MOUTTE <julien@moutte.net>
5870 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5873 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5876 Fix bogus warning and make the property type specific code more
5879 2007-11-19 Julien MOUTTE <julien@moutte.net>
5881 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5884 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5886 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5887 (gst_bin_add_func), (gst_bin_remove_func),
5888 (gst_bin_change_state_func), (gst_bin_continue_func):
5889 Change email, cleanups add some more debug and comments.
5890 Also set bus and clock on new elements when the pipeline was in error.
5892 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5895 * gst/gstdebugutils.c:
5896 Fix build with --disable-gst-debug. Fixes #497859.
5897 Spotted by Sameer Naik.
5899 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5902 Little documentation improvment.
5905 More TODO cleanups. Remove c++ comments.
5907 * libs/gst/controller/gstcontroller.c:
5908 Add TODO and use quark from static string.
5910 * tests/check/gst/gstmessage.c:
5911 * tests/check/gst/gststructure.c:
5912 Use quark from static string.
5914 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5917 Add some comments and TODOs.
5920 Add padding for future changes.
5922 * plugins/elements/gstqueue.c:
5923 Implement the iface.
5925 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5927 * docs/gst/gstreamer-docs.sgml:
5928 * docs/gst/gstreamer-sections.txt:
5929 * docs/gst/gstreamer.types.in:
5934 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5936 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5942 === release 0.10.15 ===
5944 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5947 releasing 0.10.15, "October"
5949 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5951 * win32/vs6/libgstreamer.dsp:
5952 Convert line endings back to DOS.
5954 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5956 * docs/design/draft-tagreading.txt:
5957 * docs/random/ensonic/profiling.txt:
5958 Update fast tagreading draft and performance profiling ideas.
5960 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5962 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5963 Don't hold the object lock when unreffing a buffer because it could
5964 cause a deadlock when the finalize function wants to grab the object
5965 lock too. Fixes #495133.
5967 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5969 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5970 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5971 Also accumulate time correctly when doing reverse playback. Fixes
5973 When converting to running and stream time, use default values for
5974 start/stop/time/accum when comparing different formats. Fixes #494245.
5976 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5977 Do running/stream time in TIME format.
5979 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5980 (gst_segment_suite):
5981 2 new unit tests for segment accumulation.
5983 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5985 * gst/gst.c: (init_pre):
5986 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5987 (_gst_debug_bin_to_dot_file):
5988 Move getenv() back into gst_init, so everyone can live happily
5989 ever after. Make sure the symbol isn't exported though.
5991 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5993 Patch by: Sebastien Moutte <sebastien moutte net>
5995 * win32/common/gstenumtypes.c:
5996 * win32/common/gstenumtypes.h:
5999 * win32/vs6/libgstreamer.dsp:
6000 Update vs6 project files (#494343).
6002 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6004 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6005 (gst_base_src_perform_seek), (gst_base_src_default_event),
6006 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6007 (gst_base_src_activate_pull):
6008 Unify flushing code, remove some old unlock code that is no longer used.
6009 Take the streaming lock when seeking to avoid races. Fixes #492729.
6010 Added some more comments.
6012 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6014 * gst/gst.c: (_gst_disable_segtrap):
6015 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6016 we can use gst_segtrap_is_enabled() there now that we have that API.
6017 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6018 to do the getenv here (and export the variable).
6020 * gst/gstdebugutils.c: (debug_dump_element),
6021 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6022 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6024 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6025 (gst_debug_log_default):
6026 Rename _gst_info_start_time to priv_gst_info_start_time so it
6027 doesn't get exported (was never in any header).
6029 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6030 (gst_plugin_loading_mutex):
6031 Make static mutex gst_plugin_loading_mutex really static (was never
6032 in any header), and use gst_segtrap_is_enabled() instead of
6033 _gst_disable_segtrap.
6035 * gst/gsttrace.c: (_gst_trace_default):
6036 Make local _gst_trace_default static (was never in any header).
6038 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6040 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6042 * win32/common/libgstbase.def:
6043 * win32/common/libgstcontroller.def:
6044 * win32/common/libgstdataprotocol.def:
6045 * win32/common/libgstnet.def:
6046 * win32/common/libgstreamer.def:
6047 Add more missing symbols, remove some duplicates, and sort
6048 as the 'sort' command sorts it (partially fixes #493983).
6050 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6052 * gst/gstelement.c: (gst_element_set_state_func):
6053 Only change the state cookie if a different state was set on the
6054 element. See #492729.
6056 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6059 Remove unused and uninitialised type variables that were still
6060 exported for some reason (they were never in any header files
6063 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6065 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6066 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6067 (gst_base_sink_event), (gst_base_sink_get_position_last),
6068 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6069 (gst_base_sink_change_state):
6070 Don't try to report a 0 position when we don't know, return -1 and FALSE
6071 instead. This mostly happens when we are prerolling.
6072 Make sure we can report the right position before we post the ASYNC_DONE
6073 message so that a message handler can query position without races.
6075 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6076 (async_done_handoff), (async_done_func), (send_buffer),
6077 (async_done_eos_func), (gst_sinks_suite):
6078 Add two tests for the above.
6080 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6083 Update with new email address.
6085 * docs/design/part-TODO.txt:
6086 Add some more info about future pad-block and negotiation changes.
6088 * docs/design/part-buffering.txt:
6089 Add some ideas about buffering reporting.
6091 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6093 * tests/check/gst/gstobject.c:
6094 Disable silly racy test that always fails on this combination of CPU
6097 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6099 Patch by: Murray Cumming <murrayc@murrayc.com>
6102 Corrected the registration of the parent-set and parent-unset
6103 signals: The parameter is a GstObject, not a GObject (#493134).
6105 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6107 * gst/gst_private.h:
6116 Move declaration of private _gst_foo_initialize() functions into
6117 our private header file where they should have been all along.
6119 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6121 * docs/plugins/gstreamer-plugins-sections.txt:
6122 * gst/gstdebugutils.h:
6124 * plugins/elements/gstqueue.c:
6125 gtk-doc fixes; trailing-comma-in-enum fix.
6127 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6129 * gst/gst.c: (gst_deinit):
6130 Clean up on deinit (not the external ones though, doesn't seem to be
6131 needed for some reason).
6133 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6135 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6136 Remove __declspec(dllimport) for MSVC that was copied over into core
6137 from a plugin, obviously without ever having been tested (note the
6138 single underscore in _declspec in the initial commit), and that doesn't
6139 really make sense. See #492077.
6141 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6143 * gst/gst.c: (init_post):
6144 * gst/gstevent.c: (_gst_event_initialize):
6145 * gst/gstquery.c: (_gst_query_initialize):
6146 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6147 g_type_class_ref() other types as well, see #349410 and #64764.
6149 * gst/gstbuffer.c: (_gst_buffer_initialize):
6150 * gst/gstmessage.c: (_gst_message_initialize):
6151 Simplify existing g_type_class_ref().
6153 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6155 * gst/gstformat.c: (_gst_format_initialize):
6156 g_type_class_ref() our GstFormat type to make sure we avoid the
6157 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6158 bug #64764. Should fix intermittent tee unit test failures (#474823).
6160 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6162 * tests/check/elements/tee.c: (test_num_buffers):
6163 Simplify, simplify, simplify - or not. Rewrite unit test
6164 not to use gst_parse_launch(); allow N sub-streams. Increasing
6165 the number of sub-streams seems to reproduce #474823 more easily.
6167 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6169 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6172 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6173 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6174 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6175 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6176 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6177 so use _pipe() directly (#492077).
6179 * win32/common/dirent.c: (_treaddir):
6180 Add a couple of casts to make it build without warnings with MSVC.
6182 * win32/common/libgstreamer.def:
6183 Add some more symbols that need to be exported.
6185 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6187 * tests/examples/metadata/read-metadata.c: (message_loop):
6188 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6189 arriving in a second or third tag message are added to
6190 the tag list as well.
6192 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6194 * libs/gst/base/gstbasesrc.c:
6195 Its "Since:" and not "@Since:". And remove an superflous cast.
6197 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6199 * docs/libs/gstreamer-libs-sections.txt:
6200 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6201 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6202 (gst_base_sink_get_property), (gst_base_sink_render_object),
6203 (gst_base_sink_preroll_object),
6204 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6205 (gst_base_sink_change_state):
6206 * libs/gst/base/gstbasesink.h:
6207 Add a new last-buffer property that contains the last buffer used in
6208 basesink for preroll or rendering. useful for making snapshots.
6209 API: gst_base_sink_get_last_buffer()
6210 API: GstBaseSink::last-buffer
6212 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6214 * docs/gst/running.xml:
6216 * gst/gstdebugutils.c:
6217 * gst/gstdebugutils.h:
6218 * tools/gst-launch.c:
6219 Improve bin graph dumping, by using the envvar to specify a path.
6220 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6222 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6224 * plugins/elements/gsttypefindelement.c:
6225 (gst_type_find_element_handle_event),
6226 (gst_type_find_element_activate):
6227 Post special error message if we can't determine the type of a stream
6230 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6232 * docs/gst/running.xml:
6233 * gst/gstdebugutils.c:
6234 Document new env-var. Add one log-line after dumpng a graph.
6236 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6239 Ugly hack to put the (recently removed and non-portable, apparently)
6240 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6241 GNU ld, because without that 'make check' fails miserably on my debian
6242 stable box. Someone with more knowledge of linker intricacies and
6243 portability issues than me fix this properly please.
6245 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6247 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6248 Reset last seen position after flushing so that we don't report the old
6251 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6253 * gst/gstelementfactory.c: (gst_element_register):
6255 Patch from Alessandro Decina adding get_type_full and
6256 get_protocols_full private vfuncs to the URIHandler interface
6257 to allow bindings to support creating URI handlers.
6258 Partially fixes: #339279
6259 API: GstURIHandlerInterface::get_type_full
6260 API: GstURIHandlerInterface::get_protocols_full
6262 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6264 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6265 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6266 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6267 Make it so that pads are considered linked until a buffer is pushed
6268 and discovered otherwise. This avoids problems with decodebin2 hanging
6269 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6272 Make sure we lock the multiqueue when updating the max-size properties.
6274 Fix a crash on Solaris in a debug statement in get_request_pad that
6275 passes a NULL string to GST_DEBUG.
6277 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6278 (run_output_order_test):
6279 Fix the test to allow the first buffer on not-linked pads to come out
6280 of sequence while multiqueue discovers that they are not-linked.
6282 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6285 * libs/gst/check/Makefile.am:
6286 Use a custom export symbol regex for libgstcheck, as it needs
6287 to export symbols that don't match the standard GStreamer gst_*
6288 pattern, and --export-dynamic is not portable (only works on
6291 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6292 (gst_check_setup_sink_pad):
6293 Make sure to pass a message parameter to the fail_* macros.
6295 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6296 Fix some compiler warnings.
6298 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6300 * tests/check/gst/gststructure.c: (test_to_string):
6301 Disable test that checks that white spaces are not allowed
6302 in structure names or field names, since we need to
6303 support that for now for backwards compatibility reasons.
6305 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6307 * docs/gst/gstreamer-sections.txt:
6310 API: add GST_TAG_ARTIST_SORTNAME
6311 API: add GST_TAG_ALBUM_SORTNAME
6312 API: add GST_TAG_TITLE_SORTNAME
6313 Add tag variants for sorting (#414539).
6315 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6317 * gst/gststructure.c:
6318 Also allow white space for names so we don't break
6319 backwards compatibility.
6321 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6323 * docs/design/part-TODO.txt:
6324 * docs/design/part-segments.txt:
6325 * docs/design/part-streams.txt:
6328 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6330 * docs/gst/gstreamer-sections.txt:
6331 Fixed documentation from my previous commit (added new API add
6332 gst_value_set_structure(), add gst_value_get_structure() and
6333 GST_VALUE_HOLDS_STRUCTURE).
6335 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6337 * gst/gstdebugutils.c:
6338 Reflow code to fix uninitialized variable warning.
6340 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6342 * gst/gstcaps.c: (gst_caps_to_string),
6343 (gst_caps_from_string_inplace):
6344 * gst/gststructure.c: (gst_structure_get_abbrs),
6345 (gst_structure_to_string), (gst_structure_from_string):
6346 * gst/gstvalue.c: (gst_value_set_structure),
6347 (gst_value_get_structure), (gst_value_serialize_structure),
6348 (gst_value_deserialize_structure), (_gst_value_initialize):
6350 * tests/check/gst/gststructure.c: (GST_START_TEST),
6351 (gst_structure_suite):
6352 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6353 Added GstStructure to gst_value_table and its related functions.
6354 Changed gst_structure_to_string to print ';' in the end.
6355 Changed gst_caps_to_string to not print ';' beteween its
6356 fields (structures) anymore and remove the lastes ';' from latest
6357 structure. Now it is possible to have nested structures.
6358 In addition, backward compatibilty is assured by accepting '\0' as
6359 end delimiter. Fixes: #487969.
6360 API: add gst_value_set_structure()
6361 API: add gst_value_get_structure()
6362 API: add GST_VALUE_HOLDS_STRUCTURE
6364 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6367 When no GSource callback has been set up, tell developer
6368 to use a function that actually exists.
6370 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6372 * docs/gst/gstreamer-sections.txt:
6376 * gst/gstdebugutils.c:
6377 * gst/gstdebugutils.h:
6380 * tools/gst-launch.c:
6381 Allow dumping pipelines as dot graphs. Fixes #456573.
6383 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6385 * gst/gststructure.c:
6386 Allow '+' as well, it can be part of media or mime types
6387 such as image/svg+xml.
6389 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6391 * docs/gst/gstreamer-sections.txt:
6394 API: add gst_bus_pop_filtered
6395 API: add gst_bus_timed_pop_filtered
6396 Two new functions for waiting for specific message types on the
6397 bus for a specified amount of time without iterating any main
6398 loops or main contexts.
6400 * tests/check/gst/gstbus.c:
6401 Some tests for the new functions.
6403 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6405 * docs/libs/gstreamer-libs-sections.txt:
6406 Make gtk-doc ignore stuff it should ignore.
6408 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6410 * libs/gst/check/gstcheck.c:
6411 * libs/gst/check/gstcheck.h:
6412 Allow runtime selection of unit tests to run via the GST_CHECKS
6413 environment variable (test case function names, comma-separated).
6415 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6417 * gst/gststructure.c:
6418 * tests/check/gst/gststructure.c:
6419 Revert serialisation change and constrain structure-names after
6420 consensus on irc. Update api documentation to reflect the change.
6422 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6424 * gst/gststructure.c:
6425 Improve serialization and fix tests.
6427 * tests/check/gst/gststructure.c:
6428 Add another test that covers why I actually did the previous structure
6431 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6433 * tools/gst-inspect.c: (print_element_info):
6434 Don't crash when inspecting an element.
6436 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6438 * tests/check/gst/gststructure.c:
6439 Add unit test for escaping of structure name when serialising
6440 and deserialising to/from strings.
6442 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6444 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6445 (gst_single_queue_new):
6446 * plugins/elements/gstqueue.c: (gst_queue_init),
6447 (gst_queue_push_one):
6448 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6449 upstream is tricked into thinking it can suggest a format downstream
6450 while downstream does not support that format. The real problem is that
6451 core calls acceptcaps when pushing a buffer with new caps, for which we
6452 do a little workaround by setting the caps on the srcpad ourselves
6453 before pushing the buffer (until this is figured out). Fixes #486758.
6455 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6457 * gst/gststructure.c:
6459 Add some more comments and debug output. Quote structure name to fix
6460 deserialisation of some strings.
6462 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6465 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6466 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6468 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6470 * tools/gst-inspect.c:
6471 Save approx. 400 1 byte allocs when printing. Use API to acces element
6477 * tools/gst-xmlinspect.c:
6478 Use API to acces element details.
6480 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6483 Fix some spelling errors.
6485 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6487 * gst/gstbin.c: (bin_handle_async_done):
6488 Correctly set the next state if all of our async children commited their
6489 state. This makes sure we can actually cancel the state change in
6490 progress. Fixes a regression in Rhythmbox when seeking.
6492 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6495 Don't shadow local variable.
6498 Don't shadow global function name.
6500 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6502 * gst/gstelementfactory.c:
6503 * gst/gstpluginfeature.c:
6504 * gst/gstpluginfeature.h:
6505 * gst/gstregistrybinary.c:
6506 * gst/gstregistryxml.c:
6507 * gst/gsttypefind.c:
6508 Use already-interned string for the private GstPluginFeature
6511 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6513 * docs/libs/gstreamer-libs-sections.txt:
6514 Add new API to docs; fixes the build.
6516 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6518 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6520 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6521 (gst_base_sink_event):
6522 * libs/gst/base/gstbasesink.h:
6523 Add function to wait for EOS, subclasses can use this to correctly wait
6524 for devices to drain before performing the EOS logic. Fixes #485343.
6525 API: gst_base_sink_wait_eos()
6527 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6530 Cast description string constants in GST_PLUGIN_DEFINE macros
6531 to a (gchar*) to make C++ code using these macros compile
6532 without warning with g++-4.2 (see #462737). Even if slightly
6533 ugly, this seems preferable to putting the description strings
6534 into the GLib quark table or making the structure member a
6535 const gchar * and doing casts in core code that allocs and
6536 frees these strings, or requiring a cast in the C++ code.
6538 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6541 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6542 to print the entire class/function signature into the log
6543 file for C++ code. This only affects C++ code, for C code
6544 everything remains the same.
6546 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6548 * gst/gstbin.c: (remove_from_queue):
6549 Work around a problem with pipelines containing (semi)loops until a
6550 proper, more complicated solution is ready. See #475455.
6552 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6556 * gst/gstregistrybinary.c:
6557 * gst/gstregistryxml.c:
6558 Put more strings into the GLib quark table. No need to keep
6559 a hundred-something copies of identical version strings,
6560 license strings, package name strings and package origin
6563 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6565 * docs/manual/advanced-dataaccess.xml:
6566 Don't imply that it's okay to unconditionally change
6567 buffer data or buffer metadata in a pad probe callback,
6568 and a bunch of other comments. Fixes #430031.
6570 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6572 * win32/common/gstenumtypes.c:
6573 * win32/common/gstenumtypes.h:
6574 * win32/common/gstversion.h:
6575 Update generated files.
6577 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6579 * docs/manual/advanced-autoplugging.xml:
6580 Prefix section with broken code with a warning (see #342432).
6582 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6584 * docs/manual/appendix-integration.xml:
6585 * docs/manual/basics-init.xml:
6586 Call g_thread_init() before g_option_context_new() to
6587 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6589 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6591 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6592 (gst_base_sink_queue_object_unlocked),
6593 (gst_base_sink_queue_object), (gst_base_sink_event),
6594 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6595 When we received EOS and are waiting for when to post the EOS message,
6596 our state is prerolled and we should not return ASYNC.
6597 Reorganize some code paths to implement this behavior.
6599 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6601 Add unit test to verify above EOS fix.
6603 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6605 * plugins/elements/gsttypefindelement.c:
6606 (gst_type_find_element_have_type), (gst_type_find_element_init),
6607 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6608 Move detecting the input caps of the sinkpad to the setcaps function.
6609 This allows us to update the output caps when we receive new input caps
6610 instead of always using the first detected caps.
6612 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6614 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6615 (gst_base_sink_get_position):
6616 Don't try to preroll non-async elements after a flush.
6617 Subtract latency form clock times when reporting position.
6619 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6621 * gst/gstpad.c: (gst_pad_pause_task):
6623 Small comment and documentation update.
6625 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6627 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6628 (gst_base_src_set_live), (gst_base_src_is_live),
6629 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6630 (gst_base_src_default_event), (gst_base_src_wait),
6631 (gst_base_src_do_sync), (gst_base_src_get_range),
6632 (gst_base_src_pad_get_range), (gst_base_src_loop),
6633 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6634 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6635 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6636 (gst_base_src_change_state):
6637 Rework the locking of basesrc in a similar fashion to basesink. We
6638 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6639 us to handle live sources and semi live ones much better.
6641 Fix unlocking when seeking, shutting down and pausing in live sources.
6643 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6645 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6646 Fix compilation again.
6648 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6651 Use meaningful categories for the logs to clean the default one.
6653 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6655 * tests/check/pipelines/cleanup.c:
6656 Print message name and not just number.
6658 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6660 * docs/design/draft-tagreading.txt:
6661 Add some more thoughts.
6663 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6665 * tests/check/pipelines/simple-launch-lines.c:
6666 Print message name and not just number.
6668 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6670 * libs/gst/base/gsttypefindhelper.c:
6671 Speedup typefinding. This is work in progress (see #459862).
6673 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6676 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6677 Spotted by Josep Torra Valles <josep@fluendo.com>.
6679 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6682 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6683 field has moved to GstObject.
6685 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6687 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6688 (gst_base_src_get_range), (gst_base_src_change_state):
6689 Call unlock for live sources so that they can't get stuck in _create and
6690 produce a buffer before they are set back to PLAYING.
6692 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6694 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6695 (gst_queue_locked_dequeue):
6696 Comment the segment-related code... in the PROPER function.
6697 See #482147 and my commit from yesterday.
6699 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6701 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6702 Also initialize the counter that calculates the first timestamp on a
6703 buffer correctly for non-live sources.
6705 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6707 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6708 Disable code that's breaking the current-time-level reporting.
6711 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6713 * docs/gst/gstreamer-sections.txt:
6714 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6715 as they shouldn't show up. Fixes the docs build.
6717 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6720 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6721 Define M_PI which is used in files which are including gstinfo.h.
6722 VS6 includes doesn't define it.
6723 * win32/common/libgstbase.def:
6724 * win32/common/libgstcontroller.def:
6725 * win32/common/libgstreamer.def:
6726 Add new exported functions and variables.
6727 * win32/vs6/libgstcontroller.dsp:
6728 * win32/vs6/libgstreamer.dsp:
6729 Update the list of files to build.
6731 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6733 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6735 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6736 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6737 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6738 Improve debugging. Fixes #480858.
6740 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6742 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6744 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6745 First patch of code cleanups, use the macros and right arguments in the
6746 macros to signal and lock the queue. See #480858.
6748 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6750 * gst/gstbus.c: (poll_func):
6751 Improve debugging when dealing with _poll().
6753 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6755 * gst/gstregistryxml.c:
6756 Fix memory leak I introduced a few days ago.
6758 2007-09-26 Michael Smith <msmith@fluendo.com>
6760 * gst/gstbuffer.c: (gst_buffer_finalize):
6761 Make it once again possible to free GstBuffers in the default
6763 The poisoning scribbles on parts of the miniobject we need in
6767 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6769 * docs/gst/gstreamer-sections.txt:
6772 API: add GST_TAG_COMPOSER, fixes #459809.
6774 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6778 Add the 3-clause BSD license and the MIT/X11 license to the license
6779 list. Fixes #479784.
6781 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6783 * docs/faq/getting.xml:
6784 Add Q+A about different GStreamer versions (#364056).
6786 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6788 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6789 (gst_base_sink_event), (gst_base_sink_change_state):
6790 Return correct gboolean from query function.
6792 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6794 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6795 (gst_base_sink_event), (gst_base_sink_query),
6796 (gst_base_sink_change_state):
6797 Simplify latency query.
6798 When not synchronizing, we can report latency without querying the peer
6801 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6805 Fix small typos in the docs.
6807 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6809 * docs/design/draft-latency.txt:
6810 * docs/design/draft-push-pull.txt:
6811 * docs/design/draft-tagreading.txt:
6812 * docs/design/part-MT-refcounting.txt:
6813 * docs/design/part-activation.txt:
6814 * docs/design/part-block.txt:
6815 * docs/design/part-element-source.txt:
6816 * docs/design/part-events.txt:
6817 * docs/design/part-gstbin.txt:
6818 * docs/design/part-gstelement.txt:
6819 * docs/design/part-gstobject.txt:
6820 * docs/design/part-gstpipeline.txt:
6821 * docs/design/part-messages.txt:
6822 * docs/design/part-preroll.txt:
6823 * docs/design/part-push-pull.txt:
6824 * docs/design/part-qos.txt:
6825 * docs/design/part-query.txt:
6826 * docs/design/part-scheduling.txt:
6827 * docs/design/part-seeking.txt:
6828 * docs/design/part-segments.txt:
6829 * docs/design/part-states.txt:
6830 Documentation updates and typo fixes.
6832 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6834 * plugins/elements/gstfakesink.c:
6835 Add some debug text to error message to indicate that
6836 we errored out on request.
6838 * tools/gst-launch.c:
6839 When the state change to PLAYING fails, check for an
6840 error message on the bus and print it.
6842 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6844 translated by: Jorge González González <aloriel@gmail.com>
6848 Added Spanish translation.
6850 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6852 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6853 Fix printf arguments.
6855 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6857 * tests/check/generic/states.c:
6858 Improved state change unit test.
6860 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6863 Move priv to the right place.
6865 * gst/gstsystemclock.c:
6866 Add FIXME: and improve log.
6868 * tests/check/Makefile.am:
6869 * tests/examples/manual/Makefile.am:
6870 Work with all types of registries.
6872 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6874 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6875 Don't unref the event after pushing it. Fixes #478401.
6877 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6880 * tests/examples/manual/.cvsignore:
6881 Ignore registries in any format.
6883 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6885 * gst/glib-compat-private.h:
6886 Add compatibility macro for g_intern_string() for
6887 GLib-2.8 (any reason we can't just bump the
6888 requirement to at least 2.10?)
6890 * gst/gstpadtemplate.h:
6891 * gst/gstelementfactory.c:
6892 * gst/gstregistryxml.c:
6893 * gst/gstregistrybinary.c:
6894 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6895 up the internal code accordingly. This shouldn't be a problem, since
6896 there is no reason external code could ever assume the string in such
6897 a structure is dynamically allocated unless it did that itself; the
6898 use of g_strdup() is private to element factories. The new code also
6899 saves some memory by putting pad template name strings into the GLib
6900 quark table instead of allocating them dynamically.
6901 Declaring this field constant fixes warnings with g++-4.2 when using
6902 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6904 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6906 * gst/gstelementfactory.c:
6907 Release static caps. Fixes #475723.
6909 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6913 Make some internal API take const gchar * instead of just
6914 gchar * to avoid compiler warnings with g++-4.2.2 when
6915 passing string constants (partially fixes #478092).
6917 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6919 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6920 A latency query fails when one of the sinks fail.
6922 * gst/gstelement.c: (gst_element_set_base_time):
6925 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6927 * gst/gstbin.c: (gst_bin_continue_func):
6928 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6930 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6932 Fix minor compilation warnings shown with Forte.
6934 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6936 * plugins/elements/gstqueue.c: (apply_buffer),
6937 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6938 Measure queue level based on the diff between head and tail timestamps
6939 even when pushing the first buffer.
6941 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6943 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6944 (gst_base_sink_event), (gst_base_sink_change_state):
6945 Sinks that don't preroll can always be queried for the latency.
6946 Don't post ASYNC start when we are not async.
6948 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6950 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6951 (gst_queue_handle_sink_event), (gst_queue_chain),
6952 (gst_queue_push_one), (gst_queue_handle_src_query),
6953 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6954 * plugins/elements/gstqueue.h:
6955 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6956 push more buffers but allow pushing of EOS and NEWSEGMENT.
6957 Add some more debug info here and there. Fixes #476514.
6959 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6961 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6962 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6963 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6964 (gst_base_sink_set_flushing), (gst_base_sink_query),
6965 (gst_base_sink_change_state):
6966 Latency query is allowed after we are prerolled. Introduce a new flag
6967 for this and stop abusing other variables.
6969 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6971 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6972 Push OOB events downstream when we get them in send_event. This allows
6973 the application to insert events in the pipeline.
6974 Add some more comments.
6976 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6978 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6979 (do_bin_latency), (gst_bin_change_state_func):
6980 * gst/gstpipeline.c: (gst_pipeline_change_state):
6981 Move latency query from GstPipeline to GstBin so that we can also
6982 use it when async-handling is enabled on bins.
6984 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6986 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6987 (gst_base_src_do_sync), (gst_base_src_change_state):
6989 Clean up the timestamping and syncing code for pseudo live sources.
6991 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6993 Patch by: Steve Fink <sphink gmail com>
6995 * docs/manual/appendix-checklist.xml:
6996 Mention less -R switch in the section about debug output (#474055).
6998 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7000 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7001 Queue can latency to the pipeline up to the configured max size in time.
7002 Report this fact in the latency query.
7004 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7006 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7008 * libs/gst/controller/gstinterpolation.c:
7009 * libs/gst/controller/gstlfocontrolsource.c:
7010 Use gst_guint64_to_gdouble() when converting from a uint64 or
7011 GstClockTime to double to fix the build on win32. Fixes #474371.
7013 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7015 * gst/gstbuffer.c: (gst_buffer_finalize):
7016 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7017 When finalizing a buffer the complete struct is filled with 0xff,
7018 thus making a use of the buffer after the final unref impossible.
7020 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7022 * tests/check/libs/controller.c: (GST_START_TEST):
7023 Use fail_unless_equals_int(a, b) instead of
7024 fail_unless_equals (a == b) to get better output on failures.
7026 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7028 * tests/check/gst/gsturi.c:
7029 Also check for the other file URI variant on win32.
7031 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7033 * gst/gsturi.c: (gst_uri_get_location):
7034 If there's no hostname, we want to return 'c:/foo/bar.txt'
7035 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7037 * tests/check/gst/gsturi.c:
7038 Unit test for the above and a few more things.
7040 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7042 * docs/design/part-live-source.txt:
7043 Add docs on how live sources should timestamp.
7045 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7046 Add some more debug info.
7047 For subclasses that are live and like to sync, add aditional startup
7048 latency to sync time and timestamps so that we timstamp according to the
7051 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7054 Also do a g_type_class_ref() for the subbuffer type in
7057 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7059 * docs/gst/gstreamer-sections.txt:
7060 * gst/gstpad.c: (gst_pad_peer_query):
7062 Add function to perform a query on the peer of a pad.
7063 API: gst_pad_peer_query()
7065 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7067 * tests/check/gst/gstsystemclock.c:
7068 Cleanup the test a little (use gst-logging and not g_message). Improve
7069 test to check if a wait reached the target.
7071 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7073 * docs/libs/gstreamer-libs-sections.txt:
7074 Add new API to docs and fix the build.
7076 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7078 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7079 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7080 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7081 (gst_base_src_get_property), (gst_base_src_do_sync):
7082 * libs/gst/base/gstbasesrc.h:
7083 Add property to make the basesrc timestamp buffers based on the current
7085 API: GstBaseSrc::do-timestamp
7086 API: gst_base_src_set_do_timestamp()
7087 API: gst_base_src_get_do_timestamp()
7089 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7091 * docs/random/release:
7092 Really make sure translations are up-to-date before
7093 a release (#465010).
7095 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7097 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7098 Always destroy the timer, also in error cases.
7100 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7102 * docs/manual/highlevel-xml.xml:
7103 Fix XML example code. Fixes #472714.
7105 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7107 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7108 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7109 (gst_base_sink_query):
7110 Protect eos and have_preroll with the OBJECT lock so we don't need to
7111 take the PREROLL lock when querying the latency. Fixes #473846.
7113 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7116 Give some log-messages a category.
7118 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7120 * gst/gststructure.c:
7121 (gst_structure_fixate_field_nearest_fraction):
7122 Fix fraction list fixation code. Take the fraction with the smallest
7123 difference with the target instead of the first one in the list.
7125 * tests/check/gst/gststructure.c: (GST_START_TEST),
7126 (gst_structure_suite):
7127 Added test to verify correct fraction list fixation behaviour.
7129 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7131 * win32/common/libgstreamer.def:
7132 Export gst_bus_add_signal_watch too.
7134 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7136 * docs/libs/gstreamer-libs-sections.txt:
7137 Add new methods to docs.
7139 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7140 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7141 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7142 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7143 * libs/gst/base/gstbasesink.h:
7144 Add ts-offset property to fine-tune the synchronisation.
7145 API: GstBaseSink::ts-offset property
7146 API: gst_base_sink_set_ts_offset()
7147 API: gst_base_sink_get_ts_offset()
7149 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7151 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7152 (gst_base_sink_init), (gst_base_sink_set_sync),
7153 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7154 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7155 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7156 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7157 (gst_base_sink_get_property), (gst_base_sink_change_state):
7158 * libs/gst/base/gstbasesink.h:
7159 Add async property to instruct the sink never to inform the parent about
7160 ASYNC state changes, update docs.
7161 Check argument with g_return_* for the public functions.
7162 API: GstBaseSink::async property
7163 API: gst_base_sink_set_async_enabled()
7164 API: gst_base_sink_is_async_enabled()
7166 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7168 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7171 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7172 (gst_base_src_default_query), (gst_base_src_wait),
7173 (gst_base_src_do_sync), (gst_base_src_change_state):
7174 Rearrange some code so that we can add support for measuring the
7177 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7179 * docs/random/ensonic/dynlink.txt:
7180 More thoughs on this.
7182 * plugins/elements/gstcapsfilter.c:
7183 Add bugzilla ticket number to FIXME comment.
7185 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7187 * docs/design/part-TODO.txt:
7188 * docs/design/part-block.txt:
7191 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7194 Revert patch which uses $(gst_headers) instead of $^ because it
7197 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7199 * tests/check/gst/gstbin.c: (GST_START_TEST):
7200 Fix leaks in the new unit test.
7202 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7205 Don't use GST_INFO before the debug system is actually initialised
7206 (shouldn't do any harm, but won't print anything either, so we can
7207 just as well remove it).
7210 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7211 compilers that don't support variadic macros (such as MSVC), should
7212 check for debug_level <= __gst_debug_min as well, since that's the
7213 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7214 inline helper functions. Should improve performance a bit, but also
7215 makes sure uses of GST_INFO et.al are ignored if the debugging
7216 system isn't initialised yet (instead of printing an assertion
7219 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7221 patch by: David Nečas <yeti@physics.muni.cz>
7224 Replace some non portable makefile constructs.
7226 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7228 * common/gtk-doc-plugins.mak:
7229 Grrrrr. Don't remove the types file on make clean.
7231 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7233 * tools/gst-launch.1.in:
7234 Add colorspace to example pipeline. Fixes #458274.
7236 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7238 * docs/random/release:
7239 The release manager should run 'make download-po' before making a
7240 release to make sure translations are up-to-date.
7246 Add some new translations.
7248 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7250 * tools/gst-launch.c: (event_loop), (main):
7251 Don´t try to do any state management when a live pipeline posts
7253 Also make the buffering string translatable.
7255 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7257 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7258 (bin_handle_async_start), (gst_bin_handle_message_func):
7260 When adding elements, insert messages into the bus of the newly added
7261 element and make sure the element is the source of the message. This
7262 allows the parent bin to intercept the message and do the
7263 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7264 messages to the app (which is not allowed).
7267 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7268 Fix testsuite so that is does not work around messages that should not
7269 have been posted in the first place.
7271 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7273 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7274 (update_degree), (gst_bin_sort_iterator_next):
7275 Fix annoying bug in the sorted iterator where a sink that is not really
7276 a sink (when it has downstream links) screwed up the iterator.
7278 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7279 Unit test to verify the fix.
7281 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7284 Add some more docs for the messages.
7286 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7287 (gst_base_sink_query):
7288 Add some more debugging.
7290 * tools/gst-launch.c: (event_loop):
7291 When interrupting, don't try to set pipeline to PAUSED twice.
7293 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7296 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7297 (bin_handle_async_start), (gst_bin_handle_message_func):
7298 Move ASYNC_START message posting to where it belongs, similar to
7300 Don't post ASYNC_START when we are in error.
7301 Post ASYNC_START when we added an async element to a bin.
7303 2007-08-14 Julien MOUTTE <julien@moutte.net>
7305 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7306 generation from vargs. Fixes #466595.
7308 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7310 * gst/gstbin.c: (gst_bin_element_set_state):
7311 Always change the state of a NO_PREROLL element even if it has ASYNC
7312 elements inside (in case of a bin).
7314 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7315 Unit test for this case.
7317 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7319 * libs/gst/check/gstbufferstraw.c:
7320 * libs/gst/check/gstcheck.h:
7321 * libs/gst/controller/gstcontroller.c:
7322 * libs/gst/controller/gstcontrolsource.h:
7323 * libs/gst/controller/gstlfocontrolsource.h:
7324 * plugins/elements/gstcapsfilter.h:
7325 * plugins/elements/gstfdsink.h:
7326 * plugins/elements/gstfdsrc.h:
7327 Add more missing docs.
7329 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7331 * gst/gststructure.c:
7332 Add Since tag to docs.
7334 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7336 * docs/gst/gstreamer-sections.txt:
7337 * gst/gststructure.c: (gst_structure_get_uint):
7338 * gst/gststructure.h:
7339 Add function to get uint from a structure.
7340 API: gst_structure_get_uint()
7342 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7344 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7345 (gst_caps_intersect):
7346 Fix proper check for simple caps.
7348 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7350 * docs/gst/Makefile.am:
7351 * docs/libs/Makefile.am:
7352 Remove cruft and do some cleanups.
7354 * docs/gst/gstreamer-docs.sgml:
7355 * docs/libs/gstreamer-libs-docs.sgml:
7356 Prepare for comming gtkdoc features (rebase against online docs).
7358 2007-08-10 Michael Smith <msmith@fluendo.com>
7360 * docs/gst/gstreamer-sections.txt:
7361 Add gst_registry_add_path to docs.
7363 2007-08-10 Michael Smith <msmith@fluendo.com>
7365 * gst/gstregistry.h:
7366 Add gst_registry_add_path, which was missing from this header.
7368 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7370 * libs/gst/controller/gstlfocontrolsource.c:
7373 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7375 * libs/gst/base/gstbasesink.c:
7376 Don't send an async_start message during downwards state change if
7377 target state is less than READY
7379 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7381 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7385 Added Hungarian translation.
7387 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7394 Updated translations.
7396 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7398 * libs/gst/controller/Makefile.am:
7399 Dist gstlfocontrolsourceprivate.h
7401 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7403 * docs/libs/gstreamer-libs.types:
7404 Don't register the enum type gst_lfo_waveform_get_type() in the
7405 .types file - only GObject derived types belong.
7407 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7409 Patch by: <arenevier at fdn dot fr>
7412 Remove comma from last element in enum to avoid compile errors when
7413 using -pendantic. Fixes #464366.
7415 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7417 * docs/design/part-TODO.txt:
7418 Add some more TODO items
7420 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7423 * gst/gstcaps.c: (gst_caps_intersect):
7424 Optimize trivial intersection case between identical caps pointers.
7426 * gst/gstelement.c: (gst_element_continue_state),
7427 (gst_element_set_state_func):
7429 Fix spelling and grammar mistakes.
7431 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7435 Update POTFILES. Fixes #461599.
7437 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7440 Fix confusing typo in debug output.
7442 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7444 reviewed by: Stefan Kost <ensonic@users.sf.net>
7446 * libs/gst/controller/Makefile.am:
7447 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7448 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7449 (gst_lfo_control_source_new),
7450 (gst_lfo_control_source_set_waveform),
7451 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7452 (gst_lfo_control_source_finalize),
7453 (gst_lfo_control_source_dispose),
7454 (gst_lfo_control_source_set_property),
7455 (gst_lfo_control_source_get_property),
7456 (gst_lfo_control_source_class_init):
7457 * libs/gst/controller/gstlfocontrolsource.h:
7458 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7459 API: Add GstLFOControlSource, a control source that gives values
7460 for specific timestamps based on several periodic waveforms.
7463 * tests/check/libs/controller.c: (GST_START_TEST),
7464 (gst_controller_suite):
7465 * docs/libs/gstreamer-libs-docs.sgml:
7466 * docs/libs/gstreamer-libs-sections.txt:
7467 * docs/libs/gstreamer-libs.types:
7468 Add documentation and unit tests for GstLFOControlSource.
7470 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7475 === release 0.10.14 ===
7477 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7480 releasing 0.10.14, "Breathing Vacuum"
7482 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7484 * gst/gstelement.c: (gst_element_class_set_details_simple):
7486 Make strings passed to gst_element_class_set_details_simple()
7487 constant, as they should be (#462752).
7489 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7491 * gst/gstbin.c: (gst_bin_change_state_func),
7492 (bin_handle_async_done), (gst_bin_handle_message_func):
7493 Don't forget about the fact that some element went ASYNC even after a
7494 resync. This makes us post the ASYNC_DONE message correctly.
7497 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7499 * gst/gstregistry.c: (gst_registry_add_feature):
7500 When replacing an existing feature in the registry, make sure to
7501 continue holding a reference until we've replaced the name string
7502 within our feature hash table. Make sure to use g_hash_table_replace
7503 instead of g_hash_table_insert to ensure the new name string is used
7504 as a key instead of the old one that we're about to free.
7507 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7509 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7510 (gst_plugin_feature_set_name):
7511 Revert patch from #459466 until after the release and we can work
7512 out exactly what the problem is (if any).
7514 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7516 * docs/gst/gstreamer-sections.txt:
7519 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7521 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7523 * docs/libs/Makefile.am:
7524 Include our build-prefix libs and includes before the generic ones to
7525 avoid linking against the installed libs when we want the build-tree
7528 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7530 Patch by: Steve Fink <sphink gmail com>
7532 * docs/pwg/building-testapp.xml:
7533 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7534 if people try to build or install the example from the plugin
7535 template against a GStreamer from package using the configure
7538 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7540 Patch by: Steve Fink <sphink gmail com>
7542 * tools/gst-inspect.1.in:
7543 Document --print-all and --print-plugin-auto-install-info command
7544 line options in man page.
7546 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7548 * docs/gst/gstreamer-sections.txt:
7549 Add docs for new api function.
7551 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7553 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7554 * gst/gstelementfactory.h:
7555 API: gst_element_factory_has_interface()
7556 Added method to check if an element factory implements a named
7559 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7562 * docs/gst/gstreamer.types.in:
7563 Another conditional doc check.
7566 * gst/gstparamspecs.h:
7567 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7572 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7574 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7575 (gst_registry_binary_load_feature),
7576 (gst_registry_binary_load_plugin),
7577 (gst_registry_binary_read_cache):
7578 Print error just once and with additional info.
7580 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7582 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7583 (helper_find_suggest), (helper_find_get_length),
7584 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7585 (gst_type_find_helper_for_buffer):
7586 Cleanup the typefindhelper code and add private doc comments.
7588 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7590 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7591 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7592 Fix capsfilter for cases where the caps set on capsfilter will provide
7593 additional information.
7596 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7598 * gst/gsttypefindfactory.c:
7599 Fix docs that recommened wrong function to use.
7601 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7603 * tools/gst-inspect.c: (print_plugin_features):
7604 Also give media-type for typefinders in element output.
7606 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7608 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7609 (gst_registry_remove_features_for_plugin_unlocked),
7610 (gst_registry_add_feature), (gst_registry_remove_feature),
7611 (gst_registry_lookup_feature_locked):
7612 * gst/gstregistry.h:
7613 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7616 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7618 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7619 (gst_plugin_feature_set_name):
7620 Avoid double memory usage for pluginfeature names. Fixes #459466.
7622 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7625 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7626 driving the pipeline may need to explicitly check for NOT_LINKED as
7627 well, since IS_FATAL doesn't cover that.
7629 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7631 * docs/pwg/advanced-types.xml:
7632 Fix typo and duplicate entry in video formats list.
7634 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7636 * libs/gst/controller/gstinterpolation.c:
7637 Also round to the nearest int when using cubic interpolation.
7639 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7641 * libs/gst/controller/gstinterpolation.c:
7642 When linearly interpolating integer types, round to the nearest int
7643 by adding 0.5. Don't do it for float/double types.
7644 Fixes the failing controller test on my machine, which is somehow
7645 rounding differently than on the buildbots.
7647 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7649 * tools/gst-plot-timeline.py:
7650 Better log parsing (categories can have -). Adjust text vs. lines, so
7651 that they span the same y-range.
7653 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7655 * docs/random/ensonic/audiobaseclasses.txt:
7656 * docs/random/ensonic/dynlink.txt:
7657 * docs/random/ensonic/profiling.txt:
7660 * docs/random/moving-plugins:
7661 Add note to use g_assert type macros.
7663 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7666 * libs/gst/check/Makefile.am:
7667 Add libm check as we use in for plugins.
7669 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7671 * gst/gstbin.c: (gst_bin_continue_func):
7672 Check that the state_cookie hasn't changed since the continue_func
7673 was scheduled. Avoids problems where the state changes back to
7674 something it shouldn't be because it was changed in the meantime.
7676 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7678 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7679 (gst_registry_binary_save_string),
7680 (gst_registry_binary_save_pad_template),
7681 (gst_registry_binary_save_feature),
7682 (gst_registry_binary_save_plugin),
7683 (gst_registry_binary_load_feature),
7684 (gst_registry_binary_load_plugin),
7685 (gst_registry_binary_read_cache):
7686 Fix memory leak. Be less verbose in the log.
7688 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7690 * tests/check/elements/.cvsignore:
7691 Add file to cvsignore as commanded.
7693 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7695 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7696 (mq_dummypad_event), (run_output_order_test):
7697 Use a GStaticMutex to protect all cases where libcheck
7698 fail_if/fail_unless macros might be called from multiple threads
7699 simultaneously to avoid errors like:
7700 "check_pack.c:107: :-1081725400:Bad message type arg"
7702 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7704 * tests/check/pipelines/stress.c: (GST_START_TEST):
7705 Make sure we set the pipeline back to the NULL state before
7706 dropping our final reference.
7708 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7710 * tests/check/elements/tee.c: (GST_START_TEST):
7711 Make the tee stress-test a little less stressful so it doesn't just
7712 time out on slow-machines, and remove a small race when it's starting
7713 up by adding a get_state() call.
7715 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7718 Avoid reading registry twice on startup. Fixes #457322.
7720 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7722 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7723 * pkgconfig/gstreamer-check.pc.in:
7724 Substitute the CFLAGS for libcheck into our .pc file too so that
7725 dependent modules will pick it up properly if libcheck is installed
7726 into some other prefix.
7728 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7731 Revert the pkg-config check for libcheck, since it pulls in the
7732 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7733 a proper solution, either from the check project, or something else.
7735 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7738 Use pkg-config to locate check.
7740 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7747 Add deprecation guards.
7749 * libs/gst/base/gstcollectpads.h:
7750 Don't document object (this is implicitly private).
7752 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7754 * gst/gststructure.c: (gst_structure_parse_value):
7755 When deserialising foo=bar without a type cast, check if it's a
7756 boolean before falling back to a string type, otherwise things like
7757 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7758 because the filtercaps end up having a signed=(string)true field,
7759 which causes problems later when intersection caps.
7761 * tests/check/gst/gststructure.c: (GST_START_TEST):
7762 Add a unit test for this.
7764 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7766 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7768 * libs/gst/controller/Makefile.am:
7769 * libs/gst/controller/gstcontroller.c:
7770 (gst_controlled_property_add_interpolation_control_source),
7771 (gst_controlled_property_new), (gst_controlled_property_free),
7772 (gst_controller_find_controlled_property),
7773 (gst_controller_new_valist), (gst_controller_new_list),
7774 (gst_controller_new), (gst_controller_remove_properties_valist),
7775 (gst_controller_remove_properties_list),
7776 (gst_controller_remove_properties),
7777 (gst_controller_set_property_disabled),
7778 (gst_controller_set_disabled), (gst_controller_set_control_source),
7779 (gst_controller_get_control_source), (gst_controller_get),
7780 (gst_controller_sync_values), (gst_controller_get_value_array),
7781 (_gst_controller_dispose), (gst_controller_get_type),
7782 (gst_controlled_property_set_interpolation_mode),
7783 (gst_controller_set), (gst_controller_set_from_list),
7784 (gst_controller_unset), (gst_controller_unset_all),
7785 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7786 * libs/gst/controller/gstcontroller.h:
7787 * libs/gst/controller/gstcontrollerprivate.h:
7788 * libs/gst/controller/gstcontrolsource.c:
7789 (gst_control_source_class_init), (gst_control_source_init),
7790 (gst_control_source_get_value),
7791 (gst_control_source_get_value_array), (gst_control_source_bind):
7792 * libs/gst/controller/gstcontrolsource.h:
7793 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7794 (gst_object_get_control_source):
7795 * libs/gst/controller/gstinterpolation.c:
7796 (gst_interpolation_control_source_find_control_point_node),
7797 (gst_interpolation_control_source_get_first_value),
7798 (_interpolate_none_get), (interpolate_none_get),
7799 (interpolate_none_get_boolean_value_array),
7800 (interpolate_none_get_enum_value_array),
7801 (interpolate_none_get_string_value_array),
7802 (_interpolate_trigger_get), (interpolate_trigger_get),
7803 (interpolate_trigger_get_boolean_value_array),
7804 (interpolate_trigger_get_enum_value_array),
7805 (interpolate_trigger_get_string_value_array):
7806 * libs/gst/controller/gstinterpolationcontrolsource.c:
7807 (gst_control_point_free), (gst_interpolation_control_source_reset),
7808 (gst_interpolation_control_source_new),
7809 (gst_interpolation_control_source_set_interpolation_mode),
7810 (gst_interpolation_control_source_bind),
7811 (gst_control_point_compare), (gst_control_point_find),
7812 (gst_interpolation_control_source_set_internal),
7813 (gst_interpolation_control_source_set),
7814 (gst_interpolation_control_source_set_from_list),
7815 (gst_interpolation_control_source_unset),
7816 (gst_interpolation_control_source_unset_all),
7817 (gst_interpolation_control_source_get_all),
7818 (gst_interpolation_control_source_get_count),
7819 (gst_interpolation_control_source_init),
7820 (gst_interpolation_control_source_finalize),
7821 (gst_interpolation_control_source_dispose),
7822 (gst_interpolation_control_source_class_init):
7823 * libs/gst/controller/gstinterpolationcontrolsource.h:
7824 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7825 API: Refactor GstController into the core controller which can take
7826 a GstControlSource for providing actual values for timestamps.
7827 Implement a interpolation control source and use this for backward
7828 compatibility, deprecate a bunch of functions that are now handled
7829 by GstControlSource or GstInterpolationControlSource.
7830 Make it possible to disable the controller completely or only for
7831 specific properties. Fixes #450711.
7832 * docs/libs/gstreamer-libs-docs.sgml:
7833 * docs/libs/gstreamer-libs-sections.txt:
7834 * docs/libs/gstreamer-libs.types:
7835 Add new functions and classes to the docs.
7836 * tests/check/libs/controller.c: (GST_START_TEST),
7837 (gst_controller_suite):
7838 * tests/examples/controller/audio-example.c: (main):
7839 Port unit test and example to the new API and add some new
7842 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7844 Patch by: Mark Nauwelaerts <manauw at skynet be>
7846 * plugins/elements/gstmultiqueue.c:
7847 (gst_multi_queue_get_internal_links), (apply_buffer),
7848 (single_queue_overrun_cb), (gst_single_queue_new):
7849 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7850 the pipeline layout can be tracked correctly. Fixes #453732.
7852 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7854 * docs/gst/Makefile.am:
7855 * docs/libs/Makefile.am:
7856 * docs/plugins/Makefile.am:
7857 Simplify --extra-dir as gtkdoc scans recursively.
7859 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7861 * tools/gst-launch.c: (main):
7862 When we got an error, there is no point in waiting for preroll when
7865 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7867 * plugins/elements/gsttee.c: (gst_tee_base_init),
7868 (gst_tee_request_new_pad), (gst_tee_release_pad),
7869 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7870 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7872 Be a lot smarter when deciding what srcpad to use for proxying
7873 the buffer_alloc. Also handle pad added/removed when doing so.
7875 Keep track of what pads we already pushed on in case we have pads
7876 added/removed while pushing. Fixes #374639
7878 * tests/check/Makefile.am:
7879 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7881 Added unit test for pad resync.
7883 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7887 Updated translations.
7889 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7891 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7895 Added new Finnish translation.
7897 2007-06-28 Wim Taymans <wim@fluendo.com>
7899 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7900 (single_queue_overrun_cb):
7901 When figuring out when a queue is filled, use our internal time estimate
7902 based on segments, just like check_full does.
7904 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7906 * gst/gstminiobject.c: (gst_mini_object_get_type):
7907 Remove 3 do-nothing methods.
7909 2007-06-27 Wim Taymans <wim@fluendo.com>
7911 Patch by: Tim Angus <tim at ngus dot net>
7913 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7914 (gst_capsfilter_set_property):
7915 Take a reference instead of a copy when setting "caps".
7916 Fix documentation to clarify this behaviour. Fixes #449414.
7918 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7920 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7921 * gst/gstplugin.c: (gst_plugin_init):
7922 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7923 * gst/gstquery.c: (gst_query_get_type):
7924 * gst/gstregistry.c: (gst_registry_init):
7925 * gst/gsturi.c: (gst_uri_handler_base_init):
7926 Remove empty instance_init() functions to save relocs and lessen the
7927 noise. Remove some of the function prototypes that are doubled by
7930 2007-06-27 Wim Taymans <wim@fluendo.com>
7932 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7934 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7935 Add peer and direction in the XML serialisation of ghostpads.
7938 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7941 Preserve useful information, thanks Tim.
7943 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7945 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7946 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7947 (gst_single_queue_push_one), (gst_multi_queue_loop),
7948 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7949 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7950 (compute_high_id), (gst_single_queue_new):
7951 * plugins/elements/gstmultiqueue.h:
7952 Take the multiqueue lock when updating the fill level so we don't get
7955 After applying a buffer or event on the src pad segment, make sure to
7956 call gst_data_queue_limits_changed() to get the data queue to unblock
7957 and check the filled state again.
7959 Rework the not-linked pad handling so the logic is that not-linked
7960 pads can push as fast as they like, but only so they never get
7961 ahead of any linked pads.
7963 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7964 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7965 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7967 Add a test to check that not-linked pads always stay behind
7972 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7974 * docs/random/release:
7975 Some updates to the release procedure.
7977 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7979 * gst/gstelementfactory.c: (__gst_element_details_clear):
7980 Microoptimization that saves stunning 80 bytes.
7982 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7984 * docs/plugins/gstreamer-plugins.args:
7985 * docs/plugins/inspect/plugin-coreelements.xml:
7986 * docs/plugins/inspect/plugin-coreindexers.xml:
7987 Update docs with caps info.
7989 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7992 Updated Italian translation.
7994 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7998 Update Vietnamese translations.
8000 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8002 * libs/gst/base/gstbasesink.c:
8003 Remove unused signal enum.
8005 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8007 * docs/gst/gstreamer-sections.txt:
8009 * gst/gstutils.c: (gst_type_register_static_full):
8010 Beef up and include the docs for gst_type_register_static_full and
8011 gst_element_class_set_details_simple and add the API keyword
8014 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8016 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8017 (update_time_level), (gst_single_queue_push_one),
8018 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8019 (single_queue_overrun_cb), (single_queue_underrun_cb),
8020 (single_queue_check_full):
8021 Fix setting max-* properties after adding queues.
8022 Use IS_FILLED for checking visible items.
8023 Signal overrun if multiple queues overrun.
8024 Add extra debug output.
8025 Patch by: Wim Taymans <wim@fluendo.com>
8027 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8029 * gst/gstelement.c: (gst_element_class_set_details_simple):
8031 * gst/gstutils.c: (gst_type_register_static_full):
8033 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8034 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8035 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8036 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8037 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8038 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8039 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8040 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8041 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8042 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8043 (apply_buffer), (gst_queue_chain):
8044 * plugins/elements/gsttee.c: (gst_tee_base_init):
8045 * plugins/elements/gsttypefindelement.c:
8046 (gst_type_find_element_base_init),
8047 (gst_type_find_element_class_init):
8048 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8049 API: add gst_type_register_static_full
8050 API: add gst_element_class_set_details_simple
8052 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8054 * docs/pwg/advanced-types.xml:
8055 Fix typo in iana.org URI.
8057 2007-06-19 Andy Wingo <wingo@pobox.com>
8059 * tests/check/pipelines/simple-launch-lines.c
8060 (test_state_change_returns): Enable pull-mode tests now that
8061 basesink has been fixed.
8063 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8064 Changed from gst_base_sink_is_prerolled, reversing the sense of
8065 the return value. Returns FALSE also if the sink is in pull mode,
8066 in which case it needs no preroll.
8067 (gst_base_sink_query, gst_base_sink_change_state): Update for
8068 needs_preroll change.
8069 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8070 chaining up, in which we return SUCCESS directly if we activated
8071 in pull mode instead of ASYNC. Involves countering an async_start
8072 message sent before chaining up; not sure if this is correct, in
8073 an ideal world we only send async-start when activating in push
8076 * tests/check/pipelines/simple-launch-lines.c
8077 (test_state_change_returns): New test, partially disabled until
8080 2007-06-19 Wim Taymans <wim@fluendo.com>
8082 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8083 (gst_multi_queue_sink_event):
8086 2007-06-19 Wim Taymans <wim@fluendo.com>
8088 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8089 (gst_bin_change_state_func), (bin_push_state_continue),
8090 (bin_handle_async_start), (bin_handle_async_done),
8091 (gst_bin_handle_message_func):
8092 Move the common code for posting state-change messages into
8094 Broadcast the state signal after we posted the messages.
8095 Mark the bin as busy when it's doing a state-change.
8096 Make sure async-start/done messages don't interfere with the bin's
8097 state when it's busy.
8098 After the state change, let the bin check which elements completed the
8099 state change while it was busy so that it can update its state.
8101 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8103 * docs/random/release:
8104 Add a note about updating the doap file to the release checklist
8106 2007-06-18 Wim Taymans <wim@fluendo.com>
8108 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8109 (gst_single_queue_push_one), (gst_multi_queue_chain),
8110 (gst_multi_queue_sink_event):
8111 Make sure we don't reference the buffer/event after we have given away
8112 ownership in the queue.
8114 2007-06-18 Wim Taymans <wim@fluendo.com>
8116 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8117 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8118 Update queue state _after_ adding the item in the queue because else we
8119 could end up being full without the element added yet.
8121 2007-06-18 Wim Taymans <wim@fluendo.com>
8123 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8124 (gst_bin_remove_func), (gst_bin_get_state_func),
8125 (gst_bin_element_set_state), (gst_bin_continue_func),
8126 (bin_push_state_continue), (bin_handle_async_start),
8127 (bin_handle_async_done), (gst_bin_handle_message_func):
8129 Immediatly commit the toplevel bin state when receiving an async-done
8130 message. This enables us to avoid spawning a thread to commit the state
8131 in some common cases and it also avoids some races.
8132 Avoid spawning a state thread when adding/removing async elements to a
8133 toplevel bin. Instead we immediatly update the bin state.
8134 Get rid of iterating all the children when getting the state in the bin
8135 because it is now always up-to-date.
8136 Fix bug where locked elements would always return _SUCCESS even it they
8137 returned NO_PREROLL before being locked.
8138 Fix the order of the state_change, async-start/done messages that was
8139 sometimes incorrect.
8140 Mark the state_dirty field as deprecated, we don't need it anymore as we
8141 are always up-to-date.
8143 * gst/gstelement.c: (gst_element_get_state_func),
8144 (gst_element_continue_state):
8145 Small debug inprovements.
8146 Return the previous element state return when nothing is pending instead
8147 of blindly returning SUCCESS.
8149 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8151 Add a whole bunch of new testcases.
8153 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8157 Update translations.
8159 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8162 Fix typo in the docs.
8164 2007-06-15 Wim Taymans <wim@fluendo.com>
8166 * docs/libs/gstreamer-libs-sections.txt:
8167 Add docs for new methods.
8169 2007-06-15 Wim Taymans <wim@fluendo.com>
8171 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8172 (gst_multi_queue_item_new):
8173 Don't use GSlice because we don't depend on >= 2.10 yet.
8175 2007-06-15 Wim Taymans <wim@fluendo.com>
8177 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8178 (update_time_level), (apply_segment), (apply_buffer),
8179 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8180 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8181 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8182 (single_queue_underrun_cb), (single_queue_check_full):
8183 Remove debug printf.
8185 2007-06-15 Wim Taymans <wim@fluendo.com>
8187 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8188 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8189 (gst_data_queue_set_flushing), (gst_data_queue_push),
8190 (gst_data_queue_pop), (gst_data_queue_drop_head),
8191 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8192 * libs/gst/base/gstdataqueue.h:
8194 Added methods to get the current levels and to inform the queue that the
8195 'full' limits changed.
8197 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8198 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8199 (gst_single_queue_flush), (update_time_level), (apply_segment),
8200 (apply_buffer), (gst_single_queue_push_one),
8201 (gst_multi_queue_item_steal_object),
8202 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8203 (gst_multi_queue_loop), (gst_multi_queue_chain),
8204 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8205 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8206 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8207 (single_queue_underrun_cb), (single_queue_check_full),
8208 (gst_single_queue_new):
8209 Keep track of time in the queue by measuring the difference between
8210 running_time on input and output. This gives more accurate results and
8211 can compensate for segments correctly.
8212 Make a queue by default only 5 buffers deep. We will now increase the
8213 buffer size depending on the filledness of the other queues.
8214 Factor out commong flush code.
8215 Make sure we don't add additional refcounts to buffers when we can avoid
8217 Propagate GstFlowReturn differently.
8218 Use GSlice for intermediate GstMultiQueueItems.
8220 Resize queues on over and underruns based on filled level of other
8222 When checking if the queue is filled, prefer to measure in time if we
8223 can and fall back to bytes when no time is known.
8225 * plugins/elements/gstqueue.c:
8228 2007-06-15 Wim Taymans <wim@fluendo.com>
8230 * libs/gst/base/gstbasetransform.c:
8231 (gst_base_transform_sink_event):
8232 Work around the brokenness of the event vmethod in basetransform. Prefer
8233 to return TRUE when the subclass returned FALSE (meaning don't forward
8236 * libs/gst/base/gstbasetransform.h:
8239 2007-06-15 Wim Taymans <wim@fluendo.com>
8241 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8242 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8243 (gst_base_src_default_query), (gst_base_src_get_range),
8244 (gst_base_src_start):
8245 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8248 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8250 * docs/pwg/advanced-types.xml:
8251 Added more formats to caps table.
8253 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8255 * tools/gst-launch.c: (main):
8256 Remove crufy code. GOption does not need this workaround.
8258 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8260 * libs/gst/controller/gstcontroller.c:
8261 (gst_controlled_property_set_interpolation_mode):
8262 Fix wrong getter for enums in controller.
8264 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8266 * libs/gst/check/gstcheck.c: (gst_check_init):
8267 Intercept criticals and warnings in the Gst-Phonon log domain, so
8268 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8271 2007-06-14 Edward Hervey <edward@fluendo.com>
8273 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8274 Since this file doesn't include "gst.h" it will not go through the
8275 macros that disable GST_LOG if debugging was disabled.
8277 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8279 * libs/gst/check/Makefile.am:
8280 * libs/gst/check/gstcheck.h:
8281 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8282 * pkgconfig/gstreamer-check.pc.in:
8283 Ugly 'fix' for the controller unit test on the p5 bot: in
8284 fail_unless_equals_float() check whether the values are 'almost
8285 equal' by allowing a small absolute error, which should be good
8286 enough for our use cases (normal numbers and values close to 0).
8287 Proper fixage left to floating point arithmetic aficionados.
8289 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8291 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8292 (gst_base_sink_render_object), (gst_base_sink_get_position):
8293 Add two breaks thats where missing.
8295 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8297 * docs/libs/gstreamer-libs-sections.txt:
8298 * libs/gst/check/gstcheck.h:
8299 API: add fail_unless_equals_float() and assert_equals_float().
8300 Add documentation for some of the macros.
8302 * tests/check/libs/controller.c: (GST_START_TEST):
8303 Use newly-added asserts.
8305 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8307 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8308 Show the caps change in the log to help spotting the case of not
8309 exactly matching caps.
8311 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8313 * docs/pwg/building-boiler.xml:
8314 Fix typos, spotted by Thijs Vermeir (#447190).
8316 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8318 * docs/plugins/tmpl/.cvsignore:
8319 Ignore file to keep the buildbots happy
8321 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8323 * docs/plugins/Makefile.am:
8324 * docs/plugins/gstreamer-plugins-docs.sgml:
8325 * docs/plugins/gstreamer-plugins-sections.txt:
8326 Pull fdsink into the docs too.
8328 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8330 * libs/gst/controller/gstinterpolation.c:
8331 Actually use the new functions with min/max checks for the trigger and
8332 none interpolation modes for get() and get_value_array() instead of
8335 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8337 * libs/gst/controller/gstcontroller.c:
8338 (gst_controlled_property_free):
8339 Unset the minimum and maximum GValues when freeing the corresponding
8340 GstControllerProperty struct.
8342 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8344 * libs/gst/controller/gstcontroller.c:
8345 (gst_controlled_property_new):
8346 * libs/gst/controller/gstcontrollerprivate.h:
8347 * libs/gst/controller/gstinterpolation.c:
8348 (gst_controlled_property_find_control_point_node),
8349 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8350 (interpolate_none_get_string_value_array),
8351 (interpolate_trigger_get),
8352 (interpolate_trigger_get_enum_value_array),
8353 (interpolate_trigger_get_string_value_array):
8354 Protect against values larger or smaller than the minimum or maximum
8355 allowed value for the property when using values that can be compared.
8357 Optimize trigger interpolator a bit by taking the last requested value
8358 into account instead of always looping through the complete list.
8360 Fix coding style a bit, everywhere else we use "return foo" instead
8363 * tests/check/libs/controller.c: (GST_START_TEST),
8364 (gst_controller_suite):
8365 Add unit test for the protection against too large or too small
8368 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8370 * docs/random/slomo/controller.txt:
8371 Add some thoughts about the future of the controller.
8373 2007-06-08 Wim Taymans <wim@fluendo.com>
8375 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8376 Don't overflow in retimestamping code.
8378 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8380 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8381 Use gst_util_guint64_to_gdouble for conversions.
8382 * win32/common/libgstreamer.def:
8383 Add new exported functions.
8385 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8388 Small docs addition.
8390 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8393 Remove that test line again.
8395 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8398 Test commit mail sending.
8400 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8403 Fix typo and test commit mail sending.
8405 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8407 * tests/examples/controller/audio-example.c:
8408 Improve comment and test commit mail sending.
8410 2007-06-07 Wim Taymans <wim@fluendo.com>
8412 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8413 (gst_bin_remove_func), (gst_bin_element_set_state),
8414 (bin_handle_async_start), (bin_handle_async_done),
8415 (gst_bin_handle_message_func):
8416 Add helper function to find messages.
8417 Generate the async-done messages together with the state change
8419 Small cleanups in handling toplevel bins.
8421 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8423 * libs/gst/base/gstdataqueue.c:
8424 * libs/gst/base/gstdataqueue.h:
8425 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8426 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8427 (gst_multi_queue_sink_event):
8428 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8429 Fix multiqueue leaking buffers and events when downstream or the
8430 queue are flushing. Make refcounting assumptions explicit and
8431 document them (shouldn't break existing code that uses it other than
8432 maybe leak miniobjects, but that already happens anyway). Add unit
8433 test for the most common flushing case. Fixes #423700.
8435 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8437 * libs/gst/controller/gstcontroller.c:
8438 Clarify docs: The get_all, get_value_array(s) functions
8439 don't modify the GObject properties.
8441 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8443 * libs/gst/controller/gstcontroller.c:
8444 (gst_controlled_property_set_interpolation_mode),
8445 (gst_controlled_property_prepend_default),
8446 (gst_controlled_property_new), (gst_controller_set_unlocked),
8447 (gst_controller_set), (gst_controller_set_from_list),
8448 (gst_controller_unset), (gst_controller_unset_all):
8449 * libs/gst/controller/gstcontrollerprivate.h:
8450 * libs/gst/controller/gstinterpolation.c:
8451 Factor out the 'set' logic into gst_controller_set_unlocked for the
8452 gst_controller_set and gst_controller_set_from_list functions.
8454 To make life of the interpolators easier always add a control point
8455 at timestamp zero with the default value.
8457 In the linear interpolator make things more obvious by better variable
8460 Implement cubic interpolation mode (by using a natural cubic spline)
8461 and map the quadratic interpolation mode to this too (as quadratic
8462 doesn't make much sense, see discussion on the list).
8464 * tests/check/libs/controller.c: (GST_START_TEST),
8465 (gst_controller_suite):
8466 Add unit test for the cubic interpolation mode and check everywhere
8467 if the interpolation mode could be set as expected.
8469 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8471 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8472 Don't use GLib-2.10 functions, we still depend on
8473 GLib-how-old-is-it-again-2.8.
8475 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8477 * docs/gst/gstreamer-sections.txt:
8481 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8482 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8483 (_gst_param_fraction_values_cmp),
8484 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8485 * gst/gstparamspecs.h:
8487 * tests/check/Makefile.am:
8488 * tests/check/gst/.cvsignore:
8489 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8490 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8491 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8492 (GST_START_TEST), (gst_param_spec_suite):
8493 API: add GstParamSpecFraction, so elements can have fraction
8494 properties without lots of painful string parsing (#444648).
8496 2007-06-05 Wim Taymans <wim@fluendo.com>
8498 * gst/gstobject.c: (gst_object_class_init):
8499 Fix signal signature.
8502 Add small clarification in the api docs.
8504 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8505 States are protected with object lock.
8507 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8510 I should probably be listed as an author by now.
8512 * docs/random/release:
8513 Update the release doc
8515 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8518 Make docs for gst_value_compare() mention return enums that
8521 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8526 === release 0.10.13 ===
8528 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8531 releasing 0.10.13, "With or without you"
8533 2007-05-25 Wim Taymans <wim@fluendo.com>
8535 * gst/gstbin.c: (bin_handle_async_done):
8536 Make sure that the child bin stops after completing the async state
8537 change so that the parent can continue the state change to PLAYING.
8540 2007-05-25 Wim Taymans <wim@fluendo.com>
8542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8543 (unref_data), (gst_collect_pads_remove_pad),
8544 (gst_collect_pads_check_pads):
8545 Use additional refcounting to avoid crashes when dynamically adding and
8546 removing pads. Fixes #420206.
8548 2007-05-24 Wim Taymans <wim@fluendo.com>
8550 * tools/gst-launch.c: (event_loop):
8551 When buffering goes from a two digit to a single digit number, make sure
8552 to remove the old second digit by writing a blank over it.
8554 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8556 * libs/gst/base/gstdataqueue.c:
8557 Eliminate tabs and trailing comma in enum list; fix some typos.
8559 2007-05-24 Wim Taymans <wim@fluendo.com>
8561 * tests/check/gst/gstbin.c: (GST_START_TEST):
8562 Allow refcount of 3 and 4 because some state thread might still be busy
8565 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8567 * plugins/elements/Makefile.am:
8568 * plugins/elements/gstmultiqueue.h:
8569 * plugins/elements/gstqueue.h:
8570 These are not installed headers, no need for padding.
8572 2007-05-24 Wim Taymans <wim@fluendo.com>
8574 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8575 (gst_bin_continue_func):
8576 Enable latency for next release.
8577 Restore STATE_LOCK around recalc_state that was left out during the
8578 rewrite and could result in racy behaviour when _get_state and
8579 recalc_state are run concurrently. See #440463.
8581 2007-05-23 Wim Taymans <wim@fluendo.com>
8583 * tests/check/gst/gstsystemclock.c: (store_callback),
8585 Improve test_async_order to also work when both timers are already
8586 expired when we get scheduled to check it.
8588 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8590 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8591 (gst_bin_set_property), (gst_bin_get_property),
8592 (gst_bin_remove_func), (gst_bin_handle_message_func):
8594 'private' is a c++ keyword, let's not use that in header files,
8595 otherwise c++ compilers will throw a tantrum.
8597 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8599 * plugins/elements/gstelements.c:
8600 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8601 (gst_file_sink_get_current_offset):
8602 * plugins/indexers/gstindexers.c: (plugin_init):
8603 Use #ifdef for HAVE_XYZ for consistency.
8605 * tests/check/Makefile.am:
8606 * tests/check/elements/.cvsignore:
8607 * tests/check/elements/filesink.c: (setup_filesink),
8608 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8609 Add some unit tests for filesink.
8611 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8613 Patch by: Mark Nauwelaerts <manauw at skynet be>
8615 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8616 (gst_file_sink_query), (gst_file_sink_do_seek),
8617 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8618 * plugins/elements/gstfilesink.h:
8619 Fix position reporting; rename data_written member to current_pos to
8620 reflect its real meaning (fixes #412648).
8622 2007-05-22 Edward Hervey <edward@fluendo.com>
8624 * docs/gst/gstreamer-sections.txt:
8625 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8626 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8627 (gst_bin_remove_func), (gst_bin_handle_message_func):
8629 Add a property for bins that handle the state change of their childs.
8632 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8634 * libs/gst/controller/gstinterpolation.c:
8635 Use an array of the correct type when using _get_value_array with
8636 linear interpolation.
8638 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8640 * gst/gstelement.c (gst_element_requires_clock,
8641 gst_element_provides_clock, gst_element_request_pad,
8642 gst_element_class_set_details, gst_element_class_set_details_simple,
8643 gst_element_default_send_event, gst_element_abort_state,
8644 gst_element_continue_state, gst_element_set_state,
8645 gst_element_set_state_func, iterator_activate_fold_with_resync):
8646 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8647 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8648 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8649 gst_pad_get_range, gst_pad_pull_range):
8650 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8651 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8652 GstPadActivateModeFunction, GstPadChainFunction,
8653 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8654 GstPadFixateCapsFunction, GstPadTemplate):
8655 * gst/gstpipeline.c (gst_pipeline_change_state,
8656 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8657 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8658 gst_pipeline_get_delay):
8659 Whitespace and docs fixes.
8661 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8663 * libs/gst/controller/gstinterpolation.c:
8664 (interpolate_trigger_get_enum_value_array),
8665 (interpolate_trigger_get_string_value_array):
8666 Add support for retrieving value arrays when using the trigger
8669 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8671 * libs/gst/controller/gstcontroller.c:
8672 (gst_controller_get_value_array):
8673 * libs/gst/controller/gstcontroller.h:
8674 Clarify the docs of gst_controller_get_value_array(): The array where
8675 the values should be written to must be allocated as there seems to be
8676 no way to get the size of a random GType. This doesn't change any
8677 behaviour. Also fix some typos all over the place and remove an unused,
8678 commented function that is not necessary as g_object_set() could be
8680 * tests/check/libs/controller.c: (GST_START_TEST),
8681 (gst_controller_suite):
8682 Add unit test for gst_controller_get_value_array().
8684 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8686 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8688 Disable part of the gst_buffer_try_new_and_alloc test, because
8689 it can happily succeed on 64-bit systems where there's more address
8692 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8694 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8695 Add unit test for the improved caps checking from bug #421543.
8697 2007-05-21 Wim Taymans <wim@fluendo.com>
8699 * docs/design/part-synchronisation.txt:
8702 * gst/gstbin.c: (gst_bin_query):
8703 * plugins/elements/gstqueue.c: (apply_segment):
8709 2007-05-21 Wim Taymans <wim@fluendo.com>
8711 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8712 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8713 (gst_pad_configure_src):
8714 Added simple version of improved caps checking. It was previously
8715 assumed that a setcaps function would check the validity of the caps but
8716 people prefer us to check caps against the template automatically.
8719 2007-05-21 Wim Taymans <wim@fluendo.com>
8721 * libs/gst/base/gstbasetransform.h:
8722 Fix macro for locking/unlocking the transform lock.
8724 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8726 * docs/plugins/tmpl/.cvsignore:
8729 2007-05-18 Edward Hervey <edward@fluendo.com>
8731 * plugins/elements/gstqueue.c: (gst_queue_loop):
8732 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8733 for the subtle art of warning a potentially blocking thread that it
8734 should check the source pad return value, and relay the information
8737 2007-05-18 Edward Hervey <edward@fluendo.com>
8739 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8740 Release the queue lock !
8742 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8744 * docs/libs/gstreamer-libs-sections.txt:
8745 Add the two new controller functions to the appropiate places.
8747 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8749 reviewed by: Stefan Kost <ensonic@users.sf.net>
8751 * libs/gst/controller/gstcontroller.c:
8752 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8753 (_gst_controller_get_property), (_gst_controller_set_property),
8754 (_gst_controller_init), (_gst_controller_class_init):
8755 * libs/gst/controller/gstcontroller.h:
8756 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8757 (gst_object_get_control_rate), (gst_object_set_control_rate):
8758 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8759 Add API that provides sync suggestion timestamps for elements that
8760 call gst_object_sync_values() from which those elements can subdivide
8761 their processing loop to get the best results for the controlled
8762 properties. For now it just suggests last_sync + control_rate as
8763 new timestamp but this will be improved in the future.
8765 While doing that change the control-rate property to a GstClockTime
8766 from guint and change it's meaning from samples to nanoseconds as
8767 the GstController doesn't know anything about sampling rate. Strictly
8768 speaking this breaks ABI but as the control-rate property didn't do
8769 anything in the past and as such couldn't be used this should be no
8772 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8774 reviewed by: Stefan Kost <ensonic@users.sf.net>
8776 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8777 (gst_controller_unset_all):
8778 * libs/gst/controller/gstcontrollerprivate.h:
8779 * libs/gst/controller/gstinterpolation.c:
8780 (gst_controlled_property_find_control_point_node):
8781 Save last synced value from the list to continue searching from there
8782 in future syncs. This speeds everything up a bit.
8784 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8786 reviewed by: Stefan Kost <ensonic@users.sf.net>
8788 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8789 (gst_control_point_find), (gst_controlled_property_new),
8790 (gst_control_point_free), (gst_controlled_property_free),
8791 (gst_controller_set), (gst_controller_set_from_list),
8792 (gst_controller_unset), (gst_controller_unset_all),
8793 (gst_controller_sync_values):
8794 * libs/gst/controller/gstcontroller.h:
8795 * libs/gst/controller/gstcontrollerprivate.h:
8796 * libs/gst/controller/gstinterpolation.c:
8797 (gst_controlled_property_find_control_point_node),
8798 (interpolate_none_get), (interpolate_trigger_get):
8799 Add a new private GstControlPoint struct which "inherits" from
8800 GstTimedValue to allow different interpolators to store internal
8801 values next to each control point. From the outside everything is
8802 still a GstControlPoint so we don't loose binary compatibility.
8803 Also fixup all the GValue handling to not leak GValues or list nodes.
8804 * tests/check/libs/controller.c: (GST_START_TEST):
8805 Free the list nodes and GValues in the controller_misc test.
8807 2007-05-17 Edward Hervey <edward@fluendo.com>
8812 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8814 * gst/gstplugin.c: (gst_plugin_load_file):
8815 If we fail to load a plugin because of unresolved symbols or missing
8816 libraries and spew a warning to stderr, we may just as well mention
8817 which plugin it was that failed to load.
8819 2007-05-13 David Schleef <ds@schleef.org>
8821 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8822 handles the case when ENABLE_GTK_DOC is false, and installs
8823 the prebuilt documentation. So gtk-doc subdirs are
8824 unconditionally enabled. Fixes: #349099.
8826 2007-05-13 David Schleef <ds@schleef.org>
8828 * gst/gstutils.h: Reword some documentation.
8830 2007-05-12 David Schleef <ds@schleef.org>
8832 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8833 do anything with the passed "module" parameter, so remove it.
8834 Allows removal of additional vestigal code.
8836 2007-05-12 David Schleef <ds@schleef.org>
8839 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8840 Switch to using g_stat() because it's more portable.
8842 2007-05-12 David Schleef <ds@schleef.org>
8845 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8846 parsing for embedded systems.
8847 * gst/gstelementfactory.c:
8848 Allow gst_element_register() to be called with plugin==NULL.
8849 Did nobody notice that static elements were broken?
8851 2007-05-12 Wim Taymans <wim@fluendo.com>
8853 * tools/gst-launch.c: (event_loop):
8854 Give more interesting info when buffering starts and stops.
8855 Fix case where buffering starts but we fail to update the buffering flag
8856 because the target state is not PLAYING.
8858 2007-05-12 Wim Taymans <wim@fluendo.com>
8860 * plugins/elements/gstqueue.c: (gst_queue_init),
8861 (gst_queue_finalize), (update_time_level), (apply_segment),
8862 (apply_buffer), (gst_queue_locked_flush),
8863 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8864 (gst_queue_handle_sink_event), (gst_queue_chain),
8865 (gst_queue_push_one), (gst_queue_loop):
8866 * plugins/elements/gstqueue.h:
8867 Refactor an cleanup queue a bit.
8868 Do better time level calculations that also work when the srcpad is not
8870 Remove some unneeded debug lines.
8872 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8873 Added testcase for time level measurement.
8874 Try to make some stuff more racefree.
8876 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8878 * gst/gsturi.c: (gst_element_make_from_uri):
8879 Don't leak plugin feature.
8881 * tests/check/Makefile.am:
8882 * tests/check/gst/.cvsignore:
8883 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8884 Add brain-dead unit test.
8886 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8888 Patch by: Jeroen Wouters <woutersj at gmail com>
8890 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8891 Treat protocol strings in a case-insensitive way (#437563).
8893 2007-05-11 Michael Smith <msmith@fluendo.com>
8895 * gst/gstplugin.c: (gst_plugin_load_file):
8896 * gst/gstregistry.c: (gst_registry_scan_path_level):
8897 Don't print a g_warning for any failure to load a shared object.
8898 Instead, push this down into gstplugin.c, and warn _only_ if we
8899 failed to open the module (i.e. failure to link).
8900 Avoids warnings on normal, working, non-plugin .so files.
8902 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8904 * gst/gstplugin.c (gst_plugin_load_file):
8905 * gst/gstregistry.c (GST_CAT_DEFAULT,
8906 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8907 Print a g_warning if there was an error when loading a plugins during
8908 registry scan. The shuld help beginners starting with gst-plugin
8911 2007-05-10 Wim Taymans <wim@fluendo.com>
8913 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8914 (update_time_level), (gst_queue_locked_flush),
8915 (gst_queue_handle_sink_event), (gst_queue_chain),
8916 (gst_queue_push_one), (gst_queue_loop):
8917 * plugins/elements/gstqueue.h:
8918 Be smarter when calculating the current amount of data in the queue by
8919 measuring the difference between start and end timestamps (in running
8920 time) inside the queue. Fixes #432876.
8921 API: GstQueue::pushing to notify elements that we are pushing data again
8922 since the running signal is rather broken for this purpose.
8924 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8926 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8927 gst_queue_base_init, gst_queue_init):
8930 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8932 * win32/common/libgstreamer.def:
8933 Add new exported functions.
8934 * win32/vs6/grammar.dsp:
8935 Use grammar pre-generated files.
8937 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8939 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8942 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8944 * gst/gstutils.c: (gst_parse_bin_from_description):
8946 Maintain API and ABI when --disable-parse is used. Now that
8947 we have an appropriate error code, we can just return NULL and the
8948 appropriate error when gst_parse_launch() is used despite it having
8949 been disabled (#342564).
8951 * tests/check/Makefile.am:
8952 * tests/check/pipelines/.cvsignore:
8953 * tests/check/pipelines/parse-disabled.c:
8954 Make sure these functions exist and return NULL plus a GError when
8955 --disable-parse is used.
8957 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8959 * tests/benchmarks/complexity.c: (main):
8960 * tests/benchmarks/mass-elements.c: (main):
8961 Set a good example and don't leak messages.
8963 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8965 * docs/gst/Makefile.am:
8966 * docs/libs/Makefile.am:
8967 Correct fixxrefs options.
8969 * docs/plugins/Makefile.am:
8970 * docs/plugins/gstreamer-plugins-docs.sgml:
8971 * docs/plugins/gstreamer-plugins-sections.txt:
8972 * plugins/elements/Makefile.am:
8973 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8974 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8975 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8976 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8977 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8978 _GstCapsFilterClass, trans_class):
8979 * plugins/elements/gstelements.c (name, rank, type, _elements):
8980 * plugins/elements/gstidentity.c
8981 (gst_identity_check_imperfect_timestamp,
8982 gst_identity_check_imperfect_offset):
8983 Document capsfilter and add doc-blurb to identity.
8985 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8987 * libs/gst/controller/gstcontroller.c:
8988 (gst_controlled_property_set_interpolation_mode):
8989 * libs/gst/controller/gstinterpolation.c:
8990 Don't crash if someone tries to set an interpolation mode that
8991 is invalid or that isn't supported yet. Fixes #422295.
8993 * tests/check/libs/controller.c: (GST_START_TEST),
8994 (gst_controller_suite):
8995 Add a test case for the above.
8997 2007-05-03 Edward Hervey <edward@fluendo.com>
8999 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9000 Properly set the last_stop position on GstSegment. This will only happen
9001 if there is a buffer to push out.
9003 2007-05-03 Wim Taymans <wim@fluendo.com>
9005 * libs/gst/base/gstbasetransform.c:
9006 (gst_base_transform_buffer_alloc):
9007 always_in_place does not mean that the sink and source caps are the
9008 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9010 2007-05-03 Wim Taymans <wim@fluendo.com>
9012 * docs/libs/gstreamer-libs-sections.txt:
9013 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9014 (gst_base_src_default_query), (gst_base_src_get_range):
9015 * libs/gst/base/gstbasesrc.h:
9016 API: gst_base_src_query_latency(). Added method so that subclasses can
9017 easily get the latency values of the base source class.
9019 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9021 * tools/gst-inspect.c (print_implementation_info):
9024 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9026 * tools/Makefile.am:
9027 * tools/gst-launch.1.in:
9028 Don't create a customised man page based on the host architecture,
9029 describe the default registry path generically. That way the man
9030 page is the same for all architectures and packagers have one
9031 multilib issue less to deal with. Fixes #434926.
9033 2007-05-02 Wim Taymans <wim@fluendo.com>
9036 Fix documentation as spotted by rg on IRC.
9038 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9041 Improve docs for gst_element_{link,unlink}.
9043 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9045 * docs/design/part-events.txt:
9046 * docs/design/part-overview.txt:
9050 * libs/gst/base/gstbasesink.c:
9051 Typo fixes; minor docs addition.
9053 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9055 * docs/gst/gstreamer-sections.txt:
9056 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9057 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9059 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9060 or src that supports a given URI protocol exists.
9062 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9064 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9065 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9066 Set the location to NULL if "file://" is set as URI. Otherwise
9067 some random previous URI would still be set if "file://" is
9068 set on an already used filesink/filesrc.
9070 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9072 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9073 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9074 Special case the "file://" URI as as this is used by some
9075 applications to test with gst_element_make_from_uri if there's
9076 an element that supports the URI protocol.
9077 Also move the g_path_is_absolute() check for the location part
9078 of the URI to also check this for "file://localhost/bla" URIs.
9080 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9082 * docs/gst/gstreamer-sections.txt:
9083 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9085 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9087 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9089 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9091 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9092 (gst_registry_binary_load_pad_template),
9093 (gst_registry_binary_load_plugin),
9094 (gst_registry_binary_read_cache):
9095 * gst/gstregistrybinary.h:
9096 Implement no-mmap alternative for registry reading. Do code cleanups.
9097 Add more comments about avoiding strdups for all text data. Comments
9100 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9102 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9103 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9104 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9105 Comment structs and reformat to fix the build (that stuff should go
9106 into a priv. header).
9108 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9110 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9111 (gst_registry_binary_load_feature):
9112 * gst/gstregistrybinary.h:
9113 Refactor so that we can implement multiple features. Add support for
9114 TypeFindFactory features.
9116 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9118 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9121 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9123 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9125 * gst/gstbin.c: (gst_bin_element_set_state),
9126 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9127 (bin_handle_async_done), (gst_bin_handle_message_func):
9128 Fix build with --gst-disable-gst-debug
9130 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9132 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9133 Make sure streaming has finished before calling the ::stop() vfunc,
9134 since that vfunc might clear state which is being used in the
9135 streaming thread. This fixes a race that caused crashes in
9136 audioresample when shutting down a pipeline (#420106).
9138 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9140 * docs/gst/gstreamer-sections.txt:
9141 That was one byte missing.
9143 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9146 * docs/gst/gstreamer-sections.txt:
9148 * gst/gstconfig.h.in:
9149 * gst/gstobject.c: (gst_object_class_init),
9150 (gst_signal_object_class_init):
9152 2nd attempt to have a xml-less build as a joined effort of #413123
9155 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9157 * docs/design/draft-tagreading.txt:
9158 Added open issues/thoughts to draft.
9160 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9162 * gst/parse/grammar.tab.pre.c:
9163 * gst/parse/grammar.tab.pre.h:
9164 * gst/parse/lex._gst_parse_yy.pre.c:
9165 Update the prebuild parser sources.
9167 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9169 * gst/parse/Makefile.am:
9170 And now fix the building of the flex sources. Now everything should
9173 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9175 * gst/parse/Makefile.am:
9176 Now hopefully fix the build failures by setting proper rule
9177 dependencies and moving instead of copying.
9179 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9181 * tests/benchmarks/complexity.gnuplot:
9182 * tests/benchmarks/complexity.scm:
9183 * tests/benchmarks/mass-elements.gnuplot:
9184 * tests/benchmarks/mass-elements.scm:
9185 Total licensification.
9187 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9189 * gst/parse/Makefile.am:
9190 Fix the build by correcting the rule that gave wrong files to flex.
9192 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9194 * tests/benchmarks/complexity.c:
9195 * tests/benchmarks/mass-elements.c:
9196 Change licence to LGPL as granted by Benjamin and Andy.
9198 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9200 * gst/parse/Makefile.am:
9201 Add correct grammar.tab.h dependency if compiling without new enough
9202 flex. Fixes #431150.
9204 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9206 * gst/parse/Makefile.am:
9207 Fix typo and use outdated sources if the flex/bison sources are newer
9208 than the pregenerated ones but flex is too old. Print a warning in
9209 that case. This should fix the build on the build bot.
9211 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9213 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9214 * gst/parse/Makefile.am:
9215 * gst/parse/grammar.y:
9216 * gst/parse/parse.l:
9217 Make the parser reentrant and recursively callable. This requires flex
9218 >= 2.5.31, for older versions pregenerated sources are used as we
9219 can't bump the build dependency. Finally fixes #349180.
9221 * gst/gstparse.c: (gst_parse_launch):
9222 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9225 * docs/gst/Makefile.am:
9226 * docs/gst/Makefile.am:
9227 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9228 (__gst_parse_strfree), (__gst_parse_link_new),
9229 (__gst_parse_link_free), (__gst_parse_chain_new),
9230 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9231 (gst_parse_element_set), (gst_parse_free_link),
9232 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9233 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9234 (_gst_parse_launch):
9235 * gst/parse/grammar.tab.pre.h:
9236 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9237 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9238 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9239 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9240 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9241 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9242 (_gst_parse_yypop_buffer_state),
9243 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9244 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9245 (yy_fatal_error), (_gst_parse_yyget_extra),
9246 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9247 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9248 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9249 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9250 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9251 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9252 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9253 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9254 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9255 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9256 (_gst_parse_yyfree):
9257 If the installed flex version is too old use pre-generated parser
9258 sources. These pre-generated parser sources are always updated when
9259 the actual flex/bison sources change but require everybody who wants
9260 to change something in the parser to have flex >= 2.5.31 installed.
9262 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9264 * common/m4/gst-gettext.m4:
9265 * gst/gst-i18n-lib.h:
9266 Make --disable-nls to work
9268 2007-04-17 Wim Taymans <wim@fluendo.com>
9270 * gst/gstconfig.h.in:
9271 Revert previous change that broke the build.
9273 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9277 * gst/gstconfig.h.in:
9278 Drop libxml2 dependency when building with
9279 --enable-binary-registry --disable-loadsave
9281 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9283 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9284 (gst_registry_binary_read_cache):
9285 * gst/gstregistrybinary.h:
9286 Remove unnecessary <sys/mman.h> include which broke the win32 build
9287 with MingW; move includes from header file to .c file, even if the
9288 header file isn't installed; use g_strerror() where UTF-8 strings
9289 are expected, such as in GST_DEBUG messages.
9291 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9293 * docs/libs/gstreamer-libs-sections.txt:
9294 Remove bogus addition for API I didn't end up keeping.
9296 * libs/gst/base/gstbasesrc.h:
9297 Mention Since: 0.10.13 in the documentation.
9299 Add the API keyword to the previous ChangeLog entry.
9301 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9303 * docs/libs/gstreamer-libs-sections.txt:
9304 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9305 (gst_base_src_default_prepare_seek_segment),
9306 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9307 * libs/gst/base/gstbasesrc.h:
9308 Allow basesrc derived classes to execute seeks in other formats
9309 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9310 to prepare the GstSegment in any format that their perform_seek method
9311 will be able to understand. The default implementation provides the
9312 old behaviour of attempting to convert the seek offsets to the
9313 configured native format.
9315 API: basesrc::prepare_seek_segment vmethod.
9317 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9319 * gst/gstelement.c: (gst_element_get_state_func):
9320 Don't output the same debug statement twice.
9322 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9323 (gst_adapter_peek), (gst_adapter_take_buffer):
9324 Optimise the case where we have buffers at the head of the queue that
9325 can be joined quickly (because they're contiguous sub-buffers) by
9326 merging them together rather than copying data out into new memory.
9328 * gst/parse/grammar.y:
9329 * tests/check/pipelines/parse-launch.c:
9330 Fix a leak in an error path for parse_launch, and add a check
9331 for it to the testsuite.
9333 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9335 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9336 Don't deadlock when releasing a pad - gst_pad_set_active may try
9337 and take the multiqueue lock too.
9339 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9341 * gst/gsterror.c: (_gst_core_errors_init):
9343 API: add GST_CORE_ERROR_DISABLED (#392804).
9345 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9347 * docs/faq/gst-uninstalled:
9348 don't get empty paths on the PATH variables
9349 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9350 Don't format for the uncommon terminal width of 84 characters.
9352 2007-04-06 Wim Taymans <wim@fluendo.com>
9354 * gst/gstpipeline.c: (reset_stream_time),
9355 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9356 Only try to select a different pipeline clock when we went back to
9357 PAUSED and not when we merely got flushed.
9359 2007-04-05 Michael Smith <msmith@fluendo.com>
9361 * tools/gst-launch.1.in:
9362 fractions are better supported in gstreamer than ractions, so
9363 suggest using those.
9365 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9367 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9371 Added Danish translation.
9373 2007-04-05 Wim Taymans <wim@fluendo.com>
9375 * libs/gst/base/gstbasesink.c:
9376 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9377 Fix leak caused when refusing newsegment after EOS.
9379 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9380 (gst_fake_sink_init), (gst_fake_sink_set_property),
9381 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9382 (gst_fake_sink_render), (gst_fake_sink_change_state):
9383 * plugins/elements/gstfakesink.h:
9384 Add num-buffers property to make the element generate EOS after a
9385 configurable amount of buffers.
9386 API: fakesink::num-buffers property.
9388 * tests/check/elements/fakesink.c: (GST_START_TEST),
9390 Fix GstBus leak in test.
9391 Test for fakesink num-buffers.
9393 2007-04-05 Wim Taymans <wim@fluendo.com>
9395 * libs/gst/base/gstbasesink.c:
9396 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9397 (gst_base_sink_change_state):
9398 Don't accept anything after an EOS, return UNEXPECTED instead.
9400 * tests/check/elements/fakesink.c: (GST_START_TEST),
9402 Unit test for new EOS behaviour.
9404 2007-04-05 Wim Taymans <wim@fluendo.com>
9406 * gst/gstelement.c: (gst_element_get_request_pad):
9407 Make padtemplates also work when they don't contain %s or %d.
9409 2007-04-05 Wim Taymans <wim@fluendo.com>
9411 * docs/gst/gstreamer-sections.txt:
9412 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9413 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9415 Improve _adjust_unlocked() so that it overflows less.
9416 Add gst_clock_unadjust_unlocked to convert from external time to
9417 internal time based on calibration.
9418 Add some more debug.
9419 API: GstClock::gst_clock_unadjust_unlocked()
9421 2007-04-03 Wim Taymans <wim@fluendo.com>
9423 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9425 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9426 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9427 when releasing sink pad. Fixes #425400.
9429 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9431 * docs/random/ensonic/dynlink.txt:
9432 More work on proposal for new core api.
9434 * docs/libs/gstreamer-libs-sections.txt:
9435 * libs/gst/base/gstbasetransform.h:
9436 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9438 * libs/gst/controller/gstcontroller.c:
9439 (on_object_controlled_property_changed),
9440 (gst_controller_sync_values),
9441 (gst_controller_set_interpolation_mode):
9442 * libs/gst/controller/gstcontroller.h:
9443 Less verbose logging add docs for unimplemented parts and correctly
9444 return when using unavailable parts.
9446 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9448 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9449 Move all the debug to the CLOCK category, and associate it with
9452 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9454 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9455 Make take_buffer a bit quicker by removing redundant checks
9456 caused by calling gst_adapter_take.
9458 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9460 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9463 * tests/check/Makefile.am:
9464 * tests/check/elements/.cvsignore:
9465 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9466 (GST_START_TEST), (multiqueue_suite):
9467 Add some dead simple unit tests for the 'multiqueue' element
9468 (some bits don't work yet and are disabled for now).
9470 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9472 * gst/gstelement.c: (gst_element_get_request_pad),
9473 (gst_element_class_get_request_pad_template):
9474 Make gst_element_get_request_pad() create request pads only for
9475 request pad templates and not for, say, sometimes pad templates.
9477 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9479 * docs/design/draft-klass.txt:
9480 Add example that needs more thinking.
9482 * docs/design/draft-missing-plugins.txt:
9483 More thoughts about wrapper plugins.
9485 * docs/random/ensonic/embedded.txt:
9486 * docs/random/ensonic/profiling.txt:
9489 2007-03-25 Wim Taymans <wim@fluendo.com>
9491 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9492 (gst_base_src_loop):
9493 Only push the segment events in the PLAYING state for live sources.
9495 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9497 * gst/gstpipeline.c: (gst_pipeline_change_state):
9498 Modify the clock distribution path in PAUSED->PLAYING so that we
9499 never attempt to choose a new clock unless we're actually leaving
9500 the PAUSED state for the first time. This prevents choosing a
9501 different clock when the state_change gets called for a 2nd time due
9502 to some element doing an async state change.
9504 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9506 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9507 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9508 (gst_pad_chain_unchecked), (gst_pad_push):
9509 Revert last commit. This needs some more thoughts.
9511 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9513 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9514 (gst_pad_chain_unchecked), (gst_pad_push):
9515 Check in set_caps if the caps are compatible with the pad and remove
9516 two functions that are redundant now. Fixes #421543.
9518 2007-03-22 Wim Taymans <wim@fluendo.com>
9520 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9521 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9522 Unref some more to make valgrind happy.
9524 2007-03-22 Wim Taymans <wim@fluendo.com>
9526 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9527 (gst_system_clock_id_wait_jitter),
9528 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9529 Fix anoying regression that survived a few releases. When adding an
9530 async entry while blocking on a sync entry, the sync entry will unblock
9531 but still be busy, so it should continue to wait instead of returning
9533 Add some comments here and there.
9535 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9536 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9537 Add testcase for this.
9539 2007-03-22 Wim Taymans <wim@fluendo.com>
9541 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9542 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9543 WRONG_STATE and can silently pause the task. All other cases should
9546 2007-03-22 Wim Taymans <wim@fluendo.com>
9548 Patch by: Ville Syrjala <syrjala at sci dot fi>
9550 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9551 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9554 2007-03-21 Michael Smith <msmith@fluendo.com>
9556 * docs/pwg/advanced-types.xml:
9557 Fix some errors in the typefinding docs pointed out on irc.
9559 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9561 * libs/gst/base/gstbasesrc.c:
9562 Clarify FIXME comment in the face of having added unlock_stop()
9564 2007-03-21 Wim Taymans <wim@fluendo.com>
9566 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9567 Prepare for release where we warn against possible app breakage in the
9568 case of live pipelines along with an env var to enable/disable live
9569 preroll mode (GST_COMPAT=[no-]live-preroll).
9571 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9573 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9574 So we should use correct constants for checking for None offset.
9576 2007-03-20 Wim Taymans <wim@fluendo.com>
9578 * docs/design/part-block.txt:
9579 Mention the fact that the newly switched element should be set to at
9582 2007-03-20 Wim Taymans <wim@fluendo.com>
9585 Fix compilation with registry disabled as spotted by Saur.
9587 2007-03-20 Wim Taymans <wim@fluendo.com>
9589 Patch by: Olivier Crete <tester at tester dot ca>
9591 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9592 Look at the pending state too when syncing the element state to the
9593 parent. Fixes #420133.
9595 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9597 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9598 (gst_base_sink_change_state):
9599 * libs/gst/base/gstbasesink.h:
9600 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9601 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9602 (gst_base_src_deactivate):
9603 * libs/gst/base/gstbasesrc.h:
9604 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9605 for sub-classes to correctly clear any state they set trying to
9606 unlock, such as clearing out unlock commands from a command fd.
9607 API: basesrc::unlock_stop
9608 API: basesink::unlock_stop
9610 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9611 (gst_fd_sink_render), (gst_fd_sink_unlock),
9612 (gst_fd_sink_unlock_stop):
9613 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9614 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9615 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9617 Implement unlock_stop in fdsrc and fdsink.
9618 Implement seeking in fdsrc when a seekable fd is passed, as in
9619 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9621 2007-03-19 Wim Taymans <wim@fluendo.com>
9623 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9625 * gst/gstelement.c: (gst_element_class_init):
9626 Fix pad-added and pad-removed signal signatures so that the pad type is
9627 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9629 2007-03-19 Wim Taymans <wim@fluendo.com>
9631 * docs/gst/gstreamer-sections.txt:
9632 Add new element field and method.
9634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9635 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9636 (gst_bin_recalc_state), (gst_bin_get_state_func),
9637 (gst_bin_element_set_state), (gst_bin_change_state_func),
9638 (gst_bin_continue_func), (bin_bus_handler),
9639 (bin_push_state_continue), (bin_handle_async_start),
9640 (bin_handle_async_done), (gst_bin_handle_message_func):
9641 Make async state changes a bit smarter by using new ASYNC_START and
9642 ASYNC_DONE messages. This reduces the number of times we run the state
9643 recalculation thread.
9644 Don't change state of element with a pending ASYNC_START message.
9645 Deprecate STATE_DIRTY messages.
9647 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9648 (gst_element_get_state_func), (gst_element_continue_state),
9649 (gst_element_lost_state), (gst_element_set_state_func),
9650 (gst_element_change_state):
9652 Keep the state that was last set by the app in a new element field.
9653 Don't allow state changes when handling an element event.
9654 Post ASYNC_START and ASYNC_DONE messages.
9655 Change lost_state so that we go to PAUSED and wait for the parent to set
9656 us to PLAYING again (so latency calculation can be performed)
9657 Export gst_element_change_state() method so that subclasses can use it.
9658 API: gst_element_change_state()
9659 API: GST_STATE_TARGET
9661 * gst/gstpipeline.c: (gst_pipeline_class_init),
9662 (reset_stream_time), (gst_pipeline_change_state),
9663 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9664 Using the new ASYNC_START message we can reset the base_time when
9665 needed. This can then be used to implement base_time redistribution in
9666 flushing seeks so that we can remove the explicit seek handling.
9667 Perform latency query and configuration when going to PLAYING.
9669 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9670 (gst_base_sink_query), (gst_base_sink_change_state):
9671 Post new ASYNC_START/ASYNC_DONE messages.
9673 * tests/check/generic/sinks.c: (GST_START_TEST):
9674 Fix test because the bin will not set the async element to PLAYING right
9677 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9678 Make the message check a little stronger.
9679 Handle ASYNC messages.
9681 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9682 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9683 Expect ASYNC_DONE messages.
9685 2007-03-19 Wim Taymans <wim@fluendo.com>
9687 * docs/gst/gstreamer-sections.txt:
9688 * gst/gstmessage.c: (gst_message_new_async_start),
9689 (gst_message_new_async_done), (gst_message_parse_info),
9690 (gst_message_parse_async_start):
9692 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9695 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9697 * tools/gst-inspect.c:
9698 (print_plugin_automatic_install_info_codecs):
9699 Now that we don't check for the 'Codec' keyword any longer in the
9700 klass, we shouldn't spew a warning if the klass isn't a decoder or
9701 encoder (since it might be a Source/Network, for example).
9703 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9705 * tools/gst-inspect.c:
9706 (print_plugin_automatic_install_info_codecs):
9707 Don't require decoder/demuxer/depayloader elements or
9708 encoder/muxer/paylader elements to have 'Codec' as part of their
9709 factory class string when introspecting a plugin's capabilities.
9710 draft-klass.txt mentions that it might be removed in future, and
9711 flump3dec doesn't have it as part of its class string, so chances
9712 are others might also not have it.
9714 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9736 Update translations from translation project
9738 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9740 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9741 (gst_child_proxy_set_property):
9742 Invert precondition check to be alike the ones in the mimiced gobject
9745 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9747 * docs/design/draft-tagreading.txt:
9748 * docs/random/ensonic/audiobaseclasses.txt:
9749 Do some Architect work.
9751 * gst/gstobject.c: (gst_object_set_name):
9755 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9757 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9759 * gst/gstsystemclock.c: (gst_system_clock_init),
9760 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9761 Defer starting the async system clock thread until the first async
9762 wait is scheduled. Fixes #414986.
9764 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9766 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9767 (gst_single_queue_free):
9768 Fix small leak (free GstSingleQueue structure too, not only contents).
9770 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9772 * gst/gstbin.c:(gst_bin_add):
9773 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9774 * win32/common/libgstbase.def:
9775 * win32/common/libgstreamer.def:
9776 Add new exported functions.
9778 2007-03-09 Wim Taymans <wim@fluendo.com>
9780 * docs/plugins/gstreamer-plugins-sections.txt:
9783 2007-03-09 Wim Taymans <wim@fluendo.com>
9785 * docs/gst/gstreamer-sections.txt:
9786 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9788 Add metadata copy functions. Fixes #393099.
9789 API: gst_buffer_copy_metadata()
9791 * gst/gstutils.c: (gst_buffer_stamp):
9792 * libs/gst/base/gstbasetransform.c:
9793 (gst_base_transform_prepare_output_buffer):
9794 Use new metadata copy functions.
9796 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9798 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9799 (gst_identity_init), (gst_identity_check_perfect),
9800 (gst_identity_check_imperfect_timestamp),
9801 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9802 (gst_identity_set_property), (gst_identity_get_property):
9803 * plugins/elements/gstidentity.h:
9804 Separate out check-imperfect-timestamp and check-imperfect-offset.
9805 Put back check-perfect as it was to keep compatibility.
9807 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9809 * gst/gstelement.c: (gst_element_dispose):
9810 There's no need to warn if VOID_PENDING is not NONE here, as
9811 long as the state is NULL it's ok, and that's checked immediately
9814 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9816 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9817 Fix check for perfect stream to ignore buffers with -1
9818 offsets/offset ends when checking data contiguity.
9820 2007-03-08 Wim Taymans <wim@fluendo.com>
9822 * tools/gst-launch.c: (event_loop):
9823 Print INFO messages.
9825 2007-03-08 Wim Taymans <wim@fluendo.com>
9827 * libs/gst/base/gstbasetransform.c:
9828 (gst_base_transform_sink_eventfunc),
9829 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9830 (gst_base_transform_activate):
9831 * libs/gst/base/gstbasetransform.h:
9832 Add support for dropping buffers with custom GstFlowReturn.
9833 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9834 buffers or dropped buffers.
9836 * docs/libs/gstreamer-libs-sections.txt:
9837 docs for new custom return code.
9839 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9840 Use drop support in base class to implement drop-probability.
9842 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9844 * gst/gst.c: (load_plugin_func):
9845 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9846 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9847 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9848 Remove newlines at end of debug log strings.
9850 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9852 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9853 Only post bus message at max, once per buffer received.
9855 2007-03-07 Wim Taymans <wim@fluendo.com>
9857 * docs/design/Makefile.am:
9858 * docs/design/part-synchronisation.txt:
9859 Add doc about synchronisation
9861 * docs/design/draft-latency.txt:
9862 * docs/design/part-TODO.txt:
9863 * docs/design/part-clocks.txt:
9864 * docs/design/part-events.txt:
9865 * docs/design/part-gstbus.txt:
9866 * docs/design/part-gstpipeline.txt:
9867 * docs/design/part-live-source.txt:
9868 * docs/design/part-messages.txt:
9869 * docs/design/part-overview.txt:
9870 * docs/design/part-streams.txt:
9871 * docs/design/part-trickmodes.txt:
9872 Documentation updates.
9874 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9877 Update the doap file.
9879 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9881 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9882 Rename non-perfect to imperfect for Mike and for the sanctity of the
9884 Also make sure bus message gets emitted for data-incontiguities.
9886 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9888 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9889 (gst_identity_start):
9890 * plugins/elements/gstidentity.h:
9891 Emit bus message if check-perfect is true and we encounter a
9892 non-perfect stream between 2 consecutive buffers.
9895 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9900 === release 0.10.12 ===
9902 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9905 releasing 0.10.12, "Inevitable Demise"
9907 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9910 Version 0.10.11.2 (0.10.12 pre-release)
9911 Bump libtool versioning.
9913 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9915 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9916 Log flow-names and not numbers.
9918 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9921 Convert to new AG_GST style.
9923 2007-02-28 Wim Taymans <wim@fluendo.com>
9925 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9926 Don't unref query twice.
9928 2007-02-28 Wim Taymans <wim@fluendo.com>
9930 * gst/gstvalue.c: (gst_value_transform_object_string),
9931 (_gst_value_initialize):
9932 Implement GstObject -> string transform so we print object names
9933 when serializing GValues containing GstObjects.
9935 2007-02-28 Wim Taymans <wim@fluendo.com>
9937 * docs/gst/gstreamer-sections.txt:
9938 Add new stuff to docs.
9940 2007-02-28 Wim Taymans <wim@fluendo.com>
9942 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9943 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9944 (gst_base_sink_change_state):
9945 Improve latency query code.
9946 Don't leak latency events.
9948 * tests/check/gst/gstbin.c: (GST_START_TEST):
9951 2007-02-28 Wim Taymans <wim@fluendo.com>
9953 * gst/gstelement.c: (gst_element_message_full),
9954 (gst_element_get_state_func):
9956 Improve docs a little. Added Since: for new macro.
9958 * gst/gstobject.c: (gst_object_sink):
9959 * gst/gstpipeline.c: (gst_pipeline_change_state),
9960 (gst_pipeline_set_new_stream_time):
9961 * gst/gstpipeline.h:
9962 Improve debugging and docs.
9964 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9967 2007-02-28 Wim Taymans <wim@fluendo.com>
9969 * gst/gstelement.c: (gst_element_message_full),
9970 (gst_element_set_locked_state), (gst_element_get_state_func),
9971 (gst_element_change_state):
9972 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9973 Documentation updates.
9974 Small code cleanups.
9976 * gst/gstmessage.c: (gst_message_new_info),
9977 (gst_message_parse_info):
9979 API: gst_message_new_info()
9980 API: gst_message_parse_info()
9981 Add INFO message create and parse code.
9983 2007-02-28 Wim Taymans <wim@fluendo.com>
9985 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9986 (bin_query_latency_done):
9987 Also report the live parameter of a latency query.
9989 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9991 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9992 Copy the current generic/states example from -base and adapt so
9993 we can use the exact same code everywhere.
9994 Check a STATES_IGNORE_ELEMENTS env var which can be used
9995 to ignore certain element factories for this test, which is
9996 what is being done in -base
9997 * tests/check/Makefile.am:
9998 Mention this environment variable.
10000 2007-02-27 Wim Taymans <wim@fluendo.com>
10002 * docs/gst/gstreamer-sections.txt:
10003 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10004 (gst_bus_timed_pop), (gst_bus_pop):
10006 API: gst_bus_timed_pop()
10007 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10008 message to arrive on the bus.
10010 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10012 Two unit tests for new _timed_pop() function.
10014 2007-02-23 Wim Taymans <wim@fluendo.com>
10016 * gst/gstpipeline.c: (gst_pipeline_change_state),
10017 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10018 Don't ref a NULL clock in _provide_clock_func().
10019 Don't allow an INVALID delay.
10020 Don't try to calculate base_time with an invalid start_time.
10021 Also distribute and notify a NULL clock when it was selected.
10023 * tools/gst-launch.c: (event_loop):
10024 Don't crash when a NULL clock was selected in the pipeline.
10026 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10028 * docs/design/Makefile.am:
10029 * docs/design/draft-missing-plugins.txt:
10030 * docs/random/draft-missing-plugins.txt:
10031 Some small updates: update plugin system identifier prefix
10032 ('gstreamer.net' to 'gstreamer'), mention our new install
10033 API in libgstbaseutils rather than libgimme-codec, add
10034 reference to the online docs.
10036 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10038 * win32/common/config.h:
10039 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10040 use moap cl ci to only check in what is mentioned in the ChangeLog.
10042 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10044 * docs/gst/gstreamer-sections.txt:
10045 * gst/gstelement.h:
10046 Fix up documentation to link to the correct GstGError section.
10047 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10049 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10051 * tools/gst-launch.c: (event_loop):
10052 Make sure that we actually show the important message part of a
10054 No need to check if the gerror is not NULL to free; first of all
10055 g_free accepts NULL; and second the default error handler would
10056 segfault if gerror was NULL.
10058 2007-02-21 Wim Taymans <wim@fluendo.com>
10060 * docs/gst/gstreamer-sections.txt:
10061 Removed docs as well.
10063 2007-02-21 Wim Taymans <wim@fluendo.com>
10065 * gst/gstmessage.c: (gst_message_parse_duration):
10066 * gst/gstmessage.h:
10067 Remove new messages for release.
10069 2007-02-20 Wim Taymans <wim@fluendo.com>
10071 * docs/design/part-gstghostpad.txt:
10072 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10073 (gst_ghost_pad_new_full):
10074 Make the ghostpad a parent of the internal pad again for better backward
10075 compatibility. Don't write code that relies on this however.
10077 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10078 (gst_pad_link_check_hierarchy):
10079 Require that parents should be GstElements in the hierarchy check.
10081 2007-02-20 Wim Taymans <wim@fluendo.com>
10083 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10084 (gst_bin_change_state_func), (bin_query_min_max_init),
10085 (bin_query_latency_fold), (bin_query_latency_done),
10087 Improve debug info.
10088 Implement latency query.
10090 2007-02-20 Wim Taymans <wim@fluendo.com>
10092 * docs/design/part-gstghostpad.txt:
10093 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10094 (gst_ghost_pad_internal_do_activate_push),
10095 (gst_ghost_pad_internal_do_activate_pull),
10096 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10097 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10098 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10099 Do not set the internal pad as a parent anymore so we can avoid
10100 hierarchy linking errors when the ghostpad has no parent yet. This also
10101 fixes failed activation because of unlinked internal pads, which in
10102 turn fixes the impossible case where you have to activate a pad before
10103 you can add it to a running element.
10106 * gst/gstpad.c: (pre_activate), (post_activate),
10107 (gst_pad_set_active), (gst_pad_activate_pull),
10108 (gst_pad_activate_push), (gst_pad_check_pull_range):
10109 Add some more debug info.
10110 Mark activation mode in pre_activate so that we don't try to activate in
10111 endless loops. Fixes #385084.
10113 2007-02-19 Wim Taymans <wim@fluendo.com>
10115 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10116 (gst_base_transform_check_get_range):
10117 Implement a checkgetrange function instead of relying on the default
10118 core behaviour that assumes we can operate in pull mode if we have a
10119 getrange function. First step at fixing #385084.
10121 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10123 * gst/gstchildproxy.h:
10124 * libs/gst/base/gstbasesink.h:
10125 * libs/gst/base/gstbasesrc.h:
10126 * libs/gst/base/gstbasetransform.h:
10127 More docs coverage and some ChangeLog surgery (add missing names)
10129 2007-02-15 Wim Taymans <wim@fluendo.com>
10131 * docs/design/part-TODO.txt:
10132 * docs/design/part-activation.txt:
10133 * docs/design/part-block.txt:
10134 * docs/design/part-buffering.txt:
10135 * docs/design/part-clocks.txt:
10136 * docs/design/part-element-source.txt:
10137 * docs/design/part-events.txt:
10138 * docs/design/part-gstbin.txt:
10139 * docs/design/part-gstbus.txt:
10140 * docs/design/part-gstpipeline.txt:
10141 * docs/design/part-live-source.txt:
10142 * docs/design/part-messages.txt:
10143 * docs/design/part-overview.txt:
10144 * docs/design/part-qos.txt:
10145 * docs/design/part-query.txt:
10146 * docs/design/part-states.txt:
10147 * docs/design/part-trickmodes.txt:
10148 Some doc updates. Start renaming from stream_time to running_time where
10149 it was used wrongly.
10151 2007-02-15 Wim Taymans <wim@fluendo.com>
10153 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10154 Answer LATENCY query.
10156 2007-02-15 Wim Taymans <wim@fluendo.com>
10158 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10162 2007-02-15 Wim Taymans <wim@fluendo.com>
10164 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10165 (gst_pad_dispatcher):
10166 Improve debugging of default pad dispatcher and query functions.
10168 2007-02-15 Wim Taymans <wim@fluendo.com>
10170 * docs/gst/gstreamer-sections.txt:
10171 Remove old unused method.
10173 2007-02-13 Wim Taymans <wim@fluendo.com>
10175 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10178 2007-02-13 Wim Taymans <wim@fluendo.com>
10180 * docs/design/part-seeking.txt:
10183 * gst/gstsegment.c: (gst_segment_set_seek):
10184 Revert old bogus change that should make seeking work again.
10186 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10188 * docs/random/ensonic/dynlink.txt:
10189 * docs/random/ensonic/interfaces.txt:
10190 * docs/random/ensonic/receipies.txt:
10191 Possible dynamic reconnection api, plus some type fixes the other two
10194 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10196 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10197 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10198 Also check for an absolute path following file:// in the filesrc
10199 element. Remove redundant check and call g_path_is_absolute() on the
10200 unescaped location.
10202 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10204 * docs/design/draft-klass.txt:
10205 Add existing category analysis.
10208 Fix doc example, framerate is a fraction.
10210 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10213 * docs/gst/Makefile.am:
10214 * docs/gst/gstreamer-sections.txt:
10215 * docs/libs/Makefile.am:
10216 Erm, forgot a bunch of --extra-dir.
10218 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10221 * docs/gst/Makefile.am:
10222 * docs/libs/Makefile.am:
10223 * docs/plugins/Makefile.am:
10224 Add crossreferences to glib/gobject docs.
10226 2007-02-12 Wim Taymans <wim@fluendo.com>
10228 * docs/design/draft-latency.txt:
10231 * docs/libs/gstreamer-libs-sections.txt:
10232 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10233 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10234 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10235 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10236 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10237 (gst_base_sink_get_position), (gst_base_sink_query),
10238 (gst_base_sink_change_state):
10239 * libs/gst/base/gstbasesink.h:
10240 API: gst_base_sink_query_latency() to let subclasses query the upstream
10242 API: gst_base_sink_get_latency() to let subclasses query the configured
10243 latency in the sink.
10244 Implement query and set latency.
10246 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10247 don't continue preroll when we are flushing. Fixes #405284.
10249 * tests/check/pipelines/stress.c: (change_state_timeout),
10250 (quit_timeout), (GST_START_TEST), (stress_suite):
10253 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10255 Patch by: René Stadler <mail at renestadler de>
10257 * docs/gst/gstreamer-sections.txt:
10258 * gst/gsttaglist.c: (_gst_tag_initialize):
10259 * gst/gsttaglist.h:
10260 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10262 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10264 * docs/libs/Makefile.am:
10265 Fix path to core docs.
10267 * gst/gstbin.c: (gst_bin_get_by_interface),
10268 (gst_bin_iterate_all_by_interface):
10269 Refix docs by also renaming 'interface' to 'iface' in implementation.
10271 * docs/gst/gstreamer-sections.txt:
10273 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10274 * gst/gstchildproxy.h:
10275 * gst/gstelementfactory.c:
10276 * gst/gstpadtemplate.h:
10277 * libs/gst/controller/gstcontroller.c:
10278 (gst_controlled_property_new):
10281 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10283 * gst/gstbin.h:(gst_bin_get_by_interface),
10284 (gst_bin_iterate_all_by_interface):
10285 Replace interface parameter name by iface as interface is
10286 a reserved keyword in Visual Studio for C++ projects so it removes
10287 a build error for application developpers using VS.
10288 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10289 Fix a bug on Windows in uri format check. Now the prefix checked
10290 is file:// and next we check if the path after file:// is absolute.
10291 * win32/common/libgstbase.def:
10292 * win32/common/libgstdataprotocol.def:
10293 * win32/common/libgstgstreamer.def:
10294 Add new exported functions.
10296 2007-02-09 Andy Wingo <wingo@pobox.com>
10298 * tests/check/pipelines/simple-launch-lines.c
10299 (simple_launch_lines_suite, test_tee): Disable tee test until I
10300 have time to fix it :-(
10302 * tests/check/Makefile.am (noinst_HEADERS):
10303 * tests/check/libs/libsabi.c:
10304 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10305 * tests/check/gst/gstabi.c:
10306 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10308 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10309 tests for push and pull tee behavior.
10311 * plugins/elements/gsttee.h:
10312 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10313 mark as deprecated as well as unimplemented. It was a crack idea.
10314 Add support for tee operating in pull mode, off by default.
10316 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10317 normal-case logs down to LOG, raise errors to WARNING.
10318 (gst_registry_xml_read_cache): Don't log before calling a function
10321 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10322 exit (registry finalize).
10323 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10324 DEBUG log when we emit signals that people don't even have the
10325 chance to connect to.
10326 (gst_registry_scan_path_level): Less logging in the normal case.
10328 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10330 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10332 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10333 Correctly generate EOS for non-seekable files. We don't have a total
10334 length for them and would get an unexpected end of file if we only
10335 special-cased for regular files. (Fixes: #404569)
10337 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10339 * tests/check/elements/filesrc.c: (GST_START_TEST),
10341 Add unit test for the GstURIHandler interface in filesrc. This also
10342 tests the newly added file://localhost/foo/bar support.
10344 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10346 * gst/gstelementfactory.h:
10347 The klass string is not a hierarchy. Add reference to the design doc
10348 for more information and common types.
10350 2007-02-02 Wim Taymans <wim@fluendo.com>
10352 * gst/gstquery.c: (gst_query_new_latency):
10353 Remove old structure field.
10355 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10357 * tools/gst-launch.1.in:
10358 Give example for network streaming (#351998)
10360 2007-02-02 Wim Taymans <wim@fluendo.com>
10362 * docs/gst/gstreamer-sections.txt:
10363 Add docs for new methods.
10365 * gst/gstevent.c: (gst_event_new_latency),
10366 (gst_event_parse_latency):
10368 Add new LATENCY event to configure latency in a pipeline.
10369 API: gst_event_new_latency
10370 API: gst_event_parse_latency
10372 * gst/gstmessage.c: (gst_message_new_buffering),
10373 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10374 (gst_message_new_latency), (gst_message_parse_buffering),
10375 (gst_message_parse_lost_preroll):
10376 * gst/gstmessage.h:
10377 Added messages used in draft-latency.
10378 API: gst_message_new_lost_preroll
10379 API: gst_message_parse_lost_preroll
10380 API: gst_message_new_prerolled
10381 API: gst_message_new_latency
10383 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10384 (gst_query_parse_latency):
10386 Implemented new latency query as in design doc.
10387 API: gst_query_new_latency
10388 API: gst_query_set_latency
10389 API: gst_query_parse_latency
10391 2007-02-02 Wim Taymans <wim@fluendo.com>
10393 * docs/design/draft-latency.txt:
10394 Slight redesign to allow for dynamic latency adjustments.
10396 * docs/design/part-negotiation.txt:
10399 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10401 reviewed by: Wim Taymans <wim@fluendo.com>
10403 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10404 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10405 Allow file://localhost/foo/bar URLs and correctly fail for every other
10406 hostname that one sets. This was gnomevfssrc is linked for those if
10407 installed as it can handle it (#403172)
10409 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10411 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10414 (unref_data), (gst_collect_pads_add_pad_full):
10415 * libs/gst/base/gstcollectpads.h:
10416 Don't put the previously added destroy notify in the GstCollectData
10417 struct as all it's padding is already used and we don't want to break
10418 ABI. Instead put in the pad's GObject data for now. This should be
10419 cleaned up for 0.11 (#402393).
10421 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10423 reviewed by: Wim Taymans <wim@fluendo.com>
10425 * docs/libs/gstreamer-libs-sections.txt:
10426 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10427 (unref_data), (gst_collect_pads_add_pad),
10428 (gst_collect_pads_add_pad_full):
10429 * libs/gst/base/gstcollectpads.h:
10430 API: Add function to specify a destroy notification for custom
10431 GstCollectData when adding new pads in GstCollectPads (#402393).
10433 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10436 Update Swedish translation (#378255).
10438 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10440 * docs/design/draft-klass.txt:
10441 Fix the previous change, this is a list of categories and not a hierarchy.
10443 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10445 * docs/design/draft-klass.txt:
10446 Add info about how to get a list of used classes.
10448 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10450 * plugins/elements/gsttypefindelement.c:
10451 (gst_type_find_element_chain_do_typefinding),
10452 (gst_type_find_element_change_state):
10453 Don't leak found caps in chain function (no idea why that never
10454 showed up as a leak anywhere).
10456 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10459 Fix and expand GstPluginDesc API docs.
10461 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10464 * gst/gstelementfactory.c:
10465 * gst/gstpadtemplate.h:
10468 * libs/gst/controller/gstcontroller.c:
10469 (gst_controlled_property_new):
10470 * tests/examples/controller/audio-example.c:
10473 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10476 comment about refining the xml deps
10478 * docs/manuals.mak:
10479 comments about moving away from jade for docs
10482 recommit the ifdefs to use the binary registry
10484 * gst/gstbin.c: (gst_bin_change_state_func):
10485 this break is obsolete
10487 * gst/gstelementfactory.h:
10488 better GST_ELEMENT_DETAILS docs, add comment about translation
10493 * gst/gstobject.c: (gst_signal_object_get_type):
10494 add G_UNLIKELY as usual
10496 * gst/gstpad.c: (gst_pad_event_default):
10497 add fall trhu comment
10499 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10500 (gst_registry_binary_initialize_magic),
10501 (gst_registry_binary_save_string),
10502 (gst_registry_binary_save_pad_template),
10503 (gst_registry_binary_save_feature),
10504 (gst_registry_binary_save_plugin),
10505 (gst_registry_binary_write_cache),
10506 (gst_registry_binary_check_magic),
10507 (gst_registry_binary_load_pad_template),
10508 (gst_registry_binary_load_feature),
10509 (gst_registry_binary_load_plugin),
10510 (gst_registry_binary_read_cache):
10511 comment typo and formatting
10513 * gst/gstutils.c: (gst_element_state_get_name),
10514 (gst_element_state_change_return_get_name):
10515 remove obsolete breaks
10517 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10518 add FIXME 0.11 and remove cpp comment
10520 2007-01-29 Edward Hervey <edward@fluendo.com>
10522 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10523 Fix print statement in an even more portable way.
10525 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10527 * docs/gst/gstreamer-sections.txt:
10529 API: add GST_ROUND_DOWN_* macros (#401781).
10531 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10533 * docs/gst/gstreamer.types.in:
10534 * gst/gstregistry.c: (gst_registry_class_init):
10535 Document registry signals and make gtk-doc pick them up (#401381).
10537 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10539 * docs/pwg/building-testapp.xml:
10540 Add some audioconverts and audioresample to the pipeline, and some
10541 more comments and error handling.
10543 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10545 * docs/manual/manual.xml:
10546 * docs/pwg/pwg.xml:
10547 Fix typo (#400987).
10549 2007-01-26 Wim Taymans <wim@fluendo.com>
10551 * gst/gstcaps.c: (gst_static_caps_get):
10552 Init caps flags too.
10554 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10556 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10558 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10559 If not using mmap'ed files try to seek to the end instead of the
10560 start to determine whether we can seek at all. This fixes the case
10561 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10562 seeks for everything afterwards fail. Fixes #400656
10564 2007-01-25 Wim Taymans <wim@fluendo.com>
10566 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10567 Add some refcount debugging.
10568 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10569 in multiple streaming threads.
10571 2007-01-25 Wim Taymans <wim@fluendo.com>
10573 Patch by: David Schleef <ds at schleef dot org>
10575 * docs/libs/gstreamer-libs-sections.txt:
10576 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10577 * libs/gst/base/gstadapter.h:
10578 API: gst_adapter_copy() that can reduce the amount of memcpy when
10579 getting data from the adapter. Fixes #388201.
10581 2007-01-25 Edward Hervey <edward@fluendo.com>
10583 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10584 In print statements, "%x" is for guint. Fixes build on macosx.
10586 2007-01-24 Edward Hervey <edward@fluendo.com>
10588 * plugins/elements/gstmultiqueue.c:
10589 (gst_multi_queue_loop):
10591 (single_queue_overrun_cb), (single_queue_underrun_cb),
10592 (single_queue_check_full), (gst_single_queue_new):
10593 Implement single queue growth system.
10594 This uses the extra-size properties, and will grow single queues by
10595 that much if one goes full whereas there are others empty. This is
10596 called extra-mode in the code.
10597 When a single queue's levels go back below the initial max-size
10598 limits, it is no longer in extra-mode. This is to ensure we don't
10599 consume too much memory.
10602 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10604 * gst/gst.c: (gst_init_get_option_group):
10605 Make warning about late g_thread_init() calls a bit more explicit,
10606 so that it's more obvious to application developers what they need
10607 to do if a user files a bug against their application.
10609 2007-01-22 Edward Hervey <edward@fluendo.com>
10611 * plugins/elements/gstmultiqueue.c:
10612 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10613 Remove previous hack of unsetting the flushing flag for the source pad
10614 instead of activating it. Instead, fix the source pad activate function
10615 so that it no longer depends on having a parent set or not.
10617 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10619 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10621 * docs/manual/basics-bus.xml:
10622 Fix example code, gst_element_unref() doesn't exist any longer.
10624 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10626 Patch by: Mark Nauwelaerts <manauw at skynet be>
10629 Fix two docs typoes (#399094).
10631 2007-01-19 Edward Hervey <edward@fluendo.com>
10633 * docs/faq/gst-uninstalled:
10634 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10635 depending on libgstbaseutils can work in uninstalled environment.
10637 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10639 * gst/gsttaglist.h:
10640 * gst/gsttagsetter.c:
10641 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10642 statement for new tag.
10644 2007-01-17 Edward Hervey <edward@fluendo.com>
10646 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10647 When dynamically creating single queues, activate sinkpad before adding
10649 We should be doing the same thing for the source pad, but we can't
10650 since it would call a method which needs the parent to be set in order
10651 to work propertly. Instead of activating the source pad, we just unset
10652 the flushing flag, which is the minimal requirement for adding a pad
10653 to an element in a state greater than READY.
10655 2007-01-17 Edward Hervey <edward@fluendo.com>
10657 * docs/faq/gst-uninstalled:
10658 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10661 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10663 * tests/check/gst/gstabi.c:
10664 * tests/check/gst/struct_hppa.h:
10665 * tests/check/libs/libsabi.c:
10666 * tests/check/libs/struct_hppa.h:
10667 Add ABI structs for HPPA (see #393796).
10669 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10671 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10672 Actually write ABI structs to the file specified in the GST_ABI
10673 environment variable, as the message we print claims we would.
10675 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10677 * tests/check/gst/gsttask.c:
10678 Fix header comment.
10680 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10682 * gst/gsttaglist.c: (_gst_tag_initialize):
10683 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10684 previous two entries.
10686 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10688 * docs/gst/gstreamer-sections.txt:
10689 * gst/gsttaglist.c: (_gst_tag_initialize):
10690 * gst/gsttaglist.h:
10691 Add tag support for beat-per-minute.
10693 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10695 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10696 (gst_registry_binary_initialize_magic),
10697 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10698 (gst_registry_binary_save_pad_template),
10699 (gst_registry_binary_save_feature),
10700 (gst_registry_binary_save_plugin),
10701 (gst_registry_binary_write_cache),
10702 (gst_registry_binary_check_magic),
10703 (gst_registry_binary_load_pad_template),
10704 (gst_registry_binary_load_feature),
10705 (gst_registry_binary_load_plugin),
10706 (gst_registry_binary_read_cache):
10707 * gst/gstregistrybinary.h:
10708 Use glib types, cleanup comments, impement interfaces and uri-types.
10710 2007-01-13 Andy Wingo <wingo@pobox.com>
10712 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10713 getrange() to return buffers with other caps, while we fix
10714 demuxers and typefind, or otherwise change part-negotiation.txt.
10716 2007-01-12 Andy Wingo <wingo@pobox.com>
10718 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10719 Factor start/stop into this private function instead of partially
10720 in activate functions and partially in the change_state function.
10721 Fixes setup before the element has changed from READY->PAUSED, as
10722 is the case in pull-mode pipelines.
10723 (gst_base_transform_sink_activate_push)
10724 (gst_base_transform_src_activate_pull): Refactor to use
10725 gst_base_transform_activate().
10726 (gst_base_transform_change_state): Removed, not needed any more.
10728 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10729 Truncate before fixating.
10731 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10732 Don't set_caps() if the result of fixating is ANY, as it's not
10733 supported, and not necessary in the case of a link with no
10734 template caps on either side. Fixes tests/check/libs/basesrc in
10735 some pull-mode tests.
10737 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10738 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10739 (gst_base_transform_src_activate_pull):
10740 Track the activation mode.
10741 (gst_base_transform_setcaps): In pull mode, when activating the
10742 src pad, after activating the sink pad, activate the sink pad's
10743 peer, as discussed in part-negotiation.txt.
10745 * libs/gst/base/gstbasesrc.h:
10746 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10747 vmethod, as in basesink.
10749 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10751 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10752 mode, first proxy the setcaps to the peer pad.
10753 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10754 new fixate vmethod.
10755 (gst_base_sink_default_activate_pull): Rename from
10756 gst_base_sink_activate_pull.
10757 (gst_base_sink_negotiate_pull): New function, performs negotiation
10758 in pull mode before calling ::activate_pull().
10759 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10760 vmethod instead of the default implementation. I have no idea how
10761 this worked before. Negotiate before calling activate_pull.
10763 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10764 sink pads in pull mode. In addition to being correct, fixes
10765 filesrc ! decodebin ! identity ! fakesink.
10766 (gst_pad_get_range, gst_pad_pull_range): Don't call
10767 gst_pad_set_caps() if the caps changes; instead error out with
10768 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10770 2007-01-12 Andy Wingo <wingo@pobox.com>
10772 * docs/design/part-negotiation.txt: Update with more policy.
10774 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10776 * libs/gst/check/gstbufferstraw.h:
10777 * libs/gst/check/gstcheck.h:
10778 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10781 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10783 * tests/check/Makefile.am:
10784 * tests/check/gst/.cvsignore:
10785 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10786 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10787 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10788 (GST_START_TEST), (gst_tag_setter_suite):
10789 Add minimal unit test for beforementioned GstTagSetter bug.
10791 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10793 Patch by: René Stadler <mail at renestadler dot de>
10795 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10796 gst_tag_list_merge() returns a new list, so it's not the best idea
10797 to ingore its return value. Effectively meant that tags could only
10798 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10799 Also add function guard to require a non-NULL taglist as input (has
10800 always been so due to gst_tag_list_copy(), just making it explicit).
10802 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10804 * docs/random/draft-missing-plugins.txt:
10805 Some additions: mention new API that is supposed to be used at the
10806 various stages; short blob about new gst-inspect introspection
10807 option; mention potential future problem with plugins that have
10808 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10810 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10812 * tools/gst-inspect.c:
10813 (print_plugin_automatic_install_info_codecs),
10814 (print_plugin_automatic_install_info_protocols),
10815 (print_plugin_automatic_install_info), (main):
10816 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10817 introspect plugin files and get machine-parsable output that corresponds
10818 to the last bit of the missing-plugin installer string (small gotcha:
10819 doesn't take into account ranks).
10821 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10824 * docs/gst/gstreamer-sections.txt:
10826 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10827 (gst_registry_lookup_locked):
10828 * gst/gstregistry.h:
10829 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10830 (gst_registry_binary_initialize_magic),
10831 (gst_registry_binary_save_string),
10832 (gst_registry_binary_save_pad_template),
10833 (gst_registry_binary_save_feature),
10834 (gst_registry_binary_save_plugin),
10835 (gst_registry_binary_write_cache),
10836 (gst_registry_binary_check_magic),
10837 (gst_registry_binary_load_pad_template),
10838 (gst_registry_binary_load_feature),
10839 (gst_registry_binary_load_plugin),
10840 (gst_registry_binary_read_cache):
10841 * gst/gstregistrybinary.h:
10842 * gst/gstregistryxml.c: (load_feature),
10843 (gst_registry_xml_read_cache):
10844 commit binary registry (disabled by default, see #359653)
10846 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10848 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10849 Fix 'make check' too.
10851 2007-01-10 Andy Wingo <wingo@pobox.com>
10853 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10856 * docs/design/part-negotiation.txt: Update with, um, one way that
10857 pull-mode negotiation might work?
10860 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10861 that the pad must be a src pad; makes sense to call it the other
10862 way in pull mode, and the logic is symmetric anyway.
10864 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10866 * plugins/elements/gstfilesink.c:
10867 Include <stdio.h> for fseeko().
10869 2007-01-10 Wim Taymans <wim@fluendo.com>
10873 Reserve LATENCY event.
10875 2007-01-09 Wim Taymans <wim@fluendo.com>
10877 * docs/design/draft-latency.txt:
10880 2007-01-09 Wim Taymans <wim@fluendo.com>
10882 * docs/design/draft-latency.txt:
10885 * gst/gstelement.h:
10886 * gst/gststructure.c:
10890 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10892 * tests/check/.cvsignore:
10893 Ignore test-registry.xml as well.
10895 2007-01-09 Wim Taymans <wim@fluendo.com>
10897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10898 unref data at the end when we are done with the pad.
10900 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10902 * docs/gst/gstreamer-sections.txt:
10903 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10904 (init_post), (gst_deinit), (gst_update_registry):
10906 API: add gst_update_registry() (#391296).
10908 * tests/check/Makefile.am:
10909 * tests/check/gst/gstregistry.c:
10910 * tests/check/gst/.cvsignore:
10911 Simple unit test for the above.
10913 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10915 * gst/gstregistry.c: (gst_registry_scan_path_level):
10916 Plugin extension on HP-UX is .sl, add that to the list of approved
10917 plugin extensions (see #393796).
10919 * tests/check/gst/gstpad.c: (GST_START_TEST):
10920 ulong => gulong. Fixes compilation with HP-UX compiler.
10922 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10923 Fix compilation if valgrind headers are not available.
10925 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10927 * win32/common/libgstreamer.def:
10928 Add new exported function.
10929 * win32/vs6/libgstbase.dsp:
10930 Add gstdataqueue.c to the build.
10931 * win32/vs6/libgstcoreelements.dsp:
10932 Add gstmultiqueue.c to the build.
10934 2007-01-06 Andy Wingo <wingo@pobox.com>
10936 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10937 activate_pull(), providing for a way to specialize the process of
10938 spawning a thread to pull on the sink pad. There is a default
10941 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10942 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10943 (gst_base_sink_init): Renamed pad activation functions (inserting
10944 "_pad" in their names). Refactor to use the new activate_pull
10945 vmethod, as appropriate.
10946 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10947 default activate_pull function to start a task pulling from the
10948 sink pad, as before.
10950 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10951 on the pads if necessary, as in push()/chain(). Update docs.
10952 Shouldn't affect existing pull() usage as it is currently only
10953 being used on buffers without caps.
10955 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10957 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10959 Call g_thread_init() first thing in gst_init() / gst_check_init().
10960 When initialisation is done via gst_init_get_option_group() and
10961 GOption parsing, issue a warning if the GLib thread system has not
10962 been initialised yet by the time gst_init_get_option_group() is
10963 called, as it's quite likely other GLib functions such as
10964 g_option_context_new() have been called already then, and
10965 g_thread_init() must be called before any other GLib function. The
10966 application in question must be fixed in that case, since memory
10967 corruption might happen otherwise.
10968 We issue the warning because even if the GLib folks decide to work
10969 around the problem on their end in future, this is still an issue
10970 with all GLib versions >= 2.10.0, so we should warn until we depend
10971 on a GLib version we know to be safe.
10972 Update documentation as well.
10973 Closes bug #391278.
10975 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10977 * tools/gst-inspect.c: (main):
10978 * tools/gst-launch.c: (main):
10979 * tools/gst-typefind.c: (main):
10980 * tools/gst-xmlinspect.c: (main):
10981 Call g_thread_init() really really early, before any other GLib
10982 function (see #342564 and recent discussion on gtk-devel-list).
10984 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10986 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10988 * gst/gst_private.h:
10989 * gst/gstconfig.h.in:
10991 On win32, all the __declspec stuff for symbol exporting is
10992 apparently only needed with MSVC, but doesn't work with MingW.
10993 Fixes compilation with MingW and #391909.
10995 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10997 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10998 Change some GST_ERROR_OBJECT that aren't really errors to
10999 GST_WARNING_OBJECT in order to reduce terminal spam.
11001 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11003 * tests/check/Makefile.am:
11004 disable test again, as there seem to be still race problems
11006 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11008 * tests/check/Makefile.am:
11009 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11010 (GST_START_TEST), (queue_suite):
11011 enable queue test again, add tests for the leaky behaviour
11013 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11016 * tests/examples/Makefile.am:
11017 Compile adapter test/example only if the required headers are
11018 available (fixes #391915).
11020 2007-01-01 David Schleef <ds@schleef.org>
11023 Restore the previous signal handler for SIGSEGV instead of
11024 setting to default, since we may have stolen it away from
11025 someone. (i.e., Mono)
11027 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11029 * docs/random/draft-missing-plugins.txt:
11030 Some small additions and clarifications.
11032 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11034 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11035 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11036 since that can lead to random memory corruptions and crashes
11037 (may or may not be related to #383244, #386711, and #386711).
11039 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11041 * tests/check/.cvsignore:
11042 * tests/check/Makefile.am:
11043 sync .cvsignome and CLEANFILES
11045 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11047 * tests/check/Makefile.am:
11050 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11052 * docs/design/part-states.txt:
11053 two tiny additional comments
11055 * gst/gststructure.c:
11058 * tests/check/Makefile.am:
11059 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11061 disable test for now, unless it gets fixed
11063 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11065 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11067 fix race in underrun test
11069 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11071 * tests/check/elements/.cvsignore:
11074 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11076 try to narrow test failure
11078 2006-12-21 David Schleef <ds@schleef.org>
11080 * plugins/elements/gstfakesrc.c:
11081 Use g_random_int_range(), since it produces better random
11082 numbers in a range than almost-correct floating point code.
11084 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11086 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11087 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11088 (gst_check_teardown_sink_pad):
11089 do not automatically (de)activate pads
11091 * tests/check/Makefile.am:
11092 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11093 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11094 add new, yet simple tests for queue
11096 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11097 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11098 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11100 * tests/check/elements/identity.c: (cleanup_identity):
11101 consistent pad (de)activation
11103 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11105 Patch by: Sebastian Dröge <slomo ubuntu com>
11107 * libs/gst/base/gstcollectpads.c:
11108 Fix two doc typos (#387866).
11110 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11112 * docs/manual/advanced-dparams.xml:
11113 Fix typo (g_object_control_properties() doesn't exist).
11115 2006-12-19 Edward Hervey <edward@fluendo.com>
11117 * gst/gstsegment.c: (gst_segment_set_seek):
11118 Fine tune the cases where the segment start/stop values are really
11120 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11121 Add tests for the return values of gst_segment_set_seek().
11123 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11128 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11130 Fix incorrect documentation and flesh it out a bit more.
11131 Set default values for the max properties on the GParamSpec as well,
11132 so it shows up correctly in gst-inspect.
11134 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11136 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11137 Correct docs of queue, add more detail and crosslink it more.
11139 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11141 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11142 Print additional debug info when the stream isn't perfectly
11143 timestamped; don't try to use invalid durations.
11145 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11147 * docs/design/Makefile.am:
11148 Dist new design docs.
11150 2006-12-16 Wim Taymans <wim@fluendo.com>
11152 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11154 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11155 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11156 (gst_collect_pads_stop), (gst_collect_pads_event),
11157 (gst_collect_pads_chain):
11158 * libs/gst/base/gstcollectpads.h:
11159 Add refcounting to the collectpads data so we can track when it's safe
11160 to free the data. Fixes #383382.
11162 2006-12-15 Wim Taymans <wim@fluendo.com>
11164 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11165 (gst_collect_pads_remove_pad):
11166 Automatically activate/deactivate pads when they are added to a
11167 started/stoped collectpads.
11169 2006-12-15 Wim Taymans <wim@fluendo.com>
11171 * gst/gstelement.c: (gst_element_add_pad):
11172 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11173 * gst/gstpad.c: (gst_pad_init):
11174 Set pads to FLUSHING when they are created. Check, warn and fix when a
11175 demuxer adds an inactive pad to itself when running. Fixes #339326.
11177 2006-12-15 Wim Taymans <wim@fluendo.com>
11179 * gst/gstelement.c: (gst_element_class_init),
11180 (gst_element_default_send_event), (gst_element_send_event),
11181 (gst_element_default_query), (gst_element_query):
11182 Expose default element send_event and query handling as vmethods that
11183 subclasses can chain up to.
11185 2006-12-15 Wim Taymans <wim@fluendo.com>
11187 * gst/gstelement.c: (gst_element_set_state_func):
11188 Small documentation fixes.
11190 2006-12-15 Wim Taymans <wim@fluendo.com>
11192 * docs/design/draft-latency.txt:
11193 Checked in draft for handling latency in pipelines.
11195 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11199 * gstreamer.spec.in:
11202 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11204 * gst/gst.c: (init_pre), (init_post):
11205 init_pre() and init_post() might be called via our GOptionGroup or
11206 from gst_init(), and we should skip both of them if we've already
11207 been initialised, otherwise we will init some things twice or add
11208 two default log functions.
11210 2006-12-13 Edward Hervey <edward@fluendo.com>
11212 * docs/manual/basics-bus.xml:
11213 No, gst_main_loop does not exist. Its g_main_loop.
11214 Discovered by somebody who abused the copy-paste technique of coding :)
11216 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11218 * gst/gstghostpad.c:
11219 Log ghostpad debug stuff to the GST_PADS category as well rather
11220 than just to the default category.
11222 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11225 * gst/gst.c: (init_pre):
11226 Add some basic system details such as OS and architecture
11227 to the debug output if possible, courtesy of uname().
11229 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11231 * docs/gst/running.xml:
11232 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11233 environment variables.
11235 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11237 * tests/check/gst/gstbin.c: (GST_START_TEST):
11238 It is acceptable to have a refcount of 2 or 3 at this point in the
11239 test, because the pipeline might be just posting its state_change
11240 message. The next line then waits for that message to appear using
11241 bus_poll, so that should be fine too.
11243 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11245 * gst/gst.c: (ensure_current_registry_forking):
11246 Ignore EINTR when reading from the child registry pipe.
11247 Explicitly ignore the return value from close, since it makes no
11250 * gst/gstminiobject.c: (gst_mini_object_ref),
11251 (gst_mini_object_unref):
11252 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11254 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11255 When removing cached plugins, remove their features too, so they're
11256 not visible after they've disappeared.
11258 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11259 In the unlikely case that we are linking pads with no parents, don't
11260 crash trying to get the non-existent parent bin.
11262 * gst/parse/grammar.y:
11263 Output debug in the PIPELINE category
11265 2005-03-08 Wim Taymans <wim@fluendo.com>
11267 Patch by: René Stadler <mail at renestadler dot de>
11269 * gst/gstclock.c: (gst_clock_new_periodic_id):
11270 Reject invalid clock times for interval of periodic ids.
11273 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11275 * gst/gstelementfactory.c: (gst_element_factory_create):
11276 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11277 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11278 * tools/gst-inspect.c: (print_element_info):
11279 Fix refcounting of gst_plugin_feature_load to match the docs.
11282 2006-12-07 Wim Taymans <wim@fluendo.com>
11284 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11285 (gst_base_sink_get_position):
11286 Improve debugging of events.
11288 2006-12-07 Wim Taymans <wim@fluendo.com>
11290 Patch by: René Stadler <mail at renestadler dot de>
11292 * gst/gstclock.c: (gst_clock_id_wait):
11293 Make period ids add the interval to the origial requested time instead
11294 of the possibly updated time which can be wrong when there are multiple
11295 waiters for the same id. Fixes #382592.
11297 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11298 (gst_system_clock_id_wait_jitter_unlocked),
11299 (gst_system_clock_id_wait_jitter):
11300 Fix restart in the async notify thread when an async entry is added to
11301 the front of the list. Fixes #381492.
11303 * tests/check/gst/gstsystemclock.c: (store_callback),
11304 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11305 Added test for multiple async waits.
11306 Added test for async wait order.
11308 2006-12-07 Wim Taymans <wim@fluendo.com>
11310 * gst/gstbin.c: (gst_bin_query):
11311 Add some more docs about the POSITION query.
11313 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11316 Bump version nano - back to CVS.
11318 === release 0.10.11 ===
11320 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11323 releasing 0.10.11, "Love never runs on time"
11325 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11327 * win32/common/libgstbase.def:
11328 * win32/common/libgstreamer.def:
11329 * win32/vs8/libgstbase.vcproj:
11330 * win32/vs8/libgstcoreelements.vcproj:
11331 * win32/vs8/libgstreamer.vcproj:
11332 Fix compilation on win32 under VS8
11333 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11334 Partially fixes #381175
11336 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11338 * gst/gstvalue.c: (gst_value_compare_fraction):
11339 If someone is foolish enough to compare 2 fractions with denominator =
11340 0, return UNORDERED rather than aborting.
11342 2006-11-28 Edward Hervey <edward@fluendo.com>
11344 * libs/gst/base/Makefile.am:
11345 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11346 (gst_data_queue_base_init), (gst_data_queue_class_init),
11347 (gst_data_queue_init), (gst_data_queue_new),
11348 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11349 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11350 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11351 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11352 (gst_data_queue_set_flushing), (gst_data_queue_push),
11353 (gst_data_queue_pop), (gst_data_queue_drop_head),
11354 (gst_data_queue_set_property), (gst_data_queue_get_property):
11355 * libs/gst/base/gstdataqueue.h:
11356 New GstDataQueue object for threadsafe queueing. Most useful for
11357 elements that need some queueing functionnality.
11358 * docs/libs/gstreamer-libs-docs.sgml:
11359 * docs/libs/gstreamer-libs-sections.txt:
11360 Insert documentation for GstDataQueue
11361 * plugins/elements/Makefile.am:
11362 * plugins/elements/gstelements.c:
11363 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11364 (gst_multi_queue_class_init), (gst_multi_queue_init),
11365 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11366 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11367 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11368 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11369 (gst_multi_queue_loop), (gst_multi_queue_chain),
11370 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11371 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11372 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11373 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11374 (wake_up_next_non_linked), (compute_next_non_linked),
11375 (single_queue_overrun_cb), (single_queue_underrun_cb),
11376 (single_queue_check_full), (gst_single_queue_new):
11377 * plugins/elements/gstmultiqueue.h:
11378 New multiqueue element, using GstDataQueue. Used for queuing multiple
11380 Closes #344639 and #347785
11382 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11384 * docs/pwg/advanced-types.xml:
11385 add more missing type details
11387 * tools/gst-run.c: (main):
11388 remove unused variable
11390 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11392 * docs/libs/Makefile.am:
11393 * docs/libs/gstreamer-libs.types:
11394 add types of base classes to enable gobject specific stuff in the docs
11396 * docs/random/ensonic/embedded.txt:
11397 more ideas about isolating platform specific things
11399 2006-11-20 Wim Taymans <wim@fluendo.com>
11401 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11403 * libs/gst/check/gstcheck.h:
11404 Fix compilation and running against 0.9.4. Fixes #377332.
11406 2006-11-20 Wim Taymans <wim@fluendo.com>
11408 * gst/gstsegment.c: (gst_segment_set_seek),
11409 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11410 (gst_segment_to_running_time):
11411 Fix boundary checking in to_running_time() and to_stream_time().
11414 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11415 stream and running time can now be calculated for the complete
11418 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11420 * gst/gstpad.c: (gst_pad_push_event):
11421 Can't access event structure after giving away ownership of
11424 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11426 * docs/random/ensonic/embedded.txt:
11427 * docs/random/ensonic/profiling.txt:
11428 * docs/random/ensonic/receipies.txt:
11431 2006-11-13 Wim Taymans <wim@fluendo.com>
11433 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11436 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11438 2006-11-13 Wim Taymans <wim@fluendo.com>
11440 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11442 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11443 Store new length in segment duration so we don't keep on calling the
11444 potentially expensize get_size() call. Fixes #370865.
11446 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11448 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11450 * win32/common/libgstreamer.def:
11451 Add two missing symbols (#366492).
11453 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11455 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11456 (gst_adapter_take_buffer):
11457 Fix format string to use all its arguments.
11458 Remove useless >= check on a guint
11460 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11462 * tests/examples/adapter/.cvsignore:
11463 Ignore build file as commanded by the build-bot
11465 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11467 * tests/examples/adapter/Makefile.am:
11468 * tests/examples/adapter/adapter_test.c: (run_test_take),
11469 (run_test_take_buffer), (run_tests), (main):
11471 Add new files from the previous commit
11473 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11477 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11478 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11479 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11480 * libs/gst/base/gstadapter.h:
11481 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11482 (GST_START_TEST), (gst_adapter_suite):
11483 * tests/examples/Makefile.am:
11484 Do some optimisation work in GstAdapter to avoid copies in more cases.
11485 It could still do slightly better by merging buffers when
11486 gst_buffer_is_span_fast is true, but is already faster.
11488 Also, avoid traversing a single-linked list to append each incoming
11489 buffer inside the adapter.
11491 Add simple test app that times the adapter behaviour in different
11492 situations, and extend the unit test to check that bytes enter and
11493 exit the adapter in their original order.
11495 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11497 * docs/random/draft-missing-plugins.txt:
11498 Update: use element message instead of adding a new message
11499 type to the core; don't provide GStreamer API to initiate the
11500 plugin download, just provide API to compose the strings needed
11501 and let an external libgimmestuff handle the rest.
11503 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11505 * tools/gst-inspect.c: (print_element_properties_info):
11506 Print a string instead of 'unknown type' for GValueArray properties
11508 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11510 * docs/random/draft-missing-plugins.txt:
11513 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11515 * tests/examples/typefind/typefind.c: (type_found), (main):
11516 Make typefind element example work again (#371894); add a
11519 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11521 * docs/random/draft-missing-plugins.txt:
11522 Commit initial draft about how to deal with missing plugins,
11523 needs work (API too).
11525 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11527 * docs/pwg/advanced-types.xml:
11528 documents the new caps elements (see #363118)
11530 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11532 * gst/gstplugin.c: (gst_plugin_load_file):
11533 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11534 (gst_file_src_map_region), (gst_file_src_start):
11535 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11536 (gst_file_index_commit):
11537 Use g_strerror() instead of strerror() - we want UTF-8.
11539 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11541 Patch by: Peter Kjellerstedt <pkj at axis com>
11543 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11544 Another printf fix (#371493).
11546 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11548 * tests/check/gst/gsttag.c:
11549 relicence (okay with author=company)
11551 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11553 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11554 (gst_pad_push_event):
11555 Enhance debug and improve docs
11560 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11562 * docs/random/ensonic/distributed.txt:
11563 * docs/random/ensonic/profiling.txt:
11566 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11568 * docs/gst/gstreamer-sections.txt:
11569 add new API and fix the build
11571 * gst/gstbin.c: (gst_bin_recalc_state):
11572 * gst/gstelement.c: (gst_element_message_full),
11573 (gst_element_get_state_func), (gst_element_set_state_func):
11574 use new API and improve logging
11576 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11578 API: add function to get StateChangereturn names to improve logs
11580 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11582 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11583 I'm considering shooting the next person to put strerror stuff
11584 in the translateable part of the message.
11586 2006-11-03 Wim Taymans <wim@fluendo.com>
11588 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11589 Get the type and printf conversion specifiers right.
11591 2006-11-03 Wim Taymans <wim@fluendo.com>
11593 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11595 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11596 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11597 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11598 Some small cleanups. Improve debugging.
11600 Signal all waiting threads with a broadcast instead of just one.
11603 2006-11-03 Wim Taymans <wim@fluendo.com>
11605 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11606 (gst_fd_src_create):
11607 Add some debugging.
11608 Only update fd when it's different from the old.
11610 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11612 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11613 Printf fixes for PPC/OSX, take two (#369366).
11615 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11617 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11619 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11620 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11621 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11622 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11623 don't cast to long long for portability reasons, but use
11624 GLib's types instead.
11626 2006-10-30 Michael Smith <msmith@fluendo.com>
11628 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11629 Get the arguments to lseek() the right way around.
11632 2006-10-30 Wim Taymans <wim@fluendo.com>
11634 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11637 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11639 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11641 Patch by: Kjartan Maraas <kmaraas at gnome org>
11643 * docs/design/part-MT-refcounting.txt:
11644 * docs/random/wtay/capsnego2-docs:
11647 Typo fixes (#366212).
11649 2006-10-28 Wim Taymans <wim@fluendo.com>
11651 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11654 * win32/common/libgstbase.def:
11655 * win32/common/libgstreamer.def:
11656 * win32/vs8/libgstbase.vcproj:
11657 * win32/vs8/libgstcontroller.vcproj:
11658 Add needed entries in .def files.
11660 Rearrange def files in vs8 solutions. Fixes #366286.
11662 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11664 * win32/common/gstconfig.h:
11665 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11666 hand-made win32 gstconfig.h. Fixes #366321.
11668 2006-10-27 Wim Taymans <wim@fluendo.com>
11670 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11671 (gst_ghost_pad_new_full):
11672 Make acceptcaps return TRUE when we don't have a target, just like
11675 2006-10-27 Wim Taymans <wim@fluendo.com>
11677 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11678 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11680 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11682 * gst/gststructure.c: (gst_structure_id_set_value):
11683 If someone tries to set a non-UTF8 string field on a structure,
11684 don't just print a warning, but also ignore the request and do
11685 not change/add that field to the structure.
11687 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11688 Test for the above.
11690 2006-10-25 David Schleef <ds@schleef.org>
11693 g_hash_table_insert() needs a cast to a non-const pointer duh.
11695 2006-10-25 David Schleef <ds@schleef.org>
11699 Change name parameter of _gst_debug_register_funcptr to const
11700 to reflect the constness of its use in the function as well
11701 as to quiet a gcc warning.
11703 2006-10-25 Edward Hervey <edward@fluendo.com>
11705 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11706 Don't push the buffer if it's empty.
11709 2006-10-24 Wim Taymans <wim@fluendo.com>
11714 * libs/gst/base/gstbasetransform.c:
11715 (gst_base_transform_sink_eventfunc):
11716 Debug segment values *after* updating them as this is more
11719 2006-10-23 Wim Taymans <wim@fluendo.com>
11721 * docs/design/part-events.txt:
11724 * docs/design/part-block.txt:
11725 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11726 (gst_pad_push_event):
11727 Revert BLOCKING patch, it tries to be smart without really having a
11728 clear idea what or how. So, now we discard all FLUSHING events again on
11729 a blocking pad. Should fix gnonlin again.
11731 2006-10-23 Wim Taymans <wim@fluendo.com>
11733 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11735 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11736 (gst_base_src_start), (gst_base_src_activate_push):
11737 Make sure size is always initialized. Fixes #364388.
11739 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11741 * docs/random/ensonic/distributed.txt:
11742 add some ideas about doing distributed processing
11744 * docs/random/ensonic/profiling.txt:
11745 get_rusage look promising
11747 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11749 * docs/manual/basics-helloworld.xml:
11750 Add a cast in example to fix compile warning
11752 2006-10-18 Wim Taymans <wim@fluendo.com>
11754 * gst/gstsegment.c: (gst_segment_set_last_stop),
11755 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11756 Relax arg checking again, -1 is allowed.
11758 2006-10-18 Wim Taymans <wim@fluendo.com>
11760 * gst/gstsegment.c: (gst_segment_set_last_stop),
11761 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11762 _set_last_stop() must be with a value != -1
11763 A _TYPE_SET to -1 means seek to 0.
11764 Calc last_stop correctly for negative rates.
11765 Make sure we work with positive durations when updating a segment.
11767 2006-10-18 Wim Taymans <wim@fluendo.com>
11769 * docs/design/part-live-source.txt:
11773 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11776 Add an explicit cast to GstBuffer** to keep old code that added an
11777 explicit cast to GstMiniObject** for gst_mini_object_replace()
11778 compiling without warning.
11780 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11782 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11783 check for validity of dates
11785 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11787 * docs/gst/gstreamer-sections.txt:
11788 Forgot this one, makes gtk-doc shut up.
11790 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11792 Patch by: Peter Kjellerstedt <pkj at axis com>
11795 Don't define xmlNodePtr to gpointer if the core was built with
11796 --disable-loadsave and --disable-registry, this will break
11797 applications that want to use libxml2 but are buildling against a
11798 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11799 instead so we don't have to mess with the libxml2 namespace
11802 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11805 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11806 type-punned pointer warnings.
11808 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11810 * gst/gstelement.h:
11811 Add casts to the correct return type to state <=> state transition
11814 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11816 * docs/design/part-live-source.txt:
11817 describe howto handle latency
11819 * docs/random/ensonic/profiling.txt:
11822 * tools/gst-plot-timeline.py:
11823 fix log parsing for solaris, remove unused function
11825 2006-10-16 Wim Taymans <wim@fluendo.com>
11827 * docs/design/part-trickmodes.txt:
11829 Update some docs regarding reverse playback.
11831 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11833 Patch by: Marcus Granado <mrc dot gran at gmail com>
11835 * win32/vs8/grammar.vcproj:
11836 Error out with a warning if glib-genmarshal.exe is not in path,
11837 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11839 2006-10-13 Wim Taymans <wim@fluendo.com>
11841 * gst/gstsegment.c: (gst_segment_set_seek):
11842 When seeking to stop -1, set last_stop (current position) to the
11843 duration of the segment.
11845 2006-10-13 Wim Taymans <wim@fluendo.com>
11847 * gst/gstelement.h:
11848 Clarify _NO_PREROLL a bit more.
11853 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11854 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11855 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11856 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11857 due to wrong locking order. Fixes #361769.
11858 Remove some redundant/misplaced checks in pad_block.
11860 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11861 For negative rates, count backwards from the duration.
11863 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11865 * gst/gsterror.c: (_gst_library_errors_init):
11866 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11867 up with something better).
11869 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11871 * win32/vs6/libgstreamer.dsp:
11872 * win32/vs7/libgstreamer.vcproj:
11873 * win32/vs8/libgstreamer.vcproj:
11874 Don't reference glib-compat.c which is currently not used and not
11875 disted; add gstquark.c which was recently added. Fixes #361730.
11877 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11879 * win32/common/libgstbase.def:
11880 * win32/common/libgstcontroller.def:
11881 * win32/common/libgstreamer.def:
11882 Add gst_caps_merge() and a bunch of other recently-added functions.
11885 2006-10-11 Wim Taymans <wim@fluendo.com>
11887 * docs/plugins/gstreamer-plugins.args:
11888 * docs/plugins/inspect/plugin-coreelements.xml:
11889 * docs/plugins/inspect/plugin-coreindexers.xml:
11890 Update element args.
11892 * gst/gstsystemclock.c:
11893 Small comment update.
11895 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11896 (gst_tee_request_new_pad), (gst_tee_release_pad),
11897 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11898 (gst_tee_sink_activate_pull):
11899 * plugins/elements/gsttee.h:
11901 Add default property defines.
11902 Implement release pad function.
11903 Give properties better blubs etc.
11904 Activate pads before adding them to a running tee.
11905 Do simple buffer_alloc on the first requested pad.
11906 Post error when activation fails.
11908 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11910 * gst/gst.c: (ensure_current_registry_forking):
11911 Check return value of write() to make compiler happy.
11913 2006-10-11 Wim Taymans <wim@fluendo.com>
11915 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11917 * plugins/elements/gstqueue.c: (gst_queue_chain):
11918 Recheck queue filledness after signalling the overrun when we're about
11919 to leak downstream because we released the lock when emitting the signal
11920 and the queue could be empty again. Fixes #352345.
11922 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11924 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11925 Fix refcounting here too, just like we did for _new_valist() a few
11926 days ago (#357180) (thanks to René Stadler). Also remove all those
11927 'Since: 0.9' from the gtk-doc blobs.
11929 * tests/check/libs/controller.c: (controller_refcount_new_list),
11930 (gst_controller_suite):
11931 Unit test for the above.
11933 2006-10-10 Wim Taymans <wim@fluendo.com>
11935 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11937 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11938 (gst_pad_save_thyself):
11940 Write pad direction in XML output. Fixes #345496.
11942 2006-10-10 Wim Taymans <wim@fluendo.com>
11944 Patch by: René Stadler <mail at renestadler dot de>
11946 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11947 (gst_controller_new_list), (_gst_controller_dispose),
11948 (_gst_controller_finalize), (_gst_controller_class_init):
11949 Take ref to controlled object so that it cannot disappear.
11952 2006-10-10 Wim Taymans <wim@fluendo.com>
11954 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11955 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11956 (gst_check_teardown_sink_pad):
11957 Activate/deactivate pads in setup/teardown respectively.
11959 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11961 Patch by: Josep Torra Valles <josep@fluendo.com>
11964 Cast values when making gstenumtypes.h. This pacifies Forte
11965 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11966 in the enumeration.
11968 2006-10-09 Wim Taymans <wim@fluendo.com>
11970 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11971 Rename some more @cur to @start to fix docs.
11973 * gst/gstsegment.c: (gst_segment_set_seek):
11975 time and start must always stay in sync as defined in design doc.
11977 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11978 Rename param to fix docs.
11980 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11981 Check that start and time are in sync.
11983 * tests/check/pipelines/parse-launch.c:
11984 (gst_parse_test_element_change_state):
11985 Activate pad before adding to the element.
11987 2006-10-09 Wim Taymans <wim@fluendo.com>
11989 * docs/design/part-qos.txt:
11994 Update seek event docs regarding negative rates.
11995 Rename @cur to @start.
11997 * gst/gstsegment.c: (gst_segment_set_seek):
11998 * gst/gstsegment.h:
11999 Update set_seek docs regarding negative rates.
12000 Correctly update last_stop to @stop when dealing with negative
12002 Rename @cur to @start.
12004 * tests/check/gst/gstpad.c: (GST_START_TEST):
12005 Activate pads before trying to use them.
12007 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12008 (gst_segment_suite):
12009 Add simple check for segments and negative rates.
12011 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12013 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12014 * gst/gsttaglist.h:
12015 * docs/gst/gstreamer-sections.txt:
12016 API: add gst_tag_list_is_empty() (#360467).
12018 * tests/check/gst/gsttag.c: (GST_START_TEST):
12021 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12023 * gst/gstmessage.h:
12024 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12025 a value that doesn't fit on enumeration.
12027 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12029 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12030 Remove local debugging system and use Gstreamer's instead.
12032 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12034 Patch by: Josep Torra Valles <josep@fluendo.com>
12036 * common/m4/gst-error.m4:
12037 Disable warning of statement not reached on Forte.
12038 * gst/gstmessage.h:
12039 Fix warning on Forte (value doesn't fit on enumeration).
12040 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12041 Fix warning on Forte (value doesn't fit on enumeration).
12042 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12043 DEBUG macro says it takes minimum of 2 args and so Forte
12044 complains about the use with just 1 arg.
12045 * plugins/elements/gstfdsink.c:
12046 * plugins/elements/gstfdsrc.c:
12047 * plugins/elements/gstfilesink.c:
12048 * plugins/elements/gstfilesrc.c:
12049 Use correct return type for the uri handler implementations.
12051 All these fix warnings in Forte. Fixes bug #360860.
12053 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12055 * gst/gstelement.h:
12056 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12057 format string, so don't use G_GNUC_PRINTF for those versions.
12059 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12061 * gst/gsttaglist.c: (gst_is_tag_list):
12062 * gst/gsttaglist.h:
12063 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12065 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12066 Small test for the above.
12068 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12070 * gst/gsttaglist.h:
12071 Less tabs, more spaces.
12073 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12076 Those two function declarations do actually belong there, revert
12077 commit from yesterday that turned them intro macros.
12079 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12081 Patch by: Josep Torra Valles <josep@fluendo.com>
12083 * gst/gst.c: (gst_init_get_option_group):
12084 Fix empty declaration and type mismatch.
12085 * gst/gstbin.c: (gst_bin_change_state_func):
12087 * gst/gstelement.c: (gst_element_continue_state),
12088 (gst_element_set_state_func), (gst_element_change_state),
12089 (gst_element_change_state_func):
12090 Fix type mismatches.
12091 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12092 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12093 Cast as appropriate.
12094 * gst/gstobject.c: (gst_class_signal_connect):
12095 Cast as appropriate. The function pointer parameter really
12096 has the wrong type but would break API if we change it.
12098 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12099 order of including string.h.
12100 * gst/gstutils.c: (gst_element_state_get_name):
12101 Remove unreachable line.
12102 * gst/gstxml.c: (gst_xml_parse_doc):
12104 All these caught by Forte.
12106 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12108 Patch by: Josep Torra Valles <josep@fluendo.com>
12110 * common/m4/gst-error.m4:
12112 We need to disable warnings on Forte for empty declarations
12113 due to gst-indent adding ;s to lines that just use macros
12114 where the macro actually doesn't need a ; at end to end
12117 2006-10-06 Wim Taymans <wim@fluendo.com>
12119 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12120 (gst_file_sink_close_file), (gst_file_sink_event),
12121 (gst_file_sink_render):
12122 Add some FIXME for the NEWSEGMENT handling.
12124 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12126 * gst/parse/grammar.y:
12127 Remove static function gst_parse_element_lock as all it does
12128 is return. Looks like cruft from 0.8.
12130 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12132 Patch by: Josep Torra Valles <josep@fluendo.com>
12134 * common/m4/gst-error.m4:
12136 * libs/gst/net/Makefile.am:
12137 Fix a compilation issue with Forte on Solaris. inet_aton is in
12140 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12142 * gst/gstpad.c: (pre_activate):
12143 * gst/gstregistry.c: (gst_registry_scan_path_level):
12144 * gst/gstregistryxml.c: (load_plugin):
12145 * libs/gst/controller/gstcontroller.c:
12146 (gst_controlled_property_set_interpolation_mode):
12147 * libs/gst/dataprotocol/dataprotocol.c:
12148 (gst_dp_packet_from_event_1_0):
12149 * libs/gst/net/gstnetclientclock.c:
12150 (gst_net_client_clock_observe_times):
12151 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12154 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12157 * docs/gst/gstreamer-sections.txt:
12158 * gst/gstconfig.h.in:
12159 * gst/gstelement.h:
12161 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12162 whether we can use G_GNUC_PRINTF in other header files and at
12163 least check the printf format/arguments of debug messages and
12164 GST_ELEMENT_ERROR messages when the printf extension is not
12166 Replace more tabs with spaces in gstinfo.h and remove two spurious
12167 function declarations in GST_DISABLE_DEBUG part with macros.
12169 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12171 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12172 More docs for the sync-message signal (mention that it is not
12173 emitted by default); log message structures of messages posted on
12176 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12178 * gst/gst.c: (ensure_current_registry_forking):
12179 Use a pipe pair to receive status results from the forked child, and
12180 ignore the result from waitpid. Fixes #355499
12182 2006-10-02 Wim Taymans <wim@fluendo.com>
12184 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12185 (gst_ghost_pad_suite):
12188 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12191 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12193 2006-10-02 Edward Hervey <edward@fluendo.com>
12195 * docs/design/part-block.txt:
12196 Further explain the use of flushing on blocked pads.
12197 * docs/gst/gstreamer-sections.txt:
12198 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12199 (gst_pad_push_event):
12201 Added new GstPadFlag : GST_PAD_BLOCKING.
12202 Adds the notion of pads really blocking, which enables to properly
12203 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12205 API: gst_pad_is_blocking()
12206 API: GST_PAD_IS_BLOCKING() macro
12207 API: GST_PAD_BLOCKING GstPadFlag
12209 2006-10-02 Wim Taymans <wim@fluendo.com>
12211 Patch by: mrcgran <mrc.gran at gmail dot com>
12213 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12214 Filter the proxied caps against the padtemplate if we have one.
12216 * gst/gstquery.c: (gst_query_new_segment):
12217 Add include for gstinfo.h so that compilation with
12218 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12220 2006-10-02 Wim Taymans <wim@fluendo.com>
12222 Patch by: Alessandro Decina <alessandro at nnva org>
12224 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12225 (gst_file_sink_set_location), (gst_file_sink_open_file),
12226 (gst_file_sink_close_file), (gst_file_sink_event),
12227 (gst_file_sink_render):
12228 Set file to NULL when closing filesink so that we can set a new filename
12229 in READY. Fixes #358613.
12231 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12233 Patch by: Alessandro Decina <alessandro at nnva org>
12235 * gst/gstevent.c: (_gst_event_copy):
12236 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12237 with event structures by setting the parent refcount address of the
12238 copied structure to the address of the refcount member of the newly
12239 copied event rather than the address of the refcount member of the
12240 original event. Fixes #358737.
12242 * tests/check/gst/gstevent.c: (GST_START_TEST):
12243 Unit test for the above.
12245 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12247 * docs/design/Makefile.am:
12248 Dist some more files.
12250 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12252 * tests/check/libs/controller.c: (GST_START_TEST),
12253 (gst_controller_suite):
12254 Add test for the previous fix; add some more tests
12255 for correct refcounting behaviour; fix a few leaks
12256 in test cases; call gst_controller_init() at start
12259 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12261 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12262 (gst_controller_set_from_list):
12263 Don't g_return_val_if_fail() on timed values with invalid timestamps
12264 inside a critical section without unlocking the mutex. Spotted by
12265 René Stadler. (#357617)
12266 Also, fix up refcounting properly: when returning an existing
12267 controller, we should increase the reference only once and not
12268 once per property and when trying to control a property again
12269 we should also increase the refcount.
12271 2006-09-29 Wim Taymans <wim@fluendo.com>
12273 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12274 * libs/gst/net/gstnettimeprovider.c:
12275 (gst_net_time_provider_thread):
12276 Stop reading commands when EOF as well.
12278 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12279 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12280 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12281 Unify description of the dump property.
12283 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12285 * tests/examples/manual/.cvsignore:
12286 OK, so it's actually cvsignore that needs changing. Stop laughing.
12288 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12290 * tests/examples/manual/Makefile.am:
12291 Gah, declare vars *before* using them
12293 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12295 * gst/gst.c: (init_pre), (scan_and_update_registry),
12296 (ensure_current_registry_nonforking),
12297 (ensure_current_registry_forking), (ensure_current_registry),
12298 (init_post), (gst_debug_help), (gst_deinit):
12299 * gst/gst_private.h:
12300 * gst/gstregistry.c: (gst_registry_finalize),
12301 (gst_registry_remove_features_for_plugin_unlocked),
12302 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12303 (gst_registry_scan_path),
12304 (_priv_gst_registry_remove_cache_plugins),
12305 (_priv_gst_registry_cleanup):
12306 * gst/gstregistry.h:
12307 Re-commit the registry changes, along with an extra fix:
12308 When a cached plugin is encountered at a different file path,
12309 update the stored path in the registry cache so that the parent
12310 process knows where it actually is now when it re-reads the registry
12311 cache. Fixes the thing that broke distcheck with the previous commit.
12313 * tests/check/Makefile.am:
12314 Clean up files named 'core' too when running make clean.
12316 * tests/examples/manual/Makefile.am:
12317 Set up a registry path for running these tests, and clean it properly
12320 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12323 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12324 want gmodule-no-export-2.0.pc instead so that we don't drag in
12325 --export-dynamic on every project that links to GStreamer.
12327 Also, make our export regex only match the start of symbols, rather
12328 than any symbol that contains '_gst' somewhere.
12330 * libs/gst/check/Makefile.am:
12331 The libgstcheck we build does however need export-dynamic, as it
12332 produces some symbols that don't match our _gst... style regex.
12335 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12337 * gst/gst.c: (init_pre), (scan_and_update_registry),
12338 (ensure_current_registry_nonforking),
12339 (ensure_current_registry_forking), (ensure_current_registry),
12340 (init_post), (gst_debug_help), (gst_deinit):
12341 * gst/gst_private.h:
12342 * gst/gstregistry.c: (gst_registry_finalize),
12343 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12344 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12345 (_gst_registry_cleanup):
12346 * gst/gstregistry.h:
12347 Revert previous change until I figure out why it breaks distcheck.
12349 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12351 * gst/gst.c: (init_pre), (scan_and_update_registry),
12352 (ensure_current_registry_nonforking),
12353 (ensure_current_registry_forking), (ensure_current_registry),
12354 (init_post), (gst_debug_help), (gst_deinit):
12356 Make init_pre and init_post take the full complement of GOptionFunc
12357 args so they can return useful GErrors. Make the registry updating
12360 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12361 ensure that the registry we're about to write out doesn't contain
12362 stale information about old-deleted plugin files.
12364 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12365 that deletion of plugin files is considered a registry change.
12367 * gst/gst_private.h:
12368 * gst/gstregistry.c: (gst_registry_finalize),
12369 (gst_registry_remove_features_for_plugin_unlocked),
12370 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12371 (gst_registry_scan_path),
12372 (_priv_gst_registry_remove_cache_plugins),
12373 (_priv_gst_registry_cleanup):
12374 * gst/gstregistry.h:
12375 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12376 by adding _priv prefix, so that they won't appear in the global
12377 symbol table. They still do atm though because of #318031. Move the
12378 prototypes to gst_private.h
12380 When removing a plugin, remove all features for that plugin too.
12383 2006-09-27 Wim Taymans <wim@fluendo.com>
12385 * docs/random/moving-plugins:
12386 Make it clear that the "compiled-in descriptions" really mean
12387 the element details.
12389 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12390 (gst_base_sink_wait_preroll):
12393 * docs/libs/gstreamer-libs-sections.txt:
12394 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12395 (gst_base_src_get_range), (gst_base_src_activate_push):
12396 * libs/gst/base/gstbasesrc.h:
12397 Added function to block while waiting for PLAYING, this function
12398 is used by live sources that block on the clock.
12399 API: gst_base_src_wait_playing()
12401 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12403 Patch by: Peter Kjellerstedt <pkj at axis com>
12406 gst-element-check.m4 is generated and should therefore be
12407 copied from the build dir rather than the source dir (#357593).
12408 'make distcheck' hasn't noticed this because we were disting
12409 the file as well, so stop doing that.
12411 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12413 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12414 Add some tests for gst_caps_intersect().
12416 * tools/gst-launch.c: (event_loop):
12417 Print all buffering percentages we get, even the 100% one.
12419 2006-09-26 Wim Taymans <wim@fluendo.com>
12421 * tools/gst-inspect.c: (print_element_properties_info),
12422 (print_signal_info):
12423 Fix printing of flags to match the look of enums.
12425 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12427 * gst/gstelementfactory.c:
12428 Fix typo in docs blurb.
12430 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12432 * gst/gsturi.c: (search_by_entry):
12433 Don't assert/crash here if a uri handler doesn't return any
12434 supported protocols. The list of protocols could be generated
12435 dynamically at runtime or at plugin registration, and an error
12436 in the underlying library shouldn't be fatal (#353301).
12438 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12441 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12442 (spotted by Peter Kjellerstedt).
12444 2006-09-23 Wim Taymans <wim@fluendo.com>
12446 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12448 * libs/gst/base/gstbasesrc.c:
12449 (gst_base_src_default_check_get_range), (gst_base_src_start),
12450 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12451 (gst_base_src_change_state):
12452 Match _start/_stop calls in the activate functions. Remove redundant
12453 _stop call from the state change function. Fixes #356910.
12454 Turn failure DEBUG into ERROR.
12456 2006-09-22 Wim Taymans <wim@fluendo.com>
12458 * docs/design/part-buffering.txt:
12459 * gst/gstmessage.c: (gst_message_new_buffering),
12460 (gst_message_parse_buffering):
12461 Update docs about buffering.
12463 * docs/design/part-trickmodes.txt:
12466 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12468 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12469 (gst_controller_new_list):
12470 Ref instances when returning them again (fixes #357180)
12472 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12474 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12475 Don't forget to release proxy lock when there's an error.
12477 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12480 Add extra initialisers for Caps things, to fix some plugin warnings
12483 2006-09-18 Wim Taymans <wim@fluendo.com>
12485 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12486 Also set template on the internal pad so that a getcaps from the
12487 target pad returns the template caps.
12489 2006-09-18 Wim Taymans <wim@fluendo.com>
12491 * gst/gstelement.c: (gst_element_post_message),
12492 (gst_element_dispose):
12493 Use _DEBUG_OBJECT some more.
12495 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12498 * tools/gst-launch.c: (main):
12499 If the toplevel element is not a GstPipeline, it must be put in a
12500 pipeline so that a bus and clock is selected.
12502 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12504 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12505 JITTER, RATE, and LATENCY query should be handled by the
12506 default case and not by the CONVERT query code.
12508 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12510 * gst/gstformat.c: (gst_format_register):
12511 Fix locking order (must take lock before using n_values).
12513 * gst/gstvalue.c: (gst_value_serialize_enum),
12514 (gst_value_deserialize_enum_iter_cmp),
12515 (gst_value_deserialize_enum):
12516 Fix serialisation/deserialisation of custom registered GstFormats.
12518 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12519 Unit test for custom format serialisation/deserialisation.
12521 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12523 * docs/pwg/building-boiler.xml:
12524 * plugins/elements/gstcapsfilter.c:
12525 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12528 2006-09-16 Edward Hervey <edward@fluendo.com>
12530 * libs/gst/base/gstbasetransform.c:
12531 (gst_base_transform_buffer_alloc):
12532 Check if requested caps are the same as the sinks caps IF
12533 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12535 This fixes the renegotiation issues stated in #352827.
12537 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12540 * docs/manual/advanced-autoplugging.xml:
12541 * tests/examples/Makefile.am:
12542 * tests/examples/manual/.cvsignore:
12543 * tests/examples/manual/Makefile.am:
12544 * tests/examples/manual/extract.pl:
12545 Extract the manual examples again like we used to do.
12548 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12550 * win32/common/config.h:
12553 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12556 Documents how to receive errors.
12558 2006-09-15 Wim Taymans <wim@fluendo.com>
12560 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12561 (event_loop), (main):
12562 Added some comments here and there.
12563 Post an application message when an interrupt is caught instead of doing
12564 an uncontrolled state change.
12565 Clean up the event loop.
12566 Handle buffering messages, pause/resume the pipeline.
12567 Make shutdown because of an interrupt more reliable.
12569 2006-09-15 Wim Taymans <wim@fluendo.com>
12571 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12572 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12573 (gst_base_sink_preroll_object):
12574 Make sure that our internal state is correct when we commit our state
12575 asynchronously. This solves a race where a state change to PLAYING
12576 could cause the sink to remain blocked in preroll in some situations.
12578 2006-09-15 Wim Taymans <wim@fluendo.com>
12580 * tools/gst-inspect.c: (print_element_properties_info),
12581 (print_signal_info):
12582 List flags as hex so it's easier to deal with.
12584 2006-09-15 Wim Taymans <wim@fluendo.com>
12586 * docs/libs/gstreamer-libs-sections.txt:
12587 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12588 (gst_base_sink_do_sync):
12589 * libs/gst/base/gstbasesink.h:
12590 Expose logic to wait for preroll so that subclasses such as audiosink
12591 can also use this method.
12592 API: gst_base_sink_wait_preroll()
12594 2006-09-15 Wim Taymans <wim@fluendo.com>
12596 * gst/gstobject.c: (gst_object_set_parent):
12597 * gst/gstpipeline.c: (do_pipeline_seek):
12598 Small cleanups in docs and code.
12600 * gst/gstsegment.c: (gst_segment_clip):
12601 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12602 if stop == start and start is in the segment, no clipping should be
12603 done. Also add a test for this.
12605 2006-09-15 Wim Taymans <wim@fluendo.com>
12607 * docs/design/part-buffering.txt:
12608 * docs/gst/gstreamer-sections.txt:
12609 * gst/gstmessage.c: (gst_message_new_buffering),
12610 (gst_message_parse_buffering):
12611 * gst/gstmessage.h:
12612 Added methods to create and parse BUFFERING messages.
12613 Added preliminary docs about buffering.
12614 API: gst_message_new_buffering
12615 API: gst_message_parse_buffering
12617 2006-09-06 Wim Taymans <wim@fluendo.com>
12620 Update documentation.
12622 * gst/gstelement.c: (gst_element_class_init),
12623 (gst_element_release_request_pad), (gst_element_set_clock),
12624 (gst_element_get_index), (gst_element_add_pad),
12625 (gst_element_remove_pad), (gst_element_get_random_pad),
12626 (gst_element_send_event), (gst_element_get_query_types),
12627 (gst_element_query), (gst_element_post_message),
12628 (gst_element_message_full), (gst_element_continue_state),
12629 (gst_element_lost_state), (gst_element_save_thyself),
12630 (gst_element_restore_thyself):
12631 Documentation updates.
12632 Rename last bit of the new-pad -> pad-added signal rename.
12633 Fix the case where an element query would only work if the source
12635 Avoid some useless type checking in message handling.
12640 Documentation updates.
12642 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12644 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12645 add an INFO line for when we actually update the fd
12647 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12652 === release 0.10.10 ===
12654 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12657 releasing 0.10.10, "Pais"
12659 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12661 * docs/manual/advanced-position.xml:
12662 Fix typo in sample code.
12664 2006-09-05 Wim Taymans <wim@fluendo.com>
12666 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12667 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12668 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12669 * libs/gst/net/gstnetclientclock.h:
12670 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12671 * libs/gst/net/gstnettimepacket.h:
12672 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12673 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12674 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12675 * libs/gst/net/gstnettimeprovider.h:
12676 Make stuff compile on windows. Fixes #345295.
12678 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12680 * gst/gst.c: (ensure_current_registry_forking):
12681 Print better details when child was terminated by signal.
12683 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12685 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12686 Print a warning rather than g_assert() if a plugin feature
12687 is a URI handler but returns no protocols (#353976).
12689 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12691 * docs/random/moving-plugins:
12694 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12696 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12697 Fix locking order, handle NULL function values properly.
12702 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12703 Initialise variable before using it and fix debug statement to
12704 print the address of the function rather than the address of the
12705 variable on the stack holding the address of the function.
12707 2006-09-01 Wim Taymans <wim@fluendo.com>
12709 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12710 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12711 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12712 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12713 (gst_ghost_pad_parent_unset),
12714 (gst_ghost_pad_internal_do_activate_push),
12715 (gst_ghost_pad_internal_do_activate_pull),
12716 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12717 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12718 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12719 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12720 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12721 (gst_ghost_pad_new_no_target_from_template),
12722 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12724 Avoid needless typechecking in macros.
12725 Since the internal pad is always present and never changes, there is
12726 no need to locking or ref when retrieving it.
12727 Improve debugging a bit.
12728 Handle link errors when setting the target. Fixes #341029.
12730 2006-09-01 Wim Taymans <wim@fluendo.com>
12732 * docs/libs/gstreamer-libs-sections.txt:
12733 * docs/plugins/gstreamer-plugins-sections.txt:
12734 Fix docs some more.
12736 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12737 (gst_collect_pads_event):
12738 * libs/gst/base/gstcollectpads.h:
12739 Documentation updates.
12740 Free queued buffer when removing a pad.
12742 2006-08-31 Michael Smith <msmith@fluendo.com>
12744 * gst/gstutils.c: (gst_element_link_pads),
12745 (gst_element_link_pads_filtered):
12746 Ensure that we set a capsfilter to NULL if we failed to link it
12747 when doing filtered linking, to avoid criticals.
12749 No need to check for unreffing srcpad, which is explicly NULLed
12750 above (a trivial code cleanup).
12752 2006-08-31 Wim Taymans <wim@fluendo.com>
12754 * docs/design/part-gstghostpad.txt:
12755 Update ascii art in documentation.
12757 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12758 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12759 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12760 (gst_ghost_pad_internal_do_activate_push),
12761 (gst_ghost_pad_internal_do_activate_pull),
12762 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12763 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12764 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12765 (gst_ghost_pad_set_target):
12766 Small cleanups and leak fixes.
12767 Remove some checks now that the internal pad is never NULL.
12768 Fix the case where linking pads without a target would create nasty
12769 criticals. Fixes #341029.
12770 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12771 value of _set_target().
12773 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12774 (gst_ghost_pad_suite):
12775 Some more tests for creating and linking untargeted ghostpads.
12777 2006-08-31 Edward Hervey <edward@fluendo.com>
12779 * docs/gst/gstreamer-sections.txt:
12780 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12781 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12782 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12783 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12784 (gst_ghost_pad_new_from_template),
12785 (gst_ghost_pad_new_no_target_from_template):
12786 * gst/gstghostpad.h:
12787 Refactored *_new() functions.
12788 Templates are now used as a g_object_new() parameter.
12789 Use template in _do_getcaps() if we don't have a target.
12790 Small documentation cleanups.
12791 Added two new constructors:
12792 gst_ghost_pad_new_from_template()
12793 gst_ghost_pad_new_no_target_from_template()
12794 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12795 (gst_ghost_pad_suite):
12796 Added tests for new ghostpad instanciation functions.
12798 API additions: gst_ghost_pad_new_from_template,
12799 gst_ghost_pad_new_no_target_from_template
12801 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12803 * docs/random/ensonic/profiling.txt:
12804 Ideas about qos profiling.
12806 2006-08-29 Wim Taymans <wim@fluendo.com>
12808 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12812 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12815 Improve and detypofy docs.
12817 * tests/check/Makefile.am:
12818 * tests/check/gst/.cvsignore:
12819 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12820 Add a basic test suite for GstXML.
12822 2006-08-29 Wim Taymans <wim@fluendo.com>
12824 * gst/gstelement.c: (activate_pads), (clear_caps),
12825 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12826 Clear the pad caps when the element shut down all of the pads and
12827 is not streaming data that could modify the caps.
12830 2006-08-28 Michael Smith <msmith@fluendo.com>
12832 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12833 Revert previous change; I misunderstood single-segment mode.
12835 2006-08-28 Michael Smith <msmith@fluendo.com>
12837 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12838 Unset DISCONT on buffers when using single-segment mode.
12840 2006-08-28 Wim Taymans <wim@fluendo.com>
12842 * gst/gstcaps.c: (gst_caps_merge_structure):
12844 Fix docs and indentation again.
12846 * tests/check/gst/gstquery.c: (GST_START_TEST):
12847 Fix leak in tests and add some more tests.
12849 2006-08-28 Edward Hervey <edward@fluendo.com>
12851 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12852 Inform GstSegment of the last stop position in order for the current
12853 segment to have a proper duration if it doesn't have a specific stop
12854 position from which a duration could be calculated.
12855 This bug was noticeable when a non-flushing, non-update new segment was
12856 followed by another segment (all buffers from the new segment were being
12859 2006-08-28 Wim Taymans <wim@fluendo.com>
12861 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12862 Small comment update.
12864 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12865 (gst_identity_transform_ip):
12866 Drop-probability is broken, mention this in the code with a
12867 FIXME and also in the property description.
12868 Make silent also be silent about the drop messages.
12870 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12872 * docs/manual/appendix-win32.xml:
12873 Remove mention of popt, we don't depend on that any
12874 longer (#353136). Add some comments pointing out that
12875 this section is slightly outdated.
12877 2006-08-28 Wim Taymans <wim@fluendo.com>
12879 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12881 * gst/gstquery.c: (gst_query_new_segment):
12882 * tests/check/gst/gstquery.c: (GST_START_TEST):
12883 Initialize variables when creating a new segment query.
12886 2006-08-28 Wim Taymans <wim@fluendo.com>
12888 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12890 * gst/gstelement.c: (gst_element_get_bus):
12891 * tests/check/gst/gstelement.c: (GST_START_TEST):
12892 Check for NULL before _reffing the bus. Fixes #353122.
12894 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12896 * docs/manual/basics-bus.xml:
12897 Docs update: fix wrong callback return value explanation; add
12898 some lines about the implicit relationship between main loop
12899 and main context; remove duplicate main loop variable declaration.
12901 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12903 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12904 Don't leak caps in unit test; add a few more simple
12907 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12909 * docs/gst/gstreamer-sections.txt:
12910 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12911 (gst_caps_structure_is_subset), (gst_caps_merge),
12912 (gst_caps_merge_structure):
12914 * libs/gst/base/gstbasetransform.c:
12915 (gst_base_transform_transform_caps):
12916 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12917 implement caps merging (fixes #352580)
12919 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12921 * tools/Makefile.am:
12922 * tools/gst-plot-timeline.py:
12923 add debug-log plotting developer tool (#340674)
12925 2006-08-23 Wim Taymans <wim@fluendo.com>
12927 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12928 (gst_pad_stop_task):
12929 Improve debugging for task functions.
12931 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12932 (gst_task_start), (gst_task_pause), (gst_task_join):
12933 Make sure that the task function started and finished after a
12935 Don't try to push the task function on the threadpool multiple
12937 Improve the g_warning message with some useful suggestions
12938 about how to fix the problem.
12940 2006-08-23 Wim Taymans <wim@fluendo.com>
12942 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12943 Handle RESYNC correctly in _proxy_getcaps.
12945 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12947 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12948 (gst_xml_parse_memory), (gst_xml_get_element):
12949 Chain up to parent class in dispose function and also
12950 unref the elements in the toplevel_elements GList.
12951 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12952 Always return a reference in gst_xml_get_element() rather
12953 than only sometimes.
12955 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12956 Don't leak GstXml object.
12958 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12960 * docs/gst/gstreamer-sections.txt:
12961 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12964 * libs/gst/base/gstbasetransform.c:
12965 (gst_base_transform_transform_caps):
12966 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12969 2006-08-21 Edward Hervey <edward@fluendo.com>
12971 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12972 Implement GObject::dispose virtual method in GstXML so we can free the
12973 top_elements GList.
12975 2006-08-21 Wim Taymans <wim@fluendo.com>
12977 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12978 (gst_buffer_create_sub):
12979 Copy duration/offset_end/caps when creating a subbuffer of the
12981 Make the subbuffer read-only when we make the metadata writable for
12982 now. Fixes #351768.
12984 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12985 Added check for metadata copy when creating subbuffers.
12987 2006-08-21 Edward Hervey <edward@fluendo.com>
12989 * libs/gst/base/gstbasetransform.c:
12990 (gst_base_transform_buffer_alloc):
12991 Only call downstream buffer_alloc if transform element is passthrough
12992 or always_in_place. Closes #350449.
12994 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12997 ChangeLog surgery to add comments to previous changes
12999 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13004 * gst/gstpad.c: (gst_pad_set_active):
13005 Be more verbose in the log
13007 * libs/gst/base/gstbasetransform.c:
13008 (gst_base_transform_transform_caps):
13009 Simplify caps to get rid of duplicates, fixes #345444
13011 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13015 Use these optimizations only internally.
13017 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13019 * gst/gstvalue.c: (gst_value_compare_list),
13020 (gst_value_compare_fraction_range),
13021 (gst_value_intersect_fraction_fraction_range),
13022 (gst_value_intersect_fraction_range_fraction_range),
13023 (gst_value_subtract_fraction_fraction_range),
13024 (gst_value_subtract_fraction_range_fraction_range),
13025 (gst_value_get_compare_func), (gst_value_compare),
13026 (gst_value_compare_with_func):
13028 Saves the expensive lookup of the compare function in many cases
13031 2006-08-18 Edward Hervey <edward@fluendo.com>
13033 * tests/check/gst/gstinfo.c: (gst_info_suite):
13034 Disable test that require gstdebug if it wasn't built in core.
13036 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13038 * docs/random/ensonic/logging.txt:
13041 * gst/gstinfo.c: (gst_debug_log_default):
13042 reorder fields, save some columns, add optional color codes for log
13045 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13047 * docs/random/ensonic/logging.txt:
13048 add ideas about making the logs a bit more useful
13050 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13052 * docs/pwg/advanced-events.xml:
13053 * docs/pwg/titlepage.xml:
13054 Update for 0.10 API (#340627). Add myself
13057 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13059 * docs/libs/gstreamer-libs-docs.sgml:
13060 * docs/libs/gstreamer-libs-sections.txt:
13061 * libs/gst/check/gstbufferstraw.c:
13062 Make gstcheck stuff show up in docs (still needs to
13063 be documented properly though).
13065 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13067 * docs/gst/gstreamer-sections.txt:
13069 * gst/gst.c: (init_post):
13070 * gst/gst_private.h:
13071 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13073 * gst/gstquery.c: (gst_query_new_position),
13074 (gst_query_set_position), (gst_query_parse_position),
13075 (gst_query_new_duration), (gst_query_set_duration),
13076 (gst_query_parse_duration), (gst_query_new_convert),
13077 (gst_query_set_convert), (gst_query_parse_convert),
13078 (gst_query_new_segment), (gst_query_set_segment),
13079 (gst_query_parse_segment), (gst_query_new_seeking),
13080 (gst_query_set_seeking), (gst_query_parse_seeking):
13081 Add internal helpers for pre-registering quarks from static strings
13082 and using the quark values directly instead of looking them up when
13083 creating and parsing queries. Can be used for event construction too.
13086 2006-08-16 Wim Taymans <wim@fluendo.com>
13091 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13093 * gst/gstutils.c: (gst_util_set_value_from_string):
13094 Fix memleak (#351502).
13096 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13097 Add unit test for most of gst_util_set_value_from_string()
13098 (not that one would want to encourage use of this function).
13100 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13102 * libs/gst/check/gstcheck.h:
13103 Use const gchar * variables in fail_unless_equals_string
13104 macro to avoid compiler warnings (and don't use tabs for
13107 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13109 * tools/gst-launch.c: (print_tag):
13110 More space on the left for the tag names, to cater
13111 for the 'extended comment' tag (not touching the
13112 string for the first line since it's translated).
13114 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13116 * libs/gst/check/gstcheck.h:
13117 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13118 print something when they fail.
13120 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13122 * docs/gst/gstreamer-sections.txt:
13123 * gst/gsttaglist.c: (_gst_tag_initialize):
13124 * gst/gsttaglist.h:
13125 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13126 Also change merge function for GST_TAG_COMMENT to
13129 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13131 * gst/gstinfo.c: (gst_debug_print_object):
13132 Make GST_PTR_FORMAT print messages as well.
13134 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13135 (GST_START_TEST), (gst_info_suite):
13138 2006-08-14 Edward Hervey <edward@fluendo.com>
13140 * gst/gstelementfactory.c: (gst_element_register):
13141 If the GstElementClass doesn't have a GstElementDetails with all fields
13142 filled up correctly (longname, description AND author), then error out
13143 nicely instead of crashing.
13145 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13147 * gst/gststructure.c:
13148 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13151 Expand on the difference between arrays and lists as we use them.
13153 2006-08-14 Wim Taymans <wim@fluendo.com>
13155 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13156 If the parent state change function failed, don't assume we can safely
13157 stop the source, this will be done when the pads are deactivated.
13159 2006-08-14 Wim Taymans <wim@fluendo.com>
13162 * gst/gsttask.c: (gst_task_join):
13165 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13166 (gst_pad_stop_task):
13167 When pad (de)activation failed for some reason, restore the old
13168 activation mode and set the pad to flushing instead of assuming the
13169 pad is deactivated.
13170 If the _task_join() failed, reinstall the task on the pad so that it can
13171 be stopped later and return an error.
13173 2006-08-11 Andy Wingo <wingo@pobox.com>
13176 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13177 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13178 is only for users of API that don't want to see deprecated
13179 functions in the headers; people that want to compile out
13180 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13181 CFLAGS. Fixes the build of multifdsink, or will soon..
13183 2006-08-11 Wim Taymans <wim@fluendo.com>
13185 * docs/gst/gstreamer-sections.txt:
13186 Add GstClockClass vmethod docs.
13189 Mark #endif with comment for associated #if
13191 * gst/gstclock.c: (gst_clock_id_wait):
13193 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13194 most clock implementations.
13196 Flesh out docs about resolution methods.
13197 API: GstClockClass::wait_jitter
13199 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13200 (gst_system_clock_async_thread),
13201 (gst_system_clock_id_wait_jitter_unlocked),
13202 (gst_system_clock_id_wait_jitter):
13203 Use base class wait_jitter variant for improved performance
13204 due to less clock polling.
13206 2006-08-11 Edward Hervey <edward@fluendo.com>
13208 * gst/gst.c: (gst_init_check), (init_post):
13209 Set gst as being initialized before scanning/updating the registry,
13210 since there might be my python plugin loader that calls gst_init() and
13211 we don't want to loop back in.
13214 2006-08-11 Wim Taymans <wim@fluendo.com>
13216 * docs/design/part-qos.txt:
13217 Bring docs in line with the code. Mostly the sign of the jitter was
13218 wrong in the docs. Fixes #349943.
13221 Fix the docs for the jitter.
13223 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13224 (gst_event_parse_tag), (gst_event_new_buffer_size),
13225 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13226 (gst_event_new_seek), (gst_event_parse_seek),
13227 (gst_event_new_navigation):
13228 Make sure the GstStructure has no parent when creating custom
13230 Add some more argument checking so that we avoid 0.0 rates.
13231 Flesh out the docs for the QoS event some more.
13233 2006-08-11 Wim Taymans <wim@fluendo.com>
13235 * docs/gst/gstreamer-sections.txt:
13236 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13237 (ensure_current_registry_forking), (ensure_current_registry),
13238 (parse_one_option), (parse_goption_arg), (gst_deinit),
13239 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13242 Added API and command line option to disable registry forking in
13243 addition to the environment variable.
13244 Constify some static arrays.
13245 Added some more debug.
13246 Don't deinit twice.
13247 API: gst_registry_fork_is_enabled()
13248 API: gst_registry_fork_set_enabled()
13249 API: --gst-disable-registry-fork command line option
13252 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13254 * gst/gst.c: (gst_init):
13255 Fix typo in error message.
13257 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13259 * libs/gst/controller/gstcontroller.h:
13260 fix ABI size-correction
13262 * tests/check/libs/gdp.c: (gst_dp_suite):
13263 make tests that use deprecated API conditional
13265 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13267 * docs/libs/gstreamer-libs-sections.txt:
13268 * libs/gst/controller/gstcontroller.c:
13269 (_gst_controller_get_property), (_gst_controller_set_property),
13270 (_gst_controller_init), (_gst_controller_class_init):
13271 * libs/gst/controller/gstcontroller.h:
13272 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13273 (gst_object_set_control_rate):
13274 API: add gst_object_{s,g}et_control_rate(), add private data section,
13277 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13278 * libs/gst/dataprotocol/dataprotocol.h:
13279 add deprecation guards to make gtk-doc happy and allow disabling cruft
13281 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13283 * tests/check/Makefile.am:
13284 * tests/check/gst/.cvsignore:
13285 Let's enable the new unit test as well.
13287 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13290 * docs/gst/gstreamer-sections.txt:
13291 * gst/gstconfig.h.in:
13292 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13293 (_gst_info_printf_extension_ptr),
13294 (_gst_info_printf_extension_segment):
13295 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13296 register that lets us easily dump GstSegments into debug
13299 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13300 (info_segment_format_printf_extension), (gst_info_suite):
13301 Add simple unit test that logs a bunch of different segments (not
13302 valgrinded at the moment because of leaks in
13303 gst_debug_add_log_function).
13305 2006-08-09 Edward Hervey <edward@fluendo.com>
13307 * libs/gst/base/gstbasetransform.c:
13308 (gst_base_transform_buffer_alloc):
13309 Even if we can't figure out the proper format to request downstream,
13310 call buffer_alloc() downstream with the input parameters without setting
13311 the caps on the srcpad. This will force negotiation in the chain
13315 2006-08-08 Edward Hervey <edward@fluendo.com>
13317 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13318 Unlinking from a pad without a target is now a perfectly valid case
13319 which should NOT raise an assertion.
13320 This case would happen if a linked ghostpad its target set to NULL after
13321 it was previously linked.
13323 2006-08-08 Edward Hervey <edward@fluendo.com>
13325 * tests/check/libs/gdp.c:
13326 Also comment out the test (see below).
13328 2006-08-08 Edward Hervey <edward@fluendo.com>
13330 * tests/check/libs/gdp.c: (gst_dp_suite):
13331 Use the architecture information from config.h and not gcc macros
13332 in order to properly disable a test that fails on PPC64.
13334 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13336 * gst/gstelement.c: (gst_element_remove_pad):
13337 Don't crash printing the warning if the pad has no parent.
13339 2006-08-02 Wim Taymans <wim@fluendo.com>
13341 * libs/gst/dataprotocol/dataprotocol.c:
13342 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13343 (gst_dp_crc), (gst_dp_header_payload_length),
13344 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13345 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13346 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13347 (gst_dp_event_from_packet), (gst_dp_validate_header),
13348 (gst_dp_validate_payload):
13349 Make debug category static
13350 Constify the crc table.
13351 Do some more arg checking in public functions.
13352 Fix some docs and do some small cleanups.
13354 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13355 Add some more checks to see if GDP deals with bogus input.
13357 2006-07-31 Wim Taymans <wim@fluendo.com>
13359 * gst/gstvalue.c: (gst_value_compare_list):
13360 Fix GstValueList comparison code. Fixes #347293.
13362 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13363 Check to test GstValueList comparison.
13365 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13367 * gst/gstelementfactory.c: (gst_element_factory_create):
13368 Remove unnecessary ref/unref pair
13370 * gst/parse/grammar.y:
13371 Make sure to free the parse buffer on all code paths.
13372 Move a g_free up to the error handler where it's easier to see.
13374 * tests/check/gst/gstevent.c: (test_event):
13375 Extending timeout for downstream travelling events to 10 seconds to
13376 hopefully avoid intermittent failure on the buildbots.
13378 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13379 Don't manually set the state of the src element - it will happen as a
13380 natural consequence of the pipeline changing state, and that way it
13381 will do it in the right order too.
13383 2006-07-31 Wim Taymans <wim@fluendo.com>
13385 * libs/gst/base/gstbasetransform.c:
13386 (gst_base_transform_buffer_alloc):
13387 Use OBJECT_LOCK and refcounting to get the pad caps in the
13388 buffer_alloc function because the caps could change while we are
13389 busy with them. Fixes #349105
13391 2006-07-31 Wim Taymans <wim@fluendo.com>
13393 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13394 Protect _PAD_CAPS with OBJECT_LOCK.
13396 2006-07-31 Wim Taymans <wim@fluendo.com>
13398 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13399 (gst_pad_get_property), (gst_pad_activate_pull),
13400 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13401 (gst_pad_set_activate_function),
13402 (gst_pad_set_activatepull_function),
13403 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13404 (gst_pad_set_getrange_function),
13405 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13406 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13407 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13408 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13409 (gst_pad_set_acceptcaps_function),
13410 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13411 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13412 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13413 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13414 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13415 (gst_pad_configure_sink), (gst_pad_configure_src),
13416 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13417 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13418 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13419 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13420 (gst_pad_send_event):
13421 Use _DEBUG_OBJECT when it makes sense.
13422 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13423 Small cleanups and code reflows.
13424 Avoid caps refcounting in _accept_caps.
13425 Refactor alloc_buffer so that the code performed on the peer is in a
13426 separate function. Also if the pad does not implement a buffer alloc
13427 function, we should still check if the pad is flushing before falling
13428 back to the default allocator.
13430 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13432 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13433 Make all uses of identity and fakesink have silent=true to avoid
13434 serialising every passing data structure, which is breaking tests
13435 on FC4 for some unknown reason.
13437 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13439 * gst/parse/Makefile.am:
13440 * gst/parse/grammar.y:
13441 * gst/parse/parse.l:
13442 Reverted previous patch as it required to bump the flex dependency to
13443 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13445 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13447 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13449 * gst/parse/Makefile.am:
13450 * gst/parse/grammar.y:
13451 * gst/parse/parse.l:
13452 push & pop the state of the lexer for reentrant use case
13455 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13457 * libs/gst/base/gstbasesrc.h:
13458 Note in the docs that the ::newsegment vfunc is not actually used by
13461 2006-07-28 Wim Taymans <wim@fluendo.com>
13463 * libs/gst/base/gstcollectpads.c:
13464 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13465 (gst_collect_pads_clear), (gst_collect_pads_flush),
13466 (gst_collect_pads_event), (gst_collect_pads_chain):
13467 When flushing a pad, also clear the queued buffer so that we don't
13468 accidentally use it when we shouldn't.
13469 Fix leaks by inreffing incomming buffer.
13470 Flush out queued buffers in case of errors.
13473 2006-07-28 Wim Taymans <wim@fluendo.com>
13475 * docs/random/phonon-gst:
13476 Random notes about a Phonon backend.
13478 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13480 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13482 * tests/check/libs/gdp.c: (gst_dp_suite):
13483 Take a whack at fixing the ppc compile using a different define to
13484 disable the broken test.
13486 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13487 Remove excess g_print()
13489 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13491 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13492 Oops, meant to uncomment this line too to dampen the noise a bit.
13494 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13496 * gst/parse/grammar.y:
13497 * gst/parse/parse.l:
13498 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13499 (GST_START_TEST), (parse_suite):
13500 Fix some of the leaks exposed by extending the parse-launch testsuite,
13501 and move the 3 I can't figure out into a separate test that won't run
13502 the pipelines unless the appropriate line is uncommented.
13504 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13506 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13507 Requesting 0 bytes before the end of the file should result in
13508 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13511 2006-07-27 Wim Taymans <wim@fluendo.com>
13513 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13514 Fix useless assert, a uint is always positive.
13516 * gst/gststructure.c: (gst_structure_nth_field_name),
13517 (gst_structure_foreach), (gst_structure_map_in_place):
13518 Check input arguments for public functions to avoid obvious crashes.
13520 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13521 * plugins/elements/gstfakesink.h:
13522 Do less useless typechecking.
13524 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13526 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13527 Do not use mmap() by default since there are a number of error
13528 conditions that we would like to handle in a non-fatal way that
13529 will result in a SIGBUS if we use mmap(). Examples: external
13530 devices (USB harddrive, portable music player) being unplugged
13531 while in use; file on mounted CD/DVD that can't be read because
13532 the medium is partly damaged. Fixes #348455 and #348475.
13534 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13537 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13538 rates are a gdouble
13540 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13542 * gst/gstregistry.c:
13543 Move big documentation comment into class section header, so that it
13544 appears in the API docs.
13546 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13548 * docs/gst/gstreamer-sections.txt:
13549 Oops. Commit the docs additions too for new API.
13550 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13552 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13554 * gst/gststructure.c: (gst_structure_id_set),
13555 (gst_structure_id_set_valist):
13556 * gst/gststructure.h:
13557 Add API for setting values into structures without performing
13558 a quark lookup, if the appropriate quark is already known.
13560 API: gst_structure_id_set
13561 API: gst_structure_id_set_valist
13563 * gst/parse/grammar.y:
13564 * gst/parse/parse.l:
13565 Remove some dead code shown by the coverage information.
13566 Don't throw a critical g_warning when encountering a syntax error,
13567 just warn and let the normal error path handle it.
13569 * plugins/elements/gstelements.c:
13570 Bump the rank of filesink up to PRIMARY so that it is preferred over
13571 gnomevfssink for file:// sink uri's
13573 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13574 (GST_START_TEST), (run_delayed_test),
13575 (gst_parse_test_element_base_init),
13576 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13577 (gst_parse_test_element_change_state),
13578 (gst_register_parse_element), (parse_suite):
13579 Beef up the tests for parse syntax to check that more error cases
13580 fail as they are supposed to. Increases the test coverage a bit.
13582 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13584 * docs/manual/basics-elements.xml:
13585 Fix gst_element_link() example.
13588 Mention in API docs that one should usually gst_bin_add()
13589 elements to a bin or pipeline before doing the linking.
13591 2006-07-26 Wim Taymans <wim@fluendo.com>
13593 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13594 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13595 Avoid function call for known types by keeping the buffer and
13596 subbuffer GType global.
13598 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13599 Random silly optimisations in read() path.
13601 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13603 * tools/gst-launch.c: (main):
13604 If the top-level of the parse is a normal bin, it doesn't do the
13605 right logic to run as a top-level element, so place it inside a
13608 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13610 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13611 Remove superfluous g_object_notify() calls, GObject does
13612 that for us automatically.
13614 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13617 on Win32, use dllspec to export the debug category symbols
13619 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13621 * gst/gsttaglist.c: (_gst_tag_initialize):
13622 Allow more than one GST_TAG_IMAGE per taglist.
13624 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13626 * gst/gstminiobject.c:
13628 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13629 (gst_fd_src_create):
13630 log recurring events at LOG level
13631 add more debug for when the fd gets set
13633 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13635 * gst/gstparse.c: (gst_parse_launch):
13636 Also remove reentrance checks if flex is MT safe (#348179)
13637 Fix my empty ChangeLog entry below
13639 2006-07-21 Andy Wingo <wingo@pobox.com>
13641 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13643 * libs/gst/check/Makefile.am
13644 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13645 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13646 * libs/gst/check/gstbufferstraw.h:
13647 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13648 functions, thus proving I am still a GStreamer haxor. OK I wrote
13649 them a long time ago, but anyways.
13651 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13654 * gst/gstparse.c: (gst_parse_launch):
13655 Check for flex version and omit mutex if we have a MT save flex
13658 2006-07-21 Wim Taymans <wim@fluendo.com>
13660 * gst/gstparse.c: (gst_parse_launch):
13661 Protect recursive calls to _parse with a recursive mutex
13664 2006-07-21 Wim Taymans <wim@fluendo.com>
13666 * tests/check/gst/gstpad.c: (GST_START_TEST):
13669 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13671 * gst/gstparse.c: (gst_parse_launch):
13672 Do not hang on recursive usage of gst_parse_launch()
13674 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13676 * gst/gsttaglist.c:
13677 Add some more docs, comments and FIXME 0.11s here and there
13678 and also fix some typos.
13680 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13682 * gst/gstsegment.h:
13683 Convert tabs to spaces for better readability.
13685 2006-07-20 Edward Hervey <edward@fluendo.com>
13687 * tests/check/libs/gdp.c: (gst_dp_suite):
13688 the test_buffer test fails at line 140 on ppc64 at the following
13690 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13691 GST_BUFFER_FLAG_IN_CAPS),
13692 "GST_BUFFER_IN_CAPS flag should have been copied !");
13693 See bug #348114 for more details.
13695 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13697 * docs/pwg/advanced-scheduling.xml:
13699 Fix typos (#348000).
13701 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13703 * docs/pwg/intro-basics.xml:
13704 Fix wrong links (#347927).
13706 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13708 * gst/gstregistry.h:
13709 * gst/gstregistryxml.c: (load_feature),
13710 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13711 * win32/common/config.h:
13712 make --disable-index work (#342564)
13714 2006-07-18 Wim Taymans <wim@fluendo.com>
13716 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13720 The attached patch adds two missing defines to gsttrace.h when tracing
13721 is disabled. It also corrects one existing define.
13724 2006-07-17 Wim Taymans <wim@fluendo.com>
13726 * docs/gst/gstreamer-sections.txt:
13727 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13729 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13730 Add two functions to check and change the SIGSEGV behaviour
13731 when loading plugins.
13732 Don't mess with the SIGSEGV handler when we were told not to.
13734 API: gst_segtrap_is_enabled
13735 API: gst_segtrap_set_enabled
13737 2006-07-14 Wim Taymans <wim@fluendo.com>
13739 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13740 * tests/check/elements/filesrc.c: (GST_START_TEST):
13741 Revert fix for regression in #347408 after release.
13743 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13745 Patch by: Antoine Tremblay <hexa00 at gmail com>
13747 * gst/gstutils.c: (gst_element_unlink):
13748 Free iterator when done (#347311).
13750 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13751 And add a test case for this.
13753 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13756 Bump nano back to CVS
13758 === release 0.10.9 ===
13760 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13763 releasing 0.10.9, "On the road again"
13765 2006-07-13 Wim Taymans <wim@fluendo.com>
13767 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13768 * tests/check/elements/filesrc.c: (GST_START_TEST):
13769 Revert pull-0 fix for release. Disable check. Fixes #347408.
13771 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13773 * libs/gst/dataprotocol/dataprotocol.c:
13774 (gst_dp_event_from_packet_1_0):
13775 Fixes #347337: failure to deserialize event packets with
13776 empty payload (only event type)
13778 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13781 do not install a .c file in the header directory
13783 2006-07-13 Edward Hervey <edward@fluendo.com>
13785 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13786 GhostPad no longer implicitely use the padtemplates of the targets.
13789 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13791 * gst/gstvalue.c: (gst_value_compare_list),
13792 (gst_value_compare_array), (_gst_value_initialize):
13793 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13794 Make GstValueArray comparison be order dependent as designed.
13795 Add checks for value lists and value array comparisons.
13798 2006-07-11 Edward Hervey <edward@fluendo.com>
13800 * gst/gstbin.c: (activate_pads),
13801 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13802 (gst_bin_change_state_func):
13803 (de)activate src pads before calling state_change on the childs.
13804 This is to avoid the case where a src ghostpad is blocked (holding the
13805 stream lock), which would block the deactivation of the ghostpad's
13807 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13808 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13809 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13810 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13811 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13812 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13813 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13814 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13815 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13816 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13817 (gst_ghost_pad_class_init),
13818 (gst_ghost_pad_internal_do_activate_push),
13819 (gst_ghost_pad_internal_do_activate_pull),
13820 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13821 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13822 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13823 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13824 GhostPads now create their internal GstProxyPad at creation (and not
13825 when they're linked, as it was being done previously).
13826 The internal and target pads are linked straight away.
13827 The data will also travel through the other pad in order to make
13828 pad blocking and probes non-hackish (the probe/block now really happens
13829 on the GhostPad and not on the target).
13830 * gst/gstpad.c: (gst_pad_set_blocked_async),
13831 (gst_pad_link_prepare), (gst_pad_push_event):
13832 Remove previous ghostpad cruft.
13833 * gst/gstutils.c: (gst_pad_add_data_probe),
13834 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13835 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13836 (gst_pad_remove_buffer_probe):
13837 Remove previous ghost pad cruft.
13838 Added more detailed debug statements.
13839 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13840 Fix the testsuite for refcounting changes.
13841 The comments about who has references were correct, but the refcount
13842 being checked wasn't the same (!?!).
13846 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13848 * docs/gst/gstreamer-sections.txt:
13849 * gst/gstconfig.h.in:
13850 More docs for configuration options, add docs to gtk-doc.
13852 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13855 * gst/gstconfig.h.in:
13856 * win32/common/config.h:
13857 Fix build when disabling tracing (fixes #344016). Also start to document
13858 the defines that disable the sub-systems.
13860 2006-07-10 Edward Hervey <edward@fluendo.com>
13862 * gst/gst.c: (ensure_current_registry_forking):
13863 let's make valgrind happy...
13865 2006-07-09 Wim Taymans <wim@fluendo.com>
13867 * gst/gstelement.c: (activate_pads),
13868 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13869 Better pad activation code: Reset the collect value too on resync.
13872 2006-07-09 Wim Taymans <wim@fluendo.com>
13874 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13875 (gst_pad_activate_push):
13876 Use some more macros where it makes sense.
13877 Allow pad mode switching instead of asserting. When a pad
13878 is activated in one mode and we activate it in another,
13879 deactivate it first before activating it in a different mode.
13882 2006-07-08 Andy Wingo <wingo@pobox.com>
13884 * tools/gst-launch.c (main): Handle err == NULL.
13886 * gst/gst.c (init_post, ensure_current_registry)
13887 (ensure_current_registry_forking)
13888 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13889 factoring out the registry scanning into separate functions. Don't
13890 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13891 Better environment var name/interface suggestions accepted.
13893 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13895 * gst/gstobject.c: (gst_object_set_name_default),
13896 (gst_object_set_name):
13897 Random micro-optimisation: don't use a hash table
13898 with strings as keys and the usual strdup/strcmp
13899 involved, but rather just use the GQuark of the
13900 type name as key, since it needs to be looked up
13901 anyway to get the type name string.
13903 * tests/check/gst/gstobject.c: (GST_START_TEST):
13906 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13908 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13909 (gst_bin_iterate_all_by_interface):
13910 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13911 GTypes are gulongs and thus the top 4 bytes might be cut
13912 off on some platforms when doing GPOINTER_TO_INT, leading
13913 to invalid GTypes and bad things happening (see RH bug #179654).
13914 Also add a check to make sure the type passed in is really
13917 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13922 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13926 * gst-element-check.m4:
13927 * gst-element-check.m4.in:
13928 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13929 instead of the unversioned gst-inspect (#324176, #168659).
13931 2006-07-06 Wim Taymans <wim@fluendo.com>
13933 * gst/gstmessage.h:
13934 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13937 2006-07-06 Wim Taymans <wim@fluendo.com>
13939 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13940 (gst_base_src_wait), (gst_base_src_update_length),
13941 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13942 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13943 (gst_base_src_loop), (gst_base_src_start),
13944 (gst_base_src_activate_pull):
13946 blocksize == 0 now means the default blocksize when working in push
13948 Remove some pointless asserts in _wait function.
13949 Fix offset/length calculations and EOS handling. We can now pull 0
13950 bytes as well, which is allowed.
13951 use _check_get_range() to decide if we can operate in _pull based
13953 Fix refcounting leak when check_get_range function was not
13955 API GstBaseSrc::blocksize range can be 0 too now (default)
13957 * tests/check/elements/filesrc.c: (GST_START_TEST),
13959 Added check to test _get_range() behaviour.
13961 2006-07-06 Wim Taymans <wim@fluendo.com>
13963 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13964 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13965 (gst_pad_pull_range):
13967 Lots of comments and docs added to the pad functions.
13968 Flesh out the expected behaviour of the get_range() functions.
13970 2006-07-06 Wim Taymans <wim@fluendo.com>
13975 * gst/gstiterator.h:
13979 Remove comma at end of enumerator list.
13981 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13983 * win32/common/libgstbase.def:
13984 * win32/common/libgstdataprotocol.def:
13985 * win32/common/libsgtreamer.def:
13986 Add new exported functions.
13988 2006-07-05 Wim Taymans <wim@fluendo.com>
13990 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13991 Add some more docs here and there.
13993 2006-07-05 Wim Taymans <wim@fluendo.com>
13995 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13996 (gst_base_sink_loop), (gst_base_sink_get_position):
13997 When operating in pull mode update the offset so that we
14000 2006-07-05 Wim Taymans <wim@fluendo.com>
14002 * gst/gstregistryxml.c: (read_string):
14003 Avoid strdup. (will happen in libxml, but hey!)
14006 Add some more docs.
14008 2006-07-05 Wim Taymans <wim@fluendo.com>
14010 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14011 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14012 (gst_buffer_suite):
14013 No point in checking if the size of the subbuffer > 0, the
14014 code handles it correclty as demonstrated by unit test.
14015 Also add a unit test for the zero sized _new_and_alloc and
14016 _copy. Fixes #346663.
14018 2006-07-05 Wim Taymans <wim@fluendo.com>
14020 * libs/gst/base/gstbasetransform.c:
14021 (gst_base_transform_prepare_output_buffer),
14022 (gst_base_transform_buffer_alloc),
14023 (gst_base_transform_handle_buffer):
14024 Make sure the buffer we pass to transform_ip has a refcount of
14025 1 and thus is writable. Fixes #343196
14027 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14029 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14030 (gst_file_src_init), (gst_file_src_set_property),
14031 (gst_file_src_get_property), (gst_file_src_map_region):
14032 * plugins/elements/gstfilesrc.h:
14033 Add "sequential" property, off by default, to use madvise and hint
14034 to the kernel that sequential access is desired.
14035 Touch all retrieved pages by default to ensure they are pulled
14036 into memory. (Closes #345720)
14038 2006-07-03 Wim Taymans <wim@fluendo.com>
14040 * docs/design/part-block.txt:
14041 * docs/design/part-dynamic.txt:
14042 Small docs updates.
14044 2006-07-03 Wim Taymans <wim@fluendo.com>
14046 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14047 (gst_caps_unref), (gst_static_caps_get),
14048 (gst_caps_append_structure):
14049 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14050 Use GSlice when the glib we build against is >= 2.10
14052 2006-07-03 Wim Taymans <wim@fluendo.com>
14054 * gst/gstelement.c: (gst_element_pads_activate):
14055 Small cleanup in pad activation code.
14057 2006-07-03 Wim Taymans <wim@fluendo.com>
14059 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14061 * gst/gst-i18n-app.h:
14062 * gst/gst-i18n-lib.h:
14063 * tools/gst-inspect.c: (print_signal_info):
14064 The attached patch will make the inclusion of gettext.h unconditional in
14065 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14066 libintl.h in tools/gst-inspect.c.
14067 This allows use of --disable-nls again and fixes #344642.
14069 2006-07-03 Edward Hervey <edward@fluendo.com>
14071 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14072 Implement pad blocking on events according to part-block.txt.
14073 More comments on behaviour.
14074 * tests/check/gst/gstevent.c: (test_event):
14075 Send event to peer pad of blocked pad (else it will block).
14077 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14079 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14080 (gst_check_run_suite):
14081 if we get the wrong message, give us the types as string
14082 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14084 * tests/check/elements/filesrc.c: (GST_START_TEST):
14085 add a test for trying to open a non-existing file
14087 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14089 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14090 add a test for adding self
14092 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14094 * libs/gst/check/gstcheck.h:
14095 add some assert_ as alias for fail_unless_*
14096 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14097 increase test coverage
14099 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14102 include lcov.mak for lcov coverage generation
14103 * tools/Makefile.am:
14106 2006-07-02 Edward Hervey <edward@fluendo.com>
14108 * tests/check/elements/.cvsignore:
14111 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14114 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14115 * tests/check/Makefile.am:
14116 clean up gcov files
14118 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14120 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14121 remove gst_caps_simplify; it was not declared and not used
14122 and deprecated in 0.8
14124 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14126 * docs/faq/gst-uninstalled:
14127 don't put empty paths on PYTHONPATH
14128 * docs/gst/gstreamer-sections.txt:
14129 remove some symbols that are not there
14131 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14133 * gst/gstcaps.c: (gst_caps_compare_structures):
14135 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14136 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14139 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14141 * libs/gst/dataprotocol/Makefile.am:
14142 build dataprotocol test by linking to the lib, instead of
14143 compiling the source, so we get coverage
14144 * tests/check/Makefile.am:
14145 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14146 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14147 add a test for filesrc
14149 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14151 * tests/check/gst/gststructure.c: (GST_START_TEST),
14152 (gst_structure_suite):
14153 Push coverage from 59.04% to 70.00%
14155 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14157 * tests/check/Makefile.am:
14158 gst-inspect every element; this makes sure that we also get
14159 coverage on element's get/set functions
14161 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14164 set CFLAGS and friends to -O0 if gcov is being used
14167 * libs/gst/base/Makefile.am:
14168 * libs/gst/check/Makefile.am:
14169 * libs/gst/controller/Makefile.am:
14170 * libs/gst/dataprotocol/Makefile.am:
14171 * libs/gst/net/Makefile.am:
14172 * plugins/elements/Makefile.am:
14173 * plugins/indexers/Makefile.am:
14174 add makefile rules to generate gcov data and clean up
14175 * tests/check/Makefile.am:
14176 add a coverage target that generates an html overview
14179 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14181 * tests/check/elements/fakesink.c:
14182 * tests/check/elements/fakesrc.c:
14183 * tests/check/elements/fdsrc.c:
14184 * tests/check/elements/identity.c:
14185 * tests/check/generic/sinks.c: (gst_sinks_suite):
14186 * tests/check/generic/states.c:
14187 * tests/check/gst/gst.c:
14188 * tests/check/gst/gstabi.c:
14189 * tests/check/gst/gstbin.c:
14190 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14191 * tests/check/gst/gstbus.c: (gst_bus_suite):
14192 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14193 * tests/check/gst/gstelement.c:
14194 * tests/check/gst/gstevent.c: (gst_event_suite):
14195 * tests/check/gst/gstghostpad.c:
14196 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14197 * tests/check/gst/gstmessage.c: (gst_message_suite):
14198 * tests/check/gst/gstminiobject.c:
14199 * tests/check/gst/gstobject.c:
14200 * tests/check/gst/gstpad.c:
14201 * tests/check/gst/gstpipeline.c:
14202 * tests/check/gst/gstplugin.c:
14203 * tests/check/gst/gstquery.c: (gst_query_suite):
14204 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14205 * tests/check/gst/gststructure.c:
14206 * tests/check/gst/gstsystemclock.c:
14207 * tests/check/gst/gsttag.c:
14208 * tests/check/gst/gsttask.c: (gst_task_suite):
14209 * tests/check/gst/gstutils.c:
14210 * tests/check/gst/gstvalue.c:
14211 * tests/check/libs/adapter.c:
14212 * tests/check/libs/basesrc.c:
14213 * tests/check/libs/collectpads.c:
14214 * tests/check/libs/controller.c:
14215 * tests/check/libs/gdp.c: (gst_dp_suite):
14216 * tests/check/libs/gstnetclientclock.c:
14217 * tests/check/libs/gstnettimeprovider.c:
14218 * tests/check/libs/libsabi.c: (libsabi_suite):
14219 * tests/check/libs/typefindhelper.c:
14220 * tests/check/pipelines/cleanup.c:
14221 * tests/check/pipelines/parse-launch.c:
14222 * tests/check/pipelines/simple-launch-lines.c:
14223 * tests/check/pipelines/stress.c: (stress_suite):
14226 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14228 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14229 * libs/gst/check/gstcheck.h:
14230 create a macro and function so that the simple unit test
14231 case can be just one macro to create main()
14233 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14235 * gst/gstbin.c: (gst_bin_restore_thyself):
14236 * gst/gstxml.c: (gst_xml_make_element):
14237 Fix deserialisation from XML. Set parent manually
14238 instead of using gst_bin_add(), since gst_bin_add()
14239 will unlink all pads of the element being added.
14242 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14244 Patch by: Peter Kjellerstedt <pkj at axis com>
14246 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14247 Fix missing g_strdup() and double free when using the
14248 --gst-plugin-load command line option (#346097).
14250 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14253 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14255 * libs/gst/net/gstnetclientclock.c:
14256 * libs/gst/net/gstnettimeprovider.c:
14257 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14259 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14261 * docs/manual/advanced-dataaccess.xml:
14262 Fix buffer probe example compilation in
14265 2006-06-22 Edward Hervey <edward@fluendo.com>
14267 * gst/gstelement.c: (gst_element_pads_activate):
14268 We need to deactivate src pads first and then sink pads.
14269 The reason is the src pads might be blocking while holding the streaming
14270 lock, so we need to deactivate them first so that deactivating the sink
14271 pads doesn't block (since it will require the streaming lock).
14273 2006-06-22 Wim Taymans <wim@fluendo.com>
14275 * libs/gst/base/gstbasetransform.c:
14276 (gst_base_transform_buffer_alloc):
14277 Forgot to remove two unneeded unrefs.
14278 Simplify a check _is_equal allready checks the obvious case.
14280 2006-06-22 Wim Taymans <wim@fluendo.com>
14282 * docs/design/part-block.txt:
14283 Some docs about what pad_block should do.
14285 2006-06-22 Wim Taymans <wim@fluendo.com>
14287 * gst/gstcaps.c: (gst_caps_replace):
14288 Fix crasher when passed NULL. Doc clarification.
14289 Optimize for the trivial case.
14291 * gst/gstpipeline.c: (gst_pipeline_change_state):
14294 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14295 Small documentation cleanup.
14297 * libs/gst/base/gstbasetransform.c:
14298 (gst_base_transform_buffer_alloc):
14299 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14300 is what we need and it avoids a whole lot of redundant
14301 refcount operations.
14303 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14305 Patch by: Philip Jägenstedt <philip at lysator liu se>
14307 * docs/manual/advanced-dataaccess.xml:
14308 Fix 'Embedding static elements' section to use
14309 GST_PLUGIN_DEFINE_STATIC (#345607).
14311 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14313 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14314 Attempt to 'fix' spuriously failing test case: it seems like the
14315 timeout of half a second is simply too small when the system is under
14316 load otherwise, and the timeout doesn't really seem to serve any
14317 particular purpose here. Give the pipeline a few seconds to preroll
14318 first, and then give it another half a second to go from PAUSED to
14319 PLAYING and marshal the message into the main thread.
14321 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14323 * tools/gst-feedback-m.m:
14324 Don't only use unversioned tools, try versioned tools as well
14327 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14329 * gst/gstbus.c: (gst_bus_class_init):
14330 Fix some typos, make docs more explicit.
14332 2006-06-20 Wim Taymans <wim@fluendo.com>
14334 * tests/check/gst/gstghostpad.c: (block_callback),
14335 (GST_START_TEST), (gst_ghost_pad_suite):
14336 Added some more ghostpad tests, mainly blocking
14339 2006-06-16 Wim Taymans <wim@fluendo.com>
14341 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14342 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14343 (gst_file_sink_event), (gst_file_sink_render):
14344 * plugins/elements/gstfilesink.h:
14345 Check if we can seek in the file instead of assuming
14346 we always can. Post an error when we are asked to seek in a
14347 non-seekable file (like a fifo). Fixes #343312.
14350 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14352 * tools/gst-launch.1.in:
14353 Un-garble (fourcc) bit in filtered caps section.
14355 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14357 * docs/manual/advanced-autoplugging.xml:
14358 * docs/manual/basics-helloworld.xml:
14359 * docs/manual/highlevel-components.xml:
14360 Don't leak bus reference in sample code.
14362 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14365 Add default for new --enable-plugin-docs switch.
14368 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14371 * docs/Makefile.am:
14372 Use new ENABLE_PLUGIN_DOCS conditional.
14374 2006-06-14 Wim Taymans <wim@fluendo.com>
14376 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14377 Make it clear with a FIXME and a real define what the #if 0
14378 previously disabled.
14380 2006-06-14 Wim Taymans <wim@fluendo.com>
14382 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14383 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14384 * libs/gst/base/gstbasetransform.c:
14385 (gst_base_transform_sink_eventfunc):
14386 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14387 Don't randomly and silently reset a segment when the format
14388 changes as this is a bug somewhere upstream. Fixes #330379.
14390 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14392 Patch by: Wouter Paesen <wouter at kangaroot net>
14394 * libs/gst/controller/gstcontroller.c:
14395 (gst_controlled_property_new):
14396 Fix controlling of float properties (#344849).
14398 * tests/check/libs/controller.c:
14399 (gst_test_mono_source_get_property),
14400 (gst_test_mono_source_set_property),
14401 (gst_test_mono_source_class_init), (GST_START_TEST):
14402 While we're at it, add some float stuff to unit test.
14404 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14407 * docs/images/gdp-header.svg:
14409 * docs/libs/Makefile.am:
14410 * docs/libs/gdp-header.png:
14411 * libs/gst/dataprotocol/dataprotocol.c:
14412 add it to the API docs
14413 * docs/manual/intro-motivation.xml:
14416 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14418 * gst/gst.c: (scan_and_update_registry), (init_post):
14419 If the fork()'ed child process can't write the updated registry cache
14420 file to disk for some reason, make it exit with a failure exit code,
14421 so that the parent can then re-scan the plugins itself and update the
14422 registry structures in memory and work with that (rather than failing
14423 when creating elements because seemingly no plugins are available).
14424 Refactor registry scanning code into separate function for this and
14425 also separate fork() and non-fork() code paths. Fixes #344748.
14427 2006-06-13 Wim Taymans <wim@fluendo.com>
14429 * docs/manual/advanced-dataaccess.xml:
14430 Fix wrong PluginDesc. Fixes #344755.
14432 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14434 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14435 Fix silly bug that prevented us from creating
14436 ~/.gstreamer-0.10 and writing the registry in one
14437 go (the first call to g_mkstemp() would overwrite the
14438 placeholder in the template string, so the second call
14439 to g_mkstemp() after creating the missing directory
14440 would then error out with 'invalid argument').
14442 2006-06-13 Edward Hervey <edward@fluendo.com>
14444 * gst/gst.c: (init_post):
14447 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14449 * gst/glib-compat-private.h:
14450 * gst/glib-compat.c:
14451 * gst/glib-compat.h:
14452 * gst/gstvalue.c: (gst_value_serialize_flags):
14453 remove GLib 2.6 compatibility code
14455 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14457 * gst/parse/Makefile.am:
14458 Fix build with 'make -j N' even more (#340016).
14460 2006-06-12 Wim Taymans <wim@fluendo.com>
14462 * docs/gst/gstreamer-sections.txt:
14465 2006-06-12 Wim Taymans <wim@fluendo.com>
14467 * gst/gstsegment.c: (gst_segment_set_duration),
14468 (gst_segment_set_last_stop), (gst_segment_set_seek),
14469 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14470 (gst_segment_to_running_time), (gst_segment_clip):
14471 Use G_UNLIKELY to help the compiler a bit.
14473 2006-06-12 Wim Taymans <wim@fluendo.com>
14475 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14477 * gst/gstevent.c: (gst_event_get_type):
14478 * gst/gstmessage.c:
14479 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14481 constify quark registration strings. Fixes #344115
14482 Avoid unneeded type checking is _pad_push() by internally
14483 calling gst_pad_chain_unchecked().
14485 2006-06-12 Wim Taymans <wim@fluendo.com>
14487 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14488 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14489 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14490 (gst_buffer_is_span_fast), (gst_buffer_span):
14491 Init _type for consistency.
14492 Use _FLAGS macro to avoid type check.
14493 Avoid unneeded type checks in subbufer code.
14495 2006-06-12 Wim Taymans <wim@fluendo.com>
14497 * gst/gst.c: (gst_debug_help):
14498 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14499 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14500 (gst_plugin_feature_list_free):
14501 * gst/gstregistry.c: (gst_registry_add_plugin),
14502 (gst_registry_add_feature), (gst_registry_plugin_filter),
14503 (gst_registry_feature_filter), (gst_registry_find_plugin),
14504 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14505 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14506 * gst/gstregistryxml.c: (load_feature),
14507 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14508 * gst/gstminiobject.c: (gst_mini_object_unref),
14509 (gst_mini_object_replace), (gst_value_mini_object_free),
14510 (gst_value_mini_object_copy):
14511 Use _CAST macros to avoid unneeded type checking.
14512 Added some more G_UNLIKELY.
14514 2006-06-12 Wim Taymans <wim@fluendo.com>
14517 Avoid unneeded type checking.
14518 API: GST_BUFFER_IS_DISCONT
14520 * gst/gstminiobject.h:
14521 Avoid type check in flag accessor.
14523 * gst/gstelementfactory.h:
14525 * gst/gstpluginfeature.h:
14527 API: GST_ELEMENT_FACTORY_CAST
14528 API: GST_PLUGIN_CAST
14529 API: GST_PLUGIN_FEATURE_CAST
14531 2006-06-12 Wim Taymans <wim@fluendo.com>
14533 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14534 (gst_object_unref):
14535 Add G_UNLIKELY in type registration.
14536 Avoid type check in _ref/_unref since that is also
14539 2006-06-12 Wim Taymans <wim@fluendo.com>
14541 * gst/gsterror.c: (gst_g_error_get_type):
14542 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14543 (gst_static_pad_template_get_type):
14544 * gst/gsttaglist.c: (gst_tag_list_get_type):
14545 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14546 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14547 * gst/gsturi.c: (gst_uri_handler_get_type):
14548 * gst/gstvalue.c: (gst_date_get_type):
14549 * gst/gstxml.c: (gst_xml_get_type):
14550 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14551 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14552 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14553 Add G_UNLIKELY in type registration.
14555 2006-06-12 Wim Taymans <wim@fluendo.com>
14557 * tools/gst-inspect.c: (print_signal_info):
14558 Properly print enum values.
14560 2006-06-12 Wim Taymans <wim@fluendo.com>
14562 * gst/gstinfo.c: (gst_debug_set_active),
14563 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14565 Add some G_[UN]LIKELY.
14566 Maintain __gst_debug_min to avoid formatting the arguments of
14567 debug messages that will be dropped anyway to avoid a lot of
14568 overhead from the debugging system.
14570 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14573 * po/POTFILES.skip:
14574 add missing files containing translatable strings, tell intltool about
14577 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14579 * tests/check/libs/.cvsignore:
14580 add test-binary to ignore list
14582 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14584 * docs/libs/gstreamer-libs-docs.sgml:
14585 reorder (put dp into a chapter) and indent
14587 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14592 === release 0.10.8 ===
14594 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14597 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14599 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14601 * gst/gst.c: (init_post):
14602 move pid declaration to declaration block
14604 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14606 * gst/gst.c: (init_post):
14607 use _exit() instead of exit() in our forked child; this ensures
14608 that none of the registered exit handlers from whatever is using
14609 GStreamer get executed. This fixes gnome-mixer-applet failing
14610 to load, because ORBit would shut down.
14611 Spotted by: Edward Hervey <edward@fluendo.com>
14612 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14615 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14620 === release 0.10.7 ===
14622 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14625 releasing 0.10.7, "Soepeke, ik zie ou"
14627 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14650 * win32/common/config.h:
14651 0.10.6.2 prerelease
14653 2006-06-07 Wim Taymans <wim@fluendo.com>
14655 * gst/gstindex.c: (gst_index_gtype_resolver):
14656 * tools/gst-xmlinspect.c: (print_plugin_info):
14657 Fix leak spotted by coverity checker. Fixes #343827
14658 Fix another other leak found by paolo borelli.
14660 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14662 * libs/gst/dataprotocol/dataprotocol.c:
14663 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14664 (gst_dp_version_get_type), (gst_dp_init),
14665 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14666 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14667 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14668 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14669 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14670 (gst_dp_packetizer_free):
14671 * libs/gst/dataprotocol/dataprotocol.h:
14672 API: add a GstDPPacketizer object, and create/free functions
14673 API: add GstDPVersion enum
14674 Add 1.0 event function that uses the string serialization
14675 Serialize more useful buffer flags
14678 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14680 * tests/check/Makefile.am:
14681 * tests/check/gst/gstabi.c:
14682 * tests/check/gst/struct_ppc64.h:
14683 * tests/check/libs/libsabi.c:
14684 * tests/check/libs/struct_ppc64.h:
14685 add ppc64 structure sizes
14687 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14689 * tests/check/Makefile.am:
14690 * tests/check/gst/gstabi.c:
14691 * tests/check/gst/struct_x86_64.h:
14692 * tests/check/libs/libsabi.c:
14693 * tests/check/libs/struct_x86_64.h:
14694 generate and add structure size lists for x86_64
14696 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14698 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14699 * libs/gst/check/gstcheck.h:
14700 factor out the method from tests that checks size of structures,
14701 and add code to generate the header containing these sizes
14702 * tests/check/gst/gstabi.c: (GST_START_TEST):
14703 * tests/check/gst/struct_i386.h:
14704 * tests/check/libs/libsabi.c: (GST_START_TEST):
14705 * tests/check/libs/struct_i386.h:
14708 2006-06-06 Michael Smith <msmith@fluendo.com>
14710 * gst/gstsegment.h:
14711 Don't use c++-style comments, fixes #343929
14713 2006-06-05 Edward Hervey <edward@fluendo.com>
14716 plugin_paths is not used if we build without registry support.
14718 * gst/gstsegment.c: (gst_segment_copy):
14719 _copy() was always returning NULL...
14721 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14723 * libs/gst/dataprotocol/dataprotocol.c:
14724 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14725 (gst_dp_packet_from_event):
14726 factor out CRC code
14728 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14730 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14731 make sure we unset caps
14733 2006-06-02 Michael Smith <msmith@fluendo.com>
14735 * libs/gst/check/gstcheck.c: (gst_check_init),
14736 (gst_check_chain_func):
14737 * libs/gst/check/gstcheck.h:
14738 Add a cond/mutex to the check support lib, signal this whenever we
14739 add to the buffers list. This will allow tests to not busy-wait on
14742 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14744 * libs/gst/dataprotocol/dataprotocol.c:
14745 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14746 (gst_dp_packet_from_event):
14747 factor out some common header init code
14749 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14751 * docs/libs/gstreamer-libs-sections.txt:
14752 * docs/libs/tmpl/gstdataprotocol.sgml:
14753 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14754 * libs/gst/dataprotocol/dataprotocol.h:
14755 API: make gst_dp_crc() public
14757 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14759 * plugins/indexers/gstindexers.c: (plugin_init):
14760 conditionally register fileindexer (fixes #343598)
14762 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14764 * gst/gsttagsetter.h:
14765 Can't cast ifaces to a class
14767 * libs/gst/net/gstnetclientclock.h:
14768 * libs/gst/net/gstnettimeprovider.h:
14769 * plugins/elements/gstfakesink.h:
14770 * plugins/elements/gstfakesrc.h:
14771 * plugins/elements/gstfdsink.h:
14772 * plugins/elements/gstfdsrc.h:
14773 * plugins/elements/gstfilesink.h:
14774 * plugins/elements/gstfilesrc.h:
14775 * plugins/elements/gstidentity.h:
14776 * plugins/elements/gstqueue.h:
14777 * plugins/elements/gsttee.h:
14778 * plugins/indexers/gstfileindex.c:
14779 * plugins/indexers/gstmemindex.c:
14780 * tests/old/examples/plugins/example.h:
14781 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14783 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14785 * libs/gst/dataprotocol/dataprotocol.c:
14786 (gst_dp_header_from_buffer):
14787 make sure we zero the whole ABI-compatible area
14789 2006-06-01 Wim Taymans <wim@fluendo.com>
14791 Patch by: Alessandro Decina <alessandro at nnva dot org>
14793 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14794 Make sure the EOS flag is cleared from pads after a flush
14795 or stop. Fixes #343538.
14797 * tests/check/libs/collectpads.c: (GST_START_TEST),
14798 (gst_collect_pads_suite):
14799 Added test for collectpads reusage after EOS.
14801 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14804 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14805 * win32/common/libgstbase.def:
14806 export gst_collect_pads_set_flushing
14807 * win32/common/libgstreamer.def:
14808 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14809 gst_value_fraction_multiply
14810 * win32/vs6/gst_inspect.dsp:
14811 add a link to intl.lib
14813 2006-05-30 Wim Taymans <wim@fluendo.com>
14815 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14816 (gst_collect_pads_chain):
14817 Handle the case where a pad is removed from the collection
14818 that could cause the other pads to become collectable.
14820 2006-05-30 Wim Taymans <wim@fluendo.com>
14822 * gst/gstelement.c:
14823 Clarify the use of _release_request_pad() and
14824 _get_request_pad() a bit better.
14826 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14827 (gst_adapter_take_buffer):
14828 Fix some doc and comment typos.
14830 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14832 * docs/gst/gstreamer-sections.txt:
14833 * docs/libs/gstreamer-libs-sections.txt:
14834 add declared symbols
14836 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14838 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14839 Add debug that can be enabled using a #define at the top of the file,
14840 for dumping stats about how late/early we were when waking up from
14841 waiting on the clock.
14843 2006-05-30 Wim Taymans <wim@fluendo.com>
14845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14846 When rebuilding the pad list, don't leak the previous list.
14848 2006-05-30 Wim Taymans <wim@fluendo.com>
14850 Patch by: Lutz Mueller <lutz at topfrose dot de>
14852 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14853 (gst_base_src_get_query_types), (gst_base_src_update_length):
14854 Publish supported query types.
14855 Update last_stop field in get_range mode so the position
14856 query works. Fixes #342321.
14858 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14860 * docs/gst/gstreamer-sections.txt:
14861 * gst/gsttaglist.c: (_gst_tag_initialize):
14862 * gst/gsttaglist.h:
14863 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14865 2006-05-30 Wim Taymans <wim@fluendo.com>
14867 Patch by: Alessandro Decina <alessandro at nnva dot org>
14869 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14870 Unlock mutex when removing an unknown pad.
14873 * tests/check/Makefile.am:
14874 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14875 (push_event), (setup), (teardown), (GST_START_TEST),
14876 (gst_collect_pads_suite), (main):
14877 Added collecpads check, disabled for now as check crashes for
14880 2006-05-29 Wim Taymans <wim@fluendo.com>
14882 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14883 Don't leak pads lists.
14885 2006-05-29 Wim Taymans <wim@fluendo.com>
14887 * docs/libs/gstreamer-libs-sections.txt:
14888 * libs/gst/base/gstcollectpads.c:
14889 (gst_collect_pads_set_flushing_unlocked),
14890 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14891 (gst_collect_pads_stop):
14892 * libs/gst/base/gstcollectpads.h:
14893 API: gst_collect_pads_set_flushing()
14894 Added api to set the pads to flushing, useful for seeking
14895 code in elements using collectpads.
14896 Clear segment when receiving a flush.
14898 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14900 * gst/gst.c: (add_path_func), (init_post):
14901 Don't scan registry paths passed via --gst-plugin-path immediately
14902 (will crash, because absolutely nothing is set up and no types are
14903 registered etc.); do this later in init_post(). Fixes #343057.
14905 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14907 * gst/gst.c: (init_post):
14908 if we have fork, fork while reading/rebuilding the registry
14909 so the parent doesn't take the hit of having all plugins loaded
14910 in memory. Fixes #342777.
14912 Check if we have fork()
14913 * win32/common/config.h.in:
14916 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14918 * plugins/elements/gstelements.c:
14919 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14920 (gst_file_src_init), (gst_file_src_set_property),
14921 (gst_file_src_get_property), (gst_file_src_start):
14922 * plugins/elements/gstfilesrc.h:
14923 API: GstFileSrc::use-mmap
14925 Add a use-mmap property to enable easier testing of all code paths.
14926 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14927 in the absence of gnomevfssrc. (Closes #340501)
14929 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14931 * tools/gst-inspect.c:
14932 Add missing include, removes warning of ngettext not being defined on
14935 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14937 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14938 Handle NULL input and output pointers silently as a failed conversion,
14939 rather than g_warnings.
14941 2006-05-25 Wim Taymans <wim@fluendo.com>
14943 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14944 Initialize variable before using. Fixes #342820.
14946 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14948 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14949 Fix off-by-one bug that would only allow peeks of N-1 bytes
14950 from the start even if the buffer to typefind on contains
14951 in fact N bytes of data (makes vorbis typefinding from a
14952 vorbis identification header buffer work).
14954 * tests/check/Makefile.am:
14955 * tests/check/libs/.cvsignore:
14956 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14957 (gst_typefindhelper_suite), (main), (foobar_typefind),
14959 Add very basic unit test for gst_type_find_helper_for_buffer()
14960 that checks for the problem fixed above.
14962 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14964 * tools/gst-inspect.c: (print_interfaces),
14965 (print_element_properties_info), (print_element_list), (main):
14966 add more translatable strings
14968 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14970 Patch by: Julien Moutte <julien at moutte net>
14972 * docs/gst/gstreamer-sections.txt:
14973 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14975 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14976 (gst_fake_sink_preroll):
14977 * plugins/elements/gstfakesink.h:
14978 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14980 2006-05-23 Wim Taymans <wim@fluendo.com>
14982 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14984 Added _CUSTOM error and success GstFlowReturn that can be
14985 used be elements internally.
14986 Added macro to check for SUCCESS flowreturns.
14987 API: GST_FLOW_CUSTOM_SUCCESS
14988 API: GST_FLOW_CUSTOM_ERROR
14989 API: GST_FLOW_IS_SUCCESS
14991 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14992 Added check for GstFlowReturn sanity.
14994 2006-05-23 Wim Taymans <wim@fluendo.com>
14996 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14998 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14999 (gst_collect_pads_event):
15000 clear/reset segment info in FLUSH_STOP.
15003 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15005 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15006 (gst_collect_pads_check_collected):
15007 Flush queued buffer on _stop(), fixes playing again (#342454)
15009 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15011 * tests/check/gst/gststructure.c: (GST_START_TEST),
15012 (gst_structure_suite):
15013 add a test for a complete structure
15015 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15017 * docs/faq/developing.xml:
15018 * docs/faq/faq.xml:
15019 * docs/faq/troubleshooting.xml:
15020 * docs/faq/using.xml:
15021 Some minor FAQ updates that won't change the fact that
15022 our FAQ is badly structured, full of information hardly
15023 anyone new to GStreamer needs to know and lacking lots
15024 of information people constantly ask for.
15026 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15028 * gst/gstpad.c: (gst_pad_set_caps):
15029 Short-circuit gst_pad_set_caps if setting the existing
15030 caps pointer again, and avoid printing debug and
15031 reffing/unreffing the caps.
15033 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15034 There's actually no need to set the caps before pushing -
15035 the acceptcaps method will handle it anyway.
15037 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15039 * docs/gst/gstreamer-sections.txt:
15040 * win32/common/libgstreamer.def:
15041 * gst/gstutils.c: (gst_element_seek_simple):
15043 API: add gst_element_seek_simple() (#342238).
15045 2006-05-18 Edward Hervey <edward@fluendo.com>
15047 * gst/gsttypefind.c: (gst_type_find_get_type):
15048 * gst/gsttypefind.h:
15049 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15050 registered for GstTypeFind pointers. This allows wrapping the structure
15051 in bindings (i.e. gst-python).
15053 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15055 * gst/gsttagsetter.c:
15056 Docs additions and fixes (see #339918).
15058 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15060 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15061 The caps intersection algorithm can produce multiple copies of the
15062 caps. Until that is fixed, we need to simplify the result to be
15063 sure whether the allowed caps are fixed or not.
15065 * plugins/elements/gstqueue.c: (gst_queue_init),
15066 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15067 (gst_queue_push_one):
15068 Proxied buffer alloc should not set the caps on the source pad.
15069 When pushing buffers, we always accept the caps change that triggers.
15070 This prevents negotiation errors caused by caps changing mid-stream
15071 and then being refused on our source pad (because upstream is now
15072 refusing those caps).
15074 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15076 * tests/examples/helloworld/helloworld.c: (main):
15077 Must plug audioconvert and audioresample between decoder
15080 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15082 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15083 (load_feature), (load_plugin):
15084 Allow empty strings for some of the plugin fields so we don't
15085 drop valid plugin entries that were written out correctly
15088 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15090 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15091 Use g_remove and g_rename instead of remove and rename that don't
15092 handle utf8 characters. rename was failing for users who had specific
15093 characters in their name then the registry was built at each
15095 * win32/vs6/gst_inspect.dsp:
15096 * win32/vs6/gst_launch.dsp:
15097 * win32/vs6/libgstbase.dsp:
15098 * win32/vs6/libgstcoreelements.dsp:
15099 * win32/vs6/libgstreamer.dsp:
15100 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15101 build of libgstreamer and clean unused libraries in projects link
15104 2006-05-17 Edward Hervey <edward@fluendo.com>
15106 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15107 The queue is not responsible for pushing an EOS when receiving a fatal
15108 flow error. It's up to the real element driving the pipeline to do that.
15110 2006-05-16 Edward Hervey <edward@fluendo.com>
15112 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15113 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15114 buffer returned a fatal error. It should just send an EOS and stop
15116 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15117 when pushing buffers on the queue and will be able to handle the event.
15119 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15121 * docs/manual/basics-bins.xml:
15122 * docs/manual/basics-init.xml:
15123 Fix typos and minor errors in sample code (#341856).
15125 2006-05-16 Wim Taymans <wim@fluendo.com>
15127 * docs/design/part-qos.txt:
15128 Fix indexes in formulas to make more sense.
15130 2006-05-15 Wim Taymans <wim@fluendo.com>
15132 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15133 Don't report POSITION based on clock time if sync is
15134 disabled in a sink.
15136 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15139 Add cast to make compiler happy - refcount variable was a gint
15140 in GstObject but is a guint in GObject and g_atomic_int_get()
15143 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15145 * gst/parse/Makefile.am:
15146 chain commands using &&, which also makes parallel make work
15148 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15150 * docs/gst/gstreamer-sections.txt:
15153 * gst/gstmessage.h:
15156 === release 0.10.6 ===
15158 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15161 releasing 0.10.6, "Take the cannoli"
15163 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15165 * tools/gst-launch.c: (print_tag):
15166 Fix use of uninitialized variable in the hypothetical
15167 case that some broken plugin creates a GST_TAG_IMAGE
15168 tag containing a NULL buffer (#341667).
15170 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15172 * tools/gst-launch.c: (print_tag):
15173 Print something more intelligible for image tags when
15174 using the -t switch (#341556).
15176 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15181 define GST_MAJORMINOR so we have it available in win32/common/config.h
15182 Possibly remove it from our Makefile.am files later
15183 * win32/common/config.h:
15184 * win32/common/config.h.in:
15185 added GST_MAJORMINOR
15186 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15187 * win32/common/gstversion.h:
15190 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15193 Update win32 files listing.
15194 * win32/common/gstversion.h:
15195 Add GST_MAJORMINOR definition.
15196 * win32/common/libgstreamer.def:
15197 Add new exported functions.
15199 2006-05-12 Michael Smith <msmith@fluendo.com>
15201 * gst/gstplugin.c: (gst_plugin_load_file):
15202 If an so file has no plugin entry point, unload the module.
15204 2006-05-11 Wim Taymans <wim@fluendo.com>
15206 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15207 (gst_queue_set_property):
15208 Don't forget to signal the _chain or _loop function
15209 when the queue size or thresholds change since that might
15210 cause them to make progres again.
15212 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15214 * gst/gstclock.c: (gst_clock_class_init):
15215 * gst/gstindex.c: (gst_index_class_init):
15216 * gst/gstobject.c: (gst_object_class_init):
15217 * gst/gstpad.c: (gst_pad_class_init):
15218 * gst/gstpipeline.c: (gst_pipeline_class_init):
15219 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15220 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15221 * libs/gst/base/gstbasetransform.c:
15222 (gst_base_transform_class_init):
15223 * libs/gst/net/gstnetclientclock.c:
15224 (gst_net_client_clock_class_init):
15225 * libs/gst/net/gstnettimeprovider.c:
15226 (gst_net_time_provider_class_init):
15227 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15228 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15229 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15230 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15231 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15232 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15233 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15234 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15235 * plugins/elements/gsttee.c: (gst_tee_class_init):
15236 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15237 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15238 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15240 2006-05-11 Wim Taymans <wim@fluendo.com>
15242 * gst/gstbuffer.c: (_gst_buffer_initialize):
15243 Register subbufer along with the buffer type so that
15244 it does not accidentally gets registered from N
15245 different streaming threads in a non threadsafe way.
15247 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15251 * gst/gstmessage.h:
15252 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15253 gst_event_ref() and gst_message_ref() functions again
15254 (ugly hack, please do fix if there's a better way besides
15255 overrides.txt, which doesn't seem to work).
15257 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15259 * libs/gst/check/gstcheck.h:
15260 add an assert for setting state to avoid lots of repetitive code
15263 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15265 * gst/gstvalue.c: (gst_value_serialize_flags):
15266 fix a leak if no flags are set
15267 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15270 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15272 * docs/manual/basics-pads.xml:
15273 Expand a bit on caps and filtered links and update
15274 examples that were still using the no longer existing
15275 gst_pad_link_filtered() (#338206).
15277 2006-05-10 Wim Taymans <wim@fluendo.com>
15279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15280 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15281 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15282 (gst_collect_pads_stop):
15283 * libs/gst/base/gstcollectpads.h:
15284 No need to call _stop in _finalize.
15285 Iterate the main pad list in _finalize.
15286 Added some more debug.
15287 Free lists and data in the right order.
15288 Also free data whem doing _remove_pad when stopped for
15289 backward compatibility protect ::started with PAD_LOCK as
15292 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15294 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15295 (gst_structure_parse_value):
15297 rename a method so that it actually says what it does better
15299 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15301 * gst/gstevent.c: (_gst_event_initialize):
15302 * gst/gstformat.c: (_gst_format_initialize):
15303 make sure some essential types used by events are registered
15304 as part of gst_init()
15305 * gst/gstvalue.c: (gst_value_serialize_flags):
15306 if no flags are set, serialize them to a value that represents NONE
15307 so that deserializing them works
15308 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15309 add tests for serialization and deserialization of flags
15311 2006-05-10 Wim Taymans <wim@fluendo.com>
15313 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15314 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15315 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15316 (gst_collect_pads_event), (gst_collect_pads_chain):
15319 Catch and return errors from the collect function
15320 Refuse data on eos pads.
15322 2006-05-10 Edward Hervey <edward@fluendo.com>
15324 * gst/gstinterface.h:
15325 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15326 GInterface type checking.
15327 They were previously using non-defined macros.
15329 2006-05-09 Wim Taymans <wim@fluendo.com>
15331 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15332 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15333 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15334 (gst_collect_pads_start), (gst_collect_pads_stop),
15335 (gst_collect_pads_peek), (gst_collect_pads_pop),
15336 (gst_collect_pads_available), (gst_collect_pads_read),
15337 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15338 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15339 (gst_collect_pads_chain):
15340 * libs/gst/base/gstcollectpads.h:
15341 Clean up the mess that is collectpads, add comments and
15342 FIXMEs where needed.
15343 Maintain a separate pad list so we can add pads while
15344 collecting the other ones. For this we need a new separate
15346 Fix memory leak in finalize.
15347 Refactor some weird code to set/unset pad flushing flags, mark
15349 Don't crash in _available, _read, _flush when we're EOS.
15351 * tests/check/libs/.cvsignore:
15352 Ignore adapter check binary.
15354 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15356 * gst/gstindex.c: (gst_index_resolver_get_type):
15357 * plugins/elements/gstfakesink.c:
15358 (gst_fake_sink_state_error_get_type):
15359 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15360 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15361 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15362 Const-ify GEnumValue arrays.
15364 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15366 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15367 Add test case for flags + gst_buffer_make_metadata_writable().
15369 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15371 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15372 gst_buffer_make_metadata_writable() should maintain the
15373 buffer flags (those that make sense at least) (see #340859).
15375 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15377 * tools/gst-inspect.c:
15378 * tools/gst-launch.c:
15379 * tools/gst-typefind.c:
15380 * tools/gst-xmlinspect.c:
15382 Fix up includes: need to include stdlib.h in tools.h for exit().
15384 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15386 * gst/gsttaglist.c: (_gst_tag_initialize):
15387 * gst/gsttaglist.h:
15388 API: add GST_TAG_IMAGE tag (#340721).
15390 2006-05-08 Wim Taymans <wim@fluendo.com>
15393 Added some docs for the segment query.
15395 2006-05-08 Wim Taymans <wim@fluendo.com>
15397 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15398 (gst_base_src_loop), (gst_base_src_change_state):
15399 Always push non-flushing serialized events in the streaming
15402 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15404 * gst/gsterror.c: (_gst_stream_errors_init):
15405 Add a missing error string.
15407 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15409 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15410 Add applied_rate to the debug
15412 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15413 Copy applied_rate into the outgoing NEWSEGMENT event
15415 2006-05-08 Wim Taymans <wim@fluendo.com>
15417 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15419 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15420 (gst_base_sink_change_state):
15421 call ::unlock before taking the PREROLL_LOCK so we can safely
15422 handle elements that lock in ::render.
15425 2006-05-08 Edward Hervey <edward@fluendo.com>
15427 * autogen.sh: (CONFIGURE_DEF_OPT):
15428 Darwin's libtoolize is in fact called glibtoolize.
15429 Adding glibtoolize to the list of accepted names for libtoolize.
15431 2006-05-08 Wim Taymans <wim@fluendo.com>
15433 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15434 Unify error handling, don't post an error message
15435 when a push() returns EOS but perform our normal EOS
15436 handling code. Fixes #340772.
15438 2006-05-08 Wim Taymans <wim@fluendo.com>
15440 * docs/design/part-overview.txt:
15441 Make upsteam/downstream concepts more clear.
15442 Give an example of serialized/non-serialized events.
15444 * docs/design/part-events.txt:
15445 * docs/design/part-streams.txt:
15446 Mention applied_rate.
15448 * docs/design/part-trickmodes.txt:
15449 Mention applied rate, flesh out some more use cases.
15451 * gst/gstevent.c: (gst_event_new_new_segment),
15452 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15453 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15454 (gst_event_parse_tag), (gst_event_new_buffer_size),
15455 (gst_event_parse_buffer_size), (gst_event_new_qos),
15456 (gst_event_parse_qos), (gst_event_parse_seek),
15457 (gst_event_new_navigation):
15459 Add applied_rate field to NEWSEGMENT event.
15460 API: gst_event_new_new_segment_full()
15461 API: gst_event_parse_new_segment_full()
15463 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15464 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15465 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15466 * gst/gstsegment.h:
15467 Add applied_rate to GstSegment structure.
15468 Make calculation of stream_time and running_time more correct
15469 wrt rate/applied_rate.
15470 Add some more docs.
15471 API: GstSegment::applied_rate field
15472 API: gst_segment_set_newsegment_full();
15474 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15475 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15476 * libs/gst/base/gstbasetransform.c:
15477 (gst_base_transform_sink_eventfunc),
15478 (gst_base_transform_handle_buffer):
15479 Parse and use applied_rate in the GstSegment field.
15481 * tests/check/gst/gstevent.c: (GST_START_TEST):
15482 Add check for applied_rate field.
15484 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15485 (gstsegments_suite):
15486 Add more checks for various GstSegment operations.
15488 2006-05-08 Wim Taymans <wim@fluendo.com>
15490 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15491 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15492 (gst_base_sink_get_position), (gst_base_sink_change_state):
15493 Store the sync time of the buffer end position separatly in a
15494 new variable eos_rtime so we can properly sync the EOS event.
15496 Fix the docs for gst_base_sink_set_qos_enabled().
15497 Don't set segment start to invalid value when we receive a
15498 non TIME newsegment.
15499 get closer to handling position reporting for negative rates
15502 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15505 Docs about how to print caps for debug purposes.
15507 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15508 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15510 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15512 * gst/gstelement.c:
15513 use full enum names and preprend a '%' in docs strings to make recent
15514 gtk-doc turn that into a link
15516 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15518 * docs/manual/basics-bins.xml:
15519 * docs/manual/basics-bus.xml:
15520 * docs/manual/basics-pads.xml:
15521 Some typo fixes, some additions, some clarifications.
15523 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15525 * tools/gst-inspect.c: (main):
15526 * tools/gst-launch.c: (main):
15527 * tools/gst-run.c: (main):
15528 * tools/gst-typefind.c: (main):
15529 * tools/gst-xmlinspect.c: (main):
15530 Use the string passed to g_option_context_new() for
15531 what it's intended for - the program name is already
15534 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15536 * tools/Makefile.am:
15537 * tools/gst-inspect.c: (main):
15538 * tools/gst-launch.c: (main):
15539 * tools/gst-xmlinspect.c: (main):
15541 Add back --version command line option (#340460).
15543 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15544 Add --version option and use GOption for argument parsing; refactor a
15545 bit; accept directories as arguments and recurse into them; lastly,
15546 print a decent error message when things go wrong.
15548 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15550 * docs/manual/basics-bins.xml:
15551 Don't mention GstThread (#340611)
15552 * docs/manual/basics-elements.xml:
15553 Update link to GObject tutorial (#340607)
15555 2006-05-05 Wim Taymans <wim@fluendo.com>
15558 * gst/gstminiobject.c:
15559 Add note about refcounting and miniobject/buffer writeability
15560 to docs. Fixes #340604
15562 * gst/gstelementfactory.h:
15563 Added some explanation about @klass.
15565 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15567 * docs/manual/intro-motivation.xml:
15568 * docs/manual/manual.xml:
15569 Avoid CORBA & Bonobo references (#340598)
15571 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15573 * docs/manual/basics-bus.xml:
15574 * docs/manual/basics-pads.xml:
15575 Fix up some inaccuracies and omissions (#340609)
15577 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15579 * gst/gstghostpad.c:
15580 Small typo in docs (#340625)
15582 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15584 * gst/parse/Makefile.am:
15585 Make 'make -j' proof (see #340698).
15587 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15590 Require GLib-2.8 here as well.
15592 2006-05-05 Wim Taymans <wim@fluendo.com>
15594 * gst/glib-compat.c:
15595 * gst/gst.c: (init_pre):
15596 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15597 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15598 (gst_object_dispatch_properties_changed):
15600 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15601 * gst/gststructure.c: (gst_structure_set_valist):
15602 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15603 Remove pre glib2.8 compatibility, fixes #340508
15605 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15607 * gst/gsttaglist.h:
15608 Mention type of tags in doc blurbs.
15610 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15612 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15613 (gst_pad_configure_src), (gst_pad_push):
15614 Restore acceptcaps checking behaviour now that good plugins have
15617 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15619 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15626 * gst/gstmessage.c:
15630 * gst/parse/Makefile.am:
15631 * libs/gst/base/gstadapter.c:
15632 * libs/gst/base/gstbasesrc.c:
15633 * libs/gst/base/gstpushsrc.c:
15634 * libs/gst/base/gsttypefindhelper.c:
15635 * plugins/elements/gstfakesrc.c:
15636 * plugins/elements/gstidentity.c:
15637 Make sure gstprivate.h and/or config.h are
15638 always included first, otherwise some of our
15639 defines (like _FILE_OFFSET_BITS) might be
15640 redefined in the system headers. Fixes build
15641 on opensolaris (#340016).
15643 2006-05-04 Wim Taymans <wim@fluendo.com>
15645 * docs/libs/gstreamer-libs-sections.txt:
15646 API: addition: gst_adapter_take_buffer()
15648 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15649 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15650 (gst_adapter_available_fast):
15651 * libs/gst/base/gstadapter.h:
15652 Prepare for optimizing the hell out of this hugely inefficient
15654 Added gst_adapter_take_buffer() so we can at least start thinking
15655 about subbuffering and merging.
15656 Added some comments.
15658 * tests/check/Makefile.am:
15659 * tests/check/libs/adapter.c: (GST_START_TEST),
15660 (gst_adapter_suite), (main):
15661 Added GstAdapter check.
15663 2006-05-04 Wim Taymans <wim@fluendo.com>
15665 * docs/design/part-overview.txt:
15666 Fix some typos, add blurb about buffer flags.
15668 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15670 * docs/libs/gstreamer-libs-sections.txt:
15671 make sure GstBaseTransformClass shows up in the docs
15672 * libs/gst/base/gstbasetransform.c:
15673 * libs/gst/base/gstbasetransform.h:
15674 move docs so gtk-doc picks it up now
15676 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15678 * docs/libs/gstreamer-libs-sections.txt:
15679 add missing symbols to docs
15681 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15684 back out the newsegment handling change, see #340060 for ongoing
15687 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15689 * tools/gst-run.c: (get_candidates), (main):
15690 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15691 work); fix typo in error message. Fixes #340079.
15693 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15695 * common/Makefile.am:
15696 * docs/Makefile.am:
15697 * docs/faq/Makefile.am:
15698 * docs/gst/Makefile.am:
15699 * docs/libs/Makefile.am:
15700 * docs/manual/Makefile.am:
15701 * docs/plugins/Makefile.am:
15702 * docs/pwg/Makefile.am:
15703 * docs/slides/Makefile.am:
15705 * common/upload.mak:
15706 move upload.mak to common
15708 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15710 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15711 add more asserts on refcounts
15712 do more cleanup at end of tests
15713 fix test leaks showing in FC5
15715 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15717 * plugins/elements/gsttypefindelement.c:
15718 (gst_type_find_element_handle_event):
15719 reverted wrong change and reflowed code to avoid others falling into
15722 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15724 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15725 fix changelog entry about last collectpads change,
15726 add notes about proper fix
15728 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15731 * gst/gstregistry.c: (gst_registry_scan_path_level),
15732 (gst_registry_scan_path):
15733 * gst/gstregistry.h:
15734 only write out registry if it has changed, fixes #338339
15736 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15739 * gst/gstpipeline.c:
15740 * plugins/elements/gstcapsfilter.c:
15741 * plugins/elements/gstfakesink.c:
15742 * plugins/elements/gstfakesrc.c:
15743 * plugins/elements/gstfdsink.c:
15744 * plugins/elements/gstfdsrc.c:
15745 * plugins/elements/gstfilesink.c:
15746 * plugins/elements/gstfilesrc.c:
15747 * plugins/elements/gstidentity.c:
15748 * plugins/elements/gstqueue.c:
15749 * plugins/elements/gsttee.c:
15750 * plugins/elements/gsttypefindelement.c:
15751 (gst_type_find_element_handle_event):
15752 make GstElementDetails const
15754 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15756 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15757 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15758 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15759 more detailed debug and formatting cleanup,
15760 forward newsegments to src-pad (so that e.g. adder not eats them)
15762 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15764 * gst/gstutils.c: (gst_element_link_pads):
15765 cleanup double code
15767 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15769 * libs/gst/controller/gstcontroller.c:
15770 (gst_controller_sync_values):
15772 * tests/check/libs/controller.c: (GST_START_TEST),
15773 (gst_controller_suite):
15774 a new test for live value handling
15776 2006-04-28 Wim Taymans <wim@fluendo.com>
15778 * gst/gstutils.c: (push_and_ref):
15779 Added some more docs.
15780 Fix refcount issue whith gst_element_found_tags() helper
15781 function. Fixes #338335
15783 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15784 Added testsuite for gst_element_found_tags().
15786 2006-04-28 Michael Smith <msmith@fluendo.com>
15788 * gst/gstvalue.c: (gst_value_serialize_flags):
15789 Avoid NULL dereference when trying to serialize flags containing
15792 2006-04-28 Michael Smith <msmith@fluendo.com>
15794 * plugins/elements/gsttypefindelement.c:
15795 (gst_type_find_element_handle_event):
15796 If we get EOS before any data is accumulated, don't use
15797 uninitialised local variables.
15799 2006-04-28 Michael Smith <msmith@fluendo.com>
15801 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15802 (gst_dp_event_from_packet):
15803 Fixes in reading/writing events over GDP (not currently used?) -
15804 dereferencing NULL events for unknown/invalid event types, memory
15805 leak, and change g_warning to GST_WARNING.
15807 2006-04-28 Wim Taymans <wim@fluendo.com>
15809 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15810 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15811 (gst_base_sink_get_position), (gst_base_sink_change_state):
15812 When frame dropping is enabled, we should not ignore frames
15813 without a duration.
15814 Update some documentation.
15816 2006-04-28 Wim Taymans <wim@fluendo.com>
15818 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15819 (gst_base_src_send_event), (gst_base_src_change_state):
15820 Documentation updates.
15822 2006-04-28 Wim Taymans <wim@fluendo.com>
15824 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15825 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15826 handle EAGAIN, EINTR and short writes correctly. Also clean
15827 up some error cases, avoid a deadlock on bad file descriptors and
15828 use GST_DEBUG_OBJECT.
15831 2006-04-28 Wim Taymans <wim@fluendo.com>
15833 * gst/gstvalue.c: (gst_value_serialize_buffer),
15834 (gst_value_deserialize_buffer):
15835 Don't try to serialize a GValue with a NULL buffer.
15838 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15839 Added check for serialisation of NULL buffers.
15841 2006-04-28 Wim Taymans <wim@fluendo.com>
15843 * gst/gstminiobject.c: (gst_value_take_mini_object):
15844 Taking a NULL miniobject is valid, fix the case where
15845 we try to unref the NULL miniobject.
15847 2006-04-28 Wim Taymans <wim@fluendo.com>
15849 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15851 * gst/gstbin.c: (gst_bin_handle_message_func):
15853 Don't leak bin refcount when a state recalc is
15854 in progress and we delay another one #339808.
15856 2006-04-28 Wim Taymans <wim@fluendo.com>
15858 * docs/design/part-TODO.txt:
15859 Mention QoS as an ongoing work item.
15861 * docs/design/part-buffering.txt:
15862 New doc about buffering that needs to be fleshed out
15865 * docs/design/part-qos.txt:
15866 More QoS policy for decoders/demuxers/transforms
15868 * docs/design/part-trickmodes.txt:
15871 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15876 === release 0.10.5 ===
15878 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15881 releasing 0.10.5, "Fogo"
15883 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15885 patch by: Wim Taymans
15887 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15888 (gst_pad_configure_src), (gst_pad_push):
15889 * gst/gstpipeline.c: (gst_pipeline_init):
15890 Fix internal data flow errors. Fixes #338711.
15892 2006-04-12 Wim Taymans <wim@fluendo.com>
15894 * tests/check/gst/gstelement.c: (GST_START_TEST):
15895 Don't leak the factory.
15897 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15900 * win32/common/config.h:
15903 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15905 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15906 (gst_controller_unset_all):
15907 Free allocated GstTimedValues when freeing list nodes.
15908 Should fix leaks 'make check-valgrind' complains about.
15910 * win32/common/libgstcontroller.def:
15911 Add gst_controller_unset_all.
15913 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15915 * docs/libs/gstreamer-libs-sections.txt:
15916 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15917 (gst_controller_unset_all):
15918 * libs/gst/controller/gstcontroller.h:
15919 API: Added new method gst_controller_unset_all()
15920 fixed gst_controller_unset()
15921 * tests/check/libs/controller.c: (GST_START_TEST),
15922 (gst_controller_suite):
15923 Added two testcases for new and fixed method
15925 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15927 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15928 MSG_DONTWAIT is not defined on Cygwin, so work
15929 around that (fixes #317048).
15931 2006-04-11 Wim Taymans <wim@fluendo.com>
15933 * gst/gstelementfactory.c: (gst_element_register),
15934 (gst_element_factory_create), (gst_element_factory_make):
15937 Updated docs (Fixes #131079)
15939 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15942 * tests/check/gst/gstelement.c: (GST_START_TEST),
15943 (gst_element_suite):
15944 Added testcase for elementfactory class field.
15946 2006-04-10 Wim Taymans <wim@fluendo.com>
15948 * gst/gstsegment.c:
15949 Added some more docs.
15951 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15952 (gst_base_sink_reset_qos):
15953 Calculate more accurate rate values.
15955 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15957 * gst/gst_private.h:
15958 add a new #ifdef to use __declspec(dllimport) only for
15959 other modules and not for gstreamer core
15960 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15961 use gst_guint64_to_gdouble for conversion
15962 * win32/common/libgstreamer.def:
15963 add new exported functions
15964 * win32/vs6/gst_inspect.dsp:
15965 * win32/vs6/gst_launch.dsp:
15966 * win32/vs6/libgstbase.dsp:
15967 * win32/vs6/libgstcontroller.dsp:
15968 * win32/vs6/libgstcoreelements.dsp:
15969 * win32/vs6/libgstdataprotocol.dsp:
15970 * win32/vs6/libgstnet.dsp:
15971 update project files
15973 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15975 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15976 * gst/gstclock.c: (gst_clock_class_init):
15977 * gst/gstelement.c: (gst_element_class_init):
15978 * gst/gstindex.c: (gst_index_class_init):
15979 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15980 * gst/gstobject.c: (gst_object_class_init),
15981 (gst_signal_object_class_init):
15982 * gst/gstpad.c: (gst_pad_class_init):
15983 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15984 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15985 * gst/gstregistry.c: (gst_registry_class_init):
15986 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15987 * gst/gsttask.c: (gst_task_class_init):
15988 * gst/gstxml.c: (gst_xml_class_init):
15989 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15990 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15991 (gst_base_src_loop):
15992 * libs/gst/controller/gstcontroller.c:/
15993 (_gst_controller_class_init):
15994 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15995 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15996 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15997 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15998 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15999 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16001 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16003 * gst/gstpad.c: (gst_pad_link):
16004 Must set peer pads before calling the link function, otherwise
16005 a task started from a link function might get a flow-not-linked
16006 result when trying to push because the other thread where the
16007 linking happens hasn't had a chance to set the peers yet. This
16008 might happen for example when a queue gets linked to a downstream
16009 element, as queue starts a streaming task when its source pad
16010 gets linked. Happens in real life when playing back flac/musepack
16011 files in playbin (#332390).
16013 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16017 * libs/gst/base/gstadapter.h:
16018 * libs/gst/base/gstbasesink.h:
16019 * libs/gst/base/gstbasesrc.h:
16020 * libs/gst/base/gstbasetransform.h:
16021 * libs/gst/base/gstcollectpads.h:
16022 * libs/gst/base/gstpushsrc.h:
16023 Fix broken GObject macros
16025 2006-04-07 Wim Taymans <wim@fluendo.com>
16027 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16028 Initialize start and stop times, thanks valgrind.
16030 2006-04-07 Wim Taymans <wim@fluendo.com>
16032 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16033 Be a bit nicer to badly behaving upstream elements that expect
16034 us to deal with non TIME segments and timestamps (such as fakesrc
16037 2006-04-07 Wim Taymans <wim@fluendo.com>
16040 Small documentation clarification about the signal watch.
16042 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16043 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16044 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16045 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16046 (gst_base_sink_get_position_last),
16047 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16048 Convert and store timestamps in stream time and running time, the
16049 raw timestamps are not useful, also document this better.
16050 Use different window sizes for good and bad QoS observations so
16051 we react to badness a little quicker.
16052 Keep track of the amount of rendered and dropped buffers.
16053 Send QoS timestamps in running time.
16055 * libs/gst/base/gstbasetransform.c:
16056 (gst_base_transform_sink_eventfunc),
16057 (gst_base_transform_handle_buffer):
16058 Compare QoS timestamps against running time.
16060 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16063 Typo fixes in docs.
16065 2006-04-06 Michael Smith <msmith@fluendo.com>
16067 * gst/gstpad.c: (gst_pad_set_property):
16068 Use g_value_get_object() instead of g_value_dup_gst_object(),
16069 to avoid double-reffing the pad template (which we then sink,
16070 so this worked previously if (and only if) the pad template
16073 * gst/gstpadtemplate.c: (gst_pad_template_init),
16074 (gst_pad_template_pad_created):
16075 Never return floating references to pad templates, create
16076 them as initially-sunken.
16078 Document an extra function (and make this stop sinking our
16079 pad template, since that is now guaranteed to do nothing,
16080 since we created it sunken).
16082 * gst/gstghostpad.c:
16085 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16087 * gst/gstinfo.c: (__gst_in_valgrind):
16090 * plugins/elements/gsttypefindelement.c:
16091 (gst_type_find_element_chain):
16092 Don't leak buffer caps.
16094 2006-04-06 Michael Smith <msmith@fluendo.com>
16096 * gst/parse/grammar.y:
16097 Fix a leak in parse-launch for any source-or-sink named element
16100 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16101 Unref the pipeline if it exists after we've failed parsing.
16103 2006-04-05 Michael Smith <msmith@fluendo.com>
16105 * gst/gstpipeline.c: (gst_pipeline_init):
16106 When we create a pipeline bus, initially create it in flushing mode.
16107 Fixes leaks in at least one test, and makes a new pipeline work the
16108 same as one that has gone to READY and then back to NULL.
16110 * gst/gstelement.c:
16113 2006-04-05 Michael Smith <msmith@fluendo.com>
16115 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16116 Unref a pad we reffed.
16117 * tests/check/gst/gstutils.c: (GST_START_TEST):
16120 2006-04-05 Michael Smith <msmith@fluendo.com>
16122 * gst/gstquery.c: (gst_query_set_formats),
16123 (gst_query_set_formatsv):
16124 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16126 2006-04-05 Michael Smith <msmith@fluendo.com>
16128 * tests/check/generic/sinks.c: (GST_START_TEST):
16129 Fix a variety of memleaks in sinks check, which are only sometimes
16130 shown by running the tests under valgrind (weird?).
16132 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16134 * docs/version.entities.in:
16135 Fix the substituted entity name after thomas' changes on the
16138 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16140 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16143 2006-04-05 Andy Wingo <wingo@pobox.com>
16145 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16147 * libs/gst/base/gstbasetransform.c
16148 (gst_base_transform_sink_eventfunc): When resetting our segment on
16149 FLUSH_STOP, also update the flag saying we haven't seen a
16152 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16154 Patch by: Paolo Borelli <pborelli at katamail dot com>
16156 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16157 (gst_plugin_check_license):
16158 minor clean-ups: G_DEFINE_TYPE already takes care of the
16159 parent_class stuff, no need to do it twice. Mark array of
16160 license strings as constant. (#337103)
16162 2006-04-04 Michael Smith <msmith@fluendo.com>
16164 * tools/gst-inspect.c: (print_element_list):
16165 Free the right plugin list; fixes a memory leak.
16167 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16169 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16171 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16172 Don't error out on empty buffers (#336945).
16174 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16176 * docs/libs/gstreamer-libs-sections.txt:
16177 * gst/gsttaglist.c:
16178 * libs/gst/base/gstbasesink.c:
16179 * libs/gst/base/gstbasesink.h:
16180 * libs/gst/base/gstbasesrc.c:
16181 * libs/gst/base/gstbasesrc.h:
16182 Documentation updates. Make BaseSink and BaseSrc docs contain the
16183 class structure so that people can actually see the prototypes for
16184 virtual functions they're supposed to be overriding.
16186 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16188 * plugins/elements/gsttypefindelement.c:
16189 (gst_type_find_element_chain):
16190 More debug info; when skipping typefinding, send cached
16191 events in all cases.
16193 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16196 use new AS_VERSION and AS_NANO macros
16197 * gst/gst-i18n-lib.h:
16200 * gst/gstversion.h.in:
16201 * win32/common/config.h:
16202 * win32/common/config.h.in:
16205 2006-03-31 Michael Smith <msmith@fluendo.com>
16207 * plugins/elements/gsttypefindelement.c:
16208 (gst_type_find_element_chain):
16209 Do not typefind content if the buffers already have caps.
16210 Neccesary for icydemux (#333657), and the right thing to do anyway.
16212 2006-03-30 Wim Taymans <wim@fluendo.com>
16214 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16215 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16216 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16217 (gst_base_sink_record_qos_observation),
16218 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16219 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16220 (gst_base_sink_change_state):
16221 More QoS measurements as described in the design doc.
16222 Get rid of ringbuffer with observations, running average is
16223 more simple and equally good.
16224 Calculates valid proportion now.
16225 Added beginning of flood measurement.
16227 2006-03-29 Wim Taymans <wim@fluendo.com>
16229 * docs/design/part-qos.txt:
16231 Small documentation updates and additions.
16233 2006-03-29 Wim Taymans <wim@fluendo.com>
16235 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16236 (gst_base_src_send_event), (gst_base_src_loop),
16237 (gst_base_src_change_state):
16238 Perform the EOS logic when we reach the segment stop position.
16239 Fix compilation on gcc4.1
16241 2006-03-29 Wim Taymans <wim@fluendo.com>
16243 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16245 * plugins/elements/gstqueue.c: (gst_queue_init),
16246 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16247 (gst_queue_set_property):
16248 * plugins/elements/gstqueue.h:
16249 In queue, when EOS is received, if minimum threshold > max_size -
16250 current_level, there is chance that queue blocks forever in conditional
16251 item del wait. This is because the queue is not emptied completely due
16252 to minimum threshold. Here is another approach. Instead of setting
16253 cur_levels to max in EOS, just zero all minimum threshold levels. This
16254 should make sure that queue gives out all data. When going to READY
16255 (stop) state, just reset the original minimum threshold levels.
16258 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16260 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16261 (gst_type_find_element_handle_event),
16262 (gst_type_find_element_send_cached_events),
16263 (gst_type_find_element_change_state):
16264 * plugins/elements/gsttypefindelement.h:
16265 When typefinding is done in push mode, we should cache
16266 events we receive during typefinding instead of just
16267 dropping them (e.g. newsegment, custom events from
16268 dvdreadsrc etc.) and then send them out once we've
16269 determined the type of the stream (and decodebin
16270 has had a chance to plug in a decoder/demuxer).
16272 2006-03-27 Wim Taymans <wim@fluendo.com>
16274 * docs/design/part-qos.txt:
16277 2006-03-27 Wim Taymans <wim@fluendo.com>
16279 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16281 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16282 (gst_base_src_send_event), (gst_base_src_change_state):
16283 Handle element seek correctly when we are streaming.
16286 2006-03-24 Michael Smith <msmith@fluendo.com>
16288 * docs/faq/gst-uninstalled:
16289 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16290 allow you to correctly run intalled applications built against old
16291 core, using plugins that require updated core (e.g. running
16292 installed totem against a full uninstalled gstreamer stack)
16294 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16296 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16299 2006-03-24 Wim Taymans <wim@fluendo.com>
16301 * docs/gst/gstreamer-sections.txt:
16302 Rearrange the order of the methods so that related methods
16303 are grouped together in sections.
16305 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16307 * gst/gstelement.c:
16308 Little clarification in the docs
16310 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16314 * plugins/elements/gstidentity.c:
16315 * plugins/elements/gstqueue.c:
16316 * plugins/elements/gsttee.c:
16317 * plugins/elements/gsttypefindelement.c:
16318 GST_ELEMENT_DETAILS formatting
16320 2006-03-24 Wim Taymans <wim@fluendo.com>
16322 * libs/gst/base/gstbasesink.h:
16323 Only add fields, not insert or we break ABI.
16325 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16327 * win32/common/libgstbase.def:
16328 * win32/common/libgstreamer.def:
16329 Update, add recently added functions.
16331 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16333 * docs/gst/gstreamer-sections.txt:
16334 * gst/gstutils.c: (gst_pad_query_peer_position),
16335 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16337 API: add some new utility functions:
16338 - gst_pad_query_peer_position()
16339 - gst_pad_query_peer_duration()
16340 - gst_pad_query_peer_convert()
16342 2006-03-23 Wim Taymans <wim@fluendo.com>
16344 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16345 (gst_base_sink_init), (gst_base_sink_finalize),
16346 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16347 (gst_base_sink_set_property), (gst_base_sink_get_property),
16348 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16349 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16350 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16351 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16352 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16353 (gst_base_sink_preroll_object), (gst_base_sink_event),
16354 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16355 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16356 (gst_base_sink_query), (gst_base_sink_change_state):
16357 Decouple max-lateness and the fact that QoS messages are generated
16358 with a new property (qos).
16359 added API: GstBaseSink::async_play()
16360 Add vmethod so subclasses can be notified of ASYNC playing
16362 Collect timestamp start and stop to report better current
16363 position in EOS/PLAYING/PAUSED/READY/NULL.
16364 Refactor QoS/frame dropping and other measurements.
16365 API: GstBaseSrc::qos
16368 * libs/gst/base/gstbasesink.h:
16369 Added Private struct.
16370 API: gst_base_sink_set_qos_enabled()
16371 API: gst_base_sink_is_qos_enabled()
16373 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16375 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16376 If compiling against GLib-2.8 or newer, try to read the
16377 registry file using GMappedFile first before falling back
16378 to fopen() + fread() (#332151).
16380 2006-03-22 Wim Taymans <wim@fluendo.com>
16382 * gst/gstinfo.c: (gst_debug_set_active),
16383 (gst_debug_category_set_threshold):
16384 Disable debugging unless explicitly activated.
16387 2006-03-22 Wim Taymans <wim@fluendo.com>
16389 * gst/gstelement.c: (gst_element_set_locked_state),
16390 (gst_element_dispose):
16391 Cleanup the error case.
16393 * gst/gstobject.c: (gst_object_dispose):
16394 print a critical when some object was disposed with
16395 a parent, also revive the object since it might
16398 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16400 * tools/gst-launch.1.in:
16403 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16406 * tests/check/Makefile.am:
16407 disable some tests when we don't have a registry
16408 * tests/check/gst/gstutils.c: (gst_utils_suite):
16409 don't build the part that needs parsing
16411 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16414 * tests/examples/Makefile.am:
16415 fix --disable-parse build
16417 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16419 * tools/gst-feedback.1.in:
16420 Fix typo: s/feeback/feedback/ (#133494).
16422 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16424 * tools/Makefile.am:
16425 * tools/gst-launch.1.in:
16426 Add FILES section and correct entry about GST_REGISTRY_PATH
16427 environment variable (#133495; #133494).
16429 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16431 * tools/Makefile.am:
16432 * tools/gst-md5sum.1.in:
16433 * tools/gst-md5sum.c:
16434 Remove gst-md5sum and man page (the md5sink element
16435 required was removed ages ago)
16437 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16439 * gst/gststructure.c: (gst_structure_id_set_value):
16440 Make sure that string fields in structures/taglists
16441 contain valid UTF-8 - we don't want to pass rubbish to
16442 applications because of a buggy plugin (cp. #334167).
16444 2006-03-21 Edward Hervey <edward@fluendo.com>
16446 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16447 (gst_bin_handle_message_func):
16448 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16449 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16450 (gst_element_set_bus_func):
16451 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16452 * gst/gstminiobject.c: (gst_value_set_mini_object),
16453 (gst_value_take_mini_object):
16454 * gst/gstpad.c: (gst_pad_set_pad_template):
16455 * gst/gstpipeline.c: (gst_pipeline_dispose),
16456 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16457 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16458 (gst_collect_pads_chain):
16459 * libs/gst/net/gstnettimeprovider.c:
16460 (gst_net_time_provider_set_property):
16461 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16462 It's in fact all issues with gst_*object_replace().
16464 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16466 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16468 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16469 * pkgconfig/gstreamer-check.pc.in:
16470 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16472 2006-03-21 Edward Hervey <edward@fluendo.com>
16476 * gst/gstmessage.h:
16477 gst_[buffer|event|message]_ref() macros are replaced by a static
16478 inline functions because gcc-4.1 will about if the return value
16480 * tests/check/gst/gstevent.c: (event_probe):
16481 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16483 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16486 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16487 the type' case. (Closes: #335195 for now). In the future, when we
16488 depend on GLib 2.10, we could also intern the type name using
16489 g_intern_static_string()
16491 2006-03-20 Wim Taymans <wim@fluendo.com>
16493 * gst/gstbin.c: (gst_bin_handle_message_func),
16494 (bin_query_max_init), (bin_query_position_fold),
16495 (bin_query_position_done), (gst_bin_query):
16496 Position query should also take max of all streams.
16498 2006-03-20 Wim Taymans <wim@fluendo.com>
16500 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16501 (gst_fake_src_finalize):
16502 Fix leaks in fakesrc.
16504 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16505 Fix leaks in the testcase.
16507 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16509 * gst/gst_private.h:
16510 add win32 specific import decoration(__declspec(dllimport))
16511 for all extern GstDebugCategory * variables
16512 * win32/common/libgstbase.def:
16513 * win32/common/libgstcontroller.def:
16514 * win32/common/libgstreamer.def:
16515 Add some exports, remove empty lines
16516 * win32/common/libgstdataprotocol.def:
16517 * win32/common/libgstdataprotocol.dsp:
16518 * win32/common/libgstnet.def:
16519 * win32/common/libgstnet.dsp:
16520 new project files and exportation files added
16522 2006-03-19 Wim Taymans <wim@fluendo.com>
16524 * tests/check/libs/basesrc.c: (eos_event_counter):
16525 Use proper return value for probe.
16527 2006-03-17 Wim Taymans <wim@fluendo.com>
16529 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16531 Don't leak buffers, caps and pads on negotiation errors.
16533 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16535 * docs/faq/cvs.xml:
16536 * docs/faq/dependencies.xml:
16537 * docs/faq/developing.xml:
16538 * docs/faq/faq.xml:
16539 * docs/faq/general.xml:
16540 * docs/faq/getting.xml:
16541 * docs/faq/legal.xml:
16542 * docs/faq/troubleshooting.xml:
16543 * docs/faq/using.xml:
16544 Faq review and update.
16546 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16548 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16550 Don't pound the cpu to pieces by checking get_caps when accept_caps
16551 is called with the same caps as the pad already has.
16552 Use GST_DEBUG_OBJECT when outputting caps change information.
16554 2006-03-15 Wim Taymans <wim@fluendo.com>
16556 * gst/gstclock.c: (gst_clock_class_init):
16559 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16564 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16565 (gst_pad_accept_caps), (gst_pad_configure_sink),
16566 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16567 Make the default acceptcaps behaviour be to check the requested
16568 caps against the gst_pad_get_caps output.
16570 Ensure that gst_pad_accept_caps is used to check caps when a pad
16571 doesn't have a setcaps function, so that pads automatically refuse
16572 caps that they don't allow in their pad template. (Fixes #332986)
16574 When a buffer with attached caps is pushed, ensure that the source
16575 pad receives those caps even if the element didn't call
16576 gst_pad_set_caps first.
16578 2006-03-15 Wim Taymans <wim@fluendo.com>
16580 * libs/gst/base/gstadapter.c:
16583 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16585 * win32/common/libgstbase.def:
16586 * win32/common/libgstcontroller.def:
16587 * win32/common/libgstreamer.def:
16588 Add a whole bunch of missing functions (#334434).
16590 2006-03-14 Wim Taymans <wim@fluendo.com>
16592 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16593 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16594 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16595 Better debug info when we receive a segment event.
16596 Reorganize a bit so we can pass the get_times() results around.
16597 Use the segment format when calculating the running time.
16598 Don't do QoS is sync is disabled or we have no clock or the
16599 element does not want us to sync to the clock.
16600 Don't drop buffers if QoS is disabled for now.
16602 2006-03-14 Wim Taymans <wim@fluendo.com>
16604 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16605 Marked the stats property as unimplemented so people don't get
16607 Add debug message when regression goes wrong.
16608 Added some more docs.
16610 2006-03-14 Wim Taymans <wim@fluendo.com>
16612 * gst/gstsegment.c: (gst_segment_to_stream_time):
16613 Return correct return type in case of errors.
16615 2006-03-14 Wim Taymans <wim@fluendo.com>
16617 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16618 Don't segfault on invalid formats.
16620 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16622 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16623 Can't use gst_segment_to_running_time() when the segment
16624 is not in GST_TIME_FORMAT (like with filesink, for example).
16625 Stops flac encoding pipelines from spewing critical warnings
16628 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16630 * gst/gstpipeline.c: (gst_pipeline_class_init):
16631 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16633 * plugins/elements/gsttypefindelement.c:
16634 (gst_type_find_element_handle_event):
16635 Don't try to typefind empty streams.
16637 2006-03-14 Wim Taymans <wim@fluendo.com>
16639 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16640 (gst_base_sink_do_qos):
16641 Separate QoS calculation.
16642 Only drop buffers when lateness is bigger than the
16643 duration of the buffer.
16645 2006-03-13 Wim Taymans <wim@fluendo.com>
16647 * gst/gstpipeline.c: (gst_pipeline_set_property),
16648 (gst_pipeline_get_property), (do_pipeline_seek),
16649 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16650 (gst_pipeline_get_delay):
16651 Don't deadlock when reading properties.
16653 2006-03-13 Wim Taymans <wim@fluendo.com>
16655 * libs/gst/base/gstbasetransform.c:
16656 (gst_base_transform_class_init), (gst_base_transform_init),
16657 (gst_base_transform_sink_event),
16658 (gst_base_transform_sink_eventfunc),
16659 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16660 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16661 (gst_base_transform_set_property),
16662 (gst_base_transform_get_property),
16663 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16664 (gst_base_transform_set_qos_enabled),
16665 (gst_base_transform_is_qos_enabled):
16666 * libs/gst/base/gstbasetransform.h:
16667 Make basetransform virtual method for src events too.
16668 Handle QOS in basetransform.
16669 API: gst_base_transform_update_qos()
16670 API: gst_base_transform_set_qos_enabled()
16671 API: gst_base_transform_is_qos_enabled()
16673 2006-03-13 Wim Taymans <wim@fluendo.com>
16675 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16676 (gst_base_sink_do_sync):
16678 Use QOS debug category.
16680 2006-03-13 Wim Taymans <wim@fluendo.com>
16682 * plugins/elements/gstqueue.c:
16683 Very small doc update.
16685 2006-03-13 Wim Taymans <wim@fluendo.com>
16687 * gst/gst_private.h:
16688 * gst/gstinfo.c: (_gst_debug_init):
16689 Added QOS debug category
16691 2006-03-13 Wim Taymans <wim@fluendo.com>
16693 * docs/gst/gstreamer-sections.txt:
16694 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16696 * gst/gstbus.c: (gst_bus_class_init):
16699 * gst/gstelement.c: (gst_element_set_locked_state):
16700 * gst/gstsegment.c:
16701 Documentation updates.
16703 * gst/gstpipeline.c: (gst_pipeline_get_type),
16704 (gst_pipeline_class_init), (gst_pipeline_init),
16705 (gst_pipeline_dispose), (gst_pipeline_set_property),
16706 (gst_pipeline_get_property), (do_pipeline_seek),
16707 (gst_pipeline_send_event), (gst_pipeline_change_state),
16708 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16709 (gst_pipeline_get_delay):
16710 * gst/gstpipeline.h:
16711 Added methods for setting the delay.
16712 API: gst_pipeline_set_delay()
16713 API: gst_pipeline_get_delay()
16714 Add pipeline debug category
16717 Don't reset stream time when seek failed.
16719 2006-03-13 Wim Taymans <wim@fluendo.com>
16721 * docs/design/draft-klass.txt:
16722 * docs/design/part-clocks.txt:
16723 * docs/design/part-events.txt:
16724 * docs/design/part-gstbin.txt:
16725 * docs/design/part-gstpipeline.txt:
16726 * docs/design/part-messages.txt:
16727 * docs/design/part-negotiation.txt:
16728 * docs/design/part-overview.txt:
16729 * docs/design/part-preroll.txt:
16730 * docs/design/part-seeking.txt:
16731 * docs/design/part-states.txt:
16732 * docs/design/part-streams.txt:
16733 Documentation updates.
16735 2006-03-12 Julien MOUTTE <julien@moutte.net>
16737 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16738 us to leak strings...
16740 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16742 * libs/gst/net/gstnettimeprovider.c:
16744 * win32/common/config.h:
16747 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16749 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16752 Don't check for libgnomeui (leftover from old examples
16753 that aren't built or disted any longer) (#334303).
16755 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16757 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16758 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16759 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16760 there's no space left on the device.
16762 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16765 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16766 to cast the input to GstClockTime before comparing with
16767 another GstClockTime value.
16769 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16774 === release 0.10.4 ===
16776 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16779 releasing 0.10.4, "Light"
16781 2006-03-10 Michael Smith <msmith@fluendo.com>
16783 * libs/gst/dataprotocol/dataprotocol.c:
16784 Fix docs for dataprocotol to not get the return types completely
16785 wrong for a few functions.
16787 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16789 * docs/gst/gstreamer-sections.txt:
16790 * gst/gstpipeline.c: (gst_pipeline_class_init),
16791 (gst_pipeline_init), (gst_pipeline_set_property),
16792 (gst_pipeline_get_property), (gst_pipeline_change_state),
16793 (gst_pipeline_set_auto_flush_bus),
16794 (gst_pipeline_get_auto_flush_bus):
16795 * gst/gstpipeline.h:
16796 Add new API: gst_pipeline_set_auto_flush_bus() and
16797 gst_pipeline_get_auto_flush_bus() to disable automatic
16798 flushing of the pipeline's GstBus when going from READY
16799 to NULL state (#332045).
16801 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16803 * docs/gst/gstreamer-sections.txt:
16804 * gst/gsturi.c: (gst_uri_has_protocol):
16806 Add new API: gst_uri_has_protocol() (#333779).
16808 2006-03-09 Wim Taymans <wim@fluendo.com>
16810 * gst/gstclock.c: (gst_clock_entry_new),
16811 (gst_clock_id_compare_func), (gst_clock_id_wait),
16812 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16813 (gst_clock_init), (gst_clock_get_internal_time),
16814 (gst_clock_set_master), (do_linear_regression),
16815 (gst_clock_add_observation), (gst_clock_set_property):
16819 Fix a possible segfault when the window-size is made smaller.
16820 Calculate jitter before performing the clock wait. Ideally
16821 the clock implementation should calculate jitter but we need
16822 API breakage for that.
16824 * gst/gstsystemclock.c: (gst_system_clock_init):
16827 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16828 Remove leftover else
16830 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16831 (gst_systemclock_suite):
16832 Added check to test GST_CLOCK_DIFF.
16834 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16836 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16837 (gst_type_find_helper_get_range):
16838 If we are provided with the size, we should implement
16839 GstTypeFind::get_length, so that typefind functions who
16840 want to can actually peek at the middle of a file.
16842 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16844 * docs/manual/advanced-dataaccess.xml:
16845 Add some very very basic error checking.
16847 * docs/pwg/appendix-checklist.xml:
16848 Some updates to the list of things to check when writing an element.
16850 2006-03-08 Wim Taymans <wim@fluendo.com>
16852 * docs/design/part-element-transform.txt:
16853 Added some docs about the design of tranform elements.
16855 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16856 (gst_base_src_loop), (gst_base_src_change_state):
16857 Mark buffers with the DISCONT flag.
16859 2006-03-08 Michael Smith <msmith@fluendo.com>
16861 * gst/gstregistry.h:
16862 * gst/gstregistryxml.c: (gst_registry_save),
16863 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16864 (gst_registry_xml_save_pad_template),
16865 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16866 (gst_registry_xml_write_cache):
16867 Rewrite registry-saving to avoid race conditions and check for
16870 2006-03-08 Wim Taymans <wim@fluendo.com>
16872 * libs/gst/base/gstbasetransform.c:
16873 (gst_base_transform_transform_caps),
16874 (gst_base_transform_transform_size),
16875 (gst_base_transform_prepare_output_buffer),
16876 (gst_base_transform_get_unit_size),
16877 (gst_base_transform_buffer_alloc),
16878 (gst_base_transform_handle_buffer),
16879 (gst_base_transform_change_state):
16880 Cleanups, separate normal flow from errors, add sensible
16882 Don't try to renegotiate when allocating an output buffer.
16883 Also copy DISCONT buffer flag when copying a buffer.
16884 Reset the transform after we finish streaming, not during.
16886 2006-03-08 Wim Taymans <wim@fluendo.com>
16888 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16889 Use last buffer timestamp in qos message.
16891 2006-03-07 Wim Taymans <wim@fluendo.com>
16893 Patch by: Christophe Fergeau
16895 * docs/pwg/advanced-tagging.xml:
16896 * docs/pwg/building-pads.xml:
16899 2006-03-07 Wim Taymans <wim@fluendo.com>
16901 * docs/libs/gstreamer-libs-sections.txt:
16902 Added basesink new methods.
16906 Docs updates. Flesh out the QoS docs.
16908 * libs/gst/base/gstadapter.c:
16909 Small doc clarification about ownership and flushing.
16911 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16912 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16913 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16914 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16915 * libs/gst/base/gstbasesink.h:
16917 Added new methods to allow subclass to control max-lateness
16919 Generate very basic QoS events based on last sync observation.
16920 Updated docs, fix typo, added some QoS blurb.
16922 * libs/gst/base/gstbasesrc.c:
16923 Remove obsolete _get_state() calls from docs.
16925 2006-03-07 Wim Taymans <wim@fluendo.com>
16927 * docs/libs/gstreamer-libs-sections.txt:
16928 * libs/gst/base/gstbasetransform.h:
16929 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16930 Fix docs for GstBaseSrc.
16932 2006-03-07 Wim Taymans <wim@fluendo.com>
16934 * docs/gst/gstreamer-sections.txt:
16937 * libs/gst/base/gstbasetransform.h:
16938 Small documentation fixes.
16940 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16943 Document thread-unsafety of gst_value_register_foo_func()
16944 when used at the same time as gst_value_foo() (#322628).
16946 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16948 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16949 (gst_push_src_check_get_range):
16950 Push sources don't support pull mode by default.
16952 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16954 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16955 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16956 (gst_base_src_default_check_get_range):
16957 * libs/gst/base/gstbasesrc.h:
16958 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16959 provide default implementation, and rename
16960 gst_base_src_check_get_range() to
16961 gst_base_src_pad_check_get_range() for clarity.
16963 2006-03-06 Wim Taymans <wim@fluendo.com>
16965 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16966 Make property overridable.
16968 2006-03-06 Wim Taymans <wim@fluendo.com>
16970 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16971 (gst_base_sink_init), (gst_base_sink_set_property),
16972 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16973 * libs/gst/base/gstbasesink.h:
16974 API addition: Make max-lateness a property.
16976 2006-03-06 Wim Taymans <wim@fluendo.com>
16978 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16979 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16980 Don't ever draw a frame that is >10ms late.
16982 2006-03-06 Michael Smith <msmith@fluendo.com>
16984 * gst/gstmessage.c: (_gst_message_copy):
16985 When copying a message, set the parent_refcount of the enclosed
16986 structure to point at the copy, not the original message.
16988 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16990 Patch by: Christophe Fergeau
16993 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16994 usable in c++ code (#333417)
16996 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16999 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17001 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17003 * libs/gst/base/gstbasetransform.c:
17004 (gst_base_transform_transform_caps):
17005 Make sure caps are writable before passing them to
17008 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17011 Fix some minor docs errors.
17013 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17015 Patch by: Ross Burton <ross at burtonini dot com>
17017 * gst/gsterror.c: (_gst_resource_errors_init):
17019 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17021 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17024 Add a check and output a g_warning when GStreamer is built
17025 against GLib 2.6 but running against 2.8 or higher, and vice
17026 versa. (Closes: #323542)
17028 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17030 * gst/parse/parse.l:
17031 Commit patch for parse_launch syntax from #331255. Removes
17032 support for quoted strings and mimetypes when writing filtered
17033 caps. See the bug report for more details - I'm pretty sure this
17034 obscure feature is not in use by _anyone_ anywhere.
17036 With this simple change, the size of the gstreamer.so here
17037 drops from 2193KB to 1565KB.
17039 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17041 * plugins/elements/gsttypefindelement.h:
17042 * plugins/elements/gsttypefindelement.c:
17043 (gst_type_find_element_src_event), (start_typefinding),
17044 (stop_typefinding), (gst_type_find_element_handle_event),
17045 (gst_type_find_element_chain),
17046 (gst_type_find_element_chain_do_typefinding):
17047 Use gst_type_find_helper_for_buffer() for chain-based
17050 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17052 * plugins/elements/gsttypefindelement.c:
17053 (gst_type_find_element_class_init),
17054 (gst_type_find_element_set_property),
17055 (gst_type_find_element_get_property):
17056 Deprecate "maximum" property (not only was it only taken into
17057 account for typefinding in push-mode anyway, it also was never
17058 actually possible to set it in the first place because the
17059 property was registered with the numeric property ID for the
17060 "minimum" property). Register "maximum" property correctly,
17061 for the sake of future copy'n'pasters. Remove some cruft
17062 from property get/set functions.
17064 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17066 * plugins/elements/gsttypefindelement.c:
17067 (gst_type_find_element_activate):
17068 Use gst_type_find_helper_get_range() here, so we
17069 can honour the "minimum" property and also emit
17070 the signal with the correct probability of the found caps.
17072 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17074 * docs/libs/gstreamer-libs-sections.txt:
17075 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17076 (helper_find_suggest), (gst_type_find_helper_get_range),
17077 (gst_type_find_helper):
17078 * libs/gst/base/gsttypefindhelper.h:
17079 New API: gst_type_find_helper_get_range() (#333042).
17081 2006-03-02 Michael Smith <msmith@fluendo.com>
17083 * gst/gstregistryxml.c: (load_feature):
17084 Asserting on a failure to read part of the registry is Not Cool.
17085 Just log a warning and return NULL (which is already handled)
17087 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17089 * win32/common/libgstbase.def:
17090 added export of gst_type_find_helper_for_buffer
17091 * win32/common/libgstbase.def:
17092 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17093 gst_ghost_pad_get_target
17095 2006-02-28 Wim Taymans <wim@fluendo.com>
17097 * docs/design/draft-klass.txt:
17099 Added Connector to mark elements that are only used to
17100 allow pipeline connections.
17101 Moved Debug to extra feature since most of them are
17102 functionally something else.
17104 2006-02-28 Wim Taymans <wim@fluendo.com>
17106 * docs/design/draft-klass.txt:
17107 Some updates and clarifications.
17109 2006-02-28 Wim Taymans <wim@fluendo.com>
17111 * docs/design/draft-klass.txt:
17112 Proposal for klass field values.
17114 * docs/design/part-streams.txt:
17115 Start of a doc describing stream anatomy.
17117 2006-02-28 Wim Taymans <wim@fluendo.com>
17119 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17120 Help the compiler a bit with type registration.
17121 Use existing forward cod path instead of duplicating it when
17122 handling a message.
17124 * gst/gstbus.c: (gst_bus_get_type):
17125 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17126 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17127 * gst/gstclock.c: (gst_clock_get_type):
17128 * gst/gstelement.c: (gst_element_get_type),
17129 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17130 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17131 * gst/gstminiobject.c: (gst_mini_object_get_type):
17132 * gst/gstpad.c: (gst_pad_get_type):
17133 * gst/gstsegment.c: (gst_segment_get_type):
17134 * gst/gststructure.c: (gst_structure_get_type):
17135 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17136 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17138 Help compiler with type registration.
17140 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17143 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17145 * plugins/elements/gsttypefindelement.c:
17146 (gst_type_find_element_handle_event):
17147 When we get an EOS event and have not found a type yet
17148 (most likely because we had not yet accumulated
17149 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17150 type given the data we have so far. Fixes typefinding
17151 for very short streams again, most notably quicktime
17152 redirections as used on Apple's trailer site (#331701).
17154 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17156 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17157 (gst_type_find_helper):
17158 Try typefinding factories with the highest rank first.
17160 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17162 * docs/libs/gstreamer-libs-docs.sgml:
17163 * docs/libs/gstreamer-libs-sections.txt:
17164 * libs/gst/base/gsttypefindhelper.c:
17165 Add section for typefind helper and add documentation
17166 for the old and the new function.
17168 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17170 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17171 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17172 (gst_type_find_helper_for_buffer):
17173 * libs/gst/base/gsttypefindhelper.h:
17174 New API: gst_type_find_helper_for_buffer() (#332723).
17176 2006-02-27 Michael Smith <msmith@fluendo.com>
17178 Patch by: Loïc Minier
17181 * docs/Makefile.am:
17182 * docs/slides/Makefile.am:
17183 prevent CVS directories getting disted.
17185 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17187 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17188 Use the REFCOUNTING category for caps refcounting.
17190 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17192 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17193 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17195 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17197 * plugins/elements/gsttypefindelement.c:
17198 (gst_type_find_element_activate):
17199 Use gst_pad_check_pull_range() before _activate_pull()
17200 to avoid unnecessary open/close (see #331690).
17202 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17205 Docs enhancement: make it crystal clear what the
17206 gst_pad_add_*_probe() callbacks should look like.
17208 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17210 * libs/gst/base/gstbasesrc.c:
17211 Document how applications can stop recording from
17212 live sources (see #330996).
17214 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17216 * tests/check/Makefile.am:
17217 * tests/check/libs/basesrc.c: (eos_event_counter),
17218 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17219 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17220 (gst_basesrc_suite), (main):
17221 ... and add some tests for the base source EOS stuff.
17223 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17225 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17226 Test case originally showed the problem fixed below,
17227 but was then amended. Add checks back at the place
17228 where they used to be.
17230 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17232 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17233 (gst_base_src_init), (gst_base_src_loop),
17234 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17235 (gst_base_src_change_state):
17236 * libs/gst/base/gstbasesrc.h:
17237 Don't unconditionally send EOS when going from PAUSED to
17238 READY state, esp. make sure we don't send two EOS events
17239 in some cases (e.g. one when reaching EOS and one when
17240 going from PAUSED to READY). Also, we don't want to send
17241 EOS events when operating in pull mode. However, we do
17242 want to send an EOS event when shutting down a live
17243 source explicitly, for example (fixes #330996).
17245 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17247 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17248 Update src->read_position after a seek when not using mmap.
17249 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17251 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17257 Make things work with --disable-parse as they do with
17258 --disable-load-save - the symbols involved disappear, but the
17259 header is still installed and GST_DISABLE_PARSE is included via
17262 2006-02-20 Julien MOUTTE <julien@moutte.net>
17264 * libs/gst/base/gstbasetransform.c:
17265 (gst_base_transform_change_state): Fix a stupid bug. I was
17266 sure I compiled that.
17268 2006-02-20 Julien MOUTTE <julien@moutte.net>
17270 * gst/gstpad.c: (gst_pad_set_blocked_async):
17271 * gst/gstutils.c: (gst_pad_add_data_probe),
17272 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17273 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17274 (gst_pad_remove_buffer_probe): Make those function act on the
17275 ghostpad target when it's a ghostpad. (Closes #331727)
17277 2006-02-20 Julien MOUTTE <julien@moutte.net>
17279 * libs/gst/base/gstbasetransform.c:
17280 (gst_base_transform_change_state): Make basetransform reusable.
17283 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17285 * docs/random/release:
17286 Move the current documentation of how to do a release to the top
17289 * gst/gstbin.c: (gst_bin_class_init),
17290 (gst_bin_handle_message_func):
17291 Allow multiple state-recalculation threads. (Closes #328873)
17293 2006-02-19 Julien MOUTTE <julien@moutte.net>
17295 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17296 * gst/gstpad.c: (gst_pad_set_event_function),
17297 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17298 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17299 2 strings. You can't use the STR_NULL macro on that.
17301 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17303 * gst/gstpad.c: (gst_pad_set_event_function),
17304 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17305 (gst_pad_set_getcaps_function)
17306 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17307 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17308 So now, we can use --gst-debug-level=5 on Windows
17309 * win32/common/libgstcontroller.def:
17310 Added export of gst_controller_init
17311 * win32/vs6/libgstcontroller.dsp:
17312 Fixed Release post build configuration
17314 2006-02-17 Wim Taymans <wim@fluendo.com>
17316 * tests/check/gst/gstquery.c: (GST_START_TEST):
17317 Added another check.
17319 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17321 * plugins/elements/gsttypefindelement.c: (find_peek):
17322 We can do peeks at non-zero offsets, as long as they
17323 fall within the buffer we have.
17325 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17327 * tests/check/Makefile.am:
17328 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17329 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17330 (parse_suite), (main):
17331 Add testsuite for parse launch syntax
17333 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17335 * plugins/elements/gsttypefindelement.c:
17336 (gst_type_find_element_chain):
17337 When typefinding is unsuccessful in the chain function, don't
17338 error out immediately. Only error out with NO_CAPS_FOUND if
17339 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17340 otherwise simply wait for more data so we can try typefinding
17341 again with more data later. Also, don't attempt to typefind
17342 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17343 this should improve typefinding from network sources where the
17344 size of the first buffer can be somewhat random.
17346 2006-02-14 Wim Taymans <wim@fluendo.com>
17348 * docs/gst/gstreamer-sections.txt:
17349 * gst/gstpadtemplate.c:
17350 * gst/gstpadtemplate.h:
17351 Fix padtemplate docs, fixes #328805.
17353 2006-02-14 Wim Taymans <wim@fluendo.com>
17355 * tools/gst-launch.c: (main):
17356 NO_PREROLL is not an ERROR so don't send confusing messages
17359 2006-02-14 Wim Taymans <wim@fluendo.com>
17361 Patch by: Torsten Schoenfeld
17363 * gst/gstregistry.c: (gst_registry_get_default),
17364 (_gst_registry_cleanup):
17365 Protect default registry with lock and ref/sink it.
17368 2006-02-14 Wim Taymans <wim@fluendo.com>
17371 * gst/gstquery.c: (gst_query_list_add_format),
17372 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17373 (gst_query_parse_formats_nth):
17374 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17377 2006-02-14 Wim Taymans <wim@fluendo.com>
17379 * docs/gst/gstreamer-sections.txt:
17380 Reworked query docs.
17382 * gst/gstquery.c: (gst_query_new_formats),
17383 (gst_query_list_add_format), (gst_query_set_formats),
17384 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17385 (gst_query_parse_formats_nth):
17387 Flesh out formats query, added some new methods.
17388 Fix part of #324398.
17390 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17391 Added query creation tests.
17393 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17395 * gst/gstpad.c: (fixate_value):
17396 Add a default fixation for fraction lists.
17398 2006-02-13 Wim Taymans <wim@fluendo.com>
17400 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17401 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17404 Detect and warn for obvious deadlocks. fixes #320340
17405 Fix error case where lock was not released.
17407 * tests/check/Makefile.am:
17408 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17409 (task_func), (gst_element_suite), (main):
17412 2006-02-13 Wim Taymans <wim@fluendo.com>
17414 * docs/gst/gstreamer-sections.txt:
17416 Add new functions to docs.
17418 2006-02-13 Wim Taymans <wim@fluendo.com>
17420 * docs/design/part-TODO.txt:
17421 Updated TODO list, basesrc supports seeking to non-bytes
17424 * docs/design/part-element-sink.txt:
17427 * gst/gstbin.c: (bin_replace_message),
17428 (gst_bin_handle_message_func):
17429 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17430 * gst/gstevent.c: (gst_event_finalize):
17431 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17432 (gst_pad_send_event):
17433 Use shiny new _TYPE_NAME macros.
17435 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17436 Move debug statement up.
17438 * gst/gstelement.c: (gst_element_set_locked_state):
17439 Add some debugging.
17441 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17443 * docs/gst/gstreamer-sections.txt:
17444 * gst/gstmessage.h:
17446 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17447 macros (#330906). Also, document the already existing
17448 GST_QUERY_TYPE macro.
17450 2006-02-13 Wim Taymans <wim@fluendo.com>
17452 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17453 (event_probe), (GST_START_TEST):
17454 Only events up to the pipeline EOS are counted, there are
17455 some more when going to NULL currently which we don't care
17458 2006-02-13 Wim Taymans <wim@fluendo.com>
17460 * gst/gstpad.c: (gst_pad_send_event):
17461 Correctly check flushing and emit probes. fixes #330125
17463 2006-02-10 Andy Wingo <wingo@pobox.com>
17465 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17467 (gst_bus_init): Cache the location of the private data in the
17468 instance structure.
17469 (gst_bus_enable_sync_message_emission)
17470 (gst_bus_disable_sync_message_emission): Implement new public
17472 (gst_bus_post): Emit the sync-message signal if the user asked for
17475 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17476 location of the bus-private structure.
17477 (gst_bus_enable_sync_message_emission)
17478 (gst_bus_disable_sync_message_emission): API addition
17480 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17482 Patch by: Vincent Torri
17484 * docs/pwg/building-boiler.xml:
17485 PWG patch from #326800
17487 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17490 * docs/Makefile.am:
17491 * docs/design/Makefile.am:
17494 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17499 === release 0.10.3 ===
17501 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17504 releasing 0.10.3, "Like a virgin"
17506 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17509 2nd prerelease of 0.10.3
17510 Bump libtool versioning.
17512 2006-02-07 Andy Wingo <wingo@pobox.com>
17514 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17515 update last_stop if we're in TIME format and the timestamp is
17518 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17519 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17520 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17521 If we get a new newsegment with a different format, adapt
17524 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17525 of 0. Not a problem, really.
17527 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17530 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17535 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17538 project files updated to the default vs7 configuration
17539 * win32/common/libgstbase.def:
17540 * win32/common/libgstreamer.def:
17542 removed empty lines,
17543 sorted all exported symbols alphabetically
17544 * win32/common/dirent.c:
17545 * win32/common/dirent.h:
17546 * win32/common/gchar.h:
17547 use windows line end.
17549 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17551 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17552 Send EOS event when stopping.
17554 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17557 Tell folks what to do if the plugin-foobar.xml file
17558 hasn't been generated for a newly-added plugin.
17560 2006-02-05 Julien MOUTTE <julien@moutte.net>
17562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17563 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17564 (gst_collect_pads_start), (gst_collect_pads_stop),
17565 (gst_collect_pads_event): Collectpads now holds a reference
17566 to the GstPad that was added. Indeed we don't want to look
17567 at pads that might just go away with no warning...
17569 2006-02-05 Julien MOUTTE <julien@moutte.net>
17571 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17572 (gst_collect_pads_start), (gst_collect_pads_stop),
17573 (gst_collect_pads_event), (gst_collect_pads_chain):
17574 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17575 Mark Nauwelaerts's patch on bug #328491.
17577 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17579 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17581 Add some simple tests for gst_parse_bin_from_description() and
17582 gst_bin_find_unconnected_pad() (#329069).
17584 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17586 * tools/gst-launch.c: (event_loop), (main):
17587 Catch errors during preroll (#320084).
17589 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17591 * plugins/elements/gsttypefindelement.c:
17592 (gst_type_find_element_activate):
17593 Post TYPE_NOT_FOUND error message when typefinding
17594 is unsuccessful in the activate function as well.
17596 2006-02-02 Wim Taymans <wim@fluendo.com>
17598 * docs/design/part-element-sink.txt:
17601 2006-02-02 Wim Taymans <wim@fluendo.com>
17603 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17604 (gst_base_sink_render_object),
17605 (gst_base_sink_queue_object_unlocked):
17606 Only keep track of prerollable items when we are
17608 Before rendering after preroll, always check if we
17610 Added some more debugging.
17612 2006-02-02 Wim Taymans <wim@fluendo.com>
17614 * gst/gstelement.c: (gst_element_continue_state),
17615 (gst_element_set_state_func), (gst_element_change_state):
17616 Fixed #326576, been running this for quite some time with
17617 no regressions at all.
17619 2006-02-02 Wim Taymans <wim@fluendo.com>
17622 Added more suppressions
17624 2006-02-02 Wim Taymans <wim@fluendo.com>
17626 * docs/design/part-element-sink.txt:
17629 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17630 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17631 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17632 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17633 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17634 (gst_base_sink_preroll_object),
17635 (gst_base_sink_queue_object_unlocked),
17636 (gst_base_sink_queue_object), (gst_base_sink_event),
17637 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17638 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17639 (gst_base_sink_get_position), (gst_base_sink_change_state):
17640 * libs/gst/base/gstbasesink.h:
17641 Totally refactored matching the design doc.
17642 Use two segments, one to clip incomming buffers and another to
17644 Handle queueing correctly, bypass the queue when playing.
17645 Make EOS cancelable.
17646 Handle errors correctly when operating in pull based mode.
17648 * tests/check/elements/fakesink.c: (GST_START_TEST),
17650 Added new check for sinks.
17652 2006-02-02 Wim Taymans <wim@fluendo.com>
17654 * gst/gstsegment.c: (gst_segment_clip):
17655 No reason to refuse to clip when start == -1
17657 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17660 * docs/manual/intro-basics.xml:
17661 * docs/manual/intro-preface.xml:
17662 * docs/manual/manual.xml:
17663 * docs/pwg/advanced-dparams.xml:
17664 * docs/pwg/intro-basics.xml:
17665 * docs/pwg/intro-preface.xml:
17666 * docs/pwg/pwg.xml:
17667 describe dparams (controller) for plugins
17668 unify docs a little more
17670 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17672 * docs/gst/gstreamer-sections.txt:
17673 * gst/gstutils.c: (element_find_unconnected_pad),
17674 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17676 Add new API: gst_parse_bin_from_description() and
17677 gst_bin_find_unconnected_pad() (#329069).
17679 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17681 * docs/manual/README:
17682 uncover a nasty detail of the docs build
17684 2006-01-31 Wim Taymans <wim@fluendo.com>
17686 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17687 Don't cache duration messages if we're not going to use or
17690 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17692 * docs/manual/advanced-dparams.xml:
17693 * docs/pwg/advanced-dparams.xml:
17697 * libs/gst/controller/lib.c: (gst_controller_init):
17700 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17702 * gst/gstelement.c: (gst_element_message_full):
17703 also show file/line/func if no additional debug was given
17705 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17707 * win32/vs7/grammar.vcproj:
17708 activate copy of autogenerated files for Release mode
17710 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17712 * win32/common/libgstreamer.def:
17713 export gst_value_compare
17715 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17717 * plugins/elements/Makefile.am:
17718 * plugins/elements/gstelements.c:
17719 * plugins/elements/gstfdsink.c: (_do_init),
17720 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17721 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17722 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17723 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17724 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17725 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17726 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17727 * plugins/elements/gstfdsink.h:
17728 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17730 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17732 * docs/manual/advanced-dparams.xml:
17733 describe controller
17734 * docs/manual/advanced-position.xml:
17735 * docs/manual/basics-init.xml:
17736 * docs/manual/manual.xml:
17737 * docs/manual/titlepage.xml:
17738 * docs/pwg/pwg.xml:
17739 * docs/pwg/titlepage.xml:
17740 cleanup xml (more to come)
17741 * libs/gst/controller/gstcontroller.c:
17744 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17746 * win32/vs6/grammar.dsp:
17747 add autogen of gstmarshal.c,h for Release mode
17749 2006-01-30 Wim Taymans <wim@fluendo.com>
17751 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17752 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17753 (gst_base_sink_handle_object), (gst_base_sink_event),
17754 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17755 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17756 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17757 (gst_base_sink_deactivate), (gst_base_sink_activate),
17758 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17759 (gst_base_sink_query), (gst_base_sink_change_state):
17760 Basesink cleanups, remove some old code.
17761 Handle the case where a subclass can preroll in the render
17762 method (mostly audiosinks).
17763 Handle more events.
17764 Remove some locks around variables that are now protected
17765 with the PREROLL_LOCK (clock_id, flushing, ..).
17766 Optimize position query some more, do correct locking.
17767 Remove old code to push queue in state change, this is not
17768 needed anymore since preroll blocks on all prerollable items
17770 Almost implemented as described in design doc.
17772 2006-01-30 Wim Taymans <wim@fluendo.com>
17774 * tests/check/gst/gstbin.c: (GST_START_TEST):
17775 Wait for refcount to settle down before checking.
17777 2006-01-30 Wim Taymans <wim@fluendo.com>
17779 * docs/design/part-element-sink.txt:
17780 Pseudo code overview of desired sink behaviour regarding
17783 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17784 * win32/vs6/grammar.dsp:
17785 fix some bugs in Release mode for autogenerated files
17787 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17788 * win32/common/libgstbase.def:
17789 * win32/common/libgstreamer.def:
17790 export some new symbols: gst_base_src_set_format,
17791 gst_iterator_next, gst_structure_set_valist
17793 2006-01-29 Julien MOUTTE <julien@moutte.net>
17795 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17796 Set pad functions unconditionally. Fixes #329105.
17798 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17800 add vs8 project files created by Sergey Scobich
17802 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17804 * gst/gstutils.c: (gst_element_unlink_pads):
17805 Don't leak pad references.
17807 * tests/check/elements/fakesink.c: (GST_START_TEST):
17808 * tests/check/generic/sinks.c: (GST_START_TEST):
17809 * tests/check/generic/states.c: (GST_START_TEST):
17810 * tests/check/gst/gstbin.c: (GST_START_TEST):
17811 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17812 * tests/check/gst/gstelement.c: (GST_START_TEST):
17813 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17814 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17815 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17816 Fix a bunch of leaks. Make generic/sinks.c
17817 use a bit less cpu by slowing the buffer rate
17818 between fakesrc and fakesink.
17820 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17822 * gst/gstelement.c: (gst_element_send_event):
17825 * gst/gstiterator.c:
17826 * gst/gstiterator.h:
17827 * gst/gstpad.c: (gst_pad_send_event):
17828 * gst/gststructure.c:
17832 * libs/gst/base/gstadapter.c:
17833 doc fixes, to link to function, just write gst_cool_function(), don't
17836 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17838 * plugins/elements/gsttee.c: (gst_tee_do_push),
17839 (gst_tee_handle_buffer):
17840 Always prefer an actual return value from a src
17841 pad in place of NOT_LINKED. This means we return
17842 WRONG_STATE when all src pads are WRONG_STATE
17843 instead of NOT_LINKED.
17845 Lock when replacing the last message to prevent
17846 racing with the get_property method.
17850 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17852 * tests/check/Makefile.am:
17853 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17855 Add a very simple check that should have caught the memleak I fixed
17856 last night (if not for the slice allocator hiding it)
17858 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17860 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17861 (gst_bin_remove_func), (gst_bin_handle_message_func),
17862 (bin_query_duration_fold), (bin_query_generic_fold):
17863 Clean up references to the clock provider when disposed or when
17864 handling a clock-lost message from it.
17866 Unref sinks when performing a query via gst_iterator_fold, as the
17867 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17869 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17870 (gst_clock_set_master):
17871 Drop our reference to the master clock, if any, when we are disposed.
17873 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17874 Chain up in dispose.
17876 2006-01-26 Wim Taymans <wim@fluendo.com>
17878 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17879 Add some debugging.
17881 2006-01-26 Julien MOUTTE <julien@moutte.net>
17883 * plugins/elements/gsttee.c: (gst_tee_do_push),
17884 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17885 handles pad being NOT_LINKED or in WRONG_STATE.
17887 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17892 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17895 remove obsolete entry
17897 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17899 * docs/gst/gstreamer-sections.txt:
17900 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17901 (gst_bin_iterate_sources), (gst_bin_send_event):
17903 * gst/gstelement.c: (gst_element_send_event):
17905 * gst/gstpad.c: (gst_pad_send_event):
17906 added code for downstream events, reviewed docs in gstevent.c
17908 2006-01-25 Julien MOUTTE <julien@moutte.net>
17910 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17911 We only query position using the clock in the playing state.
17912 Query peer in the other cases.
17913 * win32/common/config.h: Updates.
17915 2006-01-24 Wim Taymans <wim@fluendo.com>
17917 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17918 A clock entry that is scheduled for the exact time of the
17919 clock is still in time.
17921 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17922 (gst_base_sink_do_sync):
17923 Add some more debug info.
17925 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17928 Add new vs7 project files and solution.
17930 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17933 all files removed as they were out-dated.
17935 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17937 * docs/random/release:
17939 * gst/gstbin.c: (gst_bin_init):
17940 * gst/gstbus.c: (gst_bus_new):
17942 * gst/gstpipeline.c: (gst_pipeline_init):
17943 use gst_bus_new(), improve logging, fix docs
17944 * win32/common/config.h:
17945 update for cvs build
17947 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17950 up required version of automake to 1.7
17952 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17954 * win32/common/libgstreamer.def:
17955 export gst_buffer_is_metadata_writable
17957 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17959 * docs/gst/gstreamer-sections.txt:
17961 Add gst_event_replace() (#327001)
17963 2006-01-20 Wim Taymans <wim@fluendo.com>
17965 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17966 Make it actually compile too..
17968 2006-01-20 Wim Taymans <wim@fluendo.com>
17971 Clarify behaviour of _is_equal() when passing NULL parameters.
17973 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17974 (gst_pad_set_caps):
17975 Cleanups. Don't unref NULL caps.
17976 When setting the same caps, protect caps of the pad with
17978 Use full functionality of _is_equal() when comparing caps.
17980 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17982 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17983 Don't loop infinitely if there are no buffers to present. Partially
17984 fixes #327197, but collectpads is just broken for reusing elements
17985 to do multiple encodes atm.
17987 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17989 * tools/gst-inspect.c: (print_element_features):
17990 * tools/gst-xmlinspect.c: (main):
17991 URL_HANDLER is not a plugin feature we can search for in
17994 2006-01-19 Edward Hervey <edward@fluendo.com>
17996 * gst/gstelement.c: (gst_element_pads_activate):
17997 When activating, do src pads first, then sink pads.
17998 When de-activating, do sink pads first, then src pads.
18000 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18002 * docs/gst/gstreamer-sections.txt:
18003 Add gst_index_add_associationv to the docs
18005 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18010 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18011 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18012 Do some refactoring. Doesn't actually change functionality,
18013 but makes landing the DRAIN event easier later.
18015 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18017 * docs/pwg/advanced-scheduling.xml:
18018 Update from 0.9.x to 0.10 API and make example a bit
18021 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18023 * docs/gst/gstreamer-sections.txt:
18024 Add gst_buffer_(is|make)_metadata_writable methods.
18026 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18028 * docs/design/part-sparsestreams.txt:
18029 Update sparse streams doc, hopefully for greater clarity
18031 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18033 * docs/design/part-events.txt:
18034 Remove mention of FILLER events.
18037 * docs/design/part-sparsestreams.txt:
18038 Write some things about using NEWSEGMENT to keep sparse streams
18041 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18043 * gst/gstbin.c: (gst_bin_dispose):
18044 Guard gst_object_unref call against a NULL object (dispose
18045 can theoretically be called multiple times).
18047 2006-01-18 Wim Taymans <wim@fluendo.com>
18049 * gst/gstbin.c: (gst_bin_element_set_state):
18050 * gst/gstclock.c: (gst_clock_id_wait):
18051 Added some more debug info.
18053 * libs/gst/base/gstadapter.c:
18056 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18057 (gst_base_sink_do_sync), (gst_base_sink_chain):
18058 Added some comments.
18060 2006-01-18 Wim Taymans <wim@fluendo.com>
18062 * tests/check/Makefile.am:
18063 * tests/check/elements/fakesink.c: (chain_async_buffer),
18064 (chain_async), (chain_async_return), (GST_START_TEST),
18065 (fakesink_suite), (main):
18066 Added fakesink test that checks prerolling and clipping
18069 * tests/check/gst/gstutils.c: (GST_START_TEST):
18070 Make check run faster so that buildbots don't timeout.
18072 2006-01-18 Wim Taymans <wim@fluendo.com>
18074 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18075 (gst_base_sink_do_sync):
18077 When the sink finishes blocking on the preroll buffer, it can
18078 immediatly render it instead of rendering when the next buffer
18081 2006-01-18 Wim Taymans <wim@fluendo.com>
18083 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18084 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18085 (gst_base_sink_chain):
18087 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18088 Don't store _last_stop if the buffer is dropped.
18090 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18092 * plugins/elements/gsttypefindelement.c:
18093 (gst_type_find_element_class_init):
18094 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18095 object method handler that sets the caps on the pad and we want
18096 that to happen before we emit the signal (fixes e.g. feeding a
18097 plain text file to decodebin).
18099 2006-01-18 Christian Schaller <Christian@fluendo.com>
18101 * gst/gstplugin.c: Add MPL and Proprietary as license options
18103 2006-01-18 Andy Wingo <wingo@pobox.com>
18105 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18106 symbol was exported before, it appears this was just an oversight.
18108 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18110 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18111 prototype to gint. OK since this prototype was not in the header.
18113 2006-01-17 Andy Wingo <wingo@pobox.com>
18115 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18116 registry while we remove plugins.
18118 * tools/gst-inspect.c (print_element_info): Don't unref the
18119 factory arg, that should be the responsibility of whatever code
18120 received the ref. Fixes a double-free when called from
18121 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18122 (main): Unref the factory if we have one.
18123 (print_element_list): No change -- relies on the
18124 plugin_feature_list_free to free the list of features.
18126 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18128 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18129 (gst_buffer_make_metadata_writable):
18131 * libs/gst/base/gstbasetransform.c:
18132 (gst_base_transform_prepare_output_buf):
18133 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18134 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18135 Replace gst_buffer_(make|is)_metadata_writable patch now
18136 that the release is out.
18138 2006-01-17 Andy Wingo <wingo@pobox.com>
18140 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18141 in the present tense without reference to versions.
18143 * gst/gstregistry.c (gst_registry_add_plugin)
18144 (gst_registry_remove_plugin, gst_registry_remove_feature)
18145 (gst_registry_find_feature, gst_registry_get_feature_list)
18146 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18147 (gst_registry_lookup, gst_registry_scan_path)
18148 (_gst_registry_remove_cache_plugins)
18149 (gst_registry_get_feature_list_by_plugin): Add argument
18152 === release 0.10.2 ===
18154 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18157 releasing 0.10.2, "If man is five"
18159 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18163 * libs/gst/base/gstbasetransform.c:
18164 (gst_base_transform_prepare_output_buf):
18165 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18166 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18167 Back out patch until after the release.
18169 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18171 * gst/gstminiobject.c:
18172 Spelling fix in docs.
18173 * ChangeLog - remove conflict indicator
18175 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18177 Reviewed By: Andy Wingo
18179 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18180 (gst_buffer_make_metadata_writable):
18182 Add gst_buffer_(is|make)_metadata_writable as analogues of
18183 gst_buffer_(is|make)_writable.
18185 * libs/gst/base/gstbasetransform.c:
18186 (gst_base_transform_prepare_output_buf):
18187 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18188 Use name gst_buffer_(is|make)_metadata_writable functions.
18190 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18191 Test gst_buffer_(is|make)_metadata_writable
18195 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18197 * docs/manual/Makefile.am:
18198 don't do parallel make
18201 * win32/common/config.h.in:
18202 add generations for HOST_CPU and GST_MAJORMINOR
18203 * win32/common/config.h:
18204 commit generated result
18206 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18208 * docs/manual/appendix-integration.xml:
18209 Update GNOME integration section to use gst_init_get_option_group()
18210 instead of the old popt stuff (#322911). Also, GNOME applications
18211 should now use gconf*sink and gconf*src instead of the old gconf
18214 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18217 * docs/gst/gstreamer-docs.sgml:
18218 * docs/gst/gstreamer-sections.txt:
18219 * docs/libs/gstreamer-libs-sections.txt:
18220 add new API entries to the docs
18221 * libs/gst/controller/Makefile.am:
18222 * libs/gst/controller/gstcontroller.c:
18223 * libs/gst/controller/gstcontroller.h:
18224 * libs/gst/controller/gstcontrollerprivate.h:
18225 * libs/gst/controller/gsthelper.c:
18226 * libs/gst/controller/gstinterpolation.c:
18227 move private structs to private header
18229 gstreamer-0.7 -> gstreamer-0.10
18230 * tests/check/libs/struct_i386.h:
18231 remove private structs
18233 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18235 * plugins/indexers/Makefile.am:
18236 Fixes as part of #317048
18238 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18240 * plugins/indexers/Makefile.am:
18241 fix #316086 - compilation when mmap is missing
18243 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18245 * libs/gst/base/gstbasesink.c:
18246 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18247 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18248 * win32/common/config.h:
18249 added some defines GST_MAJORMINOR and HOST_CPU
18250 * win32/common/libgstbase.def:
18251 * win32/common/libgstreamer.def:
18252 added some exported functions.
18254 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18256 * libs/gst/controller/gstcontroller.c:
18257 (gst_controlled_property_set_interpolation_mode),
18258 (gst_controlled_property_new):
18259 * libs/gst/controller/gstcontroller.h:
18260 * libs/gst/controller/gstinterpolation.c:
18261 (interpolate_none_get_string_value_array):
18262 make G_TYPE_STRING controlable
18264 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18267 * tools/gst-feedback.1.in:
18268 * tools/gst-inspect.1.in:
18269 * tools/gst-launch.1.in:
18270 * tools/gst-md5sum.1.in:
18271 * tools/gst-typefind.1.in:
18272 * tools/gst-xmlinspect.1.in:
18273 * tools/gst-xmllaunch.1.in:
18274 cleanup man-pages, remove reference to gst-register, document env-vars
18276 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18278 * gst/gstbuffer.c: (gst_buffer_span):
18279 gst_buffer_span should copy the timestamp of the first buffer
18280 if they were both originally overlapping subbuffers of the
18281 same parent, using the same logic as the 'slow copy' case.
18283 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18285 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18286 Need to awaken ALL the pads when we pop a buffer, otherwise
18287 collectpads only works when there is 2 input streams.
18289 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18291 * docs/random/ensonic/media-device-daemon.txt:
18294 fix doc example, add clarification
18295 * tools/gst-launch.1.in:
18296 add initial info about GST_PLUGIN_PATH, needs more work
18298 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18300 * docs/manual/basics-bins.xml:
18301 * docs/manual/basics-elements.xml:
18302 * docs/manual/intro-basics.xml:
18303 Some more minor docs additions and updates.
18305 2006-01-11 Wim Taymans <wim@fluendo.com>
18307 * docs/manual/basics-bins.xml:
18308 * docs/manual/basics-elements.xml:
18309 Some small fixes as pointed out by Ser-ver on IRC.
18311 2006-01-10 Edward Hervey <edward@fluendo.com>
18313 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18314 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18315 the single-segment mode.
18317 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18319 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18321 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18322 (gst_base_src_perform_seek), (gst_base_src_send_event),
18323 (gst_base_src_set_property), (gst_base_src_get_property),
18324 (gst_base_src_loop), (gst_base_src_start),
18325 (gst_base_src_activate_push):
18326 * libs/gst/base/gstbasesrc.h:
18327 Name (private) union; makes Sun's Forte compiler happy (#324900).
18329 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18332 gst-register is gone.
18334 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18336 * gst/gstvalue.c: (_gst_value_initialize):
18337 make the G_TYPE_DATE instantiation work if debug is disabled
18339 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18341 * gst/gstmessage.c: (gst_message_parse_tag),
18342 (gst_message_parse_error), (gst_message_parse_warning):
18343 Don't crash when return location for error/warning debug
18344 string is NULL; add fact that return locations can be
18345 NULL to docs where appropriate.
18347 2006-01-05 Wim Taymans <wim@fluendo.com>
18349 * gst/gstplugin.c: (gst_plugin_load_file):
18350 Replace strdup by g_strdup.
18352 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18354 * docs/pwg/advanced-types.xml:
18357 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18359 submitted by: Abel Cheung
18363 Added Chinese (traditional) translation
18365 2006-01-04 Wim Taymans <wim@fluendo.com>
18367 * docs/manual/basics-pads.xml:
18368 * docs/plugins/Makefile.am:
18369 * docs/plugins/gstreamer-plugins-docs.sgml:
18370 * docs/plugins/gstreamer-plugins-sections.txt:
18371 * docs/pwg/advanced-clock.xml:
18372 * docs/pwg/advanced-scheduling.xml:
18373 * docs/pwg/advanced-types.xml:
18374 * plugins/elements/gstfdsink.c:
18375 * plugins/elements/gstfdsrc.c:
18376 * plugins/elements/gstfdsrc.h:
18377 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18378 * plugins/elements/gstidentity.h:
18379 * plugins/elements/gstqueue.h:
18380 * plugins/elements/gsttee.c:
18381 * plugins/elements/gsttee.h:
18382 * plugins/elements/gsttypefindelement.c:
18383 (gst_type_find_element_class_init):
18384 * plugins/elements/gsttypefindelement.h:
18385 Small updates to various docs.
18386 Added core plugins to docs.
18388 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18391 add a suppression for liboil's uninitialized variable
18393 2006-01-02 James Livingston <jrl at ids dot org dot au>
18395 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18398 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18399 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18400 compiler switch is being used (#325429).
18402 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18404 * gst/gstbin.c: (gst_bin_query):
18405 Disable duration query caching in bins until it gets
18406 fixed (see #324807).
18408 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18410 * tools/gst-inspect.c: (print_element_properties_info):
18411 Handle properties of POINTER and BOXED type.
18413 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18415 * gst/gst.c: (init_post):
18416 Init tags stuff and some other things before loading
18417 any static plugins (there may be other static plugins
18418 than just the GStreamer ones, and they may want to
18419 register their own tags or formats or whatever, and
18420 preferably without segfaulting).
18422 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18423 Print at least a warning in the debug logs if we drop a
18424 query just because we don't know how to adjust the value
18425 in the particular format.
18427 2005-12-24 David Schleef <ds@schleef.org>
18429 * tools/gstreamer-completion:
18430 Replacement for gst-complete written in sh and sed. Only
18431 completes names of features, but that's 90% of what I want
18432 it for. Properties are not available in registry.xml. (Maybe
18435 === release 0.10.1 ===
18437 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18440 releasing 0.10.1, "Nollaig chridheil"
18442 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18444 * docs/faq/cvs.xml:
18445 Add missing quote, should be make ERROR_CFLAGS="".
18447 2005-12-20 Wim Taymans <wim@fluendo.com>
18449 * docs/design/part-trickmodes.txt:
18450 More documentation on trickmodes.
18452 2005-12-20 Edward Hervey <edward@fluendo.com>
18454 * gst/gstcaps.c: (gst_static_caps_get_type):
18456 API addition: GST_TYPE_STATIC_CAPS
18457 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18458 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18459 * gst/gstpadtemplate.h:
18460 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18461 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18464 2005-12-18 Wim Taymans <wim@fluendo.com>
18466 * libs/gst/base/gstadapter.c:
18467 * libs/gst/base/gstadapter.h:
18468 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18469 (gst_base_sink_get_position):
18470 * libs/gst/base/gstbasesink.h:
18471 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18472 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18473 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18474 (gst_base_src_send_event), (gst_base_src_update_length),
18475 (gst_base_src_get_range), (gst_base_src_loop),
18476 (gst_base_src_start):
18477 * libs/gst/base/gstbasesrc.h:
18478 * libs/gst/base/gstbasetransform.h:
18479 * libs/gst/base/gstcollectpads.h:
18480 * libs/gst/base/gstpushsrc.c:
18481 * libs/gst/base/gstpushsrc.h:
18482 * libs/gst/dataprotocol/dataprotocol.c:
18483 * libs/gst/dataprotocol/dataprotocol.h:
18484 * libs/gst/net/gstnetclientclock.h:
18485 * libs/gst/net/gstnettimeprovider.h:
18486 Documentation updates.
18488 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18490 * docs/manual/basics-helloworld.xml:
18491 Remove superfluous closing bracket in helloworld example.
18493 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18495 * tools/gst-launch.1.in:
18496 Update gst-launch man page; add a section with useful
18497 environment variables. Fixes #323882.
18499 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18502 * gst/gst_private.h:
18503 change some char* into char[]
18505 2005-12-16 Wim Taymans <wim@fluendo.com>
18507 * gst/gstregistryxml.c: (load_feature):
18509 Don't use g_object_unref on GstObjects so that we avoid
18510 leaks on unsafe glibs.
18512 2005-12-16 Wim Taymans <wim@fluendo.com>
18514 * gst/gstbin.c: (gst_bin_recalc_state):
18517 2005-12-16 Wim Taymans <wim@fluendo.com>
18519 * common/check.mak:
18520 Added make forever target for check.
18522 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18524 * gst/gst.c: (init_post):
18525 make the registry cache file HOST_CPU-dependent
18527 2005-12-16 Andy Wingo <wingo@pobox.com>
18529 * plugins/elements/gstbufferstore.c
18530 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18533 * tests/check/gst/gstobject.c
18534 (test_fake_object_name_threaded_unique): Pay attention to
18535 g_list_sort return value.
18537 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18539 * tools/gst-feedback-m.m:
18540 Update for 0.9/0.10 (fixes #323870).
18542 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18544 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18545 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18547 * tests/check/gst/gstminiobject.c: (my_foo_init),
18548 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18549 (test_value_collection), (gst_mini_object_suite):
18550 Add test to ensure refcounts end up as expected when passing
18551 GstMiniObjects through g_object_get() and g_object_set().
18553 2005-12-14 Julien MOUTTE <julien@moutte.net>
18555 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18556 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18557 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18558 of collectpads. This version removes a lot of races without
18559 touching API/ABI. Yay !
18561 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18563 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18564 Don't allow activation of a srcpad in pull_range if it has no
18566 Change some debug statements to be a little clearer
18568 * plugins/elements/gsttypefindelement.c:
18569 (gst_type_find_handle_src_query):
18570 Check that we have a peer before executing queries thereupon.
18572 * tests/examples/metadata/read-metadata.c: (message_loop):
18573 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18574 immediately return us any available message with 0 timeout.
18576 2005-12-12 Michael Smith <msmith@fluendo.com>
18578 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18579 Don't unref factories after calling them.
18580 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18581 * plugins/elements/gsttypefindelement.c:
18582 (gst_type_find_element_chain):
18583 Free lists of factories after using them. Fixing typefinding memory
18586 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18588 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18589 (gst_plugin_feature_load):
18590 more meaningful debug output
18592 * tests/Makefile.am:
18593 * tests/old/examples/Makefile.am:
18594 make make distcheck happy again
18596 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18598 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18599 Catch the special case where we are operating chain-based,
18600 but the downstream peer pad has no chain function. Emit a
18601 custom error message in this case instead of letting the
18602 core generate one implying that this is some sort of core
18603 bug. It's not, it just means that whatever got plugged
18604 into the pipeline downstream when we announced the type
18605 can only operate pull-based, while our source can only
18606 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18607 Error string has not been marked for translation yet, as
18608 it probably needs some more work first.
18610 (gst_type_find_element_get_best_possibility):
18611 Add helper function to find the best of all available
18612 found possibilities that qualify given the min. threshold.
18614 (gst_type_find_element_handle_event):
18615 Fix the case where we get an EOS while still in TYPEFIND
18616 mode (we want to chose the best of all possible types,
18617 not just the first type that happens to be in our unsorted
18618 list of possible types).
18620 (gst_type_find_element_chain):
18621 Make sure we return GST_FLOW_ERROR when we errored out
18622 in stop_typefinding(); also, don't just find the best of
18623 all found type entries and then use the last examined
18624 type entry, but actually use the best entry.
18626 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18628 * tests/examples/typefind/typefind.c: (type_found):
18629 * tests/examples/xml/runxml.c: (xml_loaded):
18630 More gcc4 fixes and a mem leak fix.
18632 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18634 * tests/examples/xml/createxml.c: (object_saved):
18637 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18639 * tests/Makefile.am:
18640 enable the examples even more
18642 2005-12-12 Andy Wingo <wingo@pobox.com>
18644 * libs/gst/net/gstnettimeprovider.c
18645 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18646 (gst_net_time_provider_set_property)
18647 (gst_net_time_provider_get_property):
18648 API addition: Export "active" as a GObject property.
18649 (gst_net_time_provider_thread): Only respond to time queries if
18650 the time provider is active.
18652 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18653 NetTimeProvider, preserving binary compat.
18655 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18657 * tests/examples/controller/audio-example.c: (main):
18658 * tests/examples/launch/Makefile.am:
18659 convert comments again
18661 2005-12-12 Wim Taymans <wim@fluendo.com>
18663 * libs/gst/base/gstpushsrc.c:
18666 2005-12-12 Wim Taymans <wim@fluendo.com>
18668 * docs/libs/gstreamer-libs-sections.txt:
18669 Added new symbol to docs.
18671 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18672 (gst_base_src_init), (gst_base_src_set_format),
18673 (gst_base_src_default_query), (gst_base_src_query),
18674 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18675 (gst_base_src_perform_seek), (gst_base_src_send_event),
18676 (gst_base_src_default_event), (gst_base_src_event_handler),
18677 (gst_base_src_set_property), (gst_base_src_get_property),
18678 (gst_base_src_wait), (gst_base_src_do_sync),
18679 (gst_base_src_update_length), (gst_base_src_get_range),
18680 (gst_base_src_check_get_range), (gst_base_src_loop),
18681 (gst_base_src_default_negotiate), (gst_base_src_start),
18682 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18683 (gst_base_src_change_state):
18684 * libs/gst/base/gstbasesrc.h:
18685 Implement seeking to other formats than _BYTES.
18686 Implement more seeking methods correctly.
18688 Added query vmethod.
18689 Added do_seek vmethod to make life easier for subclasses
18691 API addition: gst_base_src_set_format()
18693 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18695 * tests/examples/Makefile.am:
18698 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18701 * docs/random/ensonic/media-device-daemon.txt:
18702 * tests/examples/controller/.cvsignore:
18703 * tests/examples/controller/Makefile.am:
18704 * tests/examples/controller/audio-example.c: (main):
18705 * tests/examples/helloworld/.cvsignore:
18706 * tests/examples/helloworld/Makefile.am:
18707 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18708 * tests/examples/launch/.cvsignore:
18709 * tests/examples/launch/Makefile.am:
18710 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18711 * tests/examples/metadata/.cvsignore:
18712 * tests/examples/metadata/Makefile.am:
18713 * tests/examples/metadata/read-metadata.c: (message_loop),
18714 (make_pipeline), (print_tag), (main):
18715 * tests/examples/queue/.cvsignore:
18716 * tests/examples/queue/Makefile.am:
18717 * tests/examples/queue/queue.c: (event_loop), (main):
18718 * tests/examples/typefind/.cvsignore:
18719 * tests/examples/typefind/Makefile.am:
18720 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18722 * tests/examples/xml/.cvsignore:
18723 * tests/examples/xml/Makefile.am:
18724 * tests/examples/xml/createxml.c: (object_saved), (main):
18725 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18726 * tests/old/examples/Makefile.am:
18727 * tests/old/examples/TODO:
18728 * tests/old/examples/controller/.cvsignore:
18729 * tests/old/examples/controller/Makefile.am:
18730 * tests/old/examples/controller/audio-example.c:
18731 * tests/old/examples/helloworld/.cvsignore:
18732 * tests/old/examples/helloworld/Makefile.am:
18733 * tests/old/examples/helloworld/helloworld.c:
18734 * tests/old/examples/launch/.cvsignore:
18735 * tests/old/examples/launch/Makefile.am:
18736 * tests/old/examples/launch/mp3parselaunch.c:
18737 * tests/old/examples/launch/mp3play:
18738 * tests/old/examples/manual/Makefile.am:
18739 * tests/old/examples/metadata/Makefile.am:
18740 * tests/old/examples/metadata/read-metadata.c:
18741 * tests/old/examples/queue/.cvsignore:
18742 * tests/old/examples/queue/Makefile.am:
18743 * tests/old/examples/queue/queue.c:
18744 * tests/old/examples/typefind/.cvsignore:
18745 * tests/old/examples/typefind/Makefile.am:
18746 * tests/old/examples/typefind/typefind.c:
18747 * tests/old/examples/xml/.cvsignore:
18748 * tests/old/examples/xml/Makefile.am:
18749 * tests/old/examples/xml/createxml.c:
18750 * tests/old/examples/xml/runxml.c:
18751 applied some simple fixing to some examples
18752 re-enabled the working examples
18754 2005-12-12 Wim Taymans <wim@fluendo.com>
18756 * gst/gstsegment.c: (gst_segment_init),
18757 (gst_segment_set_last_stop), (gst_segment_set_seek),
18758 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18759 (gst_segment_to_running_time):
18760 Added more documentation.
18761 Make sure the last_pos value is updated properly.
18762 Make sure to_stream_time and to_running_time don't
18763 operate on wrong values.
18765 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18768 2005-12-12 Michael Smith <msmith@fluendo.com>
18770 * plugins/elements/gsttypefindelement.c: (free_entry),
18771 (gst_type_find_element_chain):
18772 Now that we're not leaking factories, make sure we keep references
18773 to them while we need them.
18775 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18777 * tests/check/gst/struct_i386.h:
18778 ifdef out the XML structs
18780 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18782 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18783 floor is not needed, F is always positive; this obviates the
18784 need for adding -lm when building without libxml
18786 2005-12-12 Wim Taymans <wim@fluendo.com>
18788 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18789 Take current playback rate into account when reporting
18792 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18794 * docs/manual/mime-world.fig:
18795 Let's try this again, this time with a file that is
18796 actually in XFig format.
18798 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18800 * docs/manual/mime-world.fig:
18801 Add audioconvert element to diagram so that it
18802 matches the text and the code (fixes #319526).
18804 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18806 * docs/pwg/building-chainfn.xml:
18807 * docs/pwg/building-pads.xml:
18808 * docs/pwg/building-state.xml:
18809 * docs/pwg/other-source.xml:
18810 Update state change stuff for 0.10 (fixes #322969).
18812 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18814 * docs/manual/advanced-dataaccess.xml:
18815 * docs/manual/appendix-checklist.xml:
18816 * docs/manual/appendix-programs.xml:
18817 * docs/manual/basics-pads.xml:
18818 * docs/manual/highlevel-components.xml:
18819 * docs/manual/manual.xml:
18820 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18821 add converters in front of pipelines; remove curly
18822 brackets for threads stuff, they no longer exist; use
18823 GST_TYPE_FRACTION for framerates; update some pieces of
18824 code to 0.10, but there's plenty more to do.
18826 * docs/manual/appendix-porting.xml:
18827 Expand on asynchroneous state changes; s/0.9/0.10/;
18828 mention disappearance of gst_init_get_popt_table()
18831 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18833 * docs/faq/using.xml:
18834 Spider no longer exists, and neither does gst-launch-ext.
18835 Update examples to use decodebin and playbin and put
18836 converters in front of sinks (fixes #323726).
18838 2005-12-09 Michael Smith <msmith@fluendo.com>
18840 * plugins/elements/gsttypefindelement.c: (find_peek),
18841 (gst_type_find_element_chain):
18842 Fix leaking element factories in typefinding.
18843 Fix problem where we forgot about a probable type on non-seekable
18844 files, and thus later mis-typefound it.
18846 2005-12-09 Michael Smith <msmith@fluendo.com>
18848 * common/m4/gst-makecontext.m4:
18849 * common/m4/gst-mcsc.m4:
18851 * win32/common/config.h:
18852 * win32/common/config.h.in:
18853 Remove makecontext stuff; not used in 0.10 and causes problems on
18854 HPUX according to bug #322441
18856 2005-12-07 Wim Taymans <wim@fluendo.com>
18858 * tests/check/Makefile.am:
18859 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18861 * tests/check/libs/struct_i386.h:
18862 Added ABI check for libs
18864 2005-12-07 Wim Taymans <wim@fluendo.com>
18866 * tests/check/Makefile.am:
18867 And add the struct_i386.h to dist.
18869 2005-12-07 Wim Taymans <wim@fluendo.com>
18871 * tests/check/Makefile.am:
18872 * tests/check/gst/.cvsignore:
18873 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18875 * tests/check/gst/struct_i386.h:
18876 Added check for ABI compatibility.
18878 2005-12-07 Wim Taymans <wim@fluendo.com>
18880 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18881 (gst_fake_src_get_times), (gst_fake_src_create):
18882 Fix broken sync option, fixes #323259
18884 2005-12-07 Wim Taymans <wim@fluendo.com>
18889 * gst/gstcaps.c: (gst_caps_is_equal):
18890 Don't assert on NULL <--> X. Fixes #323260
18892 * gst/gstminiobject.c: (gst_mini_object_replace):
18893 If we're doing atomic operations, we might just as well use
18894 the proper way to get an atomic pointer.
18896 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18897 Clean up debugging.
18899 2005-12-07 Michael Smith <msmith@fluendo.com>
18901 * gst/parse/grammar.y:
18902 Remove handling of { } for threads.
18904 2005-12-06 David Schleef <ds@schleef.org>
18906 * libs/gst/base/gstbasetransform.c: speling fix.
18908 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18910 * docs/libs/tmpl/gstdataprotocol.sgml:
18911 * docs/random/omega/testing/gstobject.c:
18914 * gst/gstelement.c:
18915 * gst/gstelementfactory.c:
18918 * gst/gstghostpad.c:
18920 * gst/gstpadtemplate.c:
18921 * gst/gstregistryxml.c:
18922 * gst/gsttaglist.c:
18923 * gst/gsttagsetter.c:
18924 * gst/gsttypefind.c:
18926 * libs/gst/base/gstbasesrc.c:
18927 * libs/gst/net/gstnetclientclock.c:
18928 * libs/gst/net/gstnettimeprovider.c:
18929 * plugins/elements/gstfakesrc.c:
18930 * plugins/elements/gstfdsrc.c:
18931 * plugins/elements/gstfilesrc.c:
18932 * plugins/elements/gstidentity.c:
18933 * plugins/elements/gstqueue.c:
18934 * plugins/elements/gsttypefindelement.c:
18935 * plugins/indexers/gstfileindex.c:
18936 * plugins/indexers/gstmemindex.c:
18937 * tests/check/gst/gsttag.c:
18938 * tests/old/examples/cutter/cutter.c:
18939 * tests/old/examples/mixer/mixer.c:
18940 * tests/old/examples/xml/runxml.c: (main):
18941 * tests/old/testsuite/caps/normalisation.c:
18942 * tests/old/testsuite/debug/global.c:
18943 * tests/old/testsuite/parse/parse1.c:
18944 * tools/gst-xmlinspect.c:
18945 * win32/common/dirent.c:
18948 === release 0.10.0 ===
18950 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18953 releasing 0.10.0, "Maroilles"
18955 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18957 submitted by: Funda Wang <fundawang@linux.net.cn>
18961 added Chinese (Traditional) translation
18963 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18965 * docs/gst/gstreamer-sections.txt:
18966 * docs/libs/tmpl/gstdataprotocol.sgml:
18967 * docs/random/thomasvs/TODO:
18972 2005-12-05 Andy Wingo <wingo@pobox.com>
18974 patch by: Wim Taymans <wim@fluendo.com>
18976 * libs/gst/base/gstbasetransform.c
18977 (gst_base_transform_prepare_output_buf)
18978 (gst_base_transform_buffer_alloc):
18979 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18980 alloc_buffer_and_set_caps.
18982 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18983 set_caps on the source pad.
18984 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18985 alloc_buffer used to do. Fixes #322874.
18987 * docs/gst/gstreamer-sections.txt:
18988 * docs/design/part-negotiation.txt:
18989 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18992 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18994 patch by: Sebastien Moutte
18997 * win32/common/config.h.in:
18998 * win32/vs6/libgstcontroller.dsp:
19001 2005-12-05 Wim Taymans <wim@fluendo.com>
19003 * gst/gstcaps.c: (gst_caps_is_equal):
19004 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19005 (gst_fake_src_create):
19006 Back out previous code changes, leave doc updates, file bugs
19009 2005-12-05 Wim Taymans <wim@fluendo.com>
19011 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19012 (gst_fake_src_get_times), (gst_fake_src_create):
19013 * plugins/elements/gstfakesrc.h:
19014 Fix broken sync code.
19016 2005-12-05 Wim Taymans <wim@fluendo.com>
19018 * gst/gstcaps.c: (gst_caps_is_equal):
19019 Comparing NULL against !NULL yields different caps, not a
19022 2005-12-05 Wim Taymans <wim@fluendo.com>
19024 * gst/gstpipeline.c:
19025 Fix small typo in docs.
19027 2005-12-05 Andy Wingo <wingo@pobox.com>
19029 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19031 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19032 registries/plugins with a MAJORMINOR one.
19033 (plugin_desc): Rename library from gstcoreleements to
19034 staticelements. Fixes #323222.
19036 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19039 Change debug category to 'collectpads' from 'collect_pads'
19042 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19044 patch by: Sebastien Moutte
19046 * libs/gst/controller/gstinterpolation.c:
19047 use convert function for uint64/double
19048 * win32/vs6/libgstcontroller.dsp:
19051 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19053 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19054 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19056 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19057 add tests that seem to show that the guint64/gdouble conversions
19060 2005-12-02 Wim Taymans <wim@fluendo.com>
19062 * gst/gstregistry.c: (gst_registry_add_path):
19063 * gst/gstregistry.h:
19064 * gst/gstregistryxml.c:
19067 2005-12-02 Wim Taymans <wim@fluendo.com>
19069 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19070 (gst_util_uint64_scale_int):
19073 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19074 Add debug log line.
19076 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19079 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19082 * win32/common/config.h:
19083 * win32/vs6/gstreamer.dsw:
19084 * win32/vs6/libgstcoreelements.dsp:
19085 * win32/vs6/libgstelements.dsp:
19086 renamed core elements plugin
19088 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19090 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19092 do piece-wise major/minor comparison so 0.9 < 0.10
19093 also allow .exe extensions for tools
19095 2005-12-02 Michael Smith <msmith@fluendo.com>
19098 Escape a % to make gtkdoc happier; bug 322958.
19100 === release 0.9.7 ===
19102 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19105 releasing 0.9.7, "My Dog Has No Nose"
19107 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19109 * common/gst-xmlinspect.py:
19111 * docs/libs/tmpl/gstdataprotocol.sgml:
19112 * docs/random/release:
19131 * win32/common/config.h:
19132 * win32/common/config.h.in:
19133 * win32/vs6/gst_inspect.dsp:
19134 * win32/vs6/gst_launch.dsp:
19135 * win32/vs6/libgstbase.dsp:
19136 * win32/vs6/libgstelements.dsp:
19137 * win32/vs6/libgstreamer.dsp:
19138 * win32/vs7/GStreamer.vcproj:
19139 * win32/vs7/gst-inspect.vcproj:
19140 * win32/vs7/gst-launch.vcproj:
19141 * win32/vs7/libgstbase.vcproj:
19142 bump GST_MAJORMINOR to 0.10
19143 reset libtool version
19145 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19149 Added Bulgarian translation by (Alexander Shopov)
19151 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19153 * tests/check/gst/gstplugin.c:
19156 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19158 * common/gst-xmlinspect.py:
19159 * common/gtk-doc-plugins.mak:
19161 * docs/Makefile.am:
19162 * docs/gst/Makefile.am:
19163 * docs/gst/gstreamer-docs.sgml:
19164 * docs/gst/gstreamer-sections.txt:
19165 * docs/gst/gstreamer.types:
19166 * docs/gst/gstreamer.types.in:
19167 * docs/plugins/Makefile.am:
19168 * docs/plugins/gstreamer-plugins-docs.sgml:
19169 * docs/plugins/gstreamer-plugins-sections.txt:
19170 * docs/plugins/gstreamer-plugins.types:
19171 * docs/plugins/inspect.stamp:
19172 * docs/plugins/inspect/plugin-coreelements.xml:
19173 * docs/plugins/inspect/plugin-coreindexers.xml:
19174 * docs/plugins/scanobj-build.stamp:
19175 * gstreamer.spec.in:
19176 * plugins/elements/Makefile.am:
19177 * plugins/elements/gstelements.c:
19178 * plugins/elements/gstfakesink.c:
19179 * plugins/elements/gstfakesrc.c:
19180 * plugins/elements/gstfilesink.c:
19181 * plugins/elements/gstfilesrc.c:
19182 * plugins/elements/gstqueue.c:
19183 * plugins/indexers/Makefile.am:
19184 * plugins/indexers/gstindexers.c:
19185 document core plugins in a separate document just like all the
19187 rename these plugins to something starting with core
19189 2005-12-01 Andy Wingo <wingo@pobox.com>
19191 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19192 padding here before, but it missed the commit.
19194 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * libs/gst/controller/gstinterpolation.c:
19197 whitespace prices have crashed, we should feel free to use some now
19198 use gst_guint64_to_gdouble
19200 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19202 * libs/gst/controller/gstcontroller.c:
19203 * libs/gst/controller/gsthelper.c:
19204 * libs/gst/controller/gstinterpolation.c:
19205 * libs/gst/controller/lib.c:
19206 wrap config.h include
19208 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19210 * docs/gst/gstreamer-sections.txt:
19213 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19215 * plugins/elements/gstelements.c:
19216 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19217 (gst_fd_sink__class_init), (gst_fd_sink__init),
19218 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19219 (gst_fd_sink__get_property):
19220 * plugins/elements/gstfdsink.h:
19221 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19222 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19223 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19224 (gst_fd_src_unlock), (gst_fd_src_set_property),
19225 (gst_fd_src_get_property), (gst_fd_src_create),
19226 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19227 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19228 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19229 (gst_fd_src_uri_handler_init):
19230 * plugins/elements/gstfdsrc.h:
19231 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19234 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19236 * docs/gst/Makefile.am:
19237 * docs/gst/gstreamer.types.in:
19241 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19247 * gst/gstregistry.h:
19248 * tests/benchmarks/complexity.c:
19249 * tests/benchmarks/mass-elements.c:
19250 * tests/check/Makefile.am:
19251 * tools/Makefile.am:
19252 * tools/gst-inspect.c:
19253 * tools/gst-xmlinspect.c:
19254 various fixes to make
19255 --disable-nls --disable-registry --disable-loadsave
19256 --disable-parse --disable-gst-debug
19257 work and get the core .so down to 360444 bytes after stripping
19259 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * docs/random/thomasvs/TODO:
19265 * tests/Makefile.am:
19269 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19271 * win32/GStreamer.vcproj:
19274 * win32/Makefile.inspect:
19275 * win32/Makefile.launch:
19276 * win32/Makefile.register:
19277 * win32/README.txt:
19278 * win32/gst-inspect.vcproj:
19279 * win32/gst-launch.vcproj:
19280 * win32/gst-register.vcproj:
19281 * win32/gstelements.vcproj:
19282 * win32/gstgetbits.def:
19283 * win32/gstgetbits.vcproj:
19284 * win32/gstreamer-dbg.def:
19285 * win32/gstreamer.def:
19286 * win32/libgstbase.def:
19287 * win32/libgstbase.vcproj:
19288 * win32/link_oldruntime.c:
19292 * win32/msvc71.sln:
19293 move even more stuff, win32/ is nice and clean now
19295 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19297 * libs/gst/control/.cvsignore:
19302 * win32/gstbytestream.def:
19303 * win32/gstbytestream.vcproj:
19304 * win32/gstconfig.h:
19305 * win32/gstenumtypes.c:
19306 * win32/gstenumtypes.h:
19307 * win32/gstoptimalscheduler.vcproj:
19308 * win32/gstversion.h:
19310 * win32/testsuite/bins.vcproj:
19311 * win32/testsuite/bytestream.vcproj:
19312 * win32/testsuite/caps.vcproj:
19313 * win32/testsuite/cleanup.vcproj:
19314 * win32/testsuite/clock.vcproj:
19315 * win32/testsuite/debug.vcproj:
19316 * win32/testsuite/dlopen.vcproj:
19317 * win32/testsuite/dynparams.vcproj:
19318 * win32/testsuite/elements.vcproj:
19319 * win32/testsuite/ghostpads.vcproj:
19320 * win32/testsuite/indexers.vcproj:
19321 * win32/testsuite/negotiation.vcproj:
19322 * win32/testsuite/parse.vcproj:
19323 * win32/testsuite/plugin.vcproj:
19324 * win32/testsuite/refcounting.vcproj:
19325 * win32/testsuite/schedulers.vcproj:
19326 * win32/testsuite/states.vcproj:
19327 * win32/testsuite/tags.vcproj:
19328 * win32/testsuite/threads.vcproj:
19329 remove old win32 stuff that isn't maintained and should be
19332 2005-11-30 Andy Wingo <wingo@pobox.com>
19334 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19335 loading the gst.interfaces python module bork.
19337 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19338 available since GLib 2.2. Fixes #318031.
19340 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19343 * check/.cvsignore:
19344 * check/Makefile.am:
19345 * check/elements/.cvsignore:
19346 * check/elements/fakesrc.c:
19347 * check/elements/fdsrc.c:
19348 * check/elements/identity.c:
19349 * check/generic/.cvsignore:
19350 * check/generic/states.c:
19351 * check/gst-libs/.cvsignore:
19352 * check/gst-libs/controller.c:
19353 * check/gst-libs/gdp.c:
19354 * check/gst/.cvsignore:
19355 * check/gst/capslist.h:
19357 * check/gst/gstbin.c:
19358 * check/gst/gstbuffer.c:
19359 * check/gst/gstbus.c:
19360 * check/gst/gstcaps.c:
19361 * check/gst/gstelement.c:
19362 * check/gst/gstevent.c:
19363 * check/gst/gstghostpad.c:
19364 * check/gst/gstiterator.c:
19365 * check/gst/gstmessage.c:
19366 * check/gst/gstminiobject.c:
19367 * check/gst/gstobject.c:
19368 * check/gst/gstpad.c:
19369 * check/gst/gstpipeline.c:
19370 * check/gst/gstplugin.c:
19371 * check/gst/gstsegment.c:
19372 * check/gst/gststructure.c:
19373 * check/gst/gstsystemclock.c:
19374 * check/gst/gsttag.c:
19375 * check/gst/gstutils.c:
19376 * check/gst/gstvalue.c:
19377 * check/net/.cvsignore:
19378 * check/net/gstnetclientclock.c:
19379 * check/net/gstnettimeprovider.c:
19380 * check/pipelines/.cvsignore:
19381 * check/pipelines/cleanup.c:
19382 * check/pipelines/simple_launch_lines.c:
19383 * check/pipelines/stress.c:
19384 * check/states/.cvsignore:
19385 * check/states/sinks.c:
19387 * examples/Makefile.am:
19388 * examples/appreader/.cvsignore:
19389 * examples/appreader/Makefile.am:
19390 * examples/appreader/appreader.c:
19391 * examples/controller/.cvsignore:
19392 * examples/controller/Makefile.am:
19393 * examples/controller/audio-example.c:
19394 * examples/cutter/.cvsignore:
19395 * examples/cutter/Makefile.am:
19396 * examples/cutter/cutter.c:
19397 * examples/cutter/cutter.h:
19398 * examples/events/Makefile.am:
19399 * examples/events/seek.c:
19400 * examples/helloworld/.cvsignore:
19401 * examples/helloworld/Makefile.am:
19402 * examples/helloworld/helloworld.c:
19403 * examples/helloworld2/.cvsignore:
19404 * examples/helloworld2/Makefile.am:
19405 * examples/helloworld2/helloworld2.c:
19406 * examples/launch/.cvsignore:
19407 * examples/launch/Makefile.am:
19408 * examples/launch/mp3parselaunch.c:
19409 * examples/launch/mp3play:
19410 * examples/manual/.cvsignore:
19411 * examples/manual/Makefile.am:
19412 * examples/manual/extract.pl:
19413 * examples/metadata/Makefile.am:
19414 * examples/metadata/read-metadata.c:
19415 * examples/mixer/.cvsignore:
19416 * examples/mixer/Makefile.am:
19417 * examples/mixer/mixer.c:
19418 * examples/mixer/mixer.h:
19419 * examples/pingpong/.cvsignore:
19420 * examples/pingpong/Makefile.am:
19421 * examples/pingpong/pingpong.c:
19422 * examples/plugins/.cvsignore:
19423 * examples/plugins/Makefile.am:
19424 * examples/plugins/example.c:
19425 * examples/plugins/example.h:
19426 * examples/pwg/.cvsignore:
19427 * examples/pwg/Makefile.am:
19428 * examples/pwg/extract.pl:
19429 * examples/queue/.cvsignore:
19430 * examples/queue/Makefile.am:
19431 * examples/queue/queue.c:
19432 * examples/queue2/.cvsignore:
19433 * examples/queue2/Makefile.am:
19434 * examples/queue2/queue2.c:
19435 * examples/queue3/.cvsignore:
19436 * examples/queue3/Makefile.am:
19437 * examples/queue3/queue3.c:
19438 * examples/queue4/.cvsignore:
19439 * examples/queue4/Makefile.am:
19440 * examples/queue4/queue4.c:
19441 * examples/retag/.cvsignore:
19442 * examples/retag/Makefile.am:
19443 * examples/retag/retag.c:
19444 * examples/retag/transcode.c:
19445 * examples/thread/.cvsignore:
19446 * examples/thread/Makefile.am:
19447 * examples/thread/thread.c:
19448 * examples/typefind/.cvsignore:
19449 * examples/typefind/Makefile.am:
19450 * examples/typefind/typefind.c:
19451 * examples/xml/.cvsignore:
19452 * examples/xml/Makefile.am:
19453 * examples/xml/createxml.c:
19454 * examples/xml/runxml.c:
19455 * tests/Makefile.am:
19456 * tests/check/Makefile.am:
19457 * testsuite/.cvsignore:
19458 * testsuite/Makefile.am:
19460 * testsuite/caps/.cvsignore:
19461 * testsuite/caps/Makefile.am:
19462 * testsuite/caps/app_fixate.c:
19463 * testsuite/caps/audioscale.c:
19464 * testsuite/caps/caps.c:
19465 * testsuite/caps/caps.h:
19466 * testsuite/caps/caps_strings:
19467 * testsuite/caps/compatibility.c:
19468 * testsuite/caps/deserialize.c:
19469 * testsuite/caps/enumcaps.c:
19470 * testsuite/caps/eratosthenes.c:
19471 * testsuite/caps/filtercaps.c:
19472 * testsuite/caps/fixed.c:
19473 * testsuite/caps/fraction-convert.c:
19474 * testsuite/caps/fraction-multiply-and-zero.c:
19475 * testsuite/caps/intersect2.c:
19476 * testsuite/caps/intersection.c:
19477 * testsuite/caps/normalisation.c:
19478 * testsuite/caps/random.c:
19479 * testsuite/caps/renegotiate.c:
19480 * testsuite/caps/sets.c:
19481 * testsuite/caps/simplify.c:
19482 * testsuite/caps/string-conversions.c:
19483 * testsuite/caps/structure.c:
19484 * testsuite/caps/subtract.c:
19485 * testsuite/caps/union.c:
19486 * testsuite/debug/.cvsignore:
19487 * testsuite/debug/Makefile.am:
19488 * testsuite/debug/category.c:
19489 * testsuite/debug/commandline.c:
19490 * testsuite/debug/global.c:
19491 * testsuite/debug/output.c:
19492 * testsuite/debug/printf_extension.c:
19493 * testsuite/dlopen/.cvsignore:
19494 * testsuite/dlopen/Makefile.am:
19495 * testsuite/dlopen/dlopen_gst.c:
19496 * testsuite/dlopen/loadgst.c:
19497 * testsuite/elements/.cvsignore:
19498 * testsuite/elements/Makefile.am:
19499 * testsuite/elements/gst-inspect-check.in:
19500 * testsuite/elements/struct_i386.h:
19501 * testsuite/elements/struct_size.c:
19502 * testsuite/indexers/.cvsignore:
19503 * testsuite/indexers/Makefile.am:
19504 * testsuite/indexers/cache1.c:
19505 * testsuite/indexers/indexdump.c:
19506 * testsuite/parse/.cvsignore:
19507 * testsuite/parse/Makefile.am:
19508 * testsuite/parse/parse1.c:
19509 * testsuite/parse/parse2.c:
19510 * testsuite/plugin/.cvsignore:
19511 * testsuite/plugin/Makefile.am:
19512 * testsuite/plugin/README:
19513 * testsuite/plugin/dynamic.c:
19514 * testsuite/plugin/linked.c:
19515 * testsuite/plugin/loading.c:
19516 * testsuite/plugin/registry.c:
19517 * testsuite/plugin/static.c:
19518 * testsuite/plugin/static2.c:
19519 * testsuite/plugin/testplugin.c:
19520 * testsuite/plugin/testplugin2.c:
19521 * testsuite/plugin/testplugin2_s.c:
19522 * testsuite/plugin/testplugin_s.c:
19523 * testsuite/refcounting/.cvsignore:
19524 * testsuite/refcounting/Makefile.am:
19525 * testsuite/refcounting/bin.c:
19526 * testsuite/refcounting/element.c:
19527 * testsuite/refcounting/element_pad.c:
19528 * testsuite/refcounting/mainloop.c:
19529 * testsuite/refcounting/mem.c:
19530 * testsuite/refcounting/mem.h:
19531 * testsuite/refcounting/object.c:
19532 * testsuite/refcounting/pad.c:
19533 * testsuite/refcounting/sched.c:
19534 * testsuite/refcounting/thread.c:
19535 * testsuite/states/.cvsignore:
19536 * testsuite/states/Makefile.am:
19537 * testsuite/states/bin.c:
19538 * testsuite/states/locked.c:
19539 * testsuite/states/parent.c:
19540 * testsuite/threads/.cvsignore:
19541 * testsuite/threads/159566.c:
19542 * testsuite/threads/159852.c:
19543 * testsuite/threads/Makefile.am:
19544 * testsuite/threads/queue.c:
19545 * testsuite/threads/signals.c:
19546 * testsuite/threads/staticrec.c:
19547 * testsuite/threads/thread.c:
19548 * testsuite/threads/threadb.c:
19549 * testsuite/threads/threadc.c:
19550 * testsuite/threads/threadd.c:
19551 * testsuite/threads/threade.c:
19552 * testsuite/threads/threadf.c:
19553 * testsuite/threads/threadg.c:
19554 * testsuite/threads/threadh.c:
19555 * testsuite/threads/threadi.c:
19556 move all of these under tests
19558 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19561 * tests/Makefile.am:
19564 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19566 * docs/gst/gstreamer-sections.txt:
19567 * tests/sched/.cvsignore:
19568 * tests/sched/Makefile.am:
19569 * tests/sched/cases/(fs-fs).xml:
19570 * tests/sched/cases/(fs-i-fs).xml:
19571 * tests/sched/cases/(fs-i-i-fs).xml:
19572 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19573 * tests/sched/dynamic-pipeline.c:
19574 * tests/sched/interrupt1.c:
19575 * tests/sched/interrupt2.c:
19576 * tests/sched/interrupt3.c:
19577 * tests/sched/runtestcases:
19578 * tests/sched/runxml.c:
19579 * tests/sched/sched-stress.c:
19580 * tests/sched/sort.c:
19581 * tests/sched/testcases:
19582 * tests/sched/testcases1.tc:
19583 * tests/seeking/.cvsignore:
19584 * tests/seeking/Makefile.am:
19585 * tests/seeking/seeking1.c:
19586 * tests/threadstate/.cvsignore:
19587 * tests/threadstate/Makefile.am:
19588 * tests/threadstate/test1.c:
19589 * tests/threadstate/test2.c:
19590 * tests/threadstate/threadstate1.c:
19591 * tests/threadstate/threadstate2.c:
19592 * tests/threadstate/threadstate3.c:
19593 * tests/threadstate/threadstate4.c:
19594 * tests/threadstate/threadstate5.c:
19595 remove obsolete tests
19597 * tests/bench-complexity.scm:
19598 * tests/bench-mass_elements.scm:
19599 * tests/complexity.c:
19600 * tests/complexity.gnuplot:
19601 * tests/instantiate/.cvsignore:
19602 * tests/instantiate/Makefile.am:
19603 * tests/instantiate/caps.c:
19604 * tests/mass_elements.c:
19605 * tests/network-clock-utils.scm:
19606 * tests/network-clock.scm:
19608 First pass at cleaning up tests/ dir before moving the rest
19609 Combined with CVS surgery
19611 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19614 queue has moved, update
19616 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19618 * docs/gst/gstreamer-sections.txt:
19619 remove double entries from the docs
19620 * gst/gst_private.h:
19621 * gst/gstinfo.c: (_gst_debug_init):
19622 remove the THREAD debug category
19626 * docs/gst/gstreamer.types:
19627 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19628 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19629 completely move queue and fix up debugging categories
19631 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19633 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19634 make initialization portable, using LL is not
19636 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19638 * win32/common/gstconfig.h:
19641 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19643 * win32/common/libgstreamer.def:
19644 rename symbols; sort base section
19646 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19648 * gst/gstclock.c: (do_linear_regression):
19649 remove crack non-portable handrolled DEBUG macro
19651 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19653 * docs/random/release:
19655 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19656 (gst_object_flags_get_type), (register_gst_bin_flags),
19657 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19658 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19659 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19660 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19661 (gst_caps_flags_get_type), (register_gst_clock_return),
19662 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19663 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19664 (gst_clock_flags_get_type), (register_gst_state),
19665 (gst_state_get_type), (register_gst_state_change_return),
19666 (gst_state_change_return_get_type), (register_gst_state_change),
19667 (gst_state_change_get_type), (register_gst_element_flags),
19668 (gst_element_flags_get_type), (register_gst_core_error),
19669 (gst_core_error_get_type), (register_gst_library_error),
19670 (gst_library_error_get_type), (register_gst_resource_error),
19671 (gst_resource_error_get_type), (register_gst_stream_error),
19672 (gst_stream_error_get_type), (register_gst_event_type_flags),
19673 (gst_event_type_flags_get_type), (register_gst_event_type),
19674 (gst_event_type_get_type), (register_gst_seek_type),
19675 (gst_seek_type_get_type), (register_gst_seek_flags),
19676 (gst_seek_flags_get_type), (register_gst_format),
19677 (gst_format_get_type), (register_gst_index_certainty),
19678 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19679 (gst_index_entry_type_get_type),
19680 (register_gst_index_lookup_method),
19681 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19682 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19683 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19684 (gst_index_flags_get_type), (register_gst_debug_level),
19685 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19686 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19687 (gst_iterator_result_get_type), (register_gst_iterator_item),
19688 (gst_iterator_item_get_type), (register_gst_message_type),
19689 (gst_message_type_get_type), (register_gst_mini_object_flags),
19690 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19691 (gst_pad_link_return_get_type), (register_gst_flow_return),
19692 (gst_flow_return_get_type), (register_gst_activate_mode),
19693 (gst_activate_mode_get_type), (register_gst_pad_direction),
19694 (gst_pad_direction_get_type), (register_gst_pad_flags),
19695 (gst_pad_flags_get_type), (register_gst_pad_presence),
19696 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19697 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19698 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19699 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19700 (gst_plugin_flags_get_type), (register_gst_rank),
19701 (gst_rank_get_type), (register_gst_query_type),
19702 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19703 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19704 (gst_tag_flag_get_type), (register_gst_task_state),
19705 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19706 (gst_alloc_trace_flags_get_type),
19707 (register_gst_type_find_probability),
19708 (gst_type_find_probability_get_type), (register_gst_uri_type),
19709 (gst_uri_type_get_type), (register_gst_parse_error),
19710 (gst_parse_error_get_type):
19711 * win32/common/gstenumtypes.h:
19712 * win32/common/gstversion.h:
19713 update visual studio generated files
19715 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19717 * win32/vs6/libgstbase.dsp:
19718 * win32/vs6/libgstelements.dsp:
19719 update project files for new locations
19721 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19726 reinstate and update
19731 * docs/random/LICENSE:
19734 2005-11-30 Edward Hervey <edward@fluendo.com>
19736 * gst/gsttypefind.c: (gst_type_find_register):
19737 * gst/gsttypefind.h:
19738 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19739 (gst_type_find_factory_dispose):
19740 * gst/gsttypefindfactory.h:
19741 Fix memory leak in GstTypeFindFactory.
19743 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19746 * plugins/elements/Makefile.am:
19747 * plugins/elements/gstelements.c:
19748 * plugins/elements/gstqueue.c:
19749 move queue from core to the elements plugin
19751 2005-11-29 Andy Wingo <wingo@pobox.com>
19753 * libs/gst/base/gstbasetransform.h:
19754 * libs/gst/base/gstbasesrc.h:
19755 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19757 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19758 of pointers by which to pad very extensible base classes (like the
19759 ones in libs/gst/base).
19761 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19763 * docs/gst/gstreamer-docs.sgml:
19764 * docs/gst/gstreamer-sections.txt:
19765 * docs/libs/gstreamer-libs-docs.sgml:
19766 * docs/libs/gstreamer-libs-sections.txt:
19767 moving documentation from core to lib
19769 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19771 * check/Makefile.am:
19773 * docs/gst/Makefile.am:
19775 * gst/base/.cvsignore:
19776 * gst/base/Makefile.am:
19778 * gst/base/gstadapter.c:
19779 * gst/base/gstadapter.h:
19780 * gst/base/gstbasesink.c:
19781 * gst/base/gstbasesink.h:
19782 * gst/base/gstbasesrc.c:
19783 * gst/base/gstbasesrc.h:
19784 * gst/base/gstbasetransform.c:
19785 * gst/base/gstbasetransform.h:
19786 * gst/base/gstcollectpads.c:
19787 * gst/base/gstcollectpads.h:
19788 * gst/base/gstpushsrc.c:
19789 * gst/base/gstpushsrc.h:
19790 * gst/base/gsttypefindhelper.c:
19791 * gst/base/gsttypefindhelper.h:
19792 * gst/check/Makefile.am:
19793 * gst/check/gstcheck.c:
19794 * gst/check/gstcheck.h:
19795 * gst/net/Makefile.am:
19796 * gst/net/gstnet.h:
19797 * gst/net/gstnetclientclock.c:
19798 * gst/net/gstnetclientclock.h:
19799 * gst/net/gstnettimepacket.c:
19800 * gst/net/gstnettimepacket.h:
19801 * gst/net/gstnettimeprovider.c:
19802 * gst/net/gstnettimeprovider.h:
19803 * libs/gst/Makefile.am:
19804 * libs/gst/base/Makefile.am:
19805 * libs/gst/base/gstbasetransform.c:
19806 * libs/gst/check/Makefile.am:
19807 * plugins/elements/Makefile.am:
19809 CVS surgery + support to move base, check, and net out of gst
19812 2005-11-29 Andy Wingo <wingo@pobox.com>
19814 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19816 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19819 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19821 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19823 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19825 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19826 padding; reduces object size by about 30%. We don't expect
19827 anything else to go into gstobject.
19829 * gst/gstminiobject.h (struct _GstMiniObject)
19830 (struct _GstMiniObjectClass): Only one pointer of padding; the
19831 payload is only a pointer and two ints anyway. For the class there
19832 are only two methods as well.
19834 * gst/gstelement.h (struct _GstElementClass): Removed
19835 the state_changed signal callback, it is not used.
19837 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19839 * docs/gst/gstreamer.types:
19840 fix includes, though they are a little dinky
19842 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19844 * check/Makefile.am:
19845 look in the right place for elements, a lot more chance of
19848 remove indexers and elements subdirs
19849 * plugins/Makefile.am:
19850 make indexers conditional
19852 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19856 * plugins/elements/Makefile.am:
19857 * plugins/elements/gstcapsfilter.c:
19858 * plugins/elements/gstfilesink.c:
19859 * plugins/elements/gstfilesrc.c:
19860 * plugins/elements/gstidentity.c:
19861 * plugins/indexers/Makefile.am:
19862 do CVS surgery and related build fixery to move elements
19863 and indexers in a new gstreamer/plugins directory, out of the
19866 2005-11-29 Andy Wingo <wingo@pobox.com>
19868 * check/Makefile.am:
19869 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19870 * pkgconfig/gstreamer-net.pc.in:
19871 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19874 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19876 * tools/Makefile.am:
19877 * tools/gst-complete.1.in:
19878 * tools/gst-complete.c:
19879 * tools/gst-compprep.1.in:
19880 * tools/gst-compprep.c:
19881 removing -compprep and -complete
19883 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19885 * gst/gstevent.c: (gst_event_new_new_segment),
19886 (gst_event_parse_new_segment):
19888 fix #320529 - clean up new_segment API and structure.
19889 Let's hope everyone was using the methods, and not the structure.
19891 2005-11-29 Edward Hervey <edward@fluendo.com>
19893 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19894 (gst_base_sink_event), (gst_base_sink_do_sync),
19895 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19896 Properly handle non GST_FORMAT_TIME segment
19897 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19898 Properly handle non GST_FORMAT_TIME segment
19899 * gst/gstsegment.c:
19900 This function is valid if the accumulator is 0 and the format
19901 is different from the requested format.
19903 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19905 * docs/gst/gstreamer-sections.txt:
19906 Add gst_query_new_seeking and gst_query_parse_seeking to the
19909 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19911 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19912 Treat a pad alloc with new caps the same as if we were not
19913 negotiated, in order to allow a changing upstream output
19914 to produce a new format of data.
19916 2005-11-29 Edward Hervey <edward@fluendo.com>
19918 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19919 (gst_base_transform_event), (gst_base_transform_eventfunc):
19920 The event virtual method is now properly implemented, with a default
19922 Sub classes should call the parent_class event method. They should
19923 return FALSE if they had a problem handling the given event, or don't
19924 want GstBaseTransform to send that even downstream
19925 * gst/elements/gstidentity.c: (gst_identity_class_init),
19926 (gst_identity_init), (gst_identity_event),
19927 (gst_identity_transform_ip), (gst_identity_set_property),
19928 (gst_identity_get_property):
19929 * gst/elements/gstidentity.h:
19930 Added the single-segment boolean property.
19931 If set to TRUE, it will output a single segment of data, starting from
19932 0, will eat up all incoming newsegment, and modify the timestamp of the
19933 buffers accordingly
19935 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19937 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19938 Don't ref NULL target pad (#322751). Improve docs.
19940 2005-11-29 Michael Smith <msmith@fluendo.com>
19942 * gst/gstregistryxml.c: (load_plugin):
19943 Don't crash if we failed to load a feature from a plugin.
19945 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19947 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19949 use more check API and less GLib API
19951 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19954 don't run checks if we don't have check
19955 * common/check.mak:
19956 remove the registry when running make torture
19957 * docs/gst/gstreamer-sections.txt:
19958 remove second multiply
19959 * gst/gstqueue.c: (gst_queue_loop):
19960 fix a compile warning when disabling debug
19962 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19965 Hey! Let's print the pad name if the pointer != NULL instead
19966 of when it == NULL :-)
19968 2005-11-28 Wim Taymans <wim@fluendo.com>
19970 * check/gst/gstutils.c: (GST_START_TEST):
19971 Updated check, add some scaling accuracy checking code.
19973 * gst/gstutils.c: (gst_util_div128_64),
19974 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19975 (gst_util_uint64_scale_int):
19976 Fix 6 times faster division code. Optimize for common
19977 1/1 and less common X/1 cases.
19979 2005-11-28 Wim Taymans <wim@fluendo.com>
19981 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19984 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19985 (do_linear_regression), (gst_clock_add_observation):
19987 Release lock when the clock cannot be slaved.
19988 Catch the case where the regression returned an invalid denominator.
19990 * gst/gstutils.c: (gst_util_div128_64_iterate),
19991 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19992 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19993 Add protentially more performant non-iterative 128/64 divide function
19994 that unfortunatly does not work yet.
19995 Shortcut the trivial 0/X = 0 case.
19996 Remove the warnings on overflow.
19998 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20000 * gst/gstplugin.c: (gst_plugin_register_func):
20001 everything causing a plugin not to load should be at least a WARNING
20003 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20005 * docs/random/ensonic/dparams.txt:
20006 some TODOs for the next dev cycle
20007 * libs/gst/controller/gstcontroller.c:
20008 (gst_controlled_property_set_interpolation_mode),
20009 (gst_controlled_property_new):
20010 * libs/gst/controller/gstcontroller.h:
20011 use base type to assign acccessor functions
20013 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20015 * check/Makefile.am:
20016 Oops, that should have been top_srcdir
20018 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20020 * check/Makefile.am:
20021 * check/elements/fdsrc.c: (GST_START_TEST):
20022 Use a cmdline define to specify the location of a file to use for
20023 testing, to avoid breaking distcheck.
20025 2005-11-28 Andy Wingo <wingo@pobox.com>
20027 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20029 2005-11-28 Edward Hervey <edward@fluendo.com>
20031 * tools/gst-launch.c: (main):
20032 Clarify the output strings, makes it easier to translate.
20035 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20038 don't try and build net if we don't even have <sys/socket.h>
20040 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20042 * check/Makefile.am:
20043 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20044 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20045 Add tests for fdsrc seekability
20047 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20048 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20049 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20050 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20051 * gst/elements/gstfdsrc.h:
20052 fdsrc should not be a 'live' source.
20053 Implement seeking on seekable fd's.
20055 * gst/gstquery.c: (gst_query_new_seeking),
20056 (gst_query_parse_seeking):
20058 Implement SEEKING query functions:
20059 *_new_seeking and *_parse_seeking
20061 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20063 * gst/gstelement.c: (gst_element_dispose):
20066 * gst/gstiterator.c:
20067 * gst/gststructure.c:
20070 * libs/gst/controller/gstcontroller.c:
20071 (gst_controlled_property_set_interpolation_mode):
20072 * libs/gst/controller/gstcontroller.h:
20073 * libs/gst/controller/gstinterpolation.c:
20074 (interpolate_none_get_enum_value_array):
20075 support controlling enums
20077 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20080 Improve documentation for gst_value_union().
20083 Change return value for union, intersect and subtract functions
20084 from gint to gboolean.
20086 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20088 * gst/gstvalue.c: (gst_value_serialize_any_list),
20089 (gst_value_transform_any_list_string),
20090 (gst_value_deserialize_list), (gst_value_deserialize_array),
20091 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20092 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20093 (gst_value_set_fraction_range_full),
20094 (gst_value_deserialize_fraction_range),
20095 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20096 (gst_value_deserialize_boolean),
20097 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20098 (gst_value_serialize_float), (gst_value_deserialize_float),
20099 (gst_string_wrap), (gst_value_deserialize_string),
20100 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20101 (gst_value_union_int_range_int_range),
20102 (gst_value_intersect_int_range_int_range),
20103 (gst_value_intersect_double_range_double_range),
20104 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20105 (gst_value_subtract_int_range_int_range),
20106 (gst_value_subtract_double_double_range),
20107 (gst_value_subtract_double_range_double_range),
20108 (gst_value_deserialize_fraction):
20110 Use gint, gdouble and gchar in our API instead of int, double and
20111 char (and make usage in gstvalue.c more consistent).
20113 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20115 * check/Makefile.am:
20116 * libs/gst/controller/Makefile.am:
20117 * libs/gst/dataprotocol/Makefile.am:
20118 fix up Makefile.am and remove GST_ENABLE_NEW
20120 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20124 * gst/base/Makefile.am:
20125 * gst/check/Makefile.am:
20126 * gst/elements/Makefile.am:
20127 * gst/net/Makefile.am:
20128 update LDFLAGS use some more
20130 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20132 * common/m4/gst-doc.m4:
20135 2005-11-26 Edward Hervey <edward@fluendo.com>
20137 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20138 This shouldn't issue a g_warning since it returns NULL if it
20139 couldn't find the plugin, and all functions using this behave
20140 properly on a NULL return. Switching to a GST_WARNING.
20142 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20144 * gst/gstbin.c: (gst_bin_handle_message_func):
20145 Don't leak clock messages.
20147 2005-11-25 Wim Taymans <wim@fluendo.com>
20149 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20150 (gst_util_uint64_scale_int):
20151 Optimisations, remove unneeded vars.
20153 2005-11-25 Wim Taymans <wim@fluendo.com>
20155 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20156 Added more checks for the high precision uint64 cases.
20158 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20159 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20160 Implement high precision (guint64 * guint64) / guint64.
20162 2005-11-24 Wim Taymans <wim@fluendo.com>
20164 * gst/base/gstbasesrc.c: (gst_base_src_query):
20165 Fix wrong percentage query.
20167 * gst/gstutils.c: (gst_util_uint64_scale),
20168 (gst_util_uint64_scale_int):
20169 Add some more common cases that can be handled
20170 efficiently to _scale.
20172 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20174 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20175 (gst_mini_object_suite):
20176 don't use check calls from threads; check probably isn't
20177 threadsafe and using a lock to make it threadsafe would
20178 defeat the purpose of this check
20179 * gst/check/gstcheck.c:
20180 * gst/check/gstcheck.h:
20181 use GST_DEBUG some more
20183 2005-11-24 Wim Taymans <wim@fluendo.com>
20185 * gst/gstutils.c: (gst_util_uint64_scale),
20186 (gst_util_uint64_scale_int):
20187 Chain trivial case to _scale_int.
20189 2005-11-24 Wim Taymans <wim@fluendo.com>
20191 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20192 Added test for scaling.
20197 * gst/gstutils.c: (gst_util_uint64_scale_int):
20198 Implemented high precision scaling code.
20200 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20203 do not crash on pad==NULL
20205 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20207 Patch by: Stefan Kost
20209 * common/gtk-doc.mak:
20210 * docs/gst/Makefile.am:
20211 * docs/libs/Makefile.am:
20212 Fix distcheck issues for the libraries docs build
20215 2005-11-24 Michael Smith <msmith@fluendo.com>
20217 * docs/manual/basics-helloworld.xml:
20218 Fix bug #315027: memory leak in example code in docs.
20220 2005-11-24 Michael Smith <msmith@fluendo.com>
20222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20223 Unlock the PREROLL_LOCK in a failure case.
20225 2005-11-24 Wim Taymans <wim@fluendo.com>
20227 * docs/gst/gstreamer-sections.txt:
20228 * gst/base/gstadapter.h:
20229 * gst/base/gstbasesink.h:
20230 * gst/base/gstbasesrc.h:
20231 * gst/base/gstbasetransform.h:
20232 * gst/base/gstpushsrc.h:
20233 * gst/elements/gstfakesink.h:
20234 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20235 * gst/elements/gstfakesrc.h:
20236 * gst/elements/gstfilesink.h:
20237 * gst/elements/gstfilesrc.h:
20240 * gst/gstbuffer.c: (_gst_buffer_copy):
20243 * gst/gstchildproxy.c:
20245 * gst/gstelement.c:
20246 * gst/gstelementfactory.c:
20247 * gst/gstelementfactory.h:
20249 * gst/gstghostpad.h:
20251 * gst/gstinterface.h:
20252 * gst/gstminiobject.c:
20253 * gst/gstminiobject.h:
20256 * gst/gstpadtemplate.h:
20257 * gst/gstpipeline.h:
20258 * gst/gstpluginfeature.h:
20261 * gst/gsttaglist.c:
20262 * gst/gsttaglist.h:
20263 * gst/gsttagsetter.c:
20264 * gst/gsttagsetter.h:
20267 * gst/gsttypefind.h:
20270 * gst/net/gstnetclientclock.c:
20271 * gst/net/gstnetclientclock.h:
20272 * gst/net/gstnettimepacket.c:
20273 * gst/net/gstnettimeprovider.c:
20274 * gst/net/gstnettimeprovider.h:
20277 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20279 * configure.ac: back to HEAD
20281 === release 0.9.6 ===
20283 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20286 releasing 0.9.6, "Always On Time"
20288 2005-11-23 Wim Taymans <wim@fluendo.com>
20290 * docs/gst/gstreamer-sections.txt:
20291 * gst/glib-compat.c:
20292 * gst/gsttagsetter.c:
20294 * gst/net/gstnetclientclock.c:
20295 * gst/net/gstnettimepacket.h:
20298 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20300 * docs/faq/using.xml:
20301 * docs/libs/tmpl/gstcontrol.sgml:
20302 * docs/manual/advanced-dparams.xml:
20303 * docs/manual/appendix-checklist.xml:
20304 * docs/manual/basics-elements.xml:
20305 * docs/pwg/other-source.xml:
20306 * docs/random/moving-plugins:
20308 * tools/gst-launch.1.in:
20309 remove mentions of sinesrc
20311 2005-11-23 Michael Smith <msmith@fluendo.com>
20313 * docs/gst/gstreamer-sections.txt:
20314 Update for new API and API changes.
20316 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20318 Documentation typo fix.
20319 * gst/net/gstnettimepacket.c:
20320 Documentation fixes for arguments.
20322 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20324 * gst/gststructure.c: (gst_structure_get_fraction),
20325 (gst_structure_parse_value),
20326 (gst_structure_fixate_field_nearest_fraction):
20327 * gst/gststructure.h:
20328 * gst/gstutils.c: (gst_util_uint64_scale_int):
20330 * scripts/update-funcnames:
20332 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20333 Make gst_structure_fixate_field_nearest_fraction take a numerator
20334 and denominator argument instead of a GValue
20335 add gst_structure_get_fraction helper function.
20337 2005-11-23 Wim Taymans <wim@fluendo.com>
20339 * docs/design/part-TODO.txt:
20342 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20343 * gst/net/gstnetclientclock.h:
20344 Use parent fields for timeout and window_size.
20346 2005-11-23 Andy Wingo <wingo@pobox.com>
20348 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20349 rate_num/rate_denom change.
20351 * gst/net/gstnetclientclock.c
20352 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20353 OBJECT_LOCK. Don't call add_observation with the lock.
20355 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20357 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20359 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20360 deal with rate as a fraction whose numerator and denominator are
20361 GstClockTime values.
20362 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20363 master; the other fields are protected by the SLAVE_LOCK.
20364 (do_linear_regression): Note that this must be called with the
20366 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20367 OBJECT_LOCK. Call set_calibration instead of touching the
20368 variables directly.
20369 (gst_clock_set_property, gst_clock_get_property): Protect
20370 master/slave parameters with the SLAVE_LOCK.
20372 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20373 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20374 note that all of the instance variables that add_observation and
20375 the set_master functions use are protected by that lock and not
20377 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20379 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20380 the caller to take the object lock.
20382 2005-11-23 Wim Taymans <wim@fluendo.com>
20384 * gst/gsterror.c: (_gst_core_errors_init):
20386 Add error for clock stuff.
20388 * gst/gstpipeline.c: (gst_pipeline_change_state),
20389 (gst_pipeline_set_clock):
20390 Post clock error when clock cannot be used in a pipeline.
20392 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20394 * docs/gst/gstreamer-sections.txt:
20395 make two symbols from gstinfo private for the docs
20396 * gst/base/gstcollectpads.h:
20398 fix doc typos, update docs
20400 2005-11-22 Wim Taymans <wim@fluendo.com>
20402 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20403 (gst_base_sink_wait), (gst_base_sink_do_sync),
20404 (gst_base_sink_handle_event):
20405 * gst/base/gstbasesink.h:
20406 No need to store the clock, the parent element class already
20409 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20410 Updates for clock_set returning a gboolean
20412 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20413 (gst_clock_id_wait_async), (gst_clock_class_init),
20414 (gst_clock_init), (gst_clock_finalize),
20415 (gst_clock_get_internal_time), (gst_clock_get_time),
20416 (gst_clock_slave_callback), (gst_clock_set_master),
20417 (gst_clock_get_master), (do_linear_regression),
20418 (gst_clock_add_observation), (gst_clock_set_property),
20419 (gst_clock_get_property):
20421 Implement master/slave. When setting a clock as a slave, a
20422 periodic timeout is scheduled to sample master and slave times.
20423 Then the slave clock is recalibrated to match offset and rate
20424 of the master clock.
20425 Update logging a bit.
20426 Add flag so that a clock can state that is cannot be slaved to
20429 * gst/gstelement.c: (gst_element_set_clock):
20430 * gst/gstelement.h:
20431 The set clock returns a gboolean for when an element cannot
20432 deal with the selected clock in the pipeline.
20434 * gst/gstpipeline.c: (gst_pipeline_change_state),
20435 (gst_pipeline_set_clock):
20436 * gst/gstpipeline.h:
20437 Handle the case where the selected clock cannot be set on
20440 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20441 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20442 (gst_net_client_clock_set_property),
20443 (gst_net_client_clock_get_property),
20444 (gst_net_client_clock_observe_times):
20445 * gst/net/gstnetclientclock.h:
20446 Use regression code in GstClock parent, remove duplicated
20449 2005-11-22 Michael Smith <msmith@fluendo.com>
20451 * gst/gstutils.c: (gst_util_clock_time_scale):
20453 * docs/gst/gstreamer-sections.txt:
20454 Rename method to have extra underscore.
20456 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20458 * gst/elements/Makefile.am:
20459 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20460 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20461 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20462 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20463 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20464 * gst/elements/gstfakesrc.h:
20465 * gst/gstqueue.c: (queue_leaky_get_type):
20466 correctly fix GEnumValues so that nick is the short lowercase
20468 * tools/gst-inspect.c: (print_element_properties_info):
20469 also show the nick, since it's useful to use from parse_launch
20473 2005-11-22 Michael Smith <msmith@fluendo.com>
20475 * gst/gstutils.c: (gst_util_clocktime_scale):
20477 * docs/gst/gstreamer-sections.txt:
20478 Add util method for scaling a clocktime by a fraction. Useful
20479 implementation is left as an exercise for the reader.
20481 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20483 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20484 If needed, allocate storage in the destination value during
20487 2005-11-22 Edward Hervey <edward@fluendo.com>
20489 * docs/gst/gstreamer-sections.txt:
20492 * gst/gsturitype.c:
20493 * gst/gsturitype.h:
20494 * gst/gstutils.c: (gst_util_set_object_arg):
20495 * tools/gst-compprep.c: (main):
20496 * tools/gst-inspect.c: (print_element_properties_info):
20497 Removed GstURI, closes bug #321061
20499 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20501 * check/gst/gststructure.c: (GST_START_TEST):
20502 * gst/gststructure.c: (gst_structure_parse_value):
20503 Oops, broke automatic string type parsing.
20504 Add a test to catch it in future.
20506 2005-11-22 Andy Wingo <wingo@pobox.com>
20508 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20509 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20510 Actually rename the function implementations. Grr.
20512 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20514 * check/gst/capslist.h:
20516 * check/gst/gststructure.c: (GST_START_TEST),
20517 (gst_structure_suite):
20518 Test automatic value type detection in gst_structure_from_string.
20519 * gst/gststructure.c: (gst_structure_parse_value):
20520 Add fraction as a type we try and guess automatically in
20521 caps/structure strings.
20523 2005-11-22 Andy Wingo <wingo@pobox.com>
20525 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20527 * gst/gsttagsetter.h:
20528 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20529 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20530 (gst_tag_setter_add_tag_valist)
20531 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20532 _add_values, _add_valist, and _add_valist_values. Since this is an
20533 interface the function suffixes should be more explicit so
20534 language binding don't end up with element.add_valist ->
20535 gst_tag_setter_add_valist, for example. Fixes #322069.
20537 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20539 * check/gst/gstcaps.c: (GST_START_TEST):
20540 Extend caps string tests to check that a caps to string
20541 conversion is reversible and produces the same caps.
20543 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20544 Output "fraction" as the generic type fraction range, so caps
20545 serialisation and deserialisation works.
20546 * check/gst/capslist.h:
20547 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20548 Support 'MIN' and 'MAX' for deserialising fractions.
20550 2005-11-22 Andy Wingo <wingo@pobox.com>
20552 * gst/gstevent.h (gst_event_new_new_segment)
20553 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20554 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20555 Renamed from *_newsegment, *_buffersize, *_notarget.
20557 * scripts/update-funcnames: New script, performs the changes
20560 2005-11-22 Wim Taymans <wim@fluendo.com>
20562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20563 Make sure the GstFlowReturn is returned.
20565 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20566 (gst_bus_add_signal_watch):
20568 add gst_bus_add_signal_watch_full.
20570 * gst/gstplugin.c: (gst_plugin_load_file):
20571 Small style cleanup.
20573 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20575 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20576 Block the fakesrc srcpad when we send an event, to avoid
20577 contention on the stream_lock causing random test failures.
20579 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20581 * check/gst/gstvalue.c: (GST_START_TEST):
20582 * gst/gstvalue.c: (gst_value_fraction_subtract):
20585 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20588 include "gstchildproxy.h"
20589 * gst/gstchildproxy.h:
20590 * libs/gst/controller/gstcontroller.h:
20591 use G_GNUC_NULL_TERMINATED
20593 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20595 * check/gst/capslist.h:
20596 * check/gst/gstcaps.c: (GST_START_TEST):
20597 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20598 * gst/gststructure.c: (gst_structure_parse_range),
20599 (gst_structure_fixate_field_nearest_fraction):
20600 * gst/gststructure.h:
20601 * gst/gstvalue.c: (gst_value_init_fraction_range),
20602 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20603 (gst_value_collect_fraction_range),
20604 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20605 (gst_value_set_fraction_range_full),
20606 (gst_value_get_fraction_range_min),
20607 (gst_value_get_fraction_range_max),
20608 (gst_value_serialize_fraction_range),
20609 (gst_value_transform_fraction_range_string),
20610 (gst_value_compare_fraction_range),
20611 (gst_value_deserialize_fraction_range),
20612 (gst_value_intersect_fraction_fraction_range),
20613 (gst_value_intersect_fraction_range_fraction_range),
20614 (gst_value_subtract_fraction_fraction_range),
20615 (gst_value_subtract_fraction_range_fraction),
20616 (gst_value_subtract_fraction_range_fraction_range),
20617 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20618 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20619 (gst_value_transform_string_fraction), (_gst_value_initialize):
20621 Implement fraction ranges and extend GstFraction to support
20622 arithmetic subtraction, as well as deserialization from integer
20623 strings such as "100"
20624 Add a testsuite as for int and double range set operations
20626 2005-11-21 Andy Wingo <wingo@pobox.com>
20628 * gst/gsttaglist.h:
20630 * gst/gststructure.h: Add glib-compat.h.
20632 2005-11-21 Wim Taymans <wim@fluendo.com>
20634 * gst/gstbin.c: (gst_bin_change_state_func):
20637 2005-11-21 Wim Taymans <wim@fluendo.com>
20639 * gst/gstsegment.h:
20640 And add a nice define too.
20642 2005-11-21 Wim Taymans <wim@fluendo.com>
20644 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20645 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20646 (gst_segment_set_duration), (gst_segment_set_last_stop),
20647 (gst_segment_set_seek), (gst_segment_set_newsegment),
20648 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20649 (gst_segment_clip):
20650 * gst/gstsegment.h:
20651 Make binding friendly.
20653 2005-11-21 Andy Wingo <wingo@pobox.com>
20655 * gst/gsttagsetter.h:
20656 * gst/gsttaglist.h:
20657 * gst/gststructure.h:
20659 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20662 * gst/gsterror.c (_gst_core_errors_init):
20663 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20666 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20667 (noinst_HEADERS): noinst the -private.
20669 2005-11-21 Michael Smith <msmith@fluendo.com>
20672 * gst/gstregistry.h:
20673 Remove unimplemented declarations for which we can see no sensible
20676 2005-11-21 Andy Wingo <wingo@pobox.com>
20678 * gst/gst.h: Include glib-compat.h.
20680 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20682 * gst/glib-compat.c: Include the public and the private header.
20684 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20688 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20690 * check/gst/gstevent.c (create_custom_events): Check that
20691 FLUSH_STOP is serialized.
20693 * check/elements/identity.c (event_func):
20694 * check/elements/fakesrc.c (event_func): No stream lock, the core
20697 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20698 stream lock taking, yay.
20700 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20701 ensure that core takes the stream lock.
20703 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20706 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20707 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20708 it already. For the flush start we do take it though so we get the
20709 right preroll state change messages.
20711 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20712 the stream lock here, the core does it for us.
20714 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20715 GST_STREAM_GET_LOCK.
20716 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20717 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20718 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20719 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20720 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20721 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20723 * gst/gstpad.c: Update for stream lock name change.
20725 * gst/base/gstbasesink.c: Update for preroll lock name change.
20727 2005-11-21 Wim Taymans <wim@fluendo.com>
20729 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20730 (gst_clock_get_master):
20732 * gst/gstsystemclock.c: (gst_system_clock_init):
20733 Convert Clock flags to object flags.
20734 Added methods to manage master/slave clocks.
20736 2005-11-21 Wim Taymans <wim@fluendo.com>
20738 * check/gst/gstsegment.c: (GST_START_TEST):
20739 * docs/design/part-TODO.txt:
20740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20741 (gst_base_sink_event), (gst_base_sink_do_sync),
20742 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20743 (gst_base_sink_query), (gst_base_sink_change_state):
20744 * gst/base/gstbasesink.h:
20745 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20746 (gst_base_src_default_newsegment),
20747 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20748 (gst_base_src_get_range), (gst_base_src_loop),
20749 (gst_base_src_change_state):
20750 * gst/base/gstbasesrc.h:
20751 * gst/base/gstbasetransform.c:
20752 (gst_base_transform_prepare_output_buf),
20753 (gst_base_transform_event), (gst_base_transform_change_state):
20754 * gst/base/gstbasetransform.h:
20755 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20756 (gst_collect_pads_event):
20757 * gst/base/gstcollectpads.h:
20758 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20759 (gst_fake_src_create):
20760 * gst/elements/gstfakesrc.h:
20761 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20762 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20763 (gst_segment_set_last_stop), (gst_segment_set_seek),
20764 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20765 (gst_segment_to_running_time), (gst_segment_clip):
20766 * gst/gstsegment.h:
20767 More segment updates, replace code in plugins with segment
20770 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20772 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20773 Don't ignore sscanf results
20775 2005-11-21 Andy Wingo <wingo@pobox.com>
20777 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20780 * *.c: Ran scripts/update-macros. Oh yes.
20782 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20783 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20786 * scripts/update-macros: New script. Run it on your files to
20787 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20790 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20792 * docs/gst/Makefile.am:
20793 * docs/gst/gstreamer-docs.sgml:
20794 * docs/gst/gstreamer-sections.txt:
20795 * docs/gst/gstreamer.types:
20797 more docs fixes, add new api to the docs
20799 2005-11-21 Andy Wingo <wingo@pobox.com>
20801 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20802 state_broadcast call.
20804 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20806 2005-11-21 Julien MOUTTE <julien@moutte.net>
20808 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20809 function calls for arrays.
20811 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20813 * docs/random/ensonic/media-device-daemon.txt:
20814 wild idea, can this be done?
20815 * docs/gst/gstreamer-sections.txt:
20820 * gst/gstpluginfeature.c:
20824 doc fixes and additions
20826 2005-11-21 Andy Wingo <wingo@pobox.com>
20828 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20829 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20830 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20831 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20832 private to the basesrc implementation.
20834 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20835 behalf of event function if necessary. It should no longer be
20836 necessary to take the stream lock in pad's event functions. Fixes
20839 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20840 * docs/gst/gstreamer-sections.txt:
20841 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20842 (gst_structure_fixate_field_nearest_double),
20843 (gst_structure_fixate_field_boolean):
20844 * gst/gststructure.h:
20845 * win32/common/libgstreamer.def:
20846 * win32/gstreamer.def:
20848 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20851 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20853 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20854 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20855 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20856 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20857 (gst_fdsrc_uri_handler_init):
20858 * gst/elements/gstfdsrc.h:
20859 Port fd:// URI handler from 0.8 to fdsrc
20861 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20863 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20864 (gst_value_serialize_fourcc):
20866 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20867 consistent with our other format defines (#320324).
20869 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20871 * gst/gstvalue.c: (gst_value_is_fixed):
20872 Revert previous commit. Value lists are by definition
20873 not fixed, as they are a list of possible values.
20875 2005-11-21 Andy Wingo <wingo@pobox.com>
20877 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20878 during the stable series if we need it. Fixes #319178.
20880 * gst/gstevent.c (gst_event_new_filler): Removed.
20882 * check/gst/gstevent.c: Update comment about filler events.
20884 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20886 * gst/gstvalue.c: (gst_value_is_fixed):
20887 Should handle both value arrays and value lists.
20889 2005-11-21 Andy Wingo <wingo@pobox.com>
20891 patch by: Alessandro Dessina <alessandro nnva org>
20893 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20894 functions to access arrays. Fixes #321962.
20896 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20898 * docs/gst/gstreamer.types:
20899 gst_collectpads_get_type => gst_collect_pads_get_type.
20901 * gst/base/gstbasetransform.c:
20902 Remove unused SIGNAL_HANDOFF enum.
20904 2005-11-21 Andy Wingo <wingo@pobox.com>
20906 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20907 the event type (upstream, downstream, serialized). Renamed
20908 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20909 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20910 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20912 * gst/gstevent.c: Update for new CUSTOM event names.
20914 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20917 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20920 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20922 * docs/gst/gstreamer-sections.txt:
20923 * win32/common/libgstbase.def:
20924 * win32/libgstbase.def:
20925 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20926 (gst_collect_pads_class_init), (gst_collect_pads_init),
20927 (gst_collect_pads_finalize), (gst_collect_pads_new),
20928 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20929 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20930 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20931 (gst_collect_pads_start), (gst_collect_pads_stop),
20932 (gst_collect_pads_peek), (gst_collect_pads_pop),
20933 (gst_collect_pads_available), (gst_collect_pads_read),
20934 (gst_collect_pads_flush), (gst_collect_pads_event),
20935 (gst_collect_pads_chain):
20936 * gst/base/gstcollectpads.h:
20937 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20938 unimplemented functions as unimplemented. Add padding to
20939 GstCollectData. (#320766, #320423)
20941 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20943 * gst/gstmessage.c:
20944 Improve docs for DURATION message (usage of duration parameter)
20947 2005-11-20 Wim Taymans <wim@fluendo.com>
20949 * check/Makefile.am:
20950 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20954 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20955 (gst_segment_set_seek), (gst_segment_set_newsegment),
20956 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20957 (gst_segment_clip):
20958 * gst/gstsegment.h:
20959 Added segment helper structure and methods. Not fully implemented
20961 Added segment check.
20963 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20965 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20966 Add a deserialisation test for fractions
20967 * examples/metadata/read-metadata.c: (message_loop),
20968 (make_pipeline), (main):
20969 Fix up metadata reading sample.
20970 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20972 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20973 Don't try and fixate empty caps
20974 * gst/gst_private.h:
20975 Wrap in G_BEGIN_DECLS/G_END_DECLS
20976 * gst/gstvalue.c: (gst_value_collect_fraction),
20977 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20978 (gst_value_transform_string_fraction),
20979 (gst_value_compare_fraction):
20980 Add some extra guards to ensure that we don't end up
20981 with an invalid denominator of 0 in a gstfraction and
20982 that fractions always get reduced.
20984 2005-11-20 Wim Taymans <wim@fluendo.com>
20986 * docs/gst/gstreamer-sections.txt:
20988 * gst/gstelement.c:
20997 2005-11-20 Wim Taymans <wim@fluendo.com>
20999 * docs/design/part-TODO.txt:
21001 Make a proper enum of the flag.
21003 2005-11-19 Wim Taymans <wim@fluendo.com>
21005 * docs/design/part-TODO.txt:
21006 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21007 (gst_format_to_quark), (gst_format_register):
21009 * gst/gstquery.c: (_gst_query_initialize),
21010 (gst_query_type_get_name), (gst_query_type_to_quark),
21011 (gst_query_type_register):
21013 Add type to quark and type to string conversions.
21015 2005-11-19 Andy Wingo <wingo@pobox.com>
21017 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21020 2005-11-19 Wim Taymans <wim@fluendo.com>
21022 * docs/design/part-TODO.txt:
21023 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21024 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21025 (gst_bin_handle_message_func):
21027 Make message handling overridable.
21029 2005-11-19 Andy Wingo <wingo@pobox.com>
21031 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21034 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21036 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21037 is a GstClockTime. Fixes #321710.
21039 * gst/gstclock.h (GstClock): Remove offset property. Add
21040 internal_calibration and external_calibration. Fix padding. Pad
21041 also by GstClockTime so we don't run into problems.
21043 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21044 (gst_clock_get_rate_offset): Remove.
21045 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21048 * gst/gstutils.c (g_static_rec_cond_wait)
21049 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21051 * gst/gstbin.c: Remove terrible continue_state prototype.
21053 * gst/gstelement.h (gst_element_continue_state): Make public.
21055 * gst/gstelement.h:
21056 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21057 by continue_state. Fixes #319389.
21059 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21060 Really fixes #168438. However I don't see anywhere where the
21061 filter function is called... stupid GStreamer...
21063 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21064 don't have a dispose function, so it won't get called when the
21065 object is unreffed, but oh well!
21067 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21068 allows a destroy function to be set so user_data can be freed.
21070 (gst_index_set_filter): Call gst_index_set_filter_full.
21072 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21074 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21075 string should produce an error, given the lack of a way to
21076 represent NULL strings. Fixes #165650.
21079 * gst/gstvalue.c (gst_value_array_append_value)
21080 (gst_value_array_prepend_value, gst_value_array_get_size)
21081 (gst_value_array_get_value): New API, copied from
21082 gst_value_list_*, only operates on arrays.
21083 (gst_value_list_append_value, gst_value_list_prepend_value)
21084 (gst_value_list_concat, gst_value_list_get_size)
21085 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21087 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21088 init_list, because it works on both.
21089 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21090 (gst_value_copy_list_or_array): Renamed from copy_list.
21091 (gst_value_free_list_or_array): Renamed from free_list.
21092 (gst_value_collect_list_or_array): Renamed from collect_list.
21093 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21094 (gst_value_list_or_array_peek_pointer): Renamed from
21096 (_gst_value_array_value_table, _gst_value_list_value_table):
21097 Update value table functions.
21098 (gst_value_compare_list_or_array): Renamed from compare_list.
21100 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21103 * gst/gsttaglist.c:
21104 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21105 GstTagList*. Fixes #143472.
21107 * gst/gststructure.h: Clarify what the foreach/map functions can
21108 or can't do to their arguments.
21110 2005-11-18 Wim Taymans <wim@fluendo.com>
21112 * gst/gstclock.c: (gst_clock_set_calibration),
21113 (gst_clock_get_calibration):
21115 Calibration can be set with internal time equal to current
21118 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21124 2005-11-18 Andy Wingo <wingo@pobox.com>
21127 * pkgconfig/gstreamer-net.pc.in:
21128 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21129 * pkgconfig/Makefile.am: Add net pkgconfig files.
21131 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21134 * gst/gstghostpad.c:
21140 2005-11-18 Andy Wingo <wingo@pobox.com>
21142 * gst/net/gstnetclientclock.c: Turn off debugging.
21144 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21145 times connverge somewhat. Can't make a real test.
21147 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21148 integer arithmetic. Return the minimum of the domain, which can be
21149 set as "internal" for gst_clock_set_calibration.
21150 (gst_net_client_clock_observe_times): Call _set_calibration.
21151 (gst_net_client_clock_new): Call _set_calibration instead of
21154 * check/net/gstnetclientclock.c (test_functioning): Use the right
21158 * gst/gstclock.c (gst_clock_get_calibration)
21159 (gst_clock_set_calibration): New functions, obsolete the ones I
21160 added yesterday. Doh. Precision issues mean we have to extrapolate
21161 from a point in the more recent past than 1970.
21162 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21164 (gst_clock_adjust_unlocked): Use the right calibration data.
21166 2005-11-18 Edward Hervey <edward@fluendo.com>
21168 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21169 Also reset the ->current_* values in READY->PAUSED
21171 2005-11-18 Andy Wingo <wingo@pobox.com>
21173 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21174 Whoops, check the right fd. Also add some debugging.
21175 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21176 (do_linear_regression): Add a crapload of debugging. Subtract off
21177 the minimum values from the input series to discard unneeded bits.
21178 Use only int arithmetic. There is still double arithmetic when
21179 calculating the intercept that needs fixing. Return boolean to
21180 indicate success; FALSE would mean the domain or range is too
21181 great. Still needs fixes.
21183 2005-11-18 Wim Taymans <wim@fluendo.com>
21185 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21186 For the current position in stream time, we need to subtract
21189 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21190 Release lock before calling the callback function of async
21193 2005-11-18 Andy Wingo <wingo@pobox.com>
21195 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21196 Port goes all the way to MAXUINT16.
21198 * gst/net/gstnettimeprovider.c: Make the port range the same as
21199 for the kernel: 0 assigns, otherwise ports are less than
21202 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21205 * check/net/gstnetclientclock.c (test_functioning): Add the start
21208 2005-11-18 Wim Taymans <wim@fluendo.com>
21210 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21211 (gst_bin_remove_func), (bin_bus_handler):
21213 Removing a clock provider from a bin, triggers a clock lost message
21214 so that a new clock will be selected.
21215 Adding a clock to a bin triggers a clock provider message.
21216 Make sure we reselect a clock when we received a clock lost message.
21217 Keep a reference to the element that provided the clock.
21219 2005-11-18 Andy Wingo <wingo@pobox.com>
21221 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21222 the clock initially so it produces values around the base time.
21223 (gst_net_client_clock_class_init): Typo fix.
21224 (gst_net_client_clock_thread): Add note on when the socket gets
21227 2005-11-17 Wim Taymans <wim@fluendo.com>
21229 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21230 Free remote and local time arrays.
21232 2005-11-17 Wim Taymans <wim@fluendo.com>
21234 * gst/net/gstnetclientclock.c: (do_linear_regression),
21235 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21236 Fix compilation, uninitialized vars and a forgotten continue.
21238 2005-11-17 Andy Wingo <wingo@pobox.com>
21240 * check/Makefile.am (check_PROGRAMS):
21241 * check/net/gstnetclientclock.c: Add a most minimal test for the
21242 net client clock. More to come later.
21244 * gst/net/gstnet.h:
21245 * gst/net/Makefile.am: Add netclientclock.
21247 * gst/net/gstnetclientclock.h:
21248 * gst/net/gstnetclientclock.c: New files, implement an untested
21249 GstClock that takes its time from a network time provider.
21250 Implements the algorithm in network-clock.scm.
21252 * tests/network-clock.scm (*window-size*): Rename from
21254 * tests/network-clock.scm (network-time):
21255 * tests/network-clock-utils.scm (q-push): Update callers.
21257 2005-11-17 Wim Taymans <wim@fluendo.com>
21259 * gst/gstbin.c: (gst_bin_provide_clock_func),
21260 (gst_bin_sort_iterator_new):
21261 And unref the child too..
21263 2005-11-17 Wim Taymans <wim@fluendo.com>
21265 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21266 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21267 Refactor the sort iterator so it can be used while holding the
21269 Make clock selection select a clock closest to the source.
21271 2005-11-17 Michael Smith <msmith@fluendo.com>
21273 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21274 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21276 Anonymous structs are a gcc (and some other compilers) extension, so
21277 don't use them. Since this is only for ABI-compatibility, and our
21278 API/ABI freeze is over in a few days, this whole thing will only
21279 last a few days, so don't bother trying to think up a meaningful
21280 name for the struct.
21282 2005-11-17 Andy Wingo <wingo@pobox.com>
21284 * gst/gstclock.h (GstClock): Add rate and offset properties,
21285 preserving ABI stability. Add rate/offset accessors. Will file bug
21286 for the freeze break.
21288 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21289 and offset, trying to keep precision and avoiding
21290 underflow/overflow.
21291 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21292 functions. Make gst_clock_set_time_adjust obsolete.
21293 (gst_clock_set_time_adjust): Note that this function is obsolete.
21294 Will file bug soon.
21296 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21297 greppable by using GST_PADDING-1+1.
21299 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21301 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21303 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21304 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21306 * gst/gstpadtemplate.h:
21307 * gst/gstpluginfeature.h:
21308 Don't use c++ style comments in headers (#321638).
21310 2005-11-16 Andy Wingo <wingo@pobox.com>
21312 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21315 * check/net/gstnettimeprovider.c: Check to see that the time
21316 provider actually provides times. Works, yo!
21318 2005-11-16 Wim Taymans <wim@fluendo.com>
21320 * check/Makefile.am:
21323 * check/elements/fakesrc.c: (GST_START_TEST):
21324 Set element to NULL before disposing it.
21326 2005-11-16 Andy Wingo <wingo@pobox.com>
21328 * gst/net/Makefile.am:
21329 * gst/net/gstnet.h:
21330 * gst/net/gstnettimeprovider.c:
21331 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21332 provider, include it from gstnet.h, and add it to the build.
21334 * gst/net/gstnettimepacket.h:
21335 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21336 sending and receiving.
21338 2005-11-16 Wim Taymans <wim@fluendo.com>
21340 * check/Makefile.am:
21341 Enable valgrind check.
21343 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21344 (gst_fake_src_alloc_buffer):
21347 2005-11-16 Wim Taymans <wim@fluendo.com>
21349 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21350 Call parent finalize too.
21352 2005-11-16 Wim Taymans <wim@fluendo.com>
21354 * check/Makefile.am:
21355 Enable valgrind check that should work fine now.
21357 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21358 * gst/gstqueue.c: (gst_queue_init):
21359 Fix memleaks in pad allocation.
21361 2005-11-16 Andy Wingo <wingo@pobox.com>
21363 * gst/net/Makefile.am:
21364 * gst/net/gstnet.h: New part of core to hold network elements and
21365 objects. Put in core because it exposes API that applications want
21366 to use. The library is named libgstnet-tempname right now because
21367 of the existing libgstnet in gst-plugins-base. Solution is
21368 probably to rename the one in plugins-base; will file a bug for
21371 * gst/net/gstnettimeprovider.c:
21372 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21373 get_time call over the network.
21376 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21378 * check/Makefile.am:
21379 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21380 get additions shortly.
21382 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21384 * gst/gstpad.c: (gst_pad_new_from_static_template):
21386 add gst_pad_new_from_static_template functions
21387 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21388 (gst_check_setup_sink_pad):
21389 * gst/elements/gsttee.c: (gst_tee_init):
21392 2005-11-16 Wim Taymans <wim@fluendo.com>
21394 * gst/gstpad.c: (gst_pad_pause_task):
21395 Removed warning, it's not really an error either.
21397 2005-11-16 Wim Taymans <wim@fluendo.com>
21399 * gst/base/gstbasetransform.c:
21400 (gst_base_transform_prepare_output_buf),
21401 (gst_base_transform_event):
21402 Check if the caps are NULL, this can happen if the element
21403 is shutting down and the pad caps are set to NULL.
21405 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21407 * gst/elements/gsttee.c: (gst_tee_init):
21408 fix pad template leak in tee
21410 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21412 * gst/glib-compat.c: (g_value_dup_gst_object):
21413 * gst/glib-compat.h:
21414 * gst/gstpad.c: (gst_pad_set_property):
21415 use gst_object_ref when setting the pad template; this will
21416 trigger the pad template leaks on GLib 2.6 and the slaves
21418 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21420 * gst/glib-compat.c: (gst_flags_get_first_value):
21421 * gst/glib-compat.h:
21422 * gst/gstregistryxml.c:
21423 remove functions copied from GLib 2.6
21425 2005-11-16 Michael Smith <msmith@fluendo.com>
21428 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21429 do, but only breaks with newer valgrind versions. We're not a
21430 valgrind tool, we have no link-time dependencies on libcoregrind.
21432 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21434 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21436 * gst/gstmessage.h:
21439 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21441 * gst/base/gstbasesrc.c: (gst_base_src_init):
21442 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21443 * gst/gstqueue.c: (gst_queue_init):
21444 * gst/gstregistryxml.c: (load_feature):
21445 Revert all these unrefs, they don't even pass make check !
21447 2005-11-15 Johan Dahlin <johan@gnome.org>
21449 * gst/base/gstbasesrc.c: (gst_base_src_init):
21450 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21451 * gst/gstqueue.c: (gst_queue_init):
21452 Free pad templates, fixes a couple of leaks.
21454 2005-11-15 Daniel Fischer <dan at f3c dot com>
21456 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21458 * gst/gstpad.c: (gst_pad_get_property):
21459 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21460 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21463 2005-11-15 Wim Taymans <wim@fluendo.com>
21468 2005-11-15 Andy Wingo <wingo@pobox.com>
21470 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21472 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21473 using GST_CLOCK_TIME_NONE to disable base time management.
21474 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21475 time if it was NONE before.
21476 (gst_pipeline_change_state): Only munge the base time if
21477 stream_time != GST_CLOCK_TIME_NONE.
21479 * check/gst/gstpipeline.c (test_base_time): Punt around the
21480 problem of the probe not being called, because that's not the
21481 issue I'm looking at. Add a check that setting stream_time to NONE
21482 disables base time management.
21484 2005-11-15 Wim Taymans <wim@fluendo.com>
21486 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21487 segment_stop == -1 at startup.
21489 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21490 (gst_base_transform_change_state):
21491 Init segment values at start.
21493 2005-11-15 Wim Taymans <wim@fluendo.com>
21495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21496 0 segment values are 0 in any format.
21498 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21499 * gst/base/gstbasetransform.h:
21500 Parse newsegment correctly in basetransform
21502 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21503 Sync to clock using updated segment values.
21505 2005-11-15 Andy Wingo <wingo@pobox.com>
21507 * check/gst/gstpipeline.c (test_base_time): Add check that the
21508 base time and stream time are reset correctly.
21510 2005-11-15 Wim Taymans <wim@fluendo.com>
21512 * docs/design/part-TODO.txt:
21513 Some more TODO items.
21515 2005-11-15 Andy Wingo <wingo@pobox.com>
21517 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21518 error if the user selected "no clock" as the clocking method.
21520 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21521 timestamps with live capture.
21523 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21524 is 0 but we are a live source, timestamp the buffers using the
21527 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21529 * docs/gst/gstreamer-sections.txt:
21531 * gst/gstghostpad.c:
21536 2005-11-14 Wim Taymans <wim@fluendo.com>
21539 add suppressions from Wim's Debian machine
21541 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21544 add suppressions from Andy's AMD64 Ubuntu machine
21546 2005-11-14 Andy Wingo <wingo@pobox.com>
21548 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21549 STATE_LOCK not necessary. Fixes #311489.
21551 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21554 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21555 this function is not implemented.
21557 2005-11-14 Julien MOUTTE <julien@moutte.net>
21559 * gst/base/gstbasetransform.c:
21560 (gst_base_transform_prepare_output_buf):
21561 Ref the source pad caps while we need them.
21564 2005-11-11 Wim Taymans <wim@fluendo.com>
21566 * docs/gst/gstreamer-sections.txt:
21567 Added some docs for GstCollectData.
21569 * gst/base/gstadapter.c:
21570 Some small code example fix.
21572 * gst/base/gstcollectpads.c:
21573 * gst/base/gstcollectpads.h:
21574 Document some more.
21576 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21578 * configure.ac: back to HEAD
21580 === release 0.9.5 ===
21582 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21585 releasing 0.9.5, "Bike Lunch Day"
21587 2005-11-11 Wim Taymans <wim@fluendo.com>
21589 * gst/gstbuffer.c: (_gst_buffer_copy):
21592 * gst/gstcaps.c: (gst_caps_is_equal):
21594 Make _is_equal fast in the trivial cases.
21596 * gst/gstminiobject.c:
21597 * gst/gstminiobject.h:
21598 More docs. Spifify .h file.
21603 2005-11-11 Wim Taymans <wim@fluendo.com>
21605 * gst/base/gstbasetransform.c:
21606 (gst_base_transform_prepare_output_buf),
21607 (gst_base_transform_handle_buffer):
21609 If we're processing a buffer and need to allocate an output
21610 buffer, we cannot accept a format change. If we did get a
21611 format change, we have to alloc a buffer ourselves of the
21614 2005-11-11 Wim Taymans <wim@fluendo.com>
21616 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21617 While checking the flag for reentrancy in the gstcaps function
21618 is nice to detect recursive invocations, it also makes it
21619 impossible to call getcaps from multiple threads, which must be
21620 possible. So, checking for recursive calls has to go.
21622 2005-11-11 Michael Smith <msmith@fluendo.com>
21624 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21625 Don't sync on buffers that fall partially outside our current
21626 segment. Prevents an assertion failure/abort playing some files.
21628 2005-11-10 Andy Wingo <wingo@pobox.com>
21630 * check/gst/gstbin.c (test_message_state_changed_children): Style
21633 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21634 gst_bus_poll with the signal watch. Ensures that poll and a signal
21635 watch see the same messages.
21637 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21638 a poll and a watch at the same time get the same messages.
21640 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21642 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21643 * gst/gstcaps.c: (gst_caps_intersect):
21644 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21645 and it's not needed.
21647 2005-11-10 Wim Taymans <wim@fluendo.com>
21649 * docs/design/part-TODO.txt:
21652 2005-11-10 Wim Taymans <wim@fluendo.com>
21654 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21655 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21656 (gst_base_src_do_sync), (gst_base_src_get_range):
21657 Implement clock sync in base class.
21659 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21661 patch by: Tim-Philipp Müller <tim at centricular dot net>
21663 * gst/gststructure.c: (gst_structure_parse_field),
21664 (gst_structure_from_string):
21665 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21666 so that gst_parse_launch() can deal with spaces in filtered link
21667 caps (fixes #164479)
21668 * check/gst/capslist.h:
21669 * check/gst/gststructure.c: (GST_START_TEST):
21670 add unit tests for this change
21672 2005-11-10 Wim Taymans <wim@fluendo.com>
21674 * docs/gst/gstreamer-sections.txt:
21675 * gst/gstelement.c:
21676 * gst/gstelement.h:
21677 Fix docs, move some STATE macros to private.
21679 2005-11-10 Wim Taymans <wim@fluendo.com>
21681 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21682 Added check for bug #317341
21686 Some more spiffifying.
21688 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21689 Call peer linkfunction if we are a source pad. Totally fixes
21693 Update docs, source pads should call the peer linkfunction
21694 so they can atomically perform the pad link.
21696 2005-11-09 Wim Taymans <wim@fluendo.com>
21700 Uber-spiffy-spiffify some more.
21702 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21704 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21705 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21706 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21707 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21708 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21709 * gst/gstpad.c: (gst_pad_init):
21710 Use GST_DEBUG_FUNCPTR() more extensively.
21712 2005-11-09 Wim Taymans <wim@fluendo.com>
21714 * gst/gstobject.c: (gst_object_class_init):
21716 Documentation fixes.
21718 2005-11-09 Edward Hervey <edward@fluendo.com>
21720 * gst/gsttypefindfactory.c:
21723 2005-11-09 Edward Hervey <edward@fluendo.com>
21725 * gst/base/gsttypefindhelper.c:
21726 * gst/gsttypefind.c:
21727 * gst/gsttypefind.h:
21730 2005-11-09 Wim Taymans <wim@fluendo.com>
21732 * gst/gstiterator.c:
21739 2005-11-09 Wim Taymans <wim@fluendo.com>
21745 2005-11-09 Wim Taymans <wim@fluendo.com>
21747 * docs/gst/gstreamer-sections.txt:
21748 Moved the message async delivery private lock and cond
21749 to the private section.
21751 * gst/gstmessage.c:
21752 * gst/gstmessage.h:
21755 2005-11-09 Edward Hervey <edward@fluendo.com>
21757 * docs/gst/gstreamer-sections.txt:
21760 Document GstURIHandler
21762 2005-11-09 Wim Taymans <wim@fluendo.com>
21764 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21765 (gst_iterator_find_custom):
21766 * gst/gstiterator.h:
21769 2005-11-09 Wim Taymans <wim@fluendo.com>
21772 Document another field.
21774 * gst/gststructure.c:
21775 * gst/gststructure.h:
21778 2005-11-09 Wim Taymans <wim@fluendo.com>
21781 Documented structs.
21783 2005-11-09 Wim Taymans <wim@fluendo.com>
21785 * docs/gst/gstreamer-sections.txt:
21786 Added some new macros.
21793 2005-11-09 Wim Taymans <wim@fluendo.com>
21795 * docs/design/part-TODO.txt:
21796 Some more items for the TODO
21802 2005-11-09 Andy Wingo <wingo@pobox.com>
21804 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21805 to work on something else now tho...
21807 * gst/base/gstadapter.c: More adapter docs.
21809 * gst/elements/gstfilesink.c (gst_file_sink_start)
21810 (gst_file_sink_stop): New functions, replace the state change
21812 (gst_file_sink_class_init): Hook up the start and stop functions.
21813 (gst_file_sink_base_init): Don't set the state change handler any
21814 more. It was a bit ugly too, being set from here...
21815 (gst_file_sink_get_property, gst_file_sink_set_property):
21817 (gst_file_sink_set_location): More robust check that doesn't call
21818 GST_STATE. Ugggggg.
21820 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21822 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21823 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21825 2005-11-08 Wim Taymans <wim@fluendo.com>
21827 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21828 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21829 (gst_base_sink_chain), (gst_base_sink_change_state):
21830 * gst/base/gstbasesink.h:
21831 * gst/base/gstbasesrc.h:
21832 * gst/gstelement.h:
21834 Avoid excessive typechecking in macros.
21836 * gst/gstminiobject.c: (gst_mini_object_get_type),
21837 (gst_mini_object_init), (gst_mini_object_new),
21838 (gst_mini_object_free):
21839 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21840 (gst_object_finalize):
21841 Remove cruft code, optimize alloc_trace.
21843 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21845 * docs/faq/gst-uninstalled:
21846 fix up PS1 for systems that try to reset it
21848 2005-11-07 Wim Taymans <wim@fluendo.com>
21850 * gst/base/gstbasesrc.c: (gst_base_src_init),
21851 (gst_base_src_get_range):
21852 Set the segment_end to -1 initially. Fixed typefind.
21854 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21856 * gst/base/gstadapter.c:
21857 Debug category should be 'adapter', not 'GstAdapter'.
21859 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21860 (gst_collectpads_class_init), (gst_collectpads_init),
21861 (gst_collectpads_peek), (gst_collectpads_pop),
21862 (gst_collectpads_event), (gst_collectpads_chain):
21863 Add debug category and some debugging output. Use boilerplate
21864 macros. Remove some extraneous words from docs.
21866 2005-11-05 Andy Wingo <wingo@pobox.com>
21868 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21871 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21873 * docs/gst/gstreamer-sections.txt:
21876 * gst/gstminiobject.h:
21881 2005-11-04 Wim Taymans <wim@fluendo.com>
21883 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21884 Small update to stop at the configured segment_end
21887 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21889 * gst/gstregistry.c:
21890 * gst/gstregistry.h:
21893 2005-11-04 Edward Hervey <edward@fluendo.com>
21895 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21896 Check if we are doing a segment seek and have arrived at the
21897 end of that segment.
21899 2005-11-04 Wim Taymans <wim@fluendo.com>
21901 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21902 Don't leak a mutex unlock in case of an error.
21907 2005-11-04 Wim Taymans <wim@fluendo.com>
21909 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21911 Get the context to wake up only once.
21913 2005-11-03 Wim Taymans <wim@fluendo.com>
21915 * check/states/sinks.c: (GST_START_TEST):
21916 Uncomment fixed check.
21918 * docs/design/part-TODO.txt:
21921 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21922 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21923 (gst_base_sink_get_position):
21924 If we are going to PLAYING, post the right pending state
21925 when we post the intermediate paused message.
21927 * gst/gstelement.c: (gst_element_continue_state),
21928 (gst_element_set_state_func), (gst_element_change_state):
21929 Don't post state changes that were between the same state
21930 and were not ASYNC.
21932 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21934 * docs/gst/gstreamer-sections.txt:
21937 * gst/gstminiobject.h:
21940 more docs and doc style fixes
21942 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21944 * docs/gst/gstreamer-sections.txt:
21945 * gst/gstelement.c:
21946 * gst/gstminiobject.c:
21949 2005-11-03 Andy Wingo <wingo@pobox.com>
21951 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21952 state-changed messages actually have the right order and the right
21955 2005-11-03 Wim Taymans <wim@fluendo.com>
21957 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21958 Added some more checks. Specifically the case where NO_PREROLL
21959 elements are in the pipeline.
21961 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21962 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21963 (gst_base_sink_get_position):
21964 Post READY->PAUSED state change messages too.
21965 Fix bug where VOID was posted as pending state...
21967 * gst/gstbin.c: (gst_bin_recalc_state):
21968 use _element_continue_state() to continue the state change.
21970 * gst/gstelement.c: (gst_element_continue_state),
21971 (gst_element_commit_state), (gst_element_set_state_func),
21972 (gst_element_change_state), (gst_element_change_state_func):
21973 Lots of state change cleanups, assign the STATE_RETURN in
21974 a new continue_state() function that also propagates the
21975 last return value from a state change to the app.
21976 Update some debug statements with proper category.
21978 2005-11-03 Wim Taymans <wim@fluendo.com>
21980 * docs/design/part-events.txt:
21981 * docs/design/part-gstpipeline.txt:
21982 * docs/design/part-messages.txt:
21983 * docs/design/part-overview.txt:
21984 * docs/design/part-seeking.txt:
21985 * docs/design/part-states.txt:
21986 * docs/design/part-trickmodes.txt:
21987 * docs/manual/advanced-position.xml:
21988 Small docs updates.
21991 People think !! is ugly, this looks better.
21993 * gst/gstpad.c: (gst_pad_set_blocked_async):
21994 Remove !! since it's fixed elsewhere now.
21996 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21998 * gst/gstminiobject.h:
22000 Add !! to _FLAG_IS_SET macros to make the result boolean.
22002 2005-11-03 Edward Hervey <edward@fluendo.com>
22004 * gst/gstpad.c: (gst_pad_set_blocked_async):
22005 comparing a flag and a gboolean rarely returns coherent results...
22006 Added two characters (!!) to make that work correctly.
22008 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22010 * gst/gstbus.c: (gst_bus_class_init):
22013 * gst/gstqueue.c: (gst_queue_loop):
22014 Don't assume a miniobject that isn't a buffer is an
22015 event (it could be that there is a refcounting
22016 problem somewhere and the pointer is stale and
22017 refers to an already destroyed miniobject).
22019 2005-11-03 Julien MOUTTE <julien@moutte.net>
22021 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22023 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22025 * docs/manual/advanced-position.xml:
22026 Update seek example and explanations to current 0.9 API.
22028 * gst/elements/gsttypefindelement.c:
22029 (gst_type_find_element_activate):
22030 Remove FIXME comment now that the found caps
22033 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22035 * gst/gstregistryxml.c: (load_feature):
22036 Add another GST_STR_NULL instance
22038 2005-11-02 Edward Hervey <edward@fluendo.com>
22040 * gst/gstpad.c: (handle_pad_block):
22041 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22043 2005-11-02 Wim Taymans <wim@fluendo.com>
22048 * gst/gstelement.c: (gst_element_commit_state):
22049 Remove unused value.
22051 * gst/gstiterator.c:
22052 Mention that the returned element is reffed in the docs.
22054 2005-11-02 Wim Taymans <wim@fluendo.com>
22056 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22057 (gst_pad_push), (gst_pad_push_event):
22058 Unlock blocked pads when they are flushed.
22060 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22063 * docs/gst/gstreamer-sections.txt:
22066 * gst/gstregistry.c: (gst_registry_scan_path_level):
22067 fix for a nasty little missed situation where an installed plug-in
22068 which was in the cache did not get overridden by an uninstalled one
22069 which was earlier in the plugin path because the newly created plugin
22070 for the uninstalled one (not in the registry) didn't get its
22071 ->registered set to TRUE
22073 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22075 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22076 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22077 (gst_collectpads_is_active), (gst_collectpads_collect),
22078 (gst_collectpads_collect_range), (gst_collectpads_start),
22079 (gst_collectpads_stop), (gst_collectpads_peek),
22080 (gst_collectpads_pop), (gst_collectpads_available),
22081 (gst_collectpads_read), (gst_collectpads_flush):
22082 Guard public API with assertions.
22085 Fix docs for gst_pad_set_link_function().
22087 2005-11-02 Johan Dahlin <johan@gnome.org>
22089 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22090 Unref found_caps after we used it.
22092 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22094 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22095 Don't try to ref NULL.
22097 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22099 * win32/common/config.h.in:
22100 provide a GST_FUNCTION that just gives a string for now
22102 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22104 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22105 (gst_object_flags_get_type), (register_gst_bin_flags),
22106 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22107 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22108 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22109 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22110 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22111 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22112 (gst_clock_flags_get_type), (register_gst_state),
22113 (gst_state_get_type), (register_gst_state_change_return),
22114 (gst_state_change_return_get_type), (register_gst_state_change),
22115 (gst_state_change_get_type), (register_gst_element_flags),
22116 (gst_element_flags_get_type), (register_gst_core_error),
22117 (gst_core_error_get_type), (register_gst_library_error),
22118 (gst_library_error_get_type), (register_gst_resource_error),
22119 (gst_resource_error_get_type), (register_gst_stream_error),
22120 (gst_stream_error_get_type), (register_gst_event_type),
22121 (gst_event_type_get_type), (register_gst_seek_type),
22122 (gst_seek_type_get_type), (register_gst_seek_flags),
22123 (gst_seek_flags_get_type), (register_gst_format),
22124 (gst_format_get_type), (register_gst_index_certainty),
22125 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22126 (gst_index_entry_type_get_type),
22127 (register_gst_index_lookup_method),
22128 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22129 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22130 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22131 (gst_index_flags_get_type), (register_gst_debug_level),
22132 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22133 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22134 (gst_iterator_result_get_type), (register_gst_iterator_item),
22135 (gst_iterator_item_get_type), (register_gst_message_type),
22136 (gst_message_type_get_type), (register_gst_mini_object_flags),
22137 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22138 (gst_pad_link_return_get_type), (register_gst_flow_return),
22139 (gst_flow_return_get_type), (register_gst_activate_mode),
22140 (gst_activate_mode_get_type), (register_gst_pad_direction),
22141 (gst_pad_direction_get_type), (register_gst_pad_flags),
22142 (gst_pad_flags_get_type), (register_gst_pad_presence),
22143 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22144 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22145 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22146 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22147 (gst_plugin_flags_get_type), (register_gst_rank),
22148 (gst_rank_get_type), (register_gst_query_type),
22149 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22150 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22151 (gst_tag_flag_get_type), (register_gst_task_state),
22152 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22153 (gst_alloc_trace_flags_get_type),
22154 (register_gst_type_find_probability),
22155 (gst_type_find_probability_get_type), (register_gst_uri_type),
22156 (gst_uri_type_get_type), (register_gst_parse_error),
22157 (gst_parse_error_get_type):
22158 * win32/common/gstversion.h:
22159 update win32 copies
22161 2005-11-01 Luca Ognibene <luogni@tin.it>
22164 fix docs. popt is dead, long live GOption.
22166 2005-10-31 Wim Taymans <wim@fluendo.com>
22171 2005-10-31 Andy Wingo <wingo@pobox.com>
22175 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22177 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22178 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22179 the possibility of deadlocks here if code calling notify() or
22180 set() has a lock that can be taken in another notify handler (ABBA
22181 with class lock and e.g. python GIL state lock).
22183 2005-10-28 Julien MOUTTE <julien@moutte.net>
22185 * gst/gstbus.c: Doc updates.
22187 2005-10-28 Wim Taymans <wim@fluendo.com>
22189 * docs/design/part-TODO.txt:
22190 * gst/gstiterator.c:
22191 * gst/gstsystemclock.c:
22192 * gst/gstsystemclock.h:
22195 2005-10-28 Edward Hervey <edward@fluendo.com>
22197 * docs/gst/gstreamer-docs.sgml:
22198 * docs/gst/gstreamer-sections.txt:
22199 the GstURIType documentation page is private, it only defines GstURIType
22200 which should be defined in the GstURIHandler page
22202 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22204 * gst/gstbin.c: (gst_bin_class_init):
22207 Documentation updates.
22209 2005-10-28 Wim Taymans <wim@fluendo.com>
22211 * docs/gst/gstreamer-sections.txt:
22214 Documented the clocks.
22216 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22218 * docs/gst/gstreamer-sections.txt:
22219 move some macros to private sections
22220 * gst/gstminiobject.c:
22221 * gst/gstminiobject.h:
22222 add descriptions provided by ds and some more
22224 mark macro as to be removed
22226 2005-10-28 Wim Taymans <wim@fluendo.com>
22228 * docs/design/part-TODO.txt:
22229 Add an item to TODO.
22231 * gst/gstiterator.c: (gst_iterator_fold),
22232 (gst_iterator_find_custom):
22233 * gst/gstiterator.h:
22236 2005-10-28 Wim Taymans <wim@fluendo.com>
22238 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22239 (gst_base_transform_init):
22242 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22243 An EOS event marks the queue as completely filled.
22245 2005-10-27 Wim Taymans <wim@fluendo.com>
22247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22248 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22249 Some more debugging.
22251 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22252 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22253 (gst_base_transform_event), (gst_base_transform_getrange),
22254 (gst_base_transform_chain):
22255 * gst/base/gstbasetransform.h:
22257 Protect transform and concurrent buffer alloc with a new lock.
22258 Try not to break ABI/API.
22260 2005-10-27 Wim Taymans <wim@fluendo.com>
22262 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22263 (gst_base_src_init), (gst_base_src_query),
22264 (gst_base_src_default_newsegment),
22265 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22266 (gst_base_src_send_event), (gst_base_src_event_handler),
22267 (gst_base_src_pad_get_range), (gst_base_src_loop),
22268 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22269 (gst_base_src_start), (gst_base_src_deactivate),
22270 (gst_base_src_activate_push), (gst_base_src_change_state):
22271 Move some stuff around and cleanup things.
22273 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22275 * gst/base/gstbasesrc.c: (gst_base_src_query):
22276 Add missing break statements.
22278 2005-10-27 Wim Taymans <wim@fluendo.com>
22280 * check/gst/gstbin.c: (GST_START_TEST):
22281 An extra refcount is taken in basesrc.
22283 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22284 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22285 (gst_base_src_loop):
22286 Small cleanups, check for flushing after being unlocked from the
22287 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22288 Don't send out EOS when going to READY.
22290 2005-10-27 Wim Taymans <wim@fluendo.com>
22292 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22293 (gst_base_sink_get_position):
22296 * gst/gstbin.c: (message_check), (bin_replace_message),
22297 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22298 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22299 (bin_query_duration_init), (bin_query_duration_fold),
22300 (bin_query_duration_done), (bin_query_generic_fold),
22302 * tools/gst-launch.c: (main):
22305 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22307 * examples/controller/audio-example.c: (main):
22308 * examples/queue/queue.c: (event_loop):
22309 * gst/base/gstbasetransform.h:
22310 * gst/gstelement.c: (gst_element_send_event):
22312 * gst/gstpad.c: (gst_pad_send_event):
22315 changing log priority in error situations
22317 2005-10-25 Wim Taymans <wim@fluendo.com>
22319 * gst/gstbin.c: (message_check), (bin_replace_message),
22320 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22321 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22322 (bin_query_duration_init), (bin_query_duration_fold),
22323 (bin_query_duration_done), (bin_query_generic_fold),
22325 Some doc and debug updates.
22326 Cache previously requested query DURATION for speed. invalidate
22327 cached duration if element posts a DURATION message.
22329 2005-10-25 Wim Taymans <wim@fluendo.com>
22331 * docs/design/part-TODO.txt:
22334 * gst/gstbin.c: (message_check), (bin_replace_message),
22335 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22336 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22337 (bin_query_duration_init), (bin_query_duration_fold),
22338 (bin_query_duration_done), (bin_query_generic_fold),
22340 Handle SEGMENT_START/DONE messages correctly.
22341 More evolved query algorithm that handles duration queries
22344 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22345 (gst_element_get_state_func), (gst_element_abort_state),
22346 (gst_element_commit_state), (gst_element_lost_state):
22347 Some more debugging.
22349 * gst/gstmessage.h:
22352 2005-10-25 Wim Taymans <wim@fluendo.com>
22354 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22355 Don't use invalid stream_time.
22357 * gst/gstevent.c: (gst_event_new_newsegment):
22358 stream_time in newsegment cannot be undefined.
22360 2005-10-24 Wim Taymans <wim@fluendo.com>
22365 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22367 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22369 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22371 * docs/libs/tmpl/gstdparam.sgml:
22372 * docs/libs/tmpl/gstdplinint.sgml:
22373 * docs/libs/tmpl/gstdpman.sgml:
22374 * docs/libs/tmpl/gstdpsmooth.sgml:
22375 * docs/libs/tmpl/gstunitconvert.sgml:
22378 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22383 === release 0.9.4 ===
22385 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22388 releasing 0.9.4, "Tyrannosaurus Rex"
22390 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22392 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22393 (gst_file_sink_get_current_offset):
22394 Use fseeko() and ftello() if available. When falling back on
22395 lseek() to get the current offset, fflush() first to make sure
22396 everything is up-to-date and we get the right offset.
22398 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22401 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22402 * gst/gsterror.c: (_gst_stream_errors_init):
22404 * gst/gstqueue.c: (gst_queue_loop):
22406 remove prematurely added error category and clean up the instances
22408 2005-10-21 Wim Taymans <wim@fluendo.com>
22410 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22411 (gst_base_sink_get_position), (gst_base_sink_query),
22412 (gst_base_sink_change_state):
22413 Simply set the right flag when going to playing, that's all
22414 we need to do instead of calling a function inside the object
22415 lock (that could take the lock as well and deadlock)
22417 2005-10-21 Wim Taymans <wim@fluendo.com>
22419 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22420 (gst_base_src_loop):
22421 Don't warn, the peer element knows what to do best when
22422 the seek failed, it might try something else.
22424 2005-10-21 Wim Taymans <wim@fluendo.com>
22426 * gst/base/gstbasesrc.c: (gst_base_src_init),
22427 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22430 2005-10-21 Wim Taymans <wim@fluendo.com>
22432 * docs/design/part-segments.txt:
22435 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22436 Correctly set caps, even on the subbufer.
22438 2005-10-21 Wim Taymans <wim@fluendo.com>
22440 * docs/gst/gstreamer-docs.sgml:
22441 * docs/gst/gstreamer-sections.txt:
22442 * gst/gstelement.h:
22445 * gst/gstmessage.h:
22448 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22452 And 2% more doc coverage.
22454 2005-10-21 Andy Wingo <wingo@pobox.com>
22456 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22457 position reporting.
22459 2005-10-20 Wim Taymans <wim@fluendo.com>
22461 * gst/gsterror.c: (gst_error_get_message):
22464 * gst/gststructure.c:
22469 2005-10-20 Wim Taymans <wim@fluendo.com>
22474 Another 1% more coverage.
22476 2005-10-20 Wim Taymans <wim@fluendo.com>
22478 * docs/gst/gstreamer-sections.txt:
22479 * gst/gstelement.c: (gst_element_get_state_func),
22480 (gst_element_abort_state), (gst_element_commit_state),
22481 (gst_element_lost_state):
22483 * gst/gstquery.c: (gst_query_set_position),
22484 (gst_query_parse_position), (gst_query_set_duration),
22485 (gst_query_parse_duration), (gst_query_new_convert):
22487 Yay! 1% more docs coverage.
22489 2005-10-20 Wim Taymans <wim@fluendo.com>
22492 * gst/gstquery.c: (gst_query_set_position),
22493 (gst_query_parse_position), (gst_query_set_duration),
22494 (gst_query_parse_duration), (gst_query_new_convert):
22496 * gst/gstutils.c: (gst_element_query_convert):
22498 Docs and consistency fixes.
22500 2005-10-20 Wim Taymans <wim@fluendo.com>
22506 2005-10-20 Wim Taymans <wim@fluendo.com>
22508 * gst/gstbin.c: (message_check), (bin_replace_message),
22509 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22510 (update_degree), (gst_bin_sort_iterator_next),
22511 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22512 Reworked the message handling a bit, cache the messages instead of
22513 only the senders. alows us to do more in the future.
22515 2005-10-20 Wim Taymans <wim@fluendo.com>
22517 * docs/design/part-TODO.txt:
22520 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22521 (gst_base_sink_query):
22522 Don't use clock time to report position when in EOS.
22524 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22526 * tools/gst-inspect.c: (print_interfaces),
22527 (print_element_properties_info), (print_element_info):
22528 Fix interface output with gst-inspect -a; don't print
22529 newlines after double/float properties.
22531 2005-10-20 Wim Taymans <wim@fluendo.com>
22533 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22534 (gst_base_sink_query):
22535 Speed up current position calculation.
22537 * gst/base/gstbasesrc.c: (gst_base_src_query),
22538 (gst_base_src_default_newsegment):
22539 Correctly set stream position in newsegment.
22541 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22542 (update_degree), (gst_bin_sort_iterator_next),
22543 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22544 * gst/gstmessage.c: (gst_message_new_custom):
22545 Clean up debugging info
22547 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22548 (gst_queue_loop), (gst_queue_handle_src_query):
22551 2005-10-19 Wim Taymans <wim@fluendo.com>
22553 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22554 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22555 Fix query handling again.
22557 2005-10-19 Wim Taymans <wim@fluendo.com>
22559 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22560 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22561 * gst/base/gstbasesrc.c: (gst_base_src_query):
22562 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22563 * gst/elements/gsttypefindelement.c:
22564 (gst_type_find_handle_src_query), (find_element_get_length),
22565 (gst_type_find_element_activate):
22568 * gst/gstquery.c: (gst_query_new_position),
22569 (gst_query_set_position), (gst_query_parse_position),
22570 (gst_query_new_duration), (gst_query_set_duration),
22571 (gst_query_parse_duration), (gst_query_set_segment),
22572 (gst_query_parse_segment):
22574 Bundling query position/duration is not a good idea since duration
22575 does not change much and we don't want to recalculate it for every
22576 position query, so they are separated again..
22577 Base value in segment query is not needed.
22579 * gst/gstqueue.c: (gst_queue_handle_src_query):
22580 * gst/gstutils.c: (gst_element_query_position),
22581 (gst_element_query_duration), (gst_pad_query_position),
22582 (gst_pad_query_duration):
22584 Updates for query API change.
22585 Added some docs here and there.
22587 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22589 * check/gst/gstbin.c: (GST_START_TEST):
22590 * check/gst/gstghostpad.c: (GST_START_TEST):
22591 * check/pipelines/cleanup.c: (GST_START_TEST):
22592 wait on thread to die so we can check refcount correctly
22594 2005-10-18 Wim Taymans <wim@fluendo.com>
22596 * check/pipelines/stress.c: (GST_START_TEST):
22597 Make check a little more time consuming.
22599 2005-10-18 Wim Taymans <wim@fluendo.com>
22601 * check/Makefile.am:
22602 * check/pipelines/stress.c: (GST_START_TEST),
22603 (simple_launch_lines_suite), (main):
22604 Small state change torture test.
22606 * docs/design/part-states.txt:
22607 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22608 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22609 (gst_base_sink_change_state):
22610 Never take state lock from streaming thread, clean up ugly
22611 hacks. Unfortunatly core does not yet support nice ways to
22612 async commit state.
22614 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22616 Start state recalc if a STATE_DIRTY message is posted, but only
22617 on the toplevel bin.
22619 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22620 (gst_element_get_state_func), (gst_element_abort_state),
22621 (gst_element_commit_state), (gst_element_lost_state),
22622 (gst_element_set_state_func), (gst_element_change_state):
22623 * gst/gstelement.h:
22624 State variables are now protected with the LOCK, the state
22625 lock is only used to serialize _set_state().
22627 2005-10-18 Wim Taymans <wim@fluendo.com>
22629 * check/gst/gstbin.c: (GST_START_TEST):
22630 * check/gst/gstmessage.c: (GST_START_TEST):
22631 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22632 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22634 * gst/gstelement.c: (gst_element_abort_state),
22635 (gst_element_commit_state), (gst_element_lost_state):
22636 * gst/gstmessage.c: (gst_message_new_state_changed),
22637 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22638 (gst_message_new_segment_done), (gst_message_new_duration),
22639 (gst_message_parse_state_changed),
22640 (gst_message_parse_segment_start),
22641 (gst_message_parse_segment_done), (gst_message_parse_duration):
22642 * gst/gstmessage.h:
22643 * tools/gst-launch.c: (event_loop):
22644 Seriously, this is better than a previous commit as we only need
22645 to notify the fact that an element changed state in a streaming
22646 thread, marking the state of the parents dirty, hence the
22647 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22650 2005-10-18 Wim Taymans <wim@fluendo.com>
22652 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22653 (gst_bin_recalc_func):
22654 * gst/gstelement.c: (gst_element_set_clock),
22655 (gst_element_abort_state), (gst_element_lost_state):
22656 Cleanups, prepare for state change fixes.
22658 2005-10-18 Wim Taymans <wim@fluendo.com>
22661 * gst/gstelement.c: (gst_element_class_init),
22662 (gst_element_set_state), (gst_element_set_state_func):
22663 * gst/gstelement.h:
22664 Pending ABI changes.
22665 GThreadPool in GstBinClass to monitor async state changes.
22666 state_cookie in GstElement to detect concurrent gst/set state.
22667 set_state is now virtual too in case a very complicated element
22668 has to be constructed.
22670 2005-10-18 Wim Taymans <wim@fluendo.com>
22672 * check/gst/gstbin.c: (GST_START_TEST):
22673 * check/gst/gstmessage.c: (GST_START_TEST):
22674 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22675 * gst/gstbin.c: (bin_bus_handler):
22676 * gst/gstelement.c: (gst_element_commit_state),
22677 (gst_element_lost_state):
22678 * gst/gstmessage.c: (gst_message_new_state_changed),
22679 (gst_message_new_segment_start), (gst_message_new_segment_done),
22680 (gst_message_new_duration), (gst_message_parse_state_changed),
22681 (gst_message_parse_segment_start),
22682 (gst_message_parse_segment_done), (gst_message_parse_duration):
22683 * gst/gstmessage.h:
22684 * tools/gst-launch.c: (event_loop):
22685 Make messages future proof.
22686 state-change gets a flag if it was a message comming from the
22688 segment-start/stop can also be specified in other formats.
22689 A message to notify an app that a pipeline changed playback
22691 Also fix a GstMessage leak in -launch
22693 2005-10-18 Andy Wingo <wingo@pobox.com>
22695 * gst/gstelement.c (gst_element_dispose): More helpful message.
22697 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22699 reviewed by: <delete if not using a buddy>
22701 * common/gtk-doc.mak:
22703 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22705 * gst/gstregistry.c: (gst_registry_scan_path_level):
22706 unref a plug-in we get that was already initialized
22708 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22710 * docs/gst/gstreamer-sections.txt:
22711 * docs/libs/gstreamer-libs-sections.txt:
22712 * gst/gstelement.h:
22713 add new api entries
22714 hide internal macro
22716 2005-10-17 Andy Wingo <wingo@pobox.com>
22718 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22721 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22723 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22725 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22726 (gst_element_get_state_func): Better debug message.
22727 (gst_element_commit_state): s/INFO/DEBUG/.
22728 (gst_element_lost_state, gst_element_change_state):
22730 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22731 (gst_message_new_custom): s/INFO/LOG/.
22733 2005-10-17 Michael Smith <msmith@fluendo.com>
22735 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22736 Check if end time is valid using end time, not start time.
22738 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22740 * check/gst-libs/controller.c: (GST_START_TEST),
22741 (gst_controller_suite):
22742 * libs/gst/controller/gstcontroller.c:
22743 (gst_controlled_property_set_interpolation_mode):
22744 * libs/gst/controller/gstcontroller.h:
22745 * libs/gst/controller/gstinterpolation.c:
22746 * testsuite/controller/.cvsignore:
22747 * testsuite/controller/Makefile.am:
22748 * testsuite/controller/interpolator.c:
22749 merge controller testsuites
22751 remove mem-chunk from docs
22753 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22755 * gst/gstmemchunk.c:
22756 * gst/gstmemchunk.h:
22757 * gst/gsttrashstack.c:
22758 * gst/gsttrashstack.h:
22759 out. get out. you're fired. to the Attic !
22761 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22763 * gst/gstcaps.c: (gst_caps_intersect):
22764 fix signedness issues in a (hopefully) correct way
22765 * gst/gstelement.c: (gst_element_pads_activate):
22767 * gst/gstobject.c: (gst_object_set_parent):
22770 2005-10-17 Julien MOUTTE <julien@moutte.net>
22772 * gst/gstvalue.h: Fix prototypes.
22774 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22776 * docs/gst/gstreamer-sections.txt:
22777 * gst/gst.c: (gst_version_string):
22779 * gst/gstversion.h.in:
22780 * win32/common/libgstreamer.def:
22781 add gst_version_string ()
22783 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22787 * gst/gst.c: (init_post):
22788 * win32/common/config.h.in:
22790 * gst/gstcaps.c: (gst_caps_intersect):
22791 use gint64, the range could be bigger than a guint
22793 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22796 document potential problem in 2038
22798 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22800 * gst/gstcaps.c: (gst_caps_intersect):
22801 Fix guint j diving under 0
22803 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22806 * win32/common/config.h:
22807 * win32/common/config.h.in:
22808 check for process.h, declares getpid() on Windows
22810 include process.h if we have it
22811 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22812 * gst/gstmemchunk.h:
22813 fix signedness issues
22814 * win32/common/libgstreamer.def:
22817 2005-10-16 Julien MOUTTE <julien@moutte.net>
22819 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22820 fix. Because of unsigned ints, caps intersection was going nuts and
22821 trying to access structures with G_MAXUINT index. That fixes
22822 videotestsrc ! ffmpegcolorspace ! fakesink
22823 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22826 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22829 use the gettext macro
22830 * gst/elements/gstelements.c:
22832 * gst/indexers/gstindexers.c:
22833 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22834 * win32/common/config.h:
22836 * win32/common/config.h.in:
22837 add the template to generate config.h
22838 * win32/common/gstenumtypes.c:
22839 * win32/common/gstversion.h:
22842 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22844 * gst/gst.c: (gst_version):
22845 * gst/gstversion.h.in:
22848 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22851 Oops, add missing closing bracket.
22853 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22856 use common m4's for argument checking
22858 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22860 * docs/gst/gstreamer-sections.txt:
22862 Add GST_EVENT_TYPE_NAME() macro.
22864 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22867 * gst/gstpluginfeature.c:
22869 privatize more symbols
22871 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22874 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22875 everything that uses GStreamer API should have the includes
22877 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22879 * docs/gst/gstreamer-sections.txt:
22880 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22882 give each value a _get_type, removes the DATA exports
22884 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22888 remove _gst_registry_auto_load, not used anymore
22889 * gst/gstbin.c: (gst_bin_get_type):
22891 * gst/gstelement.c: (gst_element_get_type):
22892 * gst/gstelement.h:
22893 * gst/gstobject.c: (gst_object_get_type):
22895 * gst/gstpad.c: (gst_pad_get_type):
22897 make _get_type functions similar, fixes data export from library
22899 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22902 correctly make conditionals
22903 * gst/elements/Makefile.am:
22904 * gst/elements/gstelements.c:
22905 fix typo causing fdsrc not to build
22907 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22909 * testsuite/Makefile.am:
22910 * testsuite/bytestream/.cvsignore:
22911 * testsuite/bytestream/Makefile.am:
22912 * testsuite/bytestream/filepadsink.c:
22913 * testsuite/bytestream/gstbstest.c:
22914 * testsuite/bytestream/test1.c:
22915 * testsuite/bytestream/testfile1:
22916 * testsuite/caps/normalisation.c:
22917 * testsuite/caps/random.c: (main):
22918 * testsuite/cleanup/.cvsignore:
22919 * testsuite/cleanup/Makefile.am:
22920 * testsuite/cleanup/cleanup1.c:
22921 * testsuite/cleanup/cleanup2.c:
22922 * testsuite/cleanup/cleanup3.c:
22923 * testsuite/cleanup/cleanup4.c:
22924 * testsuite/cleanup/cleanup5.c:
22925 * testsuite/controller/interpolator.c:
22926 * testsuite/debug/printf_extension.c: (main):
22927 * testsuite/elements/tee.c:
22928 * testsuite/negotiation/.cvsignore:
22929 * testsuite/negotiation/Makefile.am:
22930 * testsuite/negotiation/pad_link.c:
22931 * testsuite/pad/Makefile.am:
22932 * testsuite/pad/chainnopull.c:
22933 * testsuite/pad/getnopush.c:
22934 * testsuite/pad/link.c:
22935 * testsuite/refcounting/sched.c: (create_pipeline):
22936 * testsuite/registry/Makefile.am:
22937 * testsuite/registry/gst-print-formats.c:
22938 * testsuite/schedulers/.cvsignore:
22939 * testsuite/schedulers/142183-2.c:
22940 * testsuite/schedulers/142183.c:
22941 * testsuite/schedulers/143777-2.c:
22942 * testsuite/schedulers/143777.c:
22943 * testsuite/schedulers/147713.c:
22944 * testsuite/schedulers/147819.c:
22945 * testsuite/schedulers/147894-2.c:
22946 * testsuite/schedulers/147894.c:
22947 * testsuite/schedulers/Makefile.am:
22948 * testsuite/schedulers/group_link.c:
22949 * testsuite/schedulers/queue_link.c:
22950 * testsuite/schedulers/relink.c:
22951 * testsuite/schedulers/unlink.c:
22952 * testsuite/schedulers/unref.c:
22953 * testsuite/schedulers/useless_iteration.c:
22954 * testsuite/states/bin.c:
22955 clean out/remove some stuff from the testsuite directories
22957 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22960 check for some headers
22961 * gst/elements/Makefile.am:
22962 * gst/elements/gstelements.c:
22963 don't compile fdsrc without sys/socket.h
22964 * gst/indexers/Makefile.am:
22965 * gst/indexers/gstindexers.c: (plugin_init):
22966 don't compile fileindex without mmap
22968 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22975 * check/Makefile.am:
22976 * docs/gst/Makefile.am:
22977 * examples/helloworld/Makefile.am:
22979 * gst/base/Makefile.am:
22980 * gst/check/Makefile.am:
22981 * gst/elements/Makefile.am:
22982 * gst/indexers/Makefile.am:
22983 * gst/parse/Makefile.am:
22984 * libs/gst/controller/Makefile.am:
22985 * libs/gst/dataprotocol/Makefile.am:
22986 * examples/helloworld/helloworld.c: (event_loop):
22987 compile fixes, though it's not being compiled currently
22989 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22991 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22992 Add some simple tests for the new taglist date API.
22994 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22996 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22997 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22998 Beautify 'last-message' output: print 'none' for buffer timestamps
22999 and durations if none is set; improve alignment with next messages.
23001 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23003 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23004 * gst/gstpluginfeature.h:
23005 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23006 * gst/gstregistry.h:
23007 * docs/gst/gstreamer-sections.txt:
23008 Add new API to check plugin feature version requirements.
23010 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23011 Some basic tests for the above.
23013 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23015 * gst/gststructure.c: (gst_structure_to_string):
23016 guard against NULL printf - happens when for example
23017 a message structure with GstClock gets serialized
23019 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23021 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23022 Fix presumable copy'n'pasto.
23024 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23026 * gst/elements/gstfakesrc.h:
23027 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23028 * gst/elements/gsttypefindelement.c:
23029 fix some signedness
23030 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23031 I wonder if this could actually write +2GB files before
23033 2005-10-13 Andy Wingo <wingo@pobox.com>
23035 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23036 Fix Timmeke Waymans bug.
23037 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23038 string of the proper length to gst_caps_from_string. There's a
23039 potential for, before this fix, that this could cause someone
23040 connecting over the network to cause a segfault if the payload is
23041 not NUL-terminated.
23043 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23045 * docs/design/draft-push-pull.txt:
23046 * docs/design/part-overview.txt:
23047 * docs/random/TODO-pre-0.9:
23048 * docs/random/old/ChangeLog.gstreamer:
23049 * gst/base/gstpushsrc.c:
23053 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23055 * gst/glib-compat.c: (gst_flags_get_first_value):
23056 * gst/glib-compat.h:
23057 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23058 (gst_value_compare_double), (gst_value_serialize_flags):
23059 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23062 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23065 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23067 * tools/gst-launch.c: (event_loop):
23068 print out clock nicely
23070 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23072 * docs/gst/gstreamer-sections.txt:
23073 * gst/gsttaglist.h:
23074 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23075 (gst_tag_list_get_date_index):
23076 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23077 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23079 2005-10-13 Julien MOUTTE <julien@moutte.net>
23081 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23082 (gst_collectpads_chain):
23083 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23086 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23088 * docs/gst/gstreamer-sections.txt:
23091 * tools/gst-inspect.c: (main):
23092 * tools/gst-launch.c: (main):
23093 * tools/gst-run.c: (main):
23094 * tools/gst-xmlinspect.c: (main):
23095 fix GOption context leaks
23098 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23102 * win32/common/config.h:
23104 * win32/vs6/grammar.dsp:
23105 * win32/vs6/libgstelements.dsp:
23106 * win32/vs6/libgstreamer.dsp:
23109 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23112 * gst/base/gstbasesrc.c: (gst_base_src_query):
23113 fix more guint64<->gdouble conversions
23115 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23118 add win32-update target
23119 * win32/common/gstconfig.h:
23120 * win32/common/gstenumtypes.c:
23121 * win32/common/gstenumtypes.h:
23122 * win32/common/gstversion.h:
23123 add files that visual studio can't generate
23125 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23128 add a win32-update target
23131 2005-10-12 Wim Taymans <wim@fluendo.com>
23133 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23134 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23135 * gst/gstelement.c: (gst_element_commit_state),
23136 (gst_element_set_state):
23137 Protect flags with proper lock.
23138 unref provided cached clock in dispose.
23140 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23143 * gst/gstminiobject.h:
23145 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23146 removed unused flags from miniobject
23149 2005-10-12 Wim Taymans <wim@fluendo.com>
23151 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23152 (gst_file_sink_event), (gst_file_sink_render):
23153 Flush before seeking.
23155 2005-10-12 Andy Wingo <wingo@pobox.com>
23157 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23158 always been the case.
23160 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23162 * check/gst/gstbin.c: (GST_START_TEST):
23163 * docs/gst/gstreamer-sections.txt:
23164 * gst/base/gstbasesink.c: (gst_base_sink_init):
23165 * gst/base/gstbasesrc.c: (gst_base_src_init),
23166 (gst_base_src_get_range), (gst_base_src_check_get_range),
23167 (gst_base_src_start), (gst_base_src_stop):
23168 * gst/base/gstbasesrc.h:
23169 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23170 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23171 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23175 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23177 * gst/gstelement.c: (gst_element_is_locked_state),
23178 (gst_element_set_locked_state), (gst_element_commit_state),
23179 (gst_element_set_state):
23180 * gst/gstelement.h:
23181 * gst/gstindex.c: (gst_index_init):
23183 * gst/gstminiobject.h:
23184 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23185 (gst_object_set_parent):
23187 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23188 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23190 * gst/gstpadtemplate.h:
23191 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23192 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23193 * gst/gstpipeline.h:
23194 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23195 (gst_file_index_commit):
23196 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23197 * testsuite/pad/link.c: (gst_test_src_init),
23198 (gst_test_filter_init), (gst_test_sink_init):
23199 * testsuite/states/locked.c: (main):
23200 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23201 moved bitshift from macro to enum definition
23203 2005-10-12 Wim Taymans <wim@fluendo.com>
23205 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23206 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23207 (gst_file_sink_render):
23208 Some more debugging info.
23210 2005-10-12 Wim Taymans <wim@fluendo.com>
23212 * docs/design/part-states.txt:
23213 * tools/gst-launch.c: (main):
23215 Revert non-intentional change.
23217 2005-10-12 Wim Taymans <wim@fluendo.com>
23219 * check/gst/gstbin.c: (GST_START_TEST):
23220 * check/gst/gstelement.c: (GST_START_TEST):
23221 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23222 * check/gst/gstghostpad.c: (GST_START_TEST):
23223 * check/gst/gstpipeline.c: (GST_START_TEST):
23224 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23225 * check/states/sinks.c: (GST_START_TEST):
23226 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23227 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23228 (gst_bin_remove_func), (gst_bin_get_state_func),
23229 (gst_bin_recalc_state), (gst_bin_change_state_func),
23231 * gst/gstelement.c: (gst_element_get_state_func),
23232 (gst_element_get_state), (gst_element_abort_state),
23233 (gst_element_commit_state), (gst_element_set_state),
23234 (gst_element_change_state), (gst_element_change_state_func):
23235 * gst/gstelement.h:
23236 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23237 (gst_pipeline_provide_clock_func):
23238 * gst/gstutils.c: (gst_element_link_pads_filtered):
23239 * tools/gst-launch.c: (main):
23240 * tools/gst-typefind.c: (main):
23241 Use GstClockTime in _get_state() instead of GTimeVal.
23242 Remove old code in gstutils.c
23244 2005-10-12 Andy Wingo <wingo@pobox.com>
23246 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23249 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23250 there is no task. Shouldn't affect any code, as nothing in our
23251 plugins checks this return value.
23252 (gst_pad_stop_task): Also take the stream lock if the pad has no
23253 task. Docs updated.
23255 2005-10-12 Wim Taymans <wim@fluendo.com>
23257 * gst/gstpad.c: (pre_activate), (post_activate),
23258 (gst_pad_activate_pull), (gst_pad_activate_push):
23259 Cleanup activation code. Reset old state if
23262 2005-10-12 Wim Taymans <wim@fluendo.com>
23264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23265 (gst_base_sink_change_state):
23266 No need to prerol after receiving EOS.
23268 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23269 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23270 * gst/elements/gstidentity.c: (gst_identity_event):
23271 Print events more verbosely.
23273 2005-10-12 Wim Taymans <wim@fluendo.com>
23275 * check/Makefile.am:
23276 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23277 * check/states/sinks2.c:
23278 Moved sinks2 testcode in sinks check.
23280 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23281 (gst_bin_remove_func), (gst_bin_recalc_state),
23282 (gst_bin_change_state_func), (bin_bus_handler):
23283 Fix potential race condition when _get_state() iterated over an
23284 ASYNC element right before it posted a state completion.
23287 Do proper cast here.
23289 * gst/gstevent.c: (gst_event_new_newsegment),
23290 (gst_event_parse_newsegment):
23291 A playback rate of 0.0 is not allowed.
23293 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23295 * win32/common/config.h:
23296 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23297 (_trewinddir), (_ttelldir), (_tseekdir):
23298 * win32/common/dirent.h:
23299 * win32/common/gtchar.h:
23300 * win32/common/libgstbase.def:
23301 * win32/common/libgstreamer.def:
23302 * win32/vs6/grammar.dsp:
23303 * win32/vs6/gst_inspect.dsp:
23304 * win32/vs6/gst_launch.dsp:
23305 * win32/vs6/gstreamer.dsw:
23306 * win32/vs6/libgstbase.dsp:
23307 * win32/vs6/libgstelements.dsp:
23308 * win32/vs6/libgstreamer.dsp:
23309 Visual Studio 6 project files, and a new common directory.
23312 2005-10-11 Wim Taymans <wim@fluendo.com>
23314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23315 (gst_base_sink_do_sync), (gst_base_sink_query),
23316 (gst_base_sink_change_state):
23317 * gst/base/gstbasesink.h:
23318 Correctly parse newsegment info.
23320 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23322 * gst/gst.c: (init_post):
23323 split plugin paths correctly
23325 2005-10-11 Wim Taymans <wim@fluendo.com>
23327 * check/gst/gstevent.c: (GST_START_TEST):
23328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23329 (gst_base_sink_change_state):
23330 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23331 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23332 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23333 * gst/gstevent.c: (gst_event_new_newsegment),
23334 (gst_event_parse_newsegment):
23336 Added extra flag to newsegment for future API freeze.
23337 Updated check and base elements.
23339 2005-10-11 Julien MOUTTE <julien@moutte.net>
23341 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23342 (gst_collectpads_add_pad), (gst_collectpads_pop),
23343 (gst_collectpads_event), (gst_collectpads_chain):
23344 * gst/base/gstcollectpads.h: Handle EOS correctly.
23346 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23348 * tools/gst-launch.c: (main):
23349 more null protecting
23351 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23353 * gst/gst-i18n-lib.h:
23354 check for ENABLE_NLS, not GETTEXT_PACKAGE
23355 * gst/gstregistry.c: (gst_registry_add_plugin),
23356 (gst_registry_scan_path_level),
23357 (_gst_registry_remove_cache_plugins):
23358 protect possibly NULL strings
23359 * gst/parse/types.h:
23360 config.h already included before
23361 * tools/gst-inspect.c: (main):
23362 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23363 check for ENABLE_NLS, not GETTEXT_PACKAGE
23364 * tools/gst-launch.c: (main):
23365 check for ENABLE_NLS, not GETTEXT_PACKAGE
23367 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23370 if we don't have glib, fail before testing 2.8
23371 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23372 fix a leak, should fix plugins-base testsuite
23374 2005-10-11 Andy Wingo <wingo@pobox.com>
23376 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23377 take the mode we're going to as an arg. Go head and set the mode
23378 and flushing flags now, so that if the activate function starts a
23379 thread all the flags will be in the right state.
23380 (post_activate): Renamed also. Just handle making sure streaming
23381 finishes for the deactivation case, and setting the deactivated
23383 (gst_pad_set_active): Complain loudly if deactivation fails.
23384 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23385 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23386 remove the terrible hack.
23388 2005-10-11 Wim Taymans <wim@fluendo.com>
23390 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23391 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23392 (gst_bin_recalc_state), (gst_bin_change_state_func),
23393 (gst_bin_dispose), (bin_bus_handler):
23395 Prepare to make current EOS message queue more generic.
23398 * gst/gstevent.c: (gst_event_new_newsegment),
23399 (gst_event_parse_newsegment):
23401 Rename base to stream_time.
23403 * gst/gstmessage.h:
23406 2005-10-11 Wim Taymans <wim@fluendo.com>
23408 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23409 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23410 (gst_bin_change_state_func), (bin_bus_handler):
23412 Work on proper clock selection.
23414 2005-10-11 Edward Hervey <edward@fluendo.com>
23416 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23417 * libs/gst/controller/gstcontroller.h:
23418 Added GList* version of _remove_properties() in order to be able to wrap
23421 2005-10-11 Wim Taymans <wim@fluendo.com>
23423 * docs/design/part-states.txt:
23426 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23427 (gst_bin_change_state_func), (bin_bus_handler):
23428 Doc updates. Don't distribute the same clock over and over again.
23434 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23435 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23436 (gst_pad_send_event):
23438 Make probe emission threadsafe again.
23439 Register quarks and move _get_name() from utils.
23442 * gst/gstpipeline.c: (gst_pipeline_class_init),
23443 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23444 Only redistribute the clock of it changed.
23446 * gst/gstsystemclock.h:
23451 Moved the _flow_get_name() to GstPad.
23453 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23455 * check/gst-libs/gdp.c: (GST_START_TEST):
23456 * check/gst/gstcaps.c: (GST_START_TEST):
23457 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23458 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23459 (gst_dp_packet_from_caps):
23460 fix more valgrind warnings before turning up the heat
23462 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23464 * gst/parse/grammar.y:
23465 some cleanup before the hacking
23467 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23469 * gst/base/gstbasesrc.c: (gst_base_src_query):
23471 * gst/gstutils.c: (gst_guint64_to_gdouble),
23472 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23474 externalize, basesrc uses it
23475 obviously the implementation needs testing
23477 2005-10-10 Wim Taymans <wim@fluendo.com>
23479 * tests/sched/Makefile.am:
23480 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23481 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23483 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23485 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23486 apparently converting from guint64 to double is not implemented
23489 2005-10-10 Wim Taymans <wim@fluendo.com>
23491 * check/Makefile.am:
23492 * check/generic/states.c: (GST_START_TEST):
23493 * check/gst/gstbin.c: (GST_START_TEST):
23494 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23495 * check/states/sinks.c: (GST_START_TEST):
23496 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23498 Check fixes, use API as stated in design docs, remove hacks.
23500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23501 (gst_base_sink_change_state):
23502 Catch stopping our task while we're shutting down.
23504 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23505 (gst_bin_remove_func), (gst_bin_get_state_func),
23506 (gst_bin_recalc_state), (gst_bin_change_state_func),
23509 * gst/gstelement.c: (gst_element_init),
23510 (gst_element_get_state_func), (gst_element_abort_state),
23511 (gst_element_commit_state), (gst_element_lost_state),
23512 (gst_element_set_state), (gst_element_change_state),
23513 (gst_element_change_state_func):
23514 * gst/gstelement.h:
23515 New state change algorithm (see #318116)
23517 * gst/gstpipeline.c: (gst_pipeline_class_init),
23518 (gst_pipeline_init), (gst_pipeline_set_property),
23519 (gst_pipeline_get_property), (do_pipeline_seek),
23520 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23521 * gst/gstpipeline.h:
23522 Remove crude state change hacks.
23525 Remove crude hacks.
23527 * tools/gst-launch.c: (main):
23528 Fixes for state change. Needs some more work to fully use the
23531 2005-10-10 Andy Wingo <wingo@pobox.com>
23533 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23535 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23536 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23539 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23541 * gst/gstiterator.c: (gst_iterator_new):
23542 Fix my previous commit: GTypes passed to gst_iterator_new()
23543 can be fundamental types.
23545 2005-10-10 Wim Taymans <wim@fluendo.com>
23547 * gst/gstelement.c: (gst_element_iterate_pad_list),
23548 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23549 (gst_element_iterate_sink_pads):
23550 Use src/sink pads lists for the respective iterators instead
23553 2005-10-10 Andy Wingo <wingo@pobox.com>
23555 Merged in popt removal + GOption addition patch from Ronald, bug
23558 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23559 GstElement macros around, remove popt-related symbols, add goption
23562 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23564 * docs/gst/Makefile.am:
23565 * docs/libs/Makefile.am: No POPT_CFLAGS.
23567 * examples/manual/Makefile.am:
23568 * docs/manual/basics-init.xml: Doc updates with an example.
23570 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23571 (gst_init), (parse_one_option), (parse_goption_arg):
23572 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23573 bit of hand merging and debugging to get the GOption stuff working
23576 * tests/Makefile.am:
23577 * tools/Makefile.am:
23578 * tools/gst-inspect.c: (main):
23579 * tools/gst-launch.c: (main):
23580 * tools/gst-run.c: (main):
23581 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23583 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23585 * gst/gstiterator.c: (gst_iterator_new):
23586 Add assertions to make sure passed GType is likely to really
23587 be a GType (as the compiler won't catch it if the size and
23588 GType arguments get mixed up, see #318447).
23590 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23592 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23594 * gst/gstbin.c: (gst_bin_iterate_sorted):
23595 Pass GType and size arguments to gst_iterator_new() in the right
23596 order (maybe we should make _new() take the GType as first argument
23597 just like _new_list()?) (#318447).
23600 2005-10-10 Wim Taymans <wim@fluendo.com>
23602 * gst/gstelement.c: (gst_element_finalize):
23603 And free the GStaticRecMutex too
23605 2005-10-10 Andy Wingo <wingo@pobox.com>
23607 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23608 Allocate and free the mutex properly.
23610 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23612 (GstElement): The state_lock is now recursive. Rebuild your
23613 plugins, suckers. Old macros adapted.
23615 * docs/gst/gstreamer-sections.txt: Doc updates.
23618 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23619 (g_static_rec_cond_wait): Ported from state changes patch, while
23620 we wait on bug #317802 to be solved in a well-distributed GLib.
23622 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23623 gst_element_change_state, variable name changes.
23624 (gst_element_change_state): Split out of gst_element_set_state in
23625 preparation for the state change merge. Doesn't pay attention to
23626 the 'transition' argument.
23627 (gst_element_set_state): Updates, hopefully purely cosmetic.
23628 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23629 state change patch.
23630 (gst_element_get_state_func): Renamed from get_state, cosmetic
23633 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23635 * gst/elements/gstelements.c:
23636 * win32/GStreamer.vcproj:
23638 * win32/dirent.c: (_tseekdir):
23639 * win32/gst-inspect.vcproj:
23640 * win32/gst-launch.vcproj:
23641 * win32/gstconfig.h:
23642 * win32/gstelements.vcproj:
23643 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23644 * win32/gstreamer.def:
23645 * win32/msvc71.sln:
23646 updates for the win32 build (patch from Sebastien Moutte)
23648 2005-10-10 Andy Wingo <wingo@pobox.com>
23650 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23651 gst_bin_get_state, cleaned up (but no logic changes).
23652 (bin_element_is_sink): Comment updates.
23653 (sink_iterator_filter): Remove needless cast.
23654 (gst_bin_iterate_sinks): Doc update.
23655 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23656 cleaned up (but no logic changes).
23658 * check/states/sinks.c (test_src_sink): Cleanups from the state
23660 (test_livesrc_sink): Sync on the state.
23662 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23663 the state change patch.
23665 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23668 * check/gst/gstbin.c: Merge in some style fixes and additional
23669 checks from Wim's state change patch.
23671 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23673 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23674 (gst_type_find_helper):
23675 Check whether we have the requested data already in our list of
23676 cached buffers before pulling a new buffer; also make the buffer
23677 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23679 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23684 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23685 don't use long long, it's not portable. Replacing with
23686 gint64 seems to work; let's hope no skeletons fall out of the closet.
23688 2005-10-10 Andy Wingo <wingo@pobox.com>
23690 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23692 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23694 * docs/gst/gstreamer-sections.txt:
23699 * gst/gstmessage.c: (gst_message_parse_state_changed):
23702 more docs, fix compilation
23704 2005-10-09 Philippe Khalaf <burger@speedy.org>
23705 * gst/gstmessage.c:
23706 Fixed a few forgotten variables on previous commit
23708 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23710 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23711 Fix evil typefind crasher: getrange() might return a short
23712 buffer at the end of a file, but gst_type_find_peek() must
23713 either return the full data as requested or NULL, but
23714 never a short buffer.
23716 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23718 * gst/gstmessage.c: (gst_message_new_state_changed),
23719 (gst_message_parse_state_changed):
23720 * gst/gstmessage.h:
23721 don't use "new", it's a C++ keyword
23723 2005-10-08 Wim Taymans <wim@fluendo.com>
23725 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23726 * gst/gstelement.c: (gst_element_post_message):
23727 * gst/gstpipeline.c: (gst_pipeline_change_state):
23728 Small docs and debug updates.
23730 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23732 * docs/gst/gstreamer-sections.txt:
23733 * gst/gstelementfactory.c:
23735 * gst/gsttaglist.c:
23738 2005-10-08 Wim Taymans <wim@fluendo.com>
23740 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23741 (gst_bin_dispose), (bin_bus_handler):
23742 Fix typos, add comments.
23743 Clear EOS list when going to PAUSED from any direction and do it
23744 in a threadsafe way.
23745 Get base time in a threadsafe way too.
23746 Fix confusing debug in the change_state function.
23747 Various other small cleanups.
23749 * gst/gstelement.c: (gst_element_post_message):
23750 Fix very verbose bus posting code.
23752 * gst/gstpipeline.c: (gst_pipeline_class_init),
23753 (gst_pipeline_set_property), (gst_pipeline_get_property),
23754 (gst_pipeline_change_state):
23755 Small ARG_ -> PROP_ cleanup
23757 2005-10-08 Wim Taymans <wim@fluendo.com>
23759 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23760 Do a less CPU demanding EOS check because we can.
23762 2005-10-08 Wim Taymans <wim@fluendo.com>
23764 * libs/gst/dataprotocol/dataprotocol.c:
23765 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23766 (gst_dp_packet_from_event):
23767 * libs/gst/dataprotocol/dataprotocol.h:
23768 * libs/gst/dataprotocol/dp-private.h:
23769 It's about time we bump the version number.
23770 Since event types don't fit in the guint8 anymore describing
23771 the payload type, make payload type 16 bits wide.
23773 2005-10-08 Wim Taymans <wim@fluendo.com>
23775 * docs/design/part-TODO.txt:
23776 * docs/design/part-clocks.txt:
23777 * docs/design/part-events.txt:
23778 * docs/design/part-gstbin.txt:
23779 * docs/design/part-gstelement.txt:
23780 * docs/design/part-gstpipeline.txt:
23781 * docs/design/part-live-source.txt:
23782 * docs/design/part-messages.txt:
23783 * docs/design/part-overview.txt:
23784 * docs/design/part-states.txt:
23787 2005-10-08 Wim Taymans <wim@fluendo.com>
23791 Fix event quark registration.
23792 Add some space between events so we can insert them in the
23795 2005-10-08 Wim Taymans <wim@fluendo.com>
23797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23798 (gst_base_sink_handle_buffer):
23799 Better log message.
23802 * gst/gstelement.h:
23805 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23806 (gst_queue_set_property), (gst_queue_get_property):
23808 Remove old unused properties.
23810 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23811 * docs/gst/gstreamer-sections.txt:
23812 * gst/gstmessage.c:
23813 * gst/gstmessage.h:
23814 * gst/gstminiobject.c:
23815 * gst/gstminiobject.h:
23819 lots of new docs and doc fixes
23821 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23823 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23825 * gst/gstregistry.c: (gst_registry_lookup_locked),
23826 (gst_registry_scan_path_level):
23827 * gst/gstregistryxml.c: (load_plugin):
23828 Only ever load one plugin for a given plugin basename.
23829 This ensures correct overriding of GST_PLUGIN_PATH over
23830 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23831 system installed plugins.
23833 2005-10-08 Wim Taymans <wim@fluendo.com>
23835 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23836 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23837 Prepare for doing QOS.
23839 2005-10-08 Wim Taymans <wim@fluendo.com>
23841 * check/gst/gstbin.c: (GST_START_TEST):
23842 * check/pipelines/cleanup.c: (GST_START_TEST):
23843 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23844 Allow new clock message too.
23846 2005-10-08 Wim Taymans <wim@fluendo.com>
23848 * gst/gstmessage.c: (gst_message_new_error),
23849 (gst_message_new_warning), (gst_message_new_tag),
23850 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23851 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23852 (gst_message_new_segment_start), (gst_message_new_segment_done),
23853 (gst_message_parse_state_changed),
23854 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23855 (gst_message_parse_new_clock):
23856 * gst/gstmessage.h:
23857 Also carry the clock in question.
23859 2005-10-08 Wim Taymans <wim@fluendo.com>
23861 * gst/gstmessage.c: (gst_message_new_custom),
23862 (gst_message_new_eos), (gst_message_new_error),
23863 (gst_message_new_warning), (gst_message_new_tag),
23864 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23865 (gst_message_new_new_clock), (gst_message_new_segment_start),
23866 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23867 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23868 * gst/gstmessage.h:
23870 Added clock related messages.
23872 * gst/gstpipeline.c: (gst_pipeline_change_state):
23873 Post message when the clock changed.
23875 * tools/gst-launch.c: (event_loop):
23878 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23880 * tools/gst-inspect.c: (print_element_properties_info):
23881 Can't pass NULL strings to g_print() on windows.
23883 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23885 * docs/Makefile.am:
23886 * docs/gst/Makefile.am:
23887 * docs/gst/gstreamer-docs.sgml:
23888 * docs/gst/running.xml:
23889 * docs/version.entities.in:
23890 add a chapter on running GStreamer.
23891 document GST_DEBUG and GST_PLUGIN* env vars
23893 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23898 remove PLUGINS_BUILDDIR stuff
23899 * gst/gst.c: (init_post):
23900 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23902 remove, it was condescending and not needed
23904 2005-10-08 Wim Taymans <wim@fluendo.com>
23906 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23907 (gst_base_sink_handle_object), (gst_base_sink_event),
23908 (gst_base_sink_wait), (gst_base_sink_handle_event),
23909 (gst_base_sink_change_state):
23910 * gst/base/gstbasesink.h:
23911 Repost EOS message while going to PLAYING if still EOS.
23912 Make sure that when receiving a FLUSH_START we don't attempt
23913 to sync on the clock anymore.
23915 2005-10-08 Wim Taymans <wim@fluendo.com>
23917 * tools/gst-launch.c: (event_loop):
23918 Better message printout.
23920 2005-10-08 Wim Taymans <wim@fluendo.com>
23922 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23923 (gst_bin_child_proxy_get_children_count):
23924 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23925 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23926 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23927 (gst_child_proxy_set_valist):
23928 * gst/parse/grammar.y:
23929 Make ChildProxy threadsafe and fix mem leaks.
23931 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23933 * gst/gst.c: (init_post):
23934 debug the GST_PLUGIN_ env vars
23936 2005-10-08 Wim Taymans <wim@fluendo.com>
23938 * check/gst/gstbin.c: (GST_START_TEST):
23939 * check/gst/gstmessage.c: (GST_START_TEST):
23940 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23941 * gst/gstelement.c: (gst_element_commit_state),
23942 (gst_element_lost_state):
23943 * gst/gstmessage.c: (gst_message_new_state_changed),
23944 (gst_message_parse_state_changed):
23945 * gst/gstmessage.h:
23946 * tools/gst-launch.c: (event_loop):
23947 Added extra field to STATE_CHANGE message with the pending
23948 state, which will be different from the new state soon.
23950 2005-10-08 Wim Taymans <wim@fluendo.com>
23952 * gst/gstbus.c: (gst_bus_pop):
23954 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23955 Small cleanups and doc updates.
23957 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23959 * gst/gst.c: (init_pre):
23960 * gst/gstbin.c: (gst_bin_add_func):
23961 log distributing clocks and base time
23962 * gst/gstregistry.c: (gst_registry_add_plugin),
23963 (gst_registry_scan_path_level), (gst_registry_scan_path):
23964 clean up the debugging output a little
23965 * gst/gstutils.c: (gst_element_state_get_name):
23966 warn about a memleak (I've actually seen this be used, though
23967 it was probably a bug)
23969 2005-10-07 Wim Taymans <wim@fluendo.com>
23971 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23972 (gst_base_src_init), (gst_base_src_default_newsegment),
23973 (gst_base_src_newsegment), (gst_base_src_do_seek),
23974 (gst_base_src_loop), (gst_base_src_start):
23975 * gst/base/gstbasesrc.h:
23976 Make the newsegment event customizable by subclasses.
23978 2005-10-07 Wim Taymans <wim@fluendo.com>
23980 * gst/gstevent.c: (gst_event_new_buffersize),
23981 (gst_event_parse_buffersize):
23983 New event for future idea.
23985 2005-10-07 Andy Wingo <wingo@pobox.com>
23987 * gst/gstelement.c (gst_element_post_message): Doc update.
23989 * docs/gst/gstreamer-sections.txt: Update.
23991 * gst/gstmessage.c (gst_message_new_application): Made into a
23992 function like honest API calls.
23993 (gst_message_new_element): New message type.
23995 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23997 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23998 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24001 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24002 NO_PREROLL from gst_element_change_state to fall through.
24004 2005-10-07 Wim Taymans <wim@fluendo.com>
24006 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24007 (gst_ghost_pad_do_activate_push):
24008 Activating a ghostpad with no internal pad in push mode
24011 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24014 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24015 Fixes compilation on Windows.
24017 2005-10-07 Michael Smith <msmith@fluendo.com>
24019 * tools/gst-inspect.c:
24020 Print out feature and plugin count at the end when printing out
24023 2005-10-04 Michael Smith <msmith@fluendo.com>
24025 * gst/gsterror.c: (_gst_stream_errors_init):
24026 Add another error string used in a few existing plugins.
24029 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24030 * tools/gst-inspect.c: (print_element_info):
24031 When a feature disappears from a plugin (and the feature exists in
24032 the cached registry file), things went horribly wrong. This isn't a
24033 complete fix, we should actually be removing the 'missing' features
24034 from the features list when we load the actual plugin. That's not
24037 2005-10-04 Johan Dahlin <johan@gnome.org>
24039 * check/gst/gstiterator.c: (GST_START_TEST):
24040 * gst/gstbin.c: (gst_bin_iterate_elements),
24041 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24042 * gst/gstelement.c: (gst_element_iterate_pads):
24043 * gst/gstformat.c: (gst_format_iterate_definitions):
24044 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24045 (gst_iterator_new_list), (gst_iterator_filter):
24046 * gst/gstiterator.h:
24047 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24048 Add a GType to GstIterator, update callsites and tests.
24050 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24052 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24053 give events a chance to be handled by event probes when the pad
24056 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24058 * gst/gstevent.c: (gst_event_type_get_name),
24059 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24061 add string representations for event types
24063 2005-10-06 Wim Taymans <wim@fluendo.com>
24065 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24066 Don't use NULL pointers.
24068 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24070 * gst/gst_private.h:
24072 * gst/gstelement.c:
24074 * gst/gstpluginfeature.c:
24075 widen the debug category in output to fit the biggest one we have
24076 add a bus category and use it
24077 play with the colors
24078 fix up some categories
24080 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24082 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24083 add push activation of sink ghost pads.
24084 Andye, please verify
24086 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24088 * gst/gstutils.c: (gst_element_link_pads):
24089 fix a bug in the case where neither element has a pad
24090 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24091 add a test for that case
24093 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24095 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24096 emit have-data before checking for peers. This allows
24097 for probe handlers to connect elements. This helps autopluggers.
24098 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24100 add six checks, linked/unlinked with no/true/false probe
24102 2005-10-04 Wim Taymans <wim@fluendo.com>
24104 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24105 (gst_fake_sink_event), (gst_fake_sink_preroll),
24106 (gst_fake_sink_render), (gst_fake_sink_change_state):
24107 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24108 (gst_fake_src_get_property), (gst_fake_src_create),
24109 (gst_fake_src_stop):
24110 * gst/elements/gstidentity.c: (gst_identity_stop):
24111 Protect last_message with lock.
24113 2005-10-04 Edward Hervey <edward@fluendo.com>
24116 Added precision in the comments for GST_FORMAT_DEFAULT
24118 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24120 * tools/gst-launch.c: (main):
24121 Don't try to run erroneous pipelines.
24123 2005-10-04 Julien MOUTTE <julien@moutte.net>
24125 * gst/gstbus.c: We don't need this header.
24127 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24130 back to development
24132 === release 0.9.3 ===
24134 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24138 Releasing 0.9.3, "Unregistered"
24140 2005-10-03 Andy Wingo <wingo@pobox.com>
24142 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24143 whereby calling a pad's activatepush() function can start a thread
24144 that starts to push or pull before the pad gets the FLUSHING flag
24145 unset. Hack around it by holding the stream lock until the flag is
24146 set. Need to replace this with a proper solution. Together with
24147 the ghost pad fixes, this fixes mp3 playing/tagreading.
24149 * docs/design/part-gstghostpad.txt: Add a note about activation of
24150 proxy pads outside of ghost pads.
24152 * gst/gstghostpad.c: Implement the ghost pad activation design.
24154 2005-10-02 Andy Wingo <wingo@pobox.com>
24156 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24157 It is volatile, after all.
24159 * docs/design/part-gstghostpad.txt: Flesh out activation with
24162 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24165 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24168 Fix (unused) AM_CONDITIONAL tests.
24170 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24172 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24174 * gst/gstutils.c: (gst_pad_query_convert):
24175 Add assertion that makes sure src_val is >=0, just like
24176 gst_query_new_convert() has. (#315895)
24178 2005-09-30 Edward Hervey <edward@fluendo.com>
24180 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24181 Let's not iterate pads we're not interested in, it avoids getting
24182 sky-high refcounts on sinkpad.
24184 2005-09-30 Wim Taymans <wim@fluendo.com>
24186 * gst/gstelement.c: (gst_element_set_state),
24187 (gst_element_change_state):
24188 Small tweak, element in ASYNC remains ASYNC.
24190 2005-09-30 Wim Taymans <wim@fluendo.com>
24192 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24193 Only error is an error.
24195 * gst/gstbin.c: (gst_bin_change_state):
24198 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24199 Also call pad_block in pad alloc.
24201 * gst/gstutils.c: (gst_flow_get_name):
24204 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24206 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24207 (gst_base_src_get_range):
24208 Fix documentation typos. Add some more debug info.
24210 2005-09-29 David Schleef <ds@schleef.org>
24212 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24213 more end-user friendly.
24214 * tools/gst-inspect.c: (main): Check if command-line argument is
24215 a file and attempt to load that file as a plugin.
24217 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24219 * check/gst/gstbin.c:
24220 * check/states/sinks.c:
24221 fix tests for the new warning
24222 * check/gst/gstpipeline.c:
24223 add a test for pipeline and bus interaction
24224 * gst/gstelement.c:
24225 elements should be NULL if they get disposed; add a warning if not
24227 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24230 for 2.6 refcounting, make debug log more correct by printing
24231 the actual refcounts at the time of swap (Wim)
24233 2005-09-29 Andy Wingo <wingo@pobox.com>
24235 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24236 removes signal watches previously added via
24237 gst_bus_add_signal_watch.
24238 (gst_bus_add_signal_watch): Don't return the source id, just store
24239 it on the bus if there wasn't an id already.
24241 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24242 add_signal_watch and remove_signal_watch.
24244 2005-09-29 Edward Hervey <edward@fluendo.com>
24246 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24247 Better if we actually iterate the list :)
24249 2005-09-29 Wim Taymans <wim@fluendo.com>
24251 * check/gst/gstbin.c: (GST_START_TEST):
24252 Change for new bus API.
24254 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24255 (send_messages), (GST_START_TEST), (gstbus_suite):
24256 Change for new bus signal API.
24258 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24259 (gst_bus_source_prepare), (gst_bus_source_check),
24260 (gst_bus_create_watch), (gst_bus_add_watch_full),
24261 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24262 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24264 Remove support for multiple GSources operating on different
24265 message types as it is too complex and unneeded when using
24267 Added support for receiving signals from the bus.
24269 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24271 * docs/libs/tmpl/gstdataprotocol.sgml:
24272 * docs/manual/advanced-dataaccess.xml:
24273 * gst/elements/gstcapsfilter.c:
24275 rename filter-caps to caps property
24277 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24279 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24280 More robust fraction string parsing.
24282 * docs/pwg/appendix-porting.xml:
24283 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24285 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24287 * gst/gstcaps.c: (gst_caps_do_simplify):
24288 Thou shalt not free a structure and then continue using it
24289 in the next loop iteration.
24291 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24293 Add test case for caps simplification.
24295 2005-09-29 Wim Taymans <wim@fluendo.com>
24297 * check/gst/gstbin.c: (GST_START_TEST):
24300 2005-09-29 Wim Taymans <wim@fluendo.com>
24302 * check/gst/gstbin.c: (GST_START_TEST):
24305 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24306 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24307 (find_element), (gst_bin_sort_iterator_next),
24308 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24309 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24310 (gst_bin_change_state), (gst_bin_dispose):
24311 A bin does not have a bus, it gets the bus from the parent.
24313 * gst/gstelement.c: (gst_element_requires_clock),
24314 (gst_element_provides_clock), (gst_element_is_indexable),
24315 (gst_element_is_locked_state), (gst_element_change_state),
24316 (gst_element_set_bus_func):
24319 * gst/gstpipeline.c: (gst_pipeline_class_init),
24320 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24321 The pipeline provides a bus.
24323 2005-09-28 Johan Dahlin <johan@gnome.org>
24325 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24326 gst_structure_get_enum instead of gst_structure_get_int
24328 * gst/gststructure.c (gst_structure_get_enum): Impl.
24330 * gst/gststructure.h (gst_structure_get_enum): Add
24332 * docs/gst/gstreamer-sections.txt: Ditto
24334 * gst/gstmessage.c (gst_message_new_state_changed): Use
24335 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24336 which does introspection.
24337 Reviewed by Christian Schaller
24339 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24341 * gst/gstinfo.c: (gst_debug_log_default):
24342 don't do dummy g_strdup()s
24343 * libs/gst/controller/gstcontroller.c:
24344 (on_object_controlled_property_changed),
24345 (gst_controlled_property_new), (gst_controller_new_valist),
24346 (gst_controller_new_list),
24347 (gst_controller_remove_properties_valist), (gst_controller_set),
24348 (gst_controller_get), (gst_controller_sync_values),
24349 (gst_controller_get_value_array), (_gst_controller_class_init),
24350 (gst_controller_get_type):
24351 * libs/gst/controller/gstcontroller.h:
24352 * libs/gst/controller/gstinterpolation.c:
24353 (gst_controlled_property_find_timed_value_node):
24354 convert // to /**/ comments
24356 2005-09-28 Wim Taymans <wim@fluendo.com>
24358 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24359 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24360 (gst_bus_sync_signal_handler):
24362 Added async-message and sync-message signals to the bus.
24363 Added helper BusFunc to emit signals for all posted messages.
24365 * gst/gstmessage.c: (gst_message_type_get_name),
24366 (gst_message_type_to_quark), (gst_message_get_type):
24367 * gst/gstmessage.h:
24368 Register quarks for message names.
24370 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24372 * docs/libs/gstreamer-libs-sections.txt:
24373 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24374 (gst_controller_new_list):
24375 * libs/gst/controller/gstcontroller.h:
24376 added another constructor for language bindings
24378 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24380 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24384 * gst/gstinfo.c: (_gst_debug_init):
24385 slightly more readable color for refcount debugging
24387 2005-09-28 Wim Taymans <wim@fluendo.com>
24389 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24390 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24391 (find_element), (gst_bin_sort_iterator_next),
24392 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24393 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24394 (gst_bin_change_state), (gst_bin_dispose):
24395 Small doc fixes. get_clock -> provide_clock.
24397 * gst/gstelement.c: (gst_element_class_init),
24398 (gst_element_provides_clock), (gst_element_provide_clock),
24399 (gst_element_get_clock), (gst_element_commit_state),
24400 (gst_element_lost_state):
24401 * gst/gstelement.h:
24402 Make get/set_clock() symetric. Add provide_clock vmethod since
24403 that is actually what this function does.
24405 * gst/gstpipeline.c: (gst_pipeline_class_init),
24406 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24407 (gst_pipeline_get_clock):
24408 get_clock -> provide_clock.
24410 2005-09-28 Andy Wingo <wingo@pobox.com>
24412 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24413 lieu of real docs...
24415 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24417 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24419 * gst/elements/gstcapsfilter.c:
24420 * gst/elements/gstfakesink.c:
24421 * gst/elements/gstfakesrc.c:
24422 * gst/elements/gstfdsink.c:
24423 * gst/elements/gstfdsrc.c:
24424 * gst/elements/gstfilesink.c:
24425 * gst/elements/gstfilesrc.c:
24426 * gst/elements/gstidentity.c:
24427 * gst/elements/gsttee.c:
24428 * gst/elements/gsttypefindelement.c:
24429 Make element details static.
24431 2005-09-28 Wim Taymans <wim@fluendo.com>
24433 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24434 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24435 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24436 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24437 (gst_bin_change_state), (gst_bin_dispose):
24438 Some documentation updates.
24439 Clean up dispose handlers.
24441 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24442 * gst/gstpad.c: (gst_pad_dispose):
24443 Clean up dispose handler.
24445 * gst/gstpipeline.c: (gst_pipeline_change_state):
24446 Removed spurious UNLOCK.
24448 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24450 * docs/gst/gstreamer-sections.txt:
24451 * gst/base/gstbasesrc.h:
24452 * gst/gstelement.h:
24456 * gst/gstpipeline.c:
24457 * gst/gstpipeline.h:
24460 added two new functions to the docs
24461 documents all undocumented GstXXXFlags
24462 completed some incomplete docs
24464 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24466 * gst/gstbin.c: (gst_bin_dispose):
24467 * gst/gstelement.c: (gst_element_dispose):
24468 remove now useless and leaky resurrection code in dispose
24469 * gst/base/gstbasesrc.c: (gst_base_src_init):
24470 * gst/gstelementfactory.c: (gst_element_factory_create):
24471 * gst/gstobject.c: (gst_object_set_parent):
24474 2005-09-27 Wim Taymans <wim@fluendo.com>
24476 * docs/design/part-TODO.txt:
24479 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24480 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24481 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24482 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24483 (gst_bin_change_state):
24484 * gst/gstelement.h:
24485 Remove element variable, we keep element info in the iterator now.
24487 2005-09-27 Andy Wingo <wingo@pobox.com>
24489 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24492 2005-09-27 Wim Taymans <wim@fluendo.com>
24494 * check/gst/gstbin.c: (GST_START_TEST):
24495 Enable check that works now.
24497 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24498 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24499 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24500 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24501 (gst_bin_change_state):
24503 Redid the state change algorithm using a topological sort algo.
24504 Handles all cases correctly.
24505 Exposed iterator for state change order.
24507 * gst/gstelement.h:
24508 Temp storage for state changes. Need to get rid of this soon.
24510 2005-09-27 Wim Taymans <wim@fluendo.com>
24512 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24513 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24514 (link_fold_func), (gst_pad_proxy_setcaps):
24515 Leak fixes, the fold functions need to unref the passed object and
24516 _get_parent_*() returns ref to parent.
24518 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24520 * check/gst/gstbuffer.c: (test_make_writable):
24521 Plug leak in test case and fix 'make check-valgrind'
24523 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24525 * gst/gstbuffer.c: (gst_subbuffer_init):
24526 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24527 works correctly in all circumstances (we could have just copied
24528 the parent buffer's readonly flag, but conceptually it seems
24529 cleaner to mark all subbuffers as read-only). (based on patch
24530 by Alessandro Decina, #314710).
24532 * check/gst/gstbuffer.c: (create_read_only_buffer),
24533 (test_make_writable), (test_subbuffer_make_writable),
24535 Add some tests for gst_buffer_make_writable().
24537 2005-09-27 Wim Taymans <wim@fluendo.com>
24539 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24540 use gst_object_has_ancestor().
24542 * gst/gstobject.c: (gst_object_has_ancestor):
24544 gst_object_has_ancestor() copied from gstbin.c as it is a
24547 * tests/instantiate/create.c: (create_all_elements):
24548 * tests/lat.c: (handoff_src), (handoff_sink):
24549 * tests/sched/runxml.c: (main):
24550 * tests/seeking/seeking1.c: (main):
24551 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24553 Fix compilation of some tests.
24555 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24558 Remove comment. GST_TYPE_G_ERROR is here to stay,
24559 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24560 (#316961, #300610).
24562 2005-09-26 Wim Taymans <wim@fluendo.com>
24564 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24565 Added check that shows error in state change order.
24567 2005-09-26 Wim Taymans <wim@fluendo.com>
24569 * gst/gstbin.c: (gst_bin_change_state):
24570 Make state change function use 3 queues again, we were
24571 adding elements in the wrong order.
24573 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24576 * gst/gstpad.c: (gst_pad_dispose):
24577 Added some debug info first.
24579 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24581 * docs/design/draft-push-pull.txt:
24582 * docs/design/part-events.txt:
24583 * docs/design/part-overview.txt:
24584 * docs/design/part-scheduling.txt:
24585 Replace all _pull_region() with _pull_range()
24587 2005-09-26 Andy Wingo <wingo@pobox.com>
24589 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24591 * check/gst-libs/controller.c: Update for controller api change.
24594 * tests/Makefile.am:
24595 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24596 over by GLib bug 118439.
24598 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24599 routines to a function.
24601 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24603 * libs/gst/controller/gsthelper.c:
24604 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24605 (gst_object_sync_values): Renamed from sink_values. Ugh.
24607 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24609 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24610 Renamed from controller_key, as it is exported.
24612 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24614 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24619 * gst/gstpadtemplate.h:
24622 * gst/gstqueryutils.c:
24623 * gst/gstqueryutils.h:
24624 remove queryutils headers after moving the two used functions
24625 to gstquery. also fixes build problem for gstsiddec
24627 2005-09-26 Michael Smith <msmith@fluendo.com>
24629 * tools/gst-launch.1.in:
24630 Correct documentation in manpage of debug syntax
24632 2005-09-26 Wim Taymans <wim@fluendo.com>
24634 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24635 (gst_base_src_is_seekable), (gst_base_src_change_state):
24636 Some more debugging info.
24638 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24640 * docs/gst/gstreamer-sections.txt:
24641 * gst/base/gstbasetransform.h:
24645 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24647 * docs/gst/.cvsignore:
24648 * docs/gst/tmpl/.cvsignore:
24649 * docs/gst/tmpl/gstpipeline.sgml:
24650 * docs/gst/tmpl/gstplugin.sgml:
24651 * gst/gstpipeline.c:
24654 inlined the last two docs files
24655 removed the tmpl directory from cvs (no more conflicts here!)
24657 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24659 * docs/gst/gstreamer-sections.txt:
24660 * docs/gst/tmpl/.cvsignore:
24661 * docs/gst/tmpl/gstpad.sgml:
24662 * docs/gst/tmpl/gstpadtemplate.sgml:
24664 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24665 (gst_pad_finalize), (gst_pad_set_pad_template):
24667 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24668 (gst_pad_template_class_init), (gst_pad_template_init),
24669 (gst_pad_template_dispose), (name_is_valid),
24670 (gst_static_pad_template_get), (gst_pad_template_new),
24671 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24672 (gst_pad_template_pad_created):
24673 * gst/gstpadtemplate.h:
24674 inlined two more docs
24675 factored gstpadtemplate out of gstpad
24677 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24679 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24680 (test_children_state_change_order_semi_sink):
24681 Fix test case: we can't rely on a fixed state change order when
24682 going from READY => PAUSED because the sink might commit its
24683 new state first when the first buffer created by the source
24684 reaches the sink before the source has finished its change state.
24685 (Test case still fails at times, see #316856, comment 5 onwards)
24687 2005-09-24 Wim Taymans <wim@fluendo.com>
24689 * docs/design/part-events.txt:
24690 * docs/design/part-gstbus.txt:
24691 * docs/design/part-gstpipeline.txt:
24692 * docs/design/part-messages.txt:
24693 * docs/design/part-overview.txt:
24694 * docs/design/part-segments.txt:
24698 * gst/gstelement.c:
24701 * gst/gstiterator.c:
24702 Various documentation updates.
24704 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24707 Well, that's embarassing. Luckily we weren't using
24708 GST_CLOCK_DIFF anywhere.
24710 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24712 * common/gtk-doc.mak:
24713 don't fail on building XML, FC4 slave shows a bunch of doc
24714 missing bits that I don't get
24716 * gst/gstpipeline.c:
24717 * gst/gststructure.c:
24720 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24722 * docs/design/part-gstbin.txt:
24723 * docs/design/part-gstbus.txt:
24725 Add blurb about how the bus goes into flushing mode and
24726 drops all messages when its bin goes from READY into NULL
24729 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24731 * docs/gst/gstreamer-sections.txt:
24732 * gst/gststructure.c: (gst_structure_get_clock_time):
24733 * gst/gststructure.h:
24734 add a method to get a GstClockTime out of a structure
24736 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24738 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24739 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24740 Added test to check state change order in bins (can still be made
24741 to fail here under heavy disk load; bails out with 'Push on pad
24742 fakesink:sink0, but it was not activated in push mode').
24744 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24745 Fix state change order when there is only a semi sink (#316856)
24747 * gst/gstbus.c: (gst_bus_class_init):
24748 Use _class_peek_parent(), not _class_ref(); fix docs to say
24749 'default main context' instead of 'mainloop' where that is
24752 * gst/gstelement.c: (gst_element_commit_state),
24753 (gst_element_set_state):
24754 Fix typos in debug messages
24756 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24759 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24760 * gst/gstpluginfeature.c:
24762 various doc updates
24763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24764 change an assert into an error until it gets fixed properly
24766 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24768 * docs/gst/gstreamer-sections.txt:
24769 * docs/gst/tmpl/.cvsignore:
24770 * docs/gst/tmpl/gstelement.sgml:
24771 * docs/gst/tmpl/gstinfo.sgml:
24772 * docs/gst/tmpl/gstobject.sgml:
24773 * gst/gstelement.c:
24774 * gst/gstelement.h:
24777 * gst/gstobject.c: (gst_object_class_init):
24779 inlined 3 more biiiig doc files and added some missing docs on the fly
24781 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24783 * check/gst/.cvsignore:
24784 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24785 * gst/gstregistryxml.c: (load_plugin),
24786 (gst_registry_xml_save_plugin):
24787 put back source in registry. add checks for find_plugin.
24788 * testsuite/states/bin.c: (assert_state), (empty_bin),
24789 (test_adding_one_element), (main):
24790 * testsuite/states/locked.c: (main):
24791 some compile/run fixes
24793 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24795 * check/gst/gstvalue.c: (GST_START_TEST):
24796 fix leaks in the test itself
24798 2005-09-22 Wim Taymans <wim@fluendo.com>
24800 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24801 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24802 (gst_base_sink_query):
24803 Prepare for more accurate position reporting and query
24806 * gst/gstelement.c: (gst_element_send_event),
24807 (gst_element_set_state):
24810 2005-09-22 Wim Taymans <wim@fluendo.com>
24812 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24813 (gst_query_parse_segment):
24815 More documentation.
24816 Add segment query for future use.
24818 2005-09-22 Wim Taymans <wim@fluendo.com>
24820 * gst/gstbin.c: (gst_bin_add_func):
24821 Some more debug info.
24823 * gst/gstelement.c: (gst_element_send_event):
24824 Simplify send_event
24826 * gst/gstelement.h:
24827 Don't know how flags got broken.
24832 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24834 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24835 Add simplistic test suite for GST_TYPE_DATE serialisation and
24838 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24840 * docs/gst/gstreamer-sections.txt:
24841 * gst/gststructure.c: (gst_structure_set_valist),
24842 (gst_structure_get_date):
24843 * gst/gststructure.h:
24844 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24845 (gst_date_copy), (gst_value_compare_date),
24846 (gst_value_serialize_date), (gst_value_deserialize_date),
24847 (gst_value_transform_date_string),
24848 (gst_value_transform_string_date), (_gst_value_initialize):
24850 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24851 bunch of utility functions along with a hack that checks that
24852 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24853 is required. Part of the grand scheme in #170777.
24855 2005-09-22 Andy Wingo <wingo@pobox.com>
24857 * gst/gstconfig.h.in: Psych out gtk-doc.
24859 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24861 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24863 * tools/gst-inspect.c (print_element_list): Plug some
24864 inconsequential leaks.
24866 * gst/gstregistry.c (gst_registry_get_default): Doc.
24868 * check/gst/gstplugin.c:
24869 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24870 * gst/gstelementfactory.c (gst_element_factory_create):
24871 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24874 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24875 (gst_plugin_feature_load): Doc, don't eat refs.
24877 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24878 (gst_plugin_list_free): Doc.
24879 (gst_plugin_load_file): Doc updates.
24881 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24882 accessors returning refcounted objects, return a ref.
24884 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24885 accessor for caps. IDEMPOTENCE. Oh yes.
24887 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24889 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24891 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24892 (_gst_debug_register_funcptr):
24893 Add mutex to serialise access to the hash table with
24894 the function pointer => function name string mapping;
24895 make that hash table static scope (#316809).
24897 * gst/registries/.cvsignore:
24898 Remove left-over file.
24900 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24902 * docs/pwg/appendix-porting.xml:
24903 And something about newsegment events and caps-on-buffers to
24904 the porting guide (feel free to improve).
24906 2005-09-21 Andy Wingo <wingo@pobox.com>
24908 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24909 data and event probes on the same pad.
24910 (test_buffer_probe_once): Test that removing probes from within
24911 the probe functions works.
24913 2005-09-21 Andy Wingo <wingo@pobox.com>
24915 * check/gst/gstutils.c: New file.
24916 (test_buffer_probe_n_times): A simple buffer probe test. More to
24919 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24920 have-data::buffer, not have-data.
24921 (gst_pad_add_event_probe): Likewise for have-data::event.
24922 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24923 peer' isn't quite right yet though.
24924 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24925 (gst_pad_remove_data_probe): Change to take the guint handler_id
24926 as their arg, not the function+data, which is more glib-like.
24928 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24929 the signal emission to indicate if the data is a buffer or an
24931 (gst_pad_get_type): Initialize buffer and event quarks.
24932 (gst_pad_class_init): have-data is now a detailed signal, yes it
24935 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24937 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24938 * gst/gstutils.c: (gst_util_set_value_from_string),
24939 (gst_util_set_object_arg):
24940 Don't put functional code in g_return_if_fail() or
24941 g_return_val_if_fail() statements, otherwise things will
24942 break when G_DISABLE_CHECKS is defined during compilation.
24944 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24946 * docs/gst/tmpl/.cvsignore:
24947 * docs/gst/tmpl/gstvalue.sgml:
24950 inlied another one and added some obvious docs
24952 2005-09-21 Wim Taymans <wim@fluendo.com>
24954 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24955 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24956 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24957 (gst_fdsrc_get_property), (gst_fdsrc_create):
24958 * gst/elements/gstfdsrc.h:
24959 Properly implement fdsrc. Removed signal and timeout,
24960 better implemented somewhere else.
24962 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24964 * docs/gst/tmpl/.cvsignore:
24965 * docs/gst/tmpl/gstimplementsinterface.sgml:
24966 * gst/gstinterface.c:
24969 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24971 * docs/gst/gstreamer-sections.txt:
24972 * docs/gst/tmpl/.cvsignore:
24973 * docs/gst/tmpl/gstenumtypes.sgml:
24974 remove obsolete doc file
24976 2005-09-21 David Schleef <ds@schleef.org>
24978 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24979 little beer, fix a little leak.
24981 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24983 * docs/gst/gstreamer-docs.sgml:
24984 * docs/gst/gstreamer-sections.txt:
24985 * docs/gst/tmpl/.cvsignore:
24989 * gst/gstelement.h:
24990 * gst/gstindex.c: (gst_index_class_init):
24992 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24993 (gst_index_factory_class_init), (gst_index_factory_init),
24994 (gst_index_factory_finalize), (gst_index_factory_new),
24995 (gst_index_factory_destroy), (gst_index_factory_find),
24996 (gst_index_factory_create), (gst_index_factory_make):
24997 * gst/gstindexfactory.h:
24998 * gst/gstpluginfeature.c:
24999 * gst/gstpluginfeature.h:
25000 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25001 more docs inlined, splitted gstindex.{c,h}
25003 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25005 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25008 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25010 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25011 Set sync to FALSE by default.
25013 2005-09-20 Wim Taymans <wim@fluendo.com>
25015 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25016 (gst_base_sink_init):
25017 Make sync property settable from subclass.
25019 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25020 (gst_fake_sink_change_state):
25021 Set sync to FALSE by default.
25023 2005-09-20 Wim Taymans <wim@fluendo.com>
25025 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25026 * tools/gst-launch.c: (main):
25027 The timeout handler should have lower priority than the source
25028 so we don't timeout before popping a message with 0 timeout.
25029 Dump error messages after failed state change.
25031 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25033 * tools/gst-inspect.c: (print_element_properties_info):
25036 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25038 * check/gst/gstevent.c:
25039 * gst/elements/gstfakesink.c:
25040 * gst/elements/gstfakesink.h:
25041 remove the sync property from fakesink.
25042 has the side effect of setting sync TRUE
25043 for fakesink, which is a change. Anyone who knows how
25044 to fix this nicely in a GObject-y way, feel free.
25046 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25048 * docs/gst/gstreamer-docs.sgml:
25049 remove probe refsection
25051 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25053 * check/Makefile.am:
25054 disable valgrinding the controller test again
25055 * docs/gst/gstreamer-sections.txt:
25056 update for api-changes
25058 2005-09-20 Wim Taymans <wim@fluendo.com>
25060 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25061 (gst_base_sink_set_property), (gst_base_sink_get_property),
25062 (gst_base_sink_do_sync):
25063 * gst/base/gstbasesink.h:
25064 Added sync property to basesink to disable clock sync.
25066 2005-09-20 Andy Wingo <wingo@pobox.com>
25068 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25069 eating the caller's refcount.
25071 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25072 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25075 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25076 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25077 of GLib 2.8 public, so we can know which refcount to check in
25080 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25081 (gst_object_init): Only set the gst refcount if we're going ahead
25082 with the refcount hack.
25084 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25086 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25087 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25088 more leaks plumbed, added more debug-logging
25092 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25094 * gst/gstmessage.c:
25095 remove include of gstmemchunk.h
25097 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25099 * gst/gstclock.c: (_gst_clock_id_free):
25100 Commit from the Political Party For More Atomic CVS Commits,
25101 so that people don't waste too much of their day fishing
25102 out obvious leaks out of massive commits.
25103 Oh, and fix a pretty damn obvious leak in the memchunk
25106 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25108 * check/Makefile.am:
25109 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25110 plug mem-leak, re-add to valgrindable tests
25112 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25115 unbreak the build for those who have chronic arthritis
25116 and typing "make check" is just too taxing on the hands
25118 2005-09-20 Andy Wingo <wingo@pobox.com>
25120 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25121 really want it out, you should fix plugins at the same time.
25123 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25126 * docs/gst/gstreamer-sections.txt:
25128 added missing symbols to api docs
25129 disable ref-count hack if we have glib >= 2.8
25131 2005-09-19 David Schleef <ds@schleef.org>
25133 * docs/gst/Makefile.am: Ignore a few more internal headers
25134 * docs/gst/gstreamer-docs.sgml: Remove old sections
25135 * docs/gst/gstreamer-sections.txt: Remove old sections
25136 * docs/gst/tmpl/gstobject.sgml: update
25137 * docs/gst/tmpl/gstplugin.sgml: update
25138 * docs/gst/tmpl/gstpluginfeature.sgml: update
25139 * docs/random/ds/0.9-suggested-changes: update.
25140 * gst/Makefile.am: remove memchunk and trashstack, since they're
25142 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25143 * gst/gst.h: don't include some headers
25144 * gst/gstchildproxy.c: add gstmarshal.h
25145 * gst/gstclock.c: Don't use memchunks
25146 * gst/gstminiobject.c: Add some docs
25147 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25148 * gst/gstobject.h: same
25149 * gst/gstplugin.c: include gstmacros.h
25150 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25151 * gst/gstquery.c: don't use memchunks
25152 * gst/gstregistry.c: rename gst_registry_deinit()
25153 * gst/gstregistry.h: same
25155 2005-09-19 David Schleef <ds@schleef.org>
25157 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25158 * docs/libs/gstreamer-libs-sections.txt:
25159 * docs/libs/tmpl/gstgetbits.sgml:
25160 * docs/libs/tmpl/gstputbits.sgml:
25162 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25164 * win32/gstenumtypes.c:
25165 * win32/gstenumtypes.h:
25168 2005-09-19 Wim Taymans <wim@fluendo.com>
25170 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25171 Automatically PAUSE and RESUME a pipeline when a flushing seek
25174 2005-09-19 Andy Wingo <wingo@pobox.com>
25176 * gst/gstregistry.h: Spacing fixen.
25178 2005-09-19 Wim Taymans <wim@fluendo.com>
25180 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25181 Handle state change failure more correctly.
25183 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25185 * check/Makefile.am:
25186 * check/pipelines/cleanup.c: (run_pipeline):
25187 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25189 enable cleanup again after fixing the leak
25191 some more info on docs
25193 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25195 * check/Makefile.am:
25196 re-enable tests now that leaks are plugged
25198 * check/gst/gstbin.c:
25199 * check/gst/gstpipeline.c:
25200 add some more tests while fixing leaks
25201 * common/check.mak:
25202 make sure binaries are uptodate when valgrinding/gdbing
25204 * gst/gstelementfactory.c:
25205 remove a ref too many, and add a FIXME for when we get
25206 round to disposing of classes
25208 fix the refcounting when loading a plugin from a file and
25209 the code pretends that the pointer is the same even though
25210 of course it can change
25211 * gst/gstpluginfeature.c:
25212 unref plugins marked cached (a bit confusing as a name)
25213 as the docs state should be done
25214 various doc additions to explain refcounting
25215 * gst/gstregistry.c:
25216 * gst/gstregistryxml.c:
25219 2005-09-19 Wim Taymans <wim@fluendo.com>
25221 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25222 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25223 (send_messages), (GST_START_TEST), (gstbus_suite):
25224 * check/gst/gstpipeline.c: (GST_START_TEST):
25225 * check/pipelines/cleanup.c: (run_pipeline):
25226 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25228 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25229 (gst_bus_source_check), (gst_bus_source_dispatch),
25230 (gst_bus_create_watch), (gst_bus_add_watch_full),
25231 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25233 * tools/gst-launch.c: (event_loop):
25234 * tools/gst-md5sum.c: (event_loop):
25235 GstBusHandler -> GstBusFunc, return value has the same meaning as
25236 any other GSource (FALSE == remove source).
25237 _add_watch() and _add_watch_full() now take a MessageType mask to
25238 only handle specific types of messages.
25239 _poll() returns the GstMessage instead of the message type to avoid
25241 _have_pending() takes a MessageType mask now too.
25242 Added testsuite for multiple bus watches.
25243 Fix testsuites and applications for new bus API.
25245 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25247 * check/Makefile.am:
25248 mark a bunch of the tests as to fix until we fix them
25250 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25252 * common/check.mak:
25253 use GST_PLUGIN settings for valgrind tests as well, so we're
25254 valgrinding the correct thing
25255 * gst/gst.c: (init_post):
25258 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25260 * gst/gst.c: (init_post), (gst_deinit):
25261 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25262 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25263 * gst/gstindex.c: (gst_index_factory_class_init),
25264 (gst_index_factory_finalize):
25265 * gst/gstobject.c: (gst_object_dispose):
25266 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25267 (gst_plugin_load_file), (gst_plugin_desc_free):
25268 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25269 (gst_plugin_feature_finalize):
25270 * gst/gstregistry.c: (gst_registry_class_init),
25271 (gst_registry_init), (gst_registry_finalize),
25272 (gst_registry_get_default), (gst_registry_deinit):
25273 * gst/gstregistry.h:
25274 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25275 various cleanups and memleak plugging. make valgrind is happy now.
25277 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25279 * common/check.mak:
25280 add a check-valgrind target
25282 2005-09-18 David Schleef <ds@schleef.org>
25284 * tools/gst-inspect.c: Revert the GOption code.
25286 2005-09-17 David Schleef <ds@schleef.org>
25288 * check/Makefile.am: Fix environment variables.
25289 * check/gst/gstplugin.c: Fix for API changes.
25290 * tools/gst-inspect.c: Fix for API changes.
25291 * tools/gst-xmlinspect.c: Fix for API changes.
25292 * gst/gstelementfactory.c:
25295 * gst/gstpluginfeature.c:
25296 * gst/gstpluginfeature.h:
25297 * gst/gstregistry.c:
25298 * gst/gstregistry.h:
25299 * gst/gstregistryxml.c:
25300 * gst/gsttypefind.c:
25301 * gst/gsttypefindfactory.c:
25302 * gst/indexers/gstfileindex.c:
25303 * gst/indexers/gstmemindex.c:
25304 * gst/schedulers/Makefile.am:
25305 Change registry to keep track of both plugins and features,
25306 removing the feature tracking from plugins themselves.
25308 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25310 * check/Makefile.am:
25311 * tools/gst-register.1.in:
25312 remove gst-register
25314 2005-09-15 David Schleef <ds@schleef.org>
25316 * check/gst/gstplugin.c:
25317 * gst/gstelementfactory.c:
25319 * gst/gstpluginfeature.c:
25320 * gst/gstregistry.c:
25321 Getting tired of debugging. Disabled all the unreffing of
25322 plugins and features, which fixes the segfaults, but of
25323 course leaks like crazy. At least playbin works.
25325 2005-09-15 David Schleef <ds@schleef.org>
25327 * check/gst/gstplugin.c: (register_check_elements),
25328 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25330 * gst/elements/gsttypefindelement.c: Fix refcounting.
25331 * gst/gsttypefind.c:
25332 * gst/gsttypefindfactory.c:
25333 * gst/gsttypefindfactory.h:
25335 2005-09-15 David Schleef <ds@schleef.org>
25337 * gst/gstindex.c: get refcounting correct.
25338 * gst/gstregistry.c: Handle the case where a feature/plugin is
25341 2005-09-15 David Schleef <ds@schleef.org>
25343 * check/Makefile.am:
25344 * check/gst/gstplugin.c: Add test
25345 * gst/gstplugin.c: Fix problems noticed by testsuite
25347 * gst/gstregistry.c:
25348 * gst/gstregistry.h:
25350 2005-09-15 David Schleef <ds@schleef.org>
25352 * gst/gstplugin.c: Implement semi-decent recounting and locking
25353 in plugins and plugin features.
25355 * gst/gstpluginfeature.c:
25356 * gst/gstpluginfeature.h:
25357 * gst/gstregistry.c:
25359 2005-09-15 Michael Smith <msmith@fluendo.com>
25361 * gst/gstregistry.c: (gst_registry_get_feature_list):
25362 Implement this. Makes oggdemux work; decodebin still broken.
25364 2005-09-14 David Schleef <ds@schleef.org>
25366 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25368 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25369 * gst/check/Makefile.am:
25370 * libs/gst/controller/Makefile.am:
25371 * libs/gst/dataprotocol/Makefile.am:
25373 2005-09-14 David Schleef <ds@schleef.org>
25375 * configure.ac: Remove getbits library. Nothing uses it, and
25376 it should be in something like liboil if someone did want
25378 * libs/gst/Makefile.am:
25379 * libs/gst/getbits/Makefile.am:
25380 * libs/gst/getbits/gbtest.c:
25381 * libs/gst/getbits/getbits.c:
25382 * libs/gst/getbits/getbits.h:
25383 * libs/gst/getbits/gstgetbits_generic.c:
25384 * libs/gst/getbits/gstgetbits_i386.s:
25385 * libs/gst/getbits/gstgetbits_inl.h:
25387 2005-09-14 David Schleef <ds@schleef.org>
25389 * gst/Makefile.am: Dist glib-compat.h
25391 2005-09-14 David Schleef <ds@schleef.org>
25393 * configure.ac: Remove gst/registries, since it's no longer used.
25394 * gst/registries/Makefile.am:
25395 * gst/registries/gstlibxmlregistry.c:
25396 * gst/registries/gstlibxmlregistry.h:
25397 * gst/registries/gstxmlregistry.c:
25398 * gst/registries/gstxmlregistry.h:
25399 * gst/registries/registrytest.c:
25401 2005-09-14 David Schleef <ds@schleef.org>
25403 * gst/glib-compat.h:
25404 * gst/gstregistryxml.c:
25405 Convergence is near. Seriously.
25407 2005-09-14 David Schleef <ds@schleef.org>
25409 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25410 * gst/glib-compat.h:
25411 Attempt #4 to appease the buildbots.
25413 2005-09-14 David Schleef <ds@schleef.org>
25415 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25418 2005-09-14 David Schleef <ds@schleef.org>
25420 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25423 2005-09-14 David Schleef <ds@schleef.org>
25425 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25428 2005-09-14 David Schleef <ds@schleef.org>
25430 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25431 * gst/glib-compat.h: Add some functions that are in newer versions
25432 of glib than we care to require.
25433 * gst/gstregistryxml.c: Use them.
25435 2005-09-14 David Schleef <ds@schleef.org>
25437 * po/POTFILES.in: remove gst-register.c
25439 2005-09-14 David Schleef <ds@schleef.org>
25441 * docs/gst/gstreamer-docs.sgml:
25442 * docs/gst/gstreamer-sections.txt:
25443 * docs/gst/gstreamer.types:
25444 * docs/gst/tmpl/gstelement.sgml:
25445 * docs/gst/tmpl/gstplugin.sgml:
25446 * docs/gst/tmpl/gstpluginfeature.sgml:
25447 Documentation updates for registry changes.
25449 2005-09-14 David Schleef <ds@schleef.org>
25451 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25452 because we don't require glib-2.8.
25454 2005-09-14 David Schleef <ds@schleef.org>
25456 * gst/gstregistryxml.c: Added. Essentially moved out of the
25457 registries directory.
25459 2005-09-14 David Schleef <ds@schleef.org>
25461 * check/Makefile.am:
25462 * check/generic/states.c:
25466 * gst/gst_private.h:
25467 * gst/gstelementfactory.c:
25472 * gst/gstpluginfeature.c:
25473 * gst/gstpluginfeature.h:
25474 * gst/gstregistry.c:
25475 * gst/gstregistry.h:
25476 * gst/gstregistrypool.c: remove
25477 * gst/gstregistrypool.h: remove
25478 * gst/gsttypefind.c:
25479 * gst/gsttypefindfactory.c:
25481 * tools/Makefile.am:
25482 * tools/gst-compprep.c:
25483 * tools/gst-inspect.c:
25484 * tools/gst-register.c: remove
25485 * tools/gst-xmlinspect.c:
25486 Registry rewrite. Changes registry from being a file created
25487 by a tool into a simple cache file created automatically by
25488 libgstreamer. Removed gst-register (because it's no longer
25489 needed). Remove registry pools, because we only have one
25490 registry implementation (XML). Fix up other subsystems as
25493 2005-09-13 Michael Smith <msmith@fluendo.com>
25495 * gst/gstconfig.h.in:
25496 Don't Use windows linking attributes for MinGW. Fixes #316157
25498 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25500 * gst/gstutils.c: (set_state_async_thread_func),
25501 (gst_element_set_state_async):
25502 Apparently people think it's better if this function doesn't
25503 try to set the state to whatever state was asked for on the first
25504 call to this function for any object. Seriously.
25506 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25508 * check/gst/gstpipeline.c: (GST_START_TEST):
25509 * docs/gst/gstreamer-sections.txt:
25510 * gst/gstutils.c: (set_state_async_thread_func),
25511 (gst_element_set_state_async):
25513 add a "gst_element_set_state_async" method that
25514 sets the state and starts a thread to make sure the state
25515 change completes as best as it can
25517 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25519 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25520 codify design+behaviour in testsuite after discussion
25522 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25524 * docs/gst/tmpl/gstelement.sgml:
25525 * docs/manual/appendix-quotes.xml:
25527 * gst/gstelement.c: (gst_element_set_state):
25530 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25532 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25533 (gst_base_transform_prepare_output_buf),
25534 (gst_base_transform_handle_buffer):
25535 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25536 (gst_capsfilter_prepare_buf):
25537 Remove the requirement for sub-classes to call the parent
25538 implementation of prepare_output_buffer with a wrapper function.
25540 * gst/gsttaglist.h:
25541 * gst/gsttagsetter.h:
25542 Fix #define wrapper
25544 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25546 * docs/gst/gstreamer-sections.txt:
25549 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25551 * docs/gst/gstreamer-sections.txt:
25552 * docs/gst/tmpl/gstelement.sgml:
25553 * docs/gst/tmpl/gstplugin.sgml:
25554 * gst/gstminiobject.c:
25556 docs now stop throwing warnings
25558 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25560 * docs/gst/gstreamer-sections.txt:
25561 * docs/gst/gstreamer.types:
25562 * docs/gst/tmpl/gstpad.sgml:
25563 * docs/gst/tmpl/gsttypes.sgml:
25564 * gst/base/gstadapter.h:
25565 * gst/base/gstbasesink.h:
25566 * gst/base/gstbasesrc.h:
25572 * gst/gstelement.h:
25574 * gst/gstmessage.h:
25576 * gst/gststructure.c:
25577 * gst/registries/gstlibxmlregistry.h:
25578 various documentation fixes
25580 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25582 * docs/gst/gstreamer-sections.txt:
25583 * docs/gst/tmpl/gstvalue.sgml:
25584 rearrange gstvalue section
25585 * gst/gstutils.c: (gst_element_state_get_name):
25587 * gst/gstvalue.c: (_gst_value_initialize):
25591 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25593 * check/gst-libs/controller.c:
25594 Header include fix.
25595 * gst/base/gstbasetransform.c:
25596 (gst_base_transform_default_prepare_buf),
25597 (gst_base_transform_handle_buffer):
25598 * gst/base/gstbasetransform.h:
25599 Some more basetransform changes and fixes to enable sub-classes
25600 that modify buffer metadata only.
25601 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25602 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25603 (gst_capsfilter_prepare_buf):
25604 If the output pad has fixed allowed caps and input buffers
25605 don't have any, set the fixed caps on outgoing buffers.
25607 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25608 * check/elements/identity.c: (GST_START_TEST):
25609 Make the error a little clearer when the test fails because
25610 identity made a copy of the buffer.
25611 * docs/gst/gstreamer-sections.txt:
25612 New symbols in gstbasetransform.h
25613 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25614 (gst_base_transform_init), (gst_base_transform_transform_size),
25615 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25616 (gst_base_transform_default_prepare_buf),
25617 (gst_base_transform_get_unit_size),
25618 (gst_base_transform_buffer_alloc),
25619 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25620 (gst_base_transform_change_state),
25621 (gst_base_transform_set_passthrough),
25622 (gst_base_transform_set_in_place),
25623 (gst_base_transform_is_in_place):
25624 * gst/base/gstbasetransform.h:
25625 Change BaseTransform to separate in_place operate from same_caps
25626 output. in_place implies that the element can perform the transform
25627 on incoming buffers in-place, even if the caps on the output are
25629 Sub-class elements can now implement special buffer allocation
25630 methods for outgoing buffers if they wish to.
25631 Big documentation addition.
25632 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25633 * gst/elements/gstelements.c:
25634 Changes for basetransform modifications.
25635 * gst/elements/Makefile.am:
25636 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25637 Compile fix. Extra debug output.
25639 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25641 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25643 add tests for valid pad naming
25644 * gst/check/gstcheck.c: (gst_check_log_message_func),
25645 (gst_check_log_critical_func):
25647 remove printing of code, it is fragile when the code contains
25648 % and the line number is enough info
25649 * gst/check/gstcheck.h:
25650 * gst/gstpad.c: (gst_pad_template_new):
25653 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25656 say what CHECK flags we use
25657 * docs/libs/gstreamer-libs.types:
25658 * libs/gst/controller/Makefile.am:
25659 * libs/gst/controller/gst-controller.c:
25660 * libs/gst/controller/gst-controller.h:
25661 * libs/gst/controller/gst-helper.c:
25662 * libs/gst/controller/gst-interpolation.c:
25663 * libs/gst/controller/gstcontroller.c:
25664 * libs/gst/controller/gsthelper.c:
25665 * libs/gst/controller/gstinterpolation.c:
25666 * tools/gst-inspect.c: (print_plugin_info):
25667 we don't use dashes in header names
25669 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25671 * check/Makefile.am:
25672 * check/gst/.cvsignore:
25673 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25674 (gst_pipeline_suite), (main):
25675 adding a test for pipelines and state changes
25676 * gst/gstutils.c: (get_state_func):
25678 * gstreamer.spec.in:
25681 2005-09-08 Michael Smith <msmith@fluendo.com>
25683 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25684 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25685 (gst_file_src_is_seekable), (gst_file_src_get_size),
25686 (gst_file_src_start):
25687 * gst/elements/gstfilesrc.h:
25688 Various fixes for unseekable, unmmapable, and non-normal files, so
25689 that fallback to read() rather than mmap() works.
25690 * gst/gstevent.c: (gst_event_new_newsegment):
25691 Allow newsegment events with segment_start == segment_end, as will
25692 correctly happen if you use filesrc on a zero-size file, for
25695 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25697 * gst/gstplugin.c: (gst_plugin_load_file):
25698 Call g_module_close when we don't load the module
25700 * gst/registries/gstlibxmlregistry.c:
25701 (gst_xml_registry_get_property):
25702 Port leak fix from 0.8
25704 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25706 * docs/gst/gstreamer-docs.sgml:
25707 * docs/gst/tmpl/.cvsignore:
25708 * docs/gst/tmpl/gsttrace.sgml:
25709 * docs/gst/tmpl/gsttrashstack.sgml:
25712 * gst/gstelement.h:
25714 * gst/gstmessage.c:
25715 * gst/gstmessage.h:
25718 * gst/gsttaginterface.c:
25719 * gst/gsttaginterface.h:
25720 * gst/gsttaglist.c:
25721 * gst/gsttaglist.h:
25722 * gst/gsttagsetter.c:
25723 * gst/gsttagsetter.h:
25726 * gst/gsttrashstack.c:
25727 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25728 inlined docs for gsttrace, gsttrashstack
25730 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25733 * gst/elements/gstbufferstore.h:
25734 * gst/elements/gsttypefindelement.c:
25735 * gst/elements/gsttypefindelement.h:
25737 * gst/gsttypefind.c:
25738 * gst/gsttypefind.h:
25739 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25740 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25741 (gst_type_find_factory_dispose),
25742 (gst_type_find_factory_unload_thyself),
25743 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25744 (gst_type_find_factory_get_caps),
25745 (gst_type_find_factory_get_extensions),
25746 (gst_type_find_factory_call_function):
25747 * gst/gsttypefindfactory.h:
25748 * gst/registries/gstlibxmlregistry.c:
25749 * gst/registries/gstxmlregistry.c:
25750 splitted gsttypefind into gsttypefind, gsttypefindfactory
25752 2005-09-07 Andy Wingo <wingo@pobox.com>
25754 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25755 condition whereby the pad's task function is entered before the
25756 pad_mode variable was set.
25758 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25760 * gst/gstpad.c: (gst_pad_alloc_buffer):
25761 Catch misbehaving pad_alloc functions that don't
25762 set up caps and do it for them.
25764 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25766 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25767 test for pipe!=NULL
25768 * docs/gst/tmpl/.cvsignore:
25769 * docs/gst/tmpl/gstmemchunk.sgml:
25770 * docs/gst/tmpl/gstparse.sgml:
25771 * docs/gst/tmpl/gsttaglist.sgml:
25772 * docs/gst/tmpl/gsttagsetter.sgml:
25773 * docs/gst/tmpl/gsttypefind.sgml:
25774 * docs/gst/tmpl/gsttypefindfactory.sgml:
25775 * gst/gstmemchunk.c:
25778 * gst/gsttaginterface.c:
25779 * gst/gsttypefind.c:
25780 * gst/gsttypefind.h:
25783 === release 0.9.2 ===
25785 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25790 releasing 0.9.2, "South"
25792 2005-09-05 Andy Wingo <wingo@pobox.com>
25794 * gst/registries/gstxmlregistry.h:
25795 * gst/registries/gstxmlregistry.c: Um... resurrect...
25797 * gst/registries/gstxmlregistry.h:
25798 * gst/registries/gstxmlregistry.c: and update to newer API.
25799 Incidentally they should be a bit faster now that they don't have
25802 2005-09-05 Andy Wingo <wingo@pobox.com>
25804 * gst/registries/gstxmlregistry.h:
25805 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25806 replaced by the libxml registry a while back
25808 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25810 * docs/gst/tmpl/gstplugin.sgml:
25811 * gst/elements/gstelements.c:
25813 * gst/gstplugin.c: (gst_plugin_register_func),
25814 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25815 (gst_plugin_get_source):
25817 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25818 (gst_xml_registry_save_plugin):
25819 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25820 (gst_xml_registry_save_plugin):
25821 * tools/gst-inspect.c: (print_plugin_info):
25822 add a "source" plugin description field, to represent the source
25823 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25824 will set it to PACKAGE, which is automake's idea of the name of
25825 the source project.
25827 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25832 * docs/Makefile.am:
25833 * docs/faq/Makefile.am:
25834 * docs/gst/tmpl/gstelement.sgml:
25835 * docs/gst/tmpl/gsttypes.sgml:
25836 * docs/htmlinstall.mak:
25837 * docs/manual/Makefile.am:
25838 * docs/pwg/Makefile.am:
25839 reorganize doc build a little
25840 split out docbook and gtk-doc stuff
25841 have two separate --enable's and enable them through autogen
25842 but disable by default in configure (to be similar to other
25844 * gstreamer.spec.in:
25845 clean up docs install
25863 translation updates
25865 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25867 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25870 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25871 (gst_fake_sink_change_state):
25872 Make state change function thread-safe.
25874 * gst/gstpad.c: (gst_pad_alloc_buffer):
25875 Set offset on generic buffer allocated by fallback.
25877 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25879 * docs/gst/gstreamer-sections.txt:
25880 * docs/gst/tmpl/gstelement.sgml:
25882 * libs/gst/controller/gst-controller.c:
25883 (gst_controlled_property_set_interpolation_mode),
25884 (gst_controlled_property_new),
25885 (gst_controller_find_controlled_property):
25886 run the wingo-magic script against the docs
25888 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25890 * docs/gst/gstreamer-docs.sgml:
25891 * docs/gst/gstreamer-sections.txt:
25892 * docs/gst/tmpl/.cvsignore:
25893 * docs/gst/tmpl/gstelementdetails.sgml:
25894 * docs/gst/tmpl/gstelementfactory.sgml:
25897 * gst/gstelementfactory.c:
25898 * gst/gstelementfactory.h:
25899 merged elementdetails docs into elementfactory docs
25902 2005-09-02 Andy Wingo <wingo@pobox.com>
25904 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25905 consider this enum an enum and not a flags.
25907 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25909 * docs/gst/gstreamer-docs.sgml:
25910 * docs/gst/tmpl/.cvsignore:
25911 * docs/gst/tmpl/gstghostpad.sgml:
25912 * docs/gst/tmpl/gstiterator.sgml:
25913 * docs/gst/tmpl/gstmacros.sgml:
25914 * docs/gst/tmpl/gstrealpad.sgml:
25915 * docs/gst/tmpl/gstregistry.sgml:
25916 * docs/gst/tmpl/gstregistrypool.sgml:
25917 * docs/gst/tmpl/gststructure.sgml:
25918 * docs/gst/tmpl/gstsystemclock.sgml:
25919 * docs/gst/tmpl/gsttrace.sgml:
25920 * gst/gstghostpad.c:
25922 * gst/gstmemchunk.c:
25923 * gst/gstmemchunk.h:
25925 * gst/gstregistry.c:
25926 * gst/gstregistrypool.c:
25927 * gst/gststructure.c:
25928 * gst/gstsystemclock.c:
25931 2005-09-02 Andy Wingo <wingo@pobox.com>
25933 * gst/gstelement.h (GstState): Renamed from GstElementState,
25934 changed to be a normal enum instead of flags.
25935 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25936 munged to be GST_STATE_CHANGE_*.
25937 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25938 work with the new state representation.
25939 (GstStateChange): New enumeration of possible state transitions.
25940 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25941 (GstElementClass::change_state): Pass the GstStateChange along as
25942 an argument. Helps language bindings, so they don't have to use
25943 tricky lock-needing macros like GST_STATE_CHANGE ().
25945 * scripts/update-states (file): New script. Run it on a file to
25946 update it for state naming and API changes. Updates files in
25949 * All files updated for the new API.
25951 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25953 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25954 * gst/gstutils.c: (gst_util_set_value_from_string),
25955 (gst_util_set_object_arg):
25956 fix a bunch of unchecked return values
25957 * tools/gst-complete.c: (main):
25958 * gstreamer.spec.in:
25961 2005-09-01 Wim Taymans <wim@fluendo.com>
25963 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25964 (gst_base_sink_event), (gst_base_sink_do_sync),
25965 (gst_base_sink_handle_event):
25966 * gst/base/gstbasesink.h:
25967 Handle newsegments more correctly.
25972 * gst/gstevent.c: (gst_event_new_newsegment):
25973 A newsegment cannot have a start_time of -1
25975 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25977 * win32/gstenumtypes.c:
25978 * win32/gstenumtypes.h:
25981 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25983 * libs/gst/controller/gst-controller.c:
25984 (gst_controlled_property_set_interpolation_mode),
25985 (gst_controlled_property_new):
25986 fixed boolean again
25988 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25990 * docs/faq/gst-uninstalled:
25995 * gst/gstutils.c: (gst_element_link_filtered):
25997 add gst_element_link_filtered
25999 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26001 * docs/gst/gstreamer-docs.sgml:
26002 * docs/gst/gstreamer-sections.txt:
26003 * docs/gst/tmpl/.cvsignore:
26004 * docs/gst/tmpl/gsterror.sgml:
26005 * docs/gst/tmpl/gstfilter.sgml:
26006 * docs/gst/tmpl/gsturihandler.sgml:
26007 * docs/gst/tmpl/gsturitype.sgml:
26008 * docs/gst/tmpl/gstutils.sgml:
26009 * docs/gst/tmpl/gstxml.sgml:
26014 * gst/gsturitype.c:
26017 inlined more docs, fixed double id-ref
26019 2005-08-31 Wim Taymans <wim@fluendo.com>
26021 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26022 (gst_base_transform_handle_buffer):
26023 Passthrough elements don't need the caps as they don't care.
26025 2005-08-31 Wim Taymans <wim@fluendo.com>
26027 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26028 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26029 Don't leak refcounts on buffers.
26031 2005-08-31 Wim Taymans <wim@fluendo.com>
26033 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26034 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26035 (gst_base_transform_chain), (gst_base_transform_change_state):
26036 * gst/base/gstbasetransform.h:
26037 Handle the case where we are not negotiated more gracefully.
26039 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26041 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26042 (gst_file_src_map_region):
26043 Set READONLY flag on mmap'ed buffers, otherwise
26044 gst_buffer_make_writable() won't work properly (#314708).
26046 2005-08-31 Wim Taymans <wim@fluendo.com>
26048 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26049 passthrough elements can even do inplace on non writable
26050 buffers (as they don't touch them).
26052 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26054 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26055 (gst_test_mono_source_set_property),
26056 (gst_test_mono_source_class_init), (GST_START_TEST),
26057 (gst_controller_suite):
26058 more tests (hehe I have the most)
26060 describe popping messages whenusing mulltiple sources
26061 * libs/gst/controller/gst-controller.c:
26062 (gst_controlled_property_set_interpolation_mode),
26063 (gst_controlled_property_new):
26064 * libs/gst/controller/gst-controller.h:
26065 * libs/gst/controller/gst-interpolation.c:
26066 implement boolean properties
26068 2005-08-31 Wim Taymans <wim@fluendo.com>
26070 * gst/gstminiobject.c: (gst_mini_object_ref):
26071 Cannot assert that the refcount has to be positive
26072 since a disposed object can be resurrected.
26074 2005-08-31 Wim Taymans <wim@fluendo.com>
26076 * gst/gstpad.c: (gst_pad_init):
26077 Revert change, need to first fix badly behaving
26080 2005-08-30 Wim Taymans <wim@fluendo.com>
26082 * check/elements/fakesrc.c: (setup_fakesrc):
26083 * check/elements/identity.c: (setup_identity):
26084 Activate pads before using them.
26086 2005-08-30 Wim Taymans <wim@fluendo.com>
26088 * gst/base/gstadapter.c: (gst_adapter_flush):
26089 Flushing out 0 bytes is ok for this function.
26091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26092 no newsegment gives a warning and sets the start/stop to
26095 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26096 (gst_base_transform_set_passthrough):
26099 * gst/gstminiobject.c: (gst_mini_object_ref):
26100 Check refcount here too.
26102 * gst/gstpad.c: (gst_pad_init):
26103 Pads are initially flushing and refusing data.
26105 * gst/gstutils.c: (gst_element_link_pads_filtered):
26106 When adding a capsfilter element make sure it has the
26107 same state as the parent bin.
26109 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26111 * docs/gst/tmpl/.cvsignore:
26112 * docs/gst/tmpl/gstformat.sgml:
26113 * docs/gst/tmpl/gstversion.sgml:
26117 * gst/gstversion.h.in:
26118 more docs and two more inlined
26120 2005-08-30 Wim Taymans <wim@fluendo.com>
26122 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26123 Don't sync to clock.
26125 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26127 * docs/gst/gstreamer-sections.txt:
26128 ultral33t func10ns deserve to appear in the docs actually
26129 * docs/gst/tmpl/.cvsignore:
26130 * docs/gst/tmpl/gstcompat.sgml:
26131 * docs/gst/tmpl/gstconfig.sgml:
26132 * gst/check/gstcheck.c:
26134 * gst/gstconfig.h.in:
26137 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26139 * docs/gst/tmpl/.cvsignore:
26140 * docs/gst/tmpl/gstquery.sgml:
26141 * docs/gst/tmpl/gstutils.sgml:
26144 inlined and extended docs
26146 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26148 * check/gst-libs/controller.c: (GST_START_TEST),
26149 (gst_controller_suite):
26151 * docs/gst/tmpl/gstutils.sgml:
26152 * docs/libs/gstreamer-libs-sections.txt:
26153 * docs/libs/tmpl/gstdataprotocol.sgml:
26155 * examples/controller/audio-example.c: (main):
26156 controller example works now
26159 * tools/gst-inspect.c: (print_element_properties_info):
26160 show param spec flags
26162 2005-08-29 Andy Wingo <wingo@pobox.com>
26164 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26166 2005-08-28 Andy Wingo <wingo@pobox.com>
26168 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26169 as having two arguments instead of just one. Allows superclasses
26170 to access information on subclasses -- see the terrible for() loop
26171 in gtype.c:g_type_create_instance for the reason why. All callers
26174 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26176 * docs/design/part-messages.txt:
26178 * docs/gst/tmpl/.cvsignore:
26179 * docs/gst/tmpl/gstcaps.sgml:
26180 * docs/gst/tmpl/gstclock.sgml:
26186 * gst/gstmessage.c:
26187 added descriptions for bus and message
26188 inline caps and clock docs
26190 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26192 * gst/gstmessage.c:
26193 * gst/gstmessage.h:
26196 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26198 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26201 2005-08-26 Andy Wingo <wingo@pobox.com>
26203 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26204 element_set_state's return val.
26205 (test_2_elements): Add test that's been disabled for months.
26207 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26208 can-activate-pull properties.
26210 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26211 can-activate-pull properties. Implement is_seekable so fakesrc can
26212 operate in pull mode.
26214 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26216 (gst_base_sink_activate, gst_base_sink_activate_pull)
26217 (gst_base_sink_activate_push): Make activation mode choosing work.
26219 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26220 is right. Make pull mode work. Post an eos before pausing in pull
26222 (gst_base_sink_change_state): Pay attention to the core's
26223 change_state() return val.
26225 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26226 has-getrange properties. Cleanups.
26228 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26229 has_getrange and replace with can_activate_pull and
26232 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26233 locking comments. Remove has_loop, has_chain and replace with
26234 can_activate_pull and can_activate_push.
26236 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26239 * examples/Makefile.am:
26240 * examples/metadata/Makefile.am:
26241 * examples/metadata/read-metadata.c: (message_loop),
26242 (have_pad_handler), (make_pipeline), (print_tag), (main):
26243 Add metadata reading example that loops over a list of filenames,
26244 dumping any tags found.
26246 * gst/gstbus.c: (gst_bus_dispose):
26247 * gst/gstelement.c: (gst_element_dispose):
26248 Release a few potentially-held references in dispose.
26250 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26252 * docs/gst/tmpl/gstminiobject.sgml:
26253 do *not* add tmpl/*.sgml files to CVS!
26255 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26257 * libs/gst/bytestream/.cvsignore:
26258 * libs/gst/bytestream/Makefile.am:
26259 * libs/gst/bytestream/adapter.c:
26260 * libs/gst/bytestream/adapter.h:
26261 * libs/gst/bytestream/bytestream.c:
26262 * libs/gst/bytestream/bytestream.h:
26263 * libs/gst/bytestream/filepad.c:
26264 * libs/gst/bytestream/filepad.h:
26265 removing obsolete files
26267 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26269 * docs/gst/gstreamer-docs.sgml:
26270 * docs/libs/gstreamer-libs-docs.sgml:
26271 disabed additional index entries again, as this makes docs-gen just
26272 slow and they aren't useful yet
26273 * docs/libs/gstreamer-libs-sections.txt:
26274 little -section.txt cleanup for libs
26276 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26278 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26279 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26280 fix up some debugging
26281 (gst_base_transform_get_unit_size),
26282 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26283 (gst_base_transform_handle_buffer):
26284 * gst/base/gstbasetransform.h:
26285 handle and store timed NEWSEGMENT events so that subclasses that
26286 calculate time by counting samples have a segment_start time they
26287 need to add to their timestamps - see audioresample
26289 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26292 removed ';' from the end of macro defs
26293 * docs/gst/gstreamer-docs.sgml:
26294 * docs/gst/gstreamer-sections.txt:
26295 * docs/gst/tmpl/.cvsignore:
26297 * gst/gstelement.c: (gst_element_class_init),
26298 (gst_element_set_state), (activate_pads),
26299 (gst_element_save_thyself):
26300 * gst/gstevent.c: (gst_event_new_newsegment):
26302 * gst/gstiterator.c:
26303 * gst/gstiterator.h:
26306 * gst/gstutils.c: (gst_pad_query_convert):
26308 fixed parameter name mismatches between source, header and docs
26309 added some more docs, resolved the last batch of unused elements in
26310 docs (now someone needs to doc them)
26312 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26314 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26315 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26316 don't walk through the plugins backwards. Where is all this
26317 reversed logic coming from ?
26319 2005-08-25 Wim Taymans <wim@fluendo.com>
26321 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26322 (gst_base_transform_transform_size),
26323 (gst_base_transform_configure_caps),
26324 (gst_base_transform_get_unit_size),
26325 (gst_base_transform_buffer_alloc),
26326 (gst_base_transform_change_state):
26327 * gst/base/gstbasetransform.h:
26328 Cache caps unit_size.
26329 Make sure we cannot negotiate up and downstream at the
26332 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26334 * gst/gst.c: (init_pre), (init_post):
26335 register the installed plugin path after the env var
26336 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26337 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26338 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26339 directories, so the tests can prefer uninstalled over installed
26341 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26343 * gst/base/gstbasetransform.h:
26348 2005-08-25 Wim Taymans <wim@fluendo.com>
26350 * gst/gstbin.c: (bin_bus_handler):
26351 Be a bit more conservative about the posted message.
26353 * gst/gstbus.c: (gst_bus_post):
26354 Some cleanups, warn wrong return values.
26356 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26358 * check/gst/gstbin.c: (GST_START_TEST):
26359 * gst/gstbin.c: (bin_bus_handler):
26360 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26361 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26362 (gst_message_new_warning), (gst_message_new_tag),
26363 (gst_message_new_state_changed), (gst_message_new_segment_start),
26364 (gst_message_new_segment_done), (gst_message_new_custom):
26365 * gst/gstmessage.h:
26366 * tools/gst-launch.c: (event_loop):
26367 * tools/gst-md5sum.c: (event_loop):
26368 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26370 2005-08-25 Wim Taymans <wim@fluendo.com>
26372 * check/generic/states.c: (GST_START_TEST):
26373 Cleanup can be done at the end.
26375 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26376 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26377 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26378 Oh boy.. Thanks for finding this, Thomas.
26380 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26382 * docs/gst/gstreamer.types:
26383 added missing types
26385 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26387 * docs/gst/gstreamer-docs.sgml:
26388 * docs/gst/gstreamer-sections.txt:
26389 * docs/gst/tmpl/.cvsignore:
26391 * gst/gstiterator.c:
26393 * gst/registries/gstxmlregistry.h:
26394 added missing classes and symbols (123 more to go)
26395 removed removed symbols from section file
26396 fixed many doc-comments
26398 2005-08-24 Wim Taymans <wim@fluendo.com>
26400 * check/generic/states.c: (GST_START_TEST):
26401 Make sure all tasks are stopped.
26403 * check/gst/gstbin.c: (GST_START_TEST):
26404 Unref after usage for proper valgrinding.
26406 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26407 Really wait for the task to stop before destroying the
26410 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26411 (gst_queue_src_activate_push):
26412 Small cleanups. Don't stop the task when we did not start
26415 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26416 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26417 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26420 Protect the stream lock with the object lock.
26421 Disallow setting the stream lock when running.
26422 Add cleanup_all to wait for the threadpool to finish.
26423 Remove code to autoallocate a mutex if none was provided.
26424 Add _join() to wait for a task to stop.
26425 Protect the thread pool with a global lock.
26427 2005-08-24 Wim Taymans <wim@fluendo.com>
26429 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26430 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26431 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26432 * gst/base/gstbasesink.h:
26433 Handle newsegment events correctly.
26434 Drop buffers out of the segment range.
26436 2005-08-22 Andy Wingo <wingo@pobox.com>
26438 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26439 macro, implements an interface and gstimplementsinterface for a
26442 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26444 * check/Makefile.am:
26445 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26446 add a test that does a bunch of state changes on elements
26447 needs some fixing for valgrind
26448 * check/states/sinks.c: (gst_object_suite):
26451 add prototype for gst_caps_is_equal_fixed
26453 * gst/gstregistrypool.c:
26456 2005-08-24 Andy Wingo <wingo@pobox.com>
26458 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26459 convert a negative value. Doesn't make much sense. Mostly this is
26460 here to force callers to ensure -1 maps to -1.
26462 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26464 * docs/pwg/advanced-types.xml:
26465 Well done to Michael for catching my deliberate introduction
26466 of this spelling mistake.
26467 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26468 * gst/gstelement.h:
26469 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26470 unlink pads before removing the element from the bin.
26472 2005-08-24 Andy Wingo <wingo@pobox.com>
26474 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26475 the same thing as GST_DEBUG=*:4.
26476 (parse_debug_level, parse_debug_category): New helper parsers.
26478 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26480 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26481 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26482 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26483 (gst_base_transform_buffer_alloc),
26484 (gst_base_transform_handle_buffer):
26485 use gboolean return values and pointers to size so we can use the
26486 full GST_BUFFER_SIZE range (guint) for buffer sizes
26487 use GstPadDirection for transform_caps
26488 * gst/base/gstbasetransform.h:
26489 rename get_size to get_unit_size since that's what it is
26490 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26491 use GstPadDirection for transform_caps
26492 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26494 cleanup and debugging
26496 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26498 * gst/gstelement.c: (gst_element_class_init),
26499 (gst_element_set_state), (activate_pads),
26500 (gst_element_save_thyself):
26501 * tools/gst-compprep.c: (main):
26502 * tools/gst-inspect.c: (print_element_properties_info):
26503 * tools/gst-xmlinspect.c: (print_element_properties):
26504 Fixed long standing mem-leak
26506 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26508 * check/gst/gstbin.c: (GST_START_TEST):
26509 * gst/gstbin.c: (bin_bus_handler):
26510 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26511 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26512 (gst_message_new_warning), (gst_message_new_tag),
26513 (gst_message_new_state_changed), (gst_message_new_segment_start),
26514 (gst_message_new_segment_done), (gst_message_new_custom):
26515 * gst/gstmessage.h:
26516 * tools/gst-launch.c: (event_loop):
26517 * tools/gst-md5sum.c: (event_loop):
26518 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26519 that applications can sensibly post custom messages with references
26520 to their own objects.
26522 2005-08-24 Andy Wingo <wingo@pobox.com>
26524 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26527 2005-08-24 Wim Taymans <wim@fluendo.com>
26529 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26530 (gst_base_transform_transform_caps),
26531 (gst_base_transform_transform_size),
26532 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26533 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26534 (gst_base_transform_handle_buffer):
26535 * gst/base/gstbasetransform.h:
26536 Many fixes and new features added by Thomas. Can now also do
26537 transforms with variable sizes and a custom fixate_caps function.
26539 2005-08-24 Wim Taymans <wim@fluendo.com>
26541 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26545 Cast to ClockTime before formatting to time.
26550 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26552 * check/gst-libs/controller.c: (GST_START_TEST),
26553 (gst_controller_suite):
26554 * docs/gst/tmpl/gstcaps.sgml:
26555 * docs/gst/tmpl/gstghostpad.sgml:
26556 * docs/gst/tmpl/gstquery.sgml:
26557 * docs/gst/tmpl/gstutils.sgml:
26558 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26559 (gst_object_sink_values), (gst_object_get_value_arrays),
26560 (gst_object_get_value_array):
26561 gracefully handle helper method calls to objects that are not beeing
26562 controlled, added test case for that
26564 2005-08-23 Wim Taymans <wim@fluendo.com>
26566 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26567 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26568 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26569 (gst_event_parse_qos), (gst_event_new_seek),
26570 (gst_event_parse_seek):
26572 Some more debugging output and doc cleanups.
26574 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26575 Fix possible deadlock.
26577 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26579 * docs/gst/gstreamer-docs.sgml:
26580 * docs/gst/gstreamer-sections.txt:
26581 * docs/gst/gstreamer.types:
26582 * docs/gst/tmpl/.cvsignore:
26585 * gst/gstelement.c:
26587 added 100 symbols from gstreamer-unused.txt to the right sections
26588 fixed more broken comments
26589 added GstBus to docs
26591 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26593 * docs/gst/gstreamer-sections.txt:
26594 * docs/gst/tmpl/.cvsignore:
26595 * docs/gst/tmpl/gstbin.sgml:
26596 * docs/gst/tmpl/gstbuffer.sgml:
26597 * gst/base/gstbasesrc.c:
26598 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26601 * tools/gst-launch.1.in:
26602 inlined more doc comments, added missing comments and fixed comments
26605 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26607 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26611 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26613 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26614 * gst/gststructure.h:
26615 add a fixate function for booleans; add a FIXME that these func
26616 names should probably be gst_structure_fixate_*
26618 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26620 * docs/gst/gstreamer-docs.sgml:
26621 * docs/gst/gstreamer-sections.txt:
26623 * gst/gstbin.c: (gst_bin_get_type),
26624 (gst_bin_child_proxy_get_child_by_index),
26625 (gst_bin_child_proxy_get_children_count),
26626 (gst_bin_child_proxy_init):
26627 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26628 (gst_child_proxy_get_child_by_index),
26629 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26630 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26631 (gst_child_proxy_get), (gst_child_proxy_set_property),
26632 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26633 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26634 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26635 * gst/gstchildproxy.h:
26636 * gst/parse/grammar.y:
26637 * tools/gst-inspect.c: (print_interfaces),
26638 (print_element_properties_info), (print_element_info):
26639 ported gstchildproxy over from 0.8
26640 ported gst-inspect fixes and enhancements over from 0.8
26642 2005-08-22 Wim Taymans <wim@fluendo.com>
26644 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26645 (gst_base_transform_handle_buffer):
26646 Also call the transform function if we have ANY caps.
26648 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26651 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26653 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26654 Don't pretend to handle seek events if the source is not seekable
26656 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26659 Remove extra parameter to debug output
26661 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26662 (gst_base_src_do_seek), (gst_base_src_activate_push):
26663 Fix seek event handling.
26665 * gst/gstpipeline.c: (gst_pipeline_change_state):
26666 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26667 (gst_queue_src_activate_push):
26668 Don't start the src pad task on FLUSH_STOP if the pad
26672 2005-08-22 Wim Taymans <wim@fluendo.com>
26674 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26675 Added check for gst_static_caps_get() refcounting.
26677 2005-08-22 Wim Taymans <wim@fluendo.com>
26679 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26680 Make _static_caps_get() refcounting sane.
26682 * gst/gstelement.c: (gst_element_set_state):
26683 Add g_return_val_if_fail() to protect against segfaults.
26685 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26687 * docs/gst/tmpl/gstevent.sgml:
26690 inlined remaining docs, added missing doc comments
26692 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26694 * check/gst/gstbin.c: (GST_START_TEST):
26695 since we don't know when preroll is done, use refcount range
26697 * gst/check/gstcheck.h:
26698 add macro for checking refcount range
26700 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26702 * check/Makefile.am:
26703 clean up environment for when registry gets built versus
26704 when actual tests are run; valgrind seems to not report
26705 leaks if GST_PLUGIN_PATH is set to some specific values
26706 * check/gst/gstbin.c: (GST_START_TEST):
26707 add more refcounting checks; maybe this exposes a
26709 * common/check.mak:
26710 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26711 * gst/check/gstcheck.h:
26712 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26713 (gst_bin_change_state):
26714 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26715 add/fix debugging/whitespace
26717 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26719 * check/gst/gstevent.c: (event_probe), (test_event),
26721 Er, don't call gst_bin_watch_for_state_change you idiot.
26723 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26725 * check/Makefile.am:
26726 Use CHECK_CFLAGS and CHECK_LIBS
26727 * check/gst/gstevent.c: (event_probe), (test_event),
26730 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26731 (gst_base_src_start), (gst_base_src_stop),
26732 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26733 (gst_base_src_change_state):
26734 Sprinkle gst_base_src_stop liberally around error paths to fix
26735 problems reusing a source after failed state changes.
26736 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26737 (helper_find_suggest), (gst_type_find_helper):
26738 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26740 * docs/gst/tmpl/gstevent.sgml:
26741 Migrate part of the docs from the SGML file. Wait for ensonic to
26742 tell me how I did it wrong ;)
26743 * tools/gst-typefind.c: (main):
26744 Extra robustness to state changes between files.
26746 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26748 * check/Makefile.am:
26749 don't valgrind the controller test - it's leaking - Stefan, HELP
26750 * gst/check/gstcheck.c: (gst_check_message_error),
26751 (gst_check_chain_func), (gst_check_setup_element),
26752 (gst_check_teardown_element), (gst_check_setup_src_pad),
26753 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26754 (gst_check_teardown_sink_pad):
26755 * gst/check/gstcheck.h:
26756 add a bunch of methods to set up elements, and src and sink pads
26757 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26758 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26761 * gst/gstmessage.c:
26763 whitespace/doc fixes
26765 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26767 * gst/gstelement.h:
26768 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26769 be handled by the application and not always printed as well
26771 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26773 * check/Makefile.am:
26775 * gst/check/gstcheck.c: (gst_check_message_error):
26776 * gst/check/gstcheck.h:
26777 add a fail_unless_equals_int
26778 add fail_unless for error messages
26780 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26782 * check/Makefile.am:
26784 * common/Makefile.am:
26785 * common/check.mak:
26787 factor out some of the common stuff so we can use it
26789 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26791 * check/Makefile.am:
26792 * check/gst/gstiterator.c: (GST_START_TEST):
26793 * check/gst/gstsystemclock.c: (GST_START_TEST),
26794 (gst_systemclock_suite):
26795 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26797 valgrind more tests
26799 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26801 * check/elements/.cvsignore:
26802 * check/elements/gstfakesrc.c:
26803 rename to name of element
26804 * check/elements/identity.c: (chain_func), (event_func),
26805 (setup_identity), (cleanup_identity), (GST_START_TEST),
26806 (identity_suite), (main):
26807 add a test for identity
26808 * check/Makefile.am:
26809 * pkgconfig/Makefile.am:
26810 * pkgconfig/gstreamer-check.pc.in:
26811 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26815 move the check stuff to a library that gets installed
26816 * check/gst-libs/controller.c: (GST_START_TEST):
26817 * check/gst-libs/gdp.c:
26818 * check/gst/gst.c: (GST_START_TEST):
26819 * check/gst/gstbin.c:
26820 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26821 * check/gst/gstbus.c:
26822 * check/gst/gstcaps.c: (GST_START_TEST):
26823 * check/gst/gstelement.c:
26824 * check/gst/gstghostpad.c:
26825 * check/gst/gstiterator.c:
26826 * check/gst/gstmessage.c:
26827 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26828 * check/gst/gstobject.c:
26829 * check/gst/gstpad.c: (GST_START_TEST):
26830 * check/gst/gststructure.c: (GST_START_TEST):
26831 * check/gst/gstsystemclock.c: (GST_START_TEST),
26832 (gst_systemclock_suite):
26833 * check/gst/gsttag.c: (gst_tag_suite):
26834 * check/gst/gstvalue.c:
26835 * check/pipelines/cleanup.c:
26836 * check/pipelines/simple_launch_lines.c:
26837 * check/states/sinks.c:
26838 change include statement
26840 * docs/gst/gstreamer-sections.txt:
26841 * docs/gst/tmpl/gstpad.sgml:
26842 document more pad stuff
26843 * gst/gstminiobject.c: (gst_mini_object_ref),
26844 (gst_mini_object_unref):
26847 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26849 * docs/gst/tmpl/gst.sgml:
26851 eliminate another tmpl file, fix spelling in the long-description
26853 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26855 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26856 (test_event), (timediff), (gstevents_suite):
26857 Should fix build on 64-bit arch's
26859 2005-08-18 Andy Wingo <wingo@pobox.com>
26861 Make sure that when a pipeline goes to PLAYING, that data has
26862 actually hit the sink.
26864 * check/states/sinks.c (test_sink): A sink that doesn't get any
26865 data shouldn't return SUCCESS for going to either PLAYING or
26866 PAUSED. Test also the return values on the way back down.
26868 * gst/gstelement.c (gst_element_set_state): When changing the
26869 state of an element currently changing state asynchronously, go to
26870 lost-state after commiting the pending state. Makes future calls
26871 to get_state continue to return ASYNC.
26873 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26874 ASYNC when going to PLAYING if we still don't have preroll, as can
26875 happen with live sources.
26877 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26879 * docs/pwg/advanced-types.xml:
26880 Hack long paragraph into 2 chunks as a workaround for buggy
26881 jadetex version in sid and breezy that loops infinitely and
26884 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26886 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26887 (test_event), (timediff), (gstevents_suite):
26888 Provide more error margin in clock measurements to allow for
26889 g_get_current_time inaccuracies.
26891 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26893 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26894 (test_event), (timediff), (gstevents_suite):
26895 Fix error message output so I might be able to tell why the
26896 test works here but fails on the build farm.
26898 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26900 * check/Makefile.am:
26901 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26902 (test_event), (timediff), (gstevents_suite), (main):
26905 * docs/design/part-seeking.txt:
26906 Spelling correction
26908 * docs/gst/tmpl/gstevent.sgml:
26909 * docs/gst/tmpl/gstfakesrc.sgml:
26912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26913 Treat a buffer-without-newsegment the same as a receiving
26914 a newsegment not in time format, and disable syncing to the clock
26917 * gst/gstbus.c: (gst_bus_set_sync_handler):
26918 Assert if anyone tries to replace the existing sync_handler for bus,
26919 as only the owner should be setting it.
26922 Have a fixed set of custom event enums with events identified by
26923 their structure name (as in 0.8), rather than a free-for-all
26924 allowing collisions between enum values from different plugins.
26926 * gst/gstpad.c: (gst_pad_class_init):
26929 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26930 Handle out-of-band downstream events from the sending thread.
26932 2005-08-17 Andy Wingo <wingo@pobox.com>
26934 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26935 play-timeout==0 to mean no timeout at all. In that case, don't
26936 bother with a get_state or a warning, just return directly, even
26939 * gst/base/gstbasetransform.c: Debug changes.
26942 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26943 ensure bins post state change messages. A bit of a hack but I can't
26944 think of a way to avoid it.
26946 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26948 2005-08-16 Andy Wingo <wingo@pobox.com>
26950 * gst/base/gstadapter.h:
26951 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26952 peek() but you own the data. Not terribly efficient atm.
26954 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26956 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26957 (gst_element_found_tags):
26959 Add two utility functions for tag handling.
26961 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26963 * docs/manual/advanced-dataaccess.xml:
26964 * docs/manual/basics-helloworld.xml:
26965 Fix docs to use _bin_add() before _link(), which fixes the examples
26966 with recent core versions (reported by Madhan Raj M
26967 <raj_madan@rediffmail.com>, #313199).
26969 2005-08-16 Wim Taymans <wim@fluendo.com>
26971 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26972 Added subtract checks.
26974 * docs/design/part-events.txt:
26975 Some more docs about newsegment
26977 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26980 * gst/gstcaps.c: (gst_caps_to_string):
26981 Add comments, cleanups.
26983 * gst/gstelement.c: (gst_element_save_thyself):
26986 * gst/gstvalue.c: (gst_value_collect_int_range),
26987 (gst_string_unwrap), (gst_value_union_int_int_range),
26988 (gst_value_union_int_range_int_range),
26989 (gst_value_intersect_int_int_range),
26990 (gst_value_intersect_int_range_int_range),
26991 (gst_value_intersect_double_double_range),
26992 (gst_value_intersect_double_range_double_range),
26993 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26994 (gst_value_subtract_int_range_int),
26995 (gst_value_subtract_double_range_double),
26996 (gst_value_subtract_double_range_double_range),
26997 (gst_value_subtract_from_list), (gst_value_subtract_list),
26998 (gst_value_can_compare), (gst_value_compare_fraction):
26999 Cleanups, add comments, remove unneeded asserts.
27001 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27003 * tools/gst-launch.c: (event_loop):
27004 don't convert NULL structures to strings
27006 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27008 * docs/gst/gstreamer-sections.txt:
27009 made some defines private
27010 * docs/gst/tmpl/gstconfig.sgml:
27011 * docs/gst/tmpl/gstqueue.sgml:
27012 * docs/gst/tmpl/gsttaglist.sgml:
27013 * docs/gst/tmpl/gsttypes.sgml:
27014 * docs/gst/tmpl/gstutils.sgml:
27015 * docs/pwg/appendix-porting.xml:
27016 * gst/base/gstbasesink.h:
27017 * gst/base/gstbasesrc.c:
27018 * gst/base/gstbasesrc.h:
27019 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27020 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27021 * gst/gstelement.c: (gst_element_class_init):
27022 * gst/gstpad.c: (gst_pad_class_init):
27023 * gst/gstqueue.c: (gst_queue_class_init):
27024 * gst/gstxml.c: (gst_xml_class_init):
27025 documented all undocumented signal inline
27026 * libs/gst/controller/gst-controller.h:
27029 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27031 * docs/pwg/appendix-porting.xml:
27032 Document _set_link_function -> _set_setcaps_function.
27034 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27036 * check/Makefile.am:
27037 add a .check target for running the check
27038 * check/gst-libs/controller.c: (GST_START_TEST):
27040 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27041 complete checks for gstbuffer; would be nice if I could get the
27042 gcov stuff to work so I can see if I actually completed gstbuffer.c
27043 * check/gstcheck.h:
27044 add ASSERT_BUFFER_REFCOUNT
27046 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27048 * docs/gst/gstreamer-sections.txt:
27049 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27051 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27052 spew out a warning if a tag that is already registered
27053 is re-registered, unless it is re-registered with a
27054 different type (#308438).
27056 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27058 * docs/pwg/appendix-porting.xml:
27059 * docs/pwg/building-state.xml:
27060 Add some paragraphs about state changes in 0.9 to the PWG
27061 and the porting guide, in particular about the new meaning
27062 of GST_STATE_PAUSED and how to write state change functions
27063 with concurrent access by multiple threads in mind.
27065 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27067 * docs/gst/gstreamer-docs.sgml:
27068 * docs/libs/gstreamer-libs-docs.sgml:
27069 added deprecation and since indexes
27070 * libs/gst/controller/gst-controller.c:
27071 * libs/gst/controller/gst-helper.c:
27075 2005-08-11 Wim Taymans <wim@fluendo.com>
27077 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27078 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27079 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27080 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27081 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27082 (gst_ghost_pad_set_target):
27083 Actually implement (re)setting the target on a ghostpad
27084 as described in the docs.
27086 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27088 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27089 Check whether GST_DEBUG_NO_COLOR environment variable is
27090 set and disable coloured debug output if that is the case.
27092 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27094 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27095 (gst_type_find_helper):
27096 The memory returned by gst_type_find_peek() needs to
27097 stay valid until the end of a typefind function, and
27098 typefind functions may keep results from different
27099 offsets around, so we can't just unref the buffer from
27100 the previous _peek(), but have to save all buffers
27101 returned by _peek() until typefinding is done and only
27104 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27106 * docs/gst/gstreamer-sections.txt:
27108 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27110 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27112 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27113 Fix a pretty good memleak.
27115 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27117 * gst/gstiterator.h:
27118 Fix wrong include and 'make distcheck'.
27120 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27122 * gst/gstbin.c: (bin_bus_handler):
27123 Use gst_element_post_message() instead.
27125 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27127 * gst/base/gstadapter.h:
27128 * gst/base/gstbasesink.h:
27129 * gst/base/gstbasesrc.h:
27130 * gst/base/gstbasetransform.h:
27131 * gst/base/gstcollectpads.h:
27132 * gst/base/gstpushsrc.h:
27133 * gst/gstiterator.h:
27134 Add padding to our base elements' class and instance structs and
27135 to GstIterator (you will need to rebuild all plugins and apps!)
27137 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27139 * gst/gstbin.c: (bin_bus_handler):
27140 Make default message forwarding from child->bus to bin->bus
27141 threadsafe and make it not emit warnings if the parent has no bus.
27143 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27145 * gst/gstelement.c: (activate_pads):
27146 On paused->ready, set pad->caps to NULL, as is the documented
27147 behaviour in this state change. Fixes playback of series of
27148 media files when visualization is enabled in Totem.
27150 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27152 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27153 Allow NULL as filter-caps (which means "any").
27155 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27157 * docs/libs/gstreamer-libs-sections.txt:
27158 * libs/gst/controller/gst-controller.c:
27159 * libs/gst/controller/gst-controller.h:
27160 * libs/gst/controller/gst-helper.c:
27161 adding more entries to the docs and fix small doc-bugs
27163 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27165 * docs/gst/gstreamer-docs.sgml:
27166 * docs/gst/gstreamer-sections.txt:
27167 * docs/gst/gstreamer.types:
27168 * docs/gst/tmpl/gstbasesink.sgml:
27169 * docs/gst/tmpl/gstbasesrc.sgml:
27170 * docs/gst/tmpl/gstbasetransform.sgml:
27171 * docs/gst/tmpl/gstfakesrc.sgml:
27172 * gst/base/gstcollectpads.c:
27173 * gst/base/gstcollectpads.h:
27174 * libs/gst/controller/gst-controller.c:
27175 * libs/gst/controller/gst-controller.h:
27176 * libs/gst/controller/gst-helper.c:
27177 * libs/gst/controller/gst-interpolation.c:
27178 * libs/gst/controller/lib.c:
27179 added long/short desc for controller docs
27180 added collectpads base class docs
27181 added correct includes to base-class docs
27183 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27185 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27186 (gst_test_mono_source_set_property),
27187 (gst_test_mono_source_class_init), (GST_START_TEST),
27188 (gst_controller_suite):
27189 * docs/gst/gstreamer-docs.sgml:
27190 * docs/gst/gstreamer-sections.txt:
27191 * docs/gst/gstreamer.types:
27192 * docs/libs/gstreamer-libs-docs.sgml:
27193 * docs/libs/gstreamer-libs-sections.txt:
27194 * gst/base/gstadapter.c:
27195 * libs/gst/controller/gst-controller.c:
27196 (gst_controlled_property_new), (gst_controlled_property_free),
27197 (gst_controller_new_valist),
27198 (gst_controller_remove_properties_valist),
27199 (gst_controller_sink_values), (_gst_controller_finalize):
27200 * libs/gst/controller/gst-controller.h:
27201 * libs/gst/controller/gst-helper.c:
27202 (gst_object_control_properties), (gst_object_uncontrol_properties),
27203 (gst_object_get_controller), (gst_object_set_controller),
27204 (gst_object_sink_values), (gst_object_get_value_arrays),
27205 (gst_object_get_value_array):
27206 more tests (and fixes) for the controller
27207 more docs for the controller
27208 integrated companies docs for the adapter
27210 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27212 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27213 (GST_START_TEST), (fakesrc_suite):
27214 add tests for sizetype
27216 2005-08-04 Andy Wingo <wingo@pobox.com>
27218 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27219 fixes buffer_alloc proxying among other things.
27221 * gst/base/gstbasetransform.c:
27222 * gst/base/gstbasetransform.h:
27223 Revert patch to gstbasetransform from 7-28 removing
27226 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27227 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27228 Semantics changed, should return not the size of the output buffer
27229 but the byte size of a buffer with a given caps.
27231 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27233 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27234 out) are not the pad caps until setcaps finishes.
27235 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27236 not-in-place case as well. Deal with changing from in-place to
27237 not-in-place within calling pad_alloc_buffer. Still a bit
27238 concerned about the overhead here...
27240 2005-08-03 Andy Wingo <wingo@pobox.com>
27242 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27243 fixating is an error.
27245 2005-08-04 Edward Hervey <edward@fluendo.com>
27247 * gst/base/gstadapter.h:
27248 Added gst_adapter_get_type() to the header
27250 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27252 * check/Makefile.am:
27253 * check/gst-libs/controller.c:
27254 * libs/gst/controller/gst-controller.c:
27255 (gst_controller_new_valist):
27256 added check test suite for the controller
27257 * gst/base/gstpushsrc.c:
27260 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27262 * docs/gst/Makefile.am:
27263 * docs/gst/gstreamer-docs.sgml:
27264 * docs/gst/gstreamer-sections.txt:
27265 * docs/gst/gstreamer.types:
27266 * docs/gst/tmpl/gstfakesrc.sgml:
27268 * gst/base/gstbasesink.c:
27269 * gst/base/gstbasesink.h:
27270 * gst/base/gstbasesrc.c:
27271 * gst/base/gstbasesrc.h:
27272 * gst/base/gstbasetransform.c:
27273 * gst/base/gstpushsrc.c:
27274 * gst/base/gstpushsrc.h:
27275 add short/long description docs to base classes
27276 add pushsrc to the docs
27277 remove consolidated doc fragments
27279 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27282 * docs/libs/Makefile.am:
27283 * docs/libs/gstreamer-libs-docs.sgml:
27284 * docs/libs/gstreamer-libs-sections.txt:
27285 * docs/libs/gstreamer-libs.types:
27286 * examples/Makefile.am:
27287 * examples/controller/.cvsignore:
27288 * examples/controller/Makefile.am:
27289 * examples/controller/audio-example.c: (main):
27290 * libs/gst/Makefile.am:
27291 * libs/gst/controller/.cvsignore:
27292 * libs/gst/controller/Makefile.am:
27293 * libs/gst/controller/gst-controller.c:
27294 (on_object_controlled_property_changed), (gst_timed_value_compare),
27295 (gst_timed_value_find),
27296 (gst_controlled_property_set_interpolation_mode),
27297 (gst_controlled_property_new), (gst_controlled_property_free),
27298 (gst_controller_find_controlled_property),
27299 (gst_controller_new_valist), (gst_controller_new),
27300 (gst_controller_remove_properties_valist),
27301 (gst_controller_remove_properties), (gst_controller_set),
27302 (gst_controller_set_from_list), (gst_controller_unset),
27303 (gst_controller_get), (gst_controller_get_all),
27304 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27305 (gst_controller_get_value_array),
27306 (gst_controller_set_interpolation_mode),
27307 (_gst_controller_finalize), (_gst_controller_init),
27308 (_gst_controller_class_init), (gst_controller_get_type):
27309 * libs/gst/controller/gst-controller.h:
27310 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27311 (g_object_uncontrol_properties), (g_object_get_controller),
27312 (g_object_set_controller), (g_object_sink_values),
27313 (g_object_get_value_arrays), (g_object_get_value_array):
27314 * libs/gst/controller/gst-interpolation.c:
27315 (gst_controlled_property_find_timed_value_node),
27316 (interpolate_none_get), (interpolate_trigger_get),
27317 (interpolate_trigger_get_value_array):
27318 * libs/gst/controller/lib.c: (gst_controller_init):
27319 * pkgconfig/Makefile.am:
27320 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27321 * pkgconfig/gstreamer-control.pc.in:
27322 * testsuite/Makefile.am:
27323 * testsuite/controller/.cvsignore:
27324 * testsuite/controller/Makefile.am:
27325 * testsuite/controller/interpolator.c: (main):
27326 added controller code
27327 removed dparam pc files
27329 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27330 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27331 (gst_collectpads_stop):
27332 Broadcast the condition when shutting down, to make sure we wake all
27333 threads up. Shut down pads on finalize, for safety.
27335 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27336 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27337 (gst_base_transform_handle_buffer),
27338 (gst_base_transform_change_state):
27339 Handle PAUSED->READY->PAUSED transition after negotiation
27341 * gst/gstmessage.c: (gst_message_init):
27342 Extra piece of debug for new messages.
27344 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27347 * docs/gst/tmpl/gstbasesrc.sgml:
27348 * docs/gst/tmpl/gstelement.sgml:
27349 * docs/gst/tmpl/gstevent.sgml:
27350 * docs/gst/tmpl/gstfakesrc.sgml:
27351 * docs/gst/tmpl/gstformat.sgml:
27352 * docs/gst/tmpl/gstghostpad.sgml:
27353 * docs/gst/tmpl/gstpad.sgml:
27354 * docs/gst/tmpl/gstquery.sgml:
27355 * docs/gst/tmpl/gststructure.sgml:
27356 * docs/gst/tmpl/gsttaglist.sgml:
27357 * docs/gst/tmpl/gstvalue.sgml:
27358 * docs/libs/gstreamer-libs-docs.sgml:
27359 * docs/libs/gstreamer-libs-sections.txt:
27360 * docs/libs/gstreamer-libs.types:
27361 * libs/gst/Makefile.am:
27362 * libs/gst/control/.cvsignore:
27363 * libs/gst/control/Makefile.am:
27364 * libs/gst/control/control.c:
27365 * libs/gst/control/control.h:
27366 * libs/gst/control/dparam.c:
27367 * libs/gst/control/dparam.h:
27368 * libs/gst/control/dparam_smooth.c:
27369 * libs/gst/control/dparam_smooth.h:
27370 * libs/gst/control/dparamcommon.h:
27371 * libs/gst/control/dparammanager.c:
27372 * libs/gst/control/dparammanager.h:
27373 * libs/gst/control/dplinearinterp.c:
27374 * libs/gst/control/dplinearinterp.h:
27375 * libs/gst/control/unitconvert.c:
27376 * libs/gst/control/unitconvert.h:
27377 * testsuite/Makefile.am:
27378 * testsuite/dynparams/.cvsignore:
27379 * testsuite/dynparams/Makefile.am:
27380 * testsuite/dynparams/dparamstest.c:
27381 * tools/Makefile.am:
27382 * tools/gst-inspect.c: (print_element_info), (main):
27383 * tools/gst-xmlinspect.c: (print_element_info), (main):
27384 deactivate and remove dparams (libgstcontrol)
27386 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27388 * gst/elements/gsttypefindelement.c:
27389 (gst_type_find_element_have_type), (gst_type_find_element_init),
27390 (stop_typefinding), (gst_type_find_element_handle_event),
27391 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27392 * gst/elements/gsttypefindelement.h:
27393 Set caps on all outgoing buffers, not just the first one.
27395 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27397 * gst/elements/gsttypefindelement.c:
27398 (gst_type_find_element_have_type),
27399 (gst_type_find_element_check_set_buffer_caps),
27400 (gst_type_find_element_init), (stop_typefinding),
27401 (gst_type_find_element_handle_event),
27402 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27403 * gst/elements/gsttypefindelement.h:
27404 Set caps on first outgoing buffer when we've found the type.
27406 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27408 * docs/gst/gstreamer-docs.sgml:
27409 * docs/gst/gstreamer-sections.txt:
27410 * docs/gst/tmpl/gstscheduler.sgml:
27411 * docs/gst/tmpl/gstschedulerfactory.sgml:
27412 Remove some old cruft from docs.
27414 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27417 Fix inline docs for GstPadLinkReturn.
27419 * gst/gststructure.c: (gst_structure_has_name):
27420 * gst/gststructure.h:
27421 * docs/gst/gstreamer-sections.txt:
27422 New API: gst_structure_has_name().
27424 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27427 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27428 and _LARGEFILE_SOURCE in config.h as required. Do not
27429 export those flags in our .pc files any longer (#142209).
27431 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27433 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27434 (gst_file_sink_do_seek), (gst_file_sink_event),
27435 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27436 Redo seek/tell calls with large file support in mind; add some
27437 debugging messages; add log message that tells us when large
27438 file support is unavailable or not enabled for some reason.
27440 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27441 Add log message that tells us when large file support
27442 is unavailable or not enabled for some reason.
27444 2005-07-29 Wim Taymans <wim@fluendo.com>
27446 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27447 Added test for removing an element with ghostpad from a bin.
27448 Fixed test as current implementation does the right thing.
27450 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27451 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27452 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27453 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27454 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27455 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27456 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27457 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27458 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27459 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27460 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27461 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27462 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27463 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27464 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27465 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27466 * gst/gstghostpad.h:
27467 Clean up ghostpads, remove properties for internal stuff.
27470 Prepare for switching targets, not all use cases work yet.
27472 2005-07-29 Wim Taymans <wim@fluendo.com>
27474 * docs/design/part-gstghostpad.txt:
27477 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27478 (gst_bin_remove_func):
27479 Unlinking pads while holding the bin LOCK is not a good
27482 * gst/gstpad.c: (gst_pad_class_init),
27483 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27484 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27485 No prob setting template after creating the pad.
27487 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27489 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27490 (gst_bus_peek), (gst_bus_source_dispatch),
27491 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27492 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27493 gst_bus_poll may be called from other threads. Handle
27494 this nicely by not making poll_data disappear off the
27495 stack once gst_bus_poll returns.
27496 gst_bus_peek now increments the refcount on the returned
27499 2005-07-29 Wim Taymans <wim@fluendo.com>
27501 * docs/design/part-gstghostpad.txt:
27502 Overview of current GhostPad datastructures and use
27503 cases for changing the target.
27505 2005-07-28 Wim Taymans <wim@fluendo.com>
27507 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27508 Added checks for hierarchy consistency whan adding linked
27511 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27512 Added check to test element scheduling without bin/pipeline.
27514 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27515 First add elements to bin, then link.
27517 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27518 (gst_bin_remove_func):
27519 Unlink pads from elements added/removed from bin to maintain
27520 hierarchy consistency.
27522 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27524 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27525 (gst_base_transform_handle_buffer):
27526 * gst/base/gstbasetransform.h:
27527 Remove broken delay_configure (fixes renegotiation of software
27528 scaling pipelines); remove some leftover printf()s.
27530 2005-07-28 Wim Taymans <wim@fluendo.com>
27532 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27533 Added some more tests for wrong hierarchy
27535 * docs/design/part-overview.txt:
27538 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27541 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27542 (gst_element_dispose):
27543 Some more cleanups.
27545 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27546 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27547 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27548 (gst_pad_set_caps), (gst_pad_send_event):
27549 Check for correct hierarchy when linking pads. Moving to
27550 strict requirement for ghostpads when linking elements in
27554 Clean ups. Added WRONG_HIERARCHY return value.
27556 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27558 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27559 Better debug if no transform is possible.
27561 2005-07-27 Wim Taymans <wim@fluendo.com>
27563 * docs/random/wtay/network-transp:
27564 Some old doc I had.
27566 2005-07-27 Wim Taymans <wim@fluendo.com>
27568 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27569 (gst_dp_event_from_packet):
27570 Fix serialization of seek events.
27572 2005-07-27 Wim Taymans <wim@fluendo.com>
27574 * check/gst-libs/gdp.c: (GST_START_TEST):
27575 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27576 Fix compilation and fix event serialization.
27578 2005-07-27 Wim Taymans <wim@fluendo.com>
27581 * docs/design/part-TODO.txt:
27582 * docs/design/part-events.txt:
27585 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27586 (gst_base_sink_event), (gst_base_sink_do_sync),
27587 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27588 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27589 (gst_base_src_do_seek), (gst_base_src_event_handler),
27590 (gst_base_src_loop):
27591 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27592 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27593 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27594 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27595 (gst_base_transform_set_passthrough),
27596 (gst_base_transform_is_passthrough):
27597 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27598 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27604 * gst/gstelement.c: (gst_element_seek):
27605 * gst/gstelement.h:
27606 Update gst_element_seek.
27608 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27609 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27610 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27611 (gst_event_new_eos), (gst_event_new_newsegment),
27612 (gst_event_parse_newsegment), (gst_event_new_tag),
27613 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27614 (gst_event_parse_qos), (gst_event_new_seek),
27615 (gst_event_parse_seek), (gst_event_new_navigation):
27617 Make GstEvent use GstStructure. Add parsing code, make sure the
27618 API is sufficiently generic.
27619 Mark possible directions of events and serialization.
27621 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27622 (_gst_message_copy), (gst_message_new_segment_start),
27623 (gst_message_new_segment_done), (gst_message_new_custom),
27624 (gst_message_parse_segment_start),
27625 (gst_message_parse_segment_done):
27628 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27629 (gst_pad_set_caps), (gst_pad_send_event):
27630 Update for new events.
27631 Catch events sent in wrong directions.
27633 * gst/gstqueue.c: (gst_queue_link_src),
27634 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27635 (gst_queue_handle_src_query):
27640 Remove event code from this file.
27642 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27643 (gst_dp_event_from_packet):
27646 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27648 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27649 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27650 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27651 Make debugging actually useful.
27653 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27655 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27656 (gst_pad_fixate_caps):
27657 Implement default fixation once again, so that gst_pad_fixate()
27658 actually does anything at all. This probably needs to be some
27659 sort of a last resort, and use profile-based fixation first, but
27660 since that doesn't exist yet, this is the best we have. Fixes
27661 visualization in Totem.
27663 2005-07-22 Wim Taymans <wim@fluendo.com>
27665 * docs/design/part-events.txt:
27668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27669 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27670 (gst_base_sink_activate_pull):
27671 Some more comments.
27673 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27674 (gst_fake_src_create):
27675 Fix handoff marshall.
27677 * gst/elements/gstidentity.c: (gst_identity_class_init),
27678 (gst_identity_transform_ip):
27679 We're a real inplace element.
27681 * gst/gstbus.c: (gst_bus_post):
27682 Added some comments.
27684 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27685 * tests/muxing/case1.c: (main):
27686 * tests/sched/dynamic-pipeline.c: (main):
27687 * tests/sched/interrupt1.c: (main):
27688 * tests/sched/interrupt2.c: (main):
27689 * tests/sched/interrupt3.c: (main):
27690 * tests/sched/runxml.c: (main):
27691 * tests/sched/sched-stress.c: (main):
27692 * tests/seeking/seeking1.c: (event_received), (main):
27693 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27695 * tests/threadstate/threadstate3.c: (main):
27696 * tests/threadstate/threadstate4.c: (main):
27697 * tests/threadstate/threadstate5.c: (main):
27700 2005-07-21 Wim Taymans <wim@fluendo.com>
27702 * docs/design/part-seeking.txt:
27703 Some small additions.
27705 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27706 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27707 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27708 * gst/base/gstbasesink.h:
27709 discont values are gint64, handle the math correctly.
27711 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27712 Make the basesrc report error if the source pad is not linked.
27714 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27715 (gst_queue_loop), (gst_queue_handle_src_query),
27716 (gst_queue_src_activate_push):
27717 Make queue collect data even if the srcpad is not linked.
27718 Start pushing out data as soon as it is linked.
27720 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27722 Added gst_flow_get_name() to ease error reporting.
27724 2005-07-20 Wim Taymans <wim@fluendo.com>
27726 * gst/gstmessage.c: (gst_message_new_segment_start),
27727 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27728 (gst_message_parse_segment_done):
27729 * gst/gstmessage.h:
27730 Added a bunch of messages for advanced seeking.
27732 * gst/parse/grammar.y:
27733 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27734 (gst_dpman_state_changed):
27735 Fix some new-pad -> pad-added signals
27737 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27739 * docs/manual/appendix-porting.xml:
27740 * docs/pwg/appendix-porting.xml:
27741 Document new-pad/state-change signal renames and the FixedList
27744 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27746 * docs/manual/advanced-autoplugging.xml:
27747 * docs/manual/basics-helloworld.xml:
27748 * docs/manual/basics-pads.xml:
27749 * docs/random/ds/0.9-suggested-changes:
27750 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27751 * gst/gstelement.h:
27755 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27756 (gst_structure_parse_array), (gst_structure_parse_value):
27757 * gst/gstvalue.c: (gst_type_is_fixed),
27758 (gst_value_list_prepend_value), (gst_value_list_append_value),
27759 (gst_value_list_get_size), (gst_value_list_get_value),
27760 (gst_value_transform_array_string), (gst_value_serialize_array),
27761 (gst_value_deserialize_array), (gst_value_intersect_array),
27762 (gst_value_is_fixed), (_gst_value_initialize):
27764 GstElement::new-pad -> pad-added, GstElement::state-change ->
27765 state-changed, GstValueFixedList -> GstValueArray, add format and
27766 flags as their own arguments in gst_element_seek() (should improve
27767 "bindeability"), remove function generators since they don't work
27768 under a whole bunch of compilers (they were deprecated already
27771 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27773 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27774 (_gst_debug_register_funcptr):
27776 Fix illegal cast on some platforms (#309253).
27778 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27780 * gst/gstmessage.c: (gst_message_new_custom):
27781 * gst/gstmessage.h:
27782 Add _new_custom, make _new_application a macro to _new_custom.
27784 2005-07-20 Wim Taymans <wim@fluendo.com>
27786 * gst/base/gstbasesrc.c: (gst_base_src_init),
27787 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27788 * gst/base/gstbasesrc.h:
27789 Add a gboolean to decide when to push out a discont.
27791 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27792 (gst_queue_loop), (gst_queue_handle_src_query),
27793 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27794 (gst_queue_set_property), (gst_queue_get_property):
27797 * tests/threadstate/threadstate1.c: (main):
27798 Make a thread test compile and run... very silly..
27801 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27803 * docs/manual/appendix-porting.xml:
27804 Mention removal of libgstgconf-0.9.la and existence of gconf
27807 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27809 * docs/pwg/advanced-clock.xml:
27810 * docs/pwg/appendix-porting.xml:
27811 * docs/pwg/intro-preface.xml:
27812 * docs/pwg/other-base.xml:
27813 * docs/pwg/other-manager.xml:
27814 * docs/pwg/other-nton.xml:
27815 * docs/pwg/other-ntoone.xml:
27816 * docs/pwg/other-oneton.xml:
27817 * docs/pwg/pwg.xml:
27818 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27819 demuxer), remove n-to-n (was never written), fix some code examples
27820 and links and update the porting section to include all this.
27822 2005-07-19 Wim Taymans <wim@fluendo.com>
27824 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27825 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27826 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27827 (gst_queue_src_activate_push), (gst_queue_change_state),
27828 (gst_queue_get_property):
27830 Propagate GstFlowReturn more intelligently upstream and output
27831 an ERROR/EOS when streaming stopped due to fatal error.
27833 2005-07-19 Wim Taymans <wim@fluendo.com>
27835 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27836 Don't block forever for the state change to complete, the
27837 pipeline already did with a sensible timeout.
27839 2005-07-19 Wim Taymans <wim@fluendo.com>
27841 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27842 Make sure we never call the create function is we
27845 2005-07-19 Andy Wingo <wingo@pobox.com>
27847 * gst/parse/parse.l: Attempt to solve bug #172815.
27849 2005-07-19 Wim Taymans <wim@fluendo.com>
27851 * docs/design/part-clocks.txt:
27852 * docs/design/part-events.txt:
27853 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27854 Small docs updates.
27855 Only update the seeking values when we are not
27858 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27860 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27861 Oops, ignore the result of gst_pad_push_event here.
27863 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27865 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27866 (gst_base_src_activate_push):
27867 Send discont event from the loop function, as pads
27868 aren't activated yet in the activate_push handler.
27870 * gst/gstbin.c: (bin_bus_handler):
27871 Don't leak element name.
27873 2005-07-18 Andy Wingo <wingo@pobox.com>
27875 * configure.ac: Use AS_LIBTOOL_TAGS.
27877 2005-07-18 Wim Taymans <wim@fluendo.com>
27879 * docs/gst/gstreamer.types:
27880 Remove deleted types.
27882 2005-07-18 Wim Taymans <wim@fluendo.com>
27884 * check/elements/gstfakesrc.c: (GST_START_TEST):
27887 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27888 (init_popt_callback):
27890 * gst/gst_private.h:
27891 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27892 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27895 * gst/gstconfig.h.in:
27896 * gst/gstelement.c: (gst_element_class_init),
27897 (gst_element_set_base_time), (gst_element_get_base_time),
27898 (iterator_fold_with_resync), (gst_element_change_state),
27899 (gst_element_dispose), (gst_element_get_bus):
27900 * gst/gstelement.h:
27901 * gst/gstelementfactory.h:
27902 * gst/gsterror.c: (_gst_core_errors_init):
27905 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27907 * gst/gstinfo.c: (_gst_debug_init):
27908 * gst/gstmessage.c: (_gst_message_copy):
27909 * gst/gstmessage.h:
27910 * gst/gstminiobject.h:
27913 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27914 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27917 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27918 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27919 (gst_pipeline_get_last_stream_time):
27920 * gst/gstpipeline.h:
27921 * gst/gstpluginfeature.h:
27923 * gst/gstscheduler.c:
27924 * gst/gstscheduler.h:
27925 * gst/gststructure.h:
27926 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27927 (gst_task_finalize), (gst_task_func), (gst_task_create),
27928 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27929 (gst_task_stop), (gst_task_pause):
27931 * gst/gsttypefind.h:
27933 * gst/registries/gstlibxmlregistry.c: (load_feature),
27934 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27935 * gst/registries/gstxmlregistry.c:
27936 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27937 * gst/schedulers/threadscheduler.c:
27938 * libs/gst/control/dparammanager.h:
27939 * tools/gst-inspect.c: (print_element_list),
27940 (print_plugin_features), (print_element_features):
27941 * tools/gst-xmlinspect.c: (print_element_list),
27942 (print_plugin_info), (main):
27943 Removed plugable schedulers.
27944 Removed Scheduler/Manager from elements.
27945 Removed gsttypes.h, rearranged includes.
27946 Removed dependency pad<->element, element<>pipeline, and
27947 various others, fix includes.
27948 implement gst_pad_get_parent() with gst_object_get_parent()
27949 Make GstTask sefcontained.
27950 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27952 Fix endless loop in iterator_fold_with_resync.
27955 2005-07-18 Wim Taymans <wim@fluendo.com>
27961 2005-07-18 Wim Taymans <wim@fluendo.com>
27964 No more cothreads.h
27966 2005-07-18 Wim Taymans <wim@fluendo.com>
27970 Let's remove these.
27972 2005-07-18 Wim Taymans <wim@fluendo.com>
27974 * docs/design/part-dynamic.txt:
27975 * docs/design/part-events.txt:
27976 * docs/design/part-seeking.txt:
27977 Some more docs in the works.
27979 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27980 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27981 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27982 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27983 (gst_base_transform_handle_buffer),
27984 (gst_base_transform_sink_activate_push),
27985 (gst_base_transform_src_activate_pull),
27986 (gst_base_transform_set_passthrough),
27987 (gst_base_transform_is_passthrough):
27990 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27993 * gst/gstevent.c: (gst_event_finalize):
27996 * gst/gstutils.c: (gst_element_unlink),
27997 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27998 (gst_pad_proxy_setcaps):
28000 Add _get_parent_element() to get a pads parent as an element.
28002 2005-07-18 Wim Taymans <wim@fluendo.com>
28004 * check/gst/gstbin.c: (GST_START_TEST):
28007 2005-07-18 Wim Taymans <wim@fluendo.com>
28009 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28010 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28011 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28012 (gst_base_sink_event), (gst_base_sink_do_sync),
28013 (gst_base_sink_chain), (gst_base_sink_loop),
28014 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28015 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28017 Fix logic for returning ASYNC when not prerolled.
28019 2005-07-18 Wim Taymans <wim@fluendo.com>
28021 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28022 Fix nasty refcount bug.
28024 2005-07-16 Philippe Khalaf <burger@speedy.org>
28026 * gst/elements/gstfdsrc.c:
28027 * gst/elements/gstfdsrc.h:
28028 * gst/elements/gstelements.c:
28029 * gst/elements/Makefile.am:
28030 Ported fdsrc to 0.9.
28032 2005-07-16 Wim Taymans <wim@fluendo.com>
28034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28035 (gst_base_sink_do_sync):
28038 2005-07-16 Wim Taymans <wim@fluendo.com>
28040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28041 (gst_base_sink_event), (gst_base_sink_get_times),
28042 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28043 * gst/base/gstbasesink.h:
28044 Store and use discont values when syncing buffers as described
28047 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28048 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28049 (gst_base_src_activate_push):
28050 Push discont event when starting.
28052 * gst/elements/gstidentity.c: (gst_identity_transform):
28055 * gst/gstbin.c: (gst_bin_change_state):
28056 Small cleanups in base_time distribution.
28058 * gst/gstelement.c: (gst_element_set_base_time),
28059 (gst_element_get_base_time), (gst_element_change_state):
28060 * gst/gstelement.h:
28061 Added methods for the base_time of the element.
28064 * gst/gstpipeline.c: (gst_pipeline_send_event),
28065 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28066 (gst_pipeline_get_last_stream_time):
28067 * gst/gstpipeline.h:
28069 Handle seeking as described in design doc, remove stream_time
28071 Cleanups clock and stream_time selection code. Added accessors
28072 for the stream_time.
28075 2005-07-16 Andy Wingo <wingo@pobox.com>
28077 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28080 2005-07-16 Wim Taymans <wim@fluendo.com>
28082 * check/gst/gstbin.c: (GST_START_TEST):
28083 Make elements silent as the deep_notify refs the
28084 parent, which might make the test fail.
28086 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28087 Don't hold the lock for too long.
28089 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28091 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28092 Don't unref the caps we passed to gst_caps_make_writable() after
28093 passing them. gst_caps_make_writable() will do that for us.
28095 2005-07-15 Andy Wingo <wingo@pobox.com>
28097 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28100 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28101 own marshalling function for the handoff signal. Properly type the
28102 buffer as a buffer. Fixes some warnings. Should do a more general
28104 (gst_identity_class_init): Plug into the right marshaller.
28106 2005-07-15 Wim Taymans <wim@fluendo.com>
28108 * docs/design/part-TODO.txt:
28109 * docs/design/part-clocks.txt:
28110 * docs/design/part-element-sink.txt:
28111 * docs/design/part-events.txt:
28112 * docs/design/part-gstpipeline.txt:
28113 Updated docs, mostly DISCONT related.
28115 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28117 * docs/pwg/building-pads.xml:
28118 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28120 2005-07-15 Andy Wingo <wingo@pobox.com>
28122 * tools/gst-typefind.c: Update, add copyright block.
28124 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28125 Normalize and truncate caps before fixation.
28128 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28129 discards all but the first structure from its argument.
28131 2005-07-15 Wim Taymans <wim@fluendo.com>
28133 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28134 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28135 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28136 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28137 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28138 (gst_base_transform_chain), (gst_base_transform_change_state),
28139 (gst_base_transform_set_passthrough),
28140 (gst_base_transform_is_passthrough):
28141 * gst/base/gstbasetransform.h:
28142 Make passthrough work using the bufferpools.
28143 Changed API a bit, subclasses have to write into a buffer
28144 provided by the base class.
28145 More debug info in nego functions.
28147 * gst/elements/gstidentity.c: (gst_identity_init),
28148 (gst_identity_transform):
28149 Port to new base class.
28151 2005-07-15 Wim Taymans <wim@fluendo.com>
28153 * gst/gstmessage.c: (gst_message_new_state_changed):
28154 * tools/gst-launch.c: (event_loop), (main):
28155 Totally dump messages in -launch with the -m option.
28156 Fix message name for State messages,
28158 2005-07-14 Wim Taymans <wim@fluendo.com>
28160 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28161 Post error messages on errors.
28163 2005-07-14 Wim Taymans <wim@fluendo.com>
28165 * gst/gstcaps.c: (gst_caps_do_simplify):
28169 Define error for stream stopped.
28171 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28172 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28173 Do proper return values.
28175 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28176 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28177 (gst_pad_get_range):
28178 Better return values.
28181 Reorganise return values, add macro to check for fatal errors.
28183 * gst/gstqueue.c: (gst_queue_chain):
28184 Return proper GstFlowReturn values,
28186 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28188 * docs/gst/gstreamer-sections.txt:
28189 * docs/gst/gstreamer.types:
28190 * docs/gst/tmpl/gst.sgml:
28191 * docs/gst/tmpl/gstbasesink.sgml:
28192 * docs/gst/tmpl/gstbasesrc.sgml:
28193 * docs/gst/tmpl/gstbasetransform.sgml:
28194 * docs/gst/tmpl/gstbin.sgml:
28195 * docs/gst/tmpl/gstbuffer.sgml:
28196 * docs/gst/tmpl/gstcaps.sgml:
28197 * docs/gst/tmpl/gstclock.sgml:
28198 * docs/gst/tmpl/gstcompat.sgml:
28199 * docs/gst/tmpl/gstconfig.sgml:
28200 * docs/gst/tmpl/gstelement.sgml:
28201 * docs/gst/tmpl/gstelementdetails.sgml:
28202 * docs/gst/tmpl/gstelementfactory.sgml:
28203 * docs/gst/tmpl/gstenumtypes.sgml:
28204 * docs/gst/tmpl/gsterror.sgml:
28205 * docs/gst/tmpl/gstevent.sgml:
28206 * docs/gst/tmpl/gstfakesink.sgml:
28207 * docs/gst/tmpl/gstfakesrc.sgml:
28208 * docs/gst/tmpl/gstfilesink.sgml:
28209 * docs/gst/tmpl/gstfilesrc.sgml:
28210 * docs/gst/tmpl/gstfilter.sgml:
28211 * docs/gst/tmpl/gstformat.sgml:
28212 * docs/gst/tmpl/gstghostpad.sgml:
28213 * docs/gst/tmpl/gstimplementsinterface.sgml:
28214 * docs/gst/tmpl/gstindex.sgml:
28215 * docs/gst/tmpl/gstindexfactory.sgml:
28216 * docs/gst/tmpl/gstinfo.sgml:
28217 * docs/gst/tmpl/gstiterator.sgml:
28218 * docs/gst/tmpl/gstmacros.sgml:
28219 * docs/gst/tmpl/gstmemchunk.sgml:
28220 * docs/gst/tmpl/gstminiobject.sgml:
28221 * docs/gst/tmpl/gstobject.sgml:
28222 * docs/gst/tmpl/gstpad.sgml:
28223 * docs/gst/tmpl/gstpadtemplate.sgml:
28224 * docs/gst/tmpl/gstparse.sgml:
28225 * docs/gst/tmpl/gstpipeline.sgml:
28226 * docs/gst/tmpl/gstplugin.sgml:
28227 * docs/gst/tmpl/gstpluginfeature.sgml:
28228 * docs/gst/tmpl/gstquery.sgml:
28229 * docs/gst/tmpl/gstqueue.sgml:
28230 * docs/gst/tmpl/gstregistry.sgml:
28231 * docs/gst/tmpl/gstregistrypool.sgml:
28232 * docs/gst/tmpl/gstscheduler.sgml:
28233 * docs/gst/tmpl/gstschedulerfactory.sgml:
28234 * docs/gst/tmpl/gststructure.sgml:
28235 * docs/gst/tmpl/gstsystemclock.sgml:
28236 * docs/gst/tmpl/gsttaglist.sgml:
28237 * docs/gst/tmpl/gsttagsetter.sgml:
28238 * docs/gst/tmpl/gsttrace.sgml:
28239 * docs/gst/tmpl/gsttrashstack.sgml:
28240 * docs/gst/tmpl/gsttypefind.sgml:
28241 * docs/gst/tmpl/gsttypefindfactory.sgml:
28242 * docs/gst/tmpl/gsttypes.sgml:
28243 * docs/gst/tmpl/gsturihandler.sgml:
28244 * docs/gst/tmpl/gsturitype.sgml:
28245 * docs/gst/tmpl/gstutils.sgml:
28246 * docs/gst/tmpl/gstvalue.sgml:
28247 * docs/gst/tmpl/gstversion.sgml:
28248 * docs/gst/tmpl/gstxml.sgml:
28249 * docs/libs/tmpl/gstcontrol.sgml:
28250 * docs/libs/tmpl/gstdataprotocol.sgml:
28251 * docs/libs/tmpl/gstdparam.sgml:
28252 * docs/libs/tmpl/gstdplinint.sgml:
28253 * docs/libs/tmpl/gstdpman.sgml:
28254 * docs/libs/tmpl/gstdpsmooth.sgml:
28255 * docs/libs/tmpl/gstgetbits.sgml:
28256 * docs/libs/tmpl/gstunitconvert.sgml:
28257 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28258 (gst_push_src_base_init), (gst_push_src_class_init),
28259 (gst_push_src_init), (gst_push_src_create):
28260 * gst/base/gstpushsrc.h:
28261 * gst/elements/gstelements.c:
28262 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28263 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28264 (gst_fake_sink_init), (gst_fake_sink_set_property),
28265 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28266 (gst_fake_sink_event), (gst_fake_sink_preroll),
28267 (gst_fake_sink_render), (gst_fake_sink_change_state):
28268 * gst/elements/gstfakesink.h:
28269 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28270 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28271 (gst_fake_src_base_init), (gst_fake_src_class_init),
28272 (gst_fake_src_init), (gst_fake_src_event_handler),
28273 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28274 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28275 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28276 (gst_fake_src_create_buffer), (gst_fake_src_create),
28277 (gst_fake_src_start), (gst_fake_src_stop):
28278 * gst/elements/gstfakesrc.h:
28279 * gst/elements/gstfilesink.c: (_do_init),
28280 (gst_file_sink_base_init), (gst_file_sink_class_init),
28281 (gst_file_sink_init), (gst_file_sink_dispose),
28282 (gst_file_sink_set_location), (gst_file_sink_set_property),
28283 (gst_file_sink_get_property), (gst_file_sink_open_file),
28284 (gst_file_sink_close_file), (gst_file_sink_query),
28285 (gst_file_sink_event), (gst_file_sink_render),
28286 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28287 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28288 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28289 * gst/elements/gstfilesink.h:
28290 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28291 (gst_file_src_class_init), (gst_file_src_init),
28292 (gst_file_src_finalize), (gst_file_src_set_location),
28293 (gst_file_src_set_property), (gst_file_src_get_property),
28294 (gst_file_src_map_region), (gst_file_src_map_small_region),
28295 (gst_file_src_create_mmap), (gst_file_src_create_read),
28296 (gst_file_src_create), (gst_file_src_is_seekable),
28297 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28298 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28299 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28300 (gst_file_src_uri_handler_init):
28301 * gst/elements/gstfilesrc.h:
28302 more autistic cleanliness in functions/names/defines
28304 2005-07-13 Andy Wingo <wingo@pobox.com>
28306 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28307 source couldn't negotiate.
28309 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28313 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28314 function. I am channeling Hades. Put your boots on suckers!!!
28316 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28318 * testsuite/caps/Makefile.am:
28319 * testsuite/caps/value_compare.c:
28320 * testsuite/caps/value_intersect.c:
28321 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28322 move two testsuite apps over to the check dir
28324 2005-07-12 Wim Taymans <wim@fluendo.com>
28326 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28327 Added more debug info in the negotiate process.
28329 * gst/gstmessage.h:
28330 Prepare for segment playback.
28332 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28338 * tools/gst-launch.c: (main):
28339 NULL pipeline on errors.
28341 2005-07-12 Andy Wingo <wingo@pobox.com>
28343 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28344 not it comes from a malloc region. Make sure our copy gets freed.
28346 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28348 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28349 * check/gst/gstmessage.c: (GST_START_TEST):
28350 * check/gst/gststructure.c: (GST_START_TEST),
28351 (gst_structure_suite), (main):
28353 * gst/gstelement.c: (gst_element_message_full):
28354 clean up GError and debug string now that they get copied
28355 * gst/gstmessage.c: (gst_message_new_error),
28356 (gst_message_new_warning), (gst_message_parse_error),
28357 (gst_message_parse_warning):
28358 use GST_TYPE_G_ERROR for structure_new, and take copies of
28359 arguments, so that we don't mess up refcounting
28361 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28363 * check/Makefile.am:
28364 add per-test valgrind targets
28365 * check/gst-libs/gdp.c: (GST_START_TEST),
28366 (gst_data_protocol_suite), (main):
28369 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28371 * check/Makefile.am:
28372 instate more valgrindable tests
28373 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28374 (GST_START_TEST), (fakesrc_suite):
28375 * check/gst/gstpad.c: (GST_START_TEST):
28376 * check/gst/gststructure.c: (GST_START_TEST):
28378 * docs/gst/tmpl/gstminiobject.sgml:
28379 * gst/gstpad.c: (gst_pad_finalize):
28380 fix the static mutex leak
28382 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28384 * check/Makefile.am:
28385 add two more tests for valgrinding
28386 * check/gst/gstvalue.c: (GST_START_TEST):
28387 test refcount of deserialized buffer, found a leak
28388 * docs/gst/gstreamer-docs.sgml:
28389 * docs/gst/gstreamer-sections.txt:
28390 * docs/gst/gstreamer.types:
28391 * docs/gst/tmpl/gstminiobject.sgml:
28392 add miniobject to docs
28393 * gst/gstminiobject.c:
28395 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28396 (gst_string_unwrap):
28397 fix a hard-to-find invalid write for one of the tests
28398 fix a leak for deserialized buffers
28400 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28402 * docs/pwg/advanced-events.xml:
28403 * docs/pwg/advanced-request.xml:
28404 * docs/pwg/advanced-scheduling.xml:
28405 * docs/pwg/appendix-porting.xml:
28406 * docs/pwg/building-boiler.xml:
28407 * docs/pwg/intro-preface.xml:
28408 * docs/pwg/other-ntoone.xml:
28409 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28410 of example code and explanation for pad activation, loop() and
28411 getrange() functions and a bit more. Remove old comments pointing
28413 * examples/pwg/Makefile.am:
28414 Add loop/getrange examples.
28416 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28419 check for valgrind binary + some fixes
28421 valgrind suppressions for the tests
28422 * check/Makefile.am:
28423 add a valgrind: target that valgrinds the unit tests
28424 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28425 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28426 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28427 * check/gst/gstghostpad.c:
28429 * check/gst/gstdata.c:
28431 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28432 (thread_unref), (gst_mini_object_suite), (main):
28434 * gst/gst.c: (gst_deinit):
28436 add a method to clean up.
28437 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28438 (gst_system_clock_obtain):
28439 allow for disposing the system clock.
28440 * tools/gst-launch.c: (main):
28443 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28445 * docs/gst/tmpl/gstbasesrc.sgml:
28446 * docs/gst/tmpl/gstfakesrc.sgml:
28447 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28448 (gst_base_src_init), (gst_base_src_set_property),
28449 (gst_base_src_get_property), (gst_base_src_get_range),
28450 (gst_base_src_start):
28451 * gst/base/gstbasesrc.h:
28452 add num-buffers property
28453 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28454 (gst_fakesrc_init), (gst_fakesrc_set_property),
28455 (gst_fakesrc_get_property), (gst_fakesrc_create),
28456 (gst_fakesrc_start):
28457 remove num-buffers property
28459 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28461 * docs/gst/gstreamer-sections.txt:
28462 * docs/gst/tmpl/gstbasesink.sgml:
28463 * docs/gst/tmpl/gstbasesrc.sgml:
28464 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28465 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28466 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28467 (gst_base_sink_set_property), (gst_base_sink_get_property),
28468 (gst_base_sink_handle_object), (gst_base_sink_event),
28469 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28470 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28471 (gst_base_sink_loop), (gst_base_sink_deactivate),
28472 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28473 (gst_base_sink_change_state):
28474 * gst/base/gstbasesink.h:
28475 * gst/base/gstbasesrc.h:
28476 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28477 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28478 (gst_filesink_init):
28479 more macro splitting
28481 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28483 * gst/gstelement.c: (gst_element_get_bus):
28485 * tools/gst-launch.c: (check_intr), (event_loop):
28488 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28490 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28493 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28495 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28496 (gst_base_src_finalize):
28497 add finalize method and clean up properly
28498 * gst/gstpipeline.c: (gst_pipeline_dispose):
28501 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28503 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28505 add more things to check
28506 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28507 * gst/gstelement.c:
28510 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28512 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28513 (GST_START_TEST), (fakesrc_suite):
28514 * check/gst-libs/gdp.c: (GST_START_TEST):
28515 * check/gst/gst.c: (GST_START_TEST):
28516 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28517 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28518 * check/gst/gstbus.c: (GST_START_TEST):
28519 * check/gst/gstcaps.c: (GST_START_TEST):
28520 * check/gst/gstdata.c: (GST_START_TEST):
28521 * check/gst/gstelement.c: (GST_START_TEST):
28522 * check/gst/gstghostpad.c: (GST_START_TEST):
28523 * check/gst/gstiterator.c: (GST_START_TEST):
28524 * check/gst/gstmessage.c: (GST_START_TEST):
28525 * check/gst/gstobject.c: (GST_START_TEST):
28526 * check/gst/gstpad.c: (GST_START_TEST):
28527 * check/gst/gststructure.c: (GST_START_TEST):
28528 * check/gst/gstsystemclock.c: (GST_START_TEST),
28529 (gst_systemclock_suite):
28530 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28531 * check/gst/gstvalue.c: (GST_START_TEST):
28532 * check/pipelines/cleanup.c: (GST_START_TEST):
28533 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28534 * check/states/sinks.c: (GST_START_TEST):
28535 * check/gstcheck.c: (gst_check_init):
28536 * check/gstcheck.h:
28537 add debugging category
28538 use GST_START_TEST now, so we add a debug line
28540 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28542 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28543 add test for state change message on a bin
28544 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28546 * gst/gstbin.c: (gst_bin_init):
28547 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28548 * gst/gstelement.c: (gst_element_post_message),
28549 (gst_element_set_state):
28550 * gst/gstelementfactory.c: (gst_element_factory_create):
28551 * gst/gstmessage.c: (gst_message_new):
28552 * gst/gstscheduler.c:
28553 various debugging additions and cleanups
28555 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28557 * check/Makefile.am:
28558 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28560 adding tests for elements
28561 * gst/gstelement.c: (gst_element_dispose):
28563 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28565 * gst/registries/gstlibxmlregistry.c: (load_feature):
28566 plug more leaks. A simple gst_init() now is leakfree, yay.
28568 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28570 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28571 (gst_xml_registry_load):
28572 plug another memleak
28574 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28577 use GST_SET_ERROR_CFLAGS
28578 * docs/faq/cvs.xml:
28579 change to ERROR_CFLAGS
28581 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28584 make GST_ERROR_CFLAGS overridable and re-enable Werror
28585 * docs/faq/cvs.xml:
28586 add a note about error CFLAGS
28587 * docs/gst/tmpl/gstfakesrc.sgml:
28588 * gst/elements/gstfakesrc.c:
28589 comment out some unused code
28590 * gst/gst.c: (split_and_iterate):
28591 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28595 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28597 * common/Makefile.am:
28598 * common/gtk-doc.mak:
28599 * docs/gst/Makefile.am:
28600 factor out gtk-doc.mak
28602 2005-07-07 Wim Taymans <wim@fluendo.com>
28604 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28605 (gst_thread_scheduler_dispose):
28606 Unlock the STREAM_LOCK completely.
28608 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28610 * check/Makefile.am:
28611 * check/elements/.cvsignore:
28612 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28613 (START_TEST), (fakesrc_suite), (main):
28614 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28615 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28616 (gst_fakesrc_create), (gst_fakesrc_start):
28617 * gst/elements/gstfakesrc.h:
28618 adding a first element test
28620 2005-07-07 Andy Wingo <wingo@pobox.com>
28622 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28625 2005-07-07 Wim Taymans <wim@fluendo.com>
28631 2005-07-07 Wim Taymans <wim@fluendo.com>
28633 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28634 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28635 Allow subclasses to implement their own negotiation.
28637 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28639 * docs/design/part-gstbin.txt:
28640 * docs/design/part-gstpipeline.txt:
28641 Update design notes to reflect the movement of
28642 responsibility for bus handling from GstPipeline to
28645 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28648 Remove unnecessary queue2/3/4 examples.
28650 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28652 * examples/Makefile.am:
28653 * examples/helloworld/helloworld.c: (event_loop), (main):
28654 * examples/queue/queue.c: (event_loop), (main):
28655 * examples/queue2/queue2.c: (main):
28656 Update a couple of the examples to work again.
28658 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28659 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28660 Spelling corrections and extra debug.
28662 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28663 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28664 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28666 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28667 (gst_pipeline_change_state):
28668 * gst/gstpipeline.h:
28669 Move the bus handler for children to the GstBin, and create a
28670 separate bus for receiving messages from children to the one the
28671 bus sends 'upwards' on.
28673 2005-07-06 Wim Taymans <wim@fluendo.com>
28676 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28677 (gst_base_sink_handle_object), (gst_base_sink_loop),
28678 (gst_base_sink_change_state):
28679 * gst/base/gstbasesink.h:
28680 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28681 (gst_base_src_init), (gst_base_src_setcaps),
28682 (gst_base_src_getcaps), (gst_base_src_loop),
28683 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28684 (gst_base_src_start), (gst_base_src_change_state):
28685 * gst/base/gstbasesrc.h:
28686 Make basesrc negotiate.
28687 Handle the case where preroll fails in basesink.
28690 2005-07-06 Wim Taymans <wim@fluendo.com>
28692 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28693 Implement the fixate function.
28694 Clean up acceptcaps.
28696 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28698 * docs/pwg/building-filterfactory.xml:
28699 * docs/pwg/pwg.xml:
28700 Remove never-written filter-factory chapter; I'll add the various
28701 base classes to part 4 ("other element types") later on.
28703 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28705 * docs/pwg/advanced-negotiation.xml:
28706 * docs/pwg/building-boiler.xml:
28707 * docs/pwg/building-pads.xml:
28708 * docs/pwg/pwg.xml:
28709 * examples/pwg/Makefile.am:
28710 Add a chapter on caps negotiation, simplify the original code
28711 samples a bit w.r.t. caps negotiation, add link to the advanced
28712 section. Add a bunch of examples showing different use cases of
28713 different types of caps negotiation. Upstream renegotiation isn't
28714 fully documented yet since nobody knows how that works.
28716 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28718 * check/gst/gstpad.c:
28719 * check/gstcheck.c:
28720 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28721 if pad has no parent, return NULL as list of internal links
28723 2005-07-05 Andy Wingo <wingo@pobox.com>
28725 * gst/elements/gstfilesrc.c:
28726 * gst/elements/gstfakesrc.c:
28727 * gst/base/gstpushsrc.c:
28728 * gst/base/gstbasesrc.h:
28729 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28731 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28734 better report generation target (lcov needs a patch)
28736 2005-07-05 Andy Wingo <wingo@pobox.com>
28738 * gst/elements, testsuite: Null if we got it...
28740 2005-07-05 Wim Taymans <wim@fluendo.com>
28743 * libs/gst/dataprotocol/Makefile.am:
28744 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28745 * libs/gst/dataprotocol/dataprotocol.h:
28746 * pkgconfig/Makefile.am:
28747 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28748 * pkgconfig/gstreamer-dataprotocol.pc.in:
28749 Ported dataprotol to 0.9.
28750 Added pkgconfig files.
28752 2005-07-05 Andy Wingo <wingo@pobox.com>
28754 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28755 Default to returning TRUE for the case when tranform_caps returns
28756 a fixed caps, like for identity or volume.
28758 * check/gst/gstbus.c (pound_bus_with_messages):
28759 * check/gst/gstmessage.c (START_TEST):
28760 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28761 message API change.
28763 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28764 logic weaks here: always run transform_caps, trying passthrough
28765 operation only if the original caps intersects with the transform.
28767 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28768 source and sink caps.
28770 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28771 Intersect the peer caps with the pad template before going into
28773 (gst_base_transform_transform_caps): More debugging.
28775 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28778 2005-07-04 Edward Hervey <edward@fluendo.com>
28782 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28785 2005-07-04 Andy Wingo <wingo@pobox.com>
28787 * check/gst/gstpad.c: Only set explicit caps on pads.
28789 2005-07-01 Andy Wingo <wingo@pobox.com>
28791 * tests/network-clock.scm: Commentary update.
28793 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28794 Didn't really make sense, not implementable with basetransform,
28796 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28797 attempt at implementing the sync property, needs an unlock method.
28799 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28800 New func, by default returns the same caps (the identity
28802 (gst_base_transform_getcaps): Uses transform_caps to return
28803 something sensible.
28804 (gst_base_transform_setcaps): Complicated logic to get caps on
28805 both pads, even if they are different, and to call set_caps once
28806 for every time both pads get their caps set.
28807 (gst_base_transform_handle_buffer): Give the ref to the transform
28808 function. Allows in-place modification of the buffer.
28810 * gst/base/gstbasetransform.h (transform_caps): New class method.
28811 Given caps on one side, what can I do on the other.
28812 (set_caps): Take two caps, one for each side of the element.
28815 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28816 caps in place. This is safe because we can check the mutability of
28817 the caps, and a good idea because fixate functions are just called
28818 as a matter of last resort. (Not actually implemented.)
28819 (gst_pad_set_caps): If the caps we're setting is actually the same
28820 as the existing pad caps, just update the pointer without calling
28821 setcaps. Assert that caps is either NULL or fixed, as per the
28824 * gst/gstghostpad.c: Update for fixate changes.
28826 2005-07-02 Andy Wingo <wingo@pobox.com>
28829 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28830 two refcounts makes it immutable, which is enough. Doc more.
28832 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28834 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28835 Put the mini_object into GValue as a mini_object,
28836 not a gpointer, since that's how we declared
28839 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28841 * examples/pwg/Makefile.am:
28842 Fix buildbot again.
28844 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28846 * docs/pwg/building-testapp.xml:
28848 * examples/pwg/Makefile.am:
28851 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28854 * examples/Makefile.am:
28855 * examples/pwg/Makefile.am:
28856 * examples/pwg/extract.pl:
28857 Enable building the PWG examples.
28858 * docs/pwg/advanced-interfaces.xml:
28859 Add URI interface stub.
28860 * docs/pwg/advanced-types.xml:
28861 * docs/pwg/other-autoplugger.xml:
28862 * docs/pwg/appendix-porting.xml:
28863 * docs/pwg/pwg.xml:
28864 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28865 * docs/pwg/building-boiler.xml:
28866 * docs/pwg/building-chainfn.xml:
28867 * docs/pwg/building-pads.xml:
28868 * docs/pwg/building-props.xml:
28869 * docs/pwg/building-state.xml:
28870 * docs/pwg/building-testapp.xml:
28871 Update the building-*.xml parts for 0.9 changes. All examples
28872 code blocks compile in examples/pwg/*.
28874 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28876 * docs/manual/advanced-autoplugging.xml:
28877 * docs/manual/appendix-checklist.xml:
28878 * docs/manual/appendix-integration.xml:
28879 * docs/manual/highlevel-components.xml:
28880 Fix playbin/decodebin examples, update docs a bit, mention bus
28881 instead of signals in various places, mention kmplayer and
28882 kaffeine since they have a working GStreamer backend in the KDE
28885 2005-06-30 Wim Taymans <wim@fluendo.com>
28888 * docs/design/draft-ghostpads.txt:
28889 * docs/design/draft-push-pull.txt:
28890 * docs/design/draft-query.txt:
28891 * docs/design/part-TODO.txt:
28892 * docs/design/part-query.txt:
28893 Added CHANGES-0.9 doc, updated status of other docs.
28898 2005-06-30 Wim Taymans <wim@fluendo.com>
28900 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28901 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28902 (gst_base_sink_change_state):
28903 * gst/base/gstbasesink.h:
28904 Some tweaks, only EOS and a buffer complete a preroll.
28906 2005-06-30 Andy Wingo <wingo@pobox.com>
28908 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28909 activate_push down to the internal pad as well.
28911 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28913 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28915 * gst/gsttaginterface.c:
28916 Some documentation fixes (#307394 and #307397).
28918 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28920 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28922 * gst/gstvalue.c: (gst_value_intersect_list):
28923 Fix memleak (#309125).
28925 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28927 * docs/manual/advanced-dataaccess.xml:
28928 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28929 * docs/manual/basics-pads.xml:
28930 Add reference for filtered caps to above chapter.
28932 2005-06-30 Wim Taymans <wim@fluendo.com>
28934 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28935 (gst_bin_change_state):
28937 Lame attempt at making the state change function a bit
28940 2005-06-30 Wim Taymans <wim@fluendo.com>
28942 * docs/design/part-clocks.txt:
28943 * docs/design/part-element-sink.txt:
28944 * docs/design/part-events.txt:
28945 * docs/design/part-preroll.txt:
28946 * docs/design/part-states.txt:
28947 Some more tweeks and additions to the docs.
28949 2005-06-30 Wim Taymans <wim@fluendo.com>
28951 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28952 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28953 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28954 (gst_pad_check_pull_range), (gst_pad_get_range),
28955 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28957 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28958 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28959 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28960 (gst_pad_remove_buffer_probe):
28961 Removed atomic operations, use existing LOCK.
28962 Move exception handling out of main code path.
28964 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28966 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28967 (silly_return_true_function), (gst_pad_class_init),
28968 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28969 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28970 (gst_pad_send_event):
28971 Fix accumulator, add default value by using _emitv() instead
28972 of _emit() for signal emission.
28974 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28976 * docs/manual/advanced-dataaccess.xml:
28977 * examples/manual/Makefile.am:
28979 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28982 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28984 * gst/elements/gstfilesink.c: (gst_filesink_render):
28985 Simplify code so that we don't have to handle short
28986 writes and return GST_FLOW_ERROR if an error occured.
28988 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28990 * docs/gst/gstreamer-docs.sgml:
28991 Remove probes more.
28993 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28995 * docs/gst/gstreamer-sections.txt:
28996 * docs/gst/tmpl/gstpad.sgml:
28997 * docs/gst/tmpl/gstprobe.sgml:
28999 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29000 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29001 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29002 (gst_pad_push_event), (gst_pad_send_event):
29004 * gst/gstutils.c: (gst_pad_add_data_probe),
29005 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29006 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29007 (gst_pad_remove_buffer_probe):
29009 Remove old probes, add new g-signal-based probes and some utility
29012 2005-06-29 Edward Hervey <edward@fluendo.com>
29014 * gst/gstelementfactory.c:
29017 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29018 the definition to the header file.
29020 2005-06-29 Andy Wingo <wingo@pobox.com>
29022 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29023 plugins from the source directory.
29025 2005-06-29 Wim Taymans <wim@fluendo.com>
29027 * docs/gst/tmpl/gstbuffer.sgml:
29028 * docs/gst/tmpl/gstclock.sgml:
29029 Some fixings for blantently wrong text.
29031 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29033 * check/Makefile.am:
29034 * gst/gst.c: (add_path_func), (init_pre):
29035 * gst/gstregistry.c: (gst_registry_add_path):
29036 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29037 only scan the GST_PLUGIN_PATH locations, and not add
29040 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29042 * docs/gst/gstreamer-sections.txt:
29043 * docs/gst/tmpl/gstbasesrc.sgml:
29044 * gst/gstelement.c:
29045 * gst/gstelement.h:
29050 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29052 * docs/manual/advanced-autoplugging.xml:
29053 Fix autoplugging example.
29055 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29057 * docs/manual/advanced-autoplugging.xml:
29058 * docs/manual/mime-world.fig:
29059 Try to get autoplugging working, fix type detection. Fix text
29060 in hello-world image.
29062 2005-06-29 Wim Taymans <wim@fluendo.com>
29064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29065 (gst_base_sink_change_state):
29069 map SIGNAL and BROADCAST to the right function.
29072 Remove redundant braces.
29074 * gst/gstpad.c: (gst_pad_set_caps):
29075 Don't call setcaps function when reseting caps to NULL.
29077 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29078 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29079 (gst_system_clock_id_unschedule):
29080 Use BROADCAST as this is what we do.
29082 2005-06-29 Wim Taymans <wim@fluendo.com>
29084 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29085 We are actually prerolling before commiting the state
29088 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29090 * docs/manual/advanced-clocks.xml:
29091 * docs/manual/advanced-interfaces.xml:
29092 * docs/manual/advanced-metadata.xml:
29093 * docs/manual/advanced-position.xml:
29094 * docs/manual/advanced-schedulers.xml:
29095 * docs/manual/advanced-threads.xml:
29096 * docs/manual/appendix-porting.xml:
29097 * docs/manual/basics-bins.xml:
29098 * docs/manual/basics-bus.xml:
29099 * docs/manual/basics-elements.xml:
29100 * docs/manual/basics-helloworld.xml:
29101 * docs/manual/basics-pads.xml:
29102 * docs/manual/highlevel-components.xml:
29103 * docs/manual/manual.xml:
29104 * docs/manual/thread.fig:
29105 Update (until threads/scheduling) Application Development Manual;
29106 remove GstThread, add GstBus, add simple porting checklist, add
29107 documentation for tag writing, clocks, make all examples until this
29108 part compile and run.
29109 * examples/manual/Makefile.am:
29110 Update from changes to Application Development Manual; add bus
29111 example, remove thread example.
29113 2005-06-28 Wim Taymans <wim@fluendo.com>
29115 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29116 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29117 (gst_bus_source_dispatch):
29118 Add debugging messages.
29119 Make internal methods static.
29120 Handle the case where the bus is flushed in the handler.
29122 * gst/gstelement.c: (gst_element_get_bus):
29123 Fix refcount in _get_bus();
29125 * gst/gstpipeline.c: (gst_pipeline_change_state),
29126 (gst_pipeline_get_clock_func):
29127 Clock refcounting fixes.
29128 Handle the case where preroll timed out more gracefully.
29130 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29131 Clean up the internal thread in dispose. This is needed
29132 for subclasses that actually get disposed.
29134 * gst/schedulers/threadscheduler.c:
29135 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29136 (gst_thread_scheduler_dispose):
29137 Free thread pool in dispose.
29139 2005-06-28 Andy Wingo <wingo@pobox.com>
29141 * tests/network-clock-utils.scm (debug, print-event): New utils.
29143 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29144 (*packet-loss*): Unified loss probability.
29145 (network-time): Report out-of-band events.
29147 * tests/plot-data: Add support for out-of-band events. Hack it
29148 into this script instead of passing it down the pipe; should fix
29151 2005-06-28 Wim Taymans <wim@fluendo.com>
29153 * docs/gst/gstreamer.types:
29154 * docs/gst/tmpl/gstbasesrc.sgml:
29155 * docs/gst/tmpl/gstpad.sgml:
29158 2005-06-28 Wim Taymans <wim@fluendo.com>
29160 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29161 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29162 (gst_proxy_pad_do_fixatecaps):
29163 Correctly proxy the check_pull_range function.
29165 2005-06-28 Andy Wingo <wingo@pobox.com>
29167 * tests/network-clock.scm: Removed need for slib.
29169 2005-06-28 Wim Taymans <wim@fluendo.com>
29171 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29172 (gst_basesink_preroll_queue_flush):
29173 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29174 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29175 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29176 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29177 (gst_proxy_pad_set_property):
29180 * gst/gstqueue.c: (gst_queue_init):
29181 The deprecated pad loop function is removed now.
29183 2005-06-28 Andy Wingo <wingo@pobox.com>
29185 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29186 New parameters, simulate network packet loss.
29188 * tests/network-clock-utils.scm: Initialize the RNG.
29190 2005-06-28 Wim Taymans <wim@fluendo.com>
29192 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29193 (gst_basesink_event), (gst_basesink_deactivate):
29194 Flushing the preroll queue always needs to unlock the waiters.
29196 2005-06-28 Edward Hervey <edward@fluendo.com>
29198 * gst/gstpipeline.c: (gst_pipeline_send_event):
29199 Wheen a seek was successful on a pipeline, set the stream_time to the
29200 seek offset in order to have a synchronized stream_time.
29202 2005-06-28 Wim Taymans <wim@fluendo.com>
29204 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29205 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29206 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29207 (gst_proxy_pad_do_fixatecaps):
29208 Call wrapper function instead of just calling the function
29209 pointers. This takes care of any locking and whatmore.
29211 2005-06-28 Wim Taymans <wim@fluendo.com>
29213 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29214 (gst_pad_pull_range):
29216 CONNECTED -> LINKED.
29218 2005-06-28 Andy Wingo <wingo@pobox.com>
29220 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29221 source-munging commit!!!
29223 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29224 (gst_object_sink): Take gpointer arguments, not GstObject --
29225 avoids casts. Like GLib.
29227 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29230 2005-06-27 Andy Wingo <wingo@pobox.com>
29232 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29235 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29236 returns a sorted copy of the trace list.
29237 (gst_alloc_trace_print_live): New API, only prints traces with
29238 live objects. Sort the list.
29239 (gst_alloc_trace_print_all): Sort the list.
29240 (gst_alloc_trace_print): Align columns.
29242 * gst/elements/gstttypefindelement.c:
29243 * gst/elements/gsttee.c:
29244 * gst/base/gstbasesrc.c:
29245 * gst/base/gstbasesink.c:
29246 * gst/base/gstbasetransform.c:
29247 * gst/gstqueue.c: Adapt for pad activation changes.
29249 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29251 (gst_pipeline_dispose): Drop ref on sched.
29253 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29254 (gst_pad_activate_default): Push mode by default.
29255 (pre_activate_switch, post_activate_switch): New stubs, things to
29256 do before and after switching activation modes on pads.
29257 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29258 the pad's activate function to choose which mode to activate.
29259 Shortcut on deactivation and call the right function directly.
29260 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29262 (gst_pad_activate_push): New API, same for push mode.
29263 (gst_pad_set_activate_function)
29264 (gst_pad_set_activatepull_function)
29265 (gst_pad_set_activatepush_function): Setters for new API.
29267 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29268 Trace all miniobjects.
29269 (gst_mini_object_make_writable): Unref the arg if we copy, like
29270 gst_caps_make_writable.
29272 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29274 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29275 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29276 Adapt for new pad API.
29278 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29280 * gst/gstelement.h:
29281 * gst/gstelement.c (gst_element_iterate_src_pads)
29282 (gst_element_iterate_sink_pads): New API functions.
29284 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29285 should fold into gstiterator.c in some form.
29286 (gst_element_pads_activate): Simplified via use of fold and
29287 delegation of decisions to gstpad->activate.
29289 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29292 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29293 class once in init, like gstmessage. Didn't run into this issue
29294 but it seems correct. Don't initialize a trace, gstminiobject does
29297 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29298 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29300 (assert_live_count): New util function, uses alloc traces to check
29303 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29304 To be modified when unlink drops the internal pad.
29306 2005-06-27 Wim Taymans <wim@fluendo.com>
29308 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29309 (gst_bin_change_state):
29310 Cleanup the get_state() function a little, make sure it
29311 iterates the same set of elements.
29312 Added stub iterate_state_order().
29314 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29316 * docs/gst/gstreamer-docs.sgml:
29317 * docs/gst/gstreamer-sections.txt:
29318 * docs/gst/gstreamer.types:
29319 * docs/gst/tmpl/gstbasesink.sgml:
29320 * docs/gst/tmpl/gstbasesrc.sgml:
29321 * docs/gst/tmpl/gstbasetransform.sgml:
29322 * docs/gst/tmpl/gstelement.sgml:
29323 * docs/gst/tmpl/gstiterator.sgml:
29324 * gst/base/gstbasesrc.c:
29325 * gst/base/gstbasesrc.h:
29326 * gst/base/gstbasetransform.h:
29327 * gst/gstelement.c:
29328 * gst/gstiterator.h:
29329 adding basetransform and iterator docs
29331 2005-06-27 Andy Wingo <wingo@pobox.com>
29333 * docs/design/part-activation.txt: Notes on how activation should
29334 work -- not quite implemented yet.
29336 2005-06-25 Wim Taymans <wim@fluendo.com>
29338 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29339 At least get the chain function correct, needs more
29342 2005-06-25 Wim Taymans <wim@fluendo.com>
29344 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29345 (gst_basesink_handle_object), (gst_basesink_event),
29346 (gst_basesink_do_sync), (gst_basesink_handle_event),
29347 (gst_basesink_change_state):
29349 Right, two problems here: ghostpads don't take locks and
29350 glib _rec_mutex_lock_full() with depth==0 still locks.
29351 Catch illegal locking and g_warn them.
29353 2005-06-25 Wim Taymans <wim@fluendo.com>
29355 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29356 Have to check for completion now...
29358 2005-06-25 Wim Taymans <wim@fluendo.com>
29360 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29361 (gst_basesink_handle_object), (gst_basesink_event),
29362 (gst_basesink_do_sync), (gst_basesink_handle_event),
29363 (gst_basesink_change_state):
29365 Unlock STREAM_LOCK whatever the recursion was.
29367 2005-06-25 Wim Taymans <wim@fluendo.com>
29369 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29370 (gst_basesink_preroll_queue_empty),
29371 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29372 (gst_basesink_event), (gst_basesink_do_sync),
29373 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29374 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29375 (gst_basesink_change_state):
29376 Reworked the base sink, handle event and buffer serialisation
29377 correctly and removed possible deadlock.
29378 Handle EOS correctly.
29380 2005-06-25 Wim Taymans <wim@fluendo.com>
29382 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29383 (gst_pipeline_change_state):
29384 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29385 Allow elements to post EOS in the state change function.
29386 Fix up -launch, make it exit the poll loop when the
29387 pipeline actually changed state.
29388 Fix up warning parsing in -launch.
29390 2005-06-25 Wim Taymans <wim@fluendo.com>
29392 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29393 (gst_tee_sink_activate):
29394 Core takes STREAM_LOCK for us now.
29396 2005-06-25 Wim Taymans <wim@fluendo.com>
29398 * gst/gstelement.c: (gst_element_get_state_func),
29399 (gst_element_set_state):
29400 * gst/gstelement.h:
29401 * gst/gstmessage.c: (gst_message_parse_error),
29402 (gst_message_parse_warning):
29403 Keep track of current target state while performing a state
29404 change so that subclasses can do something interesting.
29405 Fix parsing of warning/error messages when GError is NULL.
29407 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29409 * docs/gst/Makefile.am:
29410 * docs/gst/gstreamer-docs.sgml:
29411 * docs/gst/gstreamer-sections.txt:
29412 * docs/gst/gstreamer.types:
29413 * docs/gst/tmpl/gstbasesink.sgml:
29414 * docs/gst/tmpl/gstbasesrc.sgml:
29415 * docs/gst/tmpl/gstbin.sgml:
29416 * docs/gst/tmpl/gstcompat.sgml:
29417 * docs/gst/tmpl/gstfakesink.sgml:
29418 * docs/gst/tmpl/gstfakesrc.sgml:
29419 * docs/gst/tmpl/gstfilesink.sgml:
29420 * docs/gst/tmpl/gstfilesrc.sgml:
29421 * docs/gst/tmpl/gstindex.sgml:
29422 * docs/manual/appendix-quotes.xml:
29423 * gst/base/gstbasesrc.h:
29424 * gst/elements/gstfakesrc.h:
29425 * gst/gstmessage.h:
29426 start pulling in base classes and elements in our docs
29428 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29430 * docs/gst/Makefile.am:
29431 * docs/libs/Makefile.am:
29432 fixed make distcheck with gtk-doc 1.3
29434 2005-06-23 Wim Taymans <wim@fluendo.com>
29436 * gst/gstelement.c: (gst_element_get_state_func),
29437 (gst_element_set_state), (gst_element_change_state):
29438 When the state did not change, also report NO_PREROLL
29441 2005-06-23 Wim Taymans <wim@fluendo.com>
29443 * gst/gstpad.c: (gst_pad_event_default):
29444 * gst/gstqueue.c: (gst_queue_loop):
29445 No unsafe task pausing please.
29447 2005-06-23 Wim Taymans <wim@fluendo.com>
29449 * gst/schedulers/threadscheduler.c:
29450 (gst_thread_scheduler_task_start),
29451 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29452 Ref the task before pushing it on the threadpool. This
29453 makes sure that we have a ref when the threadfunction is
29456 2005-06-23 Andy Wingo <wingo@pobox.com>
29458 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29459 offset is greater than the file's size.
29461 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29462 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29463 * gst/gstobject.c (gst_object_class_init): Make the class lock
29464 recursive. Wim won't let me drop deep_notify. Decodebin works
29465 again, whoopdy doo.
29467 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29468 internal pad, and hacks accordingly. Doesn't do it on the target
29469 pad because we change its caps. Probably catches all cases of
29471 (gst_ghost_pad_set_property): Connect to notify::caps as
29474 * tests/network-clock.scm (plot-simulation): Pipe data to the
29475 elite python skript.
29477 * tests/network-clock-utils.scm (define-parameter): New macro,
29478 defines a parameter that can be set via the command line.
29479 (set-parameter!, parse-parameter-arguments): Command line args
29482 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29485 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29487 * gst/elements/gsttypefindelement.c:
29488 (gst_type_find_element_handle_event):
29489 Don't restart typefinding on a discont.
29490 * gst/gstelement.c: (gst_element_set_state):
29491 Debug spelling fix.
29492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29493 Allow changing mode of an active pad.
29494 Debug output fixes.
29495 * gst/registries/gstlibxmlregistry.c: (load_feature):
29496 Don't cast a static pad template to a normal pad template.
29498 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29500 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29501 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29502 remove gst_strtoll completely, since it didn't actually do
29503 anything more than what g_ascii_strtoull already does.
29504 check for range errors when deserializing
29505 do a cast for the unsigned cases; but further fixing needs
29506 a decision on what the interpretation of "(int)" and
29507 deserialization should be for values that fall outside the
29508 type's boundaries (ie, refuse, or interpret as casting)
29510 2005-06-23 Wim Taymans <wim@fluendo.com>
29512 * check/Makefile.am:
29513 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29514 * docs/design/part-live-source.txt:
29515 * docs/design/part-states.txt:
29516 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29517 (gst_basesrc_set_live), (gst_basesrc_is_live),
29518 (gst_basesrc_get_range), (gst_basesrc_activate),
29519 (gst_basesrc_change_state):
29520 * gst/base/gstbasesrc.h:
29521 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29522 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29523 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29524 * gst/gstelement.c: (gst_element_get_state_func),
29525 (gst_element_set_state):
29526 * gst/gstelement.h:
29528 * tools/gst-launch.c: (event_loop), (main):
29529 Added support for live sources and other elements that
29531 Updated design docs, added live-source design doc.
29532 Implemented live source functionality in basesrc
29533 Fix error condition in _bin_get_state()
29534 Implement live source handling in -launch.
29535 Added check for live sources.
29536 Fixed case in GstBin where elements were changed state
29540 2005-06-23 Andy Wingo <wingo@pobox.com>
29542 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29543 borken refcounting.
29545 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29546 gst_caps_replace takes care of this for us.
29548 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29549 gst_pad_set_caps on the target, not just its setcaps() function.
29551 * tests/network-clock.scm:
29552 * tests/network-clock-utils.scm: A network clock simulator.
29553 Something of an algorithmic testbed before doing something in C.
29555 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29557 * check/Makefile.am:
29558 * check/gst/capslist.h:
29559 copy over from 0.8, and add two with bitmasks specified with
29561 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29562 add test to parse everything from capslist.h
29563 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29565 add test for structure deserialization
29566 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29567 add tests for deserialization of strings to int types
29568 * gst/gststructure.c: (gst_structure_nth_field_name):
29569 * gst/gststructure.h:
29570 add a way to get the name of a field referenced by index
29571 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29572 instead of checking if the resulting long long lies between
29573 min and max, we check if the long long would fit into
29574 a number of bytes for the final type.
29575 This fixes cases where a string represents 2^32 - 1, which
29576 when cast to int would be the (valid) -1, but is bigger than
29579 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29581 * gst/parse/grammar.y:
29582 add a log line for type deserialization
29584 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29586 * check/gst/gstvalue.c: (START_TEST):
29587 * gst/gstvalue.c: (gst_value_deserialize):
29588 return long long, not int, so gint64 deserialization actually
29589 works. Is there any flag that makes the compiler check this ?
29592 2005-06-22 Wim Taymans <wim@fluendo.com>
29595 Added convenience macros for setting buffers in GValue.
29597 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29599 * check/gst/.cvsignore:
29600 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29601 add a test deserializing int64, and comment part out because
29604 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29606 * check/Makefile.am:
29607 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29608 * testsuite/Makefile.am:
29609 * testsuite/caps/Makefile.am:
29610 * testsuite/caps/value_serialize.c:
29611 * testsuite/test_gst_init.c:
29612 move a value_serialize test over
29614 2005-06-20 Wim Taymans <wim@fluendo.com>
29619 * gst/gstvalue.c: (gst_value_compare_buffer),
29620 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29621 (gst_value_compare_flags), (gst_value_serialize_flags),
29622 (gst_value_deserialize_flags), (_gst_value_initialize):
29623 Fix serialisation of buffers, they are not boxed types anymore
29625 2005-06-20 Wim Taymans <wim@fluendo.com>
29627 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29628 Testcase to show error in buffer-on-caps serialisation.
29630 2005-06-20 Andy Wingo <wingo@pobox.com>
29632 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29633 will be adding to later.
29635 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29636 if its socks fill with rocks.
29637 (gst_system_clock_obtain): Set the name on object construction.
29638 Avoid double-checked locking.
29640 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29642 * gst/gsturi.c: (gst_element_make_from_uri):
29643 Fix potential endless loop.
29645 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29647 * check/Makefile.am:
29649 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29651 move over from testsuite dir and clean up
29654 * testsuite/Makefile.am:
29655 * testsuite/tags/.cvsignore:
29656 * testsuite/tags/Makefile.am:
29657 * testsuite/tags/merge.c:
29658 remove testsuite/tags
29660 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29662 * docs/gst/gstreamer-sections.txt:
29663 * docs/gst/tmpl/gstenumtypes.sgml:
29664 * win32/gstenumtypes.c:
29665 clean up documentation build a little
29667 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29669 * check/gstcheck.h:
29670 add macros for checking refcounts on objects and caps
29671 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29672 add some more unit tests
29673 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29674 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29675 fix leaked refcounts (I hope :)) so unittest works
29679 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29681 * configure.ac: back to HEAD
29683 === release 0.9.1 ===
29685 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29691 2005-06-17 Andy Wingo <wingo@pobox.com>
29693 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29694 assert; it's always possible that the pad gets deactivated in
29695 between the checks in gstpad.c and the implementation. Rely on
29696 finish_preroll() to return a FLUSHING or similar instead of on the
29699 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29700 clock and post an EOS message if we come out of finish_preroll in
29703 2005-06-16 David Schleef <ds@schleef.org>
29705 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29706 (gst_capsfilter_set_property): Allow NULL as possible value
29707 for filter_caps property, indicating GST_CAPS_ANY.
29709 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29711 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29713 * gst/schedulers/Makefile.am:
29715 * gstreamer.spec.in:
29718 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29720 * gstreamer.spec.in:
29723 2005-06-08 Andy Wingo <wingo@pobox.com>
29725 * gst/gstutils.c: RPAD fixes all around.
29726 (gst_element_link_pads): Refcounting fixes.
29728 * tools/gst-inspect.c:
29729 * tools/gst-xmlinspect.c:
29731 * gst/base/gsttypefindhelper.c:
29732 * gst/base/gstbasesink.c:
29733 * gst/gstqueue.c: RPAD fixes.
29735 * gst/gstghostpad.h:
29736 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29737 pads. The tricky thing is they provide both source and sink
29738 interfaces, since they proxy the internal pad for the external
29739 pad, and vice versa. Implement with lower-level ProxyPad objects,
29740 with the interior proxy pad as a child of the exterior ghost pad.
29741 Should write a doc on this.
29743 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29744 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29747 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29748 pads are real pads. No ghost pads in this file. Not documenting
29749 the myriad s/RPAD/PAD/ and REALIZE fixes.
29750 (gst_pad_class_init): Add properties for "direction" and
29751 "template". Both are construct-only, so they can't change during
29752 the life of the pad. Fixes properly deriving from GstPad.
29753 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29754 derived objects, just set properties when creating the objects via
29756 (gst_pad_get_parent): Implement as a function, return NULL if the
29757 parent is not an element.
29758 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29759 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29761 * gst/gstobject.c (gst_object_class_init): Make name a construct
29762 property. Don't set it in the object init.
29764 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29765 with UNKNOWN direction.
29766 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29767 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29768 (gst_element_remove_pad): Remove ghost-pad special cases.
29769 (gst_element_pads_activate): Remove rpad cruft.
29771 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29772 catch the pad's-parent-not-an-element case.
29774 * gst/gst.h: Include gstghostpad.h.
29776 * gst/gst.c (init_post): No more real, ghost pads.
29778 * gst/Makefile.am: Add gstghostpad.[ch].
29780 * check/Makefile.am:
29781 * check/gst/gstbin.c:
29782 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29783 into a bin creates ghost pads, and that the refcounts are right.
29784 Partly moved from gstbin.c.
29786 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29788 * check/gst-libs/.cvsignore:
29789 * check/gst/.cvsignore:
29790 * check/pipelines/.cvsignore:
29792 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29793 (START_TEST), (cleanup_suite), (main):
29794 add some tests related to cleanup after running pipelines
29796 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29798 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29799 add a testsuite for GstBuffer
29801 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29803 * gst/gstminiobject.h:
29804 add defines for accessing the refcount
29806 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29808 * Makefile.am: added support for html unit test coverage reports
29810 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29812 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29813 Free existing caps if the capsfilter changes. Add a FIXME about
29814 setting those caps on the pads.
29816 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29817 Before adding a ghost pad to a parent bin, check that there isn't
29818 already one for the element on the bin. Prevents infinite recursion
29819 when using decodebin in parse pipelines. Andy says he'll rewrite the
29820 way this works anyway, so ignore the hack.
29822 2005-06-02 Andy Wingo <wingo@pobox.com>
29824 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29825 file size, pass it on to the type find helper.
29827 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29828 segment_start and segment_end properly according to the seek
29829 method. Segment_end is still a bit flaky because offset can be
29830 negative for CUR and END cases, but it takes -1 as an "unset"
29833 2005-06-02 Wim Taymans <wim@fluendo.com>
29835 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29836 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29837 (gst_basesink_activate):
29838 * gst/base/gstbasesink.h:
29839 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29840 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29841 (gst_pad_query), (gst_pad_start_task):
29843 * gst/gstqueue.c: (gst_queue_bufferalloc),
29844 (gst_queue_handle_sink_event), (gst_queue_chain):
29845 Bufferalloc: return GstFlowReturn to more accuratly report
29846 why allocation failed.
29848 2005-06-02 Wim Taymans <wim@fluendo.com>
29850 * gst/gstpipeline.c: (gst_pipeline_send_event):
29851 Take snapshot of state without blocking.
29853 2005-06-02 Wim Taymans <wim@fluendo.com>
29855 * docs/design/part-TODO.txt:
29856 * docs/design/part-caps.txt:
29857 * docs/design/part-clocks.txt:
29858 * docs/design/part-negotiation.txt:
29859 * docs/design/part-preroll.txt:
29862 2005-05-30 Wim Taymans <wim@fluendo.com>
29864 * gst/elements/gstidentity.c: (gst_identity_event),
29865 (gst_identity_transform), (gst_identity_get_property):
29866 Protect last_message property as it is accessed from
29869 2005-05-30 Wim Taymans <wim@fluendo.com>
29871 * gst/gstelement.c: (gst_element_init),
29872 (gst_element_pads_activate), (gst_element_change_state):
29873 Slicker pad activation code.
29875 2005-05-30 Wim Taymans <wim@fluendo.com>
29878 * gst/gstelement.h:
29879 * gst/gstelementfactory.h:
29881 Move elementfactory methods to separate .h file.
29883 2005-05-30 Wim Taymans <wim@fluendo.com>
29885 * docs/design/part-overview.txt:
29886 * gst/gstsystemclock.h:
29887 Small typo fixes, doc updates.
29889 2005-05-30 Wim Taymans <wim@fluendo.com>
29891 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29892 (init_popt_callback):
29893 Remove cpu-opt flag.
29895 2005-05-30 Wim Taymans <wim@fluendo.com>
29897 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29898 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29900 Avoid typechecking in places where not needed.
29901 Added accessor for malloc_data.
29903 2005-05-30 Wim Taymans <wim@fluendo.com>
29905 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29906 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29907 (gst_pad_configure_sink), (gst_pad_configure_src),
29908 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29909 (gst_pad_start_task):
29910 Propagate errors from _set_caps() in configure_src/sink
29911 functions instead of returning TRUE.
29912 FLUSH events can travel up and downstream
29915 2005-05-30 Wim Taymans <wim@fluendo.com>
29917 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29918 (gst_basesink_activate):
29919 Handle EOS in preroll.
29921 2005-05-30 Wim Taymans <wim@fluendo.com>
29923 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29924 (gst_queue_loop), (gst_queue_handle_src_event):
29925 Remove old pieces of code
29926 Flushing the queue in an upstream event is a very bad idea.
29928 2005-05-26 Andy Wingo <wingo@pobox.com>
29930 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29931 gst_value_set_mini_object so as to add a ref on the object (which
29932 will be removed when the value is unset).
29934 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29935 arg type in ::handoff.
29937 * gst/gstelement.c (gst_element_change_state): Also deactivate
29938 pads in READY->NULL, just in case the element didn't make it to
29939 PAUSED. Wingo tested, Wim approved.
29941 2005-05-26 Wim Taymans <wim@fluendo.com>
29943 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29944 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29945 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29946 A flushing pad cannot be used to alloc_buffer from.
29948 2005-05-26 Wim Taymans <wim@fluendo.com>
29950 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29951 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29952 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29953 (gst_bus_create_watch), (gst_bus_add_watch_full):
29955 Implement a real GSource and use g_main_context_wakeup() to
29956 signal new messages instead of the socketpair.
29958 2005-05-25 Wim Taymans <wim@fluendo.com>
29960 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29961 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29962 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29963 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29964 (gst_pad_send_event), (gst_pad_start_task):
29965 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29966 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29967 (gst_queue_sink_activate), (gst_queue_src_activate),
29968 (gst_queue_change_state):
29970 Fix state changes for non sinks. We now change sinks, then elements
29971 with unconnected srcpads, then the rest.
29972 More efficient queue unlocking in flush and state changes.
29973 Set the pad activate mode even if it does not have an activate
29976 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29978 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29979 Don't go in pull mode for non-seekable sources.
29980 * gst/elements/gsttypefindelement.h:
29981 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29982 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29983 (free_entry), (stop_typefinding),
29984 (gst_type_find_element_handle_event), (find_peek),
29985 (gst_type_find_element_chain), (do_pull_typefind),
29986 (gst_type_find_element_change_state):
29987 Allow typefinding (w/o seeking) in push-mode, simplified version
29988 of what was in 0.8.
29989 * gst/gstutils.c: (gst_buffer_join):
29991 gst_buffer_join() from 0.8.
29993 2005-05-25 Wim Taymans <wim@fluendo.com>
29995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29996 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29997 (gst_pad_send_event), (gst_pad_start_task):
29998 Disable attempt at mode switching until it is figured out.
30000 2005-05-25 Wim Taymans <wim@fluendo.com>
30002 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30003 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30004 (gst_basesink_finish_preroll), (gst_basesink_chain),
30005 (gst_basesink_loop), (gst_basesink_activate),
30006 (gst_basesink_change_state):
30007 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30008 (gst_basesrc_get_range), (gst_basesrc_loop),
30009 (gst_basesrc_activate):
30010 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30011 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30012 (gst_real_pad_init), (gst_real_pad_set_property),
30013 (gst_real_pad_get_property), (gst_pad_set_active),
30014 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30015 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30016 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30017 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30018 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30019 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30020 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30021 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30022 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30023 (gst_pad_stop_task):
30025 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30026 (gst_queue_loop), (gst_queue_src_activate):
30027 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30028 (gst_task_get_state):
30030 * gst/schedulers/threadscheduler.c:
30031 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30032 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30034 Remove ACTIVE pad flag, use FLUSHING everywhere
30035 Added _pad_chain(), _pad_get_range() to call chain/getrange
30037 Add locks around IS_FLUSHING when reading.
30038 Take STREAM lock in chain(), get_range() functions so plugins
30039 don't need to take it anymore.
30043 2005-05-25 Wim Taymans <wim@fluendo.com>
30045 * tools/gst-launch.c: (event_loop):
30046 Unref message after using its contents instead of
30049 2005-05-24 Wim Taymans <wim@fluendo.com>
30051 * docs/design/draft-ghostpads.txt:
30052 * docs/design/draft-push-pull.txt:
30053 * docs/design/draft-query.txt:
30054 * docs/design/part-overview.txt:
30055 Docs updates, added general overview doc.
30057 2005-05-21 David Schleef <ds@schleef.org>
30059 * docs/gst/tmpl/old/GstBin.sgml:
30060 * docs/gst/tmpl/old/GstBuffer.sgml:
30061 * docs/gst/tmpl/old/GstCaps.sgml:
30062 * docs/gst/tmpl/old/GstClock.sgml:
30063 * docs/gst/tmpl/old/GstCompat.sgml:
30064 * docs/gst/tmpl/old/GstData.sgml:
30065 * docs/gst/tmpl/old/GstElement.sgml:
30066 * docs/gst/tmpl/old/GstEvent.sgml:
30067 * docs/gst/tmpl/old/GstIndex.sgml:
30068 * docs/gst/tmpl/old/GstStructure.sgml:
30069 * docs/gst/tmpl/old/GstTag.sgml:
30070 * docs/gst/tmpl/old/cothreads.sgml:
30071 * docs/gst/tmpl/old/cothreads_compat.sgml:
30072 * docs/gst/tmpl/old/gettext.sgml:
30073 * docs/gst/tmpl/old/gobject2gtk.sgml:
30074 * docs/gst/tmpl/old/grammar.tab.sgml:
30075 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30076 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30077 * docs/gst/tmpl/old/gst_private.sgml:
30078 * docs/gst/tmpl/old/gstaggregator.sgml:
30079 * docs/gst/tmpl/old/gstarch.sgml:
30080 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30081 * docs/gst/tmpl/old/gstbufferstore.sgml:
30082 * docs/gst/tmpl/old/gstdata_private.sgml:
30083 * docs/gst/tmpl/old/gstdisksink.sgml:
30084 * docs/gst/tmpl/old/gstdisksrc.sgml:
30085 * docs/gst/tmpl/old/gstelementfactory.sgml:
30086 * docs/gst/tmpl/old/gstextratypes.sgml:
30087 * docs/gst/tmpl/old/gstfakesink.sgml:
30088 * docs/gst/tmpl/old/gstfakesrc.sgml:
30089 * docs/gst/tmpl/old/gstfdsink.sgml:
30090 * docs/gst/tmpl/old/gstfdsrc.sgml:
30091 * docs/gst/tmpl/old/gstfilesink.sgml:
30092 * docs/gst/tmpl/old/gstfilesrc.sgml:
30093 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30094 * docs/gst/tmpl/old/gstidentity.sgml:
30095 * docs/gst/tmpl/old/gstindexfactory.sgml:
30096 * docs/gst/tmpl/old/gstmarshal.sgml:
30097 * docs/gst/tmpl/old/gstmd5sink.sgml:
30098 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30099 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30100 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30101 * docs/gst/tmpl/old/gstpipefilter.sgml:
30102 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30103 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30104 * docs/gst/tmpl/old/gstshaper.sgml:
30105 * docs/gst/tmpl/old/gstspider.sgml:
30106 * docs/gst/tmpl/old/gstspideridentity.sgml:
30107 * docs/gst/tmpl/old/gststatistics.sgml:
30108 * docs/gst/tmpl/old/gsttee.sgml:
30109 * docs/gst/tmpl/old/gsttimecache.sgml:
30110 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30111 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30112 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30113 * docs/gst/tmpl/old/types.sgml:
30114 I didn't intend to add these or check them in.
30116 2005-05-19 David Schleef <ds@schleef.org>
30118 * configure.ac: Use -no-common everywhere. In a sane world, it
30119 would be the default in libtool, because without it, you can't
30120 build DLLs on Windows.
30121 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30122 * docs/gst/gstreamer-sections.txt:
30123 * docs/gst/tmpl/gstcpu.sgml:
30124 * docs/gst/tmpl/gstdata.sgml:
30125 * docs/gst/tmpl/gstthread.sgml:
30127 2005-05-19 David Schleef <ds@schleef.org>
30129 * gst/gstminiobject.c: (gst_value_set_mini_object),
30130 (gst_value_take_mini_object), (gst_value_get_mini_object):
30131 * gst/gstminiobject.h: Add GValue set/get functions.
30133 2005-05-19 Wim Taymans <wim@fluendo.com>
30135 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30136 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30137 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30139 * gst/gstbus.c: (gst_bus_post):
30140 * gst/gstelement.c: (gst_element_get_random_pad):
30141 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30142 Make subbufer unref the parent in finalize.
30143 some more debugging info.
30146 2005-05-19 Wim Taymans <wim@fluendo.com>
30148 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30149 (gst_basesink_init), (gst_basesink_finalize),
30150 (gst_basesink_activate), (gst_basesink_change_state):
30151 Don't free preroll queue too early.
30153 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30157 Hi, I'm outdated. Please shoot me.
30159 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30161 * gst/gstpipeline.c: (gst_pipeline_send_event):
30162 Do not access variables after they have been deleted.
30164 2005-05-19 Wim Taymans <wim@fluendo.com>
30166 * tools/gst-inspect.c: (print_plugin_features):
30167 A plugin feature does unfortunatly not use the
30170 2005-05-18 Wim Taymans <wim@fluendo.com>
30172 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30173 Port _span() functions to new subbuffers.
30175 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30177 * gst/gstbin.c: (gst_bin_add_func):
30178 Fix clock settery in bins when adding kids after the clock has
30181 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30183 * gst/elements/gstidentity.c: (gst_identity_class_init):
30184 Workaround until signals support GstMiniObject.
30186 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30189 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30191 2005-05-18 Wim Taymans <wim@fluendo.com>
30193 * gst/base/Makefile.am:
30194 * gst/base/gstadapter.c: (gst_adapter_base_init),
30195 (gst_adapter_class_init), (gst_adapter_init),
30196 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30197 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30198 (gst_adapter_flush), (gst_adapter_available),
30199 (gst_adapter_available_fast):
30200 * gst/base/gstadapter.h:
30201 Ported and added adapter to the base classes.
30203 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30206 * gst/gstmessage.c:
30207 Make sure the class is reffed/unreffed once before threads can be
30208 used. Fixes #304551.
30210 2005-05-17 Wim Taymans <wim@fluendo.com>
30212 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30213 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30214 * gst/gstminiobject.c: (gst_mini_object_get_type),
30215 (gst_mini_object_free):
30216 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30217 (gst_pad_push), (gst_pad_push_event):
30218 * gst/gstqueue.c: (gst_queue_change_state):
30219 Don't queue buffers in basesink when we are flushing.
30220 Unref buffer when flushing in basesink.
30221 Flush queue when going to READY
30222 Unref buffer when _push() returns an error.
30223 Don't free MiniObject instance when refcount is incremented
30224 in _finalize() so that we can recover objects.
30226 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30228 * docs/manual/advanced-schedulers.xml:
30229 * docs/manual/appendix-checklist.xml:
30230 * docs/pwg/advanced-clock.xml:
30231 * docs/pwg/advanced-interfaces.xml:
30232 * docs/pwg/advanced-request.xml:
30233 * docs/pwg/advanced-types.xml:
30234 * docs/pwg/intro-preface.xml:
30235 * examples/plugins/example.c: (gst_example_get_type),
30236 (gst_example_class_init), (gst_example_chain),
30237 (gst_example_set_property), (gst_example_get_property),
30238 (gst_example_change_state), (plugin_init):
30239 * examples/plugins/example.h:
30242 2005-05-17 Wim Taymans <wim@fluendo.com>
30244 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30245 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30246 * gst/gstqueue.c: (gst_queue_change_state):
30247 Clear queue when going to READY.
30248 Remove IN_SETCAPS flag too.
30250 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30252 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30253 Remove implicit cast from gboolean to GstElementStateReturn;
30254 make sure we still return failure in paused => ready case if
30255 the parent class fails to change state and our own stop
30258 2005-05-17 Wim Taymans <wim@fluendo.com>
30260 * tools/gst-launch.c: (event_loop):
30261 Message was unreffed too soon.
30263 2005-05-16 Andy Wingo <wingo@pobox.com>
30265 * gst/gstbin.c (sink_iterator_filter): Err... um...
30267 * check/gst/gstbin.c (test_ghost_pads): New test for the
30268 ghosting-if-elements-not-in-same-bin behavior.
30270 2005-05-16 David Schleef <ds@schleef.org>
30272 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30273 accessing refcount directly.
30275 2005-05-15 David Schleef <ds@schleef.org>
30277 * check/Makefile.am: remove GstData checks
30278 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30279 * gst/Makefile.am: add miniobject, remove data
30280 * gst/gst.h: add miniobject, remove data
30281 * gst/gstdata.c: remove
30282 * gst/gstdata.h: remove
30283 * gst/gstdata_private.h: remove
30284 * gst/gsttypes.h: remove GstEvent and GstMessage
30285 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30286 * gst/gstmarshal.list: change BOXED -> OBJECT
30288 Implement GstMiniObject.
30289 * gst/gstminiobject.c:
30290 * gst/gstminiobject.h:
30292 Modify to be subclasses of GstMiniObject.
30293 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30294 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30295 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30296 (gst_subbuffer_get_type), (gst_subbuffer_init),
30297 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30300 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30301 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30302 (_gst_event_copy), (gst_event_new):
30304 * gst/gstmessage.c: (_gst_message_initialize),
30305 (gst_message_get_type), (gst_message_class_init),
30306 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30307 (gst_message_new), (gst_message_new_error),
30308 (gst_message_new_warning), (gst_message_new_tag),
30309 (gst_message_new_state_changed), (gst_message_new_application):
30310 * gst/gstmessage.h:
30311 * gst/gstprobe.c: (gst_probe_perform),
30312 (gst_probe_dispatcher_dispatch):
30314 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30315 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30316 (_gst_query_copy), (gst_query_new):
30318 Update elements for GstData -> GstMiniObject changes
30320 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30321 (gst_queue_chain), (gst_queue_loop):
30322 * gst/elements/gstbufferstore.c:
30323 (gst_buffer_store_add_buffer_func),
30324 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30325 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30326 (gst_fakesink_render):
30327 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30328 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30329 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30330 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30331 (gst_filesrc_create_read):
30332 * gst/elements/gstidentity.c: (gst_identity_class_init):
30333 * gst/elements/gsttypefindelement.c:
30334 (gst_type_find_element_src_event), (free_entry_buffers),
30335 (gst_type_find_element_handle_event):
30336 * libs/gst/dataprotocol/dataprotocol.c:
30337 (gst_dp_header_from_buffer):
30338 * libs/gst/dataprotocol/dataprotocol.h:
30339 * libs/gst/dataprotocol/dp-private.h:
30341 2005-05-15 David Schleef <ds@schleef.org>
30343 * gst/elements/gstelements.c: Don't include headers that were
30346 2005-05-15 David Schleef <ds@schleef.org>
30348 * gst/elements/Makefile.am: Remove some elements that don't
30349 need to be in the core (or even exist at all).
30350 * gst/elements/gstaggregator.c:
30351 * gst/elements/gstaggregator.h:
30352 * gst/elements/gstmd5sink.c:
30353 * gst/elements/gstmd5sink.h:
30354 * gst/elements/gstmultifilesrc.c:
30355 * gst/elements/gstmultifilesrc.h:
30356 * gst/elements/gstpipefilter.c:
30357 * gst/elements/gstpipefilter.h:
30358 * gst/elements/gstshaper.c:
30359 * gst/elements/gstshaper.h:
30360 * gst/elements/gststatistics.c:
30361 * gst/elements/gststatistics.h:
30362 * po/POTFILES.in: Remove above files.
30364 2005-05-14 Andy Wingo <wingo@pobox.com>
30366 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30367 so as to get the refs right.
30368 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30369 unreffing objects that don't pass the filter.
30371 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30372 gst_element_set_bus.
30373 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30374 normal cases, this will destroy the bus.
30376 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30379 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30382 2005-05-13 Andy Wingo <wingo@pobox.com>
30384 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30385 gst_pad_link, call pad_link_maybe_ghosting,
30386 (pad_link_maybe_ghosting): Links pads, making sure that the
30387 elements being linked are in the same bin.
30388 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30389 Helpers for pad_link_maybe_ghosting.
30391 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30394 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30396 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30398 * docs/design/part-element-source.txt:
30401 2005-05-12 Wim Taymans <wim@fluendo.com>
30403 * gst/base/gstbasesink.c: (gst_basesink_init),
30404 (gst_basesink_activate):
30405 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30406 (gst_basesrc_is_seekable):
30407 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30408 (bin_element_is_sink), (gst_bin_change_state):
30409 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30410 * gst/gstelement.h:
30411 Identify sinks by their flag to avoid overly complicated
30413 Do state changes even for elements not reachable from the
30415 BaseSink is a sink now :)
30416 Some more debugging info in the basesrc.
30419 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30422 Implement _query on a bin, similar to _send_event.
30424 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30426 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30427 Discont event offset format should be GST_FORMAT_BYTES,
30428 not GST_FORMAT_TIME.
30430 2005-05-12 Wim Taymans <wim@fluendo.com>
30432 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30433 Same fix as Ronald's but without the signal.
30435 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30437 * gst/gstutils.c: (gst_element_query_position):
30438 No, an element is not a pad.
30440 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30442 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30443 (gst_bin_get_state):
30444 If a child is removed from a bin while we remove the child from
30445 the bin and while we're retrieving its state, signal this to the
30446 get_state function so we abort the wait (instead of waiting for
30447 a timeout) and can immediately re-iterate over all other elements.
30449 2005-05-12 Wim Taymans <wim@fluendo.com>
30451 * gst/base/Makefile.am:
30452 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30453 (gst_basesrc_start):
30454 * gst/base/gstbasesrc.h:
30455 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30456 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30457 (gst_pushsrc_init), (gst_pushsrc_create):
30458 * gst/base/gstpushsrc.h:
30459 Added is_seekable to BaseSrc
30460 Added simple PushSrc.
30462 2005-05-11 Wim Taymans <wim@fluendo.com>
30464 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30465 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30466 (gst_element_link_pads), (gst_element_query_position),
30467 (gst_element_query_convert), (intersect_caps_func),
30468 (gst_pad_query_position), (gst_pad_query_convert):
30469 Fix refcounting in utils function.
30470 No point in trying to activate a pad when it's added, it could
30471 be added from the state change function and then we deadlock, the
30472 element has to decide what to do.
30474 2005-05-10 Andy Wingo <wingo@pobox.com>
30476 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30477 *all* the arguments.
30479 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30480 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30481 lock (according to the docs -- if this is wrong change the docs).
30483 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30484 flush messages in the NULL state.
30486 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30487 message immediately and return.
30488 (gst_bus_set_flushing): New function. If a bus is flushing, it
30489 flushes out any queued messages and immediately unrefs new
30490 messages. This is so when an element goes to NULL, all of the
30491 unhandled messages coming from it can be freed, and their
30492 references to the element dropped. In other words: message source
30493 ref considered harmful :P
30495 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30496 we're finished with it.
30498 * gst/gstmessage.c (gst_message_new_state_changed):
30500 2005-05-10 Wim Taymans <wim@fluendo.com>
30502 * gst/gstvalue.c: (gst_value_compare_flags),
30503 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30504 (_gst_value_initialize):
30505 Added flags serialize/deserialize/compare code.
30507 2005-05-09 Andy Wingo <wingo@pobox.com>
30509 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30510 Intersect the peer's caps with our caps.
30512 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30514 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30515 * gst/elements/gsttypefindelement.c: (find_peek):
30516 Handle negative offsets better. Fixes decodebin.
30518 2005-05-09 Wim Taymans <wim@fluendo.com>
30520 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30521 (gst_base_transform_event):
30522 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30523 Implement accept_caps.
30524 Fix silly lock/unlock mismatch in base class.
30526 2005-05-09 Wim Taymans <wim@fluendo.com>
30528 * docs/design/draft-push-pull.txt:
30529 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30530 * gst/elements/gstfilesink.c: (gst_filesink_init),
30531 (gst_filesink_query):
30532 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30533 (gst_type_find_handle_src_query), (find_element_get_length):
30534 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30535 * gst/gstelement.h:
30536 * gst/gstmessage.c:
30537 * gst/gstmessage.h:
30538 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30539 (gst_real_pad_get_caps_unlocked),
30540 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30541 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30542 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30543 (gst_real_pad_dispose), (gst_real_pad_finalize),
30544 (gst_pad_load_and_link), (gst_pad_save_thyself),
30545 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30546 (gst_pad_check_pull_range), (gst_pad_pull_range),
30547 (gst_pad_template_get_type), (gst_pad_template_class_init),
30548 (gst_pad_template_init), (gst_pad_template_dispose),
30549 (name_is_valid), (gst_static_pad_template_get),
30550 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30551 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30552 (gst_pad_get_element_private), (gst_pad_start_task),
30553 (gst_pad_pause_task), (gst_pad_stop_task),
30554 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30555 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30556 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30557 (gst_ghost_pad_new):
30559 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30560 (gst_query_new_position), (gst_query_set_position),
30561 (gst_query_parse_position), (gst_query_new_convert),
30562 (gst_query_set_convert), (gst_query_parse_convert):
30564 * gst/gstqueryutils.c:
30565 * gst/gstqueryutils.h:
30566 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30567 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30568 (gst_queue_handle_src_query):
30569 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30570 (gst_element_query_position), (gst_element_query_convert),
30571 (intersect_caps_func), (gst_pad_query_position),
30572 (gst_pad_query_convert):
30574 * tools/gst-inspect.c: (print_pad_info):
30575 * tools/gst-xmlinspect.c: (print_element_info):
30576 Remove old query functions. Ported old code.
30577 Added position/convert helper functions to gstutils.
30578 Reordered gstpad.c code, grouping relevant things.
30579 Remove gst_message_new(), always need to speficy a specific
30583 2005-05-09 Andy Wingo <wingo@pobox.com>
30585 * gst/gstiterator.h: Add some includes.
30587 * gst/gstqueryutils.h: Include more headers.
30590 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30591 some uses of gst_pad_query.
30593 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30594 NULL out parameters.
30595 (gst_query_new_position): New proc, allocates a new position
30598 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30599 gstqueryutils.c to the build.
30601 * gst/gststructure.c (gst_structure_set_valist): Implement with
30602 the generic G_VALUE_COLLECT.
30604 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30606 * gst/Makefile.am: (gst_headers):
30607 Added gstqueryutils.h to the list of headers to install, that was
30608 a 'nachty' move wingo :)
30610 2005-05-06 Andy Wingo <wingo@pobox.com>
30613 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30614 GstData, init a memchunk.
30615 (standard_definitions): Add a few query types, deprecate a few.
30616 (gst_query_get_type): New proc.
30617 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30619 (gst_query_new_application, gst_query_get_structure): New public
30622 * docs/design/draft-query.txt: Removed LINKS from the query types,
30623 because all the rest can be dispatched to other pads -- seemed
30624 ugly to have a query that couldn't be dispatched. internal_links
30625 is fine as a pad method.
30627 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30628 in gstpad.c, but maintain binary compatibility for the moment.
30629 Will fix before 0.9 is out.
30631 * gst/gstqueryutils.c:
30632 * gst/gstqueryutils.h: New files, implement 3 methods for each
30633 query type: parse_query, parse_response, and set. Probably need an
30636 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30638 * gst/elements/gstfilesink.c (gst_filesink_query2):
30639 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30640 query_types, and formats methods.
30642 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30643 (gst_pad_set_query2_function): New functions.
30644 (gst_real_pad_init): Set query2_default as the default query2
30645 function. Basically just dispatches to internally linked pads.
30649 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30650 without using the atomic operations. Only one thread can possibly
30651 be accessing the data at this point. Changed so as to avoid
30652 gst_atomic operations.
30654 2005-05-06 Wim Taymans <wim@fluendo.com>
30656 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30657 Also set caps if we use the fallback buffer alloc.
30659 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30661 * docs/gst/Makefile.am:
30662 * docs/gst/gstreamer-docs.sgml:
30663 * docs/gst/gstreamer-sections.txt:
30664 * docs/gst/tmpl/gstatomic.sgml:
30665 * docs/gst/tmpl/gstmemchunk.sgml:
30666 * testsuite/elements/struct_i386.h:
30667 * win32/GStreamer.vcproj:
30669 Purge GstAtomic stuff from docs and win32 makefiles as well
30671 2005-05-06 Wim Taymans <wim@fluendo.com>
30673 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30674 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30675 * gst/gstpad.c: (gst_pad_peer_get_caps):
30676 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30677 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30678 (gst_queue_src_activate), (gst_queue_change_state):
30680 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30681 (intersect_caps_func):
30682 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30683 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30684 Some fixes for the peer_get_caps() change.
30686 2005-05-06 Wim Taymans <wim@fluendo.com>
30688 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30689 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30690 (gst_basesink_activate):
30691 Actually do something with error codes returned from the push
30694 2005-05-06 Wim Taymans <wim@fluendo.com>
30696 * docs/design/part-element-sink.txt:
30697 * docs/design/part-element-source.txt:
30698 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30699 (gst_basesink_event), (gst_basesink_activate):
30700 * gst/base/gstbasesink.h:
30701 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30702 (gst_basesrc_activate):
30703 * gst/base/gstbasesrc.h:
30704 * gst/gstelement.c: (gst_element_pads_activate):
30705 Some more documentation.
30706 Fixed scheduling decision in _pads_activate().
30708 2005-05-05 Andy Wingo <wingo@pobox.com>
30710 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30713 2005-05-05 Wim Taymans <wim@fluendo.com>
30715 * gst/base/Makefile.am:
30716 * gst/base/gstbasesink.h:
30717 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30718 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30719 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30720 (gst_collectpads_class_init), (gst_collectpads_init),
30721 (gst_collectpads_finalize), (gst_collectpads_new),
30722 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30723 (find_pad), (gst_collectpads_remove_pad),
30724 (gst_collectpads_is_active), (gst_collectpads_collect),
30725 (gst_collectpads_collect_range), (gst_collectpads_start),
30726 (gst_collectpads_stop), (gst_collectpads_peek),
30727 (gst_collectpads_pop), (gst_collectpads_available),
30728 (gst_collectpads_read), (gst_collectpads_flush),
30729 (gst_collectpads_chain):
30730 * gst/base/gstcollectpads.h:
30731 * gst/elements/Makefile.am:
30732 * gst/elements/gstelements.c:
30733 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30734 (gst_fakesink_get_times), (gst_fakesink_event),
30735 (gst_fakesink_preroll), (gst_fakesink_render):
30736 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30737 (gst_filesink_init), (gst_filesink_set_location),
30738 (gst_filesink_open_file), (gst_filesink_close_file),
30739 (gst_filesink_pad_query), (gst_filesink_event),
30740 (gst_filesink_render), (gst_filesink_change_state):
30741 * gst/elements/gstfilesink.h:
30742 Added object to help in making collect pad based elements.
30744 Make event function in sink baseclass return gboolean.
30746 2005-05-05 Wim Taymans <wim@fluendo.com>
30748 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30749 (gst_bin_get_by_name):
30751 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30752 (gst_clock_finalize):
30753 * gst/gstdata.c: (gst_data_replace):
30755 * gst/gstelement.c: (gst_element_request_pad),
30756 (gst_element_pads_activate):
30757 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30758 (gst_object_unref):
30759 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30760 (gst_pad_set_checkgetrange_function),
30761 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30762 (gst_pad_check_pull_range), (gst_pad_pull_range),
30763 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30764 (gst_pad_pause_task), (gst_pad_stop_task):
30765 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30766 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30767 Fix name lookup in GstBin.
30768 Added _data_replace() function and _buffer_replace()
30769 Use finalize method to clean up clock.
30770 Fix refcounting on request pads.
30771 Fix pad schedule mode error.
30772 Some more object refcounting debug info,
30775 2005-05-04 Andy Wingo <wingo@pobox.com>
30777 * check/Makefile.am:
30778 * docs/gst/tmpl/gstatomic.sgml:
30779 * docs/gst/tmpl/gstplugin.sgml:
30780 * gst/base/gstbasesink.c: (gst_basesink_activate):
30781 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30782 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30783 (gst_basesrc_query), (gst_basesrc_set_property),
30784 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30785 (gst_basesrc_activate):
30786 * gst/base/gstbasesrc.h:
30787 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30788 (gst_base_transform_src_activate):
30789 * gst/elements/gstelements.c:
30790 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30791 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30792 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30793 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30794 (gst_type_find_element_checkgetrange),
30795 (gst_type_find_element_activate):
30796 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30797 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30798 (gst_caps_load_thyself):
30799 * gst/gstelement.c: (gst_element_pads_activate),
30800 (gst_element_save_thyself), (gst_element_restore_thyself):
30801 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30802 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30804 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30805 (gst_xml_parse_file), (gst_xml_parse_memory),
30806 (gst_xml_get_element), (gst_xml_make_element):
30807 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30808 (_file_index_id_save_xml), (gst_file_index_commit):
30809 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30810 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30812 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30813 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30814 * tools/gst-complete.c: (main):
30815 * tools/gst-compprep.c: (main):
30816 * tools/gst-inspect.c: (print_element_properties_info):
30817 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30818 * tools/gst-xmlinspect.c: (print_element_properties):
30821 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30823 * gst/gstplugin.c: (gst_plugin_check_module),
30824 (gst_plugin_check_file), (gst_plugin_load_file):
30825 apply patch from #172526 to make register work on MacOSX
30827 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30829 * docs/gst/tmpl/gstconfig.sgml:
30830 * gst/gstconfig.h.in:
30831 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30832 * testsuite/debug/printf_extension.c: (main):
30833 Do not use GST_PTR_FORMAT on pointers to types with
30834 sizeof < sizeof(gpointer). Fixes test on 64-bit
30835 * testsuite/elements/property.h:
30836 use correct printf format
30838 2005-05-02 Wim Taymans <wim@fluendo.com>
30840 * docs/design/draft-push-pull.txt:
30841 * docs/design/draft-query.txt:
30842 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30843 (gst_basesrc_start):
30844 Added draft for new query API.
30845 Added draft for better selecting scheduling methods.
30846 Make basesrc ignore length if the subclass does not support
30849 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30852 possible fixes for automake-1.5 - _LIBADD is reserved
30854 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30856 * docs/faq/Makefile.am:
30857 * docs/manual/Makefile.am:
30858 * docs/manuals.mak:
30859 * docs/pwg/Makefile.am:
30861 possible fixes for automake-1.5
30863 2005-04-28 Wim Taymans <wim@fluendo.com>
30865 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30866 (gst_basesink_pad_getcaps), (gst_basesink_init),
30867 (gst_basesink_do_sync):
30868 * gst/gstclock.c: (gst_clock_entry_new):
30869 * gst/gstevent.c: (gst_event_discont_get_value):
30870 * gst/gstpipeline.c: (pipeline_bus_handler),
30871 (gst_pipeline_change_state):
30872 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30873 Better debugging of clocking info.
30874 Allow NULL values when getting discont values.
30876 2005-04-27 Wim Taymans <wim@fluendo.com>
30878 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30879 * check/gst/gstpad.c: (gst_pad_suite):
30880 Increase timeout for checks.
30882 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30884 * check/Makefile.am:
30885 fix the broken rule for cleanup. Apparently this rule is
30886 only needed on FC2, so maybe this warrants further autotool
30889 2005-04-26 Wim Taymans <wim@fluendo.com>
30891 * gst/gsttrashstack.h:
30892 Ooohh. a nasty one! After having a failed pop() from the stack,
30893 it's possible that the stack is empty. In that case, don't
30894 follow the NULL pointer.
30896 2005-04-25 Wim Taymans <wim@fluendo.com>
30898 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30899 (gst_pad_set_checkgetrange_function),
30900 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30901 (gst_pad_check_pull_range), (gst_pad_pull_range),
30902 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30903 (gst_pad_pause_task), (gst_pad_stop_task):
30904 * gst/gstplugin.c: (gst_plugin_load):
30906 Remove gst_library_load as it does more harm than good with
30907 the new g_module flags.
30908 Revert bogus caps template check in pad linking, pad caps
30909 are important when linking not the template, which is more
30910 general than the current caps.
30912 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30914 * gst/autoplug/.cvsignore:
30915 * gst/autoplug/Makefile.am:
30916 * gst/autoplug/gstsearchfuncs.c:
30917 * gst/autoplug/gstsearchfuncs.h:
30918 * gst/autoplug/gstspider.c:
30919 * gst/autoplug/gstspider.h:
30920 * gst/autoplug/gstspideridentity.c:
30921 * gst/autoplug/gstspideridentity.h:
30922 * gst/autoplug/spidertest.c:
30925 2005-04-25 Wim Taymans <wim@fluendo.com>
30927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30928 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30929 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30930 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30932 Added stubs for unimplemented functions.
30934 2005-04-24 David Schleef <ds@schleef.org>
30936 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30939 2005-04-24 David Schleef <ds@schleef.org>
30941 Convert everything from GstAtomicInt to g_atomic_int_*, and
30946 * gst/gstatomic_impl.h:
30954 * gst/gstdata_private.h:
30958 * gst/gstmessage.c:
30961 * gst/gststructure.c:
30962 * gst/gststructure.h:
30963 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30966 2005-04-24 David Schleef <ds@schleef.org>
30968 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30969 make the regressions tests work. Remove some code that is no
30971 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30972 Disable warning for pads without templates.
30974 2005-04-24 David Schleef <ds@schleef.org>
30976 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30977 functions that handle filtered links.
30978 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30980 * gst/gstutils.c: Fix/remove utility functions that handle
30983 * gst/gstvalue.c: Add serialization/deserialization of caps
30984 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30985 requires fixing so that the filter caps notation creates
30986 a capsfilter element and sets the filter_caps property. I
30987 think everyone probably wants to keep the shorthand notation.
30988 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30989 * docs/gst/tmpl/gstpad.sgml:
30991 * gst/elements/gstelements.c: Register capsfilter element.
30992 * gst/Makefile.am: fix spacing
30993 * docs/random/ds/0.9-suggested-changes: random
30995 2005-04-23 David Schleef <ds@schleef.org>
30997 * gst/elements/Makefile.am:
30998 * gst/elements/gstcapsfilter.c: New element that acts like an
30999 identity, but filters caps. Will eventually replace filtered
31000 caps in pad linking.
31001 * gst/gstutils.c: (gst_element_create_all_pads): New function
31002 to create all the ALWAYS pads that are registered with an
31003 element class. This functionality should eventually be
31004 merged in with GstElement initialization.
31006 * testsuite/trigger/README: part of trigger test code that should
31007 have been checked in a long time ago.
31009 2005-04-23 David Schleef <ds@schleef.org>
31011 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31012 needed with new versions of libtool (nobody will confirm this),
31013 and hard to carry around.
31014 * gst/autoplug/Makefile.am:
31015 * gst/base/Makefile.am:
31016 * gst/elements/Makefile.am:
31017 * gst/indexers/Makefile.am:
31018 * gst/schedulers/Makefile.am:
31019 * libs/gst/bytestream/Makefile.am:
31020 * libs/gst/control/Makefile.am:
31021 * libs/gst/dataprotocol/Makefile.am:
31022 * libs/gst/getbits/Makefile.am:
31024 2005-04-21 Wim Taymans <wim@fluendo.com>
31026 * docs/design/draft-push-pull.txt:
31027 * docs/design/part-MT-refcounting.txt:
31028 * docs/design/part-TODO.txt:
31029 * docs/design/part-caps.txt:
31030 * docs/design/part-events.txt:
31031 * docs/design/part-gstbus.txt:
31032 * docs/design/part-gstpipeline.txt:
31033 * docs/design/part-messages.txt:
31034 * docs/design/part-push-pull.txt:
31035 * docs/design/part-query.txt:
31038 2005-04-21 Wim Taymans <wim@fluendo.com>
31040 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31041 (gst_message_new), (gst_message_new_error),
31042 (gst_message_new_warning), (gst_message_new_tag),
31043 (gst_message_new_state_changed), (gst_message_new_application),
31044 (gst_message_get_structure):
31045 * gst/gstmessage.h:
31046 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31047 (gst_structure_copy_conditional):
31048 Use parent refcount in GstMessage to ensure GstStructure
31050 Cleaned up headers a bit.
31053 2005-04-20 Wim Taymans <wim@fluendo.com>
31055 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31056 (gst_basesink_pad_getcaps), (gst_basesink_init),
31057 (gst_basesink_chain_unlocked):
31058 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31059 (gst_type_find_helper):
31060 * gst/elements/gsttypefindelement.c:
31061 (gst_type_find_element_have_type), (gst_type_find_element_init),
31062 (stop_typefinding), (gst_type_find_element_handle_event),
31063 (find_suggest), (gst_type_find_element_chain),
31064 (gst_type_find_element_checkgetrange),
31065 (gst_type_find_element_getrange), (do_typefind),
31066 (gst_type_find_element_activate):
31067 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31068 (gst_buffer_default_free), (gst_buffer_default_copy),
31069 (gst_buffer_set_caps):
31070 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31071 (gst_caps_replace):
31072 * gst/gstmessage.c: (gst_message_new),
31073 (gst_message_new_state_changed):
31074 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31075 (gst_pad_set_checkgetrange_function),
31076 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31077 (gst_pad_set_caps), (gst_pad_check_pull_range),
31078 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31080 * gst/gsttypefind.c: (gst_type_find_register):
31081 Make gst_caps_replace() work like other _replace() functions.
31082 Use _caps_replace() where possible.
31083 Make sure _message_new() initialises its field.
31084 Add gst_static_pad_template_get_caps()
31087 2005-04-18 Andy Wingo <wingo@pobox.com>
31089 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31090 on the peer, not the pad. I think that was a typo. Pass an extra
31091 arg to see if random access is possible. Activate the pads as
31092 PULL_RANGE if possible.
31094 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31096 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31097 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31100 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31102 * docs/faq/using.xml:
31103 Add note on gstreamer-properties (#154996).
31105 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31107 * docs/random/bbb/optional-properties:
31108 Some analysis on optional properties.
31110 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31112 * docs/gst/tmpl/gstelementfactory.sgml:
31113 * gst/gstelement.h:
31114 * gst/gstelementfactory.c: (gst_element_factory_init),
31115 (gst_element_factory_cleanup), (gst_element_register),
31116 (__gst_element_factory_add_static_pad_template),
31117 (gst_element_factory_get_static_pad_templates),
31118 (gst_element_factory_can_src_caps),
31119 (gst_element_factory_can_sink_caps):
31120 * gst/registries/Makefile.am:
31121 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31122 (gst_xml_registry_class_init), (gst_xml_registry_init),
31123 (gst_xml_registry_new), (gst_xml_registry_set_property),
31124 (gst_xml_registry_get_property), (get_time), (make_dir),
31125 (gst_xml_registry_get_perms_func),
31126 (plugin_times_older_than_recurse), (plugin_times_older_than),
31127 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31128 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31129 (add_to_char_array), (read_string), (read_uint), (read_enum),
31130 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31131 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31132 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31133 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31134 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31135 (gst_xml_registry_rebuild):
31136 * gst/registries/gstlibxmlregistry.h:
31137 * tools/gst-compprep.c: (main):
31138 * tools/gst-inspect.c: (print_pad_templates_info):
31139 * tools/gst-xmlinspect.c: (print_element_info):
31140 Use libxml2 for registry parsing, use staticpadtemplates in
31141 elementfactories. Makes gst_init() +/- 10x faster.
31143 2005-04-12 Wim Taymans <wim@fluendo.com>
31145 * gst/base/Makefile.am:
31146 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31147 (gst_basesink_pad_getcaps), (gst_basesink_init),
31148 (gst_basesink_event), (gst_basesink_change_state):
31149 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31150 (gst_basesrc_init), (gst_basesrc_query),
31151 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31152 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31153 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31154 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31155 (gst_basesrc_stop), (gst_basesrc_activate),
31156 (gst_basesrc_change_state):
31157 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31158 (helper_find_suggest), (gst_type_find_helper):
31159 * gst/base/gsttypefindhelper.h:
31160 * gst/elements/Makefile.am:
31161 * gst/elements/gstelements.c:
31162 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31163 (gst_fakesink_get_times), (gst_fakesink_event),
31164 (gst_fakesink_preroll), (gst_fakesink_render):
31165 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31166 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31167 (gst_fakesrc_get_property), (gst_fakesrc_create),
31168 (gst_fakesrc_start), (gst_fakesrc_stop):
31169 * gst/elements/gstfakesrc.h:
31170 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31171 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31172 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31173 (gst_filesrc_create_read), (gst_filesrc_create),
31174 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31175 (gst_filesrc_start):
31176 * gst/elements/gsttypefindelement.c:
31177 (gst_type_find_element_have_type), (gst_type_find_element_init),
31178 (start_typefinding), (stop_typefinding), (push_buffer_store),
31179 (gst_type_find_element_handle_event),
31180 (gst_type_find_element_chain),
31181 (gst_type_find_element_checkgetrange),
31182 (gst_type_find_element_getrange), (do_typefind),
31183 (gst_type_find_element_activate),
31184 (gst_type_find_element_change_state):
31185 * gst/elements/gsttypefindelement.h:
31186 * gst/gstpipeline.c: (pipeline_bus_handler):
31187 Added typefind helper.
31188 Small preroll fix in the base sink.
31189 Disable typefind code in basesrc.
31190 Crude port of typefindelement.
31194 2005-04-11 Wim Taymans <wim@fluendo.com>
31196 * check/gst/gstbus.c: (gstbus_suite):
31197 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31198 * check/gstcheck.h:
31199 Fix up the timeout so that the test does not fail.
31201 2005-04-06 Wim Taymans <wim@fluendo.com>
31204 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31205 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31206 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31207 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31208 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31209 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31210 (gst_basesrc_stop), (gst_basesrc_activate),
31211 (gst_basesrc_change_state), (basesrc_find_peek),
31212 (basesrc_find_suggest), (gst_basesrc_type_find):
31213 * gst/base/gstbasesrc.h:
31214 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31215 (gst_filesrc_class_init), (gst_filesrc_init),
31216 (gst_filesrc_finalize), (gst_filesrc_set_location),
31217 (gst_filesrc_set_property), (gst_filesrc_get_property),
31218 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31219 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31220 (gst_filesrc_create_read), (gst_filesrc_create),
31221 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31222 * gst/elements/gstfilesrc.h:
31223 * gst/gstelement.c: (gst_element_get_state_func),
31224 (gst_element_lost_state), (gst_element_pads_activate):
31225 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31226 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31227 (gst_pad_pull_range):
31229 More work on the generic source base class, implement seeking,
31231 Make filesrc extend the base source class.
31232 Added gst_pad_set_checkgetrange_function to GstPad.
31234 2005-04-06 Andy Wingo <wingo@pobox.com>
31236 * pkgconfig/gstreamer-base.pc.in:
31237 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31239 * pkgconfig/Makefile.am:
31240 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31242 2005-04-04 Wim Taymans <wim@fluendo.com>
31244 * gst/base/Makefile.am:
31246 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31247 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31248 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31249 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31250 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31251 (gst_basesrc_base_init), (gst_basesrc_class_init),
31252 (gst_basesrc_init), (gst_basesrc_get_formats),
31253 (gst_basesrc_get_query_types), (gst_basesrc_query),
31254 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31255 (gst_basesrc_set_property), (gst_basesrc_get_property),
31256 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31257 (gst_basesrc_loop), (gst_basesrc_activate),
31258 (gst_basesrc_change_state):
31259 * gst/base/gstbasesrc.h:
31260 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31261 (gst_fakesrc_class_init), (gst_fakesrc_init),
31262 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31263 (gst_fakesrc_get_property), (gst_fakesrc_create):
31264 * gst/elements/gstfakesrc.h:
31265 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31266 (gst_filesrc_open_file), (gst_filesrc_loop),
31267 (gst_filesrc_activate), (filesrc_find_peek),
31268 (gst_filesrc_type_find):
31269 Made base source class, make fakesrc extend it.
31270 Add comments to basesink class.
31271 Some filesrc cleanup.
31273 2005-03-31 David Schleef <ds@schleef.org>
31275 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31276 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31277 expected to link against libgstreamer.
31278 * gst/base/Makefile.am: link against libgstreamer
31279 * gst/elements/Makefile.am: same
31281 2005-03-31 Andy Wingo <wingo@pobox.com>
31283 * tests/instantiate/Makefile.am:
31284 * tests/instantiate/caps.c: Add test to test speed of caps copy
31287 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31288 GMemChunk to be fair.
31290 * gst/gsttrashstack.h: Remove warning about using the fallback
31291 trash stack implementation, it's still faster than malloc.
31293 2005-03-30 Andy Wingo <wingo@pobox.com>
31295 * tests/complexity.c: Add a copyright.
31297 2005-03-31 Wim Taymans <wim@fluendo.com>
31299 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31300 (gst_base_transform_class_init), (gst_base_transform_init),
31301 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31302 (gst_base_transform_get_property),
31303 (gst_base_transform_sink_activate),
31304 (gst_base_transform_src_activate),
31305 (gst_base_transform_change_state):
31306 * gst/base/gstbasetransform.h:
31307 * gst/elements/gstidentity.c: (gst_identity_class_init),
31308 (gst_identity_event), (gst_identity_check_perfect),
31309 (gst_identity_transform), (gst_identity_start),
31310 (gst_identity_stop):
31311 Added start/stop methods to transform base class so subclasses
31312 don't need to deal with state changes even.
31314 2005-03-31 Wim Taymans <wim@fluendo.com>
31316 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31317 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31319 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31320 (gst_pad_pull_range):
31321 Added rate to the discont event to prepare for variable speed
31322 and reverse playback.
31324 2005-03-29 David Schleef <ds@schleef.org>
31327 * testsuite/trigger/Makefile.am:
31328 * testsuite/trigger/trigger.c: A little example program to show
31329 how trigger-based elements can work.
31331 2005-03-29 Wim Taymans <wim@fluendo.com>
31333 * gst/base/Makefile.am:
31335 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31336 (gst_basesink_base_init), (gst_basesink_class_init),
31337 (gst_basesink_pad_getcaps), (gst_basesink_init),
31338 (gst_basesink_activate), (gst_basesink_change_state):
31339 * gst/base/gstbasesink.h:
31340 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31341 (gst_base_transform_base_init), (gst_base_transform_finalize),
31342 (gst_base_transform_class_init), (gst_base_transform_init),
31343 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31344 (gst_base_transform_event), (gst_base_transform_getrange),
31345 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31346 (gst_base_transform_set_property),
31347 (gst_base_transform_get_property),
31348 (gst_base_transform_sink_activate),
31349 (gst_base_transform_src_activate),
31350 (gst_base_transform_change_state):
31351 * gst/base/gstbasetransform.h:
31352 * gst/elements/gstidentity.c: (gst_identity_finalize),
31353 (gst_identity_class_init), (gst_identity_init),
31354 (gst_identity_event), (gst_identity_check_perfect),
31355 (gst_identity_transform), (gst_identity_set_property),
31356 (gst_identity_get_property), (gst_identity_change_state):
31357 * gst/elements/gstidentity.h:
31358 * gst/gstelement.c: (gst_element_get_state_func),
31359 (gst_element_lost_state), (gst_element_pads_activate):
31360 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31361 (gst_pad_check_pull_range), (gst_pad_pull_range):
31363 Simplify pad activation.
31364 Added function to check if pull_range can be performed.
31365 Error out when pulling inactive or flushing pads.
31366 Removed const from refcounted types as it does not make sense.
31367 Simplify pad templates in basesink
31368 Added base class for simple 1-to-1 transforms.
31369 Make identity subclass the base transform.
31371 2005-03-29 Andy Wingo <wingo@pobox.com>
31373 * docs/libs/gstreamer-libs-overrides.txt:
31374 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31375 really don't understand what's going on, but like whatever. I want
31378 * docs/gst/Makefile.am:
31379 * docs/libs/Makefile.am: Dist the overrides files.
31381 * check/Makefile.am (clean-local): Remove .libs directories.
31383 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31384 elements to EXTRA_DIST, so po/ files are happy.
31386 * po/POTFILES.in: Er, remove it here.
31388 * po/POTFILES: Remove gstspider.c.
31390 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31392 * docs/libs/gstreamer-libs-docs.sgml:
31393 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31396 * tests/complexity.c (main): Set the length of the preroll queue
31397 on the sinks to prevent a lockup.
31399 * libs/gst/dataprotocol/Makefile.am:
31400 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31401 the same as the one in check/gst-libs/gdp.c.
31403 * po/, docs/gst/: Commit automatic changes to docs and po files.
31405 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31406 the versioned libgstbase.
31408 * check/Makefile.am: Depend on an unversioned gst-register, seems
31409 to make autoconf happier.
31411 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31413 2005-03-28 Wim Taymans <wim@fluendo.com>
31416 * docs/design/part-gstelement.txt:
31417 * docs/design/part-negotiation.txt:
31418 * docs/design/part-preroll.txt:
31419 * docs/design/part-scheduling.txt:
31420 * docs/design/part-states.txt:
31422 * gst/base/Makefile.am:
31424 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31425 (gst_basesink_base_init), (gst_basesink_class_init),
31426 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31427 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31428 (gst_basesink_set_pad_functions),
31429 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31430 (gst_basesink_set_property), (gst_basesink_get_property),
31431 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31432 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31433 (gst_basesink_preroll_queue_push),
31434 (gst_basesink_preroll_queue_empty),
31435 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31436 (gst_basesink_event), (gst_basesink_get_times),
31437 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31438 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31439 (gst_basesink_loop), (gst_basesink_activate),
31440 (gst_basesink_change_state):
31441 * gst/base/gstbasesink.h:
31442 * gst/elements/Makefile.am:
31443 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31444 (gst_fakesink_class_init), (gst_fakesink_init),
31445 (gst_fakesink_set_property), (gst_fakesink_get_property),
31446 (gst_fakesink_get_times), (gst_fakesink_event),
31447 (gst_fakesink_preroll), (gst_fakesink_render),
31448 (gst_fakesink_change_state):
31449 * gst/elements/gstfakesink.h:
31450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31451 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31452 * gst/gstelement.c: (gst_element_add_pad),
31453 (gst_element_get_state_func), (gst_element_abort_state),
31454 (gst_element_commit_state), (gst_element_lost_state),
31455 (gst_element_set_state), (gst_element_pads_activate):
31456 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31457 * gst/gstpipeline.c: (gst_pipeline_send_event),
31458 (gst_pipeline_change_state):
31459 Added state change code.
31460 Added/updated docs.
31461 Added sink base class, make fakesink extend the base class.
31462 Small cleanups in GstPipeline.
31464 2005-03-26 David Schleef <ds@schleef.org>
31466 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31467 is broken and should be implemented in a different library.
31468 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31469 * gst/gst.h: remove gstcpu.h
31470 * gst/gstcpu.c: remove
31471 * gst/gstcpu.h: remove
31472 * gst/Makefile.am.future: Remove this file. It's ancient.
31474 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31476 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31477 (gst_bin_send_event):
31478 Add default event/set_manager handlers. The set_manager handler
31479 takes care that the manager is distributed over kids that were
31480 already in the bin before the manager was set. The event handler
31481 is a utility virtual function that sends the event over all sinks,
31482 so that gst_element_send_event (bin, event); has the expected
31484 * gst/gstpad.c: (gst_pad_event_default):
31485 Re-install default event handling for discontinuities, so that
31486 seeking works without requiring hacks in applications or extra
31488 * gst/gstpipeline.c: (gst_pipeline_class_init),
31489 (gst_pipeline_send_event):
31490 Half hack, half utility: set a pipeline to PAUSED for seek events,
31491 since that is the only way we can guarantee a/v sync. Means that
31492 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31493 and it "just works".
31495 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31497 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31498 Lock/unlock mismatch.
31500 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31502 * docs/faq/gst-uninstalled:
31503 add gst-plugins-base
31504 * docs/gst/Makefile.am:
31505 don't error out until docs are fixed
31506 * docs/gst/gstreamer.types:
31509 2005-03-22 Wim Taymans <wim@fluendo.com>
31511 * check/Makefile.am:
31512 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31513 * gst/gststructure.c: (gst_structure_set_valist),
31514 (gst_structure_copy_conditional):
31515 Activated more tests.
31516 Added message test.
31517 Added G_TYPE_POINTER to GstStructure.
31520 2005-03-22 Wim Taymans <wim@fluendo.com>
31522 * docs/design/part-TODO.txt:
31523 * docs/design/part-events.txt:
31524 * docs/design/part-gstbin.txt:
31525 * docs/design/part-gstbus.txt:
31526 * docs/design/part-gstpipeline.txt:
31527 * docs/design/part-messages.txt:
31529 * gst/gstmessage.c:
31532 2005-03-21 Wim Taymans <wim@fluendo.com>
31534 * gst/gstbus.c: (gst_bus_post):
31535 Fix copy-and-paste error.
31537 2005-03-21 Wim Taymans <wim@fluendo.com>
31539 * check/Makefile.am:
31541 * gst/elements/Makefile.am:
31542 * gst/elements/gstelements.c:
31543 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31544 (gst_fakesink_event), (gst_fakesink_chain):
31545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31546 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31547 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31548 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31549 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31550 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31551 (gst_fakesrc_loop), (gst_fakesrc_activate),
31552 (gst_fakesrc_change_state):
31553 * gst/elements/gstfakesrc.h:
31554 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31555 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31556 (gst_filesrc_open_file), (gst_filesrc_loop),
31557 (gst_filesrc_activate), (gst_filesrc_change_state),
31558 (filesrc_find_peek), (filesrc_find_suggest),
31559 (gst_filesrc_type_find):
31560 * gst/elements/gstidentity.c: (gst_identity_finalize),
31561 (gst_identity_class_init), (gst_identity_init),
31562 (gst_identity_proxy_getcaps), (identity_queue_push),
31563 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31564 (gst_identity_getrange), (gst_identity_chain),
31565 (gst_identity_sink_loop), (gst_identity_src_loop),
31566 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31567 (gst_identity_set_property), (gst_identity_get_property),
31568 (gst_identity_change_state):
31569 * gst/elements/gstidentity.h:
31570 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31571 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31572 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31573 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31574 (gst_tee_sink_activate):
31575 * gst/elements/gsttee.h:
31576 * gst/gst.c: (gst_register_core_elements), (init_post):
31578 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31579 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31580 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31581 (gst_bin_change_state):
31583 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31584 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31585 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31586 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31587 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31588 (bus_watch_callback), (bus_watch_destroy),
31589 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31590 (poll_timeout), (gst_bus_poll):
31594 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31595 (gst_element_post_message), (gst_element_message_full),
31596 (gst_element_get_state_func), (gst_element_get_state),
31597 (gst_element_abort_state), (gst_element_commit_state),
31598 (gst_element_lost_state), (gst_element_set_state),
31599 (gst_element_pads_activate), (gst_element_change_state),
31600 (gst_element_dispose), (gst_element_set_manager_func),
31601 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31602 (gst_element_set_manager), (gst_element_get_manager),
31603 (gst_element_set_bus), (gst_element_get_bus),
31604 (gst_element_set_scheduler), (gst_element_get_scheduler):
31605 * gst/gstelement.h:
31606 * gst/gstevent.c: (gst_event_new_segment_seek),
31607 (gst_event_new_flush):
31609 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31610 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31611 (gst_message_new_eos), (gst_message_new_error),
31612 (gst_message_new_warning), (gst_message_new_tag),
31613 (gst_message_new_state_changed), (gst_message_new_application),
31614 (gst_message_get_structure), (gst_message_parse_tag),
31615 (gst_message_parse_state_changed), (gst_message_parse_error),
31616 (gst_message_parse_warning):
31617 * gst/gstmessage.h:
31618 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31619 (gst_real_pad_set_property), (gst_pad_set_active),
31620 (gst_pad_is_active), (gst_pad_set_blocked_async),
31621 (gst_pad_set_blocked), (gst_pad_is_blocked),
31622 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31623 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31624 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31625 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31626 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31627 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31628 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31629 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31630 (gst_pad_set_caps), (gst_pad_configure_sink),
31631 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31632 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31633 (gst_real_pad_dispose), (gst_real_pad_finalize),
31634 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31635 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31636 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31638 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31639 (pipeline_bus_handler), (gst_pipeline_change_state),
31640 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31641 * gst/gstpipeline.h:
31643 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31644 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31645 (gst_queue_link_src), (gst_queue_bufferalloc),
31646 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31647 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31648 (gst_queue_loop), (gst_queue_handle_src_event),
31649 (gst_queue_handle_src_query), (gst_queue_src_activate),
31650 (gst_queue_change_state):
31652 * gst/gstscheduler.c: (gst_scheduler_init),
31653 (gst_scheduler_dispose), (gst_scheduler_create_task),
31654 (gst_scheduler_factory_create):
31655 * gst/gstscheduler.h:
31656 * gst/gststructure.c: (gst_structure_get_type),
31657 (gst_structure_copy_conditional):
31658 * gst/gststructure.h:
31659 * gst/gsttaginterface.h:
31660 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31661 (gst_task_init), (gst_task_dispose), (gst_task_create),
31662 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31668 * gst/schedulers/Makefile.am:
31669 * gst/schedulers/cothreads_compat.h:
31670 * gst/schedulers/entryscheduler.c:
31671 * gst/schedulers/faircothreads.c:
31672 * gst/schedulers/faircothreads.h:
31673 * gst/schedulers/fairscheduler.c:
31674 * gst/schedulers/gstbasicscheduler.c:
31675 * gst/schedulers/gstoptimalscheduler.c:
31676 * gst/schedulers/gthread-cothreads.h:
31677 * gst/schedulers/threadscheduler.c:
31678 (gst_thread_scheduler_task_get_type),
31679 (gst_thread_scheduler_task_class_init),
31680 (gst_thread_scheduler_task_init),
31681 (gst_thread_scheduler_task_start),
31682 (gst_thread_scheduler_task_stop),
31683 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31684 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31685 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31686 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31688 * libs/gst/Makefile.am:
31689 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31690 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31691 (gst_file_pad_parent_set):
31692 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31693 (gst_dp_event_from_packet):
31694 * tests/complexity.c: (main):
31695 * tests/mass_elements.c: (main):
31696 * testsuite/states/locked.c: (message_received), (main):
31697 * testsuite/states/parent.c: (main):
31698 * tools/gst-inspect.c: (print_element_flag_info),
31699 (print_implementation_info), (print_pad_info):
31700 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31702 * tools/gst-md5sum.c: (event_loop), (main):
31703 * tools/gst-typefind.c: (main):
31704 * tools/gst-xmlinspect.c: (print_element_info):
31706 Added GstBus for mainloop integration.
31707 Added GstMessage for sending notifications on the bus.
31708 Added GstTask as an abstraction for pipeline entry points.
31710 Removed Schedulers.
31711 Simplified GstQueue for multithreaded core.
31712 Made _link threadsafe, removed old capsnego.
31713 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31714 Added pad blocking functions.
31715 Reworked scheduling functions in GstPad to prepare for
31716 scheduling updates soon.
31717 Moved events out of data stream.
31718 Simplified GstEvent types.
31719 Added return values to push/pull.
31720 Removed clocking from GstElement.
31721 Added prototypes for state change function for next merge.
31722 Removed iterate from bins and state change management.
31723 Fixed some elements, disabled others for now.
31724 Fixed -inspect and -launch.
31725 Added check for GstBus.
31727 2005-03-10 Wim Taymans <wim@fluendo.com>
31729 * docs/design/part-MT-refcounting.txt:
31730 * docs/design/part-clocks.txt:
31731 * docs/design/part-gstelement.txt:
31732 * docs/design/part-gstobject.txt:
31733 * docs/design/part-standards.txt:
31734 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31735 (gst_bin_remove_func), (gst_bin_remove):
31739 * testsuite/clock/clock1.c: (main):
31740 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31742 * testsuite/dlopen/loadgst.c: (do_test):
31743 * testsuite/refcounting/bin.c: (add_remove_test1),
31744 (add_remove_test2), (main):
31745 * testsuite/refcounting/element.c: (main):
31746 * testsuite/refcounting/element_pad.c: (main):
31747 * testsuite/refcounting/pad.c: (main):
31748 * tools/gst-launch.c: (sigint_handler_sighandler):
31749 * tools/gst-typefind.c: (main):
31751 Added doc about clock.
31752 removed gst_bin_iterate_recurse_up(), marked methods
31754 Fix more testsuites.
31756 2005-03-09 Wim Taymans <wim@fluendo.com>
31758 * gst/gstpad.c: (gst_pad_get_direction),
31759 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31760 (gst_pad_collect_valist):
31761 * testsuite/bins/interface.c: (main):
31762 * testsuite/caps/audioscale.c: (test_caps):
31763 * testsuite/caps/caps.c: (test1), (test2), (test3):
31764 * testsuite/caps/deserialize.c: (main):
31765 * testsuite/caps/enumcaps.c: (main):
31766 * testsuite/caps/filtercaps.c: (main):
31767 * testsuite/caps/intersect2.c: (main):
31768 * testsuite/caps/random.c: (main):
31769 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31770 * testsuite/caps/sets.c: (check_caps):
31771 * testsuite/caps/simplify.c: (check_caps), (main):
31772 * testsuite/caps/subtract.c: (check_caps):
31773 Fix _pad_get_direction wrt ghostpads.
31774 Fix caps testsuite.
31776 2005-03-09 Wim Taymans <wim@fluendo.com>
31778 * check/Makefile.am:
31779 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31780 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31781 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31782 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31783 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31784 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31785 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31786 (bin_element_is_sink), (gst_bin_iterate_sinks),
31787 (gst_bin_iterate_all_by_interface):
31789 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31790 (gst_element_change_state), (gst_element_dispose),
31791 (gst_element_finalize), (gst_element_set_loop_function):
31792 * gst/gstelement.h:
31793 * gst/gstiterator.c: (find_custom_fold_func):
31794 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31795 (gst_pad_collectv), (gst_pad_collect_valist),
31796 (gst_pad_template_new):
31797 * gst/gstpipeline.c: (gst_pipeline_class_init),
31798 (gst_pipeline_dispose), (gst_pipeline_set_property),
31799 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31800 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31801 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31803 * gst/schedulers/entryscheduler.c:
31804 * gst/schedulers/gstbasicscheduler.c:
31805 (gst_basic_scheduler_cothreaded_chain),
31806 (gst_basic_scheduler_chain_add_element):
31807 * testsuite/bins/interface.c: (main):
31809 Added GstSystemClock test.
31810 Implemented clock distribution code in GstBin.
31811 Implemented iterate sinks method for future use.
31812 Rearranged gstelement.h
31813 Fix GstIterator comparison bug.
31814 Moved some code to GstPipeline, mostly clocking related.
31816 2005-03-09 Wim Taymans <wim@fluendo.com>
31819 * gst/gst_private.h:
31820 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31821 (gst_bin_remove_func), (gst_bin_remove),
31822 (gst_bin_get_by_name_recurse_up):
31823 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31824 (gst_clock_id_compare_func), (gst_clock_id_wait),
31825 (gst_clock_id_wait_async), (gst_clock_init),
31826 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31827 * gst/gstelement.h:
31828 * gst/gstinfo.c: (_gst_debug_init):
31830 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31831 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31833 Bump version number, we're now 0.9.0
31834 Add future debugging category.
31835 Fix NULL _unref() in _get_by_name_recurse_up
31836 Rearrange gstpad.h.
31839 2005-03-08 Wim Taymans <wim@fluendo.com>
31841 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31842 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31843 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31844 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31845 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31846 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31847 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31848 * gst/elements/gstidentity.c: (gst_identity_class_init):
31849 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31850 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31851 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31852 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31853 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31855 * gst/gstelement.c: (gst_element_class_init),
31856 (gst_element_base_class_init), (gst_element_init),
31857 (gst_element_get_random_pad), (gst_element_wait_state_change),
31858 (gst_element_change_state), (gst_element_dispose),
31859 (gst_element_finalize), (gst_element_set_loop_function):
31860 * gst/gstelement.h:
31861 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31862 * gst/gstthread.c: (gst_thread_class_init),
31863 (gst_thread_release_children_locks), (gst_thread_change_state):
31864 * gst/schedulers/gstbasicscheduler.c:
31865 (gst_basic_scheduler_loopfunc_wrapper),
31866 (gst_basic_scheduler_chain_wrapper),
31867 (gst_basic_scheduler_src_wrapper),
31868 (gst_basic_scheduler_remove_element):
31869 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31870 Remove threadsafe properties. Fix elements because GObject
31871 complains when installing a property before declaring a
31872 set/get_property handler.
31873 Rearrange gstelement.h file, use STATE macros for state locks.
31874 Free mutexes in the finalize method instead of dispose.
31876 2005-03-08 Wim Taymans <wim@fluendo.com>
31878 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31879 * gst/gstthread.c: (gst_thread_release_children_locks):
31880 Added parentage check.
31881 Fix build og GstThread again.
31883 2005-03-08 Wim Taymans <wim@fluendo.com>
31885 * docs/design/part-MT-refcounting.txt:
31886 * docs/design/part-conventions.txt:
31887 * docs/design/part-gstobject.txt:
31888 * docs/design/part-relations.txt:
31889 * docs/design/part-standards.txt:
31890 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31891 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31892 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31893 (gst_bin_iterate_all_by_interface):
31896 * gst/gstelement.c: (gst_element_class_init),
31897 (gst_element_change_state), (gst_element_set_loop_function):
31898 * gst/gstelement.h:
31899 * gst/gstiterator.c:
31900 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31901 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31902 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31903 (gst_object_set_parent), (gst_object_unparent),
31904 (gst_object_check_uniqueness):
31906 Docs updates, clean up some headers.
31908 2005-03-07 Wim Taymans <wim@fluendo.com>
31910 * check/.cvsignore:
31911 * check/Makefile.am:
31912 * check/gst-libs/.cvsignore:
31913 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31914 * check/gst/.cvsignore:
31915 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31916 (START_TEST), (gstbus_suite), (main):
31917 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31918 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31919 (gst_data_suite), (main):
31920 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31921 (add_fold_func), (gstiterator_suite), (main):
31922 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31923 (thread_name_object), (thread_name_object_default),
31924 (gst_object_name_compare), (gst_object_suite), (main):
31925 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31926 (gst_pad_suite), (main):
31927 * check/gstcheck.c: (gst_check_log_message_func),
31928 (gst_check_log_critical_func), (gst_check_init):
31929 * check/gstcheck.h:
31930 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31931 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31934 2005-03-07 Wim Taymans <wim@fluendo.com>
31936 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31937 (gst_list_iterator_next), (gst_list_iterator_resync),
31938 (gst_list_iterator_free), (gst_iterator_new_list),
31939 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31940 (gst_iterator_free), (gst_iterator_push), (filter_next),
31941 (filter_resync), (filter_uninit), (filter_free),
31942 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31943 (gst_iterator_foreach), (find_custom_fold_func),
31944 (gst_iterator_find_custom):
31945 * gst/gstiterator.h:
31946 Added missing files.
31948 2005-03-07 Wim Taymans <wim@fluendo.com>
31952 * docs/design/part-MT-refcounting.txt:
31953 * docs/design/part-conventions.txt:
31954 * docs/design/part-gstobject.txt:
31955 * docs/design/part-relations.txt:
31956 * examples/mixer/mixer.c: (main):
31957 * examples/thread/thread.c: (eos), (main):
31959 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31960 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31961 (gst_spider_plug_from_srcpad):
31962 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31963 (gst_spider_identity_change_state),
31964 (gst_spider_identity_sink_loop_type_finding):
31965 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31966 * gst/elements/gstidentity.c: (gst_identity_init):
31967 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31968 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31969 * gst/elements/gsttypefindelement.c: (free_entry):
31972 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31973 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31974 (gst_bin_set_index), (gst_bin_set_element_sched),
31975 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31976 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31977 (gst_bin_iterate_elements), (iterate_child_recurse),
31978 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31979 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31980 (compare_interface), (gst_bin_get_by_interface),
31981 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31983 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31984 (gst_buffer_default_free), (gst_buffer_default_copy),
31985 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31986 (gst_buffer_create_sub):
31988 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31989 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31990 (gst_caps_unref), (gst_static_caps_get),
31991 (gst_caps_remove_and_get_structure), (gst_caps_append),
31992 (gst_caps_append_structure), (gst_caps_remove_structure),
31993 (gst_caps_copy_nth), (gst_caps_set_simple),
31994 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31995 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31996 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31997 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31998 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31999 (gst_caps_structure_figure_out_union),
32000 (gst_caps_switch_structures), (gst_caps_do_simplify),
32001 (gst_caps_replace), (gst_caps_from_string),
32002 (gst_caps_copy_conditional):
32004 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32005 (_gst_clock_id_free), (gst_clock_id_unref),
32006 (gst_clock_id_compare_func), (gst_clock_id_wait),
32007 (gst_clock_id_wait_async), (gst_clock_class_init),
32008 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32009 (gst_clock_get_time), (gst_clock_set_time_adjust),
32010 (gst_clock_set_property), (gst_clock_get_property):
32013 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32014 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32016 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32017 (gst_element_requires_clock), (gst_element_provides_clock),
32018 (gst_element_set_clock), (gst_element_clock_wait),
32019 (gst_element_wait), (gst_element_set_time_delay),
32020 (gst_element_is_indexable), (gst_element_add_pad),
32021 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32022 (pad_compare_name), (gst_element_get_static_pad),
32023 (gst_element_request_pad), (gst_element_get_request_pad),
32024 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32025 (gst_element_class_get_pad_template_list),
32026 (gst_element_class_get_pad_template), (gst_element_error_func),
32027 (gst_element_get_random_pad), (gst_element_get_event_masks),
32028 (gst_element_send_event), (gst_element_seek),
32029 (gst_element_get_query_types), (gst_element_query),
32030 (gst_element_get_formats), (gst_element_convert),
32031 (gst_element_is_locked_state), (gst_element_set_locked_state),
32032 (gst_element_sync_state_with_parent), (gst_element_change_state),
32033 (gst_element_finalize), (gst_element_yield),
32034 (gst_element_interrupt), (gst_element_set_scheduler),
32035 (gst_element_get_scheduler), (gst_element_set_loop_function):
32036 * gst/gstelement.h:
32038 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32039 (gst_format_get_by_nick), (gst_format_get_details),
32040 (gst_format_iterate_definitions):
32042 * gst/gstindex.c: (gst_index_gtype_resolver):
32045 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32046 (gst_mem_chunk_free):
32047 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32048 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32049 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32050 (gst_object_dispatch_properties_changed),
32051 (gst_object_set_name_default), (gst_object_set_name),
32052 (gst_object_get_name), (gst_object_set_name_prefix),
32053 (gst_object_get_name_prefix), (gst_object_set_parent),
32054 (gst_object_get_parent), (gst_object_unparent),
32055 (gst_object_check_uniqueness), (gst_object_save_thyself),
32056 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32057 (gst_object_set_property), (gst_object_get_property),
32058 (gst_object_get_path_string):
32060 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32061 (gst_real_pad_init), (gst_real_pad_get_property),
32062 (gst_pad_custom_new), (gst_pad_get_direction),
32063 (gst_pad_set_active), (gst_pad_is_active),
32064 (gst_pad_set_event_function), (gst_pad_is_linked),
32065 (gst_pad_link_free), (gst_pad_link_intersect),
32066 (gst_pad_link_fixate), (gst_pad_set_caps),
32067 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32068 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32069 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32070 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32071 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32072 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32073 (gst_pad_realize), (gst_pad_get_allowed_caps),
32074 (gst_real_pad_dispose), (gst_real_pad_finalize),
32075 (gst_pad_collectv), (gst_pad_collect_valist),
32076 (gst_pad_template_dispose), (gst_pad_template_new),
32077 (gst_pad_get_internal_links):
32079 * gst/gstpipeline.c: (gst_pipeline_dispose),
32080 (gst_pipeline_change_state):
32081 * gst/gstpipeline.h:
32083 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32084 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32085 * gst/gstpluginfeature.h:
32086 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32087 * gst/gstquery.c: (_gst_query_type_initialize),
32088 (gst_query_type_register), (gst_query_type_get_by_nick),
32089 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32091 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32092 * gst/gstscheduler.c: (gst_scheduler_add_element),
32093 (gst_scheduler_factory_create):
32094 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32095 (gst_structure_free), (gst_structure_set_name),
32096 (gst_structure_id_set_value), (gst_structure_set_value),
32097 (gst_structure_set_valist), (gst_structure_remove_field),
32098 (gst_structure_remove_fields),
32099 (gst_structure_remove_fields_valist),
32100 (gst_structure_remove_all_fields), (gst_structure_foreach),
32101 (gst_structure_map_in_place),
32102 (gst_caps_structure_fixate_field_nearest_int),
32103 (gst_caps_structure_fixate_field_nearest_double):
32104 * gst/gststructure.h:
32105 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32106 (gst_system_clock_init), (gst_system_clock_dispose),
32107 (gst_system_clock_async_thread),
32108 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32109 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32110 * gst/gstsystemclock.h:
32111 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32112 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32113 * gst/gsttaginterface.c:
32114 * gst/gstthread.c: (gst_thread_dispose),
32115 (gst_thread_release_children_locks), (gst_thread_change_state),
32116 (gst_thread_main_loop):
32117 * gst/gsttrashstack.h:
32118 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32120 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32121 (gst_element_request_pad), (gst_element_get_pad_from_template),
32122 (gst_element_request_compatible_pad),
32123 (gst_element_get_compatible_pad_filtered),
32124 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32125 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32126 (gst_element_link_many), (gst_element_link),
32127 (gst_element_link_pads), (gst_element_unlink_pads),
32128 (gst_element_unlink_many), (gst_element_unlink),
32129 (gst_pad_can_link_filtered), (gst_pad_can_link),
32130 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32131 (gst_object_default_error), (gst_bin_add_many),
32132 (gst_bin_remove_many), (gst_element_populate_std_props),
32133 (gst_element_class_install_std_props), (gst_buffer_merge),
32134 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32135 (link_fold_func), (gst_pad_proxy_setcaps):
32137 * gst/gstvalue.c: (gst_value_deserialize_string):
32138 * gst/parse/grammar.y:
32139 * gst/schedulers/gstbasicscheduler.c:
32140 (gst_basic_scheduler_cothreaded_chain),
32141 (gst_basic_scheduler_chain_recursive_add),
32142 (gst_basic_scheduler_pad_link):
32143 * gst/schedulers/gstoptimalscheduler.c:
32144 (get_group_schedule_function),
32145 (gst_opt_scheduler_state_transition),
32146 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32147 * libs/gst/bytestream/bytestream.c:
32148 * libs/gst/dataprotocol/dataprotocol.c:
32149 (gst_dp_header_from_buffer):
32152 * tests/threadstate/threadstate2.c: (eos):
32153 * tools/gst-compprep.c: (main):
32154 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32155 (print_pad_info), (print_children_info):
32156 * tools/gst-launch.c: (idle_func), (main):
32157 * tools/gst-md5sum.c: (idle_func), (main):
32158 * tools/gst-xmlinspect.c: (print_element_info):
32159 First THREADED backport attempt, focusing on adding locks and
32160 making sure the API is threadsafe. Needs more work. More docs
32163 2005-02-24 Andy Wingo <wingo@pobox.com>
32165 * tests/bench-complexity.scm:
32166 * tests/complexity.gnuplot: New files, good for running complexity
32169 * tests/Makefile.am:
32170 * tests/complexity.c: New test, sets up N elements, at each level
32171 teeing into M streams per element. Eeeenteresting.
32173 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32174 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32175 running bench-mass_elements.scm.
32177 * tests/bench-mass_elements.scm: New script, runs mass_elements
32178 for various numbers of identities, outputting the results to a
32179 file. Requires guile 1.6. Just for testing.
32181 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32183 * gst/schedulers/fairscheduler.c:
32184 compile with debug disabled
32186 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32189 hunting season on 0.9 is now OPEN