1 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
5 Wrap multi-line macros in G_STMT_{START|END}.
7 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
9 * docs/gst/gstreamer-sections.txt:
12 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
13 (gst_query_parse_uri):
15 API: Add URI query type. This is useful to query the URI
16 of a sink/source element and can be used by demuxers that
17 need to get data from other files.
18 This query should go upstream by default.
20 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
21 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
23 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
24 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
28 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
31 * tests/check/gst/gstghostpad.c:
32 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
33 That would cause the ghostpad to emit notify::caps two times (fist
34 from gst_pad_set_caps() and after from on_src_target_notify()).
36 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
38 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
40 Add some more unit-tests for the ghostpad notify signal, one of which
43 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
45 * win32/common/libgstreamer.def:
46 Add gst_tag_setter_reset_tags to the list of exported symbols.
48 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
51 * tests/check/gst/gstghostpad.c:
52 In a source ghostpad, when caps are changed in the target pad, the
53 change needs to be reflected in the ghostpad.
56 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
58 * gst/gstutils.c: (gst_element_found_tags_for_pad):
59 Add FIXME for 0.11 to set the pad as message source and not
60 the element. Otherwise it's impossible to detect for which
61 pad the tags were found without adding an event probe
62 or something similar to the pad.
64 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
66 * docs/faq/general.xml:
69 2008-12-16 Stefan Kost <ensonic@users.sf.net>
71 * docs/gst/gstreamer-sections.txt:
74 Rename api added in previous commit and add since tag to docs.
75 API: gst_tag_setter_reset_tags()
77 2008-12-16 Stefan Kost <ensonic@users.sf.net>
79 * docs/gst/gstreamer-sections.txt:
82 Add function to reset tagsetter for element reuse.
84 2008-12-16 Stefan Kost <ensonic@users.sf.net>
87 Avoid copy of empty taglist.
89 2008-12-16 Stefan Kost <ensonic@users.sf.net>
92 * tests/check/gst/gsttag.c:
93 More complete unit tests. Fix handling of empty taglists (they were
96 2008-12-15 Stefan Kost <ensonic@users.sf.net>
100 Update GstTagSetter and GstTagMergeMode documentation. Mention
101 that tags can come from events and from application. Fix example.
103 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
105 * docs/design/part-TODO.txt:
106 Remove the seqnum entry that we implemented in 0.10 already.
107 Add entry about removing the format return value for queries.
109 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
111 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
112 (gst_base_sink_init), (gst_base_sink_set_property),
113 (gst_base_sink_get_property):
114 Expose the render-delay as a property so things like appsink can use it
115 to tweak the synchronisation.
117 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
119 * libs/gst/check/gstcheck.h: Allow check tests to use
120 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
121 CK_FORK=no to be used with multiple check test that use threads.
123 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
125 * gst/gstutils.c: (gst_element_get_compatible_pad):
126 Fix a caps memory leak introduced by the last change.
128 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
130 * gst/gstutils.c: (gst_element_get_compatible_pad):
131 Check if the caps of the pads are compatible before returning
132 a pad and claiming it is compatible. This, among other things,
133 fixes a bug with gst-launch where an incompatible pad is chosen
134 and linking fails. Fixes bug #544003.
136 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
138 * libs/gst/check/gstcheck.c: (gst_check_init):
139 Revert accidentially commited patch for bug #404631 which
140 tries to print a backtrace if a testcase is terminated by
141 a signal. This code was never activated as the corresponding
142 configure.ac change wasn't committed.
144 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
146 * tests/check/libs/controller.c: (GST_START_TEST):
147 This test should return TRUE now as syncing an uncontrolled
148 object will succeed now (there's nothing to sync).
150 2008-12-09 Stefan Kost <ensonic@users.sf.net>
152 * libs/gst/controller/gstcontroller.c:
153 Aggregate return value for gst_controller_sync_values(). More info in
154 logging. Always set values on first sync-call.
156 * libs/gst/controller/gstcontrolsource.c:
159 * libs/gst/controller/gsthelper.c:
160 Fix return code and comment.
162 2008-12-09 Stefan Kost <ensonic@users.sf.net>
164 * tools/gst-launch.1.in:
165 Fix description of how to specify a type in caps. Fixes #553873.
166 Also ranges and list contain values and not property-assignments.
168 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
170 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
171 Check for changed pads-list before checking the last returned
172 GstFlowReturn because the pad could have been removed and we
173 need to ignore the value in that case.
175 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
177 * libs/gst/base/gstbasetransform.c:
178 (gst_base_transform_prepare_output_buffer),
179 (gst_base_transform_getrange), (gst_base_transform_chain):
180 * libs/gst/base/gstbasetransform.h:
181 Add vmethod that is called before we start the transform and which can
182 be used to configure the transform, such as dynamic properties.
184 2008-12-05 David Schleef <ds@schleef.org>
187 Search for plugins on win32 based on the location of the
188 gstreamer DLL. Fixes #548786
190 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
193 Apparently AC_CONFIG_MACRO_DIR breaks when using more
194 than one macro directory, reverting last change.
196 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
199 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
202 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
204 Patch by: Cygwin Ports maintainer
205 <yselkowitz at users dot sourceforge dot net>
209 Require gettext 0.17 because older versions don't mix with libtool
210 2.2. At build time an older gettext version will still work.
213 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
215 Patch by: 이문형 <iwings at gmail dot com>
217 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
218 Adds support for FD_CONNECT event (win32). See #562258.
220 2008-11-24 Stefan Kost <ensonic@users.sf.net>
222 * libs/gst/base/gstbasesink.c:
223 Turn comment into gtk-doc comment.
225 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
227 * libs/gst/base/gstbasetransform.c:
228 (gst_base_transform_acceptcaps):
229 Revert quick accepcaps attempt, it's not fully equivalent to the old
230 behaviour and thus causes regressions.
232 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
234 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
237 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
239 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
241 * gst/gstregistry.c: (gst_registry_scan_path_level):
242 Reduce the number of stat() calls for every file from three times
243 to one time. Fixes bug #560360.
245 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
247 * libs/gst/base/gstbasetransform.c:
248 (gst_base_transform_acceptcaps):
249 Rename a variable to make the code clearer.
251 2008-11-21 Stefan Kost <ensonic@users.sf.net>
253 * plugins/elements/gstidentity.c:
254 Don't warning on offset==-1. Taken from _check_imperfect_offset().
256 2008-11-21 Michael Smith <msmith@songbirdnest.com>
258 * plugins/elements/gstfilesrc.c:
259 Check for localhost in URI was backwards, fix it. Fixes unit test.
261 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
263 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
264 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
265 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
266 Add beginnings of a more optimized acceptcaps function than the default
269 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
271 * gst/gstpad.c: (gst_pad_accept_caps):
272 Avoid getting the acceptcaps function too early.
274 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
276 * tools/gst-launch.c: (event_loop):
277 Make gst-launch handle LATENCY messages and make it recalculate the
280 2008-11-20 Michael Smith <msmith@songbirdnest.com>
282 * plugins/elements/gstfilesrc.c:
283 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
284 out own slightly incorrect version. Fixes use of some paths on
287 2008-11-20 Michael Smith <msmith@songbirdnest.com>
289 * gst/gstregistrybinary.c:
290 In win32 codepath, if we fail to write the registry, create the
291 directory for it and try again, matching the behaviour in non-win32
294 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
296 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
297 Changing the render delay changes the latency and so we must post a
300 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
304 Add GstQueryType for custom queries instead of having to use the
305 not-so-very-convenient registration infrastructure to register new
308 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
310 Patch by: Andrew Feren <acferen at yahoo dot com>
312 * gst/gstobject.c: (gst_object_default_deep_notify):
313 Unref the GEnumClass after usage again. Fixes bug #561501.
315 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
317 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
318 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
319 (gst_bin_change_state_func):
321 Add do-latency signal with the old default fallback implementation. This
322 allows for custom latency calculations for when the default is not
324 API: GstBin::do-latency signal.
326 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
328 * win32/common/libgstreamer.def:
329 Add new symbols to .def file.
331 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
333 * docs/gst/gstreamer-sections.txt:
334 * gst/gstbin.c: (gst_bin_recalculate_latency),
335 (gst_bin_change_state_func):
337 Add method to recalculate and redistribute the latency on a bin.
338 API: gst_bin_recalculate_latency().
340 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
343 Document the free_func.
345 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
347 * libs/gst/controller/gstinterpolation.c:
348 * libs/gst/controller/gstlfocontrolsource.c:
349 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
350 as it is mapped to a cast on non-win32 platforms.
352 2008-11-17 Stefan Kost <ensonic@users.sf.net>
354 * libs/gst/controller/gstcontroller.c:
355 * libs/gst/controller/gstcontrollerprivate.h:
356 Keep last-value and only call set_property if value has changed. This
357 supresses all the g_object_notifies we would trigger otherwise. It
358 also allows the user to chage the value while there is no controller
361 2008-11-17 Stefan Kost <ensonic@users.sf.net>
364 Don't crash if either of the string GValues is empty.
366 2008-11-17 Andy Wingo <wingo@pobox.com>
368 * tools/gst-inspect.c (print_all_uri_handlers): New function,
369 prints a summary of what URI schemes are supported by what
371 (main): Plumb in support for --uri-handlers or -u, and fix the
372 argc check for -a and -u.
374 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
377 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
378 conversion functions.
380 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
382 * gst/gstbuffer.c: (gst_buffer_finalize):
383 Avoid costly typechecking for trivially correct pointers.
385 * gst/gstpoll.c: (gst_poll_wait):
386 Add some G_LIKELY here and there.
388 * libs/gst/base/gstadapter.c: (gst_adapter_push):
391 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
393 * docs/random/wtay/poll-timeout:
396 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
398 * tests/old/testsuite/caps/intersection.c: (main):
399 * tests/old/testsuite/plugin/loading.c: (main):
400 Remove references to deprecated API g_mem_chunk*.
403 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
405 * tools/gst-inspect.c: (main):
406 Add --plugin option. Fixes #560301.
408 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
410 * docs/random/wtay/poll-timeout:
411 Quick braindump for a possible (not totally verified) atomic case.
413 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
415 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
416 (gst_registry_binary_initialize_magic),
417 (gst_registry_binary_write_cache),
418 (gst_registry_binary_check_magic):
419 * gst/gstregistrybinary.h:
420 Don't write and check a CRC for the binary registry file. It's
421 guaranteed that the registry is completely written (it's first written
422 to a temporary file and then moved) and if the registry was corrupted
423 by some hardware failure we would have bigger problems.
425 Bump binary registry version to 0.10.21.1 for this as it's an
426 incompatible change and to ensure that the registry gets rebuild
429 This saves some milliseconds for reading/writing the registry.
432 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
434 * docs/random/wtay/poll-timeout:
435 Some pseudo code for how we could implement clock timeouts with GstPoll.
437 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
439 * plugins/elements/gstfilesink.c:
440 Update Author string to match others.
442 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
444 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
445 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
446 being fixed and inline the trivial check.
448 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
450 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
451 (gst_caps_merge_structure), (gst_caps_get_structure),
452 (gst_caps_copy_nth), (gst_caps_set_simple),
453 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
454 (gst_caps_is_equal_fixed), (gst_caps_intersect),
455 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
456 (gst_caps_to_string):
457 Callgrind micro optimisations.
458 Avoid array bounds checks and force inline of trivial function.
460 * gst/gstobject.c: (gst_object_set_name_default):
461 -1 is equivalent to letting glib to the strlen but then there is more
462 room for optimisations and it's not our fault.
464 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
465 no need to clear the array, we're cool.
467 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
468 The most common _is_fixed() check is done on fundamental glib base
469 types so we check this first instead of doing a huge amount of
470 useless GST_TYPE_ARRAY calls.
472 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
475 Add a SKIP seek flag for use with advanced trickmodes.
476 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
478 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
480 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
481 No need to memset, we can clear the value ourselves.
483 * gst/gstvalue.c: (gst_type_is_fixed),
484 (gst_value_get_compare_func):
485 Some optimisations from a few callgrind sessions:
486 When checking if a type is fixed, check for trivial fundamental types
487 first before checking types for which we need to get the type followed
488 by the heavy duty type checks, this reduces the amount of
489 g_type_fundamental() calls a lot.
490 When getting the compare function, first check for our registered types.
491 If that fails, do the heavy duty g_type_is_a() checks, reduces the
492 amount of g_type_is_a() considerably.
494 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
496 * docs/design/part-TODO.txt:
497 Mumble something about removing GstXML.
499 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
501 * gst/gstbin.c: (gst_bin_handle_message_func):
502 Get the seqnum before we dispose the message.
504 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
506 * docs/design/part-TODO.txt:
507 Refer to the framestepping document.
509 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
511 * gst/gstbin.c: (bin_handle_async_start),
512 (gst_bin_handle_message_func), (gst_bin_query):
513 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
514 (gst_base_sink_event), (gst_base_sink_change_state):
515 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
516 (gst_base_src_loop), (gst_base_src_change_state):
517 Copy seqnums from events to messages so that they can all be related
520 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
522 * tools/gst-launch.c: (event_loop):
523 Print the message seqnums.
525 2008-11-04 Andy Wingo <wingo@pobox.com>
527 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
529 2008-11-04 Andy Wingo <wingo@pobox.com>
531 Add sequence numbers to events and messages. See #559250.
533 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
537 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
538 events with a new sequence number, and copy it when copying.
539 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
540 an event's sequence number.
543 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
544 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
547 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
549 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
551 * docs/manual/advanced-position.xml:
552 * docs/manual/basics-bins.xml:
553 * docs/manual/basics-bus.xml:
554 * docs/manual/basics-pads.xml:
555 * docs/manual/intro-gstreamer.xml:
556 * docs/manual/intro-preface.xml:
557 Some Application Development Manual fixes thanks to
558 Andrew Feren. Fixes #558459.
560 2008-11-03 Stefan Kost <ensonic@users.sf.net>
562 * gst/gstregistrybinary.c:
563 Don't bother with the GTimer if we don't output the results.
565 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
567 Patch by: David Schleef <ds@schleef.org>
569 * libs/gst/net/Makefile.am:
570 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
572 2008-10-31 Stefan Kost <ensonic@users.sf.net>
574 * gst/gstregistrybinary.c:
575 Oh my, studip, stupid me. Remove double stat() call.
577 2008-10-31 Stefan Kost <ensonic@users.sf.net>
580 Use g_unlink instead of unlink.
582 * gst/gststructure.c:
591 Formatting & whitespaces.
593 2008-10-31 Stefan Kost <ensonic@users.sf.net>
595 * plugins/elements/gstidentity.c:
596 Doc typo. Use return value of parent_class->event.
598 * plugins/elements/gsttypefindelement.c:
599 Chain up at the end for consistency.
601 2008-10-30 Stefan Kost <ensonic@users.sf.net>
604 * docs/gst/gstreamer-docs.sgml:
605 * docs/gst/gstreamer-sections.txt:
606 * docs/gst/running.xml:
607 * docs/libs/gstreamer-libs-docs.sgml:
608 Change to xinclude based build - its faster and easier to maintain.
610 2008-10-30 Stefan Kost <ensonic@users.sf.net>
612 * gst/gstregistrybinary.c:
613 * gst/gstregistryxml.c:
614 Use g_unlink() as none of these are directories.
616 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
618 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
621 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
623 * libs/gst/base/gstbasetransform.c:
624 (gst_base_transform_find_transform), (gst_base_transform_getrange):
625 If we have a fixate function, call it even if we already have fixed caps
626 because the subclass might add some caps. Makes audioconvert add a
627 default channel layout.
629 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
631 * libs/gst/base/gstbasetransform.c:
632 (gst_base_transform_prepare_output_buffer),
633 (gst_base_transform_getrange):
634 Clear the output buffer variable.
635 Cleanups to the error path in the getrange function.
638 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
640 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
641 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
642 Use gst_buffer_try_new_and_alloc() and handle errors instead of
643 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
646 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
648 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
649 Set the last_stop to a more meaningful position when configuring the
650 segment. ie. the start/stop of the segment or clipped against the
651 updated segment boundaries.
653 * tests/check/gst/gstsegment.c: (GST_START_TEST):
654 Add some unit tests for the last_stop.
656 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
658 * libs/gst/base/gstbytereader.c:
659 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
662 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
664 * docs/gst/gstreamer-sections.txt:
666 API: Move float endianness conversion macros from libgstfloatcast
667 to core as it's useful in general, even in core. Fixes bug #555196.
668 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
669 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
670 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
672 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
673 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
674 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
675 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
677 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
679 * docs/libs/gstreamer-libs-sections.txt:
680 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
681 (gst_byte_reader_peek_data):
682 * libs/gst/base/gstbytereader.h:
683 * win32/common/libgstbase.def:
684 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
685 to get a pointer to the data at the current position and have
688 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
691 Fix a bug in the output of the configure script summary
692 when --gst-disable-registry is supplied
694 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
696 * libs/gst/base/gstbitreader.c:
697 * libs/gst/base/gstbytereader.c:
698 Fix the names of 2 functions in the docs strings.
700 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
702 * libs/gst/base/gstbasetransform.c:
703 (gst_base_transform_prepare_output_buffer),
704 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
705 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
706 refcount problems as seen in banshee and maybe also in farsight2.
707 Remove atomic int now that we need to take the lock anyways.
709 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
711 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
712 (gst_base_sink_default_prepare_seek_segment),
713 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
714 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
715 (gst_base_sink_query):
716 Implement more seeking in pull mode.
717 Use pad convert functions to convert position to the requested format.
718 Fix position/duration reporting in pull mode.
719 Implement position and duration reporting in other formats than time.
721 * libs/gst/base/gstbasesink.h:
722 Add member to keep track of when the segment is playing.
724 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
726 * gst/gstpad.c: (gst_pad_configure_src):
727 When we use gst_pad_alloc_buffer() without wanting to set the caps we
728 also don't need to check if the caps are compatible because the caller
729 presumably is going to perform its own custom checks. Fixes some cases
730 where basetransform elements would error out when it was not needed.
732 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
734 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
737 * libs/gst/base/gstbasetransform.c:
738 (gst_base_transform_handle_buffer),
739 (gst_base_transform_reconfigure):
742 * win32/common/libgstbase.def:
745 2008-10-19 Stefan Kost <ensonic@users.sf.net>
747 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
748 Remove duplicated assignment and log a message in failure case.
750 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
752 Patch by: Dig Ge <dig.ge.cn at gmail com>
754 * tests/examples/helloworld/helloworld.c: (main):
755 Fix copy'n'paste bug in hello world example (#556900).
757 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
759 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
760 (gst_base_sink_query):
761 Query the total number of bytes when activating the pad in pull mode.
762 Implement duration query in pull mode by using the installed pad convert
763 function to convert from bytes to the requested format.
765 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
767 * docs/libs/gstreamer-libs-sections.txt:
768 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
769 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
770 (gst_base_sink_event), (gst_base_sink_perform_seek),
771 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
772 (gst_base_sink_send_event), (gst_base_sink_change_state):
773 * libs/gst/base/gstbasesink.h:
774 Add method to commit the state in subclasses.
775 Refactor the flush_start and flush_stop code because we need it for
776 flushing while seeking too.
777 Implement the beginnings of seeking in pull mode.
778 Use the segment last_stop field for the pulling offset.
779 Fix the pause method in pull mode.
780 Configure the segment to BYTES for pull mode.
781 API: GstBaseSink::gst_base_sink_do_preroll()
783 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
785 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
788 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
790 * gst/gstquark.c: (_priv_gst_quarks_initialize):
791 Fix printf format warning.
793 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
795 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
796 Fix flow aggregation of tee. Error out immediately for all flow returns
797 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
798 and return OK if at least one pad is linked.
800 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
801 and otherwise returned the flow return of the last pad, which is wrong.
803 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
804 (GST_START_TEST), (tee_suite):
805 Add unit tests for the flow aggregation.
807 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
809 * docs/design/part-TODO.txt:
810 Remove item from the todo list because it was fixed with the latency
811 state change rewrites.
813 * docs/design/part-seeking.txt:
814 * docs/design/part-segments.txt:
817 * gst/gstevent.c: (gst_event_new_new_segment_full),
818 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
819 (gst_event_parse_buffer_size), (gst_event_new_qos),
820 (gst_event_parse_qos), (gst_event_new_seek),
821 (gst_event_parse_seek), (gst_event_new_latency),
822 (gst_event_parse_latency):
823 Use quarks to construct and parse events.
825 * gst/gstquark.c: (_priv_gst_quarks_initialize):
827 Add some more quarks to the table.
828 Emit a warning when the quark tables are not in sync.
830 * tests/check/gst/gstbus.c: (GST_START_TEST):
833 2008-10-13 Stefan Kost <ensonic@users.sf.net>
835 * plugins/elements/Makefile.am:
836 * plugins/indexers/Makefile.am:
837 Don't install static libs for plugins. Fixes #550851 for core.
839 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
841 * gst/gstbus.c: (gst_bus_source_finalize),
842 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
843 (gst_bus_enable_sync_message_emission),
844 (gst_bus_disable_sync_message_emission),
845 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
846 Fix deadlock, g_source_get_id() cannot be called in finalize.
847 Keep track of the watch source by keeping a pointer to the source object
849 Use the bus lock to protect access to the pointer to the current
852 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
854 Base on Patch by: Olivier Crete <tester at tester dot ca>
856 * gst/gstbus.c: (gst_bus_source_finalize),
857 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
858 Only allow one bus watch to be set at a time. This is necessary
859 because the dispatcher pops the message from the bus and the second
860 watcher will then get NULL or the next message (and the first won't
861 get this next message then, etc). If more than one "watcher" is
862 required signal watches should be used. Fixes bug #526044.
864 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
866 * tools/gst-launch.c:
867 Change the printing of the 'buffering...' output to avoid putting
868 a \r in a translateable string (flagged by the TP).
870 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
873 Clarify that the save_thyself() and restore_thyself() virtual
874 functions of GstObject need to be overriden, not
875 gst_object_(save|restore)_thyself() which is impossible.
878 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
880 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
881 Revert a patch from 21 months ago that broke caps negotiation in pull
882 mode. Basically, having a buffer pass over a pad will trigger the
883 setcaps function when caps change, just like in push mode.
885 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
887 * docs/design/part-negotiation.txt:
888 Update the docs some more.
890 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
891 If we pull a buffer with non-trivial caps, suggest those caps with the
894 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
896 * docs/design/part-TODO.txt:
897 Add another limitation of pad-blocking with segment seeks not pushing
900 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
902 * win32/common/libgstbase.def:
903 * win32/common/libgstreamer.def:
904 Add new symbols to the win32 defs files
906 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
908 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
909 (gst_bin_handle_message_func):
910 The message src can be NULL, don't try to print the object names in that
913 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
914 Add some more debug info.
916 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
919 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
922 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
924 * docs/design/part-negotiation.txt:
927 * docs/libs/gstreamer-libs-sections.txt:
928 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
929 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
930 (gst_base_sink_init), (gst_base_sink_set_blocksize),
931 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
932 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
933 (gst_base_sink_loop), (gst_base_sink_pad_activate),
934 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
935 (gst_base_sink_change_state):
936 * libs/gst/base/gstbasesink.h:
937 Add blocksize property and methods to control the amount of data
939 Negotiate first before activating upstream in pull mode so that they can
940 negotiate themselves.
941 When we operate in pull mode, we only accept the caps that we
943 Make the sink go ASYNC to PAUSED, like all other sinks.
944 API: GstBaseSink::gst_base_sink_set_blocksize()
945 API: GstBaseSink::gst_base_sink_get_blocksize()
946 API: GstBaseSink::blocksize
948 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
949 (gst_base_src_set_live), (gst_base_src_is_live),
950 (gst_base_src_set_format), (gst_base_src_query_latency),
951 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
952 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
953 (gst_base_src_set_property), (gst_base_src_get_property):
954 * libs/gst/base/gstbasesrc.h:
955 Add typechecking in public API functions.
956 Add methods to control the blocksize in subclasses.
957 API: GstBaseSrc::gst_base_src_set_blocksize()
958 API: GstBaseSrc::gst_base_src_get_blocksize()
960 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
962 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
963 (buffer_probe), (event_probe), (GST_START_TEST):
964 We now see 3 events go through our pad, since basesink now sends
965 upstream latency events.
967 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
969 * gst/gstpipeline.c: (gst_pipeline_change_state):
970 Release the object lock before trying to flush the bus.
972 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
974 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
975 Forward LATENCY events upstreams so that elements know about the total
976 pipeline latency. Fixes #555307.
978 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
980 * plugins/elements/gstqueue.c:
981 Allow through queries when we don't know how
982 to adjust them (not TIME or BYTES), as otherwise it's
983 not possible to query the current position in order
984 to seek in other formats at all.
986 2008-10-08 Andy Wingo <wingo@pobox.com>
988 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
990 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
994 Unbreak -good build, private is a reserved c++ keyword.
996 2008-10-08 Andy Wingo <wingo@pobox.com>
998 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
999 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1000 removal: re-add GST_GHOST_PAD_CAST to the header.
1002 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1003 (GstGhostPadClass): Publically expose these structures so as to
1004 allow easy subclassing from C. Hide the member data behind a
1005 private opaque data pointer.
1007 * gst/gstghostpad.c: Adapt to store instance data in the type
1008 instance's private data region, not in the public struct.
1010 2008-10-08 Andy Wingo <wingo@pobox.com>
1012 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1013 template via g_object_get(), be sure to unref it.
1015 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1017 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1019 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1020 If we can't get a cache file don't try to save something to it.
1021 Dereferencing NULL pointers usually isn't a good idea.
1023 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1025 * tests/check/Makefile.am:
1026 * tests/check/gst/gstabi.c:
1027 * tests/check/gst/struct_sparc.h:
1028 * tests/check/libs/libsabi.c:
1029 * tests/check/libs/struct_sparc.h:
1030 Add Sparc ABI checks
1032 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1033 Cast signed integer to unsigned to avoid a compiler warning.
1035 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1037 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1038 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1039 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1040 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1041 (gst_byte_reader_peek_int24_be):
1042 Use new GST_READ_UINT24_(LE|BE) macros.
1044 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1046 * docs/gst/gstreamer-sections.txt:
1048 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1049 as it's too easy to break the ISO C strict aliasing rules with simple
1050 casts to the corresponding type and this would introduce hard to debug
1051 bugs. Fixes bug #545714.
1053 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1055 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1057 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1058 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1059 Add 'Since' bits to gtk-doc chunks for new API.
1061 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1063 * docs/gst/gstreamer-sections.txt:
1066 2008-10-06 Andy Wingo <wingo@pobox.com>
1068 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1069 that will be called on the malloc_data to free it. Basically a way
1070 to avoid subclassing when all you need is a different free
1071 function, i.e. free() instead of g_free().
1073 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1074 calling the free function.
1075 (gst_buffer_init): Initialize the free function to g_free.
1077 2008-10-06 Andy Wingo <wingo@pobox.com>
1079 * gst/gstghostpad.h:
1080 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1081 finishes the initialization of ghost pad. Useful for language
1082 bindings and subclassers of GstGhostPad. Fixes #539108.
1083 (gst_ghost_pad_new_full): Use the new constructor.
1085 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1087 Base on Patch by: Olivier Crete <tester at tester dot ca>
1089 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1090 (gst_bin_remove_func), (update_degree),
1091 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1092 Keep track of pads that are being linked/unlinked and resync the state
1095 * gst/gstpad.c: (gst_pad_get_direction),
1096 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1097 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1098 (gst_pad_link_prepare), (gst_pad_link),
1099 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1100 (gst_pad_check_pull_range), (gst_pad_get_range),
1101 (gst_pad_pull_range):
1102 Some code cleanups, use macros to check pad direction.
1103 Don't need to take the lock on the pad direction.
1104 Post structure change when pads are linked/unlinked.
1105 Change some checks into _return_if_fail().
1107 * tests/check/gst/gstbin.c:
1108 (test_link_structure_change_state_changed_sync_cb),
1109 (GST_START_TEST), (gst_bin_suite):
1110 Add testcase for pad link/unlinke resync during a state change.
1113 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1115 * docs/gst/gstreamer-sections.txt:
1116 * gst/gstmessage.c: (gst_message_new_structure_change),
1117 (gst_message_parse_structure_change):
1119 Implement STRUCTURE_CHANGED messages. These messages will be used to
1120 signal the parent bin of link/unlink operations that could require a
1121 resync when doing a state change. See ##510354.
1122 API: gst_message_new_structure_change()
1123 API: gst_message_parse_structure_change()
1125 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1129 Add some more quarks for new message. See #510354.
1131 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1133 * docs/libs/gstreamer-libs-docs.sgml:
1134 * docs/libs/gstreamer-libs-sections.txt:
1135 * libs/gst/base/Makefile.am:
1136 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1137 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1138 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1139 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1140 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1141 (gst_bit_reader_skip_to_byte):
1142 * libs/gst/base/gstbitreader.h:
1143 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1144 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1145 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1146 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1147 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1148 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1149 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1150 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1151 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1152 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1153 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1154 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1155 * libs/gst/base/gstbytereader.h:
1156 * tests/check/Makefile.am:
1157 * tests/check/libs/bitreader.c: (GST_START_TEST),
1158 (gst_bit_reader_suite):
1159 * tests/check/libs/bytereader.c: (GST_START_TEST),
1160 (gst_byte_reader_suite):
1161 API: Add bit reader and byte reader classes, including documentation
1162 and an extensive unit test suite. Fixes bug #553554.
1164 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1166 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1167 (gst_base_sink_query):
1168 Improve position reporting while flushing and other intermediate state
1169 changes. Fixes #553874.
1171 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1173 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1175 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1176 Original patch by : Simon Descaries
1177 Fix small refount leak in caps compatibility check.
1180 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1182 * docs/pwg/advanced-request.xml:
1183 Fix 0.8 api usage in example. Fixes #554561
1185 * docs/pwg/appendix-porting.xml:
1186 Change 0.9 to 0.10 here.
1188 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1190 * docs/manual/basics-data.xml:
1191 Change "event-event interaction" to "element-element interaction".
1192 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1195 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1198 Back to development -> 0.10.21.1
1200 === release 0.10.21 ===
1202 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1205 releasing 0.10.21, "Take These Things From Me"
1207 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1210 0.10.20.4 pre-release
1212 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1214 * libs/gst/base/gstbasetransform.c:
1215 * plugins/elements/gstcapsfilter.c:
1216 * tests/check/Makefile.am:
1217 * tests/check/elements/.cvsignore:
1218 * tests/check/elements/capsfilter.c:
1219 Fix assertion in basetransform when the subclass chooses not to
1220 allocate a buffer in prepare_buffer(), and make capsfilter error out
1221 cleanly if requested to apply caps that don't completely specify the
1222 buffer. Fixes #551509
1224 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1226 * libs/gst/base/gstbasetransform.c:
1227 (gst_base_transform_prepare_output_buffer):
1228 Take new caps ref because our old one might have been gone when the
1229 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1231 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1234 Do not probe availability of check unit test library when cross
1235 compiling, as test would not work anyway. Also cleanup verbose output
1236 of the check test. Fixes #551952.
1238 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1240 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1242 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1243 Avoid leaking the parent ref when we fail changing the state of the
1244 element using gst_element_sync_state_with_parent(). Fixes #551978.
1246 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1248 * docs/manual/intro-motivation.xml::
1249 Remove some bits that no longer apply, update others (#551642).
1251 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1254 0.10.20.2 pre-release
1262 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1264 * win32/common/config.h.in:
1265 Add GST_DATADIR, hard-code cpu to x86.
1267 * win32/common/libgstreamer.def:
1270 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1273 Fix Since: markers for new geo tags.
1275 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1278 Fix actual tag name define after renaming from altitude to elevation.
1280 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1282 * gst/gstpad.c: (add_unref_pad_to_list),
1283 (gst_pad_get_internal_links_default):
1284 Add fallback when calling the deprecated function on an element that
1285 implements the new internal_link handler.
1287 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1289 * docs/gst/gstreamer-sections.txt:
1292 Add new tags for geo location and clarify purpose of existing location
1295 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1297 Patch by: Olivier Crete <tester at tester dot ca>
1299 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1300 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1301 Use thread-safe internal links iterator. Fixes #549504.
1303 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1305 Based on patch by: Olivier Crete <tester at tester dot ca>
1307 * docs/gst/gstreamer-sections.txt:
1308 * win32/common/libgstreamer.def:
1309 * gst/gstpad.c: (gst_pad_init),
1310 (gst_pad_set_iterate_internal_links_function),
1311 (int_link_iter_data_free), (iterate_pad),
1312 (gst_pad_iterate_internal_links_default),
1313 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1315 Add threadsafe replacement functions for getting internal links of an
1316 element. Deprecate the old internal links functions.
1317 API:GstPad::gst_pad_set_iterate_internal_links_function()
1318 API:GstPad::GstPadIterIntLinkFunction
1319 API:GstPad::gst_pad_iterate_internal_links()
1320 API:GstPad::gst_pad_iterate_internal_links_default()
1322 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1323 (gst_proxy_pad_init):
1324 Implement threadsafe internal links.
1326 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1327 Unit test for internal links on tee. See #549504.
1329 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1331 * tests/check/Makefile.am:
1332 libs/transform1 test requires libs/test_transform.c
1334 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1336 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1337 Die evil deadlock, die !
1339 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1341 * gst/gstutils.c: (gst_element_get_compatible_pad):
1342 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1343 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1344 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1345 not steal the refcount of the given caps as stated.
1347 REVERT THIS COMMIT ONCE FIXED !
1348 REVERT THIS COMMIT ONCE FIXED !
1349 REVERT THIS COMMIT ONCE FIXED !
1350 REVERT THIS COMMIT ONCE FIXED !
1351 REVERT THIS COMMIT ONCE FIXED !
1352 REVERT THIS COMMIT ONCE FIXED !
1354 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1356 * gst/gstiterator.c:
1357 * gst/gstiterator.h:
1358 After 3 years it's about time to revise the documentation of the
1361 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1363 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1364 Make the internal links function less thread-unsafe and add some
1365 comments, dunno why.
1367 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1369 * gst/gst_private.h:
1370 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1371 build with --disable-gst-debug.
1373 2008-08-28 David Schleef <ds@schleef.org>
1375 * gst/gstpadtemplate.c: Revert last change, since it breaks
1376 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1377 but shouldn't be enabled until we've released fixed versions
1378 of -good and -ffmpeg.
1380 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1383 Put the gst_object_get_name() back in.
1385 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1387 * gst/gstpadtemplate.c:
1388 The old behaviour was that gst_pad_template_new() takes ownership of
1389 the caps. As we now call g_object_new() which calls g_object_set() and
1390 which copies the caps, we have to unref them to not leak them. Fixes
1391 make valgrid for me.
1393 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1396 Don't segfault on input like "tel:+1-123-555-1234".
1398 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1401 Due to popular request also include ObjectType in
1402 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1404 2008-08-26 David Schleef <ds@schleef.org>
1406 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1407 src_val must be positive, because that's not a requirement.
1408 This causes problems with converting negative granulepos
1410 * gst/gstquery.c: Same, gst_query_new_convert().
1412 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1414 * gst/gstclock.c: (gst_clock_add_observation):
1415 Add some more debugging to the clock slaving code.
1417 * win32/common/libgstbase.def:
1418 Add new basetransform method.
1420 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1422 * gst/gstbin.c: (gst_bin_element_set_state):
1423 Take the (recursive) state lock between getting the locked state of an
1424 element and changing the element state. This allows the application to
1425 lock an element's state and then change its state without races.
1427 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1429 * gst/gstbin.c: (gst_bin_element_set_state):
1430 When an element is in the locked state we still want to update the
1431 base_time of the element.
1433 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1435 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1436 Use the result from gst_pad_set_caps() instead of assuming the element
1437 always accepted the caps computed by the default negotiate function.
1439 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1441 * docs/libs/gstreamer-libs-sections.txt:
1442 * libs/gst/base/gstbasetransform.c:
1443 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1444 (gst_base_transform_chain), (gst_base_transform_suggest),
1445 (gst_base_transform_reconfigure):
1446 * libs/gst/base/gstbasetransform.h:
1447 Implement method for reconfiguring basetransform.
1448 API: GstBaseTransform::gst_base_transform_reconfigure()
1450 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1452 patch by: Murray Cumming <murrayc@murrayc.com>
1455 Mention that this is just like gst_buffer_merge() but with extra
1456 unreffing for C coders. Advise language bindings not to wrap it.
1459 Also fix file comment.
1461 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1463 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1465 * plugins/elements/gstfakesink.c:
1466 * plugins/elements/gstfakesrc.c:
1467 Call super::event() when not handling it. Fixes #544855.
1469 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1471 Patch by: Alessandro Decina <alessandro@nnva.org>
1472 * plugins/elements/gstfilesrc.c:
1473 Use 64 bit variants of stat functions on win32, to enable support
1474 of large files there.
1477 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1479 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1480 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1481 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1482 (gst_base_sink_get_position), (gst_base_sink_change_state):
1483 Improve position reporting in the flushing state.
1484 Also report the position when we are not yet prerolled but we
1485 have a newsegment event. Fixes #543444.
1486 Improve the pull-based negotiation code.
1488 * tests/check/elements/fakesink.c: (GST_START_TEST),
1490 Add testcase for position reporting while flushing in PAUSED and
1493 * tests/check/generic/sinks.c: (GST_START_TEST):
1494 Update unit-test, we can now query the position as soon as we receive a
1497 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1499 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1501 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1502 When the subclass event handler releases the PREROLL_LOCK, we could be
1503 in the flushing state and we have to ignore the event. Fixes #548394.
1505 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1507 * tools/gst-launch.1.in:
1508 Document GST_REGISTRY_UPDATE environment variable.
1510 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1512 * libs/gst/base/gstbasetransform.c:
1513 (gst_base_transform_prepare_output_buffer):
1514 If the element is configured in passthrough mode but the
1515 prepare_output_buffer gave us a new output buffer, discard that buffer
1516 and reuse the input buffer.
1518 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1520 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1522 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1523 (gst_tee_request_new_pad), (gst_tee_release_pad),
1524 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1525 * plugins/elements/gsttee.h:
1526 Protect pad_alloc with a new lock so that we can be sure that nothing is
1527 performing a pad_alloc when removing the pad. Fixes #547835.
1529 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1530 (buffer_alloc_harness_teardown), (app_thread_func),
1531 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1532 Added testcase for shutdown race.
1534 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1539 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1541 * libs/gst/base/gstbasetransform.c:
1542 (gst_base_transform_prepare_output_buffer),
1543 (gst_base_transform_buffer_alloc):
1544 Go over the buffer_alloc function again and make sure we always end up
1545 allocating a buffer.
1547 Avoid doing pad alloc when we have a pending suggestion because we
1548 cannot yet deal with changing caps in that case. Fixes #547728
1550 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1552 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1554 * docs/manual/advanced-clocks.xml:
1555 * docs/manual/clocks.png:
1556 * docs/manual/diagrams-clocks.svg:
1557 Add one more image showing different times together with a describing
1558 paragraph. Fixes #547729.
1560 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1562 * win32/common/libgstbase.def:
1565 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1567 * libs/gst/base/gstbasetransform.c:
1568 (gst_base_transform_transform_caps),
1569 (gst_base_transform_prepare_output_buffer),
1570 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1571 Don't overwrite the outsize when calculating the expected size of a new
1572 buffer because we still need it in case we cannot process the new
1574 When converting the size of the new buffer to an upstream size, actually
1575 use the expected size of the buffer, not some other random value.
1576 Use an atomic int to signal that a new upstream caps suggestion is
1578 When we can convert the current buffer to a new format, check if the
1579 buffer size is of the expected size and allocate a new buffer of the
1580 expected size when this is not the case. Fixes #546883.
1582 * tests/check/libs/transform1.c: (GST_START_TEST):
1583 remove ifdeffed code from the unit test.
1585 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1587 * pkgconfig/gstreamer-uninstalled.pc.in:
1588 * pkgconfig/gstreamer.pc.in:
1589 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1590 called gstcontroller-0.10.
1592 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1594 * gst/gstchildproxy.h:
1596 Remove double interface from doc-string.
1598 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1600 * libs/gst/base/gstbasesrc.c:
1601 * libs/gst/base/gstbasetransform.c:
1602 Fix headings in docs and gtk-doc warnings.
1604 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1606 * gst/gstregistrybinary.c:
1607 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1611 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1613 * libs/gst/base/gstbasetransform.c:
1614 (gst_base_transform_buffer_alloc):
1615 Fix a "may be used unitialized" warning.
1617 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1619 * docs/gst/gstreamer-sections.txt:
1621 Document preset-iface vmethods.
1623 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1625 * docs/manual/advanced-interfaces.xml:
1626 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1627 only used to discover devices.
1629 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1631 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1633 * gst/gst.c: (init_pre):
1634 Make sure gettext returns translations in UTF-8 encoding rather
1635 than in the current locale encoding (#546822).
1637 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1639 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1642 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1643 Improve unit test subset tests and add a testcase for the subset failure
1646 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1647 Improve subtraction unit test.
1649 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1651 * plugins/elements/gsttee.c:
1652 Unlock, instead of locking again.
1654 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1657 Clarify the docs a bit more.
1659 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1661 * tests/examples/metadata/read-metadata.c:
1662 Don't leak old taglist.
1664 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1666 Patch by: Olivier Crete <tester at tester dot ca>
1668 * gst/gststructure.c:
1669 (gst_structure_fixate_field_nearest_fraction):
1670 Avoid overflows in fixation code when dealing with MAXINT values, which
1671 v4l2src seems to do.
1674 * tests/check/gst/gststructure.c: (GST_START_TEST):
1675 Make a unit test to check the fix.
1677 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1679 * plugins/elements/gstcapsfilter.c: (copy_func),
1680 (gst_capsfilter_set_property):
1681 Use new caps suggestion feature of basetransform to request a caps
1682 negotiation upstream.
1684 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1686 * docs/libs/gstreamer-libs-sections.txt:
1688 API: GstBaseTransform::gst_base_transform_suggest()
1690 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1691 (gst_base_transform_init), (gst_base_transform_transform_caps),
1692 (gst_base_transform_transform_size),
1693 (gst_base_transform_configure_caps),
1694 (gst_base_transform_can_transform),
1695 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1696 (gst_base_transform_prepare_output_buffer),
1697 (gst_base_transform_buffer_alloc),
1698 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1699 (gst_base_transform_chain), (gst_base_transform_activate),
1700 (gst_base_transform_set_passthrough),
1701 (gst_base_transform_is_passthrough),
1702 (gst_base_transform_set_in_place),
1703 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1704 (gst_base_transform_set_qos_enabled),
1705 (gst_base_transform_is_qos_enabled),
1706 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1707 (gst_base_transform_reconfigure):
1708 * libs/gst/base/gstbasetransform.h:
1709 Rewrite of basetransform to perform negotiation outside of the
1710 buffer_alloc functions. Fixes #545853.
1712 * tests/check/libs/transform1.c: (GST_START_TEST),
1716 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1718 * tests/check/gst/gstpreset.c:
1719 Only run preset tests when $HOME is writable. Preliminary fix for
1722 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1724 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1725 (gst_bin_change_state_func), (bin_handle_async_done),
1726 (gst_bin_handle_message_func):
1727 Fix race for bins that simulate ASYNC state changes by inserting
1728 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1729 pending ASYNC messages even when the bin does not have ASYNC children.
1730 We note detect this behaviour because we will receive an ASYNC message
1731 that is originating from the bin itself.
1732 Fixes races with decodebin2 state changes.
1734 * tests/check/gst/gstbin.c: (GST_START_TEST):
1735 Add some more debug.
1737 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1739 * gst/gsttaglist.c: (_gst_tag_initialize):
1742 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1745 Argh. actually save the text before committing. Now adds
1746 gst_tag_merge_strings_with_comma() to gst_tag_register().
1748 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1752 Do as tim pointed out and actually register the new tag. Also improve
1753 te docs and use gst_tag_merge_strings_with_comma() method to allow
1754 retriving all keywords merged in one list.
1756 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1759 * docs/gst/gstreamer.types:
1760 Revert 'accidential' change of the configure option removal. We still
1761 need to generate the types file in configure --disable-load-save.
1763 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1765 * docs/gst/gstreamer-sections.txt:
1767 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1769 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1771 * gst/gstpadtemplate.c:
1772 (gst_pad_template_class_init), (gst_static_pad_template_get),
1773 (gst_pad_template_new), (gst_pad_template_pad_created),
1774 (gst_pad_template_set_property), (gst_pad_template_get_property):
1775 Add "name-template", "direction", "presence" and "caps" properties,
1776 so that gst_pad_template_new() is just a thin wrapper around
1777 g_object_new(), which is better for bindings. (Fixes: #539772)
1779 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1782 Be more liberal in what URIs we accept.
1783 Do not unescape bits of the URI for no apparent reason before passing to
1784 the element. Fixes #545352.
1786 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1788 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1791 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1793 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1796 * docs/gst/gstreamer-sections.txt:
1797 * docs/gst/gstreamer.types:
1798 * docs/gst/gstreamer.types.in:
1801 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1802 * gst/gstconfig.h.in:
1803 * gst/gstelement.c: (gst_element_get_index):
1804 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1805 (gst_registry_binary_load_feature),
1806 (gst_registry_binary_read_cache):
1807 * gst/gstregistryxml.c: (load_feature),
1808 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1809 * plugins/Makefile.am:
1811 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1812 (print_plugin_features), (print_element_features):
1813 * tools/gst-xmlinspect.c: (print_event_masks),
1814 (print_element_info):
1815 * win32/common/gstconfig.h:
1816 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1818 Disabling the indexers and URI handler code will only reduce the
1819 required amount of memory by a very small amount but on the other hand
1820 requires much more maintaince work. Apart from that many places of
1821 code are broken when disabling them.
1823 Disabling the enum types doesn't reduce the required amount of memory
1824 by more than a few bytes and makes it hard to fix bugs like #539772,
1825 i.e. use the enums as GObject properties.
1827 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1829 * docs/design/part-TODO.txt:
1830 Add some thoughts and problems with upstream renegotiation.
1832 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1834 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1835 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1836 Remove silly redundant debug.
1837 Add some more debug info.
1838 Clarify the docs regarding new caps received from pad_alloc.
1840 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1842 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1843 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1844 Make setting the caps more threadsafe.
1846 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1848 * docs/design/part-element-transform.txt:
1851 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1853 * plugins/elements/gstqueue.c: (gst_queue_init),
1854 (gst_queue_acceptcaps):
1855 Add and use a custom acceptcaps function instead of falling back to the
1856 potentially less optimized default implementation.
1858 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1860 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1861 Only sanity-check the buffer size if requested_caps == buffer_caps
1862 (ie. don't take pad caps into account, they're not relevant here)
1864 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1866 * plugins/elements/gsttee.c:
1867 * plugins/elements/gsttee.h:
1868 Reverting as not everything is clear yet. Needs some general design
1871 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1874 ChangeLog surgery for tee commit.
1876 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1878 * docs/gst/gstreamer-sections.txt:
1879 Cleanup section-file.
1881 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1883 * plugins/elements/gsttee.c:
1884 * plugins/elements/gsttee.h:
1885 Relay tag events in tee. Fixes parts of #474016.
1886 Downgrades 3 reoccurring debugs to log.
1888 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1891 * libs/gst/Makefile.am:
1892 Build the net library if we have winsock2.
1894 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1896 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1898 * docs/manual/advanced-threads.xml:
1899 * docs/manual/diagrams-pipelines.svg:
1900 * docs/manual/hello-world.png:
1901 * docs/manual/linked-elements.png:
1902 * docs/manual/mime-world.png:
1903 * docs/manual/queue.png:
1904 * docs/manual/thread-buffering.png:
1905 * docs/manual/thread-synchronizing.png:
1906 Replace one diagram with two separate ones and updates others.
1909 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1912 Fix link in documentation.
1914 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1917 Fix confusing documentation.
1919 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1921 * libs/gst/base/gstbasesrc.h:
1922 revert the changes to the header file for the ABI.
1924 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1926 * libs/gst/base/gstbasesrc.c:
1927 * libs/gst/base/gstbasesrc.h:
1928 Don't cache the seekable status.
1931 2008-07-24 Rene Stadler <mail@renestadler.de>
1933 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1934 code to close the pipeline graph. This prevents the program from
1935 printing internal data flow errors.
1937 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1939 * docs/manual/basics-bus.xml:
1940 Correct typo. Fixes bug #544320.
1942 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1945 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1946 Add check (taken from -base) for winsock, adds WIN32_LIBS
1948 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1950 Define GST_EXPORTS when building libgstreamer (only used on win32)
1951 * gst/gst_private.h:
1953 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1954 for symbols that we need to export in both these files.
1956 Include gst_private.h higher up to avoid some compile problems on win32.
1958 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1963 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1966 Previous commit was wrong NULL caps does not exist
1967 and indicate an error, so also add a FIXME to
1968 gst_caps_is_equal where NULL caps are accepted.
1970 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1973 Allow passing of NULL to gst_caps_union
1975 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1977 * gst/gstghostpad.c:
1978 Add in doc that gst_ghost_pad_set_target can accept
1979 NULL to clear target
1981 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1984 * gst/gstregistry.c:
1985 GstRegistryPool doesn't exist; don't refer to it in docs.
1986 Don't refer to functions that don't exist in docs, it's
1989 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1992 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1994 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1996 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1998 * docs/pwg/building-testapp.xml:
1999 Don't use an undeclared variable in the example program.
2002 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2004 * gst/gstdebugutils.c:
2005 Squeeze ghost-pad links and remove <> from classname labels to save
2006 more horizontal space.
2008 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2010 * gst/gstdebugutils.c:
2011 Give request and sometimes pads a different shpe style. Condense the
2012 graphs a little more.
2014 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2017 Don't require flex and bison if the parser is disabled.
2019 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2021 * libs/gst/controller/gstinterpolationcontrolsource.c:
2022 (_list_find_sorted_custom):
2023 Don't use declarations after statements.
2025 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2027 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2028 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2029 of the the child-added / -removed signals as GstChildProxy
2030 only supports GstObjects.
2032 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2034 * gst/gstdebugutils.c:
2037 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2039 Patch by: Alessandro Decina <alessandro at nnva dot org>
2042 Fix "ignored return value" compiler warning with newer glibc.
2044 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2046 * gst/gstchildproxy.c:
2047 Fix copy&paste error in gst_child_proxy_removed() documentation.
2049 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2051 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2052 Print error debug message if plugin description fields that should
2055 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2056 Don't crash if the string to serialise is NULL (it really should
2057 not be, but apparently this used to work with the xml registry ...).
2059 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2061 * tools/gst-plot-timeline.py:
2062 Fix parsing of log messages
2064 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2066 * win32/common/libgstbase.def::
2067 Sort alphabetically so make check-exports doesn't barf.
2069 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2072 Use gst_format_get_name() to improve debug output.
2075 Remove #ifdef'ed code. Add TODO comment.
2078 Add debug output to ease spotting format != segment.format assertions.
2080 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2082 * tests/check/libs/gdp.c: (gst_dp_suite):
2083 Also enable the GDP unit test again on PPC now that the bug
2086 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2088 * libs/gst/dataprotocol/dataprotocol.c:
2089 Don't write to the same region of memory as a uint64 and uint16
2090 as this breaks strict aliasing rules and apparantly breaks on PPC
2091 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2093 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2095 * libs/gst/controller/gstinterpolationcontrolsource.c:
2096 Optimize list handling. Use own find function. Exploit that fact that
2097 the list is sorted. Also pass back the node before, so that we can
2098 insert quickly. Have a fast path for append.
2100 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2102 * docs/design/draft-framestep.txt:
2103 * docs/design/part-negotiation.txt:
2106 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2109 Show configuration sumary after configure run. Based on patch by
2110 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2112 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2114 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2116 * docs/manual/advanced-autoplugging.xml:
2117 * docs/manual/advanced-threads.xml:
2118 * docs/manual/basics-bins.xml:
2119 * docs/manual/basics-elements.xml:
2120 * docs/manual/basics-helloworld.xml:
2121 * docs/manual/basics-pads.xml:
2122 Add scale factor for pdf output.
2124 * docs/manual/intro-basics.xml:
2125 Switched sections "pads" and "bins" and added a pipeline diagram.
2127 * docs/manual/intro-gstreamer.xml:
2128 Added more info on gstreamer.
2130 * docs/manual/intro-motivation.xml:
2131 Commented out the whole section "current problem", which sounds
2132 historical and somehow osolete; it could be turned in a positive
2133 way and reused to improve the design principles.
2135 * docs/manual/intro-preface.xml:
2136 - Update URLs to library.gnome.org.
2137 - Do not mention GTK+ in preliminary reading (irrelevant).
2138 - Mention Plugin Writer's Manual and further reading only in the
2140 - Added a list of most relevant GObject/glib topics.
2142 * docs/manual/Makefile.am:
2143 * docs/manual/bin-element-ghost.fig:
2144 * docs/manual/bin-element-ghost.png:
2145 * docs/manual/bin-element-noghost.fig:
2146 * docs/manual/bin-element-noghost.png:
2147 * docs/manual/bin-element.fig:
2148 * docs/manual/bin-element.png:
2149 * docs/manual/filter-element-multi.fig:
2150 * docs/manual/filter-element-multi.png:
2151 * docs/manual/filter-element.fig:
2152 * docs/manual/filter-element.png:
2153 * docs/manual/gstreamer-overview.png:
2154 * docs/manual/hello-world.fig:
2155 * docs/manual/hello-world.png:
2156 * docs/manual/linked-elements.fig:
2157 * docs/manual/linked-elements.png:
2158 * docs/manual/mime-world.fig:
2159 * docs/manual/mime-world.png:
2160 * docs/manual/queue.fig:
2161 * docs/manual/queue.png:
2162 * docs/manual/simple-player.png:
2163 * docs/manual/sink-element.fig:
2164 * docs/manual/sink-element.png:
2165 * docs/manual/src-element.fig:
2166 * docs/manual/src-element.png:
2167 * docs/manual/diagrams-general.svg:
2168 * docs/manual/diagrams-pipelines.svg:
2169 Removed .fig, added .png counterpart.
2173 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2175 * plugins/elements/gstmultiqueue.c:
2176 * plugins/elements/gstmultiqueue.h:
2177 revert extra-size-buffers stuff, caused some race conditions
2178 and extra-size-buffers is not used anymore. Docs needs some updates
2180 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2182 * win32/common/config.h:
2183 * win32/common/gstenumtypes.c:
2184 * win32/common/gstenumtypes.h:
2185 * win32/common/gstversion.h:
2188 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2190 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2191 (GST_DEBUG_BIN_TO_DOT_FILE):
2192 Add missing Since' markers to gtk-doc blurbs.
2194 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2196 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2197 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2198 (set_caps_1), (set_caps_ct1), (transform_ct1),
2199 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2200 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2201 (transform_size_ct2), (buffer_alloc_ct2):
2202 Add some more tests with switching caps in buffer_alloc.
2204 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2206 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2207 (gst_test_trans_class_init), (result_sink_chain),
2208 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2209 (gst_test_trans_push), (gst_test_trans_pop):
2210 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2211 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2212 (set_caps_1), (set_caps_ct1), (transform_ct1),
2213 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2214 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2215 (transform_size_ct2), (buffer_alloc_ct2),
2216 (gst_basetransform_suite):
2217 More tests, prepare for tests with switching caps in buffer_alloc.
2219 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2221 * plugins/elements/gstmultiqueue.c:
2222 * plugins/elements/gstmultiqueue.h:
2223 Fix dead-lock in underrun_cb
2225 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2227 * docs/design/part-states.txt:
2228 Fix device open/close docs.
2230 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2233 Mention bugnumber for last commit.
2235 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2237 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2239 * docs/manual/manual.xml:
2240 - Reorganised the previous "introduction" bundle into Foreword,
2241 Introduction, and About GStreamer. The two first are <preface>
2242 docbook elements. The later is the first part of the book.
2243 - added intro-gstreamer.xml (content partially from
2245 - moved appendix-win32.xml into appendix-integration.xml
2247 * docs/manual/intro-preface.xml: gstreamer section moved...
2248 * docs/manual/intro-gstreamer.xml: ...here. new file.
2250 * docs/manual/appendix-win32.xml: removed file. Content moved...
2251 * docs/manual/appendix-integration.xml: ...here.
2253 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2254 * docs/manual/appendix-checklist.xml: ...here.
2258 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2260 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2262 * docs/manual/basics-helloworld.xml:
2263 * docs/manual/hello-world.fig:
2264 - Explicitely include glib.h.
2265 - Do not use global variables.
2266 - Use g_printerr() instead of g_print().
2267 - Minor formating/renaming to increase readibility.
2268 - Renamed new_pad() to on_pad_added()
2269 - Improved explenatory comments.
2270 - renamed ogg parser to ogg demuxer
2271 - Use "autoaudiosink" instead of "alsasink".
2274 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2277 Remove cvs conflict marker.
2279 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2282 Document that for plgin-docs we extraxt he short-desc from the element
2285 * docs/design/part-states.txt:
2286 Tell that devices should be closed in PAUSED -> READY.
2288 * docs/manual/README:
2289 Document how tests in the manual are handled.
2294 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2296 * gst/gstbin.c: (bin_query_latency_fold):
2297 Only care about latency min and max when the sink is actually a live
2300 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2302 * docs/design/part-block.txt:
2305 * docs/design/part-element-transform.txt:
2306 Add notes about why transform needs to know input/output sizes.
2307 Add some issues that need to be solved.
2308 Add some more use cases.
2310 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2311 (gst_test_trans_class_init), (result_sink_chain),
2312 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2313 (gst_test_trans_push), (gst_test_trans_pop):
2314 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2315 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2316 (set_caps_1), (set_caps_ct1), (transform_ct1),
2317 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2318 (gst_basetransform_suite):
2319 Add suport for different pad templates and buffer-alloc.
2320 Add more checks for caps and buffer-alloc.
2321 Add checks for proxy buffer alloc.
2322 Add unit test for copy transform.
2324 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2326 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2328 * docs/manual/appendix-integration.xml:
2329 * docs/manual/appendix-licensing.xml:
2330 * docs/manual/basics-elements.xml:
2331 * docs/manual/basics-helloworld.xml:
2332 * docs/manual/basics-pads.xml:
2333 * docs/manual/highlevel-components.xml:
2334 * docs/manual/highlevel-xml.xml:
2335 * docs/manual/intro-basics.xml:
2336 * docs/manual/intro-preface.xml:
2337 Typo and formatting fixes (#538594).
2339 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2341 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2342 Fix some memory leaks and uses of object instances that we don't
2345 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2347 * plugins/elements/gstmultiqueue.c:
2348 Add functionality to extra-size-buffers property.
2350 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2352 * plugins/elements/gstmultiqueue.c:
2353 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2354 activate the pads if they are added in STATE_NULL.
2356 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2358 * docs/libs/gstreamer-libs-sections.txt:
2360 * libs/gst/check/gstcheck.c:
2361 * libs/gst/check/gstcheck.h:
2362 API: gst_check_teardown_pad_by_name
2364 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2366 * libs/gst/check/gstcheck.c:
2367 * libs/gst/check/gstcheck.h:
2368 Also setup request pads and allow setup pads by name (#537812)
2369 API: gst_check_setup_src_pad_by_name
2370 API: gst_check_setup_sink_pad_by_name
2372 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2374 * tests/check/gst/gstbuffer.c:
2375 * tests/check/pipelines/parse-launch.c:
2376 Use HAVE_VALGRIND_H some more.
2378 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2380 * scripts/cvs-update.sh:
2381 Pass arguments to make.
2382 Run autoregen.sh if Makefile is not there.
2384 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2388 Don't assume that <valgrind/valgrind.h> exists just because
2389 the binary is there.
2391 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2393 * tests/check/Makefile.am:
2394 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2395 (gst_test_trans_class_init), (gst_test_trans_init),
2396 (gst_test_trans_set_data), (result_sink_chain),
2397 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2398 (gst_test_trans_pop):
2399 * tests/check/libs/transform1.c: (GST_START_TEST),
2400 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2401 Add some test basetransform element and the beginnings of various
2404 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2406 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2407 Increase code readability.
2408 Don't try to compare buffer offsets when ther are invalid.
2410 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2412 * docs/design/Makefile.am:
2413 Dist some more design docs.
2415 * docs/random/moving-plugins:
2416 Small addition: good plugins mustn't have functional code
2417 within assertion macros.
2419 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2421 * docs/design/draft-framestep.txt:
2422 Some ideas about a framestep API
2424 * docs/design/part-element-transform.txt:
2425 Start design and use cases for basetransform in order to get it
2428 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2431 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2432 be in UTF-8 encoding.
2434 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2437 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2439 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2441 * plugins/elements/gstcapsfilter.c:
2442 * plugins/elements/gstfakesink.c:
2443 * plugins/elements/gstfakesrc.c:
2444 * plugins/elements/gstfdsink.c:
2445 * plugins/elements/gstfdsrc.c:
2446 * plugins/elements/gstfilesink.c:
2447 * plugins/elements/gstfilesrc.c:
2448 * plugins/elements/gstidentity.c:
2449 * plugins/elements/gstmultiqueue.c:
2450 * plugins/elements/gstqueue.c:
2451 * plugins/elements/gsttee.c:
2452 * plugins/elements/gsttypefindelement.c:
2453 Remove short_description. Add basic docs for gsttypefindelement.
2454 Simplify markup for fakesrc/fdsrc.
2456 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2458 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2461 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2463 Patch by: Joel Larsson <tilljoel at gmail dot com>
2465 * docs/plugins/gstreamer-plugins.args:
2466 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2467 (gst_fd_src_init), (gst_fd_src_update_fd),
2468 (gst_fd_src_set_property), (gst_fd_src_get_property),
2469 (gst_fd_src_create):
2470 * plugins/elements/gstfdsrc.h:
2471 Add timeout property like udpsrc. Fixes #538628.
2472 Add some more docs and example pipelines.
2474 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2476 * docs/libs/gstreamer-libs-sections.txt:
2477 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2478 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2479 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2480 (gst_base_sink_do_sync):
2481 * libs/gst/base/gstbasesink.h:
2482 * win32/common/libgstbase.def:
2483 Add method to allow sinks to specify additional delay between the sync
2484 times and the actual rendering of the data.
2485 API: gst_base_sink_set_render_delay()
2486 API: gst_base_sink_get_render_delay()
2488 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2491 Bump version number back to dev -> 0.10.20.1
2493 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2495 * docs/gst/gstreamer-sections.txt:
2496 * gst/gsttaglist.c: (_gst_tag_initialize):
2498 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2501 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2503 * libs/gst/controller/gstcontroller.c:
2504 Revert one change, that make ret value possible uninitialized.
2506 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2508 * libs/gst/controller/gstcontroller.c:
2509 Use freeze/thaw notify to sync notify emission a bit (its also more
2510 efficient). Move debug output to LOG (is called a lot in a loop).
2511 Always unset g_values if the have been initialized.
2513 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2515 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2516 (gst_base_sink_wait_eos), (gst_base_sink_event):
2517 If we have not seen a buffer before EOS, use the segment values to
2518 report the current position instead of invalid positions.
2520 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2522 * docs/plugins/tmpl/.cvsignore:
2523 * tests/check/gst/.cvsignore:
2526 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2528 * libs/gst/controller/gstinterpolation.c:
2529 * libs/gst/controller/gstinterpolationcontrolsource.c:
2530 * tests/check/libs/controller.c:
2531 Rewrite handling of default values. Fix overflow with unsigned types
2532 in linear interpolation. Remove now obsolete _first_value() function.
2533 Add more tests. Fixes #538201.
2535 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2537 * libs/gst/base/gstbasetransform.c:
2538 (gst_base_transform_class_init), (gst_base_transform_init),
2539 (gst_base_transform_transform_caps),
2540 (gst_base_transform_prepare_output_buffer):
2542 When a buffer is writable, its metadata is also writable so we don't
2543 need to subbuffer (which then makes the buffer not-writable anymore).
2545 === release 0.10.20 ===
2547 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2550 releasing 0.10.20, "You Crazy Diamond"
2552 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2555 0.10.19.3 pre-release
2557 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2561 Rename DATADIR to GST_DATADIR to avoid build problems
2562 on win32. Patch By: David Schleef <ds@schleef.org>
2565 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2568 Explicitely link with -ldl if dladdr() is found there. Before it was
2569 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2570 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2572 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2574 * gst/gsterror.c: (_gst_stream_errors_init):
2575 Fix typo (spotted by Fabricio Godoy, #536723).
2577 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2580 0.10.19.2 pre-release
2582 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2584 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2585 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2587 Make sure we don't generate invalid QoS messages.
2589 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2591 * gst/gstevent.c: (gst_event_new_qos):
2592 Add some assert and docs for invalid input to the qos function.
2594 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2596 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2597 (gst_base_sink_get_position):
2598 The reported position must always be smaller than the last seen
2599 timestamps (or timestamp + duration for reverse).
2601 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2603 Patch by: Rob Bradford <rob at robster dot org dot uk>
2605 * gst/gstregistry.c: (gst_registry_scan_path_level):
2606 Don't recurse into .debug directories as some distros install
2607 the debugging symbols next to the plugins in .debug directories
2608 and dlopen() crashes on them sometimes. Fixes bug #508070.
2610 Add FIXME for 0.11 to not recurse into directories at all because
2611 it's very inconsistent to the behaviour of other PATH environment
2614 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2616 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2617 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2618 Fix position query range checks in reverse playback.
2620 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2624 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2625 clear of the reference to the resulting pad must be released later
2626 or not, resulting in possible leaks. Fixes bug #533865.
2628 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2630 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2632 * gst/gstelementfactory.c:
2633 Small doc fix. Fixes #535285.
2635 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2637 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2639 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2640 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2641 (gst_base_src_loop), (gst_base_src_set_flushing),
2642 (gst_base_src_change_state):
2643 Make sending an EOS event to the basesrc non-blocking even if the
2644 implementation does blocking waits in the create function. This is done
2645 by unlocking the create function when EOS is sent.
2648 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2650 * tools/gst-inspect.c: (print_element_properties_info):
2651 If possible print the element type of GValueArray properties.
2653 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2655 * gst/gstiterator.c:
2656 Remove an unused field from the private GstListIterator struct.
2658 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2660 * libs/gst/controller/gstcontroller.c:
2661 Add parameter guards.
2663 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2665 * tests/check/gst/gstpipeline.c:
2666 Revert test change and add comment why it should not work.
2668 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2670 * tests/check/gst/gstpipeline.c:
2671 Extending the test a little to verify that we also get the NULL state-
2674 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2676 * gst/gstpreset.c: (gst_preset_default_get_meta),
2677 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2678 (gst_preset_load_preset), (gst_preset_save_preset),
2679 (gst_preset_rename_preset), (gst_preset_delete_preset),
2680 (gst_preset_set_meta):
2681 Add Since: markers to docs blurbs.
2683 * win32/common/libgstreamer.def:
2684 Add recently-added API.
2686 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2688 Patch by: Stefan Kost <ensonic@users.sf.net>
2691 Add DATADIR for storing presets.
2693 * docs/gst/gstreamer-docs.sgml:
2694 * docs/gst/gstreamer-sections.txt:
2695 * docs/gst/gstreamer.types.in:
2696 Add GstPreset to docs.
2700 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2701 (preset_open_and_parse_header), (preset_parse_version),
2702 (preset_merge), (preset_get_keyfile),
2703 (gst_preset_default_get_preset_names),
2704 (gst_preset_default_get_property_names),
2705 (gst_preset_default_load_preset),
2706 (gst_preset_default_save_presets_file),
2707 (gst_preset_default_save_preset),
2708 (gst_preset_default_rename_preset),
2709 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2710 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2711 (gst_preset_default_reset), (gst_preset_get_preset_names),
2712 (gst_preset_get_property_names), (gst_preset_load_preset),
2713 (gst_preset_save_preset), (gst_preset_rename_preset),
2714 (gst_preset_delete_preset), (gst_preset_set_meta),
2715 (gst_preset_get_meta), (gst_preset_class_init),
2716 (gst_preset_base_init), (gst_preset_get_type):
2718 Add GstPreset to core. Fixes #396779
2720 * tests/check/Makefile.am:
2721 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2722 (gst_preset_test_set_property), (gst_preset_test_class_init),
2723 (gst_preset_test_base_init), (gst_preset_test_get_type),
2724 (gst_preset_test_plugin_init), (GST_START_TEST),
2725 (remove_preset_file), (test_setup), (test_teardown),
2727 Add GstPreset unit tests.
2729 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2731 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2732 The default event function on a sinkpad should return TRUE when
2733 there are no internal links but should collect the return values from
2734 the internal links otherwise.
2736 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2738 * plugins/elements/gsttypefindelement.c:
2739 (gst_type_find_element_src_event),
2740 (gst_type_find_element_handle_event):
2741 Use faster and safer _pad_push_event().
2743 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2745 * docs/gst/gstreamer-sections.txt:
2746 * gst/gstutils.c: (element_find_unlinked_pad),
2747 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2749 API: add gst_bin_find_unlinked_pad()
2750 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2752 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2758 Fixed a bunch of typos.
2760 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2763 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2764 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2765 (gst_parse_bin_from_description_full):
2767 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2769 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2771 * docs/pwg/advanced-tagging.xml:
2772 Small docs update, can't be bothered to rewrite the nonsensical
2775 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2778 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2780 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2782 * gst/parse/grammar.y:
2783 Remove unneeded casts.
2785 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2787 * gst/parse/grammar.y:
2788 * tests/check/pipelines/parse-launch.c:
2789 Get all missing elements from a parse launch string if possible
2790 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2792 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2794 * tests/check/Makefile.am:
2795 * tests/check/pipelines/parse-launch.c:
2796 Add some unit tests for the new gst_parse_launch*_full() API.
2797 (Exposes a previously-existing memory leak in the error code
2798 path, so adding to VALGRIND_TO_FIX for now).
2800 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2802 * docs/gst/gstreamer-sections.txt:
2803 * gst/gst.c: (init_post):
2804 * gst/gst_private.h: (_GstParseContext):
2805 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2806 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2807 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2808 (gst_parse_launch_full):
2809 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2810 (GstParseFlags), (GstParseContext):
2811 * gst/gstutils.c: (gst_parse_bin_from_description),
2812 (gst_parse_bin_from_description_full):
2814 * gst/parse/grammar.y:
2815 * gst/parse/types.h:
2816 * win32/common/libgstreamer.def:
2817 Add new gst_parse_*_full API (#528178):
2818 API: gst_parse_launch_full()
2819 API: gst_parse_launchv_full()
2820 API: gst_parse_bin_from_description_full()
2821 API: gst_parse_context_new()
2822 API: gst_parse_context_free()
2823 API: gst_parse_context_get_missing_elements()
2825 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2827 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2829 * docs/faq/gst-uninstalled:
2830 Also support ffmpeg in gst-uninstalled.
2832 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2835 After discussion on IRC use the binary registry as default
2836 but allow to disable it with --disable-binary-registry.
2838 * win32/common/libgstreamer.def:
2839 Add the two new symbols for the binary registry.
2841 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2843 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2844 * gst/gstutils.c: (gst_parse_bin_from_description):
2845 * gst/parse/grammar.y: (graph):
2846 More guards against bad input; typo fix; some minor clean-ups.
2848 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2850 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2852 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2853 If nothing else can be used, use the last buffer's start time as
2854 the segment's last stop. Fixes bug #534258.
2856 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2858 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2859 Move size sanity check to the right place: downstream may return
2860 a buffer with a smaller size if the buffer caps are different than
2861 the requested ones, as may happen when doing reverse negotiation.
2863 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2865 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2866 (gst_file_sink_render):
2867 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2868 (gst_file_src_start):
2869 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2872 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2874 * gst/gstpad.c: (gst_pad_load_and_link):
2875 * gst/gstutils.c: (gst_element_link_pads),
2876 (gst_element_unlink_pads):
2877 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2878 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2879 (gst_check_teardown_sink_pad),
2880 (gst_check_element_push_buffer_list):
2881 * tests/check/elements/fakesink.c: (GST_START_TEST):
2882 * tests/check/elements/filesink.c:
2883 * tests/check/elements/filesrc.c: (GST_START_TEST):
2884 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2885 (mq_sinkpad_to_srcpad):
2886 * tests/check/elements/tee.c: (GST_START_TEST):
2887 * tests/check/generic/sinks.c: (GST_START_TEST):
2888 * tests/check/gst/gstbin.c: (GST_START_TEST):
2889 * tests/check/gst/gstevent.c: (GST_START_TEST):
2890 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2891 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2892 * tests/check/gst/gstquery.c: (GST_START_TEST):
2893 * tests/check/gst/gstutils.c: (GST_START_TEST):
2894 * tests/check/libs/basesrc.c: (GST_START_TEST):
2895 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2896 (gst_parse_test_element_change_state):
2897 Don't use gst_element_get_pad().
2899 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2902 Fix installing plugin documentation when gtk-doc is disabled.
2904 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2906 * docs/manual/advanced-autoplugging.xml:
2907 * docs/manual/basics-helloworld.xml:
2908 * docs/manual/basics-pads.xml:
2909 * docs/manual/highlevel-components.xml:
2910 Avoid using a bad function in the example code.
2912 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2914 * gst/gstclock.c: (gst_clock_set_calibration):
2915 Fix debug of the new clock rate.
2917 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2919 * win32/common/libgstbase.def:
2920 Add gst_base_sink_wait_clock() to the exported symbols.
2922 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2924 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2926 * libs/gst/base/gstbasetransform.c:
2927 (gst_base_transform_sink_event):
2928 Unref events that the GstBaseTransform::event vfunc didn't want to
2929 have forwarded by the base class. Closes a leak in identity.
2932 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2934 * docs/libs/gstreamer-libs-sections.txt:
2935 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2936 * libs/gst/base/gstbasesink.h:
2937 Expose a method that was previously used internally to synchronize
2938 against the clock because it can be useful for subclasses too.
2939 API: GstBaseSink::gst_base_sink_wait_clock()
2941 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2943 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2944 Add sanity check to make sure we don't get smaller buffers
2945 than requested (and fallback to normal buffer alloc if we do).
2947 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2949 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2950 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2951 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2952 Refactor adjusting the running_time with latency and offset into a
2954 When doing clipping, we still want to use the subclass get_times method,
2955 just in case the DURATION or TIMESTAMP are not set.
2957 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2959 * docs/gst/gstreamer-sections.txt:
2960 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2961 * gst/gsttypefind.h:
2962 * win32/common/libgstreamer.def:
2963 API: add gst_type_find_suggest_simple(), #533740.
2965 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2967 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2968 Use right error code when typefinding fails, so we can use
2969 the default (translated) error messages.
2971 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2973 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2974 (gst_base_src_start):
2975 When the subclass did not set caps on outgoing buffers, configure the
2976 caps we negotiated on the source pad.
2977 When the typefind helper does not find caps, error out properly instead
2978 of doing things with NULL caps.
2980 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2982 * gst/gsttypefind.h:
2983 Tabs to spaces, oh yes!
2985 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2987 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2988 Add David's and Benjamin's tests for array intersection to the
2989 unit test suite (#147931).
2991 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2994 Document that gst_event_new_tag() and gst_event_new_navigation()
2995 take ownership of the taglist/structure passed to them. (#533635).
2997 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3000 Don't descend into the plugins dir if plugin docs building
3004 Add a note about the new type:GTypeName syntax for the plugin
3005 documentation .types file.
3007 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3009 * gst/gstmessage.c: (gst_message_new_error),
3010 (gst_message_new_warning), (gst_message_new_info):
3012 Mark the debug string parameters as const. Fixes bug #533490.
3014 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3016 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3017 Sort buffer cache list by end offsets. This makes sure that we don't
3018 stop to search for a cached buffer that contains the requested data
3020 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3021 more efficient. Fixes bug #459862.
3023 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3026 Explain why we copy the list.
3028 * gst/gstpipeline.c:
3032 Add one debug-log statement to help tracing probelms with linking pads.
3034 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3036 * tests/check/gst/gstinfo.c:
3037 Add a test for removing the default log handler. Seems to fail under
3040 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3042 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3043 Release pad lock before calling out to avoid a possible deadlock.
3045 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3047 * gst/parse/grammar.y:
3048 Remove unneeded value unset.
3050 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3051 Add unit test for de/serialization of caps.
3053 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3055 * plugins/elements/gstfakesink.c:
3056 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3057 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3058 (gst_fake_src_class_init):
3059 Use custom marshalers that take GstMiniObject as first parameter.
3060 Using OBJECT as parameter while a GstMiniObject is given will lead
3061 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3063 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3065 * plugins/elements/gsttypefindelement.c:
3066 (gst_type_find_element_handle_event),
3067 (gst_type_find_element_send_cached_events),
3068 (gst_type_find_element_change_state):
3069 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3072 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3074 * plugins/elements/gsttypefindelement.c:
3075 (gst_type_find_handle_src_query), (stop_typefinding),
3076 (gst_type_find_element_handle_event),
3077 (gst_type_find_element_send_cached_events),
3078 (gst_type_find_element_change_state):
3079 Forward FLUSH_START events immediately and clean up instead of
3082 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3084 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3086 * libs/gst/base/gstbasetransform.c:
3087 (gst_base_transform_buffer_alloc):
3088 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3089 fall back to default negotiation in the chain function if the caps
3090 are different from what was requested. Fixes bug #526768.
3092 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3095 * tests/check/gst/gstsegment.c:
3096 No, let's not use g_slice_{dup|copy} here, since they only exist
3097 since GLib 2.14 and we still depend only on >= 2.12. Also add
3098 unit test for gst_segment_copy().
3100 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3102 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3103 Try to fix 'dereferencing type-punned pointer will break strict
3104 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3105 changed the default GType typedef from gulong to gsize at some point,
3106 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3107 g_once_* functions all take a gsize * though, so work around the type
3108 mismatch for C++ by doing everything in gsize and casting to GType
3111 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3113 * plugins/elements/gstmultiqueue.c:
3114 Add documentation for the signals to push our core plugin docs
3115 coverage back up to 100%.
3117 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3119 * gst/gstinfo.h (GST_FUNCTION):
3120 Reverted GST_FUNCTION to the old version as we don't want the
3121 full signature in C++ code. Also added support for MSVC.
3123 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3126 Intern the type name string, similar to what G_DEFINE_TYPE does.
3128 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3131 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3133 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3135 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3137 * libs/gst/base/gstbasetransform.c:
3138 (gst_base_transform_buffer_alloc):
3139 Don't passthrough buffer allocation too easily if the caps change.
3140 This breaks when working in passthrough mode and upstream changes
3141 it's caps. Fixes bug #526768.
3143 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3145 * gst/gstinfo.c (gst_debug_log_valist):
3146 Improved the __FILE__ part of debug output for MSVC.
3148 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3150 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3151 Declaration after statement fix for compilers like MSVC.
3153 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3155 * win32/common/config.h.in:
3156 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3157 use the real thing than having "???" unconditionally.
3159 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3161 * gst/gstinfo.h (GST_FUNCTION):
3162 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3164 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3166 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3169 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3170 (gst_base_sink_set_flushing):
3171 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3174 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3176 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3177 (gst_fake_src_init), (gst_fake_src_set_property),
3178 (gst_fake_src_get_property), (gst_fake_src_start):
3179 * plugins/elements/gstfakesrc.h:
3180 Added format property to control the format of the newsegment events.
3181 API: GstFakeSrc:format
3183 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3185 * win32/common/libgstreamer.def:
3186 Add gst_pad_has_name() to the exported symbols.
3188 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3190 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3191 * libs/gst/base/gstbasetransform.c:
3192 (gst_base_transform_prepare_output_buffer):
3193 Don't allow negative sizes when allocating new buffers.
3196 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3198 Patch by: Sjoerd Simons <sjoerd at luon net>
3200 * gst/gstbus.c: (gst_bus_source_dispatch):
3201 Don't print a warning if the queue is empty when we try to pop
3202 here. That could happen if another thread or callback set the
3203 bus to flushing between the source's check/prepare and the
3204 dispatch being called (#531538).
3206 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3208 * plugins/elements/gstmultiqueue.c:
3211 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3213 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3214 Add unit test for deserializing uint64s and check some really large
3215 numbers in the int64 test.
3217 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3219 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3220 (print_interfaces), (print_element_properties_info),
3221 (print_signal_info):
3222 Use "%s" as format string instead of printing strings directly.
3224 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3226 * gst/gstclock.c: (gst_clock_set_calibration):
3227 Make some checks actually useful.
3229 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3230 Remove some unused code. Unsigned integers tend to be >= 0.
3232 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3234 * gst/gstminiobject.c: (gst_value_get_mini_object):
3235 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3236 function was not in the unscheduled 0.10.19 release.
3238 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3240 * gst/gstregistry.c: (gst_registry_scan_path_level):
3241 Only print one log message per non-plugin file.
3243 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3245 * gst/gstinfo.c: (gst_debug_log_default):
3246 Fix alignment of debug log columns on 64-bit.
3248 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3250 * docs/libs/Makefile.am:
3251 * docs/libs/gstreamer-libs-sections.txt:
3252 Ignore private controller headers for docs.
3254 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3256 * libs/gst/controller/gstcontrollerprivate.h:
3257 * libs/gst/controller/gsthelper.c:
3258 * libs/gst/controller/gstinterpolation.c:
3259 * libs/gst/controller/gstinterpolationcontrolsource.c:
3260 (gst_interpolation_control_source_set_interpolation_mode):
3261 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3262 * libs/gst/controller/lib.c:
3263 Move some private declarations into private headers.
3265 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3267 * gst/gstdebugutils.c: (debug_dump_element_pad):
3268 Remove some code that is unused after Stefan's refactoring and uses
3269 uninitialized variables now, resulting in a compiler warning.
3271 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3273 * gst/gstregistry.c: (gst_registry_scan_path_level):
3274 Run g_str_has_suffix() only on the file name, not the
3277 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3279 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3280 Since we're not called only from the chain function any longer,
3281 we can't assume that there's always data in the queue, so move
3282 the is_full check to the beginning of the loop (otherwise we'd
3283 hit the assert when changing the limit properties while the
3284 queue is empty or not running yet).
3285 Also, only set a discont if items were actually removed from
3288 * tests/check/elements/queue.c: (test_leaky_downstream):
3289 Test case for the above.
3291 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3293 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3295 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3296 (gst_queue_chain), (queue_capacity_change),
3297 (gst_queue_set_property):
3298 When changing thr max capacity of a leaky queue, immediatly drop buffers
3299 instead of waiting for a push on the sinkpad. Fixes #530637.
3301 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3303 * gst/gstdebugutils.c:
3304 Refactor code and fix handling of ghostpads and their proxypads.
3306 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3308 * docs/gst/gstreamer-sections.txt:
3309 * gst/gstevent.c: (gst_event_has_name):
3311 * tests/check/gst/gstevent.c: (GST_START_TEST):
3312 Add method to conveniently check the name of a custom event with
3313 gst_event_has_name().
3314 Reformat the event docs so that related methods are put together instead
3315 of the default alphabetical sort.
3316 Update unit test with new method.
3317 API: GstEvent::gst_event_has_name()
3319 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3321 * libs/gst/check/Makefile.am:
3322 Don't add an explicit link to libgstreamer-0.10.la; it's already
3323 included in GST_OBJ_LIBS.
3325 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3328 Register GstClock type from a type-safe context. Fixes bug #530317.
3330 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3332 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3334 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3336 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3338 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3340 Use the GLib stuff to create a private structure.
3341 Add some locking around some dispose methods to make them a little
3342 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3344 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3346 * libs/gst/base/gstbasesink.h:
3347 * libs/gst/base/gstbasesrc.h:
3348 * libs/gst/base/gstbasetransform.h:
3349 * libs/gst/base/gstcollectpads.h:
3350 Fix doc typos and unify caps a bit.
3352 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3354 * tools/gst-launch.1.in:
3355 Forgot to also add the envvar docs here.
3357 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3359 * gst/gst.c: (init_post), (gst_deinit):
3360 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3361 (test_concurrent_create), (gst_pipeline_suite):
3362 Ref some more classes in gst_init() to work around thread-safety
3363 issues in pre-2.16 GLibs, and add basic unit test.
3365 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3367 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3368 (gst_base_sink_send_event):
3369 Rearrange the latency query code. We always want to do the upstream
3370 query, even if we are not live so that the upstream elements can get the
3371 latency results too. If we fail doing the query and we are live, we
3372 return TRUE afterwards.
3374 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3376 patch by: Jason Zhao <e3423c@motorola.com>
3378 * docs/gst/running.xml:
3380 Enable/disable scan_and_update_registry() based on commandline switch
3381 or environment variable. Fixes #520468.
3384 Fix typo in my previous commit.
3386 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3388 * gst/gstregistrybinary.c:
3389 Add a warning if we hit unhandled factories when saving.
3390 More debug logging detail, but move to LOG category.
3392 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3394 * gst/gstregistry.c:
3395 Tell the *truth* when improving the documentation.
3397 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3399 * gst/gstelementfactory.c: (gst_element_factory_make):
3400 Unref the factory after it was used the last time, not before.
3402 * gst/gstindexfactory.c: (gst_index_factory_make):
3403 Improve debugging a bit and don't leak a ref to the index factory with
3406 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3408 * gst/gstregistry.c:
3409 Improve the documentation.
3411 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3414 The glib macro seems to be borked. Use g_slice_copy directly and cast
3415 in the hope that this fixes the warning on 64bit.
3417 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3420 Document the new function. Use g_slice_dup() (no need for
3421 gst_segment_init()).
3423 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3425 * docs/gst/gstreamer-sections.txt:
3426 Move GParamSepc macros to standart section.
3429 Dn't document _get_type - its in private section in docs anyway and
3430 this doc-blob was incomplete.
3433 Fix wrong symbol names in docs.
3436 Add once doc sentence.
3438 * tests/check/gst/.cvsignore:
3441 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3443 * docs/gst/Makefile.am:
3444 And remove those libs here.
3446 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3448 * docs/libs/Makefile.am:
3449 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3451 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3453 Patch by: Olivier Crete <tester at tester dot ca>
3455 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3456 Add the min-threshold to the min latency if possible. Fixes #529148.
3458 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3460 * docs/gst/gstreamer.types.in:
3461 Stupid editor, I removed that line as it should go in yet.
3463 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3465 * docs/gst/gstreamer.types.in:
3466 * docs/libs/gstreamer-libs.types:
3467 Remove library types fro core docs and have them in libs docs.
3468 Reformat and cleanup. Add comment for miniobject types.
3470 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3472 * gst/gsturi.c: (gst_uri_get_protocol):
3473 Fix leak: g_strdown operates on the string in place, while
3474 g_ascii_strdown() returns a newly-allocated string.
3476 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3478 * tools/gst-inspect.c: (print_uri_handler_info),
3479 (print_element_info):
3480 Print the URI protocols and the URI type supported by the element.
3482 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3484 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3485 Use g_value_take_string() instead of the deprecated
3486 g_value_set_string_take_ownership().
3488 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3490 * gst/gstregistrybinary.c: (_gst_crc32):
3491 Return the old CRC instead of 0 if we give a NULL buffer
3492 or a buffer with a length of 0.
3494 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3496 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3497 (gst_uri_get_protocol), (gst_uri_has_protocol),
3498 (gst_uri_construct), (gst_uri_handler_set_uri):
3499 A valid URI scheme can also include '+', '-' and '.' additional
3500 to alphanumeric characters as per RFC 3986 Section 3.1.
3502 Handle URI schemes case insensitive in all places and convert
3503 to lower-case when constructing an URI or setting an URI with
3504 the GstURIHandler interface. Fixes bug #528868.
3505 All elements can still assume (as before) that they will
3506 get passed URIs with a lower-case URI scheme by the GstURIHandler
3509 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3511 * gst/gstcaps.c: (gst_static_caps_get):
3512 * gst/gstclock.c: (gst_clock_entry_new):
3513 Don't use g_atomic_set_int where it's not needed.
3515 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3517 * gst/gstvalue.c: (gst_value_deserialize_caps):
3518 * gst/parse/grammar.y:
3521 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3523 * gst/gstutils.c: (gst_atomic_int_set):
3524 Use g_atomic_int_set() here too instead of assignment +
3527 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3531 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3532 now that we depend on new enough GLib.
3534 * gst/gstcaps.c: (gst_static_caps_get):
3535 * gst/gstclock.c: (gst_clock_entry_new):
3536 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3537 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3538 (gst_debug_category_set_threshold):
3539 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3540 (gst_base_sink_set_qos_enabled):
3541 * libs/gst/net/gstnettimeprovider.c:
3542 (gst_net_time_provider_set_property):
3543 Use g_atomic_int_set() instead of gst_atomic_int_set().
3545 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3548 Also use G_GINT64_CONSTANT for the queries.
3550 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3553 Use G_GINT64_CONSTANT in varargs function.
3555 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3557 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3558 Initialize the registry magic with zeroes.
3560 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3562 * gst/gstregistrybinary.c: (_gst_crc32),
3563 (gst_registry_binary_write),
3564 (gst_registry_binary_initialize_magic),
3565 (gst_registry_binary_write_cache),
3566 (gst_registry_binary_check_magic),
3567 (gst_registry_binary_read_cache):
3568 * gst/gstregistrybinary.h:
3569 Add crc32 checksum to the binary registry file and check this before
3570 accepting a registry file.
3572 Also free the data list when writing to the registry file fails.
3574 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3576 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3577 (gst_registry_binary_load_feature),
3578 (gst_registry_binary_load_plugin):
3579 If an element supports the Uri interface, returns a valid pointer
3580 to the supported URI protocols but this pointer contains nothing
3581 don't try to save that as it will corrupt the registry.
3583 Don't unref the plugin if we added it to the registry already but
3584 fail to load a feature as gst_registry_add_plugin() takes ownership
3587 Improve debugging a bit.
3589 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3592 Clarify some tag item docs after discussion on irc.
3594 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3596 * docs/gst/gstreamer-docs.sgml:
3597 Remove commented out plugins (they have their own docs). Update
3600 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3602 * docs/gst/gstreamer-docs.sgml:
3603 * docs/gst/gstreamer-sections.txt:
3604 * gst/gstparamspecs.c:
3605 * gst/gstparamspecs.h:
3606 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3607 docs to own section.
3610 This now only documents GValue.
3612 * docs/libs/gstreamer-libs-sections.txt:
3613 * libs/gst/controller/gstcontroller.h:
3614 Remove GST_PARAM_CONTROLLABLE.
3616 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3619 Correct file path. Tell about how to use -overrides.txt.
3620 * docs/design/draft-tagreading.txt:
3621 Small design update.
3623 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3625 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3626 (gst_registry_binary_load_plugin):
3627 Fix a typo in a debug message and revert change from yesterday as
3628 gst_registry_add_plugin() will only fail if something is really wrong
3629 already and we can't survive it anyway.
3631 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3633 * gst/gst.c: (init_post), (gst_deinit):
3634 Pre-register GstGError GType from a thread-safe context
3635 (fixes #527967); unref enum type classes in deinit.
3637 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3639 Patch by: Rene Stadler <mail at renestadler de>
3641 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3642 Merging an empty list with another list in KEEP_ALL mode should
3643 yield an empty list as result and not the second list (#512578).
3645 * tests/check/gst/gsttagsetter.c:
3646 Add unit test for tag merge modes and the aforementioned bug.
3648 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3650 Patch by: Rene Stadler <mail at renestadler de>
3653 Fix description to match the order in the table (#512577).
3655 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3657 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3659 * libs/gst/net/gstnettimepacket.h:
3660 * docs/libs/gstreamer-libs-sections.txt:
3661 Define socklen_t as int if it's not defined yet. Fixes compilation
3662 with MSVC6 and other versions where socklen_t is not defined in
3663 the windows headers (#518022).
3665 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3667 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3668 If gst_registry_add_plugin() fails our reference to the plugin is
3669 invalid so don't try to use it anymore and instead error out.
3671 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3673 * tools/gst-xmlinspect.c: (print_element_info), (main):
3674 De-cruft a bit. If no argument is specified, print all elements in
3675 XML syntax rather than a freestyle list of elements like gst-inspect.
3676 Also, don't print XML header chunk unless we actually have something
3677 to print (ie. don't print it before an error message); print error
3678 message to stderr not stdout. Remove support for printing plugin
3679 info (it would just output something freestyle along the lines of
3680 gst-inspect so far), which fixes #514507. Also add license header.
3682 2008-04-11 Julien Moutte <julien@fluendo.com>
3685 * configure.ac: Merge platform specific defines, introduce a new
3686 define on OS X to remember that forking when updating registry is
3688 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3690 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3692 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3693 condition that leads to absolutely no plugins being registered on
3696 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3698 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3700 * gst/gstutils.c: (gst_pad_add_data_probe),
3701 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3702 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3703 (gst_pad_add_buffer_probe_full):
3705 * docs/gst/gstreamer-sections.txt:
3706 * win32/common/libgstreamer.def:
3707 Add gst_pad_add_*_probe_full() functions with a notify callback that
3708 lets the caller free the data it passes to the probe functions. This
3709 is useful for bindings such as gst-python or gstreamermm (#526814).
3710 API: gst_pad_add_data_probe_full
3711 API: gst_pad_add_buffer_probe_full
3712 API: gst_pad_add_event_probe_full
3714 * tests/check/gst/gstutils.c:
3715 Add minimal unit test to make sure freeing the data actually works
3718 * tests/benchmarks/.cvsignore:
3719 Random cvsignore addendum.
3721 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3723 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3724 (GST_DEBUG_BIN_TO_DOT_FILE):
3725 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3726 to it in the docs (since these are macros the types of the arguments
3727 won't be shown in the docs otherwise).
3729 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3732 Do not abort on out of memory for pad_alloc_buffer.
3734 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3736 * libs/gst/check/gstcheck.c:
3737 Remove blank line between symbol name ad parameters to fix gtkdoc
3740 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3742 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3744 * docs/gst/gstreamer-sections.txt:
3747 * win32/common/libgstreamer.def:
3748 Expose gst_segment_copy() to make things easier for the c++ bindings.
3750 API: gst_segment_copy()
3752 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3754 * gst/gst.c: (gst_init_get_option_group), (init_post):
3755 Fix const position; ref GType classes for enum types to work
3756 around thread-safety issues in GLib versions < 2.16.
3758 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3760 * docs/design/part-buffering.txt:
3761 Fix some typos and set the estimated total for push mode to -1.
3763 * gst/gstquery.c: (gst_query_new_buffering):
3764 Set buffering-left to 0 as we're not buffering by default.
3766 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3767 Implement BUFFERING query.
3769 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3771 Based on patch by: Milosz Derezynski <internalerror gmail com>
3773 * gst/gsterror.c: (_gst_stream_errors_init):
3775 Add two new error codes for encrypted content. Fixes #524659.
3776 API: GST_STREAM_ERROR_DECRYPT
3777 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3779 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3784 * win32/common/libgstreamer.def:
3787 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3789 * plugins/elements/gstidentity.c: (gst_identity_event),
3790 (gst_identity_start):
3791 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3792 event after processing some data. Fixes bug #526042.
3794 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3796 * docs/gst/gstreamer-sections.txt:
3797 * gst/gstquery.c: (gst_query_parse_latency),
3798 (gst_query_set_buffering_percent),
3799 (gst_query_parse_buffering_percent),
3800 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3802 Rename _avail -> _range
3803 API: gst_query_set_buffering_range
3804 API: gst_query_parse_buffering_range
3806 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3808 * docs/design/part-buffering.txt:
3811 * gst/gstquery.c: (gst_query_parse_latency),
3812 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3813 (gst_query_parse_buffering_percent):
3815 Add busy field and quark for the buffering query so that the app can
3816 only use the query to see if buffering is in progress.
3818 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3820 * docs/gst/gstreamer-sections.txt:
3821 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3822 (gst_message_parse_buffering_stats):
3824 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3825 (gst_query_parse_latency), (gst_query_new_buffering),
3826 (gst_query_set_buffering_percent),
3827 (gst_query_parse_buffering_percent),
3828 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3829 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3831 Reorder the message docs and headers for clarity.
3832 Add aditional buffering stats API for messages.
3833 Add buffering query.
3834 Convert some leftover queries to use GstQuark.
3835 API: gst_message_set_buffering_stats
3836 API: gst_message_parse_buffering_stats
3837 API: GST_QUERY_BUFFERING
3838 API: GstBufferingMode
3839 API: gst_query_new_buffering
3840 API: gst_query_set_buffering_percent
3841 API: gst_query_parse_buffering_percent
3842 API: gst_query_set_buffering_stats
3843 API: gst_query_parse_buffering_stats
3845 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3847 * gst/gstmessage.c: (gst_message_new_error),
3848 (gst_message_new_warning), (gst_message_new_info),
3849 (gst_message_new_buffering), (gst_message_new_state_changed),
3850 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3851 (gst_message_new_new_clock), (gst_message_new_segment_start),
3852 (gst_message_new_segment_done), (gst_message_new_duration),
3853 (gst_message_new_async_start), (gst_message_parse_buffering),
3854 (gst_message_parse_state_changed),
3855 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3856 (gst_message_parse_new_clock), (gst_message_parse_error),
3857 (gst_message_parse_warning), (gst_message_parse_info),
3858 (gst_message_parse_segment_start),
3859 (gst_message_parse_segment_done), (gst_message_parse_duration),
3860 (gst_message_parse_async_start):
3861 Use GstQuark for messages.
3863 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3865 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3867 Add some more quarks needed for messages and queries.
3869 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3871 * docs/design/part-buffering.txt:
3872 Remove the "none" buffering mode, STREAM is a good default.
3873 Move estimated-time to the avail query, that's when it will be needed.
3874 Other small typo fixes and updates.
3876 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3878 * gst/gstindex.c: (gst_index_resolver_get_type):
3879 Don't put descriptions into the nick field of a GEnumValue: it's not
3880 meant for that and some language bindings rely on the nick field to
3881 construct constants and the like. Fixes #526705.
3883 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3888 Merge other changes from 0.10.19 release branch.
3890 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3892 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3895 Actually build dlls when cross-compiling with mingw32.
3898 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3900 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3903 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3905 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3907 * docs/design/draft-latency.txt:
3910 * docs/design/part-buffering.txt:
3911 Update design docs with more buffering ideas.
3913 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3916 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3918 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3921 Revert part that belongs to the preset patch.
3923 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3926 Add qoutes to the define. Fixes # 525961.
3928 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3930 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3931 (gst_file_index_load), (gst_file_index_add_id),
3932 (gst_file_index_get_assoc_entry):
3933 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3934 (gst_mem_index_free_id), (gst_mem_index_add_id),
3935 (gst_mem_index_index_format):
3936 Use GSlice when possible.
3938 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3940 * libs/gst/controller/gstinterpolationcontrolsource.c:
3941 (gst_control_point_free),
3942 (gst_interpolation_control_source_set_internal):
3943 Use GSlice for allocating the control points.
3945 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3947 * plugins/elements/gsttypefindelement.c:
3948 (gst_type_find_element_class_init),
3949 (gst_type_find_element_set_property),
3950 (gst_type_find_element_get_property),
3951 (gst_type_find_element_activate):
3952 * plugins/elements/gsttypefindelement.h:
3954 Fix pad leak when peer query fails.
3955 We can still typefind when the peer returns -1.
3956 Add property to force caps and bypass typefinding. This will be used in
3960 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3965 * gst/glib-compat-private.h:
3966 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3967 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3968 Unconditionally use GSlice for allocation.
3970 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3971 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3972 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3973 (gst_structure_free):
3974 Use GSlice for allocation.
3976 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3978 * gst/parse/Makefile.am:
3979 * gst/parse/grammar.tab.pre.c:
3980 * gst/parse/grammar.tab.pre.h:
3981 * gst/parse/lex._gst_parse_yy.pre.c:
3982 Require a new enough flex and bison and remove the parser hacks to use
3983 a pre-regenerated version.
3985 2008-04-01 Julien Moutte <julien@fluendo.com>
3987 patch by: Jason Zhao <E3423C@motorola.com>
3989 * configure.ac: Add a configure switch to disable option parsing
3993 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3996 * gst/gstregistry.c:
3997 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3998 and handle this case.
4001 Add a comment here describing, why we stat each plugin and not try to
4004 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4006 * libs/gst/base/gstbasetransform.c:
4007 (gst_base_transform_prepare_output_buffer):
4008 Also unset the GAP flag on buffers if we're working inplace but
4009 the element is not GAP-aware.
4011 Mark a comment as FIXME 0.11.
4013 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4016 Fix type in log message and add one to ease seeing how long registry
4017 cache verification takes.
4019 * gst/gstregistry.c:
4020 Only test plugin filenames against G_MODULE_SUFFIX.
4022 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4024 * gst/gstdebugutils.c:
4025 Improve handling ghost/proxy pads.
4027 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4029 * docs/gst/gstreamer-sections.txt:
4032 Expose macro to docs and fix link to it.
4034 2008-03-27 Michael Smith <msmith@fluendo.com>
4036 * libs/gst/dataprotocol/dataprotocol.c:
4037 (gst_dp_packet_from_event_1_0):
4038 When calculating GDP body CRC, use the correct pointer.
4039 Fixes part of #522401.
4041 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4043 Patch by: Mark Nauwelaerts <manauw at skynet be>
4045 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4046 (gst_identity_init), (gst_identity_prepare_output_buffer):
4047 Identity is not always a passthrough element, it can modify the buffer
4048 timestamps when it has a datarate and operates in single-segment mode.
4049 We therefore make it an in_place filter with a custom buffer prepare
4050 function that conditionally makes the input buffer metadata writable
4051 when needed. Fixes #523985.
4053 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4055 Patch by: Mark Nauwelaerts <manauw at skynet be>
4058 * libs/gst/base/gstbasesrc.h:
4059 * libs/gst/base/gstbasetransform.c:
4060 * libs/gst/check/gstcheck.c:
4061 Small documentation fixes. Fixes #523978.
4063 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4065 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4066 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4067 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4069 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4071 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4072 (single_queue_underrun_cb):
4073 When trying to make room in the queue, bump the max allowed buffers
4074 bigger than the current amount of buffers in the queue. this fixes some
4075 nasty deadlocks in multiqueue when dynamically changing the limits of
4078 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4080 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4082 * gst/gstcaps.c: (gst_caps_set_simple),
4083 (gst_caps_set_simple_valist), (gst_caps_intersect):
4085 Constify the field gchar * params in set_simple and friends.
4088 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4090 * gst/gstvalue.c: (gst_value_transform_object_string):
4091 Transform a GstObject to a more meaningfull string that includes the
4092 object type in addition to its name.
4094 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4097 ChangeLog surgery to add bugnumber to commit.
4099 2008-03-23 Rene Stadler <mail@renestadler.de>
4101 * libs/gst/base/gstbasetransform.c:
4102 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4104 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4106 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4107 Rename constant everywhere and don't forget one occurence.
4109 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4111 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4112 Align memory to the pointer size even if the architecture allows
4113 unaligned memory access. Unaligned memory access usually comes with
4114 performance penality.
4116 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4118 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4119 (gst_registry_binary_check_magic),
4120 (gst_registry_binary_load_pad_template),
4121 (gst_registry_binary_load_feature),
4122 (gst_registry_binary_load_plugin):
4123 Align memory to the pointer size instead of always 32 bit. Fixes
4124 unaligned memory accesses on ia64 and friends.
4126 * gst/gstregistrybinary.h:
4127 Bump binary registry format version for this as it changes the
4128 format on those architectures that don't have unaligned access
4129 and 64 bit pointers.
4131 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4133 * docs/pwg/advanced-dparams.xml:
4134 * docs/pwg/building-props.xml:
4135 * docs/pwg/other-source.xml:
4136 * gst/glib-compat.h:
4137 * gst/gstbin.c: (gst_bin_class_init):
4138 * gst/gstclock.c: (gst_clock_class_init):
4139 * gst/gstindex.c: (gst_index_class_init):
4140 * gst/gstobject.c: (gst_object_class_init):
4141 * gst/gstpad.c: (gst_pad_class_init):
4142 * gst/gstpipeline.c: (gst_pipeline_class_init):
4143 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4144 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4145 * libs/gst/base/gstbasetransform.c:
4146 (gst_base_transform_class_init):
4147 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4148 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4149 (_gst_check_fault_handler_sighandler),
4150 (_gst_check_fault_handler_setup), (gst_check_init):
4151 * libs/gst/controller/gstcontroller.c:
4152 (_gst_controller_class_init):
4153 * libs/gst/controller/gstlfocontrolsource.c:
4154 (gst_lfo_control_source_class_init):
4155 * libs/gst/net/gstnetclientclock.c:
4156 (gst_net_client_clock_class_init):
4157 * libs/gst/net/gstnettimeprovider.c:
4158 (gst_net_time_provider_class_init):
4159 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4160 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4161 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4162 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4163 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4164 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4165 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4166 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4167 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4168 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4169 * plugins/elements/gsttee.c: (gst_tee_class_init):
4170 * plugins/elements/gsttypefindelement.c:
4171 (gst_type_find_element_class_init):
4172 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4173 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4174 use it everywhere for GParamSpecs that use static strings (i.e. all).
4175 This gives us less memory usage, fewer allocations and thus less
4176 memory defragmentation. Fixes bug #523806.
4178 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4180 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4181 (gst_param_spec_mini_object):
4182 * gst/gstminiobject.h:
4183 * win32/common/libgstreamer.def:
4184 * docs/gst/gstreamer-sections.txt:
4185 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4186 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4187 GstParamSpecMiniObject into a public header for this.
4189 This make GstMiniObject a bit more consistent with GObject and makes
4190 it possible to extend the param specs.
4192 gst_value_dup_mini_object is mainly useful for set_property methods.
4196 * tools/gst-inspect.c: (print_element_properties_info):
4197 Print something useful for GstMiniObject properties and not just
4200 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4202 * docs/gst/gstreamer-sections.txt:
4203 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4204 (gst_registry_binary_check_magic):
4205 * gst/gstregistrybinary.h:
4206 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4207 and add it to the (private part) of the docs to fix the build.
4209 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4211 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4212 (gst_registry_binary_check_magic),
4213 (gst_registry_binary_read_cache):
4214 * gst/gstregistrybinary.h:
4215 Don't use GST_MAJORMINOR for the binary registry version. Instead
4216 hardcode a value that must be changed whenever the format changes
4217 in an incompatible way.
4218 Also don't GST_ERROR when there is a version mismatch, just
4219 regenerate the registry silently.
4221 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4224 Back to development - 0.10.18.1
4226 === release 0.10.18 ===
4228 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4231 releasing 0.10.18, "So far away"
4233 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4236 * win32/common/config.h:
4237 0.10.17.4 pre-release
4239 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4241 Patch by: Ole André Vadla Ravnås
4242 <ole dot andre dot ravnas at tandberg dot com>
4244 * docs/gst/gstreamer-sections.txt:
4245 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4246 (gst_poll_update_winsock_event_mask),
4247 (gst_poll_prepare_winsock_active_sets),
4248 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4249 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4250 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4251 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4252 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4254 * win32/common/libgstreamer.def:
4255 Add new function gst_poll_fd_ignored() for improved Windows
4257 Various minor fixes and cleanups. See #520808.
4259 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4261 * gst/gstindex.c: (gst_index_entry_free):
4263 Don't free key strings which we don't own. Fixes crash in
4264 gst_index_entry_free() (#522741).
4266 * tests/check/Makefile.am:
4267 * tests/check/gst/.cvsignore:
4268 * tests/check/gst/gstindex.c: (test_index_entries),
4269 (gst_index_suite), (gst_index):
4270 Add unit test for the above.
4272 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4274 * win32/common/libgstreamer.def:
4275 Remove symbols that were removed recently. Fixes bug #521740.
4277 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4280 * win32/common/config.h:
4281 0.10.17.3 pre-release
4283 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4285 Patch by: Ole André Vadla Ravnås
4286 <ole dot andre dot ravnas at tandberg dot com>
4288 * docs/gst/gstreamer-sections.txt:
4289 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4290 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4291 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4292 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4293 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4294 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4295 (gst_poll_fd_can_write), (gst_poll_wait),
4296 (gst_poll_set_controllable), (gst_poll_restart),
4297 (gst_poll_set_flushing):
4299 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4300 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4301 (gst_net_time_provider_new):
4302 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4303 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4304 * tests/benchmarks/gstpollstress.c: (main):
4305 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4306 Remove GstPollMode from the API, it does not make sense to let the
4307 application control this.
4308 Add support for Win32.
4309 Fix the testsuite. Fixes #520671.
4311 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4313 Patch by: Ole André Vadla Ravnås
4314 <ole dot andre dot ravnas at tandberg dot com>
4316 * gst/gstregistrybinary.c:
4317 Include io.h for write() and close() when building with MSVC. Fixes
4320 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4323 * gst/gst_private.h:
4324 * gst/gstconfig.h.in:
4325 * gst/gstregistry.h:
4326 * gst/gstregistrybinary.c:
4327 * win32/common/gstconfig.h:
4328 Move registry backend API to private headers where we can. Add
4329 fixme-0.11 comments for the others. Add stubs for the xml backend when
4330 using the binary to ensure they functions exists (they should not be
4331 used though). Fixes #520756.
4333 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4336 * win32/common/config.h:
4339 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4341 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4342 (gst_registry_binary_read_cache):
4343 * gst/gstregistryxml.c: (gst_registry_save):
4344 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4345 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4346 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4347 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4348 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4351 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4353 * gst/gstminiobject.c:
4354 Import gst_private.h before any other header that might include other
4355 glib headers. This fixes the build on windows using native compilers.
4357 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4359 * win32/common/gstconfig.h:
4360 Add here too, just for completeness.
4362 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4365 * gst/gstconfig.h.in:
4366 * gst/gstregistry.h:
4367 Fix broken use of config.h-defined preprocessor directive in a public
4368 header file. Add a corresponding define to gstconfig.h, since we can't
4369 really remove those function declarations from the header file now
4370 (or can we? and why are they there in the first place?).
4372 2008-03-03 Andy Wingo <wingo@pobox.com>
4374 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4377 * gst/gststructure.c (gst_structure_from_string): Warn if
4378 structure_from_string didn't consume the whole string, but the
4379 caller did not provide an end pointer.
4381 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4383 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4385 * gst/gstregistryxml.c: (read_string), (load_feature):
4386 Strings allocated by libxml2 should be freed with xmlFree(), not
4387 with g_free(). Fixes issues on windows in certain contexts (#519698).
4389 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4391 * gst/gstinterface.c: (gst_element_implements_interface):
4392 Don't crash if the element supports the interface queried, but does
4393 not implement GstImplementsInterface. Fixes #519584.
4395 * tests/check/Makefile.am:
4396 * tests/check/gst/.cvsignore:
4397 * tests/check/gst/gstinterface.c:
4398 Add unit test for the above.
4400 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4402 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4405 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4407 * gst/gstsegment.c: (gst_segment_set_seek),
4408 (gst_segment_to_stream_time):
4409 Improve some comment.
4410 Update variables where it makes more sense.
4412 2008-02-29 Rene Stadler <mail@renestadler.de>
4414 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4415 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4416 URIHandlers implemented using language bindings.
4418 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4420 * gst/gstelementfactory.h:
4421 * tests/check/elements/fakesink.c:
4422 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4423 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4424 * tests/check/elements/filesink.c: (setup_filesink):
4425 * tests/check/elements/filesrc.c: (setup_filesrc):
4426 * tests/check/elements/identity.c: (setup_identity):
4427 * tests/check/elements/tee.c:
4428 * tests/check/generic/sinks.c:
4429 * tests/check/generic/states.c: (setup), (teardown):
4430 * tests/check/gst/gst.c:
4431 * tests/check/gst/gstabi.c:
4432 * tests/check/gst/gstbin.c:
4433 * tests/check/gst/gstbus.c: (pull_messages):
4434 * tests/check/gst/gstcaps.c:
4435 * tests/check/gst/gstelement.c:
4436 * tests/check/gst/gstevent.c:
4437 * tests/check/gst/gstghostpad.c:
4438 * tests/check/gst/gstiterator.c:
4439 * tests/check/gst/gstmessage.c:
4440 * tests/check/gst/gstminiobject.c: (my_foo_init):
4441 * tests/check/gst/gstobject.c: (thread_name_object),
4443 * tests/check/gst/gstpad.c:
4444 * tests/check/gst/gstplugin.c:
4445 * tests/check/gst/gstpoll.c:
4446 * tests/check/gst/gstquery.c:
4447 * tests/check/gst/gstsegment.c:
4448 * tests/check/gst/gststructure.c:
4449 * tests/check/gst/gstsystemclock.c:
4450 * tests/check/gst/gsttask.c:
4451 * tests/check/gst/gstutils.c:
4452 * tests/check/gst/gstvalue.c:
4453 * tests/check/gst/struct_hppa.h:
4454 * tests/check/gst/struct_i386.h:
4455 * tests/check/gst/struct_ppc32.h:
4456 * tests/check/gst/struct_ppc64.h:
4457 * tests/check/gst/struct_x86_64.h:
4458 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4459 * tests/check/libs/basesrc.c:
4460 * tests/check/libs/controller.c: (GST_START_TEST):
4461 * tests/check/libs/gdp.c:
4462 * tests/check/libs/gstnetclientclock.c:
4463 * tests/check/libs/gstnettimeprovider.c:
4464 * tests/check/libs/libsabi.c:
4465 * tests/check/libs/struct_hppa.h:
4466 * tests/check/libs/struct_i386.h:
4467 * tests/check/libs/struct_ppc32.h:
4468 * tests/check/libs/struct_ppc64.h:
4469 * tests/check/libs/struct_x86_64.h:
4470 * tests/check/pipelines/cleanup.c:
4471 * tests/check/pipelines/simple-launch-lines.c:
4472 * tests/check/pipelines/stress.c:
4473 And correct even more valid sparse warnings.
4475 * win32/common/libgstreamer.def:
4476 Add gst_poll_fd_init to the list of symbols.
4478 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4480 * gst/gstconfig.h.in:
4481 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4482 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4483 (gst_check_log_critical_func), (gst_check_drop_buffers),
4484 (gst_check_element_push_buffer_list):
4485 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4486 (gst_controller_get_type):
4487 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4488 (gst_object_get_controller), (gst_object_get_control_source):
4489 * libs/gst/controller/gstinterpolationcontrolsource.c:
4490 (gst_interpolation_control_source_new):
4491 * libs/gst/controller/gstlfocontrolsource.c:
4492 (gst_lfo_control_source_new):
4493 * libs/gst/dataprotocol/dataprotocol.c:
4494 (gst_dp_event_from_packet_0_2):
4495 * plugins/elements/gstfdsrc.c:
4496 * plugins/elements/gstmultiqueue.c:
4497 * plugins/elements/gsttee.c:
4498 * plugins/elements/gsttypefindelement.c:
4499 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4500 (gst_file_index_add_association):
4501 * plugins/indexers/gstmemindex.c:
4502 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4503 * tests/check/elements/queue.c: (setup_queue):
4504 * tests/check/gst/gstpipeline.c:
4505 * tests/check/libs/collectpads.c: (setup), (teardown),
4506 (gst_collect_pads_suite):
4507 * tests/examples/adapter/adapter_test.c:
4508 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4509 * tests/examples/xml/createxml.c:
4510 * tests/examples/xml/runxml.c:
4511 * tools/gst-inspect.c:
4513 Correct all relevant warnings found by the sparse semantic code
4514 analyzer. This include marking several symbols static, using
4515 NULL instead of 0 for pointers, not using variable sized arrays
4516 on the stack, moving variable declarations to the beginning of
4517 a block and using "foo (void)" instead of "foo ()" for declarations.
4519 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4521 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4522 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4523 Don't reset GstPollFDs, this is not necessary at all.
4525 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4526 (delayed_restart), (delayed_control):
4527 Use GST_POLL_FD_INIT.
4529 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4531 * gst/gstpoll.c: (gst_poll_fd_init):
4535 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4536 Use some more init macros.
4538 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4540 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4541 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4542 Use init macros and functions.
4544 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4546 * docs/gst/gstreamer-sections.txt:
4547 * gst/gstpoll.c: (gst_poll_fd_init):
4549 Add INIT macro and _init method for initializing the GstPollFD.
4551 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4553 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4554 (gst_fd_sink_update_fd):
4555 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4556 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4557 (delayed_restart), (delayed_control):
4558 Initialize some uninitialized variables as spotted by valgrind.
4560 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4562 * tests/benchmarks/Makefile.am:
4563 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4565 Add poll stress test.
4567 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4569 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4571 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4572 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4573 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4574 * plugins/elements/gstfdsink.h:
4575 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4576 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4577 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4578 (gst_fd_src_uri_set_uri):
4579 * plugins/elements/gstfdsrc.h:
4580 Port to GstPoll. See #505417.
4582 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4584 * win32/common/libgstreamer.def:
4585 Add new gst_poll_ symbols to win32 defs.
4587 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4589 * docs/libs/gstreamer-libs-sections.txt:
4590 * libs/gst/net/gstnetclientclock.c:
4591 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4592 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4593 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4594 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4595 * libs/gst/net/gstnetclientclock.h:
4596 * libs/gst/net/gstnettimeprovider.c:
4597 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4598 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4599 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4600 (gst_net_time_provider_new):
4601 * libs/gst/net/gstnettimeprovider.h:
4602 Use a private stuct to not break ABI.
4604 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4606 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4608 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4609 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4610 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4611 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4612 * libs/gst/net/gstnetclientclock.h:
4613 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4614 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4615 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4616 (gst_net_time_provider_new):
4617 * libs/gst/net/gstnettimeprovider.h:
4618 Massive code removal and cleanups because of GstPoll.
4621 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4624 Add checks for poll, ppoll and pselect.
4626 * docs/gst/gstreamer-docs.sgml:
4627 * docs/gst/gstreamer-sections.txt:
4628 Add docs for GstPoll.
4632 * gst/gstpoll.c: (find_index), (selectable_fds),
4633 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4634 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4635 (gst_poll_set_mode), (gst_poll_get_mode),
4636 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4637 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4638 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4639 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4640 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4641 (gst_poll_fd_can_write), (gst_poll_wait),
4642 (gst_poll_set_controllable), (gst_poll_restart),
4643 (gst_poll_set_flushing):
4645 Add generic poll abstraction. We ideally don't want to have this in core
4646 here but in glib intead...
4647 This code will be used in various network elements and ultimately for
4648 the nanosecond precision monotonic clock (that's why it's here in core).
4649 It'll allow us to implement cancelable socket operations for windows too.
4651 * tests/check/Makefile.am:
4652 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4653 (delayed_stop), (delayed_restart), (delayed_flush),
4654 (delayed_control), (gst_poll_suite):
4655 Add GstPoll unit test.
4657 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4660 Improve documentation of gst_filter_run(). Fixes #518627.
4662 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4665 Add a few lines about the new 'check-inspected-versions' target.
4667 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4669 * tests/check/gst/gstevent.c:
4670 Add qos to the event test. Rename tcase/tsuite; is not only about
4673 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4675 * plugins/elements/gstqueue.c:
4676 Ensure that buffer metadata is writeable, before modifying. Spotted by
4679 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4681 * plugins/elements/gstqueue.c:
4682 * plugins/elements/gstqueue.h:
4683 When dropping buffers in leaky modes, mark next buffers we sent as
4686 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4688 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4689 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4691 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4693 * plugins/elements/Makefile.am:
4694 * plugins/elements/gstbufferstore.c:
4695 * plugins/elements/gstbufferstore.h:
4696 * plugins/elements/gsttypefindelement.h:
4697 Remove GstBufferStore, no idea why we were still building it.
4698 It's not used anywhere and superseded by GstAdapter.
4700 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4701 (gst_file_src_create_mmap):
4702 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4703 Printf format fixes for 64-bit integers.
4705 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4708 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4709 We're not in 0.8 times anymore.
4711 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4713 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4714 (gst_check_element_push_buffer_list):
4715 * libs/gst/check/gstcheck.h:
4716 Make the declaration in the header for
4717 gst_check_element_push_buffer_list match the implementation.
4719 Fix up spelling, grammar and wording of the documentation in a few
4720 places, and add the Since keyword to new API functions.
4721 Use g_list_delete_link instead of g_list_remove in
4722 gst_check_drop_buffers, since it's immeasurably more efficient.
4724 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4725 Use new gst_check_drop_buffers function where appropriate.
4727 * win32/common/libgstbase.def:
4728 * win32/common/libgstreamer.def:
4729 Add new symbols gst_collect_pads_take_buffer,
4730 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4733 Changelog surgery to add API keyword to new gst_check API.
4735 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4737 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4738 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4739 Update pre-generated flex files with flex 2.3.34.
4741 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4743 * gst/gstminiobject.c:
4744 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4745 friendly to subclasses and not require them to know all internals
4746 of their parent class.
4748 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4750 * docs/libs/gstreamer-libs-sections.txt:
4751 * libs/gst/base/gstcollectpads.c:
4752 * libs/gst/base/gstcollectpads.h:
4753 Add sub-buffer functions to collectpads. Fixes #516187.
4754 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4756 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4759 Copy selected buffer-flags when creating subbuffers.
4762 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4764 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4765 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4766 * gst/gstmessage.c: (gst_message_class_init),
4767 (gst_message_finalize):
4768 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4769 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4770 (gst_mmap_buffer_finalize):
4771 Properly chain up finalize functions to the parent class.
4773 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4775 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4777 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4778 (gst_index_set_resolver_full):
4780 Add new function with option to dispose of user_data in resolver.
4781 Actually call the dispose function when finalizing the object and not
4782 just when changing the resolver/filter.
4783 API: GstIndex::gst_index_set_resolver_full()
4785 * docs/gst/gstreamer-sections.txt:
4786 Add new function to docs. Fixes #515469.
4788 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4790 * gst/gstindex.c: (gst_index_finalize):
4791 Chain up finalize to the parent class. Fixes leaking the GstObject
4792 name and other things.
4794 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4797 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4798 pre-releases or releases.
4800 * docs/faq/gst-uninstalled:
4803 * docs/random/release:
4804 Change one of the steps - we only upload core & base to Gnome FTP
4806 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4808 * gst/gstconfig.h.in:
4809 Add 'id' for example.
4813 * plugins/elements/gstfdsink.c:
4814 Link to signals. Doc and comment fixes.
4816 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4818 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4819 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4820 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4821 unused and unimplemented; finally, it is plugin features, not
4822 plugins, that have ranks.
4824 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4826 * gst/gstpluginfeature.h:
4827 Clarify GstRank range docs.
4829 2008-02-05 David Schleef <ds@schleef.org>
4831 * gst/gst.c: Add a separate gst_deinitialized that prevents
4832 gst_init() from being called after gst_deinit(). Fixes #509559
4834 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4836 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4837 (gst_bin_class_init):
4838 * gst/gstelement.c: (gst_element_base_class_init),
4839 (gst_element_class_add_pad_template):
4840 * gst/gstpadtemplate.c: (gst_pad_template_init):
4841 * gst/gstpipeline.c: (gst_pipeline_get_type),
4842 (gst_pipeline_base_init), (gst_pipeline_class_init):
4843 * libs/gst/base/gstbasesink.c:
4844 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4845 (gst_base_src_base_init), (gst_base_src_class_init):
4846 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4847 (gst_capsfilter_class_init):
4848 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4849 (gst_fake_sink_class_init):
4850 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4851 (gst_fake_src_class_init):
4852 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4853 (gst_fd_sink_class_init):
4854 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4855 (gst_fd_src_class_init):
4856 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4857 (gst_file_sink_class_init):
4858 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4859 (gst_file_src_class_init):
4860 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4861 (gst_identity_class_init):
4862 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4863 (gst_multi_queue_class_init):
4864 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4865 (gst_queue_class_init):
4866 * plugins/elements/gsttee.c: (gst_tee_base_init),
4867 (gst_tee_class_init):
4868 * plugins/elements/gsttypefindelement.c:
4869 (gst_type_find_element_base_init),
4870 (gst_type_find_element_class_init):
4871 * tests/check/gst/gstelement.c: (gst_element_suite):
4872 Revert previous changes to the behaviour of GstPadTemplates, etc
4873 and the possiblity to call them in class_init as it breaks too
4874 many elements. Reopens bug #491501.
4876 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4879 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4881 * tools/gst-launch.c:
4882 Dump one graph per pipeline state-change and state change name
4883 (if GST_DEBUG_DUMP_DOT_DIR is set).
4885 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4888 * tests/check/gst/gstpad.c:
4889 Be sure that we have a new copy of the caps and not
4890 reffed caps from a template
4892 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4894 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4895 * gst/gstpipeline.c: (gst_pipeline_get_type),
4896 (gst_pipeline_class_init):
4897 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4898 (gst_base_sink_class_init):
4899 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4900 (gst_base_src_class_init):
4901 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4902 (gst_base_transform_class_init):
4903 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4904 (gst_collect_pads_class_init):
4905 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4906 * libs/gst/net/gstnettimeprovider.c:
4907 (gst_net_time_provider_base_init),
4908 (gst_net_time_provider_class_init):
4909 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4910 (gst_capsfilter_class_init):
4911 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4912 (gst_fake_sink_class_init):
4913 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4914 (gst_fake_src_class_init):
4915 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4916 (gst_fd_sink_class_init):
4917 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4918 (gst_fd_src_class_init):
4919 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4920 (gst_file_sink_class_init):
4921 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4922 (gst_file_src_class_init):
4923 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4924 (gst_identity_class_init):
4925 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4926 (gst_multi_queue_class_init):
4927 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4928 (gst_queue_class_init):
4929 * plugins/elements/gsttee.c: (gst_tee_base_init),
4930 (gst_tee_class_init):
4931 * plugins/elements/gsttypefindelement.c:
4932 (gst_type_find_element_base_init),
4933 (gst_type_find_element_class_init):
4934 Don't use base_init where not absolutely necessary. For example it's
4935 not necessary anymore for adding pad templates or setting element
4938 Leave empty base_init functions in several places as GST_BOILERPLATE
4939 still defines and uses them.
4941 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4943 * gst/gstelement.c: (gst_element_base_class_init),
4944 (gst_element_class_add_pad_template):
4945 * gst/gstpadtemplate.c:
4946 Make it possible (and recommended) to set element details and add
4947 pad templates in the class_init functions by copying the details/pad
4948 templates in GstElement's base_init.
4950 Also make it possible to replace existing pad templates by adding
4951 a new one with the same name. This was done in a hackish fashion
4952 in same elements before already.
4954 Don't reference pad templates that are added a second time. A
4955 new pad template has a refcount of one and is not floating anymore
4956 and to be owned by the element's class. Make this more explicit by
4957 mentioning it in the docs of gst_element_class_add_pad_template().
4959 These changes are backwards compatible. Fixes bug #491501.
4961 * tests/check/gst/gstelement.c:
4962 Add unit test for setting element details, adding pad templates and
4963 replacing them in a subclass.
4965 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4967 * tools/gst-inspect.c: (print_interfaces),
4968 (print_element_properties_info), (print_pad_info),
4969 (print_signal_info), (print_element_info):
4970 Fix a few memory leaks.
4972 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4974 * docs/libs/gstreamer-libs-sections.txt:
4975 * libs/gst/check/gstcheck.c:
4976 * libs/gst/check/gstcheck.h:
4977 Add more functions for unit testing: gst_check_drop_buffers,
4978 gst_check_caps_equal, gst_check_element_push_buffer_list,
4979 gst_check_element_push_buffer
4980 API: gst_check_drop_buffers
4981 API: gst_check_caps_equal
4982 API: gst_check_element_push_buffer_list
4983 API: gst_check_element_push_buffer
4985 2008-02-01 Julien Moutte <julien@fluendo.com>
4987 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4988 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4989 (gst_index_finalize), (gst_index_entry_free),
4990 (gst_index_add_association): Fix memory leaks.
4991 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4992 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4993 (gst_mem_index_free_format), (gst_mem_index_free_id),
4994 (gst_mem_index_finalize): Fix memory leaks.
4995 * win32/common/config.h: Updated to CVS HEAD.
4997 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5000 Some more details about how the plugin docs works.
5002 * docs/plugins/gstreamer-plugins-sections.txt:
5005 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5007 * gst/parse/grammar.tab.pre.c:
5008 * gst/parse/grammar.tab.pre.h:
5009 * gst/parse/grammar.y:
5010 * gst/parse/lex._gst_parse_yy.pre.c:
5011 Add delayed set-property. This allows to set properties on dynamicaly
5012 created objects (pads in videomxer). Fixes #509391.
5014 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5017 Check if caps are not NULL (fix bug #510194)
5019 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5021 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5022 (gst_base_sink_get_position_paused):
5023 Add fixme regarding EOS in pull mode.
5024 Fix position reporting in PAUSED for negative rates.
5026 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5028 * gst/gstminiobject.c: (gst_mini_object_replace):
5029 When replacing a miniobject, do a quick equality check first so that we
5030 can avoid a ref/unref pair.
5032 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5034 * docs/design/part-synchronisation.txt:
5037 * docs/plugins/Makefile.am:
5038 * docs/plugins/gstreamer-plugins-docs.sgml:
5039 * docs/plugins/gstreamer-plugins-sections.txt:
5040 * plugins/elements/gstmultiqueue.c:
5041 Add multiqueue to the docs.
5043 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5048 === release 0.10.17 ===
5050 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5053 releasing 0.10.17, "Due Negligence"
5055 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5058 Revert caps != NULL check temporarily for 0.10.17 release.
5060 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5063 Check if caps are not NULL (fix bug #510194)
5065 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5068 Fix compilation on systems that have posix timers but no
5071 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5074 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5076 * tools/gst-inspect.c:
5077 Revert previous commit in preparation for an impromptu 0.10.17 release
5079 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5081 * tools/gst-inspect.c: (print_interfaces),
5082 (print_element_properties_info), (print_pad_info),
5083 (print_signal_info), (print_element_info):
5084 Fix a few memory leaks.
5086 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5091 === release 0.10.16 ===
5093 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5096 releasing 0.10.16, "Special Dispensation"
5098 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5101 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5102 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5103 not fail when trying to crosscompile on OpenEmbedded (#511750).
5105 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5108 Use $(MAKE) instead of make to fix the build if GNU make is
5109 called different. Fixes bug #510747.
5111 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5113 * gst/gstplugin.c: (_gst_plugin_initialize):
5114 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5115 again, which I broke two commits ago when changing the API
5116 of gst_plugin_register_static(): the g_list_foreach() in
5117 _gst_plugin_register_static still assumed the old function
5118 signature and would therefore fail (re-fixes #510187).
5120 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5121 (_gst_plugin_register_static), (gst_plugin_register_static):
5122 Revert the (technically correct) change to call g_thread_init() from
5123 the pre-main() constructor. This will break programs which call
5124 g_thread_init() without an if (!g_thread_supported()) guard in their
5125 main function. We could just blame it on GLib or the application, but
5126 it's probably best to just avoid this altogether and simply not use
5127 any GLib functions here and use plain old malloc() with a simple
5128 array to store the plugins to register later when gst_init() is
5129 finally called (re-fixes #510187).
5131 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5132 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5133 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5134 (GST_START_TEST), (gst_plugin_suite):
5135 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5138 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5140 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5141 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5142 This makes gtk-doc complain, but results in slightly better
5143 compiler errors. The old _gst_plugin_register_static() is
5144 still guarded, so there'll be a compiler warning about that
5145 instead. Fixes #510187 too.
5147 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5149 * gst/gst.c: (init_post):
5150 * gst/gstplugin.c: (_gst_plugin_register_static),
5151 (gst_plugin_register_static), (_gst_plugin_initialize):
5152 * gst/gstplugin.h: (GstPluginFilter):
5153 Change API of gst_plugin_register_static() to not take
5154 a GstPluginDesc, but rather just take all the arguments
5155 in a GstPluginDesc directly. This is more intuitive and
5156 avoids certain mistakes when porting code from
5157 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5160 * tests/check/gst/gstplugin.c:
5161 Fix up for changed API.
5163 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5165 * docs/faq/legal.xml:
5166 Update FAQ, Totem actually has an exception these days.
5168 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5170 * win32/common/libgstreamer.def:
5171 Add new API declarations
5173 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5175 * gst/gstminiobject.c:
5176 Spelling fixes for the API docs.
5178 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5180 * libs/gst/base/gstbasetransform.c:
5181 Fix long property description for QoS.
5183 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5186 _gst_trace_on is already provided by gsttrace.h, no need to declare
5189 * docs/libs/gstreamer-libs-sections.txt:
5190 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5191 and remove strange tcase_add_test which is outputting a warning.
5193 * libs/gst/check/gstcheck.c:
5194 * libs/gst/check/gstcheck.h:
5195 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5196 and define them in gstcheck.c instead of having every .c file whcih
5197 includes gstcheck.h be defining its own copy and relying on symbol
5198 interposing to marry them all, which doesn't work on Solaris.
5200 * tests/check/elements/identity.c: (GST_START_TEST):
5201 Don't define 'buffers' locally, it comes from libgstcheck.
5203 * tests/check/generic/sinks.c: (send_buffer):
5204 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5206 * tests/check/gst/gststructure.c: (GST_START_TEST):
5207 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5208 * tests/check/gst/gstutils.c: (GST_START_TEST):
5209 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5210 Add a bunch of casts to make various constants fit the types
5211 they're being assigned to.
5213 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5215 * gst/gstchildproxy.c:
5216 Improve docs and add some ideas for making this more general-purpose.
5218 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5220 * gst/gst_private.h: (GST_CAT_TYPES):
5221 Add GST_CAT_TYPES, for consistency, and so that the other
5222 debug categories don't make fun of it. Spotted by Saur on IRC.
5224 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5226 * gst/parse/Makefile.am:
5227 Move types.h from EXTRA_DIST to noinst_HEADERS.
5229 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5232 Add -Wno-portability to the automake parameters to stop warnings
5233 about GNU make extensions being used. We require GNU make in almost
5234 every Makefile anyway.
5237 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5238 at the same time is required for per target flags.
5240 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5243 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5244 __GNUC__ is defined before using it.
5246 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5248 * docs/gst/gstreamer-sections.txt:
5249 * gst/gst.c: (init_post):
5250 * gst/gstplugin.c: (_gst_plugin_register_static),
5251 (gst_plugin_register_static), (_gst_plugin_initialize),
5252 (gst_plugin_register_func):
5253 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5254 API: add gst_plugin_register_static() and deprecate
5255 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5257 Also, in _gst_plugin_register_static(), make sure to call
5258 g_thread_init() before calling GLib functions such as
5259 g_list_append() if we're not initialised yet, since that
5260 may lead to random crashes with older GSlice/GLib versions.
5262 * tests/check/gst/gstplugin.c:
5263 Adapt unit test to above changes.
5265 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5267 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5268 * gst/gstcaps.c: (gst_caps_to_string):
5269 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5270 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5271 Yet another gratuitous GString micro-optimisation: add a (private)
5272 function that serialises a structure appending to an existing
5273 GString, so that when we serialise caps we don't need to alloc+free
5274 a throwaway GString for each structure (each of which also entailing
5275 multiple reallocs on the way); also use g_string_sized_new() in
5276 various places with an approximate string length to avoid reallocs
5277 within GString. See #500143.
5279 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5281 * gst/gststructure.c: (gst_structure_id_set_value):
5282 Always check UTF-8 conformance of structure strings and not only
5283 if the debugging system is enabled; reasoning: the behaviour of
5284 the actual code shouldn't really change depending on whether the
5285 debugging system is enabled or not (#508291).
5287 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5290 Remove old coverage target in favour of "make lcov".
5292 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5294 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5295 (gst_base_src_loop):
5296 The start segment for reverse playback goes from start to last_stop.
5298 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5300 Patch by: Peter Kjellerstedt <pkj axis com>
5303 Cast the results from the timeval/spec_to_time macros to what the
5304 docs say it casts to, a GstClockTime. fixes #508175.
5306 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5309 Update some comments.
5311 * tools/gst-inspect.c: (print_element_properties_info):
5312 Improve printing of flags.
5314 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5316 * libs/gst/base/gstbasetransform.c:
5317 (gst_base_transform_transform_size):
5318 Print element name with g_warning() if there's a problem
5321 2008-01-07 David Schleef <ds@schleef.org>
5323 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5325 * libs/gst/controller/gstcontroller.h:
5326 * libs/gst/controller/gstcontrolsource.h:
5327 * libs/gst/controller/gstinterpolationcontrolsource.h:
5328 * libs/gst/controller/gstlfocontrolsource.h:
5329 * libs/gst/dataprotocol/dataprotocol.h:
5330 Fix empty prototypes. Fixes bug #507957.
5332 2008-01-07 David Schleef <ds@schleef.org>
5334 * docs/faq/dependencies.xml: Fix typo.
5336 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5338 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5339 (gst_base_src_loop):
5340 Don't update the last_stop position in do_seek, that's the position we
5342 Read backwards when we have a negative rate.
5344 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5345 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5347 Add check for reverse reading.
5349 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5351 Patch by: Alexis Ballier <aballier at gentoo org>
5353 * tests/check/gst/gstabi.c:
5354 * tests/check/gst/struct_ppc64.h:
5355 * tests/check/libs/libsabi.c:
5356 * tests/check/libs/struct_ppc64.h:
5357 Decide which header to include based on the userland ABI target
5358 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5359 for 64-bit userland (#503590). Might need something similar for
5362 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5364 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5365 Log the reason why fopen fails in addition to the fact that it failed.
5367 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5369 * gst/parse/parse.l:
5370 Use "%option never-interactive" to prevent useless calls to isatty()
5371 on every input when parsing. Also use "%option noinput" to not define
5372 the static input/yyinput functions which we don't use anyway. This
5373 removes a compiler warning with gcc 4.3 and saves some bytes in the
5376 * gst/parse/lex._gst_parse_yy.pre.c:
5377 Regenerated for the above change.
5379 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5381 * gst/gstpad.c: (fixate_value):
5382 Don't crash when trying to fixate and empty list.
5385 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5387 * docs/faq/gst-uninstalled:
5388 Clarify the comments to make the usage of this script and what it
5389 does easier to understand.
5391 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5393 * tools/gst-plot-timeline.py:
5394 Add more options to gst-plot-timeline
5396 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5398 * docs/design/part-synchronisation.txt:
5399 Some more info on how the stream_time in GstBaseSink is done.
5401 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5403 * tests/check/generic/sinks.c: (gst_sinks_suite):
5404 Put back the tcase_set_timeout(), apparently it's needed after
5405 all; fix it up in a way that makes things work with valgrind too.
5407 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5409 * gst/gstdebugutils.c:
5410 Add warning when failed to open file for writing.
5412 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5414 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5416 * gst/gstvalue.c: (gst_value_is_fixed):
5417 Optimisation: bail out of the loop as early as possible (#500143).
5419 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5421 * gst/gstcaps.c: (gst_caps_to_string):
5422 * gst/gstinfo.c: (gst_debug_construct_term_color):
5423 * gst/gstparse.c: (gst_parse_launchv):
5424 * gst/gstutils.c: (gst_util_dump_mem):
5425 * gst/gstvalue.c: (gst_value_serialize_any_list),
5426 (gst_value_transform_any_list_string):
5427 Bunch of gratuitous nano-optimisations.
5429 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5431 * tests/check/generic/sinks.c: (async_done_func),
5432 (async_done_eos_func):
5433 Fix leak in unit test (bus sync handler must unref the message
5434 if it returns GST_BUS_DROP). Don't fiddle with the default test
5435 timeout, this is smaller than the current preconfigured value
5436 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5437 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5439 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5441 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5444 Check for stdio_ext.h for the filesink changes.
5446 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5447 (gst_file_sink_class_init), (gst_file_sink_init),
5448 (gst_file_sink_dispose), (gst_file_sink_set_property),
5449 (gst_file_sink_get_property), (gst_file_sink_open_file),
5450 (gst_file_sink_close_file):
5451 * plugins/elements/gstfilesink.h:
5452 Add two properties to control the buffering mode and size.
5453 API: GstFileSink::buffer-mode
5454 API: GstFileSink::buffer-size
5457 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5459 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5460 Add some more docs to explain why a FIXME was wrongly added.
5462 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5465 Fix typo in the gst_object_{ref,unref} documentation.
5467 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5469 * tests/check/libs/controller.c:
5470 * tests/check/libs/typefindhelper.c:
5471 * tests/check/pipelines/parse-launch.c:
5472 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5473 going to be deprecated (see #498924).
5475 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5477 * gst/gsttypefind.c: (gst_type_find_register):
5478 Make gst_type_find_register work for static typefind functions,
5479 ie. allow passing plugin == NULL (prerequisite for #498924).
5481 * gst/gstelementfactory.c: (gst_element_register):
5482 Small docs addition.
5484 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5486 * gst/gstpad.c: (gst_pad_dispose):
5487 Really unlink the peer pad instead of setting the peer pointer to NULL
5488 when we dispose the pad.
5489 This correctly calls the unlink functions and makes sure that the peer
5490 does not have a handle to invalid memory. See #504671.
5492 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5493 Add testsuite for above case.
5495 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5497 Patch by: Peter Kjellerstedt <pkj axis com>
5499 * libs/gst/check/gstcheck.h:
5500 Fix detection of the check version we're compiling against (would
5501 otherwise break if check goes v0.10.0); correctly report the
5502 name of the failed test again in case of failure, instead of
5503 just 'tf' (fixes #504499).
5505 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5507 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5508 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5509 (gst_base_src_loop), (gst_base_src_set_flushing),
5510 (gst_base_src_change_state):
5511 Allow sending EOS to the source to make it send out an EOS event from
5512 the streaming thread.
5513 Update docs and deprecate the old NULL/READY shutdown method.
5515 * tests/check/libs/basesrc.c: (GST_START_TEST),
5516 (gst_basesrc_suite):
5517 Add unit test for controlled shutdown.
5519 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5521 * docs/design/part-synchronisation.txt:
5524 * gst/gstsegment.c: (gst_segment_set_seek),
5525 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5526 (gst_segment_to_running_time):
5527 The seek format can be different from the segment format when the start
5528 and stop values are not to be updated, when we only do a rate change for
5531 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5532 (gst_segment_suite):
5533 Add a testcase for the rate-only seeks, checking that the format is
5534 correctly ignored when start and stop are not updated.
5536 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5538 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5540 * win32/vs8/grammar.vcproj:
5541 * win32/vs8/libgstcontroller.vcproj:
5542 * win32/vs8/libgstreamer.vcproj:
5543 Fix compilation with VS8 and include some missing files.
5545 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5548 Small docs addition: mention that the strings returned by
5549 gst_tag_list_get_string*() are in UTF-8 encoding.
5551 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5554 The check-exports stuff moved to common/win32.mak, so include that.
5556 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5558 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5559 (gst_base_src_perform_seek), (gst_base_src_get_range),
5560 (gst_base_src_set_playing), (gst_base_src_change_state):
5561 Make _wait_playing() not check any variables so that we can call this
5562 function from subclasses. Move the checks elsewhere similar to
5563 _wait_preroll() in basesink.
5565 Only signal the LIVE cond when we are going back to PLAYING.
5567 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5569 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5570 Use g_remove() and g_rename(). Check result of g_rename(), and
5571 don't leak the open file descriptor if we error out when writing.
5573 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5574 Must check the return value of close() after writing out the new
5575 registry file. Sometimes write problems such as out-of-diskspace
5576 are only reported when the file is closed and not already during
5577 the write. This may have caused partial/broken registry files in
5578 some rare circumstances. Should fix #503675.
5580 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5582 * docs/gst/.cvsignore:
5583 * docs/libs/.cvsignore:
5584 * docs/plugins/.cvsignore:
5585 Ignore files generated by new common/* modifications
5587 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5589 * win32/common/libgstbase.def:
5590 Yes, you can also have a <TAB> if you want.
5592 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5594 * win32/common/libgstbase.def:
5595 Add new basetransform API to win export file.
5597 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5599 * tests/check/gst/gstbin.c:
5600 Adjust the test to the refcount change two days ago.
5602 2007-12-14 David Schleef <ds@schleef.org>
5604 * docs/faq/getting.xml: Fix typo.
5606 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5608 * docs/libs/gstreamer-libs-sections.txt:
5609 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5610 (gst_base_transform_prepare_output_buffer),
5611 (gst_base_transform_set_gap_aware):
5612 * libs/gst/base/gstbasetransform.h:
5613 API: Add gst_base_transform_set_gap_aware() to control whether
5614 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5615 get buffers with this flag at all. Fixes #503231.
5617 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5619 * libs/gst/base/gstbasesink.c:
5620 * libs/gst/base/gstbasesrc.c:
5621 * libs/gst/base/gstbasetransform.c:
5622 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5623 thread. Correct log message in gstbasesrc.c.
5625 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5627 * gst/gstutils.c: (element_find_unconnected_pad):
5628 Fix possible compiler warning (#503417).
5630 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5632 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5633 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5635 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5637 * tools/gst-inspect.c: (print_element_properties_info):
5638 Add support for GstFraction properties.
5640 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5643 Add check-exports target and run it as part of 'make check'
5644 (see #499140 and #493983).
5646 * gst/gst_private.h:
5647 * gst/gstelementfactory.h:
5648 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5649 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5650 (_priv_gst_in_valgrind):
5651 * gst/gstinfo.h: (GstLogFunction):
5652 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5653 (gst_type_find_register):
5654 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5655 (gst_type_find_factory_get_type):
5656 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5657 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5658 (gst_controller_new_valist), (gst_controller_new_list),
5659 (_gst_controller_dispose), (_gst_controller_class_init):
5660 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5661 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5662 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5663 (gst_object_get_controller), (gst_object_set_controller),
5664 (gst_object_suggest_next_sync), (gst_object_sync_values),
5665 (gst_object_set_control_source), (gst_object_get_control_source),
5666 (gst_object_get_value_arrays), (gst_object_get_value_array),
5667 (gst_object_get_control_rate), (gst_object_set_control_rate):
5668 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5669 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5670 Make some functions that should be static static; rename some
5671 private symbols so that they don't get exported; add some FIXME
5672 comments so we can move accidentally exported functions into
5673 our private section in 0.11.
5675 * win32/common/libgstreamer.def:
5676 Add gst_utils_get_timestamp().
5678 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5682 Add more missing "Since:" tags to docs.
5684 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5687 Add mising "Since:" to docs.
5689 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5692 Include "glib-compat-private.h" to fix the build on system with
5693 glib < 2.10. Fixes #503131.
5695 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5699 Actually its not PURE as it gets the time from elsewhere.
5701 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5703 * docs/gst/gstreamer-sections.txt:
5705 * gst/gstdebugutils.c:
5709 * libs/gst/base/gstbasesink.c:
5710 * tools/gst-launch.c:
5711 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5712 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5713 Thanks Tim for spotting.
5714 API: gst_util_get_timestamp
5716 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5719 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5721 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5723 * gst/gststructure.c: (gst_structure_validate_name),
5724 (gst_structure_new_valist), (gst_structure_parse_value),
5725 (gst_structure_from_string):
5726 Don't crash in _from_string() if the structure name is not valid
5727 (fixes #501560). Allow structure names to start with a number
5728 again (this apparently broke the ubuntu codec installer).
5730 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5732 Add unit test for the crash; update unit tests for new behaviour.
5734 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5737 Clarify gst_element_get_compatible_pad() documentation.
5740 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5742 * tests/check/Makefile.am:
5743 Don't forget to dist {gst,libs}/struct_hppa.h.
5745 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5747 * libs/gst/base/gstbasesink.c:
5748 Use new API to get elapsed time.
5750 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5752 * gst/gstdebugutils.c:
5754 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5756 * tools/gst-launch.c:
5757 Use new API to get elapsed time.
5759 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5761 * docs/gst/gstreamer-sections.txt:
5763 * gst/gstdebugutils.c:
5765 Rename new API + ChangeLog surgery to remove old name from last entry..
5767 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5769 * docs/gst/gstreamer-sections.txt:
5771 * gst/gstdebugutils.c:
5773 Now hide the different clock stuff behind a macro.
5775 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5778 * gst/gstdebugutils.c:
5780 Apply the posix-timer check from #361155. Conditionally use the posix
5781 timer for logging. This gives better timestamp precission, less
5782 overhead and no ntp jitter.
5784 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5786 * gst/gstminiobject.c: (gst_mini_object_get_type),
5787 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5788 (gst_mini_object_finalize), (gst_mini_object_copy),
5789 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5790 (gst_mini_object_replace), (param_mini_object_validate),
5791 (gst_param_spec_mini_object_get_type):
5792 Some cleanup and checking against invalid function parameters.
5794 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5796 * docs/gst/gstreamer-sections.txt:
5798 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5799 (gst_systemclock_suite):
5800 Start merging in the easy bits of #361155, the monotonic clock patch.
5801 This one adds a few handy macros with docs and a testsuite.
5803 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5805 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5806 Be a bit smarter when seeking, like, don't try to do a seek when it's
5807 not needed. This avoids errors when the file is not seekable.
5810 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5812 * docs/gst/gstreamer-docs.sgml:
5813 * docs/gst/gstreamer-sections.txt:
5814 * docs/gst/gstreamer.types.in:
5819 * plugins/elements/gstqueue.c:
5820 Due to popular request remove preset interface again. :-(.
5822 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5824 * tools/gst-inspect.c:
5825 Print 'default value' for enums and flags too.
5827 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5829 * docs/random/ensonic/profiling.txt:
5833 Fix typo and give better log output.
5835 * gst/gstdebugutils.c:
5836 * gst/gstdebugutils.h:
5837 More ideas, make graphs a bit smaller and fix param name in macro.
5839 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5842 Try harder to use the return value from fgets().
5844 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5847 For theses two fgets we handle the error below.
5849 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5851 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5852 Only send upstream events upstream. Fixes #498746.
5854 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5856 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5858 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5859 (gst_identity_init), (gst_identity_transform_ip),
5860 (gst_identity_set_property), (gst_identity_get_property):
5861 * plugins/elements/gstidentity.h:
5862 Add property to disable handoff signal emission. Fixes #498694.
5863 API: GstIdentity::signal-handoffs
5865 2007-11-21 Julien Moutte <julien@fluendo.com>
5867 * docs/faq/gst-uninstalled: Yet another missing library for the
5868 uninstalled script (fft)
5870 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5872 * docs/faq/developing.xml:
5873 Add a question about how to submit new translations.
5875 * docs/random/release:
5876 Update the contact email address for the Translation Project
5878 * plugins/elements/gstfdsrc.c:
5879 The parent_class for fdsrc is pushsrc, not GstElement.
5881 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5884 Plug a leak and fix saving.
5886 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5888 * docs/gst/gstreamer-sections.txt:
5889 Add new gst_preset__get_property_names() function to the docs
5892 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5896 Change _get_preset_names API to return a strv with copies. Add
5897 _get_property_names to allow implementations to filter and provide
5898 good default implementation.
5900 2007-11-20 Julien MOUTTE <julien@moutte.net>
5902 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5905 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5908 More cleanups, docs, and TODOs from comments that now slowly come in.
5910 2007-11-19 Julien MOUTTE <julien@moutte.net>
5912 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5915 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5918 Fix bogus warning and make the property type specific code more
5921 2007-11-19 Julien MOUTTE <julien@moutte.net>
5923 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5926 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5928 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5929 (gst_bin_add_func), (gst_bin_remove_func),
5930 (gst_bin_change_state_func), (gst_bin_continue_func):
5931 Change email, cleanups add some more debug and comments.
5932 Also set bus and clock on new elements when the pipeline was in error.
5934 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5937 * gst/gstdebugutils.c:
5938 Fix build with --disable-gst-debug. Fixes #497859.
5939 Spotted by Sameer Naik.
5941 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5944 Little documentation improvment.
5947 More TODO cleanups. Remove c++ comments.
5949 * libs/gst/controller/gstcontroller.c:
5950 Add TODO and use quark from static string.
5952 * tests/check/gst/gstmessage.c:
5953 * tests/check/gst/gststructure.c:
5954 Use quark from static string.
5956 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5959 Add some comments and TODOs.
5962 Add padding for future changes.
5964 * plugins/elements/gstqueue.c:
5965 Implement the iface.
5967 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5969 * docs/gst/gstreamer-docs.sgml:
5970 * docs/gst/gstreamer-sections.txt:
5971 * docs/gst/gstreamer.types.in:
5976 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5978 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5984 === release 0.10.15 ===
5986 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5989 releasing 0.10.15, "October"
5991 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5993 * win32/vs6/libgstreamer.dsp:
5994 Convert line endings back to DOS.
5996 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5998 * docs/design/draft-tagreading.txt:
5999 * docs/random/ensonic/profiling.txt:
6000 Update fast tagreading draft and performance profiling ideas.
6002 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6004 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6005 Don't hold the object lock when unreffing a buffer because it could
6006 cause a deadlock when the finalize function wants to grab the object
6007 lock too. Fixes #495133.
6009 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6011 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6012 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6013 Also accumulate time correctly when doing reverse playback. Fixes
6015 When converting to running and stream time, use default values for
6016 start/stop/time/accum when comparing different formats. Fixes #494245.
6018 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6019 Do running/stream time in TIME format.
6021 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6022 (gst_segment_suite):
6023 2 new unit tests for segment accumulation.
6025 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6027 * gst/gst.c: (init_pre):
6028 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6029 (_gst_debug_bin_to_dot_file):
6030 Move getenv() back into gst_init, so everyone can live happily
6031 ever after. Make sure the symbol isn't exported though.
6033 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6035 Patch by: Sebastien Moutte <sebastien moutte net>
6037 * win32/common/gstenumtypes.c:
6038 * win32/common/gstenumtypes.h:
6041 * win32/vs6/libgstreamer.dsp:
6042 Update vs6 project files (#494343).
6044 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6046 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6047 (gst_base_src_perform_seek), (gst_base_src_default_event),
6048 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6049 (gst_base_src_activate_pull):
6050 Unify flushing code, remove some old unlock code that is no longer used.
6051 Take the streaming lock when seeking to avoid races. Fixes #492729.
6052 Added some more comments.
6054 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6056 * gst/gst.c: (_gst_disable_segtrap):
6057 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6058 we can use gst_segtrap_is_enabled() there now that we have that API.
6059 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6060 to do the getenv here (and export the variable).
6062 * gst/gstdebugutils.c: (debug_dump_element),
6063 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6064 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6066 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6067 (gst_debug_log_default):
6068 Rename _gst_info_start_time to priv_gst_info_start_time so it
6069 doesn't get exported (was never in any header).
6071 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6072 (gst_plugin_loading_mutex):
6073 Make static mutex gst_plugin_loading_mutex really static (was never
6074 in any header), and use gst_segtrap_is_enabled() instead of
6075 _gst_disable_segtrap.
6077 * gst/gsttrace.c: (_gst_trace_default):
6078 Make local _gst_trace_default static (was never in any header).
6080 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6082 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6084 * win32/common/libgstbase.def:
6085 * win32/common/libgstcontroller.def:
6086 * win32/common/libgstdataprotocol.def:
6087 * win32/common/libgstnet.def:
6088 * win32/common/libgstreamer.def:
6089 Add more missing symbols, remove some duplicates, and sort
6090 as the 'sort' command sorts it (partially fixes #493983).
6092 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6094 * gst/gstelement.c: (gst_element_set_state_func):
6095 Only change the state cookie if a different state was set on the
6096 element. See #492729.
6098 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6101 Remove unused and uninitialised type variables that were still
6102 exported for some reason (they were never in any header files
6105 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6107 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6108 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6109 (gst_base_sink_event), (gst_base_sink_get_position_last),
6110 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6111 (gst_base_sink_change_state):
6112 Don't try to report a 0 position when we don't know, return -1 and FALSE
6113 instead. This mostly happens when we are prerolling.
6114 Make sure we can report the right position before we post the ASYNC_DONE
6115 message so that a message handler can query position without races.
6117 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6118 (async_done_handoff), (async_done_func), (send_buffer),
6119 (async_done_eos_func), (gst_sinks_suite):
6120 Add two tests for the above.
6122 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6125 Update with new email address.
6127 * docs/design/part-TODO.txt:
6128 Add some more info about future pad-block and negotiation changes.
6130 * docs/design/part-buffering.txt:
6131 Add some ideas about buffering reporting.
6133 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6135 * tests/check/gst/gstobject.c:
6136 Disable silly racy test that always fails on this combination of CPU
6139 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6141 Patch by: Murray Cumming <murrayc@murrayc.com>
6144 Corrected the registration of the parent-set and parent-unset
6145 signals: The parameter is a GstObject, not a GObject (#493134).
6147 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6149 * gst/gst_private.h:
6158 Move declaration of private _gst_foo_initialize() functions into
6159 our private header file where they should have been all along.
6161 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6163 * docs/plugins/gstreamer-plugins-sections.txt:
6164 * gst/gstdebugutils.h:
6166 * plugins/elements/gstqueue.c:
6167 gtk-doc fixes; trailing-comma-in-enum fix.
6169 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6171 * gst/gst.c: (gst_deinit):
6172 Clean up on deinit (not the external ones though, doesn't seem to be
6173 needed for some reason).
6175 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6177 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6178 Remove __declspec(dllimport) for MSVC that was copied over into core
6179 from a plugin, obviously without ever having been tested (note the
6180 single underscore in _declspec in the initial commit), and that doesn't
6181 really make sense. See #492077.
6183 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6185 * gst/gst.c: (init_post):
6186 * gst/gstevent.c: (_gst_event_initialize):
6187 * gst/gstquery.c: (_gst_query_initialize):
6188 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6189 g_type_class_ref() other types as well, see #349410 and #64764.
6191 * gst/gstbuffer.c: (_gst_buffer_initialize):
6192 * gst/gstmessage.c: (_gst_message_initialize):
6193 Simplify existing g_type_class_ref().
6195 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6197 * gst/gstformat.c: (_gst_format_initialize):
6198 g_type_class_ref() our GstFormat type to make sure we avoid the
6199 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6200 bug #64764. Should fix intermittent tee unit test failures (#474823).
6202 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6204 * tests/check/elements/tee.c: (test_num_buffers):
6205 Simplify, simplify, simplify - or not. Rewrite unit test
6206 not to use gst_parse_launch(); allow N sub-streams. Increasing
6207 the number of sub-streams seems to reproduce #474823 more easily.
6209 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6211 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6214 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6215 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6216 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6217 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6218 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6219 so use _pipe() directly (#492077).
6221 * win32/common/dirent.c: (_treaddir):
6222 Add a couple of casts to make it build without warnings with MSVC.
6224 * win32/common/libgstreamer.def:
6225 Add some more symbols that need to be exported.
6227 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6229 * tests/examples/metadata/read-metadata.c: (message_loop):
6230 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6231 arriving in a second or third tag message are added to
6232 the tag list as well.
6234 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6236 * libs/gst/base/gstbasesrc.c:
6237 Its "Since:" and not "@Since:". And remove an superflous cast.
6239 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6241 * docs/libs/gstreamer-libs-sections.txt:
6242 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6243 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6244 (gst_base_sink_get_property), (gst_base_sink_render_object),
6245 (gst_base_sink_preroll_object),
6246 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6247 (gst_base_sink_change_state):
6248 * libs/gst/base/gstbasesink.h:
6249 Add a new last-buffer property that contains the last buffer used in
6250 basesink for preroll or rendering. useful for making snapshots.
6251 API: gst_base_sink_get_last_buffer()
6252 API: GstBaseSink::last-buffer
6254 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6256 * docs/gst/running.xml:
6258 * gst/gstdebugutils.c:
6259 * gst/gstdebugutils.h:
6260 * tools/gst-launch.c:
6261 Improve bin graph dumping, by using the envvar to specify a path.
6262 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6264 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6266 * plugins/elements/gsttypefindelement.c:
6267 (gst_type_find_element_handle_event),
6268 (gst_type_find_element_activate):
6269 Post special error message if we can't determine the type of a stream
6272 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6274 * docs/gst/running.xml:
6275 * gst/gstdebugutils.c:
6276 Document new env-var. Add one log-line after dumpng a graph.
6278 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6281 Ugly hack to put the (recently removed and non-portable, apparently)
6282 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6283 GNU ld, because without that 'make check' fails miserably on my debian
6284 stable box. Someone with more knowledge of linker intricacies and
6285 portability issues than me fix this properly please.
6287 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6289 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6290 Reset last seen position after flushing so that we don't report the old
6293 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6295 * gst/gstelementfactory.c: (gst_element_register):
6297 Patch from Alessandro Decina adding get_type_full and
6298 get_protocols_full private vfuncs to the URIHandler interface
6299 to allow bindings to support creating URI handlers.
6300 Partially fixes: #339279
6301 API: GstURIHandlerInterface::get_type_full
6302 API: GstURIHandlerInterface::get_protocols_full
6304 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6306 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6307 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6308 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6309 Make it so that pads are considered linked until a buffer is pushed
6310 and discovered otherwise. This avoids problems with decodebin2 hanging
6311 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6314 Make sure we lock the multiqueue when updating the max-size properties.
6316 Fix a crash on Solaris in a debug statement in get_request_pad that
6317 passes a NULL string to GST_DEBUG.
6319 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6320 (run_output_order_test):
6321 Fix the test to allow the first buffer on not-linked pads to come out
6322 of sequence while multiqueue discovers that they are not-linked.
6324 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6327 * libs/gst/check/Makefile.am:
6328 Use a custom export symbol regex for libgstcheck, as it needs
6329 to export symbols that don't match the standard GStreamer gst_*
6330 pattern, and --export-dynamic is not portable (only works on
6333 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6334 (gst_check_setup_sink_pad):
6335 Make sure to pass a message parameter to the fail_* macros.
6337 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6338 Fix some compiler warnings.
6340 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6342 * tests/check/gst/gststructure.c: (test_to_string):
6343 Disable test that checks that white spaces are not allowed
6344 in structure names or field names, since we need to
6345 support that for now for backwards compatibility reasons.
6347 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6349 * docs/gst/gstreamer-sections.txt:
6352 API: add GST_TAG_ARTIST_SORTNAME
6353 API: add GST_TAG_ALBUM_SORTNAME
6354 API: add GST_TAG_TITLE_SORTNAME
6355 Add tag variants for sorting (#414539).
6357 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6359 * gst/gststructure.c:
6360 Also allow white space for names so we don't break
6361 backwards compatibility.
6363 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6365 * docs/design/part-TODO.txt:
6366 * docs/design/part-segments.txt:
6367 * docs/design/part-streams.txt:
6370 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6372 * docs/gst/gstreamer-sections.txt:
6373 Fixed documentation from my previous commit (added new API add
6374 gst_value_set_structure(), add gst_value_get_structure() and
6375 GST_VALUE_HOLDS_STRUCTURE).
6377 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6379 * gst/gstdebugutils.c:
6380 Reflow code to fix uninitialized variable warning.
6382 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6384 * gst/gstcaps.c: (gst_caps_to_string),
6385 (gst_caps_from_string_inplace):
6386 * gst/gststructure.c: (gst_structure_get_abbrs),
6387 (gst_structure_to_string), (gst_structure_from_string):
6388 * gst/gstvalue.c: (gst_value_set_structure),
6389 (gst_value_get_structure), (gst_value_serialize_structure),
6390 (gst_value_deserialize_structure), (_gst_value_initialize):
6392 * tests/check/gst/gststructure.c: (GST_START_TEST),
6393 (gst_structure_suite):
6394 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6395 Added GstStructure to gst_value_table and its related functions.
6396 Changed gst_structure_to_string to print ';' in the end.
6397 Changed gst_caps_to_string to not print ';' beteween its
6398 fields (structures) anymore and remove the lastes ';' from latest
6399 structure. Now it is possible to have nested structures.
6400 In addition, backward compatibilty is assured by accepting '\0' as
6401 end delimiter. Fixes: #487969.
6402 API: add gst_value_set_structure()
6403 API: add gst_value_get_structure()
6404 API: add GST_VALUE_HOLDS_STRUCTURE
6406 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6409 When no GSource callback has been set up, tell developer
6410 to use a function that actually exists.
6412 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6414 * docs/gst/gstreamer-sections.txt:
6418 * gst/gstdebugutils.c:
6419 * gst/gstdebugutils.h:
6422 * tools/gst-launch.c:
6423 Allow dumping pipelines as dot graphs. Fixes #456573.
6425 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6427 * gst/gststructure.c:
6428 Allow '+' as well, it can be part of media or mime types
6429 such as image/svg+xml.
6431 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6433 * docs/gst/gstreamer-sections.txt:
6436 API: add gst_bus_pop_filtered
6437 API: add gst_bus_timed_pop_filtered
6438 Two new functions for waiting for specific message types on the
6439 bus for a specified amount of time without iterating any main
6440 loops or main contexts.
6442 * tests/check/gst/gstbus.c:
6443 Some tests for the new functions.
6445 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6447 * docs/libs/gstreamer-libs-sections.txt:
6448 Make gtk-doc ignore stuff it should ignore.
6450 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6452 * libs/gst/check/gstcheck.c:
6453 * libs/gst/check/gstcheck.h:
6454 Allow runtime selection of unit tests to run via the GST_CHECKS
6455 environment variable (test case function names, comma-separated).
6457 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6459 * gst/gststructure.c:
6460 * tests/check/gst/gststructure.c:
6461 Revert serialisation change and constrain structure-names after
6462 consensus on irc. Update api documentation to reflect the change.
6464 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6466 * gst/gststructure.c:
6467 Improve serialization and fix tests.
6469 * tests/check/gst/gststructure.c:
6470 Add another test that covers why I actually did the previous structure
6473 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6475 * tools/gst-inspect.c: (print_element_info):
6476 Don't crash when inspecting an element.
6478 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6480 * tests/check/gst/gststructure.c:
6481 Add unit test for escaping of structure name when serialising
6482 and deserialising to/from strings.
6484 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6486 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6487 (gst_single_queue_new):
6488 * plugins/elements/gstqueue.c: (gst_queue_init),
6489 (gst_queue_push_one):
6490 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6491 upstream is tricked into thinking it can suggest a format downstream
6492 while downstream does not support that format. The real problem is that
6493 core calls acceptcaps when pushing a buffer with new caps, for which we
6494 do a little workaround by setting the caps on the srcpad ourselves
6495 before pushing the buffer (until this is figured out). Fixes #486758.
6497 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6499 * gst/gststructure.c:
6501 Add some more comments and debug output. Quote structure name to fix
6502 deserialisation of some strings.
6504 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6507 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6508 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6510 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6512 * tools/gst-inspect.c:
6513 Save approx. 400 1 byte allocs when printing. Use API to acces element
6519 * tools/gst-xmlinspect.c:
6520 Use API to acces element details.
6522 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6525 Fix some spelling errors.
6527 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6529 * gst/gstbin.c: (bin_handle_async_done):
6530 Correctly set the next state if all of our async children commited their
6531 state. This makes sure we can actually cancel the state change in
6532 progress. Fixes a regression in Rhythmbox when seeking.
6534 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6537 Don't shadow local variable.
6540 Don't shadow global function name.
6542 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6544 * gst/gstelementfactory.c:
6545 * gst/gstpluginfeature.c:
6546 * gst/gstpluginfeature.h:
6547 * gst/gstregistrybinary.c:
6548 * gst/gstregistryxml.c:
6549 * gst/gsttypefind.c:
6550 Use already-interned string for the private GstPluginFeature
6553 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6555 * docs/libs/gstreamer-libs-sections.txt:
6556 Add new API to docs; fixes the build.
6558 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6560 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6562 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6563 (gst_base_sink_event):
6564 * libs/gst/base/gstbasesink.h:
6565 Add function to wait for EOS, subclasses can use this to correctly wait
6566 for devices to drain before performing the EOS logic. Fixes #485343.
6567 API: gst_base_sink_wait_eos()
6569 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6572 Cast description string constants in GST_PLUGIN_DEFINE macros
6573 to a (gchar*) to make C++ code using these macros compile
6574 without warning with g++-4.2 (see #462737). Even if slightly
6575 ugly, this seems preferable to putting the description strings
6576 into the GLib quark table or making the structure member a
6577 const gchar * and doing casts in core code that allocs and
6578 frees these strings, or requiring a cast in the C++ code.
6580 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6583 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6584 to print the entire class/function signature into the log
6585 file for C++ code. This only affects C++ code, for C code
6586 everything remains the same.
6588 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6590 * gst/gstbin.c: (remove_from_queue):
6591 Work around a problem with pipelines containing (semi)loops until a
6592 proper, more complicated solution is ready. See #475455.
6594 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6598 * gst/gstregistrybinary.c:
6599 * gst/gstregistryxml.c:
6600 Put more strings into the GLib quark table. No need to keep
6601 a hundred-something copies of identical version strings,
6602 license strings, package name strings and package origin
6605 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6607 * docs/manual/advanced-dataaccess.xml:
6608 Don't imply that it's okay to unconditionally change
6609 buffer data or buffer metadata in a pad probe callback,
6610 and a bunch of other comments. Fixes #430031.
6612 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6614 * win32/common/gstenumtypes.c:
6615 * win32/common/gstenumtypes.h:
6616 * win32/common/gstversion.h:
6617 Update generated files.
6619 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6621 * docs/manual/advanced-autoplugging.xml:
6622 Prefix section with broken code with a warning (see #342432).
6624 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6626 * docs/manual/appendix-integration.xml:
6627 * docs/manual/basics-init.xml:
6628 Call g_thread_init() before g_option_context_new() to
6629 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6631 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6633 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6634 (gst_base_sink_queue_object_unlocked),
6635 (gst_base_sink_queue_object), (gst_base_sink_event),
6636 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6637 When we received EOS and are waiting for when to post the EOS message,
6638 our state is prerolled and we should not return ASYNC.
6639 Reorganize some code paths to implement this behavior.
6641 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6643 Add unit test to verify above EOS fix.
6645 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6647 * plugins/elements/gsttypefindelement.c:
6648 (gst_type_find_element_have_type), (gst_type_find_element_init),
6649 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6650 Move detecting the input caps of the sinkpad to the setcaps function.
6651 This allows us to update the output caps when we receive new input caps
6652 instead of always using the first detected caps.
6654 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6656 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6657 (gst_base_sink_get_position):
6658 Don't try to preroll non-async elements after a flush.
6659 Subtract latency form clock times when reporting position.
6661 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6663 * gst/gstpad.c: (gst_pad_pause_task):
6665 Small comment and documentation update.
6667 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6669 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6670 (gst_base_src_set_live), (gst_base_src_is_live),
6671 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6672 (gst_base_src_default_event), (gst_base_src_wait),
6673 (gst_base_src_do_sync), (gst_base_src_get_range),
6674 (gst_base_src_pad_get_range), (gst_base_src_loop),
6675 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6676 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6677 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6678 (gst_base_src_change_state):
6679 Rework the locking of basesrc in a similar fashion to basesink. We
6680 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6681 us to handle live sources and semi live ones much better.
6683 Fix unlocking when seeking, shutting down and pausing in live sources.
6685 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6687 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6688 Fix compilation again.
6690 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6693 Use meaningful categories for the logs to clean the default one.
6695 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6697 * tests/check/pipelines/cleanup.c:
6698 Print message name and not just number.
6700 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6702 * docs/design/draft-tagreading.txt:
6703 Add some more thoughts.
6705 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6707 * tests/check/pipelines/simple-launch-lines.c:
6708 Print message name and not just number.
6710 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6712 * libs/gst/base/gsttypefindhelper.c:
6713 Speedup typefinding. This is work in progress (see #459862).
6715 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6718 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6719 Spotted by Josep Torra Valles <josep@fluendo.com>.
6721 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6724 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6725 field has moved to GstObject.
6727 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6729 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6730 (gst_base_src_get_range), (gst_base_src_change_state):
6731 Call unlock for live sources so that they can't get stuck in _create and
6732 produce a buffer before they are set back to PLAYING.
6734 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6736 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6737 (gst_queue_locked_dequeue):
6738 Comment the segment-related code... in the PROPER function.
6739 See #482147 and my commit from yesterday.
6741 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6743 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6744 Also initialize the counter that calculates the first timestamp on a
6745 buffer correctly for non-live sources.
6747 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6749 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6750 Disable code that's breaking the current-time-level reporting.
6753 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6755 * docs/gst/gstreamer-sections.txt:
6756 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6757 as they shouldn't show up. Fixes the docs build.
6759 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6762 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6763 Define M_PI which is used in files which are including gstinfo.h.
6764 VS6 includes doesn't define it.
6765 * win32/common/libgstbase.def:
6766 * win32/common/libgstcontroller.def:
6767 * win32/common/libgstreamer.def:
6768 Add new exported functions and variables.
6769 * win32/vs6/libgstcontroller.dsp:
6770 * win32/vs6/libgstreamer.dsp:
6771 Update the list of files to build.
6773 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6775 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6777 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6778 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6779 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6780 Improve debugging. Fixes #480858.
6782 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6784 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6786 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6787 First patch of code cleanups, use the macros and right arguments in the
6788 macros to signal and lock the queue. See #480858.
6790 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6792 * gst/gstbus.c: (poll_func):
6793 Improve debugging when dealing with _poll().
6795 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6797 * gst/gstregistryxml.c:
6798 Fix memory leak I introduced a few days ago.
6800 2007-09-26 Michael Smith <msmith@fluendo.com>
6802 * gst/gstbuffer.c: (gst_buffer_finalize):
6803 Make it once again possible to free GstBuffers in the default
6805 The poisoning scribbles on parts of the miniobject we need in
6809 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6811 * docs/gst/gstreamer-sections.txt:
6814 API: add GST_TAG_COMPOSER, fixes #459809.
6816 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6820 Add the 3-clause BSD license and the MIT/X11 license to the license
6821 list. Fixes #479784.
6823 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6825 * docs/faq/getting.xml:
6826 Add Q+A about different GStreamer versions (#364056).
6828 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6830 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6831 (gst_base_sink_event), (gst_base_sink_change_state):
6832 Return correct gboolean from query function.
6834 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6836 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6837 (gst_base_sink_event), (gst_base_sink_query),
6838 (gst_base_sink_change_state):
6839 Simplify latency query.
6840 When not synchronizing, we can report latency without querying the peer
6843 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6847 Fix small typos in the docs.
6849 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6851 * docs/design/draft-latency.txt:
6852 * docs/design/draft-push-pull.txt:
6853 * docs/design/draft-tagreading.txt:
6854 * docs/design/part-MT-refcounting.txt:
6855 * docs/design/part-activation.txt:
6856 * docs/design/part-block.txt:
6857 * docs/design/part-element-source.txt:
6858 * docs/design/part-events.txt:
6859 * docs/design/part-gstbin.txt:
6860 * docs/design/part-gstelement.txt:
6861 * docs/design/part-gstobject.txt:
6862 * docs/design/part-gstpipeline.txt:
6863 * docs/design/part-messages.txt:
6864 * docs/design/part-preroll.txt:
6865 * docs/design/part-push-pull.txt:
6866 * docs/design/part-qos.txt:
6867 * docs/design/part-query.txt:
6868 * docs/design/part-scheduling.txt:
6869 * docs/design/part-seeking.txt:
6870 * docs/design/part-segments.txt:
6871 * docs/design/part-states.txt:
6872 Documentation updates and typo fixes.
6874 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6876 * plugins/elements/gstfakesink.c:
6877 Add some debug text to error message to indicate that
6878 we errored out on request.
6880 * tools/gst-launch.c:
6881 When the state change to PLAYING fails, check for an
6882 error message on the bus and print it.
6884 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6886 translated by: Jorge González González <aloriel@gmail.com>
6890 Added Spanish translation.
6892 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6894 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6895 Fix printf arguments.
6897 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6899 * tests/check/generic/states.c:
6900 Improved state change unit test.
6902 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6905 Move priv to the right place.
6907 * gst/gstsystemclock.c:
6908 Add FIXME: and improve log.
6910 * tests/check/Makefile.am:
6911 * tests/examples/manual/Makefile.am:
6912 Work with all types of registries.
6914 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6916 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6917 Don't unref the event after pushing it. Fixes #478401.
6919 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6922 * tests/examples/manual/.cvsignore:
6923 Ignore registries in any format.
6925 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6927 * gst/glib-compat-private.h:
6928 Add compatibility macro for g_intern_string() for
6929 GLib-2.8 (any reason we can't just bump the
6930 requirement to at least 2.10?)
6932 * gst/gstpadtemplate.h:
6933 * gst/gstelementfactory.c:
6934 * gst/gstregistryxml.c:
6935 * gst/gstregistrybinary.c:
6936 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6937 up the internal code accordingly. This shouldn't be a problem, since
6938 there is no reason external code could ever assume the string in such
6939 a structure is dynamically allocated unless it did that itself; the
6940 use of g_strdup() is private to element factories. The new code also
6941 saves some memory by putting pad template name strings into the GLib
6942 quark table instead of allocating them dynamically.
6943 Declaring this field constant fixes warnings with g++-4.2 when using
6944 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6946 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6948 * gst/gstelementfactory.c:
6949 Release static caps. Fixes #475723.
6951 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6955 Make some internal API take const gchar * instead of just
6956 gchar * to avoid compiler warnings with g++-4.2.2 when
6957 passing string constants (partially fixes #478092).
6959 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6961 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6962 A latency query fails when one of the sinks fail.
6964 * gst/gstelement.c: (gst_element_set_base_time):
6967 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6969 * gst/gstbin.c: (gst_bin_continue_func):
6970 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6971 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6972 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6974 Fix minor compilation warnings shown with Forte.
6976 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6978 * plugins/elements/gstqueue.c: (apply_buffer),
6979 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6980 Measure queue level based on the diff between head and tail timestamps
6981 even when pushing the first buffer.
6983 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6985 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6986 (gst_base_sink_event), (gst_base_sink_change_state):
6987 Sinks that don't preroll can always be queried for the latency.
6988 Don't post ASYNC start when we are not async.
6990 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6992 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6993 (gst_queue_handle_sink_event), (gst_queue_chain),
6994 (gst_queue_push_one), (gst_queue_handle_src_query),
6995 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6996 * plugins/elements/gstqueue.h:
6997 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6998 push more buffers but allow pushing of EOS and NEWSEGMENT.
6999 Add some more debug info here and there. Fixes #476514.
7001 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7003 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7004 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7005 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7006 (gst_base_sink_set_flushing), (gst_base_sink_query),
7007 (gst_base_sink_change_state):
7008 Latency query is allowed after we are prerolled. Introduce a new flag
7009 for this and stop abusing other variables.
7011 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7013 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7014 Push OOB events downstream when we get them in send_event. This allows
7015 the application to insert events in the pipeline.
7016 Add some more comments.
7018 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7020 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7021 (do_bin_latency), (gst_bin_change_state_func):
7022 * gst/gstpipeline.c: (gst_pipeline_change_state):
7023 Move latency query from GstPipeline to GstBin so that we can also
7024 use it when async-handling is enabled on bins.
7026 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7028 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7029 (gst_base_src_do_sync), (gst_base_src_change_state):
7031 Clean up the timestamping and syncing code for pseudo live sources.
7033 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7035 Patch by: Steve Fink <sphink gmail com>
7037 * docs/manual/appendix-checklist.xml:
7038 Mention less -R switch in the section about debug output (#474055).
7040 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7042 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7043 Queue can latency to the pipeline up to the configured max size in time.
7044 Report this fact in the latency query.
7046 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7048 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7050 * libs/gst/controller/gstinterpolation.c:
7051 * libs/gst/controller/gstlfocontrolsource.c:
7052 Use gst_guint64_to_gdouble() when converting from a uint64 or
7053 GstClockTime to double to fix the build on win32. Fixes #474371.
7055 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7057 * gst/gstbuffer.c: (gst_buffer_finalize):
7058 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7059 When finalizing a buffer the complete struct is filled with 0xff,
7060 thus making a use of the buffer after the final unref impossible.
7062 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7064 * tests/check/libs/controller.c: (GST_START_TEST):
7065 Use fail_unless_equals_int(a, b) instead of
7066 fail_unless_equals (a == b) to get better output on failures.
7068 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7070 * tests/check/gst/gsturi.c:
7071 Also check for the other file URI variant on win32.
7073 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7075 * gst/gsturi.c: (gst_uri_get_location):
7076 If there's no hostname, we want to return 'c:/foo/bar.txt'
7077 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7079 * tests/check/gst/gsturi.c:
7080 Unit test for the above and a few more things.
7082 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7084 * docs/design/part-live-source.txt:
7085 Add docs on how live sources should timestamp.
7087 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7088 Add some more debug info.
7089 For subclasses that are live and like to sync, add aditional startup
7090 latency to sync time and timestamps so that we timstamp according to the
7093 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7096 Also do a g_type_class_ref() for the subbuffer type in
7099 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7101 * docs/gst/gstreamer-sections.txt:
7102 * gst/gstpad.c: (gst_pad_peer_query):
7104 Add function to perform a query on the peer of a pad.
7105 API: gst_pad_peer_query()
7107 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7109 * tests/check/gst/gstsystemclock.c:
7110 Cleanup the test a little (use gst-logging and not g_message). Improve
7111 test to check if a wait reached the target.
7113 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7115 * docs/libs/gstreamer-libs-sections.txt:
7116 Add new API to docs and fix the build.
7118 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7120 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7121 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7122 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7123 (gst_base_src_get_property), (gst_base_src_do_sync):
7124 * libs/gst/base/gstbasesrc.h:
7125 Add property to make the basesrc timestamp buffers based on the current
7127 API: GstBaseSrc::do-timestamp
7128 API: gst_base_src_set_do_timestamp()
7129 API: gst_base_src_get_do_timestamp()
7131 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7133 * docs/random/release:
7134 Really make sure translations are up-to-date before
7135 a release (#465010).
7137 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7139 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7140 Always destroy the timer, also in error cases.
7142 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7144 * docs/manual/highlevel-xml.xml:
7145 Fix XML example code. Fixes #472714.
7147 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7149 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7150 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7151 (gst_base_sink_query):
7152 Protect eos and have_preroll with the OBJECT lock so we don't need to
7153 take the PREROLL lock when querying the latency. Fixes #473846.
7155 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7158 Give some log-messages a category.
7160 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7162 * gst/gststructure.c:
7163 (gst_structure_fixate_field_nearest_fraction):
7164 Fix fraction list fixation code. Take the fraction with the smallest
7165 difference with the target instead of the first one in the list.
7167 * tests/check/gst/gststructure.c: (GST_START_TEST),
7168 (gst_structure_suite):
7169 Added test to verify correct fraction list fixation behaviour.
7171 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7173 * win32/common/libgstreamer.def:
7174 Export gst_bus_add_signal_watch too.
7176 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7178 * docs/libs/gstreamer-libs-sections.txt:
7179 Add new methods to docs.
7181 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7182 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7183 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7184 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7185 * libs/gst/base/gstbasesink.h:
7186 Add ts-offset property to fine-tune the synchronisation.
7187 API: GstBaseSink::ts-offset property
7188 API: gst_base_sink_set_ts_offset()
7189 API: gst_base_sink_get_ts_offset()
7191 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7193 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7194 (gst_base_sink_init), (gst_base_sink_set_sync),
7195 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7196 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7197 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7198 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7199 (gst_base_sink_get_property), (gst_base_sink_change_state):
7200 * libs/gst/base/gstbasesink.h:
7201 Add async property to instruct the sink never to inform the parent about
7202 ASYNC state changes, update docs.
7203 Check argument with g_return_* for the public functions.
7204 API: GstBaseSink::async property
7205 API: gst_base_sink_set_async_enabled()
7206 API: gst_base_sink_is_async_enabled()
7208 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7210 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7213 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7214 (gst_base_src_default_query), (gst_base_src_wait),
7215 (gst_base_src_do_sync), (gst_base_src_change_state):
7216 Rearrange some code so that we can add support for measuring the
7219 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7221 * docs/random/ensonic/dynlink.txt:
7222 More thoughs on this.
7224 * plugins/elements/gstcapsfilter.c:
7225 Add bugzilla ticket number to FIXME comment.
7227 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7229 * docs/design/part-TODO.txt:
7230 * docs/design/part-block.txt:
7233 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7236 Revert patch which uses $(gst_headers) instead of $^ because it
7239 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7241 * tests/check/gst/gstbin.c: (GST_START_TEST):
7242 Fix leaks in the new unit test.
7244 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7247 Don't use GST_INFO before the debug system is actually initialised
7248 (shouldn't do any harm, but won't print anything either, so we can
7249 just as well remove it).
7252 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7253 compilers that don't support variadic macros (such as MSVC), should
7254 check for debug_level <= __gst_debug_min as well, since that's the
7255 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7256 inline helper functions. Should improve performance a bit, but also
7257 makes sure uses of GST_INFO et.al are ignored if the debugging
7258 system isn't initialised yet (instead of printing an assertion
7261 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7263 patch by: David Nečas <yeti@physics.muni.cz>
7266 Replace some non portable makefile constructs.
7268 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7270 * common/gtk-doc-plugins.mak:
7271 Grrrrr. Don't remove the types file on make clean.
7273 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7275 * tools/gst-launch.1.in:
7276 Add colorspace to example pipeline. Fixes #458274.
7278 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7280 * docs/random/release:
7281 The release manager should run 'make download-po' before making a
7282 release to make sure translations are up-to-date.
7288 Add some new translations.
7290 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7292 * tools/gst-launch.c: (event_loop), (main):
7293 Don´t try to do any state management when a live pipeline posts
7295 Also make the buffering string translatable.
7297 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7299 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7300 (bin_handle_async_start), (gst_bin_handle_message_func):
7302 When adding elements, insert messages into the bus of the newly added
7303 element and make sure the element is the source of the message. This
7304 allows the parent bin to intercept the message and do the
7305 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7306 messages to the app (which is not allowed).
7309 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7310 Fix testsuite so that is does not work around messages that should not
7311 have been posted in the first place.
7313 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7315 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7316 (update_degree), (gst_bin_sort_iterator_next):
7317 Fix annoying bug in the sorted iterator where a sink that is not really
7318 a sink (when it has downstream links) screwed up the iterator.
7320 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7321 Unit test to verify the fix.
7323 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7326 Add some more docs for the messages.
7328 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7329 (gst_base_sink_query):
7330 Add some more debugging.
7332 * tools/gst-launch.c: (event_loop):
7333 When interrupting, don't try to set pipeline to PAUSED twice.
7335 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7338 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7339 (bin_handle_async_start), (gst_bin_handle_message_func):
7340 Move ASYNC_START message posting to where it belongs, similar to
7342 Don't post ASYNC_START when we are in error.
7343 Post ASYNC_START when we added an async element to a bin.
7345 2007-08-14 Julien MOUTTE <julien@moutte.net>
7347 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7348 generation from vargs. Fixes #466595.
7350 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7352 * gst/gstbin.c: (gst_bin_element_set_state):
7353 Always change the state of a NO_PREROLL element even if it has ASYNC
7354 elements inside (in case of a bin).
7356 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7357 Unit test for this case.
7359 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7361 * libs/gst/check/gstbufferstraw.c:
7362 * libs/gst/check/gstcheck.h:
7363 * libs/gst/controller/gstcontroller.c:
7364 * libs/gst/controller/gstcontrolsource.h:
7365 * libs/gst/controller/gstlfocontrolsource.h:
7366 * plugins/elements/gstcapsfilter.h:
7367 * plugins/elements/gstfdsink.h:
7368 * plugins/elements/gstfdsrc.h:
7369 Add more missing docs.
7371 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7373 * gst/gststructure.c:
7374 Add Since tag to docs.
7376 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7378 * docs/gst/gstreamer-sections.txt:
7379 * gst/gststructure.c: (gst_structure_get_uint):
7380 * gst/gststructure.h:
7381 Add function to get uint from a structure.
7382 API: gst_structure_get_uint()
7384 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7386 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7387 (gst_caps_intersect):
7388 Fix proper check for simple caps.
7390 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7392 * docs/gst/Makefile.am:
7393 * docs/libs/Makefile.am:
7394 Remove cruft and do some cleanups.
7396 * docs/gst/gstreamer-docs.sgml:
7397 * docs/libs/gstreamer-libs-docs.sgml:
7398 Prepare for comming gtkdoc features (rebase against online docs).
7400 2007-08-10 Michael Smith <msmith@fluendo.com>
7402 * docs/gst/gstreamer-sections.txt:
7403 Add gst_registry_add_path to docs.
7405 2007-08-10 Michael Smith <msmith@fluendo.com>
7407 * gst/gstregistry.h:
7408 Add gst_registry_add_path, which was missing from this header.
7410 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7412 * libs/gst/controller/gstlfocontrolsource.c:
7415 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7417 * libs/gst/base/gstbasesink.c:
7418 Don't send an async_start message during downwards state change if
7419 target state is less than READY
7421 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7423 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7427 Added Hungarian translation.
7429 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7436 Updated translations.
7438 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7440 * libs/gst/controller/Makefile.am:
7441 Dist gstlfocontrolsourceprivate.h
7443 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7445 * docs/libs/gstreamer-libs.types:
7446 Don't register the enum type gst_lfo_waveform_get_type() in the
7447 .types file - only GObject derived types belong.
7449 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7451 Patch by: <arenevier at fdn dot fr>
7454 Remove comma from last element in enum to avoid compile errors when
7455 using -pendantic. Fixes #464366.
7457 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7459 * docs/design/part-TODO.txt:
7460 Add some more TODO items
7462 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7465 * gst/gstcaps.c: (gst_caps_intersect):
7466 Optimize trivial intersection case between identical caps pointers.
7468 * gst/gstelement.c: (gst_element_continue_state),
7469 (gst_element_set_state_func):
7471 Fix spelling and grammar mistakes.
7473 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7477 Update POTFILES. Fixes #461599.
7479 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7482 Fix confusing typo in debug output.
7484 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7486 reviewed by: Stefan Kost <ensonic@users.sf.net>
7488 * libs/gst/controller/Makefile.am:
7489 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7490 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7491 (gst_lfo_control_source_new),
7492 (gst_lfo_control_source_set_waveform),
7493 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7494 (gst_lfo_control_source_finalize),
7495 (gst_lfo_control_source_dispose),
7496 (gst_lfo_control_source_set_property),
7497 (gst_lfo_control_source_get_property),
7498 (gst_lfo_control_source_class_init):
7499 * libs/gst/controller/gstlfocontrolsource.h:
7500 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7501 API: Add GstLFOControlSource, a control source that gives values
7502 for specific timestamps based on several periodic waveforms.
7505 * tests/check/libs/controller.c: (GST_START_TEST),
7506 (gst_controller_suite):
7507 * docs/libs/gstreamer-libs-docs.sgml:
7508 * docs/libs/gstreamer-libs-sections.txt:
7509 * docs/libs/gstreamer-libs.types:
7510 Add documentation and unit tests for GstLFOControlSource.
7512 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7517 === release 0.10.14 ===
7519 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7522 releasing 0.10.14, "Breathing Vacuum"
7524 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7526 * gst/gstelement.c: (gst_element_class_set_details_simple):
7528 Make strings passed to gst_element_class_set_details_simple()
7529 constant, as they should be (#462752).
7531 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7533 * gst/gstbin.c: (gst_bin_change_state_func),
7534 (bin_handle_async_done), (gst_bin_handle_message_func):
7535 Don't forget about the fact that some element went ASYNC even after a
7536 resync. This makes us post the ASYNC_DONE message correctly.
7539 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7541 * gst/gstregistry.c: (gst_registry_add_feature):
7542 When replacing an existing feature in the registry, make sure to
7543 continue holding a reference until we've replaced the name string
7544 within our feature hash table. Make sure to use g_hash_table_replace
7545 instead of g_hash_table_insert to ensure the new name string is used
7546 as a key instead of the old one that we're about to free.
7549 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7551 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7552 (gst_plugin_feature_set_name):
7553 Revert patch from #459466 until after the release and we can work
7554 out exactly what the problem is (if any).
7556 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7558 * docs/gst/gstreamer-sections.txt:
7561 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7563 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7565 * docs/libs/Makefile.am:
7566 Include our build-prefix libs and includes before the generic ones to
7567 avoid linking against the installed libs when we want the build-tree
7570 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7572 Patch by: Steve Fink <sphink gmail com>
7574 * docs/pwg/building-testapp.xml:
7575 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7576 if people try to build or install the example from the plugin
7577 template against a GStreamer from package using the configure
7580 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7582 Patch by: Steve Fink <sphink gmail com>
7584 * tools/gst-inspect.1.in:
7585 Document --print-all and --print-plugin-auto-install-info command
7586 line options in man page.
7588 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7590 * docs/gst/gstreamer-sections.txt:
7591 Add docs for new api function.
7593 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7595 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7596 * gst/gstelementfactory.h:
7597 API: gst_element_factory_has_interface()
7598 Added method to check if an element factory implements a named
7601 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7604 * docs/gst/gstreamer.types.in:
7605 Another conditional doc check.
7608 * gst/gstparamspecs.h:
7609 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7614 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7616 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7617 (gst_registry_binary_load_feature),
7618 (gst_registry_binary_load_plugin),
7619 (gst_registry_binary_read_cache):
7620 Print error just once and with additional info.
7622 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7624 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7625 (helper_find_suggest), (helper_find_get_length),
7626 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7627 (gst_type_find_helper_for_buffer):
7628 Cleanup the typefindhelper code and add private doc comments.
7630 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7632 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7633 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7634 Fix capsfilter for cases where the caps set on capsfilter will provide
7635 additional information.
7638 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7640 * gst/gsttypefindfactory.c:
7641 Fix docs that recommened wrong function to use.
7643 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7645 * tools/gst-inspect.c: (print_plugin_features):
7646 Also give media-type for typefinders in element output.
7648 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7650 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7651 (gst_registry_remove_features_for_plugin_unlocked),
7652 (gst_registry_add_feature), (gst_registry_remove_feature),
7653 (gst_registry_lookup_feature_locked):
7654 * gst/gstregistry.h:
7655 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7658 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7660 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7661 (gst_plugin_feature_set_name):
7662 Avoid double memory usage for pluginfeature names. Fixes #459466.
7664 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7667 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7668 driving the pipeline may need to explicitly check for NOT_LINKED as
7669 well, since IS_FATAL doesn't cover that.
7671 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7673 * docs/pwg/advanced-types.xml:
7674 Fix typo and duplicate entry in video formats list.
7676 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7678 * libs/gst/controller/gstinterpolation.c:
7679 Also round to the nearest int when using cubic interpolation.
7681 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7683 * libs/gst/controller/gstinterpolation.c:
7684 When linearly interpolating integer types, round to the nearest int
7685 by adding 0.5. Don't do it for float/double types.
7686 Fixes the failing controller test on my machine, which is somehow
7687 rounding differently than on the buildbots.
7689 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7691 * tools/gst-plot-timeline.py:
7692 Better log parsing (categories can have -). Adjust text vs. lines, so
7693 that they span the same y-range.
7695 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7697 * docs/random/ensonic/audiobaseclasses.txt:
7698 * docs/random/ensonic/dynlink.txt:
7699 * docs/random/ensonic/profiling.txt:
7702 * docs/random/moving-plugins:
7703 Add note to use g_assert type macros.
7705 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7708 * libs/gst/check/Makefile.am:
7709 Add libm check as we use in for plugins.
7711 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7713 * gst/gstbin.c: (gst_bin_continue_func):
7714 Check that the state_cookie hasn't changed since the continue_func
7715 was scheduled. Avoids problems where the state changes back to
7716 something it shouldn't be because it was changed in the meantime.
7718 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7720 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7721 (gst_registry_binary_save_string),
7722 (gst_registry_binary_save_pad_template),
7723 (gst_registry_binary_save_feature),
7724 (gst_registry_binary_save_plugin),
7725 (gst_registry_binary_load_feature),
7726 (gst_registry_binary_load_plugin),
7727 (gst_registry_binary_read_cache):
7728 Fix memory leak. Be less verbose in the log.
7730 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7732 * tests/check/elements/.cvsignore:
7733 Add file to cvsignore as commanded.
7735 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7737 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7738 (mq_dummypad_event), (run_output_order_test):
7739 Use a GStaticMutex to protect all cases where libcheck
7740 fail_if/fail_unless macros might be called from multiple threads
7741 simultaneously to avoid errors like:
7742 "check_pack.c:107: :-1081725400:Bad message type arg"
7744 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7746 * tests/check/pipelines/stress.c: (GST_START_TEST):
7747 Make sure we set the pipeline back to the NULL state before
7748 dropping our final reference.
7750 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7752 * tests/check/elements/tee.c: (GST_START_TEST):
7753 Make the tee stress-test a little less stressful so it doesn't just
7754 time out on slow-machines, and remove a small race when it's starting
7755 up by adding a get_state() call.
7757 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7760 Avoid reading registry twice on startup. Fixes #457322.
7762 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7764 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7765 * pkgconfig/gstreamer-check.pc.in:
7766 Substitute the CFLAGS for libcheck into our .pc file too so that
7767 dependent modules will pick it up properly if libcheck is installed
7768 into some other prefix.
7770 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7773 Revert the pkg-config check for libcheck, since it pulls in the
7774 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7775 a proper solution, either from the check project, or something else.
7777 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7780 Use pkg-config to locate check.
7782 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7789 Add deprecation guards.
7791 * libs/gst/base/gstcollectpads.h:
7792 Don't document object (this is implicitly private).
7794 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7796 * gst/gststructure.c: (gst_structure_parse_value):
7797 When deserialising foo=bar without a type cast, check if it's a
7798 boolean before falling back to a string type, otherwise things like
7799 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7800 because the filtercaps end up having a signed=(string)true field,
7801 which causes problems later when intersection caps.
7803 * tests/check/gst/gststructure.c: (GST_START_TEST):
7804 Add a unit test for this.
7806 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7808 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7810 * libs/gst/controller/Makefile.am:
7811 * libs/gst/controller/gstcontroller.c:
7812 (gst_controlled_property_add_interpolation_control_source),
7813 (gst_controlled_property_new), (gst_controlled_property_free),
7814 (gst_controller_find_controlled_property),
7815 (gst_controller_new_valist), (gst_controller_new_list),
7816 (gst_controller_new), (gst_controller_remove_properties_valist),
7817 (gst_controller_remove_properties_list),
7818 (gst_controller_remove_properties),
7819 (gst_controller_set_property_disabled),
7820 (gst_controller_set_disabled), (gst_controller_set_control_source),
7821 (gst_controller_get_control_source), (gst_controller_get),
7822 (gst_controller_sync_values), (gst_controller_get_value_array),
7823 (_gst_controller_dispose), (gst_controller_get_type),
7824 (gst_controlled_property_set_interpolation_mode),
7825 (gst_controller_set), (gst_controller_set_from_list),
7826 (gst_controller_unset), (gst_controller_unset_all),
7827 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7828 * libs/gst/controller/gstcontroller.h:
7829 * libs/gst/controller/gstcontrollerprivate.h:
7830 * libs/gst/controller/gstcontrolsource.c:
7831 (gst_control_source_class_init), (gst_control_source_init),
7832 (gst_control_source_get_value),
7833 (gst_control_source_get_value_array), (gst_control_source_bind):
7834 * libs/gst/controller/gstcontrolsource.h:
7835 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7836 (gst_object_get_control_source):
7837 * libs/gst/controller/gstinterpolation.c:
7838 (gst_interpolation_control_source_find_control_point_node),
7839 (gst_interpolation_control_source_get_first_value),
7840 (_interpolate_none_get), (interpolate_none_get),
7841 (interpolate_none_get_boolean_value_array),
7842 (interpolate_none_get_enum_value_array),
7843 (interpolate_none_get_string_value_array),
7844 (_interpolate_trigger_get), (interpolate_trigger_get),
7845 (interpolate_trigger_get_boolean_value_array),
7846 (interpolate_trigger_get_enum_value_array),
7847 (interpolate_trigger_get_string_value_array):
7848 * libs/gst/controller/gstinterpolationcontrolsource.c:
7849 (gst_control_point_free), (gst_interpolation_control_source_reset),
7850 (gst_interpolation_control_source_new),
7851 (gst_interpolation_control_source_set_interpolation_mode),
7852 (gst_interpolation_control_source_bind),
7853 (gst_control_point_compare), (gst_control_point_find),
7854 (gst_interpolation_control_source_set_internal),
7855 (gst_interpolation_control_source_set),
7856 (gst_interpolation_control_source_set_from_list),
7857 (gst_interpolation_control_source_unset),
7858 (gst_interpolation_control_source_unset_all),
7859 (gst_interpolation_control_source_get_all),
7860 (gst_interpolation_control_source_get_count),
7861 (gst_interpolation_control_source_init),
7862 (gst_interpolation_control_source_finalize),
7863 (gst_interpolation_control_source_dispose),
7864 (gst_interpolation_control_source_class_init):
7865 * libs/gst/controller/gstinterpolationcontrolsource.h:
7866 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7867 API: Refactor GstController into the core controller which can take
7868 a GstControlSource for providing actual values for timestamps.
7869 Implement a interpolation control source and use this for backward
7870 compatibility, deprecate a bunch of functions that are now handled
7871 by GstControlSource or GstInterpolationControlSource.
7872 Make it possible to disable the controller completely or only for
7873 specific properties. Fixes #450711.
7874 * docs/libs/gstreamer-libs-docs.sgml:
7875 * docs/libs/gstreamer-libs-sections.txt:
7876 * docs/libs/gstreamer-libs.types:
7877 Add new functions and classes to the docs.
7878 * tests/check/libs/controller.c: (GST_START_TEST),
7879 (gst_controller_suite):
7880 * tests/examples/controller/audio-example.c: (main):
7881 Port unit test and example to the new API and add some new
7884 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7886 Patch by: Mark Nauwelaerts <manauw at skynet be>
7888 * plugins/elements/gstmultiqueue.c:
7889 (gst_multi_queue_get_internal_links), (apply_buffer),
7890 (single_queue_overrun_cb), (gst_single_queue_new):
7891 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7892 the pipeline layout can be tracked correctly. Fixes #453732.
7894 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7896 * docs/gst/Makefile.am:
7897 * docs/libs/Makefile.am:
7898 * docs/plugins/Makefile.am:
7899 Simplify --extra-dir as gtkdoc scans recursively.
7901 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7903 * tools/gst-launch.c: (main):
7904 When we got an error, there is no point in waiting for preroll when
7907 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7909 * plugins/elements/gsttee.c: (gst_tee_base_init),
7910 (gst_tee_request_new_pad), (gst_tee_release_pad),
7911 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7912 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7914 Be a lot smarter when deciding what srcpad to use for proxying
7915 the buffer_alloc. Also handle pad added/removed when doing so.
7917 Keep track of what pads we already pushed on in case we have pads
7918 added/removed while pushing. Fixes #374639
7920 * tests/check/Makefile.am:
7921 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7923 Added unit test for pad resync.
7925 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7929 Updated translations.
7931 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7933 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7937 Added new Finnish translation.
7939 2007-06-28 Wim Taymans <wim@fluendo.com>
7941 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7942 (single_queue_overrun_cb):
7943 When figuring out when a queue is filled, use our internal time estimate
7944 based on segments, just like check_full does.
7946 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7948 * gst/gstminiobject.c: (gst_mini_object_get_type):
7949 Remove 3 do-nothing methods.
7951 2007-06-27 Wim Taymans <wim@fluendo.com>
7953 Patch by: Tim Angus <tim at ngus dot net>
7955 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7956 (gst_capsfilter_set_property):
7957 Take a reference instead of a copy when setting "caps".
7958 Fix documentation to clarify this behaviour. Fixes #449414.
7960 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7962 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7963 * gst/gstplugin.c: (gst_plugin_init):
7964 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7965 * gst/gstquery.c: (gst_query_get_type):
7966 * gst/gstregistry.c: (gst_registry_init):
7967 * gst/gsturi.c: (gst_uri_handler_base_init):
7968 Remove empty instance_init() functions to save relocs and lessen the
7969 noise. Remove some of the function prototypes that are doubled by
7972 2007-06-27 Wim Taymans <wim@fluendo.com>
7974 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7976 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7977 Add peer and direction in the XML serialisation of ghostpads.
7980 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7983 Preserve useful information, thanks Tim.
7985 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7987 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7988 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7989 (gst_single_queue_push_one), (gst_multi_queue_loop),
7990 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7991 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7992 (compute_high_id), (gst_single_queue_new):
7993 * plugins/elements/gstmultiqueue.h:
7994 Take the multiqueue lock when updating the fill level so we don't get
7997 After applying a buffer or event on the src pad segment, make sure to
7998 call gst_data_queue_limits_changed() to get the data queue to unblock
7999 and check the filled state again.
8001 Rework the not-linked pad handling so the logic is that not-linked
8002 pads can push as fast as they like, but only so they never get
8003 ahead of any linked pads.
8005 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8006 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8007 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8009 Add a test to check that not-linked pads always stay behind
8014 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8016 * docs/random/release:
8017 Some updates to the release procedure.
8019 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8021 * gst/gstelementfactory.c: (__gst_element_details_clear):
8022 Microoptimization that saves stunning 80 bytes.
8024 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8026 * docs/plugins/gstreamer-plugins.args:
8027 * docs/plugins/inspect/plugin-coreelements.xml:
8028 * docs/plugins/inspect/plugin-coreindexers.xml:
8029 Update docs with caps info.
8031 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8034 Updated Italian translation.
8036 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8040 Update Vietnamese translations.
8042 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8044 * libs/gst/base/gstbasesink.c:
8045 Remove unused signal enum.
8047 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8049 * docs/gst/gstreamer-sections.txt:
8051 * gst/gstutils.c: (gst_type_register_static_full):
8052 Beef up and include the docs for gst_type_register_static_full and
8053 gst_element_class_set_details_simple and add the API keyword
8056 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8058 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8059 (update_time_level), (gst_single_queue_push_one),
8060 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8061 (single_queue_overrun_cb), (single_queue_underrun_cb),
8062 (single_queue_check_full):
8063 Fix setting max-* properties after adding queues.
8064 Use IS_FILLED for checking visible items.
8065 Signal overrun if multiple queues overrun.
8066 Add extra debug output.
8067 Patch by: Wim Taymans <wim@fluendo.com>
8069 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8071 * gst/gstelement.c: (gst_element_class_set_details_simple):
8073 * gst/gstutils.c: (gst_type_register_static_full):
8075 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8076 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8077 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8078 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8079 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8080 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8081 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8082 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8083 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8084 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8085 (apply_buffer), (gst_queue_chain):
8086 * plugins/elements/gsttee.c: (gst_tee_base_init):
8087 * plugins/elements/gsttypefindelement.c:
8088 (gst_type_find_element_base_init),
8089 (gst_type_find_element_class_init):
8090 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8091 API: add gst_type_register_static_full
8092 API: add gst_element_class_set_details_simple
8094 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8096 * docs/pwg/advanced-types.xml:
8097 Fix typo in iana.org URI.
8099 2007-06-19 Andy Wingo <wingo@pobox.com>
8101 * tests/check/pipelines/simple-launch-lines.c
8102 (test_state_change_returns): Enable pull-mode tests now that
8103 basesink has been fixed.
8105 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8106 Changed from gst_base_sink_is_prerolled, reversing the sense of
8107 the return value. Returns FALSE also if the sink is in pull mode,
8108 in which case it needs no preroll.
8109 (gst_base_sink_query, gst_base_sink_change_state): Update for
8110 needs_preroll change.
8111 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8112 chaining up, in which we return SUCCESS directly if we activated
8113 in pull mode instead of ASYNC. Involves countering an async_start
8114 message sent before chaining up; not sure if this is correct, in
8115 an ideal world we only send async-start when activating in push
8118 * tests/check/pipelines/simple-launch-lines.c
8119 (test_state_change_returns): New test, partially disabled until
8122 2007-06-19 Wim Taymans <wim@fluendo.com>
8124 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8125 (gst_multi_queue_sink_event):
8128 2007-06-19 Wim Taymans <wim@fluendo.com>
8130 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8131 (gst_bin_change_state_func), (bin_push_state_continue),
8132 (bin_handle_async_start), (bin_handle_async_done),
8133 (gst_bin_handle_message_func):
8134 Move the common code for posting state-change messages into
8136 Broadcast the state signal after we posted the messages.
8137 Mark the bin as busy when it's doing a state-change.
8138 Make sure async-start/done messages don't interfere with the bin's
8139 state when it's busy.
8140 After the state change, let the bin check which elements completed the
8141 state change while it was busy so that it can update its state.
8143 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8145 * docs/random/release:
8146 Add a note about updating the doap file to the release checklist
8148 2007-06-18 Wim Taymans <wim@fluendo.com>
8150 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8151 (gst_single_queue_push_one), (gst_multi_queue_chain),
8152 (gst_multi_queue_sink_event):
8153 Make sure we don't reference the buffer/event after we have given away
8154 ownership in the queue.
8156 2007-06-18 Wim Taymans <wim@fluendo.com>
8158 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8159 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8160 Update queue state _after_ adding the item in the queue because else we
8161 could end up being full without the element added yet.
8163 2007-06-18 Wim Taymans <wim@fluendo.com>
8165 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8166 (gst_bin_remove_func), (gst_bin_get_state_func),
8167 (gst_bin_element_set_state), (gst_bin_continue_func),
8168 (bin_push_state_continue), (bin_handle_async_start),
8169 (bin_handle_async_done), (gst_bin_handle_message_func):
8171 Immediatly commit the toplevel bin state when receiving an async-done
8172 message. This enables us to avoid spawning a thread to commit the state
8173 in some common cases and it also avoids some races.
8174 Avoid spawning a state thread when adding/removing async elements to a
8175 toplevel bin. Instead we immediatly update the bin state.
8176 Get rid of iterating all the children when getting the state in the bin
8177 because it is now always up-to-date.
8178 Fix bug where locked elements would always return _SUCCESS even it they
8179 returned NO_PREROLL before being locked.
8180 Fix the order of the state_change, async-start/done messages that was
8181 sometimes incorrect.
8182 Mark the state_dirty field as deprecated, we don't need it anymore as we
8183 are always up-to-date.
8185 * gst/gstelement.c: (gst_element_get_state_func),
8186 (gst_element_continue_state):
8187 Small debug inprovements.
8188 Return the previous element state return when nothing is pending instead
8189 of blindly returning SUCCESS.
8191 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8193 Add a whole bunch of new testcases.
8195 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8199 Update translations.
8201 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8204 Fix typo in the docs.
8206 2007-06-15 Wim Taymans <wim@fluendo.com>
8208 * docs/libs/gstreamer-libs-sections.txt:
8209 Add docs for new methods.
8211 2007-06-15 Wim Taymans <wim@fluendo.com>
8213 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8214 (gst_multi_queue_item_new):
8215 Don't use GSlice because we don't depend on >= 2.10 yet.
8217 2007-06-15 Wim Taymans <wim@fluendo.com>
8219 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8220 (update_time_level), (apply_segment), (apply_buffer),
8221 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8222 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8223 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8224 (single_queue_underrun_cb), (single_queue_check_full):
8225 Remove debug printf.
8227 2007-06-15 Wim Taymans <wim@fluendo.com>
8229 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8230 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8231 (gst_data_queue_set_flushing), (gst_data_queue_push),
8232 (gst_data_queue_pop), (gst_data_queue_drop_head),
8233 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8234 * libs/gst/base/gstdataqueue.h:
8236 Added methods to get the current levels and to inform the queue that the
8237 'full' limits changed.
8239 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8240 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8241 (gst_single_queue_flush), (update_time_level), (apply_segment),
8242 (apply_buffer), (gst_single_queue_push_one),
8243 (gst_multi_queue_item_steal_object),
8244 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8245 (gst_multi_queue_loop), (gst_multi_queue_chain),
8246 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8247 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8248 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8249 (single_queue_underrun_cb), (single_queue_check_full),
8250 (gst_single_queue_new):
8251 Keep track of time in the queue by measuring the difference between
8252 running_time on input and output. This gives more accurate results and
8253 can compensate for segments correctly.
8254 Make a queue by default only 5 buffers deep. We will now increase the
8255 buffer size depending on the filledness of the other queues.
8256 Factor out commong flush code.
8257 Make sure we don't add additional refcounts to buffers when we can avoid
8259 Propagate GstFlowReturn differently.
8260 Use GSlice for intermediate GstMultiQueueItems.
8262 Resize queues on over and underruns based on filled level of other
8264 When checking if the queue is filled, prefer to measure in time if we
8265 can and fall back to bytes when no time is known.
8267 * plugins/elements/gstqueue.c:
8270 2007-06-15 Wim Taymans <wim@fluendo.com>
8272 * libs/gst/base/gstbasetransform.c:
8273 (gst_base_transform_sink_event):
8274 Work around the brokenness of the event vmethod in basetransform. Prefer
8275 to return TRUE when the subclass returned FALSE (meaning don't forward
8278 * libs/gst/base/gstbasetransform.h:
8281 2007-06-15 Wim Taymans <wim@fluendo.com>
8283 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8284 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8285 (gst_base_src_default_query), (gst_base_src_get_range),
8286 (gst_base_src_start):
8287 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8290 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8292 * docs/pwg/advanced-types.xml:
8293 Added more formats to caps table.
8295 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8297 * tools/gst-launch.c: (main):
8298 Remove crufy code. GOption does not need this workaround.
8300 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8302 * libs/gst/controller/gstcontroller.c:
8303 (gst_controlled_property_set_interpolation_mode):
8304 Fix wrong getter for enums in controller.
8306 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8308 * libs/gst/check/gstcheck.c: (gst_check_init):
8309 Intercept criticals and warnings in the Gst-Phonon log domain, so
8310 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8313 2007-06-14 Edward Hervey <edward@fluendo.com>
8315 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8316 Since this file doesn't include "gst.h" it will not go through the
8317 macros that disable GST_LOG if debugging was disabled.
8319 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8321 * libs/gst/check/Makefile.am:
8322 * libs/gst/check/gstcheck.h:
8323 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8324 * pkgconfig/gstreamer-check.pc.in:
8325 Ugly 'fix' for the controller unit test on the p5 bot: in
8326 fail_unless_equals_float() check whether the values are 'almost
8327 equal' by allowing a small absolute error, which should be good
8328 enough for our use cases (normal numbers and values close to 0).
8329 Proper fixage left to floating point arithmetic aficionados.
8331 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8333 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8334 (gst_base_sink_render_object), (gst_base_sink_get_position):
8335 Add two breaks thats where missing.
8337 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8339 * docs/libs/gstreamer-libs-sections.txt:
8340 * libs/gst/check/gstcheck.h:
8341 API: add fail_unless_equals_float() and assert_equals_float().
8342 Add documentation for some of the macros.
8344 * tests/check/libs/controller.c: (GST_START_TEST):
8345 Use newly-added asserts.
8347 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8349 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8350 Show the caps change in the log to help spotting the case of not
8351 exactly matching caps.
8353 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8355 * docs/pwg/building-boiler.xml:
8356 Fix typos, spotted by Thijs Vermeir (#447190).
8358 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8360 * docs/plugins/tmpl/.cvsignore:
8361 Ignore file to keep the buildbots happy
8363 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8365 * docs/plugins/Makefile.am:
8366 * docs/plugins/gstreamer-plugins-docs.sgml:
8367 * docs/plugins/gstreamer-plugins-sections.txt:
8368 Pull fdsink into the docs too.
8370 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8372 * libs/gst/controller/gstinterpolation.c:
8373 Actually use the new functions with min/max checks for the trigger and
8374 none interpolation modes for get() and get_value_array() instead of
8377 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8379 * libs/gst/controller/gstcontroller.c:
8380 (gst_controlled_property_free):
8381 Unset the minimum and maximum GValues when freeing the corresponding
8382 GstControllerProperty struct.
8384 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8386 * libs/gst/controller/gstcontroller.c:
8387 (gst_controlled_property_new):
8388 * libs/gst/controller/gstcontrollerprivate.h:
8389 * libs/gst/controller/gstinterpolation.c:
8390 (gst_controlled_property_find_control_point_node),
8391 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8392 (interpolate_none_get_string_value_array),
8393 (interpolate_trigger_get),
8394 (interpolate_trigger_get_enum_value_array),
8395 (interpolate_trigger_get_string_value_array):
8396 Protect against values larger or smaller than the minimum or maximum
8397 allowed value for the property when using values that can be compared.
8399 Optimize trigger interpolator a bit by taking the last requested value
8400 into account instead of always looping through the complete list.
8402 Fix coding style a bit, everywhere else we use "return foo" instead
8405 * tests/check/libs/controller.c: (GST_START_TEST),
8406 (gst_controller_suite):
8407 Add unit test for the protection against too large or too small
8410 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8412 * docs/random/slomo/controller.txt:
8413 Add some thoughts about the future of the controller.
8415 2007-06-08 Wim Taymans <wim@fluendo.com>
8417 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8418 Don't overflow in retimestamping code.
8420 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8422 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8423 Use gst_util_guint64_to_gdouble for conversions.
8424 * win32/common/libgstreamer.def:
8425 Add new exported functions.
8427 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8430 Small docs addition.
8432 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8435 Remove that test line again.
8437 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8440 Test commit mail sending.
8442 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8445 Fix typo and test commit mail sending.
8447 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8449 * tests/examples/controller/audio-example.c:
8450 Improve comment and test commit mail sending.
8452 2007-06-07 Wim Taymans <wim@fluendo.com>
8454 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8455 (gst_bin_remove_func), (gst_bin_element_set_state),
8456 (bin_handle_async_start), (bin_handle_async_done),
8457 (gst_bin_handle_message_func):
8458 Add helper function to find messages.
8459 Generate the async-done messages together with the state change
8461 Small cleanups in handling toplevel bins.
8463 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8465 * libs/gst/base/gstdataqueue.c:
8466 * libs/gst/base/gstdataqueue.h:
8467 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8468 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8469 (gst_multi_queue_sink_event):
8470 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8471 Fix multiqueue leaking buffers and events when downstream or the
8472 queue are flushing. Make refcounting assumptions explicit and
8473 document them (shouldn't break existing code that uses it other than
8474 maybe leak miniobjects, but that already happens anyway). Add unit
8475 test for the most common flushing case. Fixes #423700.
8477 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8479 * libs/gst/controller/gstcontroller.c:
8480 Clarify docs: The get_all, get_value_array(s) functions
8481 don't modify the GObject properties.
8483 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8485 * libs/gst/controller/gstcontroller.c:
8486 (gst_controlled_property_set_interpolation_mode),
8487 (gst_controlled_property_prepend_default),
8488 (gst_controlled_property_new), (gst_controller_set_unlocked),
8489 (gst_controller_set), (gst_controller_set_from_list),
8490 (gst_controller_unset), (gst_controller_unset_all):
8491 * libs/gst/controller/gstcontrollerprivate.h:
8492 * libs/gst/controller/gstinterpolation.c:
8493 Factor out the 'set' logic into gst_controller_set_unlocked for the
8494 gst_controller_set and gst_controller_set_from_list functions.
8496 To make life of the interpolators easier always add a control point
8497 at timestamp zero with the default value.
8499 In the linear interpolator make things more obvious by better variable
8502 Implement cubic interpolation mode (by using a natural cubic spline)
8503 and map the quadratic interpolation mode to this too (as quadratic
8504 doesn't make much sense, see discussion on the list).
8506 * tests/check/libs/controller.c: (GST_START_TEST),
8507 (gst_controller_suite):
8508 Add unit test for the cubic interpolation mode and check everywhere
8509 if the interpolation mode could be set as expected.
8511 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8513 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8514 Don't use GLib-2.10 functions, we still depend on
8515 GLib-how-old-is-it-again-2.8.
8517 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8519 * docs/gst/gstreamer-sections.txt:
8523 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8524 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8525 (_gst_param_fraction_values_cmp),
8526 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8527 * gst/gstparamspecs.h:
8529 * tests/check/Makefile.am:
8530 * tests/check/gst/.cvsignore:
8531 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8532 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8533 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8534 (GST_START_TEST), (gst_param_spec_suite):
8535 API: add GstParamSpecFraction, so elements can have fraction
8536 properties without lots of painful string parsing (#444648).
8538 2007-06-05 Wim Taymans <wim@fluendo.com>
8540 * gst/gstobject.c: (gst_object_class_init):
8541 Fix signal signature.
8544 Add small clarification in the api docs.
8546 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8547 States are protected with object lock.
8549 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8552 I should probably be listed as an author by now.
8554 * docs/random/release:
8555 Update the release doc
8557 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8560 Make docs for gst_value_compare() mention return enums that
8563 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8568 === release 0.10.13 ===
8570 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8573 releasing 0.10.13, "With or without you"
8575 2007-05-25 Wim Taymans <wim@fluendo.com>
8577 * gst/gstbin.c: (bin_handle_async_done):
8578 Make sure that the child bin stops after completing the async state
8579 change so that the parent can continue the state change to PLAYING.
8582 2007-05-25 Wim Taymans <wim@fluendo.com>
8584 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8585 (unref_data), (gst_collect_pads_remove_pad),
8586 (gst_collect_pads_check_pads):
8587 Use additional refcounting to avoid crashes when dynamically adding and
8588 removing pads. Fixes #420206.
8590 2007-05-24 Wim Taymans <wim@fluendo.com>
8592 * tools/gst-launch.c: (event_loop):
8593 When buffering goes from a two digit to a single digit number, make sure
8594 to remove the old second digit by writing a blank over it.
8596 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8598 * libs/gst/base/gstdataqueue.c:
8599 Eliminate tabs and trailing comma in enum list; fix some typos.
8601 2007-05-24 Wim Taymans <wim@fluendo.com>
8603 * tests/check/gst/gstbin.c: (GST_START_TEST):
8604 Allow refcount of 3 and 4 because some state thread might still be busy
8607 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8609 * plugins/elements/Makefile.am:
8610 * plugins/elements/gstmultiqueue.h:
8611 * plugins/elements/gstqueue.h:
8612 These are not installed headers, no need for padding.
8614 2007-05-24 Wim Taymans <wim@fluendo.com>
8616 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8617 (gst_bin_continue_func):
8618 Enable latency for next release.
8619 Restore STATE_LOCK around recalc_state that was left out during the
8620 rewrite and could result in racy behaviour when _get_state and
8621 recalc_state are run concurrently. See #440463.
8623 2007-05-23 Wim Taymans <wim@fluendo.com>
8625 * tests/check/gst/gstsystemclock.c: (store_callback),
8627 Improve test_async_order to also work when both timers are already
8628 expired when we get scheduled to check it.
8630 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8632 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8633 (gst_bin_set_property), (gst_bin_get_property),
8634 (gst_bin_remove_func), (gst_bin_handle_message_func):
8636 'private' is a c++ keyword, let's not use that in header files,
8637 otherwise c++ compilers will throw a tantrum.
8639 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8641 * plugins/elements/gstelements.c:
8642 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8643 (gst_file_sink_get_current_offset):
8644 * plugins/indexers/gstindexers.c: (plugin_init):
8645 Use #ifdef for HAVE_XYZ for consistency.
8647 * tests/check/Makefile.am:
8648 * tests/check/elements/.cvsignore:
8649 * tests/check/elements/filesink.c: (setup_filesink),
8650 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8651 Add some unit tests for filesink.
8653 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8655 Patch by: Mark Nauwelaerts <manauw at skynet be>
8657 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8658 (gst_file_sink_query), (gst_file_sink_do_seek),
8659 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8660 * plugins/elements/gstfilesink.h:
8661 Fix position reporting; rename data_written member to current_pos to
8662 reflect its real meaning (fixes #412648).
8664 2007-05-22 Edward Hervey <edward@fluendo.com>
8666 * docs/gst/gstreamer-sections.txt:
8667 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8668 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8669 (gst_bin_remove_func), (gst_bin_handle_message_func):
8671 Add a property for bins that handle the state change of their childs.
8674 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8676 * libs/gst/controller/gstinterpolation.c:
8677 Use an array of the correct type when using _get_value_array with
8678 linear interpolation.
8680 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8682 * gst/gstelement.c (gst_element_requires_clock,
8683 gst_element_provides_clock, gst_element_request_pad,
8684 gst_element_class_set_details, gst_element_class_set_details_simple,
8685 gst_element_default_send_event, gst_element_abort_state,
8686 gst_element_continue_state, gst_element_set_state,
8687 gst_element_set_state_func, iterator_activate_fold_with_resync):
8688 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8689 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8690 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8691 gst_pad_get_range, gst_pad_pull_range):
8692 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8693 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8694 GstPadActivateModeFunction, GstPadChainFunction,
8695 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8696 GstPadFixateCapsFunction, GstPadTemplate):
8697 * gst/gstpipeline.c (gst_pipeline_change_state,
8698 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8699 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8700 gst_pipeline_get_delay):
8701 Whitespace and docs fixes.
8703 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8705 * libs/gst/controller/gstinterpolation.c:
8706 (interpolate_trigger_get_enum_value_array),
8707 (interpolate_trigger_get_string_value_array):
8708 Add support for retrieving value arrays when using the trigger
8711 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8713 * libs/gst/controller/gstcontroller.c:
8714 (gst_controller_get_value_array):
8715 * libs/gst/controller/gstcontroller.h:
8716 Clarify the docs of gst_controller_get_value_array(): The array where
8717 the values should be written to must be allocated as there seems to be
8718 no way to get the size of a random GType. This doesn't change any
8719 behaviour. Also fix some typos all over the place and remove an unused,
8720 commented function that is not necessary as g_object_set() could be
8722 * tests/check/libs/controller.c: (GST_START_TEST),
8723 (gst_controller_suite):
8724 Add unit test for gst_controller_get_value_array().
8726 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8728 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8730 Disable part of the gst_buffer_try_new_and_alloc test, because
8731 it can happily succeed on 64-bit systems where there's more address
8734 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8736 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8737 Add unit test for the improved caps checking from bug #421543.
8739 2007-05-21 Wim Taymans <wim@fluendo.com>
8741 * docs/design/part-synchronisation.txt:
8744 * gst/gstbin.c: (gst_bin_query):
8745 * plugins/elements/gstqueue.c: (apply_segment):
8751 2007-05-21 Wim Taymans <wim@fluendo.com>
8753 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8754 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8755 (gst_pad_configure_src):
8756 Added simple version of improved caps checking. It was previously
8757 assumed that a setcaps function would check the validity of the caps but
8758 people prefer us to check caps against the template automatically.
8761 2007-05-21 Wim Taymans <wim@fluendo.com>
8763 * libs/gst/base/gstbasetransform.h:
8764 Fix macro for locking/unlocking the transform lock.
8766 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8768 * docs/plugins/tmpl/.cvsignore:
8771 2007-05-18 Edward Hervey <edward@fluendo.com>
8773 * plugins/elements/gstqueue.c: (gst_queue_loop):
8774 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8775 for the subtle art of warning a potentially blocking thread that it
8776 should check the source pad return value, and relay the information
8779 2007-05-18 Edward Hervey <edward@fluendo.com>
8781 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8782 Release the queue lock !
8784 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8786 * docs/libs/gstreamer-libs-sections.txt:
8787 Add the two new controller functions to the appropiate places.
8789 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8791 reviewed by: Stefan Kost <ensonic@users.sf.net>
8793 * libs/gst/controller/gstcontroller.c:
8794 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8795 (_gst_controller_get_property), (_gst_controller_set_property),
8796 (_gst_controller_init), (_gst_controller_class_init):
8797 * libs/gst/controller/gstcontroller.h:
8798 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8799 (gst_object_get_control_rate), (gst_object_set_control_rate):
8800 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8801 Add API that provides sync suggestion timestamps for elements that
8802 call gst_object_sync_values() from which those elements can subdivide
8803 their processing loop to get the best results for the controlled
8804 properties. For now it just suggests last_sync + control_rate as
8805 new timestamp but this will be improved in the future.
8807 While doing that change the control-rate property to a GstClockTime
8808 from guint and change it's meaning from samples to nanoseconds as
8809 the GstController doesn't know anything about sampling rate. Strictly
8810 speaking this breaks ABI but as the control-rate property didn't do
8811 anything in the past and as such couldn't be used this should be no
8814 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8816 reviewed by: Stefan Kost <ensonic@users.sf.net>
8818 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8819 (gst_controller_unset_all):
8820 * libs/gst/controller/gstcontrollerprivate.h:
8821 * libs/gst/controller/gstinterpolation.c:
8822 (gst_controlled_property_find_control_point_node):
8823 Save last synced value from the list to continue searching from there
8824 in future syncs. This speeds everything up a bit.
8826 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8828 reviewed by: Stefan Kost <ensonic@users.sf.net>
8830 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8831 (gst_control_point_find), (gst_controlled_property_new),
8832 (gst_control_point_free), (gst_controlled_property_free),
8833 (gst_controller_set), (gst_controller_set_from_list),
8834 (gst_controller_unset), (gst_controller_unset_all),
8835 (gst_controller_sync_values):
8836 * libs/gst/controller/gstcontroller.h:
8837 * libs/gst/controller/gstcontrollerprivate.h:
8838 * libs/gst/controller/gstinterpolation.c:
8839 (gst_controlled_property_find_control_point_node),
8840 (interpolate_none_get), (interpolate_trigger_get):
8841 Add a new private GstControlPoint struct which "inherits" from
8842 GstTimedValue to allow different interpolators to store internal
8843 values next to each control point. From the outside everything is
8844 still a GstControlPoint so we don't loose binary compatibility.
8845 Also fixup all the GValue handling to not leak GValues or list nodes.
8846 * tests/check/libs/controller.c: (GST_START_TEST):
8847 Free the list nodes and GValues in the controller_misc test.
8849 2007-05-17 Edward Hervey <edward@fluendo.com>
8854 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8856 * gst/gstplugin.c: (gst_plugin_load_file):
8857 If we fail to load a plugin because of unresolved symbols or missing
8858 libraries and spew a warning to stderr, we may just as well mention
8859 which plugin it was that failed to load.
8861 2007-05-13 David Schleef <ds@schleef.org>
8863 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8864 handles the case when ENABLE_GTK_DOC is false, and installs
8865 the prebuilt documentation. So gtk-doc subdirs are
8866 unconditionally enabled. Fixes: #349099.
8868 2007-05-13 David Schleef <ds@schleef.org>
8870 * gst/gstutils.h: Reword some documentation.
8872 2007-05-12 David Schleef <ds@schleef.org>
8874 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8875 do anything with the passed "module" parameter, so remove it.
8876 Allows removal of additional vestigal code.
8878 2007-05-12 David Schleef <ds@schleef.org>
8881 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8882 Switch to using g_stat() because it's more portable.
8884 2007-05-12 David Schleef <ds@schleef.org>
8887 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8888 parsing for embedded systems.
8889 * gst/gstelementfactory.c:
8890 Allow gst_element_register() to be called with plugin==NULL.
8891 Did nobody notice that static elements were broken?
8893 2007-05-12 Wim Taymans <wim@fluendo.com>
8895 * tools/gst-launch.c: (event_loop):
8896 Give more interesting info when buffering starts and stops.
8897 Fix case where buffering starts but we fail to update the buffering flag
8898 because the target state is not PLAYING.
8900 2007-05-12 Wim Taymans <wim@fluendo.com>
8902 * plugins/elements/gstqueue.c: (gst_queue_init),
8903 (gst_queue_finalize), (update_time_level), (apply_segment),
8904 (apply_buffer), (gst_queue_locked_flush),
8905 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8906 (gst_queue_handle_sink_event), (gst_queue_chain),
8907 (gst_queue_push_one), (gst_queue_loop):
8908 * plugins/elements/gstqueue.h:
8909 Refactor an cleanup queue a bit.
8910 Do better time level calculations that also work when the srcpad is not
8912 Remove some unneeded debug lines.
8914 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8915 Added testcase for time level measurement.
8916 Try to make some stuff more racefree.
8918 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8920 * gst/gsturi.c: (gst_element_make_from_uri):
8921 Don't leak plugin feature.
8923 * tests/check/Makefile.am:
8924 * tests/check/gst/.cvsignore:
8925 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8926 Add brain-dead unit test.
8928 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8930 Patch by: Jeroen Wouters <woutersj at gmail com>
8932 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8933 Treat protocol strings in a case-insensitive way (#437563).
8935 2007-05-11 Michael Smith <msmith@fluendo.com>
8937 * gst/gstplugin.c: (gst_plugin_load_file):
8938 * gst/gstregistry.c: (gst_registry_scan_path_level):
8939 Don't print a g_warning for any failure to load a shared object.
8940 Instead, push this down into gstplugin.c, and warn _only_ if we
8941 failed to open the module (i.e. failure to link).
8942 Avoids warnings on normal, working, non-plugin .so files.
8944 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8946 * gst/gstplugin.c (gst_plugin_load_file):
8947 * gst/gstregistry.c (GST_CAT_DEFAULT,
8948 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8949 Print a g_warning if there was an error when loading a plugins during
8950 registry scan. The shuld help beginners starting with gst-plugin
8953 2007-05-10 Wim Taymans <wim@fluendo.com>
8955 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8956 (update_time_level), (gst_queue_locked_flush),
8957 (gst_queue_handle_sink_event), (gst_queue_chain),
8958 (gst_queue_push_one), (gst_queue_loop):
8959 * plugins/elements/gstqueue.h:
8960 Be smarter when calculating the current amount of data in the queue by
8961 measuring the difference between start and end timestamps (in running
8962 time) inside the queue. Fixes #432876.
8963 API: GstQueue::pushing to notify elements that we are pushing data again
8964 since the running signal is rather broken for this purpose.
8966 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8968 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8969 gst_queue_base_init, gst_queue_init):
8972 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8974 * win32/common/libgstreamer.def:
8975 Add new exported functions.
8976 * win32/vs6/grammar.dsp:
8977 Use grammar pre-generated files.
8979 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8981 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8984 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8986 * gst/gstutils.c: (gst_parse_bin_from_description):
8988 Maintain API and ABI when --disable-parse is used. Now that
8989 we have an appropriate error code, we can just return NULL and the
8990 appropriate error when gst_parse_launch() is used despite it having
8991 been disabled (#342564).
8993 * tests/check/Makefile.am:
8994 * tests/check/pipelines/.cvsignore:
8995 * tests/check/pipelines/parse-disabled.c:
8996 Make sure these functions exist and return NULL plus a GError when
8997 --disable-parse is used.
8999 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9001 * tests/benchmarks/complexity.c: (main):
9002 * tests/benchmarks/mass-elements.c: (main):
9003 Set a good example and don't leak messages.
9005 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9007 * docs/gst/Makefile.am:
9008 * docs/libs/Makefile.am:
9009 Correct fixxrefs options.
9011 * docs/plugins/Makefile.am:
9012 * docs/plugins/gstreamer-plugins-docs.sgml:
9013 * docs/plugins/gstreamer-plugins-sections.txt:
9014 * plugins/elements/Makefile.am:
9015 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9016 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9017 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9018 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9019 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9020 _GstCapsFilterClass, trans_class):
9021 * plugins/elements/gstelements.c (name, rank, type, _elements):
9022 * plugins/elements/gstidentity.c
9023 (gst_identity_check_imperfect_timestamp,
9024 gst_identity_check_imperfect_offset):
9025 Document capsfilter and add doc-blurb to identity.
9027 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9029 * libs/gst/controller/gstcontroller.c:
9030 (gst_controlled_property_set_interpolation_mode):
9031 * libs/gst/controller/gstinterpolation.c:
9032 Don't crash if someone tries to set an interpolation mode that
9033 is invalid or that isn't supported yet. Fixes #422295.
9035 * tests/check/libs/controller.c: (GST_START_TEST),
9036 (gst_controller_suite):
9037 Add a test case for the above.
9039 2007-05-03 Edward Hervey <edward@fluendo.com>
9041 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9042 Properly set the last_stop position on GstSegment. This will only happen
9043 if there is a buffer to push out.
9045 2007-05-03 Wim Taymans <wim@fluendo.com>
9047 * libs/gst/base/gstbasetransform.c:
9048 (gst_base_transform_buffer_alloc):
9049 always_in_place does not mean that the sink and source caps are the
9050 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9052 2007-05-03 Wim Taymans <wim@fluendo.com>
9054 * docs/libs/gstreamer-libs-sections.txt:
9055 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9056 (gst_base_src_default_query), (gst_base_src_get_range):
9057 * libs/gst/base/gstbasesrc.h:
9058 API: gst_base_src_query_latency(). Added method so that subclasses can
9059 easily get the latency values of the base source class.
9061 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9063 * tools/gst-inspect.c (print_implementation_info):
9066 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9068 * tools/Makefile.am:
9069 * tools/gst-launch.1.in:
9070 Don't create a customised man page based on the host architecture,
9071 describe the default registry path generically. That way the man
9072 page is the same for all architectures and packagers have one
9073 multilib issue less to deal with. Fixes #434926.
9075 2007-05-02 Wim Taymans <wim@fluendo.com>
9078 Fix documentation as spotted by rg on IRC.
9080 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9083 Improve docs for gst_element_{link,unlink}.
9085 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9087 * docs/design/part-events.txt:
9088 * docs/design/part-overview.txt:
9092 * libs/gst/base/gstbasesink.c:
9093 Typo fixes; minor docs addition.
9095 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9097 * docs/gst/gstreamer-sections.txt:
9098 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9099 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9101 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9102 or src that supports a given URI protocol exists.
9104 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9106 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9107 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9108 Set the location to NULL if "file://" is set as URI. Otherwise
9109 some random previous URI would still be set if "file://" is
9110 set on an already used filesink/filesrc.
9112 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9114 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9115 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9116 Special case the "file://" URI as as this is used by some
9117 applications to test with gst_element_make_from_uri if there's
9118 an element that supports the URI protocol.
9119 Also move the g_path_is_absolute() check for the location part
9120 of the URI to also check this for "file://localhost/bla" URIs.
9122 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9124 * docs/gst/gstreamer-sections.txt:
9125 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9127 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9129 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9131 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9133 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9134 (gst_registry_binary_load_pad_template),
9135 (gst_registry_binary_load_plugin),
9136 (gst_registry_binary_read_cache):
9137 * gst/gstregistrybinary.h:
9138 Implement no-mmap alternative for registry reading. Do code cleanups.
9139 Add more comments about avoiding strdups for all text data. Comments
9142 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9144 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9145 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9146 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9147 Comment structs and reformat to fix the build (that stuff should go
9148 into a priv. header).
9150 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9152 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9153 (gst_registry_binary_load_feature):
9154 * gst/gstregistrybinary.h:
9155 Refactor so that we can implement multiple features. Add support for
9156 TypeFindFactory features.
9158 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9160 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9163 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9165 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9167 * gst/gstbin.c: (gst_bin_element_set_state),
9168 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9169 (bin_handle_async_done), (gst_bin_handle_message_func):
9170 Fix build with --gst-disable-gst-debug
9172 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9174 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9175 Make sure streaming has finished before calling the ::stop() vfunc,
9176 since that vfunc might clear state which is being used in the
9177 streaming thread. This fixes a race that caused crashes in
9178 audioresample when shutting down a pipeline (#420106).
9180 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9182 * docs/gst/gstreamer-sections.txt:
9183 That was one byte missing.
9185 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9188 * docs/gst/gstreamer-sections.txt:
9190 * gst/gstconfig.h.in:
9191 * gst/gstobject.c: (gst_object_class_init),
9192 (gst_signal_object_class_init):
9194 2nd attempt to have a xml-less build as a joined effort of #413123
9197 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9199 * docs/design/draft-tagreading.txt:
9200 Added open issues/thoughts to draft.
9202 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9204 * gst/parse/grammar.tab.pre.c:
9205 * gst/parse/grammar.tab.pre.h:
9206 * gst/parse/lex._gst_parse_yy.pre.c:
9207 Update the prebuild parser sources.
9209 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9211 * gst/parse/Makefile.am:
9212 And now fix the building of the flex sources. Now everything should
9215 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9217 * gst/parse/Makefile.am:
9218 Now hopefully fix the build failures by setting proper rule
9219 dependencies and moving instead of copying.
9221 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9223 * tests/benchmarks/complexity.gnuplot:
9224 * tests/benchmarks/complexity.scm:
9225 * tests/benchmarks/mass-elements.gnuplot:
9226 * tests/benchmarks/mass-elements.scm:
9227 Total licensification.
9229 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9231 * gst/parse/Makefile.am:
9232 Fix the build by correcting the rule that gave wrong files to flex.
9234 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9236 * tests/benchmarks/complexity.c:
9237 * tests/benchmarks/mass-elements.c:
9238 Change licence to LGPL as granted by Benjamin and Andy.
9240 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9242 * gst/parse/Makefile.am:
9243 Add correct grammar.tab.h dependency if compiling without new enough
9244 flex. Fixes #431150.
9246 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9248 * gst/parse/Makefile.am:
9249 Fix typo and use outdated sources if the flex/bison sources are newer
9250 than the pregenerated ones but flex is too old. Print a warning in
9251 that case. This should fix the build on the build bot.
9253 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9255 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9256 * gst/parse/Makefile.am:
9257 * gst/parse/grammar.y:
9258 * gst/parse/parse.l:
9259 Make the parser reentrant and recursively callable. This requires flex
9260 >= 2.5.31, for older versions pregenerated sources are used as we
9261 can't bump the build dependency. Finally fixes #349180.
9263 * gst/gstparse.c: (gst_parse_launch):
9264 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9267 * docs/gst/Makefile.am:
9268 * docs/gst/Makefile.am:
9269 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9270 (__gst_parse_strfree), (__gst_parse_link_new),
9271 (__gst_parse_link_free), (__gst_parse_chain_new),
9272 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9273 (gst_parse_element_set), (gst_parse_free_link),
9274 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9275 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9276 (_gst_parse_launch):
9277 * gst/parse/grammar.tab.pre.h:
9278 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9279 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9280 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9281 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9282 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9283 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9284 (_gst_parse_yypop_buffer_state),
9285 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9286 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9287 (yy_fatal_error), (_gst_parse_yyget_extra),
9288 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9289 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9290 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9291 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9292 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9293 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9294 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9295 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9296 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9297 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9298 (_gst_parse_yyfree):
9299 If the installed flex version is too old use pre-generated parser
9300 sources. These pre-generated parser sources are always updated when
9301 the actual flex/bison sources change but require everybody who wants
9302 to change something in the parser to have flex >= 2.5.31 installed.
9304 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9306 * common/m4/gst-gettext.m4:
9307 * gst/gst-i18n-lib.h:
9308 Make --disable-nls to work
9310 2007-04-17 Wim Taymans <wim@fluendo.com>
9312 * gst/gstconfig.h.in:
9313 Revert previous change that broke the build.
9315 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9319 * gst/gstconfig.h.in:
9320 Drop libxml2 dependency when building with
9321 --enable-binary-registry --disable-loadsave
9323 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9325 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9326 (gst_registry_binary_read_cache):
9327 * gst/gstregistrybinary.h:
9328 Remove unnecessary <sys/mman.h> include which broke the win32 build
9329 with MingW; move includes from header file to .c file, even if the
9330 header file isn't installed; use g_strerror() where UTF-8 strings
9331 are expected, such as in GST_DEBUG messages.
9333 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9335 * docs/libs/gstreamer-libs-sections.txt:
9336 Remove bogus addition for API I didn't end up keeping.
9338 * libs/gst/base/gstbasesrc.h:
9339 Mention Since: 0.10.13 in the documentation.
9341 Add the API keyword to the previous ChangeLog entry.
9343 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9345 * docs/libs/gstreamer-libs-sections.txt:
9346 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9347 (gst_base_src_default_prepare_seek_segment),
9348 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9349 * libs/gst/base/gstbasesrc.h:
9350 Allow basesrc derived classes to execute seeks in other formats
9351 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9352 to prepare the GstSegment in any format that their perform_seek method
9353 will be able to understand. The default implementation provides the
9354 old behaviour of attempting to convert the seek offsets to the
9355 configured native format.
9357 API: basesrc::prepare_seek_segment vmethod.
9359 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9361 * gst/gstelement.c: (gst_element_get_state_func):
9362 Don't output the same debug statement twice.
9364 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9365 (gst_adapter_peek), (gst_adapter_take_buffer):
9366 Optimise the case where we have buffers at the head of the queue that
9367 can be joined quickly (because they're contiguous sub-buffers) by
9368 merging them together rather than copying data out into new memory.
9370 * gst/parse/grammar.y:
9371 * tests/check/pipelines/parse-launch.c:
9372 Fix a leak in an error path for parse_launch, and add a check
9373 for it to the testsuite.
9375 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9377 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9378 Don't deadlock when releasing a pad - gst_pad_set_active may try
9379 and take the multiqueue lock too.
9381 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9383 * gst/gsterror.c: (_gst_core_errors_init):
9385 API: add GST_CORE_ERROR_DISABLED (#392804).
9387 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9389 * docs/faq/gst-uninstalled:
9390 don't get empty paths on the PATH variables
9391 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9392 Don't format for the uncommon terminal width of 84 characters.
9394 2007-04-06 Wim Taymans <wim@fluendo.com>
9396 * gst/gstpipeline.c: (reset_stream_time),
9397 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9398 Only try to select a different pipeline clock when we went back to
9399 PAUSED and not when we merely got flushed.
9401 2007-04-05 Michael Smith <msmith@fluendo.com>
9403 * tools/gst-launch.1.in:
9404 fractions are better supported in gstreamer than ractions, so
9405 suggest using those.
9407 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9409 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9413 Added Danish translation.
9415 2007-04-05 Wim Taymans <wim@fluendo.com>
9417 * libs/gst/base/gstbasesink.c:
9418 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9419 Fix leak caused when refusing newsegment after EOS.
9421 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9422 (gst_fake_sink_init), (gst_fake_sink_set_property),
9423 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9424 (gst_fake_sink_render), (gst_fake_sink_change_state):
9425 * plugins/elements/gstfakesink.h:
9426 Add num-buffers property to make the element generate EOS after a
9427 configurable amount of buffers.
9428 API: fakesink::num-buffers property.
9430 * tests/check/elements/fakesink.c: (GST_START_TEST),
9432 Fix GstBus leak in test.
9433 Test for fakesink num-buffers.
9435 2007-04-05 Wim Taymans <wim@fluendo.com>
9437 * libs/gst/base/gstbasesink.c:
9438 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9439 (gst_base_sink_change_state):
9440 Don't accept anything after an EOS, return UNEXPECTED instead.
9442 * tests/check/elements/fakesink.c: (GST_START_TEST),
9444 Unit test for new EOS behaviour.
9446 2007-04-05 Wim Taymans <wim@fluendo.com>
9448 * gst/gstelement.c: (gst_element_get_request_pad):
9449 Make padtemplates also work when they don't contain %s or %d.
9451 2007-04-05 Wim Taymans <wim@fluendo.com>
9453 * docs/gst/gstreamer-sections.txt:
9454 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9455 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9457 Improve _adjust_unlocked() so that it overflows less.
9458 Add gst_clock_unadjust_unlocked to convert from external time to
9459 internal time based on calibration.
9460 Add some more debug.
9461 API: GstClock::gst_clock_unadjust_unlocked()
9463 2007-04-03 Wim Taymans <wim@fluendo.com>
9465 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9467 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9468 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9469 when releasing sink pad. Fixes #425400.
9471 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9473 * docs/random/ensonic/dynlink.txt:
9474 More work on proposal for new core api.
9476 * docs/libs/gstreamer-libs-sections.txt:
9477 * libs/gst/base/gstbasetransform.h:
9478 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9480 * libs/gst/controller/gstcontroller.c:
9481 (on_object_controlled_property_changed),
9482 (gst_controller_sync_values),
9483 (gst_controller_set_interpolation_mode):
9484 * libs/gst/controller/gstcontroller.h:
9485 Less verbose logging add docs for unimplemented parts and correctly
9486 return when using unavailable parts.
9488 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9490 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9491 Move all the debug to the CLOCK category, and associate it with
9494 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9496 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9497 Make take_buffer a bit quicker by removing redundant checks
9498 caused by calling gst_adapter_take.
9500 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9502 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9505 * tests/check/Makefile.am:
9506 * tests/check/elements/.cvsignore:
9507 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9508 (GST_START_TEST), (multiqueue_suite):
9509 Add some dead simple unit tests for the 'multiqueue' element
9510 (some bits don't work yet and are disabled for now).
9512 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9514 * gst/gstelement.c: (gst_element_get_request_pad),
9515 (gst_element_class_get_request_pad_template):
9516 Make gst_element_get_request_pad() create request pads only for
9517 request pad templates and not for, say, sometimes pad templates.
9519 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9521 * docs/design/draft-klass.txt:
9522 Add example that needs more thinking.
9524 * docs/design/draft-missing-plugins.txt:
9525 More thoughts about wrapper plugins.
9527 * docs/random/ensonic/embedded.txt:
9528 * docs/random/ensonic/profiling.txt:
9531 2007-03-25 Wim Taymans <wim@fluendo.com>
9533 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9534 (gst_base_src_loop):
9535 Only push the segment events in the PLAYING state for live sources.
9537 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9539 * gst/gstpipeline.c: (gst_pipeline_change_state):
9540 Modify the clock distribution path in PAUSED->PLAYING so that we
9541 never attempt to choose a new clock unless we're actually leaving
9542 the PAUSED state for the first time. This prevents choosing a
9543 different clock when the state_change gets called for a 2nd time due
9544 to some element doing an async state change.
9546 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9548 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9549 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9550 (gst_pad_chain_unchecked), (gst_pad_push):
9551 Revert last commit. This needs some more thoughts.
9553 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9555 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9556 (gst_pad_chain_unchecked), (gst_pad_push):
9557 Check in set_caps if the caps are compatible with the pad and remove
9558 two functions that are redundant now. Fixes #421543.
9560 2007-03-22 Wim Taymans <wim@fluendo.com>
9562 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9563 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9564 Unref some more to make valgrind happy.
9566 2007-03-22 Wim Taymans <wim@fluendo.com>
9568 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9569 (gst_system_clock_id_wait_jitter),
9570 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9571 Fix anoying regression that survived a few releases. When adding an
9572 async entry while blocking on a sync entry, the sync entry will unblock
9573 but still be busy, so it should continue to wait instead of returning
9575 Add some comments here and there.
9577 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9578 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9579 Add testcase for this.
9581 2007-03-22 Wim Taymans <wim@fluendo.com>
9583 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9584 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9585 WRONG_STATE and can silently pause the task. All other cases should
9588 2007-03-22 Wim Taymans <wim@fluendo.com>
9590 Patch by: Ville Syrjala <syrjala at sci dot fi>
9592 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9593 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9596 2007-03-21 Michael Smith <msmith@fluendo.com>
9598 * docs/pwg/advanced-types.xml:
9599 Fix some errors in the typefinding docs pointed out on irc.
9601 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9603 * libs/gst/base/gstbasesrc.c:
9604 Clarify FIXME comment in the face of having added unlock_stop()
9606 2007-03-21 Wim Taymans <wim@fluendo.com>
9608 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9609 Prepare for release where we warn against possible app breakage in the
9610 case of live pipelines along with an env var to enable/disable live
9611 preroll mode (GST_COMPAT=[no-]live-preroll).
9613 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9615 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9616 So we should use correct constants for checking for None offset.
9618 2007-03-20 Wim Taymans <wim@fluendo.com>
9620 * docs/design/part-block.txt:
9621 Mention the fact that the newly switched element should be set to at
9624 2007-03-20 Wim Taymans <wim@fluendo.com>
9627 Fix compilation with registry disabled as spotted by Saur.
9629 2007-03-20 Wim Taymans <wim@fluendo.com>
9631 Patch by: Olivier Crete <tester at tester dot ca>
9633 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9634 Look at the pending state too when syncing the element state to the
9635 parent. Fixes #420133.
9637 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9639 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9640 (gst_base_sink_change_state):
9641 * libs/gst/base/gstbasesink.h:
9642 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9643 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9644 (gst_base_src_deactivate):
9645 * libs/gst/base/gstbasesrc.h:
9646 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9647 for sub-classes to correctly clear any state they set trying to
9648 unlock, such as clearing out unlock commands from a command fd.
9649 API: basesrc::unlock_stop
9650 API: basesink::unlock_stop
9652 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9653 (gst_fd_sink_render), (gst_fd_sink_unlock),
9654 (gst_fd_sink_unlock_stop):
9655 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9656 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9657 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9659 Implement unlock_stop in fdsrc and fdsink.
9660 Implement seeking in fdsrc when a seekable fd is passed, as in
9661 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9663 2007-03-19 Wim Taymans <wim@fluendo.com>
9665 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9667 * gst/gstelement.c: (gst_element_class_init):
9668 Fix pad-added and pad-removed signal signatures so that the pad type is
9669 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9671 2007-03-19 Wim Taymans <wim@fluendo.com>
9673 * docs/gst/gstreamer-sections.txt:
9674 Add new element field and method.
9676 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9677 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9678 (gst_bin_recalc_state), (gst_bin_get_state_func),
9679 (gst_bin_element_set_state), (gst_bin_change_state_func),
9680 (gst_bin_continue_func), (bin_bus_handler),
9681 (bin_push_state_continue), (bin_handle_async_start),
9682 (bin_handle_async_done), (gst_bin_handle_message_func):
9683 Make async state changes a bit smarter by using new ASYNC_START and
9684 ASYNC_DONE messages. This reduces the number of times we run the state
9685 recalculation thread.
9686 Don't change state of element with a pending ASYNC_START message.
9687 Deprecate STATE_DIRTY messages.
9689 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9690 (gst_element_get_state_func), (gst_element_continue_state),
9691 (gst_element_lost_state), (gst_element_set_state_func),
9692 (gst_element_change_state):
9694 Keep the state that was last set by the app in a new element field.
9695 Don't allow state changes when handling an element event.
9696 Post ASYNC_START and ASYNC_DONE messages.
9697 Change lost_state so that we go to PAUSED and wait for the parent to set
9698 us to PLAYING again (so latency calculation can be performed)
9699 Export gst_element_change_state() method so that subclasses can use it.
9700 API: gst_element_change_state()
9701 API: GST_STATE_TARGET
9703 * gst/gstpipeline.c: (gst_pipeline_class_init),
9704 (reset_stream_time), (gst_pipeline_change_state),
9705 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9706 Using the new ASYNC_START message we can reset the base_time when
9707 needed. This can then be used to implement base_time redistribution in
9708 flushing seeks so that we can remove the explicit seek handling.
9709 Perform latency query and configuration when going to PLAYING.
9711 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9712 (gst_base_sink_query), (gst_base_sink_change_state):
9713 Post new ASYNC_START/ASYNC_DONE messages.
9715 * tests/check/generic/sinks.c: (GST_START_TEST):
9716 Fix test because the bin will not set the async element to PLAYING right
9719 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9720 Make the message check a little stronger.
9721 Handle ASYNC messages.
9723 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9724 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9725 Expect ASYNC_DONE messages.
9727 2007-03-19 Wim Taymans <wim@fluendo.com>
9729 * docs/gst/gstreamer-sections.txt:
9730 * gst/gstmessage.c: (gst_message_new_async_start),
9731 (gst_message_new_async_done), (gst_message_parse_info),
9732 (gst_message_parse_async_start):
9734 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9737 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9739 * tools/gst-inspect.c:
9740 (print_plugin_automatic_install_info_codecs):
9741 Now that we don't check for the 'Codec' keyword any longer in the
9742 klass, we shouldn't spew a warning if the klass isn't a decoder or
9743 encoder (since it might be a Source/Network, for example).
9745 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9747 * tools/gst-inspect.c:
9748 (print_plugin_automatic_install_info_codecs):
9749 Don't require decoder/demuxer/depayloader elements or
9750 encoder/muxer/paylader elements to have 'Codec' as part of their
9751 factory class string when introspecting a plugin's capabilities.
9752 draft-klass.txt mentions that it might be removed in future, and
9753 flump3dec doesn't have it as part of its class string, so chances
9754 are others might also not have it.
9756 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9778 Update translations from translation project
9780 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9782 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9783 (gst_child_proxy_set_property):
9784 Invert precondition check to be alike the ones in the mimiced gobject
9787 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9789 * docs/design/draft-tagreading.txt:
9790 * docs/random/ensonic/audiobaseclasses.txt:
9791 Do some Architect work.
9793 * gst/gstobject.c: (gst_object_set_name):
9797 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9799 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9801 * gst/gstsystemclock.c: (gst_system_clock_init),
9802 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9803 Defer starting the async system clock thread until the first async
9804 wait is scheduled. Fixes #414986.
9806 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9808 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9809 (gst_single_queue_free):
9810 Fix small leak (free GstSingleQueue structure too, not only contents).
9812 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9814 * gst/gstbin.c:(gst_bin_add):
9815 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9816 * win32/common/libgstbase.def:
9817 * win32/common/libgstreamer.def:
9818 Add new exported functions.
9820 2007-03-09 Wim Taymans <wim@fluendo.com>
9822 * docs/plugins/gstreamer-plugins-sections.txt:
9825 2007-03-09 Wim Taymans <wim@fluendo.com>
9827 * docs/gst/gstreamer-sections.txt:
9828 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9830 Add metadata copy functions. Fixes #393099.
9831 API: gst_buffer_copy_metadata()
9833 * gst/gstutils.c: (gst_buffer_stamp):
9834 * libs/gst/base/gstbasetransform.c:
9835 (gst_base_transform_prepare_output_buffer):
9836 Use new metadata copy functions.
9838 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9840 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9841 (gst_identity_init), (gst_identity_check_perfect),
9842 (gst_identity_check_imperfect_timestamp),
9843 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9844 (gst_identity_set_property), (gst_identity_get_property):
9845 * plugins/elements/gstidentity.h:
9846 Separate out check-imperfect-timestamp and check-imperfect-offset.
9847 Put back check-perfect as it was to keep compatibility.
9849 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9851 * gst/gstelement.c: (gst_element_dispose):
9852 There's no need to warn if VOID_PENDING is not NONE here, as
9853 long as the state is NULL it's ok, and that's checked immediately
9856 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9858 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9859 Fix check for perfect stream to ignore buffers with -1
9860 offsets/offset ends when checking data contiguity.
9862 2007-03-08 Wim Taymans <wim@fluendo.com>
9864 * tools/gst-launch.c: (event_loop):
9865 Print INFO messages.
9867 2007-03-08 Wim Taymans <wim@fluendo.com>
9869 * libs/gst/base/gstbasetransform.c:
9870 (gst_base_transform_sink_eventfunc),
9871 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9872 (gst_base_transform_activate):
9873 * libs/gst/base/gstbasetransform.h:
9874 Add support for dropping buffers with custom GstFlowReturn.
9875 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9876 buffers or dropped buffers.
9878 * docs/libs/gstreamer-libs-sections.txt:
9879 docs for new custom return code.
9881 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9882 Use drop support in base class to implement drop-probability.
9884 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9886 * gst/gst.c: (load_plugin_func):
9887 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9888 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9889 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9890 Remove newlines at end of debug log strings.
9892 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9894 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9895 Only post bus message at max, once per buffer received.
9897 2007-03-07 Wim Taymans <wim@fluendo.com>
9899 * docs/design/Makefile.am:
9900 * docs/design/part-synchronisation.txt:
9901 Add doc about synchronisation
9903 * docs/design/draft-latency.txt:
9904 * docs/design/part-TODO.txt:
9905 * docs/design/part-clocks.txt:
9906 * docs/design/part-events.txt:
9907 * docs/design/part-gstbus.txt:
9908 * docs/design/part-gstpipeline.txt:
9909 * docs/design/part-live-source.txt:
9910 * docs/design/part-messages.txt:
9911 * docs/design/part-overview.txt:
9912 * docs/design/part-streams.txt:
9913 * docs/design/part-trickmodes.txt:
9914 Documentation updates.
9916 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9919 Update the doap file.
9921 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9923 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9924 Rename non-perfect to imperfect for Mike and for the sanctity of the
9926 Also make sure bus message gets emitted for data-incontiguities.
9928 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9930 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9931 (gst_identity_start):
9932 * plugins/elements/gstidentity.h:
9933 Emit bus message if check-perfect is true and we encounter a
9934 non-perfect stream between 2 consecutive buffers.
9937 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9942 === release 0.10.12 ===
9944 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9947 releasing 0.10.12, "Inevitable Demise"
9949 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9952 Version 0.10.11.2 (0.10.12 pre-release)
9953 Bump libtool versioning.
9955 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9957 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9958 Log flow-names and not numbers.
9960 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9963 Convert to new AG_GST style.
9965 2007-02-28 Wim Taymans <wim@fluendo.com>
9967 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9968 Don't unref query twice.
9970 2007-02-28 Wim Taymans <wim@fluendo.com>
9972 * gst/gstvalue.c: (gst_value_transform_object_string),
9973 (_gst_value_initialize):
9974 Implement GstObject -> string transform so we print object names
9975 when serializing GValues containing GstObjects.
9977 2007-02-28 Wim Taymans <wim@fluendo.com>
9979 * docs/gst/gstreamer-sections.txt:
9980 Add new stuff to docs.
9982 2007-02-28 Wim Taymans <wim@fluendo.com>
9984 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9985 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9986 (gst_base_sink_change_state):
9987 Improve latency query code.
9988 Don't leak latency events.
9990 * tests/check/gst/gstbin.c: (GST_START_TEST):
9993 2007-02-28 Wim Taymans <wim@fluendo.com>
9995 * gst/gstelement.c: (gst_element_message_full),
9996 (gst_element_get_state_func):
9998 Improve docs a little. Added Since: for new macro.
10000 * gst/gstobject.c: (gst_object_sink):
10001 * gst/gstpipeline.c: (gst_pipeline_change_state),
10002 (gst_pipeline_set_new_stream_time):
10003 * gst/gstpipeline.h:
10004 Improve debugging and docs.
10006 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10009 2007-02-28 Wim Taymans <wim@fluendo.com>
10011 * gst/gstelement.c: (gst_element_message_full),
10012 (gst_element_set_locked_state), (gst_element_get_state_func),
10013 (gst_element_change_state):
10014 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10015 Documentation updates.
10016 Small code cleanups.
10018 * gst/gstmessage.c: (gst_message_new_info),
10019 (gst_message_parse_info):
10020 * gst/gstmessage.h:
10021 API: gst_message_new_info()
10022 API: gst_message_parse_info()
10023 Add INFO message create and parse code.
10025 2007-02-28 Wim Taymans <wim@fluendo.com>
10027 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10028 (bin_query_latency_done):
10029 Also report the live parameter of a latency query.
10031 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10033 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10034 Copy the current generic/states example from -base and adapt so
10035 we can use the exact same code everywhere.
10036 Check a STATES_IGNORE_ELEMENTS env var which can be used
10037 to ignore certain element factories for this test, which is
10038 what is being done in -base
10039 * tests/check/Makefile.am:
10040 Mention this environment variable.
10042 2007-02-27 Wim Taymans <wim@fluendo.com>
10044 * docs/gst/gstreamer-sections.txt:
10045 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10046 (gst_bus_timed_pop), (gst_bus_pop):
10048 API: gst_bus_timed_pop()
10049 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10050 message to arrive on the bus.
10052 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10054 Two unit tests for new _timed_pop() function.
10056 2007-02-23 Wim Taymans <wim@fluendo.com>
10058 * gst/gstpipeline.c: (gst_pipeline_change_state),
10059 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10060 Don't ref a NULL clock in _provide_clock_func().
10061 Don't allow an INVALID delay.
10062 Don't try to calculate base_time with an invalid start_time.
10063 Also distribute and notify a NULL clock when it was selected.
10065 * tools/gst-launch.c: (event_loop):
10066 Don't crash when a NULL clock was selected in the pipeline.
10068 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10070 * docs/design/Makefile.am:
10071 * docs/design/draft-missing-plugins.txt:
10072 * docs/random/draft-missing-plugins.txt:
10073 Some small updates: update plugin system identifier prefix
10074 ('gstreamer.net' to 'gstreamer'), mention our new install
10075 API in libgstbaseutils rather than libgimme-codec, add
10076 reference to the online docs.
10078 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10080 * win32/common/config.h:
10081 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10082 use moap cl ci to only check in what is mentioned in the ChangeLog.
10084 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10086 * docs/gst/gstreamer-sections.txt:
10087 * gst/gstelement.h:
10088 Fix up documentation to link to the correct GstGError section.
10089 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10091 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10093 * tools/gst-launch.c: (event_loop):
10094 Make sure that we actually show the important message part of a
10096 No need to check if the gerror is not NULL to free; first of all
10097 g_free accepts NULL; and second the default error handler would
10098 segfault if gerror was NULL.
10100 2007-02-21 Wim Taymans <wim@fluendo.com>
10102 * docs/gst/gstreamer-sections.txt:
10103 Removed docs as well.
10105 2007-02-21 Wim Taymans <wim@fluendo.com>
10107 * gst/gstmessage.c: (gst_message_parse_duration):
10108 * gst/gstmessage.h:
10109 Remove new messages for release.
10111 2007-02-20 Wim Taymans <wim@fluendo.com>
10113 * docs/design/part-gstghostpad.txt:
10114 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10115 (gst_ghost_pad_new_full):
10116 Make the ghostpad a parent of the internal pad again for better backward
10117 compatibility. Don't write code that relies on this however.
10119 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10120 (gst_pad_link_check_hierarchy):
10121 Require that parents should be GstElements in the hierarchy check.
10123 2007-02-20 Wim Taymans <wim@fluendo.com>
10125 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10126 (gst_bin_change_state_func), (bin_query_min_max_init),
10127 (bin_query_latency_fold), (bin_query_latency_done),
10129 Improve debug info.
10130 Implement latency query.
10132 2007-02-20 Wim Taymans <wim@fluendo.com>
10134 * docs/design/part-gstghostpad.txt:
10135 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10136 (gst_ghost_pad_internal_do_activate_push),
10137 (gst_ghost_pad_internal_do_activate_pull),
10138 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10139 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10140 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10141 Do not set the internal pad as a parent anymore so we can avoid
10142 hierarchy linking errors when the ghostpad has no parent yet. This also
10143 fixes failed activation because of unlinked internal pads, which in
10144 turn fixes the impossible case where you have to activate a pad before
10145 you can add it to a running element.
10148 * gst/gstpad.c: (pre_activate), (post_activate),
10149 (gst_pad_set_active), (gst_pad_activate_pull),
10150 (gst_pad_activate_push), (gst_pad_check_pull_range):
10151 Add some more debug info.
10152 Mark activation mode in pre_activate so that we don't try to activate in
10153 endless loops. Fixes #385084.
10155 2007-02-19 Wim Taymans <wim@fluendo.com>
10157 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10158 (gst_base_transform_check_get_range):
10159 Implement a checkgetrange function instead of relying on the default
10160 core behaviour that assumes we can operate in pull mode if we have a
10161 getrange function. First step at fixing #385084.
10163 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10165 * gst/gstchildproxy.h:
10166 * libs/gst/base/gstbasesink.h:
10167 * libs/gst/base/gstbasesrc.h:
10168 * libs/gst/base/gstbasetransform.h:
10169 More docs coverage and some ChangeLog surgery (add missing names)
10171 2007-02-15 Wim Taymans <wim@fluendo.com>
10173 * docs/design/part-TODO.txt:
10174 * docs/design/part-activation.txt:
10175 * docs/design/part-block.txt:
10176 * docs/design/part-buffering.txt:
10177 * docs/design/part-clocks.txt:
10178 * docs/design/part-element-source.txt:
10179 * docs/design/part-events.txt:
10180 * docs/design/part-gstbin.txt:
10181 * docs/design/part-gstbus.txt:
10182 * docs/design/part-gstpipeline.txt:
10183 * docs/design/part-live-source.txt:
10184 * docs/design/part-messages.txt:
10185 * docs/design/part-overview.txt:
10186 * docs/design/part-qos.txt:
10187 * docs/design/part-query.txt:
10188 * docs/design/part-states.txt:
10189 * docs/design/part-trickmodes.txt:
10190 Some doc updates. Start renaming from stream_time to running_time where
10191 it was used wrongly.
10193 2007-02-15 Wim Taymans <wim@fluendo.com>
10195 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10196 Answer LATENCY query.
10198 2007-02-15 Wim Taymans <wim@fluendo.com>
10200 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10204 2007-02-15 Wim Taymans <wim@fluendo.com>
10206 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10207 (gst_pad_dispatcher):
10208 Improve debugging of default pad dispatcher and query functions.
10210 2007-02-15 Wim Taymans <wim@fluendo.com>
10212 * docs/gst/gstreamer-sections.txt:
10213 Remove old unused method.
10215 2007-02-13 Wim Taymans <wim@fluendo.com>
10217 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10220 2007-02-13 Wim Taymans <wim@fluendo.com>
10222 * docs/design/part-seeking.txt:
10225 * gst/gstsegment.c: (gst_segment_set_seek):
10226 Revert old bogus change that should make seeking work again.
10228 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10230 * docs/random/ensonic/dynlink.txt:
10231 * docs/random/ensonic/interfaces.txt:
10232 * docs/random/ensonic/receipies.txt:
10233 Possible dynamic reconnection api, plus some type fixes the other two
10236 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10238 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10239 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10240 Also check for an absolute path following file:// in the filesrc
10241 element. Remove redundant check and call g_path_is_absolute() on the
10242 unescaped location.
10244 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10246 * docs/design/draft-klass.txt:
10247 Add existing category analysis.
10250 Fix doc example, framerate is a fraction.
10252 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10255 * docs/gst/Makefile.am:
10256 * docs/gst/gstreamer-sections.txt:
10257 * docs/libs/Makefile.am:
10258 Erm, forgot a bunch of --extra-dir.
10260 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10263 * docs/gst/Makefile.am:
10264 * docs/libs/Makefile.am:
10265 * docs/plugins/Makefile.am:
10266 Add crossreferences to glib/gobject docs.
10268 2007-02-12 Wim Taymans <wim@fluendo.com>
10270 * docs/design/draft-latency.txt:
10273 * docs/libs/gstreamer-libs-sections.txt:
10274 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10275 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10276 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10277 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10278 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10279 (gst_base_sink_get_position), (gst_base_sink_query),
10280 (gst_base_sink_change_state):
10281 * libs/gst/base/gstbasesink.h:
10282 API: gst_base_sink_query_latency() to let subclasses query the upstream
10284 API: gst_base_sink_get_latency() to let subclasses query the configured
10285 latency in the sink.
10286 Implement query and set latency.
10288 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10289 don't continue preroll when we are flushing. Fixes #405284.
10291 * tests/check/pipelines/stress.c: (change_state_timeout),
10292 (quit_timeout), (GST_START_TEST), (stress_suite):
10295 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10297 Patch by: René Stadler <mail at renestadler de>
10299 * docs/gst/gstreamer-sections.txt:
10300 * gst/gsttaglist.c: (_gst_tag_initialize):
10301 * gst/gsttaglist.h:
10302 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10304 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10306 * docs/libs/Makefile.am:
10307 Fix path to core docs.
10309 * gst/gstbin.c: (gst_bin_get_by_interface),
10310 (gst_bin_iterate_all_by_interface):
10311 Refix docs by also renaming 'interface' to 'iface' in implementation.
10313 * docs/gst/gstreamer-sections.txt:
10315 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10316 * gst/gstchildproxy.h:
10317 * gst/gstelementfactory.c:
10318 * gst/gstpadtemplate.h:
10319 * libs/gst/controller/gstcontroller.c:
10320 (gst_controlled_property_new):
10323 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10325 * gst/gstbin.h:(gst_bin_get_by_interface),
10326 (gst_bin_iterate_all_by_interface):
10327 Replace interface parameter name by iface as interface is
10328 a reserved keyword in Visual Studio for C++ projects so it removes
10329 a build error for application developpers using VS.
10330 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10331 Fix a bug on Windows in uri format check. Now the prefix checked
10332 is file:// and next we check if the path after file:// is absolute.
10333 * win32/common/libgstbase.def:
10334 * win32/common/libgstdataprotocol.def:
10335 * win32/common/libgstgstreamer.def:
10336 Add new exported functions.
10338 2007-02-09 Andy Wingo <wingo@pobox.com>
10340 * tests/check/pipelines/simple-launch-lines.c
10341 (simple_launch_lines_suite, test_tee): Disable tee test until I
10342 have time to fix it :-(
10344 * tests/check/Makefile.am (noinst_HEADERS):
10345 * tests/check/libs/libsabi.c:
10346 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10347 * tests/check/gst/gstabi.c:
10348 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10350 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10351 tests for push and pull tee behavior.
10353 * plugins/elements/gsttee.h:
10354 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10355 mark as deprecated as well as unimplemented. It was a crack idea.
10356 Add support for tee operating in pull mode, off by default.
10358 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10359 normal-case logs down to LOG, raise errors to WARNING.
10360 (gst_registry_xml_read_cache): Don't log before calling a function
10363 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10364 exit (registry finalize).
10365 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10366 DEBUG log when we emit signals that people don't even have the
10367 chance to connect to.
10368 (gst_registry_scan_path_level): Less logging in the normal case.
10370 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10372 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10374 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10375 Correctly generate EOS for non-seekable files. We don't have a total
10376 length for them and would get an unexpected end of file if we only
10377 special-cased for regular files. (Fixes: #404569)
10379 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10381 * tests/check/elements/filesrc.c: (GST_START_TEST),
10383 Add unit test for the GstURIHandler interface in filesrc. This also
10384 tests the newly added file://localhost/foo/bar support.
10386 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10388 * gst/gstelementfactory.h:
10389 The klass string is not a hierarchy. Add reference to the design doc
10390 for more information and common types.
10392 2007-02-02 Wim Taymans <wim@fluendo.com>
10394 * gst/gstquery.c: (gst_query_new_latency):
10395 Remove old structure field.
10397 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10399 * tools/gst-launch.1.in:
10400 Give example for network streaming (#351998)
10402 2007-02-02 Wim Taymans <wim@fluendo.com>
10404 * docs/gst/gstreamer-sections.txt:
10405 Add docs for new methods.
10407 * gst/gstevent.c: (gst_event_new_latency),
10408 (gst_event_parse_latency):
10410 Add new LATENCY event to configure latency in a pipeline.
10411 API: gst_event_new_latency
10412 API: gst_event_parse_latency
10414 * gst/gstmessage.c: (gst_message_new_buffering),
10415 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10416 (gst_message_new_latency), (gst_message_parse_buffering),
10417 (gst_message_parse_lost_preroll):
10418 * gst/gstmessage.h:
10419 Added messages used in draft-latency.
10420 API: gst_message_new_lost_preroll
10421 API: gst_message_parse_lost_preroll
10422 API: gst_message_new_prerolled
10423 API: gst_message_new_latency
10425 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10426 (gst_query_parse_latency):
10428 Implemented new latency query as in design doc.
10429 API: gst_query_new_latency
10430 API: gst_query_set_latency
10431 API: gst_query_parse_latency
10433 2007-02-02 Wim Taymans <wim@fluendo.com>
10435 * docs/design/draft-latency.txt:
10436 Slight redesign to allow for dynamic latency adjustments.
10438 * docs/design/part-negotiation.txt:
10441 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10443 reviewed by: Wim Taymans <wim@fluendo.com>
10445 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10446 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10447 Allow file://localhost/foo/bar URLs and correctly fail for every other
10448 hostname that one sets. This was gnomevfssrc is linked for those if
10449 installed as it can handle it (#403172)
10451 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10453 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10456 (unref_data), (gst_collect_pads_add_pad_full):
10457 * libs/gst/base/gstcollectpads.h:
10458 Don't put the previously added destroy notify in the GstCollectData
10459 struct as all it's padding is already used and we don't want to break
10460 ABI. Instead put in the pad's GObject data for now. This should be
10461 cleaned up for 0.11 (#402393).
10463 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10465 reviewed by: Wim Taymans <wim@fluendo.com>
10467 * docs/libs/gstreamer-libs-sections.txt:
10468 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10469 (unref_data), (gst_collect_pads_add_pad),
10470 (gst_collect_pads_add_pad_full):
10471 * libs/gst/base/gstcollectpads.h:
10472 API: Add function to specify a destroy notification for custom
10473 GstCollectData when adding new pads in GstCollectPads (#402393).
10475 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10478 Update Swedish translation (#378255).
10480 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10482 * docs/design/draft-klass.txt:
10483 Fix the previous change, this is a list of categories and not a hierarchy.
10485 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10487 * docs/design/draft-klass.txt:
10488 Add info about how to get a list of used classes.
10490 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10492 * plugins/elements/gsttypefindelement.c:
10493 (gst_type_find_element_chain_do_typefinding),
10494 (gst_type_find_element_change_state):
10495 Don't leak found caps in chain function (no idea why that never
10496 showed up as a leak anywhere).
10498 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10501 Fix and expand GstPluginDesc API docs.
10503 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10506 * gst/gstelementfactory.c:
10507 * gst/gstpadtemplate.h:
10510 * libs/gst/controller/gstcontroller.c:
10511 (gst_controlled_property_new):
10512 * tests/examples/controller/audio-example.c:
10515 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10518 comment about refining the xml deps
10520 * docs/manuals.mak:
10521 comments about moving away from jade for docs
10524 recommit the ifdefs to use the binary registry
10526 * gst/gstbin.c: (gst_bin_change_state_func):
10527 this break is obsolete
10529 * gst/gstelementfactory.h:
10530 better GST_ELEMENT_DETAILS docs, add comment about translation
10535 * gst/gstobject.c: (gst_signal_object_get_type):
10536 add G_UNLIKELY as usual
10538 * gst/gstpad.c: (gst_pad_event_default):
10539 add fall trhu comment
10541 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10542 (gst_registry_binary_initialize_magic),
10543 (gst_registry_binary_save_string),
10544 (gst_registry_binary_save_pad_template),
10545 (gst_registry_binary_save_feature),
10546 (gst_registry_binary_save_plugin),
10547 (gst_registry_binary_write_cache),
10548 (gst_registry_binary_check_magic),
10549 (gst_registry_binary_load_pad_template),
10550 (gst_registry_binary_load_feature),
10551 (gst_registry_binary_load_plugin),
10552 (gst_registry_binary_read_cache):
10553 comment typo and formatting
10555 * gst/gstutils.c: (gst_element_state_get_name),
10556 (gst_element_state_change_return_get_name):
10557 remove obsolete breaks
10559 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10560 add FIXME 0.11 and remove cpp comment
10562 2007-01-29 Edward Hervey <edward@fluendo.com>
10564 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10565 Fix print statement in an even more portable way.
10567 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10569 * docs/gst/gstreamer-sections.txt:
10571 API: add GST_ROUND_DOWN_* macros (#401781).
10573 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10575 * docs/gst/gstreamer.types.in:
10576 * gst/gstregistry.c: (gst_registry_class_init):
10577 Document registry signals and make gtk-doc pick them up (#401381).
10579 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10581 * docs/pwg/building-testapp.xml:
10582 Add some audioconverts and audioresample to the pipeline, and some
10583 more comments and error handling.
10585 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10587 * docs/manual/manual.xml:
10588 * docs/pwg/pwg.xml:
10589 Fix typo (#400987).
10591 2007-01-26 Wim Taymans <wim@fluendo.com>
10593 * gst/gstcaps.c: (gst_static_caps_get):
10594 Init caps flags too.
10596 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10598 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10600 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10601 If not using mmap'ed files try to seek to the end instead of the
10602 start to determine whether we can seek at all. This fixes the case
10603 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10604 seeks for everything afterwards fail. Fixes #400656
10606 2007-01-25 Wim Taymans <wim@fluendo.com>
10608 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10609 Add some refcount debugging.
10610 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10611 in multiple streaming threads.
10613 2007-01-25 Wim Taymans <wim@fluendo.com>
10615 Patch by: David Schleef <ds at schleef dot org>
10617 * docs/libs/gstreamer-libs-sections.txt:
10618 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10619 * libs/gst/base/gstadapter.h:
10620 API: gst_adapter_copy() that can reduce the amount of memcpy when
10621 getting data from the adapter. Fixes #388201.
10623 2007-01-25 Edward Hervey <edward@fluendo.com>
10625 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10626 In print statements, "%x" is for guint. Fixes build on macosx.
10628 2007-01-24 Edward Hervey <edward@fluendo.com>
10630 * plugins/elements/gstmultiqueue.c:
10631 (gst_multi_queue_loop):
10633 (single_queue_overrun_cb), (single_queue_underrun_cb),
10634 (single_queue_check_full), (gst_single_queue_new):
10635 Implement single queue growth system.
10636 This uses the extra-size properties, and will grow single queues by
10637 that much if one goes full whereas there are others empty. This is
10638 called extra-mode in the code.
10639 When a single queue's levels go back below the initial max-size
10640 limits, it is no longer in extra-mode. This is to ensure we don't
10641 consume too much memory.
10644 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10646 * gst/gst.c: (gst_init_get_option_group):
10647 Make warning about late g_thread_init() calls a bit more explicit,
10648 so that it's more obvious to application developers what they need
10649 to do if a user files a bug against their application.
10651 2007-01-22 Edward Hervey <edward@fluendo.com>
10653 * plugins/elements/gstmultiqueue.c:
10654 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10655 Remove previous hack of unsetting the flushing flag for the source pad
10656 instead of activating it. Instead, fix the source pad activate function
10657 so that it no longer depends on having a parent set or not.
10659 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10661 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10663 * docs/manual/basics-bus.xml:
10664 Fix example code, gst_element_unref() doesn't exist any longer.
10666 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10668 Patch by: Mark Nauwelaerts <manauw at skynet be>
10671 Fix two docs typoes (#399094).
10673 2007-01-19 Edward Hervey <edward@fluendo.com>
10675 * docs/faq/gst-uninstalled:
10676 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10677 depending on libgstbaseutils can work in uninstalled environment.
10679 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10681 * gst/gsttaglist.h:
10682 * gst/gsttagsetter.c:
10683 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10684 statement for new tag.
10686 2007-01-17 Edward Hervey <edward@fluendo.com>
10688 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10689 When dynamically creating single queues, activate sinkpad before adding
10691 We should be doing the same thing for the source pad, but we can't
10692 since it would call a method which needs the parent to be set in order
10693 to work propertly. Instead of activating the source pad, we just unset
10694 the flushing flag, which is the minimal requirement for adding a pad
10695 to an element in a state greater than READY.
10697 2007-01-17 Edward Hervey <edward@fluendo.com>
10699 * docs/faq/gst-uninstalled:
10700 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10703 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10705 * tests/check/gst/gstabi.c:
10706 * tests/check/gst/struct_hppa.h:
10707 * tests/check/libs/libsabi.c:
10708 * tests/check/libs/struct_hppa.h:
10709 Add ABI structs for HPPA (see #393796).
10711 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10713 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10714 Actually write ABI structs to the file specified in the GST_ABI
10715 environment variable, as the message we print claims we would.
10717 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10719 * tests/check/gst/gsttask.c:
10720 Fix header comment.
10722 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10724 * gst/gsttaglist.c: (_gst_tag_initialize):
10725 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10726 previous two entries.
10728 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10730 * docs/gst/gstreamer-sections.txt:
10731 * gst/gsttaglist.c: (_gst_tag_initialize):
10732 * gst/gsttaglist.h:
10733 Add tag support for beat-per-minute.
10735 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10737 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10738 (gst_registry_binary_initialize_magic),
10739 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10740 (gst_registry_binary_save_pad_template),
10741 (gst_registry_binary_save_feature),
10742 (gst_registry_binary_save_plugin),
10743 (gst_registry_binary_write_cache),
10744 (gst_registry_binary_check_magic),
10745 (gst_registry_binary_load_pad_template),
10746 (gst_registry_binary_load_feature),
10747 (gst_registry_binary_load_plugin),
10748 (gst_registry_binary_read_cache):
10749 * gst/gstregistrybinary.h:
10750 Use glib types, cleanup comments, impement interfaces and uri-types.
10752 2007-01-13 Andy Wingo <wingo@pobox.com>
10754 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10755 getrange() to return buffers with other caps, while we fix
10756 demuxers and typefind, or otherwise change part-negotiation.txt.
10758 2007-01-12 Andy Wingo <wingo@pobox.com>
10760 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10761 Factor start/stop into this private function instead of partially
10762 in activate functions and partially in the change_state function.
10763 Fixes setup before the element has changed from READY->PAUSED, as
10764 is the case in pull-mode pipelines.
10765 (gst_base_transform_sink_activate_push)
10766 (gst_base_transform_src_activate_pull): Refactor to use
10767 gst_base_transform_activate().
10768 (gst_base_transform_change_state): Removed, not needed any more.
10770 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10771 Truncate before fixating.
10773 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10774 Don't set_caps() if the result of fixating is ANY, as it's not
10775 supported, and not necessary in the case of a link with no
10776 template caps on either side. Fixes tests/check/libs/basesrc in
10777 some pull-mode tests.
10779 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10780 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10781 (gst_base_transform_src_activate_pull):
10782 Track the activation mode.
10783 (gst_base_transform_setcaps): In pull mode, when activating the
10784 src pad, after activating the sink pad, activate the sink pad's
10785 peer, as discussed in part-negotiation.txt.
10787 * libs/gst/base/gstbasesrc.h:
10788 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10789 vmethod, as in basesink.
10791 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10793 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10794 mode, first proxy the setcaps to the peer pad.
10795 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10796 new fixate vmethod.
10797 (gst_base_sink_default_activate_pull): Rename from
10798 gst_base_sink_activate_pull.
10799 (gst_base_sink_negotiate_pull): New function, performs negotiation
10800 in pull mode before calling ::activate_pull().
10801 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10802 vmethod instead of the default implementation. I have no idea how
10803 this worked before. Negotiate before calling activate_pull.
10805 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10806 sink pads in pull mode. In addition to being correct, fixes
10807 filesrc ! decodebin ! identity ! fakesink.
10808 (gst_pad_get_range, gst_pad_pull_range): Don't call
10809 gst_pad_set_caps() if the caps changes; instead error out with
10810 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10812 2007-01-12 Andy Wingo <wingo@pobox.com>
10814 * docs/design/part-negotiation.txt: Update with more policy.
10816 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10818 * libs/gst/check/gstbufferstraw.h:
10819 * libs/gst/check/gstcheck.h:
10820 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10823 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10825 * tests/check/Makefile.am:
10826 * tests/check/gst/.cvsignore:
10827 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10828 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10829 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10830 (GST_START_TEST), (gst_tag_setter_suite):
10831 Add minimal unit test for beforementioned GstTagSetter bug.
10833 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10835 Patch by: René Stadler <mail at renestadler dot de>
10837 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10838 gst_tag_list_merge() returns a new list, so it's not the best idea
10839 to ingore its return value. Effectively meant that tags could only
10840 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10841 Also add function guard to require a non-NULL taglist as input (has
10842 always been so due to gst_tag_list_copy(), just making it explicit).
10844 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10846 * docs/random/draft-missing-plugins.txt:
10847 Some additions: mention new API that is supposed to be used at the
10848 various stages; short blob about new gst-inspect introspection
10849 option; mention potential future problem with plugins that have
10850 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10852 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10854 * tools/gst-inspect.c:
10855 (print_plugin_automatic_install_info_codecs),
10856 (print_plugin_automatic_install_info_protocols),
10857 (print_plugin_automatic_install_info), (main):
10858 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10859 introspect plugin files and get machine-parsable output that corresponds
10860 to the last bit of the missing-plugin installer string (small gotcha:
10861 doesn't take into account ranks).
10863 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10866 * docs/gst/gstreamer-sections.txt:
10868 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10869 (gst_registry_lookup_locked):
10870 * gst/gstregistry.h:
10871 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10872 (gst_registry_binary_initialize_magic),
10873 (gst_registry_binary_save_string),
10874 (gst_registry_binary_save_pad_template),
10875 (gst_registry_binary_save_feature),
10876 (gst_registry_binary_save_plugin),
10877 (gst_registry_binary_write_cache),
10878 (gst_registry_binary_check_magic),
10879 (gst_registry_binary_load_pad_template),
10880 (gst_registry_binary_load_feature),
10881 (gst_registry_binary_load_plugin),
10882 (gst_registry_binary_read_cache):
10883 * gst/gstregistrybinary.h:
10884 * gst/gstregistryxml.c: (load_feature),
10885 (gst_registry_xml_read_cache):
10886 commit binary registry (disabled by default, see #359653)
10888 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10890 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10891 Fix 'make check' too.
10893 2007-01-10 Andy Wingo <wingo@pobox.com>
10895 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10898 * docs/design/part-negotiation.txt: Update with, um, one way that
10899 pull-mode negotiation might work?
10902 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10903 that the pad must be a src pad; makes sense to call it the other
10904 way in pull mode, and the logic is symmetric anyway.
10906 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10908 * plugins/elements/gstfilesink.c:
10909 Include <stdio.h> for fseeko().
10911 2007-01-10 Wim Taymans <wim@fluendo.com>
10915 Reserve LATENCY event.
10917 2007-01-09 Wim Taymans <wim@fluendo.com>
10919 * docs/design/draft-latency.txt:
10922 2007-01-09 Wim Taymans <wim@fluendo.com>
10924 * docs/design/draft-latency.txt:
10927 * gst/gstelement.h:
10928 * gst/gststructure.c:
10932 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10934 * tests/check/.cvsignore:
10935 Ignore test-registry.xml as well.
10937 2007-01-09 Wim Taymans <wim@fluendo.com>
10939 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10940 unref data at the end when we are done with the pad.
10942 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10944 * docs/gst/gstreamer-sections.txt:
10945 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10946 (init_post), (gst_deinit), (gst_update_registry):
10948 API: add gst_update_registry() (#391296).
10950 * tests/check/Makefile.am:
10951 * tests/check/gst/gstregistry.c:
10952 * tests/check/gst/.cvsignore:
10953 Simple unit test for the above.
10955 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10957 * gst/gstregistry.c: (gst_registry_scan_path_level):
10958 Plugin extension on HP-UX is .sl, add that to the list of approved
10959 plugin extensions (see #393796).
10961 * tests/check/gst/gstpad.c: (GST_START_TEST):
10962 ulong => gulong. Fixes compilation with HP-UX compiler.
10964 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10965 Fix compilation if valgrind headers are not available.
10967 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10969 * win32/common/libgstreamer.def:
10970 Add new exported function.
10971 * win32/vs6/libgstbase.dsp:
10972 Add gstdataqueue.c to the build.
10973 * win32/vs6/libgstcoreelements.dsp:
10974 Add gstmultiqueue.c to the build.
10976 2007-01-06 Andy Wingo <wingo@pobox.com>
10978 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10979 activate_pull(), providing for a way to specialize the process of
10980 spawning a thread to pull on the sink pad. There is a default
10983 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10984 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10985 (gst_base_sink_init): Renamed pad activation functions (inserting
10986 "_pad" in their names). Refactor to use the new activate_pull
10987 vmethod, as appropriate.
10988 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10989 default activate_pull function to start a task pulling from the
10990 sink pad, as before.
10992 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10993 on the pads if necessary, as in push()/chain(). Update docs.
10994 Shouldn't affect existing pull() usage as it is currently only
10995 being used on buffers without caps.
10997 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10999 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11001 Call g_thread_init() first thing in gst_init() / gst_check_init().
11002 When initialisation is done via gst_init_get_option_group() and
11003 GOption parsing, issue a warning if the GLib thread system has not
11004 been initialised yet by the time gst_init_get_option_group() is
11005 called, as it's quite likely other GLib functions such as
11006 g_option_context_new() have been called already then, and
11007 g_thread_init() must be called before any other GLib function. The
11008 application in question must be fixed in that case, since memory
11009 corruption might happen otherwise.
11010 We issue the warning because even if the GLib folks decide to work
11011 around the problem on their end in future, this is still an issue
11012 with all GLib versions >= 2.10.0, so we should warn until we depend
11013 on a GLib version we know to be safe.
11014 Update documentation as well.
11015 Closes bug #391278.
11017 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11019 * tools/gst-inspect.c: (main):
11020 * tools/gst-launch.c: (main):
11021 * tools/gst-typefind.c: (main):
11022 * tools/gst-xmlinspect.c: (main):
11023 Call g_thread_init() really really early, before any other GLib
11024 function (see #342564 and recent discussion on gtk-devel-list).
11026 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11028 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11030 * gst/gst_private.h:
11031 * gst/gstconfig.h.in:
11033 On win32, all the __declspec stuff for symbol exporting is
11034 apparently only needed with MSVC, but doesn't work with MingW.
11035 Fixes compilation with MingW and #391909.
11037 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11039 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11040 Change some GST_ERROR_OBJECT that aren't really errors to
11041 GST_WARNING_OBJECT in order to reduce terminal spam.
11043 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11045 * tests/check/Makefile.am:
11046 disable test again, as there seem to be still race problems
11048 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11050 * tests/check/Makefile.am:
11051 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11052 (GST_START_TEST), (queue_suite):
11053 enable queue test again, add tests for the leaky behaviour
11055 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11058 * tests/examples/Makefile.am:
11059 Compile adapter test/example only if the required headers are
11060 available (fixes #391915).
11062 2007-01-01 David Schleef <ds@schleef.org>
11065 Restore the previous signal handler for SIGSEGV instead of
11066 setting to default, since we may have stolen it away from
11067 someone. (i.e., Mono)
11069 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11071 * docs/random/draft-missing-plugins.txt:
11072 Some small additions and clarifications.
11074 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11076 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11077 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11078 since that can lead to random memory corruptions and crashes
11079 (may or may not be related to #383244, #386711, and #386711).
11081 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11083 * tests/check/.cvsignore:
11084 * tests/check/Makefile.am:
11085 sync .cvsignome and CLEANFILES
11087 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11089 * tests/check/Makefile.am:
11092 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11094 * docs/design/part-states.txt:
11095 two tiny additional comments
11097 * gst/gststructure.c:
11100 * tests/check/Makefile.am:
11101 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11103 disable test for now, unless it gets fixed
11105 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11107 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11109 fix race in underrun test
11111 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11113 * tests/check/elements/.cvsignore:
11116 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11118 try to narrow test failure
11120 2006-12-21 David Schleef <ds@schleef.org>
11122 * plugins/elements/gstfakesrc.c:
11123 Use g_random_int_range(), since it produces better random
11124 numbers in a range than almost-correct floating point code.
11126 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11128 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11129 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11130 (gst_check_teardown_sink_pad):
11131 do not automatically (de)activate pads
11133 * tests/check/Makefile.am:
11134 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11135 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11136 add new, yet simple tests for queue
11138 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11139 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11140 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11142 * tests/check/elements/identity.c: (cleanup_identity):
11143 consistent pad (de)activation
11145 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11147 Patch by: Sebastian Dröge <slomo ubuntu com>
11149 * libs/gst/base/gstcollectpads.c:
11150 Fix two doc typos (#387866).
11152 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11154 * docs/manual/advanced-dparams.xml:
11155 Fix typo (g_object_control_properties() doesn't exist).
11157 2006-12-19 Edward Hervey <edward@fluendo.com>
11159 * gst/gstsegment.c: (gst_segment_set_seek):
11160 Fine tune the cases where the segment start/stop values are really
11162 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11163 Add tests for the return values of gst_segment_set_seek().
11165 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11170 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11172 Fix incorrect documentation and flesh it out a bit more.
11173 Set default values for the max properties on the GParamSpec as well,
11174 so it shows up correctly in gst-inspect.
11176 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11178 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11179 Correct docs of queue, add more detail and crosslink it more.
11181 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11183 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11184 Print additional debug info when the stream isn't perfectly
11185 timestamped; don't try to use invalid durations.
11187 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11189 * docs/design/Makefile.am:
11190 Dist new design docs.
11192 2006-12-16 Wim Taymans <wim@fluendo.com>
11194 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11196 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11197 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11198 (gst_collect_pads_stop), (gst_collect_pads_event),
11199 (gst_collect_pads_chain):
11200 * libs/gst/base/gstcollectpads.h:
11201 Add refcounting to the collectpads data so we can track when it's safe
11202 to free the data. Fixes #383382.
11204 2006-12-15 Wim Taymans <wim@fluendo.com>
11206 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11207 (gst_collect_pads_remove_pad):
11208 Automatically activate/deactivate pads when they are added to a
11209 started/stoped collectpads.
11211 2006-12-15 Wim Taymans <wim@fluendo.com>
11213 * gst/gstelement.c: (gst_element_add_pad):
11214 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11215 * gst/gstpad.c: (gst_pad_init):
11216 Set pads to FLUSHING when they are created. Check, warn and fix when a
11217 demuxer adds an inactive pad to itself when running. Fixes #339326.
11219 2006-12-15 Wim Taymans <wim@fluendo.com>
11221 * gst/gstelement.c: (gst_element_class_init),
11222 (gst_element_default_send_event), (gst_element_send_event),
11223 (gst_element_default_query), (gst_element_query):
11224 Expose default element send_event and query handling as vmethods that
11225 subclasses can chain up to.
11227 2006-12-15 Wim Taymans <wim@fluendo.com>
11229 * gst/gstelement.c: (gst_element_set_state_func):
11230 Small documentation fixes.
11232 2006-12-15 Wim Taymans <wim@fluendo.com>
11234 * docs/design/draft-latency.txt:
11235 Checked in draft for handling latency in pipelines.
11237 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11241 * gstreamer.spec.in:
11244 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11246 * gst/gst.c: (init_pre), (init_post):
11247 init_pre() and init_post() might be called via our GOptionGroup or
11248 from gst_init(), and we should skip both of them if we've already
11249 been initialised, otherwise we will init some things twice or add
11250 two default log functions.
11252 2006-12-13 Edward Hervey <edward@fluendo.com>
11254 * docs/manual/basics-bus.xml:
11255 No, gst_main_loop does not exist. Its g_main_loop.
11256 Discovered by somebody who abused the copy-paste technique of coding :)
11258 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11260 * gst/gstghostpad.c:
11261 Log ghostpad debug stuff to the GST_PADS category as well rather
11262 than just to the default category.
11264 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11267 * gst/gst.c: (init_pre):
11268 Add some basic system details such as OS and architecture
11269 to the debug output if possible, courtesy of uname().
11271 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11273 * docs/gst/running.xml:
11274 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11275 environment variables.
11277 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11279 * tests/check/gst/gstbin.c: (GST_START_TEST):
11280 It is acceptable to have a refcount of 2 or 3 at this point in the
11281 test, because the pipeline might be just posting its state_change
11282 message. The next line then waits for that message to appear using
11283 bus_poll, so that should be fine too.
11285 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11287 * gst/gst.c: (ensure_current_registry_forking):
11288 Ignore EINTR when reading from the child registry pipe.
11289 Explicitly ignore the return value from close, since it makes no
11292 * gst/gstminiobject.c: (gst_mini_object_ref),
11293 (gst_mini_object_unref):
11294 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11296 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11297 When removing cached plugins, remove their features too, so they're
11298 not visible after they've disappeared.
11300 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11301 In the unlikely case that we are linking pads with no parents, don't
11302 crash trying to get the non-existent parent bin.
11304 * gst/parse/grammar.y:
11305 Output debug in the PIPELINE category
11307 2005-03-08 Wim Taymans <wim@fluendo.com>
11309 Patch by: René Stadler <mail at renestadler dot de>
11311 * gst/gstclock.c: (gst_clock_new_periodic_id):
11312 Reject invalid clock times for interval of periodic ids.
11315 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11317 * gst/gstelementfactory.c: (gst_element_factory_create):
11318 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11319 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11320 * tools/gst-inspect.c: (print_element_info):
11321 Fix refcounting of gst_plugin_feature_load to match the docs.
11324 2006-12-07 Wim Taymans <wim@fluendo.com>
11326 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11327 (gst_base_sink_get_position):
11328 Improve debugging of events.
11330 2006-12-07 Wim Taymans <wim@fluendo.com>
11332 Patch by: René Stadler <mail at renestadler dot de>
11334 * gst/gstclock.c: (gst_clock_id_wait):
11335 Make period ids add the interval to the origial requested time instead
11336 of the possibly updated time which can be wrong when there are multiple
11337 waiters for the same id. Fixes #382592.
11339 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11340 (gst_system_clock_id_wait_jitter_unlocked),
11341 (gst_system_clock_id_wait_jitter):
11342 Fix restart in the async notify thread when an async entry is added to
11343 the front of the list. Fixes #381492.
11345 * tests/check/gst/gstsystemclock.c: (store_callback),
11346 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11347 Added test for multiple async waits.
11348 Added test for async wait order.
11350 2006-12-07 Wim Taymans <wim@fluendo.com>
11352 * gst/gstbin.c: (gst_bin_query):
11353 Add some more docs about the POSITION query.
11355 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11358 Bump version nano - back to CVS.
11360 === release 0.10.11 ===
11362 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11365 releasing 0.10.11, "Love never runs on time"
11367 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11369 * win32/common/libgstbase.def:
11370 * win32/common/libgstreamer.def:
11371 * win32/vs8/libgstbase.vcproj:
11372 * win32/vs8/libgstcoreelements.vcproj:
11373 * win32/vs8/libgstreamer.vcproj:
11374 Fix compilation on win32 under VS8
11375 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11376 Partially fixes #381175
11378 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11380 * gst/gstvalue.c: (gst_value_compare_fraction):
11381 If someone is foolish enough to compare 2 fractions with denominator =
11382 0, return UNORDERED rather than aborting.
11384 2006-11-28 Edward Hervey <edward@fluendo.com>
11386 * libs/gst/base/Makefile.am:
11387 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11388 (gst_data_queue_base_init), (gst_data_queue_class_init),
11389 (gst_data_queue_init), (gst_data_queue_new),
11390 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11391 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11392 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11393 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11394 (gst_data_queue_set_flushing), (gst_data_queue_push),
11395 (gst_data_queue_pop), (gst_data_queue_drop_head),
11396 (gst_data_queue_set_property), (gst_data_queue_get_property):
11397 * libs/gst/base/gstdataqueue.h:
11398 New GstDataQueue object for threadsafe queueing. Most useful for
11399 elements that need some queueing functionnality.
11400 * docs/libs/gstreamer-libs-docs.sgml:
11401 * docs/libs/gstreamer-libs-sections.txt:
11402 Insert documentation for GstDataQueue
11403 * plugins/elements/Makefile.am:
11404 * plugins/elements/gstelements.c:
11405 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11406 (gst_multi_queue_class_init), (gst_multi_queue_init),
11407 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11408 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11409 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11410 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11411 (gst_multi_queue_loop), (gst_multi_queue_chain),
11412 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11413 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11414 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11415 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11416 (wake_up_next_non_linked), (compute_next_non_linked),
11417 (single_queue_overrun_cb), (single_queue_underrun_cb),
11418 (single_queue_check_full), (gst_single_queue_new):
11419 * plugins/elements/gstmultiqueue.h:
11420 New multiqueue element, using GstDataQueue. Used for queuing multiple
11422 Closes #344639 and #347785
11424 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11426 * docs/pwg/advanced-types.xml:
11427 add more missing type details
11429 * tools/gst-run.c: (main):
11430 remove unused variable
11432 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11434 * docs/libs/Makefile.am:
11435 * docs/libs/gstreamer-libs.types:
11436 add types of base classes to enable gobject specific stuff in the docs
11438 * docs/random/ensonic/embedded.txt:
11439 more ideas about isolating platform specific things
11441 2006-11-20 Wim Taymans <wim@fluendo.com>
11443 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11445 * libs/gst/check/gstcheck.h:
11446 Fix compilation and running against 0.9.4. Fixes #377332.
11448 2006-11-20 Wim Taymans <wim@fluendo.com>
11450 * gst/gstsegment.c: (gst_segment_set_seek),
11451 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11452 (gst_segment_to_running_time):
11453 Fix boundary checking in to_running_time() and to_stream_time().
11456 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11457 stream and running time can now be calculated for the complete
11460 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11462 * gst/gstpad.c: (gst_pad_push_event):
11463 Can't access event structure after giving away ownership of
11466 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11468 * docs/random/ensonic/embedded.txt:
11469 * docs/random/ensonic/profiling.txt:
11470 * docs/random/ensonic/receipies.txt:
11473 2006-11-13 Wim Taymans <wim@fluendo.com>
11475 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11478 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11480 2006-11-13 Wim Taymans <wim@fluendo.com>
11482 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11484 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11485 Store new length in segment duration so we don't keep on calling the
11486 potentially expensize get_size() call. Fixes #370865.
11488 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11490 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11492 * win32/common/libgstreamer.def:
11493 Add two missing symbols (#366492).
11495 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11497 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11498 (gst_adapter_take_buffer):
11499 Fix format string to use all its arguments.
11500 Remove useless >= check on a guint
11502 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11504 * tests/examples/adapter/.cvsignore:
11505 Ignore build file as commanded by the build-bot
11507 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11509 * tests/examples/adapter/Makefile.am:
11510 * tests/examples/adapter/adapter_test.c: (run_test_take),
11511 (run_test_take_buffer), (run_tests), (main):
11513 Add new files from the previous commit
11515 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11519 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11520 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11521 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11522 * libs/gst/base/gstadapter.h:
11523 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11524 (GST_START_TEST), (gst_adapter_suite):
11525 * tests/examples/Makefile.am:
11526 Do some optimisation work in GstAdapter to avoid copies in more cases.
11527 It could still do slightly better by merging buffers when
11528 gst_buffer_is_span_fast is true, but is already faster.
11530 Also, avoid traversing a single-linked list to append each incoming
11531 buffer inside the adapter.
11533 Add simple test app that times the adapter behaviour in different
11534 situations, and extend the unit test to check that bytes enter and
11535 exit the adapter in their original order.
11537 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11539 * docs/random/draft-missing-plugins.txt:
11540 Update: use element message instead of adding a new message
11541 type to the core; don't provide GStreamer API to initiate the
11542 plugin download, just provide API to compose the strings needed
11543 and let an external libgimmestuff handle the rest.
11545 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11547 * tools/gst-inspect.c: (print_element_properties_info):
11548 Print a string instead of 'unknown type' for GValueArray properties
11550 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11552 * docs/random/draft-missing-plugins.txt:
11555 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11557 * tests/examples/typefind/typefind.c: (type_found), (main):
11558 Make typefind element example work again (#371894); add a
11561 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11563 * docs/random/draft-missing-plugins.txt:
11564 Commit initial draft about how to deal with missing plugins,
11565 needs work (API too).
11567 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11569 * docs/pwg/advanced-types.xml:
11570 documents the new caps elements (see #363118)
11572 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11574 * gst/gstplugin.c: (gst_plugin_load_file):
11575 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11576 (gst_file_src_map_region), (gst_file_src_start):
11577 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11578 (gst_file_index_commit):
11579 Use g_strerror() instead of strerror() - we want UTF-8.
11581 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11583 Patch by: Peter Kjellerstedt <pkj at axis com>
11585 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11586 Another printf fix (#371493).
11588 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11590 * tests/check/gst/gsttag.c:
11591 relicence (okay with author=company)
11593 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11595 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11596 (gst_pad_push_event):
11597 Enhance debug and improve docs
11602 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11604 * docs/random/ensonic/distributed.txt:
11605 * docs/random/ensonic/profiling.txt:
11608 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11610 * docs/gst/gstreamer-sections.txt:
11611 add new API and fix the build
11613 * gst/gstbin.c: (gst_bin_recalc_state):
11614 * gst/gstelement.c: (gst_element_message_full),
11615 (gst_element_get_state_func), (gst_element_set_state_func):
11616 use new API and improve logging
11618 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11620 API: add function to get StateChangereturn names to improve logs
11622 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11624 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11625 I'm considering shooting the next person to put strerror stuff
11626 in the translateable part of the message.
11628 2006-11-03 Wim Taymans <wim@fluendo.com>
11630 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11631 Get the type and printf conversion specifiers right.
11633 2006-11-03 Wim Taymans <wim@fluendo.com>
11635 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11637 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11638 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11639 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11640 Some small cleanups. Improve debugging.
11642 Signal all waiting threads with a broadcast instead of just one.
11645 2006-11-03 Wim Taymans <wim@fluendo.com>
11647 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11648 (gst_fd_src_create):
11649 Add some debugging.
11650 Only update fd when it's different from the old.
11652 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11654 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11655 Printf fixes for PPC/OSX, take two (#369366).
11657 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11659 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11661 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11662 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11663 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11664 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11665 don't cast to long long for portability reasons, but use
11666 GLib's types instead.
11668 2006-10-30 Michael Smith <msmith@fluendo.com>
11670 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11671 Get the arguments to lseek() the right way around.
11674 2006-10-30 Wim Taymans <wim@fluendo.com>
11676 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11679 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11681 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11683 Patch by: Kjartan Maraas <kmaraas at gnome org>
11685 * docs/design/part-MT-refcounting.txt:
11686 * docs/random/wtay/capsnego2-docs:
11689 Typo fixes (#366212).
11691 2006-10-28 Wim Taymans <wim@fluendo.com>
11693 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11696 * win32/common/libgstbase.def:
11697 * win32/common/libgstreamer.def:
11698 * win32/vs8/libgstbase.vcproj:
11699 * win32/vs8/libgstcontroller.vcproj:
11700 Add needed entries in .def files.
11702 Rearrange def files in vs8 solutions. Fixes #366286.
11704 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11706 * win32/common/gstconfig.h:
11707 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11708 hand-made win32 gstconfig.h. Fixes #366321.
11710 2006-10-27 Wim Taymans <wim@fluendo.com>
11712 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11713 (gst_ghost_pad_new_full):
11714 Make acceptcaps return TRUE when we don't have a target, just like
11717 2006-10-27 Wim Taymans <wim@fluendo.com>
11719 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11720 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11722 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11724 * gst/gststructure.c: (gst_structure_id_set_value):
11725 If someone tries to set a non-UTF8 string field on a structure,
11726 don't just print a warning, but also ignore the request and do
11727 not change/add that field to the structure.
11729 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11730 Test for the above.
11732 2006-10-25 David Schleef <ds@schleef.org>
11735 g_hash_table_insert() needs a cast to a non-const pointer duh.
11737 2006-10-25 David Schleef <ds@schleef.org>
11741 Change name parameter of _gst_debug_register_funcptr to const
11742 to reflect the constness of its use in the function as well
11743 as to quiet a gcc warning.
11745 2006-10-25 Edward Hervey <edward@fluendo.com>
11747 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11748 Don't push the buffer if it's empty.
11751 2006-10-24 Wim Taymans <wim@fluendo.com>
11756 * libs/gst/base/gstbasetransform.c:
11757 (gst_base_transform_sink_eventfunc):
11758 Debug segment values *after* updating them as this is more
11761 2006-10-23 Wim Taymans <wim@fluendo.com>
11763 * docs/design/part-events.txt:
11766 * docs/design/part-block.txt:
11767 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11768 (gst_pad_push_event):
11769 Revert BLOCKING patch, it tries to be smart without really having a
11770 clear idea what or how. So, now we discard all FLUSHING events again on
11771 a blocking pad. Should fix gnonlin again.
11773 2006-10-23 Wim Taymans <wim@fluendo.com>
11775 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11777 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11778 (gst_base_src_start), (gst_base_src_activate_push):
11779 Make sure size is always initialized. Fixes #364388.
11781 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11783 * docs/random/ensonic/distributed.txt:
11784 add some ideas about doing distributed processing
11786 * docs/random/ensonic/profiling.txt:
11787 get_rusage look promising
11789 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11791 * docs/manual/basics-helloworld.xml:
11792 Add a cast in example to fix compile warning
11794 2006-10-18 Wim Taymans <wim@fluendo.com>
11796 * gst/gstsegment.c: (gst_segment_set_last_stop),
11797 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11798 Relax arg checking again, -1 is allowed.
11800 2006-10-18 Wim Taymans <wim@fluendo.com>
11802 * gst/gstsegment.c: (gst_segment_set_last_stop),
11803 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11804 _set_last_stop() must be with a value != -1
11805 A _TYPE_SET to -1 means seek to 0.
11806 Calc last_stop correctly for negative rates.
11807 Make sure we work with positive durations when updating a segment.
11809 2006-10-18 Wim Taymans <wim@fluendo.com>
11811 * docs/design/part-live-source.txt:
11815 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11818 Add an explicit cast to GstBuffer** to keep old code that added an
11819 explicit cast to GstMiniObject** for gst_mini_object_replace()
11820 compiling without warning.
11822 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11824 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11825 check for validity of dates
11827 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11829 * docs/gst/gstreamer-sections.txt:
11830 Forgot this one, makes gtk-doc shut up.
11832 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11834 Patch by: Peter Kjellerstedt <pkj at axis com>
11837 Don't define xmlNodePtr to gpointer if the core was built with
11838 --disable-loadsave and --disable-registry, this will break
11839 applications that want to use libxml2 but are buildling against a
11840 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11841 instead so we don't have to mess with the libxml2 namespace
11844 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11847 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11848 type-punned pointer warnings.
11850 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11852 * gst/gstelement.h:
11853 Add casts to the correct return type to state <=> state transition
11856 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11858 * docs/design/part-live-source.txt:
11859 describe howto handle latency
11861 * docs/random/ensonic/profiling.txt:
11864 * tools/gst-plot-timeline.py:
11865 fix log parsing for solaris, remove unused function
11867 2006-10-16 Wim Taymans <wim@fluendo.com>
11869 * docs/design/part-trickmodes.txt:
11871 Update some docs regarding reverse playback.
11873 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11875 Patch by: Marcus Granado <mrc dot gran at gmail com>
11877 * win32/vs8/grammar.vcproj:
11878 Error out with a warning if glib-genmarshal.exe is not in path,
11879 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11881 2006-10-13 Wim Taymans <wim@fluendo.com>
11883 * gst/gstsegment.c: (gst_segment_set_seek):
11884 When seeking to stop -1, set last_stop (current position) to the
11885 duration of the segment.
11887 2006-10-13 Wim Taymans <wim@fluendo.com>
11889 * gst/gstelement.h:
11890 Clarify _NO_PREROLL a bit more.
11895 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11896 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11897 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11898 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11899 due to wrong locking order. Fixes #361769.
11900 Remove some redundant/misplaced checks in pad_block.
11902 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11903 For negative rates, count backwards from the duration.
11905 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11907 * gst/gsterror.c: (_gst_library_errors_init):
11908 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11909 up with something better).
11911 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11913 * win32/vs6/libgstreamer.dsp:
11914 * win32/vs7/libgstreamer.vcproj:
11915 * win32/vs8/libgstreamer.vcproj:
11916 Don't reference glib-compat.c which is currently not used and not
11917 disted; add gstquark.c which was recently added. Fixes #361730.
11919 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11921 * win32/common/libgstbase.def:
11922 * win32/common/libgstcontroller.def:
11923 * win32/common/libgstreamer.def:
11924 Add gst_caps_merge() and a bunch of other recently-added functions.
11927 2006-10-11 Wim Taymans <wim@fluendo.com>
11929 * docs/plugins/gstreamer-plugins.args:
11930 * docs/plugins/inspect/plugin-coreelements.xml:
11931 * docs/plugins/inspect/plugin-coreindexers.xml:
11932 Update element args.
11934 * gst/gstsystemclock.c:
11935 Small comment update.
11937 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11938 (gst_tee_request_new_pad), (gst_tee_release_pad),
11939 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11940 (gst_tee_sink_activate_pull):
11941 * plugins/elements/gsttee.h:
11943 Add default property defines.
11944 Implement release pad function.
11945 Give properties better blubs etc.
11946 Activate pads before adding them to a running tee.
11947 Do simple buffer_alloc on the first requested pad.
11948 Post error when activation fails.
11950 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11952 * gst/gst.c: (ensure_current_registry_forking):
11953 Check return value of write() to make compiler happy.
11955 2006-10-11 Wim Taymans <wim@fluendo.com>
11957 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11959 * plugins/elements/gstqueue.c: (gst_queue_chain):
11960 Recheck queue filledness after signalling the overrun when we're about
11961 to leak downstream because we released the lock when emitting the signal
11962 and the queue could be empty again. Fixes #352345.
11964 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11966 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11967 Fix refcounting here too, just like we did for _new_valist() a few
11968 days ago (#357180) (thanks to René Stadler). Also remove all those
11969 'Since: 0.9' from the gtk-doc blobs.
11971 * tests/check/libs/controller.c: (controller_refcount_new_list),
11972 (gst_controller_suite):
11973 Unit test for the above.
11975 2006-10-10 Wim Taymans <wim@fluendo.com>
11977 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11979 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11980 (gst_pad_save_thyself):
11982 Write pad direction in XML output. Fixes #345496.
11984 2006-10-10 Wim Taymans <wim@fluendo.com>
11986 Patch by: René Stadler <mail at renestadler dot de>
11988 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11989 (gst_controller_new_list), (_gst_controller_dispose),
11990 (_gst_controller_finalize), (_gst_controller_class_init):
11991 Take ref to controlled object so that it cannot disappear.
11994 2006-10-10 Wim Taymans <wim@fluendo.com>
11996 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11997 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11998 (gst_check_teardown_sink_pad):
11999 Activate/deactivate pads in setup/teardown respectively.
12001 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12003 Patch by: Josep Torra Valles <josep@fluendo.com>
12006 Cast values when making gstenumtypes.h. This pacifies Forte
12007 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12008 in the enumeration.
12010 2006-10-09 Wim Taymans <wim@fluendo.com>
12012 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12013 Rename some more @cur to @start to fix docs.
12015 * gst/gstsegment.c: (gst_segment_set_seek):
12017 time and start must always stay in sync as defined in design doc.
12019 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12020 Rename param to fix docs.
12022 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12023 Check that start and time are in sync.
12025 * tests/check/pipelines/parse-launch.c:
12026 (gst_parse_test_element_change_state):
12027 Activate pad before adding to the element.
12029 2006-10-09 Wim Taymans <wim@fluendo.com>
12031 * docs/design/part-qos.txt:
12036 Update seek event docs regarding negative rates.
12037 Rename @cur to @start.
12039 * gst/gstsegment.c: (gst_segment_set_seek):
12040 * gst/gstsegment.h:
12041 Update set_seek docs regarding negative rates.
12042 Correctly update last_stop to @stop when dealing with negative
12044 Rename @cur to @start.
12046 * tests/check/gst/gstpad.c: (GST_START_TEST):
12047 Activate pads before trying to use them.
12049 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12050 (gst_segment_suite):
12051 Add simple check for segments and negative rates.
12053 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12055 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12056 * gst/gsttaglist.h:
12057 * docs/gst/gstreamer-sections.txt:
12058 API: add gst_tag_list_is_empty() (#360467).
12060 * tests/check/gst/gsttag.c: (GST_START_TEST):
12063 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12065 * gst/gstmessage.h:
12066 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12067 a value that doesn't fit on enumeration.
12069 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12071 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12072 Remove local debugging system and use Gstreamer's instead.
12074 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12076 Patch by: Josep Torra Valles <josep@fluendo.com>
12078 * common/m4/gst-error.m4:
12079 Disable warning of statement not reached on Forte.
12080 * gst/gstmessage.h:
12081 Fix warning on Forte (value doesn't fit on enumeration).
12082 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12083 Fix warning on Forte (value doesn't fit on enumeration).
12084 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12085 DEBUG macro says it takes minimum of 2 args and so Forte
12086 complains about the use with just 1 arg.
12087 * plugins/elements/gstfdsink.c:
12088 * plugins/elements/gstfdsrc.c:
12089 * plugins/elements/gstfilesink.c:
12090 * plugins/elements/gstfilesrc.c:
12091 Use correct return type for the uri handler implementations.
12093 All these fix warnings in Forte. Fixes bug #360860.
12095 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12097 * gst/gstelement.h:
12098 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12099 format string, so don't use G_GNUC_PRINTF for those versions.
12101 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12103 * gst/gsttaglist.c: (gst_is_tag_list):
12104 * gst/gsttaglist.h:
12105 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12107 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12108 Small test for the above.
12110 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12112 * gst/gsttaglist.h:
12113 Less tabs, more spaces.
12115 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12118 Those two function declarations do actually belong there, revert
12119 commit from yesterday that turned them intro macros.
12121 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12123 Patch by: Josep Torra Valles <josep@fluendo.com>
12125 * gst/gst.c: (gst_init_get_option_group):
12126 Fix empty declaration and type mismatch.
12127 * gst/gstbin.c: (gst_bin_change_state_func):
12129 * gst/gstelement.c: (gst_element_continue_state),
12130 (gst_element_set_state_func), (gst_element_change_state),
12131 (gst_element_change_state_func):
12132 Fix type mismatches.
12133 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12134 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12135 Cast as appropriate.
12136 * gst/gstobject.c: (gst_class_signal_connect):
12137 Cast as appropriate. The function pointer parameter really
12138 has the wrong type but would break API if we change it.
12140 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12141 order of including string.h.
12142 * gst/gstutils.c: (gst_element_state_get_name):
12143 Remove unreachable line.
12144 * gst/gstxml.c: (gst_xml_parse_doc):
12146 All these caught by Forte.
12148 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12150 Patch by: Josep Torra Valles <josep@fluendo.com>
12152 * common/m4/gst-error.m4:
12154 We need to disable warnings on Forte for empty declarations
12155 due to gst-indent adding ;s to lines that just use macros
12156 where the macro actually doesn't need a ; at end to end
12159 2006-10-06 Wim Taymans <wim@fluendo.com>
12161 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12162 (gst_file_sink_close_file), (gst_file_sink_event),
12163 (gst_file_sink_render):
12164 Add some FIXME for the NEWSEGMENT handling.
12166 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12168 * gst/parse/grammar.y:
12169 Remove static function gst_parse_element_lock as all it does
12170 is return. Looks like cruft from 0.8.
12172 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12174 Patch by: Josep Torra Valles <josep@fluendo.com>
12176 * common/m4/gst-error.m4:
12178 * libs/gst/net/Makefile.am:
12179 Fix a compilation issue with Forte on Solaris. inet_aton is in
12182 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12184 * gst/gstpad.c: (pre_activate):
12185 * gst/gstregistry.c: (gst_registry_scan_path_level):
12186 * gst/gstregistryxml.c: (load_plugin):
12187 * libs/gst/controller/gstcontroller.c:
12188 (gst_controlled_property_set_interpolation_mode):
12189 * libs/gst/dataprotocol/dataprotocol.c:
12190 (gst_dp_packet_from_event_1_0):
12191 * libs/gst/net/gstnetclientclock.c:
12192 (gst_net_client_clock_observe_times):
12193 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12196 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12199 * docs/gst/gstreamer-sections.txt:
12200 * gst/gstconfig.h.in:
12201 * gst/gstelement.h:
12203 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12204 whether we can use G_GNUC_PRINTF in other header files and at
12205 least check the printf format/arguments of debug messages and
12206 GST_ELEMENT_ERROR messages when the printf extension is not
12208 Replace more tabs with spaces in gstinfo.h and remove two spurious
12209 function declarations in GST_DISABLE_DEBUG part with macros.
12211 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12213 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12214 More docs for the sync-message signal (mention that it is not
12215 emitted by default); log message structures of messages posted on
12218 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12220 * gst/gst.c: (ensure_current_registry_forking):
12221 Use a pipe pair to receive status results from the forked child, and
12222 ignore the result from waitpid. Fixes #355499
12224 2006-10-02 Wim Taymans <wim@fluendo.com>
12226 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12227 (gst_ghost_pad_suite):
12230 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12233 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12235 2006-10-02 Edward Hervey <edward@fluendo.com>
12237 * docs/design/part-block.txt:
12238 Further explain the use of flushing on blocked pads.
12239 * docs/gst/gstreamer-sections.txt:
12240 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12241 (gst_pad_push_event):
12243 Added new GstPadFlag : GST_PAD_BLOCKING.
12244 Adds the notion of pads really blocking, which enables to properly
12245 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12247 API: gst_pad_is_blocking()
12248 API: GST_PAD_IS_BLOCKING() macro
12249 API: GST_PAD_BLOCKING GstPadFlag
12251 2006-10-02 Wim Taymans <wim@fluendo.com>
12253 Patch by: mrcgran <mrc.gran at gmail dot com>
12255 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12256 Filter the proxied caps against the padtemplate if we have one.
12258 * gst/gstquery.c: (gst_query_new_segment):
12259 Add include for gstinfo.h so that compilation with
12260 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12262 2006-10-02 Wim Taymans <wim@fluendo.com>
12264 Patch by: Alessandro Decina <alessandro at nnva org>
12266 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12267 (gst_file_sink_set_location), (gst_file_sink_open_file),
12268 (gst_file_sink_close_file), (gst_file_sink_event),
12269 (gst_file_sink_render):
12270 Set file to NULL when closing filesink so that we can set a new filename
12271 in READY. Fixes #358613.
12273 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12275 Patch by: Alessandro Decina <alessandro at nnva org>
12277 * gst/gstevent.c: (_gst_event_copy):
12278 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12279 with event structures by setting the parent refcount address of the
12280 copied structure to the address of the refcount member of the newly
12281 copied event rather than the address of the refcount member of the
12282 original event. Fixes #358737.
12284 * tests/check/gst/gstevent.c: (GST_START_TEST):
12285 Unit test for the above.
12287 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12289 * docs/design/Makefile.am:
12290 Dist some more files.
12292 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12294 * tests/check/libs/controller.c: (GST_START_TEST),
12295 (gst_controller_suite):
12296 Add test for the previous fix; add some more tests
12297 for correct refcounting behaviour; fix a few leaks
12298 in test cases; call gst_controller_init() at start
12301 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12303 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12304 (gst_controller_set_from_list):
12305 Don't g_return_val_if_fail() on timed values with invalid timestamps
12306 inside a critical section without unlocking the mutex. Spotted by
12307 René Stadler. (#357617)
12308 Also, fix up refcounting properly: when returning an existing
12309 controller, we should increase the reference only once and not
12310 once per property and when trying to control a property again
12311 we should also increase the refcount.
12313 2006-09-29 Wim Taymans <wim@fluendo.com>
12315 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12316 * libs/gst/net/gstnettimeprovider.c:
12317 (gst_net_time_provider_thread):
12318 Stop reading commands when EOF as well.
12320 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12321 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12322 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12323 Unify description of the dump property.
12325 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12327 * tests/examples/manual/.cvsignore:
12328 OK, so it's actually cvsignore that needs changing. Stop laughing.
12330 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12332 * tests/examples/manual/Makefile.am:
12333 Gah, declare vars *before* using them
12335 2006-09-28 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_features_for_plugin_unlocked),
12344 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12345 (gst_registry_scan_path),
12346 (_priv_gst_registry_remove_cache_plugins),
12347 (_priv_gst_registry_cleanup):
12348 * gst/gstregistry.h:
12349 Re-commit the registry changes, along with an extra fix:
12350 When a cached plugin is encountered at a different file path,
12351 update the stored path in the registry cache so that the parent
12352 process knows where it actually is now when it re-reads the registry
12353 cache. Fixes the thing that broke distcheck with the previous commit.
12355 * tests/check/Makefile.am:
12356 Clean up files named 'core' too when running make clean.
12358 * tests/examples/manual/Makefile.am:
12359 Set up a registry path for running these tests, and clean it properly
12362 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12365 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12366 want gmodule-no-export-2.0.pc instead so that we don't drag in
12367 --export-dynamic on every project that links to GStreamer.
12369 Also, make our export regex only match the start of symbols, rather
12370 than any symbol that contains '_gst' somewhere.
12372 * libs/gst/check/Makefile.am:
12373 The libgstcheck we build does however need export-dynamic, as it
12374 produces some symbols that don't match our _gst... style regex.
12377 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12379 * gst/gst.c: (init_pre), (scan_and_update_registry),
12380 (ensure_current_registry_nonforking),
12381 (ensure_current_registry_forking), (ensure_current_registry),
12382 (init_post), (gst_debug_help), (gst_deinit):
12383 * gst/gst_private.h:
12384 * gst/gstregistry.c: (gst_registry_finalize),
12385 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12386 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12387 (_gst_registry_cleanup):
12388 * gst/gstregistry.h:
12389 Revert previous change until I figure out why it breaks distcheck.
12391 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12393 * gst/gst.c: (init_pre), (scan_and_update_registry),
12394 (ensure_current_registry_nonforking),
12395 (ensure_current_registry_forking), (ensure_current_registry),
12396 (init_post), (gst_debug_help), (gst_deinit):
12398 Make init_pre and init_post take the full complement of GOptionFunc
12399 args so they can return useful GErrors. Make the registry updating
12402 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12403 ensure that the registry we're about to write out doesn't contain
12404 stale information about old-deleted plugin files.
12406 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12407 that deletion of plugin files is considered a registry change.
12409 * gst/gst_private.h:
12410 * gst/gstregistry.c: (gst_registry_finalize),
12411 (gst_registry_remove_features_for_plugin_unlocked),
12412 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12413 (gst_registry_scan_path),
12414 (_priv_gst_registry_remove_cache_plugins),
12415 (_priv_gst_registry_cleanup):
12416 * gst/gstregistry.h:
12417 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12418 by adding _priv prefix, so that they won't appear in the global
12419 symbol table. They still do atm though because of #318031. Move the
12420 prototypes to gst_private.h
12422 When removing a plugin, remove all features for that plugin too.
12425 2006-09-27 Wim Taymans <wim@fluendo.com>
12427 * docs/random/moving-plugins:
12428 Make it clear that the "compiled-in descriptions" really mean
12429 the element details.
12431 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12432 (gst_base_sink_wait_preroll):
12435 * docs/libs/gstreamer-libs-sections.txt:
12436 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12437 (gst_base_src_get_range), (gst_base_src_activate_push):
12438 * libs/gst/base/gstbasesrc.h:
12439 Added function to block while waiting for PLAYING, this function
12440 is used by live sources that block on the clock.
12441 API: gst_base_src_wait_playing()
12443 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12445 Patch by: Peter Kjellerstedt <pkj at axis com>
12448 gst-element-check.m4 is generated and should therefore be
12449 copied from the build dir rather than the source dir (#357593).
12450 'make distcheck' hasn't noticed this because we were disting
12451 the file as well, so stop doing that.
12453 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12455 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12456 Add some tests for gst_caps_intersect().
12458 * tools/gst-launch.c: (event_loop):
12459 Print all buffering percentages we get, even the 100% one.
12461 2006-09-26 Wim Taymans <wim@fluendo.com>
12463 * tools/gst-inspect.c: (print_element_properties_info),
12464 (print_signal_info):
12465 Fix printing of flags to match the look of enums.
12467 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12469 * gst/gstelementfactory.c:
12470 Fix typo in docs blurb.
12472 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12474 * gst/gsturi.c: (search_by_entry):
12475 Don't assert/crash here if a uri handler doesn't return any
12476 supported protocols. The list of protocols could be generated
12477 dynamically at runtime or at plugin registration, and an error
12478 in the underlying library shouldn't be fatal (#353301).
12480 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12483 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12484 (spotted by Peter Kjellerstedt).
12486 2006-09-23 Wim Taymans <wim@fluendo.com>
12488 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12490 * libs/gst/base/gstbasesrc.c:
12491 (gst_base_src_default_check_get_range), (gst_base_src_start),
12492 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12493 (gst_base_src_change_state):
12494 Match _start/_stop calls in the activate functions. Remove redundant
12495 _stop call from the state change function. Fixes #356910.
12496 Turn failure DEBUG into ERROR.
12498 2006-09-22 Wim Taymans <wim@fluendo.com>
12500 * docs/design/part-buffering.txt:
12501 * gst/gstmessage.c: (gst_message_new_buffering),
12502 (gst_message_parse_buffering):
12503 Update docs about buffering.
12505 * docs/design/part-trickmodes.txt:
12508 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12510 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12511 (gst_controller_new_list):
12512 Ref instances when returning them again (fixes #357180)
12514 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12516 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12517 Don't forget to release proxy lock when there's an error.
12519 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12522 Add extra initialisers for Caps things, to fix some plugin warnings
12525 2006-09-18 Wim Taymans <wim@fluendo.com>
12527 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12528 Also set template on the internal pad so that a getcaps from the
12529 target pad returns the template caps.
12531 2006-09-18 Wim Taymans <wim@fluendo.com>
12533 * gst/gstelement.c: (gst_element_post_message),
12534 (gst_element_dispose):
12535 Use _DEBUG_OBJECT some more.
12537 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12540 * tools/gst-launch.c: (main):
12541 If the toplevel element is not a GstPipeline, it must be put in a
12542 pipeline so that a bus and clock is selected.
12544 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12546 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12547 JITTER, RATE, and LATENCY query should be handled by the
12548 default case and not by the CONVERT query code.
12550 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12552 * gst/gstformat.c: (gst_format_register):
12553 Fix locking order (must take lock before using n_values).
12555 * gst/gstvalue.c: (gst_value_serialize_enum),
12556 (gst_value_deserialize_enum_iter_cmp),
12557 (gst_value_deserialize_enum):
12558 Fix serialisation/deserialisation of custom registered GstFormats.
12560 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12561 Unit test for custom format serialisation/deserialisation.
12563 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12565 * docs/pwg/building-boiler.xml:
12566 * plugins/elements/gstcapsfilter.c:
12567 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12570 2006-09-16 Edward Hervey <edward@fluendo.com>
12572 * libs/gst/base/gstbasetransform.c:
12573 (gst_base_transform_buffer_alloc):
12574 Check if requested caps are the same as the sinks caps IF
12575 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12577 This fixes the renegotiation issues stated in #352827.
12579 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12582 * docs/manual/advanced-autoplugging.xml:
12583 * tests/examples/Makefile.am:
12584 * tests/examples/manual/.cvsignore:
12585 * tests/examples/manual/Makefile.am:
12586 * tests/examples/manual/extract.pl:
12587 Extract the manual examples again like we used to do.
12590 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12592 * win32/common/config.h:
12595 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12598 Documents how to receive errors.
12600 2006-09-15 Wim Taymans <wim@fluendo.com>
12602 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12603 (event_loop), (main):
12604 Added some comments here and there.
12605 Post an application message when an interrupt is caught instead of doing
12606 an uncontrolled state change.
12607 Clean up the event loop.
12608 Handle buffering messages, pause/resume the pipeline.
12609 Make shutdown because of an interrupt more reliable.
12611 2006-09-15 Wim Taymans <wim@fluendo.com>
12613 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12614 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12615 (gst_base_sink_preroll_object):
12616 Make sure that our internal state is correct when we commit our state
12617 asynchronously. This solves a race where a state change to PLAYING
12618 could cause the sink to remain blocked in preroll in some situations.
12620 2006-09-15 Wim Taymans <wim@fluendo.com>
12622 * tools/gst-inspect.c: (print_element_properties_info),
12623 (print_signal_info):
12624 List flags as hex so it's easier to deal with.
12626 2006-09-15 Wim Taymans <wim@fluendo.com>
12628 * docs/libs/gstreamer-libs-sections.txt:
12629 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12630 (gst_base_sink_do_sync):
12631 * libs/gst/base/gstbasesink.h:
12632 Expose logic to wait for preroll so that subclasses such as audiosink
12633 can also use this method.
12634 API: gst_base_sink_wait_preroll()
12636 2006-09-15 Wim Taymans <wim@fluendo.com>
12638 * gst/gstobject.c: (gst_object_set_parent):
12639 * gst/gstpipeline.c: (do_pipeline_seek):
12640 Small cleanups in docs and code.
12642 * gst/gstsegment.c: (gst_segment_clip):
12643 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12644 if stop == start and start is in the segment, no clipping should be
12645 done. Also add a test for this.
12647 2006-09-15 Wim Taymans <wim@fluendo.com>
12649 * docs/design/part-buffering.txt:
12650 * docs/gst/gstreamer-sections.txt:
12651 * gst/gstmessage.c: (gst_message_new_buffering),
12652 (gst_message_parse_buffering):
12653 * gst/gstmessage.h:
12654 Added methods to create and parse BUFFERING messages.
12655 Added preliminary docs about buffering.
12656 API: gst_message_new_buffering
12657 API: gst_message_parse_buffering
12659 2006-09-06 Wim Taymans <wim@fluendo.com>
12662 Update documentation.
12664 * gst/gstelement.c: (gst_element_class_init),
12665 (gst_element_release_request_pad), (gst_element_set_clock),
12666 (gst_element_get_index), (gst_element_add_pad),
12667 (gst_element_remove_pad), (gst_element_get_random_pad),
12668 (gst_element_send_event), (gst_element_get_query_types),
12669 (gst_element_query), (gst_element_post_message),
12670 (gst_element_message_full), (gst_element_continue_state),
12671 (gst_element_lost_state), (gst_element_save_thyself),
12672 (gst_element_restore_thyself):
12673 Documentation updates.
12674 Rename last bit of the new-pad -> pad-added signal rename.
12675 Fix the case where an element query would only work if the source
12677 Avoid some useless type checking in message handling.
12682 Documentation updates.
12684 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12686 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12687 add an INFO line for when we actually update the fd
12689 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12694 === release 0.10.10 ===
12696 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12699 releasing 0.10.10, "Pais"
12701 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12703 * docs/manual/advanced-position.xml:
12704 Fix typo in sample code.
12706 2006-09-05 Wim Taymans <wim@fluendo.com>
12708 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12709 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12710 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12711 * libs/gst/net/gstnetclientclock.h:
12712 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12713 * libs/gst/net/gstnettimepacket.h:
12714 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12715 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12716 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12717 * libs/gst/net/gstnettimeprovider.h:
12718 Make stuff compile on windows. Fixes #345295.
12720 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12722 * gst/gst.c: (ensure_current_registry_forking):
12723 Print better details when child was terminated by signal.
12725 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12727 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12728 Print a warning rather than g_assert() if a plugin feature
12729 is a URI handler but returns no protocols (#353976).
12731 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12733 * docs/random/moving-plugins:
12736 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12738 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12739 Fix locking order, handle NULL function values properly.
12744 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12745 Initialise variable before using it and fix debug statement to
12746 print the address of the function rather than the address of the
12747 variable on the stack holding the address of the function.
12749 2006-09-01 Wim Taymans <wim@fluendo.com>
12751 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12752 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12753 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12754 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12755 (gst_ghost_pad_parent_unset),
12756 (gst_ghost_pad_internal_do_activate_push),
12757 (gst_ghost_pad_internal_do_activate_pull),
12758 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12759 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12760 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12761 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12762 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12763 (gst_ghost_pad_new_no_target_from_template),
12764 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12766 Avoid needless typechecking in macros.
12767 Since the internal pad is always present and never changes, there is
12768 no need to locking or ref when retrieving it.
12769 Improve debugging a bit.
12770 Handle link errors when setting the target. Fixes #341029.
12772 2006-09-01 Wim Taymans <wim@fluendo.com>
12774 * docs/libs/gstreamer-libs-sections.txt:
12775 * docs/plugins/gstreamer-plugins-sections.txt:
12776 Fix docs some more.
12778 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12779 (gst_collect_pads_event):
12780 * libs/gst/base/gstcollectpads.h:
12781 Documentation updates.
12782 Free queued buffer when removing a pad.
12784 2006-08-31 Michael Smith <msmith@fluendo.com>
12786 * gst/gstutils.c: (gst_element_link_pads),
12787 (gst_element_link_pads_filtered):
12788 Ensure that we set a capsfilter to NULL if we failed to link it
12789 when doing filtered linking, to avoid criticals.
12791 No need to check for unreffing srcpad, which is explicly NULLed
12792 above (a trivial code cleanup).
12794 2006-08-31 Wim Taymans <wim@fluendo.com>
12796 * docs/design/part-gstghostpad.txt:
12797 Update ascii art in documentation.
12799 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12800 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12801 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12802 (gst_ghost_pad_internal_do_activate_push),
12803 (gst_ghost_pad_internal_do_activate_pull),
12804 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12805 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12806 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12807 (gst_ghost_pad_set_target):
12808 Small cleanups and leak fixes.
12809 Remove some checks now that the internal pad is never NULL.
12810 Fix the case where linking pads without a target would create nasty
12811 criticals. Fixes #341029.
12812 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12813 value of _set_target().
12815 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12816 (gst_ghost_pad_suite):
12817 Some more tests for creating and linking untargeted ghostpads.
12819 2006-08-31 Edward Hervey <edward@fluendo.com>
12821 * docs/gst/gstreamer-sections.txt:
12822 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12823 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12824 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12825 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12826 (gst_ghost_pad_new_from_template),
12827 (gst_ghost_pad_new_no_target_from_template):
12828 * gst/gstghostpad.h:
12829 Refactored *_new() functions.
12830 Templates are now used as a g_object_new() parameter.
12831 Use template in _do_getcaps() if we don't have a target.
12832 Small documentation cleanups.
12833 Added two new constructors:
12834 gst_ghost_pad_new_from_template()
12835 gst_ghost_pad_new_no_target_from_template()
12836 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12837 (gst_ghost_pad_suite):
12838 Added tests for new ghostpad instanciation functions.
12840 API additions: gst_ghost_pad_new_from_template,
12841 gst_ghost_pad_new_no_target_from_template
12843 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12845 * docs/random/ensonic/profiling.txt:
12846 Ideas about qos profiling.
12848 2006-08-29 Wim Taymans <wim@fluendo.com>
12850 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12854 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12857 Improve and detypofy docs.
12859 * tests/check/Makefile.am:
12860 * tests/check/gst/.cvsignore:
12861 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12862 Add a basic test suite for GstXML.
12864 2006-08-29 Wim Taymans <wim@fluendo.com>
12866 * gst/gstelement.c: (activate_pads), (clear_caps),
12867 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12868 Clear the pad caps when the element shut down all of the pads and
12869 is not streaming data that could modify the caps.
12872 2006-08-28 Michael Smith <msmith@fluendo.com>
12874 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12875 Revert previous change; I misunderstood single-segment mode.
12877 2006-08-28 Michael Smith <msmith@fluendo.com>
12879 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12880 Unset DISCONT on buffers when using single-segment mode.
12882 2006-08-28 Wim Taymans <wim@fluendo.com>
12884 * gst/gstcaps.c: (gst_caps_merge_structure):
12886 Fix docs and indentation again.
12888 * tests/check/gst/gstquery.c: (GST_START_TEST):
12889 Fix leak in tests and add some more tests.
12891 2006-08-28 Edward Hervey <edward@fluendo.com>
12893 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12894 Inform GstSegment of the last stop position in order for the current
12895 segment to have a proper duration if it doesn't have a specific stop
12896 position from which a duration could be calculated.
12897 This bug was noticeable when a non-flushing, non-update new segment was
12898 followed by another segment (all buffers from the new segment were being
12901 2006-08-28 Wim Taymans <wim@fluendo.com>
12903 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12904 Small comment update.
12906 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12907 (gst_identity_transform_ip):
12908 Drop-probability is broken, mention this in the code with a
12909 FIXME and also in the property description.
12910 Make silent also be silent about the drop messages.
12912 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12914 * docs/manual/appendix-win32.xml:
12915 Remove mention of popt, we don't depend on that any
12916 longer (#353136). Add some comments pointing out that
12917 this section is slightly outdated.
12919 2006-08-28 Wim Taymans <wim@fluendo.com>
12921 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12923 * gst/gstquery.c: (gst_query_new_segment):
12924 * tests/check/gst/gstquery.c: (GST_START_TEST):
12925 Initialize variables when creating a new segment query.
12928 2006-08-28 Wim Taymans <wim@fluendo.com>
12930 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12932 * gst/gstelement.c: (gst_element_get_bus):
12933 * tests/check/gst/gstelement.c: (GST_START_TEST):
12934 Check for NULL before _reffing the bus. Fixes #353122.
12936 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12938 * docs/manual/basics-bus.xml:
12939 Docs update: fix wrong callback return value explanation; add
12940 some lines about the implicit relationship between main loop
12941 and main context; remove duplicate main loop variable declaration.
12943 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12945 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12946 Don't leak caps in unit test; add a few more simple
12949 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12951 * docs/gst/gstreamer-sections.txt:
12952 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12953 (gst_caps_structure_is_subset), (gst_caps_merge),
12954 (gst_caps_merge_structure):
12956 * libs/gst/base/gstbasetransform.c:
12957 (gst_base_transform_transform_caps):
12958 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12959 implement caps merging (fixes #352580)
12961 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12963 * tools/Makefile.am:
12964 * tools/gst-plot-timeline.py:
12965 add debug-log plotting developer tool (#340674)
12967 2006-08-23 Wim Taymans <wim@fluendo.com>
12969 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12970 (gst_pad_stop_task):
12971 Improve debugging for task functions.
12973 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12974 (gst_task_start), (gst_task_pause), (gst_task_join):
12975 Make sure that the task function started and finished after a
12977 Don't try to push the task function on the threadpool multiple
12979 Improve the g_warning message with some useful suggestions
12980 about how to fix the problem.
12982 2006-08-23 Wim Taymans <wim@fluendo.com>
12984 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12985 Handle RESYNC correctly in _proxy_getcaps.
12987 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12989 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12990 (gst_xml_parse_memory), (gst_xml_get_element):
12991 Chain up to parent class in dispose function and also
12992 unref the elements in the toplevel_elements GList.
12993 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12994 Always return a reference in gst_xml_get_element() rather
12995 than only sometimes.
12997 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12998 Don't leak GstXml object.
13000 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13002 * docs/gst/gstreamer-sections.txt:
13003 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13006 * libs/gst/base/gstbasetransform.c:
13007 (gst_base_transform_transform_caps):
13008 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13011 2006-08-21 Edward Hervey <edward@fluendo.com>
13013 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13014 Implement GObject::dispose virtual method in GstXML so we can free the
13015 top_elements GList.
13017 2006-08-21 Wim Taymans <wim@fluendo.com>
13019 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13020 (gst_buffer_create_sub):
13021 Copy duration/offset_end/caps when creating a subbuffer of the
13023 Make the subbuffer read-only when we make the metadata writable for
13024 now. Fixes #351768.
13026 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13027 Added check for metadata copy when creating subbuffers.
13029 2006-08-21 Edward Hervey <edward@fluendo.com>
13031 * libs/gst/base/gstbasetransform.c:
13032 (gst_base_transform_buffer_alloc):
13033 Only call downstream buffer_alloc if transform element is passthrough
13034 or always_in_place. Closes #350449.
13036 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13039 ChangeLog surgery to add comments to previous changes
13041 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13046 * gst/gstpad.c: (gst_pad_set_active):
13047 Be more verbose in the log
13049 * libs/gst/base/gstbasetransform.c:
13050 (gst_base_transform_transform_caps):
13051 Simplify caps to get rid of duplicates, fixes #345444
13053 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13057 Use these optimizations only internally.
13059 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13061 * gst/gstvalue.c: (gst_value_compare_list),
13062 (gst_value_compare_fraction_range),
13063 (gst_value_intersect_fraction_fraction_range),
13064 (gst_value_intersect_fraction_range_fraction_range),
13065 (gst_value_subtract_fraction_fraction_range),
13066 (gst_value_subtract_fraction_range_fraction_range),
13067 (gst_value_get_compare_func), (gst_value_compare),
13068 (gst_value_compare_with_func):
13070 Saves the expensive lookup of the compare function in many cases
13073 2006-08-18 Edward Hervey <edward@fluendo.com>
13075 * tests/check/gst/gstinfo.c: (gst_info_suite):
13076 Disable test that require gstdebug if it wasn't built in core.
13078 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13080 * docs/random/ensonic/logging.txt:
13083 * gst/gstinfo.c: (gst_debug_log_default):
13084 reorder fields, save some columns, add optional color codes for log
13087 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13089 * docs/random/ensonic/logging.txt:
13090 add ideas about making the logs a bit more useful
13092 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13094 * docs/pwg/advanced-events.xml:
13095 * docs/pwg/titlepage.xml:
13096 Update for 0.10 API (#340627). Add myself
13099 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13101 * docs/libs/gstreamer-libs-docs.sgml:
13102 * docs/libs/gstreamer-libs-sections.txt:
13103 * libs/gst/check/gstbufferstraw.c:
13104 Make gstcheck stuff show up in docs (still needs to
13105 be documented properly though).
13107 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13109 * docs/gst/gstreamer-sections.txt:
13111 * gst/gst.c: (init_post):
13112 * gst/gst_private.h:
13113 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13115 * gst/gstquery.c: (gst_query_new_position),
13116 (gst_query_set_position), (gst_query_parse_position),
13117 (gst_query_new_duration), (gst_query_set_duration),
13118 (gst_query_parse_duration), (gst_query_new_convert),
13119 (gst_query_set_convert), (gst_query_parse_convert),
13120 (gst_query_new_segment), (gst_query_set_segment),
13121 (gst_query_parse_segment), (gst_query_new_seeking),
13122 (gst_query_set_seeking), (gst_query_parse_seeking):
13123 Add internal helpers for pre-registering quarks from static strings
13124 and using the quark values directly instead of looking them up when
13125 creating and parsing queries. Can be used for event construction too.
13128 2006-08-16 Wim Taymans <wim@fluendo.com>
13133 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13135 * gst/gstutils.c: (gst_util_set_value_from_string):
13136 Fix memleak (#351502).
13138 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13139 Add unit test for most of gst_util_set_value_from_string()
13140 (not that one would want to encourage use of this function).
13142 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13144 * libs/gst/check/gstcheck.h:
13145 Use const gchar * variables in fail_unless_equals_string
13146 macro to avoid compiler warnings (and don't use tabs for
13149 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13151 * tools/gst-launch.c: (print_tag):
13152 More space on the left for the tag names, to cater
13153 for the 'extended comment' tag (not touching the
13154 string for the first line since it's translated).
13156 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13158 * libs/gst/check/gstcheck.h:
13159 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13160 print something when they fail.
13162 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13164 * docs/gst/gstreamer-sections.txt:
13165 * gst/gsttaglist.c: (_gst_tag_initialize):
13166 * gst/gsttaglist.h:
13167 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13168 Also change merge function for GST_TAG_COMMENT to
13171 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13173 * gst/gstinfo.c: (gst_debug_print_object):
13174 Make GST_PTR_FORMAT print messages as well.
13176 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13177 (GST_START_TEST), (gst_info_suite):
13180 2006-08-14 Edward Hervey <edward@fluendo.com>
13182 * gst/gstelementfactory.c: (gst_element_register):
13183 If the GstElementClass doesn't have a GstElementDetails with all fields
13184 filled up correctly (longname, description AND author), then error out
13185 nicely instead of crashing.
13187 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13189 * gst/gststructure.c:
13190 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13193 Expand on the difference between arrays and lists as we use them.
13195 2006-08-14 Wim Taymans <wim@fluendo.com>
13197 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13198 If the parent state change function failed, don't assume we can safely
13199 stop the source, this will be done when the pads are deactivated.
13201 2006-08-14 Wim Taymans <wim@fluendo.com>
13204 * gst/gsttask.c: (gst_task_join):
13207 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13208 (gst_pad_stop_task):
13209 When pad (de)activation failed for some reason, restore the old
13210 activation mode and set the pad to flushing instead of assuming the
13211 pad is deactivated.
13212 If the _task_join() failed, reinstall the task on the pad so that it can
13213 be stopped later and return an error.
13215 2006-08-11 Andy Wingo <wingo@pobox.com>
13218 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13219 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13220 is only for users of API that don't want to see deprecated
13221 functions in the headers; people that want to compile out
13222 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13223 CFLAGS. Fixes the build of multifdsink, or will soon..
13225 2006-08-11 Wim Taymans <wim@fluendo.com>
13227 * docs/gst/gstreamer-sections.txt:
13228 Add GstClockClass vmethod docs.
13231 Mark #endif with comment for associated #if
13233 * gst/gstclock.c: (gst_clock_id_wait):
13235 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13236 most clock implementations.
13238 Flesh out docs about resolution methods.
13239 API: GstClockClass::wait_jitter
13241 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13242 (gst_system_clock_async_thread),
13243 (gst_system_clock_id_wait_jitter_unlocked),
13244 (gst_system_clock_id_wait_jitter):
13245 Use base class wait_jitter variant for improved performance
13246 due to less clock polling.
13248 2006-08-11 Edward Hervey <edward@fluendo.com>
13250 * gst/gst.c: (gst_init_check), (init_post):
13251 Set gst as being initialized before scanning/updating the registry,
13252 since there might be my python plugin loader that calls gst_init() and
13253 we don't want to loop back in.
13256 2006-08-11 Wim Taymans <wim@fluendo.com>
13258 * docs/design/part-qos.txt:
13259 Bring docs in line with the code. Mostly the sign of the jitter was
13260 wrong in the docs. Fixes #349943.
13263 Fix the docs for the jitter.
13265 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13266 (gst_event_parse_tag), (gst_event_new_buffer_size),
13267 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13268 (gst_event_new_seek), (gst_event_parse_seek),
13269 (gst_event_new_navigation):
13270 Make sure the GstStructure has no parent when creating custom
13272 Add some more argument checking so that we avoid 0.0 rates.
13273 Flesh out the docs for the QoS event some more.
13275 2006-08-11 Wim Taymans <wim@fluendo.com>
13277 * docs/gst/gstreamer-sections.txt:
13278 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13279 (ensure_current_registry_forking), (ensure_current_registry),
13280 (parse_one_option), (parse_goption_arg), (gst_deinit),
13281 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13284 Added API and command line option to disable registry forking in
13285 addition to the environment variable.
13286 Constify some static arrays.
13287 Added some more debug.
13288 Don't deinit twice.
13289 API: gst_registry_fork_is_enabled()
13290 API: gst_registry_fork_set_enabled()
13291 API: --gst-disable-registry-fork command line option
13294 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13296 * gst/gst.c: (gst_init):
13297 Fix typo in error message.
13299 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13301 * libs/gst/controller/gstcontroller.h:
13302 fix ABI size-correction
13304 * tests/check/libs/gdp.c: (gst_dp_suite):
13305 make tests that use deprecated API conditional
13307 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13309 * docs/libs/gstreamer-libs-sections.txt:
13310 * libs/gst/controller/gstcontroller.c:
13311 (_gst_controller_get_property), (_gst_controller_set_property),
13312 (_gst_controller_init), (_gst_controller_class_init):
13313 * libs/gst/controller/gstcontroller.h:
13314 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13315 (gst_object_set_control_rate):
13316 API: add gst_object_{s,g}et_control_rate(), add private data section,
13319 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13320 * libs/gst/dataprotocol/dataprotocol.h:
13321 add deprecation guards to make gtk-doc happy and allow disabling cruft
13323 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13325 * tests/check/Makefile.am:
13326 * tests/check/gst/.cvsignore:
13327 Let's enable the new unit test as well.
13329 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13332 * docs/gst/gstreamer-sections.txt:
13333 * gst/gstconfig.h.in:
13334 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13335 (_gst_info_printf_extension_ptr),
13336 (_gst_info_printf_extension_segment):
13337 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13338 register that lets us easily dump GstSegments into debug
13341 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13342 (info_segment_format_printf_extension), (gst_info_suite):
13343 Add simple unit test that logs a bunch of different segments (not
13344 valgrinded at the moment because of leaks in
13345 gst_debug_add_log_function).
13347 2006-08-09 Edward Hervey <edward@fluendo.com>
13349 * libs/gst/base/gstbasetransform.c:
13350 (gst_base_transform_buffer_alloc):
13351 Even if we can't figure out the proper format to request downstream,
13352 call buffer_alloc() downstream with the input parameters without setting
13353 the caps on the srcpad. This will force negotiation in the chain
13357 2006-08-08 Edward Hervey <edward@fluendo.com>
13359 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13360 Unlinking from a pad without a target is now a perfectly valid case
13361 which should NOT raise an assertion.
13362 This case would happen if a linked ghostpad its target set to NULL after
13363 it was previously linked.
13365 2006-08-08 Edward Hervey <edward@fluendo.com>
13367 * tests/check/libs/gdp.c:
13368 Also comment out the test (see below).
13370 2006-08-08 Edward Hervey <edward@fluendo.com>
13372 * tests/check/libs/gdp.c: (gst_dp_suite):
13373 Use the architecture information from config.h and not gcc macros
13374 in order to properly disable a test that fails on PPC64.
13376 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13378 * gst/gstelement.c: (gst_element_remove_pad):
13379 Don't crash printing the warning if the pad has no parent.
13381 2006-08-02 Wim Taymans <wim@fluendo.com>
13383 * libs/gst/dataprotocol/dataprotocol.c:
13384 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13385 (gst_dp_crc), (gst_dp_header_payload_length),
13386 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13387 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13388 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13389 (gst_dp_event_from_packet), (gst_dp_validate_header),
13390 (gst_dp_validate_payload):
13391 Make debug category static
13392 Constify the crc table.
13393 Do some more arg checking in public functions.
13394 Fix some docs and do some small cleanups.
13396 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13397 Add some more checks to see if GDP deals with bogus input.
13399 2006-07-31 Wim Taymans <wim@fluendo.com>
13401 * gst/gstvalue.c: (gst_value_compare_list):
13402 Fix GstValueList comparison code. Fixes #347293.
13404 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13405 Check to test GstValueList comparison.
13407 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13409 * gst/gstelementfactory.c: (gst_element_factory_create):
13410 Remove unnecessary ref/unref pair
13412 * gst/parse/grammar.y:
13413 Make sure to free the parse buffer on all code paths.
13414 Move a g_free up to the error handler where it's easier to see.
13416 * tests/check/gst/gstevent.c: (test_event):
13417 Extending timeout for downstream travelling events to 10 seconds to
13418 hopefully avoid intermittent failure on the buildbots.
13420 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13421 Don't manually set the state of the src element - it will happen as a
13422 natural consequence of the pipeline changing state, and that way it
13423 will do it in the right order too.
13425 2006-07-31 Wim Taymans <wim@fluendo.com>
13427 * libs/gst/base/gstbasetransform.c:
13428 (gst_base_transform_buffer_alloc):
13429 Use OBJECT_LOCK and refcounting to get the pad caps in the
13430 buffer_alloc function because the caps could change while we are
13431 busy with them. Fixes #349105
13433 2006-07-31 Wim Taymans <wim@fluendo.com>
13435 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13436 Protect _PAD_CAPS with OBJECT_LOCK.
13438 2006-07-31 Wim Taymans <wim@fluendo.com>
13440 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13441 (gst_pad_get_property), (gst_pad_activate_pull),
13442 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13443 (gst_pad_set_activate_function),
13444 (gst_pad_set_activatepull_function),
13445 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13446 (gst_pad_set_getrange_function),
13447 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13448 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13449 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13450 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13451 (gst_pad_set_acceptcaps_function),
13452 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13453 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13454 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13455 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13456 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13457 (gst_pad_configure_sink), (gst_pad_configure_src),
13458 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13459 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13460 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13461 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13462 (gst_pad_send_event):
13463 Use _DEBUG_OBJECT when it makes sense.
13464 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13465 Small cleanups and code reflows.
13466 Avoid caps refcounting in _accept_caps.
13467 Refactor alloc_buffer so that the code performed on the peer is in a
13468 separate function. Also if the pad does not implement a buffer alloc
13469 function, we should still check if the pad is flushing before falling
13470 back to the default allocator.
13472 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13474 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13475 Make all uses of identity and fakesink have silent=true to avoid
13476 serialising every passing data structure, which is breaking tests
13477 on FC4 for some unknown reason.
13479 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13481 * gst/parse/Makefile.am:
13482 * gst/parse/grammar.y:
13483 * gst/parse/parse.l:
13484 Reverted previous patch as it required to bump the flex dependency to
13485 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13487 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13489 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13491 * gst/parse/Makefile.am:
13492 * gst/parse/grammar.y:
13493 * gst/parse/parse.l:
13494 push & pop the state of the lexer for reentrant use case
13497 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13499 * libs/gst/base/gstbasesrc.h:
13500 Note in the docs that the ::newsegment vfunc is not actually used by
13503 2006-07-28 Wim Taymans <wim@fluendo.com>
13505 * libs/gst/base/gstcollectpads.c:
13506 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13507 (gst_collect_pads_clear), (gst_collect_pads_flush),
13508 (gst_collect_pads_event), (gst_collect_pads_chain):
13509 When flushing a pad, also clear the queued buffer so that we don't
13510 accidentally use it when we shouldn't.
13511 Fix leaks by inreffing incomming buffer.
13512 Flush out queued buffers in case of errors.
13515 2006-07-28 Wim Taymans <wim@fluendo.com>
13517 * docs/random/phonon-gst:
13518 Random notes about a Phonon backend.
13520 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13522 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13524 * tests/check/libs/gdp.c: (gst_dp_suite):
13525 Take a whack at fixing the ppc compile using a different define to
13526 disable the broken test.
13528 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13529 Remove excess g_print()
13531 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13533 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13534 Oops, meant to uncomment this line too to dampen the noise a bit.
13536 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13538 * gst/parse/grammar.y:
13539 * gst/parse/parse.l:
13540 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13541 (GST_START_TEST), (parse_suite):
13542 Fix some of the leaks exposed by extending the parse-launch testsuite,
13543 and move the 3 I can't figure out into a separate test that won't run
13544 the pipelines unless the appropriate line is uncommented.
13546 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13548 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13549 Requesting 0 bytes before the end of the file should result in
13550 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13553 2006-07-27 Wim Taymans <wim@fluendo.com>
13555 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13556 Fix useless assert, a uint is always positive.
13558 * gst/gststructure.c: (gst_structure_nth_field_name),
13559 (gst_structure_foreach), (gst_structure_map_in_place):
13560 Check input arguments for public functions to avoid obvious crashes.
13562 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13563 * plugins/elements/gstfakesink.h:
13564 Do less useless typechecking.
13566 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13568 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13569 Do not use mmap() by default since there are a number of error
13570 conditions that we would like to handle in a non-fatal way that
13571 will result in a SIGBUS if we use mmap(). Examples: external
13572 devices (USB harddrive, portable music player) being unplugged
13573 while in use; file on mounted CD/DVD that can't be read because
13574 the medium is partly damaged. Fixes #348455 and #348475.
13576 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13579 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13580 rates are a gdouble
13582 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13584 * gst/gstregistry.c:
13585 Move big documentation comment into class section header, so that it
13586 appears in the API docs.
13588 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13590 * docs/gst/gstreamer-sections.txt:
13591 Oops. Commit the docs additions too for new API.
13592 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13594 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13596 * gst/gststructure.c: (gst_structure_id_set),
13597 (gst_structure_id_set_valist):
13598 * gst/gststructure.h:
13599 Add API for setting values into structures without performing
13600 a quark lookup, if the appropriate quark is already known.
13602 API: gst_structure_id_set
13603 API: gst_structure_id_set_valist
13605 * gst/parse/grammar.y:
13606 * gst/parse/parse.l:
13607 Remove some dead code shown by the coverage information.
13608 Don't throw a critical g_warning when encountering a syntax error,
13609 just warn and let the normal error path handle it.
13611 * plugins/elements/gstelements.c:
13612 Bump the rank of filesink up to PRIMARY so that it is preferred over
13613 gnomevfssink for file:// sink uri's
13615 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13616 (GST_START_TEST), (run_delayed_test),
13617 (gst_parse_test_element_base_init),
13618 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13619 (gst_parse_test_element_change_state),
13620 (gst_register_parse_element), (parse_suite):
13621 Beef up the tests for parse syntax to check that more error cases
13622 fail as they are supposed to. Increases the test coverage a bit.
13624 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13626 * docs/manual/basics-elements.xml:
13627 Fix gst_element_link() example.
13630 Mention in API docs that one should usually gst_bin_add()
13631 elements to a bin or pipeline before doing the linking.
13633 2006-07-26 Wim Taymans <wim@fluendo.com>
13635 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13636 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13637 Avoid function call for known types by keeping the buffer and
13638 subbuffer GType global.
13640 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13641 Random silly optimisations in read() path.
13643 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13645 * tools/gst-launch.c: (main):
13646 If the top-level of the parse is a normal bin, it doesn't do the
13647 right logic to run as a top-level element, so place it inside a
13650 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13652 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13653 Remove superfluous g_object_notify() calls, GObject does
13654 that for us automatically.
13656 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13659 on Win32, use dllspec to export the debug category symbols
13661 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13663 * gst/gsttaglist.c: (_gst_tag_initialize):
13664 Allow more than one GST_TAG_IMAGE per taglist.
13666 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13668 * gst/gstminiobject.c:
13670 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13671 (gst_fd_src_create):
13672 log recurring events at LOG level
13673 add more debug for when the fd gets set
13675 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13677 * gst/gstparse.c: (gst_parse_launch):
13678 Also remove reentrance checks if flex is MT safe (#348179)
13679 Fix my empty ChangeLog entry below
13681 2006-07-21 Andy Wingo <wingo@pobox.com>
13683 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13685 * libs/gst/check/Makefile.am
13686 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13687 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13688 * libs/gst/check/gstbufferstraw.h:
13689 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13690 functions, thus proving I am still a GStreamer haxor. OK I wrote
13691 them a long time ago, but anyways.
13693 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13696 * gst/gstparse.c: (gst_parse_launch):
13697 Check for flex version and omit mutex if we have a MT save flex
13700 2006-07-21 Wim Taymans <wim@fluendo.com>
13702 * gst/gstparse.c: (gst_parse_launch):
13703 Protect recursive calls to _parse with a recursive mutex
13706 2006-07-21 Wim Taymans <wim@fluendo.com>
13708 * tests/check/gst/gstpad.c: (GST_START_TEST):
13711 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13713 * gst/gstparse.c: (gst_parse_launch):
13714 Do not hang on recursive usage of gst_parse_launch()
13716 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13718 * gst/gsttaglist.c:
13719 Add some more docs, comments and FIXME 0.11s here and there
13720 and also fix some typos.
13722 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13724 * gst/gstsegment.h:
13725 Convert tabs to spaces for better readability.
13727 2006-07-20 Edward Hervey <edward@fluendo.com>
13729 * tests/check/libs/gdp.c: (gst_dp_suite):
13730 the test_buffer test fails at line 140 on ppc64 at the following
13732 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13733 GST_BUFFER_FLAG_IN_CAPS),
13734 "GST_BUFFER_IN_CAPS flag should have been copied !");
13735 See bug #348114 for more details.
13737 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13739 * docs/pwg/advanced-scheduling.xml:
13741 Fix typos (#348000).
13743 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13745 * docs/pwg/intro-basics.xml:
13746 Fix wrong links (#347927).
13748 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13750 * gst/gstregistry.h:
13751 * gst/gstregistryxml.c: (load_feature),
13752 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13753 * win32/common/config.h:
13754 make --disable-index work (#342564)
13756 2006-07-18 Wim Taymans <wim@fluendo.com>
13758 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13762 The attached patch adds two missing defines to gsttrace.h when tracing
13763 is disabled. It also corrects one existing define.
13766 2006-07-17 Wim Taymans <wim@fluendo.com>
13768 * docs/gst/gstreamer-sections.txt:
13769 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13771 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13772 Add two functions to check and change the SIGSEGV behaviour
13773 when loading plugins.
13774 Don't mess with the SIGSEGV handler when we were told not to.
13776 API: gst_segtrap_is_enabled
13777 API: gst_segtrap_set_enabled
13779 2006-07-14 Wim Taymans <wim@fluendo.com>
13781 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13782 * tests/check/elements/filesrc.c: (GST_START_TEST):
13783 Revert fix for regression in #347408 after release.
13785 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13787 Patch by: Antoine Tremblay <hexa00 at gmail com>
13789 * gst/gstutils.c: (gst_element_unlink):
13790 Free iterator when done (#347311).
13792 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13793 And add a test case for this.
13795 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13798 Bump nano back to CVS
13800 === release 0.10.9 ===
13802 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13805 releasing 0.10.9, "On the road again"
13807 2006-07-13 Wim Taymans <wim@fluendo.com>
13809 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13810 * tests/check/elements/filesrc.c: (GST_START_TEST):
13811 Revert pull-0 fix for release. Disable check. Fixes #347408.
13813 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13815 * libs/gst/dataprotocol/dataprotocol.c:
13816 (gst_dp_event_from_packet_1_0):
13817 Fixes #347337: failure to deserialize event packets with
13818 empty payload (only event type)
13820 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13823 do not install a .c file in the header directory
13825 2006-07-13 Edward Hervey <edward@fluendo.com>
13827 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13828 GhostPad no longer implicitely use the padtemplates of the targets.
13831 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13833 * gst/gstvalue.c: (gst_value_compare_list),
13834 (gst_value_compare_array), (_gst_value_initialize):
13835 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13836 Make GstValueArray comparison be order dependent as designed.
13837 Add checks for value lists and value array comparisons.
13840 2006-07-11 Edward Hervey <edward@fluendo.com>
13842 * gst/gstbin.c: (activate_pads),
13843 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13844 (gst_bin_change_state_func):
13845 (de)activate src pads before calling state_change on the childs.
13846 This is to avoid the case where a src ghostpad is blocked (holding the
13847 stream lock), which would block the deactivation of the ghostpad's
13849 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13850 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13851 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13852 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13853 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13854 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13855 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13856 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13857 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13858 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13859 (gst_ghost_pad_class_init),
13860 (gst_ghost_pad_internal_do_activate_push),
13861 (gst_ghost_pad_internal_do_activate_pull),
13862 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13863 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13864 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13865 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13866 GhostPads now create their internal GstProxyPad at creation (and not
13867 when they're linked, as it was being done previously).
13868 The internal and target pads are linked straight away.
13869 The data will also travel through the other pad in order to make
13870 pad blocking and probes non-hackish (the probe/block now really happens
13871 on the GhostPad and not on the target).
13872 * gst/gstpad.c: (gst_pad_set_blocked_async),
13873 (gst_pad_link_prepare), (gst_pad_push_event):
13874 Remove previous ghostpad cruft.
13875 * gst/gstutils.c: (gst_pad_add_data_probe),
13876 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13877 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13878 (gst_pad_remove_buffer_probe):
13879 Remove previous ghost pad cruft.
13880 Added more detailed debug statements.
13881 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13882 Fix the testsuite for refcounting changes.
13883 The comments about who has references were correct, but the refcount
13884 being checked wasn't the same (!?!).
13888 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13890 * docs/gst/gstreamer-sections.txt:
13891 * gst/gstconfig.h.in:
13892 More docs for configuration options, add docs to gtk-doc.
13894 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13897 * gst/gstconfig.h.in:
13898 * win32/common/config.h:
13899 Fix build when disabling tracing (fixes #344016). Also start to document
13900 the defines that disable the sub-systems.
13902 2006-07-10 Edward Hervey <edward@fluendo.com>
13904 * gst/gst.c: (ensure_current_registry_forking):
13905 let's make valgrind happy...
13907 2006-07-09 Wim Taymans <wim@fluendo.com>
13909 * gst/gstelement.c: (activate_pads),
13910 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13911 Better pad activation code: Reset the collect value too on resync.
13914 2006-07-09 Wim Taymans <wim@fluendo.com>
13916 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13917 (gst_pad_activate_push):
13918 Use some more macros where it makes sense.
13919 Allow pad mode switching instead of asserting. When a pad
13920 is activated in one mode and we activate it in another,
13921 deactivate it first before activating it in a different mode.
13924 2006-07-08 Andy Wingo <wingo@pobox.com>
13926 * tools/gst-launch.c (main): Handle err == NULL.
13928 * gst/gst.c (init_post, ensure_current_registry)
13929 (ensure_current_registry_forking)
13930 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13931 factoring out the registry scanning into separate functions. Don't
13932 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13933 Better environment var name/interface suggestions accepted.
13935 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13937 * gst/gstobject.c: (gst_object_set_name_default),
13938 (gst_object_set_name):
13939 Random micro-optimisation: don't use a hash table
13940 with strings as keys and the usual strdup/strcmp
13941 involved, but rather just use the GQuark of the
13942 type name as key, since it needs to be looked up
13943 anyway to get the type name string.
13945 * tests/check/gst/gstobject.c: (GST_START_TEST):
13948 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13950 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13951 (gst_bin_iterate_all_by_interface):
13952 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13953 GTypes are gulongs and thus the top 4 bytes might be cut
13954 off on some platforms when doing GPOINTER_TO_INT, leading
13955 to invalid GTypes and bad things happening (see RH bug #179654).
13956 Also add a check to make sure the type passed in is really
13959 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13964 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13968 * gst-element-check.m4:
13969 * gst-element-check.m4.in:
13970 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13971 instead of the unversioned gst-inspect (#324176, #168659).
13973 2006-07-06 Wim Taymans <wim@fluendo.com>
13975 * gst/gstmessage.h:
13976 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13979 2006-07-06 Wim Taymans <wim@fluendo.com>
13981 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13982 (gst_base_src_wait), (gst_base_src_update_length),
13983 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13984 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13985 (gst_base_src_loop), (gst_base_src_start),
13986 (gst_base_src_activate_pull):
13988 blocksize == 0 now means the default blocksize when working in push
13990 Remove some pointless asserts in _wait function.
13991 Fix offset/length calculations and EOS handling. We can now pull 0
13992 bytes as well, which is allowed.
13993 use _check_get_range() to decide if we can operate in _pull based
13995 Fix refcounting leak when check_get_range function was not
13997 API GstBaseSrc::blocksize range can be 0 too now (default)
13999 * tests/check/elements/filesrc.c: (GST_START_TEST),
14001 Added check to test _get_range() behaviour.
14003 2006-07-06 Wim Taymans <wim@fluendo.com>
14005 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14006 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14007 (gst_pad_pull_range):
14009 Lots of comments and docs added to the pad functions.
14010 Flesh out the expected behaviour of the get_range() functions.
14012 2006-07-06 Wim Taymans <wim@fluendo.com>
14017 * gst/gstiterator.h:
14021 Remove comma at end of enumerator list.
14023 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14025 * win32/common/libgstbase.def:
14026 * win32/common/libgstdataprotocol.def:
14027 * win32/common/libsgtreamer.def:
14028 Add new exported functions.
14030 2006-07-05 Wim Taymans <wim@fluendo.com>
14032 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14033 Add some more docs here and there.
14035 2006-07-05 Wim Taymans <wim@fluendo.com>
14037 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14038 (gst_base_sink_loop), (gst_base_sink_get_position):
14039 When operating in pull mode update the offset so that we
14042 2006-07-05 Wim Taymans <wim@fluendo.com>
14044 * gst/gstregistryxml.c: (read_string):
14045 Avoid strdup. (will happen in libxml, but hey!)
14048 Add some more docs.
14050 2006-07-05 Wim Taymans <wim@fluendo.com>
14052 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14053 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14054 (gst_buffer_suite):
14055 No point in checking if the size of the subbuffer > 0, the
14056 code handles it correclty as demonstrated by unit test.
14057 Also add a unit test for the zero sized _new_and_alloc and
14058 _copy. Fixes #346663.
14060 2006-07-05 Wim Taymans <wim@fluendo.com>
14062 * libs/gst/base/gstbasetransform.c:
14063 (gst_base_transform_prepare_output_buffer),
14064 (gst_base_transform_buffer_alloc),
14065 (gst_base_transform_handle_buffer):
14066 Make sure the buffer we pass to transform_ip has a refcount of
14067 1 and thus is writable. Fixes #343196
14069 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14071 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14072 (gst_file_src_init), (gst_file_src_set_property),
14073 (gst_file_src_get_property), (gst_file_src_map_region):
14074 * plugins/elements/gstfilesrc.h:
14075 Add "sequential" property, off by default, to use madvise and hint
14076 to the kernel that sequential access is desired.
14077 Touch all retrieved pages by default to ensure they are pulled
14078 into memory. (Closes #345720)
14080 2006-07-03 Wim Taymans <wim@fluendo.com>
14082 * docs/design/part-block.txt:
14083 * docs/design/part-dynamic.txt:
14084 Small docs updates.
14086 2006-07-03 Wim Taymans <wim@fluendo.com>
14088 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14089 (gst_caps_unref), (gst_static_caps_get),
14090 (gst_caps_append_structure):
14091 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14092 Use GSlice when the glib we build against is >= 2.10
14094 2006-07-03 Wim Taymans <wim@fluendo.com>
14096 * gst/gstelement.c: (gst_element_pads_activate):
14097 Small cleanup in pad activation code.
14099 2006-07-03 Wim Taymans <wim@fluendo.com>
14101 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14103 * gst/gst-i18n-app.h:
14104 * gst/gst-i18n-lib.h:
14105 * tools/gst-inspect.c: (print_signal_info):
14106 The attached patch will make the inclusion of gettext.h unconditional in
14107 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14108 libintl.h in tools/gst-inspect.c.
14109 This allows use of --disable-nls again and fixes #344642.
14111 2006-07-03 Edward Hervey <edward@fluendo.com>
14113 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14114 Implement pad blocking on events according to part-block.txt.
14115 More comments on behaviour.
14116 * tests/check/gst/gstevent.c: (test_event):
14117 Send event to peer pad of blocked pad (else it will block).
14119 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14121 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14122 (gst_check_run_suite):
14123 if we get the wrong message, give us the types as string
14124 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14126 * tests/check/elements/filesrc.c: (GST_START_TEST):
14127 add a test for trying to open a non-existing file
14129 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14131 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14132 add a test for adding self
14134 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14136 * libs/gst/check/gstcheck.h:
14137 add some assert_ as alias for fail_unless_*
14138 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14139 increase test coverage
14141 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14144 include lcov.mak for lcov coverage generation
14145 * tools/Makefile.am:
14148 2006-07-02 Edward Hervey <edward@fluendo.com>
14150 * tests/check/elements/.cvsignore:
14153 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14156 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14157 * tests/check/Makefile.am:
14158 clean up gcov files
14160 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14162 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14163 remove gst_caps_simplify; it was not declared and not used
14164 and deprecated in 0.8
14166 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14168 * docs/faq/gst-uninstalled:
14169 don't put empty paths on PYTHONPATH
14170 * docs/gst/gstreamer-sections.txt:
14171 remove some symbols that are not there
14173 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14175 * gst/gstcaps.c: (gst_caps_compare_structures):
14177 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14178 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14181 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14183 * libs/gst/dataprotocol/Makefile.am:
14184 build dataprotocol test by linking to the lib, instead of
14185 compiling the source, so we get coverage
14186 * tests/check/Makefile.am:
14187 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14188 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14189 add a test for filesrc
14191 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14193 * tests/check/gst/gststructure.c: (GST_START_TEST),
14194 (gst_structure_suite):
14195 Push coverage from 59.04% to 70.00%
14197 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14199 * tests/check/Makefile.am:
14200 gst-inspect every element; this makes sure that we also get
14201 coverage on element's get/set functions
14203 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14206 set CFLAGS and friends to -O0 if gcov is being used
14209 * libs/gst/base/Makefile.am:
14210 * libs/gst/check/Makefile.am:
14211 * libs/gst/controller/Makefile.am:
14212 * libs/gst/dataprotocol/Makefile.am:
14213 * libs/gst/net/Makefile.am:
14214 * plugins/elements/Makefile.am:
14215 * plugins/indexers/Makefile.am:
14216 add makefile rules to generate gcov data and clean up
14217 * tests/check/Makefile.am:
14218 add a coverage target that generates an html overview
14221 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14223 * tests/check/elements/fakesink.c:
14224 * tests/check/elements/fakesrc.c:
14225 * tests/check/elements/fdsrc.c:
14226 * tests/check/elements/identity.c:
14227 * tests/check/generic/sinks.c: (gst_sinks_suite):
14228 * tests/check/generic/states.c:
14229 * tests/check/gst/gst.c:
14230 * tests/check/gst/gstabi.c:
14231 * tests/check/gst/gstbin.c:
14232 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14233 * tests/check/gst/gstbus.c: (gst_bus_suite):
14234 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14235 * tests/check/gst/gstelement.c:
14236 * tests/check/gst/gstevent.c: (gst_event_suite):
14237 * tests/check/gst/gstghostpad.c:
14238 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14239 * tests/check/gst/gstmessage.c: (gst_message_suite):
14240 * tests/check/gst/gstminiobject.c:
14241 * tests/check/gst/gstobject.c:
14242 * tests/check/gst/gstpad.c:
14243 * tests/check/gst/gstpipeline.c:
14244 * tests/check/gst/gstplugin.c:
14245 * tests/check/gst/gstquery.c: (gst_query_suite):
14246 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14247 * tests/check/gst/gststructure.c:
14248 * tests/check/gst/gstsystemclock.c:
14249 * tests/check/gst/gsttag.c:
14250 * tests/check/gst/gsttask.c: (gst_task_suite):
14251 * tests/check/gst/gstutils.c:
14252 * tests/check/gst/gstvalue.c:
14253 * tests/check/libs/adapter.c:
14254 * tests/check/libs/basesrc.c:
14255 * tests/check/libs/collectpads.c:
14256 * tests/check/libs/controller.c:
14257 * tests/check/libs/gdp.c: (gst_dp_suite):
14258 * tests/check/libs/gstnetclientclock.c:
14259 * tests/check/libs/gstnettimeprovider.c:
14260 * tests/check/libs/libsabi.c: (libsabi_suite):
14261 * tests/check/libs/typefindhelper.c:
14262 * tests/check/pipelines/cleanup.c:
14263 * tests/check/pipelines/parse-launch.c:
14264 * tests/check/pipelines/simple-launch-lines.c:
14265 * tests/check/pipelines/stress.c: (stress_suite):
14268 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14270 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14271 * libs/gst/check/gstcheck.h:
14272 create a macro and function so that the simple unit test
14273 case can be just one macro to create main()
14275 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14277 * gst/gstbin.c: (gst_bin_restore_thyself):
14278 * gst/gstxml.c: (gst_xml_make_element):
14279 Fix deserialisation from XML. Set parent manually
14280 instead of using gst_bin_add(), since gst_bin_add()
14281 will unlink all pads of the element being added.
14284 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14286 Patch by: Peter Kjellerstedt <pkj at axis com>
14288 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14289 Fix missing g_strdup() and double free when using the
14290 --gst-plugin-load command line option (#346097).
14292 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14295 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14297 * libs/gst/net/gstnetclientclock.c:
14298 * libs/gst/net/gstnettimeprovider.c:
14299 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14301 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14303 * docs/manual/advanced-dataaccess.xml:
14304 Fix buffer probe example compilation in
14307 2006-06-22 Edward Hervey <edward@fluendo.com>
14309 * gst/gstelement.c: (gst_element_pads_activate):
14310 We need to deactivate src pads first and then sink pads.
14311 The reason is the src pads might be blocking while holding the streaming
14312 lock, so we need to deactivate them first so that deactivating the sink
14313 pads doesn't block (since it will require the streaming lock).
14315 2006-06-22 Wim Taymans <wim@fluendo.com>
14317 * libs/gst/base/gstbasetransform.c:
14318 (gst_base_transform_buffer_alloc):
14319 Forgot to remove two unneeded unrefs.
14320 Simplify a check _is_equal allready checks the obvious case.
14322 2006-06-22 Wim Taymans <wim@fluendo.com>
14324 * docs/design/part-block.txt:
14325 Some docs about what pad_block should do.
14327 2006-06-22 Wim Taymans <wim@fluendo.com>
14329 * gst/gstcaps.c: (gst_caps_replace):
14330 Fix crasher when passed NULL. Doc clarification.
14331 Optimize for the trivial case.
14333 * gst/gstpipeline.c: (gst_pipeline_change_state):
14336 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14337 Small documentation cleanup.
14339 * libs/gst/base/gstbasetransform.c:
14340 (gst_base_transform_buffer_alloc):
14341 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14342 is what we need and it avoids a whole lot of redundant
14343 refcount operations.
14345 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14347 Patch by: Philip Jägenstedt <philip at lysator liu se>
14349 * docs/manual/advanced-dataaccess.xml:
14350 Fix 'Embedding static elements' section to use
14351 GST_PLUGIN_DEFINE_STATIC (#345607).
14353 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14355 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14356 Attempt to 'fix' spuriously failing test case: it seems like the
14357 timeout of half a second is simply too small when the system is under
14358 load otherwise, and the timeout doesn't really seem to serve any
14359 particular purpose here. Give the pipeline a few seconds to preroll
14360 first, and then give it another half a second to go from PAUSED to
14361 PLAYING and marshal the message into the main thread.
14363 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14365 * tools/gst-feedback-m.m:
14366 Don't only use unversioned tools, try versioned tools as well
14369 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14371 * gst/gstbus.c: (gst_bus_class_init):
14372 Fix some typos, make docs more explicit.
14374 2006-06-20 Wim Taymans <wim@fluendo.com>
14376 * tests/check/gst/gstghostpad.c: (block_callback),
14377 (GST_START_TEST), (gst_ghost_pad_suite):
14378 Added some more ghostpad tests, mainly blocking
14381 2006-06-16 Wim Taymans <wim@fluendo.com>
14383 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14384 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14385 (gst_file_sink_event), (gst_file_sink_render):
14386 * plugins/elements/gstfilesink.h:
14387 Check if we can seek in the file instead of assuming
14388 we always can. Post an error when we are asked to seek in a
14389 non-seekable file (like a fifo). Fixes #343312.
14392 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14394 * tools/gst-launch.1.in:
14395 Un-garble (fourcc) bit in filtered caps section.
14397 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14399 * docs/manual/advanced-autoplugging.xml:
14400 * docs/manual/basics-helloworld.xml:
14401 * docs/manual/highlevel-components.xml:
14402 Don't leak bus reference in sample code.
14404 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14407 Add default for new --enable-plugin-docs switch.
14410 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14413 * docs/Makefile.am:
14414 Use new ENABLE_PLUGIN_DOCS conditional.
14416 2006-06-14 Wim Taymans <wim@fluendo.com>
14418 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14419 Make it clear with a FIXME and a real define what the #if 0
14420 previously disabled.
14422 2006-06-14 Wim Taymans <wim@fluendo.com>
14424 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14425 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14426 * libs/gst/base/gstbasetransform.c:
14427 (gst_base_transform_sink_eventfunc):
14428 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14429 Don't randomly and silently reset a segment when the format
14430 changes as this is a bug somewhere upstream. Fixes #330379.
14432 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14434 Patch by: Wouter Paesen <wouter at kangaroot net>
14436 * libs/gst/controller/gstcontroller.c:
14437 (gst_controlled_property_new):
14438 Fix controlling of float properties (#344849).
14440 * tests/check/libs/controller.c:
14441 (gst_test_mono_source_get_property),
14442 (gst_test_mono_source_set_property),
14443 (gst_test_mono_source_class_init), (GST_START_TEST):
14444 While we're at it, add some float stuff to unit test.
14446 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14449 * docs/images/gdp-header.svg:
14451 * docs/libs/Makefile.am:
14452 * docs/libs/gdp-header.png:
14453 * libs/gst/dataprotocol/dataprotocol.c:
14454 add it to the API docs
14455 * docs/manual/intro-motivation.xml:
14458 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14460 * gst/gst.c: (scan_and_update_registry), (init_post):
14461 If the fork()'ed child process can't write the updated registry cache
14462 file to disk for some reason, make it exit with a failure exit code,
14463 so that the parent can then re-scan the plugins itself and update the
14464 registry structures in memory and work with that (rather than failing
14465 when creating elements because seemingly no plugins are available).
14466 Refactor registry scanning code into separate function for this and
14467 also separate fork() and non-fork() code paths. Fixes #344748.
14469 2006-06-13 Wim Taymans <wim@fluendo.com>
14471 * docs/manual/advanced-dataaccess.xml:
14472 Fix wrong PluginDesc. Fixes #344755.
14474 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14476 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14477 Fix silly bug that prevented us from creating
14478 ~/.gstreamer-0.10 and writing the registry in one
14479 go (the first call to g_mkstemp() would overwrite the
14480 placeholder in the template string, so the second call
14481 to g_mkstemp() after creating the missing directory
14482 would then error out with 'invalid argument').
14484 2006-06-13 Edward Hervey <edward@fluendo.com>
14486 * gst/gst.c: (init_post):
14489 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14491 * gst/glib-compat-private.h:
14492 * gst/glib-compat.c:
14493 * gst/glib-compat.h:
14494 * gst/gstvalue.c: (gst_value_serialize_flags):
14495 remove GLib 2.6 compatibility code
14497 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14499 * gst/parse/Makefile.am:
14500 Fix build with 'make -j N' even more (#340016).
14502 2006-06-12 Wim Taymans <wim@fluendo.com>
14504 * docs/gst/gstreamer-sections.txt:
14507 2006-06-12 Wim Taymans <wim@fluendo.com>
14509 * gst/gstsegment.c: (gst_segment_set_duration),
14510 (gst_segment_set_last_stop), (gst_segment_set_seek),
14511 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14512 (gst_segment_to_running_time), (gst_segment_clip):
14513 Use G_UNLIKELY to help the compiler a bit.
14515 2006-06-12 Wim Taymans <wim@fluendo.com>
14517 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14519 * gst/gstevent.c: (gst_event_get_type):
14520 * gst/gstmessage.c:
14521 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14523 constify quark registration strings. Fixes #344115
14524 Avoid unneeded type checking is _pad_push() by internally
14525 calling gst_pad_chain_unchecked().
14527 2006-06-12 Wim Taymans <wim@fluendo.com>
14529 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14530 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14531 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14532 (gst_buffer_is_span_fast), (gst_buffer_span):
14533 Init _type for consistency.
14534 Use _FLAGS macro to avoid type check.
14535 Avoid unneeded type checks in subbufer code.
14537 2006-06-12 Wim Taymans <wim@fluendo.com>
14539 * gst/gst.c: (gst_debug_help):
14540 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14541 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14542 (gst_plugin_feature_list_free):
14543 * gst/gstregistry.c: (gst_registry_add_plugin),
14544 (gst_registry_add_feature), (gst_registry_plugin_filter),
14545 (gst_registry_feature_filter), (gst_registry_find_plugin),
14546 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14547 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14548 * gst/gstregistryxml.c: (load_feature),
14549 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14550 * gst/gstminiobject.c: (gst_mini_object_unref),
14551 (gst_mini_object_replace), (gst_value_mini_object_free),
14552 (gst_value_mini_object_copy):
14553 Use _CAST macros to avoid unneeded type checking.
14554 Added some more G_UNLIKELY.
14556 2006-06-12 Wim Taymans <wim@fluendo.com>
14559 Avoid unneeded type checking.
14560 API: GST_BUFFER_IS_DISCONT
14562 * gst/gstminiobject.h:
14563 Avoid type check in flag accessor.
14565 * gst/gstelementfactory.h:
14567 * gst/gstpluginfeature.h:
14569 API: GST_ELEMENT_FACTORY_CAST
14570 API: GST_PLUGIN_CAST
14571 API: GST_PLUGIN_FEATURE_CAST
14573 2006-06-12 Wim Taymans <wim@fluendo.com>
14575 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14576 (gst_object_unref):
14577 Add G_UNLIKELY in type registration.
14578 Avoid type check in _ref/_unref since that is also
14581 2006-06-12 Wim Taymans <wim@fluendo.com>
14583 * gst/gsterror.c: (gst_g_error_get_type):
14584 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14585 (gst_static_pad_template_get_type):
14586 * gst/gsttaglist.c: (gst_tag_list_get_type):
14587 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14588 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14589 * gst/gsturi.c: (gst_uri_handler_get_type):
14590 * gst/gstvalue.c: (gst_date_get_type):
14591 * gst/gstxml.c: (gst_xml_get_type):
14592 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14593 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14594 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14595 Add G_UNLIKELY in type registration.
14597 2006-06-12 Wim Taymans <wim@fluendo.com>
14599 * tools/gst-inspect.c: (print_signal_info):
14600 Properly print enum values.
14602 2006-06-12 Wim Taymans <wim@fluendo.com>
14604 * gst/gstinfo.c: (gst_debug_set_active),
14605 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14607 Add some G_[UN]LIKELY.
14608 Maintain __gst_debug_min to avoid formatting the arguments of
14609 debug messages that will be dropped anyway to avoid a lot of
14610 overhead from the debugging system.
14612 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14615 * po/POTFILES.skip:
14616 add missing files containing translatable strings, tell intltool about
14619 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14621 * tests/check/libs/.cvsignore:
14622 add test-binary to ignore list
14624 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14626 * docs/libs/gstreamer-libs-docs.sgml:
14627 reorder (put dp into a chapter) and indent
14629 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14634 === release 0.10.8 ===
14636 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14639 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14641 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14643 * gst/gst.c: (init_post):
14644 move pid declaration to declaration block
14646 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14648 * gst/gst.c: (init_post):
14649 use _exit() instead of exit() in our forked child; this ensures
14650 that none of the registered exit handlers from whatever is using
14651 GStreamer get executed. This fixes gnome-mixer-applet failing
14652 to load, because ORBit would shut down.
14653 Spotted by: Edward Hervey <edward@fluendo.com>
14654 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14657 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14662 === release 0.10.7 ===
14664 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14667 releasing 0.10.7, "Soepeke, ik zie ou"
14669 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14692 * win32/common/config.h:
14693 0.10.6.2 prerelease
14695 2006-06-07 Wim Taymans <wim@fluendo.com>
14697 * gst/gstindex.c: (gst_index_gtype_resolver):
14698 * tools/gst-xmlinspect.c: (print_plugin_info):
14699 Fix leak spotted by coverity checker. Fixes #343827
14700 Fix another other leak found by paolo borelli.
14702 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14704 * libs/gst/dataprotocol/dataprotocol.c:
14705 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14706 (gst_dp_version_get_type), (gst_dp_init),
14707 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14708 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14709 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14710 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14711 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14712 (gst_dp_packetizer_free):
14713 * libs/gst/dataprotocol/dataprotocol.h:
14714 API: add a GstDPPacketizer object, and create/free functions
14715 API: add GstDPVersion enum
14716 Add 1.0 event function that uses the string serialization
14717 Serialize more useful buffer flags
14720 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14722 * tests/check/Makefile.am:
14723 * tests/check/gst/gstabi.c:
14724 * tests/check/gst/struct_ppc64.h:
14725 * tests/check/libs/libsabi.c:
14726 * tests/check/libs/struct_ppc64.h:
14727 add ppc64 structure sizes
14729 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14731 * tests/check/Makefile.am:
14732 * tests/check/gst/gstabi.c:
14733 * tests/check/gst/struct_x86_64.h:
14734 * tests/check/libs/libsabi.c:
14735 * tests/check/libs/struct_x86_64.h:
14736 generate and add structure size lists for x86_64
14738 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14740 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14741 * libs/gst/check/gstcheck.h:
14742 factor out the method from tests that checks size of structures,
14743 and add code to generate the header containing these sizes
14744 * tests/check/gst/gstabi.c: (GST_START_TEST):
14745 * tests/check/gst/struct_i386.h:
14746 * tests/check/libs/libsabi.c: (GST_START_TEST):
14747 * tests/check/libs/struct_i386.h:
14750 2006-06-06 Michael Smith <msmith@fluendo.com>
14752 * gst/gstsegment.h:
14753 Don't use c++-style comments, fixes #343929
14755 2006-06-05 Edward Hervey <edward@fluendo.com>
14758 plugin_paths is not used if we build without registry support.
14760 * gst/gstsegment.c: (gst_segment_copy):
14761 _copy() was always returning NULL...
14763 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14765 * libs/gst/dataprotocol/dataprotocol.c:
14766 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14767 (gst_dp_packet_from_event):
14768 factor out CRC code
14770 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14772 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14773 make sure we unset caps
14775 2006-06-02 Michael Smith <msmith@fluendo.com>
14777 * libs/gst/check/gstcheck.c: (gst_check_init),
14778 (gst_check_chain_func):
14779 * libs/gst/check/gstcheck.h:
14780 Add a cond/mutex to the check support lib, signal this whenever we
14781 add to the buffers list. This will allow tests to not busy-wait on
14784 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14786 * libs/gst/dataprotocol/dataprotocol.c:
14787 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14788 (gst_dp_packet_from_event):
14789 factor out some common header init code
14791 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14793 * docs/libs/gstreamer-libs-sections.txt:
14794 * docs/libs/tmpl/gstdataprotocol.sgml:
14795 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14796 * libs/gst/dataprotocol/dataprotocol.h:
14797 API: make gst_dp_crc() public
14799 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14801 * plugins/indexers/gstindexers.c: (plugin_init):
14802 conditionally register fileindexer (fixes #343598)
14804 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14806 * gst/gsttagsetter.h:
14807 Can't cast ifaces to a class
14809 * libs/gst/net/gstnetclientclock.h:
14810 * libs/gst/net/gstnettimeprovider.h:
14811 * plugins/elements/gstfakesink.h:
14812 * plugins/elements/gstfakesrc.h:
14813 * plugins/elements/gstfdsink.h:
14814 * plugins/elements/gstfdsrc.h:
14815 * plugins/elements/gstfilesink.h:
14816 * plugins/elements/gstfilesrc.h:
14817 * plugins/elements/gstidentity.h:
14818 * plugins/elements/gstqueue.h:
14819 * plugins/elements/gsttee.h:
14820 * plugins/indexers/gstfileindex.c:
14821 * plugins/indexers/gstmemindex.c:
14822 * tests/old/examples/plugins/example.h:
14823 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14825 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14827 * libs/gst/dataprotocol/dataprotocol.c:
14828 (gst_dp_header_from_buffer):
14829 make sure we zero the whole ABI-compatible area
14831 2006-06-01 Wim Taymans <wim@fluendo.com>
14833 Patch by: Alessandro Decina <alessandro at nnva dot org>
14835 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14836 Make sure the EOS flag is cleared from pads after a flush
14837 or stop. Fixes #343538.
14839 * tests/check/libs/collectpads.c: (GST_START_TEST),
14840 (gst_collect_pads_suite):
14841 Added test for collectpads reusage after EOS.
14843 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14846 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14847 * win32/common/libgstbase.def:
14848 export gst_collect_pads_set_flushing
14849 * win32/common/libgstreamer.def:
14850 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14851 gst_value_fraction_multiply
14852 * win32/vs6/gst_inspect.dsp:
14853 add a link to intl.lib
14855 2006-05-30 Wim Taymans <wim@fluendo.com>
14857 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14858 (gst_collect_pads_chain):
14859 Handle the case where a pad is removed from the collection
14860 that could cause the other pads to become collectable.
14862 2006-05-30 Wim Taymans <wim@fluendo.com>
14864 * gst/gstelement.c:
14865 Clarify the use of _release_request_pad() and
14866 _get_request_pad() a bit better.
14868 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14869 (gst_adapter_take_buffer):
14870 Fix some doc and comment typos.
14872 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14874 * docs/gst/gstreamer-sections.txt:
14875 * docs/libs/gstreamer-libs-sections.txt:
14876 add declared symbols
14878 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14880 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14881 Add debug that can be enabled using a #define at the top of the file,
14882 for dumping stats about how late/early we were when waking up from
14883 waiting on the clock.
14885 2006-05-30 Wim Taymans <wim@fluendo.com>
14887 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14888 When rebuilding the pad list, don't leak the previous list.
14890 2006-05-30 Wim Taymans <wim@fluendo.com>
14892 Patch by: Lutz Mueller <lutz at topfrose dot de>
14894 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14895 (gst_base_src_get_query_types), (gst_base_src_update_length):
14896 Publish supported query types.
14897 Update last_stop field in get_range mode so the position
14898 query works. Fixes #342321.
14900 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14902 * docs/gst/gstreamer-sections.txt:
14903 * gst/gsttaglist.c: (_gst_tag_initialize):
14904 * gst/gsttaglist.h:
14905 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14907 2006-05-30 Wim Taymans <wim@fluendo.com>
14909 Patch by: Alessandro Decina <alessandro at nnva dot org>
14911 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14912 Unlock mutex when removing an unknown pad.
14915 * tests/check/Makefile.am:
14916 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14917 (push_event), (setup), (teardown), (GST_START_TEST),
14918 (gst_collect_pads_suite), (main):
14919 Added collecpads check, disabled for now as check crashes for
14922 2006-05-29 Wim Taymans <wim@fluendo.com>
14924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14925 Don't leak pads lists.
14927 2006-05-29 Wim Taymans <wim@fluendo.com>
14929 * docs/libs/gstreamer-libs-sections.txt:
14930 * libs/gst/base/gstcollectpads.c:
14931 (gst_collect_pads_set_flushing_unlocked),
14932 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14933 (gst_collect_pads_stop):
14934 * libs/gst/base/gstcollectpads.h:
14935 API: gst_collect_pads_set_flushing()
14936 Added api to set the pads to flushing, useful for seeking
14937 code in elements using collectpads.
14938 Clear segment when receiving a flush.
14940 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14942 * gst/gst.c: (add_path_func), (init_post):
14943 Don't scan registry paths passed via --gst-plugin-path immediately
14944 (will crash, because absolutely nothing is set up and no types are
14945 registered etc.); do this later in init_post(). Fixes #343057.
14947 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14949 * gst/gst.c: (init_post):
14950 if we have fork, fork while reading/rebuilding the registry
14951 so the parent doesn't take the hit of having all plugins loaded
14952 in memory. Fixes #342777.
14954 Check if we have fork()
14955 * win32/common/config.h.in:
14958 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14960 * plugins/elements/gstelements.c:
14961 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14962 (gst_file_src_init), (gst_file_src_set_property),
14963 (gst_file_src_get_property), (gst_file_src_start):
14964 * plugins/elements/gstfilesrc.h:
14965 API: GstFileSrc::use-mmap
14967 Add a use-mmap property to enable easier testing of all code paths.
14968 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14969 in the absence of gnomevfssrc. (Closes #340501)
14971 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14973 * tools/gst-inspect.c:
14974 Add missing include, removes warning of ngettext not being defined on
14977 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14979 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14980 Handle NULL input and output pointers silently as a failed conversion,
14981 rather than g_warnings.
14983 2006-05-25 Wim Taymans <wim@fluendo.com>
14985 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14986 Initialize variable before using. Fixes #342820.
14988 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14990 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14991 Fix off-by-one bug that would only allow peeks of N-1 bytes
14992 from the start even if the buffer to typefind on contains
14993 in fact N bytes of data (makes vorbis typefinding from a
14994 vorbis identification header buffer work).
14996 * tests/check/Makefile.am:
14997 * tests/check/libs/.cvsignore:
14998 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14999 (gst_typefindhelper_suite), (main), (foobar_typefind),
15001 Add very basic unit test for gst_type_find_helper_for_buffer()
15002 that checks for the problem fixed above.
15004 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15006 * tools/gst-inspect.c: (print_interfaces),
15007 (print_element_properties_info), (print_element_list), (main):
15008 add more translatable strings
15010 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15012 Patch by: Julien Moutte <julien at moutte net>
15014 * docs/gst/gstreamer-sections.txt:
15015 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15017 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15018 (gst_fake_sink_preroll):
15019 * plugins/elements/gstfakesink.h:
15020 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15022 2006-05-23 Wim Taymans <wim@fluendo.com>
15024 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15026 Added _CUSTOM error and success GstFlowReturn that can be
15027 used be elements internally.
15028 Added macro to check for SUCCESS flowreturns.
15029 API: GST_FLOW_CUSTOM_SUCCESS
15030 API: GST_FLOW_CUSTOM_ERROR
15031 API: GST_FLOW_IS_SUCCESS
15033 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15034 Added check for GstFlowReturn sanity.
15036 2006-05-23 Wim Taymans <wim@fluendo.com>
15038 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15040 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15041 (gst_collect_pads_event):
15042 clear/reset segment info in FLUSH_STOP.
15045 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15047 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15048 (gst_collect_pads_check_collected):
15049 Flush queued buffer on _stop(), fixes playing again (#342454)
15051 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15053 * tests/check/gst/gststructure.c: (GST_START_TEST),
15054 (gst_structure_suite):
15055 add a test for a complete structure
15057 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15059 * docs/faq/developing.xml:
15060 * docs/faq/faq.xml:
15061 * docs/faq/troubleshooting.xml:
15062 * docs/faq/using.xml:
15063 Some minor FAQ updates that won't change the fact that
15064 our FAQ is badly structured, full of information hardly
15065 anyone new to GStreamer needs to know and lacking lots
15066 of information people constantly ask for.
15068 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15070 * gst/gstpad.c: (gst_pad_set_caps):
15071 Short-circuit gst_pad_set_caps if setting the existing
15072 caps pointer again, and avoid printing debug and
15073 reffing/unreffing the caps.
15075 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15076 There's actually no need to set the caps before pushing -
15077 the acceptcaps method will handle it anyway.
15079 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15081 * docs/gst/gstreamer-sections.txt:
15082 * win32/common/libgstreamer.def:
15083 * gst/gstutils.c: (gst_element_seek_simple):
15085 API: add gst_element_seek_simple() (#342238).
15087 2006-05-18 Edward Hervey <edward@fluendo.com>
15089 * gst/gsttypefind.c: (gst_type_find_get_type):
15090 * gst/gsttypefind.h:
15091 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15092 registered for GstTypeFind pointers. This allows wrapping the structure
15093 in bindings (i.e. gst-python).
15095 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15097 * gst/gsttagsetter.c:
15098 Docs additions and fixes (see #339918).
15100 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15102 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15103 The caps intersection algorithm can produce multiple copies of the
15104 caps. Until that is fixed, we need to simplify the result to be
15105 sure whether the allowed caps are fixed or not.
15107 * plugins/elements/gstqueue.c: (gst_queue_init),
15108 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15109 (gst_queue_push_one):
15110 Proxied buffer alloc should not set the caps on the source pad.
15111 When pushing buffers, we always accept the caps change that triggers.
15112 This prevents negotiation errors caused by caps changing mid-stream
15113 and then being refused on our source pad (because upstream is now
15114 refusing those caps).
15116 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15118 * tests/examples/helloworld/helloworld.c: (main):
15119 Must plug audioconvert and audioresample between decoder
15122 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15124 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15125 (load_feature), (load_plugin):
15126 Allow empty strings for some of the plugin fields so we don't
15127 drop valid plugin entries that were written out correctly
15130 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15132 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15133 Use g_remove and g_rename instead of remove and rename that don't
15134 handle utf8 characters. rename was failing for users who had specific
15135 characters in their name then the registry was built at each
15137 * win32/vs6/gst_inspect.dsp:
15138 * win32/vs6/gst_launch.dsp:
15139 * win32/vs6/libgstbase.dsp:
15140 * win32/vs6/libgstcoreelements.dsp:
15141 * win32/vs6/libgstreamer.dsp:
15142 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15143 build of libgstreamer and clean unused libraries in projects link
15146 2006-05-17 Edward Hervey <edward@fluendo.com>
15148 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15149 The queue is not responsible for pushing an EOS when receiving a fatal
15150 flow error. It's up to the real element driving the pipeline to do that.
15152 2006-05-16 Edward Hervey <edward@fluendo.com>
15154 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15155 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15156 buffer returned a fatal error. It should just send an EOS and stop
15158 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15159 when pushing buffers on the queue and will be able to handle the event.
15161 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15163 * docs/manual/basics-bins.xml:
15164 * docs/manual/basics-init.xml:
15165 Fix typos and minor errors in sample code (#341856).
15167 2006-05-16 Wim Taymans <wim@fluendo.com>
15169 * docs/design/part-qos.txt:
15170 Fix indexes in formulas to make more sense.
15172 2006-05-15 Wim Taymans <wim@fluendo.com>
15174 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15175 Don't report POSITION based on clock time if sync is
15176 disabled in a sink.
15178 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15181 Add cast to make compiler happy - refcount variable was a gint
15182 in GstObject but is a guint in GObject and g_atomic_int_get()
15185 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15187 * gst/parse/Makefile.am:
15188 chain commands using &&, which also makes parallel make work
15190 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15192 * docs/gst/gstreamer-sections.txt:
15195 * gst/gstmessage.h:
15198 === release 0.10.6 ===
15200 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15203 releasing 0.10.6, "Take the cannoli"
15205 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15207 * tools/gst-launch.c: (print_tag):
15208 Fix use of uninitialized variable in the hypothetical
15209 case that some broken plugin creates a GST_TAG_IMAGE
15210 tag containing a NULL buffer (#341667).
15212 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15214 * tools/gst-launch.c: (print_tag):
15215 Print something more intelligible for image tags when
15216 using the -t switch (#341556).
15218 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15223 define GST_MAJORMINOR so we have it available in win32/common/config.h
15224 Possibly remove it from our Makefile.am files later
15225 * win32/common/config.h:
15226 * win32/common/config.h.in:
15227 added GST_MAJORMINOR
15228 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15229 * win32/common/gstversion.h:
15232 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15235 Update win32 files listing.
15236 * win32/common/gstversion.h:
15237 Add GST_MAJORMINOR definition.
15238 * win32/common/libgstreamer.def:
15239 Add new exported functions.
15241 2006-05-12 Michael Smith <msmith@fluendo.com>
15243 * gst/gstplugin.c: (gst_plugin_load_file):
15244 If an so file has no plugin entry point, unload the module.
15246 2006-05-11 Wim Taymans <wim@fluendo.com>
15248 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15249 (gst_queue_set_property):
15250 Don't forget to signal the _chain or _loop function
15251 when the queue size or thresholds change since that might
15252 cause them to make progres again.
15254 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15256 * gst/gstclock.c: (gst_clock_class_init):
15257 * gst/gstindex.c: (gst_index_class_init):
15258 * gst/gstobject.c: (gst_object_class_init):
15259 * gst/gstpad.c: (gst_pad_class_init):
15260 * gst/gstpipeline.c: (gst_pipeline_class_init):
15261 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15262 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15263 * libs/gst/base/gstbasetransform.c:
15264 (gst_base_transform_class_init):
15265 * libs/gst/net/gstnetclientclock.c:
15266 (gst_net_client_clock_class_init):
15267 * libs/gst/net/gstnettimeprovider.c:
15268 (gst_net_time_provider_class_init):
15269 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15270 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15271 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15272 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15273 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15274 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15275 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15276 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15277 * plugins/elements/gsttee.c: (gst_tee_class_init):
15278 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15279 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15280 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15282 2006-05-11 Wim Taymans <wim@fluendo.com>
15284 * gst/gstbuffer.c: (_gst_buffer_initialize):
15285 Register subbufer along with the buffer type so that
15286 it does not accidentally gets registered from N
15287 different streaming threads in a non threadsafe way.
15289 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15293 * gst/gstmessage.h:
15294 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15295 gst_event_ref() and gst_message_ref() functions again
15296 (ugly hack, please do fix if there's a better way besides
15297 overrides.txt, which doesn't seem to work).
15299 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15301 * libs/gst/check/gstcheck.h:
15302 add an assert for setting state to avoid lots of repetitive code
15305 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15307 * gst/gstvalue.c: (gst_value_serialize_flags):
15308 fix a leak if no flags are set
15309 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15312 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15314 * docs/manual/basics-pads.xml:
15315 Expand a bit on caps and filtered links and update
15316 examples that were still using the no longer existing
15317 gst_pad_link_filtered() (#338206).
15319 2006-05-10 Wim Taymans <wim@fluendo.com>
15321 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15322 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15323 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15324 (gst_collect_pads_stop):
15325 * libs/gst/base/gstcollectpads.h:
15326 No need to call _stop in _finalize.
15327 Iterate the main pad list in _finalize.
15328 Added some more debug.
15329 Free lists and data in the right order.
15330 Also free data whem doing _remove_pad when stopped for
15331 backward compatibility protect ::started with PAD_LOCK as
15334 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15336 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15337 (gst_structure_parse_value):
15339 rename a method so that it actually says what it does better
15341 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15343 * gst/gstevent.c: (_gst_event_initialize):
15344 * gst/gstformat.c: (_gst_format_initialize):
15345 make sure some essential types used by events are registered
15346 as part of gst_init()
15347 * gst/gstvalue.c: (gst_value_serialize_flags):
15348 if no flags are set, serialize them to a value that represents NONE
15349 so that deserializing them works
15350 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15351 add tests for serialization and deserialization of flags
15353 2006-05-10 Wim Taymans <wim@fluendo.com>
15355 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15356 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15357 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15358 (gst_collect_pads_event), (gst_collect_pads_chain):
15361 Catch and return errors from the collect function
15362 Refuse data on eos pads.
15364 2006-05-10 Edward Hervey <edward@fluendo.com>
15366 * gst/gstinterface.h:
15367 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15368 GInterface type checking.
15369 They were previously using non-defined macros.
15371 2006-05-09 Wim Taymans <wim@fluendo.com>
15373 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15374 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15375 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15376 (gst_collect_pads_start), (gst_collect_pads_stop),
15377 (gst_collect_pads_peek), (gst_collect_pads_pop),
15378 (gst_collect_pads_available), (gst_collect_pads_read),
15379 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15380 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15381 (gst_collect_pads_chain):
15382 * libs/gst/base/gstcollectpads.h:
15383 Clean up the mess that is collectpads, add comments and
15384 FIXMEs where needed.
15385 Maintain a separate pad list so we can add pads while
15386 collecting the other ones. For this we need a new separate
15388 Fix memory leak in finalize.
15389 Refactor some weird code to set/unset pad flushing flags, mark
15391 Don't crash in _available, _read, _flush when we're EOS.
15393 * tests/check/libs/.cvsignore:
15394 Ignore adapter check binary.
15396 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15398 * gst/gstindex.c: (gst_index_resolver_get_type):
15399 * plugins/elements/gstfakesink.c:
15400 (gst_fake_sink_state_error_get_type):
15401 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15402 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15403 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15404 Const-ify GEnumValue arrays.
15406 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15408 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15409 Add test case for flags + gst_buffer_make_metadata_writable().
15411 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15413 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15414 gst_buffer_make_metadata_writable() should maintain the
15415 buffer flags (those that make sense at least) (see #340859).
15417 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15419 * tools/gst-inspect.c:
15420 * tools/gst-launch.c:
15421 * tools/gst-typefind.c:
15422 * tools/gst-xmlinspect.c:
15424 Fix up includes: need to include stdlib.h in tools.h for exit().
15426 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15428 * gst/gsttaglist.c: (_gst_tag_initialize):
15429 * gst/gsttaglist.h:
15430 API: add GST_TAG_IMAGE tag (#340721).
15432 2006-05-08 Wim Taymans <wim@fluendo.com>
15435 Added some docs for the segment query.
15437 2006-05-08 Wim Taymans <wim@fluendo.com>
15439 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15440 (gst_base_src_loop), (gst_base_src_change_state):
15441 Always push non-flushing serialized events in the streaming
15444 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15446 * gst/gsterror.c: (_gst_stream_errors_init):
15447 Add a missing error string.
15449 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15451 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15452 Add applied_rate to the debug
15454 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15455 Copy applied_rate into the outgoing NEWSEGMENT event
15457 2006-05-08 Wim Taymans <wim@fluendo.com>
15459 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15461 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15462 (gst_base_sink_change_state):
15463 call ::unlock before taking the PREROLL_LOCK so we can safely
15464 handle elements that lock in ::render.
15467 2006-05-08 Edward Hervey <edward@fluendo.com>
15469 * autogen.sh: (CONFIGURE_DEF_OPT):
15470 Darwin's libtoolize is in fact called glibtoolize.
15471 Adding glibtoolize to the list of accepted names for libtoolize.
15473 2006-05-08 Wim Taymans <wim@fluendo.com>
15475 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15476 Unify error handling, don't post an error message
15477 when a push() returns EOS but perform our normal EOS
15478 handling code. Fixes #340772.
15480 2006-05-08 Wim Taymans <wim@fluendo.com>
15482 * docs/design/part-overview.txt:
15483 Make upsteam/downstream concepts more clear.
15484 Give an example of serialized/non-serialized events.
15486 * docs/design/part-events.txt:
15487 * docs/design/part-streams.txt:
15488 Mention applied_rate.
15490 * docs/design/part-trickmodes.txt:
15491 Mention applied rate, flesh out some more use cases.
15493 * gst/gstevent.c: (gst_event_new_new_segment),
15494 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15495 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15496 (gst_event_parse_tag), (gst_event_new_buffer_size),
15497 (gst_event_parse_buffer_size), (gst_event_new_qos),
15498 (gst_event_parse_qos), (gst_event_parse_seek),
15499 (gst_event_new_navigation):
15501 Add applied_rate field to NEWSEGMENT event.
15502 API: gst_event_new_new_segment_full()
15503 API: gst_event_parse_new_segment_full()
15505 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15506 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15507 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15508 * gst/gstsegment.h:
15509 Add applied_rate to GstSegment structure.
15510 Make calculation of stream_time and running_time more correct
15511 wrt rate/applied_rate.
15512 Add some more docs.
15513 API: GstSegment::applied_rate field
15514 API: gst_segment_set_newsegment_full();
15516 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15517 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15518 * libs/gst/base/gstbasetransform.c:
15519 (gst_base_transform_sink_eventfunc),
15520 (gst_base_transform_handle_buffer):
15521 Parse and use applied_rate in the GstSegment field.
15523 * tests/check/gst/gstevent.c: (GST_START_TEST):
15524 Add check for applied_rate field.
15526 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15527 (gstsegments_suite):
15528 Add more checks for various GstSegment operations.
15530 2006-05-08 Wim Taymans <wim@fluendo.com>
15532 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15533 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15534 (gst_base_sink_get_position), (gst_base_sink_change_state):
15535 Store the sync time of the buffer end position separatly in a
15536 new variable eos_rtime so we can properly sync the EOS event.
15538 Fix the docs for gst_base_sink_set_qos_enabled().
15539 Don't set segment start to invalid value when we receive a
15540 non TIME newsegment.
15541 get closer to handling position reporting for negative rates
15544 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15547 Docs about how to print caps for debug purposes.
15549 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15550 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15552 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15554 * gst/gstelement.c:
15555 use full enum names and preprend a '%' in docs strings to make recent
15556 gtk-doc turn that into a link
15558 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15560 * docs/manual/basics-bins.xml:
15561 * docs/manual/basics-bus.xml:
15562 * docs/manual/basics-pads.xml:
15563 Some typo fixes, some additions, some clarifications.
15565 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15567 * tools/gst-inspect.c: (main):
15568 * tools/gst-launch.c: (main):
15569 * tools/gst-run.c: (main):
15570 * tools/gst-typefind.c: (main):
15571 * tools/gst-xmlinspect.c: (main):
15572 Use the string passed to g_option_context_new() for
15573 what it's intended for - the program name is already
15576 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15578 * tools/Makefile.am:
15579 * tools/gst-inspect.c: (main):
15580 * tools/gst-launch.c: (main):
15581 * tools/gst-xmlinspect.c: (main):
15583 Add back --version command line option (#340460).
15585 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15586 Add --version option and use GOption for argument parsing; refactor a
15587 bit; accept directories as arguments and recurse into them; lastly,
15588 print a decent error message when things go wrong.
15590 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15592 * docs/manual/basics-bins.xml:
15593 Don't mention GstThread (#340611)
15594 * docs/manual/basics-elements.xml:
15595 Update link to GObject tutorial (#340607)
15597 2006-05-05 Wim Taymans <wim@fluendo.com>
15600 * gst/gstminiobject.c:
15601 Add note about refcounting and miniobject/buffer writeability
15602 to docs. Fixes #340604
15604 * gst/gstelementfactory.h:
15605 Added some explanation about @klass.
15607 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15609 * docs/manual/intro-motivation.xml:
15610 * docs/manual/manual.xml:
15611 Avoid CORBA & Bonobo references (#340598)
15613 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15615 * docs/manual/basics-bus.xml:
15616 * docs/manual/basics-pads.xml:
15617 Fix up some inaccuracies and omissions (#340609)
15619 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15621 * gst/gstghostpad.c:
15622 Small typo in docs (#340625)
15624 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15626 * gst/parse/Makefile.am:
15627 Make 'make -j' proof (see #340698).
15629 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15632 Require GLib-2.8 here as well.
15634 2006-05-05 Wim Taymans <wim@fluendo.com>
15636 * gst/glib-compat.c:
15637 * gst/gst.c: (init_pre):
15638 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15639 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15640 (gst_object_dispatch_properties_changed):
15642 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15643 * gst/gststructure.c: (gst_structure_set_valist):
15644 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15645 Remove pre glib2.8 compatibility, fixes #340508
15647 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15649 * gst/gsttaglist.h:
15650 Mention type of tags in doc blurbs.
15652 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15654 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15655 (gst_pad_configure_src), (gst_pad_push):
15656 Restore acceptcaps checking behaviour now that good plugins have
15659 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15661 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15668 * gst/gstmessage.c:
15672 * gst/parse/Makefile.am:
15673 * libs/gst/base/gstadapter.c:
15674 * libs/gst/base/gstbasesrc.c:
15675 * libs/gst/base/gstpushsrc.c:
15676 * libs/gst/base/gsttypefindhelper.c:
15677 * plugins/elements/gstfakesrc.c:
15678 * plugins/elements/gstidentity.c:
15679 Make sure gstprivate.h and/or config.h are
15680 always included first, otherwise some of our
15681 defines (like _FILE_OFFSET_BITS) might be
15682 redefined in the system headers. Fixes build
15683 on opensolaris (#340016).
15685 2006-05-04 Wim Taymans <wim@fluendo.com>
15687 * docs/libs/gstreamer-libs-sections.txt:
15688 API: addition: gst_adapter_take_buffer()
15690 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15691 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15692 (gst_adapter_available_fast):
15693 * libs/gst/base/gstadapter.h:
15694 Prepare for optimizing the hell out of this hugely inefficient
15696 Added gst_adapter_take_buffer() so we can at least start thinking
15697 about subbuffering and merging.
15698 Added some comments.
15700 * tests/check/Makefile.am:
15701 * tests/check/libs/adapter.c: (GST_START_TEST),
15702 (gst_adapter_suite), (main):
15703 Added GstAdapter check.
15705 2006-05-04 Wim Taymans <wim@fluendo.com>
15707 * docs/design/part-overview.txt:
15708 Fix some typos, add blurb about buffer flags.
15710 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15712 * docs/libs/gstreamer-libs-sections.txt:
15713 make sure GstBaseTransformClass shows up in the docs
15714 * libs/gst/base/gstbasetransform.c:
15715 * libs/gst/base/gstbasetransform.h:
15716 move docs so gtk-doc picks it up now
15718 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15720 * docs/libs/gstreamer-libs-sections.txt:
15721 add missing symbols to docs
15723 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15725 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15726 back out the newsegment handling change, see #340060 for ongoing
15729 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15731 * tools/gst-run.c: (get_candidates), (main):
15732 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15733 work); fix typo in error message. Fixes #340079.
15735 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15737 * common/Makefile.am:
15738 * docs/Makefile.am:
15739 * docs/faq/Makefile.am:
15740 * docs/gst/Makefile.am:
15741 * docs/libs/Makefile.am:
15742 * docs/manual/Makefile.am:
15743 * docs/plugins/Makefile.am:
15744 * docs/pwg/Makefile.am:
15745 * docs/slides/Makefile.am:
15747 * common/upload.mak:
15748 move upload.mak to common
15750 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15752 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15753 add more asserts on refcounts
15754 do more cleanup at end of tests
15755 fix test leaks showing in FC5
15757 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15759 * plugins/elements/gsttypefindelement.c:
15760 (gst_type_find_element_handle_event):
15761 reverted wrong change and reflowed code to avoid others falling into
15764 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15766 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15767 fix changelog entry about last collectpads change,
15768 add notes about proper fix
15770 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15773 * gst/gstregistry.c: (gst_registry_scan_path_level),
15774 (gst_registry_scan_path):
15775 * gst/gstregistry.h:
15776 only write out registry if it has changed, fixes #338339
15778 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15781 * gst/gstpipeline.c:
15782 * plugins/elements/gstcapsfilter.c:
15783 * plugins/elements/gstfakesink.c:
15784 * plugins/elements/gstfakesrc.c:
15785 * plugins/elements/gstfdsink.c:
15786 * plugins/elements/gstfdsrc.c:
15787 * plugins/elements/gstfilesink.c:
15788 * plugins/elements/gstfilesrc.c:
15789 * plugins/elements/gstidentity.c:
15790 * plugins/elements/gstqueue.c:
15791 * plugins/elements/gsttee.c:
15792 * plugins/elements/gsttypefindelement.c:
15793 (gst_type_find_element_handle_event):
15794 make GstElementDetails const
15796 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15798 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15799 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15800 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15801 more detailed debug and formatting cleanup,
15802 forward newsegments to src-pad (so that e.g. adder not eats them)
15804 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15806 * gst/gstutils.c: (gst_element_link_pads):
15807 cleanup double code
15809 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15811 * libs/gst/controller/gstcontroller.c:
15812 (gst_controller_sync_values):
15814 * tests/check/libs/controller.c: (GST_START_TEST),
15815 (gst_controller_suite):
15816 a new test for live value handling
15818 2006-04-28 Wim Taymans <wim@fluendo.com>
15820 * gst/gstutils.c: (push_and_ref):
15821 Added some more docs.
15822 Fix refcount issue whith gst_element_found_tags() helper
15823 function. Fixes #338335
15825 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15826 Added testsuite for gst_element_found_tags().
15828 2006-04-28 Michael Smith <msmith@fluendo.com>
15830 * gst/gstvalue.c: (gst_value_serialize_flags):
15831 Avoid NULL dereference when trying to serialize flags containing
15834 2006-04-28 Michael Smith <msmith@fluendo.com>
15836 * plugins/elements/gsttypefindelement.c:
15837 (gst_type_find_element_handle_event):
15838 If we get EOS before any data is accumulated, don't use
15839 uninitialised local variables.
15841 2006-04-28 Michael Smith <msmith@fluendo.com>
15843 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15844 (gst_dp_event_from_packet):
15845 Fixes in reading/writing events over GDP (not currently used?) -
15846 dereferencing NULL events for unknown/invalid event types, memory
15847 leak, and change g_warning to GST_WARNING.
15849 2006-04-28 Wim Taymans <wim@fluendo.com>
15851 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15852 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15853 (gst_base_sink_get_position), (gst_base_sink_change_state):
15854 When frame dropping is enabled, we should not ignore frames
15855 without a duration.
15856 Update some documentation.
15858 2006-04-28 Wim Taymans <wim@fluendo.com>
15860 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15861 (gst_base_src_send_event), (gst_base_src_change_state):
15862 Documentation updates.
15864 2006-04-28 Wim Taymans <wim@fluendo.com>
15866 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15867 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15868 handle EAGAIN, EINTR and short writes correctly. Also clean
15869 up some error cases, avoid a deadlock on bad file descriptors and
15870 use GST_DEBUG_OBJECT.
15873 2006-04-28 Wim Taymans <wim@fluendo.com>
15875 * gst/gstvalue.c: (gst_value_serialize_buffer),
15876 (gst_value_deserialize_buffer):
15877 Don't try to serialize a GValue with a NULL buffer.
15880 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15881 Added check for serialisation of NULL buffers.
15883 2006-04-28 Wim Taymans <wim@fluendo.com>
15885 * gst/gstminiobject.c: (gst_value_take_mini_object):
15886 Taking a NULL miniobject is valid, fix the case where
15887 we try to unref the NULL miniobject.
15889 2006-04-28 Wim Taymans <wim@fluendo.com>
15891 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15893 * gst/gstbin.c: (gst_bin_handle_message_func):
15895 Don't leak bin refcount when a state recalc is
15896 in progress and we delay another one #339808.
15898 2006-04-28 Wim Taymans <wim@fluendo.com>
15900 * docs/design/part-TODO.txt:
15901 Mention QoS as an ongoing work item.
15903 * docs/design/part-buffering.txt:
15904 New doc about buffering that needs to be fleshed out
15907 * docs/design/part-qos.txt:
15908 More QoS policy for decoders/demuxers/transforms
15910 * docs/design/part-trickmodes.txt:
15913 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15918 === release 0.10.5 ===
15920 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15923 releasing 0.10.5, "Fogo"
15925 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15927 patch by: Wim Taymans
15929 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15930 (gst_pad_configure_src), (gst_pad_push):
15931 * gst/gstpipeline.c: (gst_pipeline_init):
15932 Fix internal data flow errors. Fixes #338711.
15934 2006-04-12 Wim Taymans <wim@fluendo.com>
15936 * tests/check/gst/gstelement.c: (GST_START_TEST):
15937 Don't leak the factory.
15939 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15942 * win32/common/config.h:
15945 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15947 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15948 (gst_controller_unset_all):
15949 Free allocated GstTimedValues when freeing list nodes.
15950 Should fix leaks 'make check-valgrind' complains about.
15952 * win32/common/libgstcontroller.def:
15953 Add gst_controller_unset_all.
15955 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15957 * docs/libs/gstreamer-libs-sections.txt:
15958 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15959 (gst_controller_unset_all):
15960 * libs/gst/controller/gstcontroller.h:
15961 API: Added new method gst_controller_unset_all()
15962 fixed gst_controller_unset()
15963 * tests/check/libs/controller.c: (GST_START_TEST),
15964 (gst_controller_suite):
15965 Added two testcases for new and fixed method
15967 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15969 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15970 MSG_DONTWAIT is not defined on Cygwin, so work
15971 around that (fixes #317048).
15973 2006-04-11 Wim Taymans <wim@fluendo.com>
15975 * gst/gstelementfactory.c: (gst_element_register),
15976 (gst_element_factory_create), (gst_element_factory_make):
15979 Updated docs (Fixes #131079)
15981 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15984 * tests/check/gst/gstelement.c: (GST_START_TEST),
15985 (gst_element_suite):
15986 Added testcase for elementfactory class field.
15988 2006-04-10 Wim Taymans <wim@fluendo.com>
15990 * gst/gstsegment.c:
15991 Added some more docs.
15993 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15994 (gst_base_sink_reset_qos):
15995 Calculate more accurate rate values.
15997 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15999 * gst/gst_private.h:
16000 add a new #ifdef to use __declspec(dllimport) only for
16001 other modules and not for gstreamer core
16002 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16003 use gst_guint64_to_gdouble for conversion
16004 * win32/common/libgstreamer.def:
16005 add new exported functions
16006 * win32/vs6/gst_inspect.dsp:
16007 * win32/vs6/gst_launch.dsp:
16008 * win32/vs6/libgstbase.dsp:
16009 * win32/vs6/libgstcontroller.dsp:
16010 * win32/vs6/libgstcoreelements.dsp:
16011 * win32/vs6/libgstdataprotocol.dsp:
16012 * win32/vs6/libgstnet.dsp:
16013 update project files
16015 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16017 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16018 * gst/gstclock.c: (gst_clock_class_init):
16019 * gst/gstelement.c: (gst_element_class_init):
16020 * gst/gstindex.c: (gst_index_class_init):
16021 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16022 * gst/gstobject.c: (gst_object_class_init),
16023 (gst_signal_object_class_init):
16024 * gst/gstpad.c: (gst_pad_class_init):
16025 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16026 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16027 * gst/gstregistry.c: (gst_registry_class_init):
16028 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16029 * gst/gsttask.c: (gst_task_class_init):
16030 * gst/gstxml.c: (gst_xml_class_init):
16031 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16032 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16033 (gst_base_src_loop):
16034 * libs/gst/controller/gstcontroller.c:/
16035 (_gst_controller_class_init):
16036 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16037 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16038 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16039 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16040 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16041 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16043 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16045 * gst/gstpad.c: (gst_pad_link):
16046 Must set peer pads before calling the link function, otherwise
16047 a task started from a link function might get a flow-not-linked
16048 result when trying to push because the other thread where the
16049 linking happens hasn't had a chance to set the peers yet. This
16050 might happen for example when a queue gets linked to a downstream
16051 element, as queue starts a streaming task when its source pad
16052 gets linked. Happens in real life when playing back flac/musepack
16053 files in playbin (#332390).
16055 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16059 * libs/gst/base/gstadapter.h:
16060 * libs/gst/base/gstbasesink.h:
16061 * libs/gst/base/gstbasesrc.h:
16062 * libs/gst/base/gstbasetransform.h:
16063 * libs/gst/base/gstcollectpads.h:
16064 * libs/gst/base/gstpushsrc.h:
16065 Fix broken GObject macros
16067 2006-04-07 Wim Taymans <wim@fluendo.com>
16069 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16070 Initialize start and stop times, thanks valgrind.
16072 2006-04-07 Wim Taymans <wim@fluendo.com>
16074 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16075 Be a bit nicer to badly behaving upstream elements that expect
16076 us to deal with non TIME segments and timestamps (such as fakesrc
16079 2006-04-07 Wim Taymans <wim@fluendo.com>
16082 Small documentation clarification about the signal watch.
16084 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16085 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16086 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16087 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16088 (gst_base_sink_get_position_last),
16089 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16090 Convert and store timestamps in stream time and running time, the
16091 raw timestamps are not useful, also document this better.
16092 Use different window sizes for good and bad QoS observations so
16093 we react to badness a little quicker.
16094 Keep track of the amount of rendered and dropped buffers.
16095 Send QoS timestamps in running time.
16097 * libs/gst/base/gstbasetransform.c:
16098 (gst_base_transform_sink_eventfunc),
16099 (gst_base_transform_handle_buffer):
16100 Compare QoS timestamps against running time.
16102 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16105 Typo fixes in docs.
16107 2006-04-06 Michael Smith <msmith@fluendo.com>
16109 * gst/gstpad.c: (gst_pad_set_property):
16110 Use g_value_get_object() instead of g_value_dup_gst_object(),
16111 to avoid double-reffing the pad template (which we then sink,
16112 so this worked previously if (and only if) the pad template
16115 * gst/gstpadtemplate.c: (gst_pad_template_init),
16116 (gst_pad_template_pad_created):
16117 Never return floating references to pad templates, create
16118 them as initially-sunken.
16120 Document an extra function (and make this stop sinking our
16121 pad template, since that is now guaranteed to do nothing,
16122 since we created it sunken).
16124 * gst/gstghostpad.c:
16127 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16129 * gst/gstinfo.c: (__gst_in_valgrind):
16132 * plugins/elements/gsttypefindelement.c:
16133 (gst_type_find_element_chain):
16134 Don't leak buffer caps.
16136 2006-04-06 Michael Smith <msmith@fluendo.com>
16138 * gst/parse/grammar.y:
16139 Fix a leak in parse-launch for any source-or-sink named element
16142 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16143 Unref the pipeline if it exists after we've failed parsing.
16145 2006-04-05 Michael Smith <msmith@fluendo.com>
16147 * gst/gstpipeline.c: (gst_pipeline_init):
16148 When we create a pipeline bus, initially create it in flushing mode.
16149 Fixes leaks in at least one test, and makes a new pipeline work the
16150 same as one that has gone to READY and then back to NULL.
16152 * gst/gstelement.c:
16155 2006-04-05 Michael Smith <msmith@fluendo.com>
16157 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16158 Unref a pad we reffed.
16159 * tests/check/gst/gstutils.c: (GST_START_TEST):
16162 2006-04-05 Michael Smith <msmith@fluendo.com>
16164 * gst/gstquery.c: (gst_query_set_formats),
16165 (gst_query_set_formatsv):
16166 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16168 2006-04-05 Michael Smith <msmith@fluendo.com>
16170 * tests/check/generic/sinks.c: (GST_START_TEST):
16171 Fix a variety of memleaks in sinks check, which are only sometimes
16172 shown by running the tests under valgrind (weird?).
16174 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16176 * docs/version.entities.in:
16177 Fix the substituted entity name after thomas' changes on the
16180 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16182 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16185 2006-04-05 Andy Wingo <wingo@pobox.com>
16187 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16189 * libs/gst/base/gstbasetransform.c
16190 (gst_base_transform_sink_eventfunc): When resetting our segment on
16191 FLUSH_STOP, also update the flag saying we haven't seen a
16194 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16196 Patch by: Paolo Borelli <pborelli at katamail dot com>
16198 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16199 (gst_plugin_check_license):
16200 minor clean-ups: G_DEFINE_TYPE already takes care of the
16201 parent_class stuff, no need to do it twice. Mark array of
16202 license strings as constant. (#337103)
16204 2006-04-04 Michael Smith <msmith@fluendo.com>
16206 * tools/gst-inspect.c: (print_element_list):
16207 Free the right plugin list; fixes a memory leak.
16209 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16211 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16213 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16214 Don't error out on empty buffers (#336945).
16216 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16218 * docs/libs/gstreamer-libs-sections.txt:
16219 * gst/gsttaglist.c:
16220 * libs/gst/base/gstbasesink.c:
16221 * libs/gst/base/gstbasesink.h:
16222 * libs/gst/base/gstbasesrc.c:
16223 * libs/gst/base/gstbasesrc.h:
16224 Documentation updates. Make BaseSink and BaseSrc docs contain the
16225 class structure so that people can actually see the prototypes for
16226 virtual functions they're supposed to be overriding.
16228 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16230 * plugins/elements/gsttypefindelement.c:
16231 (gst_type_find_element_chain):
16232 More debug info; when skipping typefinding, send cached
16233 events in all cases.
16235 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16238 use new AS_VERSION and AS_NANO macros
16239 * gst/gst-i18n-lib.h:
16242 * gst/gstversion.h.in:
16243 * win32/common/config.h:
16244 * win32/common/config.h.in:
16247 2006-03-31 Michael Smith <msmith@fluendo.com>
16249 * plugins/elements/gsttypefindelement.c:
16250 (gst_type_find_element_chain):
16251 Do not typefind content if the buffers already have caps.
16252 Neccesary for icydemux (#333657), and the right thing to do anyway.
16254 2006-03-30 Wim Taymans <wim@fluendo.com>
16256 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16257 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16258 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16259 (gst_base_sink_record_qos_observation),
16260 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16261 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16262 (gst_base_sink_change_state):
16263 More QoS measurements as described in the design doc.
16264 Get rid of ringbuffer with observations, running average is
16265 more simple and equally good.
16266 Calculates valid proportion now.
16267 Added beginning of flood measurement.
16269 2006-03-29 Wim Taymans <wim@fluendo.com>
16271 * docs/design/part-qos.txt:
16273 Small documentation updates and additions.
16275 2006-03-29 Wim Taymans <wim@fluendo.com>
16277 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16278 (gst_base_src_send_event), (gst_base_src_loop),
16279 (gst_base_src_change_state):
16280 Perform the EOS logic when we reach the segment stop position.
16281 Fix compilation on gcc4.1
16283 2006-03-29 Wim Taymans <wim@fluendo.com>
16285 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16287 * plugins/elements/gstqueue.c: (gst_queue_init),
16288 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16289 (gst_queue_set_property):
16290 * plugins/elements/gstqueue.h:
16291 In queue, when EOS is received, if minimum threshold > max_size -
16292 current_level, there is chance that queue blocks forever in conditional
16293 item del wait. This is because the queue is not emptied completely due
16294 to minimum threshold. Here is another approach. Instead of setting
16295 cur_levels to max in EOS, just zero all minimum threshold levels. This
16296 should make sure that queue gives out all data. When going to READY
16297 (stop) state, just reset the original minimum threshold levels.
16300 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16302 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16303 (gst_type_find_element_handle_event),
16304 (gst_type_find_element_send_cached_events),
16305 (gst_type_find_element_change_state):
16306 * plugins/elements/gsttypefindelement.h:
16307 When typefinding is done in push mode, we should cache
16308 events we receive during typefinding instead of just
16309 dropping them (e.g. newsegment, custom events from
16310 dvdreadsrc etc.) and then send them out once we've
16311 determined the type of the stream (and decodebin
16312 has had a chance to plug in a decoder/demuxer).
16314 2006-03-27 Wim Taymans <wim@fluendo.com>
16316 * docs/design/part-qos.txt:
16319 2006-03-27 Wim Taymans <wim@fluendo.com>
16321 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16323 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16324 (gst_base_src_send_event), (gst_base_src_change_state):
16325 Handle element seek correctly when we are streaming.
16328 2006-03-24 Michael Smith <msmith@fluendo.com>
16330 * docs/faq/gst-uninstalled:
16331 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16332 allow you to correctly run intalled applications built against old
16333 core, using plugins that require updated core (e.g. running
16334 installed totem against a full uninstalled gstreamer stack)
16336 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16338 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16341 2006-03-24 Wim Taymans <wim@fluendo.com>
16343 * docs/gst/gstreamer-sections.txt:
16344 Rearrange the order of the methods so that related methods
16345 are grouped together in sections.
16347 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16349 * gst/gstelement.c:
16350 Little clarification in the docs
16352 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16356 * plugins/elements/gstidentity.c:
16357 * plugins/elements/gstqueue.c:
16358 * plugins/elements/gsttee.c:
16359 * plugins/elements/gsttypefindelement.c:
16360 GST_ELEMENT_DETAILS formatting
16362 2006-03-24 Wim Taymans <wim@fluendo.com>
16364 * libs/gst/base/gstbasesink.h:
16365 Only add fields, not insert or we break ABI.
16367 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16369 * win32/common/libgstbase.def:
16370 * win32/common/libgstreamer.def:
16371 Update, add recently added functions.
16373 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16375 * docs/gst/gstreamer-sections.txt:
16376 * gst/gstutils.c: (gst_pad_query_peer_position),
16377 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16379 API: add some new utility functions:
16380 - gst_pad_query_peer_position()
16381 - gst_pad_query_peer_duration()
16382 - gst_pad_query_peer_convert()
16384 2006-03-23 Wim Taymans <wim@fluendo.com>
16386 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16387 (gst_base_sink_init), (gst_base_sink_finalize),
16388 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16389 (gst_base_sink_set_property), (gst_base_sink_get_property),
16390 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16391 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16392 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16393 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16394 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16395 (gst_base_sink_preroll_object), (gst_base_sink_event),
16396 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16397 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16398 (gst_base_sink_query), (gst_base_sink_change_state):
16399 Decouple max-lateness and the fact that QoS messages are generated
16400 with a new property (qos).
16401 added API: GstBaseSink::async_play()
16402 Add vmethod so subclasses can be notified of ASYNC playing
16404 Collect timestamp start and stop to report better current
16405 position in EOS/PLAYING/PAUSED/READY/NULL.
16406 Refactor QoS/frame dropping and other measurements.
16407 API: GstBaseSrc::qos
16410 * libs/gst/base/gstbasesink.h:
16411 Added Private struct.
16412 API: gst_base_sink_set_qos_enabled()
16413 API: gst_base_sink_is_qos_enabled()
16415 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16417 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16418 If compiling against GLib-2.8 or newer, try to read the
16419 registry file using GMappedFile first before falling back
16420 to fopen() + fread() (#332151).
16422 2006-03-22 Wim Taymans <wim@fluendo.com>
16424 * gst/gstinfo.c: (gst_debug_set_active),
16425 (gst_debug_category_set_threshold):
16426 Disable debugging unless explicitly activated.
16429 2006-03-22 Wim Taymans <wim@fluendo.com>
16431 * gst/gstelement.c: (gst_element_set_locked_state),
16432 (gst_element_dispose):
16433 Cleanup the error case.
16435 * gst/gstobject.c: (gst_object_dispose):
16436 print a critical when some object was disposed with
16437 a parent, also revive the object since it might
16440 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16442 * tools/gst-launch.1.in:
16445 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16448 * tests/check/Makefile.am:
16449 disable some tests when we don't have a registry
16450 * tests/check/gst/gstutils.c: (gst_utils_suite):
16451 don't build the part that needs parsing
16453 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16456 * tests/examples/Makefile.am:
16457 fix --disable-parse build
16459 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16461 * tools/gst-feedback.1.in:
16462 Fix typo: s/feeback/feedback/ (#133494).
16464 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16466 * tools/Makefile.am:
16467 * tools/gst-launch.1.in:
16468 Add FILES section and correct entry about GST_REGISTRY_PATH
16469 environment variable (#133495; #133494).
16471 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16473 * tools/Makefile.am:
16474 * tools/gst-md5sum.1.in:
16475 * tools/gst-md5sum.c:
16476 Remove gst-md5sum and man page (the md5sink element
16477 required was removed ages ago)
16479 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16481 * gst/gststructure.c: (gst_structure_id_set_value):
16482 Make sure that string fields in structures/taglists
16483 contain valid UTF-8 - we don't want to pass rubbish to
16484 applications because of a buggy plugin (cp. #334167).
16486 2006-03-21 Edward Hervey <edward@fluendo.com>
16488 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16489 (gst_bin_handle_message_func):
16490 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16491 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16492 (gst_element_set_bus_func):
16493 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16494 * gst/gstminiobject.c: (gst_value_set_mini_object),
16495 (gst_value_take_mini_object):
16496 * gst/gstpad.c: (gst_pad_set_pad_template):
16497 * gst/gstpipeline.c: (gst_pipeline_dispose),
16498 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16500 (gst_collect_pads_chain):
16501 * libs/gst/net/gstnettimeprovider.c:
16502 (gst_net_time_provider_set_property):
16503 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16504 It's in fact all issues with gst_*object_replace().
16506 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16508 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16510 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16511 * pkgconfig/gstreamer-check.pc.in:
16512 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16514 2006-03-21 Edward Hervey <edward@fluendo.com>
16518 * gst/gstmessage.h:
16519 gst_[buffer|event|message]_ref() macros are replaced by a static
16520 inline functions because gcc-4.1 will about if the return value
16522 * tests/check/gst/gstevent.c: (event_probe):
16523 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16525 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16528 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16529 the type' case. (Closes: #335195 for now). In the future, when we
16530 depend on GLib 2.10, we could also intern the type name using
16531 g_intern_static_string()
16533 2006-03-20 Wim Taymans <wim@fluendo.com>
16535 * gst/gstbin.c: (gst_bin_handle_message_func),
16536 (bin_query_max_init), (bin_query_position_fold),
16537 (bin_query_position_done), (gst_bin_query):
16538 Position query should also take max of all streams.
16540 2006-03-20 Wim Taymans <wim@fluendo.com>
16542 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16543 (gst_fake_src_finalize):
16544 Fix leaks in fakesrc.
16546 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16547 Fix leaks in the testcase.
16549 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16551 * gst/gst_private.h:
16552 add win32 specific import decoration(__declspec(dllimport))
16553 for all extern GstDebugCategory * variables
16554 * win32/common/libgstbase.def:
16555 * win32/common/libgstcontroller.def:
16556 * win32/common/libgstreamer.def:
16557 Add some exports, remove empty lines
16558 * win32/common/libgstdataprotocol.def:
16559 * win32/common/libgstdataprotocol.dsp:
16560 * win32/common/libgstnet.def:
16561 * win32/common/libgstnet.dsp:
16562 new project files and exportation files added
16564 2006-03-19 Wim Taymans <wim@fluendo.com>
16566 * tests/check/libs/basesrc.c: (eos_event_counter):
16567 Use proper return value for probe.
16569 2006-03-17 Wim Taymans <wim@fluendo.com>
16571 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16573 Don't leak buffers, caps and pads on negotiation errors.
16575 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16577 * docs/faq/cvs.xml:
16578 * docs/faq/dependencies.xml:
16579 * docs/faq/developing.xml:
16580 * docs/faq/faq.xml:
16581 * docs/faq/general.xml:
16582 * docs/faq/getting.xml:
16583 * docs/faq/legal.xml:
16584 * docs/faq/troubleshooting.xml:
16585 * docs/faq/using.xml:
16586 Faq review and update.
16588 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16590 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16592 Don't pound the cpu to pieces by checking get_caps when accept_caps
16593 is called with the same caps as the pad already has.
16594 Use GST_DEBUG_OBJECT when outputting caps change information.
16596 2006-03-15 Wim Taymans <wim@fluendo.com>
16598 * gst/gstclock.c: (gst_clock_class_init):
16601 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16606 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16607 (gst_pad_accept_caps), (gst_pad_configure_sink),
16608 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16609 Make the default acceptcaps behaviour be to check the requested
16610 caps against the gst_pad_get_caps output.
16612 Ensure that gst_pad_accept_caps is used to check caps when a pad
16613 doesn't have a setcaps function, so that pads automatically refuse
16614 caps that they don't allow in their pad template. (Fixes #332986)
16616 When a buffer with attached caps is pushed, ensure that the source
16617 pad receives those caps even if the element didn't call
16618 gst_pad_set_caps first.
16620 2006-03-15 Wim Taymans <wim@fluendo.com>
16622 * libs/gst/base/gstadapter.c:
16625 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16627 * win32/common/libgstbase.def:
16628 * win32/common/libgstcontroller.def:
16629 * win32/common/libgstreamer.def:
16630 Add a whole bunch of missing functions (#334434).
16632 2006-03-14 Wim Taymans <wim@fluendo.com>
16634 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16635 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16636 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16637 Better debug info when we receive a segment event.
16638 Reorganize a bit so we can pass the get_times() results around.
16639 Use the segment format when calculating the running time.
16640 Don't do QoS is sync is disabled or we have no clock or the
16641 element does not want us to sync to the clock.
16642 Don't drop buffers if QoS is disabled for now.
16644 2006-03-14 Wim Taymans <wim@fluendo.com>
16646 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16647 Marked the stats property as unimplemented so people don't get
16649 Add debug message when regression goes wrong.
16650 Added some more docs.
16652 2006-03-14 Wim Taymans <wim@fluendo.com>
16654 * gst/gstsegment.c: (gst_segment_to_stream_time):
16655 Return correct return type in case of errors.
16657 2006-03-14 Wim Taymans <wim@fluendo.com>
16659 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16660 Don't segfault on invalid formats.
16662 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16664 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16665 Can't use gst_segment_to_running_time() when the segment
16666 is not in GST_TIME_FORMAT (like with filesink, for example).
16667 Stops flac encoding pipelines from spewing critical warnings
16670 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16672 * gst/gstpipeline.c: (gst_pipeline_class_init):
16673 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16675 * plugins/elements/gsttypefindelement.c:
16676 (gst_type_find_element_handle_event):
16677 Don't try to typefind empty streams.
16679 2006-03-14 Wim Taymans <wim@fluendo.com>
16681 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16682 (gst_base_sink_do_qos):
16683 Separate QoS calculation.
16684 Only drop buffers when lateness is bigger than the
16685 duration of the buffer.
16687 2006-03-13 Wim Taymans <wim@fluendo.com>
16689 * gst/gstpipeline.c: (gst_pipeline_set_property),
16690 (gst_pipeline_get_property), (do_pipeline_seek),
16691 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16692 (gst_pipeline_get_delay):
16693 Don't deadlock when reading properties.
16695 2006-03-13 Wim Taymans <wim@fluendo.com>
16697 * libs/gst/base/gstbasetransform.c:
16698 (gst_base_transform_class_init), (gst_base_transform_init),
16699 (gst_base_transform_sink_event),
16700 (gst_base_transform_sink_eventfunc),
16701 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16702 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16703 (gst_base_transform_set_property),
16704 (gst_base_transform_get_property),
16705 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16706 (gst_base_transform_set_qos_enabled),
16707 (gst_base_transform_is_qos_enabled):
16708 * libs/gst/base/gstbasetransform.h:
16709 Make basetransform virtual method for src events too.
16710 Handle QOS in basetransform.
16711 API: gst_base_transform_update_qos()
16712 API: gst_base_transform_set_qos_enabled()
16713 API: gst_base_transform_is_qos_enabled()
16715 2006-03-13 Wim Taymans <wim@fluendo.com>
16717 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16718 (gst_base_sink_do_sync):
16720 Use QOS debug category.
16722 2006-03-13 Wim Taymans <wim@fluendo.com>
16724 * plugins/elements/gstqueue.c:
16725 Very small doc update.
16727 2006-03-13 Wim Taymans <wim@fluendo.com>
16729 * gst/gst_private.h:
16730 * gst/gstinfo.c: (_gst_debug_init):
16731 Added QOS debug category
16733 2006-03-13 Wim Taymans <wim@fluendo.com>
16735 * docs/gst/gstreamer-sections.txt:
16736 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16738 * gst/gstbus.c: (gst_bus_class_init):
16741 * gst/gstelement.c: (gst_element_set_locked_state):
16742 * gst/gstsegment.c:
16743 Documentation updates.
16745 * gst/gstpipeline.c: (gst_pipeline_get_type),
16746 (gst_pipeline_class_init), (gst_pipeline_init),
16747 (gst_pipeline_dispose), (gst_pipeline_set_property),
16748 (gst_pipeline_get_property), (do_pipeline_seek),
16749 (gst_pipeline_send_event), (gst_pipeline_change_state),
16750 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16751 (gst_pipeline_get_delay):
16752 * gst/gstpipeline.h:
16753 Added methods for setting the delay.
16754 API: gst_pipeline_set_delay()
16755 API: gst_pipeline_get_delay()
16756 Add pipeline debug category
16759 Don't reset stream time when seek failed.
16761 2006-03-13 Wim Taymans <wim@fluendo.com>
16763 * docs/design/draft-klass.txt:
16764 * docs/design/part-clocks.txt:
16765 * docs/design/part-events.txt:
16766 * docs/design/part-gstbin.txt:
16767 * docs/design/part-gstpipeline.txt:
16768 * docs/design/part-messages.txt:
16769 * docs/design/part-negotiation.txt:
16770 * docs/design/part-overview.txt:
16771 * docs/design/part-preroll.txt:
16772 * docs/design/part-seeking.txt:
16773 * docs/design/part-states.txt:
16774 * docs/design/part-streams.txt:
16775 Documentation updates.
16777 2006-03-12 Julien MOUTTE <julien@moutte.net>
16779 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16780 us to leak strings...
16782 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16784 * libs/gst/net/gstnettimeprovider.c:
16786 * win32/common/config.h:
16789 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16791 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16794 Don't check for libgnomeui (leftover from old examples
16795 that aren't built or disted any longer) (#334303).
16797 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16799 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16800 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16801 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16802 there's no space left on the device.
16804 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16807 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16808 to cast the input to GstClockTime before comparing with
16809 another GstClockTime value.
16811 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16816 === release 0.10.4 ===
16818 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16821 releasing 0.10.4, "Light"
16823 2006-03-10 Michael Smith <msmith@fluendo.com>
16825 * libs/gst/dataprotocol/dataprotocol.c:
16826 Fix docs for dataprocotol to not get the return types completely
16827 wrong for a few functions.
16829 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16831 * docs/gst/gstreamer-sections.txt:
16832 * gst/gstpipeline.c: (gst_pipeline_class_init),
16833 (gst_pipeline_init), (gst_pipeline_set_property),
16834 (gst_pipeline_get_property), (gst_pipeline_change_state),
16835 (gst_pipeline_set_auto_flush_bus),
16836 (gst_pipeline_get_auto_flush_bus):
16837 * gst/gstpipeline.h:
16838 Add new API: gst_pipeline_set_auto_flush_bus() and
16839 gst_pipeline_get_auto_flush_bus() to disable automatic
16840 flushing of the pipeline's GstBus when going from READY
16841 to NULL state (#332045).
16843 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16845 * docs/gst/gstreamer-sections.txt:
16846 * gst/gsturi.c: (gst_uri_has_protocol):
16848 Add new API: gst_uri_has_protocol() (#333779).
16850 2006-03-09 Wim Taymans <wim@fluendo.com>
16852 * gst/gstclock.c: (gst_clock_entry_new),
16853 (gst_clock_id_compare_func), (gst_clock_id_wait),
16854 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16855 (gst_clock_init), (gst_clock_get_internal_time),
16856 (gst_clock_set_master), (do_linear_regression),
16857 (gst_clock_add_observation), (gst_clock_set_property):
16861 Fix a possible segfault when the window-size is made smaller.
16862 Calculate jitter before performing the clock wait. Ideally
16863 the clock implementation should calculate jitter but we need
16864 API breakage for that.
16866 * gst/gstsystemclock.c: (gst_system_clock_init):
16869 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16870 Remove leftover else
16872 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16873 (gst_systemclock_suite):
16874 Added check to test GST_CLOCK_DIFF.
16876 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16878 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16879 (gst_type_find_helper_get_range):
16880 If we are provided with the size, we should implement
16881 GstTypeFind::get_length, so that typefind functions who
16882 want to can actually peek at the middle of a file.
16884 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16886 * docs/manual/advanced-dataaccess.xml:
16887 Add some very very basic error checking.
16889 * docs/pwg/appendix-checklist.xml:
16890 Some updates to the list of things to check when writing an element.
16892 2006-03-08 Wim Taymans <wim@fluendo.com>
16894 * docs/design/part-element-transform.txt:
16895 Added some docs about the design of tranform elements.
16897 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16898 (gst_base_src_loop), (gst_base_src_change_state):
16899 Mark buffers with the DISCONT flag.
16901 2006-03-08 Michael Smith <msmith@fluendo.com>
16903 * gst/gstregistry.h:
16904 * gst/gstregistryxml.c: (gst_registry_save),
16905 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16906 (gst_registry_xml_save_pad_template),
16907 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16908 (gst_registry_xml_write_cache):
16909 Rewrite registry-saving to avoid race conditions and check for
16912 2006-03-08 Wim Taymans <wim@fluendo.com>
16914 * libs/gst/base/gstbasetransform.c:
16915 (gst_base_transform_transform_caps),
16916 (gst_base_transform_transform_size),
16917 (gst_base_transform_prepare_output_buffer),
16918 (gst_base_transform_get_unit_size),
16919 (gst_base_transform_buffer_alloc),
16920 (gst_base_transform_handle_buffer),
16921 (gst_base_transform_change_state):
16922 Cleanups, separate normal flow from errors, add sensible
16924 Don't try to renegotiate when allocating an output buffer.
16925 Also copy DISCONT buffer flag when copying a buffer.
16926 Reset the transform after we finish streaming, not during.
16928 2006-03-08 Wim Taymans <wim@fluendo.com>
16930 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16931 Use last buffer timestamp in qos message.
16933 2006-03-07 Wim Taymans <wim@fluendo.com>
16935 Patch by: Christophe Fergeau
16937 * docs/pwg/advanced-tagging.xml:
16938 * docs/pwg/building-pads.xml:
16941 2006-03-07 Wim Taymans <wim@fluendo.com>
16943 * docs/libs/gstreamer-libs-sections.txt:
16944 Added basesink new methods.
16948 Docs updates. Flesh out the QoS docs.
16950 * libs/gst/base/gstadapter.c:
16951 Small doc clarification about ownership and flushing.
16953 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16954 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16955 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16956 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16957 * libs/gst/base/gstbasesink.h:
16959 Added new methods to allow subclass to control max-lateness
16961 Generate very basic QoS events based on last sync observation.
16962 Updated docs, fix typo, added some QoS blurb.
16964 * libs/gst/base/gstbasesrc.c:
16965 Remove obsolete _get_state() calls from docs.
16967 2006-03-07 Wim Taymans <wim@fluendo.com>
16969 * docs/libs/gstreamer-libs-sections.txt:
16970 * libs/gst/base/gstbasetransform.h:
16971 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16972 Fix docs for GstBaseSrc.
16974 2006-03-07 Wim Taymans <wim@fluendo.com>
16976 * docs/gst/gstreamer-sections.txt:
16979 * libs/gst/base/gstbasetransform.h:
16980 Small documentation fixes.
16982 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16985 Document thread-unsafety of gst_value_register_foo_func()
16986 when used at the same time as gst_value_foo() (#322628).
16988 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16990 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16991 (gst_push_src_check_get_range):
16992 Push sources don't support pull mode by default.
16994 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16996 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16997 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16998 (gst_base_src_default_check_get_range):
16999 * libs/gst/base/gstbasesrc.h:
17000 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17001 provide default implementation, and rename
17002 gst_base_src_check_get_range() to
17003 gst_base_src_pad_check_get_range() for clarity.
17005 2006-03-06 Wim Taymans <wim@fluendo.com>
17007 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17008 Make property overridable.
17010 2006-03-06 Wim Taymans <wim@fluendo.com>
17012 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17013 (gst_base_sink_init), (gst_base_sink_set_property),
17014 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17015 * libs/gst/base/gstbasesink.h:
17016 API addition: Make max-lateness a property.
17018 2006-03-06 Wim Taymans <wim@fluendo.com>
17020 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17021 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17022 Don't ever draw a frame that is >10ms late.
17024 2006-03-06 Michael Smith <msmith@fluendo.com>
17026 * gst/gstmessage.c: (_gst_message_copy):
17027 When copying a message, set the parent_refcount of the enclosed
17028 structure to point at the copy, not the original message.
17030 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17032 Patch by: Christophe Fergeau
17035 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17036 usable in c++ code (#333417)
17038 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17041 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17043 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17045 * libs/gst/base/gstbasetransform.c:
17046 (gst_base_transform_transform_caps):
17047 Make sure caps are writable before passing them to
17050 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17053 Fix some minor docs errors.
17055 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17057 Patch by: Ross Burton <ross at burtonini dot com>
17059 * gst/gsterror.c: (_gst_resource_errors_init):
17061 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17063 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17066 Add a check and output a g_warning when GStreamer is built
17067 against GLib 2.6 but running against 2.8 or higher, and vice
17068 versa. (Closes: #323542)
17070 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17072 * gst/parse/parse.l:
17073 Commit patch for parse_launch syntax from #331255. Removes
17074 support for quoted strings and mimetypes when writing filtered
17075 caps. See the bug report for more details - I'm pretty sure this
17076 obscure feature is not in use by _anyone_ anywhere.
17078 With this simple change, the size of the gstreamer.so here
17079 drops from 2193KB to 1565KB.
17081 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17083 * plugins/elements/gsttypefindelement.h:
17084 * plugins/elements/gsttypefindelement.c:
17085 (gst_type_find_element_src_event), (start_typefinding),
17086 (stop_typefinding), (gst_type_find_element_handle_event),
17087 (gst_type_find_element_chain),
17088 (gst_type_find_element_chain_do_typefinding):
17089 Use gst_type_find_helper_for_buffer() for chain-based
17092 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17094 * plugins/elements/gsttypefindelement.c:
17095 (gst_type_find_element_class_init),
17096 (gst_type_find_element_set_property),
17097 (gst_type_find_element_get_property):
17098 Deprecate "maximum" property (not only was it only taken into
17099 account for typefinding in push-mode anyway, it also was never
17100 actually possible to set it in the first place because the
17101 property was registered with the numeric property ID for the
17102 "minimum" property). Register "maximum" property correctly,
17103 for the sake of future copy'n'pasters. Remove some cruft
17104 from property get/set functions.
17106 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17108 * plugins/elements/gsttypefindelement.c:
17109 (gst_type_find_element_activate):
17110 Use gst_type_find_helper_get_range() here, so we
17111 can honour the "minimum" property and also emit
17112 the signal with the correct probability of the found caps.
17114 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17116 * docs/libs/gstreamer-libs-sections.txt:
17117 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17118 (helper_find_suggest), (gst_type_find_helper_get_range),
17119 (gst_type_find_helper):
17120 * libs/gst/base/gsttypefindhelper.h:
17121 New API: gst_type_find_helper_get_range() (#333042).
17123 2006-03-02 Michael Smith <msmith@fluendo.com>
17125 * gst/gstregistryxml.c: (load_feature):
17126 Asserting on a failure to read part of the registry is Not Cool.
17127 Just log a warning and return NULL (which is already handled)
17129 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17131 * win32/common/libgstbase.def:
17132 added export of gst_type_find_helper_for_buffer
17133 * win32/common/libgstbase.def:
17134 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17135 gst_ghost_pad_get_target
17137 2006-02-28 Wim Taymans <wim@fluendo.com>
17139 * docs/design/draft-klass.txt:
17141 Added Connector to mark elements that are only used to
17142 allow pipeline connections.
17143 Moved Debug to extra feature since most of them are
17144 functionally something else.
17146 2006-02-28 Wim Taymans <wim@fluendo.com>
17148 * docs/design/draft-klass.txt:
17149 Some updates and clarifications.
17151 2006-02-28 Wim Taymans <wim@fluendo.com>
17153 * docs/design/draft-klass.txt:
17154 Proposal for klass field values.
17156 * docs/design/part-streams.txt:
17157 Start of a doc describing stream anatomy.
17159 2006-02-28 Wim Taymans <wim@fluendo.com>
17161 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17162 Help the compiler a bit with type registration.
17163 Use existing forward cod path instead of duplicating it when
17164 handling a message.
17166 * gst/gstbus.c: (gst_bus_get_type):
17167 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17168 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17169 * gst/gstclock.c: (gst_clock_get_type):
17170 * gst/gstelement.c: (gst_element_get_type),
17171 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17172 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17173 * gst/gstminiobject.c: (gst_mini_object_get_type):
17174 * gst/gstpad.c: (gst_pad_get_type):
17175 * gst/gstsegment.c: (gst_segment_get_type):
17176 * gst/gststructure.c: (gst_structure_get_type):
17177 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17178 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17180 Help compiler with type registration.
17182 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17185 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17187 * plugins/elements/gsttypefindelement.c:
17188 (gst_type_find_element_handle_event):
17189 When we get an EOS event and have not found a type yet
17190 (most likely because we had not yet accumulated
17191 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17192 type given the data we have so far. Fixes typefinding
17193 for very short streams again, most notably quicktime
17194 redirections as used on Apple's trailer site (#331701).
17196 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17198 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17199 (gst_type_find_helper):
17200 Try typefinding factories with the highest rank first.
17202 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17204 * docs/libs/gstreamer-libs-docs.sgml:
17205 * docs/libs/gstreamer-libs-sections.txt:
17206 * libs/gst/base/gsttypefindhelper.c:
17207 Add section for typefind helper and add documentation
17208 for the old and the new function.
17210 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17212 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17213 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17214 (gst_type_find_helper_for_buffer):
17215 * libs/gst/base/gsttypefindhelper.h:
17216 New API: gst_type_find_helper_for_buffer() (#332723).
17218 2006-02-27 Michael Smith <msmith@fluendo.com>
17220 Patch by: Loïc Minier
17223 * docs/Makefile.am:
17224 * docs/slides/Makefile.am:
17225 prevent CVS directories getting disted.
17227 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17229 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17230 Use the REFCOUNTING category for caps refcounting.
17232 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17234 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17235 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17237 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17239 * plugins/elements/gsttypefindelement.c:
17240 (gst_type_find_element_activate):
17241 Use gst_pad_check_pull_range() before _activate_pull()
17242 to avoid unnecessary open/close (see #331690).
17244 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17247 Docs enhancement: make it crystal clear what the
17248 gst_pad_add_*_probe() callbacks should look like.
17250 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17252 * libs/gst/base/gstbasesrc.c:
17253 Document how applications can stop recording from
17254 live sources (see #330996).
17256 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17258 * tests/check/Makefile.am:
17259 * tests/check/libs/basesrc.c: (eos_event_counter),
17260 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17261 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17262 (gst_basesrc_suite), (main):
17263 ... and add some tests for the base source EOS stuff.
17265 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17267 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17268 Test case originally showed the problem fixed below,
17269 but was then amended. Add checks back at the place
17270 where they used to be.
17272 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17274 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17275 (gst_base_src_init), (gst_base_src_loop),
17276 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17277 (gst_base_src_change_state):
17278 * libs/gst/base/gstbasesrc.h:
17279 Don't unconditionally send EOS when going from PAUSED to
17280 READY state, esp. make sure we don't send two EOS events
17281 in some cases (e.g. one when reaching EOS and one when
17282 going from PAUSED to READY). Also, we don't want to send
17283 EOS events when operating in pull mode. However, we do
17284 want to send an EOS event when shutting down a live
17285 source explicitly, for example (fixes #330996).
17287 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17289 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17290 Update src->read_position after a seek when not using mmap.
17291 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17293 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17299 Make things work with --disable-parse as they do with
17300 --disable-load-save - the symbols involved disappear, but the
17301 header is still installed and GST_DISABLE_PARSE is included via
17304 2006-02-20 Julien MOUTTE <julien@moutte.net>
17306 * libs/gst/base/gstbasetransform.c:
17307 (gst_base_transform_change_state): Fix a stupid bug. I was
17308 sure I compiled that.
17310 2006-02-20 Julien MOUTTE <julien@moutte.net>
17312 * gst/gstpad.c: (gst_pad_set_blocked_async):
17313 * gst/gstutils.c: (gst_pad_add_data_probe),
17314 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17315 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17316 (gst_pad_remove_buffer_probe): Make those function act on the
17317 ghostpad target when it's a ghostpad. (Closes #331727)
17319 2006-02-20 Julien MOUTTE <julien@moutte.net>
17321 * libs/gst/base/gstbasetransform.c:
17322 (gst_base_transform_change_state): Make basetransform reusable.
17325 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17327 * docs/random/release:
17328 Move the current documentation of how to do a release to the top
17331 * gst/gstbin.c: (gst_bin_class_init),
17332 (gst_bin_handle_message_func):
17333 Allow multiple state-recalculation threads. (Closes #328873)
17335 2006-02-19 Julien MOUTTE <julien@moutte.net>
17337 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17338 * gst/gstpad.c: (gst_pad_set_event_function),
17339 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17340 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17341 2 strings. You can't use the STR_NULL macro on that.
17343 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17345 * gst/gstpad.c: (gst_pad_set_event_function),
17346 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17347 (gst_pad_set_getcaps_function)
17348 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17349 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17350 So now, we can use --gst-debug-level=5 on Windows
17351 * win32/common/libgstcontroller.def:
17352 Added export of gst_controller_init
17353 * win32/vs6/libgstcontroller.dsp:
17354 Fixed Release post build configuration
17356 2006-02-17 Wim Taymans <wim@fluendo.com>
17358 * tests/check/gst/gstquery.c: (GST_START_TEST):
17359 Added another check.
17361 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17363 * plugins/elements/gsttypefindelement.c: (find_peek):
17364 We can do peeks at non-zero offsets, as long as they
17365 fall within the buffer we have.
17367 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17369 * tests/check/Makefile.am:
17370 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17371 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17372 (parse_suite), (main):
17373 Add testsuite for parse launch syntax
17375 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17377 * plugins/elements/gsttypefindelement.c:
17378 (gst_type_find_element_chain):
17379 When typefinding is unsuccessful in the chain function, don't
17380 error out immediately. Only error out with NO_CAPS_FOUND if
17381 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17382 otherwise simply wait for more data so we can try typefinding
17383 again with more data later. Also, don't attempt to typefind
17384 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17385 this should improve typefinding from network sources where the
17386 size of the first buffer can be somewhat random.
17388 2006-02-14 Wim Taymans <wim@fluendo.com>
17390 * docs/gst/gstreamer-sections.txt:
17391 * gst/gstpadtemplate.c:
17392 * gst/gstpadtemplate.h:
17393 Fix padtemplate docs, fixes #328805.
17395 2006-02-14 Wim Taymans <wim@fluendo.com>
17397 * tools/gst-launch.c: (main):
17398 NO_PREROLL is not an ERROR so don't send confusing messages
17401 2006-02-14 Wim Taymans <wim@fluendo.com>
17403 Patch by: Torsten Schoenfeld
17405 * gst/gstregistry.c: (gst_registry_get_default),
17406 (_gst_registry_cleanup):
17407 Protect default registry with lock and ref/sink it.
17410 2006-02-14 Wim Taymans <wim@fluendo.com>
17413 * gst/gstquery.c: (gst_query_list_add_format),
17414 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17415 (gst_query_parse_formats_nth):
17416 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17419 2006-02-14 Wim Taymans <wim@fluendo.com>
17421 * docs/gst/gstreamer-sections.txt:
17422 Reworked query docs.
17424 * gst/gstquery.c: (gst_query_new_formats),
17425 (gst_query_list_add_format), (gst_query_set_formats),
17426 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17427 (gst_query_parse_formats_nth):
17429 Flesh out formats query, added some new methods.
17430 Fix part of #324398.
17432 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17433 Added query creation tests.
17435 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17437 * gst/gstpad.c: (fixate_value):
17438 Add a default fixation for fraction lists.
17440 2006-02-13 Wim Taymans <wim@fluendo.com>
17442 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17443 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17446 Detect and warn for obvious deadlocks. fixes #320340
17447 Fix error case where lock was not released.
17449 * tests/check/Makefile.am:
17450 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17451 (task_func), (gst_element_suite), (main):
17454 2006-02-13 Wim Taymans <wim@fluendo.com>
17456 * docs/gst/gstreamer-sections.txt:
17458 Add new functions to docs.
17460 2006-02-13 Wim Taymans <wim@fluendo.com>
17462 * docs/design/part-TODO.txt:
17463 Updated TODO list, basesrc supports seeking to non-bytes
17466 * docs/design/part-element-sink.txt:
17469 * gst/gstbin.c: (bin_replace_message),
17470 (gst_bin_handle_message_func):
17471 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17472 * gst/gstevent.c: (gst_event_finalize):
17473 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17474 (gst_pad_send_event):
17475 Use shiny new _TYPE_NAME macros.
17477 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17478 Move debug statement up.
17480 * gst/gstelement.c: (gst_element_set_locked_state):
17481 Add some debugging.
17483 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17485 * docs/gst/gstreamer-sections.txt:
17486 * gst/gstmessage.h:
17488 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17489 macros (#330906). Also, document the already existing
17490 GST_QUERY_TYPE macro.
17492 2006-02-13 Wim Taymans <wim@fluendo.com>
17494 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17495 (event_probe), (GST_START_TEST):
17496 Only events up to the pipeline EOS are counted, there are
17497 some more when going to NULL currently which we don't care
17500 2006-02-13 Wim Taymans <wim@fluendo.com>
17502 * gst/gstpad.c: (gst_pad_send_event):
17503 Correctly check flushing and emit probes. fixes #330125
17505 2006-02-10 Andy Wingo <wingo@pobox.com>
17507 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17509 (gst_bus_init): Cache the location of the private data in the
17510 instance structure.
17511 (gst_bus_enable_sync_message_emission)
17512 (gst_bus_disable_sync_message_emission): Implement new public
17514 (gst_bus_post): Emit the sync-message signal if the user asked for
17517 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17518 location of the bus-private structure.
17519 (gst_bus_enable_sync_message_emission)
17520 (gst_bus_disable_sync_message_emission): API addition
17522 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17524 Patch by: Vincent Torri
17526 * docs/pwg/building-boiler.xml:
17527 PWG patch from #326800
17529 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17532 * docs/Makefile.am:
17533 * docs/design/Makefile.am:
17536 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17541 === release 0.10.3 ===
17543 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17546 releasing 0.10.3, "Like a virgin"
17548 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17551 2nd prerelease of 0.10.3
17552 Bump libtool versioning.
17554 2006-02-07 Andy Wingo <wingo@pobox.com>
17556 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17557 update last_stop if we're in TIME format and the timestamp is
17560 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17561 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17562 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17563 If we get a new newsegment with a different format, adapt
17566 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17567 of 0. Not a problem, really.
17569 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17572 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17577 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17580 project files updated to the default vs7 configuration
17581 * win32/common/libgstbase.def:
17582 * win32/common/libgstreamer.def:
17584 removed empty lines,
17585 sorted all exported symbols alphabetically
17586 * win32/common/dirent.c:
17587 * win32/common/dirent.h:
17588 * win32/common/gchar.h:
17589 use windows line end.
17591 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17593 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17594 Send EOS event when stopping.
17596 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17599 Tell folks what to do if the plugin-foobar.xml file
17600 hasn't been generated for a newly-added plugin.
17602 2006-02-05 Julien MOUTTE <julien@moutte.net>
17604 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17605 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17606 (gst_collect_pads_start), (gst_collect_pads_stop),
17607 (gst_collect_pads_event): Collectpads now holds a reference
17608 to the GstPad that was added. Indeed we don't want to look
17609 at pads that might just go away with no warning...
17611 2006-02-05 Julien MOUTTE <julien@moutte.net>
17613 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17614 (gst_collect_pads_start), (gst_collect_pads_stop),
17615 (gst_collect_pads_event), (gst_collect_pads_chain):
17616 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17617 Mark Nauwelaerts's patch on bug #328491.
17619 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17621 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17623 Add some simple tests for gst_parse_bin_from_description() and
17624 gst_bin_find_unconnected_pad() (#329069).
17626 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17628 * tools/gst-launch.c: (event_loop), (main):
17629 Catch errors during preroll (#320084).
17631 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17633 * plugins/elements/gsttypefindelement.c:
17634 (gst_type_find_element_activate):
17635 Post TYPE_NOT_FOUND error message when typefinding
17636 is unsuccessful in the activate function as well.
17638 2006-02-02 Wim Taymans <wim@fluendo.com>
17640 * docs/design/part-element-sink.txt:
17643 2006-02-02 Wim Taymans <wim@fluendo.com>
17645 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17646 (gst_base_sink_render_object),
17647 (gst_base_sink_queue_object_unlocked):
17648 Only keep track of prerollable items when we are
17650 Before rendering after preroll, always check if we
17652 Added some more debugging.
17654 2006-02-02 Wim Taymans <wim@fluendo.com>
17656 * gst/gstelement.c: (gst_element_continue_state),
17657 (gst_element_set_state_func), (gst_element_change_state):
17658 Fixed #326576, been running this for quite some time with
17659 no regressions at all.
17661 2006-02-02 Wim Taymans <wim@fluendo.com>
17664 Added more suppressions
17666 2006-02-02 Wim Taymans <wim@fluendo.com>
17668 * docs/design/part-element-sink.txt:
17671 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17672 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17673 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17674 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17675 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17676 (gst_base_sink_preroll_object),
17677 (gst_base_sink_queue_object_unlocked),
17678 (gst_base_sink_queue_object), (gst_base_sink_event),
17679 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17680 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17681 (gst_base_sink_get_position), (gst_base_sink_change_state):
17682 * libs/gst/base/gstbasesink.h:
17683 Totally refactored matching the design doc.
17684 Use two segments, one to clip incomming buffers and another to
17686 Handle queueing correctly, bypass the queue when playing.
17687 Make EOS cancelable.
17688 Handle errors correctly when operating in pull based mode.
17690 * tests/check/elements/fakesink.c: (GST_START_TEST),
17692 Added new check for sinks.
17694 2006-02-02 Wim Taymans <wim@fluendo.com>
17696 * gst/gstsegment.c: (gst_segment_clip):
17697 No reason to refuse to clip when start == -1
17699 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17702 * docs/manual/intro-basics.xml:
17703 * docs/manual/intro-preface.xml:
17704 * docs/manual/manual.xml:
17705 * docs/pwg/advanced-dparams.xml:
17706 * docs/pwg/intro-basics.xml:
17707 * docs/pwg/intro-preface.xml:
17708 * docs/pwg/pwg.xml:
17709 describe dparams (controller) for plugins
17710 unify docs a little more
17712 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17714 * docs/gst/gstreamer-sections.txt:
17715 * gst/gstutils.c: (element_find_unconnected_pad),
17716 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17718 Add new API: gst_parse_bin_from_description() and
17719 gst_bin_find_unconnected_pad() (#329069).
17721 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17723 * docs/manual/README:
17724 uncover a nasty detail of the docs build
17726 2006-01-31 Wim Taymans <wim@fluendo.com>
17728 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17729 Don't cache duration messages if we're not going to use or
17732 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17734 * docs/manual/advanced-dparams.xml:
17735 * docs/pwg/advanced-dparams.xml:
17739 * libs/gst/controller/lib.c: (gst_controller_init):
17742 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17744 * gst/gstelement.c: (gst_element_message_full):
17745 also show file/line/func if no additional debug was given
17747 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17749 * win32/vs7/grammar.vcproj:
17750 activate copy of autogenerated files for Release mode
17752 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17754 * win32/common/libgstreamer.def:
17755 export gst_value_compare
17757 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17759 * plugins/elements/Makefile.am:
17760 * plugins/elements/gstelements.c:
17761 * plugins/elements/gstfdsink.c: (_do_init),
17762 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17763 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17764 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17765 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17766 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17767 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17768 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17769 * plugins/elements/gstfdsink.h:
17770 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17772 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17774 * docs/manual/advanced-dparams.xml:
17775 describe controller
17776 * docs/manual/advanced-position.xml:
17777 * docs/manual/basics-init.xml:
17778 * docs/manual/manual.xml:
17779 * docs/manual/titlepage.xml:
17780 * docs/pwg/pwg.xml:
17781 * docs/pwg/titlepage.xml:
17782 cleanup xml (more to come)
17783 * libs/gst/controller/gstcontroller.c:
17786 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17788 * win32/vs6/grammar.dsp:
17789 add autogen of gstmarshal.c,h for Release mode
17791 2006-01-30 Wim Taymans <wim@fluendo.com>
17793 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17794 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17795 (gst_base_sink_handle_object), (gst_base_sink_event),
17796 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17797 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17798 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17799 (gst_base_sink_deactivate), (gst_base_sink_activate),
17800 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17801 (gst_base_sink_query), (gst_base_sink_change_state):
17802 Basesink cleanups, remove some old code.
17803 Handle the case where a subclass can preroll in the render
17804 method (mostly audiosinks).
17805 Handle more events.
17806 Remove some locks around variables that are now protected
17807 with the PREROLL_LOCK (clock_id, flushing, ..).
17808 Optimize position query some more, do correct locking.
17809 Remove old code to push queue in state change, this is not
17810 needed anymore since preroll blocks on all prerollable items
17812 Almost implemented as described in design doc.
17814 2006-01-30 Wim Taymans <wim@fluendo.com>
17816 * tests/check/gst/gstbin.c: (GST_START_TEST):
17817 Wait for refcount to settle down before checking.
17819 2006-01-30 Wim Taymans <wim@fluendo.com>
17821 * docs/design/part-element-sink.txt:
17822 Pseudo code overview of desired sink behaviour regarding
17825 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17826 * win32/vs6/grammar.dsp:
17827 fix some bugs in Release mode for autogenerated files
17829 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17830 * win32/common/libgstbase.def:
17831 * win32/common/libgstreamer.def:
17832 export some new symbols: gst_base_src_set_format,
17833 gst_iterator_next, gst_structure_set_valist
17835 2006-01-29 Julien MOUTTE <julien@moutte.net>
17837 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17838 Set pad functions unconditionally. Fixes #329105.
17840 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17842 add vs8 project files created by Sergey Scobich
17844 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17846 * gst/gstutils.c: (gst_element_unlink_pads):
17847 Don't leak pad references.
17849 * tests/check/elements/fakesink.c: (GST_START_TEST):
17850 * tests/check/generic/sinks.c: (GST_START_TEST):
17851 * tests/check/generic/states.c: (GST_START_TEST):
17852 * tests/check/gst/gstbin.c: (GST_START_TEST):
17853 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17854 * tests/check/gst/gstelement.c: (GST_START_TEST):
17855 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17856 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17857 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17858 Fix a bunch of leaks. Make generic/sinks.c
17859 use a bit less cpu by slowing the buffer rate
17860 between fakesrc and fakesink.
17862 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17864 * gst/gstelement.c: (gst_element_send_event):
17867 * gst/gstiterator.c:
17868 * gst/gstiterator.h:
17869 * gst/gstpad.c: (gst_pad_send_event):
17870 * gst/gststructure.c:
17874 * libs/gst/base/gstadapter.c:
17875 doc fixes, to link to function, just write gst_cool_function(), don't
17878 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17880 * plugins/elements/gsttee.c: (gst_tee_do_push),
17881 (gst_tee_handle_buffer):
17882 Always prefer an actual return value from a src
17883 pad in place of NOT_LINKED. This means we return
17884 WRONG_STATE when all src pads are WRONG_STATE
17885 instead of NOT_LINKED.
17887 Lock when replacing the last message to prevent
17888 racing with the get_property method.
17892 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17894 * tests/check/Makefile.am:
17895 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17897 Add a very simple check that should have caught the memleak I fixed
17898 last night (if not for the slice allocator hiding it)
17900 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17902 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17903 (gst_bin_remove_func), (gst_bin_handle_message_func),
17904 (bin_query_duration_fold), (bin_query_generic_fold):
17905 Clean up references to the clock provider when disposed or when
17906 handling a clock-lost message from it.
17908 Unref sinks when performing a query via gst_iterator_fold, as the
17909 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17911 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17912 (gst_clock_set_master):
17913 Drop our reference to the master clock, if any, when we are disposed.
17915 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17916 Chain up in dispose.
17918 2006-01-26 Wim Taymans <wim@fluendo.com>
17920 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17921 Add some debugging.
17923 2006-01-26 Julien MOUTTE <julien@moutte.net>
17925 * plugins/elements/gsttee.c: (gst_tee_do_push),
17926 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17927 handles pad being NOT_LINKED or in WRONG_STATE.
17929 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17934 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17937 remove obsolete entry
17939 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17941 * docs/gst/gstreamer-sections.txt:
17942 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17943 (gst_bin_iterate_sources), (gst_bin_send_event):
17945 * gst/gstelement.c: (gst_element_send_event):
17947 * gst/gstpad.c: (gst_pad_send_event):
17948 added code for downstream events, reviewed docs in gstevent.c
17950 2006-01-25 Julien MOUTTE <julien@moutte.net>
17952 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17953 We only query position using the clock in the playing state.
17954 Query peer in the other cases.
17955 * win32/common/config.h: Updates.
17957 2006-01-24 Wim Taymans <wim@fluendo.com>
17959 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17960 A clock entry that is scheduled for the exact time of the
17961 clock is still in time.
17963 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17964 (gst_base_sink_do_sync):
17965 Add some more debug info.
17967 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17970 Add new vs7 project files and solution.
17972 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17975 all files removed as they were out-dated.
17977 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17979 * docs/random/release:
17981 * gst/gstbin.c: (gst_bin_init):
17982 * gst/gstbus.c: (gst_bus_new):
17984 * gst/gstpipeline.c: (gst_pipeline_init):
17985 use gst_bus_new(), improve logging, fix docs
17986 * win32/common/config.h:
17987 update for cvs build
17989 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17992 up required version of automake to 1.7
17994 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17996 * win32/common/libgstreamer.def:
17997 export gst_buffer_is_metadata_writable
17999 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18001 * docs/gst/gstreamer-sections.txt:
18003 Add gst_event_replace() (#327001)
18005 2006-01-20 Wim Taymans <wim@fluendo.com>
18007 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18008 Make it actually compile too..
18010 2006-01-20 Wim Taymans <wim@fluendo.com>
18013 Clarify behaviour of _is_equal() when passing NULL parameters.
18015 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18016 (gst_pad_set_caps):
18017 Cleanups. Don't unref NULL caps.
18018 When setting the same caps, protect caps of the pad with
18020 Use full functionality of _is_equal() when comparing caps.
18022 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18024 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18025 Don't loop infinitely if there are no buffers to present. Partially
18026 fixes #327197, but collectpads is just broken for reusing elements
18027 to do multiple encodes atm.
18029 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18031 * tools/gst-inspect.c: (print_element_features):
18032 * tools/gst-xmlinspect.c: (main):
18033 URL_HANDLER is not a plugin feature we can search for in
18036 2006-01-19 Edward Hervey <edward@fluendo.com>
18038 * gst/gstelement.c: (gst_element_pads_activate):
18039 When activating, do src pads first, then sink pads.
18040 When de-activating, do sink pads first, then src pads.
18042 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18044 * docs/gst/gstreamer-sections.txt:
18045 Add gst_index_add_associationv to the docs
18047 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18052 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18053 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18054 Do some refactoring. Doesn't actually change functionality,
18055 but makes landing the DRAIN event easier later.
18057 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18059 * docs/pwg/advanced-scheduling.xml:
18060 Update from 0.9.x to 0.10 API and make example a bit
18063 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18065 * docs/gst/gstreamer-sections.txt:
18066 Add gst_buffer_(is|make)_metadata_writable methods.
18068 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18070 * docs/design/part-sparsestreams.txt:
18071 Update sparse streams doc, hopefully for greater clarity
18073 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18075 * docs/design/part-events.txt:
18076 Remove mention of FILLER events.
18079 * docs/design/part-sparsestreams.txt:
18080 Write some things about using NEWSEGMENT to keep sparse streams
18083 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18085 * gst/gstbin.c: (gst_bin_dispose):
18086 Guard gst_object_unref call against a NULL object (dispose
18087 can theoretically be called multiple times).
18089 2006-01-18 Wim Taymans <wim@fluendo.com>
18091 * gst/gstbin.c: (gst_bin_element_set_state):
18092 * gst/gstclock.c: (gst_clock_id_wait):
18093 Added some more debug info.
18095 * libs/gst/base/gstadapter.c:
18098 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18099 (gst_base_sink_do_sync), (gst_base_sink_chain):
18100 Added some comments.
18102 2006-01-18 Wim Taymans <wim@fluendo.com>
18104 * tests/check/Makefile.am:
18105 * tests/check/elements/fakesink.c: (chain_async_buffer),
18106 (chain_async), (chain_async_return), (GST_START_TEST),
18107 (fakesink_suite), (main):
18108 Added fakesink test that checks prerolling and clipping
18111 * tests/check/gst/gstutils.c: (GST_START_TEST):
18112 Make check run faster so that buildbots don't timeout.
18114 2006-01-18 Wim Taymans <wim@fluendo.com>
18116 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18117 (gst_base_sink_do_sync):
18119 When the sink finishes blocking on the preroll buffer, it can
18120 immediatly render it instead of rendering when the next buffer
18123 2006-01-18 Wim Taymans <wim@fluendo.com>
18125 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18126 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18127 (gst_base_sink_chain):
18129 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18130 Don't store _last_stop if the buffer is dropped.
18132 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18134 * plugins/elements/gsttypefindelement.c:
18135 (gst_type_find_element_class_init):
18136 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18137 object method handler that sets the caps on the pad and we want
18138 that to happen before we emit the signal (fixes e.g. feeding a
18139 plain text file to decodebin).
18141 2006-01-18 Christian Schaller <Christian@fluendo.com>
18143 * gst/gstplugin.c: Add MPL and Proprietary as license options
18145 2006-01-18 Andy Wingo <wingo@pobox.com>
18147 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18148 symbol was exported before, it appears this was just an oversight.
18150 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18152 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18153 prototype to gint. OK since this prototype was not in the header.
18155 2006-01-17 Andy Wingo <wingo@pobox.com>
18157 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18158 registry while we remove plugins.
18160 * tools/gst-inspect.c (print_element_info): Don't unref the
18161 factory arg, that should be the responsibility of whatever code
18162 received the ref. Fixes a double-free when called from
18163 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18164 (main): Unref the factory if we have one.
18165 (print_element_list): No change -- relies on the
18166 plugin_feature_list_free to free the list of features.
18168 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18170 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18171 (gst_buffer_make_metadata_writable):
18173 * libs/gst/base/gstbasetransform.c:
18174 (gst_base_transform_prepare_output_buf):
18175 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18176 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18177 Replace gst_buffer_(make|is)_metadata_writable patch now
18178 that the release is out.
18180 2006-01-17 Andy Wingo <wingo@pobox.com>
18182 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18183 in the present tense without reference to versions.
18185 * gst/gstregistry.c (gst_registry_add_plugin)
18186 (gst_registry_remove_plugin, gst_registry_remove_feature)
18187 (gst_registry_find_feature, gst_registry_get_feature_list)
18188 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18189 (gst_registry_lookup, gst_registry_scan_path)
18190 (_gst_registry_remove_cache_plugins)
18191 (gst_registry_get_feature_list_by_plugin): Add argument
18194 === release 0.10.2 ===
18196 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18199 releasing 0.10.2, "If man is five"
18201 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18205 * libs/gst/base/gstbasetransform.c:
18206 (gst_base_transform_prepare_output_buf):
18207 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18208 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18209 Back out patch until after the release.
18211 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18213 * gst/gstminiobject.c:
18214 Spelling fix in docs.
18215 * ChangeLog - remove conflict indicator
18217 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18219 Reviewed By: Andy Wingo
18221 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18222 (gst_buffer_make_metadata_writable):
18224 Add gst_buffer_(is|make)_metadata_writable as analogues of
18225 gst_buffer_(is|make)_writable.
18227 * libs/gst/base/gstbasetransform.c:
18228 (gst_base_transform_prepare_output_buf):
18229 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18230 Use name gst_buffer_(is|make)_metadata_writable functions.
18232 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18233 Test gst_buffer_(is|make)_metadata_writable
18237 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18239 * docs/manual/Makefile.am:
18240 don't do parallel make
18243 * win32/common/config.h.in:
18244 add generations for HOST_CPU and GST_MAJORMINOR
18245 * win32/common/config.h:
18246 commit generated result
18248 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18250 * docs/manual/appendix-integration.xml:
18251 Update GNOME integration section to use gst_init_get_option_group()
18252 instead of the old popt stuff (#322911). Also, GNOME applications
18253 should now use gconf*sink and gconf*src instead of the old gconf
18256 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18259 * docs/gst/gstreamer-docs.sgml:
18260 * docs/gst/gstreamer-sections.txt:
18261 * docs/libs/gstreamer-libs-sections.txt:
18262 add new API entries to the docs
18263 * libs/gst/controller/Makefile.am:
18264 * libs/gst/controller/gstcontroller.c:
18265 * libs/gst/controller/gstcontroller.h:
18266 * libs/gst/controller/gstcontrollerprivate.h:
18267 * libs/gst/controller/gsthelper.c:
18268 * libs/gst/controller/gstinterpolation.c:
18269 move private structs to private header
18271 gstreamer-0.7 -> gstreamer-0.10
18272 * tests/check/libs/struct_i386.h:
18273 remove private structs
18275 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18277 * plugins/indexers/Makefile.am:
18278 Fixes as part of #317048
18280 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18282 * plugins/indexers/Makefile.am:
18283 fix #316086 - compilation when mmap is missing
18285 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18287 * libs/gst/base/gstbasesink.c:
18288 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18289 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18290 * win32/common/config.h:
18291 added some defines GST_MAJORMINOR and HOST_CPU
18292 * win32/common/libgstbase.def:
18293 * win32/common/libgstreamer.def:
18294 added some exported functions.
18296 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18298 * libs/gst/controller/gstcontroller.c:
18299 (gst_controlled_property_set_interpolation_mode),
18300 (gst_controlled_property_new):
18301 * libs/gst/controller/gstcontroller.h:
18302 * libs/gst/controller/gstinterpolation.c:
18303 (interpolate_none_get_string_value_array):
18304 make G_TYPE_STRING controlable
18306 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18309 * tools/gst-feedback.1.in:
18310 * tools/gst-inspect.1.in:
18311 * tools/gst-launch.1.in:
18312 * tools/gst-md5sum.1.in:
18313 * tools/gst-typefind.1.in:
18314 * tools/gst-xmlinspect.1.in:
18315 * tools/gst-xmllaunch.1.in:
18316 cleanup man-pages, remove reference to gst-register, document env-vars
18318 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18320 * gst/gstbuffer.c: (gst_buffer_span):
18321 gst_buffer_span should copy the timestamp of the first buffer
18322 if they were both originally overlapping subbuffers of the
18323 same parent, using the same logic as the 'slow copy' case.
18325 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18328 Need to awaken ALL the pads when we pop a buffer, otherwise
18329 collectpads only works when there is 2 input streams.
18331 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18333 * docs/random/ensonic/media-device-daemon.txt:
18336 fix doc example, add clarification
18337 * tools/gst-launch.1.in:
18338 add initial info about GST_PLUGIN_PATH, needs more work
18340 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18342 * docs/manual/basics-bins.xml:
18343 * docs/manual/basics-elements.xml:
18344 * docs/manual/intro-basics.xml:
18345 Some more minor docs additions and updates.
18347 2006-01-11 Wim Taymans <wim@fluendo.com>
18349 * docs/manual/basics-bins.xml:
18350 * docs/manual/basics-elements.xml:
18351 Some small fixes as pointed out by Ser-ver on IRC.
18353 2006-01-10 Edward Hervey <edward@fluendo.com>
18355 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18356 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18357 the single-segment mode.
18359 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18361 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18363 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18364 (gst_base_src_perform_seek), (gst_base_src_send_event),
18365 (gst_base_src_set_property), (gst_base_src_get_property),
18366 (gst_base_src_loop), (gst_base_src_start),
18367 (gst_base_src_activate_push):
18368 * libs/gst/base/gstbasesrc.h:
18369 Name (private) union; makes Sun's Forte compiler happy (#324900).
18371 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18374 gst-register is gone.
18376 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18378 * gst/gstvalue.c: (_gst_value_initialize):
18379 make the G_TYPE_DATE instantiation work if debug is disabled
18381 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18383 * gst/gstmessage.c: (gst_message_parse_tag),
18384 (gst_message_parse_error), (gst_message_parse_warning):
18385 Don't crash when return location for error/warning debug
18386 string is NULL; add fact that return locations can be
18387 NULL to docs where appropriate.
18389 2006-01-05 Wim Taymans <wim@fluendo.com>
18391 * gst/gstplugin.c: (gst_plugin_load_file):
18392 Replace strdup by g_strdup.
18394 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18396 * docs/pwg/advanced-types.xml:
18399 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18401 submitted by: Abel Cheung
18405 Added Chinese (traditional) translation
18407 2006-01-04 Wim Taymans <wim@fluendo.com>
18409 * docs/manual/basics-pads.xml:
18410 * docs/plugins/Makefile.am:
18411 * docs/plugins/gstreamer-plugins-docs.sgml:
18412 * docs/plugins/gstreamer-plugins-sections.txt:
18413 * docs/pwg/advanced-clock.xml:
18414 * docs/pwg/advanced-scheduling.xml:
18415 * docs/pwg/advanced-types.xml:
18416 * plugins/elements/gstfdsink.c:
18417 * plugins/elements/gstfdsrc.c:
18418 * plugins/elements/gstfdsrc.h:
18419 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18420 * plugins/elements/gstidentity.h:
18421 * plugins/elements/gstqueue.h:
18422 * plugins/elements/gsttee.c:
18423 * plugins/elements/gsttee.h:
18424 * plugins/elements/gsttypefindelement.c:
18425 (gst_type_find_element_class_init):
18426 * plugins/elements/gsttypefindelement.h:
18427 Small updates to various docs.
18428 Added core plugins to docs.
18430 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18433 add a suppression for liboil's uninitialized variable
18435 2006-01-02 James Livingston <jrl at ids dot org dot au>
18437 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18440 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18441 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18442 compiler switch is being used (#325429).
18444 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18446 * gst/gstbin.c: (gst_bin_query):
18447 Disable duration query caching in bins until it gets
18448 fixed (see #324807).
18450 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18452 * tools/gst-inspect.c: (print_element_properties_info):
18453 Handle properties of POINTER and BOXED type.
18455 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18457 * gst/gst.c: (init_post):
18458 Init tags stuff and some other things before loading
18459 any static plugins (there may be other static plugins
18460 than just the GStreamer ones, and they may want to
18461 register their own tags or formats or whatever, and
18462 preferably without segfaulting).
18464 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18465 Print at least a warning in the debug logs if we drop a
18466 query just because we don't know how to adjust the value
18467 in the particular format.
18469 2005-12-24 David Schleef <ds@schleef.org>
18471 * tools/gstreamer-completion:
18472 Replacement for gst-complete written in sh and sed. Only
18473 completes names of features, but that's 90% of what I want
18474 it for. Properties are not available in registry.xml. (Maybe
18477 === release 0.10.1 ===
18479 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18482 releasing 0.10.1, "Nollaig chridheil"
18484 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18486 * docs/faq/cvs.xml:
18487 Add missing quote, should be make ERROR_CFLAGS="".
18489 2005-12-20 Wim Taymans <wim@fluendo.com>
18491 * docs/design/part-trickmodes.txt:
18492 More documentation on trickmodes.
18494 2005-12-20 Edward Hervey <edward@fluendo.com>
18496 * gst/gstcaps.c: (gst_static_caps_get_type):
18498 API addition: GST_TYPE_STATIC_CAPS
18499 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18500 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18501 * gst/gstpadtemplate.h:
18502 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18503 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18506 2005-12-18 Wim Taymans <wim@fluendo.com>
18508 * libs/gst/base/gstadapter.c:
18509 * libs/gst/base/gstadapter.h:
18510 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18511 (gst_base_sink_get_position):
18512 * libs/gst/base/gstbasesink.h:
18513 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18514 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18515 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18516 (gst_base_src_send_event), (gst_base_src_update_length),
18517 (gst_base_src_get_range), (gst_base_src_loop),
18518 (gst_base_src_start):
18519 * libs/gst/base/gstbasesrc.h:
18520 * libs/gst/base/gstbasetransform.h:
18521 * libs/gst/base/gstcollectpads.h:
18522 * libs/gst/base/gstpushsrc.c:
18523 * libs/gst/base/gstpushsrc.h:
18524 * libs/gst/dataprotocol/dataprotocol.c:
18525 * libs/gst/dataprotocol/dataprotocol.h:
18526 * libs/gst/net/gstnetclientclock.h:
18527 * libs/gst/net/gstnettimeprovider.h:
18528 Documentation updates.
18530 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18532 * docs/manual/basics-helloworld.xml:
18533 Remove superfluous closing bracket in helloworld example.
18535 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18537 * tools/gst-launch.1.in:
18538 Update gst-launch man page; add a section with useful
18539 environment variables. Fixes #323882.
18541 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18544 * gst/gst_private.h:
18545 change some char* into char[]
18547 2005-12-16 Wim Taymans <wim@fluendo.com>
18549 * gst/gstregistryxml.c: (load_feature):
18551 Don't use g_object_unref on GstObjects so that we avoid
18552 leaks on unsafe glibs.
18554 2005-12-16 Wim Taymans <wim@fluendo.com>
18556 * gst/gstbin.c: (gst_bin_recalc_state):
18559 2005-12-16 Wim Taymans <wim@fluendo.com>
18561 * common/check.mak:
18562 Added make forever target for check.
18564 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18566 * gst/gst.c: (init_post):
18567 make the registry cache file HOST_CPU-dependent
18569 2005-12-16 Andy Wingo <wingo@pobox.com>
18571 * plugins/elements/gstbufferstore.c
18572 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18575 * tests/check/gst/gstobject.c
18576 (test_fake_object_name_threaded_unique): Pay attention to
18577 g_list_sort return value.
18579 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18581 * tools/gst-feedback-m.m:
18582 Update for 0.9/0.10 (fixes #323870).
18584 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18586 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18587 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18589 * tests/check/gst/gstminiobject.c: (my_foo_init),
18590 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18591 (test_value_collection), (gst_mini_object_suite):
18592 Add test to ensure refcounts end up as expected when passing
18593 GstMiniObjects through g_object_get() and g_object_set().
18595 2005-12-14 Julien MOUTTE <julien@moutte.net>
18597 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18598 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18599 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18600 of collectpads. This version removes a lot of races without
18601 touching API/ABI. Yay !
18603 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18605 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18606 Don't allow activation of a srcpad in pull_range if it has no
18608 Change some debug statements to be a little clearer
18610 * plugins/elements/gsttypefindelement.c:
18611 (gst_type_find_handle_src_query):
18612 Check that we have a peer before executing queries thereupon.
18614 * tests/examples/metadata/read-metadata.c: (message_loop):
18615 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18616 immediately return us any available message with 0 timeout.
18618 2005-12-12 Michael Smith <msmith@fluendo.com>
18620 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18621 Don't unref factories after calling them.
18622 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18623 * plugins/elements/gsttypefindelement.c:
18624 (gst_type_find_element_chain):
18625 Free lists of factories after using them. Fixing typefinding memory
18628 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18630 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18631 (gst_plugin_feature_load):
18632 more meaningful debug output
18634 * tests/Makefile.am:
18635 * tests/old/examples/Makefile.am:
18636 make make distcheck happy again
18638 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18640 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18641 Catch the special case where we are operating chain-based,
18642 but the downstream peer pad has no chain function. Emit a
18643 custom error message in this case instead of letting the
18644 core generate one implying that this is some sort of core
18645 bug. It's not, it just means that whatever got plugged
18646 into the pipeline downstream when we announced the type
18647 can only operate pull-based, while our source can only
18648 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18649 Error string has not been marked for translation yet, as
18650 it probably needs some more work first.
18652 (gst_type_find_element_get_best_possibility):
18653 Add helper function to find the best of all available
18654 found possibilities that qualify given the min. threshold.
18656 (gst_type_find_element_handle_event):
18657 Fix the case where we get an EOS while still in TYPEFIND
18658 mode (we want to chose the best of all possible types,
18659 not just the first type that happens to be in our unsorted
18660 list of possible types).
18662 (gst_type_find_element_chain):
18663 Make sure we return GST_FLOW_ERROR when we errored out
18664 in stop_typefinding(); also, don't just find the best of
18665 all found type entries and then use the last examined
18666 type entry, but actually use the best entry.
18668 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18670 * tests/examples/typefind/typefind.c: (type_found):
18671 * tests/examples/xml/runxml.c: (xml_loaded):
18672 More gcc4 fixes and a mem leak fix.
18674 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18676 * tests/examples/xml/createxml.c: (object_saved):
18679 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18681 * tests/Makefile.am:
18682 enable the examples even more
18684 2005-12-12 Andy Wingo <wingo@pobox.com>
18686 * libs/gst/net/gstnettimeprovider.c
18687 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18688 (gst_net_time_provider_set_property)
18689 (gst_net_time_provider_get_property):
18690 API addition: Export "active" as a GObject property.
18691 (gst_net_time_provider_thread): Only respond to time queries if
18692 the time provider is active.
18694 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18695 NetTimeProvider, preserving binary compat.
18697 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18699 * tests/examples/controller/audio-example.c: (main):
18700 * tests/examples/launch/Makefile.am:
18701 convert comments again
18703 2005-12-12 Wim Taymans <wim@fluendo.com>
18705 * libs/gst/base/gstpushsrc.c:
18708 2005-12-12 Wim Taymans <wim@fluendo.com>
18710 * docs/libs/gstreamer-libs-sections.txt:
18711 Added new symbol to docs.
18713 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18714 (gst_base_src_init), (gst_base_src_set_format),
18715 (gst_base_src_default_query), (gst_base_src_query),
18716 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18717 (gst_base_src_perform_seek), (gst_base_src_send_event),
18718 (gst_base_src_default_event), (gst_base_src_event_handler),
18719 (gst_base_src_set_property), (gst_base_src_get_property),
18720 (gst_base_src_wait), (gst_base_src_do_sync),
18721 (gst_base_src_update_length), (gst_base_src_get_range),
18722 (gst_base_src_check_get_range), (gst_base_src_loop),
18723 (gst_base_src_default_negotiate), (gst_base_src_start),
18724 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18725 (gst_base_src_change_state):
18726 * libs/gst/base/gstbasesrc.h:
18727 Implement seeking to other formats than _BYTES.
18728 Implement more seeking methods correctly.
18730 Added query vmethod.
18731 Added do_seek vmethod to make life easier for subclasses
18733 API addition: gst_base_src_set_format()
18735 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18737 * tests/examples/Makefile.am:
18740 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18743 * docs/random/ensonic/media-device-daemon.txt:
18744 * tests/examples/controller/.cvsignore:
18745 * tests/examples/controller/Makefile.am:
18746 * tests/examples/controller/audio-example.c: (main):
18747 * tests/examples/helloworld/.cvsignore:
18748 * tests/examples/helloworld/Makefile.am:
18749 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18750 * tests/examples/launch/.cvsignore:
18751 * tests/examples/launch/Makefile.am:
18752 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18753 * tests/examples/metadata/.cvsignore:
18754 * tests/examples/metadata/Makefile.am:
18755 * tests/examples/metadata/read-metadata.c: (message_loop),
18756 (make_pipeline), (print_tag), (main):
18757 * tests/examples/queue/.cvsignore:
18758 * tests/examples/queue/Makefile.am:
18759 * tests/examples/queue/queue.c: (event_loop), (main):
18760 * tests/examples/typefind/.cvsignore:
18761 * tests/examples/typefind/Makefile.am:
18762 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18764 * tests/examples/xml/.cvsignore:
18765 * tests/examples/xml/Makefile.am:
18766 * tests/examples/xml/createxml.c: (object_saved), (main):
18767 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18768 * tests/old/examples/Makefile.am:
18769 * tests/old/examples/TODO:
18770 * tests/old/examples/controller/.cvsignore:
18771 * tests/old/examples/controller/Makefile.am:
18772 * tests/old/examples/controller/audio-example.c:
18773 * tests/old/examples/helloworld/.cvsignore:
18774 * tests/old/examples/helloworld/Makefile.am:
18775 * tests/old/examples/helloworld/helloworld.c:
18776 * tests/old/examples/launch/.cvsignore:
18777 * tests/old/examples/launch/Makefile.am:
18778 * tests/old/examples/launch/mp3parselaunch.c:
18779 * tests/old/examples/launch/mp3play:
18780 * tests/old/examples/manual/Makefile.am:
18781 * tests/old/examples/metadata/Makefile.am:
18782 * tests/old/examples/metadata/read-metadata.c:
18783 * tests/old/examples/queue/.cvsignore:
18784 * tests/old/examples/queue/Makefile.am:
18785 * tests/old/examples/queue/queue.c:
18786 * tests/old/examples/typefind/.cvsignore:
18787 * tests/old/examples/typefind/Makefile.am:
18788 * tests/old/examples/typefind/typefind.c:
18789 * tests/old/examples/xml/.cvsignore:
18790 * tests/old/examples/xml/Makefile.am:
18791 * tests/old/examples/xml/createxml.c:
18792 * tests/old/examples/xml/runxml.c:
18793 applied some simple fixing to some examples
18794 re-enabled the working examples
18796 2005-12-12 Wim Taymans <wim@fluendo.com>
18798 * gst/gstsegment.c: (gst_segment_init),
18799 (gst_segment_set_last_stop), (gst_segment_set_seek),
18800 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18801 (gst_segment_to_running_time):
18802 Added more documentation.
18803 Make sure the last_pos value is updated properly.
18804 Make sure to_stream_time and to_running_time don't
18805 operate on wrong values.
18807 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18810 2005-12-12 Michael Smith <msmith@fluendo.com>
18812 * plugins/elements/gsttypefindelement.c: (free_entry),
18813 (gst_type_find_element_chain):
18814 Now that we're not leaking factories, make sure we keep references
18815 to them while we need them.
18817 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18819 * tests/check/gst/struct_i386.h:
18820 ifdef out the XML structs
18822 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18824 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18825 floor is not needed, F is always positive; this obviates the
18826 need for adding -lm when building without libxml
18828 2005-12-12 Wim Taymans <wim@fluendo.com>
18830 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18831 Take current playback rate into account when reporting
18834 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18836 * docs/manual/mime-world.fig:
18837 Let's try this again, this time with a file that is
18838 actually in XFig format.
18840 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18842 * docs/manual/mime-world.fig:
18843 Add audioconvert element to diagram so that it
18844 matches the text and the code (fixes #319526).
18846 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18848 * docs/pwg/building-chainfn.xml:
18849 * docs/pwg/building-pads.xml:
18850 * docs/pwg/building-state.xml:
18851 * docs/pwg/other-source.xml:
18852 Update state change stuff for 0.10 (fixes #322969).
18854 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18856 * docs/manual/advanced-dataaccess.xml:
18857 * docs/manual/appendix-checklist.xml:
18858 * docs/manual/appendix-programs.xml:
18859 * docs/manual/basics-pads.xml:
18860 * docs/manual/highlevel-components.xml:
18861 * docs/manual/manual.xml:
18862 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18863 add converters in front of pipelines; remove curly
18864 brackets for threads stuff, they no longer exist; use
18865 GST_TYPE_FRACTION for framerates; update some pieces of
18866 code to 0.10, but there's plenty more to do.
18868 * docs/manual/appendix-porting.xml:
18869 Expand on asynchroneous state changes; s/0.9/0.10/;
18870 mention disappearance of gst_init_get_popt_table()
18873 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18875 * docs/faq/using.xml:
18876 Spider no longer exists, and neither does gst-launch-ext.
18877 Update examples to use decodebin and playbin and put
18878 converters in front of sinks (fixes #323726).
18880 2005-12-09 Michael Smith <msmith@fluendo.com>
18882 * plugins/elements/gsttypefindelement.c: (find_peek),
18883 (gst_type_find_element_chain):
18884 Fix leaking element factories in typefinding.
18885 Fix problem where we forgot about a probable type on non-seekable
18886 files, and thus later mis-typefound it.
18888 2005-12-09 Michael Smith <msmith@fluendo.com>
18890 * common/m4/gst-makecontext.m4:
18891 * common/m4/gst-mcsc.m4:
18893 * win32/common/config.h:
18894 * win32/common/config.h.in:
18895 Remove makecontext stuff; not used in 0.10 and causes problems on
18896 HPUX according to bug #322441
18898 2005-12-07 Wim Taymans <wim@fluendo.com>
18900 * tests/check/Makefile.am:
18901 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18903 * tests/check/libs/struct_i386.h:
18904 Added ABI check for libs
18906 2005-12-07 Wim Taymans <wim@fluendo.com>
18908 * tests/check/Makefile.am:
18909 And add the struct_i386.h to dist.
18911 2005-12-07 Wim Taymans <wim@fluendo.com>
18913 * tests/check/Makefile.am:
18914 * tests/check/gst/.cvsignore:
18915 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18917 * tests/check/gst/struct_i386.h:
18918 Added check for ABI compatibility.
18920 2005-12-07 Wim Taymans <wim@fluendo.com>
18922 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18923 (gst_fake_src_get_times), (gst_fake_src_create):
18924 Fix broken sync option, fixes #323259
18926 2005-12-07 Wim Taymans <wim@fluendo.com>
18931 * gst/gstcaps.c: (gst_caps_is_equal):
18932 Don't assert on NULL <--> X. Fixes #323260
18934 * gst/gstminiobject.c: (gst_mini_object_replace):
18935 If we're doing atomic operations, we might just as well use
18936 the proper way to get an atomic pointer.
18938 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18939 Clean up debugging.
18941 2005-12-07 Michael Smith <msmith@fluendo.com>
18943 * gst/parse/grammar.y:
18944 Remove handling of { } for threads.
18946 2005-12-06 David Schleef <ds@schleef.org>
18948 * libs/gst/base/gstbasetransform.c: speling fix.
18950 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18952 * docs/libs/tmpl/gstdataprotocol.sgml:
18953 * docs/random/omega/testing/gstobject.c:
18956 * gst/gstelement.c:
18957 * gst/gstelementfactory.c:
18960 * gst/gstghostpad.c:
18962 * gst/gstpadtemplate.c:
18963 * gst/gstregistryxml.c:
18964 * gst/gsttaglist.c:
18965 * gst/gsttagsetter.c:
18966 * gst/gsttypefind.c:
18968 * libs/gst/base/gstbasesrc.c:
18969 * libs/gst/net/gstnetclientclock.c:
18970 * libs/gst/net/gstnettimeprovider.c:
18971 * plugins/elements/gstfakesrc.c:
18972 * plugins/elements/gstfdsrc.c:
18973 * plugins/elements/gstfilesrc.c:
18974 * plugins/elements/gstidentity.c:
18975 * plugins/elements/gstqueue.c:
18976 * plugins/elements/gsttypefindelement.c:
18977 * plugins/indexers/gstfileindex.c:
18978 * plugins/indexers/gstmemindex.c:
18979 * tests/check/gst/gsttag.c:
18980 * tests/old/examples/cutter/cutter.c:
18981 * tests/old/examples/mixer/mixer.c:
18982 * tests/old/examples/xml/runxml.c: (main):
18983 * tests/old/testsuite/caps/normalisation.c:
18984 * tests/old/testsuite/debug/global.c:
18985 * tests/old/testsuite/parse/parse1.c:
18986 * tools/gst-xmlinspect.c:
18987 * win32/common/dirent.c:
18990 === release 0.10.0 ===
18992 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18995 releasing 0.10.0, "Maroilles"
18997 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18999 submitted by: Funda Wang <fundawang@linux.net.cn>
19003 added Chinese (Traditional) translation
19005 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19007 * docs/gst/gstreamer-sections.txt:
19008 * docs/libs/tmpl/gstdataprotocol.sgml:
19009 * docs/random/thomasvs/TODO:
19014 2005-12-05 Andy Wingo <wingo@pobox.com>
19016 patch by: Wim Taymans <wim@fluendo.com>
19018 * libs/gst/base/gstbasetransform.c
19019 (gst_base_transform_prepare_output_buf)
19020 (gst_base_transform_buffer_alloc):
19021 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19022 alloc_buffer_and_set_caps.
19024 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19025 set_caps on the source pad.
19026 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19027 alloc_buffer used to do. Fixes #322874.
19029 * docs/gst/gstreamer-sections.txt:
19030 * docs/design/part-negotiation.txt:
19031 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19034 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19036 patch by: Sebastien Moutte
19039 * win32/common/config.h.in:
19040 * win32/vs6/libgstcontroller.dsp:
19043 2005-12-05 Wim Taymans <wim@fluendo.com>
19045 * gst/gstcaps.c: (gst_caps_is_equal):
19046 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19047 (gst_fake_src_create):
19048 Back out previous code changes, leave doc updates, file bugs
19051 2005-12-05 Wim Taymans <wim@fluendo.com>
19053 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19054 (gst_fake_src_get_times), (gst_fake_src_create):
19055 * plugins/elements/gstfakesrc.h:
19056 Fix broken sync code.
19058 2005-12-05 Wim Taymans <wim@fluendo.com>
19060 * gst/gstcaps.c: (gst_caps_is_equal):
19061 Comparing NULL against !NULL yields different caps, not a
19064 2005-12-05 Wim Taymans <wim@fluendo.com>
19066 * gst/gstpipeline.c:
19067 Fix small typo in docs.
19069 2005-12-05 Andy Wingo <wingo@pobox.com>
19071 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19073 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19074 registries/plugins with a MAJORMINOR one.
19075 (plugin_desc): Rename library from gstcoreleements to
19076 staticelements. Fixes #323222.
19078 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19080 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19081 Change debug category to 'collectpads' from 'collect_pads'
19084 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19086 patch by: Sebastien Moutte
19088 * libs/gst/controller/gstinterpolation.c:
19089 use convert function for uint64/double
19090 * win32/vs6/libgstcontroller.dsp:
19093 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19095 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19096 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19098 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19099 add tests that seem to show that the guint64/gdouble conversions
19102 2005-12-02 Wim Taymans <wim@fluendo.com>
19104 * gst/gstregistry.c: (gst_registry_add_path):
19105 * gst/gstregistry.h:
19106 * gst/gstregistryxml.c:
19109 2005-12-02 Wim Taymans <wim@fluendo.com>
19111 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19112 (gst_util_uint64_scale_int):
19115 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19116 Add debug log line.
19118 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19121 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19124 * win32/common/config.h:
19125 * win32/vs6/gstreamer.dsw:
19126 * win32/vs6/libgstcoreelements.dsp:
19127 * win32/vs6/libgstelements.dsp:
19128 renamed core elements plugin
19130 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19132 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19134 do piece-wise major/minor comparison so 0.9 < 0.10
19135 also allow .exe extensions for tools
19137 2005-12-02 Michael Smith <msmith@fluendo.com>
19140 Escape a % to make gtkdoc happier; bug 322958.
19142 === release 0.9.7 ===
19144 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19147 releasing 0.9.7, "My Dog Has No Nose"
19149 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19151 * common/gst-xmlinspect.py:
19153 * docs/libs/tmpl/gstdataprotocol.sgml:
19154 * docs/random/release:
19173 * win32/common/config.h:
19174 * win32/common/config.h.in:
19175 * win32/vs6/gst_inspect.dsp:
19176 * win32/vs6/gst_launch.dsp:
19177 * win32/vs6/libgstbase.dsp:
19178 * win32/vs6/libgstelements.dsp:
19179 * win32/vs6/libgstreamer.dsp:
19180 * win32/vs7/GStreamer.vcproj:
19181 * win32/vs7/gst-inspect.vcproj:
19182 * win32/vs7/gst-launch.vcproj:
19183 * win32/vs7/libgstbase.vcproj:
19184 bump GST_MAJORMINOR to 0.10
19185 reset libtool version
19187 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19191 Added Bulgarian translation by (Alexander Shopov)
19193 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19195 * tests/check/gst/gstplugin.c:
19198 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19200 * common/gst-xmlinspect.py:
19201 * common/gtk-doc-plugins.mak:
19203 * docs/Makefile.am:
19204 * docs/gst/Makefile.am:
19205 * docs/gst/gstreamer-docs.sgml:
19206 * docs/gst/gstreamer-sections.txt:
19207 * docs/gst/gstreamer.types:
19208 * docs/gst/gstreamer.types.in:
19209 * docs/plugins/Makefile.am:
19210 * docs/plugins/gstreamer-plugins-docs.sgml:
19211 * docs/plugins/gstreamer-plugins-sections.txt:
19212 * docs/plugins/gstreamer-plugins.types:
19213 * docs/plugins/inspect.stamp:
19214 * docs/plugins/inspect/plugin-coreelements.xml:
19215 * docs/plugins/inspect/plugin-coreindexers.xml:
19216 * docs/plugins/scanobj-build.stamp:
19217 * gstreamer.spec.in:
19218 * plugins/elements/Makefile.am:
19219 * plugins/elements/gstelements.c:
19220 * plugins/elements/gstfakesink.c:
19221 * plugins/elements/gstfakesrc.c:
19222 * plugins/elements/gstfilesink.c:
19223 * plugins/elements/gstfilesrc.c:
19224 * plugins/elements/gstqueue.c:
19225 * plugins/indexers/Makefile.am:
19226 * plugins/indexers/gstindexers.c:
19227 document core plugins in a separate document just like all the
19229 rename these plugins to something starting with core
19231 2005-12-01 Andy Wingo <wingo@pobox.com>
19233 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19234 padding here before, but it missed the commit.
19236 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19238 * libs/gst/controller/gstinterpolation.c:
19239 whitespace prices have crashed, we should feel free to use some now
19240 use gst_guint64_to_gdouble
19242 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19244 * libs/gst/controller/gstcontroller.c:
19245 * libs/gst/controller/gsthelper.c:
19246 * libs/gst/controller/gstinterpolation.c:
19247 * libs/gst/controller/lib.c:
19248 wrap config.h include
19250 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19252 * docs/gst/gstreamer-sections.txt:
19255 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19257 * plugins/elements/gstelements.c:
19258 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19259 (gst_fd_sink__class_init), (gst_fd_sink__init),
19260 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19261 (gst_fd_sink__get_property):
19262 * plugins/elements/gstfdsink.h:
19263 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19264 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19265 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19266 (gst_fd_src_unlock), (gst_fd_src_set_property),
19267 (gst_fd_src_get_property), (gst_fd_src_create),
19268 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19269 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19270 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19271 (gst_fd_src_uri_handler_init):
19272 * plugins/elements/gstfdsrc.h:
19273 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19276 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19278 * docs/gst/Makefile.am:
19279 * docs/gst/gstreamer.types.in:
19283 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19289 * gst/gstregistry.h:
19290 * tests/benchmarks/complexity.c:
19291 * tests/benchmarks/mass-elements.c:
19292 * tests/check/Makefile.am:
19293 * tools/Makefile.am:
19294 * tools/gst-inspect.c:
19295 * tools/gst-xmlinspect.c:
19296 various fixes to make
19297 --disable-nls --disable-registry --disable-loadsave
19298 --disable-parse --disable-gst-debug
19299 work and get the core .so down to 360444 bytes after stripping
19301 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19306 * docs/random/thomasvs/TODO:
19307 * tests/Makefile.am:
19311 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19313 * win32/GStreamer.vcproj:
19316 * win32/Makefile.inspect:
19317 * win32/Makefile.launch:
19318 * win32/Makefile.register:
19319 * win32/README.txt:
19320 * win32/gst-inspect.vcproj:
19321 * win32/gst-launch.vcproj:
19322 * win32/gst-register.vcproj:
19323 * win32/gstelements.vcproj:
19324 * win32/gstgetbits.def:
19325 * win32/gstgetbits.vcproj:
19326 * win32/gstreamer-dbg.def:
19327 * win32/gstreamer.def:
19328 * win32/libgstbase.def:
19329 * win32/libgstbase.vcproj:
19330 * win32/link_oldruntime.c:
19334 * win32/msvc71.sln:
19335 move even more stuff, win32/ is nice and clean now
19337 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19339 * libs/gst/control/.cvsignore:
19344 * win32/gstbytestream.def:
19345 * win32/gstbytestream.vcproj:
19346 * win32/gstconfig.h:
19347 * win32/gstenumtypes.c:
19348 * win32/gstenumtypes.h:
19349 * win32/gstoptimalscheduler.vcproj:
19350 * win32/gstversion.h:
19352 * win32/testsuite/bins.vcproj:
19353 * win32/testsuite/bytestream.vcproj:
19354 * win32/testsuite/caps.vcproj:
19355 * win32/testsuite/cleanup.vcproj:
19356 * win32/testsuite/clock.vcproj:
19357 * win32/testsuite/debug.vcproj:
19358 * win32/testsuite/dlopen.vcproj:
19359 * win32/testsuite/dynparams.vcproj:
19360 * win32/testsuite/elements.vcproj:
19361 * win32/testsuite/ghostpads.vcproj:
19362 * win32/testsuite/indexers.vcproj:
19363 * win32/testsuite/negotiation.vcproj:
19364 * win32/testsuite/parse.vcproj:
19365 * win32/testsuite/plugin.vcproj:
19366 * win32/testsuite/refcounting.vcproj:
19367 * win32/testsuite/schedulers.vcproj:
19368 * win32/testsuite/states.vcproj:
19369 * win32/testsuite/tags.vcproj:
19370 * win32/testsuite/threads.vcproj:
19371 remove old win32 stuff that isn't maintained and should be
19374 2005-11-30 Andy Wingo <wingo@pobox.com>
19376 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19377 loading the gst.interfaces python module bork.
19379 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19380 available since GLib 2.2. Fixes #318031.
19382 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19385 * check/.cvsignore:
19386 * check/Makefile.am:
19387 * check/elements/.cvsignore:
19388 * check/elements/fakesrc.c:
19389 * check/elements/fdsrc.c:
19390 * check/elements/identity.c:
19391 * check/generic/.cvsignore:
19392 * check/generic/states.c:
19393 * check/gst-libs/.cvsignore:
19394 * check/gst-libs/controller.c:
19395 * check/gst-libs/gdp.c:
19396 * check/gst/.cvsignore:
19397 * check/gst/capslist.h:
19399 * check/gst/gstbin.c:
19400 * check/gst/gstbuffer.c:
19401 * check/gst/gstbus.c:
19402 * check/gst/gstcaps.c:
19403 * check/gst/gstelement.c:
19404 * check/gst/gstevent.c:
19405 * check/gst/gstghostpad.c:
19406 * check/gst/gstiterator.c:
19407 * check/gst/gstmessage.c:
19408 * check/gst/gstminiobject.c:
19409 * check/gst/gstobject.c:
19410 * check/gst/gstpad.c:
19411 * check/gst/gstpipeline.c:
19412 * check/gst/gstplugin.c:
19413 * check/gst/gstsegment.c:
19414 * check/gst/gststructure.c:
19415 * check/gst/gstsystemclock.c:
19416 * check/gst/gsttag.c:
19417 * check/gst/gstutils.c:
19418 * check/gst/gstvalue.c:
19419 * check/net/.cvsignore:
19420 * check/net/gstnetclientclock.c:
19421 * check/net/gstnettimeprovider.c:
19422 * check/pipelines/.cvsignore:
19423 * check/pipelines/cleanup.c:
19424 * check/pipelines/simple_launch_lines.c:
19425 * check/pipelines/stress.c:
19426 * check/states/.cvsignore:
19427 * check/states/sinks.c:
19429 * examples/Makefile.am:
19430 * examples/appreader/.cvsignore:
19431 * examples/appreader/Makefile.am:
19432 * examples/appreader/appreader.c:
19433 * examples/controller/.cvsignore:
19434 * examples/controller/Makefile.am:
19435 * examples/controller/audio-example.c:
19436 * examples/cutter/.cvsignore:
19437 * examples/cutter/Makefile.am:
19438 * examples/cutter/cutter.c:
19439 * examples/cutter/cutter.h:
19440 * examples/events/Makefile.am:
19441 * examples/events/seek.c:
19442 * examples/helloworld/.cvsignore:
19443 * examples/helloworld/Makefile.am:
19444 * examples/helloworld/helloworld.c:
19445 * examples/helloworld2/.cvsignore:
19446 * examples/helloworld2/Makefile.am:
19447 * examples/helloworld2/helloworld2.c:
19448 * examples/launch/.cvsignore:
19449 * examples/launch/Makefile.am:
19450 * examples/launch/mp3parselaunch.c:
19451 * examples/launch/mp3play:
19452 * examples/manual/.cvsignore:
19453 * examples/manual/Makefile.am:
19454 * examples/manual/extract.pl:
19455 * examples/metadata/Makefile.am:
19456 * examples/metadata/read-metadata.c:
19457 * examples/mixer/.cvsignore:
19458 * examples/mixer/Makefile.am:
19459 * examples/mixer/mixer.c:
19460 * examples/mixer/mixer.h:
19461 * examples/pingpong/.cvsignore:
19462 * examples/pingpong/Makefile.am:
19463 * examples/pingpong/pingpong.c:
19464 * examples/plugins/.cvsignore:
19465 * examples/plugins/Makefile.am:
19466 * examples/plugins/example.c:
19467 * examples/plugins/example.h:
19468 * examples/pwg/.cvsignore:
19469 * examples/pwg/Makefile.am:
19470 * examples/pwg/extract.pl:
19471 * examples/queue/.cvsignore:
19472 * examples/queue/Makefile.am:
19473 * examples/queue/queue.c:
19474 * examples/queue2/.cvsignore:
19475 * examples/queue2/Makefile.am:
19476 * examples/queue2/queue2.c:
19477 * examples/queue3/.cvsignore:
19478 * examples/queue3/Makefile.am:
19479 * examples/queue3/queue3.c:
19480 * examples/queue4/.cvsignore:
19481 * examples/queue4/Makefile.am:
19482 * examples/queue4/queue4.c:
19483 * examples/retag/.cvsignore:
19484 * examples/retag/Makefile.am:
19485 * examples/retag/retag.c:
19486 * examples/retag/transcode.c:
19487 * examples/thread/.cvsignore:
19488 * examples/thread/Makefile.am:
19489 * examples/thread/thread.c:
19490 * examples/typefind/.cvsignore:
19491 * examples/typefind/Makefile.am:
19492 * examples/typefind/typefind.c:
19493 * examples/xml/.cvsignore:
19494 * examples/xml/Makefile.am:
19495 * examples/xml/createxml.c:
19496 * examples/xml/runxml.c:
19497 * tests/Makefile.am:
19498 * tests/check/Makefile.am:
19499 * testsuite/.cvsignore:
19500 * testsuite/Makefile.am:
19502 * testsuite/caps/.cvsignore:
19503 * testsuite/caps/Makefile.am:
19504 * testsuite/caps/app_fixate.c:
19505 * testsuite/caps/audioscale.c:
19506 * testsuite/caps/caps.c:
19507 * testsuite/caps/caps.h:
19508 * testsuite/caps/caps_strings:
19509 * testsuite/caps/compatibility.c:
19510 * testsuite/caps/deserialize.c:
19511 * testsuite/caps/enumcaps.c:
19512 * testsuite/caps/eratosthenes.c:
19513 * testsuite/caps/filtercaps.c:
19514 * testsuite/caps/fixed.c:
19515 * testsuite/caps/fraction-convert.c:
19516 * testsuite/caps/fraction-multiply-and-zero.c:
19517 * testsuite/caps/intersect2.c:
19518 * testsuite/caps/intersection.c:
19519 * testsuite/caps/normalisation.c:
19520 * testsuite/caps/random.c:
19521 * testsuite/caps/renegotiate.c:
19522 * testsuite/caps/sets.c:
19523 * testsuite/caps/simplify.c:
19524 * testsuite/caps/string-conversions.c:
19525 * testsuite/caps/structure.c:
19526 * testsuite/caps/subtract.c:
19527 * testsuite/caps/union.c:
19528 * testsuite/debug/.cvsignore:
19529 * testsuite/debug/Makefile.am:
19530 * testsuite/debug/category.c:
19531 * testsuite/debug/commandline.c:
19532 * testsuite/debug/global.c:
19533 * testsuite/debug/output.c:
19534 * testsuite/debug/printf_extension.c:
19535 * testsuite/dlopen/.cvsignore:
19536 * testsuite/dlopen/Makefile.am:
19537 * testsuite/dlopen/dlopen_gst.c:
19538 * testsuite/dlopen/loadgst.c:
19539 * testsuite/elements/.cvsignore:
19540 * testsuite/elements/Makefile.am:
19541 * testsuite/elements/gst-inspect-check.in:
19542 * testsuite/elements/struct_i386.h:
19543 * testsuite/elements/struct_size.c:
19544 * testsuite/indexers/.cvsignore:
19545 * testsuite/indexers/Makefile.am:
19546 * testsuite/indexers/cache1.c:
19547 * testsuite/indexers/indexdump.c:
19548 * testsuite/parse/.cvsignore:
19549 * testsuite/parse/Makefile.am:
19550 * testsuite/parse/parse1.c:
19551 * testsuite/parse/parse2.c:
19552 * testsuite/plugin/.cvsignore:
19553 * testsuite/plugin/Makefile.am:
19554 * testsuite/plugin/README:
19555 * testsuite/plugin/dynamic.c:
19556 * testsuite/plugin/linked.c:
19557 * testsuite/plugin/loading.c:
19558 * testsuite/plugin/registry.c:
19559 * testsuite/plugin/static.c:
19560 * testsuite/plugin/static2.c:
19561 * testsuite/plugin/testplugin.c:
19562 * testsuite/plugin/testplugin2.c:
19563 * testsuite/plugin/testplugin2_s.c:
19564 * testsuite/plugin/testplugin_s.c:
19565 * testsuite/refcounting/.cvsignore:
19566 * testsuite/refcounting/Makefile.am:
19567 * testsuite/refcounting/bin.c:
19568 * testsuite/refcounting/element.c:
19569 * testsuite/refcounting/element_pad.c:
19570 * testsuite/refcounting/mainloop.c:
19571 * testsuite/refcounting/mem.c:
19572 * testsuite/refcounting/mem.h:
19573 * testsuite/refcounting/object.c:
19574 * testsuite/refcounting/pad.c:
19575 * testsuite/refcounting/sched.c:
19576 * testsuite/refcounting/thread.c:
19577 * testsuite/states/.cvsignore:
19578 * testsuite/states/Makefile.am:
19579 * testsuite/states/bin.c:
19580 * testsuite/states/locked.c:
19581 * testsuite/states/parent.c:
19582 * testsuite/threads/.cvsignore:
19583 * testsuite/threads/159566.c:
19584 * testsuite/threads/159852.c:
19585 * testsuite/threads/Makefile.am:
19586 * testsuite/threads/queue.c:
19587 * testsuite/threads/signals.c:
19588 * testsuite/threads/staticrec.c:
19589 * testsuite/threads/thread.c:
19590 * testsuite/threads/threadb.c:
19591 * testsuite/threads/threadc.c:
19592 * testsuite/threads/threadd.c:
19593 * testsuite/threads/threade.c:
19594 * testsuite/threads/threadf.c:
19595 * testsuite/threads/threadg.c:
19596 * testsuite/threads/threadh.c:
19597 * testsuite/threads/threadi.c:
19598 move all of these under tests
19600 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19603 * tests/Makefile.am:
19606 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19608 * docs/gst/gstreamer-sections.txt:
19609 * tests/sched/.cvsignore:
19610 * tests/sched/Makefile.am:
19611 * tests/sched/cases/(fs-fs).xml:
19612 * tests/sched/cases/(fs-i-fs).xml:
19613 * tests/sched/cases/(fs-i-i-fs).xml:
19614 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19615 * tests/sched/dynamic-pipeline.c:
19616 * tests/sched/interrupt1.c:
19617 * tests/sched/interrupt2.c:
19618 * tests/sched/interrupt3.c:
19619 * tests/sched/runtestcases:
19620 * tests/sched/runxml.c:
19621 * tests/sched/sched-stress.c:
19622 * tests/sched/sort.c:
19623 * tests/sched/testcases:
19624 * tests/sched/testcases1.tc:
19625 * tests/seeking/.cvsignore:
19626 * tests/seeking/Makefile.am:
19627 * tests/seeking/seeking1.c:
19628 * tests/threadstate/.cvsignore:
19629 * tests/threadstate/Makefile.am:
19630 * tests/threadstate/test1.c:
19631 * tests/threadstate/test2.c:
19632 * tests/threadstate/threadstate1.c:
19633 * tests/threadstate/threadstate2.c:
19634 * tests/threadstate/threadstate3.c:
19635 * tests/threadstate/threadstate4.c:
19636 * tests/threadstate/threadstate5.c:
19637 remove obsolete tests
19639 * tests/bench-complexity.scm:
19640 * tests/bench-mass_elements.scm:
19641 * tests/complexity.c:
19642 * tests/complexity.gnuplot:
19643 * tests/instantiate/.cvsignore:
19644 * tests/instantiate/Makefile.am:
19645 * tests/instantiate/caps.c:
19646 * tests/mass_elements.c:
19647 * tests/network-clock-utils.scm:
19648 * tests/network-clock.scm:
19650 First pass at cleaning up tests/ dir before moving the rest
19651 Combined with CVS surgery
19653 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19656 queue has moved, update
19658 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19660 * docs/gst/gstreamer-sections.txt:
19661 remove double entries from the docs
19662 * gst/gst_private.h:
19663 * gst/gstinfo.c: (_gst_debug_init):
19664 remove the THREAD debug category
19668 * docs/gst/gstreamer.types:
19669 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19670 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19671 completely move queue and fix up debugging categories
19673 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19675 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19676 make initialization portable, using LL is not
19678 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19680 * win32/common/gstconfig.h:
19683 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19685 * win32/common/libgstreamer.def:
19686 rename symbols; sort base section
19688 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19690 * gst/gstclock.c: (do_linear_regression):
19691 remove crack non-portable handrolled DEBUG macro
19693 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19695 * docs/random/release:
19697 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19698 (gst_object_flags_get_type), (register_gst_bin_flags),
19699 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19700 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19701 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19702 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19703 (gst_caps_flags_get_type), (register_gst_clock_return),
19704 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19705 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19706 (gst_clock_flags_get_type), (register_gst_state),
19707 (gst_state_get_type), (register_gst_state_change_return),
19708 (gst_state_change_return_get_type), (register_gst_state_change),
19709 (gst_state_change_get_type), (register_gst_element_flags),
19710 (gst_element_flags_get_type), (register_gst_core_error),
19711 (gst_core_error_get_type), (register_gst_library_error),
19712 (gst_library_error_get_type), (register_gst_resource_error),
19713 (gst_resource_error_get_type), (register_gst_stream_error),
19714 (gst_stream_error_get_type), (register_gst_event_type_flags),
19715 (gst_event_type_flags_get_type), (register_gst_event_type),
19716 (gst_event_type_get_type), (register_gst_seek_type),
19717 (gst_seek_type_get_type), (register_gst_seek_flags),
19718 (gst_seek_flags_get_type), (register_gst_format),
19719 (gst_format_get_type), (register_gst_index_certainty),
19720 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19721 (gst_index_entry_type_get_type),
19722 (register_gst_index_lookup_method),
19723 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19724 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19725 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19726 (gst_index_flags_get_type), (register_gst_debug_level),
19727 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19728 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19729 (gst_iterator_result_get_type), (register_gst_iterator_item),
19730 (gst_iterator_item_get_type), (register_gst_message_type),
19731 (gst_message_type_get_type), (register_gst_mini_object_flags),
19732 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19733 (gst_pad_link_return_get_type), (register_gst_flow_return),
19734 (gst_flow_return_get_type), (register_gst_activate_mode),
19735 (gst_activate_mode_get_type), (register_gst_pad_direction),
19736 (gst_pad_direction_get_type), (register_gst_pad_flags),
19737 (gst_pad_flags_get_type), (register_gst_pad_presence),
19738 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19739 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19740 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19741 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19742 (gst_plugin_flags_get_type), (register_gst_rank),
19743 (gst_rank_get_type), (register_gst_query_type),
19744 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19745 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19746 (gst_tag_flag_get_type), (register_gst_task_state),
19747 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19748 (gst_alloc_trace_flags_get_type),
19749 (register_gst_type_find_probability),
19750 (gst_type_find_probability_get_type), (register_gst_uri_type),
19751 (gst_uri_type_get_type), (register_gst_parse_error),
19752 (gst_parse_error_get_type):
19753 * win32/common/gstenumtypes.h:
19754 * win32/common/gstversion.h:
19755 update visual studio generated files
19757 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19759 * win32/vs6/libgstbase.dsp:
19760 * win32/vs6/libgstelements.dsp:
19761 update project files for new locations
19763 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19768 reinstate and update
19773 * docs/random/LICENSE:
19776 2005-11-30 Edward Hervey <edward@fluendo.com>
19778 * gst/gsttypefind.c: (gst_type_find_register):
19779 * gst/gsttypefind.h:
19780 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19781 (gst_type_find_factory_dispose):
19782 * gst/gsttypefindfactory.h:
19783 Fix memory leak in GstTypeFindFactory.
19785 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19788 * plugins/elements/Makefile.am:
19789 * plugins/elements/gstelements.c:
19790 * plugins/elements/gstqueue.c:
19791 move queue from core to the elements plugin
19793 2005-11-29 Andy Wingo <wingo@pobox.com>
19795 * libs/gst/base/gstbasetransform.h:
19796 * libs/gst/base/gstbasesrc.h:
19797 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19799 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19800 of pointers by which to pad very extensible base classes (like the
19801 ones in libs/gst/base).
19803 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19805 * docs/gst/gstreamer-docs.sgml:
19806 * docs/gst/gstreamer-sections.txt:
19807 * docs/libs/gstreamer-libs-docs.sgml:
19808 * docs/libs/gstreamer-libs-sections.txt:
19809 moving documentation from core to lib
19811 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19813 * check/Makefile.am:
19815 * docs/gst/Makefile.am:
19817 * gst/base/.cvsignore:
19818 * gst/base/Makefile.am:
19820 * gst/base/gstadapter.c:
19821 * gst/base/gstadapter.h:
19822 * gst/base/gstbasesink.c:
19823 * gst/base/gstbasesink.h:
19824 * gst/base/gstbasesrc.c:
19825 * gst/base/gstbasesrc.h:
19826 * gst/base/gstbasetransform.c:
19827 * gst/base/gstbasetransform.h:
19828 * gst/base/gstcollectpads.c:
19829 * gst/base/gstcollectpads.h:
19830 * gst/base/gstpushsrc.c:
19831 * gst/base/gstpushsrc.h:
19832 * gst/base/gsttypefindhelper.c:
19833 * gst/base/gsttypefindhelper.h:
19834 * gst/check/Makefile.am:
19835 * gst/check/gstcheck.c:
19836 * gst/check/gstcheck.h:
19837 * gst/net/Makefile.am:
19838 * gst/net/gstnet.h:
19839 * gst/net/gstnetclientclock.c:
19840 * gst/net/gstnetclientclock.h:
19841 * gst/net/gstnettimepacket.c:
19842 * gst/net/gstnettimepacket.h:
19843 * gst/net/gstnettimeprovider.c:
19844 * gst/net/gstnettimeprovider.h:
19845 * libs/gst/Makefile.am:
19846 * libs/gst/base/Makefile.am:
19847 * libs/gst/base/gstbasetransform.c:
19848 * libs/gst/check/Makefile.am:
19849 * plugins/elements/Makefile.am:
19851 CVS surgery + support to move base, check, and net out of gst
19854 2005-11-29 Andy Wingo <wingo@pobox.com>
19856 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19858 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19861 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19863 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19865 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19867 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19868 padding; reduces object size by about 30%. We don't expect
19869 anything else to go into gstobject.
19871 * gst/gstminiobject.h (struct _GstMiniObject)
19872 (struct _GstMiniObjectClass): Only one pointer of padding; the
19873 payload is only a pointer and two ints anyway. For the class there
19874 are only two methods as well.
19876 * gst/gstelement.h (struct _GstElementClass): Removed
19877 the state_changed signal callback, it is not used.
19879 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19881 * docs/gst/gstreamer.types:
19882 fix includes, though they are a little dinky
19884 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19886 * check/Makefile.am:
19887 look in the right place for elements, a lot more chance of
19890 remove indexers and elements subdirs
19891 * plugins/Makefile.am:
19892 make indexers conditional
19894 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19898 * plugins/elements/Makefile.am:
19899 * plugins/elements/gstcapsfilter.c:
19900 * plugins/elements/gstfilesink.c:
19901 * plugins/elements/gstfilesrc.c:
19902 * plugins/elements/gstidentity.c:
19903 * plugins/indexers/Makefile.am:
19904 do CVS surgery and related build fixery to move elements
19905 and indexers in a new gstreamer/plugins directory, out of the
19908 2005-11-29 Andy Wingo <wingo@pobox.com>
19910 * check/Makefile.am:
19911 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19912 * pkgconfig/gstreamer-net.pc.in:
19913 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19916 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19918 * tools/Makefile.am:
19919 * tools/gst-complete.1.in:
19920 * tools/gst-complete.c:
19921 * tools/gst-compprep.1.in:
19922 * tools/gst-compprep.c:
19923 removing -compprep and -complete
19925 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19927 * gst/gstevent.c: (gst_event_new_new_segment),
19928 (gst_event_parse_new_segment):
19930 fix #320529 - clean up new_segment API and structure.
19931 Let's hope everyone was using the methods, and not the structure.
19933 2005-11-29 Edward Hervey <edward@fluendo.com>
19935 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19936 (gst_base_sink_event), (gst_base_sink_do_sync),
19937 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19938 Properly handle non GST_FORMAT_TIME segment
19939 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19940 Properly handle non GST_FORMAT_TIME segment
19941 * gst/gstsegment.c:
19942 This function is valid if the accumulator is 0 and the format
19943 is different from the requested format.
19945 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19947 * docs/gst/gstreamer-sections.txt:
19948 Add gst_query_new_seeking and gst_query_parse_seeking to the
19951 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19953 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19954 Treat a pad alloc with new caps the same as if we were not
19955 negotiated, in order to allow a changing upstream output
19956 to produce a new format of data.
19958 2005-11-29 Edward Hervey <edward@fluendo.com>
19960 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19961 (gst_base_transform_event), (gst_base_transform_eventfunc):
19962 The event virtual method is now properly implemented, with a default
19964 Sub classes should call the parent_class event method. They should
19965 return FALSE if they had a problem handling the given event, or don't
19966 want GstBaseTransform to send that even downstream
19967 * gst/elements/gstidentity.c: (gst_identity_class_init),
19968 (gst_identity_init), (gst_identity_event),
19969 (gst_identity_transform_ip), (gst_identity_set_property),
19970 (gst_identity_get_property):
19971 * gst/elements/gstidentity.h:
19972 Added the single-segment boolean property.
19973 If set to TRUE, it will output a single segment of data, starting from
19974 0, will eat up all incoming newsegment, and modify the timestamp of the
19975 buffers accordingly
19977 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19979 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19980 Don't ref NULL target pad (#322751). Improve docs.
19982 2005-11-29 Michael Smith <msmith@fluendo.com>
19984 * gst/gstregistryxml.c: (load_plugin):
19985 Don't crash if we failed to load a feature from a plugin.
19987 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19989 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19991 use more check API and less GLib API
19993 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19996 don't run checks if we don't have check
19997 * common/check.mak:
19998 remove the registry when running make torture
19999 * docs/gst/gstreamer-sections.txt:
20000 remove second multiply
20001 * gst/gstqueue.c: (gst_queue_loop):
20002 fix a compile warning when disabling debug
20004 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20007 Hey! Let's print the pad name if the pointer != NULL instead
20008 of when it == NULL :-)
20010 2005-11-28 Wim Taymans <wim@fluendo.com>
20012 * check/gst/gstutils.c: (GST_START_TEST):
20013 Updated check, add some scaling accuracy checking code.
20015 * gst/gstutils.c: (gst_util_div128_64),
20016 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20017 (gst_util_uint64_scale_int):
20018 Fix 6 times faster division code. Optimize for common
20019 1/1 and less common X/1 cases.
20021 2005-11-28 Wim Taymans <wim@fluendo.com>
20023 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20026 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20027 (do_linear_regression), (gst_clock_add_observation):
20029 Release lock when the clock cannot be slaved.
20030 Catch the case where the regression returned an invalid denominator.
20032 * gst/gstutils.c: (gst_util_div128_64_iterate),
20033 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20034 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20035 Add protentially more performant non-iterative 128/64 divide function
20036 that unfortunatly does not work yet.
20037 Shortcut the trivial 0/X = 0 case.
20038 Remove the warnings on overflow.
20040 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20042 * gst/gstplugin.c: (gst_plugin_register_func):
20043 everything causing a plugin not to load should be at least a WARNING
20045 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20047 * docs/random/ensonic/dparams.txt:
20048 some TODOs for the next dev cycle
20049 * libs/gst/controller/gstcontroller.c:
20050 (gst_controlled_property_set_interpolation_mode),
20051 (gst_controlled_property_new):
20052 * libs/gst/controller/gstcontroller.h:
20053 use base type to assign acccessor functions
20055 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20057 * check/Makefile.am:
20058 Oops, that should have been top_srcdir
20060 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20062 * check/Makefile.am:
20063 * check/elements/fdsrc.c: (GST_START_TEST):
20064 Use a cmdline define to specify the location of a file to use for
20065 testing, to avoid breaking distcheck.
20067 2005-11-28 Andy Wingo <wingo@pobox.com>
20069 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20071 2005-11-28 Edward Hervey <edward@fluendo.com>
20073 * tools/gst-launch.c: (main):
20074 Clarify the output strings, makes it easier to translate.
20077 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20080 don't try and build net if we don't even have <sys/socket.h>
20082 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20084 * check/Makefile.am:
20085 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20086 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20087 Add tests for fdsrc seekability
20089 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20090 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20091 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20092 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20093 * gst/elements/gstfdsrc.h:
20094 fdsrc should not be a 'live' source.
20095 Implement seeking on seekable fd's.
20097 * gst/gstquery.c: (gst_query_new_seeking),
20098 (gst_query_parse_seeking):
20100 Implement SEEKING query functions:
20101 *_new_seeking and *_parse_seeking
20103 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20105 * gst/gstelement.c: (gst_element_dispose):
20108 * gst/gstiterator.c:
20109 * gst/gststructure.c:
20112 * libs/gst/controller/gstcontroller.c:
20113 (gst_controlled_property_set_interpolation_mode):
20114 * libs/gst/controller/gstcontroller.h:
20115 * libs/gst/controller/gstinterpolation.c:
20116 (interpolate_none_get_enum_value_array):
20117 support controlling enums
20119 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20122 Improve documentation for gst_value_union().
20125 Change return value for union, intersect and subtract functions
20126 from gint to gboolean.
20128 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20130 * gst/gstvalue.c: (gst_value_serialize_any_list),
20131 (gst_value_transform_any_list_string),
20132 (gst_value_deserialize_list), (gst_value_deserialize_array),
20133 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20134 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20135 (gst_value_set_fraction_range_full),
20136 (gst_value_deserialize_fraction_range),
20137 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20138 (gst_value_deserialize_boolean),
20139 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20140 (gst_value_serialize_float), (gst_value_deserialize_float),
20141 (gst_string_wrap), (gst_value_deserialize_string),
20142 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20143 (gst_value_union_int_range_int_range),
20144 (gst_value_intersect_int_range_int_range),
20145 (gst_value_intersect_double_range_double_range),
20146 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20147 (gst_value_subtract_int_range_int_range),
20148 (gst_value_subtract_double_double_range),
20149 (gst_value_subtract_double_range_double_range),
20150 (gst_value_deserialize_fraction):
20152 Use gint, gdouble and gchar in our API instead of int, double and
20153 char (and make usage in gstvalue.c more consistent).
20155 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20157 * check/Makefile.am:
20158 * libs/gst/controller/Makefile.am:
20159 * libs/gst/dataprotocol/Makefile.am:
20160 fix up Makefile.am and remove GST_ENABLE_NEW
20162 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20166 * gst/base/Makefile.am:
20167 * gst/check/Makefile.am:
20168 * gst/elements/Makefile.am:
20169 * gst/net/Makefile.am:
20170 update LDFLAGS use some more
20172 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20174 * common/m4/gst-doc.m4:
20177 2005-11-26 Edward Hervey <edward@fluendo.com>
20179 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20180 This shouldn't issue a g_warning since it returns NULL if it
20181 couldn't find the plugin, and all functions using this behave
20182 properly on a NULL return. Switching to a GST_WARNING.
20184 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20186 * gst/gstbin.c: (gst_bin_handle_message_func):
20187 Don't leak clock messages.
20189 2005-11-25 Wim Taymans <wim@fluendo.com>
20191 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20192 (gst_util_uint64_scale_int):
20193 Optimisations, remove unneeded vars.
20195 2005-11-25 Wim Taymans <wim@fluendo.com>
20197 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20198 Added more checks for the high precision uint64 cases.
20200 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20201 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20202 Implement high precision (guint64 * guint64) / guint64.
20204 2005-11-24 Wim Taymans <wim@fluendo.com>
20206 * gst/base/gstbasesrc.c: (gst_base_src_query):
20207 Fix wrong percentage query.
20209 * gst/gstutils.c: (gst_util_uint64_scale),
20210 (gst_util_uint64_scale_int):
20211 Add some more common cases that can be handled
20212 efficiently to _scale.
20214 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20216 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20217 (gst_mini_object_suite):
20218 don't use check calls from threads; check probably isn't
20219 threadsafe and using a lock to make it threadsafe would
20220 defeat the purpose of this check
20221 * gst/check/gstcheck.c:
20222 * gst/check/gstcheck.h:
20223 use GST_DEBUG some more
20225 2005-11-24 Wim Taymans <wim@fluendo.com>
20227 * gst/gstutils.c: (gst_util_uint64_scale),
20228 (gst_util_uint64_scale_int):
20229 Chain trivial case to _scale_int.
20231 2005-11-24 Wim Taymans <wim@fluendo.com>
20233 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20234 Added test for scaling.
20239 * gst/gstutils.c: (gst_util_uint64_scale_int):
20240 Implemented high precision scaling code.
20242 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20245 do not crash on pad==NULL
20247 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20249 Patch by: Stefan Kost
20251 * common/gtk-doc.mak:
20252 * docs/gst/Makefile.am:
20253 * docs/libs/Makefile.am:
20254 Fix distcheck issues for the libraries docs build
20257 2005-11-24 Michael Smith <msmith@fluendo.com>
20259 * docs/manual/basics-helloworld.xml:
20260 Fix bug #315027: memory leak in example code in docs.
20262 2005-11-24 Michael Smith <msmith@fluendo.com>
20264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20265 Unlock the PREROLL_LOCK in a failure case.
20267 2005-11-24 Wim Taymans <wim@fluendo.com>
20269 * docs/gst/gstreamer-sections.txt:
20270 * gst/base/gstadapter.h:
20271 * gst/base/gstbasesink.h:
20272 * gst/base/gstbasesrc.h:
20273 * gst/base/gstbasetransform.h:
20274 * gst/base/gstpushsrc.h:
20275 * gst/elements/gstfakesink.h:
20276 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20277 * gst/elements/gstfakesrc.h:
20278 * gst/elements/gstfilesink.h:
20279 * gst/elements/gstfilesrc.h:
20282 * gst/gstbuffer.c: (_gst_buffer_copy):
20285 * gst/gstchildproxy.c:
20287 * gst/gstelement.c:
20288 * gst/gstelementfactory.c:
20289 * gst/gstelementfactory.h:
20291 * gst/gstghostpad.h:
20293 * gst/gstinterface.h:
20294 * gst/gstminiobject.c:
20295 * gst/gstminiobject.h:
20298 * gst/gstpadtemplate.h:
20299 * gst/gstpipeline.h:
20300 * gst/gstpluginfeature.h:
20303 * gst/gsttaglist.c:
20304 * gst/gsttaglist.h:
20305 * gst/gsttagsetter.c:
20306 * gst/gsttagsetter.h:
20309 * gst/gsttypefind.h:
20312 * gst/net/gstnetclientclock.c:
20313 * gst/net/gstnetclientclock.h:
20314 * gst/net/gstnettimepacket.c:
20315 * gst/net/gstnettimeprovider.c:
20316 * gst/net/gstnettimeprovider.h:
20319 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20321 * configure.ac: back to HEAD
20323 === release 0.9.6 ===
20325 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20328 releasing 0.9.6, "Always On Time"
20330 2005-11-23 Wim Taymans <wim@fluendo.com>
20332 * docs/gst/gstreamer-sections.txt:
20333 * gst/glib-compat.c:
20334 * gst/gsttagsetter.c:
20336 * gst/net/gstnetclientclock.c:
20337 * gst/net/gstnettimepacket.h:
20340 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20342 * docs/faq/using.xml:
20343 * docs/libs/tmpl/gstcontrol.sgml:
20344 * docs/manual/advanced-dparams.xml:
20345 * docs/manual/appendix-checklist.xml:
20346 * docs/manual/basics-elements.xml:
20347 * docs/pwg/other-source.xml:
20348 * docs/random/moving-plugins:
20350 * tools/gst-launch.1.in:
20351 remove mentions of sinesrc
20353 2005-11-23 Michael Smith <msmith@fluendo.com>
20355 * docs/gst/gstreamer-sections.txt:
20356 Update for new API and API changes.
20358 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20360 Documentation typo fix.
20361 * gst/net/gstnettimepacket.c:
20362 Documentation fixes for arguments.
20364 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20366 * gst/gststructure.c: (gst_structure_get_fraction),
20367 (gst_structure_parse_value),
20368 (gst_structure_fixate_field_nearest_fraction):
20369 * gst/gststructure.h:
20370 * gst/gstutils.c: (gst_util_uint64_scale_int):
20372 * scripts/update-funcnames:
20374 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20375 Make gst_structure_fixate_field_nearest_fraction take a numerator
20376 and denominator argument instead of a GValue
20377 add gst_structure_get_fraction helper function.
20379 2005-11-23 Wim Taymans <wim@fluendo.com>
20381 * docs/design/part-TODO.txt:
20384 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20385 * gst/net/gstnetclientclock.h:
20386 Use parent fields for timeout and window_size.
20388 2005-11-23 Andy Wingo <wingo@pobox.com>
20390 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20391 rate_num/rate_denom change.
20393 * gst/net/gstnetclientclock.c
20394 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20395 OBJECT_LOCK. Don't call add_observation with the lock.
20397 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20399 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20401 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20402 deal with rate as a fraction whose numerator and denominator are
20403 GstClockTime values.
20404 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20405 master; the other fields are protected by the SLAVE_LOCK.
20406 (do_linear_regression): Note that this must be called with the
20408 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20409 OBJECT_LOCK. Call set_calibration instead of touching the
20410 variables directly.
20411 (gst_clock_set_property, gst_clock_get_property): Protect
20412 master/slave parameters with the SLAVE_LOCK.
20414 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20415 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20416 note that all of the instance variables that add_observation and
20417 the set_master functions use are protected by that lock and not
20419 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20421 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20422 the caller to take the object lock.
20424 2005-11-23 Wim Taymans <wim@fluendo.com>
20426 * gst/gsterror.c: (_gst_core_errors_init):
20428 Add error for clock stuff.
20430 * gst/gstpipeline.c: (gst_pipeline_change_state),
20431 (gst_pipeline_set_clock):
20432 Post clock error when clock cannot be used in a pipeline.
20434 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20436 * docs/gst/gstreamer-sections.txt:
20437 make two symbols from gstinfo private for the docs
20438 * gst/base/gstcollectpads.h:
20440 fix doc typos, update docs
20442 2005-11-22 Wim Taymans <wim@fluendo.com>
20444 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20445 (gst_base_sink_wait), (gst_base_sink_do_sync),
20446 (gst_base_sink_handle_event):
20447 * gst/base/gstbasesink.h:
20448 No need to store the clock, the parent element class already
20451 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20452 Updates for clock_set returning a gboolean
20454 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20455 (gst_clock_id_wait_async), (gst_clock_class_init),
20456 (gst_clock_init), (gst_clock_finalize),
20457 (gst_clock_get_internal_time), (gst_clock_get_time),
20458 (gst_clock_slave_callback), (gst_clock_set_master),
20459 (gst_clock_get_master), (do_linear_regression),
20460 (gst_clock_add_observation), (gst_clock_set_property),
20461 (gst_clock_get_property):
20463 Implement master/slave. When setting a clock as a slave, a
20464 periodic timeout is scheduled to sample master and slave times.
20465 Then the slave clock is recalibrated to match offset and rate
20466 of the master clock.
20467 Update logging a bit.
20468 Add flag so that a clock can state that is cannot be slaved to
20471 * gst/gstelement.c: (gst_element_set_clock):
20472 * gst/gstelement.h:
20473 The set clock returns a gboolean for when an element cannot
20474 deal with the selected clock in the pipeline.
20476 * gst/gstpipeline.c: (gst_pipeline_change_state),
20477 (gst_pipeline_set_clock):
20478 * gst/gstpipeline.h:
20479 Handle the case where the selected clock cannot be set on
20482 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20483 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20484 (gst_net_client_clock_set_property),
20485 (gst_net_client_clock_get_property),
20486 (gst_net_client_clock_observe_times):
20487 * gst/net/gstnetclientclock.h:
20488 Use regression code in GstClock parent, remove duplicated
20491 2005-11-22 Michael Smith <msmith@fluendo.com>
20493 * gst/gstutils.c: (gst_util_clock_time_scale):
20495 * docs/gst/gstreamer-sections.txt:
20496 Rename method to have extra underscore.
20498 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20500 * gst/elements/Makefile.am:
20501 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20502 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20503 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20504 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20505 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20506 * gst/elements/gstfakesrc.h:
20507 * gst/gstqueue.c: (queue_leaky_get_type):
20508 correctly fix GEnumValues so that nick is the short lowercase
20510 * tools/gst-inspect.c: (print_element_properties_info):
20511 also show the nick, since it's useful to use from parse_launch
20515 2005-11-22 Michael Smith <msmith@fluendo.com>
20517 * gst/gstutils.c: (gst_util_clocktime_scale):
20519 * docs/gst/gstreamer-sections.txt:
20520 Add util method for scaling a clocktime by a fraction. Useful
20521 implementation is left as an exercise for the reader.
20523 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20525 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20526 If needed, allocate storage in the destination value during
20529 2005-11-22 Edward Hervey <edward@fluendo.com>
20531 * docs/gst/gstreamer-sections.txt:
20534 * gst/gsturitype.c:
20535 * gst/gsturitype.h:
20536 * gst/gstutils.c: (gst_util_set_object_arg):
20537 * tools/gst-compprep.c: (main):
20538 * tools/gst-inspect.c: (print_element_properties_info):
20539 Removed GstURI, closes bug #321061
20541 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20543 * check/gst/gststructure.c: (GST_START_TEST):
20544 * gst/gststructure.c: (gst_structure_parse_value):
20545 Oops, broke automatic string type parsing.
20546 Add a test to catch it in future.
20548 2005-11-22 Andy Wingo <wingo@pobox.com>
20550 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20551 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20552 Actually rename the function implementations. Grr.
20554 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20556 * check/gst/capslist.h:
20558 * check/gst/gststructure.c: (GST_START_TEST),
20559 (gst_structure_suite):
20560 Test automatic value type detection in gst_structure_from_string.
20561 * gst/gststructure.c: (gst_structure_parse_value):
20562 Add fraction as a type we try and guess automatically in
20563 caps/structure strings.
20565 2005-11-22 Andy Wingo <wingo@pobox.com>
20567 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20569 * gst/gsttagsetter.h:
20570 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20571 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20572 (gst_tag_setter_add_tag_valist)
20573 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20574 _add_values, _add_valist, and _add_valist_values. Since this is an
20575 interface the function suffixes should be more explicit so
20576 language binding don't end up with element.add_valist ->
20577 gst_tag_setter_add_valist, for example. Fixes #322069.
20579 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20581 * check/gst/gstcaps.c: (GST_START_TEST):
20582 Extend caps string tests to check that a caps to string
20583 conversion is reversible and produces the same caps.
20585 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20586 Output "fraction" as the generic type fraction range, so caps
20587 serialisation and deserialisation works.
20588 * check/gst/capslist.h:
20589 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20590 Support 'MIN' and 'MAX' for deserialising fractions.
20592 2005-11-22 Andy Wingo <wingo@pobox.com>
20594 * gst/gstevent.h (gst_event_new_new_segment)
20595 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20596 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20597 Renamed from *_newsegment, *_buffersize, *_notarget.
20599 * scripts/update-funcnames: New script, performs the changes
20602 2005-11-22 Wim Taymans <wim@fluendo.com>
20604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20605 Make sure the GstFlowReturn is returned.
20607 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20608 (gst_bus_add_signal_watch):
20610 add gst_bus_add_signal_watch_full.
20612 * gst/gstplugin.c: (gst_plugin_load_file):
20613 Small style cleanup.
20615 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20617 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20618 Block the fakesrc srcpad when we send an event, to avoid
20619 contention on the stream_lock causing random test failures.
20621 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20623 * check/gst/gstvalue.c: (GST_START_TEST):
20624 * gst/gstvalue.c: (gst_value_fraction_subtract):
20627 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20630 include "gstchildproxy.h"
20631 * gst/gstchildproxy.h:
20632 * libs/gst/controller/gstcontroller.h:
20633 use G_GNUC_NULL_TERMINATED
20635 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20637 * check/gst/capslist.h:
20638 * check/gst/gstcaps.c: (GST_START_TEST):
20639 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20640 * gst/gststructure.c: (gst_structure_parse_range),
20641 (gst_structure_fixate_field_nearest_fraction):
20642 * gst/gststructure.h:
20643 * gst/gstvalue.c: (gst_value_init_fraction_range),
20644 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20645 (gst_value_collect_fraction_range),
20646 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20647 (gst_value_set_fraction_range_full),
20648 (gst_value_get_fraction_range_min),
20649 (gst_value_get_fraction_range_max),
20650 (gst_value_serialize_fraction_range),
20651 (gst_value_transform_fraction_range_string),
20652 (gst_value_compare_fraction_range),
20653 (gst_value_deserialize_fraction_range),
20654 (gst_value_intersect_fraction_fraction_range),
20655 (gst_value_intersect_fraction_range_fraction_range),
20656 (gst_value_subtract_fraction_fraction_range),
20657 (gst_value_subtract_fraction_range_fraction),
20658 (gst_value_subtract_fraction_range_fraction_range),
20659 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20660 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20661 (gst_value_transform_string_fraction), (_gst_value_initialize):
20663 Implement fraction ranges and extend GstFraction to support
20664 arithmetic subtraction, as well as deserialization from integer
20665 strings such as "100"
20666 Add a testsuite as for int and double range set operations
20668 2005-11-21 Andy Wingo <wingo@pobox.com>
20670 * gst/gsttaglist.h:
20672 * gst/gststructure.h: Add glib-compat.h.
20674 2005-11-21 Wim Taymans <wim@fluendo.com>
20676 * gst/gstbin.c: (gst_bin_change_state_func):
20679 2005-11-21 Wim Taymans <wim@fluendo.com>
20681 * gst/gstsegment.h:
20682 And add a nice define too.
20684 2005-11-21 Wim Taymans <wim@fluendo.com>
20686 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20687 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20688 (gst_segment_set_duration), (gst_segment_set_last_stop),
20689 (gst_segment_set_seek), (gst_segment_set_newsegment),
20690 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20691 (gst_segment_clip):
20692 * gst/gstsegment.h:
20693 Make binding friendly.
20695 2005-11-21 Andy Wingo <wingo@pobox.com>
20697 * gst/gsttagsetter.h:
20698 * gst/gsttaglist.h:
20699 * gst/gststructure.h:
20701 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20704 * gst/gsterror.c (_gst_core_errors_init):
20705 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20708 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20709 (noinst_HEADERS): noinst the -private.
20711 2005-11-21 Michael Smith <msmith@fluendo.com>
20714 * gst/gstregistry.h:
20715 Remove unimplemented declarations for which we can see no sensible
20718 2005-11-21 Andy Wingo <wingo@pobox.com>
20720 * gst/gst.h: Include glib-compat.h.
20722 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20724 * gst/glib-compat.c: Include the public and the private header.
20726 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20730 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20732 * check/gst/gstevent.c (create_custom_events): Check that
20733 FLUSH_STOP is serialized.
20735 * check/elements/identity.c (event_func):
20736 * check/elements/fakesrc.c (event_func): No stream lock, the core
20739 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20740 stream lock taking, yay.
20742 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20743 ensure that core takes the stream lock.
20745 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20748 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20749 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20750 it already. For the flush start we do take it though so we get the
20751 right preroll state change messages.
20753 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20754 the stream lock here, the core does it for us.
20756 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20757 GST_STREAM_GET_LOCK.
20758 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20759 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20760 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20761 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20762 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20763 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20765 * gst/gstpad.c: Update for stream lock name change.
20767 * gst/base/gstbasesink.c: Update for preroll lock name change.
20769 2005-11-21 Wim Taymans <wim@fluendo.com>
20771 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20772 (gst_clock_get_master):
20774 * gst/gstsystemclock.c: (gst_system_clock_init):
20775 Convert Clock flags to object flags.
20776 Added methods to manage master/slave clocks.
20778 2005-11-21 Wim Taymans <wim@fluendo.com>
20780 * check/gst/gstsegment.c: (GST_START_TEST):
20781 * docs/design/part-TODO.txt:
20782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20783 (gst_base_sink_event), (gst_base_sink_do_sync),
20784 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20785 (gst_base_sink_query), (gst_base_sink_change_state):
20786 * gst/base/gstbasesink.h:
20787 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20788 (gst_base_src_default_newsegment),
20789 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20790 (gst_base_src_get_range), (gst_base_src_loop),
20791 (gst_base_src_change_state):
20792 * gst/base/gstbasesrc.h:
20793 * gst/base/gstbasetransform.c:
20794 (gst_base_transform_prepare_output_buf),
20795 (gst_base_transform_event), (gst_base_transform_change_state):
20796 * gst/base/gstbasetransform.h:
20797 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20798 (gst_collect_pads_event):
20799 * gst/base/gstcollectpads.h:
20800 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20801 (gst_fake_src_create):
20802 * gst/elements/gstfakesrc.h:
20803 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20804 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20805 (gst_segment_set_last_stop), (gst_segment_set_seek),
20806 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20807 (gst_segment_to_running_time), (gst_segment_clip):
20808 * gst/gstsegment.h:
20809 More segment updates, replace code in plugins with segment
20812 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20814 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20815 Don't ignore sscanf results
20817 2005-11-21 Andy Wingo <wingo@pobox.com>
20819 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20822 * *.c: Ran scripts/update-macros. Oh yes.
20824 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20825 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20828 * scripts/update-macros: New script. Run it on your files to
20829 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20832 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20834 * docs/gst/Makefile.am:
20835 * docs/gst/gstreamer-docs.sgml:
20836 * docs/gst/gstreamer-sections.txt:
20837 * docs/gst/gstreamer.types:
20839 more docs fixes, add new api to the docs
20841 2005-11-21 Andy Wingo <wingo@pobox.com>
20843 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20844 state_broadcast call.
20846 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20848 2005-11-21 Julien MOUTTE <julien@moutte.net>
20850 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20851 function calls for arrays.
20853 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20855 * docs/random/ensonic/media-device-daemon.txt:
20856 wild idea, can this be done?
20857 * docs/gst/gstreamer-sections.txt:
20862 * gst/gstpluginfeature.c:
20866 doc fixes and additions
20868 2005-11-21 Andy Wingo <wingo@pobox.com>
20870 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20871 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20872 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20873 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20874 private to the basesrc implementation.
20876 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20877 behalf of event function if necessary. It should no longer be
20878 necessary to take the stream lock in pad's event functions. Fixes
20881 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20882 * docs/gst/gstreamer-sections.txt:
20883 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20884 (gst_structure_fixate_field_nearest_double),
20885 (gst_structure_fixate_field_boolean):
20886 * gst/gststructure.h:
20887 * win32/common/libgstreamer.def:
20888 * win32/gstreamer.def:
20890 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20893 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20895 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20896 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20897 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20898 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20899 (gst_fdsrc_uri_handler_init):
20900 * gst/elements/gstfdsrc.h:
20901 Port fd:// URI handler from 0.8 to fdsrc
20903 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20905 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20906 (gst_value_serialize_fourcc):
20908 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20909 consistent with our other format defines (#320324).
20911 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20913 * gst/gstvalue.c: (gst_value_is_fixed):
20914 Revert previous commit. Value lists are by definition
20915 not fixed, as they are a list of possible values.
20917 2005-11-21 Andy Wingo <wingo@pobox.com>
20919 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20920 during the stable series if we need it. Fixes #319178.
20922 * gst/gstevent.c (gst_event_new_filler): Removed.
20924 * check/gst/gstevent.c: Update comment about filler events.
20926 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20928 * gst/gstvalue.c: (gst_value_is_fixed):
20929 Should handle both value arrays and value lists.
20931 2005-11-21 Andy Wingo <wingo@pobox.com>
20933 patch by: Alessandro Dessina <alessandro nnva org>
20935 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20936 functions to access arrays. Fixes #321962.
20938 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20940 * docs/gst/gstreamer.types:
20941 gst_collectpads_get_type => gst_collect_pads_get_type.
20943 * gst/base/gstbasetransform.c:
20944 Remove unused SIGNAL_HANDOFF enum.
20946 2005-11-21 Andy Wingo <wingo@pobox.com>
20948 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20949 the event type (upstream, downstream, serialized). Renamed
20950 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20951 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20952 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20954 * gst/gstevent.c: Update for new CUSTOM event names.
20956 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20959 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20962 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20964 * docs/gst/gstreamer-sections.txt:
20965 * win32/common/libgstbase.def:
20966 * win32/libgstbase.def:
20967 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20968 (gst_collect_pads_class_init), (gst_collect_pads_init),
20969 (gst_collect_pads_finalize), (gst_collect_pads_new),
20970 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20971 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20972 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20973 (gst_collect_pads_start), (gst_collect_pads_stop),
20974 (gst_collect_pads_peek), (gst_collect_pads_pop),
20975 (gst_collect_pads_available), (gst_collect_pads_read),
20976 (gst_collect_pads_flush), (gst_collect_pads_event),
20977 (gst_collect_pads_chain):
20978 * gst/base/gstcollectpads.h:
20979 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20980 unimplemented functions as unimplemented. Add padding to
20981 GstCollectData. (#320766, #320423)
20983 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20985 * gst/gstmessage.c:
20986 Improve docs for DURATION message (usage of duration parameter)
20989 2005-11-20 Wim Taymans <wim@fluendo.com>
20991 * check/Makefile.am:
20992 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20996 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20997 (gst_segment_set_seek), (gst_segment_set_newsegment),
20998 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20999 (gst_segment_clip):
21000 * gst/gstsegment.h:
21001 Added segment helper structure and methods. Not fully implemented
21003 Added segment check.
21005 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21007 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21008 Add a deserialisation test for fractions
21009 * examples/metadata/read-metadata.c: (message_loop),
21010 (make_pipeline), (main):
21011 Fix up metadata reading sample.
21012 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21014 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21015 Don't try and fixate empty caps
21016 * gst/gst_private.h:
21017 Wrap in G_BEGIN_DECLS/G_END_DECLS
21018 * gst/gstvalue.c: (gst_value_collect_fraction),
21019 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21020 (gst_value_transform_string_fraction),
21021 (gst_value_compare_fraction):
21022 Add some extra guards to ensure that we don't end up
21023 with an invalid denominator of 0 in a gstfraction and
21024 that fractions always get reduced.
21026 2005-11-20 Wim Taymans <wim@fluendo.com>
21028 * docs/gst/gstreamer-sections.txt:
21030 * gst/gstelement.c:
21039 2005-11-20 Wim Taymans <wim@fluendo.com>
21041 * docs/design/part-TODO.txt:
21043 Make a proper enum of the flag.
21045 2005-11-19 Wim Taymans <wim@fluendo.com>
21047 * docs/design/part-TODO.txt:
21048 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21049 (gst_format_to_quark), (gst_format_register):
21051 * gst/gstquery.c: (_gst_query_initialize),
21052 (gst_query_type_get_name), (gst_query_type_to_quark),
21053 (gst_query_type_register):
21055 Add type to quark and type to string conversions.
21057 2005-11-19 Andy Wingo <wingo@pobox.com>
21059 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21062 2005-11-19 Wim Taymans <wim@fluendo.com>
21064 * docs/design/part-TODO.txt:
21065 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21066 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21067 (gst_bin_handle_message_func):
21069 Make message handling overridable.
21071 2005-11-19 Andy Wingo <wingo@pobox.com>
21073 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21076 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21078 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21079 is a GstClockTime. Fixes #321710.
21081 * gst/gstclock.h (GstClock): Remove offset property. Add
21082 internal_calibration and external_calibration. Fix padding. Pad
21083 also by GstClockTime so we don't run into problems.
21085 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21086 (gst_clock_get_rate_offset): Remove.
21087 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21090 * gst/gstutils.c (g_static_rec_cond_wait)
21091 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21093 * gst/gstbin.c: Remove terrible continue_state prototype.
21095 * gst/gstelement.h (gst_element_continue_state): Make public.
21097 * gst/gstelement.h:
21098 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21099 by continue_state. Fixes #319389.
21101 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21102 Really fixes #168438. However I don't see anywhere where the
21103 filter function is called... stupid GStreamer...
21105 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21106 don't have a dispose function, so it won't get called when the
21107 object is unreffed, but oh well!
21109 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21110 allows a destroy function to be set so user_data can be freed.
21112 (gst_index_set_filter): Call gst_index_set_filter_full.
21114 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21116 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21117 string should produce an error, given the lack of a way to
21118 represent NULL strings. Fixes #165650.
21121 * gst/gstvalue.c (gst_value_array_append_value)
21122 (gst_value_array_prepend_value, gst_value_array_get_size)
21123 (gst_value_array_get_value): New API, copied from
21124 gst_value_list_*, only operates on arrays.
21125 (gst_value_list_append_value, gst_value_list_prepend_value)
21126 (gst_value_list_concat, gst_value_list_get_size)
21127 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21129 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21130 init_list, because it works on both.
21131 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21132 (gst_value_copy_list_or_array): Renamed from copy_list.
21133 (gst_value_free_list_or_array): Renamed from free_list.
21134 (gst_value_collect_list_or_array): Renamed from collect_list.
21135 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21136 (gst_value_list_or_array_peek_pointer): Renamed from
21138 (_gst_value_array_value_table, _gst_value_list_value_table):
21139 Update value table functions.
21140 (gst_value_compare_list_or_array): Renamed from compare_list.
21142 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21145 * gst/gsttaglist.c:
21146 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21147 GstTagList*. Fixes #143472.
21149 * gst/gststructure.h: Clarify what the foreach/map functions can
21150 or can't do to their arguments.
21152 2005-11-18 Wim Taymans <wim@fluendo.com>
21154 * gst/gstclock.c: (gst_clock_set_calibration),
21155 (gst_clock_get_calibration):
21157 Calibration can be set with internal time equal to current
21160 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21166 2005-11-18 Andy Wingo <wingo@pobox.com>
21169 * pkgconfig/gstreamer-net.pc.in:
21170 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21171 * pkgconfig/Makefile.am: Add net pkgconfig files.
21173 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21176 * gst/gstghostpad.c:
21182 2005-11-18 Andy Wingo <wingo@pobox.com>
21184 * gst/net/gstnetclientclock.c: Turn off debugging.
21186 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21187 times connverge somewhat. Can't make a real test.
21189 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21190 integer arithmetic. Return the minimum of the domain, which can be
21191 set as "internal" for gst_clock_set_calibration.
21192 (gst_net_client_clock_observe_times): Call _set_calibration.
21193 (gst_net_client_clock_new): Call _set_calibration instead of
21196 * check/net/gstnetclientclock.c (test_functioning): Use the right
21200 * gst/gstclock.c (gst_clock_get_calibration)
21201 (gst_clock_set_calibration): New functions, obsolete the ones I
21202 added yesterday. Doh. Precision issues mean we have to extrapolate
21203 from a point in the more recent past than 1970.
21204 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21206 (gst_clock_adjust_unlocked): Use the right calibration data.
21208 2005-11-18 Edward Hervey <edward@fluendo.com>
21210 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21211 Also reset the ->current_* values in READY->PAUSED
21213 2005-11-18 Andy Wingo <wingo@pobox.com>
21215 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21216 Whoops, check the right fd. Also add some debugging.
21217 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21218 (do_linear_regression): Add a crapload of debugging. Subtract off
21219 the minimum values from the input series to discard unneeded bits.
21220 Use only int arithmetic. There is still double arithmetic when
21221 calculating the intercept that needs fixing. Return boolean to
21222 indicate success; FALSE would mean the domain or range is too
21223 great. Still needs fixes.
21225 2005-11-18 Wim Taymans <wim@fluendo.com>
21227 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21228 For the current position in stream time, we need to subtract
21231 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21232 Release lock before calling the callback function of async
21235 2005-11-18 Andy Wingo <wingo@pobox.com>
21237 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21238 Port goes all the way to MAXUINT16.
21240 * gst/net/gstnettimeprovider.c: Make the port range the same as
21241 for the kernel: 0 assigns, otherwise ports are less than
21244 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21247 * check/net/gstnetclientclock.c (test_functioning): Add the start
21250 2005-11-18 Wim Taymans <wim@fluendo.com>
21252 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21253 (gst_bin_remove_func), (bin_bus_handler):
21255 Removing a clock provider from a bin, triggers a clock lost message
21256 so that a new clock will be selected.
21257 Adding a clock to a bin triggers a clock provider message.
21258 Make sure we reselect a clock when we received a clock lost message.
21259 Keep a reference to the element that provided the clock.
21261 2005-11-18 Andy Wingo <wingo@pobox.com>
21263 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21264 the clock initially so it produces values around the base time.
21265 (gst_net_client_clock_class_init): Typo fix.
21266 (gst_net_client_clock_thread): Add note on when the socket gets
21269 2005-11-17 Wim Taymans <wim@fluendo.com>
21271 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21272 Free remote and local time arrays.
21274 2005-11-17 Wim Taymans <wim@fluendo.com>
21276 * gst/net/gstnetclientclock.c: (do_linear_regression),
21277 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21278 Fix compilation, uninitialized vars and a forgotten continue.
21280 2005-11-17 Andy Wingo <wingo@pobox.com>
21282 * check/Makefile.am (check_PROGRAMS):
21283 * check/net/gstnetclientclock.c: Add a most minimal test for the
21284 net client clock. More to come later.
21286 * gst/net/gstnet.h:
21287 * gst/net/Makefile.am: Add netclientclock.
21289 * gst/net/gstnetclientclock.h:
21290 * gst/net/gstnetclientclock.c: New files, implement an untested
21291 GstClock that takes its time from a network time provider.
21292 Implements the algorithm in network-clock.scm.
21294 * tests/network-clock.scm (*window-size*): Rename from
21296 * tests/network-clock.scm (network-time):
21297 * tests/network-clock-utils.scm (q-push): Update callers.
21299 2005-11-17 Wim Taymans <wim@fluendo.com>
21301 * gst/gstbin.c: (gst_bin_provide_clock_func),
21302 (gst_bin_sort_iterator_new):
21303 And unref the child too..
21305 2005-11-17 Wim Taymans <wim@fluendo.com>
21307 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21308 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21309 Refactor the sort iterator so it can be used while holding the
21311 Make clock selection select a clock closest to the source.
21313 2005-11-17 Michael Smith <msmith@fluendo.com>
21315 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21316 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21318 Anonymous structs are a gcc (and some other compilers) extension, so
21319 don't use them. Since this is only for ABI-compatibility, and our
21320 API/ABI freeze is over in a few days, this whole thing will only
21321 last a few days, so don't bother trying to think up a meaningful
21322 name for the struct.
21324 2005-11-17 Andy Wingo <wingo@pobox.com>
21326 * gst/gstclock.h (GstClock): Add rate and offset properties,
21327 preserving ABI stability. Add rate/offset accessors. Will file bug
21328 for the freeze break.
21330 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21331 and offset, trying to keep precision and avoiding
21332 underflow/overflow.
21333 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21334 functions. Make gst_clock_set_time_adjust obsolete.
21335 (gst_clock_set_time_adjust): Note that this function is obsolete.
21336 Will file bug soon.
21338 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21339 greppable by using GST_PADDING-1+1.
21341 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21343 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21345 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21346 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21348 * gst/gstpadtemplate.h:
21349 * gst/gstpluginfeature.h:
21350 Don't use c++ style comments in headers (#321638).
21352 2005-11-16 Andy Wingo <wingo@pobox.com>
21354 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21357 * check/net/gstnettimeprovider.c: Check to see that the time
21358 provider actually provides times. Works, yo!
21360 2005-11-16 Wim Taymans <wim@fluendo.com>
21362 * check/Makefile.am:
21365 * check/elements/fakesrc.c: (GST_START_TEST):
21366 Set element to NULL before disposing it.
21368 2005-11-16 Andy Wingo <wingo@pobox.com>
21370 * gst/net/Makefile.am:
21371 * gst/net/gstnet.h:
21372 * gst/net/gstnettimeprovider.c:
21373 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21374 provider, include it from gstnet.h, and add it to the build.
21376 * gst/net/gstnettimepacket.h:
21377 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21378 sending and receiving.
21380 2005-11-16 Wim Taymans <wim@fluendo.com>
21382 * check/Makefile.am:
21383 Enable valgrind check.
21385 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21386 (gst_fake_src_alloc_buffer):
21389 2005-11-16 Wim Taymans <wim@fluendo.com>
21391 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21392 Call parent finalize too.
21394 2005-11-16 Wim Taymans <wim@fluendo.com>
21396 * check/Makefile.am:
21397 Enable valgrind check that should work fine now.
21399 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21400 * gst/gstqueue.c: (gst_queue_init):
21401 Fix memleaks in pad allocation.
21403 2005-11-16 Andy Wingo <wingo@pobox.com>
21405 * gst/net/Makefile.am:
21406 * gst/net/gstnet.h: New part of core to hold network elements and
21407 objects. Put in core because it exposes API that applications want
21408 to use. The library is named libgstnet-tempname right now because
21409 of the existing libgstnet in gst-plugins-base. Solution is
21410 probably to rename the one in plugins-base; will file a bug for
21413 * gst/net/gstnettimeprovider.c:
21414 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21415 get_time call over the network.
21418 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21420 * check/Makefile.am:
21421 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21422 get additions shortly.
21424 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21426 * gst/gstpad.c: (gst_pad_new_from_static_template):
21428 add gst_pad_new_from_static_template functions
21429 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21430 (gst_check_setup_sink_pad):
21431 * gst/elements/gsttee.c: (gst_tee_init):
21434 2005-11-16 Wim Taymans <wim@fluendo.com>
21436 * gst/gstpad.c: (gst_pad_pause_task):
21437 Removed warning, it's not really an error either.
21439 2005-11-16 Wim Taymans <wim@fluendo.com>
21441 * gst/base/gstbasetransform.c:
21442 (gst_base_transform_prepare_output_buf),
21443 (gst_base_transform_event):
21444 Check if the caps are NULL, this can happen if the element
21445 is shutting down and the pad caps are set to NULL.
21447 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21449 * gst/elements/gsttee.c: (gst_tee_init):
21450 fix pad template leak in tee
21452 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21454 * gst/glib-compat.c: (g_value_dup_gst_object):
21455 * gst/glib-compat.h:
21456 * gst/gstpad.c: (gst_pad_set_property):
21457 use gst_object_ref when setting the pad template; this will
21458 trigger the pad template leaks on GLib 2.6 and the slaves
21460 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21462 * gst/glib-compat.c: (gst_flags_get_first_value):
21463 * gst/glib-compat.h:
21464 * gst/gstregistryxml.c:
21465 remove functions copied from GLib 2.6
21467 2005-11-16 Michael Smith <msmith@fluendo.com>
21470 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21471 do, but only breaks with newer valgrind versions. We're not a
21472 valgrind tool, we have no link-time dependencies on libcoregrind.
21474 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21476 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21478 * gst/gstmessage.h:
21481 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21483 * gst/base/gstbasesrc.c: (gst_base_src_init):
21484 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21485 * gst/gstqueue.c: (gst_queue_init):
21486 * gst/gstregistryxml.c: (load_feature):
21487 Revert all these unrefs, they don't even pass make check !
21489 2005-11-15 Johan Dahlin <johan@gnome.org>
21491 * gst/base/gstbasesrc.c: (gst_base_src_init):
21492 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21493 * gst/gstqueue.c: (gst_queue_init):
21494 Free pad templates, fixes a couple of leaks.
21496 2005-11-15 Daniel Fischer <dan at f3c dot com>
21498 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21500 * gst/gstpad.c: (gst_pad_get_property):
21501 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21502 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21505 2005-11-15 Wim Taymans <wim@fluendo.com>
21510 2005-11-15 Andy Wingo <wingo@pobox.com>
21512 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21514 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21515 using GST_CLOCK_TIME_NONE to disable base time management.
21516 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21517 time if it was NONE before.
21518 (gst_pipeline_change_state): Only munge the base time if
21519 stream_time != GST_CLOCK_TIME_NONE.
21521 * check/gst/gstpipeline.c (test_base_time): Punt around the
21522 problem of the probe not being called, because that's not the
21523 issue I'm looking at. Add a check that setting stream_time to NONE
21524 disables base time management.
21526 2005-11-15 Wim Taymans <wim@fluendo.com>
21528 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21529 segment_stop == -1 at startup.
21531 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21532 (gst_base_transform_change_state):
21533 Init segment values at start.
21535 2005-11-15 Wim Taymans <wim@fluendo.com>
21537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21538 0 segment values are 0 in any format.
21540 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21541 * gst/base/gstbasetransform.h:
21542 Parse newsegment correctly in basetransform
21544 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21545 Sync to clock using updated segment values.
21547 2005-11-15 Andy Wingo <wingo@pobox.com>
21549 * check/gst/gstpipeline.c (test_base_time): Add check that the
21550 base time and stream time are reset correctly.
21552 2005-11-15 Wim Taymans <wim@fluendo.com>
21554 * docs/design/part-TODO.txt:
21555 Some more TODO items.
21557 2005-11-15 Andy Wingo <wingo@pobox.com>
21559 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21560 error if the user selected "no clock" as the clocking method.
21562 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21563 timestamps with live capture.
21565 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21566 is 0 but we are a live source, timestamp the buffers using the
21569 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21571 * docs/gst/gstreamer-sections.txt:
21573 * gst/gstghostpad.c:
21578 2005-11-14 Wim Taymans <wim@fluendo.com>
21581 add suppressions from Wim's Debian machine
21583 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21586 add suppressions from Andy's AMD64 Ubuntu machine
21588 2005-11-14 Andy Wingo <wingo@pobox.com>
21590 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21591 STATE_LOCK not necessary. Fixes #311489.
21593 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21596 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21597 this function is not implemented.
21599 2005-11-14 Julien MOUTTE <julien@moutte.net>
21601 * gst/base/gstbasetransform.c:
21602 (gst_base_transform_prepare_output_buf):
21603 Ref the source pad caps while we need them.
21606 2005-11-11 Wim Taymans <wim@fluendo.com>
21608 * docs/gst/gstreamer-sections.txt:
21609 Added some docs for GstCollectData.
21611 * gst/base/gstadapter.c:
21612 Some small code example fix.
21614 * gst/base/gstcollectpads.c:
21615 * gst/base/gstcollectpads.h:
21616 Document some more.
21618 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21620 * configure.ac: back to HEAD
21622 === release 0.9.5 ===
21624 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21627 releasing 0.9.5, "Bike Lunch Day"
21629 2005-11-11 Wim Taymans <wim@fluendo.com>
21631 * gst/gstbuffer.c: (_gst_buffer_copy):
21634 * gst/gstcaps.c: (gst_caps_is_equal):
21636 Make _is_equal fast in the trivial cases.
21638 * gst/gstminiobject.c:
21639 * gst/gstminiobject.h:
21640 More docs. Spifify .h file.
21645 2005-11-11 Wim Taymans <wim@fluendo.com>
21647 * gst/base/gstbasetransform.c:
21648 (gst_base_transform_prepare_output_buf),
21649 (gst_base_transform_handle_buffer):
21651 If we're processing a buffer and need to allocate an output
21652 buffer, we cannot accept a format change. If we did get a
21653 format change, we have to alloc a buffer ourselves of the
21656 2005-11-11 Wim Taymans <wim@fluendo.com>
21658 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21659 While checking the flag for reentrancy in the gstcaps function
21660 is nice to detect recursive invocations, it also makes it
21661 impossible to call getcaps from multiple threads, which must be
21662 possible. So, checking for recursive calls has to go.
21664 2005-11-11 Michael Smith <msmith@fluendo.com>
21666 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21667 Don't sync on buffers that fall partially outside our current
21668 segment. Prevents an assertion failure/abort playing some files.
21670 2005-11-10 Andy Wingo <wingo@pobox.com>
21672 * check/gst/gstbin.c (test_message_state_changed_children): Style
21675 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21676 gst_bus_poll with the signal watch. Ensures that poll and a signal
21677 watch see the same messages.
21679 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21680 a poll and a watch at the same time get the same messages.
21682 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21684 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21685 * gst/gstcaps.c: (gst_caps_intersect):
21686 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21687 and it's not needed.
21689 2005-11-10 Wim Taymans <wim@fluendo.com>
21691 * docs/design/part-TODO.txt:
21694 2005-11-10 Wim Taymans <wim@fluendo.com>
21696 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21697 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21698 (gst_base_src_do_sync), (gst_base_src_get_range):
21699 Implement clock sync in base class.
21701 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21703 patch by: Tim-Philipp Müller <tim at centricular dot net>
21705 * gst/gststructure.c: (gst_structure_parse_field),
21706 (gst_structure_from_string):
21707 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21708 so that gst_parse_launch() can deal with spaces in filtered link
21709 caps (fixes #164479)
21710 * check/gst/capslist.h:
21711 * check/gst/gststructure.c: (GST_START_TEST):
21712 add unit tests for this change
21714 2005-11-10 Wim Taymans <wim@fluendo.com>
21716 * docs/gst/gstreamer-sections.txt:
21717 * gst/gstelement.c:
21718 * gst/gstelement.h:
21719 Fix docs, move some STATE macros to private.
21721 2005-11-10 Wim Taymans <wim@fluendo.com>
21723 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21724 Added check for bug #317341
21728 Some more spiffifying.
21730 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21731 Call peer linkfunction if we are a source pad. Totally fixes
21735 Update docs, source pads should call the peer linkfunction
21736 so they can atomically perform the pad link.
21738 2005-11-09 Wim Taymans <wim@fluendo.com>
21742 Uber-spiffy-spiffify some more.
21744 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21746 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21747 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21748 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21749 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21750 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21751 * gst/gstpad.c: (gst_pad_init):
21752 Use GST_DEBUG_FUNCPTR() more extensively.
21754 2005-11-09 Wim Taymans <wim@fluendo.com>
21756 * gst/gstobject.c: (gst_object_class_init):
21758 Documentation fixes.
21760 2005-11-09 Edward Hervey <edward@fluendo.com>
21762 * gst/gsttypefindfactory.c:
21765 2005-11-09 Edward Hervey <edward@fluendo.com>
21767 * gst/base/gsttypefindhelper.c:
21768 * gst/gsttypefind.c:
21769 * gst/gsttypefind.h:
21772 2005-11-09 Wim Taymans <wim@fluendo.com>
21774 * gst/gstiterator.c:
21781 2005-11-09 Wim Taymans <wim@fluendo.com>
21787 2005-11-09 Wim Taymans <wim@fluendo.com>
21789 * docs/gst/gstreamer-sections.txt:
21790 Moved the message async delivery private lock and cond
21791 to the private section.
21793 * gst/gstmessage.c:
21794 * gst/gstmessage.h:
21797 2005-11-09 Edward Hervey <edward@fluendo.com>
21799 * docs/gst/gstreamer-sections.txt:
21802 Document GstURIHandler
21804 2005-11-09 Wim Taymans <wim@fluendo.com>
21806 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21807 (gst_iterator_find_custom):
21808 * gst/gstiterator.h:
21811 2005-11-09 Wim Taymans <wim@fluendo.com>
21814 Document another field.
21816 * gst/gststructure.c:
21817 * gst/gststructure.h:
21820 2005-11-09 Wim Taymans <wim@fluendo.com>
21823 Documented structs.
21825 2005-11-09 Wim Taymans <wim@fluendo.com>
21827 * docs/gst/gstreamer-sections.txt:
21828 Added some new macros.
21835 2005-11-09 Wim Taymans <wim@fluendo.com>
21837 * docs/design/part-TODO.txt:
21838 Some more items for the TODO
21844 2005-11-09 Andy Wingo <wingo@pobox.com>
21846 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21847 to work on something else now tho...
21849 * gst/base/gstadapter.c: More adapter docs.
21851 * gst/elements/gstfilesink.c (gst_file_sink_start)
21852 (gst_file_sink_stop): New functions, replace the state change
21854 (gst_file_sink_class_init): Hook up the start and stop functions.
21855 (gst_file_sink_base_init): Don't set the state change handler any
21856 more. It was a bit ugly too, being set from here...
21857 (gst_file_sink_get_property, gst_file_sink_set_property):
21859 (gst_file_sink_set_location): More robust check that doesn't call
21860 GST_STATE. Ugggggg.
21862 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21864 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21865 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21867 2005-11-08 Wim Taymans <wim@fluendo.com>
21869 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21870 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21871 (gst_base_sink_chain), (gst_base_sink_change_state):
21872 * gst/base/gstbasesink.h:
21873 * gst/base/gstbasesrc.h:
21874 * gst/gstelement.h:
21876 Avoid excessive typechecking in macros.
21878 * gst/gstminiobject.c: (gst_mini_object_get_type),
21879 (gst_mini_object_init), (gst_mini_object_new),
21880 (gst_mini_object_free):
21881 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21882 (gst_object_finalize):
21883 Remove cruft code, optimize alloc_trace.
21885 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21887 * docs/faq/gst-uninstalled:
21888 fix up PS1 for systems that try to reset it
21890 2005-11-07 Wim Taymans <wim@fluendo.com>
21892 * gst/base/gstbasesrc.c: (gst_base_src_init),
21893 (gst_base_src_get_range):
21894 Set the segment_end to -1 initially. Fixed typefind.
21896 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21898 * gst/base/gstadapter.c:
21899 Debug category should be 'adapter', not 'GstAdapter'.
21901 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21902 (gst_collectpads_class_init), (gst_collectpads_init),
21903 (gst_collectpads_peek), (gst_collectpads_pop),
21904 (gst_collectpads_event), (gst_collectpads_chain):
21905 Add debug category and some debugging output. Use boilerplate
21906 macros. Remove some extraneous words from docs.
21908 2005-11-05 Andy Wingo <wingo@pobox.com>
21910 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21913 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21915 * docs/gst/gstreamer-sections.txt:
21918 * gst/gstminiobject.h:
21923 2005-11-04 Wim Taymans <wim@fluendo.com>
21925 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21926 Small update to stop at the configured segment_end
21929 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21931 * gst/gstregistry.c:
21932 * gst/gstregistry.h:
21935 2005-11-04 Edward Hervey <edward@fluendo.com>
21937 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21938 Check if we are doing a segment seek and have arrived at the
21939 end of that segment.
21941 2005-11-04 Wim Taymans <wim@fluendo.com>
21943 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21944 Don't leak a mutex unlock in case of an error.
21949 2005-11-04 Wim Taymans <wim@fluendo.com>
21951 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21953 Get the context to wake up only once.
21955 2005-11-03 Wim Taymans <wim@fluendo.com>
21957 * check/states/sinks.c: (GST_START_TEST):
21958 Uncomment fixed check.
21960 * docs/design/part-TODO.txt:
21963 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21964 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21965 (gst_base_sink_get_position):
21966 If we are going to PLAYING, post the right pending state
21967 when we post the intermediate paused message.
21969 * gst/gstelement.c: (gst_element_continue_state),
21970 (gst_element_set_state_func), (gst_element_change_state):
21971 Don't post state changes that were between the same state
21972 and were not ASYNC.
21974 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21976 * docs/gst/gstreamer-sections.txt:
21979 * gst/gstminiobject.h:
21982 more docs and doc style fixes
21984 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21986 * docs/gst/gstreamer-sections.txt:
21987 * gst/gstelement.c:
21988 * gst/gstminiobject.c:
21991 2005-11-03 Andy Wingo <wingo@pobox.com>
21993 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21994 state-changed messages actually have the right order and the right
21997 2005-11-03 Wim Taymans <wim@fluendo.com>
21999 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22000 Added some more checks. Specifically the case where NO_PREROLL
22001 elements are in the pipeline.
22003 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22004 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22005 (gst_base_sink_get_position):
22006 Post READY->PAUSED state change messages too.
22007 Fix bug where VOID was posted as pending state...
22009 * gst/gstbin.c: (gst_bin_recalc_state):
22010 use _element_continue_state() to continue the state change.
22012 * gst/gstelement.c: (gst_element_continue_state),
22013 (gst_element_commit_state), (gst_element_set_state_func),
22014 (gst_element_change_state), (gst_element_change_state_func):
22015 Lots of state change cleanups, assign the STATE_RETURN in
22016 a new continue_state() function that also propagates the
22017 last return value from a state change to the app.
22018 Update some debug statements with proper category.
22020 2005-11-03 Wim Taymans <wim@fluendo.com>
22022 * docs/design/part-events.txt:
22023 * docs/design/part-gstpipeline.txt:
22024 * docs/design/part-messages.txt:
22025 * docs/design/part-overview.txt:
22026 * docs/design/part-seeking.txt:
22027 * docs/design/part-states.txt:
22028 * docs/design/part-trickmodes.txt:
22029 * docs/manual/advanced-position.xml:
22030 Small docs updates.
22033 People think !! is ugly, this looks better.
22035 * gst/gstpad.c: (gst_pad_set_blocked_async):
22036 Remove !! since it's fixed elsewhere now.
22038 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22040 * gst/gstminiobject.h:
22042 Add !! to _FLAG_IS_SET macros to make the result boolean.
22044 2005-11-03 Edward Hervey <edward@fluendo.com>
22046 * gst/gstpad.c: (gst_pad_set_blocked_async):
22047 comparing a flag and a gboolean rarely returns coherent results...
22048 Added two characters (!!) to make that work correctly.
22050 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22052 * gst/gstbus.c: (gst_bus_class_init):
22055 * gst/gstqueue.c: (gst_queue_loop):
22056 Don't assume a miniobject that isn't a buffer is an
22057 event (it could be that there is a refcounting
22058 problem somewhere and the pointer is stale and
22059 refers to an already destroyed miniobject).
22061 2005-11-03 Julien MOUTTE <julien@moutte.net>
22063 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22065 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22067 * docs/manual/advanced-position.xml:
22068 Update seek example and explanations to current 0.9 API.
22070 * gst/elements/gsttypefindelement.c:
22071 (gst_type_find_element_activate):
22072 Remove FIXME comment now that the found caps
22075 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22077 * gst/gstregistryxml.c: (load_feature):
22078 Add another GST_STR_NULL instance
22080 2005-11-02 Edward Hervey <edward@fluendo.com>
22082 * gst/gstpad.c: (handle_pad_block):
22083 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22085 2005-11-02 Wim Taymans <wim@fluendo.com>
22090 * gst/gstelement.c: (gst_element_commit_state):
22091 Remove unused value.
22093 * gst/gstiterator.c:
22094 Mention that the returned element is reffed in the docs.
22096 2005-11-02 Wim Taymans <wim@fluendo.com>
22098 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22099 (gst_pad_push), (gst_pad_push_event):
22100 Unlock blocked pads when they are flushed.
22102 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22105 * docs/gst/gstreamer-sections.txt:
22108 * gst/gstregistry.c: (gst_registry_scan_path_level):
22109 fix for a nasty little missed situation where an installed plug-in
22110 which was in the cache did not get overridden by an uninstalled one
22111 which was earlier in the plugin path because the newly created plugin
22112 for the uninstalled one (not in the registry) didn't get its
22113 ->registered set to TRUE
22115 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22117 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22118 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22119 (gst_collectpads_is_active), (gst_collectpads_collect),
22120 (gst_collectpads_collect_range), (gst_collectpads_start),
22121 (gst_collectpads_stop), (gst_collectpads_peek),
22122 (gst_collectpads_pop), (gst_collectpads_available),
22123 (gst_collectpads_read), (gst_collectpads_flush):
22124 Guard public API with assertions.
22127 Fix docs for gst_pad_set_link_function().
22129 2005-11-02 Johan Dahlin <johan@gnome.org>
22131 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22132 Unref found_caps after we used it.
22134 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22136 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22137 Don't try to ref NULL.
22139 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22141 * win32/common/config.h.in:
22142 provide a GST_FUNCTION that just gives a string for now
22144 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22146 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22147 (gst_object_flags_get_type), (register_gst_bin_flags),
22148 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22149 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22150 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22151 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22152 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22153 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22154 (gst_clock_flags_get_type), (register_gst_state),
22155 (gst_state_get_type), (register_gst_state_change_return),
22156 (gst_state_change_return_get_type), (register_gst_state_change),
22157 (gst_state_change_get_type), (register_gst_element_flags),
22158 (gst_element_flags_get_type), (register_gst_core_error),
22159 (gst_core_error_get_type), (register_gst_library_error),
22160 (gst_library_error_get_type), (register_gst_resource_error),
22161 (gst_resource_error_get_type), (register_gst_stream_error),
22162 (gst_stream_error_get_type), (register_gst_event_type),
22163 (gst_event_type_get_type), (register_gst_seek_type),
22164 (gst_seek_type_get_type), (register_gst_seek_flags),
22165 (gst_seek_flags_get_type), (register_gst_format),
22166 (gst_format_get_type), (register_gst_index_certainty),
22167 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22168 (gst_index_entry_type_get_type),
22169 (register_gst_index_lookup_method),
22170 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22171 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22172 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22173 (gst_index_flags_get_type), (register_gst_debug_level),
22174 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22175 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22176 (gst_iterator_result_get_type), (register_gst_iterator_item),
22177 (gst_iterator_item_get_type), (register_gst_message_type),
22178 (gst_message_type_get_type), (register_gst_mini_object_flags),
22179 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22180 (gst_pad_link_return_get_type), (register_gst_flow_return),
22181 (gst_flow_return_get_type), (register_gst_activate_mode),
22182 (gst_activate_mode_get_type), (register_gst_pad_direction),
22183 (gst_pad_direction_get_type), (register_gst_pad_flags),
22184 (gst_pad_flags_get_type), (register_gst_pad_presence),
22185 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22186 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22187 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22188 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22189 (gst_plugin_flags_get_type), (register_gst_rank),
22190 (gst_rank_get_type), (register_gst_query_type),
22191 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22192 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22193 (gst_tag_flag_get_type), (register_gst_task_state),
22194 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22195 (gst_alloc_trace_flags_get_type),
22196 (register_gst_type_find_probability),
22197 (gst_type_find_probability_get_type), (register_gst_uri_type),
22198 (gst_uri_type_get_type), (register_gst_parse_error),
22199 (gst_parse_error_get_type):
22200 * win32/common/gstversion.h:
22201 update win32 copies
22203 2005-11-01 Luca Ognibene <luogni@tin.it>
22206 fix docs. popt is dead, long live GOption.
22208 2005-10-31 Wim Taymans <wim@fluendo.com>
22213 2005-10-31 Andy Wingo <wingo@pobox.com>
22217 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22219 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22220 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22221 the possibility of deadlocks here if code calling notify() or
22222 set() has a lock that can be taken in another notify handler (ABBA
22223 with class lock and e.g. python GIL state lock).
22225 2005-10-28 Julien MOUTTE <julien@moutte.net>
22227 * gst/gstbus.c: Doc updates.
22229 2005-10-28 Wim Taymans <wim@fluendo.com>
22231 * docs/design/part-TODO.txt:
22232 * gst/gstiterator.c:
22233 * gst/gstsystemclock.c:
22234 * gst/gstsystemclock.h:
22237 2005-10-28 Edward Hervey <edward@fluendo.com>
22239 * docs/gst/gstreamer-docs.sgml:
22240 * docs/gst/gstreamer-sections.txt:
22241 the GstURIType documentation page is private, it only defines GstURIType
22242 which should be defined in the GstURIHandler page
22244 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22246 * gst/gstbin.c: (gst_bin_class_init):
22249 Documentation updates.
22251 2005-10-28 Wim Taymans <wim@fluendo.com>
22253 * docs/gst/gstreamer-sections.txt:
22256 Documented the clocks.
22258 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22260 * docs/gst/gstreamer-sections.txt:
22261 move some macros to private sections
22262 * gst/gstminiobject.c:
22263 * gst/gstminiobject.h:
22264 add descriptions provided by ds and some more
22266 mark macro as to be removed
22268 2005-10-28 Wim Taymans <wim@fluendo.com>
22270 * docs/design/part-TODO.txt:
22271 Add an item to TODO.
22273 * gst/gstiterator.c: (gst_iterator_fold),
22274 (gst_iterator_find_custom):
22275 * gst/gstiterator.h:
22278 2005-10-28 Wim Taymans <wim@fluendo.com>
22280 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22281 (gst_base_transform_init):
22284 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22285 An EOS event marks the queue as completely filled.
22287 2005-10-27 Wim Taymans <wim@fluendo.com>
22289 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22290 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22291 Some more debugging.
22293 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22294 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22295 (gst_base_transform_event), (gst_base_transform_getrange),
22296 (gst_base_transform_chain):
22297 * gst/base/gstbasetransform.h:
22299 Protect transform and concurrent buffer alloc with a new lock.
22300 Try not to break ABI/API.
22302 2005-10-27 Wim Taymans <wim@fluendo.com>
22304 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22305 (gst_base_src_init), (gst_base_src_query),
22306 (gst_base_src_default_newsegment),
22307 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22308 (gst_base_src_send_event), (gst_base_src_event_handler),
22309 (gst_base_src_pad_get_range), (gst_base_src_loop),
22310 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22311 (gst_base_src_start), (gst_base_src_deactivate),
22312 (gst_base_src_activate_push), (gst_base_src_change_state):
22313 Move some stuff around and cleanup things.
22315 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22317 * gst/base/gstbasesrc.c: (gst_base_src_query):
22318 Add missing break statements.
22320 2005-10-27 Wim Taymans <wim@fluendo.com>
22322 * check/gst/gstbin.c: (GST_START_TEST):
22323 An extra refcount is taken in basesrc.
22325 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22326 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22327 (gst_base_src_loop):
22328 Small cleanups, check for flushing after being unlocked from the
22329 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22330 Don't send out EOS when going to READY.
22332 2005-10-27 Wim Taymans <wim@fluendo.com>
22334 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22335 (gst_base_sink_get_position):
22338 * gst/gstbin.c: (message_check), (bin_replace_message),
22339 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22340 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22341 (bin_query_duration_init), (bin_query_duration_fold),
22342 (bin_query_duration_done), (bin_query_generic_fold),
22344 * tools/gst-launch.c: (main):
22347 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22349 * examples/controller/audio-example.c: (main):
22350 * examples/queue/queue.c: (event_loop):
22351 * gst/base/gstbasetransform.h:
22352 * gst/gstelement.c: (gst_element_send_event):
22354 * gst/gstpad.c: (gst_pad_send_event):
22357 changing log priority in error situations
22359 2005-10-25 Wim Taymans <wim@fluendo.com>
22361 * gst/gstbin.c: (message_check), (bin_replace_message),
22362 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22363 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22364 (bin_query_duration_init), (bin_query_duration_fold),
22365 (bin_query_duration_done), (bin_query_generic_fold),
22367 Some doc and debug updates.
22368 Cache previously requested query DURATION for speed. invalidate
22369 cached duration if element posts a DURATION message.
22371 2005-10-25 Wim Taymans <wim@fluendo.com>
22373 * docs/design/part-TODO.txt:
22376 * gst/gstbin.c: (message_check), (bin_replace_message),
22377 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22378 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22379 (bin_query_duration_init), (bin_query_duration_fold),
22380 (bin_query_duration_done), (bin_query_generic_fold),
22382 Handle SEGMENT_START/DONE messages correctly.
22383 More evolved query algorithm that handles duration queries
22386 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22387 (gst_element_get_state_func), (gst_element_abort_state),
22388 (gst_element_commit_state), (gst_element_lost_state):
22389 Some more debugging.
22391 * gst/gstmessage.h:
22394 2005-10-25 Wim Taymans <wim@fluendo.com>
22396 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22397 Don't use invalid stream_time.
22399 * gst/gstevent.c: (gst_event_new_newsegment):
22400 stream_time in newsegment cannot be undefined.
22402 2005-10-24 Wim Taymans <wim@fluendo.com>
22407 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22409 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22411 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22413 * docs/libs/tmpl/gstdparam.sgml:
22414 * docs/libs/tmpl/gstdplinint.sgml:
22415 * docs/libs/tmpl/gstdpman.sgml:
22416 * docs/libs/tmpl/gstdpsmooth.sgml:
22417 * docs/libs/tmpl/gstunitconvert.sgml:
22420 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22425 === release 0.9.4 ===
22427 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22430 releasing 0.9.4, "Tyrannosaurus Rex"
22432 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22434 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22435 (gst_file_sink_get_current_offset):
22436 Use fseeko() and ftello() if available. When falling back on
22437 lseek() to get the current offset, fflush() first to make sure
22438 everything is up-to-date and we get the right offset.
22440 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22443 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22444 * gst/gsterror.c: (_gst_stream_errors_init):
22446 * gst/gstqueue.c: (gst_queue_loop):
22448 remove prematurely added error category and clean up the instances
22450 2005-10-21 Wim Taymans <wim@fluendo.com>
22452 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22453 (gst_base_sink_get_position), (gst_base_sink_query),
22454 (gst_base_sink_change_state):
22455 Simply set the right flag when going to playing, that's all
22456 we need to do instead of calling a function inside the object
22457 lock (that could take the lock as well and deadlock)
22459 2005-10-21 Wim Taymans <wim@fluendo.com>
22461 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22462 (gst_base_src_loop):
22463 Don't warn, the peer element knows what to do best when
22464 the seek failed, it might try something else.
22466 2005-10-21 Wim Taymans <wim@fluendo.com>
22468 * gst/base/gstbasesrc.c: (gst_base_src_init),
22469 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22472 2005-10-21 Wim Taymans <wim@fluendo.com>
22474 * docs/design/part-segments.txt:
22477 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22478 Correctly set caps, even on the subbufer.
22480 2005-10-21 Wim Taymans <wim@fluendo.com>
22482 * docs/gst/gstreamer-docs.sgml:
22483 * docs/gst/gstreamer-sections.txt:
22484 * gst/gstelement.h:
22487 * gst/gstmessage.h:
22490 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22494 And 2% more doc coverage.
22496 2005-10-21 Andy Wingo <wingo@pobox.com>
22498 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22499 position reporting.
22501 2005-10-20 Wim Taymans <wim@fluendo.com>
22503 * gst/gsterror.c: (gst_error_get_message):
22506 * gst/gststructure.c:
22511 2005-10-20 Wim Taymans <wim@fluendo.com>
22516 Another 1% more coverage.
22518 2005-10-20 Wim Taymans <wim@fluendo.com>
22520 * docs/gst/gstreamer-sections.txt:
22521 * gst/gstelement.c: (gst_element_get_state_func),
22522 (gst_element_abort_state), (gst_element_commit_state),
22523 (gst_element_lost_state):
22525 * gst/gstquery.c: (gst_query_set_position),
22526 (gst_query_parse_position), (gst_query_set_duration),
22527 (gst_query_parse_duration), (gst_query_new_convert):
22529 Yay! 1% more docs coverage.
22531 2005-10-20 Wim Taymans <wim@fluendo.com>
22534 * gst/gstquery.c: (gst_query_set_position),
22535 (gst_query_parse_position), (gst_query_set_duration),
22536 (gst_query_parse_duration), (gst_query_new_convert):
22538 * gst/gstutils.c: (gst_element_query_convert):
22540 Docs and consistency fixes.
22542 2005-10-20 Wim Taymans <wim@fluendo.com>
22548 2005-10-20 Wim Taymans <wim@fluendo.com>
22550 * gst/gstbin.c: (message_check), (bin_replace_message),
22551 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22552 (update_degree), (gst_bin_sort_iterator_next),
22553 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22554 Reworked the message handling a bit, cache the messages instead of
22555 only the senders. alows us to do more in the future.
22557 2005-10-20 Wim Taymans <wim@fluendo.com>
22559 * docs/design/part-TODO.txt:
22562 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22563 (gst_base_sink_query):
22564 Don't use clock time to report position when in EOS.
22566 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22568 * tools/gst-inspect.c: (print_interfaces),
22569 (print_element_properties_info), (print_element_info):
22570 Fix interface output with gst-inspect -a; don't print
22571 newlines after double/float properties.
22573 2005-10-20 Wim Taymans <wim@fluendo.com>
22575 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22576 (gst_base_sink_query):
22577 Speed up current position calculation.
22579 * gst/base/gstbasesrc.c: (gst_base_src_query),
22580 (gst_base_src_default_newsegment):
22581 Correctly set stream position in newsegment.
22583 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22584 (update_degree), (gst_bin_sort_iterator_next),
22585 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22586 * gst/gstmessage.c: (gst_message_new_custom):
22587 Clean up debugging info
22589 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22590 (gst_queue_loop), (gst_queue_handle_src_query):
22593 2005-10-19 Wim Taymans <wim@fluendo.com>
22595 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22596 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22597 Fix query handling again.
22599 2005-10-19 Wim Taymans <wim@fluendo.com>
22601 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22602 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22603 * gst/base/gstbasesrc.c: (gst_base_src_query):
22604 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22605 * gst/elements/gsttypefindelement.c:
22606 (gst_type_find_handle_src_query), (find_element_get_length),
22607 (gst_type_find_element_activate):
22610 * gst/gstquery.c: (gst_query_new_position),
22611 (gst_query_set_position), (gst_query_parse_position),
22612 (gst_query_new_duration), (gst_query_set_duration),
22613 (gst_query_parse_duration), (gst_query_set_segment),
22614 (gst_query_parse_segment):
22616 Bundling query position/duration is not a good idea since duration
22617 does not change much and we don't want to recalculate it for every
22618 position query, so they are separated again..
22619 Base value in segment query is not needed.
22621 * gst/gstqueue.c: (gst_queue_handle_src_query):
22622 * gst/gstutils.c: (gst_element_query_position),
22623 (gst_element_query_duration), (gst_pad_query_position),
22624 (gst_pad_query_duration):
22626 Updates for query API change.
22627 Added some docs here and there.
22629 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22631 * check/gst/gstbin.c: (GST_START_TEST):
22632 * check/gst/gstghostpad.c: (GST_START_TEST):
22633 * check/pipelines/cleanup.c: (GST_START_TEST):
22634 wait on thread to die so we can check refcount correctly
22636 2005-10-18 Wim Taymans <wim@fluendo.com>
22638 * check/pipelines/stress.c: (GST_START_TEST):
22639 Make check a little more time consuming.
22641 2005-10-18 Wim Taymans <wim@fluendo.com>
22643 * check/Makefile.am:
22644 * check/pipelines/stress.c: (GST_START_TEST),
22645 (simple_launch_lines_suite), (main):
22646 Small state change torture test.
22648 * docs/design/part-states.txt:
22649 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22650 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22651 (gst_base_sink_change_state):
22652 Never take state lock from streaming thread, clean up ugly
22653 hacks. Unfortunatly core does not yet support nice ways to
22654 async commit state.
22656 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22658 Start state recalc if a STATE_DIRTY message is posted, but only
22659 on the toplevel bin.
22661 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22662 (gst_element_get_state_func), (gst_element_abort_state),
22663 (gst_element_commit_state), (gst_element_lost_state),
22664 (gst_element_set_state_func), (gst_element_change_state):
22665 * gst/gstelement.h:
22666 State variables are now protected with the LOCK, the state
22667 lock is only used to serialize _set_state().
22669 2005-10-18 Wim Taymans <wim@fluendo.com>
22671 * check/gst/gstbin.c: (GST_START_TEST):
22672 * check/gst/gstmessage.c: (GST_START_TEST):
22673 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22674 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22676 * gst/gstelement.c: (gst_element_abort_state),
22677 (gst_element_commit_state), (gst_element_lost_state):
22678 * gst/gstmessage.c: (gst_message_new_state_changed),
22679 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22680 (gst_message_new_segment_done), (gst_message_new_duration),
22681 (gst_message_parse_state_changed),
22682 (gst_message_parse_segment_start),
22683 (gst_message_parse_segment_done), (gst_message_parse_duration):
22684 * gst/gstmessage.h:
22685 * tools/gst-launch.c: (event_loop):
22686 Seriously, this is better than a previous commit as we only need
22687 to notify the fact that an element changed state in a streaming
22688 thread, marking the state of the parents dirty, hence the
22689 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22692 2005-10-18 Wim Taymans <wim@fluendo.com>
22694 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22695 (gst_bin_recalc_func):
22696 * gst/gstelement.c: (gst_element_set_clock),
22697 (gst_element_abort_state), (gst_element_lost_state):
22698 Cleanups, prepare for state change fixes.
22700 2005-10-18 Wim Taymans <wim@fluendo.com>
22703 * gst/gstelement.c: (gst_element_class_init),
22704 (gst_element_set_state), (gst_element_set_state_func):
22705 * gst/gstelement.h:
22706 Pending ABI changes.
22707 GThreadPool in GstBinClass to monitor async state changes.
22708 state_cookie in GstElement to detect concurrent gst/set state.
22709 set_state is now virtual too in case a very complicated element
22710 has to be constructed.
22712 2005-10-18 Wim Taymans <wim@fluendo.com>
22714 * check/gst/gstbin.c: (GST_START_TEST):
22715 * check/gst/gstmessage.c: (GST_START_TEST):
22716 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22717 * gst/gstbin.c: (bin_bus_handler):
22718 * gst/gstelement.c: (gst_element_commit_state),
22719 (gst_element_lost_state):
22720 * gst/gstmessage.c: (gst_message_new_state_changed),
22721 (gst_message_new_segment_start), (gst_message_new_segment_done),
22722 (gst_message_new_duration), (gst_message_parse_state_changed),
22723 (gst_message_parse_segment_start),
22724 (gst_message_parse_segment_done), (gst_message_parse_duration):
22725 * gst/gstmessage.h:
22726 * tools/gst-launch.c: (event_loop):
22727 Make messages future proof.
22728 state-change gets a flag if it was a message comming from the
22730 segment-start/stop can also be specified in other formats.
22731 A message to notify an app that a pipeline changed playback
22733 Also fix a GstMessage leak in -launch
22735 2005-10-18 Andy Wingo <wingo@pobox.com>
22737 * gst/gstelement.c (gst_element_dispose): More helpful message.
22739 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22741 reviewed by: <delete if not using a buddy>
22743 * common/gtk-doc.mak:
22745 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22747 * gst/gstregistry.c: (gst_registry_scan_path_level):
22748 unref a plug-in we get that was already initialized
22750 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22752 * docs/gst/gstreamer-sections.txt:
22753 * docs/libs/gstreamer-libs-sections.txt:
22754 * gst/gstelement.h:
22755 add new api entries
22756 hide internal macro
22758 2005-10-17 Andy Wingo <wingo@pobox.com>
22760 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22763 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22765 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22767 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22768 (gst_element_get_state_func): Better debug message.
22769 (gst_element_commit_state): s/INFO/DEBUG/.
22770 (gst_element_lost_state, gst_element_change_state):
22772 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22773 (gst_message_new_custom): s/INFO/LOG/.
22775 2005-10-17 Michael Smith <msmith@fluendo.com>
22777 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22778 Check if end time is valid using end time, not start time.
22780 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22782 * check/gst-libs/controller.c: (GST_START_TEST),
22783 (gst_controller_suite):
22784 * libs/gst/controller/gstcontroller.c:
22785 (gst_controlled_property_set_interpolation_mode):
22786 * libs/gst/controller/gstcontroller.h:
22787 * libs/gst/controller/gstinterpolation.c:
22788 * testsuite/controller/.cvsignore:
22789 * testsuite/controller/Makefile.am:
22790 * testsuite/controller/interpolator.c:
22791 merge controller testsuites
22793 remove mem-chunk from docs
22795 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22797 * gst/gstmemchunk.c:
22798 * gst/gstmemchunk.h:
22799 * gst/gsttrashstack.c:
22800 * gst/gsttrashstack.h:
22801 out. get out. you're fired. to the Attic !
22803 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22805 * gst/gstcaps.c: (gst_caps_intersect):
22806 fix signedness issues in a (hopefully) correct way
22807 * gst/gstelement.c: (gst_element_pads_activate):
22809 * gst/gstobject.c: (gst_object_set_parent):
22812 2005-10-17 Julien MOUTTE <julien@moutte.net>
22814 * gst/gstvalue.h: Fix prototypes.
22816 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * docs/gst/gstreamer-sections.txt:
22819 * gst/gst.c: (gst_version_string):
22821 * gst/gstversion.h.in:
22822 * win32/common/libgstreamer.def:
22823 add gst_version_string ()
22825 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22829 * gst/gst.c: (init_post):
22830 * win32/common/config.h.in:
22832 * gst/gstcaps.c: (gst_caps_intersect):
22833 use gint64, the range could be bigger than a guint
22835 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22838 document potential problem in 2038
22840 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22842 * gst/gstcaps.c: (gst_caps_intersect):
22843 Fix guint j diving under 0
22845 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22848 * win32/common/config.h:
22849 * win32/common/config.h.in:
22850 check for process.h, declares getpid() on Windows
22852 include process.h if we have it
22853 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22854 * gst/gstmemchunk.h:
22855 fix signedness issues
22856 * win32/common/libgstreamer.def:
22859 2005-10-16 Julien MOUTTE <julien@moutte.net>
22861 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22862 fix. Because of unsigned ints, caps intersection was going nuts and
22863 trying to access structures with G_MAXUINT index. That fixes
22864 videotestsrc ! ffmpegcolorspace ! fakesink
22865 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22868 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22871 use the gettext macro
22872 * gst/elements/gstelements.c:
22874 * gst/indexers/gstindexers.c:
22875 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22876 * win32/common/config.h:
22878 * win32/common/config.h.in:
22879 add the template to generate config.h
22880 * win32/common/gstenumtypes.c:
22881 * win32/common/gstversion.h:
22884 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22886 * gst/gst.c: (gst_version):
22887 * gst/gstversion.h.in:
22890 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22893 Oops, add missing closing bracket.
22895 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22898 use common m4's for argument checking
22900 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22902 * docs/gst/gstreamer-sections.txt:
22904 Add GST_EVENT_TYPE_NAME() macro.
22906 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22909 * gst/gstpluginfeature.c:
22911 privatize more symbols
22913 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22916 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22917 everything that uses GStreamer API should have the includes
22919 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22921 * docs/gst/gstreamer-sections.txt:
22922 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22924 give each value a _get_type, removes the DATA exports
22926 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22930 remove _gst_registry_auto_load, not used anymore
22931 * gst/gstbin.c: (gst_bin_get_type):
22933 * gst/gstelement.c: (gst_element_get_type):
22934 * gst/gstelement.h:
22935 * gst/gstobject.c: (gst_object_get_type):
22937 * gst/gstpad.c: (gst_pad_get_type):
22939 make _get_type functions similar, fixes data export from library
22941 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22944 correctly make conditionals
22945 * gst/elements/Makefile.am:
22946 * gst/elements/gstelements.c:
22947 fix typo causing fdsrc not to build
22949 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22951 * testsuite/Makefile.am:
22952 * testsuite/bytestream/.cvsignore:
22953 * testsuite/bytestream/Makefile.am:
22954 * testsuite/bytestream/filepadsink.c:
22955 * testsuite/bytestream/gstbstest.c:
22956 * testsuite/bytestream/test1.c:
22957 * testsuite/bytestream/testfile1:
22958 * testsuite/caps/normalisation.c:
22959 * testsuite/caps/random.c: (main):
22960 * testsuite/cleanup/.cvsignore:
22961 * testsuite/cleanup/Makefile.am:
22962 * testsuite/cleanup/cleanup1.c:
22963 * testsuite/cleanup/cleanup2.c:
22964 * testsuite/cleanup/cleanup3.c:
22965 * testsuite/cleanup/cleanup4.c:
22966 * testsuite/cleanup/cleanup5.c:
22967 * testsuite/controller/interpolator.c:
22968 * testsuite/debug/printf_extension.c: (main):
22969 * testsuite/elements/tee.c:
22970 * testsuite/negotiation/.cvsignore:
22971 * testsuite/negotiation/Makefile.am:
22972 * testsuite/negotiation/pad_link.c:
22973 * testsuite/pad/Makefile.am:
22974 * testsuite/pad/chainnopull.c:
22975 * testsuite/pad/getnopush.c:
22976 * testsuite/pad/link.c:
22977 * testsuite/refcounting/sched.c: (create_pipeline):
22978 * testsuite/registry/Makefile.am:
22979 * testsuite/registry/gst-print-formats.c:
22980 * testsuite/schedulers/.cvsignore:
22981 * testsuite/schedulers/142183-2.c:
22982 * testsuite/schedulers/142183.c:
22983 * testsuite/schedulers/143777-2.c:
22984 * testsuite/schedulers/143777.c:
22985 * testsuite/schedulers/147713.c:
22986 * testsuite/schedulers/147819.c:
22987 * testsuite/schedulers/147894-2.c:
22988 * testsuite/schedulers/147894.c:
22989 * testsuite/schedulers/Makefile.am:
22990 * testsuite/schedulers/group_link.c:
22991 * testsuite/schedulers/queue_link.c:
22992 * testsuite/schedulers/relink.c:
22993 * testsuite/schedulers/unlink.c:
22994 * testsuite/schedulers/unref.c:
22995 * testsuite/schedulers/useless_iteration.c:
22996 * testsuite/states/bin.c:
22997 clean out/remove some stuff from the testsuite directories
22999 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23002 check for some headers
23003 * gst/elements/Makefile.am:
23004 * gst/elements/gstelements.c:
23005 don't compile fdsrc without sys/socket.h
23006 * gst/indexers/Makefile.am:
23007 * gst/indexers/gstindexers.c: (plugin_init):
23008 don't compile fileindex without mmap
23010 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23017 * check/Makefile.am:
23018 * docs/gst/Makefile.am:
23019 * examples/helloworld/Makefile.am:
23021 * gst/base/Makefile.am:
23022 * gst/check/Makefile.am:
23023 * gst/elements/Makefile.am:
23024 * gst/indexers/Makefile.am:
23025 * gst/parse/Makefile.am:
23026 * libs/gst/controller/Makefile.am:
23027 * libs/gst/dataprotocol/Makefile.am:
23028 * examples/helloworld/helloworld.c: (event_loop):
23029 compile fixes, though it's not being compiled currently
23031 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23033 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23034 Add some simple tests for the new taglist date API.
23036 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23038 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23039 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23040 Beautify 'last-message' output: print 'none' for buffer timestamps
23041 and durations if none is set; improve alignment with next messages.
23043 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23045 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23046 * gst/gstpluginfeature.h:
23047 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23048 * gst/gstregistry.h:
23049 * docs/gst/gstreamer-sections.txt:
23050 Add new API to check plugin feature version requirements.
23052 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23053 Some basic tests for the above.
23055 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23057 * gst/gststructure.c: (gst_structure_to_string):
23058 guard against NULL printf - happens when for example
23059 a message structure with GstClock gets serialized
23061 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23063 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23064 Fix presumable copy'n'pasto.
23066 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23068 * gst/elements/gstfakesrc.h:
23069 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23070 * gst/elements/gsttypefindelement.c:
23071 fix some signedness
23072 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23073 I wonder if this could actually write +2GB files before
23075 2005-10-13 Andy Wingo <wingo@pobox.com>
23077 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23078 Fix Timmeke Waymans bug.
23079 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23080 string of the proper length to gst_caps_from_string. There's a
23081 potential for, before this fix, that this could cause someone
23082 connecting over the network to cause a segfault if the payload is
23083 not NUL-terminated.
23085 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23087 * docs/design/draft-push-pull.txt:
23088 * docs/design/part-overview.txt:
23089 * docs/random/TODO-pre-0.9:
23090 * docs/random/old/ChangeLog.gstreamer:
23091 * gst/base/gstpushsrc.c:
23095 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23097 * gst/glib-compat.c: (gst_flags_get_first_value):
23098 * gst/glib-compat.h:
23099 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23100 (gst_value_compare_double), (gst_value_serialize_flags):
23101 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23104 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23107 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23109 * tools/gst-launch.c: (event_loop):
23110 print out clock nicely
23112 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23114 * docs/gst/gstreamer-sections.txt:
23115 * gst/gsttaglist.h:
23116 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23117 (gst_tag_list_get_date_index):
23118 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23119 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23121 2005-10-13 Julien MOUTTE <julien@moutte.net>
23123 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23124 (gst_collectpads_chain):
23125 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23128 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23130 * docs/gst/gstreamer-sections.txt:
23133 * tools/gst-inspect.c: (main):
23134 * tools/gst-launch.c: (main):
23135 * tools/gst-run.c: (main):
23136 * tools/gst-xmlinspect.c: (main):
23137 fix GOption context leaks
23140 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23144 * win32/common/config.h:
23146 * win32/vs6/grammar.dsp:
23147 * win32/vs6/libgstelements.dsp:
23148 * win32/vs6/libgstreamer.dsp:
23151 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23154 * gst/base/gstbasesrc.c: (gst_base_src_query):
23155 fix more guint64<->gdouble conversions
23157 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23160 add win32-update target
23161 * win32/common/gstconfig.h:
23162 * win32/common/gstenumtypes.c:
23163 * win32/common/gstenumtypes.h:
23164 * win32/common/gstversion.h:
23165 add files that visual studio can't generate
23167 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23170 add a win32-update target
23173 2005-10-12 Wim Taymans <wim@fluendo.com>
23175 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23176 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23177 * gst/gstelement.c: (gst_element_commit_state),
23178 (gst_element_set_state):
23179 Protect flags with proper lock.
23180 unref provided cached clock in dispose.
23182 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23185 * gst/gstminiobject.h:
23187 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23188 removed unused flags from miniobject
23191 2005-10-12 Wim Taymans <wim@fluendo.com>
23193 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23194 (gst_file_sink_event), (gst_file_sink_render):
23195 Flush before seeking.
23197 2005-10-12 Andy Wingo <wingo@pobox.com>
23199 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23200 always been the case.
23202 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23204 * check/gst/gstbin.c: (GST_START_TEST):
23205 * docs/gst/gstreamer-sections.txt:
23206 * gst/base/gstbasesink.c: (gst_base_sink_init):
23207 * gst/base/gstbasesrc.c: (gst_base_src_init),
23208 (gst_base_src_get_range), (gst_base_src_check_get_range),
23209 (gst_base_src_start), (gst_base_src_stop):
23210 * gst/base/gstbasesrc.h:
23211 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23212 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23213 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23217 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23219 * gst/gstelement.c: (gst_element_is_locked_state),
23220 (gst_element_set_locked_state), (gst_element_commit_state),
23221 (gst_element_set_state):
23222 * gst/gstelement.h:
23223 * gst/gstindex.c: (gst_index_init):
23225 * gst/gstminiobject.h:
23226 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23227 (gst_object_set_parent):
23229 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23230 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23232 * gst/gstpadtemplate.h:
23233 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23234 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23235 * gst/gstpipeline.h:
23236 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23237 (gst_file_index_commit):
23238 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23239 * testsuite/pad/link.c: (gst_test_src_init),
23240 (gst_test_filter_init), (gst_test_sink_init):
23241 * testsuite/states/locked.c: (main):
23242 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23243 moved bitshift from macro to enum definition
23245 2005-10-12 Wim Taymans <wim@fluendo.com>
23247 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23248 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23249 (gst_file_sink_render):
23250 Some more debugging info.
23252 2005-10-12 Wim Taymans <wim@fluendo.com>
23254 * docs/design/part-states.txt:
23255 * tools/gst-launch.c: (main):
23257 Revert non-intentional change.
23259 2005-10-12 Wim Taymans <wim@fluendo.com>
23261 * check/gst/gstbin.c: (GST_START_TEST):
23262 * check/gst/gstelement.c: (GST_START_TEST):
23263 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23264 * check/gst/gstghostpad.c: (GST_START_TEST):
23265 * check/gst/gstpipeline.c: (GST_START_TEST):
23266 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23267 * check/states/sinks.c: (GST_START_TEST):
23268 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23269 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23270 (gst_bin_remove_func), (gst_bin_get_state_func),
23271 (gst_bin_recalc_state), (gst_bin_change_state_func),
23273 * gst/gstelement.c: (gst_element_get_state_func),
23274 (gst_element_get_state), (gst_element_abort_state),
23275 (gst_element_commit_state), (gst_element_set_state),
23276 (gst_element_change_state), (gst_element_change_state_func):
23277 * gst/gstelement.h:
23278 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23279 (gst_pipeline_provide_clock_func):
23280 * gst/gstutils.c: (gst_element_link_pads_filtered):
23281 * tools/gst-launch.c: (main):
23282 * tools/gst-typefind.c: (main):
23283 Use GstClockTime in _get_state() instead of GTimeVal.
23284 Remove old code in gstutils.c
23286 2005-10-12 Andy Wingo <wingo@pobox.com>
23288 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23291 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23292 there is no task. Shouldn't affect any code, as nothing in our
23293 plugins checks this return value.
23294 (gst_pad_stop_task): Also take the stream lock if the pad has no
23295 task. Docs updated.
23297 2005-10-12 Wim Taymans <wim@fluendo.com>
23299 * gst/gstpad.c: (pre_activate), (post_activate),
23300 (gst_pad_activate_pull), (gst_pad_activate_push):
23301 Cleanup activation code. Reset old state if
23304 2005-10-12 Wim Taymans <wim@fluendo.com>
23306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23307 (gst_base_sink_change_state):
23308 No need to prerol after receiving EOS.
23310 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23311 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23312 * gst/elements/gstidentity.c: (gst_identity_event):
23313 Print events more verbosely.
23315 2005-10-12 Wim Taymans <wim@fluendo.com>
23317 * check/Makefile.am:
23318 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23319 * check/states/sinks2.c:
23320 Moved sinks2 testcode in sinks check.
23322 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23323 (gst_bin_remove_func), (gst_bin_recalc_state),
23324 (gst_bin_change_state_func), (bin_bus_handler):
23325 Fix potential race condition when _get_state() iterated over an
23326 ASYNC element right before it posted a state completion.
23329 Do proper cast here.
23331 * gst/gstevent.c: (gst_event_new_newsegment),
23332 (gst_event_parse_newsegment):
23333 A playback rate of 0.0 is not allowed.
23335 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23337 * win32/common/config.h:
23338 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23339 (_trewinddir), (_ttelldir), (_tseekdir):
23340 * win32/common/dirent.h:
23341 * win32/common/gtchar.h:
23342 * win32/common/libgstbase.def:
23343 * win32/common/libgstreamer.def:
23344 * win32/vs6/grammar.dsp:
23345 * win32/vs6/gst_inspect.dsp:
23346 * win32/vs6/gst_launch.dsp:
23347 * win32/vs6/gstreamer.dsw:
23348 * win32/vs6/libgstbase.dsp:
23349 * win32/vs6/libgstelements.dsp:
23350 * win32/vs6/libgstreamer.dsp:
23351 Visual Studio 6 project files, and a new common directory.
23354 2005-10-11 Wim Taymans <wim@fluendo.com>
23356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23357 (gst_base_sink_do_sync), (gst_base_sink_query),
23358 (gst_base_sink_change_state):
23359 * gst/base/gstbasesink.h:
23360 Correctly parse newsegment info.
23362 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23364 * gst/gst.c: (init_post):
23365 split plugin paths correctly
23367 2005-10-11 Wim Taymans <wim@fluendo.com>
23369 * check/gst/gstevent.c: (GST_START_TEST):
23370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23371 (gst_base_sink_change_state):
23372 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23373 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23374 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23375 * gst/gstevent.c: (gst_event_new_newsegment),
23376 (gst_event_parse_newsegment):
23378 Added extra flag to newsegment for future API freeze.
23379 Updated check and base elements.
23381 2005-10-11 Julien MOUTTE <julien@moutte.net>
23383 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23384 (gst_collectpads_add_pad), (gst_collectpads_pop),
23385 (gst_collectpads_event), (gst_collectpads_chain):
23386 * gst/base/gstcollectpads.h: Handle EOS correctly.
23388 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23390 * tools/gst-launch.c: (main):
23391 more null protecting
23393 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23395 * gst/gst-i18n-lib.h:
23396 check for ENABLE_NLS, not GETTEXT_PACKAGE
23397 * gst/gstregistry.c: (gst_registry_add_plugin),
23398 (gst_registry_scan_path_level),
23399 (_gst_registry_remove_cache_plugins):
23400 protect possibly NULL strings
23401 * gst/parse/types.h:
23402 config.h already included before
23403 * tools/gst-inspect.c: (main):
23404 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23405 check for ENABLE_NLS, not GETTEXT_PACKAGE
23406 * tools/gst-launch.c: (main):
23407 check for ENABLE_NLS, not GETTEXT_PACKAGE
23409 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23412 if we don't have glib, fail before testing 2.8
23413 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23414 fix a leak, should fix plugins-base testsuite
23416 2005-10-11 Andy Wingo <wingo@pobox.com>
23418 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23419 take the mode we're going to as an arg. Go head and set the mode
23420 and flushing flags now, so that if the activate function starts a
23421 thread all the flags will be in the right state.
23422 (post_activate): Renamed also. Just handle making sure streaming
23423 finishes for the deactivation case, and setting the deactivated
23425 (gst_pad_set_active): Complain loudly if deactivation fails.
23426 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23427 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23428 remove the terrible hack.
23430 2005-10-11 Wim Taymans <wim@fluendo.com>
23432 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23433 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23434 (gst_bin_recalc_state), (gst_bin_change_state_func),
23435 (gst_bin_dispose), (bin_bus_handler):
23437 Prepare to make current EOS message queue more generic.
23440 * gst/gstevent.c: (gst_event_new_newsegment),
23441 (gst_event_parse_newsegment):
23443 Rename base to stream_time.
23445 * gst/gstmessage.h:
23448 2005-10-11 Wim Taymans <wim@fluendo.com>
23450 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23451 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23452 (gst_bin_change_state_func), (bin_bus_handler):
23454 Work on proper clock selection.
23456 2005-10-11 Edward Hervey <edward@fluendo.com>
23458 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23459 * libs/gst/controller/gstcontroller.h:
23460 Added GList* version of _remove_properties() in order to be able to wrap
23463 2005-10-11 Wim Taymans <wim@fluendo.com>
23465 * docs/design/part-states.txt:
23468 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23469 (gst_bin_change_state_func), (bin_bus_handler):
23470 Doc updates. Don't distribute the same clock over and over again.
23476 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23477 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23478 (gst_pad_send_event):
23480 Make probe emission threadsafe again.
23481 Register quarks and move _get_name() from utils.
23484 * gst/gstpipeline.c: (gst_pipeline_class_init),
23485 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23486 Only redistribute the clock of it changed.
23488 * gst/gstsystemclock.h:
23493 Moved the _flow_get_name() to GstPad.
23495 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23497 * check/gst-libs/gdp.c: (GST_START_TEST):
23498 * check/gst/gstcaps.c: (GST_START_TEST):
23499 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23500 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23501 (gst_dp_packet_from_caps):
23502 fix more valgrind warnings before turning up the heat
23504 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23506 * gst/parse/grammar.y:
23507 some cleanup before the hacking
23509 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23511 * gst/base/gstbasesrc.c: (gst_base_src_query):
23513 * gst/gstutils.c: (gst_guint64_to_gdouble),
23514 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23516 externalize, basesrc uses it
23517 obviously the implementation needs testing
23519 2005-10-10 Wim Taymans <wim@fluendo.com>
23521 * tests/sched/Makefile.am:
23522 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23523 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23525 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23527 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23528 apparently converting from guint64 to double is not implemented
23531 2005-10-10 Wim Taymans <wim@fluendo.com>
23533 * check/Makefile.am:
23534 * check/generic/states.c: (GST_START_TEST):
23535 * check/gst/gstbin.c: (GST_START_TEST):
23536 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23537 * check/states/sinks.c: (GST_START_TEST):
23538 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23540 Check fixes, use API as stated in design docs, remove hacks.
23542 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23543 (gst_base_sink_change_state):
23544 Catch stopping our task while we're shutting down.
23546 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23547 (gst_bin_remove_func), (gst_bin_get_state_func),
23548 (gst_bin_recalc_state), (gst_bin_change_state_func),
23551 * gst/gstelement.c: (gst_element_init),
23552 (gst_element_get_state_func), (gst_element_abort_state),
23553 (gst_element_commit_state), (gst_element_lost_state),
23554 (gst_element_set_state), (gst_element_change_state),
23555 (gst_element_change_state_func):
23556 * gst/gstelement.h:
23557 New state change algorithm (see #318116)
23559 * gst/gstpipeline.c: (gst_pipeline_class_init),
23560 (gst_pipeline_init), (gst_pipeline_set_property),
23561 (gst_pipeline_get_property), (do_pipeline_seek),
23562 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23563 * gst/gstpipeline.h:
23564 Remove crude state change hacks.
23567 Remove crude hacks.
23569 * tools/gst-launch.c: (main):
23570 Fixes for state change. Needs some more work to fully use the
23573 2005-10-10 Andy Wingo <wingo@pobox.com>
23575 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23577 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23578 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23581 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23583 * gst/gstiterator.c: (gst_iterator_new):
23584 Fix my previous commit: GTypes passed to gst_iterator_new()
23585 can be fundamental types.
23587 2005-10-10 Wim Taymans <wim@fluendo.com>
23589 * gst/gstelement.c: (gst_element_iterate_pad_list),
23590 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23591 (gst_element_iterate_sink_pads):
23592 Use src/sink pads lists for the respective iterators instead
23595 2005-10-10 Andy Wingo <wingo@pobox.com>
23597 Merged in popt removal + GOption addition patch from Ronald, bug
23600 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23601 GstElement macros around, remove popt-related symbols, add goption
23604 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23606 * docs/gst/Makefile.am:
23607 * docs/libs/Makefile.am: No POPT_CFLAGS.
23609 * examples/manual/Makefile.am:
23610 * docs/manual/basics-init.xml: Doc updates with an example.
23612 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23613 (gst_init), (parse_one_option), (parse_goption_arg):
23614 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23615 bit of hand merging and debugging to get the GOption stuff working
23618 * tests/Makefile.am:
23619 * tools/Makefile.am:
23620 * tools/gst-inspect.c: (main):
23621 * tools/gst-launch.c: (main):
23622 * tools/gst-run.c: (main):
23623 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23625 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23627 * gst/gstiterator.c: (gst_iterator_new):
23628 Add assertions to make sure passed GType is likely to really
23629 be a GType (as the compiler won't catch it if the size and
23630 GType arguments get mixed up, see #318447).
23632 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23634 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23636 * gst/gstbin.c: (gst_bin_iterate_sorted):
23637 Pass GType and size arguments to gst_iterator_new() in the right
23638 order (maybe we should make _new() take the GType as first argument
23639 just like _new_list()?) (#318447).
23642 2005-10-10 Wim Taymans <wim@fluendo.com>
23644 * gst/gstelement.c: (gst_element_finalize):
23645 And free the GStaticRecMutex too
23647 2005-10-10 Andy Wingo <wingo@pobox.com>
23649 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23650 Allocate and free the mutex properly.
23652 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23654 (GstElement): The state_lock is now recursive. Rebuild your
23655 plugins, suckers. Old macros adapted.
23657 * docs/gst/gstreamer-sections.txt: Doc updates.
23660 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23661 (g_static_rec_cond_wait): Ported from state changes patch, while
23662 we wait on bug #317802 to be solved in a well-distributed GLib.
23664 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23665 gst_element_change_state, variable name changes.
23666 (gst_element_change_state): Split out of gst_element_set_state in
23667 preparation for the state change merge. Doesn't pay attention to
23668 the 'transition' argument.
23669 (gst_element_set_state): Updates, hopefully purely cosmetic.
23670 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23671 state change patch.
23672 (gst_element_get_state_func): Renamed from get_state, cosmetic
23675 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23677 * gst/elements/gstelements.c:
23678 * win32/GStreamer.vcproj:
23680 * win32/dirent.c: (_tseekdir):
23681 * win32/gst-inspect.vcproj:
23682 * win32/gst-launch.vcproj:
23683 * win32/gstconfig.h:
23684 * win32/gstelements.vcproj:
23685 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23686 * win32/gstreamer.def:
23687 * win32/msvc71.sln:
23688 updates for the win32 build (patch from Sebastien Moutte)
23690 2005-10-10 Andy Wingo <wingo@pobox.com>
23692 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23693 gst_bin_get_state, cleaned up (but no logic changes).
23694 (bin_element_is_sink): Comment updates.
23695 (sink_iterator_filter): Remove needless cast.
23696 (gst_bin_iterate_sinks): Doc update.
23697 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23698 cleaned up (but no logic changes).
23700 * check/states/sinks.c (test_src_sink): Cleanups from the state
23702 (test_livesrc_sink): Sync on the state.
23704 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23705 the state change patch.
23707 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23710 * check/gst/gstbin.c: Merge in some style fixes and additional
23711 checks from Wim's state change patch.
23713 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23715 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23716 (gst_type_find_helper):
23717 Check whether we have the requested data already in our list of
23718 cached buffers before pulling a new buffer; also make the buffer
23719 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23721 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23726 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23727 don't use long long, it's not portable. Replacing with
23728 gint64 seems to work; let's hope no skeletons fall out of the closet.
23730 2005-10-10 Andy Wingo <wingo@pobox.com>
23732 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23734 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23736 * docs/gst/gstreamer-sections.txt:
23741 * gst/gstmessage.c: (gst_message_parse_state_changed):
23744 more docs, fix compilation
23746 2005-10-09 Philippe Khalaf <burger@speedy.org>
23747 * gst/gstmessage.c:
23748 Fixed a few forgotten variables on previous commit
23750 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23752 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23753 Fix evil typefind crasher: getrange() might return a short
23754 buffer at the end of a file, but gst_type_find_peek() must
23755 either return the full data as requested or NULL, but
23756 never a short buffer.
23758 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23760 * gst/gstmessage.c: (gst_message_new_state_changed),
23761 (gst_message_parse_state_changed):
23762 * gst/gstmessage.h:
23763 don't use "new", it's a C++ keyword
23765 2005-10-08 Wim Taymans <wim@fluendo.com>
23767 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23768 * gst/gstelement.c: (gst_element_post_message):
23769 * gst/gstpipeline.c: (gst_pipeline_change_state):
23770 Small docs and debug updates.
23772 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23774 * docs/gst/gstreamer-sections.txt:
23775 * gst/gstelementfactory.c:
23777 * gst/gsttaglist.c:
23780 2005-10-08 Wim Taymans <wim@fluendo.com>
23782 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23783 (gst_bin_dispose), (bin_bus_handler):
23784 Fix typos, add comments.
23785 Clear EOS list when going to PAUSED from any direction and do it
23786 in a threadsafe way.
23787 Get base time in a threadsafe way too.
23788 Fix confusing debug in the change_state function.
23789 Various other small cleanups.
23791 * gst/gstelement.c: (gst_element_post_message):
23792 Fix very verbose bus posting code.
23794 * gst/gstpipeline.c: (gst_pipeline_class_init),
23795 (gst_pipeline_set_property), (gst_pipeline_get_property),
23796 (gst_pipeline_change_state):
23797 Small ARG_ -> PROP_ cleanup
23799 2005-10-08 Wim Taymans <wim@fluendo.com>
23801 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23802 Do a less CPU demanding EOS check because we can.
23804 2005-10-08 Wim Taymans <wim@fluendo.com>
23806 * libs/gst/dataprotocol/dataprotocol.c:
23807 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23808 (gst_dp_packet_from_event):
23809 * libs/gst/dataprotocol/dataprotocol.h:
23810 * libs/gst/dataprotocol/dp-private.h:
23811 It's about time we bump the version number.
23812 Since event types don't fit in the guint8 anymore describing
23813 the payload type, make payload type 16 bits wide.
23815 2005-10-08 Wim Taymans <wim@fluendo.com>
23817 * docs/design/part-TODO.txt:
23818 * docs/design/part-clocks.txt:
23819 * docs/design/part-events.txt:
23820 * docs/design/part-gstbin.txt:
23821 * docs/design/part-gstelement.txt:
23822 * docs/design/part-gstpipeline.txt:
23823 * docs/design/part-live-source.txt:
23824 * docs/design/part-messages.txt:
23825 * docs/design/part-overview.txt:
23826 * docs/design/part-states.txt:
23829 2005-10-08 Wim Taymans <wim@fluendo.com>
23833 Fix event quark registration.
23834 Add some space between events so we can insert them in the
23837 2005-10-08 Wim Taymans <wim@fluendo.com>
23839 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23840 (gst_base_sink_handle_buffer):
23841 Better log message.
23844 * gst/gstelement.h:
23847 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23848 (gst_queue_set_property), (gst_queue_get_property):
23850 Remove old unused properties.
23852 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23853 * docs/gst/gstreamer-sections.txt:
23854 * gst/gstmessage.c:
23855 * gst/gstmessage.h:
23856 * gst/gstminiobject.c:
23857 * gst/gstminiobject.h:
23861 lots of new docs and doc fixes
23863 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23865 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23867 * gst/gstregistry.c: (gst_registry_lookup_locked),
23868 (gst_registry_scan_path_level):
23869 * gst/gstregistryxml.c: (load_plugin):
23870 Only ever load one plugin for a given plugin basename.
23871 This ensures correct overriding of GST_PLUGIN_PATH over
23872 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23873 system installed plugins.
23875 2005-10-08 Wim Taymans <wim@fluendo.com>
23877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23878 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23879 Prepare for doing QOS.
23881 2005-10-08 Wim Taymans <wim@fluendo.com>
23883 * check/gst/gstbin.c: (GST_START_TEST):
23884 * check/pipelines/cleanup.c: (GST_START_TEST):
23885 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23886 Allow new clock message too.
23888 2005-10-08 Wim Taymans <wim@fluendo.com>
23890 * gst/gstmessage.c: (gst_message_new_error),
23891 (gst_message_new_warning), (gst_message_new_tag),
23892 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23893 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23894 (gst_message_new_segment_start), (gst_message_new_segment_done),
23895 (gst_message_parse_state_changed),
23896 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23897 (gst_message_parse_new_clock):
23898 * gst/gstmessage.h:
23899 Also carry the clock in question.
23901 2005-10-08 Wim Taymans <wim@fluendo.com>
23903 * gst/gstmessage.c: (gst_message_new_custom),
23904 (gst_message_new_eos), (gst_message_new_error),
23905 (gst_message_new_warning), (gst_message_new_tag),
23906 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23907 (gst_message_new_new_clock), (gst_message_new_segment_start),
23908 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23909 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23910 * gst/gstmessage.h:
23912 Added clock related messages.
23914 * gst/gstpipeline.c: (gst_pipeline_change_state):
23915 Post message when the clock changed.
23917 * tools/gst-launch.c: (event_loop):
23920 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23922 * tools/gst-inspect.c: (print_element_properties_info):
23923 Can't pass NULL strings to g_print() on windows.
23925 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23927 * docs/Makefile.am:
23928 * docs/gst/Makefile.am:
23929 * docs/gst/gstreamer-docs.sgml:
23930 * docs/gst/running.xml:
23931 * docs/version.entities.in:
23932 add a chapter on running GStreamer.
23933 document GST_DEBUG and GST_PLUGIN* env vars
23935 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23940 remove PLUGINS_BUILDDIR stuff
23941 * gst/gst.c: (init_post):
23942 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23944 remove, it was condescending and not needed
23946 2005-10-08 Wim Taymans <wim@fluendo.com>
23948 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23949 (gst_base_sink_handle_object), (gst_base_sink_event),
23950 (gst_base_sink_wait), (gst_base_sink_handle_event),
23951 (gst_base_sink_change_state):
23952 * gst/base/gstbasesink.h:
23953 Repost EOS message while going to PLAYING if still EOS.
23954 Make sure that when receiving a FLUSH_START we don't attempt
23955 to sync on the clock anymore.
23957 2005-10-08 Wim Taymans <wim@fluendo.com>
23959 * tools/gst-launch.c: (event_loop):
23960 Better message printout.
23962 2005-10-08 Wim Taymans <wim@fluendo.com>
23964 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23965 (gst_bin_child_proxy_get_children_count):
23966 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23967 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23968 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23969 (gst_child_proxy_set_valist):
23970 * gst/parse/grammar.y:
23971 Make ChildProxy threadsafe and fix mem leaks.
23973 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23975 * gst/gst.c: (init_post):
23976 debug the GST_PLUGIN_ env vars
23978 2005-10-08 Wim Taymans <wim@fluendo.com>
23980 * check/gst/gstbin.c: (GST_START_TEST):
23981 * check/gst/gstmessage.c: (GST_START_TEST):
23982 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23983 * gst/gstelement.c: (gst_element_commit_state),
23984 (gst_element_lost_state):
23985 * gst/gstmessage.c: (gst_message_new_state_changed),
23986 (gst_message_parse_state_changed):
23987 * gst/gstmessage.h:
23988 * tools/gst-launch.c: (event_loop):
23989 Added extra field to STATE_CHANGE message with the pending
23990 state, which will be different from the new state soon.
23992 2005-10-08 Wim Taymans <wim@fluendo.com>
23994 * gst/gstbus.c: (gst_bus_pop):
23996 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23997 Small cleanups and doc updates.
23999 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24001 * gst/gst.c: (init_pre):
24002 * gst/gstbin.c: (gst_bin_add_func):
24003 log distributing clocks and base time
24004 * gst/gstregistry.c: (gst_registry_add_plugin),
24005 (gst_registry_scan_path_level), (gst_registry_scan_path):
24006 clean up the debugging output a little
24007 * gst/gstutils.c: (gst_element_state_get_name):
24008 warn about a memleak (I've actually seen this be used, though
24009 it was probably a bug)
24011 2005-10-07 Wim Taymans <wim@fluendo.com>
24013 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24014 (gst_base_src_init), (gst_base_src_default_newsegment),
24015 (gst_base_src_newsegment), (gst_base_src_do_seek),
24016 (gst_base_src_loop), (gst_base_src_start):
24017 * gst/base/gstbasesrc.h:
24018 Make the newsegment event customizable by subclasses.
24020 2005-10-07 Wim Taymans <wim@fluendo.com>
24022 * gst/gstevent.c: (gst_event_new_buffersize),
24023 (gst_event_parse_buffersize):
24025 New event for future idea.
24027 2005-10-07 Andy Wingo <wingo@pobox.com>
24029 * gst/gstelement.c (gst_element_post_message): Doc update.
24031 * docs/gst/gstreamer-sections.txt: Update.
24033 * gst/gstmessage.c (gst_message_new_application): Made into a
24034 function like honest API calls.
24035 (gst_message_new_element): New message type.
24037 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24039 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24040 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24043 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24044 NO_PREROLL from gst_element_change_state to fall through.
24046 2005-10-07 Wim Taymans <wim@fluendo.com>
24048 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24049 (gst_ghost_pad_do_activate_push):
24050 Activating a ghostpad with no internal pad in push mode
24053 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24056 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24057 Fixes compilation on Windows.
24059 2005-10-07 Michael Smith <msmith@fluendo.com>
24061 * tools/gst-inspect.c:
24062 Print out feature and plugin count at the end when printing out
24065 2005-10-04 Michael Smith <msmith@fluendo.com>
24067 * gst/gsterror.c: (_gst_stream_errors_init):
24068 Add another error string used in a few existing plugins.
24071 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24072 * tools/gst-inspect.c: (print_element_info):
24073 When a feature disappears from a plugin (and the feature exists in
24074 the cached registry file), things went horribly wrong. This isn't a
24075 complete fix, we should actually be removing the 'missing' features
24076 from the features list when we load the actual plugin. That's not
24079 2005-10-04 Johan Dahlin <johan@gnome.org>
24081 * check/gst/gstiterator.c: (GST_START_TEST):
24082 * gst/gstbin.c: (gst_bin_iterate_elements),
24083 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24084 * gst/gstelement.c: (gst_element_iterate_pads):
24085 * gst/gstformat.c: (gst_format_iterate_definitions):
24086 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24087 (gst_iterator_new_list), (gst_iterator_filter):
24088 * gst/gstiterator.h:
24089 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24090 Add a GType to GstIterator, update callsites and tests.
24092 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24094 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24095 give events a chance to be handled by event probes when the pad
24098 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24100 * gst/gstevent.c: (gst_event_type_get_name),
24101 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24103 add string representations for event types
24105 2005-10-06 Wim Taymans <wim@fluendo.com>
24107 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24108 Don't use NULL pointers.
24110 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24112 * gst/gst_private.h:
24114 * gst/gstelement.c:
24116 * gst/gstpluginfeature.c:
24117 widen the debug category in output to fit the biggest one we have
24118 add a bus category and use it
24119 play with the colors
24120 fix up some categories
24122 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24124 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24125 add push activation of sink ghost pads.
24126 Andye, please verify
24128 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24130 * gst/gstutils.c: (gst_element_link_pads):
24131 fix a bug in the case where neither element has a pad
24132 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24133 add a test for that case
24135 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24137 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24138 emit have-data before checking for peers. This allows
24139 for probe handlers to connect elements. This helps autopluggers.
24140 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24142 add six checks, linked/unlinked with no/true/false probe
24144 2005-10-04 Wim Taymans <wim@fluendo.com>
24146 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24147 (gst_fake_sink_event), (gst_fake_sink_preroll),
24148 (gst_fake_sink_render), (gst_fake_sink_change_state):
24149 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24150 (gst_fake_src_get_property), (gst_fake_src_create),
24151 (gst_fake_src_stop):
24152 * gst/elements/gstidentity.c: (gst_identity_stop):
24153 Protect last_message with lock.
24155 2005-10-04 Edward Hervey <edward@fluendo.com>
24158 Added precision in the comments for GST_FORMAT_DEFAULT
24160 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24162 * tools/gst-launch.c: (main):
24163 Don't try to run erroneous pipelines.
24165 2005-10-04 Julien MOUTTE <julien@moutte.net>
24167 * gst/gstbus.c: We don't need this header.
24169 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24172 back to development
24174 === release 0.9.3 ===
24176 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24180 Releasing 0.9.3, "Unregistered"
24182 2005-10-03 Andy Wingo <wingo@pobox.com>
24184 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24185 whereby calling a pad's activatepush() function can start a thread
24186 that starts to push or pull before the pad gets the FLUSHING flag
24187 unset. Hack around it by holding the stream lock until the flag is
24188 set. Need to replace this with a proper solution. Together with
24189 the ghost pad fixes, this fixes mp3 playing/tagreading.
24191 * docs/design/part-gstghostpad.txt: Add a note about activation of
24192 proxy pads outside of ghost pads.
24194 * gst/gstghostpad.c: Implement the ghost pad activation design.
24196 2005-10-02 Andy Wingo <wingo@pobox.com>
24198 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24199 It is volatile, after all.
24201 * docs/design/part-gstghostpad.txt: Flesh out activation with
24204 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24207 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24210 Fix (unused) AM_CONDITIONAL tests.
24212 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24214 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24216 * gst/gstutils.c: (gst_pad_query_convert):
24217 Add assertion that makes sure src_val is >=0, just like
24218 gst_query_new_convert() has. (#315895)
24220 2005-09-30 Edward Hervey <edward@fluendo.com>
24222 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24223 Let's not iterate pads we're not interested in, it avoids getting
24224 sky-high refcounts on sinkpad.
24226 2005-09-30 Wim Taymans <wim@fluendo.com>
24228 * gst/gstelement.c: (gst_element_set_state),
24229 (gst_element_change_state):
24230 Small tweak, element in ASYNC remains ASYNC.
24232 2005-09-30 Wim Taymans <wim@fluendo.com>
24234 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24235 Only error is an error.
24237 * gst/gstbin.c: (gst_bin_change_state):
24240 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24241 Also call pad_block in pad alloc.
24243 * gst/gstutils.c: (gst_flow_get_name):
24246 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24248 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24249 (gst_base_src_get_range):
24250 Fix documentation typos. Add some more debug info.
24252 2005-09-29 David Schleef <ds@schleef.org>
24254 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24255 more end-user friendly.
24256 * tools/gst-inspect.c: (main): Check if command-line argument is
24257 a file and attempt to load that file as a plugin.
24259 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24261 * check/gst/gstbin.c:
24262 * check/states/sinks.c:
24263 fix tests for the new warning
24264 * check/gst/gstpipeline.c:
24265 add a test for pipeline and bus interaction
24266 * gst/gstelement.c:
24267 elements should be NULL if they get disposed; add a warning if not
24269 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24272 for 2.6 refcounting, make debug log more correct by printing
24273 the actual refcounts at the time of swap (Wim)
24275 2005-09-29 Andy Wingo <wingo@pobox.com>
24277 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24278 removes signal watches previously added via
24279 gst_bus_add_signal_watch.
24280 (gst_bus_add_signal_watch): Don't return the source id, just store
24281 it on the bus if there wasn't an id already.
24283 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24284 add_signal_watch and remove_signal_watch.
24286 2005-09-29 Edward Hervey <edward@fluendo.com>
24288 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24289 Better if we actually iterate the list :)
24291 2005-09-29 Wim Taymans <wim@fluendo.com>
24293 * check/gst/gstbin.c: (GST_START_TEST):
24294 Change for new bus API.
24296 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24297 (send_messages), (GST_START_TEST), (gstbus_suite):
24298 Change for new bus signal API.
24300 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24301 (gst_bus_source_prepare), (gst_bus_source_check),
24302 (gst_bus_create_watch), (gst_bus_add_watch_full),
24303 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24304 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24306 Remove support for multiple GSources operating on different
24307 message types as it is too complex and unneeded when using
24309 Added support for receiving signals from the bus.
24311 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24313 * docs/libs/tmpl/gstdataprotocol.sgml:
24314 * docs/manual/advanced-dataaccess.xml:
24315 * gst/elements/gstcapsfilter.c:
24317 rename filter-caps to caps property
24319 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24321 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24322 More robust fraction string parsing.
24324 * docs/pwg/appendix-porting.xml:
24325 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24327 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24329 * gst/gstcaps.c: (gst_caps_do_simplify):
24330 Thou shalt not free a structure and then continue using it
24331 in the next loop iteration.
24333 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24335 Add test case for caps simplification.
24337 2005-09-29 Wim Taymans <wim@fluendo.com>
24339 * check/gst/gstbin.c: (GST_START_TEST):
24342 2005-09-29 Wim Taymans <wim@fluendo.com>
24344 * check/gst/gstbin.c: (GST_START_TEST):
24347 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24348 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24349 (find_element), (gst_bin_sort_iterator_next),
24350 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24351 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24352 (gst_bin_change_state), (gst_bin_dispose):
24353 A bin does not have a bus, it gets the bus from the parent.
24355 * gst/gstelement.c: (gst_element_requires_clock),
24356 (gst_element_provides_clock), (gst_element_is_indexable),
24357 (gst_element_is_locked_state), (gst_element_change_state),
24358 (gst_element_set_bus_func):
24361 * gst/gstpipeline.c: (gst_pipeline_class_init),
24362 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24363 The pipeline provides a bus.
24365 2005-09-28 Johan Dahlin <johan@gnome.org>
24367 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24368 gst_structure_get_enum instead of gst_structure_get_int
24370 * gst/gststructure.c (gst_structure_get_enum): Impl.
24372 * gst/gststructure.h (gst_structure_get_enum): Add
24374 * docs/gst/gstreamer-sections.txt: Ditto
24376 * gst/gstmessage.c (gst_message_new_state_changed): Use
24377 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24378 which does introspection.
24379 Reviewed by Christian Schaller
24381 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24383 * gst/gstinfo.c: (gst_debug_log_default):
24384 don't do dummy g_strdup()s
24385 * libs/gst/controller/gstcontroller.c:
24386 (on_object_controlled_property_changed),
24387 (gst_controlled_property_new), (gst_controller_new_valist),
24388 (gst_controller_new_list),
24389 (gst_controller_remove_properties_valist), (gst_controller_set),
24390 (gst_controller_get), (gst_controller_sync_values),
24391 (gst_controller_get_value_array), (_gst_controller_class_init),
24392 (gst_controller_get_type):
24393 * libs/gst/controller/gstcontroller.h:
24394 * libs/gst/controller/gstinterpolation.c:
24395 (gst_controlled_property_find_timed_value_node):
24396 convert // to /**/ comments
24398 2005-09-28 Wim Taymans <wim@fluendo.com>
24400 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24401 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24402 (gst_bus_sync_signal_handler):
24404 Added async-message and sync-message signals to the bus.
24405 Added helper BusFunc to emit signals for all posted messages.
24407 * gst/gstmessage.c: (gst_message_type_get_name),
24408 (gst_message_type_to_quark), (gst_message_get_type):
24409 * gst/gstmessage.h:
24410 Register quarks for message names.
24412 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24414 * docs/libs/gstreamer-libs-sections.txt:
24415 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24416 (gst_controller_new_list):
24417 * libs/gst/controller/gstcontroller.h:
24418 added another constructor for language bindings
24420 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24422 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24426 * gst/gstinfo.c: (_gst_debug_init):
24427 slightly more readable color for refcount debugging
24429 2005-09-28 Wim Taymans <wim@fluendo.com>
24431 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24432 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24433 (find_element), (gst_bin_sort_iterator_next),
24434 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24435 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24436 (gst_bin_change_state), (gst_bin_dispose):
24437 Small doc fixes. get_clock -> provide_clock.
24439 * gst/gstelement.c: (gst_element_class_init),
24440 (gst_element_provides_clock), (gst_element_provide_clock),
24441 (gst_element_get_clock), (gst_element_commit_state),
24442 (gst_element_lost_state):
24443 * gst/gstelement.h:
24444 Make get/set_clock() symetric. Add provide_clock vmethod since
24445 that is actually what this function does.
24447 * gst/gstpipeline.c: (gst_pipeline_class_init),
24448 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24449 (gst_pipeline_get_clock):
24450 get_clock -> provide_clock.
24452 2005-09-28 Andy Wingo <wingo@pobox.com>
24454 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24455 lieu of real docs...
24457 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24459 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24461 * gst/elements/gstcapsfilter.c:
24462 * gst/elements/gstfakesink.c:
24463 * gst/elements/gstfakesrc.c:
24464 * gst/elements/gstfdsink.c:
24465 * gst/elements/gstfdsrc.c:
24466 * gst/elements/gstfilesink.c:
24467 * gst/elements/gstfilesrc.c:
24468 * gst/elements/gstidentity.c:
24469 * gst/elements/gsttee.c:
24470 * gst/elements/gsttypefindelement.c:
24471 Make element details static.
24473 2005-09-28 Wim Taymans <wim@fluendo.com>
24475 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24476 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24477 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24478 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24479 (gst_bin_change_state), (gst_bin_dispose):
24480 Some documentation updates.
24481 Clean up dispose handlers.
24483 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24484 * gst/gstpad.c: (gst_pad_dispose):
24485 Clean up dispose handler.
24487 * gst/gstpipeline.c: (gst_pipeline_change_state):
24488 Removed spurious UNLOCK.
24490 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24492 * docs/gst/gstreamer-sections.txt:
24493 * gst/base/gstbasesrc.h:
24494 * gst/gstelement.h:
24498 * gst/gstpipeline.c:
24499 * gst/gstpipeline.h:
24502 added two new functions to the docs
24503 documents all undocumented GstXXXFlags
24504 completed some incomplete docs
24506 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24508 * gst/gstbin.c: (gst_bin_dispose):
24509 * gst/gstelement.c: (gst_element_dispose):
24510 remove now useless and leaky resurrection code in dispose
24511 * gst/base/gstbasesrc.c: (gst_base_src_init):
24512 * gst/gstelementfactory.c: (gst_element_factory_create):
24513 * gst/gstobject.c: (gst_object_set_parent):
24516 2005-09-27 Wim Taymans <wim@fluendo.com>
24518 * docs/design/part-TODO.txt:
24521 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24522 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24523 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24524 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24525 (gst_bin_change_state):
24526 * gst/gstelement.h:
24527 Remove element variable, we keep element info in the iterator now.
24529 2005-09-27 Andy Wingo <wingo@pobox.com>
24531 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24534 2005-09-27 Wim Taymans <wim@fluendo.com>
24536 * check/gst/gstbin.c: (GST_START_TEST):
24537 Enable check that works now.
24539 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24540 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24541 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24542 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24543 (gst_bin_change_state):
24545 Redid the state change algorithm using a topological sort algo.
24546 Handles all cases correctly.
24547 Exposed iterator for state change order.
24549 * gst/gstelement.h:
24550 Temp storage for state changes. Need to get rid of this soon.
24552 2005-09-27 Wim Taymans <wim@fluendo.com>
24554 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24555 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24556 (link_fold_func), (gst_pad_proxy_setcaps):
24557 Leak fixes, the fold functions need to unref the passed object and
24558 _get_parent_*() returns ref to parent.
24560 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24562 * check/gst/gstbuffer.c: (test_make_writable):
24563 Plug leak in test case and fix 'make check-valgrind'
24565 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24567 * gst/gstbuffer.c: (gst_subbuffer_init):
24568 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24569 works correctly in all circumstances (we could have just copied
24570 the parent buffer's readonly flag, but conceptually it seems
24571 cleaner to mark all subbuffers as read-only). (based on patch
24572 by Alessandro Decina, #314710).
24574 * check/gst/gstbuffer.c: (create_read_only_buffer),
24575 (test_make_writable), (test_subbuffer_make_writable),
24577 Add some tests for gst_buffer_make_writable().
24579 2005-09-27 Wim Taymans <wim@fluendo.com>
24581 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24582 use gst_object_has_ancestor().
24584 * gst/gstobject.c: (gst_object_has_ancestor):
24586 gst_object_has_ancestor() copied from gstbin.c as it is a
24589 * tests/instantiate/create.c: (create_all_elements):
24590 * tests/lat.c: (handoff_src), (handoff_sink):
24591 * tests/sched/runxml.c: (main):
24592 * tests/seeking/seeking1.c: (main):
24593 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24595 Fix compilation of some tests.
24597 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24600 Remove comment. GST_TYPE_G_ERROR is here to stay,
24601 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24602 (#316961, #300610).
24604 2005-09-26 Wim Taymans <wim@fluendo.com>
24606 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24607 Added check that shows error in state change order.
24609 2005-09-26 Wim Taymans <wim@fluendo.com>
24611 * gst/gstbin.c: (gst_bin_change_state):
24612 Make state change function use 3 queues again, we were
24613 adding elements in the wrong order.
24615 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24618 * gst/gstpad.c: (gst_pad_dispose):
24619 Added some debug info first.
24621 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24623 * docs/design/draft-push-pull.txt:
24624 * docs/design/part-events.txt:
24625 * docs/design/part-overview.txt:
24626 * docs/design/part-scheduling.txt:
24627 Replace all _pull_region() with _pull_range()
24629 2005-09-26 Andy Wingo <wingo@pobox.com>
24631 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24633 * check/gst-libs/controller.c: Update for controller api change.
24636 * tests/Makefile.am:
24637 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24638 over by GLib bug 118439.
24640 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24641 routines to a function.
24643 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24645 * libs/gst/controller/gsthelper.c:
24646 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24647 (gst_object_sync_values): Renamed from sink_values. Ugh.
24649 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24651 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24652 Renamed from controller_key, as it is exported.
24654 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24656 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24661 * gst/gstpadtemplate.h:
24664 * gst/gstqueryutils.c:
24665 * gst/gstqueryutils.h:
24666 remove queryutils headers after moving the two used functions
24667 to gstquery. also fixes build problem for gstsiddec
24669 2005-09-26 Michael Smith <msmith@fluendo.com>
24671 * tools/gst-launch.1.in:
24672 Correct documentation in manpage of debug syntax
24674 2005-09-26 Wim Taymans <wim@fluendo.com>
24676 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24677 (gst_base_src_is_seekable), (gst_base_src_change_state):
24678 Some more debugging info.
24680 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24682 * docs/gst/gstreamer-sections.txt:
24683 * gst/base/gstbasetransform.h:
24687 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24689 * docs/gst/.cvsignore:
24690 * docs/gst/tmpl/.cvsignore:
24691 * docs/gst/tmpl/gstpipeline.sgml:
24692 * docs/gst/tmpl/gstplugin.sgml:
24693 * gst/gstpipeline.c:
24696 inlined the last two docs files
24697 removed the tmpl directory from cvs (no more conflicts here!)
24699 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24701 * docs/gst/gstreamer-sections.txt:
24702 * docs/gst/tmpl/.cvsignore:
24703 * docs/gst/tmpl/gstpad.sgml:
24704 * docs/gst/tmpl/gstpadtemplate.sgml:
24706 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24707 (gst_pad_finalize), (gst_pad_set_pad_template):
24709 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24710 (gst_pad_template_class_init), (gst_pad_template_init),
24711 (gst_pad_template_dispose), (name_is_valid),
24712 (gst_static_pad_template_get), (gst_pad_template_new),
24713 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24714 (gst_pad_template_pad_created):
24715 * gst/gstpadtemplate.h:
24716 inlined two more docs
24717 factored gstpadtemplate out of gstpad
24719 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24721 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24722 (test_children_state_change_order_semi_sink):
24723 Fix test case: we can't rely on a fixed state change order when
24724 going from READY => PAUSED because the sink might commit its
24725 new state first when the first buffer created by the source
24726 reaches the sink before the source has finished its change state.
24727 (Test case still fails at times, see #316856, comment 5 onwards)
24729 2005-09-24 Wim Taymans <wim@fluendo.com>
24731 * docs/design/part-events.txt:
24732 * docs/design/part-gstbus.txt:
24733 * docs/design/part-gstpipeline.txt:
24734 * docs/design/part-messages.txt:
24735 * docs/design/part-overview.txt:
24736 * docs/design/part-segments.txt:
24740 * gst/gstelement.c:
24743 * gst/gstiterator.c:
24744 Various documentation updates.
24746 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24749 Well, that's embarassing. Luckily we weren't using
24750 GST_CLOCK_DIFF anywhere.
24752 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24754 * common/gtk-doc.mak:
24755 don't fail on building XML, FC4 slave shows a bunch of doc
24756 missing bits that I don't get
24758 * gst/gstpipeline.c:
24759 * gst/gststructure.c:
24762 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24764 * docs/design/part-gstbin.txt:
24765 * docs/design/part-gstbus.txt:
24767 Add blurb about how the bus goes into flushing mode and
24768 drops all messages when its bin goes from READY into NULL
24771 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24773 * docs/gst/gstreamer-sections.txt:
24774 * gst/gststructure.c: (gst_structure_get_clock_time):
24775 * gst/gststructure.h:
24776 add a method to get a GstClockTime out of a structure
24778 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24780 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24781 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24782 Added test to check state change order in bins (can still be made
24783 to fail here under heavy disk load; bails out with 'Push on pad
24784 fakesink:sink0, but it was not activated in push mode').
24786 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24787 Fix state change order when there is only a semi sink (#316856)
24789 * gst/gstbus.c: (gst_bus_class_init):
24790 Use _class_peek_parent(), not _class_ref(); fix docs to say
24791 'default main context' instead of 'mainloop' where that is
24794 * gst/gstelement.c: (gst_element_commit_state),
24795 (gst_element_set_state):
24796 Fix typos in debug messages
24798 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24801 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24802 * gst/gstpluginfeature.c:
24804 various doc updates
24805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24806 change an assert into an error until it gets fixed properly
24808 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24810 * docs/gst/gstreamer-sections.txt:
24811 * docs/gst/tmpl/.cvsignore:
24812 * docs/gst/tmpl/gstelement.sgml:
24813 * docs/gst/tmpl/gstinfo.sgml:
24814 * docs/gst/tmpl/gstobject.sgml:
24815 * gst/gstelement.c:
24816 * gst/gstelement.h:
24819 * gst/gstobject.c: (gst_object_class_init):
24821 inlined 3 more biiiig doc files and added some missing docs on the fly
24823 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24825 * check/gst/.cvsignore:
24826 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24827 * gst/gstregistryxml.c: (load_plugin),
24828 (gst_registry_xml_save_plugin):
24829 put back source in registry. add checks for find_plugin.
24830 * testsuite/states/bin.c: (assert_state), (empty_bin),
24831 (test_adding_one_element), (main):
24832 * testsuite/states/locked.c: (main):
24833 some compile/run fixes
24835 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24837 * check/gst/gstvalue.c: (GST_START_TEST):
24838 fix leaks in the test itself
24840 2005-09-22 Wim Taymans <wim@fluendo.com>
24842 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24843 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24844 (gst_base_sink_query):
24845 Prepare for more accurate position reporting and query
24848 * gst/gstelement.c: (gst_element_send_event),
24849 (gst_element_set_state):
24852 2005-09-22 Wim Taymans <wim@fluendo.com>
24854 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24855 (gst_query_parse_segment):
24857 More documentation.
24858 Add segment query for future use.
24860 2005-09-22 Wim Taymans <wim@fluendo.com>
24862 * gst/gstbin.c: (gst_bin_add_func):
24863 Some more debug info.
24865 * gst/gstelement.c: (gst_element_send_event):
24866 Simplify send_event
24868 * gst/gstelement.h:
24869 Don't know how flags got broken.
24874 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24876 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24877 Add simplistic test suite for GST_TYPE_DATE serialisation and
24880 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24882 * docs/gst/gstreamer-sections.txt:
24883 * gst/gststructure.c: (gst_structure_set_valist),
24884 (gst_structure_get_date):
24885 * gst/gststructure.h:
24886 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24887 (gst_date_copy), (gst_value_compare_date),
24888 (gst_value_serialize_date), (gst_value_deserialize_date),
24889 (gst_value_transform_date_string),
24890 (gst_value_transform_string_date), (_gst_value_initialize):
24892 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24893 bunch of utility functions along with a hack that checks that
24894 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24895 is required. Part of the grand scheme in #170777.
24897 2005-09-22 Andy Wingo <wingo@pobox.com>
24899 * gst/gstconfig.h.in: Psych out gtk-doc.
24901 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24903 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24905 * tools/gst-inspect.c (print_element_list): Plug some
24906 inconsequential leaks.
24908 * gst/gstregistry.c (gst_registry_get_default): Doc.
24910 * check/gst/gstplugin.c:
24911 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24912 * gst/gstelementfactory.c (gst_element_factory_create):
24913 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24916 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24917 (gst_plugin_feature_load): Doc, don't eat refs.
24919 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24920 (gst_plugin_list_free): Doc.
24921 (gst_plugin_load_file): Doc updates.
24923 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24924 accessors returning refcounted objects, return a ref.
24926 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24927 accessor for caps. IDEMPOTENCE. Oh yes.
24929 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24931 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24933 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24934 (_gst_debug_register_funcptr):
24935 Add mutex to serialise access to the hash table with
24936 the function pointer => function name string mapping;
24937 make that hash table static scope (#316809).
24939 * gst/registries/.cvsignore:
24940 Remove left-over file.
24942 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24944 * docs/pwg/appendix-porting.xml:
24945 And something about newsegment events and caps-on-buffers to
24946 the porting guide (feel free to improve).
24948 2005-09-21 Andy Wingo <wingo@pobox.com>
24950 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24951 data and event probes on the same pad.
24952 (test_buffer_probe_once): Test that removing probes from within
24953 the probe functions works.
24955 2005-09-21 Andy Wingo <wingo@pobox.com>
24957 * check/gst/gstutils.c: New file.
24958 (test_buffer_probe_n_times): A simple buffer probe test. More to
24961 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24962 have-data::buffer, not have-data.
24963 (gst_pad_add_event_probe): Likewise for have-data::event.
24964 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24965 peer' isn't quite right yet though.
24966 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24967 (gst_pad_remove_data_probe): Change to take the guint handler_id
24968 as their arg, not the function+data, which is more glib-like.
24970 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24971 the signal emission to indicate if the data is a buffer or an
24973 (gst_pad_get_type): Initialize buffer and event quarks.
24974 (gst_pad_class_init): have-data is now a detailed signal, yes it
24977 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24979 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24980 * gst/gstutils.c: (gst_util_set_value_from_string),
24981 (gst_util_set_object_arg):
24982 Don't put functional code in g_return_if_fail() or
24983 g_return_val_if_fail() statements, otherwise things will
24984 break when G_DISABLE_CHECKS is defined during compilation.
24986 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24988 * docs/gst/tmpl/.cvsignore:
24989 * docs/gst/tmpl/gstvalue.sgml:
24992 inlied another one and added some obvious docs
24994 2005-09-21 Wim Taymans <wim@fluendo.com>
24996 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24997 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24998 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24999 (gst_fdsrc_get_property), (gst_fdsrc_create):
25000 * gst/elements/gstfdsrc.h:
25001 Properly implement fdsrc. Removed signal and timeout,
25002 better implemented somewhere else.
25004 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25006 * docs/gst/tmpl/.cvsignore:
25007 * docs/gst/tmpl/gstimplementsinterface.sgml:
25008 * gst/gstinterface.c:
25011 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25013 * docs/gst/gstreamer-sections.txt:
25014 * docs/gst/tmpl/.cvsignore:
25015 * docs/gst/tmpl/gstenumtypes.sgml:
25016 remove obsolete doc file
25018 2005-09-21 David Schleef <ds@schleef.org>
25020 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25021 little beer, fix a little leak.
25023 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25025 * docs/gst/gstreamer-docs.sgml:
25026 * docs/gst/gstreamer-sections.txt:
25027 * docs/gst/tmpl/.cvsignore:
25031 * gst/gstelement.h:
25032 * gst/gstindex.c: (gst_index_class_init):
25034 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25035 (gst_index_factory_class_init), (gst_index_factory_init),
25036 (gst_index_factory_finalize), (gst_index_factory_new),
25037 (gst_index_factory_destroy), (gst_index_factory_find),
25038 (gst_index_factory_create), (gst_index_factory_make):
25039 * gst/gstindexfactory.h:
25040 * gst/gstpluginfeature.c:
25041 * gst/gstpluginfeature.h:
25042 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25043 more docs inlined, splitted gstindex.{c,h}
25045 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25047 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25050 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25052 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25053 Set sync to FALSE by default.
25055 2005-09-20 Wim Taymans <wim@fluendo.com>
25057 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25058 (gst_base_sink_init):
25059 Make sync property settable from subclass.
25061 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25062 (gst_fake_sink_change_state):
25063 Set sync to FALSE by default.
25065 2005-09-20 Wim Taymans <wim@fluendo.com>
25067 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25068 * tools/gst-launch.c: (main):
25069 The timeout handler should have lower priority than the source
25070 so we don't timeout before popping a message with 0 timeout.
25071 Dump error messages after failed state change.
25073 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25075 * tools/gst-inspect.c: (print_element_properties_info):
25078 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25080 * check/gst/gstevent.c:
25081 * gst/elements/gstfakesink.c:
25082 * gst/elements/gstfakesink.h:
25083 remove the sync property from fakesink.
25084 has the side effect of setting sync TRUE
25085 for fakesink, which is a change. Anyone who knows how
25086 to fix this nicely in a GObject-y way, feel free.
25088 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25090 * docs/gst/gstreamer-docs.sgml:
25091 remove probe refsection
25093 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25095 * check/Makefile.am:
25096 disable valgrinding the controller test again
25097 * docs/gst/gstreamer-sections.txt:
25098 update for api-changes
25100 2005-09-20 Wim Taymans <wim@fluendo.com>
25102 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25103 (gst_base_sink_set_property), (gst_base_sink_get_property),
25104 (gst_base_sink_do_sync):
25105 * gst/base/gstbasesink.h:
25106 Added sync property to basesink to disable clock sync.
25108 2005-09-20 Andy Wingo <wingo@pobox.com>
25110 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25111 eating the caller's refcount.
25113 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25114 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25117 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25118 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25119 of GLib 2.8 public, so we can know which refcount to check in
25122 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25123 (gst_object_init): Only set the gst refcount if we're going ahead
25124 with the refcount hack.
25126 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25128 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25129 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25130 more leaks plumbed, added more debug-logging
25134 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25136 * gst/gstmessage.c:
25137 remove include of gstmemchunk.h
25139 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25141 * gst/gstclock.c: (_gst_clock_id_free):
25142 Commit from the Political Party For More Atomic CVS Commits,
25143 so that people don't waste too much of their day fishing
25144 out obvious leaks out of massive commits.
25145 Oh, and fix a pretty damn obvious leak in the memchunk
25148 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25150 * check/Makefile.am:
25151 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25152 plug mem-leak, re-add to valgrindable tests
25154 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25157 unbreak the build for those who have chronic arthritis
25158 and typing "make check" is just too taxing on the hands
25160 2005-09-20 Andy Wingo <wingo@pobox.com>
25162 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25163 really want it out, you should fix plugins at the same time.
25165 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25168 * docs/gst/gstreamer-sections.txt:
25170 added missing symbols to api docs
25171 disable ref-count hack if we have glib >= 2.8
25173 2005-09-19 David Schleef <ds@schleef.org>
25175 * docs/gst/Makefile.am: Ignore a few more internal headers
25176 * docs/gst/gstreamer-docs.sgml: Remove old sections
25177 * docs/gst/gstreamer-sections.txt: Remove old sections
25178 * docs/gst/tmpl/gstobject.sgml: update
25179 * docs/gst/tmpl/gstplugin.sgml: update
25180 * docs/gst/tmpl/gstpluginfeature.sgml: update
25181 * docs/random/ds/0.9-suggested-changes: update.
25182 * gst/Makefile.am: remove memchunk and trashstack, since they're
25184 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25185 * gst/gst.h: don't include some headers
25186 * gst/gstchildproxy.c: add gstmarshal.h
25187 * gst/gstclock.c: Don't use memchunks
25188 * gst/gstminiobject.c: Add some docs
25189 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25190 * gst/gstobject.h: same
25191 * gst/gstplugin.c: include gstmacros.h
25192 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25193 * gst/gstquery.c: don't use memchunks
25194 * gst/gstregistry.c: rename gst_registry_deinit()
25195 * gst/gstregistry.h: same
25197 2005-09-19 David Schleef <ds@schleef.org>
25199 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25200 * docs/libs/gstreamer-libs-sections.txt:
25201 * docs/libs/tmpl/gstgetbits.sgml:
25202 * docs/libs/tmpl/gstputbits.sgml:
25204 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25206 * win32/gstenumtypes.c:
25207 * win32/gstenumtypes.h:
25210 2005-09-19 Wim Taymans <wim@fluendo.com>
25212 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25213 Automatically PAUSE and RESUME a pipeline when a flushing seek
25216 2005-09-19 Andy Wingo <wingo@pobox.com>
25218 * gst/gstregistry.h: Spacing fixen.
25220 2005-09-19 Wim Taymans <wim@fluendo.com>
25222 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25223 Handle state change failure more correctly.
25225 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25227 * check/Makefile.am:
25228 * check/pipelines/cleanup.c: (run_pipeline):
25229 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25231 enable cleanup again after fixing the leak
25233 some more info on docs
25235 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25237 * check/Makefile.am:
25238 re-enable tests now that leaks are plugged
25240 * check/gst/gstbin.c:
25241 * check/gst/gstpipeline.c:
25242 add some more tests while fixing leaks
25243 * common/check.mak:
25244 make sure binaries are uptodate when valgrinding/gdbing
25246 * gst/gstelementfactory.c:
25247 remove a ref too many, and add a FIXME for when we get
25248 round to disposing of classes
25250 fix the refcounting when loading a plugin from a file and
25251 the code pretends that the pointer is the same even though
25252 of course it can change
25253 * gst/gstpluginfeature.c:
25254 unref plugins marked cached (a bit confusing as a name)
25255 as the docs state should be done
25256 various doc additions to explain refcounting
25257 * gst/gstregistry.c:
25258 * gst/gstregistryxml.c:
25261 2005-09-19 Wim Taymans <wim@fluendo.com>
25263 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25264 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25265 (send_messages), (GST_START_TEST), (gstbus_suite):
25266 * check/gst/gstpipeline.c: (GST_START_TEST):
25267 * check/pipelines/cleanup.c: (run_pipeline):
25268 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25270 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25271 (gst_bus_source_check), (gst_bus_source_dispatch),
25272 (gst_bus_create_watch), (gst_bus_add_watch_full),
25273 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25275 * tools/gst-launch.c: (event_loop):
25276 * tools/gst-md5sum.c: (event_loop):
25277 GstBusHandler -> GstBusFunc, return value has the same meaning as
25278 any other GSource (FALSE == remove source).
25279 _add_watch() and _add_watch_full() now take a MessageType mask to
25280 only handle specific types of messages.
25281 _poll() returns the GstMessage instead of the message type to avoid
25283 _have_pending() takes a MessageType mask now too.
25284 Added testsuite for multiple bus watches.
25285 Fix testsuites and applications for new bus API.
25287 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25289 * check/Makefile.am:
25290 mark a bunch of the tests as to fix until we fix them
25292 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25294 * common/check.mak:
25295 use GST_PLUGIN settings for valgrind tests as well, so we're
25296 valgrinding the correct thing
25297 * gst/gst.c: (init_post):
25300 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25302 * gst/gst.c: (init_post), (gst_deinit):
25303 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25304 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25305 * gst/gstindex.c: (gst_index_factory_class_init),
25306 (gst_index_factory_finalize):
25307 * gst/gstobject.c: (gst_object_dispose):
25308 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25309 (gst_plugin_load_file), (gst_plugin_desc_free):
25310 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25311 (gst_plugin_feature_finalize):
25312 * gst/gstregistry.c: (gst_registry_class_init),
25313 (gst_registry_init), (gst_registry_finalize),
25314 (gst_registry_get_default), (gst_registry_deinit):
25315 * gst/gstregistry.h:
25316 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25317 various cleanups and memleak plugging. make valgrind is happy now.
25319 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25321 * common/check.mak:
25322 add a check-valgrind target
25324 2005-09-18 David Schleef <ds@schleef.org>
25326 * tools/gst-inspect.c: Revert the GOption code.
25328 2005-09-17 David Schleef <ds@schleef.org>
25330 * check/Makefile.am: Fix environment variables.
25331 * check/gst/gstplugin.c: Fix for API changes.
25332 * tools/gst-inspect.c: Fix for API changes.
25333 * tools/gst-xmlinspect.c: Fix for API changes.
25334 * gst/gstelementfactory.c:
25337 * gst/gstpluginfeature.c:
25338 * gst/gstpluginfeature.h:
25339 * gst/gstregistry.c:
25340 * gst/gstregistry.h:
25341 * gst/gstregistryxml.c:
25342 * gst/gsttypefind.c:
25343 * gst/gsttypefindfactory.c:
25344 * gst/indexers/gstfileindex.c:
25345 * gst/indexers/gstmemindex.c:
25346 * gst/schedulers/Makefile.am:
25347 Change registry to keep track of both plugins and features,
25348 removing the feature tracking from plugins themselves.
25350 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25352 * check/Makefile.am:
25353 * tools/gst-register.1.in:
25354 remove gst-register
25356 2005-09-15 David Schleef <ds@schleef.org>
25358 * check/gst/gstplugin.c:
25359 * gst/gstelementfactory.c:
25361 * gst/gstpluginfeature.c:
25362 * gst/gstregistry.c:
25363 Getting tired of debugging. Disabled all the unreffing of
25364 plugins and features, which fixes the segfaults, but of
25365 course leaks like crazy. At least playbin works.
25367 2005-09-15 David Schleef <ds@schleef.org>
25369 * check/gst/gstplugin.c: (register_check_elements),
25370 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25372 * gst/elements/gsttypefindelement.c: Fix refcounting.
25373 * gst/gsttypefind.c:
25374 * gst/gsttypefindfactory.c:
25375 * gst/gsttypefindfactory.h:
25377 2005-09-15 David Schleef <ds@schleef.org>
25379 * gst/gstindex.c: get refcounting correct.
25380 * gst/gstregistry.c: Handle the case where a feature/plugin is
25383 2005-09-15 David Schleef <ds@schleef.org>
25385 * check/Makefile.am:
25386 * check/gst/gstplugin.c: Add test
25387 * gst/gstplugin.c: Fix problems noticed by testsuite
25389 * gst/gstregistry.c:
25390 * gst/gstregistry.h:
25392 2005-09-15 David Schleef <ds@schleef.org>
25394 * gst/gstplugin.c: Implement semi-decent recounting and locking
25395 in plugins and plugin features.
25397 * gst/gstpluginfeature.c:
25398 * gst/gstpluginfeature.h:
25399 * gst/gstregistry.c:
25401 2005-09-15 Michael Smith <msmith@fluendo.com>
25403 * gst/gstregistry.c: (gst_registry_get_feature_list):
25404 Implement this. Makes oggdemux work; decodebin still broken.
25406 2005-09-14 David Schleef <ds@schleef.org>
25408 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25410 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25411 * gst/check/Makefile.am:
25412 * libs/gst/controller/Makefile.am:
25413 * libs/gst/dataprotocol/Makefile.am:
25415 2005-09-14 David Schleef <ds@schleef.org>
25417 * configure.ac: Remove getbits library. Nothing uses it, and
25418 it should be in something like liboil if someone did want
25420 * libs/gst/Makefile.am:
25421 * libs/gst/getbits/Makefile.am:
25422 * libs/gst/getbits/gbtest.c:
25423 * libs/gst/getbits/getbits.c:
25424 * libs/gst/getbits/getbits.h:
25425 * libs/gst/getbits/gstgetbits_generic.c:
25426 * libs/gst/getbits/gstgetbits_i386.s:
25427 * libs/gst/getbits/gstgetbits_inl.h:
25429 2005-09-14 David Schleef <ds@schleef.org>
25431 * gst/Makefile.am: Dist glib-compat.h
25433 2005-09-14 David Schleef <ds@schleef.org>
25435 * configure.ac: Remove gst/registries, since it's no longer used.
25436 * gst/registries/Makefile.am:
25437 * gst/registries/gstlibxmlregistry.c:
25438 * gst/registries/gstlibxmlregistry.h:
25439 * gst/registries/gstxmlregistry.c:
25440 * gst/registries/gstxmlregistry.h:
25441 * gst/registries/registrytest.c:
25443 2005-09-14 David Schleef <ds@schleef.org>
25445 * gst/glib-compat.h:
25446 * gst/gstregistryxml.c:
25447 Convergence is near. Seriously.
25449 2005-09-14 David Schleef <ds@schleef.org>
25451 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25452 * gst/glib-compat.h:
25453 Attempt #4 to appease the buildbots.
25455 2005-09-14 David Schleef <ds@schleef.org>
25457 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25460 2005-09-14 David Schleef <ds@schleef.org>
25462 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25465 2005-09-14 David Schleef <ds@schleef.org>
25467 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25470 2005-09-14 David Schleef <ds@schleef.org>
25472 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25473 * gst/glib-compat.h: Add some functions that are in newer versions
25474 of glib than we care to require.
25475 * gst/gstregistryxml.c: Use them.
25477 2005-09-14 David Schleef <ds@schleef.org>
25479 * po/POTFILES.in: remove gst-register.c
25481 2005-09-14 David Schleef <ds@schleef.org>
25483 * docs/gst/gstreamer-docs.sgml:
25484 * docs/gst/gstreamer-sections.txt:
25485 * docs/gst/gstreamer.types:
25486 * docs/gst/tmpl/gstelement.sgml:
25487 * docs/gst/tmpl/gstplugin.sgml:
25488 * docs/gst/tmpl/gstpluginfeature.sgml:
25489 Documentation updates for registry changes.
25491 2005-09-14 David Schleef <ds@schleef.org>
25493 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25494 because we don't require glib-2.8.
25496 2005-09-14 David Schleef <ds@schleef.org>
25498 * gst/gstregistryxml.c: Added. Essentially moved out of the
25499 registries directory.
25501 2005-09-14 David Schleef <ds@schleef.org>
25503 * check/Makefile.am:
25504 * check/generic/states.c:
25508 * gst/gst_private.h:
25509 * gst/gstelementfactory.c:
25514 * gst/gstpluginfeature.c:
25515 * gst/gstpluginfeature.h:
25516 * gst/gstregistry.c:
25517 * gst/gstregistry.h:
25518 * gst/gstregistrypool.c: remove
25519 * gst/gstregistrypool.h: remove
25520 * gst/gsttypefind.c:
25521 * gst/gsttypefindfactory.c:
25523 * tools/Makefile.am:
25524 * tools/gst-compprep.c:
25525 * tools/gst-inspect.c:
25526 * tools/gst-register.c: remove
25527 * tools/gst-xmlinspect.c:
25528 Registry rewrite. Changes registry from being a file created
25529 by a tool into a simple cache file created automatically by
25530 libgstreamer. Removed gst-register (because it's no longer
25531 needed). Remove registry pools, because we only have one
25532 registry implementation (XML). Fix up other subsystems as
25535 2005-09-13 Michael Smith <msmith@fluendo.com>
25537 * gst/gstconfig.h.in:
25538 Don't Use windows linking attributes for MinGW. Fixes #316157
25540 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25542 * gst/gstutils.c: (set_state_async_thread_func),
25543 (gst_element_set_state_async):
25544 Apparently people think it's better if this function doesn't
25545 try to set the state to whatever state was asked for on the first
25546 call to this function for any object. Seriously.
25548 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25550 * check/gst/gstpipeline.c: (GST_START_TEST):
25551 * docs/gst/gstreamer-sections.txt:
25552 * gst/gstutils.c: (set_state_async_thread_func),
25553 (gst_element_set_state_async):
25555 add a "gst_element_set_state_async" method that
25556 sets the state and starts a thread to make sure the state
25557 change completes as best as it can
25559 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25561 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25562 codify design+behaviour in testsuite after discussion
25564 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25566 * docs/gst/tmpl/gstelement.sgml:
25567 * docs/manual/appendix-quotes.xml:
25569 * gst/gstelement.c: (gst_element_set_state):
25572 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25574 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25575 (gst_base_transform_prepare_output_buf),
25576 (gst_base_transform_handle_buffer):
25577 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25578 (gst_capsfilter_prepare_buf):
25579 Remove the requirement for sub-classes to call the parent
25580 implementation of prepare_output_buffer with a wrapper function.
25582 * gst/gsttaglist.h:
25583 * gst/gsttagsetter.h:
25584 Fix #define wrapper
25586 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25588 * docs/gst/gstreamer-sections.txt:
25591 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25593 * docs/gst/gstreamer-sections.txt:
25594 * docs/gst/tmpl/gstelement.sgml:
25595 * docs/gst/tmpl/gstplugin.sgml:
25596 * gst/gstminiobject.c:
25598 docs now stop throwing warnings
25600 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25602 * docs/gst/gstreamer-sections.txt:
25603 * docs/gst/gstreamer.types:
25604 * docs/gst/tmpl/gstpad.sgml:
25605 * docs/gst/tmpl/gsttypes.sgml:
25606 * gst/base/gstadapter.h:
25607 * gst/base/gstbasesink.h:
25608 * gst/base/gstbasesrc.h:
25614 * gst/gstelement.h:
25616 * gst/gstmessage.h:
25618 * gst/gststructure.c:
25619 * gst/registries/gstlibxmlregistry.h:
25620 various documentation fixes
25622 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25624 * docs/gst/gstreamer-sections.txt:
25625 * docs/gst/tmpl/gstvalue.sgml:
25626 rearrange gstvalue section
25627 * gst/gstutils.c: (gst_element_state_get_name):
25629 * gst/gstvalue.c: (_gst_value_initialize):
25633 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25635 * check/gst-libs/controller.c:
25636 Header include fix.
25637 * gst/base/gstbasetransform.c:
25638 (gst_base_transform_default_prepare_buf),
25639 (gst_base_transform_handle_buffer):
25640 * gst/base/gstbasetransform.h:
25641 Some more basetransform changes and fixes to enable sub-classes
25642 that modify buffer metadata only.
25643 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25644 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25645 (gst_capsfilter_prepare_buf):
25646 If the output pad has fixed allowed caps and input buffers
25647 don't have any, set the fixed caps on outgoing buffers.
25649 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25650 * check/elements/identity.c: (GST_START_TEST):
25651 Make the error a little clearer when the test fails because
25652 identity made a copy of the buffer.
25653 * docs/gst/gstreamer-sections.txt:
25654 New symbols in gstbasetransform.h
25655 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25656 (gst_base_transform_init), (gst_base_transform_transform_size),
25657 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25658 (gst_base_transform_default_prepare_buf),
25659 (gst_base_transform_get_unit_size),
25660 (gst_base_transform_buffer_alloc),
25661 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25662 (gst_base_transform_change_state),
25663 (gst_base_transform_set_passthrough),
25664 (gst_base_transform_set_in_place),
25665 (gst_base_transform_is_in_place):
25666 * gst/base/gstbasetransform.h:
25667 Change BaseTransform to separate in_place operate from same_caps
25668 output. in_place implies that the element can perform the transform
25669 on incoming buffers in-place, even if the caps on the output are
25671 Sub-class elements can now implement special buffer allocation
25672 methods for outgoing buffers if they wish to.
25673 Big documentation addition.
25674 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25675 * gst/elements/gstelements.c:
25676 Changes for basetransform modifications.
25677 * gst/elements/Makefile.am:
25678 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25679 Compile fix. Extra debug output.
25681 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25683 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25685 add tests for valid pad naming
25686 * gst/check/gstcheck.c: (gst_check_log_message_func),
25687 (gst_check_log_critical_func):
25689 remove printing of code, it is fragile when the code contains
25690 % and the line number is enough info
25691 * gst/check/gstcheck.h:
25692 * gst/gstpad.c: (gst_pad_template_new):
25695 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25698 say what CHECK flags we use
25699 * docs/libs/gstreamer-libs.types:
25700 * libs/gst/controller/Makefile.am:
25701 * libs/gst/controller/gst-controller.c:
25702 * libs/gst/controller/gst-controller.h:
25703 * libs/gst/controller/gst-helper.c:
25704 * libs/gst/controller/gst-interpolation.c:
25705 * libs/gst/controller/gstcontroller.c:
25706 * libs/gst/controller/gsthelper.c:
25707 * libs/gst/controller/gstinterpolation.c:
25708 * tools/gst-inspect.c: (print_plugin_info):
25709 we don't use dashes in header names
25711 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25713 * check/Makefile.am:
25714 * check/gst/.cvsignore:
25715 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25716 (gst_pipeline_suite), (main):
25717 adding a test for pipelines and state changes
25718 * gst/gstutils.c: (get_state_func):
25720 * gstreamer.spec.in:
25723 2005-09-08 Michael Smith <msmith@fluendo.com>
25725 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25726 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25727 (gst_file_src_is_seekable), (gst_file_src_get_size),
25728 (gst_file_src_start):
25729 * gst/elements/gstfilesrc.h:
25730 Various fixes for unseekable, unmmapable, and non-normal files, so
25731 that fallback to read() rather than mmap() works.
25732 * gst/gstevent.c: (gst_event_new_newsegment):
25733 Allow newsegment events with segment_start == segment_end, as will
25734 correctly happen if you use filesrc on a zero-size file, for
25737 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25739 * gst/gstplugin.c: (gst_plugin_load_file):
25740 Call g_module_close when we don't load the module
25742 * gst/registries/gstlibxmlregistry.c:
25743 (gst_xml_registry_get_property):
25744 Port leak fix from 0.8
25746 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25748 * docs/gst/gstreamer-docs.sgml:
25749 * docs/gst/tmpl/.cvsignore:
25750 * docs/gst/tmpl/gsttrace.sgml:
25751 * docs/gst/tmpl/gsttrashstack.sgml:
25754 * gst/gstelement.h:
25756 * gst/gstmessage.c:
25757 * gst/gstmessage.h:
25760 * gst/gsttaginterface.c:
25761 * gst/gsttaginterface.h:
25762 * gst/gsttaglist.c:
25763 * gst/gsttaglist.h:
25764 * gst/gsttagsetter.c:
25765 * gst/gsttagsetter.h:
25768 * gst/gsttrashstack.c:
25769 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25770 inlined docs for gsttrace, gsttrashstack
25772 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25775 * gst/elements/gstbufferstore.h:
25776 * gst/elements/gsttypefindelement.c:
25777 * gst/elements/gsttypefindelement.h:
25779 * gst/gsttypefind.c:
25780 * gst/gsttypefind.h:
25781 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25782 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25783 (gst_type_find_factory_dispose),
25784 (gst_type_find_factory_unload_thyself),
25785 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25786 (gst_type_find_factory_get_caps),
25787 (gst_type_find_factory_get_extensions),
25788 (gst_type_find_factory_call_function):
25789 * gst/gsttypefindfactory.h:
25790 * gst/registries/gstlibxmlregistry.c:
25791 * gst/registries/gstxmlregistry.c:
25792 splitted gsttypefind into gsttypefind, gsttypefindfactory
25794 2005-09-07 Andy Wingo <wingo@pobox.com>
25796 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25797 condition whereby the pad's task function is entered before the
25798 pad_mode variable was set.
25800 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25802 * gst/gstpad.c: (gst_pad_alloc_buffer):
25803 Catch misbehaving pad_alloc functions that don't
25804 set up caps and do it for them.
25806 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25808 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25809 test for pipe!=NULL
25810 * docs/gst/tmpl/.cvsignore:
25811 * docs/gst/tmpl/gstmemchunk.sgml:
25812 * docs/gst/tmpl/gstparse.sgml:
25813 * docs/gst/tmpl/gsttaglist.sgml:
25814 * docs/gst/tmpl/gsttagsetter.sgml:
25815 * docs/gst/tmpl/gsttypefind.sgml:
25816 * docs/gst/tmpl/gsttypefindfactory.sgml:
25817 * gst/gstmemchunk.c:
25820 * gst/gsttaginterface.c:
25821 * gst/gsttypefind.c:
25822 * gst/gsttypefind.h:
25825 === release 0.9.2 ===
25827 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25832 releasing 0.9.2, "South"
25834 2005-09-05 Andy Wingo <wingo@pobox.com>
25836 * gst/registries/gstxmlregistry.h:
25837 * gst/registries/gstxmlregistry.c: Um... resurrect...
25839 * gst/registries/gstxmlregistry.h:
25840 * gst/registries/gstxmlregistry.c: and update to newer API.
25841 Incidentally they should be a bit faster now that they don't have
25844 2005-09-05 Andy Wingo <wingo@pobox.com>
25846 * gst/registries/gstxmlregistry.h:
25847 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25848 replaced by the libxml registry a while back
25850 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25852 * docs/gst/tmpl/gstplugin.sgml:
25853 * gst/elements/gstelements.c:
25855 * gst/gstplugin.c: (gst_plugin_register_func),
25856 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25857 (gst_plugin_get_source):
25859 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25860 (gst_xml_registry_save_plugin):
25861 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25862 (gst_xml_registry_save_plugin):
25863 * tools/gst-inspect.c: (print_plugin_info):
25864 add a "source" plugin description field, to represent the source
25865 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25866 will set it to PACKAGE, which is automake's idea of the name of
25867 the source project.
25869 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25874 * docs/Makefile.am:
25875 * docs/faq/Makefile.am:
25876 * docs/gst/tmpl/gstelement.sgml:
25877 * docs/gst/tmpl/gsttypes.sgml:
25878 * docs/htmlinstall.mak:
25879 * docs/manual/Makefile.am:
25880 * docs/pwg/Makefile.am:
25881 reorganize doc build a little
25882 split out docbook and gtk-doc stuff
25883 have two separate --enable's and enable them through autogen
25884 but disable by default in configure (to be similar to other
25886 * gstreamer.spec.in:
25887 clean up docs install
25905 translation updates
25907 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25909 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25912 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25913 (gst_fake_sink_change_state):
25914 Make state change function thread-safe.
25916 * gst/gstpad.c: (gst_pad_alloc_buffer):
25917 Set offset on generic buffer allocated by fallback.
25919 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25921 * docs/gst/gstreamer-sections.txt:
25922 * docs/gst/tmpl/gstelement.sgml:
25924 * libs/gst/controller/gst-controller.c:
25925 (gst_controlled_property_set_interpolation_mode),
25926 (gst_controlled_property_new),
25927 (gst_controller_find_controlled_property):
25928 run the wingo-magic script against the docs
25930 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25932 * docs/gst/gstreamer-docs.sgml:
25933 * docs/gst/gstreamer-sections.txt:
25934 * docs/gst/tmpl/.cvsignore:
25935 * docs/gst/tmpl/gstelementdetails.sgml:
25936 * docs/gst/tmpl/gstelementfactory.sgml:
25939 * gst/gstelementfactory.c:
25940 * gst/gstelementfactory.h:
25941 merged elementdetails docs into elementfactory docs
25944 2005-09-02 Andy Wingo <wingo@pobox.com>
25946 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25947 consider this enum an enum and not a flags.
25949 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25951 * docs/gst/gstreamer-docs.sgml:
25952 * docs/gst/tmpl/.cvsignore:
25953 * docs/gst/tmpl/gstghostpad.sgml:
25954 * docs/gst/tmpl/gstiterator.sgml:
25955 * docs/gst/tmpl/gstmacros.sgml:
25956 * docs/gst/tmpl/gstrealpad.sgml:
25957 * docs/gst/tmpl/gstregistry.sgml:
25958 * docs/gst/tmpl/gstregistrypool.sgml:
25959 * docs/gst/tmpl/gststructure.sgml:
25960 * docs/gst/tmpl/gstsystemclock.sgml:
25961 * docs/gst/tmpl/gsttrace.sgml:
25962 * gst/gstghostpad.c:
25964 * gst/gstmemchunk.c:
25965 * gst/gstmemchunk.h:
25967 * gst/gstregistry.c:
25968 * gst/gstregistrypool.c:
25969 * gst/gststructure.c:
25970 * gst/gstsystemclock.c:
25973 2005-09-02 Andy Wingo <wingo@pobox.com>
25975 * gst/gstelement.h (GstState): Renamed from GstElementState,
25976 changed to be a normal enum instead of flags.
25977 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25978 munged to be GST_STATE_CHANGE_*.
25979 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25980 work with the new state representation.
25981 (GstStateChange): New enumeration of possible state transitions.
25982 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25983 (GstElementClass::change_state): Pass the GstStateChange along as
25984 an argument. Helps language bindings, so they don't have to use
25985 tricky lock-needing macros like GST_STATE_CHANGE ().
25987 * scripts/update-states (file): New script. Run it on a file to
25988 update it for state naming and API changes. Updates files in
25991 * All files updated for the new API.
25993 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25995 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25996 * gst/gstutils.c: (gst_util_set_value_from_string),
25997 (gst_util_set_object_arg):
25998 fix a bunch of unchecked return values
25999 * tools/gst-complete.c: (main):
26000 * gstreamer.spec.in:
26003 2005-09-01 Wim Taymans <wim@fluendo.com>
26005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26006 (gst_base_sink_event), (gst_base_sink_do_sync),
26007 (gst_base_sink_handle_event):
26008 * gst/base/gstbasesink.h:
26009 Handle newsegments more correctly.
26014 * gst/gstevent.c: (gst_event_new_newsegment):
26015 A newsegment cannot have a start_time of -1
26017 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26019 * win32/gstenumtypes.c:
26020 * win32/gstenumtypes.h:
26023 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26025 * libs/gst/controller/gst-controller.c:
26026 (gst_controlled_property_set_interpolation_mode),
26027 (gst_controlled_property_new):
26028 fixed boolean again
26030 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26032 * docs/faq/gst-uninstalled:
26037 * gst/gstutils.c: (gst_element_link_filtered):
26039 add gst_element_link_filtered
26041 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26043 * docs/gst/gstreamer-docs.sgml:
26044 * docs/gst/gstreamer-sections.txt:
26045 * docs/gst/tmpl/.cvsignore:
26046 * docs/gst/tmpl/gsterror.sgml:
26047 * docs/gst/tmpl/gstfilter.sgml:
26048 * docs/gst/tmpl/gsturihandler.sgml:
26049 * docs/gst/tmpl/gsturitype.sgml:
26050 * docs/gst/tmpl/gstutils.sgml:
26051 * docs/gst/tmpl/gstxml.sgml:
26056 * gst/gsturitype.c:
26059 inlined more docs, fixed double id-ref
26061 2005-08-31 Wim Taymans <wim@fluendo.com>
26063 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26064 (gst_base_transform_handle_buffer):
26065 Passthrough elements don't need the caps as they don't care.
26067 2005-08-31 Wim Taymans <wim@fluendo.com>
26069 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26070 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26071 Don't leak refcounts on buffers.
26073 2005-08-31 Wim Taymans <wim@fluendo.com>
26075 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26076 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26077 (gst_base_transform_chain), (gst_base_transform_change_state):
26078 * gst/base/gstbasetransform.h:
26079 Handle the case where we are not negotiated more gracefully.
26081 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26083 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26084 (gst_file_src_map_region):
26085 Set READONLY flag on mmap'ed buffers, otherwise
26086 gst_buffer_make_writable() won't work properly (#314708).
26088 2005-08-31 Wim Taymans <wim@fluendo.com>
26090 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26091 passthrough elements can even do inplace on non writable
26092 buffers (as they don't touch them).
26094 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26096 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26097 (gst_test_mono_source_set_property),
26098 (gst_test_mono_source_class_init), (GST_START_TEST),
26099 (gst_controller_suite):
26100 more tests (hehe I have the most)
26102 describe popping messages whenusing mulltiple sources
26103 * libs/gst/controller/gst-controller.c:
26104 (gst_controlled_property_set_interpolation_mode),
26105 (gst_controlled_property_new):
26106 * libs/gst/controller/gst-controller.h:
26107 * libs/gst/controller/gst-interpolation.c:
26108 implement boolean properties
26110 2005-08-31 Wim Taymans <wim@fluendo.com>
26112 * gst/gstminiobject.c: (gst_mini_object_ref):
26113 Cannot assert that the refcount has to be positive
26114 since a disposed object can be resurrected.
26116 2005-08-31 Wim Taymans <wim@fluendo.com>
26118 * gst/gstpad.c: (gst_pad_init):
26119 Revert change, need to first fix badly behaving
26122 2005-08-30 Wim Taymans <wim@fluendo.com>
26124 * check/elements/fakesrc.c: (setup_fakesrc):
26125 * check/elements/identity.c: (setup_identity):
26126 Activate pads before using them.
26128 2005-08-30 Wim Taymans <wim@fluendo.com>
26130 * gst/base/gstadapter.c: (gst_adapter_flush):
26131 Flushing out 0 bytes is ok for this function.
26133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26134 no newsegment gives a warning and sets the start/stop to
26137 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26138 (gst_base_transform_set_passthrough):
26141 * gst/gstminiobject.c: (gst_mini_object_ref):
26142 Check refcount here too.
26144 * gst/gstpad.c: (gst_pad_init):
26145 Pads are initially flushing and refusing data.
26147 * gst/gstutils.c: (gst_element_link_pads_filtered):
26148 When adding a capsfilter element make sure it has the
26149 same state as the parent bin.
26151 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26153 * docs/gst/tmpl/.cvsignore:
26154 * docs/gst/tmpl/gstformat.sgml:
26155 * docs/gst/tmpl/gstversion.sgml:
26159 * gst/gstversion.h.in:
26160 more docs and two more inlined
26162 2005-08-30 Wim Taymans <wim@fluendo.com>
26164 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26165 Don't sync to clock.
26167 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26169 * docs/gst/gstreamer-sections.txt:
26170 ultral33t func10ns deserve to appear in the docs actually
26171 * docs/gst/tmpl/.cvsignore:
26172 * docs/gst/tmpl/gstcompat.sgml:
26173 * docs/gst/tmpl/gstconfig.sgml:
26174 * gst/check/gstcheck.c:
26176 * gst/gstconfig.h.in:
26179 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26181 * docs/gst/tmpl/.cvsignore:
26182 * docs/gst/tmpl/gstquery.sgml:
26183 * docs/gst/tmpl/gstutils.sgml:
26186 inlined and extended docs
26188 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26190 * check/gst-libs/controller.c: (GST_START_TEST),
26191 (gst_controller_suite):
26193 * docs/gst/tmpl/gstutils.sgml:
26194 * docs/libs/gstreamer-libs-sections.txt:
26195 * docs/libs/tmpl/gstdataprotocol.sgml:
26197 * examples/controller/audio-example.c: (main):
26198 controller example works now
26201 * tools/gst-inspect.c: (print_element_properties_info):
26202 show param spec flags
26204 2005-08-29 Andy Wingo <wingo@pobox.com>
26206 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26208 2005-08-28 Andy Wingo <wingo@pobox.com>
26210 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26211 as having two arguments instead of just one. Allows superclasses
26212 to access information on subclasses -- see the terrible for() loop
26213 in gtype.c:g_type_create_instance for the reason why. All callers
26216 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26218 * docs/design/part-messages.txt:
26220 * docs/gst/tmpl/.cvsignore:
26221 * docs/gst/tmpl/gstcaps.sgml:
26222 * docs/gst/tmpl/gstclock.sgml:
26228 * gst/gstmessage.c:
26229 added descriptions for bus and message
26230 inline caps and clock docs
26232 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26234 * gst/gstmessage.c:
26235 * gst/gstmessage.h:
26238 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26240 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26243 2005-08-26 Andy Wingo <wingo@pobox.com>
26245 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26246 element_set_state's return val.
26247 (test_2_elements): Add test that's been disabled for months.
26249 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26250 can-activate-pull properties.
26252 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26253 can-activate-pull properties. Implement is_seekable so fakesrc can
26254 operate in pull mode.
26256 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26258 (gst_base_sink_activate, gst_base_sink_activate_pull)
26259 (gst_base_sink_activate_push): Make activation mode choosing work.
26261 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26262 is right. Make pull mode work. Post an eos before pausing in pull
26264 (gst_base_sink_change_state): Pay attention to the core's
26265 change_state() return val.
26267 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26268 has-getrange properties. Cleanups.
26270 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26271 has_getrange and replace with can_activate_pull and
26274 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26275 locking comments. Remove has_loop, has_chain and replace with
26276 can_activate_pull and can_activate_push.
26278 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26281 * examples/Makefile.am:
26282 * examples/metadata/Makefile.am:
26283 * examples/metadata/read-metadata.c: (message_loop),
26284 (have_pad_handler), (make_pipeline), (print_tag), (main):
26285 Add metadata reading example that loops over a list of filenames,
26286 dumping any tags found.
26288 * gst/gstbus.c: (gst_bus_dispose):
26289 * gst/gstelement.c: (gst_element_dispose):
26290 Release a few potentially-held references in dispose.
26292 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26294 * docs/gst/tmpl/gstminiobject.sgml:
26295 do *not* add tmpl/*.sgml files to CVS!
26297 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26299 * libs/gst/bytestream/.cvsignore:
26300 * libs/gst/bytestream/Makefile.am:
26301 * libs/gst/bytestream/adapter.c:
26302 * libs/gst/bytestream/adapter.h:
26303 * libs/gst/bytestream/bytestream.c:
26304 * libs/gst/bytestream/bytestream.h:
26305 * libs/gst/bytestream/filepad.c:
26306 * libs/gst/bytestream/filepad.h:
26307 removing obsolete files
26309 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26311 * docs/gst/gstreamer-docs.sgml:
26312 * docs/libs/gstreamer-libs-docs.sgml:
26313 disabed additional index entries again, as this makes docs-gen just
26314 slow and they aren't useful yet
26315 * docs/libs/gstreamer-libs-sections.txt:
26316 little -section.txt cleanup for libs
26318 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26321 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26322 fix up some debugging
26323 (gst_base_transform_get_unit_size),
26324 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26325 (gst_base_transform_handle_buffer):
26326 * gst/base/gstbasetransform.h:
26327 handle and store timed NEWSEGMENT events so that subclasses that
26328 calculate time by counting samples have a segment_start time they
26329 need to add to their timestamps - see audioresample
26331 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26334 removed ';' from the end of macro defs
26335 * docs/gst/gstreamer-docs.sgml:
26336 * docs/gst/gstreamer-sections.txt:
26337 * docs/gst/tmpl/.cvsignore:
26339 * gst/gstelement.c: (gst_element_class_init),
26340 (gst_element_set_state), (activate_pads),
26341 (gst_element_save_thyself):
26342 * gst/gstevent.c: (gst_event_new_newsegment):
26344 * gst/gstiterator.c:
26345 * gst/gstiterator.h:
26348 * gst/gstutils.c: (gst_pad_query_convert):
26350 fixed parameter name mismatches between source, header and docs
26351 added some more docs, resolved the last batch of unused elements in
26352 docs (now someone needs to doc them)
26354 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26356 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26357 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26358 don't walk through the plugins backwards. Where is all this
26359 reversed logic coming from ?
26361 2005-08-25 Wim Taymans <wim@fluendo.com>
26363 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26364 (gst_base_transform_transform_size),
26365 (gst_base_transform_configure_caps),
26366 (gst_base_transform_get_unit_size),
26367 (gst_base_transform_buffer_alloc),
26368 (gst_base_transform_change_state):
26369 * gst/base/gstbasetransform.h:
26370 Cache caps unit_size.
26371 Make sure we cannot negotiate up and downstream at the
26374 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26376 * gst/gst.c: (init_pre), (init_post):
26377 register the installed plugin path after the env var
26378 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26379 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26380 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26381 directories, so the tests can prefer uninstalled over installed
26383 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26385 * gst/base/gstbasetransform.h:
26390 2005-08-25 Wim Taymans <wim@fluendo.com>
26392 * gst/gstbin.c: (bin_bus_handler):
26393 Be a bit more conservative about the posted message.
26395 * gst/gstbus.c: (gst_bus_post):
26396 Some cleanups, warn wrong return values.
26398 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26400 * check/gst/gstbin.c: (GST_START_TEST):
26401 * gst/gstbin.c: (bin_bus_handler):
26402 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26403 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26404 (gst_message_new_warning), (gst_message_new_tag),
26405 (gst_message_new_state_changed), (gst_message_new_segment_start),
26406 (gst_message_new_segment_done), (gst_message_new_custom):
26407 * gst/gstmessage.h:
26408 * tools/gst-launch.c: (event_loop):
26409 * tools/gst-md5sum.c: (event_loop):
26410 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26412 2005-08-25 Wim Taymans <wim@fluendo.com>
26414 * check/generic/states.c: (GST_START_TEST):
26415 Cleanup can be done at the end.
26417 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26418 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26419 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26420 Oh boy.. Thanks for finding this, Thomas.
26422 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26424 * docs/gst/gstreamer.types:
26425 added missing types
26427 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26429 * docs/gst/gstreamer-docs.sgml:
26430 * docs/gst/gstreamer-sections.txt:
26431 * docs/gst/tmpl/.cvsignore:
26433 * gst/gstiterator.c:
26435 * gst/registries/gstxmlregistry.h:
26436 added missing classes and symbols (123 more to go)
26437 removed removed symbols from section file
26438 fixed many doc-comments
26440 2005-08-24 Wim Taymans <wim@fluendo.com>
26442 * check/generic/states.c: (GST_START_TEST):
26443 Make sure all tasks are stopped.
26445 * check/gst/gstbin.c: (GST_START_TEST):
26446 Unref after usage for proper valgrinding.
26448 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26449 Really wait for the task to stop before destroying the
26452 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26453 (gst_queue_src_activate_push):
26454 Small cleanups. Don't stop the task when we did not start
26457 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26458 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26459 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26462 Protect the stream lock with the object lock.
26463 Disallow setting the stream lock when running.
26464 Add cleanup_all to wait for the threadpool to finish.
26465 Remove code to autoallocate a mutex if none was provided.
26466 Add _join() to wait for a task to stop.
26467 Protect the thread pool with a global lock.
26469 2005-08-24 Wim Taymans <wim@fluendo.com>
26471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26472 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26473 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26474 * gst/base/gstbasesink.h:
26475 Handle newsegment events correctly.
26476 Drop buffers out of the segment range.
26478 2005-08-22 Andy Wingo <wingo@pobox.com>
26480 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26481 macro, implements an interface and gstimplementsinterface for a
26484 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26486 * check/Makefile.am:
26487 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26488 add a test that does a bunch of state changes on elements
26489 needs some fixing for valgrind
26490 * check/states/sinks.c: (gst_object_suite):
26493 add prototype for gst_caps_is_equal_fixed
26495 * gst/gstregistrypool.c:
26498 2005-08-24 Andy Wingo <wingo@pobox.com>
26500 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26501 convert a negative value. Doesn't make much sense. Mostly this is
26502 here to force callers to ensure -1 maps to -1.
26504 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26506 * docs/pwg/advanced-types.xml:
26507 Well done to Michael for catching my deliberate introduction
26508 of this spelling mistake.
26509 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26510 * gst/gstelement.h:
26511 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26512 unlink pads before removing the element from the bin.
26514 2005-08-24 Andy Wingo <wingo@pobox.com>
26516 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26517 the same thing as GST_DEBUG=*:4.
26518 (parse_debug_level, parse_debug_category): New helper parsers.
26520 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26522 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26523 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26524 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26525 (gst_base_transform_buffer_alloc),
26526 (gst_base_transform_handle_buffer):
26527 use gboolean return values and pointers to size so we can use the
26528 full GST_BUFFER_SIZE range (guint) for buffer sizes
26529 use GstPadDirection for transform_caps
26530 * gst/base/gstbasetransform.h:
26531 rename get_size to get_unit_size since that's what it is
26532 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26533 use GstPadDirection for transform_caps
26534 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26536 cleanup and debugging
26538 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26540 * gst/gstelement.c: (gst_element_class_init),
26541 (gst_element_set_state), (activate_pads),
26542 (gst_element_save_thyself):
26543 * tools/gst-compprep.c: (main):
26544 * tools/gst-inspect.c: (print_element_properties_info):
26545 * tools/gst-xmlinspect.c: (print_element_properties):
26546 Fixed long standing mem-leak
26548 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26550 * check/gst/gstbin.c: (GST_START_TEST):
26551 * gst/gstbin.c: (bin_bus_handler):
26552 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26553 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26554 (gst_message_new_warning), (gst_message_new_tag),
26555 (gst_message_new_state_changed), (gst_message_new_segment_start),
26556 (gst_message_new_segment_done), (gst_message_new_custom):
26557 * gst/gstmessage.h:
26558 * tools/gst-launch.c: (event_loop):
26559 * tools/gst-md5sum.c: (event_loop):
26560 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26561 that applications can sensibly post custom messages with references
26562 to their own objects.
26564 2005-08-24 Andy Wingo <wingo@pobox.com>
26566 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26569 2005-08-24 Wim Taymans <wim@fluendo.com>
26571 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26572 (gst_base_transform_transform_caps),
26573 (gst_base_transform_transform_size),
26574 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26575 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26576 (gst_base_transform_handle_buffer):
26577 * gst/base/gstbasetransform.h:
26578 Many fixes and new features added by Thomas. Can now also do
26579 transforms with variable sizes and a custom fixate_caps function.
26581 2005-08-24 Wim Taymans <wim@fluendo.com>
26583 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26587 Cast to ClockTime before formatting to time.
26592 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26594 * check/gst-libs/controller.c: (GST_START_TEST),
26595 (gst_controller_suite):
26596 * docs/gst/tmpl/gstcaps.sgml:
26597 * docs/gst/tmpl/gstghostpad.sgml:
26598 * docs/gst/tmpl/gstquery.sgml:
26599 * docs/gst/tmpl/gstutils.sgml:
26600 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26601 (gst_object_sink_values), (gst_object_get_value_arrays),
26602 (gst_object_get_value_array):
26603 gracefully handle helper method calls to objects that are not beeing
26604 controlled, added test case for that
26606 2005-08-23 Wim Taymans <wim@fluendo.com>
26608 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26609 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26610 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26611 (gst_event_parse_qos), (gst_event_new_seek),
26612 (gst_event_parse_seek):
26614 Some more debugging output and doc cleanups.
26616 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26617 Fix possible deadlock.
26619 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26621 * docs/gst/gstreamer-docs.sgml:
26622 * docs/gst/gstreamer-sections.txt:
26623 * docs/gst/gstreamer.types:
26624 * docs/gst/tmpl/.cvsignore:
26627 * gst/gstelement.c:
26629 added 100 symbols from gstreamer-unused.txt to the right sections
26630 fixed more broken comments
26631 added GstBus to docs
26633 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26635 * docs/gst/gstreamer-sections.txt:
26636 * docs/gst/tmpl/.cvsignore:
26637 * docs/gst/tmpl/gstbin.sgml:
26638 * docs/gst/tmpl/gstbuffer.sgml:
26639 * gst/base/gstbasesrc.c:
26640 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26643 * tools/gst-launch.1.in:
26644 inlined more doc comments, added missing comments and fixed comments
26647 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26649 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26653 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26655 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26656 * gst/gststructure.h:
26657 add a fixate function for booleans; add a FIXME that these func
26658 names should probably be gst_structure_fixate_*
26660 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26662 * docs/gst/gstreamer-docs.sgml:
26663 * docs/gst/gstreamer-sections.txt:
26665 * gst/gstbin.c: (gst_bin_get_type),
26666 (gst_bin_child_proxy_get_child_by_index),
26667 (gst_bin_child_proxy_get_children_count),
26668 (gst_bin_child_proxy_init):
26669 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26670 (gst_child_proxy_get_child_by_index),
26671 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26672 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26673 (gst_child_proxy_get), (gst_child_proxy_set_property),
26674 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26675 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26676 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26677 * gst/gstchildproxy.h:
26678 * gst/parse/grammar.y:
26679 * tools/gst-inspect.c: (print_interfaces),
26680 (print_element_properties_info), (print_element_info):
26681 ported gstchildproxy over from 0.8
26682 ported gst-inspect fixes and enhancements over from 0.8
26684 2005-08-22 Wim Taymans <wim@fluendo.com>
26686 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26687 (gst_base_transform_handle_buffer):
26688 Also call the transform function if we have ANY caps.
26690 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26693 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26695 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26696 Don't pretend to handle seek events if the source is not seekable
26698 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26700 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26701 Remove extra parameter to debug output
26703 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26704 (gst_base_src_do_seek), (gst_base_src_activate_push):
26705 Fix seek event handling.
26707 * gst/gstpipeline.c: (gst_pipeline_change_state):
26708 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26709 (gst_queue_src_activate_push):
26710 Don't start the src pad task on FLUSH_STOP if the pad
26714 2005-08-22 Wim Taymans <wim@fluendo.com>
26716 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26717 Added check for gst_static_caps_get() refcounting.
26719 2005-08-22 Wim Taymans <wim@fluendo.com>
26721 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26722 Make _static_caps_get() refcounting sane.
26724 * gst/gstelement.c: (gst_element_set_state):
26725 Add g_return_val_if_fail() to protect against segfaults.
26727 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26729 * docs/gst/tmpl/gstevent.sgml:
26732 inlined remaining docs, added missing doc comments
26734 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26736 * check/gst/gstbin.c: (GST_START_TEST):
26737 since we don't know when preroll is done, use refcount range
26739 * gst/check/gstcheck.h:
26740 add macro for checking refcount range
26742 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26744 * check/Makefile.am:
26745 clean up environment for when registry gets built versus
26746 when actual tests are run; valgrind seems to not report
26747 leaks if GST_PLUGIN_PATH is set to some specific values
26748 * check/gst/gstbin.c: (GST_START_TEST):
26749 add more refcounting checks; maybe this exposes a
26751 * common/check.mak:
26752 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26753 * gst/check/gstcheck.h:
26754 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26755 (gst_bin_change_state):
26756 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26757 add/fix debugging/whitespace
26759 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26761 * check/gst/gstevent.c: (event_probe), (test_event),
26763 Er, don't call gst_bin_watch_for_state_change you idiot.
26765 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26767 * check/Makefile.am:
26768 Use CHECK_CFLAGS and CHECK_LIBS
26769 * check/gst/gstevent.c: (event_probe), (test_event),
26772 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26773 (gst_base_src_start), (gst_base_src_stop),
26774 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26775 (gst_base_src_change_state):
26776 Sprinkle gst_base_src_stop liberally around error paths to fix
26777 problems reusing a source after failed state changes.
26778 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26779 (helper_find_suggest), (gst_type_find_helper):
26780 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26782 * docs/gst/tmpl/gstevent.sgml:
26783 Migrate part of the docs from the SGML file. Wait for ensonic to
26784 tell me how I did it wrong ;)
26785 * tools/gst-typefind.c: (main):
26786 Extra robustness to state changes between files.
26788 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26790 * check/Makefile.am:
26791 don't valgrind the controller test - it's leaking - Stefan, HELP
26792 * gst/check/gstcheck.c: (gst_check_message_error),
26793 (gst_check_chain_func), (gst_check_setup_element),
26794 (gst_check_teardown_element), (gst_check_setup_src_pad),
26795 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26796 (gst_check_teardown_sink_pad):
26797 * gst/check/gstcheck.h:
26798 add a bunch of methods to set up elements, and src and sink pads
26799 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26800 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26803 * gst/gstmessage.c:
26805 whitespace/doc fixes
26807 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26809 * gst/gstelement.h:
26810 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26811 be handled by the application and not always printed as well
26813 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26815 * check/Makefile.am:
26817 * gst/check/gstcheck.c: (gst_check_message_error):
26818 * gst/check/gstcheck.h:
26819 add a fail_unless_equals_int
26820 add fail_unless for error messages
26822 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26824 * check/Makefile.am:
26826 * common/Makefile.am:
26827 * common/check.mak:
26829 factor out some of the common stuff so we can use it
26831 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26833 * check/Makefile.am:
26834 * check/gst/gstiterator.c: (GST_START_TEST):
26835 * check/gst/gstsystemclock.c: (GST_START_TEST),
26836 (gst_systemclock_suite):
26837 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26839 valgrind more tests
26841 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26843 * check/elements/.cvsignore:
26844 * check/elements/gstfakesrc.c:
26845 rename to name of element
26846 * check/elements/identity.c: (chain_func), (event_func),
26847 (setup_identity), (cleanup_identity), (GST_START_TEST),
26848 (identity_suite), (main):
26849 add a test for identity
26850 * check/Makefile.am:
26851 * pkgconfig/Makefile.am:
26852 * pkgconfig/gstreamer-check.pc.in:
26853 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26857 move the check stuff to a library that gets installed
26858 * check/gst-libs/controller.c: (GST_START_TEST):
26859 * check/gst-libs/gdp.c:
26860 * check/gst/gst.c: (GST_START_TEST):
26861 * check/gst/gstbin.c:
26862 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26863 * check/gst/gstbus.c:
26864 * check/gst/gstcaps.c: (GST_START_TEST):
26865 * check/gst/gstelement.c:
26866 * check/gst/gstghostpad.c:
26867 * check/gst/gstiterator.c:
26868 * check/gst/gstmessage.c:
26869 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26870 * check/gst/gstobject.c:
26871 * check/gst/gstpad.c: (GST_START_TEST):
26872 * check/gst/gststructure.c: (GST_START_TEST):
26873 * check/gst/gstsystemclock.c: (GST_START_TEST),
26874 (gst_systemclock_suite):
26875 * check/gst/gsttag.c: (gst_tag_suite):
26876 * check/gst/gstvalue.c:
26877 * check/pipelines/cleanup.c:
26878 * check/pipelines/simple_launch_lines.c:
26879 * check/states/sinks.c:
26880 change include statement
26882 * docs/gst/gstreamer-sections.txt:
26883 * docs/gst/tmpl/gstpad.sgml:
26884 document more pad stuff
26885 * gst/gstminiobject.c: (gst_mini_object_ref),
26886 (gst_mini_object_unref):
26889 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26891 * docs/gst/tmpl/gst.sgml:
26893 eliminate another tmpl file, fix spelling in the long-description
26895 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26897 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26898 (test_event), (timediff), (gstevents_suite):
26899 Should fix build on 64-bit arch's
26901 2005-08-18 Andy Wingo <wingo@pobox.com>
26903 Make sure that when a pipeline goes to PLAYING, that data has
26904 actually hit the sink.
26906 * check/states/sinks.c (test_sink): A sink that doesn't get any
26907 data shouldn't return SUCCESS for going to either PLAYING or
26908 PAUSED. Test also the return values on the way back down.
26910 * gst/gstelement.c (gst_element_set_state): When changing the
26911 state of an element currently changing state asynchronously, go to
26912 lost-state after commiting the pending state. Makes future calls
26913 to get_state continue to return ASYNC.
26915 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26916 ASYNC when going to PLAYING if we still don't have preroll, as can
26917 happen with live sources.
26919 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26921 * docs/pwg/advanced-types.xml:
26922 Hack long paragraph into 2 chunks as a workaround for buggy
26923 jadetex version in sid and breezy that loops infinitely and
26926 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26928 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26929 (test_event), (timediff), (gstevents_suite):
26930 Provide more error margin in clock measurements to allow for
26931 g_get_current_time inaccuracies.
26933 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26935 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26936 (test_event), (timediff), (gstevents_suite):
26937 Fix error message output so I might be able to tell why the
26938 test works here but fails on the build farm.
26940 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26942 * check/Makefile.am:
26943 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26944 (test_event), (timediff), (gstevents_suite), (main):
26947 * docs/design/part-seeking.txt:
26948 Spelling correction
26950 * docs/gst/tmpl/gstevent.sgml:
26951 * docs/gst/tmpl/gstfakesrc.sgml:
26954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26955 Treat a buffer-without-newsegment the same as a receiving
26956 a newsegment not in time format, and disable syncing to the clock
26959 * gst/gstbus.c: (gst_bus_set_sync_handler):
26960 Assert if anyone tries to replace the existing sync_handler for bus,
26961 as only the owner should be setting it.
26964 Have a fixed set of custom event enums with events identified by
26965 their structure name (as in 0.8), rather than a free-for-all
26966 allowing collisions between enum values from different plugins.
26968 * gst/gstpad.c: (gst_pad_class_init):
26971 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26972 Handle out-of-band downstream events from the sending thread.
26974 2005-08-17 Andy Wingo <wingo@pobox.com>
26976 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26977 play-timeout==0 to mean no timeout at all. In that case, don't
26978 bother with a get_state or a warning, just return directly, even
26981 * gst/base/gstbasetransform.c: Debug changes.
26984 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26985 ensure bins post state change messages. A bit of a hack but I can't
26986 think of a way to avoid it.
26988 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26990 2005-08-16 Andy Wingo <wingo@pobox.com>
26992 * gst/base/gstadapter.h:
26993 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26994 peek() but you own the data. Not terribly efficient atm.
26996 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26998 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26999 (gst_element_found_tags):
27001 Add two utility functions for tag handling.
27003 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27005 * docs/manual/advanced-dataaccess.xml:
27006 * docs/manual/basics-helloworld.xml:
27007 Fix docs to use _bin_add() before _link(), which fixes the examples
27008 with recent core versions (reported by Madhan Raj M
27009 <raj_madan@rediffmail.com>, #313199).
27011 2005-08-16 Wim Taymans <wim@fluendo.com>
27013 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27014 Added subtract checks.
27016 * docs/design/part-events.txt:
27017 Some more docs about newsegment
27019 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27022 * gst/gstcaps.c: (gst_caps_to_string):
27023 Add comments, cleanups.
27025 * gst/gstelement.c: (gst_element_save_thyself):
27028 * gst/gstvalue.c: (gst_value_collect_int_range),
27029 (gst_string_unwrap), (gst_value_union_int_int_range),
27030 (gst_value_union_int_range_int_range),
27031 (gst_value_intersect_int_int_range),
27032 (gst_value_intersect_int_range_int_range),
27033 (gst_value_intersect_double_double_range),
27034 (gst_value_intersect_double_range_double_range),
27035 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27036 (gst_value_subtract_int_range_int),
27037 (gst_value_subtract_double_range_double),
27038 (gst_value_subtract_double_range_double_range),
27039 (gst_value_subtract_from_list), (gst_value_subtract_list),
27040 (gst_value_can_compare), (gst_value_compare_fraction):
27041 Cleanups, add comments, remove unneeded asserts.
27043 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27045 * tools/gst-launch.c: (event_loop):
27046 don't convert NULL structures to strings
27048 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27050 * docs/gst/gstreamer-sections.txt:
27051 made some defines private
27052 * docs/gst/tmpl/gstconfig.sgml:
27053 * docs/gst/tmpl/gstqueue.sgml:
27054 * docs/gst/tmpl/gsttaglist.sgml:
27055 * docs/gst/tmpl/gsttypes.sgml:
27056 * docs/gst/tmpl/gstutils.sgml:
27057 * docs/pwg/appendix-porting.xml:
27058 * gst/base/gstbasesink.h:
27059 * gst/base/gstbasesrc.c:
27060 * gst/base/gstbasesrc.h:
27061 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27062 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27063 * gst/gstelement.c: (gst_element_class_init):
27064 * gst/gstpad.c: (gst_pad_class_init):
27065 * gst/gstqueue.c: (gst_queue_class_init):
27066 * gst/gstxml.c: (gst_xml_class_init):
27067 documented all undocumented signal inline
27068 * libs/gst/controller/gst-controller.h:
27071 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27073 * docs/pwg/appendix-porting.xml:
27074 Document _set_link_function -> _set_setcaps_function.
27076 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27078 * check/Makefile.am:
27079 add a .check target for running the check
27080 * check/gst-libs/controller.c: (GST_START_TEST):
27082 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27083 complete checks for gstbuffer; would be nice if I could get the
27084 gcov stuff to work so I can see if I actually completed gstbuffer.c
27085 * check/gstcheck.h:
27086 add ASSERT_BUFFER_REFCOUNT
27088 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27090 * docs/gst/gstreamer-sections.txt:
27091 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27093 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27094 spew out a warning if a tag that is already registered
27095 is re-registered, unless it is re-registered with a
27096 different type (#308438).
27098 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27100 * docs/pwg/appendix-porting.xml:
27101 * docs/pwg/building-state.xml:
27102 Add some paragraphs about state changes in 0.9 to the PWG
27103 and the porting guide, in particular about the new meaning
27104 of GST_STATE_PAUSED and how to write state change functions
27105 with concurrent access by multiple threads in mind.
27107 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27109 * docs/gst/gstreamer-docs.sgml:
27110 * docs/libs/gstreamer-libs-docs.sgml:
27111 added deprecation and since indexes
27112 * libs/gst/controller/gst-controller.c:
27113 * libs/gst/controller/gst-helper.c:
27117 2005-08-11 Wim Taymans <wim@fluendo.com>
27119 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27120 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27121 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27122 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27123 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27124 (gst_ghost_pad_set_target):
27125 Actually implement (re)setting the target on a ghostpad
27126 as described in the docs.
27128 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27130 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27131 Check whether GST_DEBUG_NO_COLOR environment variable is
27132 set and disable coloured debug output if that is the case.
27134 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27136 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27137 (gst_type_find_helper):
27138 The memory returned by gst_type_find_peek() needs to
27139 stay valid until the end of a typefind function, and
27140 typefind functions may keep results from different
27141 offsets around, so we can't just unref the buffer from
27142 the previous _peek(), but have to save all buffers
27143 returned by _peek() until typefinding is done and only
27146 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27148 * docs/gst/gstreamer-sections.txt:
27150 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27152 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27154 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27155 Fix a pretty good memleak.
27157 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27159 * gst/gstiterator.h:
27160 Fix wrong include and 'make distcheck'.
27162 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27164 * gst/gstbin.c: (bin_bus_handler):
27165 Use gst_element_post_message() instead.
27167 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27169 * gst/base/gstadapter.h:
27170 * gst/base/gstbasesink.h:
27171 * gst/base/gstbasesrc.h:
27172 * gst/base/gstbasetransform.h:
27173 * gst/base/gstcollectpads.h:
27174 * gst/base/gstpushsrc.h:
27175 * gst/gstiterator.h:
27176 Add padding to our base elements' class and instance structs and
27177 to GstIterator (you will need to rebuild all plugins and apps!)
27179 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27181 * gst/gstbin.c: (bin_bus_handler):
27182 Make default message forwarding from child->bus to bin->bus
27183 threadsafe and make it not emit warnings if the parent has no bus.
27185 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27187 * gst/gstelement.c: (activate_pads):
27188 On paused->ready, set pad->caps to NULL, as is the documented
27189 behaviour in this state change. Fixes playback of series of
27190 media files when visualization is enabled in Totem.
27192 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27194 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27195 Allow NULL as filter-caps (which means "any").
27197 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27199 * docs/libs/gstreamer-libs-sections.txt:
27200 * libs/gst/controller/gst-controller.c:
27201 * libs/gst/controller/gst-controller.h:
27202 * libs/gst/controller/gst-helper.c:
27203 adding more entries to the docs and fix small doc-bugs
27205 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27207 * docs/gst/gstreamer-docs.sgml:
27208 * docs/gst/gstreamer-sections.txt:
27209 * docs/gst/gstreamer.types:
27210 * docs/gst/tmpl/gstbasesink.sgml:
27211 * docs/gst/tmpl/gstbasesrc.sgml:
27212 * docs/gst/tmpl/gstbasetransform.sgml:
27213 * docs/gst/tmpl/gstfakesrc.sgml:
27214 * gst/base/gstcollectpads.c:
27215 * gst/base/gstcollectpads.h:
27216 * libs/gst/controller/gst-controller.c:
27217 * libs/gst/controller/gst-controller.h:
27218 * libs/gst/controller/gst-helper.c:
27219 * libs/gst/controller/gst-interpolation.c:
27220 * libs/gst/controller/lib.c:
27221 added long/short desc for controller docs
27222 added collectpads base class docs
27223 added correct includes to base-class docs
27225 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27227 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27228 (gst_test_mono_source_set_property),
27229 (gst_test_mono_source_class_init), (GST_START_TEST),
27230 (gst_controller_suite):
27231 * docs/gst/gstreamer-docs.sgml:
27232 * docs/gst/gstreamer-sections.txt:
27233 * docs/gst/gstreamer.types:
27234 * docs/libs/gstreamer-libs-docs.sgml:
27235 * docs/libs/gstreamer-libs-sections.txt:
27236 * gst/base/gstadapter.c:
27237 * libs/gst/controller/gst-controller.c:
27238 (gst_controlled_property_new), (gst_controlled_property_free),
27239 (gst_controller_new_valist),
27240 (gst_controller_remove_properties_valist),
27241 (gst_controller_sink_values), (_gst_controller_finalize):
27242 * libs/gst/controller/gst-controller.h:
27243 * libs/gst/controller/gst-helper.c:
27244 (gst_object_control_properties), (gst_object_uncontrol_properties),
27245 (gst_object_get_controller), (gst_object_set_controller),
27246 (gst_object_sink_values), (gst_object_get_value_arrays),
27247 (gst_object_get_value_array):
27248 more tests (and fixes) for the controller
27249 more docs for the controller
27250 integrated companies docs for the adapter
27252 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27254 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27255 (GST_START_TEST), (fakesrc_suite):
27256 add tests for sizetype
27258 2005-08-04 Andy Wingo <wingo@pobox.com>
27260 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27261 fixes buffer_alloc proxying among other things.
27263 * gst/base/gstbasetransform.c:
27264 * gst/base/gstbasetransform.h:
27265 Revert patch to gstbasetransform from 7-28 removing
27268 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27269 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27270 Semantics changed, should return not the size of the output buffer
27271 but the byte size of a buffer with a given caps.
27273 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27275 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27276 out) are not the pad caps until setcaps finishes.
27277 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27278 not-in-place case as well. Deal with changing from in-place to
27279 not-in-place within calling pad_alloc_buffer. Still a bit
27280 concerned about the overhead here...
27282 2005-08-03 Andy Wingo <wingo@pobox.com>
27284 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27285 fixating is an error.
27287 2005-08-04 Edward Hervey <edward@fluendo.com>
27289 * gst/base/gstadapter.h:
27290 Added gst_adapter_get_type() to the header
27292 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27294 * check/Makefile.am:
27295 * check/gst-libs/controller.c:
27296 * libs/gst/controller/gst-controller.c:
27297 (gst_controller_new_valist):
27298 added check test suite for the controller
27299 * gst/base/gstpushsrc.c:
27302 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27304 * docs/gst/Makefile.am:
27305 * docs/gst/gstreamer-docs.sgml:
27306 * docs/gst/gstreamer-sections.txt:
27307 * docs/gst/gstreamer.types:
27308 * docs/gst/tmpl/gstfakesrc.sgml:
27310 * gst/base/gstbasesink.c:
27311 * gst/base/gstbasesink.h:
27312 * gst/base/gstbasesrc.c:
27313 * gst/base/gstbasesrc.h:
27314 * gst/base/gstbasetransform.c:
27315 * gst/base/gstpushsrc.c:
27316 * gst/base/gstpushsrc.h:
27317 add short/long description docs to base classes
27318 add pushsrc to the docs
27319 remove consolidated doc fragments
27321 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27324 * docs/libs/Makefile.am:
27325 * docs/libs/gstreamer-libs-docs.sgml:
27326 * docs/libs/gstreamer-libs-sections.txt:
27327 * docs/libs/gstreamer-libs.types:
27328 * examples/Makefile.am:
27329 * examples/controller/.cvsignore:
27330 * examples/controller/Makefile.am:
27331 * examples/controller/audio-example.c: (main):
27332 * libs/gst/Makefile.am:
27333 * libs/gst/controller/.cvsignore:
27334 * libs/gst/controller/Makefile.am:
27335 * libs/gst/controller/gst-controller.c:
27336 (on_object_controlled_property_changed), (gst_timed_value_compare),
27337 (gst_timed_value_find),
27338 (gst_controlled_property_set_interpolation_mode),
27339 (gst_controlled_property_new), (gst_controlled_property_free),
27340 (gst_controller_find_controlled_property),
27341 (gst_controller_new_valist), (gst_controller_new),
27342 (gst_controller_remove_properties_valist),
27343 (gst_controller_remove_properties), (gst_controller_set),
27344 (gst_controller_set_from_list), (gst_controller_unset),
27345 (gst_controller_get), (gst_controller_get_all),
27346 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27347 (gst_controller_get_value_array),
27348 (gst_controller_set_interpolation_mode),
27349 (_gst_controller_finalize), (_gst_controller_init),
27350 (_gst_controller_class_init), (gst_controller_get_type):
27351 * libs/gst/controller/gst-controller.h:
27352 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27353 (g_object_uncontrol_properties), (g_object_get_controller),
27354 (g_object_set_controller), (g_object_sink_values),
27355 (g_object_get_value_arrays), (g_object_get_value_array):
27356 * libs/gst/controller/gst-interpolation.c:
27357 (gst_controlled_property_find_timed_value_node),
27358 (interpolate_none_get), (interpolate_trigger_get),
27359 (interpolate_trigger_get_value_array):
27360 * libs/gst/controller/lib.c: (gst_controller_init):
27361 * pkgconfig/Makefile.am:
27362 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27363 * pkgconfig/gstreamer-control.pc.in:
27364 * testsuite/Makefile.am:
27365 * testsuite/controller/.cvsignore:
27366 * testsuite/controller/Makefile.am:
27367 * testsuite/controller/interpolator.c: (main):
27368 added controller code
27369 removed dparam pc files
27371 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27372 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27373 (gst_collectpads_stop):
27374 Broadcast the condition when shutting down, to make sure we wake all
27375 threads up. Shut down pads on finalize, for safety.
27377 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27378 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27379 (gst_base_transform_handle_buffer),
27380 (gst_base_transform_change_state):
27381 Handle PAUSED->READY->PAUSED transition after negotiation
27383 * gst/gstmessage.c: (gst_message_init):
27384 Extra piece of debug for new messages.
27386 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27389 * docs/gst/tmpl/gstbasesrc.sgml:
27390 * docs/gst/tmpl/gstelement.sgml:
27391 * docs/gst/tmpl/gstevent.sgml:
27392 * docs/gst/tmpl/gstfakesrc.sgml:
27393 * docs/gst/tmpl/gstformat.sgml:
27394 * docs/gst/tmpl/gstghostpad.sgml:
27395 * docs/gst/tmpl/gstpad.sgml:
27396 * docs/gst/tmpl/gstquery.sgml:
27397 * docs/gst/tmpl/gststructure.sgml:
27398 * docs/gst/tmpl/gsttaglist.sgml:
27399 * docs/gst/tmpl/gstvalue.sgml:
27400 * docs/libs/gstreamer-libs-docs.sgml:
27401 * docs/libs/gstreamer-libs-sections.txt:
27402 * docs/libs/gstreamer-libs.types:
27403 * libs/gst/Makefile.am:
27404 * libs/gst/control/.cvsignore:
27405 * libs/gst/control/Makefile.am:
27406 * libs/gst/control/control.c:
27407 * libs/gst/control/control.h:
27408 * libs/gst/control/dparam.c:
27409 * libs/gst/control/dparam.h:
27410 * libs/gst/control/dparam_smooth.c:
27411 * libs/gst/control/dparam_smooth.h:
27412 * libs/gst/control/dparamcommon.h:
27413 * libs/gst/control/dparammanager.c:
27414 * libs/gst/control/dparammanager.h:
27415 * libs/gst/control/dplinearinterp.c:
27416 * libs/gst/control/dplinearinterp.h:
27417 * libs/gst/control/unitconvert.c:
27418 * libs/gst/control/unitconvert.h:
27419 * testsuite/Makefile.am:
27420 * testsuite/dynparams/.cvsignore:
27421 * testsuite/dynparams/Makefile.am:
27422 * testsuite/dynparams/dparamstest.c:
27423 * tools/Makefile.am:
27424 * tools/gst-inspect.c: (print_element_info), (main):
27425 * tools/gst-xmlinspect.c: (print_element_info), (main):
27426 deactivate and remove dparams (libgstcontrol)
27428 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27430 * gst/elements/gsttypefindelement.c:
27431 (gst_type_find_element_have_type), (gst_type_find_element_init),
27432 (stop_typefinding), (gst_type_find_element_handle_event),
27433 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27434 * gst/elements/gsttypefindelement.h:
27435 Set caps on all outgoing buffers, not just the first one.
27437 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27439 * gst/elements/gsttypefindelement.c:
27440 (gst_type_find_element_have_type),
27441 (gst_type_find_element_check_set_buffer_caps),
27442 (gst_type_find_element_init), (stop_typefinding),
27443 (gst_type_find_element_handle_event),
27444 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27445 * gst/elements/gsttypefindelement.h:
27446 Set caps on first outgoing buffer when we've found the type.
27448 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27450 * docs/gst/gstreamer-docs.sgml:
27451 * docs/gst/gstreamer-sections.txt:
27452 * docs/gst/tmpl/gstscheduler.sgml:
27453 * docs/gst/tmpl/gstschedulerfactory.sgml:
27454 Remove some old cruft from docs.
27456 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27459 Fix inline docs for GstPadLinkReturn.
27461 * gst/gststructure.c: (gst_structure_has_name):
27462 * gst/gststructure.h:
27463 * docs/gst/gstreamer-sections.txt:
27464 New API: gst_structure_has_name().
27466 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27469 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27470 and _LARGEFILE_SOURCE in config.h as required. Do not
27471 export those flags in our .pc files any longer (#142209).
27473 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27475 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27476 (gst_file_sink_do_seek), (gst_file_sink_event),
27477 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27478 Redo seek/tell calls with large file support in mind; add some
27479 debugging messages; add log message that tells us when large
27480 file support is unavailable or not enabled for some reason.
27482 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27483 Add log message that tells us when large file support
27484 is unavailable or not enabled for some reason.
27486 2005-07-29 Wim Taymans <wim@fluendo.com>
27488 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27489 Added test for removing an element with ghostpad from a bin.
27490 Fixed test as current implementation does the right thing.
27492 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27493 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27494 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27495 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27496 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27497 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27498 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27499 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27500 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27501 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27502 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27503 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27504 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27505 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27506 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27507 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27508 * gst/gstghostpad.h:
27509 Clean up ghostpads, remove properties for internal stuff.
27512 Prepare for switching targets, not all use cases work yet.
27514 2005-07-29 Wim Taymans <wim@fluendo.com>
27516 * docs/design/part-gstghostpad.txt:
27519 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27520 (gst_bin_remove_func):
27521 Unlinking pads while holding the bin LOCK is not a good
27524 * gst/gstpad.c: (gst_pad_class_init),
27525 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27526 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27527 No prob setting template after creating the pad.
27529 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27531 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27532 (gst_bus_peek), (gst_bus_source_dispatch),
27533 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27534 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27535 gst_bus_poll may be called from other threads. Handle
27536 this nicely by not making poll_data disappear off the
27537 stack once gst_bus_poll returns.
27538 gst_bus_peek now increments the refcount on the returned
27541 2005-07-29 Wim Taymans <wim@fluendo.com>
27543 * docs/design/part-gstghostpad.txt:
27544 Overview of current GhostPad datastructures and use
27545 cases for changing the target.
27547 2005-07-28 Wim Taymans <wim@fluendo.com>
27549 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27550 Added checks for hierarchy consistency whan adding linked
27553 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27554 Added check to test element scheduling without bin/pipeline.
27556 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27557 First add elements to bin, then link.
27559 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27560 (gst_bin_remove_func):
27561 Unlink pads from elements added/removed from bin to maintain
27562 hierarchy consistency.
27564 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27566 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27567 (gst_base_transform_handle_buffer):
27568 * gst/base/gstbasetransform.h:
27569 Remove broken delay_configure (fixes renegotiation of software
27570 scaling pipelines); remove some leftover printf()s.
27572 2005-07-28 Wim Taymans <wim@fluendo.com>
27574 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27575 Added some more tests for wrong hierarchy
27577 * docs/design/part-overview.txt:
27580 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27583 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27584 (gst_element_dispose):
27585 Some more cleanups.
27587 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27588 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27589 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27590 (gst_pad_set_caps), (gst_pad_send_event):
27591 Check for correct hierarchy when linking pads. Moving to
27592 strict requirement for ghostpads when linking elements in
27596 Clean ups. Added WRONG_HIERARCHY return value.
27598 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27600 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27601 Better debug if no transform is possible.
27603 2005-07-27 Wim Taymans <wim@fluendo.com>
27605 * docs/random/wtay/network-transp:
27606 Some old doc I had.
27608 2005-07-27 Wim Taymans <wim@fluendo.com>
27610 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27611 (gst_dp_event_from_packet):
27612 Fix serialization of seek events.
27614 2005-07-27 Wim Taymans <wim@fluendo.com>
27616 * check/gst-libs/gdp.c: (GST_START_TEST):
27617 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27618 Fix compilation and fix event serialization.
27620 2005-07-27 Wim Taymans <wim@fluendo.com>
27623 * docs/design/part-TODO.txt:
27624 * docs/design/part-events.txt:
27627 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27628 (gst_base_sink_event), (gst_base_sink_do_sync),
27629 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27630 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27631 (gst_base_src_do_seek), (gst_base_src_event_handler),
27632 (gst_base_src_loop):
27633 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27634 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27635 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27636 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27637 (gst_base_transform_set_passthrough),
27638 (gst_base_transform_is_passthrough):
27639 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27640 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27646 * gst/gstelement.c: (gst_element_seek):
27647 * gst/gstelement.h:
27648 Update gst_element_seek.
27650 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27651 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27652 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27653 (gst_event_new_eos), (gst_event_new_newsegment),
27654 (gst_event_parse_newsegment), (gst_event_new_tag),
27655 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27656 (gst_event_parse_qos), (gst_event_new_seek),
27657 (gst_event_parse_seek), (gst_event_new_navigation):
27659 Make GstEvent use GstStructure. Add parsing code, make sure the
27660 API is sufficiently generic.
27661 Mark possible directions of events and serialization.
27663 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27664 (_gst_message_copy), (gst_message_new_segment_start),
27665 (gst_message_new_segment_done), (gst_message_new_custom),
27666 (gst_message_parse_segment_start),
27667 (gst_message_parse_segment_done):
27670 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27671 (gst_pad_set_caps), (gst_pad_send_event):
27672 Update for new events.
27673 Catch events sent in wrong directions.
27675 * gst/gstqueue.c: (gst_queue_link_src),
27676 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27677 (gst_queue_handle_src_query):
27682 Remove event code from this file.
27684 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27685 (gst_dp_event_from_packet):
27688 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27690 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27691 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27692 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27693 Make debugging actually useful.
27695 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27697 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27698 (gst_pad_fixate_caps):
27699 Implement default fixation once again, so that gst_pad_fixate()
27700 actually does anything at all. This probably needs to be some
27701 sort of a last resort, and use profile-based fixation first, but
27702 since that doesn't exist yet, this is the best we have. Fixes
27703 visualization in Totem.
27705 2005-07-22 Wim Taymans <wim@fluendo.com>
27707 * docs/design/part-events.txt:
27710 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27711 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27712 (gst_base_sink_activate_pull):
27713 Some more comments.
27715 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27716 (gst_fake_src_create):
27717 Fix handoff marshall.
27719 * gst/elements/gstidentity.c: (gst_identity_class_init),
27720 (gst_identity_transform_ip):
27721 We're a real inplace element.
27723 * gst/gstbus.c: (gst_bus_post):
27724 Added some comments.
27726 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27727 * tests/muxing/case1.c: (main):
27728 * tests/sched/dynamic-pipeline.c: (main):
27729 * tests/sched/interrupt1.c: (main):
27730 * tests/sched/interrupt2.c: (main):
27731 * tests/sched/interrupt3.c: (main):
27732 * tests/sched/runxml.c: (main):
27733 * tests/sched/sched-stress.c: (main):
27734 * tests/seeking/seeking1.c: (event_received), (main):
27735 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27737 * tests/threadstate/threadstate3.c: (main):
27738 * tests/threadstate/threadstate4.c: (main):
27739 * tests/threadstate/threadstate5.c: (main):
27742 2005-07-21 Wim Taymans <wim@fluendo.com>
27744 * docs/design/part-seeking.txt:
27745 Some small additions.
27747 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27748 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27749 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27750 * gst/base/gstbasesink.h:
27751 discont values are gint64, handle the math correctly.
27753 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27754 Make the basesrc report error if the source pad is not linked.
27756 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27757 (gst_queue_loop), (gst_queue_handle_src_query),
27758 (gst_queue_src_activate_push):
27759 Make queue collect data even if the srcpad is not linked.
27760 Start pushing out data as soon as it is linked.
27762 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27764 Added gst_flow_get_name() to ease error reporting.
27766 2005-07-20 Wim Taymans <wim@fluendo.com>
27768 * gst/gstmessage.c: (gst_message_new_segment_start),
27769 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27770 (gst_message_parse_segment_done):
27771 * gst/gstmessage.h:
27772 Added a bunch of messages for advanced seeking.
27774 * gst/parse/grammar.y:
27775 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27776 (gst_dpman_state_changed):
27777 Fix some new-pad -> pad-added signals
27779 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27781 * docs/manual/appendix-porting.xml:
27782 * docs/pwg/appendix-porting.xml:
27783 Document new-pad/state-change signal renames and the FixedList
27786 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27788 * docs/manual/advanced-autoplugging.xml:
27789 * docs/manual/basics-helloworld.xml:
27790 * docs/manual/basics-pads.xml:
27791 * docs/random/ds/0.9-suggested-changes:
27792 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27793 * gst/gstelement.h:
27797 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27798 (gst_structure_parse_array), (gst_structure_parse_value):
27799 * gst/gstvalue.c: (gst_type_is_fixed),
27800 (gst_value_list_prepend_value), (gst_value_list_append_value),
27801 (gst_value_list_get_size), (gst_value_list_get_value),
27802 (gst_value_transform_array_string), (gst_value_serialize_array),
27803 (gst_value_deserialize_array), (gst_value_intersect_array),
27804 (gst_value_is_fixed), (_gst_value_initialize):
27806 GstElement::new-pad -> pad-added, GstElement::state-change ->
27807 state-changed, GstValueFixedList -> GstValueArray, add format and
27808 flags as their own arguments in gst_element_seek() (should improve
27809 "bindeability"), remove function generators since they don't work
27810 under a whole bunch of compilers (they were deprecated already
27813 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27815 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27816 (_gst_debug_register_funcptr):
27818 Fix illegal cast on some platforms (#309253).
27820 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27822 * gst/gstmessage.c: (gst_message_new_custom):
27823 * gst/gstmessage.h:
27824 Add _new_custom, make _new_application a macro to _new_custom.
27826 2005-07-20 Wim Taymans <wim@fluendo.com>
27828 * gst/base/gstbasesrc.c: (gst_base_src_init),
27829 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27830 * gst/base/gstbasesrc.h:
27831 Add a gboolean to decide when to push out a discont.
27833 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27834 (gst_queue_loop), (gst_queue_handle_src_query),
27835 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27836 (gst_queue_set_property), (gst_queue_get_property):
27839 * tests/threadstate/threadstate1.c: (main):
27840 Make a thread test compile and run... very silly..
27843 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27845 * docs/manual/appendix-porting.xml:
27846 Mention removal of libgstgconf-0.9.la and existence of gconf
27849 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27851 * docs/pwg/advanced-clock.xml:
27852 * docs/pwg/appendix-porting.xml:
27853 * docs/pwg/intro-preface.xml:
27854 * docs/pwg/other-base.xml:
27855 * docs/pwg/other-manager.xml:
27856 * docs/pwg/other-nton.xml:
27857 * docs/pwg/other-ntoone.xml:
27858 * docs/pwg/other-oneton.xml:
27859 * docs/pwg/pwg.xml:
27860 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27861 demuxer), remove n-to-n (was never written), fix some code examples
27862 and links and update the porting section to include all this.
27864 2005-07-19 Wim Taymans <wim@fluendo.com>
27866 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27867 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27868 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27869 (gst_queue_src_activate_push), (gst_queue_change_state),
27870 (gst_queue_get_property):
27872 Propagate GstFlowReturn more intelligently upstream and output
27873 an ERROR/EOS when streaming stopped due to fatal error.
27875 2005-07-19 Wim Taymans <wim@fluendo.com>
27877 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27878 Don't block forever for the state change to complete, the
27879 pipeline already did with a sensible timeout.
27881 2005-07-19 Wim Taymans <wim@fluendo.com>
27883 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27884 Make sure we never call the create function is we
27887 2005-07-19 Andy Wingo <wingo@pobox.com>
27889 * gst/parse/parse.l: Attempt to solve bug #172815.
27891 2005-07-19 Wim Taymans <wim@fluendo.com>
27893 * docs/design/part-clocks.txt:
27894 * docs/design/part-events.txt:
27895 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27896 Small docs updates.
27897 Only update the seeking values when we are not
27900 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27902 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27903 Oops, ignore the result of gst_pad_push_event here.
27905 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27907 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27908 (gst_base_src_activate_push):
27909 Send discont event from the loop function, as pads
27910 aren't activated yet in the activate_push handler.
27912 * gst/gstbin.c: (bin_bus_handler):
27913 Don't leak element name.
27915 2005-07-18 Andy Wingo <wingo@pobox.com>
27917 * configure.ac: Use AS_LIBTOOL_TAGS.
27919 2005-07-18 Wim Taymans <wim@fluendo.com>
27921 * docs/gst/gstreamer.types:
27922 Remove deleted types.
27924 2005-07-18 Wim Taymans <wim@fluendo.com>
27926 * check/elements/gstfakesrc.c: (GST_START_TEST):
27929 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27930 (init_popt_callback):
27932 * gst/gst_private.h:
27933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27934 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27937 * gst/gstconfig.h.in:
27938 * gst/gstelement.c: (gst_element_class_init),
27939 (gst_element_set_base_time), (gst_element_get_base_time),
27940 (iterator_fold_with_resync), (gst_element_change_state),
27941 (gst_element_dispose), (gst_element_get_bus):
27942 * gst/gstelement.h:
27943 * gst/gstelementfactory.h:
27944 * gst/gsterror.c: (_gst_core_errors_init):
27947 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27949 * gst/gstinfo.c: (_gst_debug_init):
27950 * gst/gstmessage.c: (_gst_message_copy):
27951 * gst/gstmessage.h:
27952 * gst/gstminiobject.h:
27955 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27956 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27959 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27960 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27961 (gst_pipeline_get_last_stream_time):
27962 * gst/gstpipeline.h:
27963 * gst/gstpluginfeature.h:
27965 * gst/gstscheduler.c:
27966 * gst/gstscheduler.h:
27967 * gst/gststructure.h:
27968 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27969 (gst_task_finalize), (gst_task_func), (gst_task_create),
27970 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27971 (gst_task_stop), (gst_task_pause):
27973 * gst/gsttypefind.h:
27975 * gst/registries/gstlibxmlregistry.c: (load_feature),
27976 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27977 * gst/registries/gstxmlregistry.c:
27978 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27979 * gst/schedulers/threadscheduler.c:
27980 * libs/gst/control/dparammanager.h:
27981 * tools/gst-inspect.c: (print_element_list),
27982 (print_plugin_features), (print_element_features):
27983 * tools/gst-xmlinspect.c: (print_element_list),
27984 (print_plugin_info), (main):
27985 Removed plugable schedulers.
27986 Removed Scheduler/Manager from elements.
27987 Removed gsttypes.h, rearranged includes.
27988 Removed dependency pad<->element, element<>pipeline, and
27989 various others, fix includes.
27990 implement gst_pad_get_parent() with gst_object_get_parent()
27991 Make GstTask sefcontained.
27992 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27994 Fix endless loop in iterator_fold_with_resync.
27997 2005-07-18 Wim Taymans <wim@fluendo.com>
28003 2005-07-18 Wim Taymans <wim@fluendo.com>
28006 No more cothreads.h
28008 2005-07-18 Wim Taymans <wim@fluendo.com>
28012 Let's remove these.
28014 2005-07-18 Wim Taymans <wim@fluendo.com>
28016 * docs/design/part-dynamic.txt:
28017 * docs/design/part-events.txt:
28018 * docs/design/part-seeking.txt:
28019 Some more docs in the works.
28021 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28022 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28023 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28024 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28025 (gst_base_transform_handle_buffer),
28026 (gst_base_transform_sink_activate_push),
28027 (gst_base_transform_src_activate_pull),
28028 (gst_base_transform_set_passthrough),
28029 (gst_base_transform_is_passthrough):
28032 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28035 * gst/gstevent.c: (gst_event_finalize):
28038 * gst/gstutils.c: (gst_element_unlink),
28039 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28040 (gst_pad_proxy_setcaps):
28042 Add _get_parent_element() to get a pads parent as an element.
28044 2005-07-18 Wim Taymans <wim@fluendo.com>
28046 * check/gst/gstbin.c: (GST_START_TEST):
28049 2005-07-18 Wim Taymans <wim@fluendo.com>
28051 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28052 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28053 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28054 (gst_base_sink_event), (gst_base_sink_do_sync),
28055 (gst_base_sink_chain), (gst_base_sink_loop),
28056 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28057 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28059 Fix logic for returning ASYNC when not prerolled.
28061 2005-07-18 Wim Taymans <wim@fluendo.com>
28063 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28064 Fix nasty refcount bug.
28066 2005-07-16 Philippe Khalaf <burger@speedy.org>
28068 * gst/elements/gstfdsrc.c:
28069 * gst/elements/gstfdsrc.h:
28070 * gst/elements/gstelements.c:
28071 * gst/elements/Makefile.am:
28072 Ported fdsrc to 0.9.
28074 2005-07-16 Wim Taymans <wim@fluendo.com>
28076 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28077 (gst_base_sink_do_sync):
28080 2005-07-16 Wim Taymans <wim@fluendo.com>
28082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28083 (gst_base_sink_event), (gst_base_sink_get_times),
28084 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28085 * gst/base/gstbasesink.h:
28086 Store and use discont values when syncing buffers as described
28089 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28090 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28091 (gst_base_src_activate_push):
28092 Push discont event when starting.
28094 * gst/elements/gstidentity.c: (gst_identity_transform):
28097 * gst/gstbin.c: (gst_bin_change_state):
28098 Small cleanups in base_time distribution.
28100 * gst/gstelement.c: (gst_element_set_base_time),
28101 (gst_element_get_base_time), (gst_element_change_state):
28102 * gst/gstelement.h:
28103 Added methods for the base_time of the element.
28106 * gst/gstpipeline.c: (gst_pipeline_send_event),
28107 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28108 (gst_pipeline_get_last_stream_time):
28109 * gst/gstpipeline.h:
28111 Handle seeking as described in design doc, remove stream_time
28113 Cleanups clock and stream_time selection code. Added accessors
28114 for the stream_time.
28117 2005-07-16 Andy Wingo <wingo@pobox.com>
28119 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28122 2005-07-16 Wim Taymans <wim@fluendo.com>
28124 * check/gst/gstbin.c: (GST_START_TEST):
28125 Make elements silent as the deep_notify refs the
28126 parent, which might make the test fail.
28128 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28129 Don't hold the lock for too long.
28131 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28133 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28134 Don't unref the caps we passed to gst_caps_make_writable() after
28135 passing them. gst_caps_make_writable() will do that for us.
28137 2005-07-15 Andy Wingo <wingo@pobox.com>
28139 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28142 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28143 own marshalling function for the handoff signal. Properly type the
28144 buffer as a buffer. Fixes some warnings. Should do a more general
28146 (gst_identity_class_init): Plug into the right marshaller.
28148 2005-07-15 Wim Taymans <wim@fluendo.com>
28150 * docs/design/part-TODO.txt:
28151 * docs/design/part-clocks.txt:
28152 * docs/design/part-element-sink.txt:
28153 * docs/design/part-events.txt:
28154 * docs/design/part-gstpipeline.txt:
28155 Updated docs, mostly DISCONT related.
28157 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28159 * docs/pwg/building-pads.xml:
28160 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28162 2005-07-15 Andy Wingo <wingo@pobox.com>
28164 * tools/gst-typefind.c: Update, add copyright block.
28166 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28167 Normalize and truncate caps before fixation.
28170 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28171 discards all but the first structure from its argument.
28173 2005-07-15 Wim Taymans <wim@fluendo.com>
28175 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28176 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28177 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28178 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28179 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28180 (gst_base_transform_chain), (gst_base_transform_change_state),
28181 (gst_base_transform_set_passthrough),
28182 (gst_base_transform_is_passthrough):
28183 * gst/base/gstbasetransform.h:
28184 Make passthrough work using the bufferpools.
28185 Changed API a bit, subclasses have to write into a buffer
28186 provided by the base class.
28187 More debug info in nego functions.
28189 * gst/elements/gstidentity.c: (gst_identity_init),
28190 (gst_identity_transform):
28191 Port to new base class.
28193 2005-07-15 Wim Taymans <wim@fluendo.com>
28195 * gst/gstmessage.c: (gst_message_new_state_changed):
28196 * tools/gst-launch.c: (event_loop), (main):
28197 Totally dump messages in -launch with the -m option.
28198 Fix message name for State messages,
28200 2005-07-14 Wim Taymans <wim@fluendo.com>
28202 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28203 Post error messages on errors.
28205 2005-07-14 Wim Taymans <wim@fluendo.com>
28207 * gst/gstcaps.c: (gst_caps_do_simplify):
28211 Define error for stream stopped.
28213 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28214 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28215 Do proper return values.
28217 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28218 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28219 (gst_pad_get_range):
28220 Better return values.
28223 Reorganise return values, add macro to check for fatal errors.
28225 * gst/gstqueue.c: (gst_queue_chain):
28226 Return proper GstFlowReturn values,
28228 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28230 * docs/gst/gstreamer-sections.txt:
28231 * docs/gst/gstreamer.types:
28232 * docs/gst/tmpl/gst.sgml:
28233 * docs/gst/tmpl/gstbasesink.sgml:
28234 * docs/gst/tmpl/gstbasesrc.sgml:
28235 * docs/gst/tmpl/gstbasetransform.sgml:
28236 * docs/gst/tmpl/gstbin.sgml:
28237 * docs/gst/tmpl/gstbuffer.sgml:
28238 * docs/gst/tmpl/gstcaps.sgml:
28239 * docs/gst/tmpl/gstclock.sgml:
28240 * docs/gst/tmpl/gstcompat.sgml:
28241 * docs/gst/tmpl/gstconfig.sgml:
28242 * docs/gst/tmpl/gstelement.sgml:
28243 * docs/gst/tmpl/gstelementdetails.sgml:
28244 * docs/gst/tmpl/gstelementfactory.sgml:
28245 * docs/gst/tmpl/gstenumtypes.sgml:
28246 * docs/gst/tmpl/gsterror.sgml:
28247 * docs/gst/tmpl/gstevent.sgml:
28248 * docs/gst/tmpl/gstfakesink.sgml:
28249 * docs/gst/tmpl/gstfakesrc.sgml:
28250 * docs/gst/tmpl/gstfilesink.sgml:
28251 * docs/gst/tmpl/gstfilesrc.sgml:
28252 * docs/gst/tmpl/gstfilter.sgml:
28253 * docs/gst/tmpl/gstformat.sgml:
28254 * docs/gst/tmpl/gstghostpad.sgml:
28255 * docs/gst/tmpl/gstimplementsinterface.sgml:
28256 * docs/gst/tmpl/gstindex.sgml:
28257 * docs/gst/tmpl/gstindexfactory.sgml:
28258 * docs/gst/tmpl/gstinfo.sgml:
28259 * docs/gst/tmpl/gstiterator.sgml:
28260 * docs/gst/tmpl/gstmacros.sgml:
28261 * docs/gst/tmpl/gstmemchunk.sgml:
28262 * docs/gst/tmpl/gstminiobject.sgml:
28263 * docs/gst/tmpl/gstobject.sgml:
28264 * docs/gst/tmpl/gstpad.sgml:
28265 * docs/gst/tmpl/gstpadtemplate.sgml:
28266 * docs/gst/tmpl/gstparse.sgml:
28267 * docs/gst/tmpl/gstpipeline.sgml:
28268 * docs/gst/tmpl/gstplugin.sgml:
28269 * docs/gst/tmpl/gstpluginfeature.sgml:
28270 * docs/gst/tmpl/gstquery.sgml:
28271 * docs/gst/tmpl/gstqueue.sgml:
28272 * docs/gst/tmpl/gstregistry.sgml:
28273 * docs/gst/tmpl/gstregistrypool.sgml:
28274 * docs/gst/tmpl/gstscheduler.sgml:
28275 * docs/gst/tmpl/gstschedulerfactory.sgml:
28276 * docs/gst/tmpl/gststructure.sgml:
28277 * docs/gst/tmpl/gstsystemclock.sgml:
28278 * docs/gst/tmpl/gsttaglist.sgml:
28279 * docs/gst/tmpl/gsttagsetter.sgml:
28280 * docs/gst/tmpl/gsttrace.sgml:
28281 * docs/gst/tmpl/gsttrashstack.sgml:
28282 * docs/gst/tmpl/gsttypefind.sgml:
28283 * docs/gst/tmpl/gsttypefindfactory.sgml:
28284 * docs/gst/tmpl/gsttypes.sgml:
28285 * docs/gst/tmpl/gsturihandler.sgml:
28286 * docs/gst/tmpl/gsturitype.sgml:
28287 * docs/gst/tmpl/gstutils.sgml:
28288 * docs/gst/tmpl/gstvalue.sgml:
28289 * docs/gst/tmpl/gstversion.sgml:
28290 * docs/gst/tmpl/gstxml.sgml:
28291 * docs/libs/tmpl/gstcontrol.sgml:
28292 * docs/libs/tmpl/gstdataprotocol.sgml:
28293 * docs/libs/tmpl/gstdparam.sgml:
28294 * docs/libs/tmpl/gstdplinint.sgml:
28295 * docs/libs/tmpl/gstdpman.sgml:
28296 * docs/libs/tmpl/gstdpsmooth.sgml:
28297 * docs/libs/tmpl/gstgetbits.sgml:
28298 * docs/libs/tmpl/gstunitconvert.sgml:
28299 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28300 (gst_push_src_base_init), (gst_push_src_class_init),
28301 (gst_push_src_init), (gst_push_src_create):
28302 * gst/base/gstpushsrc.h:
28303 * gst/elements/gstelements.c:
28304 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28305 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28306 (gst_fake_sink_init), (gst_fake_sink_set_property),
28307 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28308 (gst_fake_sink_event), (gst_fake_sink_preroll),
28309 (gst_fake_sink_render), (gst_fake_sink_change_state):
28310 * gst/elements/gstfakesink.h:
28311 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28312 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28313 (gst_fake_src_base_init), (gst_fake_src_class_init),
28314 (gst_fake_src_init), (gst_fake_src_event_handler),
28315 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28316 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28317 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28318 (gst_fake_src_create_buffer), (gst_fake_src_create),
28319 (gst_fake_src_start), (gst_fake_src_stop):
28320 * gst/elements/gstfakesrc.h:
28321 * gst/elements/gstfilesink.c: (_do_init),
28322 (gst_file_sink_base_init), (gst_file_sink_class_init),
28323 (gst_file_sink_init), (gst_file_sink_dispose),
28324 (gst_file_sink_set_location), (gst_file_sink_set_property),
28325 (gst_file_sink_get_property), (gst_file_sink_open_file),
28326 (gst_file_sink_close_file), (gst_file_sink_query),
28327 (gst_file_sink_event), (gst_file_sink_render),
28328 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28329 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28330 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28331 * gst/elements/gstfilesink.h:
28332 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28333 (gst_file_src_class_init), (gst_file_src_init),
28334 (gst_file_src_finalize), (gst_file_src_set_location),
28335 (gst_file_src_set_property), (gst_file_src_get_property),
28336 (gst_file_src_map_region), (gst_file_src_map_small_region),
28337 (gst_file_src_create_mmap), (gst_file_src_create_read),
28338 (gst_file_src_create), (gst_file_src_is_seekable),
28339 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28340 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28341 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28342 (gst_file_src_uri_handler_init):
28343 * gst/elements/gstfilesrc.h:
28344 more autistic cleanliness in functions/names/defines
28346 2005-07-13 Andy Wingo <wingo@pobox.com>
28348 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28349 source couldn't negotiate.
28351 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28355 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28356 function. I am channeling Hades. Put your boots on suckers!!!
28358 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28360 * testsuite/caps/Makefile.am:
28361 * testsuite/caps/value_compare.c:
28362 * testsuite/caps/value_intersect.c:
28363 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28364 move two testsuite apps over to the check dir
28366 2005-07-12 Wim Taymans <wim@fluendo.com>
28368 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28369 Added more debug info in the negotiate process.
28371 * gst/gstmessage.h:
28372 Prepare for segment playback.
28374 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28380 * tools/gst-launch.c: (main):
28381 NULL pipeline on errors.
28383 2005-07-12 Andy Wingo <wingo@pobox.com>
28385 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28386 not it comes from a malloc region. Make sure our copy gets freed.
28388 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28390 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28391 * check/gst/gstmessage.c: (GST_START_TEST):
28392 * check/gst/gststructure.c: (GST_START_TEST),
28393 (gst_structure_suite), (main):
28395 * gst/gstelement.c: (gst_element_message_full):
28396 clean up GError and debug string now that they get copied
28397 * gst/gstmessage.c: (gst_message_new_error),
28398 (gst_message_new_warning), (gst_message_parse_error),
28399 (gst_message_parse_warning):
28400 use GST_TYPE_G_ERROR for structure_new, and take copies of
28401 arguments, so that we don't mess up refcounting
28403 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28405 * check/Makefile.am:
28406 add per-test valgrind targets
28407 * check/gst-libs/gdp.c: (GST_START_TEST),
28408 (gst_data_protocol_suite), (main):
28411 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28413 * check/Makefile.am:
28414 instate more valgrindable tests
28415 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28416 (GST_START_TEST), (fakesrc_suite):
28417 * check/gst/gstpad.c: (GST_START_TEST):
28418 * check/gst/gststructure.c: (GST_START_TEST):
28420 * docs/gst/tmpl/gstminiobject.sgml:
28421 * gst/gstpad.c: (gst_pad_finalize):
28422 fix the static mutex leak
28424 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28426 * check/Makefile.am:
28427 add two more tests for valgrinding
28428 * check/gst/gstvalue.c: (GST_START_TEST):
28429 test refcount of deserialized buffer, found a leak
28430 * docs/gst/gstreamer-docs.sgml:
28431 * docs/gst/gstreamer-sections.txt:
28432 * docs/gst/gstreamer.types:
28433 * docs/gst/tmpl/gstminiobject.sgml:
28434 add miniobject to docs
28435 * gst/gstminiobject.c:
28437 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28438 (gst_string_unwrap):
28439 fix a hard-to-find invalid write for one of the tests
28440 fix a leak for deserialized buffers
28442 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28444 * docs/pwg/advanced-events.xml:
28445 * docs/pwg/advanced-request.xml:
28446 * docs/pwg/advanced-scheduling.xml:
28447 * docs/pwg/appendix-porting.xml:
28448 * docs/pwg/building-boiler.xml:
28449 * docs/pwg/intro-preface.xml:
28450 * docs/pwg/other-ntoone.xml:
28451 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28452 of example code and explanation for pad activation, loop() and
28453 getrange() functions and a bit more. Remove old comments pointing
28455 * examples/pwg/Makefile.am:
28456 Add loop/getrange examples.
28458 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28461 check for valgrind binary + some fixes
28463 valgrind suppressions for the tests
28464 * check/Makefile.am:
28465 add a valgrind: target that valgrinds the unit tests
28466 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28467 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28468 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28469 * check/gst/gstghostpad.c:
28471 * check/gst/gstdata.c:
28473 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28474 (thread_unref), (gst_mini_object_suite), (main):
28476 * gst/gst.c: (gst_deinit):
28478 add a method to clean up.
28479 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28480 (gst_system_clock_obtain):
28481 allow for disposing the system clock.
28482 * tools/gst-launch.c: (main):
28485 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28487 * docs/gst/tmpl/gstbasesrc.sgml:
28488 * docs/gst/tmpl/gstfakesrc.sgml:
28489 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28490 (gst_base_src_init), (gst_base_src_set_property),
28491 (gst_base_src_get_property), (gst_base_src_get_range),
28492 (gst_base_src_start):
28493 * gst/base/gstbasesrc.h:
28494 add num-buffers property
28495 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28496 (gst_fakesrc_init), (gst_fakesrc_set_property),
28497 (gst_fakesrc_get_property), (gst_fakesrc_create),
28498 (gst_fakesrc_start):
28499 remove num-buffers property
28501 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28503 * docs/gst/gstreamer-sections.txt:
28504 * docs/gst/tmpl/gstbasesink.sgml:
28505 * docs/gst/tmpl/gstbasesrc.sgml:
28506 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28507 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28508 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28509 (gst_base_sink_set_property), (gst_base_sink_get_property),
28510 (gst_base_sink_handle_object), (gst_base_sink_event),
28511 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28512 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28513 (gst_base_sink_loop), (gst_base_sink_deactivate),
28514 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28515 (gst_base_sink_change_state):
28516 * gst/base/gstbasesink.h:
28517 * gst/base/gstbasesrc.h:
28518 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28519 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28520 (gst_filesink_init):
28521 more macro splitting
28523 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28525 * gst/gstelement.c: (gst_element_get_bus):
28527 * tools/gst-launch.c: (check_intr), (event_loop):
28530 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28532 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28535 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28537 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28538 (gst_base_src_finalize):
28539 add finalize method and clean up properly
28540 * gst/gstpipeline.c: (gst_pipeline_dispose):
28543 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28545 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28547 add more things to check
28548 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28549 * gst/gstelement.c:
28552 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28554 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28555 (GST_START_TEST), (fakesrc_suite):
28556 * check/gst-libs/gdp.c: (GST_START_TEST):
28557 * check/gst/gst.c: (GST_START_TEST):
28558 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28559 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28560 * check/gst/gstbus.c: (GST_START_TEST):
28561 * check/gst/gstcaps.c: (GST_START_TEST):
28562 * check/gst/gstdata.c: (GST_START_TEST):
28563 * check/gst/gstelement.c: (GST_START_TEST):
28564 * check/gst/gstghostpad.c: (GST_START_TEST):
28565 * check/gst/gstiterator.c: (GST_START_TEST):
28566 * check/gst/gstmessage.c: (GST_START_TEST):
28567 * check/gst/gstobject.c: (GST_START_TEST):
28568 * check/gst/gstpad.c: (GST_START_TEST):
28569 * check/gst/gststructure.c: (GST_START_TEST):
28570 * check/gst/gstsystemclock.c: (GST_START_TEST),
28571 (gst_systemclock_suite):
28572 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28573 * check/gst/gstvalue.c: (GST_START_TEST):
28574 * check/pipelines/cleanup.c: (GST_START_TEST):
28575 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28576 * check/states/sinks.c: (GST_START_TEST):
28577 * check/gstcheck.c: (gst_check_init):
28578 * check/gstcheck.h:
28579 add debugging category
28580 use GST_START_TEST now, so we add a debug line
28582 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28584 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28585 add test for state change message on a bin
28586 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28588 * gst/gstbin.c: (gst_bin_init):
28589 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28590 * gst/gstelement.c: (gst_element_post_message),
28591 (gst_element_set_state):
28592 * gst/gstelementfactory.c: (gst_element_factory_create):
28593 * gst/gstmessage.c: (gst_message_new):
28594 * gst/gstscheduler.c:
28595 various debugging additions and cleanups
28597 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28599 * check/Makefile.am:
28600 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28602 adding tests for elements
28603 * gst/gstelement.c: (gst_element_dispose):
28605 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28607 * gst/registries/gstlibxmlregistry.c: (load_feature):
28608 plug more leaks. A simple gst_init() now is leakfree, yay.
28610 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28612 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28613 (gst_xml_registry_load):
28614 plug another memleak
28616 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28619 use GST_SET_ERROR_CFLAGS
28620 * docs/faq/cvs.xml:
28621 change to ERROR_CFLAGS
28623 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28626 make GST_ERROR_CFLAGS overridable and re-enable Werror
28627 * docs/faq/cvs.xml:
28628 add a note about error CFLAGS
28629 * docs/gst/tmpl/gstfakesrc.sgml:
28630 * gst/elements/gstfakesrc.c:
28631 comment out some unused code
28632 * gst/gst.c: (split_and_iterate):
28633 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28637 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28639 * common/Makefile.am:
28640 * common/gtk-doc.mak:
28641 * docs/gst/Makefile.am:
28642 factor out gtk-doc.mak
28644 2005-07-07 Wim Taymans <wim@fluendo.com>
28646 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28647 (gst_thread_scheduler_dispose):
28648 Unlock the STREAM_LOCK completely.
28650 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28652 * check/Makefile.am:
28653 * check/elements/.cvsignore:
28654 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28655 (START_TEST), (fakesrc_suite), (main):
28656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28657 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28658 (gst_fakesrc_create), (gst_fakesrc_start):
28659 * gst/elements/gstfakesrc.h:
28660 adding a first element test
28662 2005-07-07 Andy Wingo <wingo@pobox.com>
28664 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28667 2005-07-07 Wim Taymans <wim@fluendo.com>
28673 2005-07-07 Wim Taymans <wim@fluendo.com>
28675 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28676 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28677 Allow subclasses to implement their own negotiation.
28679 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28681 * docs/design/part-gstbin.txt:
28682 * docs/design/part-gstpipeline.txt:
28683 Update design notes to reflect the movement of
28684 responsibility for bus handling from GstPipeline to
28687 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28690 Remove unnecessary queue2/3/4 examples.
28692 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28694 * examples/Makefile.am:
28695 * examples/helloworld/helloworld.c: (event_loop), (main):
28696 * examples/queue/queue.c: (event_loop), (main):
28697 * examples/queue2/queue2.c: (main):
28698 Update a couple of the examples to work again.
28700 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28701 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28702 Spelling corrections and extra debug.
28704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28705 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28706 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28708 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28709 (gst_pipeline_change_state):
28710 * gst/gstpipeline.h:
28711 Move the bus handler for children to the GstBin, and create a
28712 separate bus for receiving messages from children to the one the
28713 bus sends 'upwards' on.
28715 2005-07-06 Wim Taymans <wim@fluendo.com>
28718 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28719 (gst_base_sink_handle_object), (gst_base_sink_loop),
28720 (gst_base_sink_change_state):
28721 * gst/base/gstbasesink.h:
28722 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28723 (gst_base_src_init), (gst_base_src_setcaps),
28724 (gst_base_src_getcaps), (gst_base_src_loop),
28725 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28726 (gst_base_src_start), (gst_base_src_change_state):
28727 * gst/base/gstbasesrc.h:
28728 Make basesrc negotiate.
28729 Handle the case where preroll fails in basesink.
28732 2005-07-06 Wim Taymans <wim@fluendo.com>
28734 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28735 Implement the fixate function.
28736 Clean up acceptcaps.
28738 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28740 * docs/pwg/building-filterfactory.xml:
28741 * docs/pwg/pwg.xml:
28742 Remove never-written filter-factory chapter; I'll add the various
28743 base classes to part 4 ("other element types") later on.
28745 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28747 * docs/pwg/advanced-negotiation.xml:
28748 * docs/pwg/building-boiler.xml:
28749 * docs/pwg/building-pads.xml:
28750 * docs/pwg/pwg.xml:
28751 * examples/pwg/Makefile.am:
28752 Add a chapter on caps negotiation, simplify the original code
28753 samples a bit w.r.t. caps negotiation, add link to the advanced
28754 section. Add a bunch of examples showing different use cases of
28755 different types of caps negotiation. Upstream renegotiation isn't
28756 fully documented yet since nobody knows how that works.
28758 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28760 * check/gst/gstpad.c:
28761 * check/gstcheck.c:
28762 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28763 if pad has no parent, return NULL as list of internal links
28765 2005-07-05 Andy Wingo <wingo@pobox.com>
28767 * gst/elements/gstfilesrc.c:
28768 * gst/elements/gstfakesrc.c:
28769 * gst/base/gstpushsrc.c:
28770 * gst/base/gstbasesrc.h:
28771 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28773 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28776 better report generation target (lcov needs a patch)
28778 2005-07-05 Andy Wingo <wingo@pobox.com>
28780 * gst/elements, testsuite: Null if we got it...
28782 2005-07-05 Wim Taymans <wim@fluendo.com>
28785 * libs/gst/dataprotocol/Makefile.am:
28786 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28787 * libs/gst/dataprotocol/dataprotocol.h:
28788 * pkgconfig/Makefile.am:
28789 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28790 * pkgconfig/gstreamer-dataprotocol.pc.in:
28791 Ported dataprotol to 0.9.
28792 Added pkgconfig files.
28794 2005-07-05 Andy Wingo <wingo@pobox.com>
28796 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28797 Default to returning TRUE for the case when tranform_caps returns
28798 a fixed caps, like for identity or volume.
28800 * check/gst/gstbus.c (pound_bus_with_messages):
28801 * check/gst/gstmessage.c (START_TEST):
28802 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28803 message API change.
28805 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28806 logic weaks here: always run transform_caps, trying passthrough
28807 operation only if the original caps intersects with the transform.
28809 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28810 source and sink caps.
28812 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28813 Intersect the peer caps with the pad template before going into
28815 (gst_base_transform_transform_caps): More debugging.
28817 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28820 2005-07-04 Edward Hervey <edward@fluendo.com>
28824 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28827 2005-07-04 Andy Wingo <wingo@pobox.com>
28829 * check/gst/gstpad.c: Only set explicit caps on pads.
28831 2005-07-01 Andy Wingo <wingo@pobox.com>
28833 * tests/network-clock.scm: Commentary update.
28835 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28836 Didn't really make sense, not implementable with basetransform,
28838 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28839 attempt at implementing the sync property, needs an unlock method.
28841 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28842 New func, by default returns the same caps (the identity
28844 (gst_base_transform_getcaps): Uses transform_caps to return
28845 something sensible.
28846 (gst_base_transform_setcaps): Complicated logic to get caps on
28847 both pads, even if they are different, and to call set_caps once
28848 for every time both pads get their caps set.
28849 (gst_base_transform_handle_buffer): Give the ref to the transform
28850 function. Allows in-place modification of the buffer.
28852 * gst/base/gstbasetransform.h (transform_caps): New class method.
28853 Given caps on one side, what can I do on the other.
28854 (set_caps): Take two caps, one for each side of the element.
28857 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28858 caps in place. This is safe because we can check the mutability of
28859 the caps, and a good idea because fixate functions are just called
28860 as a matter of last resort. (Not actually implemented.)
28861 (gst_pad_set_caps): If the caps we're setting is actually the same
28862 as the existing pad caps, just update the pointer without calling
28863 setcaps. Assert that caps is either NULL or fixed, as per the
28866 * gst/gstghostpad.c: Update for fixate changes.
28868 2005-07-02 Andy Wingo <wingo@pobox.com>
28871 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28872 two refcounts makes it immutable, which is enough. Doc more.
28874 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28876 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28877 Put the mini_object into GValue as a mini_object,
28878 not a gpointer, since that's how we declared
28881 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28883 * examples/pwg/Makefile.am:
28884 Fix buildbot again.
28886 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28888 * docs/pwg/building-testapp.xml:
28890 * examples/pwg/Makefile.am:
28893 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28896 * examples/Makefile.am:
28897 * examples/pwg/Makefile.am:
28898 * examples/pwg/extract.pl:
28899 Enable building the PWG examples.
28900 * docs/pwg/advanced-interfaces.xml:
28901 Add URI interface stub.
28902 * docs/pwg/advanced-types.xml:
28903 * docs/pwg/other-autoplugger.xml:
28904 * docs/pwg/appendix-porting.xml:
28905 * docs/pwg/pwg.xml:
28906 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28907 * docs/pwg/building-boiler.xml:
28908 * docs/pwg/building-chainfn.xml:
28909 * docs/pwg/building-pads.xml:
28910 * docs/pwg/building-props.xml:
28911 * docs/pwg/building-state.xml:
28912 * docs/pwg/building-testapp.xml:
28913 Update the building-*.xml parts for 0.9 changes. All examples
28914 code blocks compile in examples/pwg/*.
28916 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28918 * docs/manual/advanced-autoplugging.xml:
28919 * docs/manual/appendix-checklist.xml:
28920 * docs/manual/appendix-integration.xml:
28921 * docs/manual/highlevel-components.xml:
28922 Fix playbin/decodebin examples, update docs a bit, mention bus
28923 instead of signals in various places, mention kmplayer and
28924 kaffeine since they have a working GStreamer backend in the KDE
28927 2005-06-30 Wim Taymans <wim@fluendo.com>
28930 * docs/design/draft-ghostpads.txt:
28931 * docs/design/draft-push-pull.txt:
28932 * docs/design/draft-query.txt:
28933 * docs/design/part-TODO.txt:
28934 * docs/design/part-query.txt:
28935 Added CHANGES-0.9 doc, updated status of other docs.
28940 2005-06-30 Wim Taymans <wim@fluendo.com>
28942 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28943 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28944 (gst_base_sink_change_state):
28945 * gst/base/gstbasesink.h:
28946 Some tweaks, only EOS and a buffer complete a preroll.
28948 2005-06-30 Andy Wingo <wingo@pobox.com>
28950 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28951 activate_push down to the internal pad as well.
28953 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28955 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28957 * gst/gsttaginterface.c:
28958 Some documentation fixes (#307394 and #307397).
28960 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28962 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28964 * gst/gstvalue.c: (gst_value_intersect_list):
28965 Fix memleak (#309125).
28967 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28969 * docs/manual/advanced-dataaccess.xml:
28970 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28971 * docs/manual/basics-pads.xml:
28972 Add reference for filtered caps to above chapter.
28974 2005-06-30 Wim Taymans <wim@fluendo.com>
28976 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28977 (gst_bin_change_state):
28979 Lame attempt at making the state change function a bit
28982 2005-06-30 Wim Taymans <wim@fluendo.com>
28984 * docs/design/part-clocks.txt:
28985 * docs/design/part-element-sink.txt:
28986 * docs/design/part-events.txt:
28987 * docs/design/part-preroll.txt:
28988 * docs/design/part-states.txt:
28989 Some more tweeks and additions to the docs.
28991 2005-06-30 Wim Taymans <wim@fluendo.com>
28993 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28994 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28995 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28996 (gst_pad_check_pull_range), (gst_pad_get_range),
28997 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28999 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29000 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29001 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29002 (gst_pad_remove_buffer_probe):
29003 Removed atomic operations, use existing LOCK.
29004 Move exception handling out of main code path.
29006 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29008 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29009 (silly_return_true_function), (gst_pad_class_init),
29010 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29011 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29012 (gst_pad_send_event):
29013 Fix accumulator, add default value by using _emitv() instead
29014 of _emit() for signal emission.
29016 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29018 * docs/manual/advanced-dataaccess.xml:
29019 * examples/manual/Makefile.am:
29021 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29024 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29026 * gst/elements/gstfilesink.c: (gst_filesink_render):
29027 Simplify code so that we don't have to handle short
29028 writes and return GST_FLOW_ERROR if an error occured.
29030 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29032 * docs/gst/gstreamer-docs.sgml:
29033 Remove probes more.
29035 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29037 * docs/gst/gstreamer-sections.txt:
29038 * docs/gst/tmpl/gstpad.sgml:
29039 * docs/gst/tmpl/gstprobe.sgml:
29041 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29042 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29043 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29044 (gst_pad_push_event), (gst_pad_send_event):
29046 * gst/gstutils.c: (gst_pad_add_data_probe),
29047 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29048 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29049 (gst_pad_remove_buffer_probe):
29051 Remove old probes, add new g-signal-based probes and some utility
29054 2005-06-29 Edward Hervey <edward@fluendo.com>
29056 * gst/gstelementfactory.c:
29059 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29060 the definition to the header file.
29062 2005-06-29 Andy Wingo <wingo@pobox.com>
29064 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29065 plugins from the source directory.
29067 2005-06-29 Wim Taymans <wim@fluendo.com>
29069 * docs/gst/tmpl/gstbuffer.sgml:
29070 * docs/gst/tmpl/gstclock.sgml:
29071 Some fixings for blantently wrong text.
29073 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29075 * check/Makefile.am:
29076 * gst/gst.c: (add_path_func), (init_pre):
29077 * gst/gstregistry.c: (gst_registry_add_path):
29078 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29079 only scan the GST_PLUGIN_PATH locations, and not add
29082 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29084 * docs/gst/gstreamer-sections.txt:
29085 * docs/gst/tmpl/gstbasesrc.sgml:
29086 * gst/gstelement.c:
29087 * gst/gstelement.h:
29092 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29094 * docs/manual/advanced-autoplugging.xml:
29095 Fix autoplugging example.
29097 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29099 * docs/manual/advanced-autoplugging.xml:
29100 * docs/manual/mime-world.fig:
29101 Try to get autoplugging working, fix type detection. Fix text
29102 in hello-world image.
29104 2005-06-29 Wim Taymans <wim@fluendo.com>
29106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29107 (gst_base_sink_change_state):
29111 map SIGNAL and BROADCAST to the right function.
29114 Remove redundant braces.
29116 * gst/gstpad.c: (gst_pad_set_caps):
29117 Don't call setcaps function when reseting caps to NULL.
29119 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29120 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29121 (gst_system_clock_id_unschedule):
29122 Use BROADCAST as this is what we do.
29124 2005-06-29 Wim Taymans <wim@fluendo.com>
29126 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29127 We are actually prerolling before commiting the state
29130 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29132 * docs/manual/advanced-clocks.xml:
29133 * docs/manual/advanced-interfaces.xml:
29134 * docs/manual/advanced-metadata.xml:
29135 * docs/manual/advanced-position.xml:
29136 * docs/manual/advanced-schedulers.xml:
29137 * docs/manual/advanced-threads.xml:
29138 * docs/manual/appendix-porting.xml:
29139 * docs/manual/basics-bins.xml:
29140 * docs/manual/basics-bus.xml:
29141 * docs/manual/basics-elements.xml:
29142 * docs/manual/basics-helloworld.xml:
29143 * docs/manual/basics-pads.xml:
29144 * docs/manual/highlevel-components.xml:
29145 * docs/manual/manual.xml:
29146 * docs/manual/thread.fig:
29147 Update (until threads/scheduling) Application Development Manual;
29148 remove GstThread, add GstBus, add simple porting checklist, add
29149 documentation for tag writing, clocks, make all examples until this
29150 part compile and run.
29151 * examples/manual/Makefile.am:
29152 Update from changes to Application Development Manual; add bus
29153 example, remove thread example.
29155 2005-06-28 Wim Taymans <wim@fluendo.com>
29157 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29158 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29159 (gst_bus_source_dispatch):
29160 Add debugging messages.
29161 Make internal methods static.
29162 Handle the case where the bus is flushed in the handler.
29164 * gst/gstelement.c: (gst_element_get_bus):
29165 Fix refcount in _get_bus();
29167 * gst/gstpipeline.c: (gst_pipeline_change_state),
29168 (gst_pipeline_get_clock_func):
29169 Clock refcounting fixes.
29170 Handle the case where preroll timed out more gracefully.
29172 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29173 Clean up the internal thread in dispose. This is needed
29174 for subclasses that actually get disposed.
29176 * gst/schedulers/threadscheduler.c:
29177 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29178 (gst_thread_scheduler_dispose):
29179 Free thread pool in dispose.
29181 2005-06-28 Andy Wingo <wingo@pobox.com>
29183 * tests/network-clock-utils.scm (debug, print-event): New utils.
29185 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29186 (*packet-loss*): Unified loss probability.
29187 (network-time): Report out-of-band events.
29189 * tests/plot-data: Add support for out-of-band events. Hack it
29190 into this script instead of passing it down the pipe; should fix
29193 2005-06-28 Wim Taymans <wim@fluendo.com>
29195 * docs/gst/gstreamer.types:
29196 * docs/gst/tmpl/gstbasesrc.sgml:
29197 * docs/gst/tmpl/gstpad.sgml:
29200 2005-06-28 Wim Taymans <wim@fluendo.com>
29202 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29203 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29204 (gst_proxy_pad_do_fixatecaps):
29205 Correctly proxy the check_pull_range function.
29207 2005-06-28 Andy Wingo <wingo@pobox.com>
29209 * tests/network-clock.scm: Removed need for slib.
29211 2005-06-28 Wim Taymans <wim@fluendo.com>
29213 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29214 (gst_basesink_preroll_queue_flush):
29215 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29216 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29217 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29218 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29219 (gst_proxy_pad_set_property):
29222 * gst/gstqueue.c: (gst_queue_init):
29223 The deprecated pad loop function is removed now.
29225 2005-06-28 Andy Wingo <wingo@pobox.com>
29227 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29228 New parameters, simulate network packet loss.
29230 * tests/network-clock-utils.scm: Initialize the RNG.
29232 2005-06-28 Wim Taymans <wim@fluendo.com>
29234 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29235 (gst_basesink_event), (gst_basesink_deactivate):
29236 Flushing the preroll queue always needs to unlock the waiters.
29238 2005-06-28 Edward Hervey <edward@fluendo.com>
29240 * gst/gstpipeline.c: (gst_pipeline_send_event):
29241 Wheen a seek was successful on a pipeline, set the stream_time to the
29242 seek offset in order to have a synchronized stream_time.
29244 2005-06-28 Wim Taymans <wim@fluendo.com>
29246 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29247 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29248 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29249 (gst_proxy_pad_do_fixatecaps):
29250 Call wrapper function instead of just calling the function
29251 pointers. This takes care of any locking and whatmore.
29253 2005-06-28 Wim Taymans <wim@fluendo.com>
29255 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29256 (gst_pad_pull_range):
29258 CONNECTED -> LINKED.
29260 2005-06-28 Andy Wingo <wingo@pobox.com>
29262 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29263 source-munging commit!!!
29265 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29266 (gst_object_sink): Take gpointer arguments, not GstObject --
29267 avoids casts. Like GLib.
29269 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29272 2005-06-27 Andy Wingo <wingo@pobox.com>
29274 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29277 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29278 returns a sorted copy of the trace list.
29279 (gst_alloc_trace_print_live): New API, only prints traces with
29280 live objects. Sort the list.
29281 (gst_alloc_trace_print_all): Sort the list.
29282 (gst_alloc_trace_print): Align columns.
29284 * gst/elements/gstttypefindelement.c:
29285 * gst/elements/gsttee.c:
29286 * gst/base/gstbasesrc.c:
29287 * gst/base/gstbasesink.c:
29288 * gst/base/gstbasetransform.c:
29289 * gst/gstqueue.c: Adapt for pad activation changes.
29291 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29293 (gst_pipeline_dispose): Drop ref on sched.
29295 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29296 (gst_pad_activate_default): Push mode by default.
29297 (pre_activate_switch, post_activate_switch): New stubs, things to
29298 do before and after switching activation modes on pads.
29299 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29300 the pad's activate function to choose which mode to activate.
29301 Shortcut on deactivation and call the right function directly.
29302 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29304 (gst_pad_activate_push): New API, same for push mode.
29305 (gst_pad_set_activate_function)
29306 (gst_pad_set_activatepull_function)
29307 (gst_pad_set_activatepush_function): Setters for new API.
29309 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29310 Trace all miniobjects.
29311 (gst_mini_object_make_writable): Unref the arg if we copy, like
29312 gst_caps_make_writable.
29314 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29316 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29317 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29318 Adapt for new pad API.
29320 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29322 * gst/gstelement.h:
29323 * gst/gstelement.c (gst_element_iterate_src_pads)
29324 (gst_element_iterate_sink_pads): New API functions.
29326 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29327 should fold into gstiterator.c in some form.
29328 (gst_element_pads_activate): Simplified via use of fold and
29329 delegation of decisions to gstpad->activate.
29331 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29334 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29335 class once in init, like gstmessage. Didn't run into this issue
29336 but it seems correct. Don't initialize a trace, gstminiobject does
29339 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29340 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29342 (assert_live_count): New util function, uses alloc traces to check
29345 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29346 To be modified when unlink drops the internal pad.
29348 2005-06-27 Wim Taymans <wim@fluendo.com>
29350 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29351 (gst_bin_change_state):
29352 Cleanup the get_state() function a little, make sure it
29353 iterates the same set of elements.
29354 Added stub iterate_state_order().
29356 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29358 * docs/gst/gstreamer-docs.sgml:
29359 * docs/gst/gstreamer-sections.txt:
29360 * docs/gst/gstreamer.types:
29361 * docs/gst/tmpl/gstbasesink.sgml:
29362 * docs/gst/tmpl/gstbasesrc.sgml:
29363 * docs/gst/tmpl/gstbasetransform.sgml:
29364 * docs/gst/tmpl/gstelement.sgml:
29365 * docs/gst/tmpl/gstiterator.sgml:
29366 * gst/base/gstbasesrc.c:
29367 * gst/base/gstbasesrc.h:
29368 * gst/base/gstbasetransform.h:
29369 * gst/gstelement.c:
29370 * gst/gstiterator.h:
29371 adding basetransform and iterator docs
29373 2005-06-27 Andy Wingo <wingo@pobox.com>
29375 * docs/design/part-activation.txt: Notes on how activation should
29376 work -- not quite implemented yet.
29378 2005-06-25 Wim Taymans <wim@fluendo.com>
29380 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29381 At least get the chain function correct, needs more
29384 2005-06-25 Wim Taymans <wim@fluendo.com>
29386 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29387 (gst_basesink_handle_object), (gst_basesink_event),
29388 (gst_basesink_do_sync), (gst_basesink_handle_event),
29389 (gst_basesink_change_state):
29391 Right, two problems here: ghostpads don't take locks and
29392 glib _rec_mutex_lock_full() with depth==0 still locks.
29393 Catch illegal locking and g_warn them.
29395 2005-06-25 Wim Taymans <wim@fluendo.com>
29397 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29398 Have to check for completion now...
29400 2005-06-25 Wim Taymans <wim@fluendo.com>
29402 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29403 (gst_basesink_handle_object), (gst_basesink_event),
29404 (gst_basesink_do_sync), (gst_basesink_handle_event),
29405 (gst_basesink_change_state):
29407 Unlock STREAM_LOCK whatever the recursion was.
29409 2005-06-25 Wim Taymans <wim@fluendo.com>
29411 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29412 (gst_basesink_preroll_queue_empty),
29413 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29414 (gst_basesink_event), (gst_basesink_do_sync),
29415 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29416 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29417 (gst_basesink_change_state):
29418 Reworked the base sink, handle event and buffer serialisation
29419 correctly and removed possible deadlock.
29420 Handle EOS correctly.
29422 2005-06-25 Wim Taymans <wim@fluendo.com>
29424 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29425 (gst_pipeline_change_state):
29426 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29427 Allow elements to post EOS in the state change function.
29428 Fix up -launch, make it exit the poll loop when the
29429 pipeline actually changed state.
29430 Fix up warning parsing in -launch.
29432 2005-06-25 Wim Taymans <wim@fluendo.com>
29434 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29435 (gst_tee_sink_activate):
29436 Core takes STREAM_LOCK for us now.
29438 2005-06-25 Wim Taymans <wim@fluendo.com>
29440 * gst/gstelement.c: (gst_element_get_state_func),
29441 (gst_element_set_state):
29442 * gst/gstelement.h:
29443 * gst/gstmessage.c: (gst_message_parse_error),
29444 (gst_message_parse_warning):
29445 Keep track of current target state while performing a state
29446 change so that subclasses can do something interesting.
29447 Fix parsing of warning/error messages when GError is NULL.
29449 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29451 * docs/gst/Makefile.am:
29452 * docs/gst/gstreamer-docs.sgml:
29453 * docs/gst/gstreamer-sections.txt:
29454 * docs/gst/gstreamer.types:
29455 * docs/gst/tmpl/gstbasesink.sgml:
29456 * docs/gst/tmpl/gstbasesrc.sgml:
29457 * docs/gst/tmpl/gstbin.sgml:
29458 * docs/gst/tmpl/gstcompat.sgml:
29459 * docs/gst/tmpl/gstfakesink.sgml:
29460 * docs/gst/tmpl/gstfakesrc.sgml:
29461 * docs/gst/tmpl/gstfilesink.sgml:
29462 * docs/gst/tmpl/gstfilesrc.sgml:
29463 * docs/gst/tmpl/gstindex.sgml:
29464 * docs/manual/appendix-quotes.xml:
29465 * gst/base/gstbasesrc.h:
29466 * gst/elements/gstfakesrc.h:
29467 * gst/gstmessage.h:
29468 start pulling in base classes and elements in our docs
29470 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29472 * docs/gst/Makefile.am:
29473 * docs/libs/Makefile.am:
29474 fixed make distcheck with gtk-doc 1.3
29476 2005-06-23 Wim Taymans <wim@fluendo.com>
29478 * gst/gstelement.c: (gst_element_get_state_func),
29479 (gst_element_set_state), (gst_element_change_state):
29480 When the state did not change, also report NO_PREROLL
29483 2005-06-23 Wim Taymans <wim@fluendo.com>
29485 * gst/gstpad.c: (gst_pad_event_default):
29486 * gst/gstqueue.c: (gst_queue_loop):
29487 No unsafe task pausing please.
29489 2005-06-23 Wim Taymans <wim@fluendo.com>
29491 * gst/schedulers/threadscheduler.c:
29492 (gst_thread_scheduler_task_start),
29493 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29494 Ref the task before pushing it on the threadpool. This
29495 makes sure that we have a ref when the threadfunction is
29498 2005-06-23 Andy Wingo <wingo@pobox.com>
29500 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29501 offset is greater than the file's size.
29503 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29504 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29505 * gst/gstobject.c (gst_object_class_init): Make the class lock
29506 recursive. Wim won't let me drop deep_notify. Decodebin works
29507 again, whoopdy doo.
29509 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29510 internal pad, and hacks accordingly. Doesn't do it on the target
29511 pad because we change its caps. Probably catches all cases of
29513 (gst_ghost_pad_set_property): Connect to notify::caps as
29516 * tests/network-clock.scm (plot-simulation): Pipe data to the
29517 elite python skript.
29519 * tests/network-clock-utils.scm (define-parameter): New macro,
29520 defines a parameter that can be set via the command line.
29521 (set-parameter!, parse-parameter-arguments): Command line args
29524 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29527 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29529 * gst/elements/gsttypefindelement.c:
29530 (gst_type_find_element_handle_event):
29531 Don't restart typefinding on a discont.
29532 * gst/gstelement.c: (gst_element_set_state):
29533 Debug spelling fix.
29534 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29535 Allow changing mode of an active pad.
29536 Debug output fixes.
29537 * gst/registries/gstlibxmlregistry.c: (load_feature):
29538 Don't cast a static pad template to a normal pad template.
29540 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29542 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29543 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29544 remove gst_strtoll completely, since it didn't actually do
29545 anything more than what g_ascii_strtoull already does.
29546 check for range errors when deserializing
29547 do a cast for the unsigned cases; but further fixing needs
29548 a decision on what the interpretation of "(int)" and
29549 deserialization should be for values that fall outside the
29550 type's boundaries (ie, refuse, or interpret as casting)
29552 2005-06-23 Wim Taymans <wim@fluendo.com>
29554 * check/Makefile.am:
29555 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29556 * docs/design/part-live-source.txt:
29557 * docs/design/part-states.txt:
29558 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29559 (gst_basesrc_set_live), (gst_basesrc_is_live),
29560 (gst_basesrc_get_range), (gst_basesrc_activate),
29561 (gst_basesrc_change_state):
29562 * gst/base/gstbasesrc.h:
29563 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29564 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29565 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29566 * gst/gstelement.c: (gst_element_get_state_func),
29567 (gst_element_set_state):
29568 * gst/gstelement.h:
29570 * tools/gst-launch.c: (event_loop), (main):
29571 Added support for live sources and other elements that
29573 Updated design docs, added live-source design doc.
29574 Implemented live source functionality in basesrc
29575 Fix error condition in _bin_get_state()
29576 Implement live source handling in -launch.
29577 Added check for live sources.
29578 Fixed case in GstBin where elements were changed state
29582 2005-06-23 Andy Wingo <wingo@pobox.com>
29584 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29585 borken refcounting.
29587 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29588 gst_caps_replace takes care of this for us.
29590 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29591 gst_pad_set_caps on the target, not just its setcaps() function.
29593 * tests/network-clock.scm:
29594 * tests/network-clock-utils.scm: A network clock simulator.
29595 Something of an algorithmic testbed before doing something in C.
29597 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29599 * check/Makefile.am:
29600 * check/gst/capslist.h:
29601 copy over from 0.8, and add two with bitmasks specified with
29603 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29604 add test to parse everything from capslist.h
29605 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29607 add test for structure deserialization
29608 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29609 add tests for deserialization of strings to int types
29610 * gst/gststructure.c: (gst_structure_nth_field_name):
29611 * gst/gststructure.h:
29612 add a way to get the name of a field referenced by index
29613 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29614 instead of checking if the resulting long long lies between
29615 min and max, we check if the long long would fit into
29616 a number of bytes for the final type.
29617 This fixes cases where a string represents 2^32 - 1, which
29618 when cast to int would be the (valid) -1, but is bigger than
29621 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29623 * gst/parse/grammar.y:
29624 add a log line for type deserialization
29626 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29628 * check/gst/gstvalue.c: (START_TEST):
29629 * gst/gstvalue.c: (gst_value_deserialize):
29630 return long long, not int, so gint64 deserialization actually
29631 works. Is there any flag that makes the compiler check this ?
29634 2005-06-22 Wim Taymans <wim@fluendo.com>
29637 Added convenience macros for setting buffers in GValue.
29639 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29641 * check/gst/.cvsignore:
29642 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29643 add a test deserializing int64, and comment part out because
29646 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29648 * check/Makefile.am:
29649 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29650 * testsuite/Makefile.am:
29651 * testsuite/caps/Makefile.am:
29652 * testsuite/caps/value_serialize.c:
29653 * testsuite/test_gst_init.c:
29654 move a value_serialize test over
29656 2005-06-20 Wim Taymans <wim@fluendo.com>
29661 * gst/gstvalue.c: (gst_value_compare_buffer),
29662 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29663 (gst_value_compare_flags), (gst_value_serialize_flags),
29664 (gst_value_deserialize_flags), (_gst_value_initialize):
29665 Fix serialisation of buffers, they are not boxed types anymore
29667 2005-06-20 Wim Taymans <wim@fluendo.com>
29669 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29670 Testcase to show error in buffer-on-caps serialisation.
29672 2005-06-20 Andy Wingo <wingo@pobox.com>
29674 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29675 will be adding to later.
29677 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29678 if its socks fill with rocks.
29679 (gst_system_clock_obtain): Set the name on object construction.
29680 Avoid double-checked locking.
29682 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29684 * gst/gsturi.c: (gst_element_make_from_uri):
29685 Fix potential endless loop.
29687 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29689 * check/Makefile.am:
29691 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29693 move over from testsuite dir and clean up
29696 * testsuite/Makefile.am:
29697 * testsuite/tags/.cvsignore:
29698 * testsuite/tags/Makefile.am:
29699 * testsuite/tags/merge.c:
29700 remove testsuite/tags
29702 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29704 * docs/gst/gstreamer-sections.txt:
29705 * docs/gst/tmpl/gstenumtypes.sgml:
29706 * win32/gstenumtypes.c:
29707 clean up documentation build a little
29709 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29711 * check/gstcheck.h:
29712 add macros for checking refcounts on objects and caps
29713 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29714 add some more unit tests
29715 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29716 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29717 fix leaked refcounts (I hope :)) so unittest works
29721 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29723 * configure.ac: back to HEAD
29725 === release 0.9.1 ===
29727 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29733 2005-06-17 Andy Wingo <wingo@pobox.com>
29735 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29736 assert; it's always possible that the pad gets deactivated in
29737 between the checks in gstpad.c and the implementation. Rely on
29738 finish_preroll() to return a FLUSHING or similar instead of on the
29741 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29742 clock and post an EOS message if we come out of finish_preroll in
29745 2005-06-16 David Schleef <ds@schleef.org>
29747 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29748 (gst_capsfilter_set_property): Allow NULL as possible value
29749 for filter_caps property, indicating GST_CAPS_ANY.
29751 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29753 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29755 * gst/schedulers/Makefile.am:
29757 * gstreamer.spec.in:
29760 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29762 * gstreamer.spec.in:
29765 2005-06-08 Andy Wingo <wingo@pobox.com>
29767 * gst/gstutils.c: RPAD fixes all around.
29768 (gst_element_link_pads): Refcounting fixes.
29770 * tools/gst-inspect.c:
29771 * tools/gst-xmlinspect.c:
29773 * gst/base/gsttypefindhelper.c:
29774 * gst/base/gstbasesink.c:
29775 * gst/gstqueue.c: RPAD fixes.
29777 * gst/gstghostpad.h:
29778 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29779 pads. The tricky thing is they provide both source and sink
29780 interfaces, since they proxy the internal pad for the external
29781 pad, and vice versa. Implement with lower-level ProxyPad objects,
29782 with the interior proxy pad as a child of the exterior ghost pad.
29783 Should write a doc on this.
29785 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29786 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29789 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29790 pads are real pads. No ghost pads in this file. Not documenting
29791 the myriad s/RPAD/PAD/ and REALIZE fixes.
29792 (gst_pad_class_init): Add properties for "direction" and
29793 "template". Both are construct-only, so they can't change during
29794 the life of the pad. Fixes properly deriving from GstPad.
29795 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29796 derived objects, just set properties when creating the objects via
29798 (gst_pad_get_parent): Implement as a function, return NULL if the
29799 parent is not an element.
29800 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29801 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29803 * gst/gstobject.c (gst_object_class_init): Make name a construct
29804 property. Don't set it in the object init.
29806 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29807 with UNKNOWN direction.
29808 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29809 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29810 (gst_element_remove_pad): Remove ghost-pad special cases.
29811 (gst_element_pads_activate): Remove rpad cruft.
29813 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29814 catch the pad's-parent-not-an-element case.
29816 * gst/gst.h: Include gstghostpad.h.
29818 * gst/gst.c (init_post): No more real, ghost pads.
29820 * gst/Makefile.am: Add gstghostpad.[ch].
29822 * check/Makefile.am:
29823 * check/gst/gstbin.c:
29824 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29825 into a bin creates ghost pads, and that the refcounts are right.
29826 Partly moved from gstbin.c.
29828 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29830 * check/gst-libs/.cvsignore:
29831 * check/gst/.cvsignore:
29832 * check/pipelines/.cvsignore:
29834 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29835 (START_TEST), (cleanup_suite), (main):
29836 add some tests related to cleanup after running pipelines
29838 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29840 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29841 add a testsuite for GstBuffer
29843 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29845 * gst/gstminiobject.h:
29846 add defines for accessing the refcount
29848 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29850 * Makefile.am: added support for html unit test coverage reports
29852 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29854 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29855 Free existing caps if the capsfilter changes. Add a FIXME about
29856 setting those caps on the pads.
29858 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29859 Before adding a ghost pad to a parent bin, check that there isn't
29860 already one for the element on the bin. Prevents infinite recursion
29861 when using decodebin in parse pipelines. Andy says he'll rewrite the
29862 way this works anyway, so ignore the hack.
29864 2005-06-02 Andy Wingo <wingo@pobox.com>
29866 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29867 file size, pass it on to the type find helper.
29869 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29870 segment_start and segment_end properly according to the seek
29871 method. Segment_end is still a bit flaky because offset can be
29872 negative for CUR and END cases, but it takes -1 as an "unset"
29875 2005-06-02 Wim Taymans <wim@fluendo.com>
29877 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29878 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29879 (gst_basesink_activate):
29880 * gst/base/gstbasesink.h:
29881 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29882 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29883 (gst_pad_query), (gst_pad_start_task):
29885 * gst/gstqueue.c: (gst_queue_bufferalloc),
29886 (gst_queue_handle_sink_event), (gst_queue_chain):
29887 Bufferalloc: return GstFlowReturn to more accuratly report
29888 why allocation failed.
29890 2005-06-02 Wim Taymans <wim@fluendo.com>
29892 * gst/gstpipeline.c: (gst_pipeline_send_event):
29893 Take snapshot of state without blocking.
29895 2005-06-02 Wim Taymans <wim@fluendo.com>
29897 * docs/design/part-TODO.txt:
29898 * docs/design/part-caps.txt:
29899 * docs/design/part-clocks.txt:
29900 * docs/design/part-negotiation.txt:
29901 * docs/design/part-preroll.txt:
29904 2005-05-30 Wim Taymans <wim@fluendo.com>
29906 * gst/elements/gstidentity.c: (gst_identity_event),
29907 (gst_identity_transform), (gst_identity_get_property):
29908 Protect last_message property as it is accessed from
29911 2005-05-30 Wim Taymans <wim@fluendo.com>
29913 * gst/gstelement.c: (gst_element_init),
29914 (gst_element_pads_activate), (gst_element_change_state):
29915 Slicker pad activation code.
29917 2005-05-30 Wim Taymans <wim@fluendo.com>
29920 * gst/gstelement.h:
29921 * gst/gstelementfactory.h:
29923 Move elementfactory methods to separate .h file.
29925 2005-05-30 Wim Taymans <wim@fluendo.com>
29927 * docs/design/part-overview.txt:
29928 * gst/gstsystemclock.h:
29929 Small typo fixes, doc updates.
29931 2005-05-30 Wim Taymans <wim@fluendo.com>
29933 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29934 (init_popt_callback):
29935 Remove cpu-opt flag.
29937 2005-05-30 Wim Taymans <wim@fluendo.com>
29939 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29940 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29942 Avoid typechecking in places where not needed.
29943 Added accessor for malloc_data.
29945 2005-05-30 Wim Taymans <wim@fluendo.com>
29947 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29948 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29949 (gst_pad_configure_sink), (gst_pad_configure_src),
29950 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29951 (gst_pad_start_task):
29952 Propagate errors from _set_caps() in configure_src/sink
29953 functions instead of returning TRUE.
29954 FLUSH events can travel up and downstream
29957 2005-05-30 Wim Taymans <wim@fluendo.com>
29959 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29960 (gst_basesink_activate):
29961 Handle EOS in preroll.
29963 2005-05-30 Wim Taymans <wim@fluendo.com>
29965 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29966 (gst_queue_loop), (gst_queue_handle_src_event):
29967 Remove old pieces of code
29968 Flushing the queue in an upstream event is a very bad idea.
29970 2005-05-26 Andy Wingo <wingo@pobox.com>
29972 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29973 gst_value_set_mini_object so as to add a ref on the object (which
29974 will be removed when the value is unset).
29976 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29977 arg type in ::handoff.
29979 * gst/gstelement.c (gst_element_change_state): Also deactivate
29980 pads in READY->NULL, just in case the element didn't make it to
29981 PAUSED. Wingo tested, Wim approved.
29983 2005-05-26 Wim Taymans <wim@fluendo.com>
29985 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29986 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29987 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29988 A flushing pad cannot be used to alloc_buffer from.
29990 2005-05-26 Wim Taymans <wim@fluendo.com>
29992 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29993 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29994 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29995 (gst_bus_create_watch), (gst_bus_add_watch_full):
29997 Implement a real GSource and use g_main_context_wakeup() to
29998 signal new messages instead of the socketpair.
30000 2005-05-25 Wim Taymans <wim@fluendo.com>
30002 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30003 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30004 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30005 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30006 (gst_pad_send_event), (gst_pad_start_task):
30007 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30008 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30009 (gst_queue_sink_activate), (gst_queue_src_activate),
30010 (gst_queue_change_state):
30012 Fix state changes for non sinks. We now change sinks, then elements
30013 with unconnected srcpads, then the rest.
30014 More efficient queue unlocking in flush and state changes.
30015 Set the pad activate mode even if it does not have an activate
30018 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30020 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30021 Don't go in pull mode for non-seekable sources.
30022 * gst/elements/gsttypefindelement.h:
30023 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30024 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30025 (free_entry), (stop_typefinding),
30026 (gst_type_find_element_handle_event), (find_peek),
30027 (gst_type_find_element_chain), (do_pull_typefind),
30028 (gst_type_find_element_change_state):
30029 Allow typefinding (w/o seeking) in push-mode, simplified version
30030 of what was in 0.8.
30031 * gst/gstutils.c: (gst_buffer_join):
30033 gst_buffer_join() from 0.8.
30035 2005-05-25 Wim Taymans <wim@fluendo.com>
30037 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30038 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30039 (gst_pad_send_event), (gst_pad_start_task):
30040 Disable attempt at mode switching until it is figured out.
30042 2005-05-25 Wim Taymans <wim@fluendo.com>
30044 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30045 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30046 (gst_basesink_finish_preroll), (gst_basesink_chain),
30047 (gst_basesink_loop), (gst_basesink_activate),
30048 (gst_basesink_change_state):
30049 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30050 (gst_basesrc_get_range), (gst_basesrc_loop),
30051 (gst_basesrc_activate):
30052 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30053 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30054 (gst_real_pad_init), (gst_real_pad_set_property),
30055 (gst_real_pad_get_property), (gst_pad_set_active),
30056 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30057 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30058 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30059 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30060 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30061 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30062 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30063 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30064 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30065 (gst_pad_stop_task):
30067 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30068 (gst_queue_loop), (gst_queue_src_activate):
30069 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30070 (gst_task_get_state):
30072 * gst/schedulers/threadscheduler.c:
30073 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30074 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30076 Remove ACTIVE pad flag, use FLUSHING everywhere
30077 Added _pad_chain(), _pad_get_range() to call chain/getrange
30079 Add locks around IS_FLUSHING when reading.
30080 Take STREAM lock in chain(), get_range() functions so plugins
30081 don't need to take it anymore.
30085 2005-05-25 Wim Taymans <wim@fluendo.com>
30087 * tools/gst-launch.c: (event_loop):
30088 Unref message after using its contents instead of
30091 2005-05-24 Wim Taymans <wim@fluendo.com>
30093 * docs/design/draft-ghostpads.txt:
30094 * docs/design/draft-push-pull.txt:
30095 * docs/design/draft-query.txt:
30096 * docs/design/part-overview.txt:
30097 Docs updates, added general overview doc.
30099 2005-05-21 David Schleef <ds@schleef.org>
30101 * docs/gst/tmpl/old/GstBin.sgml:
30102 * docs/gst/tmpl/old/GstBuffer.sgml:
30103 * docs/gst/tmpl/old/GstCaps.sgml:
30104 * docs/gst/tmpl/old/GstClock.sgml:
30105 * docs/gst/tmpl/old/GstCompat.sgml:
30106 * docs/gst/tmpl/old/GstData.sgml:
30107 * docs/gst/tmpl/old/GstElement.sgml:
30108 * docs/gst/tmpl/old/GstEvent.sgml:
30109 * docs/gst/tmpl/old/GstIndex.sgml:
30110 * docs/gst/tmpl/old/GstStructure.sgml:
30111 * docs/gst/tmpl/old/GstTag.sgml:
30112 * docs/gst/tmpl/old/cothreads.sgml:
30113 * docs/gst/tmpl/old/cothreads_compat.sgml:
30114 * docs/gst/tmpl/old/gettext.sgml:
30115 * docs/gst/tmpl/old/gobject2gtk.sgml:
30116 * docs/gst/tmpl/old/grammar.tab.sgml:
30117 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30118 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30119 * docs/gst/tmpl/old/gst_private.sgml:
30120 * docs/gst/tmpl/old/gstaggregator.sgml:
30121 * docs/gst/tmpl/old/gstarch.sgml:
30122 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30123 * docs/gst/tmpl/old/gstbufferstore.sgml:
30124 * docs/gst/tmpl/old/gstdata_private.sgml:
30125 * docs/gst/tmpl/old/gstdisksink.sgml:
30126 * docs/gst/tmpl/old/gstdisksrc.sgml:
30127 * docs/gst/tmpl/old/gstelementfactory.sgml:
30128 * docs/gst/tmpl/old/gstextratypes.sgml:
30129 * docs/gst/tmpl/old/gstfakesink.sgml:
30130 * docs/gst/tmpl/old/gstfakesrc.sgml:
30131 * docs/gst/tmpl/old/gstfdsink.sgml:
30132 * docs/gst/tmpl/old/gstfdsrc.sgml:
30133 * docs/gst/tmpl/old/gstfilesink.sgml:
30134 * docs/gst/tmpl/old/gstfilesrc.sgml:
30135 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30136 * docs/gst/tmpl/old/gstidentity.sgml:
30137 * docs/gst/tmpl/old/gstindexfactory.sgml:
30138 * docs/gst/tmpl/old/gstmarshal.sgml:
30139 * docs/gst/tmpl/old/gstmd5sink.sgml:
30140 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30141 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30142 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30143 * docs/gst/tmpl/old/gstpipefilter.sgml:
30144 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30145 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30146 * docs/gst/tmpl/old/gstshaper.sgml:
30147 * docs/gst/tmpl/old/gstspider.sgml:
30148 * docs/gst/tmpl/old/gstspideridentity.sgml:
30149 * docs/gst/tmpl/old/gststatistics.sgml:
30150 * docs/gst/tmpl/old/gsttee.sgml:
30151 * docs/gst/tmpl/old/gsttimecache.sgml:
30152 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30153 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30154 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30155 * docs/gst/tmpl/old/types.sgml:
30156 I didn't intend to add these or check them in.
30158 2005-05-19 David Schleef <ds@schleef.org>
30160 * configure.ac: Use -no-common everywhere. In a sane world, it
30161 would be the default in libtool, because without it, you can't
30162 build DLLs on Windows.
30163 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30164 * docs/gst/gstreamer-sections.txt:
30165 * docs/gst/tmpl/gstcpu.sgml:
30166 * docs/gst/tmpl/gstdata.sgml:
30167 * docs/gst/tmpl/gstthread.sgml:
30169 2005-05-19 David Schleef <ds@schleef.org>
30171 * gst/gstminiobject.c: (gst_value_set_mini_object),
30172 (gst_value_take_mini_object), (gst_value_get_mini_object):
30173 * gst/gstminiobject.h: Add GValue set/get functions.
30175 2005-05-19 Wim Taymans <wim@fluendo.com>
30177 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30178 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30179 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30181 * gst/gstbus.c: (gst_bus_post):
30182 * gst/gstelement.c: (gst_element_get_random_pad):
30183 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30184 Make subbufer unref the parent in finalize.
30185 some more debugging info.
30188 2005-05-19 Wim Taymans <wim@fluendo.com>
30190 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30191 (gst_basesink_init), (gst_basesink_finalize),
30192 (gst_basesink_activate), (gst_basesink_change_state):
30193 Don't free preroll queue too early.
30195 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30199 Hi, I'm outdated. Please shoot me.
30201 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30203 * gst/gstpipeline.c: (gst_pipeline_send_event):
30204 Do not access variables after they have been deleted.
30206 2005-05-19 Wim Taymans <wim@fluendo.com>
30208 * tools/gst-inspect.c: (print_plugin_features):
30209 A plugin feature does unfortunatly not use the
30212 2005-05-18 Wim Taymans <wim@fluendo.com>
30214 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30215 Port _span() functions to new subbuffers.
30217 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30219 * gst/gstbin.c: (gst_bin_add_func):
30220 Fix clock settery in bins when adding kids after the clock has
30223 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30225 * gst/elements/gstidentity.c: (gst_identity_class_init):
30226 Workaround until signals support GstMiniObject.
30228 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30231 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30233 2005-05-18 Wim Taymans <wim@fluendo.com>
30235 * gst/base/Makefile.am:
30236 * gst/base/gstadapter.c: (gst_adapter_base_init),
30237 (gst_adapter_class_init), (gst_adapter_init),
30238 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30239 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30240 (gst_adapter_flush), (gst_adapter_available),
30241 (gst_adapter_available_fast):
30242 * gst/base/gstadapter.h:
30243 Ported and added adapter to the base classes.
30245 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30248 * gst/gstmessage.c:
30249 Make sure the class is reffed/unreffed once before threads can be
30250 used. Fixes #304551.
30252 2005-05-17 Wim Taymans <wim@fluendo.com>
30254 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30255 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30256 * gst/gstminiobject.c: (gst_mini_object_get_type),
30257 (gst_mini_object_free):
30258 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30259 (gst_pad_push), (gst_pad_push_event):
30260 * gst/gstqueue.c: (gst_queue_change_state):
30261 Don't queue buffers in basesink when we are flushing.
30262 Unref buffer when flushing in basesink.
30263 Flush queue when going to READY
30264 Unref buffer when _push() returns an error.
30265 Don't free MiniObject instance when refcount is incremented
30266 in _finalize() so that we can recover objects.
30268 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30270 * docs/manual/advanced-schedulers.xml:
30271 * docs/manual/appendix-checklist.xml:
30272 * docs/pwg/advanced-clock.xml:
30273 * docs/pwg/advanced-interfaces.xml:
30274 * docs/pwg/advanced-request.xml:
30275 * docs/pwg/advanced-types.xml:
30276 * docs/pwg/intro-preface.xml:
30277 * examples/plugins/example.c: (gst_example_get_type),
30278 (gst_example_class_init), (gst_example_chain),
30279 (gst_example_set_property), (gst_example_get_property),
30280 (gst_example_change_state), (plugin_init):
30281 * examples/plugins/example.h:
30284 2005-05-17 Wim Taymans <wim@fluendo.com>
30286 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30287 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30288 * gst/gstqueue.c: (gst_queue_change_state):
30289 Clear queue when going to READY.
30290 Remove IN_SETCAPS flag too.
30292 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30294 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30295 Remove implicit cast from gboolean to GstElementStateReturn;
30296 make sure we still return failure in paused => ready case if
30297 the parent class fails to change state and our own stop
30300 2005-05-17 Wim Taymans <wim@fluendo.com>
30302 * tools/gst-launch.c: (event_loop):
30303 Message was unreffed too soon.
30305 2005-05-16 Andy Wingo <wingo@pobox.com>
30307 * gst/gstbin.c (sink_iterator_filter): Err... um...
30309 * check/gst/gstbin.c (test_ghost_pads): New test for the
30310 ghosting-if-elements-not-in-same-bin behavior.
30312 2005-05-16 David Schleef <ds@schleef.org>
30314 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30315 accessing refcount directly.
30317 2005-05-15 David Schleef <ds@schleef.org>
30319 * check/Makefile.am: remove GstData checks
30320 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30321 * gst/Makefile.am: add miniobject, remove data
30322 * gst/gst.h: add miniobject, remove data
30323 * gst/gstdata.c: remove
30324 * gst/gstdata.h: remove
30325 * gst/gstdata_private.h: remove
30326 * gst/gsttypes.h: remove GstEvent and GstMessage
30327 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30328 * gst/gstmarshal.list: change BOXED -> OBJECT
30330 Implement GstMiniObject.
30331 * gst/gstminiobject.c:
30332 * gst/gstminiobject.h:
30334 Modify to be subclasses of GstMiniObject.
30335 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30336 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30337 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30338 (gst_subbuffer_get_type), (gst_subbuffer_init),
30339 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30342 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30343 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30344 (_gst_event_copy), (gst_event_new):
30346 * gst/gstmessage.c: (_gst_message_initialize),
30347 (gst_message_get_type), (gst_message_class_init),
30348 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30349 (gst_message_new), (gst_message_new_error),
30350 (gst_message_new_warning), (gst_message_new_tag),
30351 (gst_message_new_state_changed), (gst_message_new_application):
30352 * gst/gstmessage.h:
30353 * gst/gstprobe.c: (gst_probe_perform),
30354 (gst_probe_dispatcher_dispatch):
30356 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30357 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30358 (_gst_query_copy), (gst_query_new):
30360 Update elements for GstData -> GstMiniObject changes
30362 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30363 (gst_queue_chain), (gst_queue_loop):
30364 * gst/elements/gstbufferstore.c:
30365 (gst_buffer_store_add_buffer_func),
30366 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30367 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30368 (gst_fakesink_render):
30369 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30370 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30371 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30372 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30373 (gst_filesrc_create_read):
30374 * gst/elements/gstidentity.c: (gst_identity_class_init):
30375 * gst/elements/gsttypefindelement.c:
30376 (gst_type_find_element_src_event), (free_entry_buffers),
30377 (gst_type_find_element_handle_event):
30378 * libs/gst/dataprotocol/dataprotocol.c:
30379 (gst_dp_header_from_buffer):
30380 * libs/gst/dataprotocol/dataprotocol.h:
30381 * libs/gst/dataprotocol/dp-private.h:
30383 2005-05-15 David Schleef <ds@schleef.org>
30385 * gst/elements/gstelements.c: Don't include headers that were
30388 2005-05-15 David Schleef <ds@schleef.org>
30390 * gst/elements/Makefile.am: Remove some elements that don't
30391 need to be in the core (or even exist at all).
30392 * gst/elements/gstaggregator.c:
30393 * gst/elements/gstaggregator.h:
30394 * gst/elements/gstmd5sink.c:
30395 * gst/elements/gstmd5sink.h:
30396 * gst/elements/gstmultifilesrc.c:
30397 * gst/elements/gstmultifilesrc.h:
30398 * gst/elements/gstpipefilter.c:
30399 * gst/elements/gstpipefilter.h:
30400 * gst/elements/gstshaper.c:
30401 * gst/elements/gstshaper.h:
30402 * gst/elements/gststatistics.c:
30403 * gst/elements/gststatistics.h:
30404 * po/POTFILES.in: Remove above files.
30406 2005-05-14 Andy Wingo <wingo@pobox.com>
30408 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30409 so as to get the refs right.
30410 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30411 unreffing objects that don't pass the filter.
30413 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30414 gst_element_set_bus.
30415 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30416 normal cases, this will destroy the bus.
30418 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30421 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30424 2005-05-13 Andy Wingo <wingo@pobox.com>
30426 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30427 gst_pad_link, call pad_link_maybe_ghosting,
30428 (pad_link_maybe_ghosting): Links pads, making sure that the
30429 elements being linked are in the same bin.
30430 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30431 Helpers for pad_link_maybe_ghosting.
30433 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30436 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30438 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30440 * docs/design/part-element-source.txt:
30443 2005-05-12 Wim Taymans <wim@fluendo.com>
30445 * gst/base/gstbasesink.c: (gst_basesink_init),
30446 (gst_basesink_activate):
30447 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30448 (gst_basesrc_is_seekable):
30449 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30450 (bin_element_is_sink), (gst_bin_change_state):
30451 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30452 * gst/gstelement.h:
30453 Identify sinks by their flag to avoid overly complicated
30455 Do state changes even for elements not reachable from the
30457 BaseSink is a sink now :)
30458 Some more debugging info in the basesrc.
30461 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30463 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30464 Implement _query on a bin, similar to _send_event.
30466 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30468 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30469 Discont event offset format should be GST_FORMAT_BYTES,
30470 not GST_FORMAT_TIME.
30472 2005-05-12 Wim Taymans <wim@fluendo.com>
30474 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30475 Same fix as Ronald's but without the signal.
30477 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30479 * gst/gstutils.c: (gst_element_query_position):
30480 No, an element is not a pad.
30482 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30484 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30485 (gst_bin_get_state):
30486 If a child is removed from a bin while we remove the child from
30487 the bin and while we're retrieving its state, signal this to the
30488 get_state function so we abort the wait (instead of waiting for
30489 a timeout) and can immediately re-iterate over all other elements.
30491 2005-05-12 Wim Taymans <wim@fluendo.com>
30493 * gst/base/Makefile.am:
30494 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30495 (gst_basesrc_start):
30496 * gst/base/gstbasesrc.h:
30497 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30498 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30499 (gst_pushsrc_init), (gst_pushsrc_create):
30500 * gst/base/gstpushsrc.h:
30501 Added is_seekable to BaseSrc
30502 Added simple PushSrc.
30504 2005-05-11 Wim Taymans <wim@fluendo.com>
30506 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30507 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30508 (gst_element_link_pads), (gst_element_query_position),
30509 (gst_element_query_convert), (intersect_caps_func),
30510 (gst_pad_query_position), (gst_pad_query_convert):
30511 Fix refcounting in utils function.
30512 No point in trying to activate a pad when it's added, it could
30513 be added from the state change function and then we deadlock, the
30514 element has to decide what to do.
30516 2005-05-10 Andy Wingo <wingo@pobox.com>
30518 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30519 *all* the arguments.
30521 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30522 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30523 lock (according to the docs -- if this is wrong change the docs).
30525 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30526 flush messages in the NULL state.
30528 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30529 message immediately and return.
30530 (gst_bus_set_flushing): New function. If a bus is flushing, it
30531 flushes out any queued messages and immediately unrefs new
30532 messages. This is so when an element goes to NULL, all of the
30533 unhandled messages coming from it can be freed, and their
30534 references to the element dropped. In other words: message source
30535 ref considered harmful :P
30537 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30538 we're finished with it.
30540 * gst/gstmessage.c (gst_message_new_state_changed):
30542 2005-05-10 Wim Taymans <wim@fluendo.com>
30544 * gst/gstvalue.c: (gst_value_compare_flags),
30545 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30546 (_gst_value_initialize):
30547 Added flags serialize/deserialize/compare code.
30549 2005-05-09 Andy Wingo <wingo@pobox.com>
30551 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30552 Intersect the peer's caps with our caps.
30554 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30556 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30557 * gst/elements/gsttypefindelement.c: (find_peek):
30558 Handle negative offsets better. Fixes decodebin.
30560 2005-05-09 Wim Taymans <wim@fluendo.com>
30562 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30563 (gst_base_transform_event):
30564 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30565 Implement accept_caps.
30566 Fix silly lock/unlock mismatch in base class.
30568 2005-05-09 Wim Taymans <wim@fluendo.com>
30570 * docs/design/draft-push-pull.txt:
30571 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30572 * gst/elements/gstfilesink.c: (gst_filesink_init),
30573 (gst_filesink_query):
30574 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30575 (gst_type_find_handle_src_query), (find_element_get_length):
30576 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30577 * gst/gstelement.h:
30578 * gst/gstmessage.c:
30579 * gst/gstmessage.h:
30580 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30581 (gst_real_pad_get_caps_unlocked),
30582 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30583 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30584 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30585 (gst_real_pad_dispose), (gst_real_pad_finalize),
30586 (gst_pad_load_and_link), (gst_pad_save_thyself),
30587 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30588 (gst_pad_check_pull_range), (gst_pad_pull_range),
30589 (gst_pad_template_get_type), (gst_pad_template_class_init),
30590 (gst_pad_template_init), (gst_pad_template_dispose),
30591 (name_is_valid), (gst_static_pad_template_get),
30592 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30593 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30594 (gst_pad_get_element_private), (gst_pad_start_task),
30595 (gst_pad_pause_task), (gst_pad_stop_task),
30596 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30597 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30598 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30599 (gst_ghost_pad_new):
30601 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30602 (gst_query_new_position), (gst_query_set_position),
30603 (gst_query_parse_position), (gst_query_new_convert),
30604 (gst_query_set_convert), (gst_query_parse_convert):
30606 * gst/gstqueryutils.c:
30607 * gst/gstqueryutils.h:
30608 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30609 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30610 (gst_queue_handle_src_query):
30611 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30612 (gst_element_query_position), (gst_element_query_convert),
30613 (intersect_caps_func), (gst_pad_query_position),
30614 (gst_pad_query_convert):
30616 * tools/gst-inspect.c: (print_pad_info):
30617 * tools/gst-xmlinspect.c: (print_element_info):
30618 Remove old query functions. Ported old code.
30619 Added position/convert helper functions to gstutils.
30620 Reordered gstpad.c code, grouping relevant things.
30621 Remove gst_message_new(), always need to speficy a specific
30625 2005-05-09 Andy Wingo <wingo@pobox.com>
30627 * gst/gstiterator.h: Add some includes.
30629 * gst/gstqueryutils.h: Include more headers.
30632 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30633 some uses of gst_pad_query.
30635 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30636 NULL out parameters.
30637 (gst_query_new_position): New proc, allocates a new position
30640 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30641 gstqueryutils.c to the build.
30643 * gst/gststructure.c (gst_structure_set_valist): Implement with
30644 the generic G_VALUE_COLLECT.
30646 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30648 * gst/Makefile.am: (gst_headers):
30649 Added gstqueryutils.h to the list of headers to install, that was
30650 a 'nachty' move wingo :)
30652 2005-05-06 Andy Wingo <wingo@pobox.com>
30655 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30656 GstData, init a memchunk.
30657 (standard_definitions): Add a few query types, deprecate a few.
30658 (gst_query_get_type): New proc.
30659 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30661 (gst_query_new_application, gst_query_get_structure): New public
30664 * docs/design/draft-query.txt: Removed LINKS from the query types,
30665 because all the rest can be dispatched to other pads -- seemed
30666 ugly to have a query that couldn't be dispatched. internal_links
30667 is fine as a pad method.
30669 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30670 in gstpad.c, but maintain binary compatibility for the moment.
30671 Will fix before 0.9 is out.
30673 * gst/gstqueryutils.c:
30674 * gst/gstqueryutils.h: New files, implement 3 methods for each
30675 query type: parse_query, parse_response, and set. Probably need an
30678 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30680 * gst/elements/gstfilesink.c (gst_filesink_query2):
30681 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30682 query_types, and formats methods.
30684 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30685 (gst_pad_set_query2_function): New functions.
30686 (gst_real_pad_init): Set query2_default as the default query2
30687 function. Basically just dispatches to internally linked pads.
30691 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30692 without using the atomic operations. Only one thread can possibly
30693 be accessing the data at this point. Changed so as to avoid
30694 gst_atomic operations.
30696 2005-05-06 Wim Taymans <wim@fluendo.com>
30698 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30699 Also set caps if we use the fallback buffer alloc.
30701 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30703 * docs/gst/Makefile.am:
30704 * docs/gst/gstreamer-docs.sgml:
30705 * docs/gst/gstreamer-sections.txt:
30706 * docs/gst/tmpl/gstatomic.sgml:
30707 * docs/gst/tmpl/gstmemchunk.sgml:
30708 * testsuite/elements/struct_i386.h:
30709 * win32/GStreamer.vcproj:
30711 Purge GstAtomic stuff from docs and win32 makefiles as well
30713 2005-05-06 Wim Taymans <wim@fluendo.com>
30715 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30716 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30717 * gst/gstpad.c: (gst_pad_peer_get_caps):
30718 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30719 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30720 (gst_queue_src_activate), (gst_queue_change_state):
30722 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30723 (intersect_caps_func):
30724 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30725 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30726 Some fixes for the peer_get_caps() change.
30728 2005-05-06 Wim Taymans <wim@fluendo.com>
30730 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30731 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30732 (gst_basesink_activate):
30733 Actually do something with error codes returned from the push
30736 2005-05-06 Wim Taymans <wim@fluendo.com>
30738 * docs/design/part-element-sink.txt:
30739 * docs/design/part-element-source.txt:
30740 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30741 (gst_basesink_event), (gst_basesink_activate):
30742 * gst/base/gstbasesink.h:
30743 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30744 (gst_basesrc_activate):
30745 * gst/base/gstbasesrc.h:
30746 * gst/gstelement.c: (gst_element_pads_activate):
30747 Some more documentation.
30748 Fixed scheduling decision in _pads_activate().
30750 2005-05-05 Andy Wingo <wingo@pobox.com>
30752 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30755 2005-05-05 Wim Taymans <wim@fluendo.com>
30757 * gst/base/Makefile.am:
30758 * gst/base/gstbasesink.h:
30759 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30760 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30761 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30762 (gst_collectpads_class_init), (gst_collectpads_init),
30763 (gst_collectpads_finalize), (gst_collectpads_new),
30764 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30765 (find_pad), (gst_collectpads_remove_pad),
30766 (gst_collectpads_is_active), (gst_collectpads_collect),
30767 (gst_collectpads_collect_range), (gst_collectpads_start),
30768 (gst_collectpads_stop), (gst_collectpads_peek),
30769 (gst_collectpads_pop), (gst_collectpads_available),
30770 (gst_collectpads_read), (gst_collectpads_flush),
30771 (gst_collectpads_chain):
30772 * gst/base/gstcollectpads.h:
30773 * gst/elements/Makefile.am:
30774 * gst/elements/gstelements.c:
30775 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30776 (gst_fakesink_get_times), (gst_fakesink_event),
30777 (gst_fakesink_preroll), (gst_fakesink_render):
30778 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30779 (gst_filesink_init), (gst_filesink_set_location),
30780 (gst_filesink_open_file), (gst_filesink_close_file),
30781 (gst_filesink_pad_query), (gst_filesink_event),
30782 (gst_filesink_render), (gst_filesink_change_state):
30783 * gst/elements/gstfilesink.h:
30784 Added object to help in making collect pad based elements.
30786 Make event function in sink baseclass return gboolean.
30788 2005-05-05 Wim Taymans <wim@fluendo.com>
30790 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30791 (gst_bin_get_by_name):
30793 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30794 (gst_clock_finalize):
30795 * gst/gstdata.c: (gst_data_replace):
30797 * gst/gstelement.c: (gst_element_request_pad),
30798 (gst_element_pads_activate):
30799 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30800 (gst_object_unref):
30801 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30802 (gst_pad_set_checkgetrange_function),
30803 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30804 (gst_pad_check_pull_range), (gst_pad_pull_range),
30805 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30806 (gst_pad_pause_task), (gst_pad_stop_task):
30807 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30808 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30809 Fix name lookup in GstBin.
30810 Added _data_replace() function and _buffer_replace()
30811 Use finalize method to clean up clock.
30812 Fix refcounting on request pads.
30813 Fix pad schedule mode error.
30814 Some more object refcounting debug info,
30817 2005-05-04 Andy Wingo <wingo@pobox.com>
30819 * check/Makefile.am:
30820 * docs/gst/tmpl/gstatomic.sgml:
30821 * docs/gst/tmpl/gstplugin.sgml:
30822 * gst/base/gstbasesink.c: (gst_basesink_activate):
30823 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30824 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30825 (gst_basesrc_query), (gst_basesrc_set_property),
30826 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30827 (gst_basesrc_activate):
30828 * gst/base/gstbasesrc.h:
30829 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30830 (gst_base_transform_src_activate):
30831 * gst/elements/gstelements.c:
30832 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30833 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30834 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30835 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30836 (gst_type_find_element_checkgetrange),
30837 (gst_type_find_element_activate):
30838 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30839 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30840 (gst_caps_load_thyself):
30841 * gst/gstelement.c: (gst_element_pads_activate),
30842 (gst_element_save_thyself), (gst_element_restore_thyself):
30843 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30844 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30846 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30847 (gst_xml_parse_file), (gst_xml_parse_memory),
30848 (gst_xml_get_element), (gst_xml_make_element):
30849 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30850 (_file_index_id_save_xml), (gst_file_index_commit):
30851 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30852 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30854 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30855 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30856 * tools/gst-complete.c: (main):
30857 * tools/gst-compprep.c: (main):
30858 * tools/gst-inspect.c: (print_element_properties_info):
30859 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30860 * tools/gst-xmlinspect.c: (print_element_properties):
30863 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30865 * gst/gstplugin.c: (gst_plugin_check_module),
30866 (gst_plugin_check_file), (gst_plugin_load_file):
30867 apply patch from #172526 to make register work on MacOSX
30869 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30871 * docs/gst/tmpl/gstconfig.sgml:
30872 * gst/gstconfig.h.in:
30873 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30874 * testsuite/debug/printf_extension.c: (main):
30875 Do not use GST_PTR_FORMAT on pointers to types with
30876 sizeof < sizeof(gpointer). Fixes test on 64-bit
30877 * testsuite/elements/property.h:
30878 use correct printf format
30880 2005-05-02 Wim Taymans <wim@fluendo.com>
30882 * docs/design/draft-push-pull.txt:
30883 * docs/design/draft-query.txt:
30884 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30885 (gst_basesrc_start):
30886 Added draft for new query API.
30887 Added draft for better selecting scheduling methods.
30888 Make basesrc ignore length if the subclass does not support
30891 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30894 possible fixes for automake-1.5 - _LIBADD is reserved
30896 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30898 * docs/faq/Makefile.am:
30899 * docs/manual/Makefile.am:
30900 * docs/manuals.mak:
30901 * docs/pwg/Makefile.am:
30903 possible fixes for automake-1.5
30905 2005-04-28 Wim Taymans <wim@fluendo.com>
30907 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30908 (gst_basesink_pad_getcaps), (gst_basesink_init),
30909 (gst_basesink_do_sync):
30910 * gst/gstclock.c: (gst_clock_entry_new):
30911 * gst/gstevent.c: (gst_event_discont_get_value):
30912 * gst/gstpipeline.c: (pipeline_bus_handler),
30913 (gst_pipeline_change_state):
30914 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30915 Better debugging of clocking info.
30916 Allow NULL values when getting discont values.
30918 2005-04-27 Wim Taymans <wim@fluendo.com>
30920 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30921 * check/gst/gstpad.c: (gst_pad_suite):
30922 Increase timeout for checks.
30924 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30926 * check/Makefile.am:
30927 fix the broken rule for cleanup. Apparently this rule is
30928 only needed on FC2, so maybe this warrants further autotool
30931 2005-04-26 Wim Taymans <wim@fluendo.com>
30933 * gst/gsttrashstack.h:
30934 Ooohh. a nasty one! After having a failed pop() from the stack,
30935 it's possible that the stack is empty. In that case, don't
30936 follow the NULL pointer.
30938 2005-04-25 Wim Taymans <wim@fluendo.com>
30940 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30941 (gst_pad_set_checkgetrange_function),
30942 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30943 (gst_pad_check_pull_range), (gst_pad_pull_range),
30944 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30945 (gst_pad_pause_task), (gst_pad_stop_task):
30946 * gst/gstplugin.c: (gst_plugin_load):
30948 Remove gst_library_load as it does more harm than good with
30949 the new g_module flags.
30950 Revert bogus caps template check in pad linking, pad caps
30951 are important when linking not the template, which is more
30952 general than the current caps.
30954 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30956 * gst/autoplug/.cvsignore:
30957 * gst/autoplug/Makefile.am:
30958 * gst/autoplug/gstsearchfuncs.c:
30959 * gst/autoplug/gstsearchfuncs.h:
30960 * gst/autoplug/gstspider.c:
30961 * gst/autoplug/gstspider.h:
30962 * gst/autoplug/gstspideridentity.c:
30963 * gst/autoplug/gstspideridentity.h:
30964 * gst/autoplug/spidertest.c:
30967 2005-04-25 Wim Taymans <wim@fluendo.com>
30969 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30970 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30971 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30972 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30974 Added stubs for unimplemented functions.
30976 2005-04-24 David Schleef <ds@schleef.org>
30978 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30981 2005-04-24 David Schleef <ds@schleef.org>
30983 Convert everything from GstAtomicInt to g_atomic_int_*, and
30988 * gst/gstatomic_impl.h:
30996 * gst/gstdata_private.h:
31000 * gst/gstmessage.c:
31003 * gst/gststructure.c:
31004 * gst/gststructure.h:
31005 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31008 2005-04-24 David Schleef <ds@schleef.org>
31010 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31011 make the regressions tests work. Remove some code that is no
31013 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31014 Disable warning for pads without templates.
31016 2005-04-24 David Schleef <ds@schleef.org>
31018 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31019 functions that handle filtered links.
31020 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31022 * gst/gstutils.c: Fix/remove utility functions that handle
31025 * gst/gstvalue.c: Add serialization/deserialization of caps
31026 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31027 requires fixing so that the filter caps notation creates
31028 a capsfilter element and sets the filter_caps property. I
31029 think everyone probably wants to keep the shorthand notation.
31030 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31031 * docs/gst/tmpl/gstpad.sgml:
31033 * gst/elements/gstelements.c: Register capsfilter element.
31034 * gst/Makefile.am: fix spacing
31035 * docs/random/ds/0.9-suggested-changes: random
31037 2005-04-23 David Schleef <ds@schleef.org>
31039 * gst/elements/Makefile.am:
31040 * gst/elements/gstcapsfilter.c: New element that acts like an
31041 identity, but filters caps. Will eventually replace filtered
31042 caps in pad linking.
31043 * gst/gstutils.c: (gst_element_create_all_pads): New function
31044 to create all the ALWAYS pads that are registered with an
31045 element class. This functionality should eventually be
31046 merged in with GstElement initialization.
31048 * testsuite/trigger/README: part of trigger test code that should
31049 have been checked in a long time ago.
31051 2005-04-23 David Schleef <ds@schleef.org>
31053 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31054 needed with new versions of libtool (nobody will confirm this),
31055 and hard to carry around.
31056 * gst/autoplug/Makefile.am:
31057 * gst/base/Makefile.am:
31058 * gst/elements/Makefile.am:
31059 * gst/indexers/Makefile.am:
31060 * gst/schedulers/Makefile.am:
31061 * libs/gst/bytestream/Makefile.am:
31062 * libs/gst/control/Makefile.am:
31063 * libs/gst/dataprotocol/Makefile.am:
31064 * libs/gst/getbits/Makefile.am:
31066 2005-04-21 Wim Taymans <wim@fluendo.com>
31068 * docs/design/draft-push-pull.txt:
31069 * docs/design/part-MT-refcounting.txt:
31070 * docs/design/part-TODO.txt:
31071 * docs/design/part-caps.txt:
31072 * docs/design/part-events.txt:
31073 * docs/design/part-gstbus.txt:
31074 * docs/design/part-gstpipeline.txt:
31075 * docs/design/part-messages.txt:
31076 * docs/design/part-push-pull.txt:
31077 * docs/design/part-query.txt:
31080 2005-04-21 Wim Taymans <wim@fluendo.com>
31082 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31083 (gst_message_new), (gst_message_new_error),
31084 (gst_message_new_warning), (gst_message_new_tag),
31085 (gst_message_new_state_changed), (gst_message_new_application),
31086 (gst_message_get_structure):
31087 * gst/gstmessage.h:
31088 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31089 (gst_structure_copy_conditional):
31090 Use parent refcount in GstMessage to ensure GstStructure
31092 Cleaned up headers a bit.
31095 2005-04-20 Wim Taymans <wim@fluendo.com>
31097 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31098 (gst_basesink_pad_getcaps), (gst_basesink_init),
31099 (gst_basesink_chain_unlocked):
31100 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31101 (gst_type_find_helper):
31102 * gst/elements/gsttypefindelement.c:
31103 (gst_type_find_element_have_type), (gst_type_find_element_init),
31104 (stop_typefinding), (gst_type_find_element_handle_event),
31105 (find_suggest), (gst_type_find_element_chain),
31106 (gst_type_find_element_checkgetrange),
31107 (gst_type_find_element_getrange), (do_typefind),
31108 (gst_type_find_element_activate):
31109 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31110 (gst_buffer_default_free), (gst_buffer_default_copy),
31111 (gst_buffer_set_caps):
31112 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31113 (gst_caps_replace):
31114 * gst/gstmessage.c: (gst_message_new),
31115 (gst_message_new_state_changed):
31116 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31117 (gst_pad_set_checkgetrange_function),
31118 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31119 (gst_pad_set_caps), (gst_pad_check_pull_range),
31120 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31122 * gst/gsttypefind.c: (gst_type_find_register):
31123 Make gst_caps_replace() work like other _replace() functions.
31124 Use _caps_replace() where possible.
31125 Make sure _message_new() initialises its field.
31126 Add gst_static_pad_template_get_caps()
31129 2005-04-18 Andy Wingo <wingo@pobox.com>
31131 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31132 on the peer, not the pad. I think that was a typo. Pass an extra
31133 arg to see if random access is possible. Activate the pads as
31134 PULL_RANGE if possible.
31136 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31138 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31139 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31142 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31144 * docs/faq/using.xml:
31145 Add note on gstreamer-properties (#154996).
31147 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31149 * docs/random/bbb/optional-properties:
31150 Some analysis on optional properties.
31152 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31154 * docs/gst/tmpl/gstelementfactory.sgml:
31155 * gst/gstelement.h:
31156 * gst/gstelementfactory.c: (gst_element_factory_init),
31157 (gst_element_factory_cleanup), (gst_element_register),
31158 (__gst_element_factory_add_static_pad_template),
31159 (gst_element_factory_get_static_pad_templates),
31160 (gst_element_factory_can_src_caps),
31161 (gst_element_factory_can_sink_caps):
31162 * gst/registries/Makefile.am:
31163 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31164 (gst_xml_registry_class_init), (gst_xml_registry_init),
31165 (gst_xml_registry_new), (gst_xml_registry_set_property),
31166 (gst_xml_registry_get_property), (get_time), (make_dir),
31167 (gst_xml_registry_get_perms_func),
31168 (plugin_times_older_than_recurse), (plugin_times_older_than),
31169 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31170 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31171 (add_to_char_array), (read_string), (read_uint), (read_enum),
31172 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31173 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31174 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31175 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31176 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31177 (gst_xml_registry_rebuild):
31178 * gst/registries/gstlibxmlregistry.h:
31179 * tools/gst-compprep.c: (main):
31180 * tools/gst-inspect.c: (print_pad_templates_info):
31181 * tools/gst-xmlinspect.c: (print_element_info):
31182 Use libxml2 for registry parsing, use staticpadtemplates in
31183 elementfactories. Makes gst_init() +/- 10x faster.
31185 2005-04-12 Wim Taymans <wim@fluendo.com>
31187 * gst/base/Makefile.am:
31188 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31189 (gst_basesink_pad_getcaps), (gst_basesink_init),
31190 (gst_basesink_event), (gst_basesink_change_state):
31191 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31192 (gst_basesrc_init), (gst_basesrc_query),
31193 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31194 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31195 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31196 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31197 (gst_basesrc_stop), (gst_basesrc_activate),
31198 (gst_basesrc_change_state):
31199 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31200 (helper_find_suggest), (gst_type_find_helper):
31201 * gst/base/gsttypefindhelper.h:
31202 * gst/elements/Makefile.am:
31203 * gst/elements/gstelements.c:
31204 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31205 (gst_fakesink_get_times), (gst_fakesink_event),
31206 (gst_fakesink_preroll), (gst_fakesink_render):
31207 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31208 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31209 (gst_fakesrc_get_property), (gst_fakesrc_create),
31210 (gst_fakesrc_start), (gst_fakesrc_stop):
31211 * gst/elements/gstfakesrc.h:
31212 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31213 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31214 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31215 (gst_filesrc_create_read), (gst_filesrc_create),
31216 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31217 (gst_filesrc_start):
31218 * gst/elements/gsttypefindelement.c:
31219 (gst_type_find_element_have_type), (gst_type_find_element_init),
31220 (start_typefinding), (stop_typefinding), (push_buffer_store),
31221 (gst_type_find_element_handle_event),
31222 (gst_type_find_element_chain),
31223 (gst_type_find_element_checkgetrange),
31224 (gst_type_find_element_getrange), (do_typefind),
31225 (gst_type_find_element_activate),
31226 (gst_type_find_element_change_state):
31227 * gst/elements/gsttypefindelement.h:
31228 * gst/gstpipeline.c: (pipeline_bus_handler):
31229 Added typefind helper.
31230 Small preroll fix in the base sink.
31231 Disable typefind code in basesrc.
31232 Crude port of typefindelement.
31236 2005-04-11 Wim Taymans <wim@fluendo.com>
31238 * check/gst/gstbus.c: (gstbus_suite):
31239 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31240 * check/gstcheck.h:
31241 Fix up the timeout so that the test does not fail.
31243 2005-04-06 Wim Taymans <wim@fluendo.com>
31246 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31247 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31248 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31249 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31250 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31251 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31252 (gst_basesrc_stop), (gst_basesrc_activate),
31253 (gst_basesrc_change_state), (basesrc_find_peek),
31254 (basesrc_find_suggest), (gst_basesrc_type_find):
31255 * gst/base/gstbasesrc.h:
31256 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31257 (gst_filesrc_class_init), (gst_filesrc_init),
31258 (gst_filesrc_finalize), (gst_filesrc_set_location),
31259 (gst_filesrc_set_property), (gst_filesrc_get_property),
31260 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31261 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31262 (gst_filesrc_create_read), (gst_filesrc_create),
31263 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31264 * gst/elements/gstfilesrc.h:
31265 * gst/gstelement.c: (gst_element_get_state_func),
31266 (gst_element_lost_state), (gst_element_pads_activate):
31267 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31268 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31269 (gst_pad_pull_range):
31271 More work on the generic source base class, implement seeking,
31273 Make filesrc extend the base source class.
31274 Added gst_pad_set_checkgetrange_function to GstPad.
31276 2005-04-06 Andy Wingo <wingo@pobox.com>
31278 * pkgconfig/gstreamer-base.pc.in:
31279 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31281 * pkgconfig/Makefile.am:
31282 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31284 2005-04-04 Wim Taymans <wim@fluendo.com>
31286 * gst/base/Makefile.am:
31288 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31289 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31290 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31291 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31292 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31293 (gst_basesrc_base_init), (gst_basesrc_class_init),
31294 (gst_basesrc_init), (gst_basesrc_get_formats),
31295 (gst_basesrc_get_query_types), (gst_basesrc_query),
31296 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31297 (gst_basesrc_set_property), (gst_basesrc_get_property),
31298 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31299 (gst_basesrc_loop), (gst_basesrc_activate),
31300 (gst_basesrc_change_state):
31301 * gst/base/gstbasesrc.h:
31302 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31303 (gst_fakesrc_class_init), (gst_fakesrc_init),
31304 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31305 (gst_fakesrc_get_property), (gst_fakesrc_create):
31306 * gst/elements/gstfakesrc.h:
31307 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31308 (gst_filesrc_open_file), (gst_filesrc_loop),
31309 (gst_filesrc_activate), (filesrc_find_peek),
31310 (gst_filesrc_type_find):
31311 Made base source class, make fakesrc extend it.
31312 Add comments to basesink class.
31313 Some filesrc cleanup.
31315 2005-03-31 David Schleef <ds@schleef.org>
31317 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31318 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31319 expected to link against libgstreamer.
31320 * gst/base/Makefile.am: link against libgstreamer
31321 * gst/elements/Makefile.am: same
31323 2005-03-31 Andy Wingo <wingo@pobox.com>
31325 * tests/instantiate/Makefile.am:
31326 * tests/instantiate/caps.c: Add test to test speed of caps copy
31329 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31330 GMemChunk to be fair.
31332 * gst/gsttrashstack.h: Remove warning about using the fallback
31333 trash stack implementation, it's still faster than malloc.
31335 2005-03-30 Andy Wingo <wingo@pobox.com>
31337 * tests/complexity.c: Add a copyright.
31339 2005-03-31 Wim Taymans <wim@fluendo.com>
31341 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31342 (gst_base_transform_class_init), (gst_base_transform_init),
31343 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31344 (gst_base_transform_get_property),
31345 (gst_base_transform_sink_activate),
31346 (gst_base_transform_src_activate),
31347 (gst_base_transform_change_state):
31348 * gst/base/gstbasetransform.h:
31349 * gst/elements/gstidentity.c: (gst_identity_class_init),
31350 (gst_identity_event), (gst_identity_check_perfect),
31351 (gst_identity_transform), (gst_identity_start),
31352 (gst_identity_stop):
31353 Added start/stop methods to transform base class so subclasses
31354 don't need to deal with state changes even.
31356 2005-03-31 Wim Taymans <wim@fluendo.com>
31358 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31359 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31361 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31362 (gst_pad_pull_range):
31363 Added rate to the discont event to prepare for variable speed
31364 and reverse playback.
31366 2005-03-29 David Schleef <ds@schleef.org>
31369 * testsuite/trigger/Makefile.am:
31370 * testsuite/trigger/trigger.c: A little example program to show
31371 how trigger-based elements can work.
31373 2005-03-29 Wim Taymans <wim@fluendo.com>
31375 * gst/base/Makefile.am:
31377 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31378 (gst_basesink_base_init), (gst_basesink_class_init),
31379 (gst_basesink_pad_getcaps), (gst_basesink_init),
31380 (gst_basesink_activate), (gst_basesink_change_state):
31381 * gst/base/gstbasesink.h:
31382 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31383 (gst_base_transform_base_init), (gst_base_transform_finalize),
31384 (gst_base_transform_class_init), (gst_base_transform_init),
31385 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31386 (gst_base_transform_event), (gst_base_transform_getrange),
31387 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31388 (gst_base_transform_set_property),
31389 (gst_base_transform_get_property),
31390 (gst_base_transform_sink_activate),
31391 (gst_base_transform_src_activate),
31392 (gst_base_transform_change_state):
31393 * gst/base/gstbasetransform.h:
31394 * gst/elements/gstidentity.c: (gst_identity_finalize),
31395 (gst_identity_class_init), (gst_identity_init),
31396 (gst_identity_event), (gst_identity_check_perfect),
31397 (gst_identity_transform), (gst_identity_set_property),
31398 (gst_identity_get_property), (gst_identity_change_state):
31399 * gst/elements/gstidentity.h:
31400 * gst/gstelement.c: (gst_element_get_state_func),
31401 (gst_element_lost_state), (gst_element_pads_activate):
31402 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31403 (gst_pad_check_pull_range), (gst_pad_pull_range):
31405 Simplify pad activation.
31406 Added function to check if pull_range can be performed.
31407 Error out when pulling inactive or flushing pads.
31408 Removed const from refcounted types as it does not make sense.
31409 Simplify pad templates in basesink
31410 Added base class for simple 1-to-1 transforms.
31411 Make identity subclass the base transform.
31413 2005-03-29 Andy Wingo <wingo@pobox.com>
31415 * docs/libs/gstreamer-libs-overrides.txt:
31416 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31417 really don't understand what's going on, but like whatever. I want
31420 * docs/gst/Makefile.am:
31421 * docs/libs/Makefile.am: Dist the overrides files.
31423 * check/Makefile.am (clean-local): Remove .libs directories.
31425 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31426 elements to EXTRA_DIST, so po/ files are happy.
31428 * po/POTFILES.in: Er, remove it here.
31430 * po/POTFILES: Remove gstspider.c.
31432 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31434 * docs/libs/gstreamer-libs-docs.sgml:
31435 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31438 * tests/complexity.c (main): Set the length of the preroll queue
31439 on the sinks to prevent a lockup.
31441 * libs/gst/dataprotocol/Makefile.am:
31442 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31443 the same as the one in check/gst-libs/gdp.c.
31445 * po/, docs/gst/: Commit automatic changes to docs and po files.
31447 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31448 the versioned libgstbase.
31450 * check/Makefile.am: Depend on an unversioned gst-register, seems
31451 to make autoconf happier.
31453 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31455 2005-03-28 Wim Taymans <wim@fluendo.com>
31458 * docs/design/part-gstelement.txt:
31459 * docs/design/part-negotiation.txt:
31460 * docs/design/part-preroll.txt:
31461 * docs/design/part-scheduling.txt:
31462 * docs/design/part-states.txt:
31464 * gst/base/Makefile.am:
31466 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31467 (gst_basesink_base_init), (gst_basesink_class_init),
31468 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31469 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31470 (gst_basesink_set_pad_functions),
31471 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31472 (gst_basesink_set_property), (gst_basesink_get_property),
31473 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31474 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31475 (gst_basesink_preroll_queue_push),
31476 (gst_basesink_preroll_queue_empty),
31477 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31478 (gst_basesink_event), (gst_basesink_get_times),
31479 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31480 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31481 (gst_basesink_loop), (gst_basesink_activate),
31482 (gst_basesink_change_state):
31483 * gst/base/gstbasesink.h:
31484 * gst/elements/Makefile.am:
31485 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31486 (gst_fakesink_class_init), (gst_fakesink_init),
31487 (gst_fakesink_set_property), (gst_fakesink_get_property),
31488 (gst_fakesink_get_times), (gst_fakesink_event),
31489 (gst_fakesink_preroll), (gst_fakesink_render),
31490 (gst_fakesink_change_state):
31491 * gst/elements/gstfakesink.h:
31492 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31493 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31494 * gst/gstelement.c: (gst_element_add_pad),
31495 (gst_element_get_state_func), (gst_element_abort_state),
31496 (gst_element_commit_state), (gst_element_lost_state),
31497 (gst_element_set_state), (gst_element_pads_activate):
31498 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31499 * gst/gstpipeline.c: (gst_pipeline_send_event),
31500 (gst_pipeline_change_state):
31501 Added state change code.
31502 Added/updated docs.
31503 Added sink base class, make fakesink extend the base class.
31504 Small cleanups in GstPipeline.
31506 2005-03-26 David Schleef <ds@schleef.org>
31508 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31509 is broken and should be implemented in a different library.
31510 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31511 * gst/gst.h: remove gstcpu.h
31512 * gst/gstcpu.c: remove
31513 * gst/gstcpu.h: remove
31514 * gst/Makefile.am.future: Remove this file. It's ancient.
31516 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31519 (gst_bin_send_event):
31520 Add default event/set_manager handlers. The set_manager handler
31521 takes care that the manager is distributed over kids that were
31522 already in the bin before the manager was set. The event handler
31523 is a utility virtual function that sends the event over all sinks,
31524 so that gst_element_send_event (bin, event); has the expected
31526 * gst/gstpad.c: (gst_pad_event_default):
31527 Re-install default event handling for discontinuities, so that
31528 seeking works without requiring hacks in applications or extra
31530 * gst/gstpipeline.c: (gst_pipeline_class_init),
31531 (gst_pipeline_send_event):
31532 Half hack, half utility: set a pipeline to PAUSED for seek events,
31533 since that is the only way we can guarantee a/v sync. Means that
31534 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31535 and it "just works".
31537 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31539 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31540 Lock/unlock mismatch.
31542 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31544 * docs/faq/gst-uninstalled:
31545 add gst-plugins-base
31546 * docs/gst/Makefile.am:
31547 don't error out until docs are fixed
31548 * docs/gst/gstreamer.types:
31551 2005-03-22 Wim Taymans <wim@fluendo.com>
31553 * check/Makefile.am:
31554 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31555 * gst/gststructure.c: (gst_structure_set_valist),
31556 (gst_structure_copy_conditional):
31557 Activated more tests.
31558 Added message test.
31559 Added G_TYPE_POINTER to GstStructure.
31562 2005-03-22 Wim Taymans <wim@fluendo.com>
31564 * docs/design/part-TODO.txt:
31565 * docs/design/part-events.txt:
31566 * docs/design/part-gstbin.txt:
31567 * docs/design/part-gstbus.txt:
31568 * docs/design/part-gstpipeline.txt:
31569 * docs/design/part-messages.txt:
31571 * gst/gstmessage.c:
31574 2005-03-21 Wim Taymans <wim@fluendo.com>
31576 * gst/gstbus.c: (gst_bus_post):
31577 Fix copy-and-paste error.
31579 2005-03-21 Wim Taymans <wim@fluendo.com>
31581 * check/Makefile.am:
31583 * gst/elements/Makefile.am:
31584 * gst/elements/gstelements.c:
31585 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31586 (gst_fakesink_event), (gst_fakesink_chain):
31587 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31588 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31589 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31590 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31591 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31592 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31593 (gst_fakesrc_loop), (gst_fakesrc_activate),
31594 (gst_fakesrc_change_state):
31595 * gst/elements/gstfakesrc.h:
31596 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31597 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31598 (gst_filesrc_open_file), (gst_filesrc_loop),
31599 (gst_filesrc_activate), (gst_filesrc_change_state),
31600 (filesrc_find_peek), (filesrc_find_suggest),
31601 (gst_filesrc_type_find):
31602 * gst/elements/gstidentity.c: (gst_identity_finalize),
31603 (gst_identity_class_init), (gst_identity_init),
31604 (gst_identity_proxy_getcaps), (identity_queue_push),
31605 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31606 (gst_identity_getrange), (gst_identity_chain),
31607 (gst_identity_sink_loop), (gst_identity_src_loop),
31608 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31609 (gst_identity_set_property), (gst_identity_get_property),
31610 (gst_identity_change_state):
31611 * gst/elements/gstidentity.h:
31612 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31613 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31614 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31615 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31616 (gst_tee_sink_activate):
31617 * gst/elements/gsttee.h:
31618 * gst/gst.c: (gst_register_core_elements), (init_post):
31620 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31621 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31622 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31623 (gst_bin_change_state):
31625 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31626 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31627 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31628 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31629 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31630 (bus_watch_callback), (bus_watch_destroy),
31631 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31632 (poll_timeout), (gst_bus_poll):
31636 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31637 (gst_element_post_message), (gst_element_message_full),
31638 (gst_element_get_state_func), (gst_element_get_state),
31639 (gst_element_abort_state), (gst_element_commit_state),
31640 (gst_element_lost_state), (gst_element_set_state),
31641 (gst_element_pads_activate), (gst_element_change_state),
31642 (gst_element_dispose), (gst_element_set_manager_func),
31643 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31644 (gst_element_set_manager), (gst_element_get_manager),
31645 (gst_element_set_bus), (gst_element_get_bus),
31646 (gst_element_set_scheduler), (gst_element_get_scheduler):
31647 * gst/gstelement.h:
31648 * gst/gstevent.c: (gst_event_new_segment_seek),
31649 (gst_event_new_flush):
31651 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31652 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31653 (gst_message_new_eos), (gst_message_new_error),
31654 (gst_message_new_warning), (gst_message_new_tag),
31655 (gst_message_new_state_changed), (gst_message_new_application),
31656 (gst_message_get_structure), (gst_message_parse_tag),
31657 (gst_message_parse_state_changed), (gst_message_parse_error),
31658 (gst_message_parse_warning):
31659 * gst/gstmessage.h:
31660 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31661 (gst_real_pad_set_property), (gst_pad_set_active),
31662 (gst_pad_is_active), (gst_pad_set_blocked_async),
31663 (gst_pad_set_blocked), (gst_pad_is_blocked),
31664 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31665 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31666 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31667 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31668 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31669 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31670 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31671 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31672 (gst_pad_set_caps), (gst_pad_configure_sink),
31673 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31674 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31675 (gst_real_pad_dispose), (gst_real_pad_finalize),
31676 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31677 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31678 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31680 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31681 (pipeline_bus_handler), (gst_pipeline_change_state),
31682 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31683 * gst/gstpipeline.h:
31685 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31686 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31687 (gst_queue_link_src), (gst_queue_bufferalloc),
31688 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31689 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31690 (gst_queue_loop), (gst_queue_handle_src_event),
31691 (gst_queue_handle_src_query), (gst_queue_src_activate),
31692 (gst_queue_change_state):
31694 * gst/gstscheduler.c: (gst_scheduler_init),
31695 (gst_scheduler_dispose), (gst_scheduler_create_task),
31696 (gst_scheduler_factory_create):
31697 * gst/gstscheduler.h:
31698 * gst/gststructure.c: (gst_structure_get_type),
31699 (gst_structure_copy_conditional):
31700 * gst/gststructure.h:
31701 * gst/gsttaginterface.h:
31702 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31703 (gst_task_init), (gst_task_dispose), (gst_task_create),
31704 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31710 * gst/schedulers/Makefile.am:
31711 * gst/schedulers/cothreads_compat.h:
31712 * gst/schedulers/entryscheduler.c:
31713 * gst/schedulers/faircothreads.c:
31714 * gst/schedulers/faircothreads.h:
31715 * gst/schedulers/fairscheduler.c:
31716 * gst/schedulers/gstbasicscheduler.c:
31717 * gst/schedulers/gstoptimalscheduler.c:
31718 * gst/schedulers/gthread-cothreads.h:
31719 * gst/schedulers/threadscheduler.c:
31720 (gst_thread_scheduler_task_get_type),
31721 (gst_thread_scheduler_task_class_init),
31722 (gst_thread_scheduler_task_init),
31723 (gst_thread_scheduler_task_start),
31724 (gst_thread_scheduler_task_stop),
31725 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31726 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31727 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31728 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31730 * libs/gst/Makefile.am:
31731 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31732 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31733 (gst_file_pad_parent_set):
31734 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31735 (gst_dp_event_from_packet):
31736 * tests/complexity.c: (main):
31737 * tests/mass_elements.c: (main):
31738 * testsuite/states/locked.c: (message_received), (main):
31739 * testsuite/states/parent.c: (main):
31740 * tools/gst-inspect.c: (print_element_flag_info),
31741 (print_implementation_info), (print_pad_info):
31742 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31744 * tools/gst-md5sum.c: (event_loop), (main):
31745 * tools/gst-typefind.c: (main):
31746 * tools/gst-xmlinspect.c: (print_element_info):
31748 Added GstBus for mainloop integration.
31749 Added GstMessage for sending notifications on the bus.
31750 Added GstTask as an abstraction for pipeline entry points.
31752 Removed Schedulers.
31753 Simplified GstQueue for multithreaded core.
31754 Made _link threadsafe, removed old capsnego.
31755 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31756 Added pad blocking functions.
31757 Reworked scheduling functions in GstPad to prepare for
31758 scheduling updates soon.
31759 Moved events out of data stream.
31760 Simplified GstEvent types.
31761 Added return values to push/pull.
31762 Removed clocking from GstElement.
31763 Added prototypes for state change function for next merge.
31764 Removed iterate from bins and state change management.
31765 Fixed some elements, disabled others for now.
31766 Fixed -inspect and -launch.
31767 Added check for GstBus.
31769 2005-03-10 Wim Taymans <wim@fluendo.com>
31771 * docs/design/part-MT-refcounting.txt:
31772 * docs/design/part-clocks.txt:
31773 * docs/design/part-gstelement.txt:
31774 * docs/design/part-gstobject.txt:
31775 * docs/design/part-standards.txt:
31776 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31777 (gst_bin_remove_func), (gst_bin_remove):
31781 * testsuite/clock/clock1.c: (main):
31782 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31784 * testsuite/dlopen/loadgst.c: (do_test):
31785 * testsuite/refcounting/bin.c: (add_remove_test1),
31786 (add_remove_test2), (main):
31787 * testsuite/refcounting/element.c: (main):
31788 * testsuite/refcounting/element_pad.c: (main):
31789 * testsuite/refcounting/pad.c: (main):
31790 * tools/gst-launch.c: (sigint_handler_sighandler):
31791 * tools/gst-typefind.c: (main):
31793 Added doc about clock.
31794 removed gst_bin_iterate_recurse_up(), marked methods
31796 Fix more testsuites.
31798 2005-03-09 Wim Taymans <wim@fluendo.com>
31800 * gst/gstpad.c: (gst_pad_get_direction),
31801 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31802 (gst_pad_collect_valist):
31803 * testsuite/bins/interface.c: (main):
31804 * testsuite/caps/audioscale.c: (test_caps):
31805 * testsuite/caps/caps.c: (test1), (test2), (test3):
31806 * testsuite/caps/deserialize.c: (main):
31807 * testsuite/caps/enumcaps.c: (main):
31808 * testsuite/caps/filtercaps.c: (main):
31809 * testsuite/caps/intersect2.c: (main):
31810 * testsuite/caps/random.c: (main):
31811 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31812 * testsuite/caps/sets.c: (check_caps):
31813 * testsuite/caps/simplify.c: (check_caps), (main):
31814 * testsuite/caps/subtract.c: (check_caps):
31815 Fix _pad_get_direction wrt ghostpads.
31816 Fix caps testsuite.
31818 2005-03-09 Wim Taymans <wim@fluendo.com>
31820 * check/Makefile.am:
31821 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31822 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31823 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31824 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31825 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31826 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31827 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31828 (bin_element_is_sink), (gst_bin_iterate_sinks),
31829 (gst_bin_iterate_all_by_interface):
31831 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31832 (gst_element_change_state), (gst_element_dispose),
31833 (gst_element_finalize), (gst_element_set_loop_function):
31834 * gst/gstelement.h:
31835 * gst/gstiterator.c: (find_custom_fold_func):
31836 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31837 (gst_pad_collectv), (gst_pad_collect_valist),
31838 (gst_pad_template_new):
31839 * gst/gstpipeline.c: (gst_pipeline_class_init),
31840 (gst_pipeline_dispose), (gst_pipeline_set_property),
31841 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31842 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31843 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31845 * gst/schedulers/entryscheduler.c:
31846 * gst/schedulers/gstbasicscheduler.c:
31847 (gst_basic_scheduler_cothreaded_chain),
31848 (gst_basic_scheduler_chain_add_element):
31849 * testsuite/bins/interface.c: (main):
31851 Added GstSystemClock test.
31852 Implemented clock distribution code in GstBin.
31853 Implemented iterate sinks method for future use.
31854 Rearranged gstelement.h
31855 Fix GstIterator comparison bug.
31856 Moved some code to GstPipeline, mostly clocking related.
31858 2005-03-09 Wim Taymans <wim@fluendo.com>
31861 * gst/gst_private.h:
31862 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31863 (gst_bin_remove_func), (gst_bin_remove),
31864 (gst_bin_get_by_name_recurse_up):
31865 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31866 (gst_clock_id_compare_func), (gst_clock_id_wait),
31867 (gst_clock_id_wait_async), (gst_clock_init),
31868 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31869 * gst/gstelement.h:
31870 * gst/gstinfo.c: (_gst_debug_init):
31872 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31873 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31875 Bump version number, we're now 0.9.0
31876 Add future debugging category.
31877 Fix NULL _unref() in _get_by_name_recurse_up
31878 Rearrange gstpad.h.
31881 2005-03-08 Wim Taymans <wim@fluendo.com>
31883 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31884 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31885 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31886 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31887 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31888 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31889 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31890 * gst/elements/gstidentity.c: (gst_identity_class_init):
31891 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31892 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31893 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31894 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31895 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31897 * gst/gstelement.c: (gst_element_class_init),
31898 (gst_element_base_class_init), (gst_element_init),
31899 (gst_element_get_random_pad), (gst_element_wait_state_change),
31900 (gst_element_change_state), (gst_element_dispose),
31901 (gst_element_finalize), (gst_element_set_loop_function):
31902 * gst/gstelement.h:
31903 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31904 * gst/gstthread.c: (gst_thread_class_init),
31905 (gst_thread_release_children_locks), (gst_thread_change_state):
31906 * gst/schedulers/gstbasicscheduler.c:
31907 (gst_basic_scheduler_loopfunc_wrapper),
31908 (gst_basic_scheduler_chain_wrapper),
31909 (gst_basic_scheduler_src_wrapper),
31910 (gst_basic_scheduler_remove_element):
31911 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31912 Remove threadsafe properties. Fix elements because GObject
31913 complains when installing a property before declaring a
31914 set/get_property handler.
31915 Rearrange gstelement.h file, use STATE macros for state locks.
31916 Free mutexes in the finalize method instead of dispose.
31918 2005-03-08 Wim Taymans <wim@fluendo.com>
31920 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31921 * gst/gstthread.c: (gst_thread_release_children_locks):
31922 Added parentage check.
31923 Fix build og GstThread again.
31925 2005-03-08 Wim Taymans <wim@fluendo.com>
31927 * docs/design/part-MT-refcounting.txt:
31928 * docs/design/part-conventions.txt:
31929 * docs/design/part-gstobject.txt:
31930 * docs/design/part-relations.txt:
31931 * docs/design/part-standards.txt:
31932 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31933 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31934 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31935 (gst_bin_iterate_all_by_interface):
31938 * gst/gstelement.c: (gst_element_class_init),
31939 (gst_element_change_state), (gst_element_set_loop_function):
31940 * gst/gstelement.h:
31941 * gst/gstiterator.c:
31942 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31943 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31944 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31945 (gst_object_set_parent), (gst_object_unparent),
31946 (gst_object_check_uniqueness):
31948 Docs updates, clean up some headers.
31950 2005-03-07 Wim Taymans <wim@fluendo.com>
31952 * check/.cvsignore:
31953 * check/Makefile.am:
31954 * check/gst-libs/.cvsignore:
31955 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31956 * check/gst/.cvsignore:
31957 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31958 (START_TEST), (gstbus_suite), (main):
31959 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31960 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31961 (gst_data_suite), (main):
31962 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31963 (add_fold_func), (gstiterator_suite), (main):
31964 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31965 (thread_name_object), (thread_name_object_default),
31966 (gst_object_name_compare), (gst_object_suite), (main):
31967 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31968 (gst_pad_suite), (main):
31969 * check/gstcheck.c: (gst_check_log_message_func),
31970 (gst_check_log_critical_func), (gst_check_init):
31971 * check/gstcheck.h:
31972 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31973 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31976 2005-03-07 Wim Taymans <wim@fluendo.com>
31978 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31979 (gst_list_iterator_next), (gst_list_iterator_resync),
31980 (gst_list_iterator_free), (gst_iterator_new_list),
31981 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31982 (gst_iterator_free), (gst_iterator_push), (filter_next),
31983 (filter_resync), (filter_uninit), (filter_free),
31984 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31985 (gst_iterator_foreach), (find_custom_fold_func),
31986 (gst_iterator_find_custom):
31987 * gst/gstiterator.h:
31988 Added missing files.
31990 2005-03-07 Wim Taymans <wim@fluendo.com>
31994 * docs/design/part-MT-refcounting.txt:
31995 * docs/design/part-conventions.txt:
31996 * docs/design/part-gstobject.txt:
31997 * docs/design/part-relations.txt:
31998 * examples/mixer/mixer.c: (main):
31999 * examples/thread/thread.c: (eos), (main):
32001 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32002 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32003 (gst_spider_plug_from_srcpad):
32004 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32005 (gst_spider_identity_change_state),
32006 (gst_spider_identity_sink_loop_type_finding):
32007 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32008 * gst/elements/gstidentity.c: (gst_identity_init):
32009 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32010 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32011 * gst/elements/gsttypefindelement.c: (free_entry):
32014 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32015 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32016 (gst_bin_set_index), (gst_bin_set_element_sched),
32017 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32018 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32019 (gst_bin_iterate_elements), (iterate_child_recurse),
32020 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32021 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32022 (compare_interface), (gst_bin_get_by_interface),
32023 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32025 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32026 (gst_buffer_default_free), (gst_buffer_default_copy),
32027 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32028 (gst_buffer_create_sub):
32030 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32031 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32032 (gst_caps_unref), (gst_static_caps_get),
32033 (gst_caps_remove_and_get_structure), (gst_caps_append),
32034 (gst_caps_append_structure), (gst_caps_remove_structure),
32035 (gst_caps_copy_nth), (gst_caps_set_simple),
32036 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32037 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32038 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32039 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32040 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32041 (gst_caps_structure_figure_out_union),
32042 (gst_caps_switch_structures), (gst_caps_do_simplify),
32043 (gst_caps_replace), (gst_caps_from_string),
32044 (gst_caps_copy_conditional):
32046 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32047 (_gst_clock_id_free), (gst_clock_id_unref),
32048 (gst_clock_id_compare_func), (gst_clock_id_wait),
32049 (gst_clock_id_wait_async), (gst_clock_class_init),
32050 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32051 (gst_clock_get_time), (gst_clock_set_time_adjust),
32052 (gst_clock_set_property), (gst_clock_get_property):
32055 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32056 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32058 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32059 (gst_element_requires_clock), (gst_element_provides_clock),
32060 (gst_element_set_clock), (gst_element_clock_wait),
32061 (gst_element_wait), (gst_element_set_time_delay),
32062 (gst_element_is_indexable), (gst_element_add_pad),
32063 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32064 (pad_compare_name), (gst_element_get_static_pad),
32065 (gst_element_request_pad), (gst_element_get_request_pad),
32066 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32067 (gst_element_class_get_pad_template_list),
32068 (gst_element_class_get_pad_template), (gst_element_error_func),
32069 (gst_element_get_random_pad), (gst_element_get_event_masks),
32070 (gst_element_send_event), (gst_element_seek),
32071 (gst_element_get_query_types), (gst_element_query),
32072 (gst_element_get_formats), (gst_element_convert),
32073 (gst_element_is_locked_state), (gst_element_set_locked_state),
32074 (gst_element_sync_state_with_parent), (gst_element_change_state),
32075 (gst_element_finalize), (gst_element_yield),
32076 (gst_element_interrupt), (gst_element_set_scheduler),
32077 (gst_element_get_scheduler), (gst_element_set_loop_function):
32078 * gst/gstelement.h:
32080 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32081 (gst_format_get_by_nick), (gst_format_get_details),
32082 (gst_format_iterate_definitions):
32084 * gst/gstindex.c: (gst_index_gtype_resolver):
32087 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32088 (gst_mem_chunk_free):
32089 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32090 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32091 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32092 (gst_object_dispatch_properties_changed),
32093 (gst_object_set_name_default), (gst_object_set_name),
32094 (gst_object_get_name), (gst_object_set_name_prefix),
32095 (gst_object_get_name_prefix), (gst_object_set_parent),
32096 (gst_object_get_parent), (gst_object_unparent),
32097 (gst_object_check_uniqueness), (gst_object_save_thyself),
32098 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32099 (gst_object_set_property), (gst_object_get_property),
32100 (gst_object_get_path_string):
32102 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32103 (gst_real_pad_init), (gst_real_pad_get_property),
32104 (gst_pad_custom_new), (gst_pad_get_direction),
32105 (gst_pad_set_active), (gst_pad_is_active),
32106 (gst_pad_set_event_function), (gst_pad_is_linked),
32107 (gst_pad_link_free), (gst_pad_link_intersect),
32108 (gst_pad_link_fixate), (gst_pad_set_caps),
32109 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32110 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32111 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32112 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32113 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32114 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32115 (gst_pad_realize), (gst_pad_get_allowed_caps),
32116 (gst_real_pad_dispose), (gst_real_pad_finalize),
32117 (gst_pad_collectv), (gst_pad_collect_valist),
32118 (gst_pad_template_dispose), (gst_pad_template_new),
32119 (gst_pad_get_internal_links):
32121 * gst/gstpipeline.c: (gst_pipeline_dispose),
32122 (gst_pipeline_change_state):
32123 * gst/gstpipeline.h:
32125 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32126 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32127 * gst/gstpluginfeature.h:
32128 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32129 * gst/gstquery.c: (_gst_query_type_initialize),
32130 (gst_query_type_register), (gst_query_type_get_by_nick),
32131 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32133 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32134 * gst/gstscheduler.c: (gst_scheduler_add_element),
32135 (gst_scheduler_factory_create):
32136 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32137 (gst_structure_free), (gst_structure_set_name),
32138 (gst_structure_id_set_value), (gst_structure_set_value),
32139 (gst_structure_set_valist), (gst_structure_remove_field),
32140 (gst_structure_remove_fields),
32141 (gst_structure_remove_fields_valist),
32142 (gst_structure_remove_all_fields), (gst_structure_foreach),
32143 (gst_structure_map_in_place),
32144 (gst_caps_structure_fixate_field_nearest_int),
32145 (gst_caps_structure_fixate_field_nearest_double):
32146 * gst/gststructure.h:
32147 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32148 (gst_system_clock_init), (gst_system_clock_dispose),
32149 (gst_system_clock_async_thread),
32150 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32151 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32152 * gst/gstsystemclock.h:
32153 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32154 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32155 * gst/gsttaginterface.c:
32156 * gst/gstthread.c: (gst_thread_dispose),
32157 (gst_thread_release_children_locks), (gst_thread_change_state),
32158 (gst_thread_main_loop):
32159 * gst/gsttrashstack.h:
32160 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32162 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32163 (gst_element_request_pad), (gst_element_get_pad_from_template),
32164 (gst_element_request_compatible_pad),
32165 (gst_element_get_compatible_pad_filtered),
32166 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32167 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32168 (gst_element_link_many), (gst_element_link),
32169 (gst_element_link_pads), (gst_element_unlink_pads),
32170 (gst_element_unlink_many), (gst_element_unlink),
32171 (gst_pad_can_link_filtered), (gst_pad_can_link),
32172 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32173 (gst_object_default_error), (gst_bin_add_many),
32174 (gst_bin_remove_many), (gst_element_populate_std_props),
32175 (gst_element_class_install_std_props), (gst_buffer_merge),
32176 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32177 (link_fold_func), (gst_pad_proxy_setcaps):
32179 * gst/gstvalue.c: (gst_value_deserialize_string):
32180 * gst/parse/grammar.y:
32181 * gst/schedulers/gstbasicscheduler.c:
32182 (gst_basic_scheduler_cothreaded_chain),
32183 (gst_basic_scheduler_chain_recursive_add),
32184 (gst_basic_scheduler_pad_link):
32185 * gst/schedulers/gstoptimalscheduler.c:
32186 (get_group_schedule_function),
32187 (gst_opt_scheduler_state_transition),
32188 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32189 * libs/gst/bytestream/bytestream.c:
32190 * libs/gst/dataprotocol/dataprotocol.c:
32191 (gst_dp_header_from_buffer):
32194 * tests/threadstate/threadstate2.c: (eos):
32195 * tools/gst-compprep.c: (main):
32196 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32197 (print_pad_info), (print_children_info):
32198 * tools/gst-launch.c: (idle_func), (main):
32199 * tools/gst-md5sum.c: (idle_func), (main):
32200 * tools/gst-xmlinspect.c: (print_element_info):
32201 First THREADED backport attempt, focusing on adding locks and
32202 making sure the API is threadsafe. Needs more work. More docs
32205 2005-02-24 Andy Wingo <wingo@pobox.com>
32207 * tests/bench-complexity.scm:
32208 * tests/complexity.gnuplot: New files, good for running complexity
32211 * tests/Makefile.am:
32212 * tests/complexity.c: New test, sets up N elements, at each level
32213 teeing into M streams per element. Eeeenteresting.
32215 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32216 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32217 running bench-mass_elements.scm.
32219 * tests/bench-mass_elements.scm: New script, runs mass_elements
32220 for various numbers of identities, outputting the results to a
32221 file. Requires guile 1.6. Just for testing.
32223 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32225 * gst/schedulers/fairscheduler.c:
32226 compile with debug disabled
32228 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32231 hunting season on 0.9 is now OPEN