1 2008-12-16 Stefan Kost <ensonic@users.sf.net>
3 * docs/gst/gstreamer-sections.txt:
6 Add function to reset tagsetter for element reuse.
7 API: gst_tag_setter_flush()
9 2008-12-16 Stefan Kost <ensonic@users.sf.net>
12 Avoid copy of empty taglist.
14 2008-12-16 Stefan Kost <ensonic@users.sf.net>
17 * tests/check/gst/gsttag.c:
18 More complete unit tests. Fix handling of empty taglists (they were
21 2008-12-15 Stefan Kost <ensonic@users.sf.net>
25 Update GstTagSetter and GstTagMergeMode documentation. Mention
26 that tags can come from events and from application. Fix example.
28 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
30 * docs/design/part-TODO.txt:
31 Remove the seqnum entry that we implemented in 0.10 already.
32 Add entry about removing the format return value for queries.
34 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
36 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
37 (gst_base_sink_init), (gst_base_sink_set_property),
38 (gst_base_sink_get_property):
39 Expose the render-delay as a property so things like appsink can use it
40 to tweak the synchronisation.
42 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
44 * libs/gst/check/gstcheck.h: Allow check tests to use
45 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
46 CK_FORK=no to be used with multiple check test that use threads.
48 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
50 * gst/gstutils.c: (gst_element_get_compatible_pad):
51 Fix a caps memory leak introduced by the last change.
53 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
55 * gst/gstutils.c: (gst_element_get_compatible_pad):
56 Check if the caps of the pads are compatible before returning
57 a pad and claiming it is compatible. This, among other things,
58 fixes a bug with gst-launch where an incompatible pad is chosen
59 and linking fails. Fixes bug #544003.
61 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
63 * libs/gst/check/gstcheck.c: (gst_check_init):
64 Revert accidentially commited patch for bug #404631 which
65 tries to print a backtrace if a testcase is terminated by
66 a signal. This code was never activated as the corresponding
67 configure.ac change wasn't committed.
69 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
71 * tests/check/libs/controller.c: (GST_START_TEST):
72 This test should return TRUE now as syncing an uncontrolled
73 object will succeed now (there's nothing to sync).
75 2008-12-09 Stefan Kost <ensonic@users.sf.net>
77 * libs/gst/controller/gstcontroller.c:
78 Aggregate return value for gst_controller_sync_values(). More info in
79 logging. Always set values on first sync-call.
81 * libs/gst/controller/gstcontrolsource.c:
84 * libs/gst/controller/gsthelper.c:
85 Fix return code and comment.
87 2008-12-09 Stefan Kost <ensonic@users.sf.net>
89 * tools/gst-launch.1.in:
90 Fix description of how to specify a type in caps. Fixes #553873.
91 Also ranges and list contain values and not property-assignments.
93 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
95 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
96 Check for changed pads-list before checking the last returned
97 GstFlowReturn because the pad could have been removed and we
98 need to ignore the value in that case.
100 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
102 * libs/gst/base/gstbasetransform.c:
103 (gst_base_transform_prepare_output_buffer),
104 (gst_base_transform_getrange), (gst_base_transform_chain):
105 * libs/gst/base/gstbasetransform.h:
106 Add vmethod that is called before we start the transform and which can
107 be used to configure the transform, such as dynamic properties.
109 2008-12-05 David Schleef <ds@schleef.org>
112 Search for plugins on win32 based on the location of the
113 gstreamer DLL. Fixes #548786
115 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
118 Apparently AC_CONFIG_MACRO_DIR breaks when using more
119 than one macro directory, reverting last change.
121 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
124 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
127 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
129 Patch by: Cygwin Ports maintainer
130 <yselkowitz at users dot sourceforge dot net>
134 Require gettext 0.17 because older versions don't mix with libtool
135 2.2. At build time an older gettext version will still work.
138 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
140 Patch by: 이문형 <iwings at gmail dot com>
142 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
143 Adds support for FD_CONNECT event (win32). See #562258.
145 2008-11-24 Stefan Kost <ensonic@users.sf.net>
147 * libs/gst/base/gstbasesink.c:
148 Turn comment into gtk-doc comment.
150 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
152 * libs/gst/base/gstbasetransform.c:
153 (gst_base_transform_acceptcaps):
154 Revert quick accepcaps attempt, it's not fully equivalent to the old
155 behaviour and thus causes regressions.
157 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
159 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
162 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
164 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
166 * gst/gstregistry.c: (gst_registry_scan_path_level):
167 Reduce the number of stat() calls for every file from three times
168 to one time. Fixes bug #560360.
170 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
172 * libs/gst/base/gstbasetransform.c:
173 (gst_base_transform_acceptcaps):
174 Rename a variable to make the code clearer.
176 2008-11-21 Stefan Kost <ensonic@users.sf.net>
178 * plugins/elements/gstidentity.c:
179 Don't warning on offset==-1. Taken from _check_imperfect_offset().
181 2008-11-21 Michael Smith <msmith@songbirdnest.com>
183 * plugins/elements/gstfilesrc.c:
184 Check for localhost in URI was backwards, fix it. Fixes unit test.
186 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
188 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
189 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
190 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
191 Add beginnings of a more optimized acceptcaps function than the default
194 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
196 * gst/gstpad.c: (gst_pad_accept_caps):
197 Avoid getting the acceptcaps function too early.
199 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
201 * tools/gst-launch.c: (event_loop):
202 Make gst-launch handle LATENCY messages and make it recalculate the
205 2008-11-20 Michael Smith <msmith@songbirdnest.com>
207 * plugins/elements/gstfilesrc.c:
208 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
209 out own slightly incorrect version. Fixes use of some paths on
212 2008-11-20 Michael Smith <msmith@songbirdnest.com>
214 * gst/gstregistrybinary.c:
215 In win32 codepath, if we fail to write the registry, create the
216 directory for it and try again, matching the behaviour in non-win32
219 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
221 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
222 Changing the render delay changes the latency and so we must post a
225 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
229 Add GstQueryType for custom queries instead of having to use the
230 not-so-very-convenient registration infrastructure to register new
233 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
235 Patch by: Andrew Feren <acferen at yahoo dot com>
237 * gst/gstobject.c: (gst_object_default_deep_notify):
238 Unref the GEnumClass after usage again. Fixes bug #561501.
240 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
242 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
243 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
244 (gst_bin_change_state_func):
246 Add do-latency signal with the old default fallback implementation. This
247 allows for custom latency calculations for when the default is not
249 API: GstBin::do-latency signal.
251 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
253 * win32/common/libgstreamer.def:
254 Add new symbols to .def file.
256 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
258 * docs/gst/gstreamer-sections.txt:
259 * gst/gstbin.c: (gst_bin_recalculate_latency),
260 (gst_bin_change_state_func):
262 Add method to recalculate and redistribute the latency on a bin.
263 API: gst_bin_recalculate_latency().
265 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
268 Document the free_func.
270 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
272 * libs/gst/controller/gstinterpolation.c:
273 * libs/gst/controller/gstlfocontrolsource.c:
274 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
275 as it is mapped to a cast on non-win32 platforms.
277 2008-11-17 Stefan Kost <ensonic@users.sf.net>
279 * libs/gst/controller/gstcontroller.c:
280 * libs/gst/controller/gstcontrollerprivate.h:
281 Keep last-value and only call set_property if value has changed. This
282 supresses all the g_object_notifies we would trigger otherwise. It
283 also allows the user to chage the value while there is no controller
286 2008-11-17 Stefan Kost <ensonic@users.sf.net>
289 Don't crash if either of the string GValues is empty.
291 2008-11-17 Andy Wingo <wingo@pobox.com>
293 * tools/gst-inspect.c (print_all_uri_handlers): New function,
294 prints a summary of what URI schemes are supported by what
296 (main): Plumb in support for --uri-handlers or -u, and fix the
297 argc check for -a and -u.
299 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
302 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
303 conversion functions.
305 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
307 * gst/gstbuffer.c: (gst_buffer_finalize):
308 Avoid costly typechecking for trivially correct pointers.
310 * gst/gstpoll.c: (gst_poll_wait):
311 Add some G_LIKELY here and there.
313 * libs/gst/base/gstadapter.c: (gst_adapter_push):
316 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
318 * docs/random/wtay/poll-timeout:
321 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
323 * tests/old/testsuite/caps/intersection.c: (main):
324 * tests/old/testsuite/plugin/loading.c: (main):
325 Remove references to deprecated API g_mem_chunk*.
328 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
330 * tools/gst-inspect.c: (main):
331 Add --plugin option. Fixes #560301.
333 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
335 * docs/random/wtay/poll-timeout:
336 Quick braindump for a possible (not totally verified) atomic case.
338 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
340 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
341 (gst_registry_binary_initialize_magic),
342 (gst_registry_binary_write_cache),
343 (gst_registry_binary_check_magic):
344 * gst/gstregistrybinary.h:
345 Don't write and check a CRC for the binary registry file. It's
346 guaranteed that the registry is completely written (it's first written
347 to a temporary file and then moved) and if the registry was corrupted
348 by some hardware failure we would have bigger problems.
350 Bump binary registry version to 0.10.21.1 for this as it's an
351 incompatible change and to ensure that the registry gets rebuild
354 This saves some milliseconds for reading/writing the registry.
357 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
359 * docs/random/wtay/poll-timeout:
360 Some pseudo code for how we could implement clock timeouts with GstPoll.
362 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
364 * plugins/elements/gstfilesink.c:
365 Update Author string to match others.
367 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
369 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
370 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
371 being fixed and inline the trivial check.
373 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
375 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
376 (gst_caps_merge_structure), (gst_caps_get_structure),
377 (gst_caps_copy_nth), (gst_caps_set_simple),
378 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
379 (gst_caps_is_equal_fixed), (gst_caps_intersect),
380 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
381 (gst_caps_to_string):
382 Callgrind micro optimisations.
383 Avoid array bounds checks and force inline of trivial function.
385 * gst/gstobject.c: (gst_object_set_name_default):
386 -1 is equivalent to letting glib to the strlen but then there is more
387 room for optimisations and it's not our fault.
389 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
390 no need to clear the array, we're cool.
392 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
393 The most common _is_fixed() check is done on fundamental glib base
394 types so we check this first instead of doing a huge amount of
395 useless GST_TYPE_ARRAY calls.
397 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
400 Add a SKIP seek flag for use with advanced trickmodes.
401 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
403 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
405 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
406 No need to memset, we can clear the value ourselves.
408 * gst/gstvalue.c: (gst_type_is_fixed),
409 (gst_value_get_compare_func):
410 Some optimisations from a few callgrind sessions:
411 When checking if a type is fixed, check for trivial fundamental types
412 first before checking types for which we need to get the type followed
413 by the heavy duty type checks, this reduces the amount of
414 g_type_fundamental() calls a lot.
415 When getting the compare function, first check for our registered types.
416 If that fails, do the heavy duty g_type_is_a() checks, reduces the
417 amount of g_type_is_a() considerably.
419 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
421 * docs/design/part-TODO.txt:
422 Mumble something about removing GstXML.
424 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
426 * gst/gstbin.c: (gst_bin_handle_message_func):
427 Get the seqnum before we dispose the message.
429 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
431 * docs/design/part-TODO.txt:
432 Refer to the framestepping document.
434 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
436 * gst/gstbin.c: (bin_handle_async_start),
437 (gst_bin_handle_message_func), (gst_bin_query):
438 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
439 (gst_base_sink_event), (gst_base_sink_change_state):
440 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
441 (gst_base_src_loop), (gst_base_src_change_state):
442 Copy seqnums from events to messages so that they can all be related
445 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
447 * tools/gst-launch.c: (event_loop):
448 Print the message seqnums.
450 2008-11-04 Andy Wingo <wingo@pobox.com>
452 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
454 2008-11-04 Andy Wingo <wingo@pobox.com>
456 Add sequence numbers to events and messages. See #559250.
458 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
462 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
463 events with a new sequence number, and copy it when copying.
464 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
465 an event's sequence number.
468 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
469 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
472 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
474 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
476 * docs/manual/advanced-position.xml:
477 * docs/manual/basics-bins.xml:
478 * docs/manual/basics-bus.xml:
479 * docs/manual/basics-pads.xml:
480 * docs/manual/intro-gstreamer.xml:
481 * docs/manual/intro-preface.xml:
482 Some Application Development Manual fixes thanks to
483 Andrew Feren. Fixes #558459.
485 2008-11-03 Stefan Kost <ensonic@users.sf.net>
487 * gst/gstregistrybinary.c:
488 Don't bother with the GTimer if we don't output the results.
490 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
492 Patch by: David Schleef <ds@schleef.org>
494 * libs/gst/net/Makefile.am:
495 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
497 2008-10-31 Stefan Kost <ensonic@users.sf.net>
499 * gst/gstregistrybinary.c:
500 Oh my, studip, stupid me. Remove double stat() call.
502 2008-10-31 Stefan Kost <ensonic@users.sf.net>
505 Use g_unlink instead of unlink.
507 * gst/gststructure.c:
516 Formatting & whitespaces.
518 2008-10-31 Stefan Kost <ensonic@users.sf.net>
520 * plugins/elements/gstidentity.c:
521 Doc typo. Use return value of parent_class->event.
523 * plugins/elements/gsttypefindelement.c:
524 Chain up at the end for consistency.
526 2008-10-30 Stefan Kost <ensonic@users.sf.net>
529 * docs/gst/gstreamer-docs.sgml:
530 * docs/gst/gstreamer-sections.txt:
531 * docs/gst/running.xml:
532 * docs/libs/gstreamer-libs-docs.sgml:
533 Change to xinclude based build - its faster and easier to maintain.
535 2008-10-30 Stefan Kost <ensonic@users.sf.net>
537 * gst/gstregistrybinary.c:
538 * gst/gstregistryxml.c:
539 Use g_unlink() as none of these are directories.
541 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
543 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
546 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
548 * libs/gst/base/gstbasetransform.c:
549 (gst_base_transform_find_transform), (gst_base_transform_getrange):
550 If we have a fixate function, call it even if we already have fixed caps
551 because the subclass might add some caps. Makes audioconvert add a
552 default channel layout.
554 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
556 * libs/gst/base/gstbasetransform.c:
557 (gst_base_transform_prepare_output_buffer),
558 (gst_base_transform_getrange):
559 Clear the output buffer variable.
560 Cleanups to the error path in the getrange function.
563 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
565 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
566 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
567 Use gst_buffer_try_new_and_alloc() and handle errors instead of
568 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
571 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
573 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
574 Set the last_stop to a more meaningful position when configuring the
575 segment. ie. the start/stop of the segment or clipped against the
576 updated segment boundaries.
578 * tests/check/gst/gstsegment.c: (GST_START_TEST):
579 Add some unit tests for the last_stop.
581 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
583 * libs/gst/base/gstbytereader.c:
584 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
587 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
589 * docs/gst/gstreamer-sections.txt:
591 API: Move float endianness conversion macros from libgstfloatcast
592 to core as it's useful in general, even in core. Fixes bug #555196.
593 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
594 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
595 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
597 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
598 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
599 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
600 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
602 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
604 * docs/libs/gstreamer-libs-sections.txt:
605 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
606 (gst_byte_reader_peek_data):
607 * libs/gst/base/gstbytereader.h:
608 * win32/common/libgstbase.def:
609 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
610 to get a pointer to the data at the current position and have
613 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
616 Fix a bug in the output of the configure script summary
617 when --gst-disable-registry is supplied
619 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
621 * libs/gst/base/gstbitreader.c:
622 * libs/gst/base/gstbytereader.c:
623 Fix the names of 2 functions in the docs strings.
625 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
627 * libs/gst/base/gstbasetransform.c:
628 (gst_base_transform_prepare_output_buffer),
629 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
630 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
631 refcount problems as seen in banshee and maybe also in farsight2.
632 Remove atomic int now that we need to take the lock anyways.
634 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
636 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
637 (gst_base_sink_default_prepare_seek_segment),
638 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
639 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
640 (gst_base_sink_query):
641 Implement more seeking in pull mode.
642 Use pad convert functions to convert position to the requested format.
643 Fix position/duration reporting in pull mode.
644 Implement position and duration reporting in other formats than time.
646 * libs/gst/base/gstbasesink.h:
647 Add member to keep track of when the segment is playing.
649 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
651 * gst/gstpad.c: (gst_pad_configure_src):
652 When we use gst_pad_alloc_buffer() without wanting to set the caps we
653 also don't need to check if the caps are compatible because the caller
654 presumably is going to perform its own custom checks. Fixes some cases
655 where basetransform elements would error out when it was not needed.
657 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
659 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
662 * libs/gst/base/gstbasetransform.c:
663 (gst_base_transform_handle_buffer),
664 (gst_base_transform_reconfigure):
667 * win32/common/libgstbase.def:
670 2008-10-19 Stefan Kost <ensonic@users.sf.net>
672 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
673 Remove duplicated assignment and log a message in failure case.
675 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
677 Patch by: Dig Ge <dig.ge.cn at gmail com>
679 * tests/examples/helloworld/helloworld.c: (main):
680 Fix copy'n'paste bug in hello world example (#556900).
682 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
684 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
685 (gst_base_sink_query):
686 Query the total number of bytes when activating the pad in pull mode.
687 Implement duration query in pull mode by using the installed pad convert
688 function to convert from bytes to the requested format.
690 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
692 * docs/libs/gstreamer-libs-sections.txt:
693 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
694 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
695 (gst_base_sink_event), (gst_base_sink_perform_seek),
696 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
697 (gst_base_sink_send_event), (gst_base_sink_change_state):
698 * libs/gst/base/gstbasesink.h:
699 Add method to commit the state in subclasses.
700 Refactor the flush_start and flush_stop code because we need it for
701 flushing while seeking too.
702 Implement the beginnings of seeking in pull mode.
703 Use the segment last_stop field for the pulling offset.
704 Fix the pause method in pull mode.
705 Configure the segment to BYTES for pull mode.
706 API: GstBaseSink::gst_base_sink_do_preroll()
708 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
710 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
713 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
715 * gst/gstquark.c: (_priv_gst_quarks_initialize):
716 Fix printf format warning.
718 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
720 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
721 Fix flow aggregation of tee. Error out immediately for all flow returns
722 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
723 and return OK if at least one pad is linked.
725 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
726 and otherwise returned the flow return of the last pad, which is wrong.
728 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
729 (GST_START_TEST), (tee_suite):
730 Add unit tests for the flow aggregation.
732 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
734 * docs/design/part-TODO.txt:
735 Remove item from the todo list because it was fixed with the latency
736 state change rewrites.
738 * docs/design/part-seeking.txt:
739 * docs/design/part-segments.txt:
742 * gst/gstevent.c: (gst_event_new_new_segment_full),
743 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
744 (gst_event_parse_buffer_size), (gst_event_new_qos),
745 (gst_event_parse_qos), (gst_event_new_seek),
746 (gst_event_parse_seek), (gst_event_new_latency),
747 (gst_event_parse_latency):
748 Use quarks to construct and parse events.
750 * gst/gstquark.c: (_priv_gst_quarks_initialize):
752 Add some more quarks to the table.
753 Emit a warning when the quark tables are not in sync.
755 * tests/check/gst/gstbus.c: (GST_START_TEST):
758 2008-10-13 Stefan Kost <ensonic@users.sf.net>
760 * plugins/elements/Makefile.am:
761 * plugins/indexers/Makefile.am:
762 Don't install static libs for plugins. Fixes #550851 for core.
764 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
766 * gst/gstbus.c: (gst_bus_source_finalize),
767 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
768 (gst_bus_enable_sync_message_emission),
769 (gst_bus_disable_sync_message_emission),
770 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
771 Fix deadlock, g_source_get_id() cannot be called in finalize.
772 Keep track of the watch source by keeping a pointer to the source object
774 Use the bus lock to protect access to the pointer to the current
777 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
779 Base on Patch by: Olivier Crete <tester at tester dot ca>
781 * gst/gstbus.c: (gst_bus_source_finalize),
782 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
783 Only allow one bus watch to be set at a time. This is necessary
784 because the dispatcher pops the message from the bus and the second
785 watcher will then get NULL or the next message (and the first won't
786 get this next message then, etc). If more than one "watcher" is
787 required signal watches should be used. Fixes bug #526044.
789 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
791 * tools/gst-launch.c:
792 Change the printing of the 'buffering...' output to avoid putting
793 a \r in a translateable string (flagged by the TP).
795 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
798 Clarify that the save_thyself() and restore_thyself() virtual
799 functions of GstObject need to be overriden, not
800 gst_object_(save|restore)_thyself() which is impossible.
803 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
805 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
806 Revert a patch from 21 months ago that broke caps negotiation in pull
807 mode. Basically, having a buffer pass over a pad will trigger the
808 setcaps function when caps change, just like in push mode.
810 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
812 * docs/design/part-negotiation.txt:
813 Update the docs some more.
815 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
816 If we pull a buffer with non-trivial caps, suggest those caps with the
819 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
821 * docs/design/part-TODO.txt:
822 Add another limitation of pad-blocking with segment seeks not pushing
825 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
827 * win32/common/libgstbase.def:
828 * win32/common/libgstreamer.def:
829 Add new symbols to the win32 defs files
831 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
833 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
834 (gst_bin_handle_message_func):
835 The message src can be NULL, don't try to print the object names in that
838 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
839 Add some more debug info.
841 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
844 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
847 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
849 * docs/design/part-negotiation.txt:
852 * docs/libs/gstreamer-libs-sections.txt:
853 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
854 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
855 (gst_base_sink_init), (gst_base_sink_set_blocksize),
856 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
857 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
858 (gst_base_sink_loop), (gst_base_sink_pad_activate),
859 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
860 (gst_base_sink_change_state):
861 * libs/gst/base/gstbasesink.h:
862 Add blocksize property and methods to control the amount of data
864 Negotiate first before activating upstream in pull mode so that they can
865 negotiate themselves.
866 When we operate in pull mode, we only accept the caps that we
868 Make the sink go ASYNC to PAUSED, like all other sinks.
869 API: GstBaseSink::gst_base_sink_set_blocksize()
870 API: GstBaseSink::gst_base_sink_get_blocksize()
871 API: GstBaseSink::blocksize
873 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
874 (gst_base_src_set_live), (gst_base_src_is_live),
875 (gst_base_src_set_format), (gst_base_src_query_latency),
876 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
877 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
878 (gst_base_src_set_property), (gst_base_src_get_property):
879 * libs/gst/base/gstbasesrc.h:
880 Add typechecking in public API functions.
881 Add methods to control the blocksize in subclasses.
882 API: GstBaseSrc::gst_base_src_set_blocksize()
883 API: GstBaseSrc::gst_base_src_get_blocksize()
885 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
887 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
888 (buffer_probe), (event_probe), (GST_START_TEST):
889 We now see 3 events go through our pad, since basesink now sends
890 upstream latency events.
892 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
894 * gst/gstpipeline.c: (gst_pipeline_change_state):
895 Release the object lock before trying to flush the bus.
897 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
899 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
900 Forward LATENCY events upstreams so that elements know about the total
901 pipeline latency. Fixes #555307.
903 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
905 * plugins/elements/gstqueue.c:
906 Allow through queries when we don't know how
907 to adjust them (not TIME or BYTES), as otherwise it's
908 not possible to query the current position in order
909 to seek in other formats at all.
911 2008-10-08 Andy Wingo <wingo@pobox.com>
913 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
915 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
919 Unbreak -good build, private is a reserved c++ keyword.
921 2008-10-08 Andy Wingo <wingo@pobox.com>
923 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
924 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
925 removal: re-add GST_GHOST_PAD_CAST to the header.
927 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
928 (GstGhostPadClass): Publically expose these structures so as to
929 allow easy subclassing from C. Hide the member data behind a
930 private opaque data pointer.
932 * gst/gstghostpad.c: Adapt to store instance data in the type
933 instance's private data region, not in the public struct.
935 2008-10-08 Andy Wingo <wingo@pobox.com>
937 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
938 template via g_object_get(), be sure to unref it.
940 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
942 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
944 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
945 If we can't get a cache file don't try to save something to it.
946 Dereferencing NULL pointers usually isn't a good idea.
948 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
950 * tests/check/Makefile.am:
951 * tests/check/gst/gstabi.c:
952 * tests/check/gst/struct_sparc.h:
953 * tests/check/libs/libsabi.c:
954 * tests/check/libs/struct_sparc.h:
957 * tests/check/gst/gstvalue.c: (GST_START_TEST):
958 Cast signed integer to unsigned to avoid a compiler warning.
960 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
962 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
963 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
964 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
965 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
966 (gst_byte_reader_peek_int24_be):
967 Use new GST_READ_UINT24_(LE|BE) macros.
969 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
971 * docs/gst/gstreamer-sections.txt:
973 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
974 as it's too easy to break the ISO C strict aliasing rules with simple
975 casts to the corresponding type and this would introduce hard to debug
976 bugs. Fixes bug #545714.
978 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
980 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
982 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
983 * gst/gstghostpad.c: (gst_ghost_pad_construct):
984 Add 'Since' bits to gtk-doc chunks for new API.
986 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
988 * docs/gst/gstreamer-sections.txt:
991 2008-10-06 Andy Wingo <wingo@pobox.com>
993 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
994 that will be called on the malloc_data to free it. Basically a way
995 to avoid subclassing when all you need is a different free
996 function, i.e. free() instead of g_free().
998 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
999 calling the free function.
1000 (gst_buffer_init): Initialize the free function to g_free.
1002 2008-10-06 Andy Wingo <wingo@pobox.com>
1004 * gst/gstghostpad.h:
1005 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1006 finishes the initialization of ghost pad. Useful for language
1007 bindings and subclassers of GstGhostPad. Fixes #539108.
1008 (gst_ghost_pad_new_full): Use the new constructor.
1010 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1012 Base on Patch by: Olivier Crete <tester at tester dot ca>
1014 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1015 (gst_bin_remove_func), (update_degree),
1016 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1017 Keep track of pads that are being linked/unlinked and resync the state
1020 * gst/gstpad.c: (gst_pad_get_direction),
1021 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1022 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1023 (gst_pad_link_prepare), (gst_pad_link),
1024 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1025 (gst_pad_check_pull_range), (gst_pad_get_range),
1026 (gst_pad_pull_range):
1027 Some code cleanups, use macros to check pad direction.
1028 Don't need to take the lock on the pad direction.
1029 Post structure change when pads are linked/unlinked.
1030 Change some checks into _return_if_fail().
1032 * tests/check/gst/gstbin.c:
1033 (test_link_structure_change_state_changed_sync_cb),
1034 (GST_START_TEST), (gst_bin_suite):
1035 Add testcase for pad link/unlinke resync during a state change.
1038 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1040 * docs/gst/gstreamer-sections.txt:
1041 * gst/gstmessage.c: (gst_message_new_structure_change),
1042 (gst_message_parse_structure_change):
1044 Implement STRUCTURE_CHANGED messages. These messages will be used to
1045 signal the parent bin of link/unlink operations that could require a
1046 resync when doing a state change. See ##510354.
1047 API: gst_message_new_structure_change()
1048 API: gst_message_parse_structure_change()
1050 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1054 Add some more quarks for new message. See #510354.
1056 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1058 * docs/libs/gstreamer-libs-docs.sgml:
1059 * docs/libs/gstreamer-libs-sections.txt:
1060 * libs/gst/base/Makefile.am:
1061 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1062 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1063 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1064 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1065 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1066 (gst_bit_reader_skip_to_byte):
1067 * libs/gst/base/gstbitreader.h:
1068 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1069 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1070 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1071 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1072 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1073 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1074 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1075 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1076 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1077 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1078 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1079 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1080 * libs/gst/base/gstbytereader.h:
1081 * tests/check/Makefile.am:
1082 * tests/check/libs/bitreader.c: (GST_START_TEST),
1083 (gst_bit_reader_suite):
1084 * tests/check/libs/bytereader.c: (GST_START_TEST),
1085 (gst_byte_reader_suite):
1086 API: Add bit reader and byte reader classes, including documentation
1087 and an extensive unit test suite. Fixes bug #553554.
1089 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1091 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1092 (gst_base_sink_query):
1093 Improve position reporting while flushing and other intermediate state
1094 changes. Fixes #553874.
1096 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1098 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1100 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1101 Original patch by : Simon Descaries
1102 Fix small refount leak in caps compatibility check.
1105 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1107 * docs/pwg/advanced-request.xml:
1108 Fix 0.8 api usage in example. Fixes #554561
1110 * docs/pwg/appendix-porting.xml:
1111 Change 0.9 to 0.10 here.
1113 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1115 * docs/manual/basics-data.xml:
1116 Change "event-event interaction" to "element-element interaction".
1117 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1120 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1123 Back to development -> 0.10.21.1
1125 === release 0.10.21 ===
1127 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1130 releasing 0.10.21, "Take These Things From Me"
1132 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1135 0.10.20.4 pre-release
1137 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1139 * libs/gst/base/gstbasetransform.c:
1140 * plugins/elements/gstcapsfilter.c:
1141 * tests/check/Makefile.am:
1142 * tests/check/elements/.cvsignore:
1143 * tests/check/elements/capsfilter.c:
1144 Fix assertion in basetransform when the subclass chooses not to
1145 allocate a buffer in prepare_buffer(), and make capsfilter error out
1146 cleanly if requested to apply caps that don't completely specify the
1147 buffer. Fixes #551509
1149 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1151 * libs/gst/base/gstbasetransform.c:
1152 (gst_base_transform_prepare_output_buffer):
1153 Take new caps ref because our old one might have been gone when the
1154 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1156 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1159 Do not probe availability of check unit test library when cross
1160 compiling, as test would not work anyway. Also cleanup verbose output
1161 of the check test. Fixes #551952.
1163 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1165 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1167 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1168 Avoid leaking the parent ref when we fail changing the state of the
1169 element using gst_element_sync_state_with_parent(). Fixes #551978.
1171 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1173 * docs/manual/intro-motivation.xml::
1174 Remove some bits that no longer apply, update others (#551642).
1176 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1179 0.10.20.2 pre-release
1187 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1189 * win32/common/config.h.in:
1190 Add GST_DATADIR, hard-code cpu to x86.
1192 * win32/common/libgstreamer.def:
1195 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1198 Fix Since: markers for new geo tags.
1200 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1203 Fix actual tag name define after renaming from altitude to elevation.
1205 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1207 * gst/gstpad.c: (add_unref_pad_to_list),
1208 (gst_pad_get_internal_links_default):
1209 Add fallback when calling the deprecated function on an element that
1210 implements the new internal_link handler.
1212 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1214 * docs/gst/gstreamer-sections.txt:
1217 Add new tags for geo location and clarify purpose of existing location
1220 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1222 Patch by: Olivier Crete <tester at tester dot ca>
1224 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1225 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1226 Use thread-safe internal links iterator. Fixes #549504.
1228 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1230 Based on patch by: Olivier Crete <tester at tester dot ca>
1232 * docs/gst/gstreamer-sections.txt:
1233 * win32/common/libgstreamer.def:
1234 * gst/gstpad.c: (gst_pad_init),
1235 (gst_pad_set_iterate_internal_links_function),
1236 (int_link_iter_data_free), (iterate_pad),
1237 (gst_pad_iterate_internal_links_default),
1238 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1240 Add threadsafe replacement functions for getting internal links of an
1241 element. Deprecate the old internal links functions.
1242 API:GstPad::gst_pad_set_iterate_internal_links_function()
1243 API:GstPad::GstPadIterIntLinkFunction
1244 API:GstPad::gst_pad_iterate_internal_links()
1245 API:GstPad::gst_pad_iterate_internal_links_default()
1247 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1248 (gst_proxy_pad_init):
1249 Implement threadsafe internal links.
1251 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1252 Unit test for internal links on tee. See #549504.
1254 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1256 * tests/check/Makefile.am:
1257 libs/transform1 test requires libs/test_transform.c
1259 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1261 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1262 Die evil deadlock, die !
1264 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1266 * gst/gstutils.c: (gst_element_get_compatible_pad):
1267 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1268 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1269 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1270 not steal the refcount of the given caps as stated.
1272 REVERT THIS COMMIT ONCE FIXED !
1273 REVERT THIS COMMIT ONCE FIXED !
1274 REVERT THIS COMMIT ONCE FIXED !
1275 REVERT THIS COMMIT ONCE FIXED !
1276 REVERT THIS COMMIT ONCE FIXED !
1277 REVERT THIS COMMIT ONCE FIXED !
1279 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1281 * gst/gstiterator.c:
1282 * gst/gstiterator.h:
1283 After 3 years it's about time to revise the documentation of the
1286 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1289 Make the internal links function less thread-unsafe and add some
1290 comments, dunno why.
1292 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1294 * gst/gst_private.h:
1295 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1296 build with --disable-gst-debug.
1298 2008-08-28 David Schleef <ds@schleef.org>
1300 * gst/gstpadtemplate.c: Revert last change, since it breaks
1301 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1302 but shouldn't be enabled until we've released fixed versions
1303 of -good and -ffmpeg.
1305 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1308 Put the gst_object_get_name() back in.
1310 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1312 * gst/gstpadtemplate.c:
1313 The old behaviour was that gst_pad_template_new() takes ownership of
1314 the caps. As we now call g_object_new() which calls g_object_set() and
1315 which copies the caps, we have to unref them to not leak them. Fixes
1316 make valgrid for me.
1318 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1321 Don't segfault on input like "tel:+1-123-555-1234".
1323 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1326 Due to popular request also include ObjectType in
1327 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1329 2008-08-26 David Schleef <ds@schleef.org>
1331 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1332 src_val must be positive, because that's not a requirement.
1333 This causes problems with converting negative granulepos
1335 * gst/gstquery.c: Same, gst_query_new_convert().
1337 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1339 * gst/gstclock.c: (gst_clock_add_observation):
1340 Add some more debugging to the clock slaving code.
1342 * win32/common/libgstbase.def:
1343 Add new basetransform method.
1345 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1347 * gst/gstbin.c: (gst_bin_element_set_state):
1348 Take the (recursive) state lock between getting the locked state of an
1349 element and changing the element state. This allows the application to
1350 lock an element's state and then change its state without races.
1352 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1354 * gst/gstbin.c: (gst_bin_element_set_state):
1355 When an element is in the locked state we still want to update the
1356 base_time of the element.
1358 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1360 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1361 Use the result from gst_pad_set_caps() instead of assuming the element
1362 always accepted the caps computed by the default negotiate function.
1364 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1366 * docs/libs/gstreamer-libs-sections.txt:
1367 * libs/gst/base/gstbasetransform.c:
1368 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1369 (gst_base_transform_chain), (gst_base_transform_suggest),
1370 (gst_base_transform_reconfigure):
1371 * libs/gst/base/gstbasetransform.h:
1372 Implement method for reconfiguring basetransform.
1373 API: GstBaseTransform::gst_base_transform_reconfigure()
1375 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1377 patch by: Murray Cumming <murrayc@murrayc.com>
1380 Mention that this is just like gst_buffer_merge() but with extra
1381 unreffing for C coders. Advise language bindings not to wrap it.
1384 Also fix file comment.
1386 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1388 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1390 * plugins/elements/gstfakesink.c:
1391 * plugins/elements/gstfakesrc.c:
1392 Call super::event() when not handling it. Fixes #544855.
1394 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1396 Patch by: Alessandro Decina <alessandro@nnva.org>
1397 * plugins/elements/gstfilesrc.c:
1398 Use 64 bit variants of stat functions on win32, to enable support
1399 of large files there.
1402 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1404 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1405 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1406 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1407 (gst_base_sink_get_position), (gst_base_sink_change_state):
1408 Improve position reporting in the flushing state.
1409 Also report the position when we are not yet prerolled but we
1410 have a newsegment event. Fixes #543444.
1411 Improve the pull-based negotiation code.
1413 * tests/check/elements/fakesink.c: (GST_START_TEST),
1415 Add testcase for position reporting while flushing in PAUSED and
1418 * tests/check/generic/sinks.c: (GST_START_TEST):
1419 Update unit-test, we can now query the position as soon as we receive a
1422 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1424 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1426 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1427 When the subclass event handler releases the PREROLL_LOCK, we could be
1428 in the flushing state and we have to ignore the event. Fixes #548394.
1430 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1432 * tools/gst-launch.1.in:
1433 Document GST_REGISTRY_UPDATE environment variable.
1435 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1437 * libs/gst/base/gstbasetransform.c:
1438 (gst_base_transform_prepare_output_buffer):
1439 If the element is configured in passthrough mode but the
1440 prepare_output_buffer gave us a new output buffer, discard that buffer
1441 and reuse the input buffer.
1443 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1445 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1447 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1448 (gst_tee_request_new_pad), (gst_tee_release_pad),
1449 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1450 * plugins/elements/gsttee.h:
1451 Protect pad_alloc with a new lock so that we can be sure that nothing is
1452 performing a pad_alloc when removing the pad. Fixes #547835.
1454 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1455 (buffer_alloc_harness_teardown), (app_thread_func),
1456 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1457 Added testcase for shutdown race.
1459 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1464 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1466 * libs/gst/base/gstbasetransform.c:
1467 (gst_base_transform_prepare_output_buffer),
1468 (gst_base_transform_buffer_alloc):
1469 Go over the buffer_alloc function again and make sure we always end up
1470 allocating a buffer.
1472 Avoid doing pad alloc when we have a pending suggestion because we
1473 cannot yet deal with changing caps in that case. Fixes #547728
1475 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1477 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1479 * docs/manual/advanced-clocks.xml:
1480 * docs/manual/clocks.png:
1481 * docs/manual/diagrams-clocks.svg:
1482 Add one more image showing different times together with a describing
1483 paragraph. Fixes #547729.
1485 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1487 * win32/common/libgstbase.def:
1490 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1492 * libs/gst/base/gstbasetransform.c:
1493 (gst_base_transform_transform_caps),
1494 (gst_base_transform_prepare_output_buffer),
1495 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1496 Don't overwrite the outsize when calculating the expected size of a new
1497 buffer because we still need it in case we cannot process the new
1499 When converting the size of the new buffer to an upstream size, actually
1500 use the expected size of the buffer, not some other random value.
1501 Use an atomic int to signal that a new upstream caps suggestion is
1503 When we can convert the current buffer to a new format, check if the
1504 buffer size is of the expected size and allocate a new buffer of the
1505 expected size when this is not the case. Fixes #546883.
1507 * tests/check/libs/transform1.c: (GST_START_TEST):
1508 remove ifdeffed code from the unit test.
1510 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1512 * pkgconfig/gstreamer-uninstalled.pc.in:
1513 * pkgconfig/gstreamer.pc.in:
1514 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1515 called gstcontroller-0.10.
1517 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1519 * gst/gstchildproxy.h:
1521 Remove double interface from doc-string.
1523 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1525 * libs/gst/base/gstbasesrc.c:
1526 * libs/gst/base/gstbasetransform.c:
1527 Fix headings in docs and gtk-doc warnings.
1529 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1531 * gst/gstregistrybinary.c:
1532 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1536 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1538 * libs/gst/base/gstbasetransform.c:
1539 (gst_base_transform_buffer_alloc):
1540 Fix a "may be used unitialized" warning.
1542 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1544 * docs/gst/gstreamer-sections.txt:
1546 Document preset-iface vmethods.
1548 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1550 * docs/manual/advanced-interfaces.xml:
1551 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1552 only used to discover devices.
1554 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1556 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1558 * gst/gst.c: (init_pre):
1559 Make sure gettext returns translations in UTF-8 encoding rather
1560 than in the current locale encoding (#546822).
1562 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1564 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1567 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1568 Improve unit test subset tests and add a testcase for the subset failure
1571 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1572 Improve subtraction unit test.
1574 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1576 * plugins/elements/gsttee.c:
1577 Unlock, instead of locking again.
1579 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1582 Clarify the docs a bit more.
1584 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1586 * tests/examples/metadata/read-metadata.c:
1587 Don't leak old taglist.
1589 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1591 Patch by: Olivier Crete <tester at tester dot ca>
1593 * gst/gststructure.c:
1594 (gst_structure_fixate_field_nearest_fraction):
1595 Avoid overflows in fixation code when dealing with MAXINT values, which
1596 v4l2src seems to do.
1599 * tests/check/gst/gststructure.c: (GST_START_TEST):
1600 Make a unit test to check the fix.
1602 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1604 * plugins/elements/gstcapsfilter.c: (copy_func),
1605 (gst_capsfilter_set_property):
1606 Use new caps suggestion feature of basetransform to request a caps
1607 negotiation upstream.
1609 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1611 * docs/libs/gstreamer-libs-sections.txt:
1613 API: GstBaseTransform::gst_base_transform_suggest()
1615 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1616 (gst_base_transform_init), (gst_base_transform_transform_caps),
1617 (gst_base_transform_transform_size),
1618 (gst_base_transform_configure_caps),
1619 (gst_base_transform_can_transform),
1620 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1621 (gst_base_transform_prepare_output_buffer),
1622 (gst_base_transform_buffer_alloc),
1623 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1624 (gst_base_transform_chain), (gst_base_transform_activate),
1625 (gst_base_transform_set_passthrough),
1626 (gst_base_transform_is_passthrough),
1627 (gst_base_transform_set_in_place),
1628 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1629 (gst_base_transform_set_qos_enabled),
1630 (gst_base_transform_is_qos_enabled),
1631 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1632 (gst_base_transform_reconfigure):
1633 * libs/gst/base/gstbasetransform.h:
1634 Rewrite of basetransform to perform negotiation outside of the
1635 buffer_alloc functions. Fixes #545853.
1637 * tests/check/libs/transform1.c: (GST_START_TEST),
1641 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1643 * tests/check/gst/gstpreset.c:
1644 Only run preset tests when $HOME is writable. Preliminary fix for
1647 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1649 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1650 (gst_bin_change_state_func), (bin_handle_async_done),
1651 (gst_bin_handle_message_func):
1652 Fix race for bins that simulate ASYNC state changes by inserting
1653 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1654 pending ASYNC messages even when the bin does not have ASYNC children.
1655 We note detect this behaviour because we will receive an ASYNC message
1656 that is originating from the bin itself.
1657 Fixes races with decodebin2 state changes.
1659 * tests/check/gst/gstbin.c: (GST_START_TEST):
1660 Add some more debug.
1662 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1664 * gst/gsttaglist.c: (_gst_tag_initialize):
1667 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1670 Argh. actually save the text before committing. Now adds
1671 gst_tag_merge_strings_with_comma() to gst_tag_register().
1673 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1677 Do as tim pointed out and actually register the new tag. Also improve
1678 te docs and use gst_tag_merge_strings_with_comma() method to allow
1679 retriving all keywords merged in one list.
1681 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1684 * docs/gst/gstreamer.types:
1685 Revert 'accidential' change of the configure option removal. We still
1686 need to generate the types file in configure --disable-load-save.
1688 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1690 * docs/gst/gstreamer-sections.txt:
1692 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1694 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1696 * gst/gstpadtemplate.c:
1697 (gst_pad_template_class_init), (gst_static_pad_template_get),
1698 (gst_pad_template_new), (gst_pad_template_pad_created),
1699 (gst_pad_template_set_property), (gst_pad_template_get_property):
1700 Add "name-template", "direction", "presence" and "caps" properties,
1701 so that gst_pad_template_new() is just a thin wrapper around
1702 g_object_new(), which is better for bindings. (Fixes: #539772)
1704 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1707 Be more liberal in what URIs we accept.
1708 Do not unescape bits of the URI for no apparent reason before passing to
1709 the element. Fixes #545352.
1711 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1713 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1716 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1718 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1721 * docs/gst/gstreamer-sections.txt:
1722 * docs/gst/gstreamer.types:
1723 * docs/gst/gstreamer.types.in:
1726 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1727 * gst/gstconfig.h.in:
1728 * gst/gstelement.c: (gst_element_get_index):
1729 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1730 (gst_registry_binary_load_feature),
1731 (gst_registry_binary_read_cache):
1732 * gst/gstregistryxml.c: (load_feature),
1733 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1734 * plugins/Makefile.am:
1736 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1737 (print_plugin_features), (print_element_features):
1738 * tools/gst-xmlinspect.c: (print_event_masks),
1739 (print_element_info):
1740 * win32/common/gstconfig.h:
1741 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1743 Disabling the indexers and URI handler code will only reduce the
1744 required amount of memory by a very small amount but on the other hand
1745 requires much more maintaince work. Apart from that many places of
1746 code are broken when disabling them.
1748 Disabling the enum types doesn't reduce the required amount of memory
1749 by more than a few bytes and makes it hard to fix bugs like #539772,
1750 i.e. use the enums as GObject properties.
1752 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1754 * docs/design/part-TODO.txt:
1755 Add some thoughts and problems with upstream renegotiation.
1757 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1759 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1760 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1761 Remove silly redundant debug.
1762 Add some more debug info.
1763 Clarify the docs regarding new caps received from pad_alloc.
1765 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1767 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1768 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1769 Make setting the caps more threadsafe.
1771 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1773 * docs/design/part-element-transform.txt:
1776 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1778 * plugins/elements/gstqueue.c: (gst_queue_init),
1779 (gst_queue_acceptcaps):
1780 Add and use a custom acceptcaps function instead of falling back to the
1781 potentially less optimized default implementation.
1783 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1785 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1786 Only sanity-check the buffer size if requested_caps == buffer_caps
1787 (ie. don't take pad caps into account, they're not relevant here)
1789 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1791 * plugins/elements/gsttee.c:
1792 * plugins/elements/gsttee.h:
1793 Reverting as not everything is clear yet. Needs some general design
1796 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1799 ChangeLog surgery for tee commit.
1801 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1803 * docs/gst/gstreamer-sections.txt:
1804 Cleanup section-file.
1806 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1808 * plugins/elements/gsttee.c:
1809 * plugins/elements/gsttee.h:
1810 Relay tag events in tee. Fixes parts of #474016.
1811 Downgrades 3 reoccurring debugs to log.
1813 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1816 * libs/gst/Makefile.am:
1817 Build the net library if we have winsock2.
1819 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1821 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1823 * docs/manual/advanced-threads.xml:
1824 * docs/manual/diagrams-pipelines.svg:
1825 * docs/manual/hello-world.png:
1826 * docs/manual/linked-elements.png:
1827 * docs/manual/mime-world.png:
1828 * docs/manual/queue.png:
1829 * docs/manual/thread-buffering.png:
1830 * docs/manual/thread-synchronizing.png:
1831 Replace one diagram with two separate ones and updates others.
1834 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1837 Fix link in documentation.
1839 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1842 Fix confusing documentation.
1844 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1846 * libs/gst/base/gstbasesrc.h:
1847 revert the changes to the header file for the ABI.
1849 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1851 * libs/gst/base/gstbasesrc.c:
1852 * libs/gst/base/gstbasesrc.h:
1853 Don't cache the seekable status.
1856 2008-07-24 Rene Stadler <mail@renestadler.de>
1858 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1859 code to close the pipeline graph. This prevents the program from
1860 printing internal data flow errors.
1862 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1864 * docs/manual/basics-bus.xml:
1865 Correct typo. Fixes bug #544320.
1867 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1870 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1871 Add check (taken from -base) for winsock, adds WIN32_LIBS
1873 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1875 Define GST_EXPORTS when building libgstreamer (only used on win32)
1876 * gst/gst_private.h:
1878 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1879 for symbols that we need to export in both these files.
1881 Include gst_private.h higher up to avoid some compile problems on win32.
1883 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1888 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1891 Previous commit was wrong NULL caps does not exist
1892 and indicate an error, so also add a FIXME to
1893 gst_caps_is_equal where NULL caps are accepted.
1895 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1898 Allow passing of NULL to gst_caps_union
1900 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1902 * gst/gstghostpad.c:
1903 Add in doc that gst_ghost_pad_set_target can accept
1904 NULL to clear target
1906 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1909 * gst/gstregistry.c:
1910 GstRegistryPool doesn't exist; don't refer to it in docs.
1911 Don't refer to functions that don't exist in docs, it's
1914 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1917 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1919 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1921 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1923 * docs/pwg/building-testapp.xml:
1924 Don't use an undeclared variable in the example program.
1927 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1929 * gst/gstdebugutils.c:
1930 Squeeze ghost-pad links and remove <> from classname labels to save
1931 more horizontal space.
1933 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1935 * gst/gstdebugutils.c:
1936 Give request and sometimes pads a different shpe style. Condense the
1937 graphs a little more.
1939 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1942 Don't require flex and bison if the parser is disabled.
1944 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1946 * libs/gst/controller/gstinterpolationcontrolsource.c:
1947 (_list_find_sorted_custom):
1948 Don't use declarations after statements.
1950 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1952 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1953 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1954 of the the child-added / -removed signals as GstChildProxy
1955 only supports GstObjects.
1957 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1959 * gst/gstdebugutils.c:
1962 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1964 Patch by: Alessandro Decina <alessandro at nnva dot org>
1967 Fix "ignored return value" compiler warning with newer glibc.
1969 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1971 * gst/gstchildproxy.c:
1972 Fix copy&paste error in gst_child_proxy_removed() documentation.
1974 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1976 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1977 Print error debug message if plugin description fields that should
1980 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1981 Don't crash if the string to serialise is NULL (it really should
1982 not be, but apparently this used to work with the xml registry ...).
1984 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1986 * tools/gst-plot-timeline.py:
1987 Fix parsing of log messages
1989 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1991 * win32/common/libgstbase.def::
1992 Sort alphabetically so make check-exports doesn't barf.
1994 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1997 Use gst_format_get_name() to improve debug output.
2000 Remove #ifdef'ed code. Add TODO comment.
2003 Add debug output to ease spotting format != segment.format assertions.
2005 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2007 * tests/check/libs/gdp.c: (gst_dp_suite):
2008 Also enable the GDP unit test again on PPC now that the bug
2011 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2013 * libs/gst/dataprotocol/dataprotocol.c:
2014 Don't write to the same region of memory as a uint64 and uint16
2015 as this breaks strict aliasing rules and apparantly breaks on PPC
2016 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2018 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2020 * libs/gst/controller/gstinterpolationcontrolsource.c:
2021 Optimize list handling. Use own find function. Exploit that fact that
2022 the list is sorted. Also pass back the node before, so that we can
2023 insert quickly. Have a fast path for append.
2025 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2027 * docs/design/draft-framestep.txt:
2028 * docs/design/part-negotiation.txt:
2031 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2034 Show configuration sumary after configure run. Based on patch by
2035 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2037 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2039 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2041 * docs/manual/advanced-autoplugging.xml:
2042 * docs/manual/advanced-threads.xml:
2043 * docs/manual/basics-bins.xml:
2044 * docs/manual/basics-elements.xml:
2045 * docs/manual/basics-helloworld.xml:
2046 * docs/manual/basics-pads.xml:
2047 Add scale factor for pdf output.
2049 * docs/manual/intro-basics.xml:
2050 Switched sections "pads" and "bins" and added a pipeline diagram.
2052 * docs/manual/intro-gstreamer.xml:
2053 Added more info on gstreamer.
2055 * docs/manual/intro-motivation.xml:
2056 Commented out the whole section "current problem", which sounds
2057 historical and somehow osolete; it could be turned in a positive
2058 way and reused to improve the design principles.
2060 * docs/manual/intro-preface.xml:
2061 - Update URLs to library.gnome.org.
2062 - Do not mention GTK+ in preliminary reading (irrelevant).
2063 - Mention Plugin Writer's Manual and further reading only in the
2065 - Added a list of most relevant GObject/glib topics.
2067 * docs/manual/Makefile.am:
2068 * docs/manual/bin-element-ghost.fig:
2069 * docs/manual/bin-element-ghost.png:
2070 * docs/manual/bin-element-noghost.fig:
2071 * docs/manual/bin-element-noghost.png:
2072 * docs/manual/bin-element.fig:
2073 * docs/manual/bin-element.png:
2074 * docs/manual/filter-element-multi.fig:
2075 * docs/manual/filter-element-multi.png:
2076 * docs/manual/filter-element.fig:
2077 * docs/manual/filter-element.png:
2078 * docs/manual/gstreamer-overview.png:
2079 * docs/manual/hello-world.fig:
2080 * docs/manual/hello-world.png:
2081 * docs/manual/linked-elements.fig:
2082 * docs/manual/linked-elements.png:
2083 * docs/manual/mime-world.fig:
2084 * docs/manual/mime-world.png:
2085 * docs/manual/queue.fig:
2086 * docs/manual/queue.png:
2087 * docs/manual/simple-player.png:
2088 * docs/manual/sink-element.fig:
2089 * docs/manual/sink-element.png:
2090 * docs/manual/src-element.fig:
2091 * docs/manual/src-element.png:
2092 * docs/manual/diagrams-general.svg:
2093 * docs/manual/diagrams-pipelines.svg:
2094 Removed .fig, added .png counterpart.
2098 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2100 * plugins/elements/gstmultiqueue.c:
2101 * plugins/elements/gstmultiqueue.h:
2102 revert extra-size-buffers stuff, caused some race conditions
2103 and extra-size-buffers is not used anymore. Docs needs some updates
2105 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2107 * win32/common/config.h:
2108 * win32/common/gstenumtypes.c:
2109 * win32/common/gstenumtypes.h:
2110 * win32/common/gstversion.h:
2113 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2115 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2116 (GST_DEBUG_BIN_TO_DOT_FILE):
2117 Add missing Since' markers to gtk-doc blurbs.
2119 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2121 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2122 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2123 (set_caps_1), (set_caps_ct1), (transform_ct1),
2124 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2125 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2126 (transform_size_ct2), (buffer_alloc_ct2):
2127 Add some more tests with switching caps in buffer_alloc.
2129 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2131 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2132 (gst_test_trans_class_init), (result_sink_chain),
2133 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2134 (gst_test_trans_push), (gst_test_trans_pop):
2135 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2136 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2137 (set_caps_1), (set_caps_ct1), (transform_ct1),
2138 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2139 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2140 (transform_size_ct2), (buffer_alloc_ct2),
2141 (gst_basetransform_suite):
2142 More tests, prepare for tests with switching caps in buffer_alloc.
2144 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2146 * plugins/elements/gstmultiqueue.c:
2147 * plugins/elements/gstmultiqueue.h:
2148 Fix dead-lock in underrun_cb
2150 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2152 * docs/design/part-states.txt:
2153 Fix device open/close docs.
2155 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2158 Mention bugnumber for last commit.
2160 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2162 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2164 * docs/manual/manual.xml:
2165 - Reorganised the previous "introduction" bundle into Foreword,
2166 Introduction, and About GStreamer. The two first are <preface>
2167 docbook elements. The later is the first part of the book.
2168 - added intro-gstreamer.xml (content partially from
2170 - moved appendix-win32.xml into appendix-integration.xml
2172 * docs/manual/intro-preface.xml: gstreamer section moved...
2173 * docs/manual/intro-gstreamer.xml: ...here. new file.
2175 * docs/manual/appendix-win32.xml: removed file. Content moved...
2176 * docs/manual/appendix-integration.xml: ...here.
2178 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2179 * docs/manual/appendix-checklist.xml: ...here.
2183 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2185 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2187 * docs/manual/basics-helloworld.xml:
2188 * docs/manual/hello-world.fig:
2189 - Explicitely include glib.h.
2190 - Do not use global variables.
2191 - Use g_printerr() instead of g_print().
2192 - Minor formating/renaming to increase readibility.
2193 - Renamed new_pad() to on_pad_added()
2194 - Improved explenatory comments.
2195 - renamed ogg parser to ogg demuxer
2196 - Use "autoaudiosink" instead of "alsasink".
2199 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2202 Remove cvs conflict marker.
2204 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2207 Document that for plgin-docs we extraxt he short-desc from the element
2210 * docs/design/part-states.txt:
2211 Tell that devices should be closed in PAUSED -> READY.
2213 * docs/manual/README:
2214 Document how tests in the manual are handled.
2219 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2221 * gst/gstbin.c: (bin_query_latency_fold):
2222 Only care about latency min and max when the sink is actually a live
2225 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2227 * docs/design/part-block.txt:
2230 * docs/design/part-element-transform.txt:
2231 Add notes about why transform needs to know input/output sizes.
2232 Add some issues that need to be solved.
2233 Add some more use cases.
2235 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2236 (gst_test_trans_class_init), (result_sink_chain),
2237 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2238 (gst_test_trans_push), (gst_test_trans_pop):
2239 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2240 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2241 (set_caps_1), (set_caps_ct1), (transform_ct1),
2242 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2243 (gst_basetransform_suite):
2244 Add suport for different pad templates and buffer-alloc.
2245 Add more checks for caps and buffer-alloc.
2246 Add checks for proxy buffer alloc.
2247 Add unit test for copy transform.
2249 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2251 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2253 * docs/manual/appendix-integration.xml:
2254 * docs/manual/appendix-licensing.xml:
2255 * docs/manual/basics-elements.xml:
2256 * docs/manual/basics-helloworld.xml:
2257 * docs/manual/basics-pads.xml:
2258 * docs/manual/highlevel-components.xml:
2259 * docs/manual/highlevel-xml.xml:
2260 * docs/manual/intro-basics.xml:
2261 * docs/manual/intro-preface.xml:
2262 Typo and formatting fixes (#538594).
2264 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2266 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2267 Fix some memory leaks and uses of object instances that we don't
2270 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2272 * plugins/elements/gstmultiqueue.c:
2273 Add functionality to extra-size-buffers property.
2275 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2277 * plugins/elements/gstmultiqueue.c:
2278 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2279 activate the pads if they are added in STATE_NULL.
2281 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2283 * docs/libs/gstreamer-libs-sections.txt:
2285 * libs/gst/check/gstcheck.c:
2286 * libs/gst/check/gstcheck.h:
2287 API: gst_check_teardown_pad_by_name
2289 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2291 * libs/gst/check/gstcheck.c:
2292 * libs/gst/check/gstcheck.h:
2293 Also setup request pads and allow setup pads by name (#537812)
2294 API: gst_check_setup_src_pad_by_name
2295 API: gst_check_setup_sink_pad_by_name
2297 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2299 * tests/check/gst/gstbuffer.c:
2300 * tests/check/pipelines/parse-launch.c:
2301 Use HAVE_VALGRIND_H some more.
2303 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2305 * scripts/cvs-update.sh:
2306 Pass arguments to make.
2307 Run autoregen.sh if Makefile is not there.
2309 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2313 Don't assume that <valgrind/valgrind.h> exists just because
2314 the binary is there.
2316 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2318 * tests/check/Makefile.am:
2319 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2320 (gst_test_trans_class_init), (gst_test_trans_init),
2321 (gst_test_trans_set_data), (result_sink_chain),
2322 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2323 (gst_test_trans_pop):
2324 * tests/check/libs/transform1.c: (GST_START_TEST),
2325 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2326 Add some test basetransform element and the beginnings of various
2329 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2331 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2332 Increase code readability.
2333 Don't try to compare buffer offsets when ther are invalid.
2335 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2337 * docs/design/Makefile.am:
2338 Dist some more design docs.
2340 * docs/random/moving-plugins:
2341 Small addition: good plugins mustn't have functional code
2342 within assertion macros.
2344 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2346 * docs/design/draft-framestep.txt:
2347 Some ideas about a framestep API
2349 * docs/design/part-element-transform.txt:
2350 Start design and use cases for basetransform in order to get it
2353 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2356 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2357 be in UTF-8 encoding.
2359 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2362 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2364 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2366 * plugins/elements/gstcapsfilter.c:
2367 * plugins/elements/gstfakesink.c:
2368 * plugins/elements/gstfakesrc.c:
2369 * plugins/elements/gstfdsink.c:
2370 * plugins/elements/gstfdsrc.c:
2371 * plugins/elements/gstfilesink.c:
2372 * plugins/elements/gstfilesrc.c:
2373 * plugins/elements/gstidentity.c:
2374 * plugins/elements/gstmultiqueue.c:
2375 * plugins/elements/gstqueue.c:
2376 * plugins/elements/gsttee.c:
2377 * plugins/elements/gsttypefindelement.c:
2378 Remove short_description. Add basic docs for gsttypefindelement.
2379 Simplify markup for fakesrc/fdsrc.
2381 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2383 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2386 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2388 Patch by: Joel Larsson <tilljoel at gmail dot com>
2390 * docs/plugins/gstreamer-plugins.args:
2391 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2392 (gst_fd_src_init), (gst_fd_src_update_fd),
2393 (gst_fd_src_set_property), (gst_fd_src_get_property),
2394 (gst_fd_src_create):
2395 * plugins/elements/gstfdsrc.h:
2396 Add timeout property like udpsrc. Fixes #538628.
2397 Add some more docs and example pipelines.
2399 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2401 * docs/libs/gstreamer-libs-sections.txt:
2402 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2403 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2404 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2405 (gst_base_sink_do_sync):
2406 * libs/gst/base/gstbasesink.h:
2407 * win32/common/libgstbase.def:
2408 Add method to allow sinks to specify additional delay between the sync
2409 times and the actual rendering of the data.
2410 API: gst_base_sink_set_render_delay()
2411 API: gst_base_sink_get_render_delay()
2413 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2416 Bump version number back to dev -> 0.10.20.1
2418 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2420 * docs/gst/gstreamer-sections.txt:
2421 * gst/gsttaglist.c: (_gst_tag_initialize):
2423 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2426 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2428 * libs/gst/controller/gstcontroller.c:
2429 Revert one change, that make ret value possible uninitialized.
2431 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2433 * libs/gst/controller/gstcontroller.c:
2434 Use freeze/thaw notify to sync notify emission a bit (its also more
2435 efficient). Move debug output to LOG (is called a lot in a loop).
2436 Always unset g_values if the have been initialized.
2438 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2441 (gst_base_sink_wait_eos), (gst_base_sink_event):
2442 If we have not seen a buffer before EOS, use the segment values to
2443 report the current position instead of invalid positions.
2445 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2447 * docs/plugins/tmpl/.cvsignore:
2448 * tests/check/gst/.cvsignore:
2451 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2453 * libs/gst/controller/gstinterpolation.c:
2454 * libs/gst/controller/gstinterpolationcontrolsource.c:
2455 * tests/check/libs/controller.c:
2456 Rewrite handling of default values. Fix overflow with unsigned types
2457 in linear interpolation. Remove now obsolete _first_value() function.
2458 Add more tests. Fixes #538201.
2460 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2462 * libs/gst/base/gstbasetransform.c:
2463 (gst_base_transform_class_init), (gst_base_transform_init),
2464 (gst_base_transform_transform_caps),
2465 (gst_base_transform_prepare_output_buffer):
2467 When a buffer is writable, its metadata is also writable so we don't
2468 need to subbuffer (which then makes the buffer not-writable anymore).
2470 === release 0.10.20 ===
2472 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2475 releasing 0.10.20, "You Crazy Diamond"
2477 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2480 0.10.19.3 pre-release
2482 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2486 Rename DATADIR to GST_DATADIR to avoid build problems
2487 on win32. Patch By: David Schleef <ds@schleef.org>
2490 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2493 Explicitely link with -ldl if dladdr() is found there. Before it was
2494 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2495 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2497 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2499 * gst/gsterror.c: (_gst_stream_errors_init):
2500 Fix typo (spotted by Fabricio Godoy, #536723).
2502 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2505 0.10.19.2 pre-release
2507 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2509 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2510 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2512 Make sure we don't generate invalid QoS messages.
2514 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2516 * gst/gstevent.c: (gst_event_new_qos):
2517 Add some assert and docs for invalid input to the qos function.
2519 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2521 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2522 (gst_base_sink_get_position):
2523 The reported position must always be smaller than the last seen
2524 timestamps (or timestamp + duration for reverse).
2526 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2528 Patch by: Rob Bradford <rob at robster dot org dot uk>
2530 * gst/gstregistry.c: (gst_registry_scan_path_level):
2531 Don't recurse into .debug directories as some distros install
2532 the debugging symbols next to the plugins in .debug directories
2533 and dlopen() crashes on them sometimes. Fixes bug #508070.
2535 Add FIXME for 0.11 to not recurse into directories at all because
2536 it's very inconsistent to the behaviour of other PATH environment
2539 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2541 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2542 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2543 Fix position query range checks in reverse playback.
2545 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2549 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2550 clear of the reference to the resulting pad must be released later
2551 or not, resulting in possible leaks. Fixes bug #533865.
2553 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2555 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2557 * gst/gstelementfactory.c:
2558 Small doc fix. Fixes #535285.
2560 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2562 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2564 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2565 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2566 (gst_base_src_loop), (gst_base_src_set_flushing),
2567 (gst_base_src_change_state):
2568 Make sending an EOS event to the basesrc non-blocking even if the
2569 implementation does blocking waits in the create function. This is done
2570 by unlocking the create function when EOS is sent.
2573 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2575 * tools/gst-inspect.c: (print_element_properties_info):
2576 If possible print the element type of GValueArray properties.
2578 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2580 * gst/gstiterator.c:
2581 Remove an unused field from the private GstListIterator struct.
2583 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2585 * libs/gst/controller/gstcontroller.c:
2586 Add parameter guards.
2588 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2590 * tests/check/gst/gstpipeline.c:
2591 Revert test change and add comment why it should not work.
2593 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2595 * tests/check/gst/gstpipeline.c:
2596 Extending the test a little to verify that we also get the NULL state-
2599 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2601 * gst/gstpreset.c: (gst_preset_default_get_meta),
2602 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2603 (gst_preset_load_preset), (gst_preset_save_preset),
2604 (gst_preset_rename_preset), (gst_preset_delete_preset),
2605 (gst_preset_set_meta):
2606 Add Since: markers to docs blurbs.
2608 * win32/common/libgstreamer.def:
2609 Add recently-added API.
2611 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2613 Patch by: Stefan Kost <ensonic@users.sf.net>
2616 Add DATADIR for storing presets.
2618 * docs/gst/gstreamer-docs.sgml:
2619 * docs/gst/gstreamer-sections.txt:
2620 * docs/gst/gstreamer.types.in:
2621 Add GstPreset to docs.
2625 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2626 (preset_open_and_parse_header), (preset_parse_version),
2627 (preset_merge), (preset_get_keyfile),
2628 (gst_preset_default_get_preset_names),
2629 (gst_preset_default_get_property_names),
2630 (gst_preset_default_load_preset),
2631 (gst_preset_default_save_presets_file),
2632 (gst_preset_default_save_preset),
2633 (gst_preset_default_rename_preset),
2634 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2635 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2636 (gst_preset_default_reset), (gst_preset_get_preset_names),
2637 (gst_preset_get_property_names), (gst_preset_load_preset),
2638 (gst_preset_save_preset), (gst_preset_rename_preset),
2639 (gst_preset_delete_preset), (gst_preset_set_meta),
2640 (gst_preset_get_meta), (gst_preset_class_init),
2641 (gst_preset_base_init), (gst_preset_get_type):
2643 Add GstPreset to core. Fixes #396779
2645 * tests/check/Makefile.am:
2646 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2647 (gst_preset_test_set_property), (gst_preset_test_class_init),
2648 (gst_preset_test_base_init), (gst_preset_test_get_type),
2649 (gst_preset_test_plugin_init), (GST_START_TEST),
2650 (remove_preset_file), (test_setup), (test_teardown),
2652 Add GstPreset unit tests.
2654 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2656 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2657 The default event function on a sinkpad should return TRUE when
2658 there are no internal links but should collect the return values from
2659 the internal links otherwise.
2661 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2663 * plugins/elements/gsttypefindelement.c:
2664 (gst_type_find_element_src_event),
2665 (gst_type_find_element_handle_event):
2666 Use faster and safer _pad_push_event().
2668 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2670 * docs/gst/gstreamer-sections.txt:
2671 * gst/gstutils.c: (element_find_unlinked_pad),
2672 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2674 API: add gst_bin_find_unlinked_pad()
2675 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2677 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2683 Fixed a bunch of typos.
2685 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2688 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2689 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2690 (gst_parse_bin_from_description_full):
2692 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2694 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2696 * docs/pwg/advanced-tagging.xml:
2697 Small docs update, can't be bothered to rewrite the nonsensical
2700 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2703 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2705 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2707 * gst/parse/grammar.y:
2708 Remove unneeded casts.
2710 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2712 * gst/parse/grammar.y:
2713 * tests/check/pipelines/parse-launch.c:
2714 Get all missing elements from a parse launch string if possible
2715 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2717 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2719 * tests/check/Makefile.am:
2720 * tests/check/pipelines/parse-launch.c:
2721 Add some unit tests for the new gst_parse_launch*_full() API.
2722 (Exposes a previously-existing memory leak in the error code
2723 path, so adding to VALGRIND_TO_FIX for now).
2725 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2727 * docs/gst/gstreamer-sections.txt:
2728 * gst/gst.c: (init_post):
2729 * gst/gst_private.h: (_GstParseContext):
2730 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2731 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2732 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2733 (gst_parse_launch_full):
2734 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2735 (GstParseFlags), (GstParseContext):
2736 * gst/gstutils.c: (gst_parse_bin_from_description),
2737 (gst_parse_bin_from_description_full):
2739 * gst/parse/grammar.y:
2740 * gst/parse/types.h:
2741 * win32/common/libgstreamer.def:
2742 Add new gst_parse_*_full API (#528178):
2743 API: gst_parse_launch_full()
2744 API: gst_parse_launchv_full()
2745 API: gst_parse_bin_from_description_full()
2746 API: gst_parse_context_new()
2747 API: gst_parse_context_free()
2748 API: gst_parse_context_get_missing_elements()
2750 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2752 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2754 * docs/faq/gst-uninstalled:
2755 Also support ffmpeg in gst-uninstalled.
2757 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2760 After discussion on IRC use the binary registry as default
2761 but allow to disable it with --disable-binary-registry.
2763 * win32/common/libgstreamer.def:
2764 Add the two new symbols for the binary registry.
2766 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2768 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2769 * gst/gstutils.c: (gst_parse_bin_from_description):
2770 * gst/parse/grammar.y: (graph):
2771 More guards against bad input; typo fix; some minor clean-ups.
2773 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2775 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2777 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2778 If nothing else can be used, use the last buffer's start time as
2779 the segment's last stop. Fixes bug #534258.
2781 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2783 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2784 Move size sanity check to the right place: downstream may return
2785 a buffer with a smaller size if the buffer caps are different than
2786 the requested ones, as may happen when doing reverse negotiation.
2788 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2790 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2791 (gst_file_sink_render):
2792 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2793 (gst_file_src_start):
2794 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2797 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2799 * gst/gstpad.c: (gst_pad_load_and_link):
2800 * gst/gstutils.c: (gst_element_link_pads),
2801 (gst_element_unlink_pads):
2802 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2803 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2804 (gst_check_teardown_sink_pad),
2805 (gst_check_element_push_buffer_list):
2806 * tests/check/elements/fakesink.c: (GST_START_TEST):
2807 * tests/check/elements/filesink.c:
2808 * tests/check/elements/filesrc.c: (GST_START_TEST):
2809 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2810 (mq_sinkpad_to_srcpad):
2811 * tests/check/elements/tee.c: (GST_START_TEST):
2812 * tests/check/generic/sinks.c: (GST_START_TEST):
2813 * tests/check/gst/gstbin.c: (GST_START_TEST):
2814 * tests/check/gst/gstevent.c: (GST_START_TEST):
2815 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2816 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2817 * tests/check/gst/gstquery.c: (GST_START_TEST):
2818 * tests/check/gst/gstutils.c: (GST_START_TEST):
2819 * tests/check/libs/basesrc.c: (GST_START_TEST):
2820 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2821 (gst_parse_test_element_change_state):
2822 Don't use gst_element_get_pad().
2824 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2827 Fix installing plugin documentation when gtk-doc is disabled.
2829 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2831 * docs/manual/advanced-autoplugging.xml:
2832 * docs/manual/basics-helloworld.xml:
2833 * docs/manual/basics-pads.xml:
2834 * docs/manual/highlevel-components.xml:
2835 Avoid using a bad function in the example code.
2837 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2839 * gst/gstclock.c: (gst_clock_set_calibration):
2840 Fix debug of the new clock rate.
2842 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2844 * win32/common/libgstbase.def:
2845 Add gst_base_sink_wait_clock() to the exported symbols.
2847 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2849 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2851 * libs/gst/base/gstbasetransform.c:
2852 (gst_base_transform_sink_event):
2853 Unref events that the GstBaseTransform::event vfunc didn't want to
2854 have forwarded by the base class. Closes a leak in identity.
2857 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2859 * docs/libs/gstreamer-libs-sections.txt:
2860 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2861 * libs/gst/base/gstbasesink.h:
2862 Expose a method that was previously used internally to synchronize
2863 against the clock because it can be useful for subclasses too.
2864 API: GstBaseSink::gst_base_sink_wait_clock()
2866 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2868 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2869 Add sanity check to make sure we don't get smaller buffers
2870 than requested (and fallback to normal buffer alloc if we do).
2872 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2874 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2875 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2876 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2877 Refactor adjusting the running_time with latency and offset into a
2879 When doing clipping, we still want to use the subclass get_times method,
2880 just in case the DURATION or TIMESTAMP are not set.
2882 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2884 * docs/gst/gstreamer-sections.txt:
2885 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2886 * gst/gsttypefind.h:
2887 * win32/common/libgstreamer.def:
2888 API: add gst_type_find_suggest_simple(), #533740.
2890 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2892 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2893 Use right error code when typefinding fails, so we can use
2894 the default (translated) error messages.
2896 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2898 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2899 (gst_base_src_start):
2900 When the subclass did not set caps on outgoing buffers, configure the
2901 caps we negotiated on the source pad.
2902 When the typefind helper does not find caps, error out properly instead
2903 of doing things with NULL caps.
2905 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2907 * gst/gsttypefind.h:
2908 Tabs to spaces, oh yes!
2910 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2912 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2913 Add David's and Benjamin's tests for array intersection to the
2914 unit test suite (#147931).
2916 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2919 Document that gst_event_new_tag() and gst_event_new_navigation()
2920 take ownership of the taglist/structure passed to them. (#533635).
2922 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2925 Don't descend into the plugins dir if plugin docs building
2929 Add a note about the new type:GTypeName syntax for the plugin
2930 documentation .types file.
2932 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2934 * gst/gstmessage.c: (gst_message_new_error),
2935 (gst_message_new_warning), (gst_message_new_info):
2937 Mark the debug string parameters as const. Fixes bug #533490.
2939 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2941 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2942 Sort buffer cache list by end offsets. This makes sure that we don't
2943 stop to search for a cached buffer that contains the requested data
2945 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2946 more efficient. Fixes bug #459862.
2948 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2951 Explain why we copy the list.
2953 * gst/gstpipeline.c:
2957 Add one debug-log statement to help tracing probelms with linking pads.
2959 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2961 * tests/check/gst/gstinfo.c:
2962 Add a test for removing the default log handler. Seems to fail under
2965 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2967 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2968 Release pad lock before calling out to avoid a possible deadlock.
2970 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2972 * gst/parse/grammar.y:
2973 Remove unneeded value unset.
2975 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2976 Add unit test for de/serialization of caps.
2978 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2980 * plugins/elements/gstfakesink.c:
2981 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2982 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2983 (gst_fake_src_class_init):
2984 Use custom marshalers that take GstMiniObject as first parameter.
2985 Using OBJECT as parameter while a GstMiniObject is given will lead
2986 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2988 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2990 * plugins/elements/gsttypefindelement.c:
2991 (gst_type_find_element_handle_event),
2992 (gst_type_find_element_send_cached_events),
2993 (gst_type_find_element_change_state):
2994 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2997 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2999 * plugins/elements/gsttypefindelement.c:
3000 (gst_type_find_handle_src_query), (stop_typefinding),
3001 (gst_type_find_element_handle_event),
3002 (gst_type_find_element_send_cached_events),
3003 (gst_type_find_element_change_state):
3004 Forward FLUSH_START events immediately and clean up instead of
3007 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3009 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3011 * libs/gst/base/gstbasetransform.c:
3012 (gst_base_transform_buffer_alloc):
3013 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3014 fall back to default negotiation in the chain function if the caps
3015 are different from what was requested. Fixes bug #526768.
3017 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3020 * tests/check/gst/gstsegment.c:
3021 No, let's not use g_slice_{dup|copy} here, since they only exist
3022 since GLib 2.14 and we still depend only on >= 2.12. Also add
3023 unit test for gst_segment_copy().
3025 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3027 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3028 Try to fix 'dereferencing type-punned pointer will break strict
3029 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3030 changed the default GType typedef from gulong to gsize at some point,
3031 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3032 g_once_* functions all take a gsize * though, so work around the type
3033 mismatch for C++ by doing everything in gsize and casting to GType
3036 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3038 * plugins/elements/gstmultiqueue.c:
3039 Add documentation for the signals to push our core plugin docs
3040 coverage back up to 100%.
3042 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3044 * gst/gstinfo.h (GST_FUNCTION):
3045 Reverted GST_FUNCTION to the old version as we don't want the
3046 full signature in C++ code. Also added support for MSVC.
3048 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3051 Intern the type name string, similar to what G_DEFINE_TYPE does.
3053 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3056 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3058 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3060 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3062 * libs/gst/base/gstbasetransform.c:
3063 (gst_base_transform_buffer_alloc):
3064 Don't passthrough buffer allocation too easily if the caps change.
3065 This breaks when working in passthrough mode and upstream changes
3066 it's caps. Fixes bug #526768.
3068 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3070 * gst/gstinfo.c (gst_debug_log_valist):
3071 Improved the __FILE__ part of debug output for MSVC.
3073 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3075 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3076 Declaration after statement fix for compilers like MSVC.
3078 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3080 * win32/common/config.h.in:
3081 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3082 use the real thing than having "???" unconditionally.
3084 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3086 * gst/gstinfo.h (GST_FUNCTION):
3087 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3089 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3091 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3094 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3095 (gst_base_sink_set_flushing):
3096 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3099 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3101 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3102 (gst_fake_src_init), (gst_fake_src_set_property),
3103 (gst_fake_src_get_property), (gst_fake_src_start):
3104 * plugins/elements/gstfakesrc.h:
3105 Added format property to control the format of the newsegment events.
3106 API: GstFakeSrc:format
3108 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3110 * win32/common/libgstreamer.def:
3111 Add gst_pad_has_name() to the exported symbols.
3113 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3115 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3116 * libs/gst/base/gstbasetransform.c:
3117 (gst_base_transform_prepare_output_buffer):
3118 Don't allow negative sizes when allocating new buffers.
3121 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3123 Patch by: Sjoerd Simons <sjoerd at luon net>
3125 * gst/gstbus.c: (gst_bus_source_dispatch):
3126 Don't print a warning if the queue is empty when we try to pop
3127 here. That could happen if another thread or callback set the
3128 bus to flushing between the source's check/prepare and the
3129 dispatch being called (#531538).
3131 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3133 * plugins/elements/gstmultiqueue.c:
3136 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3138 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3139 Add unit test for deserializing uint64s and check some really large
3140 numbers in the int64 test.
3142 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3144 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3145 (print_interfaces), (print_element_properties_info),
3146 (print_signal_info):
3147 Use "%s" as format string instead of printing strings directly.
3149 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3151 * gst/gstclock.c: (gst_clock_set_calibration):
3152 Make some checks actually useful.
3154 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3155 Remove some unused code. Unsigned integers tend to be >= 0.
3157 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3159 * gst/gstminiobject.c: (gst_value_get_mini_object):
3160 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3161 function was not in the unscheduled 0.10.19 release.
3163 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3165 * gst/gstregistry.c: (gst_registry_scan_path_level):
3166 Only print one log message per non-plugin file.
3168 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3170 * gst/gstinfo.c: (gst_debug_log_default):
3171 Fix alignment of debug log columns on 64-bit.
3173 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3175 * docs/libs/Makefile.am:
3176 * docs/libs/gstreamer-libs-sections.txt:
3177 Ignore private controller headers for docs.
3179 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3181 * libs/gst/controller/gstcontrollerprivate.h:
3182 * libs/gst/controller/gsthelper.c:
3183 * libs/gst/controller/gstinterpolation.c:
3184 * libs/gst/controller/gstinterpolationcontrolsource.c:
3185 (gst_interpolation_control_source_set_interpolation_mode):
3186 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3187 * libs/gst/controller/lib.c:
3188 Move some private declarations into private headers.
3190 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3192 * gst/gstdebugutils.c: (debug_dump_element_pad):
3193 Remove some code that is unused after Stefan's refactoring and uses
3194 uninitialized variables now, resulting in a compiler warning.
3196 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3198 * gst/gstregistry.c: (gst_registry_scan_path_level):
3199 Run g_str_has_suffix() only on the file name, not the
3202 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3204 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3205 Since we're not called only from the chain function any longer,
3206 we can't assume that there's always data in the queue, so move
3207 the is_full check to the beginning of the loop (otherwise we'd
3208 hit the assert when changing the limit properties while the
3209 queue is empty or not running yet).
3210 Also, only set a discont if items were actually removed from
3213 * tests/check/elements/queue.c: (test_leaky_downstream):
3214 Test case for the above.
3216 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3218 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3220 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3221 (gst_queue_chain), (queue_capacity_change),
3222 (gst_queue_set_property):
3223 When changing thr max capacity of a leaky queue, immediatly drop buffers
3224 instead of waiting for a push on the sinkpad. Fixes #530637.
3226 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3228 * gst/gstdebugutils.c:
3229 Refactor code and fix handling of ghostpads and their proxypads.
3231 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3233 * docs/gst/gstreamer-sections.txt:
3234 * gst/gstevent.c: (gst_event_has_name):
3236 * tests/check/gst/gstevent.c: (GST_START_TEST):
3237 Add method to conveniently check the name of a custom event with
3238 gst_event_has_name().
3239 Reformat the event docs so that related methods are put together instead
3240 of the default alphabetical sort.
3241 Update unit test with new method.
3242 API: GstEvent::gst_event_has_name()
3244 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3246 * libs/gst/check/Makefile.am:
3247 Don't add an explicit link to libgstreamer-0.10.la; it's already
3248 included in GST_OBJ_LIBS.
3250 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3253 Register GstClock type from a type-safe context. Fixes bug #530317.
3255 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3257 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3259 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3261 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3265 Use the GLib stuff to create a private structure.
3266 Add some locking around some dispose methods to make them a little
3267 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3269 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3271 * libs/gst/base/gstbasesink.h:
3272 * libs/gst/base/gstbasesrc.h:
3273 * libs/gst/base/gstbasetransform.h:
3274 * libs/gst/base/gstcollectpads.h:
3275 Fix doc typos and unify caps a bit.
3277 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3279 * tools/gst-launch.1.in:
3280 Forgot to also add the envvar docs here.
3282 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3284 * gst/gst.c: (init_post), (gst_deinit):
3285 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3286 (test_concurrent_create), (gst_pipeline_suite):
3287 Ref some more classes in gst_init() to work around thread-safety
3288 issues in pre-2.16 GLibs, and add basic unit test.
3290 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3292 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3293 (gst_base_sink_send_event):
3294 Rearrange the latency query code. We always want to do the upstream
3295 query, even if we are not live so that the upstream elements can get the
3296 latency results too. If we fail doing the query and we are live, we
3297 return TRUE afterwards.
3299 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3301 patch by: Jason Zhao <e3423c@motorola.com>
3303 * docs/gst/running.xml:
3305 Enable/disable scan_and_update_registry() based on commandline switch
3306 or environment variable. Fixes #520468.
3309 Fix typo in my previous commit.
3311 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3313 * gst/gstregistrybinary.c:
3314 Add a warning if we hit unhandled factories when saving.
3315 More debug logging detail, but move to LOG category.
3317 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3319 * gst/gstregistry.c:
3320 Tell the *truth* when improving the documentation.
3322 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3324 * gst/gstelementfactory.c: (gst_element_factory_make):
3325 Unref the factory after it was used the last time, not before.
3327 * gst/gstindexfactory.c: (gst_index_factory_make):
3328 Improve debugging a bit and don't leak a ref to the index factory with
3331 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3333 * gst/gstregistry.c:
3334 Improve the documentation.
3336 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3339 The glib macro seems to be borked. Use g_slice_copy directly and cast
3340 in the hope that this fixes the warning on 64bit.
3342 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3345 Document the new function. Use g_slice_dup() (no need for
3346 gst_segment_init()).
3348 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3350 * docs/gst/gstreamer-sections.txt:
3351 Move GParamSepc macros to standart section.
3354 Dn't document _get_type - its in private section in docs anyway and
3355 this doc-blob was incomplete.
3358 Fix wrong symbol names in docs.
3361 Add once doc sentence.
3363 * tests/check/gst/.cvsignore:
3366 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3368 * docs/gst/Makefile.am:
3369 And remove those libs here.
3371 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3373 * docs/libs/Makefile.am:
3374 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3376 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3378 Patch by: Olivier Crete <tester at tester dot ca>
3380 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3381 Add the min-threshold to the min latency if possible. Fixes #529148.
3383 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3385 * docs/gst/gstreamer.types.in:
3386 Stupid editor, I removed that line as it should go in yet.
3388 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3390 * docs/gst/gstreamer.types.in:
3391 * docs/libs/gstreamer-libs.types:
3392 Remove library types fro core docs and have them in libs docs.
3393 Reformat and cleanup. Add comment for miniobject types.
3395 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3397 * gst/gsturi.c: (gst_uri_get_protocol):
3398 Fix leak: g_strdown operates on the string in place, while
3399 g_ascii_strdown() returns a newly-allocated string.
3401 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3403 * tools/gst-inspect.c: (print_uri_handler_info),
3404 (print_element_info):
3405 Print the URI protocols and the URI type supported by the element.
3407 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3409 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3410 Use g_value_take_string() instead of the deprecated
3411 g_value_set_string_take_ownership().
3413 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3415 * gst/gstregistrybinary.c: (_gst_crc32):
3416 Return the old CRC instead of 0 if we give a NULL buffer
3417 or a buffer with a length of 0.
3419 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3422 (gst_uri_get_protocol), (gst_uri_has_protocol),
3423 (gst_uri_construct), (gst_uri_handler_set_uri):
3424 A valid URI scheme can also include '+', '-' and '.' additional
3425 to alphanumeric characters as per RFC 3986 Section 3.1.
3427 Handle URI schemes case insensitive in all places and convert
3428 to lower-case when constructing an URI or setting an URI with
3429 the GstURIHandler interface. Fixes bug #528868.
3430 All elements can still assume (as before) that they will
3431 get passed URIs with a lower-case URI scheme by the GstURIHandler
3434 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3436 * gst/gstcaps.c: (gst_static_caps_get):
3437 * gst/gstclock.c: (gst_clock_entry_new):
3438 Don't use g_atomic_set_int where it's not needed.
3440 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3442 * gst/gstvalue.c: (gst_value_deserialize_caps):
3443 * gst/parse/grammar.y:
3446 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3448 * gst/gstutils.c: (gst_atomic_int_set):
3449 Use g_atomic_int_set() here too instead of assignment +
3452 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3456 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3457 now that we depend on new enough GLib.
3459 * gst/gstcaps.c: (gst_static_caps_get):
3460 * gst/gstclock.c: (gst_clock_entry_new):
3461 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3462 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3463 (gst_debug_category_set_threshold):
3464 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3465 (gst_base_sink_set_qos_enabled):
3466 * libs/gst/net/gstnettimeprovider.c:
3467 (gst_net_time_provider_set_property):
3468 Use g_atomic_int_set() instead of gst_atomic_int_set().
3470 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3473 Also use G_GINT64_CONSTANT for the queries.
3475 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3478 Use G_GINT64_CONSTANT in varargs function.
3480 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3482 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3483 Initialize the registry magic with zeroes.
3485 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3487 * gst/gstregistrybinary.c: (_gst_crc32),
3488 (gst_registry_binary_write),
3489 (gst_registry_binary_initialize_magic),
3490 (gst_registry_binary_write_cache),
3491 (gst_registry_binary_check_magic),
3492 (gst_registry_binary_read_cache):
3493 * gst/gstregistrybinary.h:
3494 Add crc32 checksum to the binary registry file and check this before
3495 accepting a registry file.
3497 Also free the data list when writing to the registry file fails.
3499 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3501 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3502 (gst_registry_binary_load_feature),
3503 (gst_registry_binary_load_plugin):
3504 If an element supports the Uri interface, returns a valid pointer
3505 to the supported URI protocols but this pointer contains nothing
3506 don't try to save that as it will corrupt the registry.
3508 Don't unref the plugin if we added it to the registry already but
3509 fail to load a feature as gst_registry_add_plugin() takes ownership
3512 Improve debugging a bit.
3514 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3517 Clarify some tag item docs after discussion on irc.
3519 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3521 * docs/gst/gstreamer-docs.sgml:
3522 Remove commented out plugins (they have their own docs). Update
3525 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3527 * docs/gst/gstreamer-docs.sgml:
3528 * docs/gst/gstreamer-sections.txt:
3529 * gst/gstparamspecs.c:
3530 * gst/gstparamspecs.h:
3531 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3532 docs to own section.
3535 This now only documents GValue.
3537 * docs/libs/gstreamer-libs-sections.txt:
3538 * libs/gst/controller/gstcontroller.h:
3539 Remove GST_PARAM_CONTROLLABLE.
3541 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3544 Correct file path. Tell about how to use -overrides.txt.
3545 * docs/design/draft-tagreading.txt:
3546 Small design update.
3548 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3550 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3551 (gst_registry_binary_load_plugin):
3552 Fix a typo in a debug message and revert change from yesterday as
3553 gst_registry_add_plugin() will only fail if something is really wrong
3554 already and we can't survive it anyway.
3556 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3558 * gst/gst.c: (init_post), (gst_deinit):
3559 Pre-register GstGError GType from a thread-safe context
3560 (fixes #527967); unref enum type classes in deinit.
3562 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3564 Patch by: Rene Stadler <mail at renestadler de>
3566 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3567 Merging an empty list with another list in KEEP_ALL mode should
3568 yield an empty list as result and not the second list (#512578).
3570 * tests/check/gst/gsttagsetter.c:
3571 Add unit test for tag merge modes and the aforementioned bug.
3573 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3575 Patch by: Rene Stadler <mail at renestadler de>
3578 Fix description to match the order in the table (#512577).
3580 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3582 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3584 * libs/gst/net/gstnettimepacket.h:
3585 * docs/libs/gstreamer-libs-sections.txt:
3586 Define socklen_t as int if it's not defined yet. Fixes compilation
3587 with MSVC6 and other versions where socklen_t is not defined in
3588 the windows headers (#518022).
3590 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3592 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3593 If gst_registry_add_plugin() fails our reference to the plugin is
3594 invalid so don't try to use it anymore and instead error out.
3596 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3598 * tools/gst-xmlinspect.c: (print_element_info), (main):
3599 De-cruft a bit. If no argument is specified, print all elements in
3600 XML syntax rather than a freestyle list of elements like gst-inspect.
3601 Also, don't print XML header chunk unless we actually have something
3602 to print (ie. don't print it before an error message); print error
3603 message to stderr not stdout. Remove support for printing plugin
3604 info (it would just output something freestyle along the lines of
3605 gst-inspect so far), which fixes #514507. Also add license header.
3607 2008-04-11 Julien Moutte <julien@fluendo.com>
3610 * configure.ac: Merge platform specific defines, introduce a new
3611 define on OS X to remember that forking when updating registry is
3613 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3615 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3617 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3618 condition that leads to absolutely no plugins being registered on
3621 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3623 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3625 * gst/gstutils.c: (gst_pad_add_data_probe),
3626 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3627 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3628 (gst_pad_add_buffer_probe_full):
3630 * docs/gst/gstreamer-sections.txt:
3631 * win32/common/libgstreamer.def:
3632 Add gst_pad_add_*_probe_full() functions with a notify callback that
3633 lets the caller free the data it passes to the probe functions. This
3634 is useful for bindings such as gst-python or gstreamermm (#526814).
3635 API: gst_pad_add_data_probe_full
3636 API: gst_pad_add_buffer_probe_full
3637 API: gst_pad_add_event_probe_full
3639 * tests/check/gst/gstutils.c:
3640 Add minimal unit test to make sure freeing the data actually works
3643 * tests/benchmarks/.cvsignore:
3644 Random cvsignore addendum.
3646 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3648 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3649 (GST_DEBUG_BIN_TO_DOT_FILE):
3650 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3651 to it in the docs (since these are macros the types of the arguments
3652 won't be shown in the docs otherwise).
3654 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3657 Do not abort on out of memory for pad_alloc_buffer.
3659 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3661 * libs/gst/check/gstcheck.c:
3662 Remove blank line between symbol name ad parameters to fix gtkdoc
3665 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3667 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3669 * docs/gst/gstreamer-sections.txt:
3672 * win32/common/libgstreamer.def:
3673 Expose gst_segment_copy() to make things easier for the c++ bindings.
3675 API: gst_segment_copy()
3677 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3679 * gst/gst.c: (gst_init_get_option_group), (init_post):
3680 Fix const position; ref GType classes for enum types to work
3681 around thread-safety issues in GLib versions < 2.16.
3683 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3685 * docs/design/part-buffering.txt:
3686 Fix some typos and set the estimated total for push mode to -1.
3688 * gst/gstquery.c: (gst_query_new_buffering):
3689 Set buffering-left to 0 as we're not buffering by default.
3691 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3692 Implement BUFFERING query.
3694 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3696 Based on patch by: Milosz Derezynski <internalerror gmail com>
3698 * gst/gsterror.c: (_gst_stream_errors_init):
3700 Add two new error codes for encrypted content. Fixes #524659.
3701 API: GST_STREAM_ERROR_DECRYPT
3702 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3704 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3709 * win32/common/libgstreamer.def:
3712 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3714 * plugins/elements/gstidentity.c: (gst_identity_event),
3715 (gst_identity_start):
3716 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3717 event after processing some data. Fixes bug #526042.
3719 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3721 * docs/gst/gstreamer-sections.txt:
3722 * gst/gstquery.c: (gst_query_parse_latency),
3723 (gst_query_set_buffering_percent),
3724 (gst_query_parse_buffering_percent),
3725 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3727 Rename _avail -> _range
3728 API: gst_query_set_buffering_range
3729 API: gst_query_parse_buffering_range
3731 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3733 * docs/design/part-buffering.txt:
3736 * gst/gstquery.c: (gst_query_parse_latency),
3737 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3738 (gst_query_parse_buffering_percent):
3740 Add busy field and quark for the buffering query so that the app can
3741 only use the query to see if buffering is in progress.
3743 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3745 * docs/gst/gstreamer-sections.txt:
3746 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3747 (gst_message_parse_buffering_stats):
3749 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3750 (gst_query_parse_latency), (gst_query_new_buffering),
3751 (gst_query_set_buffering_percent),
3752 (gst_query_parse_buffering_percent),
3753 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3754 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3756 Reorder the message docs and headers for clarity.
3757 Add aditional buffering stats API for messages.
3758 Add buffering query.
3759 Convert some leftover queries to use GstQuark.
3760 API: gst_message_set_buffering_stats
3761 API: gst_message_parse_buffering_stats
3762 API: GST_QUERY_BUFFERING
3763 API: GstBufferingMode
3764 API: gst_query_new_buffering
3765 API: gst_query_set_buffering_percent
3766 API: gst_query_parse_buffering_percent
3767 API: gst_query_set_buffering_stats
3768 API: gst_query_parse_buffering_stats
3770 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3772 * gst/gstmessage.c: (gst_message_new_error),
3773 (gst_message_new_warning), (gst_message_new_info),
3774 (gst_message_new_buffering), (gst_message_new_state_changed),
3775 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3776 (gst_message_new_new_clock), (gst_message_new_segment_start),
3777 (gst_message_new_segment_done), (gst_message_new_duration),
3778 (gst_message_new_async_start), (gst_message_parse_buffering),
3779 (gst_message_parse_state_changed),
3780 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3781 (gst_message_parse_new_clock), (gst_message_parse_error),
3782 (gst_message_parse_warning), (gst_message_parse_info),
3783 (gst_message_parse_segment_start),
3784 (gst_message_parse_segment_done), (gst_message_parse_duration),
3785 (gst_message_parse_async_start):
3786 Use GstQuark for messages.
3788 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3790 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3792 Add some more quarks needed for messages and queries.
3794 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3796 * docs/design/part-buffering.txt:
3797 Remove the "none" buffering mode, STREAM is a good default.
3798 Move estimated-time to the avail query, that's when it will be needed.
3799 Other small typo fixes and updates.
3801 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3803 * gst/gstindex.c: (gst_index_resolver_get_type):
3804 Don't put descriptions into the nick field of a GEnumValue: it's not
3805 meant for that and some language bindings rely on the nick field to
3806 construct constants and the like. Fixes #526705.
3808 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3813 Merge other changes from 0.10.19 release branch.
3815 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3817 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3820 Actually build dlls when cross-compiling with mingw32.
3823 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3825 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3828 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3830 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3832 * docs/design/draft-latency.txt:
3835 * docs/design/part-buffering.txt:
3836 Update design docs with more buffering ideas.
3838 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3841 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3843 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3846 Revert part that belongs to the preset patch.
3848 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3851 Add qoutes to the define. Fixes # 525961.
3853 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3855 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3856 (gst_file_index_load), (gst_file_index_add_id),
3857 (gst_file_index_get_assoc_entry):
3858 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3859 (gst_mem_index_free_id), (gst_mem_index_add_id),
3860 (gst_mem_index_index_format):
3861 Use GSlice when possible.
3863 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3865 * libs/gst/controller/gstinterpolationcontrolsource.c:
3866 (gst_control_point_free),
3867 (gst_interpolation_control_source_set_internal):
3868 Use GSlice for allocating the control points.
3870 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3872 * plugins/elements/gsttypefindelement.c:
3873 (gst_type_find_element_class_init),
3874 (gst_type_find_element_set_property),
3875 (gst_type_find_element_get_property),
3876 (gst_type_find_element_activate):
3877 * plugins/elements/gsttypefindelement.h:
3879 Fix pad leak when peer query fails.
3880 We can still typefind when the peer returns -1.
3881 Add property to force caps and bypass typefinding. This will be used in
3885 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3890 * gst/glib-compat-private.h:
3891 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3892 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3893 Unconditionally use GSlice for allocation.
3895 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3896 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3897 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3898 (gst_structure_free):
3899 Use GSlice for allocation.
3901 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3903 * gst/parse/Makefile.am:
3904 * gst/parse/grammar.tab.pre.c:
3905 * gst/parse/grammar.tab.pre.h:
3906 * gst/parse/lex._gst_parse_yy.pre.c:
3907 Require a new enough flex and bison and remove the parser hacks to use
3908 a pre-regenerated version.
3910 2008-04-01 Julien Moutte <julien@fluendo.com>
3912 patch by: Jason Zhao <E3423C@motorola.com>
3914 * configure.ac: Add a configure switch to disable option parsing
3918 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3921 * gst/gstregistry.c:
3922 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3923 and handle this case.
3926 Add a comment here describing, why we stat each plugin and not try to
3929 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3931 * libs/gst/base/gstbasetransform.c:
3932 (gst_base_transform_prepare_output_buffer):
3933 Also unset the GAP flag on buffers if we're working inplace but
3934 the element is not GAP-aware.
3936 Mark a comment as FIXME 0.11.
3938 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3941 Fix type in log message and add one to ease seeing how long registry
3942 cache verification takes.
3944 * gst/gstregistry.c:
3945 Only test plugin filenames against G_MODULE_SUFFIX.
3947 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3949 * gst/gstdebugutils.c:
3950 Improve handling ghost/proxy pads.
3952 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3954 * docs/gst/gstreamer-sections.txt:
3957 Expose macro to docs and fix link to it.
3959 2008-03-27 Michael Smith <msmith@fluendo.com>
3961 * libs/gst/dataprotocol/dataprotocol.c:
3962 (gst_dp_packet_from_event_1_0):
3963 When calculating GDP body CRC, use the correct pointer.
3964 Fixes part of #522401.
3966 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3968 Patch by: Mark Nauwelaerts <manauw at skynet be>
3970 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3971 (gst_identity_init), (gst_identity_prepare_output_buffer):
3972 Identity is not always a passthrough element, it can modify the buffer
3973 timestamps when it has a datarate and operates in single-segment mode.
3974 We therefore make it an in_place filter with a custom buffer prepare
3975 function that conditionally makes the input buffer metadata writable
3976 when needed. Fixes #523985.
3978 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3980 Patch by: Mark Nauwelaerts <manauw at skynet be>
3983 * libs/gst/base/gstbasesrc.h:
3984 * libs/gst/base/gstbasetransform.c:
3985 * libs/gst/check/gstcheck.c:
3986 Small documentation fixes. Fixes #523978.
3988 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3990 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3991 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3992 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3994 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3996 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3997 (single_queue_underrun_cb):
3998 When trying to make room in the queue, bump the max allowed buffers
3999 bigger than the current amount of buffers in the queue. this fixes some
4000 nasty deadlocks in multiqueue when dynamically changing the limits of
4003 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4005 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4007 * gst/gstcaps.c: (gst_caps_set_simple),
4008 (gst_caps_set_simple_valist), (gst_caps_intersect):
4010 Constify the field gchar * params in set_simple and friends.
4013 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4015 * gst/gstvalue.c: (gst_value_transform_object_string):
4016 Transform a GstObject to a more meaningfull string that includes the
4017 object type in addition to its name.
4019 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4022 ChangeLog surgery to add bugnumber to commit.
4024 2008-03-23 Rene Stadler <mail@renestadler.de>
4026 * libs/gst/base/gstbasetransform.c:
4027 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4029 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4031 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4032 Rename constant everywhere and don't forget one occurence.
4034 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4036 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4037 Align memory to the pointer size even if the architecture allows
4038 unaligned memory access. Unaligned memory access usually comes with
4039 performance penality.
4041 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4043 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4044 (gst_registry_binary_check_magic),
4045 (gst_registry_binary_load_pad_template),
4046 (gst_registry_binary_load_feature),
4047 (gst_registry_binary_load_plugin):
4048 Align memory to the pointer size instead of always 32 bit. Fixes
4049 unaligned memory accesses on ia64 and friends.
4051 * gst/gstregistrybinary.h:
4052 Bump binary registry format version for this as it changes the
4053 format on those architectures that don't have unaligned access
4054 and 64 bit pointers.
4056 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4058 * docs/pwg/advanced-dparams.xml:
4059 * docs/pwg/building-props.xml:
4060 * docs/pwg/other-source.xml:
4061 * gst/glib-compat.h:
4062 * gst/gstbin.c: (gst_bin_class_init):
4063 * gst/gstclock.c: (gst_clock_class_init):
4064 * gst/gstindex.c: (gst_index_class_init):
4065 * gst/gstobject.c: (gst_object_class_init):
4066 * gst/gstpad.c: (gst_pad_class_init):
4067 * gst/gstpipeline.c: (gst_pipeline_class_init):
4068 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4069 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4070 * libs/gst/base/gstbasetransform.c:
4071 (gst_base_transform_class_init):
4072 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4073 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4074 (_gst_check_fault_handler_sighandler),
4075 (_gst_check_fault_handler_setup), (gst_check_init):
4076 * libs/gst/controller/gstcontroller.c:
4077 (_gst_controller_class_init):
4078 * libs/gst/controller/gstlfocontrolsource.c:
4079 (gst_lfo_control_source_class_init):
4080 * libs/gst/net/gstnetclientclock.c:
4081 (gst_net_client_clock_class_init):
4082 * libs/gst/net/gstnettimeprovider.c:
4083 (gst_net_time_provider_class_init):
4084 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4085 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4086 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4087 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4088 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4089 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4090 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4091 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4092 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4093 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4094 * plugins/elements/gsttee.c: (gst_tee_class_init):
4095 * plugins/elements/gsttypefindelement.c:
4096 (gst_type_find_element_class_init):
4097 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4098 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4099 use it everywhere for GParamSpecs that use static strings (i.e. all).
4100 This gives us less memory usage, fewer allocations and thus less
4101 memory defragmentation. Fixes bug #523806.
4103 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4105 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4106 (gst_param_spec_mini_object):
4107 * gst/gstminiobject.h:
4108 * win32/common/libgstreamer.def:
4109 * docs/gst/gstreamer-sections.txt:
4110 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4111 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4112 GstParamSpecMiniObject into a public header for this.
4114 This make GstMiniObject a bit more consistent with GObject and makes
4115 it possible to extend the param specs.
4117 gst_value_dup_mini_object is mainly useful for set_property methods.
4121 * tools/gst-inspect.c: (print_element_properties_info):
4122 Print something useful for GstMiniObject properties and not just
4125 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4127 * docs/gst/gstreamer-sections.txt:
4128 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4129 (gst_registry_binary_check_magic):
4130 * gst/gstregistrybinary.h:
4131 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4132 and add it to the (private part) of the docs to fix the build.
4134 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4136 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4137 (gst_registry_binary_check_magic),
4138 (gst_registry_binary_read_cache):
4139 * gst/gstregistrybinary.h:
4140 Don't use GST_MAJORMINOR for the binary registry version. Instead
4141 hardcode a value that must be changed whenever the format changes
4142 in an incompatible way.
4143 Also don't GST_ERROR when there is a version mismatch, just
4144 regenerate the registry silently.
4146 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4149 Back to development - 0.10.18.1
4151 === release 0.10.18 ===
4153 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4156 releasing 0.10.18, "So far away"
4158 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4161 * win32/common/config.h:
4162 0.10.17.4 pre-release
4164 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4166 Patch by: Ole André Vadla Ravnås
4167 <ole dot andre dot ravnas at tandberg dot com>
4169 * docs/gst/gstreamer-sections.txt:
4170 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4171 (gst_poll_update_winsock_event_mask),
4172 (gst_poll_prepare_winsock_active_sets),
4173 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4174 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4175 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4176 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4177 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4179 * win32/common/libgstreamer.def:
4180 Add new function gst_poll_fd_ignored() for improved Windows
4182 Various minor fixes and cleanups. See #520808.
4184 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4186 * gst/gstindex.c: (gst_index_entry_free):
4188 Don't free key strings which we don't own. Fixes crash in
4189 gst_index_entry_free() (#522741).
4191 * tests/check/Makefile.am:
4192 * tests/check/gst/.cvsignore:
4193 * tests/check/gst/gstindex.c: (test_index_entries),
4194 (gst_index_suite), (gst_index):
4195 Add unit test for the above.
4197 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4199 * win32/common/libgstreamer.def:
4200 Remove symbols that were removed recently. Fixes bug #521740.
4202 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4205 * win32/common/config.h:
4206 0.10.17.3 pre-release
4208 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4210 Patch by: Ole André Vadla Ravnås
4211 <ole dot andre dot ravnas at tandberg dot com>
4213 * docs/gst/gstreamer-sections.txt:
4214 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4215 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4216 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4217 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4218 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4219 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4220 (gst_poll_fd_can_write), (gst_poll_wait),
4221 (gst_poll_set_controllable), (gst_poll_restart),
4222 (gst_poll_set_flushing):
4224 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4225 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4226 (gst_net_time_provider_new):
4227 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4228 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4229 * tests/benchmarks/gstpollstress.c: (main):
4230 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4231 Remove GstPollMode from the API, it does not make sense to let the
4232 application control this.
4233 Add support for Win32.
4234 Fix the testsuite. Fixes #520671.
4236 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4238 Patch by: Ole André Vadla Ravnås
4239 <ole dot andre dot ravnas at tandberg dot com>
4241 * gst/gstregistrybinary.c:
4242 Include io.h for write() and close() when building with MSVC. Fixes
4245 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4248 * gst/gst_private.h:
4249 * gst/gstconfig.h.in:
4250 * gst/gstregistry.h:
4251 * gst/gstregistrybinary.c:
4252 * win32/common/gstconfig.h:
4253 Move registry backend API to private headers where we can. Add
4254 fixme-0.11 comments for the others. Add stubs for the xml backend when
4255 using the binary to ensure they functions exists (they should not be
4256 used though). Fixes #520756.
4258 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4261 * win32/common/config.h:
4264 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4266 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4267 (gst_registry_binary_read_cache):
4268 * gst/gstregistryxml.c: (gst_registry_save):
4269 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4270 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4271 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4272 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4273 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4276 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4278 * gst/gstminiobject.c:
4279 Import gst_private.h before any other header that might include other
4280 glib headers. This fixes the build on windows using native compilers.
4282 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4284 * win32/common/gstconfig.h:
4285 Add here too, just for completeness.
4287 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4290 * gst/gstconfig.h.in:
4291 * gst/gstregistry.h:
4292 Fix broken use of config.h-defined preprocessor directive in a public
4293 header file. Add a corresponding define to gstconfig.h, since we can't
4294 really remove those function declarations from the header file now
4295 (or can we? and why are they there in the first place?).
4297 2008-03-03 Andy Wingo <wingo@pobox.com>
4299 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4302 * gst/gststructure.c (gst_structure_from_string): Warn if
4303 structure_from_string didn't consume the whole string, but the
4304 caller did not provide an end pointer.
4306 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4308 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4310 * gst/gstregistryxml.c: (read_string), (load_feature):
4311 Strings allocated by libxml2 should be freed with xmlFree(), not
4312 with g_free(). Fixes issues on windows in certain contexts (#519698).
4314 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4316 * gst/gstinterface.c: (gst_element_implements_interface):
4317 Don't crash if the element supports the interface queried, but does
4318 not implement GstImplementsInterface. Fixes #519584.
4320 * tests/check/Makefile.am:
4321 * tests/check/gst/.cvsignore:
4322 * tests/check/gst/gstinterface.c:
4323 Add unit test for the above.
4325 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4327 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4330 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4332 * gst/gstsegment.c: (gst_segment_set_seek),
4333 (gst_segment_to_stream_time):
4334 Improve some comment.
4335 Update variables where it makes more sense.
4337 2008-02-29 Rene Stadler <mail@renestadler.de>
4339 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4340 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4341 URIHandlers implemented using language bindings.
4343 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4345 * gst/gstelementfactory.h:
4346 * tests/check/elements/fakesink.c:
4347 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4348 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4349 * tests/check/elements/filesink.c: (setup_filesink):
4350 * tests/check/elements/filesrc.c: (setup_filesrc):
4351 * tests/check/elements/identity.c: (setup_identity):
4352 * tests/check/elements/tee.c:
4353 * tests/check/generic/sinks.c:
4354 * tests/check/generic/states.c: (setup), (teardown):
4355 * tests/check/gst/gst.c:
4356 * tests/check/gst/gstabi.c:
4357 * tests/check/gst/gstbin.c:
4358 * tests/check/gst/gstbus.c: (pull_messages):
4359 * tests/check/gst/gstcaps.c:
4360 * tests/check/gst/gstelement.c:
4361 * tests/check/gst/gstevent.c:
4362 * tests/check/gst/gstghostpad.c:
4363 * tests/check/gst/gstiterator.c:
4364 * tests/check/gst/gstmessage.c:
4365 * tests/check/gst/gstminiobject.c: (my_foo_init):
4366 * tests/check/gst/gstobject.c: (thread_name_object),
4368 * tests/check/gst/gstpad.c:
4369 * tests/check/gst/gstplugin.c:
4370 * tests/check/gst/gstpoll.c:
4371 * tests/check/gst/gstquery.c:
4372 * tests/check/gst/gstsegment.c:
4373 * tests/check/gst/gststructure.c:
4374 * tests/check/gst/gstsystemclock.c:
4375 * tests/check/gst/gsttask.c:
4376 * tests/check/gst/gstutils.c:
4377 * tests/check/gst/gstvalue.c:
4378 * tests/check/gst/struct_hppa.h:
4379 * tests/check/gst/struct_i386.h:
4380 * tests/check/gst/struct_ppc32.h:
4381 * tests/check/gst/struct_ppc64.h:
4382 * tests/check/gst/struct_x86_64.h:
4383 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4384 * tests/check/libs/basesrc.c:
4385 * tests/check/libs/controller.c: (GST_START_TEST):
4386 * tests/check/libs/gdp.c:
4387 * tests/check/libs/gstnetclientclock.c:
4388 * tests/check/libs/gstnettimeprovider.c:
4389 * tests/check/libs/libsabi.c:
4390 * tests/check/libs/struct_hppa.h:
4391 * tests/check/libs/struct_i386.h:
4392 * tests/check/libs/struct_ppc32.h:
4393 * tests/check/libs/struct_ppc64.h:
4394 * tests/check/libs/struct_x86_64.h:
4395 * tests/check/pipelines/cleanup.c:
4396 * tests/check/pipelines/simple-launch-lines.c:
4397 * tests/check/pipelines/stress.c:
4398 And correct even more valid sparse warnings.
4400 * win32/common/libgstreamer.def:
4401 Add gst_poll_fd_init to the list of symbols.
4403 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4405 * gst/gstconfig.h.in:
4406 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4407 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4408 (gst_check_log_critical_func), (gst_check_drop_buffers),
4409 (gst_check_element_push_buffer_list):
4410 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4411 (gst_controller_get_type):
4412 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4413 (gst_object_get_controller), (gst_object_get_control_source):
4414 * libs/gst/controller/gstinterpolationcontrolsource.c:
4415 (gst_interpolation_control_source_new):
4416 * libs/gst/controller/gstlfocontrolsource.c:
4417 (gst_lfo_control_source_new):
4418 * libs/gst/dataprotocol/dataprotocol.c:
4419 (gst_dp_event_from_packet_0_2):
4420 * plugins/elements/gstfdsrc.c:
4421 * plugins/elements/gstmultiqueue.c:
4422 * plugins/elements/gsttee.c:
4423 * plugins/elements/gsttypefindelement.c:
4424 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4425 (gst_file_index_add_association):
4426 * plugins/indexers/gstmemindex.c:
4427 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4428 * tests/check/elements/queue.c: (setup_queue):
4429 * tests/check/gst/gstpipeline.c:
4430 * tests/check/libs/collectpads.c: (setup), (teardown),
4431 (gst_collect_pads_suite):
4432 * tests/examples/adapter/adapter_test.c:
4433 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4434 * tests/examples/xml/createxml.c:
4435 * tests/examples/xml/runxml.c:
4436 * tools/gst-inspect.c:
4438 Correct all relevant warnings found by the sparse semantic code
4439 analyzer. This include marking several symbols static, using
4440 NULL instead of 0 for pointers, not using variable sized arrays
4441 on the stack, moving variable declarations to the beginning of
4442 a block and using "foo (void)" instead of "foo ()" for declarations.
4444 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4446 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4447 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4448 Don't reset GstPollFDs, this is not necessary at all.
4450 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4451 (delayed_restart), (delayed_control):
4452 Use GST_POLL_FD_INIT.
4454 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4456 * gst/gstpoll.c: (gst_poll_fd_init):
4460 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4461 Use some more init macros.
4463 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4465 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4466 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4467 Use init macros and functions.
4469 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4471 * docs/gst/gstreamer-sections.txt:
4472 * gst/gstpoll.c: (gst_poll_fd_init):
4474 Add INIT macro and _init method for initializing the GstPollFD.
4476 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4478 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4479 (gst_fd_sink_update_fd):
4480 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4481 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4482 (delayed_restart), (delayed_control):
4483 Initialize some uninitialized variables as spotted by valgrind.
4485 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4487 * tests/benchmarks/Makefile.am:
4488 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4490 Add poll stress test.
4492 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4494 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4496 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4497 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4498 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4499 * plugins/elements/gstfdsink.h:
4500 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4501 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4502 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4503 (gst_fd_src_uri_set_uri):
4504 * plugins/elements/gstfdsrc.h:
4505 Port to GstPoll. See #505417.
4507 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4509 * win32/common/libgstreamer.def:
4510 Add new gst_poll_ symbols to win32 defs.
4512 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4514 * docs/libs/gstreamer-libs-sections.txt:
4515 * libs/gst/net/gstnetclientclock.c:
4516 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4517 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4518 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4519 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4520 * libs/gst/net/gstnetclientclock.h:
4521 * libs/gst/net/gstnettimeprovider.c:
4522 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4523 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4524 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4525 (gst_net_time_provider_new):
4526 * libs/gst/net/gstnettimeprovider.h:
4527 Use a private stuct to not break ABI.
4529 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4531 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4533 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4534 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4535 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4536 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4537 * libs/gst/net/gstnetclientclock.h:
4538 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4539 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4540 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4541 (gst_net_time_provider_new):
4542 * libs/gst/net/gstnettimeprovider.h:
4543 Massive code removal and cleanups because of GstPoll.
4546 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4549 Add checks for poll, ppoll and pselect.
4551 * docs/gst/gstreamer-docs.sgml:
4552 * docs/gst/gstreamer-sections.txt:
4553 Add docs for GstPoll.
4557 * gst/gstpoll.c: (find_index), (selectable_fds),
4558 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4559 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4560 (gst_poll_set_mode), (gst_poll_get_mode),
4561 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4562 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4563 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4564 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4565 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4566 (gst_poll_fd_can_write), (gst_poll_wait),
4567 (gst_poll_set_controllable), (gst_poll_restart),
4568 (gst_poll_set_flushing):
4570 Add generic poll abstraction. We ideally don't want to have this in core
4571 here but in glib intead...
4572 This code will be used in various network elements and ultimately for
4573 the nanosecond precision monotonic clock (that's why it's here in core).
4574 It'll allow us to implement cancelable socket operations for windows too.
4576 * tests/check/Makefile.am:
4577 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4578 (delayed_stop), (delayed_restart), (delayed_flush),
4579 (delayed_control), (gst_poll_suite):
4580 Add GstPoll unit test.
4582 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4585 Improve documentation of gst_filter_run(). Fixes #518627.
4587 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4590 Add a few lines about the new 'check-inspected-versions' target.
4592 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4594 * tests/check/gst/gstevent.c:
4595 Add qos to the event test. Rename tcase/tsuite; is not only about
4598 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4600 * plugins/elements/gstqueue.c:
4601 Ensure that buffer metadata is writeable, before modifying. Spotted by
4604 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4606 * plugins/elements/gstqueue.c:
4607 * plugins/elements/gstqueue.h:
4608 When dropping buffers in leaky modes, mark next buffers we sent as
4611 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4613 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4614 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4616 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4618 * plugins/elements/Makefile.am:
4619 * plugins/elements/gstbufferstore.c:
4620 * plugins/elements/gstbufferstore.h:
4621 * plugins/elements/gsttypefindelement.h:
4622 Remove GstBufferStore, no idea why we were still building it.
4623 It's not used anywhere and superseded by GstAdapter.
4625 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4626 (gst_file_src_create_mmap):
4627 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4628 Printf format fixes for 64-bit integers.
4630 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4633 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4634 We're not in 0.8 times anymore.
4636 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4638 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4639 (gst_check_element_push_buffer_list):
4640 * libs/gst/check/gstcheck.h:
4641 Make the declaration in the header for
4642 gst_check_element_push_buffer_list match the implementation.
4644 Fix up spelling, grammar and wording of the documentation in a few
4645 places, and add the Since keyword to new API functions.
4646 Use g_list_delete_link instead of g_list_remove in
4647 gst_check_drop_buffers, since it's immeasurably more efficient.
4649 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4650 Use new gst_check_drop_buffers function where appropriate.
4652 * win32/common/libgstbase.def:
4653 * win32/common/libgstreamer.def:
4654 Add new symbols gst_collect_pads_take_buffer,
4655 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4658 Changelog surgery to add API keyword to new gst_check API.
4660 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4662 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4663 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4664 Update pre-generated flex files with flex 2.3.34.
4666 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4668 * gst/gstminiobject.c:
4669 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4670 friendly to subclasses and not require them to know all internals
4671 of their parent class.
4673 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4675 * docs/libs/gstreamer-libs-sections.txt:
4676 * libs/gst/base/gstcollectpads.c:
4677 * libs/gst/base/gstcollectpads.h:
4678 Add sub-buffer functions to collectpads. Fixes #516187.
4679 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4681 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4684 Copy selected buffer-flags when creating subbuffers.
4687 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4689 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4690 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4691 * gst/gstmessage.c: (gst_message_class_init),
4692 (gst_message_finalize):
4693 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4694 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4695 (gst_mmap_buffer_finalize):
4696 Properly chain up finalize functions to the parent class.
4698 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4700 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4702 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4703 (gst_index_set_resolver_full):
4705 Add new function with option to dispose of user_data in resolver.
4706 Actually call the dispose function when finalizing the object and not
4707 just when changing the resolver/filter.
4708 API: GstIndex::gst_index_set_resolver_full()
4710 * docs/gst/gstreamer-sections.txt:
4711 Add new function to docs. Fixes #515469.
4713 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4715 * gst/gstindex.c: (gst_index_finalize):
4716 Chain up finalize to the parent class. Fixes leaking the GstObject
4717 name and other things.
4719 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4722 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4723 pre-releases or releases.
4725 * docs/faq/gst-uninstalled:
4728 * docs/random/release:
4729 Change one of the steps - we only upload core & base to Gnome FTP
4731 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4733 * gst/gstconfig.h.in:
4734 Add 'id' for example.
4738 * plugins/elements/gstfdsink.c:
4739 Link to signals. Doc and comment fixes.
4741 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4743 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4744 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4745 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4746 unused and unimplemented; finally, it is plugin features, not
4747 plugins, that have ranks.
4749 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4751 * gst/gstpluginfeature.h:
4752 Clarify GstRank range docs.
4754 2008-02-05 David Schleef <ds@schleef.org>
4756 * gst/gst.c: Add a separate gst_deinitialized that prevents
4757 gst_init() from being called after gst_deinit(). Fixes #509559
4759 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4761 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4762 (gst_bin_class_init):
4763 * gst/gstelement.c: (gst_element_base_class_init),
4764 (gst_element_class_add_pad_template):
4765 * gst/gstpadtemplate.c: (gst_pad_template_init):
4766 * gst/gstpipeline.c: (gst_pipeline_get_type),
4767 (gst_pipeline_base_init), (gst_pipeline_class_init):
4768 * libs/gst/base/gstbasesink.c:
4769 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4770 (gst_base_src_base_init), (gst_base_src_class_init):
4771 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4772 (gst_capsfilter_class_init):
4773 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4774 (gst_fake_sink_class_init):
4775 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4776 (gst_fake_src_class_init):
4777 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4778 (gst_fd_sink_class_init):
4779 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4780 (gst_fd_src_class_init):
4781 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4782 (gst_file_sink_class_init):
4783 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4784 (gst_file_src_class_init):
4785 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4786 (gst_identity_class_init):
4787 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4788 (gst_multi_queue_class_init):
4789 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4790 (gst_queue_class_init):
4791 * plugins/elements/gsttee.c: (gst_tee_base_init),
4792 (gst_tee_class_init):
4793 * plugins/elements/gsttypefindelement.c:
4794 (gst_type_find_element_base_init),
4795 (gst_type_find_element_class_init):
4796 * tests/check/gst/gstelement.c: (gst_element_suite):
4797 Revert previous changes to the behaviour of GstPadTemplates, etc
4798 and the possiblity to call them in class_init as it breaks too
4799 many elements. Reopens bug #491501.
4801 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4804 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4806 * tools/gst-launch.c:
4807 Dump one graph per pipeline state-change and state change name
4808 (if GST_DEBUG_DUMP_DOT_DIR is set).
4810 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4813 * tests/check/gst/gstpad.c:
4814 Be sure that we have a new copy of the caps and not
4815 reffed caps from a template
4817 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4819 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4820 * gst/gstpipeline.c: (gst_pipeline_get_type),
4821 (gst_pipeline_class_init):
4822 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4823 (gst_base_sink_class_init):
4824 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4825 (gst_base_src_class_init):
4826 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4827 (gst_base_transform_class_init):
4828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4829 (gst_collect_pads_class_init):
4830 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4831 * libs/gst/net/gstnettimeprovider.c:
4832 (gst_net_time_provider_base_init),
4833 (gst_net_time_provider_class_init):
4834 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4835 (gst_capsfilter_class_init):
4836 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4837 (gst_fake_sink_class_init):
4838 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4839 (gst_fake_src_class_init):
4840 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4841 (gst_fd_sink_class_init):
4842 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4843 (gst_fd_src_class_init):
4844 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4845 (gst_file_sink_class_init):
4846 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4847 (gst_file_src_class_init):
4848 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4849 (gst_identity_class_init):
4850 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4851 (gst_multi_queue_class_init):
4852 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4853 (gst_queue_class_init):
4854 * plugins/elements/gsttee.c: (gst_tee_base_init),
4855 (gst_tee_class_init):
4856 * plugins/elements/gsttypefindelement.c:
4857 (gst_type_find_element_base_init),
4858 (gst_type_find_element_class_init):
4859 Don't use base_init where not absolutely necessary. For example it's
4860 not necessary anymore for adding pad templates or setting element
4863 Leave empty base_init functions in several places as GST_BOILERPLATE
4864 still defines and uses them.
4866 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4868 * gst/gstelement.c: (gst_element_base_class_init),
4869 (gst_element_class_add_pad_template):
4870 * gst/gstpadtemplate.c:
4871 Make it possible (and recommended) to set element details and add
4872 pad templates in the class_init functions by copying the details/pad
4873 templates in GstElement's base_init.
4875 Also make it possible to replace existing pad templates by adding
4876 a new one with the same name. This was done in a hackish fashion
4877 in same elements before already.
4879 Don't reference pad templates that are added a second time. A
4880 new pad template has a refcount of one and is not floating anymore
4881 and to be owned by the element's class. Make this more explicit by
4882 mentioning it in the docs of gst_element_class_add_pad_template().
4884 These changes are backwards compatible. Fixes bug #491501.
4886 * tests/check/gst/gstelement.c:
4887 Add unit test for setting element details, adding pad templates and
4888 replacing them in a subclass.
4890 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4892 * tools/gst-inspect.c: (print_interfaces),
4893 (print_element_properties_info), (print_pad_info),
4894 (print_signal_info), (print_element_info):
4895 Fix a few memory leaks.
4897 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4899 * docs/libs/gstreamer-libs-sections.txt:
4900 * libs/gst/check/gstcheck.c:
4901 * libs/gst/check/gstcheck.h:
4902 Add more functions for unit testing: gst_check_drop_buffers,
4903 gst_check_caps_equal, gst_check_element_push_buffer_list,
4904 gst_check_element_push_buffer
4905 API: gst_check_drop_buffers
4906 API: gst_check_caps_equal
4907 API: gst_check_element_push_buffer_list
4908 API: gst_check_element_push_buffer
4910 2008-02-01 Julien Moutte <julien@fluendo.com>
4912 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4913 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4914 (gst_index_finalize), (gst_index_entry_free),
4915 (gst_index_add_association): Fix memory leaks.
4916 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4917 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4918 (gst_mem_index_free_format), (gst_mem_index_free_id),
4919 (gst_mem_index_finalize): Fix memory leaks.
4920 * win32/common/config.h: Updated to CVS HEAD.
4922 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4925 Some more details about how the plugin docs works.
4927 * docs/plugins/gstreamer-plugins-sections.txt:
4930 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4932 * gst/parse/grammar.tab.pre.c:
4933 * gst/parse/grammar.tab.pre.h:
4934 * gst/parse/grammar.y:
4935 * gst/parse/lex._gst_parse_yy.pre.c:
4936 Add delayed set-property. This allows to set properties on dynamicaly
4937 created objects (pads in videomxer). Fixes #509391.
4939 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4942 Check if caps are not NULL (fix bug #510194)
4944 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4946 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4947 (gst_base_sink_get_position_paused):
4948 Add fixme regarding EOS in pull mode.
4949 Fix position reporting in PAUSED for negative rates.
4951 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4953 * gst/gstminiobject.c: (gst_mini_object_replace):
4954 When replacing a miniobject, do a quick equality check first so that we
4955 can avoid a ref/unref pair.
4957 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4959 * docs/design/part-synchronisation.txt:
4962 * docs/plugins/Makefile.am:
4963 * docs/plugins/gstreamer-plugins-docs.sgml:
4964 * docs/plugins/gstreamer-plugins-sections.txt:
4965 * plugins/elements/gstmultiqueue.c:
4966 Add multiqueue to the docs.
4968 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4973 === release 0.10.17 ===
4975 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4978 releasing 0.10.17, "Due Negligence"
4980 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4983 Revert caps != NULL check temporarily for 0.10.17 release.
4985 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4988 Check if caps are not NULL (fix bug #510194)
4990 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4993 Fix compilation on systems that have posix timers but no
4996 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4999 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5001 * tools/gst-inspect.c:
5002 Revert previous commit in preparation for an impromptu 0.10.17 release
5004 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5006 * tools/gst-inspect.c: (print_interfaces),
5007 (print_element_properties_info), (print_pad_info),
5008 (print_signal_info), (print_element_info):
5009 Fix a few memory leaks.
5011 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5016 === release 0.10.16 ===
5018 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5021 releasing 0.10.16, "Special Dispensation"
5023 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5026 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5027 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5028 not fail when trying to crosscompile on OpenEmbedded (#511750).
5030 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5033 Use $(MAKE) instead of make to fix the build if GNU make is
5034 called different. Fixes bug #510747.
5036 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5038 * gst/gstplugin.c: (_gst_plugin_initialize):
5039 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5040 again, which I broke two commits ago when changing the API
5041 of gst_plugin_register_static(): the g_list_foreach() in
5042 _gst_plugin_register_static still assumed the old function
5043 signature and would therefore fail (re-fixes #510187).
5045 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5046 (_gst_plugin_register_static), (gst_plugin_register_static):
5047 Revert the (technically correct) change to call g_thread_init() from
5048 the pre-main() constructor. This will break programs which call
5049 g_thread_init() without an if (!g_thread_supported()) guard in their
5050 main function. We could just blame it on GLib or the application, but
5051 it's probably best to just avoid this altogether and simply not use
5052 any GLib functions here and use plain old malloc() with a simple
5053 array to store the plugins to register later when gst_init() is
5054 finally called (re-fixes #510187).
5056 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5057 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5058 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5059 (GST_START_TEST), (gst_plugin_suite):
5060 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5063 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5065 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5066 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5067 This makes gtk-doc complain, but results in slightly better
5068 compiler errors. The old _gst_plugin_register_static() is
5069 still guarded, so there'll be a compiler warning about that
5070 instead. Fixes #510187 too.
5072 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5074 * gst/gst.c: (init_post):
5075 * gst/gstplugin.c: (_gst_plugin_register_static),
5076 (gst_plugin_register_static), (_gst_plugin_initialize):
5077 * gst/gstplugin.h: (GstPluginFilter):
5078 Change API of gst_plugin_register_static() to not take
5079 a GstPluginDesc, but rather just take all the arguments
5080 in a GstPluginDesc directly. This is more intuitive and
5081 avoids certain mistakes when porting code from
5082 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5085 * tests/check/gst/gstplugin.c:
5086 Fix up for changed API.
5088 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5090 * docs/faq/legal.xml:
5091 Update FAQ, Totem actually has an exception these days.
5093 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5095 * win32/common/libgstreamer.def:
5096 Add new API declarations
5098 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5100 * gst/gstminiobject.c:
5101 Spelling fixes for the API docs.
5103 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5105 * libs/gst/base/gstbasetransform.c:
5106 Fix long property description for QoS.
5108 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5111 _gst_trace_on is already provided by gsttrace.h, no need to declare
5114 * docs/libs/gstreamer-libs-sections.txt:
5115 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5116 and remove strange tcase_add_test which is outputting a warning.
5118 * libs/gst/check/gstcheck.c:
5119 * libs/gst/check/gstcheck.h:
5120 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5121 and define them in gstcheck.c instead of having every .c file whcih
5122 includes gstcheck.h be defining its own copy and relying on symbol
5123 interposing to marry them all, which doesn't work on Solaris.
5125 * tests/check/elements/identity.c: (GST_START_TEST):
5126 Don't define 'buffers' locally, it comes from libgstcheck.
5128 * tests/check/generic/sinks.c: (send_buffer):
5129 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5131 * tests/check/gst/gststructure.c: (GST_START_TEST):
5132 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5133 * tests/check/gst/gstutils.c: (GST_START_TEST):
5134 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5135 Add a bunch of casts to make various constants fit the types
5136 they're being assigned to.
5138 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5140 * gst/gstchildproxy.c:
5141 Improve docs and add some ideas for making this more general-purpose.
5143 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5145 * gst/gst_private.h: (GST_CAT_TYPES):
5146 Add GST_CAT_TYPES, for consistency, and so that the other
5147 debug categories don't make fun of it. Spotted by Saur on IRC.
5149 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5151 * gst/parse/Makefile.am:
5152 Move types.h from EXTRA_DIST to noinst_HEADERS.
5154 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5157 Add -Wno-portability to the automake parameters to stop warnings
5158 about GNU make extensions being used. We require GNU make in almost
5159 every Makefile anyway.
5162 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5163 at the same time is required for per target flags.
5165 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5168 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5169 __GNUC__ is defined before using it.
5171 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5173 * docs/gst/gstreamer-sections.txt:
5174 * gst/gst.c: (init_post):
5175 * gst/gstplugin.c: (_gst_plugin_register_static),
5176 (gst_plugin_register_static), (_gst_plugin_initialize),
5177 (gst_plugin_register_func):
5178 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5179 API: add gst_plugin_register_static() and deprecate
5180 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5182 Also, in _gst_plugin_register_static(), make sure to call
5183 g_thread_init() before calling GLib functions such as
5184 g_list_append() if we're not initialised yet, since that
5185 may lead to random crashes with older GSlice/GLib versions.
5187 * tests/check/gst/gstplugin.c:
5188 Adapt unit test to above changes.
5190 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5192 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5193 * gst/gstcaps.c: (gst_caps_to_string):
5194 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5195 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5196 Yet another gratuitous GString micro-optimisation: add a (private)
5197 function that serialises a structure appending to an existing
5198 GString, so that when we serialise caps we don't need to alloc+free
5199 a throwaway GString for each structure (each of which also entailing
5200 multiple reallocs on the way); also use g_string_sized_new() in
5201 various places with an approximate string length to avoid reallocs
5202 within GString. See #500143.
5204 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5206 * gst/gststructure.c: (gst_structure_id_set_value):
5207 Always check UTF-8 conformance of structure strings and not only
5208 if the debugging system is enabled; reasoning: the behaviour of
5209 the actual code shouldn't really change depending on whether the
5210 debugging system is enabled or not (#508291).
5212 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5215 Remove old coverage target in favour of "make lcov".
5217 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5219 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5220 (gst_base_src_loop):
5221 The start segment for reverse playback goes from start to last_stop.
5223 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5225 Patch by: Peter Kjellerstedt <pkj axis com>
5228 Cast the results from the timeval/spec_to_time macros to what the
5229 docs say it casts to, a GstClockTime. fixes #508175.
5231 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5234 Update some comments.
5236 * tools/gst-inspect.c: (print_element_properties_info):
5237 Improve printing of flags.
5239 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5241 * libs/gst/base/gstbasetransform.c:
5242 (gst_base_transform_transform_size):
5243 Print element name with g_warning() if there's a problem
5246 2008-01-07 David Schleef <ds@schleef.org>
5248 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5250 * libs/gst/controller/gstcontroller.h:
5251 * libs/gst/controller/gstcontrolsource.h:
5252 * libs/gst/controller/gstinterpolationcontrolsource.h:
5253 * libs/gst/controller/gstlfocontrolsource.h:
5254 * libs/gst/dataprotocol/dataprotocol.h:
5255 Fix empty prototypes. Fixes bug #507957.
5257 2008-01-07 David Schleef <ds@schleef.org>
5259 * docs/faq/dependencies.xml: Fix typo.
5261 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5263 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5264 (gst_base_src_loop):
5265 Don't update the last_stop position in do_seek, that's the position we
5267 Read backwards when we have a negative rate.
5269 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5270 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5272 Add check for reverse reading.
5274 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5276 Patch by: Alexis Ballier <aballier at gentoo org>
5278 * tests/check/gst/gstabi.c:
5279 * tests/check/gst/struct_ppc64.h:
5280 * tests/check/libs/libsabi.c:
5281 * tests/check/libs/struct_ppc64.h:
5282 Decide which header to include based on the userland ABI target
5283 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5284 for 64-bit userland (#503590). Might need something similar for
5287 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5289 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5290 Log the reason why fopen fails in addition to the fact that it failed.
5292 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5294 * gst/parse/parse.l:
5295 Use "%option never-interactive" to prevent useless calls to isatty()
5296 on every input when parsing. Also use "%option noinput" to not define
5297 the static input/yyinput functions which we don't use anyway. This
5298 removes a compiler warning with gcc 4.3 and saves some bytes in the
5301 * gst/parse/lex._gst_parse_yy.pre.c:
5302 Regenerated for the above change.
5304 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5306 * gst/gstpad.c: (fixate_value):
5307 Don't crash when trying to fixate and empty list.
5310 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5312 * docs/faq/gst-uninstalled:
5313 Clarify the comments to make the usage of this script and what it
5314 does easier to understand.
5316 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5318 * tools/gst-plot-timeline.py:
5319 Add more options to gst-plot-timeline
5321 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5323 * docs/design/part-synchronisation.txt:
5324 Some more info on how the stream_time in GstBaseSink is done.
5326 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5328 * tests/check/generic/sinks.c: (gst_sinks_suite):
5329 Put back the tcase_set_timeout(), apparently it's needed after
5330 all; fix it up in a way that makes things work with valgrind too.
5332 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5334 * gst/gstdebugutils.c:
5335 Add warning when failed to open file for writing.
5337 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5339 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5341 * gst/gstvalue.c: (gst_value_is_fixed):
5342 Optimisation: bail out of the loop as early as possible (#500143).
5344 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5346 * gst/gstcaps.c: (gst_caps_to_string):
5347 * gst/gstinfo.c: (gst_debug_construct_term_color):
5348 * gst/gstparse.c: (gst_parse_launchv):
5349 * gst/gstutils.c: (gst_util_dump_mem):
5350 * gst/gstvalue.c: (gst_value_serialize_any_list),
5351 (gst_value_transform_any_list_string):
5352 Bunch of gratuitous nano-optimisations.
5354 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5356 * tests/check/generic/sinks.c: (async_done_func),
5357 (async_done_eos_func):
5358 Fix leak in unit test (bus sync handler must unref the message
5359 if it returns GST_BUS_DROP). Don't fiddle with the default test
5360 timeout, this is smaller than the current preconfigured value
5361 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5362 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5364 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5366 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5369 Check for stdio_ext.h for the filesink changes.
5371 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5372 (gst_file_sink_class_init), (gst_file_sink_init),
5373 (gst_file_sink_dispose), (gst_file_sink_set_property),
5374 (gst_file_sink_get_property), (gst_file_sink_open_file),
5375 (gst_file_sink_close_file):
5376 * plugins/elements/gstfilesink.h:
5377 Add two properties to control the buffering mode and size.
5378 API: GstFileSink::buffer-mode
5379 API: GstFileSink::buffer-size
5382 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5384 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5385 Add some more docs to explain why a FIXME was wrongly added.
5387 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5390 Fix typo in the gst_object_{ref,unref} documentation.
5392 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5394 * tests/check/libs/controller.c:
5395 * tests/check/libs/typefindhelper.c:
5396 * tests/check/pipelines/parse-launch.c:
5397 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5398 going to be deprecated (see #498924).
5400 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5402 * gst/gsttypefind.c: (gst_type_find_register):
5403 Make gst_type_find_register work for static typefind functions,
5404 ie. allow passing plugin == NULL (prerequisite for #498924).
5406 * gst/gstelementfactory.c: (gst_element_register):
5407 Small docs addition.
5409 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5411 * gst/gstpad.c: (gst_pad_dispose):
5412 Really unlink the peer pad instead of setting the peer pointer to NULL
5413 when we dispose the pad.
5414 This correctly calls the unlink functions and makes sure that the peer
5415 does not have a handle to invalid memory. See #504671.
5417 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5418 Add testsuite for above case.
5420 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5422 Patch by: Peter Kjellerstedt <pkj axis com>
5424 * libs/gst/check/gstcheck.h:
5425 Fix detection of the check version we're compiling against (would
5426 otherwise break if check goes v0.10.0); correctly report the
5427 name of the failed test again in case of failure, instead of
5428 just 'tf' (fixes #504499).
5430 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5432 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5433 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5434 (gst_base_src_loop), (gst_base_src_set_flushing),
5435 (gst_base_src_change_state):
5436 Allow sending EOS to the source to make it send out an EOS event from
5437 the streaming thread.
5438 Update docs and deprecate the old NULL/READY shutdown method.
5440 * tests/check/libs/basesrc.c: (GST_START_TEST),
5441 (gst_basesrc_suite):
5442 Add unit test for controlled shutdown.
5444 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5446 * docs/design/part-synchronisation.txt:
5449 * gst/gstsegment.c: (gst_segment_set_seek),
5450 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5451 (gst_segment_to_running_time):
5452 The seek format can be different from the segment format when the start
5453 and stop values are not to be updated, when we only do a rate change for
5456 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5457 (gst_segment_suite):
5458 Add a testcase for the rate-only seeks, checking that the format is
5459 correctly ignored when start and stop are not updated.
5461 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5463 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5465 * win32/vs8/grammar.vcproj:
5466 * win32/vs8/libgstcontroller.vcproj:
5467 * win32/vs8/libgstreamer.vcproj:
5468 Fix compilation with VS8 and include some missing files.
5470 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5473 Small docs addition: mention that the strings returned by
5474 gst_tag_list_get_string*() are in UTF-8 encoding.
5476 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5479 The check-exports stuff moved to common/win32.mak, so include that.
5481 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5483 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5484 (gst_base_src_perform_seek), (gst_base_src_get_range),
5485 (gst_base_src_set_playing), (gst_base_src_change_state):
5486 Make _wait_playing() not check any variables so that we can call this
5487 function from subclasses. Move the checks elsewhere similar to
5488 _wait_preroll() in basesink.
5490 Only signal the LIVE cond when we are going back to PLAYING.
5492 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5494 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5495 Use g_remove() and g_rename(). Check result of g_rename(), and
5496 don't leak the open file descriptor if we error out when writing.
5498 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5499 Must check the return value of close() after writing out the new
5500 registry file. Sometimes write problems such as out-of-diskspace
5501 are only reported when the file is closed and not already during
5502 the write. This may have caused partial/broken registry files in
5503 some rare circumstances. Should fix #503675.
5505 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5507 * docs/gst/.cvsignore:
5508 * docs/libs/.cvsignore:
5509 * docs/plugins/.cvsignore:
5510 Ignore files generated by new common/* modifications
5512 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5514 * win32/common/libgstbase.def:
5515 Yes, you can also have a <TAB> if you want.
5517 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5519 * win32/common/libgstbase.def:
5520 Add new basetransform API to win export file.
5522 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5524 * tests/check/gst/gstbin.c:
5525 Adjust the test to the refcount change two days ago.
5527 2007-12-14 David Schleef <ds@schleef.org>
5529 * docs/faq/getting.xml: Fix typo.
5531 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5533 * docs/libs/gstreamer-libs-sections.txt:
5534 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5535 (gst_base_transform_prepare_output_buffer),
5536 (gst_base_transform_set_gap_aware):
5537 * libs/gst/base/gstbasetransform.h:
5538 API: Add gst_base_transform_set_gap_aware() to control whether
5539 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5540 get buffers with this flag at all. Fixes #503231.
5542 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5544 * libs/gst/base/gstbasesink.c:
5545 * libs/gst/base/gstbasesrc.c:
5546 * libs/gst/base/gstbasetransform.c:
5547 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5548 thread. Correct log message in gstbasesrc.c.
5550 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5552 * gst/gstutils.c: (element_find_unconnected_pad):
5553 Fix possible compiler warning (#503417).
5555 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5557 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5558 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5560 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5562 * tools/gst-inspect.c: (print_element_properties_info):
5563 Add support for GstFraction properties.
5565 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5568 Add check-exports target and run it as part of 'make check'
5569 (see #499140 and #493983).
5571 * gst/gst_private.h:
5572 * gst/gstelementfactory.h:
5573 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5574 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5575 (_priv_gst_in_valgrind):
5576 * gst/gstinfo.h: (GstLogFunction):
5577 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5578 (gst_type_find_register):
5579 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5580 (gst_type_find_factory_get_type):
5581 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5582 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5583 (gst_controller_new_valist), (gst_controller_new_list),
5584 (_gst_controller_dispose), (_gst_controller_class_init):
5585 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5586 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5587 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5588 (gst_object_get_controller), (gst_object_set_controller),
5589 (gst_object_suggest_next_sync), (gst_object_sync_values),
5590 (gst_object_set_control_source), (gst_object_get_control_source),
5591 (gst_object_get_value_arrays), (gst_object_get_value_array),
5592 (gst_object_get_control_rate), (gst_object_set_control_rate):
5593 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5594 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5595 Make some functions that should be static static; rename some
5596 private symbols so that they don't get exported; add some FIXME
5597 comments so we can move accidentally exported functions into
5598 our private section in 0.11.
5600 * win32/common/libgstreamer.def:
5601 Add gst_utils_get_timestamp().
5603 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5607 Add more missing "Since:" tags to docs.
5609 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5612 Add mising "Since:" to docs.
5614 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5617 Include "glib-compat-private.h" to fix the build on system with
5618 glib < 2.10. Fixes #503131.
5620 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5624 Actually its not PURE as it gets the time from elsewhere.
5626 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5628 * docs/gst/gstreamer-sections.txt:
5630 * gst/gstdebugutils.c:
5634 * libs/gst/base/gstbasesink.c:
5635 * tools/gst-launch.c:
5636 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5637 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5638 Thanks Tim for spotting.
5639 API: gst_util_get_timestamp
5641 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5644 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5646 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5648 * gst/gststructure.c: (gst_structure_validate_name),
5649 (gst_structure_new_valist), (gst_structure_parse_value),
5650 (gst_structure_from_string):
5651 Don't crash in _from_string() if the structure name is not valid
5652 (fixes #501560). Allow structure names to start with a number
5653 again (this apparently broke the ubuntu codec installer).
5655 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5657 Add unit test for the crash; update unit tests for new behaviour.
5659 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5662 Clarify gst_element_get_compatible_pad() documentation.
5665 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5667 * tests/check/Makefile.am:
5668 Don't forget to dist {gst,libs}/struct_hppa.h.
5670 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5672 * libs/gst/base/gstbasesink.c:
5673 Use new API to get elapsed time.
5675 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5677 * gst/gstdebugutils.c:
5679 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5681 * tools/gst-launch.c:
5682 Use new API to get elapsed time.
5684 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5686 * docs/gst/gstreamer-sections.txt:
5688 * gst/gstdebugutils.c:
5690 Rename new API + ChangeLog surgery to remove old name from last entry..
5692 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5694 * docs/gst/gstreamer-sections.txt:
5696 * gst/gstdebugutils.c:
5698 Now hide the different clock stuff behind a macro.
5700 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5703 * gst/gstdebugutils.c:
5705 Apply the posix-timer check from #361155. Conditionally use the posix
5706 timer for logging. This gives better timestamp precission, less
5707 overhead and no ntp jitter.
5709 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5711 * gst/gstminiobject.c: (gst_mini_object_get_type),
5712 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5713 (gst_mini_object_finalize), (gst_mini_object_copy),
5714 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5715 (gst_mini_object_replace), (param_mini_object_validate),
5716 (gst_param_spec_mini_object_get_type):
5717 Some cleanup and checking against invalid function parameters.
5719 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5721 * docs/gst/gstreamer-sections.txt:
5723 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5724 (gst_systemclock_suite):
5725 Start merging in the easy bits of #361155, the monotonic clock patch.
5726 This one adds a few handy macros with docs and a testsuite.
5728 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5730 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5731 Be a bit smarter when seeking, like, don't try to do a seek when it's
5732 not needed. This avoids errors when the file is not seekable.
5735 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5737 * docs/gst/gstreamer-docs.sgml:
5738 * docs/gst/gstreamer-sections.txt:
5739 * docs/gst/gstreamer.types.in:
5744 * plugins/elements/gstqueue.c:
5745 Due to popular request remove preset interface again. :-(.
5747 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5749 * tools/gst-inspect.c:
5750 Print 'default value' for enums and flags too.
5752 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5754 * docs/random/ensonic/profiling.txt:
5758 Fix typo and give better log output.
5760 * gst/gstdebugutils.c:
5761 * gst/gstdebugutils.h:
5762 More ideas, make graphs a bit smaller and fix param name in macro.
5764 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5767 Try harder to use the return value from fgets().
5769 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5772 For theses two fgets we handle the error below.
5774 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5776 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5777 Only send upstream events upstream. Fixes #498746.
5779 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5781 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5783 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5784 (gst_identity_init), (gst_identity_transform_ip),
5785 (gst_identity_set_property), (gst_identity_get_property):
5786 * plugins/elements/gstidentity.h:
5787 Add property to disable handoff signal emission. Fixes #498694.
5788 API: GstIdentity::signal-handoffs
5790 2007-11-21 Julien Moutte <julien@fluendo.com>
5792 * docs/faq/gst-uninstalled: Yet another missing library for the
5793 uninstalled script (fft)
5795 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5797 * docs/faq/developing.xml:
5798 Add a question about how to submit new translations.
5800 * docs/random/release:
5801 Update the contact email address for the Translation Project
5803 * plugins/elements/gstfdsrc.c:
5804 The parent_class for fdsrc is pushsrc, not GstElement.
5806 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5809 Plug a leak and fix saving.
5811 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5813 * docs/gst/gstreamer-sections.txt:
5814 Add new gst_preset__get_property_names() function to the docs
5817 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5821 Change _get_preset_names API to return a strv with copies. Add
5822 _get_property_names to allow implementations to filter and provide
5823 good default implementation.
5825 2007-11-20 Julien MOUTTE <julien@moutte.net>
5827 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5830 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5833 More cleanups, docs, and TODOs from comments that now slowly come in.
5835 2007-11-19 Julien MOUTTE <julien@moutte.net>
5837 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5840 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5843 Fix bogus warning and make the property type specific code more
5846 2007-11-19 Julien MOUTTE <julien@moutte.net>
5848 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5851 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5853 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5854 (gst_bin_add_func), (gst_bin_remove_func),
5855 (gst_bin_change_state_func), (gst_bin_continue_func):
5856 Change email, cleanups add some more debug and comments.
5857 Also set bus and clock on new elements when the pipeline was in error.
5859 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5862 * gst/gstdebugutils.c:
5863 Fix build with --disable-gst-debug. Fixes #497859.
5864 Spotted by Sameer Naik.
5866 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5869 Little documentation improvment.
5872 More TODO cleanups. Remove c++ comments.
5874 * libs/gst/controller/gstcontroller.c:
5875 Add TODO and use quark from static string.
5877 * tests/check/gst/gstmessage.c:
5878 * tests/check/gst/gststructure.c:
5879 Use quark from static string.
5881 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5884 Add some comments and TODOs.
5887 Add padding for future changes.
5889 * plugins/elements/gstqueue.c:
5890 Implement the iface.
5892 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5894 * docs/gst/gstreamer-docs.sgml:
5895 * docs/gst/gstreamer-sections.txt:
5896 * docs/gst/gstreamer.types.in:
5901 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5903 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5909 === release 0.10.15 ===
5911 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5914 releasing 0.10.15, "October"
5916 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5918 * win32/vs6/libgstreamer.dsp:
5919 Convert line endings back to DOS.
5921 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5923 * docs/design/draft-tagreading.txt:
5924 * docs/random/ensonic/profiling.txt:
5925 Update fast tagreading draft and performance profiling ideas.
5927 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5929 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5930 Don't hold the object lock when unreffing a buffer because it could
5931 cause a deadlock when the finalize function wants to grab the object
5932 lock too. Fixes #495133.
5934 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5936 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5937 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5938 Also accumulate time correctly when doing reverse playback. Fixes
5940 When converting to running and stream time, use default values for
5941 start/stop/time/accum when comparing different formats. Fixes #494245.
5943 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5944 Do running/stream time in TIME format.
5946 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5947 (gst_segment_suite):
5948 2 new unit tests for segment accumulation.
5950 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5952 * gst/gst.c: (init_pre):
5953 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5954 (_gst_debug_bin_to_dot_file):
5955 Move getenv() back into gst_init, so everyone can live happily
5956 ever after. Make sure the symbol isn't exported though.
5958 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5960 Patch by: Sebastien Moutte <sebastien moutte net>
5962 * win32/common/gstenumtypes.c:
5963 * win32/common/gstenumtypes.h:
5966 * win32/vs6/libgstreamer.dsp:
5967 Update vs6 project files (#494343).
5969 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5971 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5972 (gst_base_src_perform_seek), (gst_base_src_default_event),
5973 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5974 (gst_base_src_activate_pull):
5975 Unify flushing code, remove some old unlock code that is no longer used.
5976 Take the streaming lock when seeking to avoid races. Fixes #492729.
5977 Added some more comments.
5979 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5981 * gst/gst.c: (_gst_disable_segtrap):
5982 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5983 we can use gst_segtrap_is_enabled() there now that we have that API.
5984 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5985 to do the getenv here (and export the variable).
5987 * gst/gstdebugutils.c: (debug_dump_element),
5988 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5989 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5991 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5992 (gst_debug_log_default):
5993 Rename _gst_info_start_time to priv_gst_info_start_time so it
5994 doesn't get exported (was never in any header).
5996 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5997 (gst_plugin_loading_mutex):
5998 Make static mutex gst_plugin_loading_mutex really static (was never
5999 in any header), and use gst_segtrap_is_enabled() instead of
6000 _gst_disable_segtrap.
6002 * gst/gsttrace.c: (_gst_trace_default):
6003 Make local _gst_trace_default static (was never in any header).
6005 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6007 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6009 * win32/common/libgstbase.def:
6010 * win32/common/libgstcontroller.def:
6011 * win32/common/libgstdataprotocol.def:
6012 * win32/common/libgstnet.def:
6013 * win32/common/libgstreamer.def:
6014 Add more missing symbols, remove some duplicates, and sort
6015 as the 'sort' command sorts it (partially fixes #493983).
6017 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6019 * gst/gstelement.c: (gst_element_set_state_func):
6020 Only change the state cookie if a different state was set on the
6021 element. See #492729.
6023 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6026 Remove unused and uninitialised type variables that were still
6027 exported for some reason (they were never in any header files
6030 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6032 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6033 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6034 (gst_base_sink_event), (gst_base_sink_get_position_last),
6035 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6036 (gst_base_sink_change_state):
6037 Don't try to report a 0 position when we don't know, return -1 and FALSE
6038 instead. This mostly happens when we are prerolling.
6039 Make sure we can report the right position before we post the ASYNC_DONE
6040 message so that a message handler can query position without races.
6042 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6043 (async_done_handoff), (async_done_func), (send_buffer),
6044 (async_done_eos_func), (gst_sinks_suite):
6045 Add two tests for the above.
6047 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6050 Update with new email address.
6052 * docs/design/part-TODO.txt:
6053 Add some more info about future pad-block and negotiation changes.
6055 * docs/design/part-buffering.txt:
6056 Add some ideas about buffering reporting.
6058 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6060 * tests/check/gst/gstobject.c:
6061 Disable silly racy test that always fails on this combination of CPU
6064 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6066 Patch by: Murray Cumming <murrayc@murrayc.com>
6069 Corrected the registration of the parent-set and parent-unset
6070 signals: The parameter is a GstObject, not a GObject (#493134).
6072 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6074 * gst/gst_private.h:
6083 Move declaration of private _gst_foo_initialize() functions into
6084 our private header file where they should have been all along.
6086 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6088 * docs/plugins/gstreamer-plugins-sections.txt:
6089 * gst/gstdebugutils.h:
6091 * plugins/elements/gstqueue.c:
6092 gtk-doc fixes; trailing-comma-in-enum fix.
6094 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6096 * gst/gst.c: (gst_deinit):
6097 Clean up on deinit (not the external ones though, doesn't seem to be
6098 needed for some reason).
6100 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6102 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6103 Remove __declspec(dllimport) for MSVC that was copied over into core
6104 from a plugin, obviously without ever having been tested (note the
6105 single underscore in _declspec in the initial commit), and that doesn't
6106 really make sense. See #492077.
6108 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6110 * gst/gst.c: (init_post):
6111 * gst/gstevent.c: (_gst_event_initialize):
6112 * gst/gstquery.c: (_gst_query_initialize):
6113 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6114 g_type_class_ref() other types as well, see #349410 and #64764.
6116 * gst/gstbuffer.c: (_gst_buffer_initialize):
6117 * gst/gstmessage.c: (_gst_message_initialize):
6118 Simplify existing g_type_class_ref().
6120 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6122 * gst/gstformat.c: (_gst_format_initialize):
6123 g_type_class_ref() our GstFormat type to make sure we avoid the
6124 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6125 bug #64764. Should fix intermittent tee unit test failures (#474823).
6127 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6129 * tests/check/elements/tee.c: (test_num_buffers):
6130 Simplify, simplify, simplify - or not. Rewrite unit test
6131 not to use gst_parse_launch(); allow N sub-streams. Increasing
6132 the number of sub-streams seems to reproduce #474823 more easily.
6134 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6136 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6139 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6140 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6141 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6142 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6143 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6144 so use _pipe() directly (#492077).
6146 * win32/common/dirent.c: (_treaddir):
6147 Add a couple of casts to make it build without warnings with MSVC.
6149 * win32/common/libgstreamer.def:
6150 Add some more symbols that need to be exported.
6152 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6154 * tests/examples/metadata/read-metadata.c: (message_loop):
6155 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6156 arriving in a second or third tag message are added to
6157 the tag list as well.
6159 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6161 * libs/gst/base/gstbasesrc.c:
6162 Its "Since:" and not "@Since:". And remove an superflous cast.
6164 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6166 * docs/libs/gstreamer-libs-sections.txt:
6167 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6168 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6169 (gst_base_sink_get_property), (gst_base_sink_render_object),
6170 (gst_base_sink_preroll_object),
6171 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6172 (gst_base_sink_change_state):
6173 * libs/gst/base/gstbasesink.h:
6174 Add a new last-buffer property that contains the last buffer used in
6175 basesink for preroll or rendering. useful for making snapshots.
6176 API: gst_base_sink_get_last_buffer()
6177 API: GstBaseSink::last-buffer
6179 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6181 * docs/gst/running.xml:
6183 * gst/gstdebugutils.c:
6184 * gst/gstdebugutils.h:
6185 * tools/gst-launch.c:
6186 Improve bin graph dumping, by using the envvar to specify a path.
6187 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6189 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6191 * plugins/elements/gsttypefindelement.c:
6192 (gst_type_find_element_handle_event),
6193 (gst_type_find_element_activate):
6194 Post special error message if we can't determine the type of a stream
6197 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6199 * docs/gst/running.xml:
6200 * gst/gstdebugutils.c:
6201 Document new env-var. Add one log-line after dumpng a graph.
6203 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6206 Ugly hack to put the (recently removed and non-portable, apparently)
6207 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6208 GNU ld, because without that 'make check' fails miserably on my debian
6209 stable box. Someone with more knowledge of linker intricacies and
6210 portability issues than me fix this properly please.
6212 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6214 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6215 Reset last seen position after flushing so that we don't report the old
6218 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6220 * gst/gstelementfactory.c: (gst_element_register):
6222 Patch from Alessandro Decina adding get_type_full and
6223 get_protocols_full private vfuncs to the URIHandler interface
6224 to allow bindings to support creating URI handlers.
6225 Partially fixes: #339279
6226 API: GstURIHandlerInterface::get_type_full
6227 API: GstURIHandlerInterface::get_protocols_full
6229 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6231 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6232 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6233 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6234 Make it so that pads are considered linked until a buffer is pushed
6235 and discovered otherwise. This avoids problems with decodebin2 hanging
6236 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6239 Make sure we lock the multiqueue when updating the max-size properties.
6241 Fix a crash on Solaris in a debug statement in get_request_pad that
6242 passes a NULL string to GST_DEBUG.
6244 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6245 (run_output_order_test):
6246 Fix the test to allow the first buffer on not-linked pads to come out
6247 of sequence while multiqueue discovers that they are not-linked.
6249 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6252 * libs/gst/check/Makefile.am:
6253 Use a custom export symbol regex for libgstcheck, as it needs
6254 to export symbols that don't match the standard GStreamer gst_*
6255 pattern, and --export-dynamic is not portable (only works on
6258 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6259 (gst_check_setup_sink_pad):
6260 Make sure to pass a message parameter to the fail_* macros.
6262 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6263 Fix some compiler warnings.
6265 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6267 * tests/check/gst/gststructure.c: (test_to_string):
6268 Disable test that checks that white spaces are not allowed
6269 in structure names or field names, since we need to
6270 support that for now for backwards compatibility reasons.
6272 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6274 * docs/gst/gstreamer-sections.txt:
6277 API: add GST_TAG_ARTIST_SORTNAME
6278 API: add GST_TAG_ALBUM_SORTNAME
6279 API: add GST_TAG_TITLE_SORTNAME
6280 Add tag variants for sorting (#414539).
6282 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6284 * gst/gststructure.c:
6285 Also allow white space for names so we don't break
6286 backwards compatibility.
6288 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6290 * docs/design/part-TODO.txt:
6291 * docs/design/part-segments.txt:
6292 * docs/design/part-streams.txt:
6295 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6297 * docs/gst/gstreamer-sections.txt:
6298 Fixed documentation from my previous commit (added new API add
6299 gst_value_set_structure(), add gst_value_get_structure() and
6300 GST_VALUE_HOLDS_STRUCTURE).
6302 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6304 * gst/gstdebugutils.c:
6305 Reflow code to fix uninitialized variable warning.
6307 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6309 * gst/gstcaps.c: (gst_caps_to_string),
6310 (gst_caps_from_string_inplace):
6311 * gst/gststructure.c: (gst_structure_get_abbrs),
6312 (gst_structure_to_string), (gst_structure_from_string):
6313 * gst/gstvalue.c: (gst_value_set_structure),
6314 (gst_value_get_structure), (gst_value_serialize_structure),
6315 (gst_value_deserialize_structure), (_gst_value_initialize):
6317 * tests/check/gst/gststructure.c: (GST_START_TEST),
6318 (gst_structure_suite):
6319 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6320 Added GstStructure to gst_value_table and its related functions.
6321 Changed gst_structure_to_string to print ';' in the end.
6322 Changed gst_caps_to_string to not print ';' beteween its
6323 fields (structures) anymore and remove the lastes ';' from latest
6324 structure. Now it is possible to have nested structures.
6325 In addition, backward compatibilty is assured by accepting '\0' as
6326 end delimiter. Fixes: #487969.
6327 API: add gst_value_set_structure()
6328 API: add gst_value_get_structure()
6329 API: add GST_VALUE_HOLDS_STRUCTURE
6331 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6334 When no GSource callback has been set up, tell developer
6335 to use a function that actually exists.
6337 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6339 * docs/gst/gstreamer-sections.txt:
6343 * gst/gstdebugutils.c:
6344 * gst/gstdebugutils.h:
6347 * tools/gst-launch.c:
6348 Allow dumping pipelines as dot graphs. Fixes #456573.
6350 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6352 * gst/gststructure.c:
6353 Allow '+' as well, it can be part of media or mime types
6354 such as image/svg+xml.
6356 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6358 * docs/gst/gstreamer-sections.txt:
6361 API: add gst_bus_pop_filtered
6362 API: add gst_bus_timed_pop_filtered
6363 Two new functions for waiting for specific message types on the
6364 bus for a specified amount of time without iterating any main
6365 loops or main contexts.
6367 * tests/check/gst/gstbus.c:
6368 Some tests for the new functions.
6370 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6372 * docs/libs/gstreamer-libs-sections.txt:
6373 Make gtk-doc ignore stuff it should ignore.
6375 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6377 * libs/gst/check/gstcheck.c:
6378 * libs/gst/check/gstcheck.h:
6379 Allow runtime selection of unit tests to run via the GST_CHECKS
6380 environment variable (test case function names, comma-separated).
6382 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6384 * gst/gststructure.c:
6385 * tests/check/gst/gststructure.c:
6386 Revert serialisation change and constrain structure-names after
6387 consensus on irc. Update api documentation to reflect the change.
6389 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6391 * gst/gststructure.c:
6392 Improve serialization and fix tests.
6394 * tests/check/gst/gststructure.c:
6395 Add another test that covers why I actually did the previous structure
6398 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6400 * tools/gst-inspect.c: (print_element_info):
6401 Don't crash when inspecting an element.
6403 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6405 * tests/check/gst/gststructure.c:
6406 Add unit test for escaping of structure name when serialising
6407 and deserialising to/from strings.
6409 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6411 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6412 (gst_single_queue_new):
6413 * plugins/elements/gstqueue.c: (gst_queue_init),
6414 (gst_queue_push_one):
6415 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6416 upstream is tricked into thinking it can suggest a format downstream
6417 while downstream does not support that format. The real problem is that
6418 core calls acceptcaps when pushing a buffer with new caps, for which we
6419 do a little workaround by setting the caps on the srcpad ourselves
6420 before pushing the buffer (until this is figured out). Fixes #486758.
6422 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6424 * gst/gststructure.c:
6426 Add some more comments and debug output. Quote structure name to fix
6427 deserialisation of some strings.
6429 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6432 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6433 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6435 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6437 * tools/gst-inspect.c:
6438 Save approx. 400 1 byte allocs when printing. Use API to acces element
6444 * tools/gst-xmlinspect.c:
6445 Use API to acces element details.
6447 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6450 Fix some spelling errors.
6452 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6454 * gst/gstbin.c: (bin_handle_async_done):
6455 Correctly set the next state if all of our async children commited their
6456 state. This makes sure we can actually cancel the state change in
6457 progress. Fixes a regression in Rhythmbox when seeking.
6459 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6462 Don't shadow local variable.
6465 Don't shadow global function name.
6467 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6469 * gst/gstelementfactory.c:
6470 * gst/gstpluginfeature.c:
6471 * gst/gstpluginfeature.h:
6472 * gst/gstregistrybinary.c:
6473 * gst/gstregistryxml.c:
6474 * gst/gsttypefind.c:
6475 Use already-interned string for the private GstPluginFeature
6478 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6480 * docs/libs/gstreamer-libs-sections.txt:
6481 Add new API to docs; fixes the build.
6483 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6485 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6487 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6488 (gst_base_sink_event):
6489 * libs/gst/base/gstbasesink.h:
6490 Add function to wait for EOS, subclasses can use this to correctly wait
6491 for devices to drain before performing the EOS logic. Fixes #485343.
6492 API: gst_base_sink_wait_eos()
6494 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6497 Cast description string constants in GST_PLUGIN_DEFINE macros
6498 to a (gchar*) to make C++ code using these macros compile
6499 without warning with g++-4.2 (see #462737). Even if slightly
6500 ugly, this seems preferable to putting the description strings
6501 into the GLib quark table or making the structure member a
6502 const gchar * and doing casts in core code that allocs and
6503 frees these strings, or requiring a cast in the C++ code.
6505 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6508 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6509 to print the entire class/function signature into the log
6510 file for C++ code. This only affects C++ code, for C code
6511 everything remains the same.
6513 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6515 * gst/gstbin.c: (remove_from_queue):
6516 Work around a problem with pipelines containing (semi)loops until a
6517 proper, more complicated solution is ready. See #475455.
6519 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6523 * gst/gstregistrybinary.c:
6524 * gst/gstregistryxml.c:
6525 Put more strings into the GLib quark table. No need to keep
6526 a hundred-something copies of identical version strings,
6527 license strings, package name strings and package origin
6530 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6532 * docs/manual/advanced-dataaccess.xml:
6533 Don't imply that it's okay to unconditionally change
6534 buffer data or buffer metadata in a pad probe callback,
6535 and a bunch of other comments. Fixes #430031.
6537 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6539 * win32/common/gstenumtypes.c:
6540 * win32/common/gstenumtypes.h:
6541 * win32/common/gstversion.h:
6542 Update generated files.
6544 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6546 * docs/manual/advanced-autoplugging.xml:
6547 Prefix section with broken code with a warning (see #342432).
6549 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6551 * docs/manual/appendix-integration.xml:
6552 * docs/manual/basics-init.xml:
6553 Call g_thread_init() before g_option_context_new() to
6554 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6556 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6558 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6559 (gst_base_sink_queue_object_unlocked),
6560 (gst_base_sink_queue_object), (gst_base_sink_event),
6561 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6562 When we received EOS and are waiting for when to post the EOS message,
6563 our state is prerolled and we should not return ASYNC.
6564 Reorganize some code paths to implement this behavior.
6566 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6568 Add unit test to verify above EOS fix.
6570 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6572 * plugins/elements/gsttypefindelement.c:
6573 (gst_type_find_element_have_type), (gst_type_find_element_init),
6574 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6575 Move detecting the input caps of the sinkpad to the setcaps function.
6576 This allows us to update the output caps when we receive new input caps
6577 instead of always using the first detected caps.
6579 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6581 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6582 (gst_base_sink_get_position):
6583 Don't try to preroll non-async elements after a flush.
6584 Subtract latency form clock times when reporting position.
6586 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6588 * gst/gstpad.c: (gst_pad_pause_task):
6590 Small comment and documentation update.
6592 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6594 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6595 (gst_base_src_set_live), (gst_base_src_is_live),
6596 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6597 (gst_base_src_default_event), (gst_base_src_wait),
6598 (gst_base_src_do_sync), (gst_base_src_get_range),
6599 (gst_base_src_pad_get_range), (gst_base_src_loop),
6600 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6601 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6602 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6603 (gst_base_src_change_state):
6604 Rework the locking of basesrc in a similar fashion to basesink. We
6605 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6606 us to handle live sources and semi live ones much better.
6608 Fix unlocking when seeking, shutting down and pausing in live sources.
6610 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6612 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6613 Fix compilation again.
6615 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6618 Use meaningful categories for the logs to clean the default one.
6620 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6622 * tests/check/pipelines/cleanup.c:
6623 Print message name and not just number.
6625 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6627 * docs/design/draft-tagreading.txt:
6628 Add some more thoughts.
6630 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6632 * tests/check/pipelines/simple-launch-lines.c:
6633 Print message name and not just number.
6635 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6637 * libs/gst/base/gsttypefindhelper.c:
6638 Speedup typefinding. This is work in progress (see #459862).
6640 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6643 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6644 Spotted by Josep Torra Valles <josep@fluendo.com>.
6646 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6649 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6650 field has moved to GstObject.
6652 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6654 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6655 (gst_base_src_get_range), (gst_base_src_change_state):
6656 Call unlock for live sources so that they can't get stuck in _create and
6657 produce a buffer before they are set back to PLAYING.
6659 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6661 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6662 (gst_queue_locked_dequeue):
6663 Comment the segment-related code... in the PROPER function.
6664 See #482147 and my commit from yesterday.
6666 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6668 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6669 Also initialize the counter that calculates the first timestamp on a
6670 buffer correctly for non-live sources.
6672 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6674 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6675 Disable code that's breaking the current-time-level reporting.
6678 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6680 * docs/gst/gstreamer-sections.txt:
6681 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6682 as they shouldn't show up. Fixes the docs build.
6684 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6687 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6688 Define M_PI which is used in files which are including gstinfo.h.
6689 VS6 includes doesn't define it.
6690 * win32/common/libgstbase.def:
6691 * win32/common/libgstcontroller.def:
6692 * win32/common/libgstreamer.def:
6693 Add new exported functions and variables.
6694 * win32/vs6/libgstcontroller.dsp:
6695 * win32/vs6/libgstreamer.dsp:
6696 Update the list of files to build.
6698 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6700 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6702 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6703 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6704 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6705 Improve debugging. Fixes #480858.
6707 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6709 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6711 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6712 First patch of code cleanups, use the macros and right arguments in the
6713 macros to signal and lock the queue. See #480858.
6715 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6717 * gst/gstbus.c: (poll_func):
6718 Improve debugging when dealing with _poll().
6720 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6722 * gst/gstregistryxml.c:
6723 Fix memory leak I introduced a few days ago.
6725 2007-09-26 Michael Smith <msmith@fluendo.com>
6727 * gst/gstbuffer.c: (gst_buffer_finalize):
6728 Make it once again possible to free GstBuffers in the default
6730 The poisoning scribbles on parts of the miniobject we need in
6734 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6736 * docs/gst/gstreamer-sections.txt:
6739 API: add GST_TAG_COMPOSER, fixes #459809.
6741 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6745 Add the 3-clause BSD license and the MIT/X11 license to the license
6746 list. Fixes #479784.
6748 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6750 * docs/faq/getting.xml:
6751 Add Q+A about different GStreamer versions (#364056).
6753 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6755 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6756 (gst_base_sink_event), (gst_base_sink_change_state):
6757 Return correct gboolean from query function.
6759 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6761 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6762 (gst_base_sink_event), (gst_base_sink_query),
6763 (gst_base_sink_change_state):
6764 Simplify latency query.
6765 When not synchronizing, we can report latency without querying the peer
6768 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6772 Fix small typos in the docs.
6774 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6776 * docs/design/draft-latency.txt:
6777 * docs/design/draft-push-pull.txt:
6778 * docs/design/draft-tagreading.txt:
6779 * docs/design/part-MT-refcounting.txt:
6780 * docs/design/part-activation.txt:
6781 * docs/design/part-block.txt:
6782 * docs/design/part-element-source.txt:
6783 * docs/design/part-events.txt:
6784 * docs/design/part-gstbin.txt:
6785 * docs/design/part-gstelement.txt:
6786 * docs/design/part-gstobject.txt:
6787 * docs/design/part-gstpipeline.txt:
6788 * docs/design/part-messages.txt:
6789 * docs/design/part-preroll.txt:
6790 * docs/design/part-push-pull.txt:
6791 * docs/design/part-qos.txt:
6792 * docs/design/part-query.txt:
6793 * docs/design/part-scheduling.txt:
6794 * docs/design/part-seeking.txt:
6795 * docs/design/part-segments.txt:
6796 * docs/design/part-states.txt:
6797 Documentation updates and typo fixes.
6799 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6801 * plugins/elements/gstfakesink.c:
6802 Add some debug text to error message to indicate that
6803 we errored out on request.
6805 * tools/gst-launch.c:
6806 When the state change to PLAYING fails, check for an
6807 error message on the bus and print it.
6809 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6811 translated by: Jorge González González <aloriel@gmail.com>
6815 Added Spanish translation.
6817 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6819 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6820 Fix printf arguments.
6822 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6824 * tests/check/generic/states.c:
6825 Improved state change unit test.
6827 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6830 Move priv to the right place.
6832 * gst/gstsystemclock.c:
6833 Add FIXME: and improve log.
6835 * tests/check/Makefile.am:
6836 * tests/examples/manual/Makefile.am:
6837 Work with all types of registries.
6839 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6841 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6842 Don't unref the event after pushing it. Fixes #478401.
6844 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6847 * tests/examples/manual/.cvsignore:
6848 Ignore registries in any format.
6850 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6852 * gst/glib-compat-private.h:
6853 Add compatibility macro for g_intern_string() for
6854 GLib-2.8 (any reason we can't just bump the
6855 requirement to at least 2.10?)
6857 * gst/gstpadtemplate.h:
6858 * gst/gstelementfactory.c:
6859 * gst/gstregistryxml.c:
6860 * gst/gstregistrybinary.c:
6861 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6862 up the internal code accordingly. This shouldn't be a problem, since
6863 there is no reason external code could ever assume the string in such
6864 a structure is dynamically allocated unless it did that itself; the
6865 use of g_strdup() is private to element factories. The new code also
6866 saves some memory by putting pad template name strings into the GLib
6867 quark table instead of allocating them dynamically.
6868 Declaring this field constant fixes warnings with g++-4.2 when using
6869 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6871 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6873 * gst/gstelementfactory.c:
6874 Release static caps. Fixes #475723.
6876 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6880 Make some internal API take const gchar * instead of just
6881 gchar * to avoid compiler warnings with g++-4.2.2 when
6882 passing string constants (partially fixes #478092).
6884 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6886 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6887 A latency query fails when one of the sinks fail.
6889 * gst/gstelement.c: (gst_element_set_base_time):
6892 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6894 * gst/gstbin.c: (gst_bin_continue_func):
6895 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6896 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6897 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6899 Fix minor compilation warnings shown with Forte.
6901 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6903 * plugins/elements/gstqueue.c: (apply_buffer),
6904 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6905 Measure queue level based on the diff between head and tail timestamps
6906 even when pushing the first buffer.
6908 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6910 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6911 (gst_base_sink_event), (gst_base_sink_change_state):
6912 Sinks that don't preroll can always be queried for the latency.
6913 Don't post ASYNC start when we are not async.
6915 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6917 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6918 (gst_queue_handle_sink_event), (gst_queue_chain),
6919 (gst_queue_push_one), (gst_queue_handle_src_query),
6920 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6921 * plugins/elements/gstqueue.h:
6922 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6923 push more buffers but allow pushing of EOS and NEWSEGMENT.
6924 Add some more debug info here and there. Fixes #476514.
6926 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6928 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6929 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6930 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6931 (gst_base_sink_set_flushing), (gst_base_sink_query),
6932 (gst_base_sink_change_state):
6933 Latency query is allowed after we are prerolled. Introduce a new flag
6934 for this and stop abusing other variables.
6936 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6938 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6939 Push OOB events downstream when we get them in send_event. This allows
6940 the application to insert events in the pipeline.
6941 Add some more comments.
6943 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6945 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6946 (do_bin_latency), (gst_bin_change_state_func):
6947 * gst/gstpipeline.c: (gst_pipeline_change_state):
6948 Move latency query from GstPipeline to GstBin so that we can also
6949 use it when async-handling is enabled on bins.
6951 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6953 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6954 (gst_base_src_do_sync), (gst_base_src_change_state):
6956 Clean up the timestamping and syncing code for pseudo live sources.
6958 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6960 Patch by: Steve Fink <sphink gmail com>
6962 * docs/manual/appendix-checklist.xml:
6963 Mention less -R switch in the section about debug output (#474055).
6965 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6967 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6968 Queue can latency to the pipeline up to the configured max size in time.
6969 Report this fact in the latency query.
6971 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6973 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6975 * libs/gst/controller/gstinterpolation.c:
6976 * libs/gst/controller/gstlfocontrolsource.c:
6977 Use gst_guint64_to_gdouble() when converting from a uint64 or
6978 GstClockTime to double to fix the build on win32. Fixes #474371.
6980 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6982 * gst/gstbuffer.c: (gst_buffer_finalize):
6983 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6984 When finalizing a buffer the complete struct is filled with 0xff,
6985 thus making a use of the buffer after the final unref impossible.
6987 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6989 * tests/check/libs/controller.c: (GST_START_TEST):
6990 Use fail_unless_equals_int(a, b) instead of
6991 fail_unless_equals (a == b) to get better output on failures.
6993 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6995 * tests/check/gst/gsturi.c:
6996 Also check for the other file URI variant on win32.
6998 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7000 * gst/gsturi.c: (gst_uri_get_location):
7001 If there's no hostname, we want to return 'c:/foo/bar.txt'
7002 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7004 * tests/check/gst/gsturi.c:
7005 Unit test for the above and a few more things.
7007 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7009 * docs/design/part-live-source.txt:
7010 Add docs on how live sources should timestamp.
7012 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7013 Add some more debug info.
7014 For subclasses that are live and like to sync, add aditional startup
7015 latency to sync time and timestamps so that we timstamp according to the
7018 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7021 Also do a g_type_class_ref() for the subbuffer type in
7024 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7026 * docs/gst/gstreamer-sections.txt:
7027 * gst/gstpad.c: (gst_pad_peer_query):
7029 Add function to perform a query on the peer of a pad.
7030 API: gst_pad_peer_query()
7032 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7034 * tests/check/gst/gstsystemclock.c:
7035 Cleanup the test a little (use gst-logging and not g_message). Improve
7036 test to check if a wait reached the target.
7038 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7040 * docs/libs/gstreamer-libs-sections.txt:
7041 Add new API to docs and fix the build.
7043 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7045 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7046 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7047 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7048 (gst_base_src_get_property), (gst_base_src_do_sync):
7049 * libs/gst/base/gstbasesrc.h:
7050 Add property to make the basesrc timestamp buffers based on the current
7052 API: GstBaseSrc::do-timestamp
7053 API: gst_base_src_set_do_timestamp()
7054 API: gst_base_src_get_do_timestamp()
7056 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7058 * docs/random/release:
7059 Really make sure translations are up-to-date before
7060 a release (#465010).
7062 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7064 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7065 Always destroy the timer, also in error cases.
7067 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7069 * docs/manual/highlevel-xml.xml:
7070 Fix XML example code. Fixes #472714.
7072 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7074 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7075 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7076 (gst_base_sink_query):
7077 Protect eos and have_preroll with the OBJECT lock so we don't need to
7078 take the PREROLL lock when querying the latency. Fixes #473846.
7080 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7083 Give some log-messages a category.
7085 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7087 * gst/gststructure.c:
7088 (gst_structure_fixate_field_nearest_fraction):
7089 Fix fraction list fixation code. Take the fraction with the smallest
7090 difference with the target instead of the first one in the list.
7092 * tests/check/gst/gststructure.c: (GST_START_TEST),
7093 (gst_structure_suite):
7094 Added test to verify correct fraction list fixation behaviour.
7096 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7098 * win32/common/libgstreamer.def:
7099 Export gst_bus_add_signal_watch too.
7101 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7103 * docs/libs/gstreamer-libs-sections.txt:
7104 Add new methods to docs.
7106 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7107 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7108 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7109 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7110 * libs/gst/base/gstbasesink.h:
7111 Add ts-offset property to fine-tune the synchronisation.
7112 API: GstBaseSink::ts-offset property
7113 API: gst_base_sink_set_ts_offset()
7114 API: gst_base_sink_get_ts_offset()
7116 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7118 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7119 (gst_base_sink_init), (gst_base_sink_set_sync),
7120 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7121 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7122 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7123 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7124 (gst_base_sink_get_property), (gst_base_sink_change_state):
7125 * libs/gst/base/gstbasesink.h:
7126 Add async property to instruct the sink never to inform the parent about
7127 ASYNC state changes, update docs.
7128 Check argument with g_return_* for the public functions.
7129 API: GstBaseSink::async property
7130 API: gst_base_sink_set_async_enabled()
7131 API: gst_base_sink_is_async_enabled()
7133 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7135 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7138 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7139 (gst_base_src_default_query), (gst_base_src_wait),
7140 (gst_base_src_do_sync), (gst_base_src_change_state):
7141 Rearrange some code so that we can add support for measuring the
7144 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7146 * docs/random/ensonic/dynlink.txt:
7147 More thoughs on this.
7149 * plugins/elements/gstcapsfilter.c:
7150 Add bugzilla ticket number to FIXME comment.
7152 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7154 * docs/design/part-TODO.txt:
7155 * docs/design/part-block.txt:
7158 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7161 Revert patch which uses $(gst_headers) instead of $^ because it
7164 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7166 * tests/check/gst/gstbin.c: (GST_START_TEST):
7167 Fix leaks in the new unit test.
7169 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7172 Don't use GST_INFO before the debug system is actually initialised
7173 (shouldn't do any harm, but won't print anything either, so we can
7174 just as well remove it).
7177 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7178 compilers that don't support variadic macros (such as MSVC), should
7179 check for debug_level <= __gst_debug_min as well, since that's the
7180 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7181 inline helper functions. Should improve performance a bit, but also
7182 makes sure uses of GST_INFO et.al are ignored if the debugging
7183 system isn't initialised yet (instead of printing an assertion
7186 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7188 patch by: David Nečas <yeti@physics.muni.cz>
7191 Replace some non portable makefile constructs.
7193 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7195 * common/gtk-doc-plugins.mak:
7196 Grrrrr. Don't remove the types file on make clean.
7198 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7200 * tools/gst-launch.1.in:
7201 Add colorspace to example pipeline. Fixes #458274.
7203 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7205 * docs/random/release:
7206 The release manager should run 'make download-po' before making a
7207 release to make sure translations are up-to-date.
7213 Add some new translations.
7215 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7217 * tools/gst-launch.c: (event_loop), (main):
7218 Don´t try to do any state management when a live pipeline posts
7220 Also make the buffering string translatable.
7222 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7224 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7225 (bin_handle_async_start), (gst_bin_handle_message_func):
7227 When adding elements, insert messages into the bus of the newly added
7228 element and make sure the element is the source of the message. This
7229 allows the parent bin to intercept the message and do the
7230 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7231 messages to the app (which is not allowed).
7234 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7235 Fix testsuite so that is does not work around messages that should not
7236 have been posted in the first place.
7238 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7240 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7241 (update_degree), (gst_bin_sort_iterator_next):
7242 Fix annoying bug in the sorted iterator where a sink that is not really
7243 a sink (when it has downstream links) screwed up the iterator.
7245 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7246 Unit test to verify the fix.
7248 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7251 Add some more docs for the messages.
7253 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7254 (gst_base_sink_query):
7255 Add some more debugging.
7257 * tools/gst-launch.c: (event_loop):
7258 When interrupting, don't try to set pipeline to PAUSED twice.
7260 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7263 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7264 (bin_handle_async_start), (gst_bin_handle_message_func):
7265 Move ASYNC_START message posting to where it belongs, similar to
7267 Don't post ASYNC_START when we are in error.
7268 Post ASYNC_START when we added an async element to a bin.
7270 2007-08-14 Julien MOUTTE <julien@moutte.net>
7272 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7273 generation from vargs. Fixes #466595.
7275 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7277 * gst/gstbin.c: (gst_bin_element_set_state):
7278 Always change the state of a NO_PREROLL element even if it has ASYNC
7279 elements inside (in case of a bin).
7281 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7282 Unit test for this case.
7284 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7286 * libs/gst/check/gstbufferstraw.c:
7287 * libs/gst/check/gstcheck.h:
7288 * libs/gst/controller/gstcontroller.c:
7289 * libs/gst/controller/gstcontrolsource.h:
7290 * libs/gst/controller/gstlfocontrolsource.h:
7291 * plugins/elements/gstcapsfilter.h:
7292 * plugins/elements/gstfdsink.h:
7293 * plugins/elements/gstfdsrc.h:
7294 Add more missing docs.
7296 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7298 * gst/gststructure.c:
7299 Add Since tag to docs.
7301 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7303 * docs/gst/gstreamer-sections.txt:
7304 * gst/gststructure.c: (gst_structure_get_uint):
7305 * gst/gststructure.h:
7306 Add function to get uint from a structure.
7307 API: gst_structure_get_uint()
7309 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7311 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7312 (gst_caps_intersect):
7313 Fix proper check for simple caps.
7315 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7317 * docs/gst/Makefile.am:
7318 * docs/libs/Makefile.am:
7319 Remove cruft and do some cleanups.
7321 * docs/gst/gstreamer-docs.sgml:
7322 * docs/libs/gstreamer-libs-docs.sgml:
7323 Prepare for comming gtkdoc features (rebase against online docs).
7325 2007-08-10 Michael Smith <msmith@fluendo.com>
7327 * docs/gst/gstreamer-sections.txt:
7328 Add gst_registry_add_path to docs.
7330 2007-08-10 Michael Smith <msmith@fluendo.com>
7332 * gst/gstregistry.h:
7333 Add gst_registry_add_path, which was missing from this header.
7335 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7337 * libs/gst/controller/gstlfocontrolsource.c:
7340 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7342 * libs/gst/base/gstbasesink.c:
7343 Don't send an async_start message during downwards state change if
7344 target state is less than READY
7346 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7348 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7352 Added Hungarian translation.
7354 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7361 Updated translations.
7363 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7365 * libs/gst/controller/Makefile.am:
7366 Dist gstlfocontrolsourceprivate.h
7368 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7370 * docs/libs/gstreamer-libs.types:
7371 Don't register the enum type gst_lfo_waveform_get_type() in the
7372 .types file - only GObject derived types belong.
7374 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7376 Patch by: <arenevier at fdn dot fr>
7379 Remove comma from last element in enum to avoid compile errors when
7380 using -pendantic. Fixes #464366.
7382 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7384 * docs/design/part-TODO.txt:
7385 Add some more TODO items
7387 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7390 * gst/gstcaps.c: (gst_caps_intersect):
7391 Optimize trivial intersection case between identical caps pointers.
7393 * gst/gstelement.c: (gst_element_continue_state),
7394 (gst_element_set_state_func):
7396 Fix spelling and grammar mistakes.
7398 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7402 Update POTFILES. Fixes #461599.
7404 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7407 Fix confusing typo in debug output.
7409 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7411 reviewed by: Stefan Kost <ensonic@users.sf.net>
7413 * libs/gst/controller/Makefile.am:
7414 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7415 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7416 (gst_lfo_control_source_new),
7417 (gst_lfo_control_source_set_waveform),
7418 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7419 (gst_lfo_control_source_finalize),
7420 (gst_lfo_control_source_dispose),
7421 (gst_lfo_control_source_set_property),
7422 (gst_lfo_control_source_get_property),
7423 (gst_lfo_control_source_class_init):
7424 * libs/gst/controller/gstlfocontrolsource.h:
7425 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7426 API: Add GstLFOControlSource, a control source that gives values
7427 for specific timestamps based on several periodic waveforms.
7430 * tests/check/libs/controller.c: (GST_START_TEST),
7431 (gst_controller_suite):
7432 * docs/libs/gstreamer-libs-docs.sgml:
7433 * docs/libs/gstreamer-libs-sections.txt:
7434 * docs/libs/gstreamer-libs.types:
7435 Add documentation and unit tests for GstLFOControlSource.
7437 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7442 === release 0.10.14 ===
7444 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7447 releasing 0.10.14, "Breathing Vacuum"
7449 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7451 * gst/gstelement.c: (gst_element_class_set_details_simple):
7453 Make strings passed to gst_element_class_set_details_simple()
7454 constant, as they should be (#462752).
7456 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7458 * gst/gstbin.c: (gst_bin_change_state_func),
7459 (bin_handle_async_done), (gst_bin_handle_message_func):
7460 Don't forget about the fact that some element went ASYNC even after a
7461 resync. This makes us post the ASYNC_DONE message correctly.
7464 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7466 * gst/gstregistry.c: (gst_registry_add_feature):
7467 When replacing an existing feature in the registry, make sure to
7468 continue holding a reference until we've replaced the name string
7469 within our feature hash table. Make sure to use g_hash_table_replace
7470 instead of g_hash_table_insert to ensure the new name string is used
7471 as a key instead of the old one that we're about to free.
7474 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7476 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7477 (gst_plugin_feature_set_name):
7478 Revert patch from #459466 until after the release and we can work
7479 out exactly what the problem is (if any).
7481 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7483 * docs/gst/gstreamer-sections.txt:
7486 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7488 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7490 * docs/libs/Makefile.am:
7491 Include our build-prefix libs and includes before the generic ones to
7492 avoid linking against the installed libs when we want the build-tree
7495 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7497 Patch by: Steve Fink <sphink gmail com>
7499 * docs/pwg/building-testapp.xml:
7500 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7501 if people try to build or install the example from the plugin
7502 template against a GStreamer from package using the configure
7505 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7507 Patch by: Steve Fink <sphink gmail com>
7509 * tools/gst-inspect.1.in:
7510 Document --print-all and --print-plugin-auto-install-info command
7511 line options in man page.
7513 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7515 * docs/gst/gstreamer-sections.txt:
7516 Add docs for new api function.
7518 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7520 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7521 * gst/gstelementfactory.h:
7522 API: gst_element_factory_has_interface()
7523 Added method to check if an element factory implements a named
7526 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7529 * docs/gst/gstreamer.types.in:
7530 Another conditional doc check.
7533 * gst/gstparamspecs.h:
7534 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7539 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7541 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7542 (gst_registry_binary_load_feature),
7543 (gst_registry_binary_load_plugin),
7544 (gst_registry_binary_read_cache):
7545 Print error just once and with additional info.
7547 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7549 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7550 (helper_find_suggest), (helper_find_get_length),
7551 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7552 (gst_type_find_helper_for_buffer):
7553 Cleanup the typefindhelper code and add private doc comments.
7555 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7557 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7558 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7559 Fix capsfilter for cases where the caps set on capsfilter will provide
7560 additional information.
7563 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7565 * gst/gsttypefindfactory.c:
7566 Fix docs that recommened wrong function to use.
7568 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7570 * tools/gst-inspect.c: (print_plugin_features):
7571 Also give media-type for typefinders in element output.
7573 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7575 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7576 (gst_registry_remove_features_for_plugin_unlocked),
7577 (gst_registry_add_feature), (gst_registry_remove_feature),
7578 (gst_registry_lookup_feature_locked):
7579 * gst/gstregistry.h:
7580 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7583 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7585 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7586 (gst_plugin_feature_set_name):
7587 Avoid double memory usage for pluginfeature names. Fixes #459466.
7589 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7592 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7593 driving the pipeline may need to explicitly check for NOT_LINKED as
7594 well, since IS_FATAL doesn't cover that.
7596 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7598 * docs/pwg/advanced-types.xml:
7599 Fix typo and duplicate entry in video formats list.
7601 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7603 * libs/gst/controller/gstinterpolation.c:
7604 Also round to the nearest int when using cubic interpolation.
7606 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7608 * libs/gst/controller/gstinterpolation.c:
7609 When linearly interpolating integer types, round to the nearest int
7610 by adding 0.5. Don't do it for float/double types.
7611 Fixes the failing controller test on my machine, which is somehow
7612 rounding differently than on the buildbots.
7614 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7616 * tools/gst-plot-timeline.py:
7617 Better log parsing (categories can have -). Adjust text vs. lines, so
7618 that they span the same y-range.
7620 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7622 * docs/random/ensonic/audiobaseclasses.txt:
7623 * docs/random/ensonic/dynlink.txt:
7624 * docs/random/ensonic/profiling.txt:
7627 * docs/random/moving-plugins:
7628 Add note to use g_assert type macros.
7630 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7633 * libs/gst/check/Makefile.am:
7634 Add libm check as we use in for plugins.
7636 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7638 * gst/gstbin.c: (gst_bin_continue_func):
7639 Check that the state_cookie hasn't changed since the continue_func
7640 was scheduled. Avoids problems where the state changes back to
7641 something it shouldn't be because it was changed in the meantime.
7643 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7645 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7646 (gst_registry_binary_save_string),
7647 (gst_registry_binary_save_pad_template),
7648 (gst_registry_binary_save_feature),
7649 (gst_registry_binary_save_plugin),
7650 (gst_registry_binary_load_feature),
7651 (gst_registry_binary_load_plugin),
7652 (gst_registry_binary_read_cache):
7653 Fix memory leak. Be less verbose in the log.
7655 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7657 * tests/check/elements/.cvsignore:
7658 Add file to cvsignore as commanded.
7660 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7662 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7663 (mq_dummypad_event), (run_output_order_test):
7664 Use a GStaticMutex to protect all cases where libcheck
7665 fail_if/fail_unless macros might be called from multiple threads
7666 simultaneously to avoid errors like:
7667 "check_pack.c:107: :-1081725400:Bad message type arg"
7669 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7671 * tests/check/pipelines/stress.c: (GST_START_TEST):
7672 Make sure we set the pipeline back to the NULL state before
7673 dropping our final reference.
7675 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7677 * tests/check/elements/tee.c: (GST_START_TEST):
7678 Make the tee stress-test a little less stressful so it doesn't just
7679 time out on slow-machines, and remove a small race when it's starting
7680 up by adding a get_state() call.
7682 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7685 Avoid reading registry twice on startup. Fixes #457322.
7687 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7689 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7690 * pkgconfig/gstreamer-check.pc.in:
7691 Substitute the CFLAGS for libcheck into our .pc file too so that
7692 dependent modules will pick it up properly if libcheck is installed
7693 into some other prefix.
7695 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7698 Revert the pkg-config check for libcheck, since it pulls in the
7699 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7700 a proper solution, either from the check project, or something else.
7702 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7705 Use pkg-config to locate check.
7707 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7714 Add deprecation guards.
7716 * libs/gst/base/gstcollectpads.h:
7717 Don't document object (this is implicitly private).
7719 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7721 * gst/gststructure.c: (gst_structure_parse_value):
7722 When deserialising foo=bar without a type cast, check if it's a
7723 boolean before falling back to a string type, otherwise things like
7724 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7725 because the filtercaps end up having a signed=(string)true field,
7726 which causes problems later when intersection caps.
7728 * tests/check/gst/gststructure.c: (GST_START_TEST):
7729 Add a unit test for this.
7731 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7733 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7735 * libs/gst/controller/Makefile.am:
7736 * libs/gst/controller/gstcontroller.c:
7737 (gst_controlled_property_add_interpolation_control_source),
7738 (gst_controlled_property_new), (gst_controlled_property_free),
7739 (gst_controller_find_controlled_property),
7740 (gst_controller_new_valist), (gst_controller_new_list),
7741 (gst_controller_new), (gst_controller_remove_properties_valist),
7742 (gst_controller_remove_properties_list),
7743 (gst_controller_remove_properties),
7744 (gst_controller_set_property_disabled),
7745 (gst_controller_set_disabled), (gst_controller_set_control_source),
7746 (gst_controller_get_control_source), (gst_controller_get),
7747 (gst_controller_sync_values), (gst_controller_get_value_array),
7748 (_gst_controller_dispose), (gst_controller_get_type),
7749 (gst_controlled_property_set_interpolation_mode),
7750 (gst_controller_set), (gst_controller_set_from_list),
7751 (gst_controller_unset), (gst_controller_unset_all),
7752 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7753 * libs/gst/controller/gstcontroller.h:
7754 * libs/gst/controller/gstcontrollerprivate.h:
7755 * libs/gst/controller/gstcontrolsource.c:
7756 (gst_control_source_class_init), (gst_control_source_init),
7757 (gst_control_source_get_value),
7758 (gst_control_source_get_value_array), (gst_control_source_bind):
7759 * libs/gst/controller/gstcontrolsource.h:
7760 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7761 (gst_object_get_control_source):
7762 * libs/gst/controller/gstinterpolation.c:
7763 (gst_interpolation_control_source_find_control_point_node),
7764 (gst_interpolation_control_source_get_first_value),
7765 (_interpolate_none_get), (interpolate_none_get),
7766 (interpolate_none_get_boolean_value_array),
7767 (interpolate_none_get_enum_value_array),
7768 (interpolate_none_get_string_value_array),
7769 (_interpolate_trigger_get), (interpolate_trigger_get),
7770 (interpolate_trigger_get_boolean_value_array),
7771 (interpolate_trigger_get_enum_value_array),
7772 (interpolate_trigger_get_string_value_array):
7773 * libs/gst/controller/gstinterpolationcontrolsource.c:
7774 (gst_control_point_free), (gst_interpolation_control_source_reset),
7775 (gst_interpolation_control_source_new),
7776 (gst_interpolation_control_source_set_interpolation_mode),
7777 (gst_interpolation_control_source_bind),
7778 (gst_control_point_compare), (gst_control_point_find),
7779 (gst_interpolation_control_source_set_internal),
7780 (gst_interpolation_control_source_set),
7781 (gst_interpolation_control_source_set_from_list),
7782 (gst_interpolation_control_source_unset),
7783 (gst_interpolation_control_source_unset_all),
7784 (gst_interpolation_control_source_get_all),
7785 (gst_interpolation_control_source_get_count),
7786 (gst_interpolation_control_source_init),
7787 (gst_interpolation_control_source_finalize),
7788 (gst_interpolation_control_source_dispose),
7789 (gst_interpolation_control_source_class_init):
7790 * libs/gst/controller/gstinterpolationcontrolsource.h:
7791 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7792 API: Refactor GstController into the core controller which can take
7793 a GstControlSource for providing actual values for timestamps.
7794 Implement a interpolation control source and use this for backward
7795 compatibility, deprecate a bunch of functions that are now handled
7796 by GstControlSource or GstInterpolationControlSource.
7797 Make it possible to disable the controller completely or only for
7798 specific properties. Fixes #450711.
7799 * docs/libs/gstreamer-libs-docs.sgml:
7800 * docs/libs/gstreamer-libs-sections.txt:
7801 * docs/libs/gstreamer-libs.types:
7802 Add new functions and classes to the docs.
7803 * tests/check/libs/controller.c: (GST_START_TEST),
7804 (gst_controller_suite):
7805 * tests/examples/controller/audio-example.c: (main):
7806 Port unit test and example to the new API and add some new
7809 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7811 Patch by: Mark Nauwelaerts <manauw at skynet be>
7813 * plugins/elements/gstmultiqueue.c:
7814 (gst_multi_queue_get_internal_links), (apply_buffer),
7815 (single_queue_overrun_cb), (gst_single_queue_new):
7816 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7817 the pipeline layout can be tracked correctly. Fixes #453732.
7819 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7821 * docs/gst/Makefile.am:
7822 * docs/libs/Makefile.am:
7823 * docs/plugins/Makefile.am:
7824 Simplify --extra-dir as gtkdoc scans recursively.
7826 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7828 * tools/gst-launch.c: (main):
7829 When we got an error, there is no point in waiting for preroll when
7832 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7834 * plugins/elements/gsttee.c: (gst_tee_base_init),
7835 (gst_tee_request_new_pad), (gst_tee_release_pad),
7836 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7837 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7839 Be a lot smarter when deciding what srcpad to use for proxying
7840 the buffer_alloc. Also handle pad added/removed when doing so.
7842 Keep track of what pads we already pushed on in case we have pads
7843 added/removed while pushing. Fixes #374639
7845 * tests/check/Makefile.am:
7846 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7848 Added unit test for pad resync.
7850 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7854 Updated translations.
7856 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7858 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7862 Added new Finnish translation.
7864 2007-06-28 Wim Taymans <wim@fluendo.com>
7866 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7867 (single_queue_overrun_cb):
7868 When figuring out when a queue is filled, use our internal time estimate
7869 based on segments, just like check_full does.
7871 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7873 * gst/gstminiobject.c: (gst_mini_object_get_type):
7874 Remove 3 do-nothing methods.
7876 2007-06-27 Wim Taymans <wim@fluendo.com>
7878 Patch by: Tim Angus <tim at ngus dot net>
7880 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7881 (gst_capsfilter_set_property):
7882 Take a reference instead of a copy when setting "caps".
7883 Fix documentation to clarify this behaviour. Fixes #449414.
7885 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7887 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7888 * gst/gstplugin.c: (gst_plugin_init):
7889 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7890 * gst/gstquery.c: (gst_query_get_type):
7891 * gst/gstregistry.c: (gst_registry_init):
7892 * gst/gsturi.c: (gst_uri_handler_base_init):
7893 Remove empty instance_init() functions to save relocs and lessen the
7894 noise. Remove some of the function prototypes that are doubled by
7897 2007-06-27 Wim Taymans <wim@fluendo.com>
7899 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7901 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7902 Add peer and direction in the XML serialisation of ghostpads.
7905 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7908 Preserve useful information, thanks Tim.
7910 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7912 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7913 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7914 (gst_single_queue_push_one), (gst_multi_queue_loop),
7915 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7916 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7917 (compute_high_id), (gst_single_queue_new):
7918 * plugins/elements/gstmultiqueue.h:
7919 Take the multiqueue lock when updating the fill level so we don't get
7922 After applying a buffer or event on the src pad segment, make sure to
7923 call gst_data_queue_limits_changed() to get the data queue to unblock
7924 and check the filled state again.
7926 Rework the not-linked pad handling so the logic is that not-linked
7927 pads can push as fast as they like, but only so they never get
7928 ahead of any linked pads.
7930 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7931 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7932 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7934 Add a test to check that not-linked pads always stay behind
7939 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7941 * docs/random/release:
7942 Some updates to the release procedure.
7944 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7946 * gst/gstelementfactory.c: (__gst_element_details_clear):
7947 Microoptimization that saves stunning 80 bytes.
7949 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7951 * docs/plugins/gstreamer-plugins.args:
7952 * docs/plugins/inspect/plugin-coreelements.xml:
7953 * docs/plugins/inspect/plugin-coreindexers.xml:
7954 Update docs with caps info.
7956 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7959 Updated Italian translation.
7961 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7965 Update Vietnamese translations.
7967 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7969 * libs/gst/base/gstbasesink.c:
7970 Remove unused signal enum.
7972 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7974 * docs/gst/gstreamer-sections.txt:
7976 * gst/gstutils.c: (gst_type_register_static_full):
7977 Beef up and include the docs for gst_type_register_static_full and
7978 gst_element_class_set_details_simple and add the API keyword
7981 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7983 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7984 (update_time_level), (gst_single_queue_push_one),
7985 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7986 (single_queue_overrun_cb), (single_queue_underrun_cb),
7987 (single_queue_check_full):
7988 Fix setting max-* properties after adding queues.
7989 Use IS_FILLED for checking visible items.
7990 Signal overrun if multiple queues overrun.
7991 Add extra debug output.
7992 Patch by: Wim Taymans <wim@fluendo.com>
7994 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7996 * gst/gstelement.c: (gst_element_class_set_details_simple):
7998 * gst/gstutils.c: (gst_type_register_static_full):
8000 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8001 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8002 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8003 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8004 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8005 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8006 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8007 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8008 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8009 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8010 (apply_buffer), (gst_queue_chain):
8011 * plugins/elements/gsttee.c: (gst_tee_base_init):
8012 * plugins/elements/gsttypefindelement.c:
8013 (gst_type_find_element_base_init),
8014 (gst_type_find_element_class_init):
8015 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8016 API: add gst_type_register_static_full
8017 API: add gst_element_class_set_details_simple
8019 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8021 * docs/pwg/advanced-types.xml:
8022 Fix typo in iana.org URI.
8024 2007-06-19 Andy Wingo <wingo@pobox.com>
8026 * tests/check/pipelines/simple-launch-lines.c
8027 (test_state_change_returns): Enable pull-mode tests now that
8028 basesink has been fixed.
8030 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8031 Changed from gst_base_sink_is_prerolled, reversing the sense of
8032 the return value. Returns FALSE also if the sink is in pull mode,
8033 in which case it needs no preroll.
8034 (gst_base_sink_query, gst_base_sink_change_state): Update for
8035 needs_preroll change.
8036 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8037 chaining up, in which we return SUCCESS directly if we activated
8038 in pull mode instead of ASYNC. Involves countering an async_start
8039 message sent before chaining up; not sure if this is correct, in
8040 an ideal world we only send async-start when activating in push
8043 * tests/check/pipelines/simple-launch-lines.c
8044 (test_state_change_returns): New test, partially disabled until
8047 2007-06-19 Wim Taymans <wim@fluendo.com>
8049 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8050 (gst_multi_queue_sink_event):
8053 2007-06-19 Wim Taymans <wim@fluendo.com>
8055 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8056 (gst_bin_change_state_func), (bin_push_state_continue),
8057 (bin_handle_async_start), (bin_handle_async_done),
8058 (gst_bin_handle_message_func):
8059 Move the common code for posting state-change messages into
8061 Broadcast the state signal after we posted the messages.
8062 Mark the bin as busy when it's doing a state-change.
8063 Make sure async-start/done messages don't interfere with the bin's
8064 state when it's busy.
8065 After the state change, let the bin check which elements completed the
8066 state change while it was busy so that it can update its state.
8068 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8070 * docs/random/release:
8071 Add a note about updating the doap file to the release checklist
8073 2007-06-18 Wim Taymans <wim@fluendo.com>
8075 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8076 (gst_single_queue_push_one), (gst_multi_queue_chain),
8077 (gst_multi_queue_sink_event):
8078 Make sure we don't reference the buffer/event after we have given away
8079 ownership in the queue.
8081 2007-06-18 Wim Taymans <wim@fluendo.com>
8083 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8084 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8085 Update queue state _after_ adding the item in the queue because else we
8086 could end up being full without the element added yet.
8088 2007-06-18 Wim Taymans <wim@fluendo.com>
8090 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8091 (gst_bin_remove_func), (gst_bin_get_state_func),
8092 (gst_bin_element_set_state), (gst_bin_continue_func),
8093 (bin_push_state_continue), (bin_handle_async_start),
8094 (bin_handle_async_done), (gst_bin_handle_message_func):
8096 Immediatly commit the toplevel bin state when receiving an async-done
8097 message. This enables us to avoid spawning a thread to commit the state
8098 in some common cases and it also avoids some races.
8099 Avoid spawning a state thread when adding/removing async elements to a
8100 toplevel bin. Instead we immediatly update the bin state.
8101 Get rid of iterating all the children when getting the state in the bin
8102 because it is now always up-to-date.
8103 Fix bug where locked elements would always return _SUCCESS even it they
8104 returned NO_PREROLL before being locked.
8105 Fix the order of the state_change, async-start/done messages that was
8106 sometimes incorrect.
8107 Mark the state_dirty field as deprecated, we don't need it anymore as we
8108 are always up-to-date.
8110 * gst/gstelement.c: (gst_element_get_state_func),
8111 (gst_element_continue_state):
8112 Small debug inprovements.
8113 Return the previous element state return when nothing is pending instead
8114 of blindly returning SUCCESS.
8116 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8118 Add a whole bunch of new testcases.
8120 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8124 Update translations.
8126 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8129 Fix typo in the docs.
8131 2007-06-15 Wim Taymans <wim@fluendo.com>
8133 * docs/libs/gstreamer-libs-sections.txt:
8134 Add docs for new methods.
8136 2007-06-15 Wim Taymans <wim@fluendo.com>
8138 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8139 (gst_multi_queue_item_new):
8140 Don't use GSlice because we don't depend on >= 2.10 yet.
8142 2007-06-15 Wim Taymans <wim@fluendo.com>
8144 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8145 (update_time_level), (apply_segment), (apply_buffer),
8146 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8147 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8148 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8149 (single_queue_underrun_cb), (single_queue_check_full):
8150 Remove debug printf.
8152 2007-06-15 Wim Taymans <wim@fluendo.com>
8154 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8155 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8156 (gst_data_queue_set_flushing), (gst_data_queue_push),
8157 (gst_data_queue_pop), (gst_data_queue_drop_head),
8158 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8159 * libs/gst/base/gstdataqueue.h:
8161 Added methods to get the current levels and to inform the queue that the
8162 'full' limits changed.
8164 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8165 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8166 (gst_single_queue_flush), (update_time_level), (apply_segment),
8167 (apply_buffer), (gst_single_queue_push_one),
8168 (gst_multi_queue_item_steal_object),
8169 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8170 (gst_multi_queue_loop), (gst_multi_queue_chain),
8171 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8172 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8173 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8174 (single_queue_underrun_cb), (single_queue_check_full),
8175 (gst_single_queue_new):
8176 Keep track of time in the queue by measuring the difference between
8177 running_time on input and output. This gives more accurate results and
8178 can compensate for segments correctly.
8179 Make a queue by default only 5 buffers deep. We will now increase the
8180 buffer size depending on the filledness of the other queues.
8181 Factor out commong flush code.
8182 Make sure we don't add additional refcounts to buffers when we can avoid
8184 Propagate GstFlowReturn differently.
8185 Use GSlice for intermediate GstMultiQueueItems.
8187 Resize queues on over and underruns based on filled level of other
8189 When checking if the queue is filled, prefer to measure in time if we
8190 can and fall back to bytes when no time is known.
8192 * plugins/elements/gstqueue.c:
8195 2007-06-15 Wim Taymans <wim@fluendo.com>
8197 * libs/gst/base/gstbasetransform.c:
8198 (gst_base_transform_sink_event):
8199 Work around the brokenness of the event vmethod in basetransform. Prefer
8200 to return TRUE when the subclass returned FALSE (meaning don't forward
8203 * libs/gst/base/gstbasetransform.h:
8206 2007-06-15 Wim Taymans <wim@fluendo.com>
8208 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8209 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8210 (gst_base_src_default_query), (gst_base_src_get_range),
8211 (gst_base_src_start):
8212 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8215 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8217 * docs/pwg/advanced-types.xml:
8218 Added more formats to caps table.
8220 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8222 * tools/gst-launch.c: (main):
8223 Remove crufy code. GOption does not need this workaround.
8225 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8227 * libs/gst/controller/gstcontroller.c:
8228 (gst_controlled_property_set_interpolation_mode):
8229 Fix wrong getter for enums in controller.
8231 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8233 * libs/gst/check/gstcheck.c: (gst_check_init):
8234 Intercept criticals and warnings in the Gst-Phonon log domain, so
8235 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8238 2007-06-14 Edward Hervey <edward@fluendo.com>
8240 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8241 Since this file doesn't include "gst.h" it will not go through the
8242 macros that disable GST_LOG if debugging was disabled.
8244 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8246 * libs/gst/check/Makefile.am:
8247 * libs/gst/check/gstcheck.h:
8248 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8249 * pkgconfig/gstreamer-check.pc.in:
8250 Ugly 'fix' for the controller unit test on the p5 bot: in
8251 fail_unless_equals_float() check whether the values are 'almost
8252 equal' by allowing a small absolute error, which should be good
8253 enough for our use cases (normal numbers and values close to 0).
8254 Proper fixage left to floating point arithmetic aficionados.
8256 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8258 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8259 (gst_base_sink_render_object), (gst_base_sink_get_position):
8260 Add two breaks thats where missing.
8262 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8264 * docs/libs/gstreamer-libs-sections.txt:
8265 * libs/gst/check/gstcheck.h:
8266 API: add fail_unless_equals_float() and assert_equals_float().
8267 Add documentation for some of the macros.
8269 * tests/check/libs/controller.c: (GST_START_TEST):
8270 Use newly-added asserts.
8272 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8274 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8275 Show the caps change in the log to help spotting the case of not
8276 exactly matching caps.
8278 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8280 * docs/pwg/building-boiler.xml:
8281 Fix typos, spotted by Thijs Vermeir (#447190).
8283 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8285 * docs/plugins/tmpl/.cvsignore:
8286 Ignore file to keep the buildbots happy
8288 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8290 * docs/plugins/Makefile.am:
8291 * docs/plugins/gstreamer-plugins-docs.sgml:
8292 * docs/plugins/gstreamer-plugins-sections.txt:
8293 Pull fdsink into the docs too.
8295 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8297 * libs/gst/controller/gstinterpolation.c:
8298 Actually use the new functions with min/max checks for the trigger and
8299 none interpolation modes for get() and get_value_array() instead of
8302 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8304 * libs/gst/controller/gstcontroller.c:
8305 (gst_controlled_property_free):
8306 Unset the minimum and maximum GValues when freeing the corresponding
8307 GstControllerProperty struct.
8309 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8311 * libs/gst/controller/gstcontroller.c:
8312 (gst_controlled_property_new):
8313 * libs/gst/controller/gstcontrollerprivate.h:
8314 * libs/gst/controller/gstinterpolation.c:
8315 (gst_controlled_property_find_control_point_node),
8316 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8317 (interpolate_none_get_string_value_array),
8318 (interpolate_trigger_get),
8319 (interpolate_trigger_get_enum_value_array),
8320 (interpolate_trigger_get_string_value_array):
8321 Protect against values larger or smaller than the minimum or maximum
8322 allowed value for the property when using values that can be compared.
8324 Optimize trigger interpolator a bit by taking the last requested value
8325 into account instead of always looping through the complete list.
8327 Fix coding style a bit, everywhere else we use "return foo" instead
8330 * tests/check/libs/controller.c: (GST_START_TEST),
8331 (gst_controller_suite):
8332 Add unit test for the protection against too large or too small
8335 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8337 * docs/random/slomo/controller.txt:
8338 Add some thoughts about the future of the controller.
8340 2007-06-08 Wim Taymans <wim@fluendo.com>
8342 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8343 Don't overflow in retimestamping code.
8345 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8347 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8348 Use gst_util_guint64_to_gdouble for conversions.
8349 * win32/common/libgstreamer.def:
8350 Add new exported functions.
8352 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8355 Small docs addition.
8357 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8360 Remove that test line again.
8362 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8365 Test commit mail sending.
8367 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8370 Fix typo and test commit mail sending.
8372 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8374 * tests/examples/controller/audio-example.c:
8375 Improve comment and test commit mail sending.
8377 2007-06-07 Wim Taymans <wim@fluendo.com>
8379 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8380 (gst_bin_remove_func), (gst_bin_element_set_state),
8381 (bin_handle_async_start), (bin_handle_async_done),
8382 (gst_bin_handle_message_func):
8383 Add helper function to find messages.
8384 Generate the async-done messages together with the state change
8386 Small cleanups in handling toplevel bins.
8388 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8390 * libs/gst/base/gstdataqueue.c:
8391 * libs/gst/base/gstdataqueue.h:
8392 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8393 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8394 (gst_multi_queue_sink_event):
8395 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8396 Fix multiqueue leaking buffers and events when downstream or the
8397 queue are flushing. Make refcounting assumptions explicit and
8398 document them (shouldn't break existing code that uses it other than
8399 maybe leak miniobjects, but that already happens anyway). Add unit
8400 test for the most common flushing case. Fixes #423700.
8402 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8404 * libs/gst/controller/gstcontroller.c:
8405 Clarify docs: The get_all, get_value_array(s) functions
8406 don't modify the GObject properties.
8408 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8410 * libs/gst/controller/gstcontroller.c:
8411 (gst_controlled_property_set_interpolation_mode),
8412 (gst_controlled_property_prepend_default),
8413 (gst_controlled_property_new), (gst_controller_set_unlocked),
8414 (gst_controller_set), (gst_controller_set_from_list),
8415 (gst_controller_unset), (gst_controller_unset_all):
8416 * libs/gst/controller/gstcontrollerprivate.h:
8417 * libs/gst/controller/gstinterpolation.c:
8418 Factor out the 'set' logic into gst_controller_set_unlocked for the
8419 gst_controller_set and gst_controller_set_from_list functions.
8421 To make life of the interpolators easier always add a control point
8422 at timestamp zero with the default value.
8424 In the linear interpolator make things more obvious by better variable
8427 Implement cubic interpolation mode (by using a natural cubic spline)
8428 and map the quadratic interpolation mode to this too (as quadratic
8429 doesn't make much sense, see discussion on the list).
8431 * tests/check/libs/controller.c: (GST_START_TEST),
8432 (gst_controller_suite):
8433 Add unit test for the cubic interpolation mode and check everywhere
8434 if the interpolation mode could be set as expected.
8436 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8438 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8439 Don't use GLib-2.10 functions, we still depend on
8440 GLib-how-old-is-it-again-2.8.
8442 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8444 * docs/gst/gstreamer-sections.txt:
8448 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8449 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8450 (_gst_param_fraction_values_cmp),
8451 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8452 * gst/gstparamspecs.h:
8454 * tests/check/Makefile.am:
8455 * tests/check/gst/.cvsignore:
8456 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8457 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8458 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8459 (GST_START_TEST), (gst_param_spec_suite):
8460 API: add GstParamSpecFraction, so elements can have fraction
8461 properties without lots of painful string parsing (#444648).
8463 2007-06-05 Wim Taymans <wim@fluendo.com>
8465 * gst/gstobject.c: (gst_object_class_init):
8466 Fix signal signature.
8469 Add small clarification in the api docs.
8471 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8472 States are protected with object lock.
8474 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8477 I should probably be listed as an author by now.
8479 * docs/random/release:
8480 Update the release doc
8482 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8485 Make docs for gst_value_compare() mention return enums that
8488 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8493 === release 0.10.13 ===
8495 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8498 releasing 0.10.13, "With or without you"
8500 2007-05-25 Wim Taymans <wim@fluendo.com>
8502 * gst/gstbin.c: (bin_handle_async_done):
8503 Make sure that the child bin stops after completing the async state
8504 change so that the parent can continue the state change to PLAYING.
8507 2007-05-25 Wim Taymans <wim@fluendo.com>
8509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8510 (unref_data), (gst_collect_pads_remove_pad),
8511 (gst_collect_pads_check_pads):
8512 Use additional refcounting to avoid crashes when dynamically adding and
8513 removing pads. Fixes #420206.
8515 2007-05-24 Wim Taymans <wim@fluendo.com>
8517 * tools/gst-launch.c: (event_loop):
8518 When buffering goes from a two digit to a single digit number, make sure
8519 to remove the old second digit by writing a blank over it.
8521 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8523 * libs/gst/base/gstdataqueue.c:
8524 Eliminate tabs and trailing comma in enum list; fix some typos.
8526 2007-05-24 Wim Taymans <wim@fluendo.com>
8528 * tests/check/gst/gstbin.c: (GST_START_TEST):
8529 Allow refcount of 3 and 4 because some state thread might still be busy
8532 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8534 * plugins/elements/Makefile.am:
8535 * plugins/elements/gstmultiqueue.h:
8536 * plugins/elements/gstqueue.h:
8537 These are not installed headers, no need for padding.
8539 2007-05-24 Wim Taymans <wim@fluendo.com>
8541 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8542 (gst_bin_continue_func):
8543 Enable latency for next release.
8544 Restore STATE_LOCK around recalc_state that was left out during the
8545 rewrite and could result in racy behaviour when _get_state and
8546 recalc_state are run concurrently. See #440463.
8548 2007-05-23 Wim Taymans <wim@fluendo.com>
8550 * tests/check/gst/gstsystemclock.c: (store_callback),
8552 Improve test_async_order to also work when both timers are already
8553 expired when we get scheduled to check it.
8555 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8557 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8558 (gst_bin_set_property), (gst_bin_get_property),
8559 (gst_bin_remove_func), (gst_bin_handle_message_func):
8561 'private' is a c++ keyword, let's not use that in header files,
8562 otherwise c++ compilers will throw a tantrum.
8564 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8566 * plugins/elements/gstelements.c:
8567 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8568 (gst_file_sink_get_current_offset):
8569 * plugins/indexers/gstindexers.c: (plugin_init):
8570 Use #ifdef for HAVE_XYZ for consistency.
8572 * tests/check/Makefile.am:
8573 * tests/check/elements/.cvsignore:
8574 * tests/check/elements/filesink.c: (setup_filesink),
8575 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8576 Add some unit tests for filesink.
8578 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8580 Patch by: Mark Nauwelaerts <manauw at skynet be>
8582 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8583 (gst_file_sink_query), (gst_file_sink_do_seek),
8584 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8585 * plugins/elements/gstfilesink.h:
8586 Fix position reporting; rename data_written member to current_pos to
8587 reflect its real meaning (fixes #412648).
8589 2007-05-22 Edward Hervey <edward@fluendo.com>
8591 * docs/gst/gstreamer-sections.txt:
8592 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8593 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8594 (gst_bin_remove_func), (gst_bin_handle_message_func):
8596 Add a property for bins that handle the state change of their childs.
8599 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8601 * libs/gst/controller/gstinterpolation.c:
8602 Use an array of the correct type when using _get_value_array with
8603 linear interpolation.
8605 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8607 * gst/gstelement.c (gst_element_requires_clock,
8608 gst_element_provides_clock, gst_element_request_pad,
8609 gst_element_class_set_details, gst_element_class_set_details_simple,
8610 gst_element_default_send_event, gst_element_abort_state,
8611 gst_element_continue_state, gst_element_set_state,
8612 gst_element_set_state_func, iterator_activate_fold_with_resync):
8613 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8614 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8615 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8616 gst_pad_get_range, gst_pad_pull_range):
8617 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8618 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8619 GstPadActivateModeFunction, GstPadChainFunction,
8620 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8621 GstPadFixateCapsFunction, GstPadTemplate):
8622 * gst/gstpipeline.c (gst_pipeline_change_state,
8623 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8624 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8625 gst_pipeline_get_delay):
8626 Whitespace and docs fixes.
8628 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8630 * libs/gst/controller/gstinterpolation.c:
8631 (interpolate_trigger_get_enum_value_array),
8632 (interpolate_trigger_get_string_value_array):
8633 Add support for retrieving value arrays when using the trigger
8636 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8638 * libs/gst/controller/gstcontroller.c:
8639 (gst_controller_get_value_array):
8640 * libs/gst/controller/gstcontroller.h:
8641 Clarify the docs of gst_controller_get_value_array(): The array where
8642 the values should be written to must be allocated as there seems to be
8643 no way to get the size of a random GType. This doesn't change any
8644 behaviour. Also fix some typos all over the place and remove an unused,
8645 commented function that is not necessary as g_object_set() could be
8647 * tests/check/libs/controller.c: (GST_START_TEST),
8648 (gst_controller_suite):
8649 Add unit test for gst_controller_get_value_array().
8651 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8653 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8655 Disable part of the gst_buffer_try_new_and_alloc test, because
8656 it can happily succeed on 64-bit systems where there's more address
8659 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8661 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8662 Add unit test for the improved caps checking from bug #421543.
8664 2007-05-21 Wim Taymans <wim@fluendo.com>
8666 * docs/design/part-synchronisation.txt:
8669 * gst/gstbin.c: (gst_bin_query):
8670 * plugins/elements/gstqueue.c: (apply_segment):
8676 2007-05-21 Wim Taymans <wim@fluendo.com>
8678 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8679 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8680 (gst_pad_configure_src):
8681 Added simple version of improved caps checking. It was previously
8682 assumed that a setcaps function would check the validity of the caps but
8683 people prefer us to check caps against the template automatically.
8686 2007-05-21 Wim Taymans <wim@fluendo.com>
8688 * libs/gst/base/gstbasetransform.h:
8689 Fix macro for locking/unlocking the transform lock.
8691 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8693 * docs/plugins/tmpl/.cvsignore:
8696 2007-05-18 Edward Hervey <edward@fluendo.com>
8698 * plugins/elements/gstqueue.c: (gst_queue_loop):
8699 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8700 for the subtle art of warning a potentially blocking thread that it
8701 should check the source pad return value, and relay the information
8704 2007-05-18 Edward Hervey <edward@fluendo.com>
8706 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8707 Release the queue lock !
8709 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8711 * docs/libs/gstreamer-libs-sections.txt:
8712 Add the two new controller functions to the appropiate places.
8714 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8716 reviewed by: Stefan Kost <ensonic@users.sf.net>
8718 * libs/gst/controller/gstcontroller.c:
8719 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8720 (_gst_controller_get_property), (_gst_controller_set_property),
8721 (_gst_controller_init), (_gst_controller_class_init):
8722 * libs/gst/controller/gstcontroller.h:
8723 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8724 (gst_object_get_control_rate), (gst_object_set_control_rate):
8725 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8726 Add API that provides sync suggestion timestamps for elements that
8727 call gst_object_sync_values() from which those elements can subdivide
8728 their processing loop to get the best results for the controlled
8729 properties. For now it just suggests last_sync + control_rate as
8730 new timestamp but this will be improved in the future.
8732 While doing that change the control-rate property to a GstClockTime
8733 from guint and change it's meaning from samples to nanoseconds as
8734 the GstController doesn't know anything about sampling rate. Strictly
8735 speaking this breaks ABI but as the control-rate property didn't do
8736 anything in the past and as such couldn't be used this should be no
8739 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8741 reviewed by: Stefan Kost <ensonic@users.sf.net>
8743 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8744 (gst_controller_unset_all):
8745 * libs/gst/controller/gstcontrollerprivate.h:
8746 * libs/gst/controller/gstinterpolation.c:
8747 (gst_controlled_property_find_control_point_node):
8748 Save last synced value from the list to continue searching from there
8749 in future syncs. This speeds everything up a bit.
8751 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8753 reviewed by: Stefan Kost <ensonic@users.sf.net>
8755 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8756 (gst_control_point_find), (gst_controlled_property_new),
8757 (gst_control_point_free), (gst_controlled_property_free),
8758 (gst_controller_set), (gst_controller_set_from_list),
8759 (gst_controller_unset), (gst_controller_unset_all),
8760 (gst_controller_sync_values):
8761 * libs/gst/controller/gstcontroller.h:
8762 * libs/gst/controller/gstcontrollerprivate.h:
8763 * libs/gst/controller/gstinterpolation.c:
8764 (gst_controlled_property_find_control_point_node),
8765 (interpolate_none_get), (interpolate_trigger_get):
8766 Add a new private GstControlPoint struct which "inherits" from
8767 GstTimedValue to allow different interpolators to store internal
8768 values next to each control point. From the outside everything is
8769 still a GstControlPoint so we don't loose binary compatibility.
8770 Also fixup all the GValue handling to not leak GValues or list nodes.
8771 * tests/check/libs/controller.c: (GST_START_TEST):
8772 Free the list nodes and GValues in the controller_misc test.
8774 2007-05-17 Edward Hervey <edward@fluendo.com>
8779 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8781 * gst/gstplugin.c: (gst_plugin_load_file):
8782 If we fail to load a plugin because of unresolved symbols or missing
8783 libraries and spew a warning to stderr, we may just as well mention
8784 which plugin it was that failed to load.
8786 2007-05-13 David Schleef <ds@schleef.org>
8788 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8789 handles the case when ENABLE_GTK_DOC is false, and installs
8790 the prebuilt documentation. So gtk-doc subdirs are
8791 unconditionally enabled. Fixes: #349099.
8793 2007-05-13 David Schleef <ds@schleef.org>
8795 * gst/gstutils.h: Reword some documentation.
8797 2007-05-12 David Schleef <ds@schleef.org>
8799 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8800 do anything with the passed "module" parameter, so remove it.
8801 Allows removal of additional vestigal code.
8803 2007-05-12 David Schleef <ds@schleef.org>
8806 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8807 Switch to using g_stat() because it's more portable.
8809 2007-05-12 David Schleef <ds@schleef.org>
8812 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8813 parsing for embedded systems.
8814 * gst/gstelementfactory.c:
8815 Allow gst_element_register() to be called with plugin==NULL.
8816 Did nobody notice that static elements were broken?
8818 2007-05-12 Wim Taymans <wim@fluendo.com>
8820 * tools/gst-launch.c: (event_loop):
8821 Give more interesting info when buffering starts and stops.
8822 Fix case where buffering starts but we fail to update the buffering flag
8823 because the target state is not PLAYING.
8825 2007-05-12 Wim Taymans <wim@fluendo.com>
8827 * plugins/elements/gstqueue.c: (gst_queue_init),
8828 (gst_queue_finalize), (update_time_level), (apply_segment),
8829 (apply_buffer), (gst_queue_locked_flush),
8830 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8831 (gst_queue_handle_sink_event), (gst_queue_chain),
8832 (gst_queue_push_one), (gst_queue_loop):
8833 * plugins/elements/gstqueue.h:
8834 Refactor an cleanup queue a bit.
8835 Do better time level calculations that also work when the srcpad is not
8837 Remove some unneeded debug lines.
8839 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8840 Added testcase for time level measurement.
8841 Try to make some stuff more racefree.
8843 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8845 * gst/gsturi.c: (gst_element_make_from_uri):
8846 Don't leak plugin feature.
8848 * tests/check/Makefile.am:
8849 * tests/check/gst/.cvsignore:
8850 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8851 Add brain-dead unit test.
8853 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8855 Patch by: Jeroen Wouters <woutersj at gmail com>
8857 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8858 Treat protocol strings in a case-insensitive way (#437563).
8860 2007-05-11 Michael Smith <msmith@fluendo.com>
8862 * gst/gstplugin.c: (gst_plugin_load_file):
8863 * gst/gstregistry.c: (gst_registry_scan_path_level):
8864 Don't print a g_warning for any failure to load a shared object.
8865 Instead, push this down into gstplugin.c, and warn _only_ if we
8866 failed to open the module (i.e. failure to link).
8867 Avoids warnings on normal, working, non-plugin .so files.
8869 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8871 * gst/gstplugin.c (gst_plugin_load_file):
8872 * gst/gstregistry.c (GST_CAT_DEFAULT,
8873 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8874 Print a g_warning if there was an error when loading a plugins during
8875 registry scan. The shuld help beginners starting with gst-plugin
8878 2007-05-10 Wim Taymans <wim@fluendo.com>
8880 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8881 (update_time_level), (gst_queue_locked_flush),
8882 (gst_queue_handle_sink_event), (gst_queue_chain),
8883 (gst_queue_push_one), (gst_queue_loop):
8884 * plugins/elements/gstqueue.h:
8885 Be smarter when calculating the current amount of data in the queue by
8886 measuring the difference between start and end timestamps (in running
8887 time) inside the queue. Fixes #432876.
8888 API: GstQueue::pushing to notify elements that we are pushing data again
8889 since the running signal is rather broken for this purpose.
8891 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8893 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8894 gst_queue_base_init, gst_queue_init):
8897 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8899 * win32/common/libgstreamer.def:
8900 Add new exported functions.
8901 * win32/vs6/grammar.dsp:
8902 Use grammar pre-generated files.
8904 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8906 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8909 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8911 * gst/gstutils.c: (gst_parse_bin_from_description):
8913 Maintain API and ABI when --disable-parse is used. Now that
8914 we have an appropriate error code, we can just return NULL and the
8915 appropriate error when gst_parse_launch() is used despite it having
8916 been disabled (#342564).
8918 * tests/check/Makefile.am:
8919 * tests/check/pipelines/.cvsignore:
8920 * tests/check/pipelines/parse-disabled.c:
8921 Make sure these functions exist and return NULL plus a GError when
8922 --disable-parse is used.
8924 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8926 * tests/benchmarks/complexity.c: (main):
8927 * tests/benchmarks/mass-elements.c: (main):
8928 Set a good example and don't leak messages.
8930 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8932 * docs/gst/Makefile.am:
8933 * docs/libs/Makefile.am:
8934 Correct fixxrefs options.
8936 * docs/plugins/Makefile.am:
8937 * docs/plugins/gstreamer-plugins-docs.sgml:
8938 * docs/plugins/gstreamer-plugins-sections.txt:
8939 * plugins/elements/Makefile.am:
8940 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8941 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8942 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8943 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8944 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8945 _GstCapsFilterClass, trans_class):
8946 * plugins/elements/gstelements.c (name, rank, type, _elements):
8947 * plugins/elements/gstidentity.c
8948 (gst_identity_check_imperfect_timestamp,
8949 gst_identity_check_imperfect_offset):
8950 Document capsfilter and add doc-blurb to identity.
8952 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8954 * libs/gst/controller/gstcontroller.c:
8955 (gst_controlled_property_set_interpolation_mode):
8956 * libs/gst/controller/gstinterpolation.c:
8957 Don't crash if someone tries to set an interpolation mode that
8958 is invalid or that isn't supported yet. Fixes #422295.
8960 * tests/check/libs/controller.c: (GST_START_TEST),
8961 (gst_controller_suite):
8962 Add a test case for the above.
8964 2007-05-03 Edward Hervey <edward@fluendo.com>
8966 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8967 Properly set the last_stop position on GstSegment. This will only happen
8968 if there is a buffer to push out.
8970 2007-05-03 Wim Taymans <wim@fluendo.com>
8972 * libs/gst/base/gstbasetransform.c:
8973 (gst_base_transform_buffer_alloc):
8974 always_in_place does not mean that the sink and source caps are the
8975 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8977 2007-05-03 Wim Taymans <wim@fluendo.com>
8979 * docs/libs/gstreamer-libs-sections.txt:
8980 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8981 (gst_base_src_default_query), (gst_base_src_get_range):
8982 * libs/gst/base/gstbasesrc.h:
8983 API: gst_base_src_query_latency(). Added method so that subclasses can
8984 easily get the latency values of the base source class.
8986 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8988 * tools/gst-inspect.c (print_implementation_info):
8991 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8993 * tools/Makefile.am:
8994 * tools/gst-launch.1.in:
8995 Don't create a customised man page based on the host architecture,
8996 describe the default registry path generically. That way the man
8997 page is the same for all architectures and packagers have one
8998 multilib issue less to deal with. Fixes #434926.
9000 2007-05-02 Wim Taymans <wim@fluendo.com>
9003 Fix documentation as spotted by rg on IRC.
9005 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9008 Improve docs for gst_element_{link,unlink}.
9010 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9012 * docs/design/part-events.txt:
9013 * docs/design/part-overview.txt:
9017 * libs/gst/base/gstbasesink.c:
9018 Typo fixes; minor docs addition.
9020 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9022 * docs/gst/gstreamer-sections.txt:
9023 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9024 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9026 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9027 or src that supports a given URI protocol exists.
9029 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9031 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9032 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9033 Set the location to NULL if "file://" is set as URI. Otherwise
9034 some random previous URI would still be set if "file://" is
9035 set on an already used filesink/filesrc.
9037 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9039 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9040 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9041 Special case the "file://" URI as as this is used by some
9042 applications to test with gst_element_make_from_uri if there's
9043 an element that supports the URI protocol.
9044 Also move the g_path_is_absolute() check for the location part
9045 of the URI to also check this for "file://localhost/bla" URIs.
9047 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9049 * docs/gst/gstreamer-sections.txt:
9050 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9052 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9054 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9056 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9058 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9059 (gst_registry_binary_load_pad_template),
9060 (gst_registry_binary_load_plugin),
9061 (gst_registry_binary_read_cache):
9062 * gst/gstregistrybinary.h:
9063 Implement no-mmap alternative for registry reading. Do code cleanups.
9064 Add more comments about avoiding strdups for all text data. Comments
9067 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9069 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9070 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9071 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9072 Comment structs and reformat to fix the build (that stuff should go
9073 into a priv. header).
9075 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9077 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9078 (gst_registry_binary_load_feature):
9079 * gst/gstregistrybinary.h:
9080 Refactor so that we can implement multiple features. Add support for
9081 TypeFindFactory features.
9083 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9085 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9088 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9090 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9092 * gst/gstbin.c: (gst_bin_element_set_state),
9093 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9094 (bin_handle_async_done), (gst_bin_handle_message_func):
9095 Fix build with --gst-disable-gst-debug
9097 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9099 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9100 Make sure streaming has finished before calling the ::stop() vfunc,
9101 since that vfunc might clear state which is being used in the
9102 streaming thread. This fixes a race that caused crashes in
9103 audioresample when shutting down a pipeline (#420106).
9105 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9107 * docs/gst/gstreamer-sections.txt:
9108 That was one byte missing.
9110 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9113 * docs/gst/gstreamer-sections.txt:
9115 * gst/gstconfig.h.in:
9116 * gst/gstobject.c: (gst_object_class_init),
9117 (gst_signal_object_class_init):
9119 2nd attempt to have a xml-less build as a joined effort of #413123
9122 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9124 * docs/design/draft-tagreading.txt:
9125 Added open issues/thoughts to draft.
9127 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9129 * gst/parse/grammar.tab.pre.c:
9130 * gst/parse/grammar.tab.pre.h:
9131 * gst/parse/lex._gst_parse_yy.pre.c:
9132 Update the prebuild parser sources.
9134 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9136 * gst/parse/Makefile.am:
9137 And now fix the building of the flex sources. Now everything should
9140 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9142 * gst/parse/Makefile.am:
9143 Now hopefully fix the build failures by setting proper rule
9144 dependencies and moving instead of copying.
9146 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9148 * tests/benchmarks/complexity.gnuplot:
9149 * tests/benchmarks/complexity.scm:
9150 * tests/benchmarks/mass-elements.gnuplot:
9151 * tests/benchmarks/mass-elements.scm:
9152 Total licensification.
9154 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9156 * gst/parse/Makefile.am:
9157 Fix the build by correcting the rule that gave wrong files to flex.
9159 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9161 * tests/benchmarks/complexity.c:
9162 * tests/benchmarks/mass-elements.c:
9163 Change licence to LGPL as granted by Benjamin and Andy.
9165 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9167 * gst/parse/Makefile.am:
9168 Add correct grammar.tab.h dependency if compiling without new enough
9169 flex. Fixes #431150.
9171 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9173 * gst/parse/Makefile.am:
9174 Fix typo and use outdated sources if the flex/bison sources are newer
9175 than the pregenerated ones but flex is too old. Print a warning in
9176 that case. This should fix the build on the build bot.
9178 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9180 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9181 * gst/parse/Makefile.am:
9182 * gst/parse/grammar.y:
9183 * gst/parse/parse.l:
9184 Make the parser reentrant and recursively callable. This requires flex
9185 >= 2.5.31, for older versions pregenerated sources are used as we
9186 can't bump the build dependency. Finally fixes #349180.
9188 * gst/gstparse.c: (gst_parse_launch):
9189 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9192 * docs/gst/Makefile.am:
9193 * docs/gst/Makefile.am:
9194 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9195 (__gst_parse_strfree), (__gst_parse_link_new),
9196 (__gst_parse_link_free), (__gst_parse_chain_new),
9197 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9198 (gst_parse_element_set), (gst_parse_free_link),
9199 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9200 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9201 (_gst_parse_launch):
9202 * gst/parse/grammar.tab.pre.h:
9203 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9204 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9205 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9206 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9207 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9208 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9209 (_gst_parse_yypop_buffer_state),
9210 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9211 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9212 (yy_fatal_error), (_gst_parse_yyget_extra),
9213 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9214 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9215 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9216 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9217 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9218 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9219 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9220 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9221 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9222 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9223 (_gst_parse_yyfree):
9224 If the installed flex version is too old use pre-generated parser
9225 sources. These pre-generated parser sources are always updated when
9226 the actual flex/bison sources change but require everybody who wants
9227 to change something in the parser to have flex >= 2.5.31 installed.
9229 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9231 * common/m4/gst-gettext.m4:
9232 * gst/gst-i18n-lib.h:
9233 Make --disable-nls to work
9235 2007-04-17 Wim Taymans <wim@fluendo.com>
9237 * gst/gstconfig.h.in:
9238 Revert previous change that broke the build.
9240 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9244 * gst/gstconfig.h.in:
9245 Drop libxml2 dependency when building with
9246 --enable-binary-registry --disable-loadsave
9248 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9250 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9251 (gst_registry_binary_read_cache):
9252 * gst/gstregistrybinary.h:
9253 Remove unnecessary <sys/mman.h> include which broke the win32 build
9254 with MingW; move includes from header file to .c file, even if the
9255 header file isn't installed; use g_strerror() where UTF-8 strings
9256 are expected, such as in GST_DEBUG messages.
9258 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9260 * docs/libs/gstreamer-libs-sections.txt:
9261 Remove bogus addition for API I didn't end up keeping.
9263 * libs/gst/base/gstbasesrc.h:
9264 Mention Since: 0.10.13 in the documentation.
9266 Add the API keyword to the previous ChangeLog entry.
9268 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9270 * docs/libs/gstreamer-libs-sections.txt:
9271 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9272 (gst_base_src_default_prepare_seek_segment),
9273 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9274 * libs/gst/base/gstbasesrc.h:
9275 Allow basesrc derived classes to execute seeks in other formats
9276 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9277 to prepare the GstSegment in any format that their perform_seek method
9278 will be able to understand. The default implementation provides the
9279 old behaviour of attempting to convert the seek offsets to the
9280 configured native format.
9282 API: basesrc::prepare_seek_segment vmethod.
9284 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9286 * gst/gstelement.c: (gst_element_get_state_func):
9287 Don't output the same debug statement twice.
9289 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9290 (gst_adapter_peek), (gst_adapter_take_buffer):
9291 Optimise the case where we have buffers at the head of the queue that
9292 can be joined quickly (because they're contiguous sub-buffers) by
9293 merging them together rather than copying data out into new memory.
9295 * gst/parse/grammar.y:
9296 * tests/check/pipelines/parse-launch.c:
9297 Fix a leak in an error path for parse_launch, and add a check
9298 for it to the testsuite.
9300 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9302 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9303 Don't deadlock when releasing a pad - gst_pad_set_active may try
9304 and take the multiqueue lock too.
9306 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9308 * gst/gsterror.c: (_gst_core_errors_init):
9310 API: add GST_CORE_ERROR_DISABLED (#392804).
9312 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9314 * docs/faq/gst-uninstalled:
9315 don't get empty paths on the PATH variables
9316 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9317 Don't format for the uncommon terminal width of 84 characters.
9319 2007-04-06 Wim Taymans <wim@fluendo.com>
9321 * gst/gstpipeline.c: (reset_stream_time),
9322 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9323 Only try to select a different pipeline clock when we went back to
9324 PAUSED and not when we merely got flushed.
9326 2007-04-05 Michael Smith <msmith@fluendo.com>
9328 * tools/gst-launch.1.in:
9329 fractions are better supported in gstreamer than ractions, so
9330 suggest using those.
9332 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9334 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9338 Added Danish translation.
9340 2007-04-05 Wim Taymans <wim@fluendo.com>
9342 * libs/gst/base/gstbasesink.c:
9343 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9344 Fix leak caused when refusing newsegment after EOS.
9346 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9347 (gst_fake_sink_init), (gst_fake_sink_set_property),
9348 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9349 (gst_fake_sink_render), (gst_fake_sink_change_state):
9350 * plugins/elements/gstfakesink.h:
9351 Add num-buffers property to make the element generate EOS after a
9352 configurable amount of buffers.
9353 API: fakesink::num-buffers property.
9355 * tests/check/elements/fakesink.c: (GST_START_TEST),
9357 Fix GstBus leak in test.
9358 Test for fakesink num-buffers.
9360 2007-04-05 Wim Taymans <wim@fluendo.com>
9362 * libs/gst/base/gstbasesink.c:
9363 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9364 (gst_base_sink_change_state):
9365 Don't accept anything after an EOS, return UNEXPECTED instead.
9367 * tests/check/elements/fakesink.c: (GST_START_TEST),
9369 Unit test for new EOS behaviour.
9371 2007-04-05 Wim Taymans <wim@fluendo.com>
9373 * gst/gstelement.c: (gst_element_get_request_pad):
9374 Make padtemplates also work when they don't contain %s or %d.
9376 2007-04-05 Wim Taymans <wim@fluendo.com>
9378 * docs/gst/gstreamer-sections.txt:
9379 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9380 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9382 Improve _adjust_unlocked() so that it overflows less.
9383 Add gst_clock_unadjust_unlocked to convert from external time to
9384 internal time based on calibration.
9385 Add some more debug.
9386 API: GstClock::gst_clock_unadjust_unlocked()
9388 2007-04-03 Wim Taymans <wim@fluendo.com>
9390 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9392 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9393 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9394 when releasing sink pad. Fixes #425400.
9396 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9398 * docs/random/ensonic/dynlink.txt:
9399 More work on proposal for new core api.
9401 * docs/libs/gstreamer-libs-sections.txt:
9402 * libs/gst/base/gstbasetransform.h:
9403 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9405 * libs/gst/controller/gstcontroller.c:
9406 (on_object_controlled_property_changed),
9407 (gst_controller_sync_values),
9408 (gst_controller_set_interpolation_mode):
9409 * libs/gst/controller/gstcontroller.h:
9410 Less verbose logging add docs for unimplemented parts and correctly
9411 return when using unavailable parts.
9413 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9415 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9416 Move all the debug to the CLOCK category, and associate it with
9419 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9421 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9422 Make take_buffer a bit quicker by removing redundant checks
9423 caused by calling gst_adapter_take.
9425 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9427 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9430 * tests/check/Makefile.am:
9431 * tests/check/elements/.cvsignore:
9432 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9433 (GST_START_TEST), (multiqueue_suite):
9434 Add some dead simple unit tests for the 'multiqueue' element
9435 (some bits don't work yet and are disabled for now).
9437 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9439 * gst/gstelement.c: (gst_element_get_request_pad),
9440 (gst_element_class_get_request_pad_template):
9441 Make gst_element_get_request_pad() create request pads only for
9442 request pad templates and not for, say, sometimes pad templates.
9444 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9446 * docs/design/draft-klass.txt:
9447 Add example that needs more thinking.
9449 * docs/design/draft-missing-plugins.txt:
9450 More thoughts about wrapper plugins.
9452 * docs/random/ensonic/embedded.txt:
9453 * docs/random/ensonic/profiling.txt:
9456 2007-03-25 Wim Taymans <wim@fluendo.com>
9458 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9459 (gst_base_src_loop):
9460 Only push the segment events in the PLAYING state for live sources.
9462 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9464 * gst/gstpipeline.c: (gst_pipeline_change_state):
9465 Modify the clock distribution path in PAUSED->PLAYING so that we
9466 never attempt to choose a new clock unless we're actually leaving
9467 the PAUSED state for the first time. This prevents choosing a
9468 different clock when the state_change gets called for a 2nd time due
9469 to some element doing an async state change.
9471 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9473 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9474 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9475 (gst_pad_chain_unchecked), (gst_pad_push):
9476 Revert last commit. This needs some more thoughts.
9478 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9480 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9481 (gst_pad_chain_unchecked), (gst_pad_push):
9482 Check in set_caps if the caps are compatible with the pad and remove
9483 two functions that are redundant now. Fixes #421543.
9485 2007-03-22 Wim Taymans <wim@fluendo.com>
9487 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9488 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9489 Unref some more to make valgrind happy.
9491 2007-03-22 Wim Taymans <wim@fluendo.com>
9493 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9494 (gst_system_clock_id_wait_jitter),
9495 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9496 Fix anoying regression that survived a few releases. When adding an
9497 async entry while blocking on a sync entry, the sync entry will unblock
9498 but still be busy, so it should continue to wait instead of returning
9500 Add some comments here and there.
9502 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9503 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9504 Add testcase for this.
9506 2007-03-22 Wim Taymans <wim@fluendo.com>
9508 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9509 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9510 WRONG_STATE and can silently pause the task. All other cases should
9513 2007-03-22 Wim Taymans <wim@fluendo.com>
9515 Patch by: Ville Syrjala <syrjala at sci dot fi>
9517 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9518 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9521 2007-03-21 Michael Smith <msmith@fluendo.com>
9523 * docs/pwg/advanced-types.xml:
9524 Fix some errors in the typefinding docs pointed out on irc.
9526 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9528 * libs/gst/base/gstbasesrc.c:
9529 Clarify FIXME comment in the face of having added unlock_stop()
9531 2007-03-21 Wim Taymans <wim@fluendo.com>
9533 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9534 Prepare for release where we warn against possible app breakage in the
9535 case of live pipelines along with an env var to enable/disable live
9536 preroll mode (GST_COMPAT=[no-]live-preroll).
9538 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9540 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9541 So we should use correct constants for checking for None offset.
9543 2007-03-20 Wim Taymans <wim@fluendo.com>
9545 * docs/design/part-block.txt:
9546 Mention the fact that the newly switched element should be set to at
9549 2007-03-20 Wim Taymans <wim@fluendo.com>
9552 Fix compilation with registry disabled as spotted by Saur.
9554 2007-03-20 Wim Taymans <wim@fluendo.com>
9556 Patch by: Olivier Crete <tester at tester dot ca>
9558 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9559 Look at the pending state too when syncing the element state to the
9560 parent. Fixes #420133.
9562 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9564 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9565 (gst_base_sink_change_state):
9566 * libs/gst/base/gstbasesink.h:
9567 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9568 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9569 (gst_base_src_deactivate):
9570 * libs/gst/base/gstbasesrc.h:
9571 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9572 for sub-classes to correctly clear any state they set trying to
9573 unlock, such as clearing out unlock commands from a command fd.
9574 API: basesrc::unlock_stop
9575 API: basesink::unlock_stop
9577 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9578 (gst_fd_sink_render), (gst_fd_sink_unlock),
9579 (gst_fd_sink_unlock_stop):
9580 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9581 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9582 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9584 Implement unlock_stop in fdsrc and fdsink.
9585 Implement seeking in fdsrc when a seekable fd is passed, as in
9586 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9588 2007-03-19 Wim Taymans <wim@fluendo.com>
9590 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9592 * gst/gstelement.c: (gst_element_class_init):
9593 Fix pad-added and pad-removed signal signatures so that the pad type is
9594 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9596 2007-03-19 Wim Taymans <wim@fluendo.com>
9598 * docs/gst/gstreamer-sections.txt:
9599 Add new element field and method.
9601 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9602 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9603 (gst_bin_recalc_state), (gst_bin_get_state_func),
9604 (gst_bin_element_set_state), (gst_bin_change_state_func),
9605 (gst_bin_continue_func), (bin_bus_handler),
9606 (bin_push_state_continue), (bin_handle_async_start),
9607 (bin_handle_async_done), (gst_bin_handle_message_func):
9608 Make async state changes a bit smarter by using new ASYNC_START and
9609 ASYNC_DONE messages. This reduces the number of times we run the state
9610 recalculation thread.
9611 Don't change state of element with a pending ASYNC_START message.
9612 Deprecate STATE_DIRTY messages.
9614 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9615 (gst_element_get_state_func), (gst_element_continue_state),
9616 (gst_element_lost_state), (gst_element_set_state_func),
9617 (gst_element_change_state):
9619 Keep the state that was last set by the app in a new element field.
9620 Don't allow state changes when handling an element event.
9621 Post ASYNC_START and ASYNC_DONE messages.
9622 Change lost_state so that we go to PAUSED and wait for the parent to set
9623 us to PLAYING again (so latency calculation can be performed)
9624 Export gst_element_change_state() method so that subclasses can use it.
9625 API: gst_element_change_state()
9626 API: GST_STATE_TARGET
9628 * gst/gstpipeline.c: (gst_pipeline_class_init),
9629 (reset_stream_time), (gst_pipeline_change_state),
9630 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9631 Using the new ASYNC_START message we can reset the base_time when
9632 needed. This can then be used to implement base_time redistribution in
9633 flushing seeks so that we can remove the explicit seek handling.
9634 Perform latency query and configuration when going to PLAYING.
9636 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9637 (gst_base_sink_query), (gst_base_sink_change_state):
9638 Post new ASYNC_START/ASYNC_DONE messages.
9640 * tests/check/generic/sinks.c: (GST_START_TEST):
9641 Fix test because the bin will not set the async element to PLAYING right
9644 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9645 Make the message check a little stronger.
9646 Handle ASYNC messages.
9648 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9649 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9650 Expect ASYNC_DONE messages.
9652 2007-03-19 Wim Taymans <wim@fluendo.com>
9654 * docs/gst/gstreamer-sections.txt:
9655 * gst/gstmessage.c: (gst_message_new_async_start),
9656 (gst_message_new_async_done), (gst_message_parse_info),
9657 (gst_message_parse_async_start):
9659 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9662 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9664 * tools/gst-inspect.c:
9665 (print_plugin_automatic_install_info_codecs):
9666 Now that we don't check for the 'Codec' keyword any longer in the
9667 klass, we shouldn't spew a warning if the klass isn't a decoder or
9668 encoder (since it might be a Source/Network, for example).
9670 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9672 * tools/gst-inspect.c:
9673 (print_plugin_automatic_install_info_codecs):
9674 Don't require decoder/demuxer/depayloader elements or
9675 encoder/muxer/paylader elements to have 'Codec' as part of their
9676 factory class string when introspecting a plugin's capabilities.
9677 draft-klass.txt mentions that it might be removed in future, and
9678 flump3dec doesn't have it as part of its class string, so chances
9679 are others might also not have it.
9681 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9703 Update translations from translation project
9705 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9707 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9708 (gst_child_proxy_set_property):
9709 Invert precondition check to be alike the ones in the mimiced gobject
9712 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9714 * docs/design/draft-tagreading.txt:
9715 * docs/random/ensonic/audiobaseclasses.txt:
9716 Do some Architect work.
9718 * gst/gstobject.c: (gst_object_set_name):
9722 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9724 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9726 * gst/gstsystemclock.c: (gst_system_clock_init),
9727 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9728 Defer starting the async system clock thread until the first async
9729 wait is scheduled. Fixes #414986.
9731 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9733 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9734 (gst_single_queue_free):
9735 Fix small leak (free GstSingleQueue structure too, not only contents).
9737 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9739 * gst/gstbin.c:(gst_bin_add):
9740 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9741 * win32/common/libgstbase.def:
9742 * win32/common/libgstreamer.def:
9743 Add new exported functions.
9745 2007-03-09 Wim Taymans <wim@fluendo.com>
9747 * docs/plugins/gstreamer-plugins-sections.txt:
9750 2007-03-09 Wim Taymans <wim@fluendo.com>
9752 * docs/gst/gstreamer-sections.txt:
9753 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9755 Add metadata copy functions. Fixes #393099.
9756 API: gst_buffer_copy_metadata()
9758 * gst/gstutils.c: (gst_buffer_stamp):
9759 * libs/gst/base/gstbasetransform.c:
9760 (gst_base_transform_prepare_output_buffer):
9761 Use new metadata copy functions.
9763 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9765 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9766 (gst_identity_init), (gst_identity_check_perfect),
9767 (gst_identity_check_imperfect_timestamp),
9768 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9769 (gst_identity_set_property), (gst_identity_get_property):
9770 * plugins/elements/gstidentity.h:
9771 Separate out check-imperfect-timestamp and check-imperfect-offset.
9772 Put back check-perfect as it was to keep compatibility.
9774 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9776 * gst/gstelement.c: (gst_element_dispose):
9777 There's no need to warn if VOID_PENDING is not NONE here, as
9778 long as the state is NULL it's ok, and that's checked immediately
9781 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9783 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9784 Fix check for perfect stream to ignore buffers with -1
9785 offsets/offset ends when checking data contiguity.
9787 2007-03-08 Wim Taymans <wim@fluendo.com>
9789 * tools/gst-launch.c: (event_loop):
9790 Print INFO messages.
9792 2007-03-08 Wim Taymans <wim@fluendo.com>
9794 * libs/gst/base/gstbasetransform.c:
9795 (gst_base_transform_sink_eventfunc),
9796 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9797 (gst_base_transform_activate):
9798 * libs/gst/base/gstbasetransform.h:
9799 Add support for dropping buffers with custom GstFlowReturn.
9800 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9801 buffers or dropped buffers.
9803 * docs/libs/gstreamer-libs-sections.txt:
9804 docs for new custom return code.
9806 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9807 Use drop support in base class to implement drop-probability.
9809 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9811 * gst/gst.c: (load_plugin_func):
9812 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9813 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9814 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9815 Remove newlines at end of debug log strings.
9817 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9819 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9820 Only post bus message at max, once per buffer received.
9822 2007-03-07 Wim Taymans <wim@fluendo.com>
9824 * docs/design/Makefile.am:
9825 * docs/design/part-synchronisation.txt:
9826 Add doc about synchronisation
9828 * docs/design/draft-latency.txt:
9829 * docs/design/part-TODO.txt:
9830 * docs/design/part-clocks.txt:
9831 * docs/design/part-events.txt:
9832 * docs/design/part-gstbus.txt:
9833 * docs/design/part-gstpipeline.txt:
9834 * docs/design/part-live-source.txt:
9835 * docs/design/part-messages.txt:
9836 * docs/design/part-overview.txt:
9837 * docs/design/part-streams.txt:
9838 * docs/design/part-trickmodes.txt:
9839 Documentation updates.
9841 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9844 Update the doap file.
9846 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9848 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9849 Rename non-perfect to imperfect for Mike and for the sanctity of the
9851 Also make sure bus message gets emitted for data-incontiguities.
9853 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9855 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9856 (gst_identity_start):
9857 * plugins/elements/gstidentity.h:
9858 Emit bus message if check-perfect is true and we encounter a
9859 non-perfect stream between 2 consecutive buffers.
9862 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9867 === release 0.10.12 ===
9869 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9872 releasing 0.10.12, "Inevitable Demise"
9874 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9877 Version 0.10.11.2 (0.10.12 pre-release)
9878 Bump libtool versioning.
9880 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9882 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9883 Log flow-names and not numbers.
9885 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9888 Convert to new AG_GST style.
9890 2007-02-28 Wim Taymans <wim@fluendo.com>
9892 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9893 Don't unref query twice.
9895 2007-02-28 Wim Taymans <wim@fluendo.com>
9897 * gst/gstvalue.c: (gst_value_transform_object_string),
9898 (_gst_value_initialize):
9899 Implement GstObject -> string transform so we print object names
9900 when serializing GValues containing GstObjects.
9902 2007-02-28 Wim Taymans <wim@fluendo.com>
9904 * docs/gst/gstreamer-sections.txt:
9905 Add new stuff to docs.
9907 2007-02-28 Wim Taymans <wim@fluendo.com>
9909 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9910 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9911 (gst_base_sink_change_state):
9912 Improve latency query code.
9913 Don't leak latency events.
9915 * tests/check/gst/gstbin.c: (GST_START_TEST):
9918 2007-02-28 Wim Taymans <wim@fluendo.com>
9920 * gst/gstelement.c: (gst_element_message_full),
9921 (gst_element_get_state_func):
9923 Improve docs a little. Added Since: for new macro.
9925 * gst/gstobject.c: (gst_object_sink):
9926 * gst/gstpipeline.c: (gst_pipeline_change_state),
9927 (gst_pipeline_set_new_stream_time):
9928 * gst/gstpipeline.h:
9929 Improve debugging and docs.
9931 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9934 2007-02-28 Wim Taymans <wim@fluendo.com>
9936 * gst/gstelement.c: (gst_element_message_full),
9937 (gst_element_set_locked_state), (gst_element_get_state_func),
9938 (gst_element_change_state):
9939 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9940 Documentation updates.
9941 Small code cleanups.
9943 * gst/gstmessage.c: (gst_message_new_info),
9944 (gst_message_parse_info):
9946 API: gst_message_new_info()
9947 API: gst_message_parse_info()
9948 Add INFO message create and parse code.
9950 2007-02-28 Wim Taymans <wim@fluendo.com>
9952 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9953 (bin_query_latency_done):
9954 Also report the live parameter of a latency query.
9956 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9958 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9959 Copy the current generic/states example from -base and adapt so
9960 we can use the exact same code everywhere.
9961 Check a STATES_IGNORE_ELEMENTS env var which can be used
9962 to ignore certain element factories for this test, which is
9963 what is being done in -base
9964 * tests/check/Makefile.am:
9965 Mention this environment variable.
9967 2007-02-27 Wim Taymans <wim@fluendo.com>
9969 * docs/gst/gstreamer-sections.txt:
9970 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9971 (gst_bus_timed_pop), (gst_bus_pop):
9973 API: gst_bus_timed_pop()
9974 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9975 message to arrive on the bus.
9977 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9979 Two unit tests for new _timed_pop() function.
9981 2007-02-23 Wim Taymans <wim@fluendo.com>
9983 * gst/gstpipeline.c: (gst_pipeline_change_state),
9984 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9985 Don't ref a NULL clock in _provide_clock_func().
9986 Don't allow an INVALID delay.
9987 Don't try to calculate base_time with an invalid start_time.
9988 Also distribute and notify a NULL clock when it was selected.
9990 * tools/gst-launch.c: (event_loop):
9991 Don't crash when a NULL clock was selected in the pipeline.
9993 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9995 * docs/design/Makefile.am:
9996 * docs/design/draft-missing-plugins.txt:
9997 * docs/random/draft-missing-plugins.txt:
9998 Some small updates: update plugin system identifier prefix
9999 ('gstreamer.net' to 'gstreamer'), mention our new install
10000 API in libgstbaseutils rather than libgimme-codec, add
10001 reference to the online docs.
10003 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10005 * win32/common/config.h:
10006 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10007 use moap cl ci to only check in what is mentioned in the ChangeLog.
10009 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10011 * docs/gst/gstreamer-sections.txt:
10012 * gst/gstelement.h:
10013 Fix up documentation to link to the correct GstGError section.
10014 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10016 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10018 * tools/gst-launch.c: (event_loop):
10019 Make sure that we actually show the important message part of a
10021 No need to check if the gerror is not NULL to free; first of all
10022 g_free accepts NULL; and second the default error handler would
10023 segfault if gerror was NULL.
10025 2007-02-21 Wim Taymans <wim@fluendo.com>
10027 * docs/gst/gstreamer-sections.txt:
10028 Removed docs as well.
10030 2007-02-21 Wim Taymans <wim@fluendo.com>
10032 * gst/gstmessage.c: (gst_message_parse_duration):
10033 * gst/gstmessage.h:
10034 Remove new messages for release.
10036 2007-02-20 Wim Taymans <wim@fluendo.com>
10038 * docs/design/part-gstghostpad.txt:
10039 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10040 (gst_ghost_pad_new_full):
10041 Make the ghostpad a parent of the internal pad again for better backward
10042 compatibility. Don't write code that relies on this however.
10044 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10045 (gst_pad_link_check_hierarchy):
10046 Require that parents should be GstElements in the hierarchy check.
10048 2007-02-20 Wim Taymans <wim@fluendo.com>
10050 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10051 (gst_bin_change_state_func), (bin_query_min_max_init),
10052 (bin_query_latency_fold), (bin_query_latency_done),
10054 Improve debug info.
10055 Implement latency query.
10057 2007-02-20 Wim Taymans <wim@fluendo.com>
10059 * docs/design/part-gstghostpad.txt:
10060 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10061 (gst_ghost_pad_internal_do_activate_push),
10062 (gst_ghost_pad_internal_do_activate_pull),
10063 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10064 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10065 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10066 Do not set the internal pad as a parent anymore so we can avoid
10067 hierarchy linking errors when the ghostpad has no parent yet. This also
10068 fixes failed activation because of unlinked internal pads, which in
10069 turn fixes the impossible case where you have to activate a pad before
10070 you can add it to a running element.
10073 * gst/gstpad.c: (pre_activate), (post_activate),
10074 (gst_pad_set_active), (gst_pad_activate_pull),
10075 (gst_pad_activate_push), (gst_pad_check_pull_range):
10076 Add some more debug info.
10077 Mark activation mode in pre_activate so that we don't try to activate in
10078 endless loops. Fixes #385084.
10080 2007-02-19 Wim Taymans <wim@fluendo.com>
10082 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10083 (gst_base_transform_check_get_range):
10084 Implement a checkgetrange function instead of relying on the default
10085 core behaviour that assumes we can operate in pull mode if we have a
10086 getrange function. First step at fixing #385084.
10088 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10090 * gst/gstchildproxy.h:
10091 * libs/gst/base/gstbasesink.h:
10092 * libs/gst/base/gstbasesrc.h:
10093 * libs/gst/base/gstbasetransform.h:
10094 More docs coverage and some ChangeLog surgery (add missing names)
10096 2007-02-15 Wim Taymans <wim@fluendo.com>
10098 * docs/design/part-TODO.txt:
10099 * docs/design/part-activation.txt:
10100 * docs/design/part-block.txt:
10101 * docs/design/part-buffering.txt:
10102 * docs/design/part-clocks.txt:
10103 * docs/design/part-element-source.txt:
10104 * docs/design/part-events.txt:
10105 * docs/design/part-gstbin.txt:
10106 * docs/design/part-gstbus.txt:
10107 * docs/design/part-gstpipeline.txt:
10108 * docs/design/part-live-source.txt:
10109 * docs/design/part-messages.txt:
10110 * docs/design/part-overview.txt:
10111 * docs/design/part-qos.txt:
10112 * docs/design/part-query.txt:
10113 * docs/design/part-states.txt:
10114 * docs/design/part-trickmodes.txt:
10115 Some doc updates. Start renaming from stream_time to running_time where
10116 it was used wrongly.
10118 2007-02-15 Wim Taymans <wim@fluendo.com>
10120 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10121 Answer LATENCY query.
10123 2007-02-15 Wim Taymans <wim@fluendo.com>
10125 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10129 2007-02-15 Wim Taymans <wim@fluendo.com>
10131 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10132 (gst_pad_dispatcher):
10133 Improve debugging of default pad dispatcher and query functions.
10135 2007-02-15 Wim Taymans <wim@fluendo.com>
10137 * docs/gst/gstreamer-sections.txt:
10138 Remove old unused method.
10140 2007-02-13 Wim Taymans <wim@fluendo.com>
10142 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10145 2007-02-13 Wim Taymans <wim@fluendo.com>
10147 * docs/design/part-seeking.txt:
10150 * gst/gstsegment.c: (gst_segment_set_seek):
10151 Revert old bogus change that should make seeking work again.
10153 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10155 * docs/random/ensonic/dynlink.txt:
10156 * docs/random/ensonic/interfaces.txt:
10157 * docs/random/ensonic/receipies.txt:
10158 Possible dynamic reconnection api, plus some type fixes the other two
10161 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10163 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10164 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10165 Also check for an absolute path following file:// in the filesrc
10166 element. Remove redundant check and call g_path_is_absolute() on the
10167 unescaped location.
10169 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10171 * docs/design/draft-klass.txt:
10172 Add existing category analysis.
10175 Fix doc example, framerate is a fraction.
10177 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10180 * docs/gst/Makefile.am:
10181 * docs/gst/gstreamer-sections.txt:
10182 * docs/libs/Makefile.am:
10183 Erm, forgot a bunch of --extra-dir.
10185 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10188 * docs/gst/Makefile.am:
10189 * docs/libs/Makefile.am:
10190 * docs/plugins/Makefile.am:
10191 Add crossreferences to glib/gobject docs.
10193 2007-02-12 Wim Taymans <wim@fluendo.com>
10195 * docs/design/draft-latency.txt:
10198 * docs/libs/gstreamer-libs-sections.txt:
10199 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10200 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10201 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10202 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10203 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10204 (gst_base_sink_get_position), (gst_base_sink_query),
10205 (gst_base_sink_change_state):
10206 * libs/gst/base/gstbasesink.h:
10207 API: gst_base_sink_query_latency() to let subclasses query the upstream
10209 API: gst_base_sink_get_latency() to let subclasses query the configured
10210 latency in the sink.
10211 Implement query and set latency.
10213 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10214 don't continue preroll when we are flushing. Fixes #405284.
10216 * tests/check/pipelines/stress.c: (change_state_timeout),
10217 (quit_timeout), (GST_START_TEST), (stress_suite):
10220 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10222 Patch by: René Stadler <mail at renestadler de>
10224 * docs/gst/gstreamer-sections.txt:
10225 * gst/gsttaglist.c: (_gst_tag_initialize):
10226 * gst/gsttaglist.h:
10227 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10229 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10231 * docs/libs/Makefile.am:
10232 Fix path to core docs.
10234 * gst/gstbin.c: (gst_bin_get_by_interface),
10235 (gst_bin_iterate_all_by_interface):
10236 Refix docs by also renaming 'interface' to 'iface' in implementation.
10238 * docs/gst/gstreamer-sections.txt:
10240 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10241 * gst/gstchildproxy.h:
10242 * gst/gstelementfactory.c:
10243 * gst/gstpadtemplate.h:
10244 * libs/gst/controller/gstcontroller.c:
10245 (gst_controlled_property_new):
10248 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10250 * gst/gstbin.h:(gst_bin_get_by_interface),
10251 (gst_bin_iterate_all_by_interface):
10252 Replace interface parameter name by iface as interface is
10253 a reserved keyword in Visual Studio for C++ projects so it removes
10254 a build error for application developpers using VS.
10255 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10256 Fix a bug on Windows in uri format check. Now the prefix checked
10257 is file:// and next we check if the path after file:// is absolute.
10258 * win32/common/libgstbase.def:
10259 * win32/common/libgstdataprotocol.def:
10260 * win32/common/libgstgstreamer.def:
10261 Add new exported functions.
10263 2007-02-09 Andy Wingo <wingo@pobox.com>
10265 * tests/check/pipelines/simple-launch-lines.c
10266 (simple_launch_lines_suite, test_tee): Disable tee test until I
10267 have time to fix it :-(
10269 * tests/check/Makefile.am (noinst_HEADERS):
10270 * tests/check/libs/libsabi.c:
10271 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10272 * tests/check/gst/gstabi.c:
10273 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10275 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10276 tests for push and pull tee behavior.
10278 * plugins/elements/gsttee.h:
10279 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10280 mark as deprecated as well as unimplemented. It was a crack idea.
10281 Add support for tee operating in pull mode, off by default.
10283 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10284 normal-case logs down to LOG, raise errors to WARNING.
10285 (gst_registry_xml_read_cache): Don't log before calling a function
10288 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10289 exit (registry finalize).
10290 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10291 DEBUG log when we emit signals that people don't even have the
10292 chance to connect to.
10293 (gst_registry_scan_path_level): Less logging in the normal case.
10295 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10297 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10299 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10300 Correctly generate EOS for non-seekable files. We don't have a total
10301 length for them and would get an unexpected end of file if we only
10302 special-cased for regular files. (Fixes: #404569)
10304 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10306 * tests/check/elements/filesrc.c: (GST_START_TEST),
10308 Add unit test for the GstURIHandler interface in filesrc. This also
10309 tests the newly added file://localhost/foo/bar support.
10311 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10313 * gst/gstelementfactory.h:
10314 The klass string is not a hierarchy. Add reference to the design doc
10315 for more information and common types.
10317 2007-02-02 Wim Taymans <wim@fluendo.com>
10319 * gst/gstquery.c: (gst_query_new_latency):
10320 Remove old structure field.
10322 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10324 * tools/gst-launch.1.in:
10325 Give example for network streaming (#351998)
10327 2007-02-02 Wim Taymans <wim@fluendo.com>
10329 * docs/gst/gstreamer-sections.txt:
10330 Add docs for new methods.
10332 * gst/gstevent.c: (gst_event_new_latency),
10333 (gst_event_parse_latency):
10335 Add new LATENCY event to configure latency in a pipeline.
10336 API: gst_event_new_latency
10337 API: gst_event_parse_latency
10339 * gst/gstmessage.c: (gst_message_new_buffering),
10340 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10341 (gst_message_new_latency), (gst_message_parse_buffering),
10342 (gst_message_parse_lost_preroll):
10343 * gst/gstmessage.h:
10344 Added messages used in draft-latency.
10345 API: gst_message_new_lost_preroll
10346 API: gst_message_parse_lost_preroll
10347 API: gst_message_new_prerolled
10348 API: gst_message_new_latency
10350 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10351 (gst_query_parse_latency):
10353 Implemented new latency query as in design doc.
10354 API: gst_query_new_latency
10355 API: gst_query_set_latency
10356 API: gst_query_parse_latency
10358 2007-02-02 Wim Taymans <wim@fluendo.com>
10360 * docs/design/draft-latency.txt:
10361 Slight redesign to allow for dynamic latency adjustments.
10363 * docs/design/part-negotiation.txt:
10366 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10368 reviewed by: Wim Taymans <wim@fluendo.com>
10370 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10371 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10372 Allow file://localhost/foo/bar URLs and correctly fail for every other
10373 hostname that one sets. This was gnomevfssrc is linked for those if
10374 installed as it can handle it (#403172)
10376 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10378 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10380 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10381 (unref_data), (gst_collect_pads_add_pad_full):
10382 * libs/gst/base/gstcollectpads.h:
10383 Don't put the previously added destroy notify in the GstCollectData
10384 struct as all it's padding is already used and we don't want to break
10385 ABI. Instead put in the pad's GObject data for now. This should be
10386 cleaned up for 0.11 (#402393).
10388 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10390 reviewed by: Wim Taymans <wim@fluendo.com>
10392 * docs/libs/gstreamer-libs-sections.txt:
10393 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10394 (unref_data), (gst_collect_pads_add_pad),
10395 (gst_collect_pads_add_pad_full):
10396 * libs/gst/base/gstcollectpads.h:
10397 API: Add function to specify a destroy notification for custom
10398 GstCollectData when adding new pads in GstCollectPads (#402393).
10400 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10403 Update Swedish translation (#378255).
10405 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10407 * docs/design/draft-klass.txt:
10408 Fix the previous change, this is a list of categories and not a hierarchy.
10410 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10412 * docs/design/draft-klass.txt:
10413 Add info about how to get a list of used classes.
10415 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10417 * plugins/elements/gsttypefindelement.c:
10418 (gst_type_find_element_chain_do_typefinding),
10419 (gst_type_find_element_change_state):
10420 Don't leak found caps in chain function (no idea why that never
10421 showed up as a leak anywhere).
10423 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10426 Fix and expand GstPluginDesc API docs.
10428 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10431 * gst/gstelementfactory.c:
10432 * gst/gstpadtemplate.h:
10435 * libs/gst/controller/gstcontroller.c:
10436 (gst_controlled_property_new):
10437 * tests/examples/controller/audio-example.c:
10440 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10443 comment about refining the xml deps
10445 * docs/manuals.mak:
10446 comments about moving away from jade for docs
10449 recommit the ifdefs to use the binary registry
10451 * gst/gstbin.c: (gst_bin_change_state_func):
10452 this break is obsolete
10454 * gst/gstelementfactory.h:
10455 better GST_ELEMENT_DETAILS docs, add comment about translation
10460 * gst/gstobject.c: (gst_signal_object_get_type):
10461 add G_UNLIKELY as usual
10463 * gst/gstpad.c: (gst_pad_event_default):
10464 add fall trhu comment
10466 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10467 (gst_registry_binary_initialize_magic),
10468 (gst_registry_binary_save_string),
10469 (gst_registry_binary_save_pad_template),
10470 (gst_registry_binary_save_feature),
10471 (gst_registry_binary_save_plugin),
10472 (gst_registry_binary_write_cache),
10473 (gst_registry_binary_check_magic),
10474 (gst_registry_binary_load_pad_template),
10475 (gst_registry_binary_load_feature),
10476 (gst_registry_binary_load_plugin),
10477 (gst_registry_binary_read_cache):
10478 comment typo and formatting
10480 * gst/gstutils.c: (gst_element_state_get_name),
10481 (gst_element_state_change_return_get_name):
10482 remove obsolete breaks
10484 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10485 add FIXME 0.11 and remove cpp comment
10487 2007-01-29 Edward Hervey <edward@fluendo.com>
10489 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10490 Fix print statement in an even more portable way.
10492 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10494 * docs/gst/gstreamer-sections.txt:
10496 API: add GST_ROUND_DOWN_* macros (#401781).
10498 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10500 * docs/gst/gstreamer.types.in:
10501 * gst/gstregistry.c: (gst_registry_class_init):
10502 Document registry signals and make gtk-doc pick them up (#401381).
10504 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10506 * docs/pwg/building-testapp.xml:
10507 Add some audioconverts and audioresample to the pipeline, and some
10508 more comments and error handling.
10510 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10512 * docs/manual/manual.xml:
10513 * docs/pwg/pwg.xml:
10514 Fix typo (#400987).
10516 2007-01-26 Wim Taymans <wim@fluendo.com>
10518 * gst/gstcaps.c: (gst_static_caps_get):
10519 Init caps flags too.
10521 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10523 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10525 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10526 If not using mmap'ed files try to seek to the end instead of the
10527 start to determine whether we can seek at all. This fixes the case
10528 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10529 seeks for everything afterwards fail. Fixes #400656
10531 2007-01-25 Wim Taymans <wim@fluendo.com>
10533 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10534 Add some refcount debugging.
10535 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10536 in multiple streaming threads.
10538 2007-01-25 Wim Taymans <wim@fluendo.com>
10540 Patch by: David Schleef <ds at schleef dot org>
10542 * docs/libs/gstreamer-libs-sections.txt:
10543 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10544 * libs/gst/base/gstadapter.h:
10545 API: gst_adapter_copy() that can reduce the amount of memcpy when
10546 getting data from the adapter. Fixes #388201.
10548 2007-01-25 Edward Hervey <edward@fluendo.com>
10550 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10551 In print statements, "%x" is for guint. Fixes build on macosx.
10553 2007-01-24 Edward Hervey <edward@fluendo.com>
10555 * plugins/elements/gstmultiqueue.c:
10556 (gst_multi_queue_loop):
10558 (single_queue_overrun_cb), (single_queue_underrun_cb),
10559 (single_queue_check_full), (gst_single_queue_new):
10560 Implement single queue growth system.
10561 This uses the extra-size properties, and will grow single queues by
10562 that much if one goes full whereas there are others empty. This is
10563 called extra-mode in the code.
10564 When a single queue's levels go back below the initial max-size
10565 limits, it is no longer in extra-mode. This is to ensure we don't
10566 consume too much memory.
10569 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10571 * gst/gst.c: (gst_init_get_option_group):
10572 Make warning about late g_thread_init() calls a bit more explicit,
10573 so that it's more obvious to application developers what they need
10574 to do if a user files a bug against their application.
10576 2007-01-22 Edward Hervey <edward@fluendo.com>
10578 * plugins/elements/gstmultiqueue.c:
10579 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10580 Remove previous hack of unsetting the flushing flag for the source pad
10581 instead of activating it. Instead, fix the source pad activate function
10582 so that it no longer depends on having a parent set or not.
10584 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10586 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10588 * docs/manual/basics-bus.xml:
10589 Fix example code, gst_element_unref() doesn't exist any longer.
10591 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10593 Patch by: Mark Nauwelaerts <manauw at skynet be>
10596 Fix two docs typoes (#399094).
10598 2007-01-19 Edward Hervey <edward@fluendo.com>
10600 * docs/faq/gst-uninstalled:
10601 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10602 depending on libgstbaseutils can work in uninstalled environment.
10604 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10606 * gst/gsttaglist.h:
10607 * gst/gsttagsetter.c:
10608 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10609 statement for new tag.
10611 2007-01-17 Edward Hervey <edward@fluendo.com>
10613 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10614 When dynamically creating single queues, activate sinkpad before adding
10616 We should be doing the same thing for the source pad, but we can't
10617 since it would call a method which needs the parent to be set in order
10618 to work propertly. Instead of activating the source pad, we just unset
10619 the flushing flag, which is the minimal requirement for adding a pad
10620 to an element in a state greater than READY.
10622 2007-01-17 Edward Hervey <edward@fluendo.com>
10624 * docs/faq/gst-uninstalled:
10625 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10628 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10630 * tests/check/gst/gstabi.c:
10631 * tests/check/gst/struct_hppa.h:
10632 * tests/check/libs/libsabi.c:
10633 * tests/check/libs/struct_hppa.h:
10634 Add ABI structs for HPPA (see #393796).
10636 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10638 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10639 Actually write ABI structs to the file specified in the GST_ABI
10640 environment variable, as the message we print claims we would.
10642 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10644 * tests/check/gst/gsttask.c:
10645 Fix header comment.
10647 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10649 * gst/gsttaglist.c: (_gst_tag_initialize):
10650 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10651 previous two entries.
10653 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10655 * docs/gst/gstreamer-sections.txt:
10656 * gst/gsttaglist.c: (_gst_tag_initialize):
10657 * gst/gsttaglist.h:
10658 Add tag support for beat-per-minute.
10660 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10662 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10663 (gst_registry_binary_initialize_magic),
10664 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10665 (gst_registry_binary_save_pad_template),
10666 (gst_registry_binary_save_feature),
10667 (gst_registry_binary_save_plugin),
10668 (gst_registry_binary_write_cache),
10669 (gst_registry_binary_check_magic),
10670 (gst_registry_binary_load_pad_template),
10671 (gst_registry_binary_load_feature),
10672 (gst_registry_binary_load_plugin),
10673 (gst_registry_binary_read_cache):
10674 * gst/gstregistrybinary.h:
10675 Use glib types, cleanup comments, impement interfaces and uri-types.
10677 2007-01-13 Andy Wingo <wingo@pobox.com>
10679 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10680 getrange() to return buffers with other caps, while we fix
10681 demuxers and typefind, or otherwise change part-negotiation.txt.
10683 2007-01-12 Andy Wingo <wingo@pobox.com>
10685 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10686 Factor start/stop into this private function instead of partially
10687 in activate functions and partially in the change_state function.
10688 Fixes setup before the element has changed from READY->PAUSED, as
10689 is the case in pull-mode pipelines.
10690 (gst_base_transform_sink_activate_push)
10691 (gst_base_transform_src_activate_pull): Refactor to use
10692 gst_base_transform_activate().
10693 (gst_base_transform_change_state): Removed, not needed any more.
10695 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10696 Truncate before fixating.
10698 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10699 Don't set_caps() if the result of fixating is ANY, as it's not
10700 supported, and not necessary in the case of a link with no
10701 template caps on either side. Fixes tests/check/libs/basesrc in
10702 some pull-mode tests.
10704 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10705 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10706 (gst_base_transform_src_activate_pull):
10707 Track the activation mode.
10708 (gst_base_transform_setcaps): In pull mode, when activating the
10709 src pad, after activating the sink pad, activate the sink pad's
10710 peer, as discussed in part-negotiation.txt.
10712 * libs/gst/base/gstbasesrc.h:
10713 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10714 vmethod, as in basesink.
10716 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10718 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10719 mode, first proxy the setcaps to the peer pad.
10720 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10721 new fixate vmethod.
10722 (gst_base_sink_default_activate_pull): Rename from
10723 gst_base_sink_activate_pull.
10724 (gst_base_sink_negotiate_pull): New function, performs negotiation
10725 in pull mode before calling ::activate_pull().
10726 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10727 vmethod instead of the default implementation. I have no idea how
10728 this worked before. Negotiate before calling activate_pull.
10730 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10731 sink pads in pull mode. In addition to being correct, fixes
10732 filesrc ! decodebin ! identity ! fakesink.
10733 (gst_pad_get_range, gst_pad_pull_range): Don't call
10734 gst_pad_set_caps() if the caps changes; instead error out with
10735 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10737 2007-01-12 Andy Wingo <wingo@pobox.com>
10739 * docs/design/part-negotiation.txt: Update with more policy.
10741 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10743 * libs/gst/check/gstbufferstraw.h:
10744 * libs/gst/check/gstcheck.h:
10745 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10748 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10750 * tests/check/Makefile.am:
10751 * tests/check/gst/.cvsignore:
10752 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10753 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10754 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10755 (GST_START_TEST), (gst_tag_setter_suite):
10756 Add minimal unit test for beforementioned GstTagSetter bug.
10758 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10760 Patch by: René Stadler <mail at renestadler dot de>
10762 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10763 gst_tag_list_merge() returns a new list, so it's not the best idea
10764 to ingore its return value. Effectively meant that tags could only
10765 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10766 Also add function guard to require a non-NULL taglist as input (has
10767 always been so due to gst_tag_list_copy(), just making it explicit).
10769 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10771 * docs/random/draft-missing-plugins.txt:
10772 Some additions: mention new API that is supposed to be used at the
10773 various stages; short blob about new gst-inspect introspection
10774 option; mention potential future problem with plugins that have
10775 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10777 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10779 * tools/gst-inspect.c:
10780 (print_plugin_automatic_install_info_codecs),
10781 (print_plugin_automatic_install_info_protocols),
10782 (print_plugin_automatic_install_info), (main):
10783 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10784 introspect plugin files and get machine-parsable output that corresponds
10785 to the last bit of the missing-plugin installer string (small gotcha:
10786 doesn't take into account ranks).
10788 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10791 * docs/gst/gstreamer-sections.txt:
10793 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10794 (gst_registry_lookup_locked):
10795 * gst/gstregistry.h:
10796 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10797 (gst_registry_binary_initialize_magic),
10798 (gst_registry_binary_save_string),
10799 (gst_registry_binary_save_pad_template),
10800 (gst_registry_binary_save_feature),
10801 (gst_registry_binary_save_plugin),
10802 (gst_registry_binary_write_cache),
10803 (gst_registry_binary_check_magic),
10804 (gst_registry_binary_load_pad_template),
10805 (gst_registry_binary_load_feature),
10806 (gst_registry_binary_load_plugin),
10807 (gst_registry_binary_read_cache):
10808 * gst/gstregistrybinary.h:
10809 * gst/gstregistryxml.c: (load_feature),
10810 (gst_registry_xml_read_cache):
10811 commit binary registry (disabled by default, see #359653)
10813 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10815 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10816 Fix 'make check' too.
10818 2007-01-10 Andy Wingo <wingo@pobox.com>
10820 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10823 * docs/design/part-negotiation.txt: Update with, um, one way that
10824 pull-mode negotiation might work?
10827 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10828 that the pad must be a src pad; makes sense to call it the other
10829 way in pull mode, and the logic is symmetric anyway.
10831 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10833 * plugins/elements/gstfilesink.c:
10834 Include <stdio.h> for fseeko().
10836 2007-01-10 Wim Taymans <wim@fluendo.com>
10840 Reserve LATENCY event.
10842 2007-01-09 Wim Taymans <wim@fluendo.com>
10844 * docs/design/draft-latency.txt:
10847 2007-01-09 Wim Taymans <wim@fluendo.com>
10849 * docs/design/draft-latency.txt:
10852 * gst/gstelement.h:
10853 * gst/gststructure.c:
10857 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10859 * tests/check/.cvsignore:
10860 Ignore test-registry.xml as well.
10862 2007-01-09 Wim Taymans <wim@fluendo.com>
10864 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10865 unref data at the end when we are done with the pad.
10867 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10869 * docs/gst/gstreamer-sections.txt:
10870 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10871 (init_post), (gst_deinit), (gst_update_registry):
10873 API: add gst_update_registry() (#391296).
10875 * tests/check/Makefile.am:
10876 * tests/check/gst/gstregistry.c:
10877 * tests/check/gst/.cvsignore:
10878 Simple unit test for the above.
10880 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10882 * gst/gstregistry.c: (gst_registry_scan_path_level):
10883 Plugin extension on HP-UX is .sl, add that to the list of approved
10884 plugin extensions (see #393796).
10886 * tests/check/gst/gstpad.c: (GST_START_TEST):
10887 ulong => gulong. Fixes compilation with HP-UX compiler.
10889 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10890 Fix compilation if valgrind headers are not available.
10892 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10894 * win32/common/libgstreamer.def:
10895 Add new exported function.
10896 * win32/vs6/libgstbase.dsp:
10897 Add gstdataqueue.c to the build.
10898 * win32/vs6/libgstcoreelements.dsp:
10899 Add gstmultiqueue.c to the build.
10901 2007-01-06 Andy Wingo <wingo@pobox.com>
10903 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10904 activate_pull(), providing for a way to specialize the process of
10905 spawning a thread to pull on the sink pad. There is a default
10908 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10909 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10910 (gst_base_sink_init): Renamed pad activation functions (inserting
10911 "_pad" in their names). Refactor to use the new activate_pull
10912 vmethod, as appropriate.
10913 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10914 default activate_pull function to start a task pulling from the
10915 sink pad, as before.
10917 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10918 on the pads if necessary, as in push()/chain(). Update docs.
10919 Shouldn't affect existing pull() usage as it is currently only
10920 being used on buffers without caps.
10922 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10924 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10926 Call g_thread_init() first thing in gst_init() / gst_check_init().
10927 When initialisation is done via gst_init_get_option_group() and
10928 GOption parsing, issue a warning if the GLib thread system has not
10929 been initialised yet by the time gst_init_get_option_group() is
10930 called, as it's quite likely other GLib functions such as
10931 g_option_context_new() have been called already then, and
10932 g_thread_init() must be called before any other GLib function. The
10933 application in question must be fixed in that case, since memory
10934 corruption might happen otherwise.
10935 We issue the warning because even if the GLib folks decide to work
10936 around the problem on their end in future, this is still an issue
10937 with all GLib versions >= 2.10.0, so we should warn until we depend
10938 on a GLib version we know to be safe.
10939 Update documentation as well.
10940 Closes bug #391278.
10942 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10944 * tools/gst-inspect.c: (main):
10945 * tools/gst-launch.c: (main):
10946 * tools/gst-typefind.c: (main):
10947 * tools/gst-xmlinspect.c: (main):
10948 Call g_thread_init() really really early, before any other GLib
10949 function (see #342564 and recent discussion on gtk-devel-list).
10951 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10953 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10955 * gst/gst_private.h:
10956 * gst/gstconfig.h.in:
10958 On win32, all the __declspec stuff for symbol exporting is
10959 apparently only needed with MSVC, but doesn't work with MingW.
10960 Fixes compilation with MingW and #391909.
10962 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10964 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10965 Change some GST_ERROR_OBJECT that aren't really errors to
10966 GST_WARNING_OBJECT in order to reduce terminal spam.
10968 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10970 * tests/check/Makefile.am:
10971 disable test again, as there seem to be still race problems
10973 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10975 * tests/check/Makefile.am:
10976 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10977 (GST_START_TEST), (queue_suite):
10978 enable queue test again, add tests for the leaky behaviour
10980 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10983 * tests/examples/Makefile.am:
10984 Compile adapter test/example only if the required headers are
10985 available (fixes #391915).
10987 2007-01-01 David Schleef <ds@schleef.org>
10990 Restore the previous signal handler for SIGSEGV instead of
10991 setting to default, since we may have stolen it away from
10992 someone. (i.e., Mono)
10994 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10996 * docs/random/draft-missing-plugins.txt:
10997 Some small additions and clarifications.
10999 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11001 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11002 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11003 since that can lead to random memory corruptions and crashes
11004 (may or may not be related to #383244, #386711, and #386711).
11006 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11008 * tests/check/.cvsignore:
11009 * tests/check/Makefile.am:
11010 sync .cvsignome and CLEANFILES
11012 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11014 * tests/check/Makefile.am:
11017 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11019 * docs/design/part-states.txt:
11020 two tiny additional comments
11022 * gst/gststructure.c:
11025 * tests/check/Makefile.am:
11026 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11028 disable test for now, unless it gets fixed
11030 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11032 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11034 fix race in underrun test
11036 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11038 * tests/check/elements/.cvsignore:
11041 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11043 try to narrow test failure
11045 2006-12-21 David Schleef <ds@schleef.org>
11047 * plugins/elements/gstfakesrc.c:
11048 Use g_random_int_range(), since it produces better random
11049 numbers in a range than almost-correct floating point code.
11051 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11053 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11054 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11055 (gst_check_teardown_sink_pad):
11056 do not automatically (de)activate pads
11058 * tests/check/Makefile.am:
11059 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11060 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11061 add new, yet simple tests for queue
11063 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11064 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11065 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11067 * tests/check/elements/identity.c: (cleanup_identity):
11068 consistent pad (de)activation
11070 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11072 Patch by: Sebastian Dröge <slomo ubuntu com>
11074 * libs/gst/base/gstcollectpads.c:
11075 Fix two doc typos (#387866).
11077 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11079 * docs/manual/advanced-dparams.xml:
11080 Fix typo (g_object_control_properties() doesn't exist).
11082 2006-12-19 Edward Hervey <edward@fluendo.com>
11084 * gst/gstsegment.c: (gst_segment_set_seek):
11085 Fine tune the cases where the segment start/stop values are really
11087 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11088 Add tests for the return values of gst_segment_set_seek().
11090 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11095 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11097 Fix incorrect documentation and flesh it out a bit more.
11098 Set default values for the max properties on the GParamSpec as well,
11099 so it shows up correctly in gst-inspect.
11101 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11103 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11104 Correct docs of queue, add more detail and crosslink it more.
11106 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11108 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11109 Print additional debug info when the stream isn't perfectly
11110 timestamped; don't try to use invalid durations.
11112 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11114 * docs/design/Makefile.am:
11115 Dist new design docs.
11117 2006-12-16 Wim Taymans <wim@fluendo.com>
11119 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11121 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11122 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11123 (gst_collect_pads_stop), (gst_collect_pads_event),
11124 (gst_collect_pads_chain):
11125 * libs/gst/base/gstcollectpads.h:
11126 Add refcounting to the collectpads data so we can track when it's safe
11127 to free the data. Fixes #383382.
11129 2006-12-15 Wim Taymans <wim@fluendo.com>
11131 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11132 (gst_collect_pads_remove_pad):
11133 Automatically activate/deactivate pads when they are added to a
11134 started/stoped collectpads.
11136 2006-12-15 Wim Taymans <wim@fluendo.com>
11138 * gst/gstelement.c: (gst_element_add_pad):
11139 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11140 * gst/gstpad.c: (gst_pad_init):
11141 Set pads to FLUSHING when they are created. Check, warn and fix when a
11142 demuxer adds an inactive pad to itself when running. Fixes #339326.
11144 2006-12-15 Wim Taymans <wim@fluendo.com>
11146 * gst/gstelement.c: (gst_element_class_init),
11147 (gst_element_default_send_event), (gst_element_send_event),
11148 (gst_element_default_query), (gst_element_query):
11149 Expose default element send_event and query handling as vmethods that
11150 subclasses can chain up to.
11152 2006-12-15 Wim Taymans <wim@fluendo.com>
11154 * gst/gstelement.c: (gst_element_set_state_func):
11155 Small documentation fixes.
11157 2006-12-15 Wim Taymans <wim@fluendo.com>
11159 * docs/design/draft-latency.txt:
11160 Checked in draft for handling latency in pipelines.
11162 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11166 * gstreamer.spec.in:
11169 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11171 * gst/gst.c: (init_pre), (init_post):
11172 init_pre() and init_post() might be called via our GOptionGroup or
11173 from gst_init(), and we should skip both of them if we've already
11174 been initialised, otherwise we will init some things twice or add
11175 two default log functions.
11177 2006-12-13 Edward Hervey <edward@fluendo.com>
11179 * docs/manual/basics-bus.xml:
11180 No, gst_main_loop does not exist. Its g_main_loop.
11181 Discovered by somebody who abused the copy-paste technique of coding :)
11183 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11185 * gst/gstghostpad.c:
11186 Log ghostpad debug stuff to the GST_PADS category as well rather
11187 than just to the default category.
11189 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11192 * gst/gst.c: (init_pre):
11193 Add some basic system details such as OS and architecture
11194 to the debug output if possible, courtesy of uname().
11196 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11198 * docs/gst/running.xml:
11199 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11200 environment variables.
11202 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11204 * tests/check/gst/gstbin.c: (GST_START_TEST):
11205 It is acceptable to have a refcount of 2 or 3 at this point in the
11206 test, because the pipeline might be just posting its state_change
11207 message. The next line then waits for that message to appear using
11208 bus_poll, so that should be fine too.
11210 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11212 * gst/gst.c: (ensure_current_registry_forking):
11213 Ignore EINTR when reading from the child registry pipe.
11214 Explicitly ignore the return value from close, since it makes no
11217 * gst/gstminiobject.c: (gst_mini_object_ref),
11218 (gst_mini_object_unref):
11219 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11221 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11222 When removing cached plugins, remove their features too, so they're
11223 not visible after they've disappeared.
11225 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11226 In the unlikely case that we are linking pads with no parents, don't
11227 crash trying to get the non-existent parent bin.
11229 * gst/parse/grammar.y:
11230 Output debug in the PIPELINE category
11232 2005-03-08 Wim Taymans <wim@fluendo.com>
11234 Patch by: René Stadler <mail at renestadler dot de>
11236 * gst/gstclock.c: (gst_clock_new_periodic_id):
11237 Reject invalid clock times for interval of periodic ids.
11240 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11242 * gst/gstelementfactory.c: (gst_element_factory_create):
11243 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11244 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11245 * tools/gst-inspect.c: (print_element_info):
11246 Fix refcounting of gst_plugin_feature_load to match the docs.
11249 2006-12-07 Wim Taymans <wim@fluendo.com>
11251 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11252 (gst_base_sink_get_position):
11253 Improve debugging of events.
11255 2006-12-07 Wim Taymans <wim@fluendo.com>
11257 Patch by: René Stadler <mail at renestadler dot de>
11259 * gst/gstclock.c: (gst_clock_id_wait):
11260 Make period ids add the interval to the origial requested time instead
11261 of the possibly updated time which can be wrong when there are multiple
11262 waiters for the same id. Fixes #382592.
11264 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11265 (gst_system_clock_id_wait_jitter_unlocked),
11266 (gst_system_clock_id_wait_jitter):
11267 Fix restart in the async notify thread when an async entry is added to
11268 the front of the list. Fixes #381492.
11270 * tests/check/gst/gstsystemclock.c: (store_callback),
11271 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11272 Added test for multiple async waits.
11273 Added test for async wait order.
11275 2006-12-07 Wim Taymans <wim@fluendo.com>
11277 * gst/gstbin.c: (gst_bin_query):
11278 Add some more docs about the POSITION query.
11280 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11283 Bump version nano - back to CVS.
11285 === release 0.10.11 ===
11287 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11290 releasing 0.10.11, "Love never runs on time"
11292 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11294 * win32/common/libgstbase.def:
11295 * win32/common/libgstreamer.def:
11296 * win32/vs8/libgstbase.vcproj:
11297 * win32/vs8/libgstcoreelements.vcproj:
11298 * win32/vs8/libgstreamer.vcproj:
11299 Fix compilation on win32 under VS8
11300 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11301 Partially fixes #381175
11303 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11305 * gst/gstvalue.c: (gst_value_compare_fraction):
11306 If someone is foolish enough to compare 2 fractions with denominator =
11307 0, return UNORDERED rather than aborting.
11309 2006-11-28 Edward Hervey <edward@fluendo.com>
11311 * libs/gst/base/Makefile.am:
11312 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11313 (gst_data_queue_base_init), (gst_data_queue_class_init),
11314 (gst_data_queue_init), (gst_data_queue_new),
11315 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11316 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11317 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11318 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11319 (gst_data_queue_set_flushing), (gst_data_queue_push),
11320 (gst_data_queue_pop), (gst_data_queue_drop_head),
11321 (gst_data_queue_set_property), (gst_data_queue_get_property):
11322 * libs/gst/base/gstdataqueue.h:
11323 New GstDataQueue object for threadsafe queueing. Most useful for
11324 elements that need some queueing functionnality.
11325 * docs/libs/gstreamer-libs-docs.sgml:
11326 * docs/libs/gstreamer-libs-sections.txt:
11327 Insert documentation for GstDataQueue
11328 * plugins/elements/Makefile.am:
11329 * plugins/elements/gstelements.c:
11330 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11331 (gst_multi_queue_class_init), (gst_multi_queue_init),
11332 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11333 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11334 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11335 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11336 (gst_multi_queue_loop), (gst_multi_queue_chain),
11337 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11338 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11339 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11340 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11341 (wake_up_next_non_linked), (compute_next_non_linked),
11342 (single_queue_overrun_cb), (single_queue_underrun_cb),
11343 (single_queue_check_full), (gst_single_queue_new):
11344 * plugins/elements/gstmultiqueue.h:
11345 New multiqueue element, using GstDataQueue. Used for queuing multiple
11347 Closes #344639 and #347785
11349 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11351 * docs/pwg/advanced-types.xml:
11352 add more missing type details
11354 * tools/gst-run.c: (main):
11355 remove unused variable
11357 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11359 * docs/libs/Makefile.am:
11360 * docs/libs/gstreamer-libs.types:
11361 add types of base classes to enable gobject specific stuff in the docs
11363 * docs/random/ensonic/embedded.txt:
11364 more ideas about isolating platform specific things
11366 2006-11-20 Wim Taymans <wim@fluendo.com>
11368 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11370 * libs/gst/check/gstcheck.h:
11371 Fix compilation and running against 0.9.4. Fixes #377332.
11373 2006-11-20 Wim Taymans <wim@fluendo.com>
11375 * gst/gstsegment.c: (gst_segment_set_seek),
11376 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11377 (gst_segment_to_running_time):
11378 Fix boundary checking in to_running_time() and to_stream_time().
11381 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11382 stream and running time can now be calculated for the complete
11385 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11387 * gst/gstpad.c: (gst_pad_push_event):
11388 Can't access event structure after giving away ownership of
11391 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11393 * docs/random/ensonic/embedded.txt:
11394 * docs/random/ensonic/profiling.txt:
11395 * docs/random/ensonic/receipies.txt:
11398 2006-11-13 Wim Taymans <wim@fluendo.com>
11400 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11403 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11405 2006-11-13 Wim Taymans <wim@fluendo.com>
11407 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11409 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11410 Store new length in segment duration so we don't keep on calling the
11411 potentially expensize get_size() call. Fixes #370865.
11413 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11415 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11417 * win32/common/libgstreamer.def:
11418 Add two missing symbols (#366492).
11420 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11422 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11423 (gst_adapter_take_buffer):
11424 Fix format string to use all its arguments.
11425 Remove useless >= check on a guint
11427 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11429 * tests/examples/adapter/.cvsignore:
11430 Ignore build file as commanded by the build-bot
11432 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11434 * tests/examples/adapter/Makefile.am:
11435 * tests/examples/adapter/adapter_test.c: (run_test_take),
11436 (run_test_take_buffer), (run_tests), (main):
11438 Add new files from the previous commit
11440 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11444 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11445 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11446 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11447 * libs/gst/base/gstadapter.h:
11448 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11449 (GST_START_TEST), (gst_adapter_suite):
11450 * tests/examples/Makefile.am:
11451 Do some optimisation work in GstAdapter to avoid copies in more cases.
11452 It could still do slightly better by merging buffers when
11453 gst_buffer_is_span_fast is true, but is already faster.
11455 Also, avoid traversing a single-linked list to append each incoming
11456 buffer inside the adapter.
11458 Add simple test app that times the adapter behaviour in different
11459 situations, and extend the unit test to check that bytes enter and
11460 exit the adapter in their original order.
11462 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11464 * docs/random/draft-missing-plugins.txt:
11465 Update: use element message instead of adding a new message
11466 type to the core; don't provide GStreamer API to initiate the
11467 plugin download, just provide API to compose the strings needed
11468 and let an external libgimmestuff handle the rest.
11470 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11472 * tools/gst-inspect.c: (print_element_properties_info):
11473 Print a string instead of 'unknown type' for GValueArray properties
11475 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11477 * docs/random/draft-missing-plugins.txt:
11480 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11482 * tests/examples/typefind/typefind.c: (type_found), (main):
11483 Make typefind element example work again (#371894); add a
11486 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11488 * docs/random/draft-missing-plugins.txt:
11489 Commit initial draft about how to deal with missing plugins,
11490 needs work (API too).
11492 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11494 * docs/pwg/advanced-types.xml:
11495 documents the new caps elements (see #363118)
11497 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11499 * gst/gstplugin.c: (gst_plugin_load_file):
11500 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11501 (gst_file_src_map_region), (gst_file_src_start):
11502 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11503 (gst_file_index_commit):
11504 Use g_strerror() instead of strerror() - we want UTF-8.
11506 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11508 Patch by: Peter Kjellerstedt <pkj at axis com>
11510 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11511 Another printf fix (#371493).
11513 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11515 * tests/check/gst/gsttag.c:
11516 relicence (okay with author=company)
11518 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11520 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11521 (gst_pad_push_event):
11522 Enhance debug and improve docs
11527 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11529 * docs/random/ensonic/distributed.txt:
11530 * docs/random/ensonic/profiling.txt:
11533 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11535 * docs/gst/gstreamer-sections.txt:
11536 add new API and fix the build
11538 * gst/gstbin.c: (gst_bin_recalc_state):
11539 * gst/gstelement.c: (gst_element_message_full),
11540 (gst_element_get_state_func), (gst_element_set_state_func):
11541 use new API and improve logging
11543 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11545 API: add function to get StateChangereturn names to improve logs
11547 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11549 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11550 I'm considering shooting the next person to put strerror stuff
11551 in the translateable part of the message.
11553 2006-11-03 Wim Taymans <wim@fluendo.com>
11555 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11556 Get the type and printf conversion specifiers right.
11558 2006-11-03 Wim Taymans <wim@fluendo.com>
11560 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11562 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11563 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11564 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11565 Some small cleanups. Improve debugging.
11567 Signal all waiting threads with a broadcast instead of just one.
11570 2006-11-03 Wim Taymans <wim@fluendo.com>
11572 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11573 (gst_fd_src_create):
11574 Add some debugging.
11575 Only update fd when it's different from the old.
11577 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11579 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11580 Printf fixes for PPC/OSX, take two (#369366).
11582 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11584 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11586 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11587 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11588 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11589 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11590 don't cast to long long for portability reasons, but use
11591 GLib's types instead.
11593 2006-10-30 Michael Smith <msmith@fluendo.com>
11595 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11596 Get the arguments to lseek() the right way around.
11599 2006-10-30 Wim Taymans <wim@fluendo.com>
11601 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11604 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11606 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11608 Patch by: Kjartan Maraas <kmaraas at gnome org>
11610 * docs/design/part-MT-refcounting.txt:
11611 * docs/random/wtay/capsnego2-docs:
11614 Typo fixes (#366212).
11616 2006-10-28 Wim Taymans <wim@fluendo.com>
11618 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11621 * win32/common/libgstbase.def:
11622 * win32/common/libgstreamer.def:
11623 * win32/vs8/libgstbase.vcproj:
11624 * win32/vs8/libgstcontroller.vcproj:
11625 Add needed entries in .def files.
11627 Rearrange def files in vs8 solutions. Fixes #366286.
11629 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11631 * win32/common/gstconfig.h:
11632 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11633 hand-made win32 gstconfig.h. Fixes #366321.
11635 2006-10-27 Wim Taymans <wim@fluendo.com>
11637 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11638 (gst_ghost_pad_new_full):
11639 Make acceptcaps return TRUE when we don't have a target, just like
11642 2006-10-27 Wim Taymans <wim@fluendo.com>
11644 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11645 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11647 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11649 * gst/gststructure.c: (gst_structure_id_set_value):
11650 If someone tries to set a non-UTF8 string field on a structure,
11651 don't just print a warning, but also ignore the request and do
11652 not change/add that field to the structure.
11654 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11655 Test for the above.
11657 2006-10-25 David Schleef <ds@schleef.org>
11660 g_hash_table_insert() needs a cast to a non-const pointer duh.
11662 2006-10-25 David Schleef <ds@schleef.org>
11666 Change name parameter of _gst_debug_register_funcptr to const
11667 to reflect the constness of its use in the function as well
11668 as to quiet a gcc warning.
11670 2006-10-25 Edward Hervey <edward@fluendo.com>
11672 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11673 Don't push the buffer if it's empty.
11676 2006-10-24 Wim Taymans <wim@fluendo.com>
11681 * libs/gst/base/gstbasetransform.c:
11682 (gst_base_transform_sink_eventfunc):
11683 Debug segment values *after* updating them as this is more
11686 2006-10-23 Wim Taymans <wim@fluendo.com>
11688 * docs/design/part-events.txt:
11691 * docs/design/part-block.txt:
11692 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11693 (gst_pad_push_event):
11694 Revert BLOCKING patch, it tries to be smart without really having a
11695 clear idea what or how. So, now we discard all FLUSHING events again on
11696 a blocking pad. Should fix gnonlin again.
11698 2006-10-23 Wim Taymans <wim@fluendo.com>
11700 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11702 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11703 (gst_base_src_start), (gst_base_src_activate_push):
11704 Make sure size is always initialized. Fixes #364388.
11706 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11708 * docs/random/ensonic/distributed.txt:
11709 add some ideas about doing distributed processing
11711 * docs/random/ensonic/profiling.txt:
11712 get_rusage look promising
11714 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11716 * docs/manual/basics-helloworld.xml:
11717 Add a cast in example to fix compile warning
11719 2006-10-18 Wim Taymans <wim@fluendo.com>
11721 * gst/gstsegment.c: (gst_segment_set_last_stop),
11722 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11723 Relax arg checking again, -1 is allowed.
11725 2006-10-18 Wim Taymans <wim@fluendo.com>
11727 * gst/gstsegment.c: (gst_segment_set_last_stop),
11728 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11729 _set_last_stop() must be with a value != -1
11730 A _TYPE_SET to -1 means seek to 0.
11731 Calc last_stop correctly for negative rates.
11732 Make sure we work with positive durations when updating a segment.
11734 2006-10-18 Wim Taymans <wim@fluendo.com>
11736 * docs/design/part-live-source.txt:
11740 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11743 Add an explicit cast to GstBuffer** to keep old code that added an
11744 explicit cast to GstMiniObject** for gst_mini_object_replace()
11745 compiling without warning.
11747 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11749 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11750 check for validity of dates
11752 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11754 * docs/gst/gstreamer-sections.txt:
11755 Forgot this one, makes gtk-doc shut up.
11757 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11759 Patch by: Peter Kjellerstedt <pkj at axis com>
11762 Don't define xmlNodePtr to gpointer if the core was built with
11763 --disable-loadsave and --disable-registry, this will break
11764 applications that want to use libxml2 but are buildling against a
11765 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11766 instead so we don't have to mess with the libxml2 namespace
11769 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11772 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11773 type-punned pointer warnings.
11775 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11777 * gst/gstelement.h:
11778 Add casts to the correct return type to state <=> state transition
11781 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11783 * docs/design/part-live-source.txt:
11784 describe howto handle latency
11786 * docs/random/ensonic/profiling.txt:
11789 * tools/gst-plot-timeline.py:
11790 fix log parsing for solaris, remove unused function
11792 2006-10-16 Wim Taymans <wim@fluendo.com>
11794 * docs/design/part-trickmodes.txt:
11796 Update some docs regarding reverse playback.
11798 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11800 Patch by: Marcus Granado <mrc dot gran at gmail com>
11802 * win32/vs8/grammar.vcproj:
11803 Error out with a warning if glib-genmarshal.exe is not in path,
11804 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11806 2006-10-13 Wim Taymans <wim@fluendo.com>
11808 * gst/gstsegment.c: (gst_segment_set_seek):
11809 When seeking to stop -1, set last_stop (current position) to the
11810 duration of the segment.
11812 2006-10-13 Wim Taymans <wim@fluendo.com>
11814 * gst/gstelement.h:
11815 Clarify _NO_PREROLL a bit more.
11820 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11821 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11822 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11823 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11824 due to wrong locking order. Fixes #361769.
11825 Remove some redundant/misplaced checks in pad_block.
11827 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11828 For negative rates, count backwards from the duration.
11830 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11832 * gst/gsterror.c: (_gst_library_errors_init):
11833 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11834 up with something better).
11836 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11838 * win32/vs6/libgstreamer.dsp:
11839 * win32/vs7/libgstreamer.vcproj:
11840 * win32/vs8/libgstreamer.vcproj:
11841 Don't reference glib-compat.c which is currently not used and not
11842 disted; add gstquark.c which was recently added. Fixes #361730.
11844 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11846 * win32/common/libgstbase.def:
11847 * win32/common/libgstcontroller.def:
11848 * win32/common/libgstreamer.def:
11849 Add gst_caps_merge() and a bunch of other recently-added functions.
11852 2006-10-11 Wim Taymans <wim@fluendo.com>
11854 * docs/plugins/gstreamer-plugins.args:
11855 * docs/plugins/inspect/plugin-coreelements.xml:
11856 * docs/plugins/inspect/plugin-coreindexers.xml:
11857 Update element args.
11859 * gst/gstsystemclock.c:
11860 Small comment update.
11862 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11863 (gst_tee_request_new_pad), (gst_tee_release_pad),
11864 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11865 (gst_tee_sink_activate_pull):
11866 * plugins/elements/gsttee.h:
11868 Add default property defines.
11869 Implement release pad function.
11870 Give properties better blubs etc.
11871 Activate pads before adding them to a running tee.
11872 Do simple buffer_alloc on the first requested pad.
11873 Post error when activation fails.
11875 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11877 * gst/gst.c: (ensure_current_registry_forking):
11878 Check return value of write() to make compiler happy.
11880 2006-10-11 Wim Taymans <wim@fluendo.com>
11882 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11884 * plugins/elements/gstqueue.c: (gst_queue_chain):
11885 Recheck queue filledness after signalling the overrun when we're about
11886 to leak downstream because we released the lock when emitting the signal
11887 and the queue could be empty again. Fixes #352345.
11889 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11891 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11892 Fix refcounting here too, just like we did for _new_valist() a few
11893 days ago (#357180) (thanks to René Stadler). Also remove all those
11894 'Since: 0.9' from the gtk-doc blobs.
11896 * tests/check/libs/controller.c: (controller_refcount_new_list),
11897 (gst_controller_suite):
11898 Unit test for the above.
11900 2006-10-10 Wim Taymans <wim@fluendo.com>
11902 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11904 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11905 (gst_pad_save_thyself):
11907 Write pad direction in XML output. Fixes #345496.
11909 2006-10-10 Wim Taymans <wim@fluendo.com>
11911 Patch by: René Stadler <mail at renestadler dot de>
11913 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11914 (gst_controller_new_list), (_gst_controller_dispose),
11915 (_gst_controller_finalize), (_gst_controller_class_init):
11916 Take ref to controlled object so that it cannot disappear.
11919 2006-10-10 Wim Taymans <wim@fluendo.com>
11921 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11922 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11923 (gst_check_teardown_sink_pad):
11924 Activate/deactivate pads in setup/teardown respectively.
11926 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11928 Patch by: Josep Torra Valles <josep@fluendo.com>
11931 Cast values when making gstenumtypes.h. This pacifies Forte
11932 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11933 in the enumeration.
11935 2006-10-09 Wim Taymans <wim@fluendo.com>
11937 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11938 Rename some more @cur to @start to fix docs.
11940 * gst/gstsegment.c: (gst_segment_set_seek):
11942 time and start must always stay in sync as defined in design doc.
11944 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11945 Rename param to fix docs.
11947 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11948 Check that start and time are in sync.
11950 * tests/check/pipelines/parse-launch.c:
11951 (gst_parse_test_element_change_state):
11952 Activate pad before adding to the element.
11954 2006-10-09 Wim Taymans <wim@fluendo.com>
11956 * docs/design/part-qos.txt:
11961 Update seek event docs regarding negative rates.
11962 Rename @cur to @start.
11964 * gst/gstsegment.c: (gst_segment_set_seek):
11965 * gst/gstsegment.h:
11966 Update set_seek docs regarding negative rates.
11967 Correctly update last_stop to @stop when dealing with negative
11969 Rename @cur to @start.
11971 * tests/check/gst/gstpad.c: (GST_START_TEST):
11972 Activate pads before trying to use them.
11974 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11975 (gst_segment_suite):
11976 Add simple check for segments and negative rates.
11978 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11980 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11981 * gst/gsttaglist.h:
11982 * docs/gst/gstreamer-sections.txt:
11983 API: add gst_tag_list_is_empty() (#360467).
11985 * tests/check/gst/gsttag.c: (GST_START_TEST):
11988 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11990 * gst/gstmessage.h:
11991 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11992 a value that doesn't fit on enumeration.
11994 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11996 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11997 Remove local debugging system and use Gstreamer's instead.
11999 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12001 Patch by: Josep Torra Valles <josep@fluendo.com>
12003 * common/m4/gst-error.m4:
12004 Disable warning of statement not reached on Forte.
12005 * gst/gstmessage.h:
12006 Fix warning on Forte (value doesn't fit on enumeration).
12007 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12008 Fix warning on Forte (value doesn't fit on enumeration).
12009 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12010 DEBUG macro says it takes minimum of 2 args and so Forte
12011 complains about the use with just 1 arg.
12012 * plugins/elements/gstfdsink.c:
12013 * plugins/elements/gstfdsrc.c:
12014 * plugins/elements/gstfilesink.c:
12015 * plugins/elements/gstfilesrc.c:
12016 Use correct return type for the uri handler implementations.
12018 All these fix warnings in Forte. Fixes bug #360860.
12020 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12022 * gst/gstelement.h:
12023 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12024 format string, so don't use G_GNUC_PRINTF for those versions.
12026 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12028 * gst/gsttaglist.c: (gst_is_tag_list):
12029 * gst/gsttaglist.h:
12030 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12032 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12033 Small test for the above.
12035 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12037 * gst/gsttaglist.h:
12038 Less tabs, more spaces.
12040 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12043 Those two function declarations do actually belong there, revert
12044 commit from yesterday that turned them intro macros.
12046 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12048 Patch by: Josep Torra Valles <josep@fluendo.com>
12050 * gst/gst.c: (gst_init_get_option_group):
12051 Fix empty declaration and type mismatch.
12052 * gst/gstbin.c: (gst_bin_change_state_func):
12054 * gst/gstelement.c: (gst_element_continue_state),
12055 (gst_element_set_state_func), (gst_element_change_state),
12056 (gst_element_change_state_func):
12057 Fix type mismatches.
12058 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12059 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12060 Cast as appropriate.
12061 * gst/gstobject.c: (gst_class_signal_connect):
12062 Cast as appropriate. The function pointer parameter really
12063 has the wrong type but would break API if we change it.
12065 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12066 order of including string.h.
12067 * gst/gstutils.c: (gst_element_state_get_name):
12068 Remove unreachable line.
12069 * gst/gstxml.c: (gst_xml_parse_doc):
12071 All these caught by Forte.
12073 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12075 Patch by: Josep Torra Valles <josep@fluendo.com>
12077 * common/m4/gst-error.m4:
12079 We need to disable warnings on Forte for empty declarations
12080 due to gst-indent adding ;s to lines that just use macros
12081 where the macro actually doesn't need a ; at end to end
12084 2006-10-06 Wim Taymans <wim@fluendo.com>
12086 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12087 (gst_file_sink_close_file), (gst_file_sink_event),
12088 (gst_file_sink_render):
12089 Add some FIXME for the NEWSEGMENT handling.
12091 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12093 * gst/parse/grammar.y:
12094 Remove static function gst_parse_element_lock as all it does
12095 is return. Looks like cruft from 0.8.
12097 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12099 Patch by: Josep Torra Valles <josep@fluendo.com>
12101 * common/m4/gst-error.m4:
12103 * libs/gst/net/Makefile.am:
12104 Fix a compilation issue with Forte on Solaris. inet_aton is in
12107 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12109 * gst/gstpad.c: (pre_activate):
12110 * gst/gstregistry.c: (gst_registry_scan_path_level):
12111 * gst/gstregistryxml.c: (load_plugin):
12112 * libs/gst/controller/gstcontroller.c:
12113 (gst_controlled_property_set_interpolation_mode):
12114 * libs/gst/dataprotocol/dataprotocol.c:
12115 (gst_dp_packet_from_event_1_0):
12116 * libs/gst/net/gstnetclientclock.c:
12117 (gst_net_client_clock_observe_times):
12118 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12121 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12124 * docs/gst/gstreamer-sections.txt:
12125 * gst/gstconfig.h.in:
12126 * gst/gstelement.h:
12128 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12129 whether we can use G_GNUC_PRINTF in other header files and at
12130 least check the printf format/arguments of debug messages and
12131 GST_ELEMENT_ERROR messages when the printf extension is not
12133 Replace more tabs with spaces in gstinfo.h and remove two spurious
12134 function declarations in GST_DISABLE_DEBUG part with macros.
12136 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12138 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12139 More docs for the sync-message signal (mention that it is not
12140 emitted by default); log message structures of messages posted on
12143 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12145 * gst/gst.c: (ensure_current_registry_forking):
12146 Use a pipe pair to receive status results from the forked child, and
12147 ignore the result from waitpid. Fixes #355499
12149 2006-10-02 Wim Taymans <wim@fluendo.com>
12151 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12152 (gst_ghost_pad_suite):
12155 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12158 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12160 2006-10-02 Edward Hervey <edward@fluendo.com>
12162 * docs/design/part-block.txt:
12163 Further explain the use of flushing on blocked pads.
12164 * docs/gst/gstreamer-sections.txt:
12165 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12166 (gst_pad_push_event):
12168 Added new GstPadFlag : GST_PAD_BLOCKING.
12169 Adds the notion of pads really blocking, which enables to properly
12170 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12172 API: gst_pad_is_blocking()
12173 API: GST_PAD_IS_BLOCKING() macro
12174 API: GST_PAD_BLOCKING GstPadFlag
12176 2006-10-02 Wim Taymans <wim@fluendo.com>
12178 Patch by: mrcgran <mrc.gran at gmail dot com>
12180 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12181 Filter the proxied caps against the padtemplate if we have one.
12183 * gst/gstquery.c: (gst_query_new_segment):
12184 Add include for gstinfo.h so that compilation with
12185 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12187 2006-10-02 Wim Taymans <wim@fluendo.com>
12189 Patch by: Alessandro Decina <alessandro at nnva org>
12191 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12192 (gst_file_sink_set_location), (gst_file_sink_open_file),
12193 (gst_file_sink_close_file), (gst_file_sink_event),
12194 (gst_file_sink_render):
12195 Set file to NULL when closing filesink so that we can set a new filename
12196 in READY. Fixes #358613.
12198 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12200 Patch by: Alessandro Decina <alessandro at nnva org>
12202 * gst/gstevent.c: (_gst_event_copy):
12203 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12204 with event structures by setting the parent refcount address of the
12205 copied structure to the address of the refcount member of the newly
12206 copied event rather than the address of the refcount member of the
12207 original event. Fixes #358737.
12209 * tests/check/gst/gstevent.c: (GST_START_TEST):
12210 Unit test for the above.
12212 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12214 * docs/design/Makefile.am:
12215 Dist some more files.
12217 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12219 * tests/check/libs/controller.c: (GST_START_TEST),
12220 (gst_controller_suite):
12221 Add test for the previous fix; add some more tests
12222 for correct refcounting behaviour; fix a few leaks
12223 in test cases; call gst_controller_init() at start
12226 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12228 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12229 (gst_controller_set_from_list):
12230 Don't g_return_val_if_fail() on timed values with invalid timestamps
12231 inside a critical section without unlocking the mutex. Spotted by
12232 René Stadler. (#357617)
12233 Also, fix up refcounting properly: when returning an existing
12234 controller, we should increase the reference only once and not
12235 once per property and when trying to control a property again
12236 we should also increase the refcount.
12238 2006-09-29 Wim Taymans <wim@fluendo.com>
12240 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12241 * libs/gst/net/gstnettimeprovider.c:
12242 (gst_net_time_provider_thread):
12243 Stop reading commands when EOF as well.
12245 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12246 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12247 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12248 Unify description of the dump property.
12250 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12252 * tests/examples/manual/.cvsignore:
12253 OK, so it's actually cvsignore that needs changing. Stop laughing.
12255 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12257 * tests/examples/manual/Makefile.am:
12258 Gah, declare vars *before* using them
12260 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12262 * gst/gst.c: (init_pre), (scan_and_update_registry),
12263 (ensure_current_registry_nonforking),
12264 (ensure_current_registry_forking), (ensure_current_registry),
12265 (init_post), (gst_debug_help), (gst_deinit):
12266 * gst/gst_private.h:
12267 * gst/gstregistry.c: (gst_registry_finalize),
12268 (gst_registry_remove_features_for_plugin_unlocked),
12269 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12270 (gst_registry_scan_path),
12271 (_priv_gst_registry_remove_cache_plugins),
12272 (_priv_gst_registry_cleanup):
12273 * gst/gstregistry.h:
12274 Re-commit the registry changes, along with an extra fix:
12275 When a cached plugin is encountered at a different file path,
12276 update the stored path in the registry cache so that the parent
12277 process knows where it actually is now when it re-reads the registry
12278 cache. Fixes the thing that broke distcheck with the previous commit.
12280 * tests/check/Makefile.am:
12281 Clean up files named 'core' too when running make clean.
12283 * tests/examples/manual/Makefile.am:
12284 Set up a registry path for running these tests, and clean it properly
12287 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12290 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12291 want gmodule-no-export-2.0.pc instead so that we don't drag in
12292 --export-dynamic on every project that links to GStreamer.
12294 Also, make our export regex only match the start of symbols, rather
12295 than any symbol that contains '_gst' somewhere.
12297 * libs/gst/check/Makefile.am:
12298 The libgstcheck we build does however need export-dynamic, as it
12299 produces some symbols that don't match our _gst... style regex.
12302 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12304 * gst/gst.c: (init_pre), (scan_and_update_registry),
12305 (ensure_current_registry_nonforking),
12306 (ensure_current_registry_forking), (ensure_current_registry),
12307 (init_post), (gst_debug_help), (gst_deinit):
12308 * gst/gst_private.h:
12309 * gst/gstregistry.c: (gst_registry_finalize),
12310 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12311 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12312 (_gst_registry_cleanup):
12313 * gst/gstregistry.h:
12314 Revert previous change until I figure out why it breaks distcheck.
12316 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12318 * gst/gst.c: (init_pre), (scan_and_update_registry),
12319 (ensure_current_registry_nonforking),
12320 (ensure_current_registry_forking), (ensure_current_registry),
12321 (init_post), (gst_debug_help), (gst_deinit):
12323 Make init_pre and init_post take the full complement of GOptionFunc
12324 args so they can return useful GErrors. Make the registry updating
12327 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12328 ensure that the registry we're about to write out doesn't contain
12329 stale information about old-deleted plugin files.
12331 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12332 that deletion of plugin files is considered a registry change.
12334 * gst/gst_private.h:
12335 * gst/gstregistry.c: (gst_registry_finalize),
12336 (gst_registry_remove_features_for_plugin_unlocked),
12337 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12338 (gst_registry_scan_path),
12339 (_priv_gst_registry_remove_cache_plugins),
12340 (_priv_gst_registry_cleanup):
12341 * gst/gstregistry.h:
12342 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12343 by adding _priv prefix, so that they won't appear in the global
12344 symbol table. They still do atm though because of #318031. Move the
12345 prototypes to gst_private.h
12347 When removing a plugin, remove all features for that plugin too.
12350 2006-09-27 Wim Taymans <wim@fluendo.com>
12352 * docs/random/moving-plugins:
12353 Make it clear that the "compiled-in descriptions" really mean
12354 the element details.
12356 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12357 (gst_base_sink_wait_preroll):
12360 * docs/libs/gstreamer-libs-sections.txt:
12361 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12362 (gst_base_src_get_range), (gst_base_src_activate_push):
12363 * libs/gst/base/gstbasesrc.h:
12364 Added function to block while waiting for PLAYING, this function
12365 is used by live sources that block on the clock.
12366 API: gst_base_src_wait_playing()
12368 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12370 Patch by: Peter Kjellerstedt <pkj at axis com>
12373 gst-element-check.m4 is generated and should therefore be
12374 copied from the build dir rather than the source dir (#357593).
12375 'make distcheck' hasn't noticed this because we were disting
12376 the file as well, so stop doing that.
12378 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12380 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12381 Add some tests for gst_caps_intersect().
12383 * tools/gst-launch.c: (event_loop):
12384 Print all buffering percentages we get, even the 100% one.
12386 2006-09-26 Wim Taymans <wim@fluendo.com>
12388 * tools/gst-inspect.c: (print_element_properties_info),
12389 (print_signal_info):
12390 Fix printing of flags to match the look of enums.
12392 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12394 * gst/gstelementfactory.c:
12395 Fix typo in docs blurb.
12397 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12399 * gst/gsturi.c: (search_by_entry):
12400 Don't assert/crash here if a uri handler doesn't return any
12401 supported protocols. The list of protocols could be generated
12402 dynamically at runtime or at plugin registration, and an error
12403 in the underlying library shouldn't be fatal (#353301).
12405 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12408 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12409 (spotted by Peter Kjellerstedt).
12411 2006-09-23 Wim Taymans <wim@fluendo.com>
12413 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12415 * libs/gst/base/gstbasesrc.c:
12416 (gst_base_src_default_check_get_range), (gst_base_src_start),
12417 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12418 (gst_base_src_change_state):
12419 Match _start/_stop calls in the activate functions. Remove redundant
12420 _stop call from the state change function. Fixes #356910.
12421 Turn failure DEBUG into ERROR.
12423 2006-09-22 Wim Taymans <wim@fluendo.com>
12425 * docs/design/part-buffering.txt:
12426 * gst/gstmessage.c: (gst_message_new_buffering),
12427 (gst_message_parse_buffering):
12428 Update docs about buffering.
12430 * docs/design/part-trickmodes.txt:
12433 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12435 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12436 (gst_controller_new_list):
12437 Ref instances when returning them again (fixes #357180)
12439 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12441 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12442 Don't forget to release proxy lock when there's an error.
12444 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12447 Add extra initialisers for Caps things, to fix some plugin warnings
12450 2006-09-18 Wim Taymans <wim@fluendo.com>
12452 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12453 Also set template on the internal pad so that a getcaps from the
12454 target pad returns the template caps.
12456 2006-09-18 Wim Taymans <wim@fluendo.com>
12458 * gst/gstelement.c: (gst_element_post_message),
12459 (gst_element_dispose):
12460 Use _DEBUG_OBJECT some more.
12462 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12465 * tools/gst-launch.c: (main):
12466 If the toplevel element is not a GstPipeline, it must be put in a
12467 pipeline so that a bus and clock is selected.
12469 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12471 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12472 JITTER, RATE, and LATENCY query should be handled by the
12473 default case and not by the CONVERT query code.
12475 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12477 * gst/gstformat.c: (gst_format_register):
12478 Fix locking order (must take lock before using n_values).
12480 * gst/gstvalue.c: (gst_value_serialize_enum),
12481 (gst_value_deserialize_enum_iter_cmp),
12482 (gst_value_deserialize_enum):
12483 Fix serialisation/deserialisation of custom registered GstFormats.
12485 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12486 Unit test for custom format serialisation/deserialisation.
12488 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12490 * docs/pwg/building-boiler.xml:
12491 * plugins/elements/gstcapsfilter.c:
12492 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12495 2006-09-16 Edward Hervey <edward@fluendo.com>
12497 * libs/gst/base/gstbasetransform.c:
12498 (gst_base_transform_buffer_alloc):
12499 Check if requested caps are the same as the sinks caps IF
12500 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12502 This fixes the renegotiation issues stated in #352827.
12504 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12507 * docs/manual/advanced-autoplugging.xml:
12508 * tests/examples/Makefile.am:
12509 * tests/examples/manual/.cvsignore:
12510 * tests/examples/manual/Makefile.am:
12511 * tests/examples/manual/extract.pl:
12512 Extract the manual examples again like we used to do.
12515 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12517 * win32/common/config.h:
12520 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12523 Documents how to receive errors.
12525 2006-09-15 Wim Taymans <wim@fluendo.com>
12527 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12528 (event_loop), (main):
12529 Added some comments here and there.
12530 Post an application message when an interrupt is caught instead of doing
12531 an uncontrolled state change.
12532 Clean up the event loop.
12533 Handle buffering messages, pause/resume the pipeline.
12534 Make shutdown because of an interrupt more reliable.
12536 2006-09-15 Wim Taymans <wim@fluendo.com>
12538 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12539 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12540 (gst_base_sink_preroll_object):
12541 Make sure that our internal state is correct when we commit our state
12542 asynchronously. This solves a race where a state change to PLAYING
12543 could cause the sink to remain blocked in preroll in some situations.
12545 2006-09-15 Wim Taymans <wim@fluendo.com>
12547 * tools/gst-inspect.c: (print_element_properties_info),
12548 (print_signal_info):
12549 List flags as hex so it's easier to deal with.
12551 2006-09-15 Wim Taymans <wim@fluendo.com>
12553 * docs/libs/gstreamer-libs-sections.txt:
12554 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12555 (gst_base_sink_do_sync):
12556 * libs/gst/base/gstbasesink.h:
12557 Expose logic to wait for preroll so that subclasses such as audiosink
12558 can also use this method.
12559 API: gst_base_sink_wait_preroll()
12561 2006-09-15 Wim Taymans <wim@fluendo.com>
12563 * gst/gstobject.c: (gst_object_set_parent):
12564 * gst/gstpipeline.c: (do_pipeline_seek):
12565 Small cleanups in docs and code.
12567 * gst/gstsegment.c: (gst_segment_clip):
12568 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12569 if stop == start and start is in the segment, no clipping should be
12570 done. Also add a test for this.
12572 2006-09-15 Wim Taymans <wim@fluendo.com>
12574 * docs/design/part-buffering.txt:
12575 * docs/gst/gstreamer-sections.txt:
12576 * gst/gstmessage.c: (gst_message_new_buffering),
12577 (gst_message_parse_buffering):
12578 * gst/gstmessage.h:
12579 Added methods to create and parse BUFFERING messages.
12580 Added preliminary docs about buffering.
12581 API: gst_message_new_buffering
12582 API: gst_message_parse_buffering
12584 2006-09-06 Wim Taymans <wim@fluendo.com>
12587 Update documentation.
12589 * gst/gstelement.c: (gst_element_class_init),
12590 (gst_element_release_request_pad), (gst_element_set_clock),
12591 (gst_element_get_index), (gst_element_add_pad),
12592 (gst_element_remove_pad), (gst_element_get_random_pad),
12593 (gst_element_send_event), (gst_element_get_query_types),
12594 (gst_element_query), (gst_element_post_message),
12595 (gst_element_message_full), (gst_element_continue_state),
12596 (gst_element_lost_state), (gst_element_save_thyself),
12597 (gst_element_restore_thyself):
12598 Documentation updates.
12599 Rename last bit of the new-pad -> pad-added signal rename.
12600 Fix the case where an element query would only work if the source
12602 Avoid some useless type checking in message handling.
12607 Documentation updates.
12609 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12611 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12612 add an INFO line for when we actually update the fd
12614 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12619 === release 0.10.10 ===
12621 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12624 releasing 0.10.10, "Pais"
12626 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12628 * docs/manual/advanced-position.xml:
12629 Fix typo in sample code.
12631 2006-09-05 Wim Taymans <wim@fluendo.com>
12633 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12634 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12635 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12636 * libs/gst/net/gstnetclientclock.h:
12637 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12638 * libs/gst/net/gstnettimepacket.h:
12639 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12640 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12641 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12642 * libs/gst/net/gstnettimeprovider.h:
12643 Make stuff compile on windows. Fixes #345295.
12645 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12647 * gst/gst.c: (ensure_current_registry_forking):
12648 Print better details when child was terminated by signal.
12650 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12652 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12653 Print a warning rather than g_assert() if a plugin feature
12654 is a URI handler but returns no protocols (#353976).
12656 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12658 * docs/random/moving-plugins:
12661 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12663 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12664 Fix locking order, handle NULL function values properly.
12669 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12670 Initialise variable before using it and fix debug statement to
12671 print the address of the function rather than the address of the
12672 variable on the stack holding the address of the function.
12674 2006-09-01 Wim Taymans <wim@fluendo.com>
12676 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12677 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12678 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12679 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12680 (gst_ghost_pad_parent_unset),
12681 (gst_ghost_pad_internal_do_activate_push),
12682 (gst_ghost_pad_internal_do_activate_pull),
12683 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12684 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12685 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12686 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12687 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12688 (gst_ghost_pad_new_no_target_from_template),
12689 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12691 Avoid needless typechecking in macros.
12692 Since the internal pad is always present and never changes, there is
12693 no need to locking or ref when retrieving it.
12694 Improve debugging a bit.
12695 Handle link errors when setting the target. Fixes #341029.
12697 2006-09-01 Wim Taymans <wim@fluendo.com>
12699 * docs/libs/gstreamer-libs-sections.txt:
12700 * docs/plugins/gstreamer-plugins-sections.txt:
12701 Fix docs some more.
12703 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12704 (gst_collect_pads_event):
12705 * libs/gst/base/gstcollectpads.h:
12706 Documentation updates.
12707 Free queued buffer when removing a pad.
12709 2006-08-31 Michael Smith <msmith@fluendo.com>
12711 * gst/gstutils.c: (gst_element_link_pads),
12712 (gst_element_link_pads_filtered):
12713 Ensure that we set a capsfilter to NULL if we failed to link it
12714 when doing filtered linking, to avoid criticals.
12716 No need to check for unreffing srcpad, which is explicly NULLed
12717 above (a trivial code cleanup).
12719 2006-08-31 Wim Taymans <wim@fluendo.com>
12721 * docs/design/part-gstghostpad.txt:
12722 Update ascii art in documentation.
12724 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12725 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12726 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12727 (gst_ghost_pad_internal_do_activate_push),
12728 (gst_ghost_pad_internal_do_activate_pull),
12729 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12730 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12731 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12732 (gst_ghost_pad_set_target):
12733 Small cleanups and leak fixes.
12734 Remove some checks now that the internal pad is never NULL.
12735 Fix the case where linking pads without a target would create nasty
12736 criticals. Fixes #341029.
12737 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12738 value of _set_target().
12740 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12741 (gst_ghost_pad_suite):
12742 Some more tests for creating and linking untargeted ghostpads.
12744 2006-08-31 Edward Hervey <edward@fluendo.com>
12746 * docs/gst/gstreamer-sections.txt:
12747 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12748 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12749 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12750 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12751 (gst_ghost_pad_new_from_template),
12752 (gst_ghost_pad_new_no_target_from_template):
12753 * gst/gstghostpad.h:
12754 Refactored *_new() functions.
12755 Templates are now used as a g_object_new() parameter.
12756 Use template in _do_getcaps() if we don't have a target.
12757 Small documentation cleanups.
12758 Added two new constructors:
12759 gst_ghost_pad_new_from_template()
12760 gst_ghost_pad_new_no_target_from_template()
12761 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12762 (gst_ghost_pad_suite):
12763 Added tests for new ghostpad instanciation functions.
12765 API additions: gst_ghost_pad_new_from_template,
12766 gst_ghost_pad_new_no_target_from_template
12768 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12770 * docs/random/ensonic/profiling.txt:
12771 Ideas about qos profiling.
12773 2006-08-29 Wim Taymans <wim@fluendo.com>
12775 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12779 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12782 Improve and detypofy docs.
12784 * tests/check/Makefile.am:
12785 * tests/check/gst/.cvsignore:
12786 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12787 Add a basic test suite for GstXML.
12789 2006-08-29 Wim Taymans <wim@fluendo.com>
12791 * gst/gstelement.c: (activate_pads), (clear_caps),
12792 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12793 Clear the pad caps when the element shut down all of the pads and
12794 is not streaming data that could modify the caps.
12797 2006-08-28 Michael Smith <msmith@fluendo.com>
12799 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12800 Revert previous change; I misunderstood single-segment mode.
12802 2006-08-28 Michael Smith <msmith@fluendo.com>
12804 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12805 Unset DISCONT on buffers when using single-segment mode.
12807 2006-08-28 Wim Taymans <wim@fluendo.com>
12809 * gst/gstcaps.c: (gst_caps_merge_structure):
12811 Fix docs and indentation again.
12813 * tests/check/gst/gstquery.c: (GST_START_TEST):
12814 Fix leak in tests and add some more tests.
12816 2006-08-28 Edward Hervey <edward@fluendo.com>
12818 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12819 Inform GstSegment of the last stop position in order for the current
12820 segment to have a proper duration if it doesn't have a specific stop
12821 position from which a duration could be calculated.
12822 This bug was noticeable when a non-flushing, non-update new segment was
12823 followed by another segment (all buffers from the new segment were being
12826 2006-08-28 Wim Taymans <wim@fluendo.com>
12828 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12829 Small comment update.
12831 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12832 (gst_identity_transform_ip):
12833 Drop-probability is broken, mention this in the code with a
12834 FIXME and also in the property description.
12835 Make silent also be silent about the drop messages.
12837 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12839 * docs/manual/appendix-win32.xml:
12840 Remove mention of popt, we don't depend on that any
12841 longer (#353136). Add some comments pointing out that
12842 this section is slightly outdated.
12844 2006-08-28 Wim Taymans <wim@fluendo.com>
12846 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12848 * gst/gstquery.c: (gst_query_new_segment):
12849 * tests/check/gst/gstquery.c: (GST_START_TEST):
12850 Initialize variables when creating a new segment query.
12853 2006-08-28 Wim Taymans <wim@fluendo.com>
12855 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12857 * gst/gstelement.c: (gst_element_get_bus):
12858 * tests/check/gst/gstelement.c: (GST_START_TEST):
12859 Check for NULL before _reffing the bus. Fixes #353122.
12861 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12863 * docs/manual/basics-bus.xml:
12864 Docs update: fix wrong callback return value explanation; add
12865 some lines about the implicit relationship between main loop
12866 and main context; remove duplicate main loop variable declaration.
12868 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12870 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12871 Don't leak caps in unit test; add a few more simple
12874 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12876 * docs/gst/gstreamer-sections.txt:
12877 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12878 (gst_caps_structure_is_subset), (gst_caps_merge),
12879 (gst_caps_merge_structure):
12881 * libs/gst/base/gstbasetransform.c:
12882 (gst_base_transform_transform_caps):
12883 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12884 implement caps merging (fixes #352580)
12886 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12888 * tools/Makefile.am:
12889 * tools/gst-plot-timeline.py:
12890 add debug-log plotting developer tool (#340674)
12892 2006-08-23 Wim Taymans <wim@fluendo.com>
12894 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12895 (gst_pad_stop_task):
12896 Improve debugging for task functions.
12898 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12899 (gst_task_start), (gst_task_pause), (gst_task_join):
12900 Make sure that the task function started and finished after a
12902 Don't try to push the task function on the threadpool multiple
12904 Improve the g_warning message with some useful suggestions
12905 about how to fix the problem.
12907 2006-08-23 Wim Taymans <wim@fluendo.com>
12909 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12910 Handle RESYNC correctly in _proxy_getcaps.
12912 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12914 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12915 (gst_xml_parse_memory), (gst_xml_get_element):
12916 Chain up to parent class in dispose function and also
12917 unref the elements in the toplevel_elements GList.
12918 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12919 Always return a reference in gst_xml_get_element() rather
12920 than only sometimes.
12922 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12923 Don't leak GstXml object.
12925 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12927 * docs/gst/gstreamer-sections.txt:
12928 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12931 * libs/gst/base/gstbasetransform.c:
12932 (gst_base_transform_transform_caps):
12933 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12936 2006-08-21 Edward Hervey <edward@fluendo.com>
12938 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12939 Implement GObject::dispose virtual method in GstXML so we can free the
12940 top_elements GList.
12942 2006-08-21 Wim Taymans <wim@fluendo.com>
12944 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12945 (gst_buffer_create_sub):
12946 Copy duration/offset_end/caps when creating a subbuffer of the
12948 Make the subbuffer read-only when we make the metadata writable for
12949 now. Fixes #351768.
12951 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12952 Added check for metadata copy when creating subbuffers.
12954 2006-08-21 Edward Hervey <edward@fluendo.com>
12956 * libs/gst/base/gstbasetransform.c:
12957 (gst_base_transform_buffer_alloc):
12958 Only call downstream buffer_alloc if transform element is passthrough
12959 or always_in_place. Closes #350449.
12961 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12964 ChangeLog surgery to add comments to previous changes
12966 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12971 * gst/gstpad.c: (gst_pad_set_active):
12972 Be more verbose in the log
12974 * libs/gst/base/gstbasetransform.c:
12975 (gst_base_transform_transform_caps):
12976 Simplify caps to get rid of duplicates, fixes #345444
12978 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12982 Use these optimizations only internally.
12984 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12986 * gst/gstvalue.c: (gst_value_compare_list),
12987 (gst_value_compare_fraction_range),
12988 (gst_value_intersect_fraction_fraction_range),
12989 (gst_value_intersect_fraction_range_fraction_range),
12990 (gst_value_subtract_fraction_fraction_range),
12991 (gst_value_subtract_fraction_range_fraction_range),
12992 (gst_value_get_compare_func), (gst_value_compare),
12993 (gst_value_compare_with_func):
12995 Saves the expensive lookup of the compare function in many cases
12998 2006-08-18 Edward Hervey <edward@fluendo.com>
13000 * tests/check/gst/gstinfo.c: (gst_info_suite):
13001 Disable test that require gstdebug if it wasn't built in core.
13003 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13005 * docs/random/ensonic/logging.txt:
13008 * gst/gstinfo.c: (gst_debug_log_default):
13009 reorder fields, save some columns, add optional color codes for log
13012 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13014 * docs/random/ensonic/logging.txt:
13015 add ideas about making the logs a bit more useful
13017 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13019 * docs/pwg/advanced-events.xml:
13020 * docs/pwg/titlepage.xml:
13021 Update for 0.10 API (#340627). Add myself
13024 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13026 * docs/libs/gstreamer-libs-docs.sgml:
13027 * docs/libs/gstreamer-libs-sections.txt:
13028 * libs/gst/check/gstbufferstraw.c:
13029 Make gstcheck stuff show up in docs (still needs to
13030 be documented properly though).
13032 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13034 * docs/gst/gstreamer-sections.txt:
13036 * gst/gst.c: (init_post):
13037 * gst/gst_private.h:
13038 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13040 * gst/gstquery.c: (gst_query_new_position),
13041 (gst_query_set_position), (gst_query_parse_position),
13042 (gst_query_new_duration), (gst_query_set_duration),
13043 (gst_query_parse_duration), (gst_query_new_convert),
13044 (gst_query_set_convert), (gst_query_parse_convert),
13045 (gst_query_new_segment), (gst_query_set_segment),
13046 (gst_query_parse_segment), (gst_query_new_seeking),
13047 (gst_query_set_seeking), (gst_query_parse_seeking):
13048 Add internal helpers for pre-registering quarks from static strings
13049 and using the quark values directly instead of looking them up when
13050 creating and parsing queries. Can be used for event construction too.
13053 2006-08-16 Wim Taymans <wim@fluendo.com>
13058 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13060 * gst/gstutils.c: (gst_util_set_value_from_string):
13061 Fix memleak (#351502).
13063 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13064 Add unit test for most of gst_util_set_value_from_string()
13065 (not that one would want to encourage use of this function).
13067 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13069 * libs/gst/check/gstcheck.h:
13070 Use const gchar * variables in fail_unless_equals_string
13071 macro to avoid compiler warnings (and don't use tabs for
13074 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13076 * tools/gst-launch.c: (print_tag):
13077 More space on the left for the tag names, to cater
13078 for the 'extended comment' tag (not touching the
13079 string for the first line since it's translated).
13081 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13083 * libs/gst/check/gstcheck.h:
13084 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13085 print something when they fail.
13087 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13089 * docs/gst/gstreamer-sections.txt:
13090 * gst/gsttaglist.c: (_gst_tag_initialize):
13091 * gst/gsttaglist.h:
13092 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13093 Also change merge function for GST_TAG_COMMENT to
13096 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13098 * gst/gstinfo.c: (gst_debug_print_object):
13099 Make GST_PTR_FORMAT print messages as well.
13101 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13102 (GST_START_TEST), (gst_info_suite):
13105 2006-08-14 Edward Hervey <edward@fluendo.com>
13107 * gst/gstelementfactory.c: (gst_element_register):
13108 If the GstElementClass doesn't have a GstElementDetails with all fields
13109 filled up correctly (longname, description AND author), then error out
13110 nicely instead of crashing.
13112 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13114 * gst/gststructure.c:
13115 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13118 Expand on the difference between arrays and lists as we use them.
13120 2006-08-14 Wim Taymans <wim@fluendo.com>
13122 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13123 If the parent state change function failed, don't assume we can safely
13124 stop the source, this will be done when the pads are deactivated.
13126 2006-08-14 Wim Taymans <wim@fluendo.com>
13129 * gst/gsttask.c: (gst_task_join):
13132 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13133 (gst_pad_stop_task):
13134 When pad (de)activation failed for some reason, restore the old
13135 activation mode and set the pad to flushing instead of assuming the
13136 pad is deactivated.
13137 If the _task_join() failed, reinstall the task on the pad so that it can
13138 be stopped later and return an error.
13140 2006-08-11 Andy Wingo <wingo@pobox.com>
13143 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13144 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13145 is only for users of API that don't want to see deprecated
13146 functions in the headers; people that want to compile out
13147 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13148 CFLAGS. Fixes the build of multifdsink, or will soon..
13150 2006-08-11 Wim Taymans <wim@fluendo.com>
13152 * docs/gst/gstreamer-sections.txt:
13153 Add GstClockClass vmethod docs.
13156 Mark #endif with comment for associated #if
13158 * gst/gstclock.c: (gst_clock_id_wait):
13160 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13161 most clock implementations.
13163 Flesh out docs about resolution methods.
13164 API: GstClockClass::wait_jitter
13166 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13167 (gst_system_clock_async_thread),
13168 (gst_system_clock_id_wait_jitter_unlocked),
13169 (gst_system_clock_id_wait_jitter):
13170 Use base class wait_jitter variant for improved performance
13171 due to less clock polling.
13173 2006-08-11 Edward Hervey <edward@fluendo.com>
13175 * gst/gst.c: (gst_init_check), (init_post):
13176 Set gst as being initialized before scanning/updating the registry,
13177 since there might be my python plugin loader that calls gst_init() and
13178 we don't want to loop back in.
13181 2006-08-11 Wim Taymans <wim@fluendo.com>
13183 * docs/design/part-qos.txt:
13184 Bring docs in line with the code. Mostly the sign of the jitter was
13185 wrong in the docs. Fixes #349943.
13188 Fix the docs for the jitter.
13190 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13191 (gst_event_parse_tag), (gst_event_new_buffer_size),
13192 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13193 (gst_event_new_seek), (gst_event_parse_seek),
13194 (gst_event_new_navigation):
13195 Make sure the GstStructure has no parent when creating custom
13197 Add some more argument checking so that we avoid 0.0 rates.
13198 Flesh out the docs for the QoS event some more.
13200 2006-08-11 Wim Taymans <wim@fluendo.com>
13202 * docs/gst/gstreamer-sections.txt:
13203 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13204 (ensure_current_registry_forking), (ensure_current_registry),
13205 (parse_one_option), (parse_goption_arg), (gst_deinit),
13206 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13209 Added API and command line option to disable registry forking in
13210 addition to the environment variable.
13211 Constify some static arrays.
13212 Added some more debug.
13213 Don't deinit twice.
13214 API: gst_registry_fork_is_enabled()
13215 API: gst_registry_fork_set_enabled()
13216 API: --gst-disable-registry-fork command line option
13219 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13221 * gst/gst.c: (gst_init):
13222 Fix typo in error message.
13224 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13226 * libs/gst/controller/gstcontroller.h:
13227 fix ABI size-correction
13229 * tests/check/libs/gdp.c: (gst_dp_suite):
13230 make tests that use deprecated API conditional
13232 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13234 * docs/libs/gstreamer-libs-sections.txt:
13235 * libs/gst/controller/gstcontroller.c:
13236 (_gst_controller_get_property), (_gst_controller_set_property),
13237 (_gst_controller_init), (_gst_controller_class_init):
13238 * libs/gst/controller/gstcontroller.h:
13239 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13240 (gst_object_set_control_rate):
13241 API: add gst_object_{s,g}et_control_rate(), add private data section,
13244 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13245 * libs/gst/dataprotocol/dataprotocol.h:
13246 add deprecation guards to make gtk-doc happy and allow disabling cruft
13248 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13250 * tests/check/Makefile.am:
13251 * tests/check/gst/.cvsignore:
13252 Let's enable the new unit test as well.
13254 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13257 * docs/gst/gstreamer-sections.txt:
13258 * gst/gstconfig.h.in:
13259 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13260 (_gst_info_printf_extension_ptr),
13261 (_gst_info_printf_extension_segment):
13262 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13263 register that lets us easily dump GstSegments into debug
13266 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13267 (info_segment_format_printf_extension), (gst_info_suite):
13268 Add simple unit test that logs a bunch of different segments (not
13269 valgrinded at the moment because of leaks in
13270 gst_debug_add_log_function).
13272 2006-08-09 Edward Hervey <edward@fluendo.com>
13274 * libs/gst/base/gstbasetransform.c:
13275 (gst_base_transform_buffer_alloc):
13276 Even if we can't figure out the proper format to request downstream,
13277 call buffer_alloc() downstream with the input parameters without setting
13278 the caps on the srcpad. This will force negotiation in the chain
13282 2006-08-08 Edward Hervey <edward@fluendo.com>
13284 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13285 Unlinking from a pad without a target is now a perfectly valid case
13286 which should NOT raise an assertion.
13287 This case would happen if a linked ghostpad its target set to NULL after
13288 it was previously linked.
13290 2006-08-08 Edward Hervey <edward@fluendo.com>
13292 * tests/check/libs/gdp.c:
13293 Also comment out the test (see below).
13295 2006-08-08 Edward Hervey <edward@fluendo.com>
13297 * tests/check/libs/gdp.c: (gst_dp_suite):
13298 Use the architecture information from config.h and not gcc macros
13299 in order to properly disable a test that fails on PPC64.
13301 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13303 * gst/gstelement.c: (gst_element_remove_pad):
13304 Don't crash printing the warning if the pad has no parent.
13306 2006-08-02 Wim Taymans <wim@fluendo.com>
13308 * libs/gst/dataprotocol/dataprotocol.c:
13309 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13310 (gst_dp_crc), (gst_dp_header_payload_length),
13311 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13312 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13313 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13314 (gst_dp_event_from_packet), (gst_dp_validate_header),
13315 (gst_dp_validate_payload):
13316 Make debug category static
13317 Constify the crc table.
13318 Do some more arg checking in public functions.
13319 Fix some docs and do some small cleanups.
13321 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13322 Add some more checks to see if GDP deals with bogus input.
13324 2006-07-31 Wim Taymans <wim@fluendo.com>
13326 * gst/gstvalue.c: (gst_value_compare_list):
13327 Fix GstValueList comparison code. Fixes #347293.
13329 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13330 Check to test GstValueList comparison.
13332 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13334 * gst/gstelementfactory.c: (gst_element_factory_create):
13335 Remove unnecessary ref/unref pair
13337 * gst/parse/grammar.y:
13338 Make sure to free the parse buffer on all code paths.
13339 Move a g_free up to the error handler where it's easier to see.
13341 * tests/check/gst/gstevent.c: (test_event):
13342 Extending timeout for downstream travelling events to 10 seconds to
13343 hopefully avoid intermittent failure on the buildbots.
13345 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13346 Don't manually set the state of the src element - it will happen as a
13347 natural consequence of the pipeline changing state, and that way it
13348 will do it in the right order too.
13350 2006-07-31 Wim Taymans <wim@fluendo.com>
13352 * libs/gst/base/gstbasetransform.c:
13353 (gst_base_transform_buffer_alloc):
13354 Use OBJECT_LOCK and refcounting to get the pad caps in the
13355 buffer_alloc function because the caps could change while we are
13356 busy with them. Fixes #349105
13358 2006-07-31 Wim Taymans <wim@fluendo.com>
13360 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13361 Protect _PAD_CAPS with OBJECT_LOCK.
13363 2006-07-31 Wim Taymans <wim@fluendo.com>
13365 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13366 (gst_pad_get_property), (gst_pad_activate_pull),
13367 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13368 (gst_pad_set_activate_function),
13369 (gst_pad_set_activatepull_function),
13370 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13371 (gst_pad_set_getrange_function),
13372 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13373 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13374 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13375 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13376 (gst_pad_set_acceptcaps_function),
13377 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13378 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13379 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13380 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13381 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13382 (gst_pad_configure_sink), (gst_pad_configure_src),
13383 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13384 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13385 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13386 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13387 (gst_pad_send_event):
13388 Use _DEBUG_OBJECT when it makes sense.
13389 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13390 Small cleanups and code reflows.
13391 Avoid caps refcounting in _accept_caps.
13392 Refactor alloc_buffer so that the code performed on the peer is in a
13393 separate function. Also if the pad does not implement a buffer alloc
13394 function, we should still check if the pad is flushing before falling
13395 back to the default allocator.
13397 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13399 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13400 Make all uses of identity and fakesink have silent=true to avoid
13401 serialising every passing data structure, which is breaking tests
13402 on FC4 for some unknown reason.
13404 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13406 * gst/parse/Makefile.am:
13407 * gst/parse/grammar.y:
13408 * gst/parse/parse.l:
13409 Reverted previous patch as it required to bump the flex dependency to
13410 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13412 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13414 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13416 * gst/parse/Makefile.am:
13417 * gst/parse/grammar.y:
13418 * gst/parse/parse.l:
13419 push & pop the state of the lexer for reentrant use case
13422 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13424 * libs/gst/base/gstbasesrc.h:
13425 Note in the docs that the ::newsegment vfunc is not actually used by
13428 2006-07-28 Wim Taymans <wim@fluendo.com>
13430 * libs/gst/base/gstcollectpads.c:
13431 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13432 (gst_collect_pads_clear), (gst_collect_pads_flush),
13433 (gst_collect_pads_event), (gst_collect_pads_chain):
13434 When flushing a pad, also clear the queued buffer so that we don't
13435 accidentally use it when we shouldn't.
13436 Fix leaks by inreffing incomming buffer.
13437 Flush out queued buffers in case of errors.
13440 2006-07-28 Wim Taymans <wim@fluendo.com>
13442 * docs/random/phonon-gst:
13443 Random notes about a Phonon backend.
13445 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13447 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13449 * tests/check/libs/gdp.c: (gst_dp_suite):
13450 Take a whack at fixing the ppc compile using a different define to
13451 disable the broken test.
13453 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13454 Remove excess g_print()
13456 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13458 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13459 Oops, meant to uncomment this line too to dampen the noise a bit.
13461 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13463 * gst/parse/grammar.y:
13464 * gst/parse/parse.l:
13465 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13466 (GST_START_TEST), (parse_suite):
13467 Fix some of the leaks exposed by extending the parse-launch testsuite,
13468 and move the 3 I can't figure out into a separate test that won't run
13469 the pipelines unless the appropriate line is uncommented.
13471 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13473 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13474 Requesting 0 bytes before the end of the file should result in
13475 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13478 2006-07-27 Wim Taymans <wim@fluendo.com>
13480 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13481 Fix useless assert, a uint is always positive.
13483 * gst/gststructure.c: (gst_structure_nth_field_name),
13484 (gst_structure_foreach), (gst_structure_map_in_place):
13485 Check input arguments for public functions to avoid obvious crashes.
13487 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13488 * plugins/elements/gstfakesink.h:
13489 Do less useless typechecking.
13491 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13493 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13494 Do not use mmap() by default since there are a number of error
13495 conditions that we would like to handle in a non-fatal way that
13496 will result in a SIGBUS if we use mmap(). Examples: external
13497 devices (USB harddrive, portable music player) being unplugged
13498 while in use; file on mounted CD/DVD that can't be read because
13499 the medium is partly damaged. Fixes #348455 and #348475.
13501 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13504 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13505 rates are a gdouble
13507 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13509 * gst/gstregistry.c:
13510 Move big documentation comment into class section header, so that it
13511 appears in the API docs.
13513 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13515 * docs/gst/gstreamer-sections.txt:
13516 Oops. Commit the docs additions too for new API.
13517 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13519 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13521 * gst/gststructure.c: (gst_structure_id_set),
13522 (gst_structure_id_set_valist):
13523 * gst/gststructure.h:
13524 Add API for setting values into structures without performing
13525 a quark lookup, if the appropriate quark is already known.
13527 API: gst_structure_id_set
13528 API: gst_structure_id_set_valist
13530 * gst/parse/grammar.y:
13531 * gst/parse/parse.l:
13532 Remove some dead code shown by the coverage information.
13533 Don't throw a critical g_warning when encountering a syntax error,
13534 just warn and let the normal error path handle it.
13536 * plugins/elements/gstelements.c:
13537 Bump the rank of filesink up to PRIMARY so that it is preferred over
13538 gnomevfssink for file:// sink uri's
13540 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13541 (GST_START_TEST), (run_delayed_test),
13542 (gst_parse_test_element_base_init),
13543 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13544 (gst_parse_test_element_change_state),
13545 (gst_register_parse_element), (parse_suite):
13546 Beef up the tests for parse syntax to check that more error cases
13547 fail as they are supposed to. Increases the test coverage a bit.
13549 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13551 * docs/manual/basics-elements.xml:
13552 Fix gst_element_link() example.
13555 Mention in API docs that one should usually gst_bin_add()
13556 elements to a bin or pipeline before doing the linking.
13558 2006-07-26 Wim Taymans <wim@fluendo.com>
13560 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13561 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13562 Avoid function call for known types by keeping the buffer and
13563 subbuffer GType global.
13565 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13566 Random silly optimisations in read() path.
13568 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13570 * tools/gst-launch.c: (main):
13571 If the top-level of the parse is a normal bin, it doesn't do the
13572 right logic to run as a top-level element, so place it inside a
13575 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13577 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13578 Remove superfluous g_object_notify() calls, GObject does
13579 that for us automatically.
13581 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13584 on Win32, use dllspec to export the debug category symbols
13586 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13588 * gst/gsttaglist.c: (_gst_tag_initialize):
13589 Allow more than one GST_TAG_IMAGE per taglist.
13591 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13593 * gst/gstminiobject.c:
13595 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13596 (gst_fd_src_create):
13597 log recurring events at LOG level
13598 add more debug for when the fd gets set
13600 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13602 * gst/gstparse.c: (gst_parse_launch):
13603 Also remove reentrance checks if flex is MT safe (#348179)
13604 Fix my empty ChangeLog entry below
13606 2006-07-21 Andy Wingo <wingo@pobox.com>
13608 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13610 * libs/gst/check/Makefile.am
13611 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13612 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13613 * libs/gst/check/gstbufferstraw.h:
13614 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13615 functions, thus proving I am still a GStreamer haxor. OK I wrote
13616 them a long time ago, but anyways.
13618 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13621 * gst/gstparse.c: (gst_parse_launch):
13622 Check for flex version and omit mutex if we have a MT save flex
13625 2006-07-21 Wim Taymans <wim@fluendo.com>
13627 * gst/gstparse.c: (gst_parse_launch):
13628 Protect recursive calls to _parse with a recursive mutex
13631 2006-07-21 Wim Taymans <wim@fluendo.com>
13633 * tests/check/gst/gstpad.c: (GST_START_TEST):
13636 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13638 * gst/gstparse.c: (gst_parse_launch):
13639 Do not hang on recursive usage of gst_parse_launch()
13641 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13643 * gst/gsttaglist.c:
13644 Add some more docs, comments and FIXME 0.11s here and there
13645 and also fix some typos.
13647 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13649 * gst/gstsegment.h:
13650 Convert tabs to spaces for better readability.
13652 2006-07-20 Edward Hervey <edward@fluendo.com>
13654 * tests/check/libs/gdp.c: (gst_dp_suite):
13655 the test_buffer test fails at line 140 on ppc64 at the following
13657 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13658 GST_BUFFER_FLAG_IN_CAPS),
13659 "GST_BUFFER_IN_CAPS flag should have been copied !");
13660 See bug #348114 for more details.
13662 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13664 * docs/pwg/advanced-scheduling.xml:
13666 Fix typos (#348000).
13668 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13670 * docs/pwg/intro-basics.xml:
13671 Fix wrong links (#347927).
13673 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13675 * gst/gstregistry.h:
13676 * gst/gstregistryxml.c: (load_feature),
13677 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13678 * win32/common/config.h:
13679 make --disable-index work (#342564)
13681 2006-07-18 Wim Taymans <wim@fluendo.com>
13683 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13687 The attached patch adds two missing defines to gsttrace.h when tracing
13688 is disabled. It also corrects one existing define.
13691 2006-07-17 Wim Taymans <wim@fluendo.com>
13693 * docs/gst/gstreamer-sections.txt:
13694 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13696 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13697 Add two functions to check and change the SIGSEGV behaviour
13698 when loading plugins.
13699 Don't mess with the SIGSEGV handler when we were told not to.
13701 API: gst_segtrap_is_enabled
13702 API: gst_segtrap_set_enabled
13704 2006-07-14 Wim Taymans <wim@fluendo.com>
13706 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13707 * tests/check/elements/filesrc.c: (GST_START_TEST):
13708 Revert fix for regression in #347408 after release.
13710 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13712 Patch by: Antoine Tremblay <hexa00 at gmail com>
13714 * gst/gstutils.c: (gst_element_unlink):
13715 Free iterator when done (#347311).
13717 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13718 And add a test case for this.
13720 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13723 Bump nano back to CVS
13725 === release 0.10.9 ===
13727 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13730 releasing 0.10.9, "On the road again"
13732 2006-07-13 Wim Taymans <wim@fluendo.com>
13734 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13735 * tests/check/elements/filesrc.c: (GST_START_TEST):
13736 Revert pull-0 fix for release. Disable check. Fixes #347408.
13738 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13740 * libs/gst/dataprotocol/dataprotocol.c:
13741 (gst_dp_event_from_packet_1_0):
13742 Fixes #347337: failure to deserialize event packets with
13743 empty payload (only event type)
13745 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13748 do not install a .c file in the header directory
13750 2006-07-13 Edward Hervey <edward@fluendo.com>
13752 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13753 GhostPad no longer implicitely use the padtemplates of the targets.
13756 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13758 * gst/gstvalue.c: (gst_value_compare_list),
13759 (gst_value_compare_array), (_gst_value_initialize):
13760 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13761 Make GstValueArray comparison be order dependent as designed.
13762 Add checks for value lists and value array comparisons.
13765 2006-07-11 Edward Hervey <edward@fluendo.com>
13767 * gst/gstbin.c: (activate_pads),
13768 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13769 (gst_bin_change_state_func):
13770 (de)activate src pads before calling state_change on the childs.
13771 This is to avoid the case where a src ghostpad is blocked (holding the
13772 stream lock), which would block the deactivation of the ghostpad's
13774 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13775 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13776 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13777 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13778 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13779 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13780 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13781 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13782 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13783 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13784 (gst_ghost_pad_class_init),
13785 (gst_ghost_pad_internal_do_activate_push),
13786 (gst_ghost_pad_internal_do_activate_pull),
13787 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13788 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13789 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13790 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13791 GhostPads now create their internal GstProxyPad at creation (and not
13792 when they're linked, as it was being done previously).
13793 The internal and target pads are linked straight away.
13794 The data will also travel through the other pad in order to make
13795 pad blocking and probes non-hackish (the probe/block now really happens
13796 on the GhostPad and not on the target).
13797 * gst/gstpad.c: (gst_pad_set_blocked_async),
13798 (gst_pad_link_prepare), (gst_pad_push_event):
13799 Remove previous ghostpad cruft.
13800 * gst/gstutils.c: (gst_pad_add_data_probe),
13801 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13802 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13803 (gst_pad_remove_buffer_probe):
13804 Remove previous ghost pad cruft.
13805 Added more detailed debug statements.
13806 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13807 Fix the testsuite for refcounting changes.
13808 The comments about who has references were correct, but the refcount
13809 being checked wasn't the same (!?!).
13813 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13815 * docs/gst/gstreamer-sections.txt:
13816 * gst/gstconfig.h.in:
13817 More docs for configuration options, add docs to gtk-doc.
13819 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13822 * gst/gstconfig.h.in:
13823 * win32/common/config.h:
13824 Fix build when disabling tracing (fixes #344016). Also start to document
13825 the defines that disable the sub-systems.
13827 2006-07-10 Edward Hervey <edward@fluendo.com>
13829 * gst/gst.c: (ensure_current_registry_forking):
13830 let's make valgrind happy...
13832 2006-07-09 Wim Taymans <wim@fluendo.com>
13834 * gst/gstelement.c: (activate_pads),
13835 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13836 Better pad activation code: Reset the collect value too on resync.
13839 2006-07-09 Wim Taymans <wim@fluendo.com>
13841 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13842 (gst_pad_activate_push):
13843 Use some more macros where it makes sense.
13844 Allow pad mode switching instead of asserting. When a pad
13845 is activated in one mode and we activate it in another,
13846 deactivate it first before activating it in a different mode.
13849 2006-07-08 Andy Wingo <wingo@pobox.com>
13851 * tools/gst-launch.c (main): Handle err == NULL.
13853 * gst/gst.c (init_post, ensure_current_registry)
13854 (ensure_current_registry_forking)
13855 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13856 factoring out the registry scanning into separate functions. Don't
13857 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13858 Better environment var name/interface suggestions accepted.
13860 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13862 * gst/gstobject.c: (gst_object_set_name_default),
13863 (gst_object_set_name):
13864 Random micro-optimisation: don't use a hash table
13865 with strings as keys and the usual strdup/strcmp
13866 involved, but rather just use the GQuark of the
13867 type name as key, since it needs to be looked up
13868 anyway to get the type name string.
13870 * tests/check/gst/gstobject.c: (GST_START_TEST):
13873 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13875 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13876 (gst_bin_iterate_all_by_interface):
13877 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13878 GTypes are gulongs and thus the top 4 bytes might be cut
13879 off on some platforms when doing GPOINTER_TO_INT, leading
13880 to invalid GTypes and bad things happening (see RH bug #179654).
13881 Also add a check to make sure the type passed in is really
13884 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13889 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13893 * gst-element-check.m4:
13894 * gst-element-check.m4.in:
13895 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13896 instead of the unversioned gst-inspect (#324176, #168659).
13898 2006-07-06 Wim Taymans <wim@fluendo.com>
13900 * gst/gstmessage.h:
13901 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13904 2006-07-06 Wim Taymans <wim@fluendo.com>
13906 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13907 (gst_base_src_wait), (gst_base_src_update_length),
13908 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13909 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13910 (gst_base_src_loop), (gst_base_src_start),
13911 (gst_base_src_activate_pull):
13913 blocksize == 0 now means the default blocksize when working in push
13915 Remove some pointless asserts in _wait function.
13916 Fix offset/length calculations and EOS handling. We can now pull 0
13917 bytes as well, which is allowed.
13918 use _check_get_range() to decide if we can operate in _pull based
13920 Fix refcounting leak when check_get_range function was not
13922 API GstBaseSrc::blocksize range can be 0 too now (default)
13924 * tests/check/elements/filesrc.c: (GST_START_TEST),
13926 Added check to test _get_range() behaviour.
13928 2006-07-06 Wim Taymans <wim@fluendo.com>
13930 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13931 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13932 (gst_pad_pull_range):
13934 Lots of comments and docs added to the pad functions.
13935 Flesh out the expected behaviour of the get_range() functions.
13937 2006-07-06 Wim Taymans <wim@fluendo.com>
13942 * gst/gstiterator.h:
13946 Remove comma at end of enumerator list.
13948 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13950 * win32/common/libgstbase.def:
13951 * win32/common/libgstdataprotocol.def:
13952 * win32/common/libsgtreamer.def:
13953 Add new exported functions.
13955 2006-07-05 Wim Taymans <wim@fluendo.com>
13957 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13958 Add some more docs here and there.
13960 2006-07-05 Wim Taymans <wim@fluendo.com>
13962 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13963 (gst_base_sink_loop), (gst_base_sink_get_position):
13964 When operating in pull mode update the offset so that we
13967 2006-07-05 Wim Taymans <wim@fluendo.com>
13969 * gst/gstregistryxml.c: (read_string):
13970 Avoid strdup. (will happen in libxml, but hey!)
13973 Add some more docs.
13975 2006-07-05 Wim Taymans <wim@fluendo.com>
13977 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13978 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13979 (gst_buffer_suite):
13980 No point in checking if the size of the subbuffer > 0, the
13981 code handles it correclty as demonstrated by unit test.
13982 Also add a unit test for the zero sized _new_and_alloc and
13983 _copy. Fixes #346663.
13985 2006-07-05 Wim Taymans <wim@fluendo.com>
13987 * libs/gst/base/gstbasetransform.c:
13988 (gst_base_transform_prepare_output_buffer),
13989 (gst_base_transform_buffer_alloc),
13990 (gst_base_transform_handle_buffer):
13991 Make sure the buffer we pass to transform_ip has a refcount of
13992 1 and thus is writable. Fixes #343196
13994 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13996 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13997 (gst_file_src_init), (gst_file_src_set_property),
13998 (gst_file_src_get_property), (gst_file_src_map_region):
13999 * plugins/elements/gstfilesrc.h:
14000 Add "sequential" property, off by default, to use madvise and hint
14001 to the kernel that sequential access is desired.
14002 Touch all retrieved pages by default to ensure they are pulled
14003 into memory. (Closes #345720)
14005 2006-07-03 Wim Taymans <wim@fluendo.com>
14007 * docs/design/part-block.txt:
14008 * docs/design/part-dynamic.txt:
14009 Small docs updates.
14011 2006-07-03 Wim Taymans <wim@fluendo.com>
14013 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14014 (gst_caps_unref), (gst_static_caps_get),
14015 (gst_caps_append_structure):
14016 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14017 Use GSlice when the glib we build against is >= 2.10
14019 2006-07-03 Wim Taymans <wim@fluendo.com>
14021 * gst/gstelement.c: (gst_element_pads_activate):
14022 Small cleanup in pad activation code.
14024 2006-07-03 Wim Taymans <wim@fluendo.com>
14026 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14028 * gst/gst-i18n-app.h:
14029 * gst/gst-i18n-lib.h:
14030 * tools/gst-inspect.c: (print_signal_info):
14031 The attached patch will make the inclusion of gettext.h unconditional in
14032 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14033 libintl.h in tools/gst-inspect.c.
14034 This allows use of --disable-nls again and fixes #344642.
14036 2006-07-03 Edward Hervey <edward@fluendo.com>
14038 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14039 Implement pad blocking on events according to part-block.txt.
14040 More comments on behaviour.
14041 * tests/check/gst/gstevent.c: (test_event):
14042 Send event to peer pad of blocked pad (else it will block).
14044 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14046 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14047 (gst_check_run_suite):
14048 if we get the wrong message, give us the types as string
14049 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14051 * tests/check/elements/filesrc.c: (GST_START_TEST):
14052 add a test for trying to open a non-existing file
14054 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14056 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14057 add a test for adding self
14059 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14061 * libs/gst/check/gstcheck.h:
14062 add some assert_ as alias for fail_unless_*
14063 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14064 increase test coverage
14066 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14069 include lcov.mak for lcov coverage generation
14070 * tools/Makefile.am:
14073 2006-07-02 Edward Hervey <edward@fluendo.com>
14075 * tests/check/elements/.cvsignore:
14078 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14081 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14082 * tests/check/Makefile.am:
14083 clean up gcov files
14085 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14087 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14088 remove gst_caps_simplify; it was not declared and not used
14089 and deprecated in 0.8
14091 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14093 * docs/faq/gst-uninstalled:
14094 don't put empty paths on PYTHONPATH
14095 * docs/gst/gstreamer-sections.txt:
14096 remove some symbols that are not there
14098 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14100 * gst/gstcaps.c: (gst_caps_compare_structures):
14102 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14103 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14106 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14108 * libs/gst/dataprotocol/Makefile.am:
14109 build dataprotocol test by linking to the lib, instead of
14110 compiling the source, so we get coverage
14111 * tests/check/Makefile.am:
14112 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14113 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14114 add a test for filesrc
14116 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14118 * tests/check/gst/gststructure.c: (GST_START_TEST),
14119 (gst_structure_suite):
14120 Push coverage from 59.04% to 70.00%
14122 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14124 * tests/check/Makefile.am:
14125 gst-inspect every element; this makes sure that we also get
14126 coverage on element's get/set functions
14128 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14131 set CFLAGS and friends to -O0 if gcov is being used
14134 * libs/gst/base/Makefile.am:
14135 * libs/gst/check/Makefile.am:
14136 * libs/gst/controller/Makefile.am:
14137 * libs/gst/dataprotocol/Makefile.am:
14138 * libs/gst/net/Makefile.am:
14139 * plugins/elements/Makefile.am:
14140 * plugins/indexers/Makefile.am:
14141 add makefile rules to generate gcov data and clean up
14142 * tests/check/Makefile.am:
14143 add a coverage target that generates an html overview
14146 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14148 * tests/check/elements/fakesink.c:
14149 * tests/check/elements/fakesrc.c:
14150 * tests/check/elements/fdsrc.c:
14151 * tests/check/elements/identity.c:
14152 * tests/check/generic/sinks.c: (gst_sinks_suite):
14153 * tests/check/generic/states.c:
14154 * tests/check/gst/gst.c:
14155 * tests/check/gst/gstabi.c:
14156 * tests/check/gst/gstbin.c:
14157 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14158 * tests/check/gst/gstbus.c: (gst_bus_suite):
14159 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14160 * tests/check/gst/gstelement.c:
14161 * tests/check/gst/gstevent.c: (gst_event_suite):
14162 * tests/check/gst/gstghostpad.c:
14163 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14164 * tests/check/gst/gstmessage.c: (gst_message_suite):
14165 * tests/check/gst/gstminiobject.c:
14166 * tests/check/gst/gstobject.c:
14167 * tests/check/gst/gstpad.c:
14168 * tests/check/gst/gstpipeline.c:
14169 * tests/check/gst/gstplugin.c:
14170 * tests/check/gst/gstquery.c: (gst_query_suite):
14171 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14172 * tests/check/gst/gststructure.c:
14173 * tests/check/gst/gstsystemclock.c:
14174 * tests/check/gst/gsttag.c:
14175 * tests/check/gst/gsttask.c: (gst_task_suite):
14176 * tests/check/gst/gstutils.c:
14177 * tests/check/gst/gstvalue.c:
14178 * tests/check/libs/adapter.c:
14179 * tests/check/libs/basesrc.c:
14180 * tests/check/libs/collectpads.c:
14181 * tests/check/libs/controller.c:
14182 * tests/check/libs/gdp.c: (gst_dp_suite):
14183 * tests/check/libs/gstnetclientclock.c:
14184 * tests/check/libs/gstnettimeprovider.c:
14185 * tests/check/libs/libsabi.c: (libsabi_suite):
14186 * tests/check/libs/typefindhelper.c:
14187 * tests/check/pipelines/cleanup.c:
14188 * tests/check/pipelines/parse-launch.c:
14189 * tests/check/pipelines/simple-launch-lines.c:
14190 * tests/check/pipelines/stress.c: (stress_suite):
14193 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14195 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14196 * libs/gst/check/gstcheck.h:
14197 create a macro and function so that the simple unit test
14198 case can be just one macro to create main()
14200 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14202 * gst/gstbin.c: (gst_bin_restore_thyself):
14203 * gst/gstxml.c: (gst_xml_make_element):
14204 Fix deserialisation from XML. Set parent manually
14205 instead of using gst_bin_add(), since gst_bin_add()
14206 will unlink all pads of the element being added.
14209 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14211 Patch by: Peter Kjellerstedt <pkj at axis com>
14213 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14214 Fix missing g_strdup() and double free when using the
14215 --gst-plugin-load command line option (#346097).
14217 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14220 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14222 * libs/gst/net/gstnetclientclock.c:
14223 * libs/gst/net/gstnettimeprovider.c:
14224 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14226 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14228 * docs/manual/advanced-dataaccess.xml:
14229 Fix buffer probe example compilation in
14232 2006-06-22 Edward Hervey <edward@fluendo.com>
14234 * gst/gstelement.c: (gst_element_pads_activate):
14235 We need to deactivate src pads first and then sink pads.
14236 The reason is the src pads might be blocking while holding the streaming
14237 lock, so we need to deactivate them first so that deactivating the sink
14238 pads doesn't block (since it will require the streaming lock).
14240 2006-06-22 Wim Taymans <wim@fluendo.com>
14242 * libs/gst/base/gstbasetransform.c:
14243 (gst_base_transform_buffer_alloc):
14244 Forgot to remove two unneeded unrefs.
14245 Simplify a check _is_equal allready checks the obvious case.
14247 2006-06-22 Wim Taymans <wim@fluendo.com>
14249 * docs/design/part-block.txt:
14250 Some docs about what pad_block should do.
14252 2006-06-22 Wim Taymans <wim@fluendo.com>
14254 * gst/gstcaps.c: (gst_caps_replace):
14255 Fix crasher when passed NULL. Doc clarification.
14256 Optimize for the trivial case.
14258 * gst/gstpipeline.c: (gst_pipeline_change_state):
14261 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14262 Small documentation cleanup.
14264 * libs/gst/base/gstbasetransform.c:
14265 (gst_base_transform_buffer_alloc):
14266 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14267 is what we need and it avoids a whole lot of redundant
14268 refcount operations.
14270 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14272 Patch by: Philip Jägenstedt <philip at lysator liu se>
14274 * docs/manual/advanced-dataaccess.xml:
14275 Fix 'Embedding static elements' section to use
14276 GST_PLUGIN_DEFINE_STATIC (#345607).
14278 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14280 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14281 Attempt to 'fix' spuriously failing test case: it seems like the
14282 timeout of half a second is simply too small when the system is under
14283 load otherwise, and the timeout doesn't really seem to serve any
14284 particular purpose here. Give the pipeline a few seconds to preroll
14285 first, and then give it another half a second to go from PAUSED to
14286 PLAYING and marshal the message into the main thread.
14288 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14290 * tools/gst-feedback-m.m:
14291 Don't only use unversioned tools, try versioned tools as well
14294 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14296 * gst/gstbus.c: (gst_bus_class_init):
14297 Fix some typos, make docs more explicit.
14299 2006-06-20 Wim Taymans <wim@fluendo.com>
14301 * tests/check/gst/gstghostpad.c: (block_callback),
14302 (GST_START_TEST), (gst_ghost_pad_suite):
14303 Added some more ghostpad tests, mainly blocking
14306 2006-06-16 Wim Taymans <wim@fluendo.com>
14308 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14309 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14310 (gst_file_sink_event), (gst_file_sink_render):
14311 * plugins/elements/gstfilesink.h:
14312 Check if we can seek in the file instead of assuming
14313 we always can. Post an error when we are asked to seek in a
14314 non-seekable file (like a fifo). Fixes #343312.
14317 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14319 * tools/gst-launch.1.in:
14320 Un-garble (fourcc) bit in filtered caps section.
14322 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14324 * docs/manual/advanced-autoplugging.xml:
14325 * docs/manual/basics-helloworld.xml:
14326 * docs/manual/highlevel-components.xml:
14327 Don't leak bus reference in sample code.
14329 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14332 Add default for new --enable-plugin-docs switch.
14335 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14338 * docs/Makefile.am:
14339 Use new ENABLE_PLUGIN_DOCS conditional.
14341 2006-06-14 Wim Taymans <wim@fluendo.com>
14343 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14344 Make it clear with a FIXME and a real define what the #if 0
14345 previously disabled.
14347 2006-06-14 Wim Taymans <wim@fluendo.com>
14349 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14350 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14351 * libs/gst/base/gstbasetransform.c:
14352 (gst_base_transform_sink_eventfunc):
14353 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14354 Don't randomly and silently reset a segment when the format
14355 changes as this is a bug somewhere upstream. Fixes #330379.
14357 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14359 Patch by: Wouter Paesen <wouter at kangaroot net>
14361 * libs/gst/controller/gstcontroller.c:
14362 (gst_controlled_property_new):
14363 Fix controlling of float properties (#344849).
14365 * tests/check/libs/controller.c:
14366 (gst_test_mono_source_get_property),
14367 (gst_test_mono_source_set_property),
14368 (gst_test_mono_source_class_init), (GST_START_TEST):
14369 While we're at it, add some float stuff to unit test.
14371 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14374 * docs/images/gdp-header.svg:
14376 * docs/libs/Makefile.am:
14377 * docs/libs/gdp-header.png:
14378 * libs/gst/dataprotocol/dataprotocol.c:
14379 add it to the API docs
14380 * docs/manual/intro-motivation.xml:
14383 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14385 * gst/gst.c: (scan_and_update_registry), (init_post):
14386 If the fork()'ed child process can't write the updated registry cache
14387 file to disk for some reason, make it exit with a failure exit code,
14388 so that the parent can then re-scan the plugins itself and update the
14389 registry structures in memory and work with that (rather than failing
14390 when creating elements because seemingly no plugins are available).
14391 Refactor registry scanning code into separate function for this and
14392 also separate fork() and non-fork() code paths. Fixes #344748.
14394 2006-06-13 Wim Taymans <wim@fluendo.com>
14396 * docs/manual/advanced-dataaccess.xml:
14397 Fix wrong PluginDesc. Fixes #344755.
14399 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14401 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14402 Fix silly bug that prevented us from creating
14403 ~/.gstreamer-0.10 and writing the registry in one
14404 go (the first call to g_mkstemp() would overwrite the
14405 placeholder in the template string, so the second call
14406 to g_mkstemp() after creating the missing directory
14407 would then error out with 'invalid argument').
14409 2006-06-13 Edward Hervey <edward@fluendo.com>
14411 * gst/gst.c: (init_post):
14414 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14416 * gst/glib-compat-private.h:
14417 * gst/glib-compat.c:
14418 * gst/glib-compat.h:
14419 * gst/gstvalue.c: (gst_value_serialize_flags):
14420 remove GLib 2.6 compatibility code
14422 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14424 * gst/parse/Makefile.am:
14425 Fix build with 'make -j N' even more (#340016).
14427 2006-06-12 Wim Taymans <wim@fluendo.com>
14429 * docs/gst/gstreamer-sections.txt:
14432 2006-06-12 Wim Taymans <wim@fluendo.com>
14434 * gst/gstsegment.c: (gst_segment_set_duration),
14435 (gst_segment_set_last_stop), (gst_segment_set_seek),
14436 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14437 (gst_segment_to_running_time), (gst_segment_clip):
14438 Use G_UNLIKELY to help the compiler a bit.
14440 2006-06-12 Wim Taymans <wim@fluendo.com>
14442 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14444 * gst/gstevent.c: (gst_event_get_type):
14445 * gst/gstmessage.c:
14446 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14448 constify quark registration strings. Fixes #344115
14449 Avoid unneeded type checking is _pad_push() by internally
14450 calling gst_pad_chain_unchecked().
14452 2006-06-12 Wim Taymans <wim@fluendo.com>
14454 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14455 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14456 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14457 (gst_buffer_is_span_fast), (gst_buffer_span):
14458 Init _type for consistency.
14459 Use _FLAGS macro to avoid type check.
14460 Avoid unneeded type checks in subbufer code.
14462 2006-06-12 Wim Taymans <wim@fluendo.com>
14464 * gst/gst.c: (gst_debug_help):
14465 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14466 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14467 (gst_plugin_feature_list_free):
14468 * gst/gstregistry.c: (gst_registry_add_plugin),
14469 (gst_registry_add_feature), (gst_registry_plugin_filter),
14470 (gst_registry_feature_filter), (gst_registry_find_plugin),
14471 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14472 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14473 * gst/gstregistryxml.c: (load_feature),
14474 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14475 * gst/gstminiobject.c: (gst_mini_object_unref),
14476 (gst_mini_object_replace), (gst_value_mini_object_free),
14477 (gst_value_mini_object_copy):
14478 Use _CAST macros to avoid unneeded type checking.
14479 Added some more G_UNLIKELY.
14481 2006-06-12 Wim Taymans <wim@fluendo.com>
14484 Avoid unneeded type checking.
14485 API: GST_BUFFER_IS_DISCONT
14487 * gst/gstminiobject.h:
14488 Avoid type check in flag accessor.
14490 * gst/gstelementfactory.h:
14492 * gst/gstpluginfeature.h:
14494 API: GST_ELEMENT_FACTORY_CAST
14495 API: GST_PLUGIN_CAST
14496 API: GST_PLUGIN_FEATURE_CAST
14498 2006-06-12 Wim Taymans <wim@fluendo.com>
14500 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14501 (gst_object_unref):
14502 Add G_UNLIKELY in type registration.
14503 Avoid type check in _ref/_unref since that is also
14506 2006-06-12 Wim Taymans <wim@fluendo.com>
14508 * gst/gsterror.c: (gst_g_error_get_type):
14509 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14510 (gst_static_pad_template_get_type):
14511 * gst/gsttaglist.c: (gst_tag_list_get_type):
14512 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14513 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14514 * gst/gsturi.c: (gst_uri_handler_get_type):
14515 * gst/gstvalue.c: (gst_date_get_type):
14516 * gst/gstxml.c: (gst_xml_get_type):
14517 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14518 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14519 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14520 Add G_UNLIKELY in type registration.
14522 2006-06-12 Wim Taymans <wim@fluendo.com>
14524 * tools/gst-inspect.c: (print_signal_info):
14525 Properly print enum values.
14527 2006-06-12 Wim Taymans <wim@fluendo.com>
14529 * gst/gstinfo.c: (gst_debug_set_active),
14530 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14532 Add some G_[UN]LIKELY.
14533 Maintain __gst_debug_min to avoid formatting the arguments of
14534 debug messages that will be dropped anyway to avoid a lot of
14535 overhead from the debugging system.
14537 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14540 * po/POTFILES.skip:
14541 add missing files containing translatable strings, tell intltool about
14544 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14546 * tests/check/libs/.cvsignore:
14547 add test-binary to ignore list
14549 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14551 * docs/libs/gstreamer-libs-docs.sgml:
14552 reorder (put dp into a chapter) and indent
14554 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14559 === release 0.10.8 ===
14561 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14564 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14566 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14568 * gst/gst.c: (init_post):
14569 move pid declaration to declaration block
14571 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14573 * gst/gst.c: (init_post):
14574 use _exit() instead of exit() in our forked child; this ensures
14575 that none of the registered exit handlers from whatever is using
14576 GStreamer get executed. This fixes gnome-mixer-applet failing
14577 to load, because ORBit would shut down.
14578 Spotted by: Edward Hervey <edward@fluendo.com>
14579 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14582 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14587 === release 0.10.7 ===
14589 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14592 releasing 0.10.7, "Soepeke, ik zie ou"
14594 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14617 * win32/common/config.h:
14618 0.10.6.2 prerelease
14620 2006-06-07 Wim Taymans <wim@fluendo.com>
14622 * gst/gstindex.c: (gst_index_gtype_resolver):
14623 * tools/gst-xmlinspect.c: (print_plugin_info):
14624 Fix leak spotted by coverity checker. Fixes #343827
14625 Fix another other leak found by paolo borelli.
14627 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14629 * libs/gst/dataprotocol/dataprotocol.c:
14630 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14631 (gst_dp_version_get_type), (gst_dp_init),
14632 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14633 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14634 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14635 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14636 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14637 (gst_dp_packetizer_free):
14638 * libs/gst/dataprotocol/dataprotocol.h:
14639 API: add a GstDPPacketizer object, and create/free functions
14640 API: add GstDPVersion enum
14641 Add 1.0 event function that uses the string serialization
14642 Serialize more useful buffer flags
14645 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14647 * tests/check/Makefile.am:
14648 * tests/check/gst/gstabi.c:
14649 * tests/check/gst/struct_ppc64.h:
14650 * tests/check/libs/libsabi.c:
14651 * tests/check/libs/struct_ppc64.h:
14652 add ppc64 structure sizes
14654 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14656 * tests/check/Makefile.am:
14657 * tests/check/gst/gstabi.c:
14658 * tests/check/gst/struct_x86_64.h:
14659 * tests/check/libs/libsabi.c:
14660 * tests/check/libs/struct_x86_64.h:
14661 generate and add structure size lists for x86_64
14663 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14665 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14666 * libs/gst/check/gstcheck.h:
14667 factor out the method from tests that checks size of structures,
14668 and add code to generate the header containing these sizes
14669 * tests/check/gst/gstabi.c: (GST_START_TEST):
14670 * tests/check/gst/struct_i386.h:
14671 * tests/check/libs/libsabi.c: (GST_START_TEST):
14672 * tests/check/libs/struct_i386.h:
14675 2006-06-06 Michael Smith <msmith@fluendo.com>
14677 * gst/gstsegment.h:
14678 Don't use c++-style comments, fixes #343929
14680 2006-06-05 Edward Hervey <edward@fluendo.com>
14683 plugin_paths is not used if we build without registry support.
14685 * gst/gstsegment.c: (gst_segment_copy):
14686 _copy() was always returning NULL...
14688 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14690 * libs/gst/dataprotocol/dataprotocol.c:
14691 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14692 (gst_dp_packet_from_event):
14693 factor out CRC code
14695 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14697 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14698 make sure we unset caps
14700 2006-06-02 Michael Smith <msmith@fluendo.com>
14702 * libs/gst/check/gstcheck.c: (gst_check_init),
14703 (gst_check_chain_func):
14704 * libs/gst/check/gstcheck.h:
14705 Add a cond/mutex to the check support lib, signal this whenever we
14706 add to the buffers list. This will allow tests to not busy-wait on
14709 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14711 * libs/gst/dataprotocol/dataprotocol.c:
14712 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14713 (gst_dp_packet_from_event):
14714 factor out some common header init code
14716 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14718 * docs/libs/gstreamer-libs-sections.txt:
14719 * docs/libs/tmpl/gstdataprotocol.sgml:
14720 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14721 * libs/gst/dataprotocol/dataprotocol.h:
14722 API: make gst_dp_crc() public
14724 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14726 * plugins/indexers/gstindexers.c: (plugin_init):
14727 conditionally register fileindexer (fixes #343598)
14729 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14731 * gst/gsttagsetter.h:
14732 Can't cast ifaces to a class
14734 * libs/gst/net/gstnetclientclock.h:
14735 * libs/gst/net/gstnettimeprovider.h:
14736 * plugins/elements/gstfakesink.h:
14737 * plugins/elements/gstfakesrc.h:
14738 * plugins/elements/gstfdsink.h:
14739 * plugins/elements/gstfdsrc.h:
14740 * plugins/elements/gstfilesink.h:
14741 * plugins/elements/gstfilesrc.h:
14742 * plugins/elements/gstidentity.h:
14743 * plugins/elements/gstqueue.h:
14744 * plugins/elements/gsttee.h:
14745 * plugins/indexers/gstfileindex.c:
14746 * plugins/indexers/gstmemindex.c:
14747 * tests/old/examples/plugins/example.h:
14748 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14750 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14752 * libs/gst/dataprotocol/dataprotocol.c:
14753 (gst_dp_header_from_buffer):
14754 make sure we zero the whole ABI-compatible area
14756 2006-06-01 Wim Taymans <wim@fluendo.com>
14758 Patch by: Alessandro Decina <alessandro at nnva dot org>
14760 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14761 Make sure the EOS flag is cleared from pads after a flush
14762 or stop. Fixes #343538.
14764 * tests/check/libs/collectpads.c: (GST_START_TEST),
14765 (gst_collect_pads_suite):
14766 Added test for collectpads reusage after EOS.
14768 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14771 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14772 * win32/common/libgstbase.def:
14773 export gst_collect_pads_set_flushing
14774 * win32/common/libgstreamer.def:
14775 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14776 gst_value_fraction_multiply
14777 * win32/vs6/gst_inspect.dsp:
14778 add a link to intl.lib
14780 2006-05-30 Wim Taymans <wim@fluendo.com>
14782 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14783 (gst_collect_pads_chain):
14784 Handle the case where a pad is removed from the collection
14785 that could cause the other pads to become collectable.
14787 2006-05-30 Wim Taymans <wim@fluendo.com>
14789 * gst/gstelement.c:
14790 Clarify the use of _release_request_pad() and
14791 _get_request_pad() a bit better.
14793 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14794 (gst_adapter_take_buffer):
14795 Fix some doc and comment typos.
14797 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14799 * docs/gst/gstreamer-sections.txt:
14800 * docs/libs/gstreamer-libs-sections.txt:
14801 add declared symbols
14803 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14805 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14806 Add debug that can be enabled using a #define at the top of the file,
14807 for dumping stats about how late/early we were when waking up from
14808 waiting on the clock.
14810 2006-05-30 Wim Taymans <wim@fluendo.com>
14812 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14813 When rebuilding the pad list, don't leak the previous list.
14815 2006-05-30 Wim Taymans <wim@fluendo.com>
14817 Patch by: Lutz Mueller <lutz at topfrose dot de>
14819 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14820 (gst_base_src_get_query_types), (gst_base_src_update_length):
14821 Publish supported query types.
14822 Update last_stop field in get_range mode so the position
14823 query works. Fixes #342321.
14825 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14827 * docs/gst/gstreamer-sections.txt:
14828 * gst/gsttaglist.c: (_gst_tag_initialize):
14829 * gst/gsttaglist.h:
14830 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14832 2006-05-30 Wim Taymans <wim@fluendo.com>
14834 Patch by: Alessandro Decina <alessandro at nnva dot org>
14836 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14837 Unlock mutex when removing an unknown pad.
14840 * tests/check/Makefile.am:
14841 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14842 (push_event), (setup), (teardown), (GST_START_TEST),
14843 (gst_collect_pads_suite), (main):
14844 Added collecpads check, disabled for now as check crashes for
14847 2006-05-29 Wim Taymans <wim@fluendo.com>
14849 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14850 Don't leak pads lists.
14852 2006-05-29 Wim Taymans <wim@fluendo.com>
14854 * docs/libs/gstreamer-libs-sections.txt:
14855 * libs/gst/base/gstcollectpads.c:
14856 (gst_collect_pads_set_flushing_unlocked),
14857 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14858 (gst_collect_pads_stop):
14859 * libs/gst/base/gstcollectpads.h:
14860 API: gst_collect_pads_set_flushing()
14861 Added api to set the pads to flushing, useful for seeking
14862 code in elements using collectpads.
14863 Clear segment when receiving a flush.
14865 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14867 * gst/gst.c: (add_path_func), (init_post):
14868 Don't scan registry paths passed via --gst-plugin-path immediately
14869 (will crash, because absolutely nothing is set up and no types are
14870 registered etc.); do this later in init_post(). Fixes #343057.
14872 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14874 * gst/gst.c: (init_post):
14875 if we have fork, fork while reading/rebuilding the registry
14876 so the parent doesn't take the hit of having all plugins loaded
14877 in memory. Fixes #342777.
14879 Check if we have fork()
14880 * win32/common/config.h.in:
14883 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14885 * plugins/elements/gstelements.c:
14886 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14887 (gst_file_src_init), (gst_file_src_set_property),
14888 (gst_file_src_get_property), (gst_file_src_start):
14889 * plugins/elements/gstfilesrc.h:
14890 API: GstFileSrc::use-mmap
14892 Add a use-mmap property to enable easier testing of all code paths.
14893 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14894 in the absence of gnomevfssrc. (Closes #340501)
14896 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14898 * tools/gst-inspect.c:
14899 Add missing include, removes warning of ngettext not being defined on
14902 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14904 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14905 Handle NULL input and output pointers silently as a failed conversion,
14906 rather than g_warnings.
14908 2006-05-25 Wim Taymans <wim@fluendo.com>
14910 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14911 Initialize variable before using. Fixes #342820.
14913 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14915 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14916 Fix off-by-one bug that would only allow peeks of N-1 bytes
14917 from the start even if the buffer to typefind on contains
14918 in fact N bytes of data (makes vorbis typefinding from a
14919 vorbis identification header buffer work).
14921 * tests/check/Makefile.am:
14922 * tests/check/libs/.cvsignore:
14923 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14924 (gst_typefindhelper_suite), (main), (foobar_typefind),
14926 Add very basic unit test for gst_type_find_helper_for_buffer()
14927 that checks for the problem fixed above.
14929 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14931 * tools/gst-inspect.c: (print_interfaces),
14932 (print_element_properties_info), (print_element_list), (main):
14933 add more translatable strings
14935 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14937 Patch by: Julien Moutte <julien at moutte net>
14939 * docs/gst/gstreamer-sections.txt:
14940 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14942 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14943 (gst_fake_sink_preroll):
14944 * plugins/elements/gstfakesink.h:
14945 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14947 2006-05-23 Wim Taymans <wim@fluendo.com>
14949 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14951 Added _CUSTOM error and success GstFlowReturn that can be
14952 used be elements internally.
14953 Added macro to check for SUCCESS flowreturns.
14954 API: GST_FLOW_CUSTOM_SUCCESS
14955 API: GST_FLOW_CUSTOM_ERROR
14956 API: GST_FLOW_IS_SUCCESS
14958 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14959 Added check for GstFlowReturn sanity.
14961 2006-05-23 Wim Taymans <wim@fluendo.com>
14963 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14966 (gst_collect_pads_event):
14967 clear/reset segment info in FLUSH_STOP.
14970 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14972 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14973 (gst_collect_pads_check_collected):
14974 Flush queued buffer on _stop(), fixes playing again (#342454)
14976 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14978 * tests/check/gst/gststructure.c: (GST_START_TEST),
14979 (gst_structure_suite):
14980 add a test for a complete structure
14982 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14984 * docs/faq/developing.xml:
14985 * docs/faq/faq.xml:
14986 * docs/faq/troubleshooting.xml:
14987 * docs/faq/using.xml:
14988 Some minor FAQ updates that won't change the fact that
14989 our FAQ is badly structured, full of information hardly
14990 anyone new to GStreamer needs to know and lacking lots
14991 of information people constantly ask for.
14993 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14995 * gst/gstpad.c: (gst_pad_set_caps):
14996 Short-circuit gst_pad_set_caps if setting the existing
14997 caps pointer again, and avoid printing debug and
14998 reffing/unreffing the caps.
15000 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15001 There's actually no need to set the caps before pushing -
15002 the acceptcaps method will handle it anyway.
15004 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15006 * docs/gst/gstreamer-sections.txt:
15007 * win32/common/libgstreamer.def:
15008 * gst/gstutils.c: (gst_element_seek_simple):
15010 API: add gst_element_seek_simple() (#342238).
15012 2006-05-18 Edward Hervey <edward@fluendo.com>
15014 * gst/gsttypefind.c: (gst_type_find_get_type):
15015 * gst/gsttypefind.h:
15016 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15017 registered for GstTypeFind pointers. This allows wrapping the structure
15018 in bindings (i.e. gst-python).
15020 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15022 * gst/gsttagsetter.c:
15023 Docs additions and fixes (see #339918).
15025 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15027 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15028 The caps intersection algorithm can produce multiple copies of the
15029 caps. Until that is fixed, we need to simplify the result to be
15030 sure whether the allowed caps are fixed or not.
15032 * plugins/elements/gstqueue.c: (gst_queue_init),
15033 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15034 (gst_queue_push_one):
15035 Proxied buffer alloc should not set the caps on the source pad.
15036 When pushing buffers, we always accept the caps change that triggers.
15037 This prevents negotiation errors caused by caps changing mid-stream
15038 and then being refused on our source pad (because upstream is now
15039 refusing those caps).
15041 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15043 * tests/examples/helloworld/helloworld.c: (main):
15044 Must plug audioconvert and audioresample between decoder
15047 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15049 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15050 (load_feature), (load_plugin):
15051 Allow empty strings for some of the plugin fields so we don't
15052 drop valid plugin entries that were written out correctly
15055 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15057 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15058 Use g_remove and g_rename instead of remove and rename that don't
15059 handle utf8 characters. rename was failing for users who had specific
15060 characters in their name then the registry was built at each
15062 * win32/vs6/gst_inspect.dsp:
15063 * win32/vs6/gst_launch.dsp:
15064 * win32/vs6/libgstbase.dsp:
15065 * win32/vs6/libgstcoreelements.dsp:
15066 * win32/vs6/libgstreamer.dsp:
15067 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15068 build of libgstreamer and clean unused libraries in projects link
15071 2006-05-17 Edward Hervey <edward@fluendo.com>
15073 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15074 The queue is not responsible for pushing an EOS when receiving a fatal
15075 flow error. It's up to the real element driving the pipeline to do that.
15077 2006-05-16 Edward Hervey <edward@fluendo.com>
15079 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15080 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15081 buffer returned a fatal error. It should just send an EOS and stop
15083 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15084 when pushing buffers on the queue and will be able to handle the event.
15086 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15088 * docs/manual/basics-bins.xml:
15089 * docs/manual/basics-init.xml:
15090 Fix typos and minor errors in sample code (#341856).
15092 2006-05-16 Wim Taymans <wim@fluendo.com>
15094 * docs/design/part-qos.txt:
15095 Fix indexes in formulas to make more sense.
15097 2006-05-15 Wim Taymans <wim@fluendo.com>
15099 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15100 Don't report POSITION based on clock time if sync is
15101 disabled in a sink.
15103 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15106 Add cast to make compiler happy - refcount variable was a gint
15107 in GstObject but is a guint in GObject and g_atomic_int_get()
15110 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15112 * gst/parse/Makefile.am:
15113 chain commands using &&, which also makes parallel make work
15115 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15117 * docs/gst/gstreamer-sections.txt:
15120 * gst/gstmessage.h:
15123 === release 0.10.6 ===
15125 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15128 releasing 0.10.6, "Take the cannoli"
15130 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15132 * tools/gst-launch.c: (print_tag):
15133 Fix use of uninitialized variable in the hypothetical
15134 case that some broken plugin creates a GST_TAG_IMAGE
15135 tag containing a NULL buffer (#341667).
15137 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15139 * tools/gst-launch.c: (print_tag):
15140 Print something more intelligible for image tags when
15141 using the -t switch (#341556).
15143 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15148 define GST_MAJORMINOR so we have it available in win32/common/config.h
15149 Possibly remove it from our Makefile.am files later
15150 * win32/common/config.h:
15151 * win32/common/config.h.in:
15152 added GST_MAJORMINOR
15153 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15154 * win32/common/gstversion.h:
15157 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15160 Update win32 files listing.
15161 * win32/common/gstversion.h:
15162 Add GST_MAJORMINOR definition.
15163 * win32/common/libgstreamer.def:
15164 Add new exported functions.
15166 2006-05-12 Michael Smith <msmith@fluendo.com>
15168 * gst/gstplugin.c: (gst_plugin_load_file):
15169 If an so file has no plugin entry point, unload the module.
15171 2006-05-11 Wim Taymans <wim@fluendo.com>
15173 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15174 (gst_queue_set_property):
15175 Don't forget to signal the _chain or _loop function
15176 when the queue size or thresholds change since that might
15177 cause them to make progres again.
15179 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15181 * gst/gstclock.c: (gst_clock_class_init):
15182 * gst/gstindex.c: (gst_index_class_init):
15183 * gst/gstobject.c: (gst_object_class_init):
15184 * gst/gstpad.c: (gst_pad_class_init):
15185 * gst/gstpipeline.c: (gst_pipeline_class_init):
15186 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15187 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15188 * libs/gst/base/gstbasetransform.c:
15189 (gst_base_transform_class_init):
15190 * libs/gst/net/gstnetclientclock.c:
15191 (gst_net_client_clock_class_init):
15192 * libs/gst/net/gstnettimeprovider.c:
15193 (gst_net_time_provider_class_init):
15194 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15195 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15196 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15197 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15198 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15199 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15200 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15201 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15202 * plugins/elements/gsttee.c: (gst_tee_class_init):
15203 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15204 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15205 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15207 2006-05-11 Wim Taymans <wim@fluendo.com>
15209 * gst/gstbuffer.c: (_gst_buffer_initialize):
15210 Register subbufer along with the buffer type so that
15211 it does not accidentally gets registered from N
15212 different streaming threads in a non threadsafe way.
15214 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15218 * gst/gstmessage.h:
15219 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15220 gst_event_ref() and gst_message_ref() functions again
15221 (ugly hack, please do fix if there's a better way besides
15222 overrides.txt, which doesn't seem to work).
15224 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15226 * libs/gst/check/gstcheck.h:
15227 add an assert for setting state to avoid lots of repetitive code
15230 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15232 * gst/gstvalue.c: (gst_value_serialize_flags):
15233 fix a leak if no flags are set
15234 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15237 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15239 * docs/manual/basics-pads.xml:
15240 Expand a bit on caps and filtered links and update
15241 examples that were still using the no longer existing
15242 gst_pad_link_filtered() (#338206).
15244 2006-05-10 Wim Taymans <wim@fluendo.com>
15246 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15247 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15248 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15249 (gst_collect_pads_stop):
15250 * libs/gst/base/gstcollectpads.h:
15251 No need to call _stop in _finalize.
15252 Iterate the main pad list in _finalize.
15253 Added some more debug.
15254 Free lists and data in the right order.
15255 Also free data whem doing _remove_pad when stopped for
15256 backward compatibility protect ::started with PAD_LOCK as
15259 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15261 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15262 (gst_structure_parse_value):
15264 rename a method so that it actually says what it does better
15266 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15268 * gst/gstevent.c: (_gst_event_initialize):
15269 * gst/gstformat.c: (_gst_format_initialize):
15270 make sure some essential types used by events are registered
15271 as part of gst_init()
15272 * gst/gstvalue.c: (gst_value_serialize_flags):
15273 if no flags are set, serialize them to a value that represents NONE
15274 so that deserializing them works
15275 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15276 add tests for serialization and deserialization of flags
15278 2006-05-10 Wim Taymans <wim@fluendo.com>
15280 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15281 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15282 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15283 (gst_collect_pads_event), (gst_collect_pads_chain):
15286 Catch and return errors from the collect function
15287 Refuse data on eos pads.
15289 2006-05-10 Edward Hervey <edward@fluendo.com>
15291 * gst/gstinterface.h:
15292 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15293 GInterface type checking.
15294 They were previously using non-defined macros.
15296 2006-05-09 Wim Taymans <wim@fluendo.com>
15298 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15299 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15300 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15301 (gst_collect_pads_start), (gst_collect_pads_stop),
15302 (gst_collect_pads_peek), (gst_collect_pads_pop),
15303 (gst_collect_pads_available), (gst_collect_pads_read),
15304 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15305 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15306 (gst_collect_pads_chain):
15307 * libs/gst/base/gstcollectpads.h:
15308 Clean up the mess that is collectpads, add comments and
15309 FIXMEs where needed.
15310 Maintain a separate pad list so we can add pads while
15311 collecting the other ones. For this we need a new separate
15313 Fix memory leak in finalize.
15314 Refactor some weird code to set/unset pad flushing flags, mark
15316 Don't crash in _available, _read, _flush when we're EOS.
15318 * tests/check/libs/.cvsignore:
15319 Ignore adapter check binary.
15321 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15323 * gst/gstindex.c: (gst_index_resolver_get_type):
15324 * plugins/elements/gstfakesink.c:
15325 (gst_fake_sink_state_error_get_type):
15326 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15327 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15328 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15329 Const-ify GEnumValue arrays.
15331 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15333 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15334 Add test case for flags + gst_buffer_make_metadata_writable().
15336 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15338 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15339 gst_buffer_make_metadata_writable() should maintain the
15340 buffer flags (those that make sense at least) (see #340859).
15342 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15344 * tools/gst-inspect.c:
15345 * tools/gst-launch.c:
15346 * tools/gst-typefind.c:
15347 * tools/gst-xmlinspect.c:
15349 Fix up includes: need to include stdlib.h in tools.h for exit().
15351 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15353 * gst/gsttaglist.c: (_gst_tag_initialize):
15354 * gst/gsttaglist.h:
15355 API: add GST_TAG_IMAGE tag (#340721).
15357 2006-05-08 Wim Taymans <wim@fluendo.com>
15360 Added some docs for the segment query.
15362 2006-05-08 Wim Taymans <wim@fluendo.com>
15364 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15365 (gst_base_src_loop), (gst_base_src_change_state):
15366 Always push non-flushing serialized events in the streaming
15369 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15371 * gst/gsterror.c: (_gst_stream_errors_init):
15372 Add a missing error string.
15374 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15376 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15377 Add applied_rate to the debug
15379 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15380 Copy applied_rate into the outgoing NEWSEGMENT event
15382 2006-05-08 Wim Taymans <wim@fluendo.com>
15384 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15386 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15387 (gst_base_sink_change_state):
15388 call ::unlock before taking the PREROLL_LOCK so we can safely
15389 handle elements that lock in ::render.
15392 2006-05-08 Edward Hervey <edward@fluendo.com>
15394 * autogen.sh: (CONFIGURE_DEF_OPT):
15395 Darwin's libtoolize is in fact called glibtoolize.
15396 Adding glibtoolize to the list of accepted names for libtoolize.
15398 2006-05-08 Wim Taymans <wim@fluendo.com>
15400 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15401 Unify error handling, don't post an error message
15402 when a push() returns EOS but perform our normal EOS
15403 handling code. Fixes #340772.
15405 2006-05-08 Wim Taymans <wim@fluendo.com>
15407 * docs/design/part-overview.txt:
15408 Make upsteam/downstream concepts more clear.
15409 Give an example of serialized/non-serialized events.
15411 * docs/design/part-events.txt:
15412 * docs/design/part-streams.txt:
15413 Mention applied_rate.
15415 * docs/design/part-trickmodes.txt:
15416 Mention applied rate, flesh out some more use cases.
15418 * gst/gstevent.c: (gst_event_new_new_segment),
15419 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15420 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15421 (gst_event_parse_tag), (gst_event_new_buffer_size),
15422 (gst_event_parse_buffer_size), (gst_event_new_qos),
15423 (gst_event_parse_qos), (gst_event_parse_seek),
15424 (gst_event_new_navigation):
15426 Add applied_rate field to NEWSEGMENT event.
15427 API: gst_event_new_new_segment_full()
15428 API: gst_event_parse_new_segment_full()
15430 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15431 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15432 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15433 * gst/gstsegment.h:
15434 Add applied_rate to GstSegment structure.
15435 Make calculation of stream_time and running_time more correct
15436 wrt rate/applied_rate.
15437 Add some more docs.
15438 API: GstSegment::applied_rate field
15439 API: gst_segment_set_newsegment_full();
15441 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15442 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15443 * libs/gst/base/gstbasetransform.c:
15444 (gst_base_transform_sink_eventfunc),
15445 (gst_base_transform_handle_buffer):
15446 Parse and use applied_rate in the GstSegment field.
15448 * tests/check/gst/gstevent.c: (GST_START_TEST):
15449 Add check for applied_rate field.
15451 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15452 (gstsegments_suite):
15453 Add more checks for various GstSegment operations.
15455 2006-05-08 Wim Taymans <wim@fluendo.com>
15457 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15458 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15459 (gst_base_sink_get_position), (gst_base_sink_change_state):
15460 Store the sync time of the buffer end position separatly in a
15461 new variable eos_rtime so we can properly sync the EOS event.
15463 Fix the docs for gst_base_sink_set_qos_enabled().
15464 Don't set segment start to invalid value when we receive a
15465 non TIME newsegment.
15466 get closer to handling position reporting for negative rates
15469 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15472 Docs about how to print caps for debug purposes.
15474 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15475 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15477 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15479 * gst/gstelement.c:
15480 use full enum names and preprend a '%' in docs strings to make recent
15481 gtk-doc turn that into a link
15483 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15485 * docs/manual/basics-bins.xml:
15486 * docs/manual/basics-bus.xml:
15487 * docs/manual/basics-pads.xml:
15488 Some typo fixes, some additions, some clarifications.
15490 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15492 * tools/gst-inspect.c: (main):
15493 * tools/gst-launch.c: (main):
15494 * tools/gst-run.c: (main):
15495 * tools/gst-typefind.c: (main):
15496 * tools/gst-xmlinspect.c: (main):
15497 Use the string passed to g_option_context_new() for
15498 what it's intended for - the program name is already
15501 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15503 * tools/Makefile.am:
15504 * tools/gst-inspect.c: (main):
15505 * tools/gst-launch.c: (main):
15506 * tools/gst-xmlinspect.c: (main):
15508 Add back --version command line option (#340460).
15510 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15511 Add --version option and use GOption for argument parsing; refactor a
15512 bit; accept directories as arguments and recurse into them; lastly,
15513 print a decent error message when things go wrong.
15515 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15517 * docs/manual/basics-bins.xml:
15518 Don't mention GstThread (#340611)
15519 * docs/manual/basics-elements.xml:
15520 Update link to GObject tutorial (#340607)
15522 2006-05-05 Wim Taymans <wim@fluendo.com>
15525 * gst/gstminiobject.c:
15526 Add note about refcounting and miniobject/buffer writeability
15527 to docs. Fixes #340604
15529 * gst/gstelementfactory.h:
15530 Added some explanation about @klass.
15532 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15534 * docs/manual/intro-motivation.xml:
15535 * docs/manual/manual.xml:
15536 Avoid CORBA & Bonobo references (#340598)
15538 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15540 * docs/manual/basics-bus.xml:
15541 * docs/manual/basics-pads.xml:
15542 Fix up some inaccuracies and omissions (#340609)
15544 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15546 * gst/gstghostpad.c:
15547 Small typo in docs (#340625)
15549 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15551 * gst/parse/Makefile.am:
15552 Make 'make -j' proof (see #340698).
15554 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15557 Require GLib-2.8 here as well.
15559 2006-05-05 Wim Taymans <wim@fluendo.com>
15561 * gst/glib-compat.c:
15562 * gst/gst.c: (init_pre):
15563 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15564 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15565 (gst_object_dispatch_properties_changed):
15567 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15568 * gst/gststructure.c: (gst_structure_set_valist):
15569 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15570 Remove pre glib2.8 compatibility, fixes #340508
15572 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15574 * gst/gsttaglist.h:
15575 Mention type of tags in doc blurbs.
15577 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15579 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15580 (gst_pad_configure_src), (gst_pad_push):
15581 Restore acceptcaps checking behaviour now that good plugins have
15584 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15586 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15593 * gst/gstmessage.c:
15597 * gst/parse/Makefile.am:
15598 * libs/gst/base/gstadapter.c:
15599 * libs/gst/base/gstbasesrc.c:
15600 * libs/gst/base/gstpushsrc.c:
15601 * libs/gst/base/gsttypefindhelper.c:
15602 * plugins/elements/gstfakesrc.c:
15603 * plugins/elements/gstidentity.c:
15604 Make sure gstprivate.h and/or config.h are
15605 always included first, otherwise some of our
15606 defines (like _FILE_OFFSET_BITS) might be
15607 redefined in the system headers. Fixes build
15608 on opensolaris (#340016).
15610 2006-05-04 Wim Taymans <wim@fluendo.com>
15612 * docs/libs/gstreamer-libs-sections.txt:
15613 API: addition: gst_adapter_take_buffer()
15615 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15616 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15617 (gst_adapter_available_fast):
15618 * libs/gst/base/gstadapter.h:
15619 Prepare for optimizing the hell out of this hugely inefficient
15621 Added gst_adapter_take_buffer() so we can at least start thinking
15622 about subbuffering and merging.
15623 Added some comments.
15625 * tests/check/Makefile.am:
15626 * tests/check/libs/adapter.c: (GST_START_TEST),
15627 (gst_adapter_suite), (main):
15628 Added GstAdapter check.
15630 2006-05-04 Wim Taymans <wim@fluendo.com>
15632 * docs/design/part-overview.txt:
15633 Fix some typos, add blurb about buffer flags.
15635 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15637 * docs/libs/gstreamer-libs-sections.txt:
15638 make sure GstBaseTransformClass shows up in the docs
15639 * libs/gst/base/gstbasetransform.c:
15640 * libs/gst/base/gstbasetransform.h:
15641 move docs so gtk-doc picks it up now
15643 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15645 * docs/libs/gstreamer-libs-sections.txt:
15646 add missing symbols to docs
15648 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15651 back out the newsegment handling change, see #340060 for ongoing
15654 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15656 * tools/gst-run.c: (get_candidates), (main):
15657 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15658 work); fix typo in error message. Fixes #340079.
15660 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15662 * common/Makefile.am:
15663 * docs/Makefile.am:
15664 * docs/faq/Makefile.am:
15665 * docs/gst/Makefile.am:
15666 * docs/libs/Makefile.am:
15667 * docs/manual/Makefile.am:
15668 * docs/plugins/Makefile.am:
15669 * docs/pwg/Makefile.am:
15670 * docs/slides/Makefile.am:
15672 * common/upload.mak:
15673 move upload.mak to common
15675 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15677 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15678 add more asserts on refcounts
15679 do more cleanup at end of tests
15680 fix test leaks showing in FC5
15682 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15684 * plugins/elements/gsttypefindelement.c:
15685 (gst_type_find_element_handle_event):
15686 reverted wrong change and reflowed code to avoid others falling into
15689 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15691 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15692 fix changelog entry about last collectpads change,
15693 add notes about proper fix
15695 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15698 * gst/gstregistry.c: (gst_registry_scan_path_level),
15699 (gst_registry_scan_path):
15700 * gst/gstregistry.h:
15701 only write out registry if it has changed, fixes #338339
15703 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15706 * gst/gstpipeline.c:
15707 * plugins/elements/gstcapsfilter.c:
15708 * plugins/elements/gstfakesink.c:
15709 * plugins/elements/gstfakesrc.c:
15710 * plugins/elements/gstfdsink.c:
15711 * plugins/elements/gstfdsrc.c:
15712 * plugins/elements/gstfilesink.c:
15713 * plugins/elements/gstfilesrc.c:
15714 * plugins/elements/gstidentity.c:
15715 * plugins/elements/gstqueue.c:
15716 * plugins/elements/gsttee.c:
15717 * plugins/elements/gsttypefindelement.c:
15718 (gst_type_find_element_handle_event):
15719 make GstElementDetails const
15721 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15723 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15724 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15725 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15726 more detailed debug and formatting cleanup,
15727 forward newsegments to src-pad (so that e.g. adder not eats them)
15729 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15731 * gst/gstutils.c: (gst_element_link_pads):
15732 cleanup double code
15734 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15736 * libs/gst/controller/gstcontroller.c:
15737 (gst_controller_sync_values):
15739 * tests/check/libs/controller.c: (GST_START_TEST),
15740 (gst_controller_suite):
15741 a new test for live value handling
15743 2006-04-28 Wim Taymans <wim@fluendo.com>
15745 * gst/gstutils.c: (push_and_ref):
15746 Added some more docs.
15747 Fix refcount issue whith gst_element_found_tags() helper
15748 function. Fixes #338335
15750 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15751 Added testsuite for gst_element_found_tags().
15753 2006-04-28 Michael Smith <msmith@fluendo.com>
15755 * gst/gstvalue.c: (gst_value_serialize_flags):
15756 Avoid NULL dereference when trying to serialize flags containing
15759 2006-04-28 Michael Smith <msmith@fluendo.com>
15761 * plugins/elements/gsttypefindelement.c:
15762 (gst_type_find_element_handle_event):
15763 If we get EOS before any data is accumulated, don't use
15764 uninitialised local variables.
15766 2006-04-28 Michael Smith <msmith@fluendo.com>
15768 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15769 (gst_dp_event_from_packet):
15770 Fixes in reading/writing events over GDP (not currently used?) -
15771 dereferencing NULL events for unknown/invalid event types, memory
15772 leak, and change g_warning to GST_WARNING.
15774 2006-04-28 Wim Taymans <wim@fluendo.com>
15776 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15777 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15778 (gst_base_sink_get_position), (gst_base_sink_change_state):
15779 When frame dropping is enabled, we should not ignore frames
15780 without a duration.
15781 Update some documentation.
15783 2006-04-28 Wim Taymans <wim@fluendo.com>
15785 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15786 (gst_base_src_send_event), (gst_base_src_change_state):
15787 Documentation updates.
15789 2006-04-28 Wim Taymans <wim@fluendo.com>
15791 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15792 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15793 handle EAGAIN, EINTR and short writes correctly. Also clean
15794 up some error cases, avoid a deadlock on bad file descriptors and
15795 use GST_DEBUG_OBJECT.
15798 2006-04-28 Wim Taymans <wim@fluendo.com>
15800 * gst/gstvalue.c: (gst_value_serialize_buffer),
15801 (gst_value_deserialize_buffer):
15802 Don't try to serialize a GValue with a NULL buffer.
15805 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15806 Added check for serialisation of NULL buffers.
15808 2006-04-28 Wim Taymans <wim@fluendo.com>
15810 * gst/gstminiobject.c: (gst_value_take_mini_object):
15811 Taking a NULL miniobject is valid, fix the case where
15812 we try to unref the NULL miniobject.
15814 2006-04-28 Wim Taymans <wim@fluendo.com>
15816 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15818 * gst/gstbin.c: (gst_bin_handle_message_func):
15820 Don't leak bin refcount when a state recalc is
15821 in progress and we delay another one #339808.
15823 2006-04-28 Wim Taymans <wim@fluendo.com>
15825 * docs/design/part-TODO.txt:
15826 Mention QoS as an ongoing work item.
15828 * docs/design/part-buffering.txt:
15829 New doc about buffering that needs to be fleshed out
15832 * docs/design/part-qos.txt:
15833 More QoS policy for decoders/demuxers/transforms
15835 * docs/design/part-trickmodes.txt:
15838 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15843 === release 0.10.5 ===
15845 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15848 releasing 0.10.5, "Fogo"
15850 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15852 patch by: Wim Taymans
15854 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15855 (gst_pad_configure_src), (gst_pad_push):
15856 * gst/gstpipeline.c: (gst_pipeline_init):
15857 Fix internal data flow errors. Fixes #338711.
15859 2006-04-12 Wim Taymans <wim@fluendo.com>
15861 * tests/check/gst/gstelement.c: (GST_START_TEST):
15862 Don't leak the factory.
15864 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15867 * win32/common/config.h:
15870 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15872 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15873 (gst_controller_unset_all):
15874 Free allocated GstTimedValues when freeing list nodes.
15875 Should fix leaks 'make check-valgrind' complains about.
15877 * win32/common/libgstcontroller.def:
15878 Add gst_controller_unset_all.
15880 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15882 * docs/libs/gstreamer-libs-sections.txt:
15883 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15884 (gst_controller_unset_all):
15885 * libs/gst/controller/gstcontroller.h:
15886 API: Added new method gst_controller_unset_all()
15887 fixed gst_controller_unset()
15888 * tests/check/libs/controller.c: (GST_START_TEST),
15889 (gst_controller_suite):
15890 Added two testcases for new and fixed method
15892 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15894 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15895 MSG_DONTWAIT is not defined on Cygwin, so work
15896 around that (fixes #317048).
15898 2006-04-11 Wim Taymans <wim@fluendo.com>
15900 * gst/gstelementfactory.c: (gst_element_register),
15901 (gst_element_factory_create), (gst_element_factory_make):
15904 Updated docs (Fixes #131079)
15906 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15909 * tests/check/gst/gstelement.c: (GST_START_TEST),
15910 (gst_element_suite):
15911 Added testcase for elementfactory class field.
15913 2006-04-10 Wim Taymans <wim@fluendo.com>
15915 * gst/gstsegment.c:
15916 Added some more docs.
15918 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15919 (gst_base_sink_reset_qos):
15920 Calculate more accurate rate values.
15922 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15924 * gst/gst_private.h:
15925 add a new #ifdef to use __declspec(dllimport) only for
15926 other modules and not for gstreamer core
15927 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15928 use gst_guint64_to_gdouble for conversion
15929 * win32/common/libgstreamer.def:
15930 add new exported functions
15931 * win32/vs6/gst_inspect.dsp:
15932 * win32/vs6/gst_launch.dsp:
15933 * win32/vs6/libgstbase.dsp:
15934 * win32/vs6/libgstcontroller.dsp:
15935 * win32/vs6/libgstcoreelements.dsp:
15936 * win32/vs6/libgstdataprotocol.dsp:
15937 * win32/vs6/libgstnet.dsp:
15938 update project files
15940 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15942 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15943 * gst/gstclock.c: (gst_clock_class_init):
15944 * gst/gstelement.c: (gst_element_class_init):
15945 * gst/gstindex.c: (gst_index_class_init):
15946 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15947 * gst/gstobject.c: (gst_object_class_init),
15948 (gst_signal_object_class_init):
15949 * gst/gstpad.c: (gst_pad_class_init):
15950 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15951 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15952 * gst/gstregistry.c: (gst_registry_class_init):
15953 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15954 * gst/gsttask.c: (gst_task_class_init):
15955 * gst/gstxml.c: (gst_xml_class_init):
15956 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15957 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15958 (gst_base_src_loop):
15959 * libs/gst/controller/gstcontroller.c:/
15960 (_gst_controller_class_init):
15961 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15962 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15963 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15964 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15965 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15966 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15968 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15970 * gst/gstpad.c: (gst_pad_link):
15971 Must set peer pads before calling the link function, otherwise
15972 a task started from a link function might get a flow-not-linked
15973 result when trying to push because the other thread where the
15974 linking happens hasn't had a chance to set the peers yet. This
15975 might happen for example when a queue gets linked to a downstream
15976 element, as queue starts a streaming task when its source pad
15977 gets linked. Happens in real life when playing back flac/musepack
15978 files in playbin (#332390).
15980 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15984 * libs/gst/base/gstadapter.h:
15985 * libs/gst/base/gstbasesink.h:
15986 * libs/gst/base/gstbasesrc.h:
15987 * libs/gst/base/gstbasetransform.h:
15988 * libs/gst/base/gstcollectpads.h:
15989 * libs/gst/base/gstpushsrc.h:
15990 Fix broken GObject macros
15992 2006-04-07 Wim Taymans <wim@fluendo.com>
15994 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15995 Initialize start and stop times, thanks valgrind.
15997 2006-04-07 Wim Taymans <wim@fluendo.com>
15999 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16000 Be a bit nicer to badly behaving upstream elements that expect
16001 us to deal with non TIME segments and timestamps (such as fakesrc
16004 2006-04-07 Wim Taymans <wim@fluendo.com>
16007 Small documentation clarification about the signal watch.
16009 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16010 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16011 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16012 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16013 (gst_base_sink_get_position_last),
16014 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16015 Convert and store timestamps in stream time and running time, the
16016 raw timestamps are not useful, also document this better.
16017 Use different window sizes for good and bad QoS observations so
16018 we react to badness a little quicker.
16019 Keep track of the amount of rendered and dropped buffers.
16020 Send QoS timestamps in running time.
16022 * libs/gst/base/gstbasetransform.c:
16023 (gst_base_transform_sink_eventfunc),
16024 (gst_base_transform_handle_buffer):
16025 Compare QoS timestamps against running time.
16027 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16030 Typo fixes in docs.
16032 2006-04-06 Michael Smith <msmith@fluendo.com>
16034 * gst/gstpad.c: (gst_pad_set_property):
16035 Use g_value_get_object() instead of g_value_dup_gst_object(),
16036 to avoid double-reffing the pad template (which we then sink,
16037 so this worked previously if (and only if) the pad template
16040 * gst/gstpadtemplate.c: (gst_pad_template_init),
16041 (gst_pad_template_pad_created):
16042 Never return floating references to pad templates, create
16043 them as initially-sunken.
16045 Document an extra function (and make this stop sinking our
16046 pad template, since that is now guaranteed to do nothing,
16047 since we created it sunken).
16049 * gst/gstghostpad.c:
16052 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16054 * gst/gstinfo.c: (__gst_in_valgrind):
16057 * plugins/elements/gsttypefindelement.c:
16058 (gst_type_find_element_chain):
16059 Don't leak buffer caps.
16061 2006-04-06 Michael Smith <msmith@fluendo.com>
16063 * gst/parse/grammar.y:
16064 Fix a leak in parse-launch for any source-or-sink named element
16067 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16068 Unref the pipeline if it exists after we've failed parsing.
16070 2006-04-05 Michael Smith <msmith@fluendo.com>
16072 * gst/gstpipeline.c: (gst_pipeline_init):
16073 When we create a pipeline bus, initially create it in flushing mode.
16074 Fixes leaks in at least one test, and makes a new pipeline work the
16075 same as one that has gone to READY and then back to NULL.
16077 * gst/gstelement.c:
16080 2006-04-05 Michael Smith <msmith@fluendo.com>
16082 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16083 Unref a pad we reffed.
16084 * tests/check/gst/gstutils.c: (GST_START_TEST):
16087 2006-04-05 Michael Smith <msmith@fluendo.com>
16089 * gst/gstquery.c: (gst_query_set_formats),
16090 (gst_query_set_formatsv):
16091 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16093 2006-04-05 Michael Smith <msmith@fluendo.com>
16095 * tests/check/generic/sinks.c: (GST_START_TEST):
16096 Fix a variety of memleaks in sinks check, which are only sometimes
16097 shown by running the tests under valgrind (weird?).
16099 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16101 * docs/version.entities.in:
16102 Fix the substituted entity name after thomas' changes on the
16105 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16107 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16110 2006-04-05 Andy Wingo <wingo@pobox.com>
16112 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16114 * libs/gst/base/gstbasetransform.c
16115 (gst_base_transform_sink_eventfunc): When resetting our segment on
16116 FLUSH_STOP, also update the flag saying we haven't seen a
16119 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16121 Patch by: Paolo Borelli <pborelli at katamail dot com>
16123 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16124 (gst_plugin_check_license):
16125 minor clean-ups: G_DEFINE_TYPE already takes care of the
16126 parent_class stuff, no need to do it twice. Mark array of
16127 license strings as constant. (#337103)
16129 2006-04-04 Michael Smith <msmith@fluendo.com>
16131 * tools/gst-inspect.c: (print_element_list):
16132 Free the right plugin list; fixes a memory leak.
16134 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16136 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16138 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16139 Don't error out on empty buffers (#336945).
16141 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16143 * docs/libs/gstreamer-libs-sections.txt:
16144 * gst/gsttaglist.c:
16145 * libs/gst/base/gstbasesink.c:
16146 * libs/gst/base/gstbasesink.h:
16147 * libs/gst/base/gstbasesrc.c:
16148 * libs/gst/base/gstbasesrc.h:
16149 Documentation updates. Make BaseSink and BaseSrc docs contain the
16150 class structure so that people can actually see the prototypes for
16151 virtual functions they're supposed to be overriding.
16153 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16155 * plugins/elements/gsttypefindelement.c:
16156 (gst_type_find_element_chain):
16157 More debug info; when skipping typefinding, send cached
16158 events in all cases.
16160 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16163 use new AS_VERSION and AS_NANO macros
16164 * gst/gst-i18n-lib.h:
16167 * gst/gstversion.h.in:
16168 * win32/common/config.h:
16169 * win32/common/config.h.in:
16172 2006-03-31 Michael Smith <msmith@fluendo.com>
16174 * plugins/elements/gsttypefindelement.c:
16175 (gst_type_find_element_chain):
16176 Do not typefind content if the buffers already have caps.
16177 Neccesary for icydemux (#333657), and the right thing to do anyway.
16179 2006-03-30 Wim Taymans <wim@fluendo.com>
16181 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16182 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16183 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16184 (gst_base_sink_record_qos_observation),
16185 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16186 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16187 (gst_base_sink_change_state):
16188 More QoS measurements as described in the design doc.
16189 Get rid of ringbuffer with observations, running average is
16190 more simple and equally good.
16191 Calculates valid proportion now.
16192 Added beginning of flood measurement.
16194 2006-03-29 Wim Taymans <wim@fluendo.com>
16196 * docs/design/part-qos.txt:
16198 Small documentation updates and additions.
16200 2006-03-29 Wim Taymans <wim@fluendo.com>
16202 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16203 (gst_base_src_send_event), (gst_base_src_loop),
16204 (gst_base_src_change_state):
16205 Perform the EOS logic when we reach the segment stop position.
16206 Fix compilation on gcc4.1
16208 2006-03-29 Wim Taymans <wim@fluendo.com>
16210 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16212 * plugins/elements/gstqueue.c: (gst_queue_init),
16213 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16214 (gst_queue_set_property):
16215 * plugins/elements/gstqueue.h:
16216 In queue, when EOS is received, if minimum threshold > max_size -
16217 current_level, there is chance that queue blocks forever in conditional
16218 item del wait. This is because the queue is not emptied completely due
16219 to minimum threshold. Here is another approach. Instead of setting
16220 cur_levels to max in EOS, just zero all minimum threshold levels. This
16221 should make sure that queue gives out all data. When going to READY
16222 (stop) state, just reset the original minimum threshold levels.
16225 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16227 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16228 (gst_type_find_element_handle_event),
16229 (gst_type_find_element_send_cached_events),
16230 (gst_type_find_element_change_state):
16231 * plugins/elements/gsttypefindelement.h:
16232 When typefinding is done in push mode, we should cache
16233 events we receive during typefinding instead of just
16234 dropping them (e.g. newsegment, custom events from
16235 dvdreadsrc etc.) and then send them out once we've
16236 determined the type of the stream (and decodebin
16237 has had a chance to plug in a decoder/demuxer).
16239 2006-03-27 Wim Taymans <wim@fluendo.com>
16241 * docs/design/part-qos.txt:
16244 2006-03-27 Wim Taymans <wim@fluendo.com>
16246 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16248 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16249 (gst_base_src_send_event), (gst_base_src_change_state):
16250 Handle element seek correctly when we are streaming.
16253 2006-03-24 Michael Smith <msmith@fluendo.com>
16255 * docs/faq/gst-uninstalled:
16256 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16257 allow you to correctly run intalled applications built against old
16258 core, using plugins that require updated core (e.g. running
16259 installed totem against a full uninstalled gstreamer stack)
16261 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16263 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16266 2006-03-24 Wim Taymans <wim@fluendo.com>
16268 * docs/gst/gstreamer-sections.txt:
16269 Rearrange the order of the methods so that related methods
16270 are grouped together in sections.
16272 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16274 * gst/gstelement.c:
16275 Little clarification in the docs
16277 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16281 * plugins/elements/gstidentity.c:
16282 * plugins/elements/gstqueue.c:
16283 * plugins/elements/gsttee.c:
16284 * plugins/elements/gsttypefindelement.c:
16285 GST_ELEMENT_DETAILS formatting
16287 2006-03-24 Wim Taymans <wim@fluendo.com>
16289 * libs/gst/base/gstbasesink.h:
16290 Only add fields, not insert or we break ABI.
16292 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16294 * win32/common/libgstbase.def:
16295 * win32/common/libgstreamer.def:
16296 Update, add recently added functions.
16298 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16300 * docs/gst/gstreamer-sections.txt:
16301 * gst/gstutils.c: (gst_pad_query_peer_position),
16302 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16304 API: add some new utility functions:
16305 - gst_pad_query_peer_position()
16306 - gst_pad_query_peer_duration()
16307 - gst_pad_query_peer_convert()
16309 2006-03-23 Wim Taymans <wim@fluendo.com>
16311 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16312 (gst_base_sink_init), (gst_base_sink_finalize),
16313 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16314 (gst_base_sink_set_property), (gst_base_sink_get_property),
16315 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16316 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16317 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16318 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16319 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16320 (gst_base_sink_preroll_object), (gst_base_sink_event),
16321 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16322 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16323 (gst_base_sink_query), (gst_base_sink_change_state):
16324 Decouple max-lateness and the fact that QoS messages are generated
16325 with a new property (qos).
16326 added API: GstBaseSink::async_play()
16327 Add vmethod so subclasses can be notified of ASYNC playing
16329 Collect timestamp start and stop to report better current
16330 position in EOS/PLAYING/PAUSED/READY/NULL.
16331 Refactor QoS/frame dropping and other measurements.
16332 API: GstBaseSrc::qos
16335 * libs/gst/base/gstbasesink.h:
16336 Added Private struct.
16337 API: gst_base_sink_set_qos_enabled()
16338 API: gst_base_sink_is_qos_enabled()
16340 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16342 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16343 If compiling against GLib-2.8 or newer, try to read the
16344 registry file using GMappedFile first before falling back
16345 to fopen() + fread() (#332151).
16347 2006-03-22 Wim Taymans <wim@fluendo.com>
16349 * gst/gstinfo.c: (gst_debug_set_active),
16350 (gst_debug_category_set_threshold):
16351 Disable debugging unless explicitly activated.
16354 2006-03-22 Wim Taymans <wim@fluendo.com>
16356 * gst/gstelement.c: (gst_element_set_locked_state),
16357 (gst_element_dispose):
16358 Cleanup the error case.
16360 * gst/gstobject.c: (gst_object_dispose):
16361 print a critical when some object was disposed with
16362 a parent, also revive the object since it might
16365 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16367 * tools/gst-launch.1.in:
16370 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16373 * tests/check/Makefile.am:
16374 disable some tests when we don't have a registry
16375 * tests/check/gst/gstutils.c: (gst_utils_suite):
16376 don't build the part that needs parsing
16378 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16381 * tests/examples/Makefile.am:
16382 fix --disable-parse build
16384 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16386 * tools/gst-feedback.1.in:
16387 Fix typo: s/feeback/feedback/ (#133494).
16389 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16391 * tools/Makefile.am:
16392 * tools/gst-launch.1.in:
16393 Add FILES section and correct entry about GST_REGISTRY_PATH
16394 environment variable (#133495; #133494).
16396 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16398 * tools/Makefile.am:
16399 * tools/gst-md5sum.1.in:
16400 * tools/gst-md5sum.c:
16401 Remove gst-md5sum and man page (the md5sink element
16402 required was removed ages ago)
16404 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16406 * gst/gststructure.c: (gst_structure_id_set_value):
16407 Make sure that string fields in structures/taglists
16408 contain valid UTF-8 - we don't want to pass rubbish to
16409 applications because of a buggy plugin (cp. #334167).
16411 2006-03-21 Edward Hervey <edward@fluendo.com>
16413 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16414 (gst_bin_handle_message_func):
16415 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16416 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16417 (gst_element_set_bus_func):
16418 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16419 * gst/gstminiobject.c: (gst_value_set_mini_object),
16420 (gst_value_take_mini_object):
16421 * gst/gstpad.c: (gst_pad_set_pad_template):
16422 * gst/gstpipeline.c: (gst_pipeline_dispose),
16423 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16424 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16425 (gst_collect_pads_chain):
16426 * libs/gst/net/gstnettimeprovider.c:
16427 (gst_net_time_provider_set_property):
16428 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16429 It's in fact all issues with gst_*object_replace().
16431 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16433 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16435 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16436 * pkgconfig/gstreamer-check.pc.in:
16437 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16439 2006-03-21 Edward Hervey <edward@fluendo.com>
16443 * gst/gstmessage.h:
16444 gst_[buffer|event|message]_ref() macros are replaced by a static
16445 inline functions because gcc-4.1 will about if the return value
16447 * tests/check/gst/gstevent.c: (event_probe):
16448 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16450 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16453 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16454 the type' case. (Closes: #335195 for now). In the future, when we
16455 depend on GLib 2.10, we could also intern the type name using
16456 g_intern_static_string()
16458 2006-03-20 Wim Taymans <wim@fluendo.com>
16460 * gst/gstbin.c: (gst_bin_handle_message_func),
16461 (bin_query_max_init), (bin_query_position_fold),
16462 (bin_query_position_done), (gst_bin_query):
16463 Position query should also take max of all streams.
16465 2006-03-20 Wim Taymans <wim@fluendo.com>
16467 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16468 (gst_fake_src_finalize):
16469 Fix leaks in fakesrc.
16471 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16472 Fix leaks in the testcase.
16474 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16476 * gst/gst_private.h:
16477 add win32 specific import decoration(__declspec(dllimport))
16478 for all extern GstDebugCategory * variables
16479 * win32/common/libgstbase.def:
16480 * win32/common/libgstcontroller.def:
16481 * win32/common/libgstreamer.def:
16482 Add some exports, remove empty lines
16483 * win32/common/libgstdataprotocol.def:
16484 * win32/common/libgstdataprotocol.dsp:
16485 * win32/common/libgstnet.def:
16486 * win32/common/libgstnet.dsp:
16487 new project files and exportation files added
16489 2006-03-19 Wim Taymans <wim@fluendo.com>
16491 * tests/check/libs/basesrc.c: (eos_event_counter):
16492 Use proper return value for probe.
16494 2006-03-17 Wim Taymans <wim@fluendo.com>
16496 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16498 Don't leak buffers, caps and pads on negotiation errors.
16500 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16502 * docs/faq/cvs.xml:
16503 * docs/faq/dependencies.xml:
16504 * docs/faq/developing.xml:
16505 * docs/faq/faq.xml:
16506 * docs/faq/general.xml:
16507 * docs/faq/getting.xml:
16508 * docs/faq/legal.xml:
16509 * docs/faq/troubleshooting.xml:
16510 * docs/faq/using.xml:
16511 Faq review and update.
16513 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16515 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16517 Don't pound the cpu to pieces by checking get_caps when accept_caps
16518 is called with the same caps as the pad already has.
16519 Use GST_DEBUG_OBJECT when outputting caps change information.
16521 2006-03-15 Wim Taymans <wim@fluendo.com>
16523 * gst/gstclock.c: (gst_clock_class_init):
16526 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16531 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16532 (gst_pad_accept_caps), (gst_pad_configure_sink),
16533 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16534 Make the default acceptcaps behaviour be to check the requested
16535 caps against the gst_pad_get_caps output.
16537 Ensure that gst_pad_accept_caps is used to check caps when a pad
16538 doesn't have a setcaps function, so that pads automatically refuse
16539 caps that they don't allow in their pad template. (Fixes #332986)
16541 When a buffer with attached caps is pushed, ensure that the source
16542 pad receives those caps even if the element didn't call
16543 gst_pad_set_caps first.
16545 2006-03-15 Wim Taymans <wim@fluendo.com>
16547 * libs/gst/base/gstadapter.c:
16550 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16552 * win32/common/libgstbase.def:
16553 * win32/common/libgstcontroller.def:
16554 * win32/common/libgstreamer.def:
16555 Add a whole bunch of missing functions (#334434).
16557 2006-03-14 Wim Taymans <wim@fluendo.com>
16559 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16560 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16561 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16562 Better debug info when we receive a segment event.
16563 Reorganize a bit so we can pass the get_times() results around.
16564 Use the segment format when calculating the running time.
16565 Don't do QoS is sync is disabled or we have no clock or the
16566 element does not want us to sync to the clock.
16567 Don't drop buffers if QoS is disabled for now.
16569 2006-03-14 Wim Taymans <wim@fluendo.com>
16571 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16572 Marked the stats property as unimplemented so people don't get
16574 Add debug message when regression goes wrong.
16575 Added some more docs.
16577 2006-03-14 Wim Taymans <wim@fluendo.com>
16579 * gst/gstsegment.c: (gst_segment_to_stream_time):
16580 Return correct return type in case of errors.
16582 2006-03-14 Wim Taymans <wim@fluendo.com>
16584 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16585 Don't segfault on invalid formats.
16587 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16589 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16590 Can't use gst_segment_to_running_time() when the segment
16591 is not in GST_TIME_FORMAT (like with filesink, for example).
16592 Stops flac encoding pipelines from spewing critical warnings
16595 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16597 * gst/gstpipeline.c: (gst_pipeline_class_init):
16598 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16600 * plugins/elements/gsttypefindelement.c:
16601 (gst_type_find_element_handle_event):
16602 Don't try to typefind empty streams.
16604 2006-03-14 Wim Taymans <wim@fluendo.com>
16606 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16607 (gst_base_sink_do_qos):
16608 Separate QoS calculation.
16609 Only drop buffers when lateness is bigger than the
16610 duration of the buffer.
16612 2006-03-13 Wim Taymans <wim@fluendo.com>
16614 * gst/gstpipeline.c: (gst_pipeline_set_property),
16615 (gst_pipeline_get_property), (do_pipeline_seek),
16616 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16617 (gst_pipeline_get_delay):
16618 Don't deadlock when reading properties.
16620 2006-03-13 Wim Taymans <wim@fluendo.com>
16622 * libs/gst/base/gstbasetransform.c:
16623 (gst_base_transform_class_init), (gst_base_transform_init),
16624 (gst_base_transform_sink_event),
16625 (gst_base_transform_sink_eventfunc),
16626 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16627 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16628 (gst_base_transform_set_property),
16629 (gst_base_transform_get_property),
16630 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16631 (gst_base_transform_set_qos_enabled),
16632 (gst_base_transform_is_qos_enabled):
16633 * libs/gst/base/gstbasetransform.h:
16634 Make basetransform virtual method for src events too.
16635 Handle QOS in basetransform.
16636 API: gst_base_transform_update_qos()
16637 API: gst_base_transform_set_qos_enabled()
16638 API: gst_base_transform_is_qos_enabled()
16640 2006-03-13 Wim Taymans <wim@fluendo.com>
16642 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16643 (gst_base_sink_do_sync):
16645 Use QOS debug category.
16647 2006-03-13 Wim Taymans <wim@fluendo.com>
16649 * plugins/elements/gstqueue.c:
16650 Very small doc update.
16652 2006-03-13 Wim Taymans <wim@fluendo.com>
16654 * gst/gst_private.h:
16655 * gst/gstinfo.c: (_gst_debug_init):
16656 Added QOS debug category
16658 2006-03-13 Wim Taymans <wim@fluendo.com>
16660 * docs/gst/gstreamer-sections.txt:
16661 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16663 * gst/gstbus.c: (gst_bus_class_init):
16666 * gst/gstelement.c: (gst_element_set_locked_state):
16667 * gst/gstsegment.c:
16668 Documentation updates.
16670 * gst/gstpipeline.c: (gst_pipeline_get_type),
16671 (gst_pipeline_class_init), (gst_pipeline_init),
16672 (gst_pipeline_dispose), (gst_pipeline_set_property),
16673 (gst_pipeline_get_property), (do_pipeline_seek),
16674 (gst_pipeline_send_event), (gst_pipeline_change_state),
16675 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16676 (gst_pipeline_get_delay):
16677 * gst/gstpipeline.h:
16678 Added methods for setting the delay.
16679 API: gst_pipeline_set_delay()
16680 API: gst_pipeline_get_delay()
16681 Add pipeline debug category
16684 Don't reset stream time when seek failed.
16686 2006-03-13 Wim Taymans <wim@fluendo.com>
16688 * docs/design/draft-klass.txt:
16689 * docs/design/part-clocks.txt:
16690 * docs/design/part-events.txt:
16691 * docs/design/part-gstbin.txt:
16692 * docs/design/part-gstpipeline.txt:
16693 * docs/design/part-messages.txt:
16694 * docs/design/part-negotiation.txt:
16695 * docs/design/part-overview.txt:
16696 * docs/design/part-preroll.txt:
16697 * docs/design/part-seeking.txt:
16698 * docs/design/part-states.txt:
16699 * docs/design/part-streams.txt:
16700 Documentation updates.
16702 2006-03-12 Julien MOUTTE <julien@moutte.net>
16704 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16705 us to leak strings...
16707 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16709 * libs/gst/net/gstnettimeprovider.c:
16711 * win32/common/config.h:
16714 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16716 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16719 Don't check for libgnomeui (leftover from old examples
16720 that aren't built or disted any longer) (#334303).
16722 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16724 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16725 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16726 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16727 there's no space left on the device.
16729 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16732 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16733 to cast the input to GstClockTime before comparing with
16734 another GstClockTime value.
16736 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16741 === release 0.10.4 ===
16743 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16746 releasing 0.10.4, "Light"
16748 2006-03-10 Michael Smith <msmith@fluendo.com>
16750 * libs/gst/dataprotocol/dataprotocol.c:
16751 Fix docs for dataprocotol to not get the return types completely
16752 wrong for a few functions.
16754 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16756 * docs/gst/gstreamer-sections.txt:
16757 * gst/gstpipeline.c: (gst_pipeline_class_init),
16758 (gst_pipeline_init), (gst_pipeline_set_property),
16759 (gst_pipeline_get_property), (gst_pipeline_change_state),
16760 (gst_pipeline_set_auto_flush_bus),
16761 (gst_pipeline_get_auto_flush_bus):
16762 * gst/gstpipeline.h:
16763 Add new API: gst_pipeline_set_auto_flush_bus() and
16764 gst_pipeline_get_auto_flush_bus() to disable automatic
16765 flushing of the pipeline's GstBus when going from READY
16766 to NULL state (#332045).
16768 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16770 * docs/gst/gstreamer-sections.txt:
16771 * gst/gsturi.c: (gst_uri_has_protocol):
16773 Add new API: gst_uri_has_protocol() (#333779).
16775 2006-03-09 Wim Taymans <wim@fluendo.com>
16777 * gst/gstclock.c: (gst_clock_entry_new),
16778 (gst_clock_id_compare_func), (gst_clock_id_wait),
16779 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16780 (gst_clock_init), (gst_clock_get_internal_time),
16781 (gst_clock_set_master), (do_linear_regression),
16782 (gst_clock_add_observation), (gst_clock_set_property):
16786 Fix a possible segfault when the window-size is made smaller.
16787 Calculate jitter before performing the clock wait. Ideally
16788 the clock implementation should calculate jitter but we need
16789 API breakage for that.
16791 * gst/gstsystemclock.c: (gst_system_clock_init):
16794 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16795 Remove leftover else
16797 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16798 (gst_systemclock_suite):
16799 Added check to test GST_CLOCK_DIFF.
16801 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16803 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16804 (gst_type_find_helper_get_range):
16805 If we are provided with the size, we should implement
16806 GstTypeFind::get_length, so that typefind functions who
16807 want to can actually peek at the middle of a file.
16809 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16811 * docs/manual/advanced-dataaccess.xml:
16812 Add some very very basic error checking.
16814 * docs/pwg/appendix-checklist.xml:
16815 Some updates to the list of things to check when writing an element.
16817 2006-03-08 Wim Taymans <wim@fluendo.com>
16819 * docs/design/part-element-transform.txt:
16820 Added some docs about the design of tranform elements.
16822 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16823 (gst_base_src_loop), (gst_base_src_change_state):
16824 Mark buffers with the DISCONT flag.
16826 2006-03-08 Michael Smith <msmith@fluendo.com>
16828 * gst/gstregistry.h:
16829 * gst/gstregistryxml.c: (gst_registry_save),
16830 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16831 (gst_registry_xml_save_pad_template),
16832 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16833 (gst_registry_xml_write_cache):
16834 Rewrite registry-saving to avoid race conditions and check for
16837 2006-03-08 Wim Taymans <wim@fluendo.com>
16839 * libs/gst/base/gstbasetransform.c:
16840 (gst_base_transform_transform_caps),
16841 (gst_base_transform_transform_size),
16842 (gst_base_transform_prepare_output_buffer),
16843 (gst_base_transform_get_unit_size),
16844 (gst_base_transform_buffer_alloc),
16845 (gst_base_transform_handle_buffer),
16846 (gst_base_transform_change_state):
16847 Cleanups, separate normal flow from errors, add sensible
16849 Don't try to renegotiate when allocating an output buffer.
16850 Also copy DISCONT buffer flag when copying a buffer.
16851 Reset the transform after we finish streaming, not during.
16853 2006-03-08 Wim Taymans <wim@fluendo.com>
16855 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16856 Use last buffer timestamp in qos message.
16858 2006-03-07 Wim Taymans <wim@fluendo.com>
16860 Patch by: Christophe Fergeau
16862 * docs/pwg/advanced-tagging.xml:
16863 * docs/pwg/building-pads.xml:
16866 2006-03-07 Wim Taymans <wim@fluendo.com>
16868 * docs/libs/gstreamer-libs-sections.txt:
16869 Added basesink new methods.
16873 Docs updates. Flesh out the QoS docs.
16875 * libs/gst/base/gstadapter.c:
16876 Small doc clarification about ownership and flushing.
16878 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16879 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16880 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16881 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16882 * libs/gst/base/gstbasesink.h:
16884 Added new methods to allow subclass to control max-lateness
16886 Generate very basic QoS events based on last sync observation.
16887 Updated docs, fix typo, added some QoS blurb.
16889 * libs/gst/base/gstbasesrc.c:
16890 Remove obsolete _get_state() calls from docs.
16892 2006-03-07 Wim Taymans <wim@fluendo.com>
16894 * docs/libs/gstreamer-libs-sections.txt:
16895 * libs/gst/base/gstbasetransform.h:
16896 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16897 Fix docs for GstBaseSrc.
16899 2006-03-07 Wim Taymans <wim@fluendo.com>
16901 * docs/gst/gstreamer-sections.txt:
16904 * libs/gst/base/gstbasetransform.h:
16905 Small documentation fixes.
16907 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16910 Document thread-unsafety of gst_value_register_foo_func()
16911 when used at the same time as gst_value_foo() (#322628).
16913 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16915 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16916 (gst_push_src_check_get_range):
16917 Push sources don't support pull mode by default.
16919 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16921 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16922 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16923 (gst_base_src_default_check_get_range):
16924 * libs/gst/base/gstbasesrc.h:
16925 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16926 provide default implementation, and rename
16927 gst_base_src_check_get_range() to
16928 gst_base_src_pad_check_get_range() for clarity.
16930 2006-03-06 Wim Taymans <wim@fluendo.com>
16932 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16933 Make property overridable.
16935 2006-03-06 Wim Taymans <wim@fluendo.com>
16937 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16938 (gst_base_sink_init), (gst_base_sink_set_property),
16939 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16940 * libs/gst/base/gstbasesink.h:
16941 API addition: Make max-lateness a property.
16943 2006-03-06 Wim Taymans <wim@fluendo.com>
16945 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16946 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16947 Don't ever draw a frame that is >10ms late.
16949 2006-03-06 Michael Smith <msmith@fluendo.com>
16951 * gst/gstmessage.c: (_gst_message_copy):
16952 When copying a message, set the parent_refcount of the enclosed
16953 structure to point at the copy, not the original message.
16955 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16957 Patch by: Christophe Fergeau
16960 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16961 usable in c++ code (#333417)
16963 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16966 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16968 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16970 * libs/gst/base/gstbasetransform.c:
16971 (gst_base_transform_transform_caps):
16972 Make sure caps are writable before passing them to
16975 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16978 Fix some minor docs errors.
16980 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16982 Patch by: Ross Burton <ross at burtonini dot com>
16984 * gst/gsterror.c: (_gst_resource_errors_init):
16986 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16988 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16991 Add a check and output a g_warning when GStreamer is built
16992 against GLib 2.6 but running against 2.8 or higher, and vice
16993 versa. (Closes: #323542)
16995 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16997 * gst/parse/parse.l:
16998 Commit patch for parse_launch syntax from #331255. Removes
16999 support for quoted strings and mimetypes when writing filtered
17000 caps. See the bug report for more details - I'm pretty sure this
17001 obscure feature is not in use by _anyone_ anywhere.
17003 With this simple change, the size of the gstreamer.so here
17004 drops from 2193KB to 1565KB.
17006 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17008 * plugins/elements/gsttypefindelement.h:
17009 * plugins/elements/gsttypefindelement.c:
17010 (gst_type_find_element_src_event), (start_typefinding),
17011 (stop_typefinding), (gst_type_find_element_handle_event),
17012 (gst_type_find_element_chain),
17013 (gst_type_find_element_chain_do_typefinding):
17014 Use gst_type_find_helper_for_buffer() for chain-based
17017 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17019 * plugins/elements/gsttypefindelement.c:
17020 (gst_type_find_element_class_init),
17021 (gst_type_find_element_set_property),
17022 (gst_type_find_element_get_property):
17023 Deprecate "maximum" property (not only was it only taken into
17024 account for typefinding in push-mode anyway, it also was never
17025 actually possible to set it in the first place because the
17026 property was registered with the numeric property ID for the
17027 "minimum" property). Register "maximum" property correctly,
17028 for the sake of future copy'n'pasters. Remove some cruft
17029 from property get/set functions.
17031 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17033 * plugins/elements/gsttypefindelement.c:
17034 (gst_type_find_element_activate):
17035 Use gst_type_find_helper_get_range() here, so we
17036 can honour the "minimum" property and also emit
17037 the signal with the correct probability of the found caps.
17039 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17041 * docs/libs/gstreamer-libs-sections.txt:
17042 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17043 (helper_find_suggest), (gst_type_find_helper_get_range),
17044 (gst_type_find_helper):
17045 * libs/gst/base/gsttypefindhelper.h:
17046 New API: gst_type_find_helper_get_range() (#333042).
17048 2006-03-02 Michael Smith <msmith@fluendo.com>
17050 * gst/gstregistryxml.c: (load_feature):
17051 Asserting on a failure to read part of the registry is Not Cool.
17052 Just log a warning and return NULL (which is already handled)
17054 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17056 * win32/common/libgstbase.def:
17057 added export of gst_type_find_helper_for_buffer
17058 * win32/common/libgstbase.def:
17059 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17060 gst_ghost_pad_get_target
17062 2006-02-28 Wim Taymans <wim@fluendo.com>
17064 * docs/design/draft-klass.txt:
17066 Added Connector to mark elements that are only used to
17067 allow pipeline connections.
17068 Moved Debug to extra feature since most of them are
17069 functionally something else.
17071 2006-02-28 Wim Taymans <wim@fluendo.com>
17073 * docs/design/draft-klass.txt:
17074 Some updates and clarifications.
17076 2006-02-28 Wim Taymans <wim@fluendo.com>
17078 * docs/design/draft-klass.txt:
17079 Proposal for klass field values.
17081 * docs/design/part-streams.txt:
17082 Start of a doc describing stream anatomy.
17084 2006-02-28 Wim Taymans <wim@fluendo.com>
17086 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17087 Help the compiler a bit with type registration.
17088 Use existing forward cod path instead of duplicating it when
17089 handling a message.
17091 * gst/gstbus.c: (gst_bus_get_type):
17092 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17093 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17094 * gst/gstclock.c: (gst_clock_get_type):
17095 * gst/gstelement.c: (gst_element_get_type),
17096 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17097 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17098 * gst/gstminiobject.c: (gst_mini_object_get_type):
17099 * gst/gstpad.c: (gst_pad_get_type):
17100 * gst/gstsegment.c: (gst_segment_get_type):
17101 * gst/gststructure.c: (gst_structure_get_type):
17102 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17103 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17105 Help compiler with type registration.
17107 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17110 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17112 * plugins/elements/gsttypefindelement.c:
17113 (gst_type_find_element_handle_event):
17114 When we get an EOS event and have not found a type yet
17115 (most likely because we had not yet accumulated
17116 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17117 type given the data we have so far. Fixes typefinding
17118 for very short streams again, most notably quicktime
17119 redirections as used on Apple's trailer site (#331701).
17121 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17123 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17124 (gst_type_find_helper):
17125 Try typefinding factories with the highest rank first.
17127 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17129 * docs/libs/gstreamer-libs-docs.sgml:
17130 * docs/libs/gstreamer-libs-sections.txt:
17131 * libs/gst/base/gsttypefindhelper.c:
17132 Add section for typefind helper and add documentation
17133 for the old and the new function.
17135 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17137 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17138 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17139 (gst_type_find_helper_for_buffer):
17140 * libs/gst/base/gsttypefindhelper.h:
17141 New API: gst_type_find_helper_for_buffer() (#332723).
17143 2006-02-27 Michael Smith <msmith@fluendo.com>
17145 Patch by: Loïc Minier
17148 * docs/Makefile.am:
17149 * docs/slides/Makefile.am:
17150 prevent CVS directories getting disted.
17152 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17154 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17155 Use the REFCOUNTING category for caps refcounting.
17157 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17159 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17160 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17162 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17164 * plugins/elements/gsttypefindelement.c:
17165 (gst_type_find_element_activate):
17166 Use gst_pad_check_pull_range() before _activate_pull()
17167 to avoid unnecessary open/close (see #331690).
17169 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17172 Docs enhancement: make it crystal clear what the
17173 gst_pad_add_*_probe() callbacks should look like.
17175 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17177 * libs/gst/base/gstbasesrc.c:
17178 Document how applications can stop recording from
17179 live sources (see #330996).
17181 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17183 * tests/check/Makefile.am:
17184 * tests/check/libs/basesrc.c: (eos_event_counter),
17185 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17186 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17187 (gst_basesrc_suite), (main):
17188 ... and add some tests for the base source EOS stuff.
17190 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17192 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17193 Test case originally showed the problem fixed below,
17194 but was then amended. Add checks back at the place
17195 where they used to be.
17197 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17199 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17200 (gst_base_src_init), (gst_base_src_loop),
17201 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17202 (gst_base_src_change_state):
17203 * libs/gst/base/gstbasesrc.h:
17204 Don't unconditionally send EOS when going from PAUSED to
17205 READY state, esp. make sure we don't send two EOS events
17206 in some cases (e.g. one when reaching EOS and one when
17207 going from PAUSED to READY). Also, we don't want to send
17208 EOS events when operating in pull mode. However, we do
17209 want to send an EOS event when shutting down a live
17210 source explicitly, for example (fixes #330996).
17212 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17214 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17215 Update src->read_position after a seek when not using mmap.
17216 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17218 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17224 Make things work with --disable-parse as they do with
17225 --disable-load-save - the symbols involved disappear, but the
17226 header is still installed and GST_DISABLE_PARSE is included via
17229 2006-02-20 Julien MOUTTE <julien@moutte.net>
17231 * libs/gst/base/gstbasetransform.c:
17232 (gst_base_transform_change_state): Fix a stupid bug. I was
17233 sure I compiled that.
17235 2006-02-20 Julien MOUTTE <julien@moutte.net>
17237 * gst/gstpad.c: (gst_pad_set_blocked_async):
17238 * gst/gstutils.c: (gst_pad_add_data_probe),
17239 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17240 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17241 (gst_pad_remove_buffer_probe): Make those function act on the
17242 ghostpad target when it's a ghostpad. (Closes #331727)
17244 2006-02-20 Julien MOUTTE <julien@moutte.net>
17246 * libs/gst/base/gstbasetransform.c:
17247 (gst_base_transform_change_state): Make basetransform reusable.
17250 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17252 * docs/random/release:
17253 Move the current documentation of how to do a release to the top
17256 * gst/gstbin.c: (gst_bin_class_init),
17257 (gst_bin_handle_message_func):
17258 Allow multiple state-recalculation threads. (Closes #328873)
17260 2006-02-19 Julien MOUTTE <julien@moutte.net>
17262 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17263 * gst/gstpad.c: (gst_pad_set_event_function),
17264 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17265 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17266 2 strings. You can't use the STR_NULL macro on that.
17268 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17270 * gst/gstpad.c: (gst_pad_set_event_function),
17271 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17272 (gst_pad_set_getcaps_function)
17273 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17274 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17275 So now, we can use --gst-debug-level=5 on Windows
17276 * win32/common/libgstcontroller.def:
17277 Added export of gst_controller_init
17278 * win32/vs6/libgstcontroller.dsp:
17279 Fixed Release post build configuration
17281 2006-02-17 Wim Taymans <wim@fluendo.com>
17283 * tests/check/gst/gstquery.c: (GST_START_TEST):
17284 Added another check.
17286 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17288 * plugins/elements/gsttypefindelement.c: (find_peek):
17289 We can do peeks at non-zero offsets, as long as they
17290 fall within the buffer we have.
17292 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17294 * tests/check/Makefile.am:
17295 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17296 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17297 (parse_suite), (main):
17298 Add testsuite for parse launch syntax
17300 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17302 * plugins/elements/gsttypefindelement.c:
17303 (gst_type_find_element_chain):
17304 When typefinding is unsuccessful in the chain function, don't
17305 error out immediately. Only error out with NO_CAPS_FOUND if
17306 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17307 otherwise simply wait for more data so we can try typefinding
17308 again with more data later. Also, don't attempt to typefind
17309 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17310 this should improve typefinding from network sources where the
17311 size of the first buffer can be somewhat random.
17313 2006-02-14 Wim Taymans <wim@fluendo.com>
17315 * docs/gst/gstreamer-sections.txt:
17316 * gst/gstpadtemplate.c:
17317 * gst/gstpadtemplate.h:
17318 Fix padtemplate docs, fixes #328805.
17320 2006-02-14 Wim Taymans <wim@fluendo.com>
17322 * tools/gst-launch.c: (main):
17323 NO_PREROLL is not an ERROR so don't send confusing messages
17326 2006-02-14 Wim Taymans <wim@fluendo.com>
17328 Patch by: Torsten Schoenfeld
17330 * gst/gstregistry.c: (gst_registry_get_default),
17331 (_gst_registry_cleanup):
17332 Protect default registry with lock and ref/sink it.
17335 2006-02-14 Wim Taymans <wim@fluendo.com>
17338 * gst/gstquery.c: (gst_query_list_add_format),
17339 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17340 (gst_query_parse_formats_nth):
17341 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17344 2006-02-14 Wim Taymans <wim@fluendo.com>
17346 * docs/gst/gstreamer-sections.txt:
17347 Reworked query docs.
17349 * gst/gstquery.c: (gst_query_new_formats),
17350 (gst_query_list_add_format), (gst_query_set_formats),
17351 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17352 (gst_query_parse_formats_nth):
17354 Flesh out formats query, added some new methods.
17355 Fix part of #324398.
17357 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17358 Added query creation tests.
17360 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17362 * gst/gstpad.c: (fixate_value):
17363 Add a default fixation for fraction lists.
17365 2006-02-13 Wim Taymans <wim@fluendo.com>
17367 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17368 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17371 Detect and warn for obvious deadlocks. fixes #320340
17372 Fix error case where lock was not released.
17374 * tests/check/Makefile.am:
17375 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17376 (task_func), (gst_element_suite), (main):
17379 2006-02-13 Wim Taymans <wim@fluendo.com>
17381 * docs/gst/gstreamer-sections.txt:
17383 Add new functions to docs.
17385 2006-02-13 Wim Taymans <wim@fluendo.com>
17387 * docs/design/part-TODO.txt:
17388 Updated TODO list, basesrc supports seeking to non-bytes
17391 * docs/design/part-element-sink.txt:
17394 * gst/gstbin.c: (bin_replace_message),
17395 (gst_bin_handle_message_func):
17396 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17397 * gst/gstevent.c: (gst_event_finalize):
17398 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17399 (gst_pad_send_event):
17400 Use shiny new _TYPE_NAME macros.
17402 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17403 Move debug statement up.
17405 * gst/gstelement.c: (gst_element_set_locked_state):
17406 Add some debugging.
17408 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17410 * docs/gst/gstreamer-sections.txt:
17411 * gst/gstmessage.h:
17413 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17414 macros (#330906). Also, document the already existing
17415 GST_QUERY_TYPE macro.
17417 2006-02-13 Wim Taymans <wim@fluendo.com>
17419 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17420 (event_probe), (GST_START_TEST):
17421 Only events up to the pipeline EOS are counted, there are
17422 some more when going to NULL currently which we don't care
17425 2006-02-13 Wim Taymans <wim@fluendo.com>
17427 * gst/gstpad.c: (gst_pad_send_event):
17428 Correctly check flushing and emit probes. fixes #330125
17430 2006-02-10 Andy Wingo <wingo@pobox.com>
17432 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17434 (gst_bus_init): Cache the location of the private data in the
17435 instance structure.
17436 (gst_bus_enable_sync_message_emission)
17437 (gst_bus_disable_sync_message_emission): Implement new public
17439 (gst_bus_post): Emit the sync-message signal if the user asked for
17442 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17443 location of the bus-private structure.
17444 (gst_bus_enable_sync_message_emission)
17445 (gst_bus_disable_sync_message_emission): API addition
17447 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17449 Patch by: Vincent Torri
17451 * docs/pwg/building-boiler.xml:
17452 PWG patch from #326800
17454 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17457 * docs/Makefile.am:
17458 * docs/design/Makefile.am:
17461 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17466 === release 0.10.3 ===
17468 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17471 releasing 0.10.3, "Like a virgin"
17473 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17476 2nd prerelease of 0.10.3
17477 Bump libtool versioning.
17479 2006-02-07 Andy Wingo <wingo@pobox.com>
17481 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17482 update last_stop if we're in TIME format and the timestamp is
17485 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17486 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17487 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17488 If we get a new newsegment with a different format, adapt
17491 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17492 of 0. Not a problem, really.
17494 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17497 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17502 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17505 project files updated to the default vs7 configuration
17506 * win32/common/libgstbase.def:
17507 * win32/common/libgstreamer.def:
17509 removed empty lines,
17510 sorted all exported symbols alphabetically
17511 * win32/common/dirent.c:
17512 * win32/common/dirent.h:
17513 * win32/common/gchar.h:
17514 use windows line end.
17516 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17518 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17519 Send EOS event when stopping.
17521 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17524 Tell folks what to do if the plugin-foobar.xml file
17525 hasn't been generated for a newly-added plugin.
17527 2006-02-05 Julien MOUTTE <julien@moutte.net>
17529 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17530 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17531 (gst_collect_pads_start), (gst_collect_pads_stop),
17532 (gst_collect_pads_event): Collectpads now holds a reference
17533 to the GstPad that was added. Indeed we don't want to look
17534 at pads that might just go away with no warning...
17536 2006-02-05 Julien MOUTTE <julien@moutte.net>
17538 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17539 (gst_collect_pads_start), (gst_collect_pads_stop),
17540 (gst_collect_pads_event), (gst_collect_pads_chain):
17541 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17542 Mark Nauwelaerts's patch on bug #328491.
17544 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17546 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17548 Add some simple tests for gst_parse_bin_from_description() and
17549 gst_bin_find_unconnected_pad() (#329069).
17551 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17553 * tools/gst-launch.c: (event_loop), (main):
17554 Catch errors during preroll (#320084).
17556 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17558 * plugins/elements/gsttypefindelement.c:
17559 (gst_type_find_element_activate):
17560 Post TYPE_NOT_FOUND error message when typefinding
17561 is unsuccessful in the activate function as well.
17563 2006-02-02 Wim Taymans <wim@fluendo.com>
17565 * docs/design/part-element-sink.txt:
17568 2006-02-02 Wim Taymans <wim@fluendo.com>
17570 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17571 (gst_base_sink_render_object),
17572 (gst_base_sink_queue_object_unlocked):
17573 Only keep track of prerollable items when we are
17575 Before rendering after preroll, always check if we
17577 Added some more debugging.
17579 2006-02-02 Wim Taymans <wim@fluendo.com>
17581 * gst/gstelement.c: (gst_element_continue_state),
17582 (gst_element_set_state_func), (gst_element_change_state):
17583 Fixed #326576, been running this for quite some time with
17584 no regressions at all.
17586 2006-02-02 Wim Taymans <wim@fluendo.com>
17589 Added more suppressions
17591 2006-02-02 Wim Taymans <wim@fluendo.com>
17593 * docs/design/part-element-sink.txt:
17596 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17597 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17598 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17599 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17600 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17601 (gst_base_sink_preroll_object),
17602 (gst_base_sink_queue_object_unlocked),
17603 (gst_base_sink_queue_object), (gst_base_sink_event),
17604 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17605 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17606 (gst_base_sink_get_position), (gst_base_sink_change_state):
17607 * libs/gst/base/gstbasesink.h:
17608 Totally refactored matching the design doc.
17609 Use two segments, one to clip incomming buffers and another to
17611 Handle queueing correctly, bypass the queue when playing.
17612 Make EOS cancelable.
17613 Handle errors correctly when operating in pull based mode.
17615 * tests/check/elements/fakesink.c: (GST_START_TEST),
17617 Added new check for sinks.
17619 2006-02-02 Wim Taymans <wim@fluendo.com>
17621 * gst/gstsegment.c: (gst_segment_clip):
17622 No reason to refuse to clip when start == -1
17624 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17627 * docs/manual/intro-basics.xml:
17628 * docs/manual/intro-preface.xml:
17629 * docs/manual/manual.xml:
17630 * docs/pwg/advanced-dparams.xml:
17631 * docs/pwg/intro-basics.xml:
17632 * docs/pwg/intro-preface.xml:
17633 * docs/pwg/pwg.xml:
17634 describe dparams (controller) for plugins
17635 unify docs a little more
17637 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17639 * docs/gst/gstreamer-sections.txt:
17640 * gst/gstutils.c: (element_find_unconnected_pad),
17641 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17643 Add new API: gst_parse_bin_from_description() and
17644 gst_bin_find_unconnected_pad() (#329069).
17646 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17648 * docs/manual/README:
17649 uncover a nasty detail of the docs build
17651 2006-01-31 Wim Taymans <wim@fluendo.com>
17653 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17654 Don't cache duration messages if we're not going to use or
17657 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17659 * docs/manual/advanced-dparams.xml:
17660 * docs/pwg/advanced-dparams.xml:
17664 * libs/gst/controller/lib.c: (gst_controller_init):
17667 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17669 * gst/gstelement.c: (gst_element_message_full):
17670 also show file/line/func if no additional debug was given
17672 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17674 * win32/vs7/grammar.vcproj:
17675 activate copy of autogenerated files for Release mode
17677 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17679 * win32/common/libgstreamer.def:
17680 export gst_value_compare
17682 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17684 * plugins/elements/Makefile.am:
17685 * plugins/elements/gstelements.c:
17686 * plugins/elements/gstfdsink.c: (_do_init),
17687 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17688 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17689 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17690 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17691 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17692 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17693 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17694 * plugins/elements/gstfdsink.h:
17695 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17697 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17699 * docs/manual/advanced-dparams.xml:
17700 describe controller
17701 * docs/manual/advanced-position.xml:
17702 * docs/manual/basics-init.xml:
17703 * docs/manual/manual.xml:
17704 * docs/manual/titlepage.xml:
17705 * docs/pwg/pwg.xml:
17706 * docs/pwg/titlepage.xml:
17707 cleanup xml (more to come)
17708 * libs/gst/controller/gstcontroller.c:
17711 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17713 * win32/vs6/grammar.dsp:
17714 add autogen of gstmarshal.c,h for Release mode
17716 2006-01-30 Wim Taymans <wim@fluendo.com>
17718 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17719 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17720 (gst_base_sink_handle_object), (gst_base_sink_event),
17721 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17722 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17723 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17724 (gst_base_sink_deactivate), (gst_base_sink_activate),
17725 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17726 (gst_base_sink_query), (gst_base_sink_change_state):
17727 Basesink cleanups, remove some old code.
17728 Handle the case where a subclass can preroll in the render
17729 method (mostly audiosinks).
17730 Handle more events.
17731 Remove some locks around variables that are now protected
17732 with the PREROLL_LOCK (clock_id, flushing, ..).
17733 Optimize position query some more, do correct locking.
17734 Remove old code to push queue in state change, this is not
17735 needed anymore since preroll blocks on all prerollable items
17737 Almost implemented as described in design doc.
17739 2006-01-30 Wim Taymans <wim@fluendo.com>
17741 * tests/check/gst/gstbin.c: (GST_START_TEST):
17742 Wait for refcount to settle down before checking.
17744 2006-01-30 Wim Taymans <wim@fluendo.com>
17746 * docs/design/part-element-sink.txt:
17747 Pseudo code overview of desired sink behaviour regarding
17750 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17751 * win32/vs6/grammar.dsp:
17752 fix some bugs in Release mode for autogenerated files
17754 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17755 * win32/common/libgstbase.def:
17756 * win32/common/libgstreamer.def:
17757 export some new symbols: gst_base_src_set_format,
17758 gst_iterator_next, gst_structure_set_valist
17760 2006-01-29 Julien MOUTTE <julien@moutte.net>
17762 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17763 Set pad functions unconditionally. Fixes #329105.
17765 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17767 add vs8 project files created by Sergey Scobich
17769 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17771 * gst/gstutils.c: (gst_element_unlink_pads):
17772 Don't leak pad references.
17774 * tests/check/elements/fakesink.c: (GST_START_TEST):
17775 * tests/check/generic/sinks.c: (GST_START_TEST):
17776 * tests/check/generic/states.c: (GST_START_TEST):
17777 * tests/check/gst/gstbin.c: (GST_START_TEST):
17778 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17779 * tests/check/gst/gstelement.c: (GST_START_TEST):
17780 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17781 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17782 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17783 Fix a bunch of leaks. Make generic/sinks.c
17784 use a bit less cpu by slowing the buffer rate
17785 between fakesrc and fakesink.
17787 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17789 * gst/gstelement.c: (gst_element_send_event):
17792 * gst/gstiterator.c:
17793 * gst/gstiterator.h:
17794 * gst/gstpad.c: (gst_pad_send_event):
17795 * gst/gststructure.c:
17799 * libs/gst/base/gstadapter.c:
17800 doc fixes, to link to function, just write gst_cool_function(), don't
17803 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17805 * plugins/elements/gsttee.c: (gst_tee_do_push),
17806 (gst_tee_handle_buffer):
17807 Always prefer an actual return value from a src
17808 pad in place of NOT_LINKED. This means we return
17809 WRONG_STATE when all src pads are WRONG_STATE
17810 instead of NOT_LINKED.
17812 Lock when replacing the last message to prevent
17813 racing with the get_property method.
17817 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17819 * tests/check/Makefile.am:
17820 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17822 Add a very simple check that should have caught the memleak I fixed
17823 last night (if not for the slice allocator hiding it)
17825 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17827 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17828 (gst_bin_remove_func), (gst_bin_handle_message_func),
17829 (bin_query_duration_fold), (bin_query_generic_fold):
17830 Clean up references to the clock provider when disposed or when
17831 handling a clock-lost message from it.
17833 Unref sinks when performing a query via gst_iterator_fold, as the
17834 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17836 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17837 (gst_clock_set_master):
17838 Drop our reference to the master clock, if any, when we are disposed.
17840 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17841 Chain up in dispose.
17843 2006-01-26 Wim Taymans <wim@fluendo.com>
17845 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17846 Add some debugging.
17848 2006-01-26 Julien MOUTTE <julien@moutte.net>
17850 * plugins/elements/gsttee.c: (gst_tee_do_push),
17851 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17852 handles pad being NOT_LINKED or in WRONG_STATE.
17854 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17859 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17862 remove obsolete entry
17864 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17866 * docs/gst/gstreamer-sections.txt:
17867 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17868 (gst_bin_iterate_sources), (gst_bin_send_event):
17870 * gst/gstelement.c: (gst_element_send_event):
17872 * gst/gstpad.c: (gst_pad_send_event):
17873 added code for downstream events, reviewed docs in gstevent.c
17875 2006-01-25 Julien MOUTTE <julien@moutte.net>
17877 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17878 We only query position using the clock in the playing state.
17879 Query peer in the other cases.
17880 * win32/common/config.h: Updates.
17882 2006-01-24 Wim Taymans <wim@fluendo.com>
17884 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17885 A clock entry that is scheduled for the exact time of the
17886 clock is still in time.
17888 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17889 (gst_base_sink_do_sync):
17890 Add some more debug info.
17892 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17895 Add new vs7 project files and solution.
17897 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17900 all files removed as they were out-dated.
17902 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17904 * docs/random/release:
17906 * gst/gstbin.c: (gst_bin_init):
17907 * gst/gstbus.c: (gst_bus_new):
17909 * gst/gstpipeline.c: (gst_pipeline_init):
17910 use gst_bus_new(), improve logging, fix docs
17911 * win32/common/config.h:
17912 update for cvs build
17914 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17917 up required version of automake to 1.7
17919 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17921 * win32/common/libgstreamer.def:
17922 export gst_buffer_is_metadata_writable
17924 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17926 * docs/gst/gstreamer-sections.txt:
17928 Add gst_event_replace() (#327001)
17930 2006-01-20 Wim Taymans <wim@fluendo.com>
17932 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17933 Make it actually compile too..
17935 2006-01-20 Wim Taymans <wim@fluendo.com>
17938 Clarify behaviour of _is_equal() when passing NULL parameters.
17940 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17941 (gst_pad_set_caps):
17942 Cleanups. Don't unref NULL caps.
17943 When setting the same caps, protect caps of the pad with
17945 Use full functionality of _is_equal() when comparing caps.
17947 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17949 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17950 Don't loop infinitely if there are no buffers to present. Partially
17951 fixes #327197, but collectpads is just broken for reusing elements
17952 to do multiple encodes atm.
17954 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17956 * tools/gst-inspect.c: (print_element_features):
17957 * tools/gst-xmlinspect.c: (main):
17958 URL_HANDLER is not a plugin feature we can search for in
17961 2006-01-19 Edward Hervey <edward@fluendo.com>
17963 * gst/gstelement.c: (gst_element_pads_activate):
17964 When activating, do src pads first, then sink pads.
17965 When de-activating, do sink pads first, then src pads.
17967 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17969 * docs/gst/gstreamer-sections.txt:
17970 Add gst_index_add_associationv to the docs
17972 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17977 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17978 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17979 Do some refactoring. Doesn't actually change functionality,
17980 but makes landing the DRAIN event easier later.
17982 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17984 * docs/pwg/advanced-scheduling.xml:
17985 Update from 0.9.x to 0.10 API and make example a bit
17988 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17990 * docs/gst/gstreamer-sections.txt:
17991 Add gst_buffer_(is|make)_metadata_writable methods.
17993 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17995 * docs/design/part-sparsestreams.txt:
17996 Update sparse streams doc, hopefully for greater clarity
17998 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18000 * docs/design/part-events.txt:
18001 Remove mention of FILLER events.
18004 * docs/design/part-sparsestreams.txt:
18005 Write some things about using NEWSEGMENT to keep sparse streams
18008 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18010 * gst/gstbin.c: (gst_bin_dispose):
18011 Guard gst_object_unref call against a NULL object (dispose
18012 can theoretically be called multiple times).
18014 2006-01-18 Wim Taymans <wim@fluendo.com>
18016 * gst/gstbin.c: (gst_bin_element_set_state):
18017 * gst/gstclock.c: (gst_clock_id_wait):
18018 Added some more debug info.
18020 * libs/gst/base/gstadapter.c:
18023 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18024 (gst_base_sink_do_sync), (gst_base_sink_chain):
18025 Added some comments.
18027 2006-01-18 Wim Taymans <wim@fluendo.com>
18029 * tests/check/Makefile.am:
18030 * tests/check/elements/fakesink.c: (chain_async_buffer),
18031 (chain_async), (chain_async_return), (GST_START_TEST),
18032 (fakesink_suite), (main):
18033 Added fakesink test that checks prerolling and clipping
18036 * tests/check/gst/gstutils.c: (GST_START_TEST):
18037 Make check run faster so that buildbots don't timeout.
18039 2006-01-18 Wim Taymans <wim@fluendo.com>
18041 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18042 (gst_base_sink_do_sync):
18044 When the sink finishes blocking on the preroll buffer, it can
18045 immediatly render it instead of rendering when the next buffer
18048 2006-01-18 Wim Taymans <wim@fluendo.com>
18050 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18051 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18052 (gst_base_sink_chain):
18054 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18055 Don't store _last_stop if the buffer is dropped.
18057 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18059 * plugins/elements/gsttypefindelement.c:
18060 (gst_type_find_element_class_init):
18061 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18062 object method handler that sets the caps on the pad and we want
18063 that to happen before we emit the signal (fixes e.g. feeding a
18064 plain text file to decodebin).
18066 2006-01-18 Christian Schaller <Christian@fluendo.com>
18068 * gst/gstplugin.c: Add MPL and Proprietary as license options
18070 2006-01-18 Andy Wingo <wingo@pobox.com>
18072 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18073 symbol was exported before, it appears this was just an oversight.
18075 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18077 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18078 prototype to gint. OK since this prototype was not in the header.
18080 2006-01-17 Andy Wingo <wingo@pobox.com>
18082 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18083 registry while we remove plugins.
18085 * tools/gst-inspect.c (print_element_info): Don't unref the
18086 factory arg, that should be the responsibility of whatever code
18087 received the ref. Fixes a double-free when called from
18088 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18089 (main): Unref the factory if we have one.
18090 (print_element_list): No change -- relies on the
18091 plugin_feature_list_free to free the list of features.
18093 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18095 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18096 (gst_buffer_make_metadata_writable):
18098 * libs/gst/base/gstbasetransform.c:
18099 (gst_base_transform_prepare_output_buf):
18100 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18101 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18102 Replace gst_buffer_(make|is)_metadata_writable patch now
18103 that the release is out.
18105 2006-01-17 Andy Wingo <wingo@pobox.com>
18107 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18108 in the present tense without reference to versions.
18110 * gst/gstregistry.c (gst_registry_add_plugin)
18111 (gst_registry_remove_plugin, gst_registry_remove_feature)
18112 (gst_registry_find_feature, gst_registry_get_feature_list)
18113 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18114 (gst_registry_lookup, gst_registry_scan_path)
18115 (_gst_registry_remove_cache_plugins)
18116 (gst_registry_get_feature_list_by_plugin): Add argument
18119 === release 0.10.2 ===
18121 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18124 releasing 0.10.2, "If man is five"
18126 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18130 * libs/gst/base/gstbasetransform.c:
18131 (gst_base_transform_prepare_output_buf):
18132 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18133 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18134 Back out patch until after the release.
18136 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18138 * gst/gstminiobject.c:
18139 Spelling fix in docs.
18140 * ChangeLog - remove conflict indicator
18142 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18144 Reviewed By: Andy Wingo
18146 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18147 (gst_buffer_make_metadata_writable):
18149 Add gst_buffer_(is|make)_metadata_writable as analogues of
18150 gst_buffer_(is|make)_writable.
18152 * libs/gst/base/gstbasetransform.c:
18153 (gst_base_transform_prepare_output_buf):
18154 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18155 Use name gst_buffer_(is|make)_metadata_writable functions.
18157 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18158 Test gst_buffer_(is|make)_metadata_writable
18162 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18164 * docs/manual/Makefile.am:
18165 don't do parallel make
18168 * win32/common/config.h.in:
18169 add generations for HOST_CPU and GST_MAJORMINOR
18170 * win32/common/config.h:
18171 commit generated result
18173 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18175 * docs/manual/appendix-integration.xml:
18176 Update GNOME integration section to use gst_init_get_option_group()
18177 instead of the old popt stuff (#322911). Also, GNOME applications
18178 should now use gconf*sink and gconf*src instead of the old gconf
18181 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18184 * docs/gst/gstreamer-docs.sgml:
18185 * docs/gst/gstreamer-sections.txt:
18186 * docs/libs/gstreamer-libs-sections.txt:
18187 add new API entries to the docs
18188 * libs/gst/controller/Makefile.am:
18189 * libs/gst/controller/gstcontroller.c:
18190 * libs/gst/controller/gstcontroller.h:
18191 * libs/gst/controller/gstcontrollerprivate.h:
18192 * libs/gst/controller/gsthelper.c:
18193 * libs/gst/controller/gstinterpolation.c:
18194 move private structs to private header
18196 gstreamer-0.7 -> gstreamer-0.10
18197 * tests/check/libs/struct_i386.h:
18198 remove private structs
18200 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18202 * plugins/indexers/Makefile.am:
18203 Fixes as part of #317048
18205 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18207 * plugins/indexers/Makefile.am:
18208 fix #316086 - compilation when mmap is missing
18210 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18212 * libs/gst/base/gstbasesink.c:
18213 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18214 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18215 * win32/common/config.h:
18216 added some defines GST_MAJORMINOR and HOST_CPU
18217 * win32/common/libgstbase.def:
18218 * win32/common/libgstreamer.def:
18219 added some exported functions.
18221 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18223 * libs/gst/controller/gstcontroller.c:
18224 (gst_controlled_property_set_interpolation_mode),
18225 (gst_controlled_property_new):
18226 * libs/gst/controller/gstcontroller.h:
18227 * libs/gst/controller/gstinterpolation.c:
18228 (interpolate_none_get_string_value_array):
18229 make G_TYPE_STRING controlable
18231 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18234 * tools/gst-feedback.1.in:
18235 * tools/gst-inspect.1.in:
18236 * tools/gst-launch.1.in:
18237 * tools/gst-md5sum.1.in:
18238 * tools/gst-typefind.1.in:
18239 * tools/gst-xmlinspect.1.in:
18240 * tools/gst-xmllaunch.1.in:
18241 cleanup man-pages, remove reference to gst-register, document env-vars
18243 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18245 * gst/gstbuffer.c: (gst_buffer_span):
18246 gst_buffer_span should copy the timestamp of the first buffer
18247 if they were both originally overlapping subbuffers of the
18248 same parent, using the same logic as the 'slow copy' case.
18250 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18252 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18253 Need to awaken ALL the pads when we pop a buffer, otherwise
18254 collectpads only works when there is 2 input streams.
18256 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18258 * docs/random/ensonic/media-device-daemon.txt:
18261 fix doc example, add clarification
18262 * tools/gst-launch.1.in:
18263 add initial info about GST_PLUGIN_PATH, needs more work
18265 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18267 * docs/manual/basics-bins.xml:
18268 * docs/manual/basics-elements.xml:
18269 * docs/manual/intro-basics.xml:
18270 Some more minor docs additions and updates.
18272 2006-01-11 Wim Taymans <wim@fluendo.com>
18274 * docs/manual/basics-bins.xml:
18275 * docs/manual/basics-elements.xml:
18276 Some small fixes as pointed out by Ser-ver on IRC.
18278 2006-01-10 Edward Hervey <edward@fluendo.com>
18280 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18281 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18282 the single-segment mode.
18284 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18286 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18288 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18289 (gst_base_src_perform_seek), (gst_base_src_send_event),
18290 (gst_base_src_set_property), (gst_base_src_get_property),
18291 (gst_base_src_loop), (gst_base_src_start),
18292 (gst_base_src_activate_push):
18293 * libs/gst/base/gstbasesrc.h:
18294 Name (private) union; makes Sun's Forte compiler happy (#324900).
18296 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18299 gst-register is gone.
18301 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18303 * gst/gstvalue.c: (_gst_value_initialize):
18304 make the G_TYPE_DATE instantiation work if debug is disabled
18306 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18308 * gst/gstmessage.c: (gst_message_parse_tag),
18309 (gst_message_parse_error), (gst_message_parse_warning):
18310 Don't crash when return location for error/warning debug
18311 string is NULL; add fact that return locations can be
18312 NULL to docs where appropriate.
18314 2006-01-05 Wim Taymans <wim@fluendo.com>
18316 * gst/gstplugin.c: (gst_plugin_load_file):
18317 Replace strdup by g_strdup.
18319 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18321 * docs/pwg/advanced-types.xml:
18324 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18326 submitted by: Abel Cheung
18330 Added Chinese (traditional) translation
18332 2006-01-04 Wim Taymans <wim@fluendo.com>
18334 * docs/manual/basics-pads.xml:
18335 * docs/plugins/Makefile.am:
18336 * docs/plugins/gstreamer-plugins-docs.sgml:
18337 * docs/plugins/gstreamer-plugins-sections.txt:
18338 * docs/pwg/advanced-clock.xml:
18339 * docs/pwg/advanced-scheduling.xml:
18340 * docs/pwg/advanced-types.xml:
18341 * plugins/elements/gstfdsink.c:
18342 * plugins/elements/gstfdsrc.c:
18343 * plugins/elements/gstfdsrc.h:
18344 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18345 * plugins/elements/gstidentity.h:
18346 * plugins/elements/gstqueue.h:
18347 * plugins/elements/gsttee.c:
18348 * plugins/elements/gsttee.h:
18349 * plugins/elements/gsttypefindelement.c:
18350 (gst_type_find_element_class_init):
18351 * plugins/elements/gsttypefindelement.h:
18352 Small updates to various docs.
18353 Added core plugins to docs.
18355 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18358 add a suppression for liboil's uninitialized variable
18360 2006-01-02 James Livingston <jrl at ids dot org dot au>
18362 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18365 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18366 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18367 compiler switch is being used (#325429).
18369 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18371 * gst/gstbin.c: (gst_bin_query):
18372 Disable duration query caching in bins until it gets
18373 fixed (see #324807).
18375 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18377 * tools/gst-inspect.c: (print_element_properties_info):
18378 Handle properties of POINTER and BOXED type.
18380 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18382 * gst/gst.c: (init_post):
18383 Init tags stuff and some other things before loading
18384 any static plugins (there may be other static plugins
18385 than just the GStreamer ones, and they may want to
18386 register their own tags or formats or whatever, and
18387 preferably without segfaulting).
18389 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18390 Print at least a warning in the debug logs if we drop a
18391 query just because we don't know how to adjust the value
18392 in the particular format.
18394 2005-12-24 David Schleef <ds@schleef.org>
18396 * tools/gstreamer-completion:
18397 Replacement for gst-complete written in sh and sed. Only
18398 completes names of features, but that's 90% of what I want
18399 it for. Properties are not available in registry.xml. (Maybe
18402 === release 0.10.1 ===
18404 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18407 releasing 0.10.1, "Nollaig chridheil"
18409 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18411 * docs/faq/cvs.xml:
18412 Add missing quote, should be make ERROR_CFLAGS="".
18414 2005-12-20 Wim Taymans <wim@fluendo.com>
18416 * docs/design/part-trickmodes.txt:
18417 More documentation on trickmodes.
18419 2005-12-20 Edward Hervey <edward@fluendo.com>
18421 * gst/gstcaps.c: (gst_static_caps_get_type):
18423 API addition: GST_TYPE_STATIC_CAPS
18424 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18425 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18426 * gst/gstpadtemplate.h:
18427 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18428 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18431 2005-12-18 Wim Taymans <wim@fluendo.com>
18433 * libs/gst/base/gstadapter.c:
18434 * libs/gst/base/gstadapter.h:
18435 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18436 (gst_base_sink_get_position):
18437 * libs/gst/base/gstbasesink.h:
18438 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18439 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18440 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18441 (gst_base_src_send_event), (gst_base_src_update_length),
18442 (gst_base_src_get_range), (gst_base_src_loop),
18443 (gst_base_src_start):
18444 * libs/gst/base/gstbasesrc.h:
18445 * libs/gst/base/gstbasetransform.h:
18446 * libs/gst/base/gstcollectpads.h:
18447 * libs/gst/base/gstpushsrc.c:
18448 * libs/gst/base/gstpushsrc.h:
18449 * libs/gst/dataprotocol/dataprotocol.c:
18450 * libs/gst/dataprotocol/dataprotocol.h:
18451 * libs/gst/net/gstnetclientclock.h:
18452 * libs/gst/net/gstnettimeprovider.h:
18453 Documentation updates.
18455 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18457 * docs/manual/basics-helloworld.xml:
18458 Remove superfluous closing bracket in helloworld example.
18460 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18462 * tools/gst-launch.1.in:
18463 Update gst-launch man page; add a section with useful
18464 environment variables. Fixes #323882.
18466 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18469 * gst/gst_private.h:
18470 change some char* into char[]
18472 2005-12-16 Wim Taymans <wim@fluendo.com>
18474 * gst/gstregistryxml.c: (load_feature):
18476 Don't use g_object_unref on GstObjects so that we avoid
18477 leaks on unsafe glibs.
18479 2005-12-16 Wim Taymans <wim@fluendo.com>
18481 * gst/gstbin.c: (gst_bin_recalc_state):
18484 2005-12-16 Wim Taymans <wim@fluendo.com>
18486 * common/check.mak:
18487 Added make forever target for check.
18489 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18491 * gst/gst.c: (init_post):
18492 make the registry cache file HOST_CPU-dependent
18494 2005-12-16 Andy Wingo <wingo@pobox.com>
18496 * plugins/elements/gstbufferstore.c
18497 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18500 * tests/check/gst/gstobject.c
18501 (test_fake_object_name_threaded_unique): Pay attention to
18502 g_list_sort return value.
18504 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18506 * tools/gst-feedback-m.m:
18507 Update for 0.9/0.10 (fixes #323870).
18509 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18511 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18512 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18514 * tests/check/gst/gstminiobject.c: (my_foo_init),
18515 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18516 (test_value_collection), (gst_mini_object_suite):
18517 Add test to ensure refcounts end up as expected when passing
18518 GstMiniObjects through g_object_get() and g_object_set().
18520 2005-12-14 Julien MOUTTE <julien@moutte.net>
18522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18523 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18524 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18525 of collectpads. This version removes a lot of races without
18526 touching API/ABI. Yay !
18528 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18530 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18531 Don't allow activation of a srcpad in pull_range if it has no
18533 Change some debug statements to be a little clearer
18535 * plugins/elements/gsttypefindelement.c:
18536 (gst_type_find_handle_src_query):
18537 Check that we have a peer before executing queries thereupon.
18539 * tests/examples/metadata/read-metadata.c: (message_loop):
18540 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18541 immediately return us any available message with 0 timeout.
18543 2005-12-12 Michael Smith <msmith@fluendo.com>
18545 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18546 Don't unref factories after calling them.
18547 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18548 * plugins/elements/gsttypefindelement.c:
18549 (gst_type_find_element_chain):
18550 Free lists of factories after using them. Fixing typefinding memory
18553 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18555 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18556 (gst_plugin_feature_load):
18557 more meaningful debug output
18559 * tests/Makefile.am:
18560 * tests/old/examples/Makefile.am:
18561 make make distcheck happy again
18563 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18565 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18566 Catch the special case where we are operating chain-based,
18567 but the downstream peer pad has no chain function. Emit a
18568 custom error message in this case instead of letting the
18569 core generate one implying that this is some sort of core
18570 bug. It's not, it just means that whatever got plugged
18571 into the pipeline downstream when we announced the type
18572 can only operate pull-based, while our source can only
18573 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18574 Error string has not been marked for translation yet, as
18575 it probably needs some more work first.
18577 (gst_type_find_element_get_best_possibility):
18578 Add helper function to find the best of all available
18579 found possibilities that qualify given the min. threshold.
18581 (gst_type_find_element_handle_event):
18582 Fix the case where we get an EOS while still in TYPEFIND
18583 mode (we want to chose the best of all possible types,
18584 not just the first type that happens to be in our unsorted
18585 list of possible types).
18587 (gst_type_find_element_chain):
18588 Make sure we return GST_FLOW_ERROR when we errored out
18589 in stop_typefinding(); also, don't just find the best of
18590 all found type entries and then use the last examined
18591 type entry, but actually use the best entry.
18593 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18595 * tests/examples/typefind/typefind.c: (type_found):
18596 * tests/examples/xml/runxml.c: (xml_loaded):
18597 More gcc4 fixes and a mem leak fix.
18599 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18601 * tests/examples/xml/createxml.c: (object_saved):
18604 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18606 * tests/Makefile.am:
18607 enable the examples even more
18609 2005-12-12 Andy Wingo <wingo@pobox.com>
18611 * libs/gst/net/gstnettimeprovider.c
18612 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18613 (gst_net_time_provider_set_property)
18614 (gst_net_time_provider_get_property):
18615 API addition: Export "active" as a GObject property.
18616 (gst_net_time_provider_thread): Only respond to time queries if
18617 the time provider is active.
18619 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18620 NetTimeProvider, preserving binary compat.
18622 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18624 * tests/examples/controller/audio-example.c: (main):
18625 * tests/examples/launch/Makefile.am:
18626 convert comments again
18628 2005-12-12 Wim Taymans <wim@fluendo.com>
18630 * libs/gst/base/gstpushsrc.c:
18633 2005-12-12 Wim Taymans <wim@fluendo.com>
18635 * docs/libs/gstreamer-libs-sections.txt:
18636 Added new symbol to docs.
18638 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18639 (gst_base_src_init), (gst_base_src_set_format),
18640 (gst_base_src_default_query), (gst_base_src_query),
18641 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18642 (gst_base_src_perform_seek), (gst_base_src_send_event),
18643 (gst_base_src_default_event), (gst_base_src_event_handler),
18644 (gst_base_src_set_property), (gst_base_src_get_property),
18645 (gst_base_src_wait), (gst_base_src_do_sync),
18646 (gst_base_src_update_length), (gst_base_src_get_range),
18647 (gst_base_src_check_get_range), (gst_base_src_loop),
18648 (gst_base_src_default_negotiate), (gst_base_src_start),
18649 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18650 (gst_base_src_change_state):
18651 * libs/gst/base/gstbasesrc.h:
18652 Implement seeking to other formats than _BYTES.
18653 Implement more seeking methods correctly.
18655 Added query vmethod.
18656 Added do_seek vmethod to make life easier for subclasses
18658 API addition: gst_base_src_set_format()
18660 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18662 * tests/examples/Makefile.am:
18665 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18668 * docs/random/ensonic/media-device-daemon.txt:
18669 * tests/examples/controller/.cvsignore:
18670 * tests/examples/controller/Makefile.am:
18671 * tests/examples/controller/audio-example.c: (main):
18672 * tests/examples/helloworld/.cvsignore:
18673 * tests/examples/helloworld/Makefile.am:
18674 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18675 * tests/examples/launch/.cvsignore:
18676 * tests/examples/launch/Makefile.am:
18677 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18678 * tests/examples/metadata/.cvsignore:
18679 * tests/examples/metadata/Makefile.am:
18680 * tests/examples/metadata/read-metadata.c: (message_loop),
18681 (make_pipeline), (print_tag), (main):
18682 * tests/examples/queue/.cvsignore:
18683 * tests/examples/queue/Makefile.am:
18684 * tests/examples/queue/queue.c: (event_loop), (main):
18685 * tests/examples/typefind/.cvsignore:
18686 * tests/examples/typefind/Makefile.am:
18687 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18689 * tests/examples/xml/.cvsignore:
18690 * tests/examples/xml/Makefile.am:
18691 * tests/examples/xml/createxml.c: (object_saved), (main):
18692 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18693 * tests/old/examples/Makefile.am:
18694 * tests/old/examples/TODO:
18695 * tests/old/examples/controller/.cvsignore:
18696 * tests/old/examples/controller/Makefile.am:
18697 * tests/old/examples/controller/audio-example.c:
18698 * tests/old/examples/helloworld/.cvsignore:
18699 * tests/old/examples/helloworld/Makefile.am:
18700 * tests/old/examples/helloworld/helloworld.c:
18701 * tests/old/examples/launch/.cvsignore:
18702 * tests/old/examples/launch/Makefile.am:
18703 * tests/old/examples/launch/mp3parselaunch.c:
18704 * tests/old/examples/launch/mp3play:
18705 * tests/old/examples/manual/Makefile.am:
18706 * tests/old/examples/metadata/Makefile.am:
18707 * tests/old/examples/metadata/read-metadata.c:
18708 * tests/old/examples/queue/.cvsignore:
18709 * tests/old/examples/queue/Makefile.am:
18710 * tests/old/examples/queue/queue.c:
18711 * tests/old/examples/typefind/.cvsignore:
18712 * tests/old/examples/typefind/Makefile.am:
18713 * tests/old/examples/typefind/typefind.c:
18714 * tests/old/examples/xml/.cvsignore:
18715 * tests/old/examples/xml/Makefile.am:
18716 * tests/old/examples/xml/createxml.c:
18717 * tests/old/examples/xml/runxml.c:
18718 applied some simple fixing to some examples
18719 re-enabled the working examples
18721 2005-12-12 Wim Taymans <wim@fluendo.com>
18723 * gst/gstsegment.c: (gst_segment_init),
18724 (gst_segment_set_last_stop), (gst_segment_set_seek),
18725 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18726 (gst_segment_to_running_time):
18727 Added more documentation.
18728 Make sure the last_pos value is updated properly.
18729 Make sure to_stream_time and to_running_time don't
18730 operate on wrong values.
18732 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18735 2005-12-12 Michael Smith <msmith@fluendo.com>
18737 * plugins/elements/gsttypefindelement.c: (free_entry),
18738 (gst_type_find_element_chain):
18739 Now that we're not leaking factories, make sure we keep references
18740 to them while we need them.
18742 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18744 * tests/check/gst/struct_i386.h:
18745 ifdef out the XML structs
18747 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18749 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18750 floor is not needed, F is always positive; this obviates the
18751 need for adding -lm when building without libxml
18753 2005-12-12 Wim Taymans <wim@fluendo.com>
18755 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18756 Take current playback rate into account when reporting
18759 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18761 * docs/manual/mime-world.fig:
18762 Let's try this again, this time with a file that is
18763 actually in XFig format.
18765 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18767 * docs/manual/mime-world.fig:
18768 Add audioconvert element to diagram so that it
18769 matches the text and the code (fixes #319526).
18771 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18773 * docs/pwg/building-chainfn.xml:
18774 * docs/pwg/building-pads.xml:
18775 * docs/pwg/building-state.xml:
18776 * docs/pwg/other-source.xml:
18777 Update state change stuff for 0.10 (fixes #322969).
18779 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18781 * docs/manual/advanced-dataaccess.xml:
18782 * docs/manual/appendix-checklist.xml:
18783 * docs/manual/appendix-programs.xml:
18784 * docs/manual/basics-pads.xml:
18785 * docs/manual/highlevel-components.xml:
18786 * docs/manual/manual.xml:
18787 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18788 add converters in front of pipelines; remove curly
18789 brackets for threads stuff, they no longer exist; use
18790 GST_TYPE_FRACTION for framerates; update some pieces of
18791 code to 0.10, but there's plenty more to do.
18793 * docs/manual/appendix-porting.xml:
18794 Expand on asynchroneous state changes; s/0.9/0.10/;
18795 mention disappearance of gst_init_get_popt_table()
18798 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18800 * docs/faq/using.xml:
18801 Spider no longer exists, and neither does gst-launch-ext.
18802 Update examples to use decodebin and playbin and put
18803 converters in front of sinks (fixes #323726).
18805 2005-12-09 Michael Smith <msmith@fluendo.com>
18807 * plugins/elements/gsttypefindelement.c: (find_peek),
18808 (gst_type_find_element_chain):
18809 Fix leaking element factories in typefinding.
18810 Fix problem where we forgot about a probable type on non-seekable
18811 files, and thus later mis-typefound it.
18813 2005-12-09 Michael Smith <msmith@fluendo.com>
18815 * common/m4/gst-makecontext.m4:
18816 * common/m4/gst-mcsc.m4:
18818 * win32/common/config.h:
18819 * win32/common/config.h.in:
18820 Remove makecontext stuff; not used in 0.10 and causes problems on
18821 HPUX according to bug #322441
18823 2005-12-07 Wim Taymans <wim@fluendo.com>
18825 * tests/check/Makefile.am:
18826 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18828 * tests/check/libs/struct_i386.h:
18829 Added ABI check for libs
18831 2005-12-07 Wim Taymans <wim@fluendo.com>
18833 * tests/check/Makefile.am:
18834 And add the struct_i386.h to dist.
18836 2005-12-07 Wim Taymans <wim@fluendo.com>
18838 * tests/check/Makefile.am:
18839 * tests/check/gst/.cvsignore:
18840 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18842 * tests/check/gst/struct_i386.h:
18843 Added check for ABI compatibility.
18845 2005-12-07 Wim Taymans <wim@fluendo.com>
18847 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18848 (gst_fake_src_get_times), (gst_fake_src_create):
18849 Fix broken sync option, fixes #323259
18851 2005-12-07 Wim Taymans <wim@fluendo.com>
18856 * gst/gstcaps.c: (gst_caps_is_equal):
18857 Don't assert on NULL <--> X. Fixes #323260
18859 * gst/gstminiobject.c: (gst_mini_object_replace):
18860 If we're doing atomic operations, we might just as well use
18861 the proper way to get an atomic pointer.
18863 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18864 Clean up debugging.
18866 2005-12-07 Michael Smith <msmith@fluendo.com>
18868 * gst/parse/grammar.y:
18869 Remove handling of { } for threads.
18871 2005-12-06 David Schleef <ds@schleef.org>
18873 * libs/gst/base/gstbasetransform.c: speling fix.
18875 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18877 * docs/libs/tmpl/gstdataprotocol.sgml:
18878 * docs/random/omega/testing/gstobject.c:
18881 * gst/gstelement.c:
18882 * gst/gstelementfactory.c:
18885 * gst/gstghostpad.c:
18887 * gst/gstpadtemplate.c:
18888 * gst/gstregistryxml.c:
18889 * gst/gsttaglist.c:
18890 * gst/gsttagsetter.c:
18891 * gst/gsttypefind.c:
18893 * libs/gst/base/gstbasesrc.c:
18894 * libs/gst/net/gstnetclientclock.c:
18895 * libs/gst/net/gstnettimeprovider.c:
18896 * plugins/elements/gstfakesrc.c:
18897 * plugins/elements/gstfdsrc.c:
18898 * plugins/elements/gstfilesrc.c:
18899 * plugins/elements/gstidentity.c:
18900 * plugins/elements/gstqueue.c:
18901 * plugins/elements/gsttypefindelement.c:
18902 * plugins/indexers/gstfileindex.c:
18903 * plugins/indexers/gstmemindex.c:
18904 * tests/check/gst/gsttag.c:
18905 * tests/old/examples/cutter/cutter.c:
18906 * tests/old/examples/mixer/mixer.c:
18907 * tests/old/examples/xml/runxml.c: (main):
18908 * tests/old/testsuite/caps/normalisation.c:
18909 * tests/old/testsuite/debug/global.c:
18910 * tests/old/testsuite/parse/parse1.c:
18911 * tools/gst-xmlinspect.c:
18912 * win32/common/dirent.c:
18915 === release 0.10.0 ===
18917 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18920 releasing 0.10.0, "Maroilles"
18922 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18924 submitted by: Funda Wang <fundawang@linux.net.cn>
18928 added Chinese (Traditional) translation
18930 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18932 * docs/gst/gstreamer-sections.txt:
18933 * docs/libs/tmpl/gstdataprotocol.sgml:
18934 * docs/random/thomasvs/TODO:
18939 2005-12-05 Andy Wingo <wingo@pobox.com>
18941 patch by: Wim Taymans <wim@fluendo.com>
18943 * libs/gst/base/gstbasetransform.c
18944 (gst_base_transform_prepare_output_buf)
18945 (gst_base_transform_buffer_alloc):
18946 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18947 alloc_buffer_and_set_caps.
18949 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18950 set_caps on the source pad.
18951 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18952 alloc_buffer used to do. Fixes #322874.
18954 * docs/gst/gstreamer-sections.txt:
18955 * docs/design/part-negotiation.txt:
18956 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18959 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18961 patch by: Sebastien Moutte
18964 * win32/common/config.h.in:
18965 * win32/vs6/libgstcontroller.dsp:
18968 2005-12-05 Wim Taymans <wim@fluendo.com>
18970 * gst/gstcaps.c: (gst_caps_is_equal):
18971 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18972 (gst_fake_src_create):
18973 Back out previous code changes, leave doc updates, file bugs
18976 2005-12-05 Wim Taymans <wim@fluendo.com>
18978 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18979 (gst_fake_src_get_times), (gst_fake_src_create):
18980 * plugins/elements/gstfakesrc.h:
18981 Fix broken sync code.
18983 2005-12-05 Wim Taymans <wim@fluendo.com>
18985 * gst/gstcaps.c: (gst_caps_is_equal):
18986 Comparing NULL against !NULL yields different caps, not a
18989 2005-12-05 Wim Taymans <wim@fluendo.com>
18991 * gst/gstpipeline.c:
18992 Fix small typo in docs.
18994 2005-12-05 Andy Wingo <wingo@pobox.com>
18996 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18998 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18999 registries/plugins with a MAJORMINOR one.
19000 (plugin_desc): Rename library from gstcoreleements to
19001 staticelements. Fixes #323222.
19003 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19005 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19006 Change debug category to 'collectpads' from 'collect_pads'
19009 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19011 patch by: Sebastien Moutte
19013 * libs/gst/controller/gstinterpolation.c:
19014 use convert function for uint64/double
19015 * win32/vs6/libgstcontroller.dsp:
19018 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19020 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19021 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19023 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19024 add tests that seem to show that the guint64/gdouble conversions
19027 2005-12-02 Wim Taymans <wim@fluendo.com>
19029 * gst/gstregistry.c: (gst_registry_add_path):
19030 * gst/gstregistry.h:
19031 * gst/gstregistryxml.c:
19034 2005-12-02 Wim Taymans <wim@fluendo.com>
19036 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19037 (gst_util_uint64_scale_int):
19040 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19041 Add debug log line.
19043 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19046 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19049 * win32/common/config.h:
19050 * win32/vs6/gstreamer.dsw:
19051 * win32/vs6/libgstcoreelements.dsp:
19052 * win32/vs6/libgstelements.dsp:
19053 renamed core elements plugin
19055 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19057 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19059 do piece-wise major/minor comparison so 0.9 < 0.10
19060 also allow .exe extensions for tools
19062 2005-12-02 Michael Smith <msmith@fluendo.com>
19065 Escape a % to make gtkdoc happier; bug 322958.
19067 === release 0.9.7 ===
19069 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19072 releasing 0.9.7, "My Dog Has No Nose"
19074 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19076 * common/gst-xmlinspect.py:
19078 * docs/libs/tmpl/gstdataprotocol.sgml:
19079 * docs/random/release:
19098 * win32/common/config.h:
19099 * win32/common/config.h.in:
19100 * win32/vs6/gst_inspect.dsp:
19101 * win32/vs6/gst_launch.dsp:
19102 * win32/vs6/libgstbase.dsp:
19103 * win32/vs6/libgstelements.dsp:
19104 * win32/vs6/libgstreamer.dsp:
19105 * win32/vs7/GStreamer.vcproj:
19106 * win32/vs7/gst-inspect.vcproj:
19107 * win32/vs7/gst-launch.vcproj:
19108 * win32/vs7/libgstbase.vcproj:
19109 bump GST_MAJORMINOR to 0.10
19110 reset libtool version
19112 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19116 Added Bulgarian translation by (Alexander Shopov)
19118 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19120 * tests/check/gst/gstplugin.c:
19123 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19125 * common/gst-xmlinspect.py:
19126 * common/gtk-doc-plugins.mak:
19128 * docs/Makefile.am:
19129 * docs/gst/Makefile.am:
19130 * docs/gst/gstreamer-docs.sgml:
19131 * docs/gst/gstreamer-sections.txt:
19132 * docs/gst/gstreamer.types:
19133 * docs/gst/gstreamer.types.in:
19134 * docs/plugins/Makefile.am:
19135 * docs/plugins/gstreamer-plugins-docs.sgml:
19136 * docs/plugins/gstreamer-plugins-sections.txt:
19137 * docs/plugins/gstreamer-plugins.types:
19138 * docs/plugins/inspect.stamp:
19139 * docs/plugins/inspect/plugin-coreelements.xml:
19140 * docs/plugins/inspect/plugin-coreindexers.xml:
19141 * docs/plugins/scanobj-build.stamp:
19142 * gstreamer.spec.in:
19143 * plugins/elements/Makefile.am:
19144 * plugins/elements/gstelements.c:
19145 * plugins/elements/gstfakesink.c:
19146 * plugins/elements/gstfakesrc.c:
19147 * plugins/elements/gstfilesink.c:
19148 * plugins/elements/gstfilesrc.c:
19149 * plugins/elements/gstqueue.c:
19150 * plugins/indexers/Makefile.am:
19151 * plugins/indexers/gstindexers.c:
19152 document core plugins in a separate document just like all the
19154 rename these plugins to something starting with core
19156 2005-12-01 Andy Wingo <wingo@pobox.com>
19158 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19159 padding here before, but it missed the commit.
19161 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19163 * libs/gst/controller/gstinterpolation.c:
19164 whitespace prices have crashed, we should feel free to use some now
19165 use gst_guint64_to_gdouble
19167 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19169 * libs/gst/controller/gstcontroller.c:
19170 * libs/gst/controller/gsthelper.c:
19171 * libs/gst/controller/gstinterpolation.c:
19172 * libs/gst/controller/lib.c:
19173 wrap config.h include
19175 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * docs/gst/gstreamer-sections.txt:
19180 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19182 * plugins/elements/gstelements.c:
19183 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19184 (gst_fd_sink__class_init), (gst_fd_sink__init),
19185 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19186 (gst_fd_sink__get_property):
19187 * plugins/elements/gstfdsink.h:
19188 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19189 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19190 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19191 (gst_fd_src_unlock), (gst_fd_src_set_property),
19192 (gst_fd_src_get_property), (gst_fd_src_create),
19193 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19194 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19195 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19196 (gst_fd_src_uri_handler_init):
19197 * plugins/elements/gstfdsrc.h:
19198 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19201 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19203 * docs/gst/Makefile.am:
19204 * docs/gst/gstreamer.types.in:
19208 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19214 * gst/gstregistry.h:
19215 * tests/benchmarks/complexity.c:
19216 * tests/benchmarks/mass-elements.c:
19217 * tests/check/Makefile.am:
19218 * tools/Makefile.am:
19219 * tools/gst-inspect.c:
19220 * tools/gst-xmlinspect.c:
19221 various fixes to make
19222 --disable-nls --disable-registry --disable-loadsave
19223 --disable-parse --disable-gst-debug
19224 work and get the core .so down to 360444 bytes after stripping
19226 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19231 * docs/random/thomasvs/TODO:
19232 * tests/Makefile.am:
19236 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19238 * win32/GStreamer.vcproj:
19241 * win32/Makefile.inspect:
19242 * win32/Makefile.launch:
19243 * win32/Makefile.register:
19244 * win32/README.txt:
19245 * win32/gst-inspect.vcproj:
19246 * win32/gst-launch.vcproj:
19247 * win32/gst-register.vcproj:
19248 * win32/gstelements.vcproj:
19249 * win32/gstgetbits.def:
19250 * win32/gstgetbits.vcproj:
19251 * win32/gstreamer-dbg.def:
19252 * win32/gstreamer.def:
19253 * win32/libgstbase.def:
19254 * win32/libgstbase.vcproj:
19255 * win32/link_oldruntime.c:
19259 * win32/msvc71.sln:
19260 move even more stuff, win32/ is nice and clean now
19262 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * libs/gst/control/.cvsignore:
19269 * win32/gstbytestream.def:
19270 * win32/gstbytestream.vcproj:
19271 * win32/gstconfig.h:
19272 * win32/gstenumtypes.c:
19273 * win32/gstenumtypes.h:
19274 * win32/gstoptimalscheduler.vcproj:
19275 * win32/gstversion.h:
19277 * win32/testsuite/bins.vcproj:
19278 * win32/testsuite/bytestream.vcproj:
19279 * win32/testsuite/caps.vcproj:
19280 * win32/testsuite/cleanup.vcproj:
19281 * win32/testsuite/clock.vcproj:
19282 * win32/testsuite/debug.vcproj:
19283 * win32/testsuite/dlopen.vcproj:
19284 * win32/testsuite/dynparams.vcproj:
19285 * win32/testsuite/elements.vcproj:
19286 * win32/testsuite/ghostpads.vcproj:
19287 * win32/testsuite/indexers.vcproj:
19288 * win32/testsuite/negotiation.vcproj:
19289 * win32/testsuite/parse.vcproj:
19290 * win32/testsuite/plugin.vcproj:
19291 * win32/testsuite/refcounting.vcproj:
19292 * win32/testsuite/schedulers.vcproj:
19293 * win32/testsuite/states.vcproj:
19294 * win32/testsuite/tags.vcproj:
19295 * win32/testsuite/threads.vcproj:
19296 remove old win32 stuff that isn't maintained and should be
19299 2005-11-30 Andy Wingo <wingo@pobox.com>
19301 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19302 loading the gst.interfaces python module bork.
19304 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19305 available since GLib 2.2. Fixes #318031.
19307 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19310 * check/.cvsignore:
19311 * check/Makefile.am:
19312 * check/elements/.cvsignore:
19313 * check/elements/fakesrc.c:
19314 * check/elements/fdsrc.c:
19315 * check/elements/identity.c:
19316 * check/generic/.cvsignore:
19317 * check/generic/states.c:
19318 * check/gst-libs/.cvsignore:
19319 * check/gst-libs/controller.c:
19320 * check/gst-libs/gdp.c:
19321 * check/gst/.cvsignore:
19322 * check/gst/capslist.h:
19324 * check/gst/gstbin.c:
19325 * check/gst/gstbuffer.c:
19326 * check/gst/gstbus.c:
19327 * check/gst/gstcaps.c:
19328 * check/gst/gstelement.c:
19329 * check/gst/gstevent.c:
19330 * check/gst/gstghostpad.c:
19331 * check/gst/gstiterator.c:
19332 * check/gst/gstmessage.c:
19333 * check/gst/gstminiobject.c:
19334 * check/gst/gstobject.c:
19335 * check/gst/gstpad.c:
19336 * check/gst/gstpipeline.c:
19337 * check/gst/gstplugin.c:
19338 * check/gst/gstsegment.c:
19339 * check/gst/gststructure.c:
19340 * check/gst/gstsystemclock.c:
19341 * check/gst/gsttag.c:
19342 * check/gst/gstutils.c:
19343 * check/gst/gstvalue.c:
19344 * check/net/.cvsignore:
19345 * check/net/gstnetclientclock.c:
19346 * check/net/gstnettimeprovider.c:
19347 * check/pipelines/.cvsignore:
19348 * check/pipelines/cleanup.c:
19349 * check/pipelines/simple_launch_lines.c:
19350 * check/pipelines/stress.c:
19351 * check/states/.cvsignore:
19352 * check/states/sinks.c:
19354 * examples/Makefile.am:
19355 * examples/appreader/.cvsignore:
19356 * examples/appreader/Makefile.am:
19357 * examples/appreader/appreader.c:
19358 * examples/controller/.cvsignore:
19359 * examples/controller/Makefile.am:
19360 * examples/controller/audio-example.c:
19361 * examples/cutter/.cvsignore:
19362 * examples/cutter/Makefile.am:
19363 * examples/cutter/cutter.c:
19364 * examples/cutter/cutter.h:
19365 * examples/events/Makefile.am:
19366 * examples/events/seek.c:
19367 * examples/helloworld/.cvsignore:
19368 * examples/helloworld/Makefile.am:
19369 * examples/helloworld/helloworld.c:
19370 * examples/helloworld2/.cvsignore:
19371 * examples/helloworld2/Makefile.am:
19372 * examples/helloworld2/helloworld2.c:
19373 * examples/launch/.cvsignore:
19374 * examples/launch/Makefile.am:
19375 * examples/launch/mp3parselaunch.c:
19376 * examples/launch/mp3play:
19377 * examples/manual/.cvsignore:
19378 * examples/manual/Makefile.am:
19379 * examples/manual/extract.pl:
19380 * examples/metadata/Makefile.am:
19381 * examples/metadata/read-metadata.c:
19382 * examples/mixer/.cvsignore:
19383 * examples/mixer/Makefile.am:
19384 * examples/mixer/mixer.c:
19385 * examples/mixer/mixer.h:
19386 * examples/pingpong/.cvsignore:
19387 * examples/pingpong/Makefile.am:
19388 * examples/pingpong/pingpong.c:
19389 * examples/plugins/.cvsignore:
19390 * examples/plugins/Makefile.am:
19391 * examples/plugins/example.c:
19392 * examples/plugins/example.h:
19393 * examples/pwg/.cvsignore:
19394 * examples/pwg/Makefile.am:
19395 * examples/pwg/extract.pl:
19396 * examples/queue/.cvsignore:
19397 * examples/queue/Makefile.am:
19398 * examples/queue/queue.c:
19399 * examples/queue2/.cvsignore:
19400 * examples/queue2/Makefile.am:
19401 * examples/queue2/queue2.c:
19402 * examples/queue3/.cvsignore:
19403 * examples/queue3/Makefile.am:
19404 * examples/queue3/queue3.c:
19405 * examples/queue4/.cvsignore:
19406 * examples/queue4/Makefile.am:
19407 * examples/queue4/queue4.c:
19408 * examples/retag/.cvsignore:
19409 * examples/retag/Makefile.am:
19410 * examples/retag/retag.c:
19411 * examples/retag/transcode.c:
19412 * examples/thread/.cvsignore:
19413 * examples/thread/Makefile.am:
19414 * examples/thread/thread.c:
19415 * examples/typefind/.cvsignore:
19416 * examples/typefind/Makefile.am:
19417 * examples/typefind/typefind.c:
19418 * examples/xml/.cvsignore:
19419 * examples/xml/Makefile.am:
19420 * examples/xml/createxml.c:
19421 * examples/xml/runxml.c:
19422 * tests/Makefile.am:
19423 * tests/check/Makefile.am:
19424 * testsuite/.cvsignore:
19425 * testsuite/Makefile.am:
19427 * testsuite/caps/.cvsignore:
19428 * testsuite/caps/Makefile.am:
19429 * testsuite/caps/app_fixate.c:
19430 * testsuite/caps/audioscale.c:
19431 * testsuite/caps/caps.c:
19432 * testsuite/caps/caps.h:
19433 * testsuite/caps/caps_strings:
19434 * testsuite/caps/compatibility.c:
19435 * testsuite/caps/deserialize.c:
19436 * testsuite/caps/enumcaps.c:
19437 * testsuite/caps/eratosthenes.c:
19438 * testsuite/caps/filtercaps.c:
19439 * testsuite/caps/fixed.c:
19440 * testsuite/caps/fraction-convert.c:
19441 * testsuite/caps/fraction-multiply-and-zero.c:
19442 * testsuite/caps/intersect2.c:
19443 * testsuite/caps/intersection.c:
19444 * testsuite/caps/normalisation.c:
19445 * testsuite/caps/random.c:
19446 * testsuite/caps/renegotiate.c:
19447 * testsuite/caps/sets.c:
19448 * testsuite/caps/simplify.c:
19449 * testsuite/caps/string-conversions.c:
19450 * testsuite/caps/structure.c:
19451 * testsuite/caps/subtract.c:
19452 * testsuite/caps/union.c:
19453 * testsuite/debug/.cvsignore:
19454 * testsuite/debug/Makefile.am:
19455 * testsuite/debug/category.c:
19456 * testsuite/debug/commandline.c:
19457 * testsuite/debug/global.c:
19458 * testsuite/debug/output.c:
19459 * testsuite/debug/printf_extension.c:
19460 * testsuite/dlopen/.cvsignore:
19461 * testsuite/dlopen/Makefile.am:
19462 * testsuite/dlopen/dlopen_gst.c:
19463 * testsuite/dlopen/loadgst.c:
19464 * testsuite/elements/.cvsignore:
19465 * testsuite/elements/Makefile.am:
19466 * testsuite/elements/gst-inspect-check.in:
19467 * testsuite/elements/struct_i386.h:
19468 * testsuite/elements/struct_size.c:
19469 * testsuite/indexers/.cvsignore:
19470 * testsuite/indexers/Makefile.am:
19471 * testsuite/indexers/cache1.c:
19472 * testsuite/indexers/indexdump.c:
19473 * testsuite/parse/.cvsignore:
19474 * testsuite/parse/Makefile.am:
19475 * testsuite/parse/parse1.c:
19476 * testsuite/parse/parse2.c:
19477 * testsuite/plugin/.cvsignore:
19478 * testsuite/plugin/Makefile.am:
19479 * testsuite/plugin/README:
19480 * testsuite/plugin/dynamic.c:
19481 * testsuite/plugin/linked.c:
19482 * testsuite/plugin/loading.c:
19483 * testsuite/plugin/registry.c:
19484 * testsuite/plugin/static.c:
19485 * testsuite/plugin/static2.c:
19486 * testsuite/plugin/testplugin.c:
19487 * testsuite/plugin/testplugin2.c:
19488 * testsuite/plugin/testplugin2_s.c:
19489 * testsuite/plugin/testplugin_s.c:
19490 * testsuite/refcounting/.cvsignore:
19491 * testsuite/refcounting/Makefile.am:
19492 * testsuite/refcounting/bin.c:
19493 * testsuite/refcounting/element.c:
19494 * testsuite/refcounting/element_pad.c:
19495 * testsuite/refcounting/mainloop.c:
19496 * testsuite/refcounting/mem.c:
19497 * testsuite/refcounting/mem.h:
19498 * testsuite/refcounting/object.c:
19499 * testsuite/refcounting/pad.c:
19500 * testsuite/refcounting/sched.c:
19501 * testsuite/refcounting/thread.c:
19502 * testsuite/states/.cvsignore:
19503 * testsuite/states/Makefile.am:
19504 * testsuite/states/bin.c:
19505 * testsuite/states/locked.c:
19506 * testsuite/states/parent.c:
19507 * testsuite/threads/.cvsignore:
19508 * testsuite/threads/159566.c:
19509 * testsuite/threads/159852.c:
19510 * testsuite/threads/Makefile.am:
19511 * testsuite/threads/queue.c:
19512 * testsuite/threads/signals.c:
19513 * testsuite/threads/staticrec.c:
19514 * testsuite/threads/thread.c:
19515 * testsuite/threads/threadb.c:
19516 * testsuite/threads/threadc.c:
19517 * testsuite/threads/threadd.c:
19518 * testsuite/threads/threade.c:
19519 * testsuite/threads/threadf.c:
19520 * testsuite/threads/threadg.c:
19521 * testsuite/threads/threadh.c:
19522 * testsuite/threads/threadi.c:
19523 move all of these under tests
19525 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19528 * tests/Makefile.am:
19531 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19533 * docs/gst/gstreamer-sections.txt:
19534 * tests/sched/.cvsignore:
19535 * tests/sched/Makefile.am:
19536 * tests/sched/cases/(fs-fs).xml:
19537 * tests/sched/cases/(fs-i-fs).xml:
19538 * tests/sched/cases/(fs-i-i-fs).xml:
19539 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19540 * tests/sched/dynamic-pipeline.c:
19541 * tests/sched/interrupt1.c:
19542 * tests/sched/interrupt2.c:
19543 * tests/sched/interrupt3.c:
19544 * tests/sched/runtestcases:
19545 * tests/sched/runxml.c:
19546 * tests/sched/sched-stress.c:
19547 * tests/sched/sort.c:
19548 * tests/sched/testcases:
19549 * tests/sched/testcases1.tc:
19550 * tests/seeking/.cvsignore:
19551 * tests/seeking/Makefile.am:
19552 * tests/seeking/seeking1.c:
19553 * tests/threadstate/.cvsignore:
19554 * tests/threadstate/Makefile.am:
19555 * tests/threadstate/test1.c:
19556 * tests/threadstate/test2.c:
19557 * tests/threadstate/threadstate1.c:
19558 * tests/threadstate/threadstate2.c:
19559 * tests/threadstate/threadstate3.c:
19560 * tests/threadstate/threadstate4.c:
19561 * tests/threadstate/threadstate5.c:
19562 remove obsolete tests
19564 * tests/bench-complexity.scm:
19565 * tests/bench-mass_elements.scm:
19566 * tests/complexity.c:
19567 * tests/complexity.gnuplot:
19568 * tests/instantiate/.cvsignore:
19569 * tests/instantiate/Makefile.am:
19570 * tests/instantiate/caps.c:
19571 * tests/mass_elements.c:
19572 * tests/network-clock-utils.scm:
19573 * tests/network-clock.scm:
19575 First pass at cleaning up tests/ dir before moving the rest
19576 Combined with CVS surgery
19578 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19581 queue has moved, update
19583 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19585 * docs/gst/gstreamer-sections.txt:
19586 remove double entries from the docs
19587 * gst/gst_private.h:
19588 * gst/gstinfo.c: (_gst_debug_init):
19589 remove the THREAD debug category
19593 * docs/gst/gstreamer.types:
19594 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19595 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19596 completely move queue and fix up debugging categories
19598 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19600 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19601 make initialization portable, using LL is not
19603 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19605 * win32/common/gstconfig.h:
19608 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19610 * win32/common/libgstreamer.def:
19611 rename symbols; sort base section
19613 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19615 * gst/gstclock.c: (do_linear_regression):
19616 remove crack non-portable handrolled DEBUG macro
19618 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19620 * docs/random/release:
19622 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19623 (gst_object_flags_get_type), (register_gst_bin_flags),
19624 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19625 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19626 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19627 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19628 (gst_caps_flags_get_type), (register_gst_clock_return),
19629 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19630 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19631 (gst_clock_flags_get_type), (register_gst_state),
19632 (gst_state_get_type), (register_gst_state_change_return),
19633 (gst_state_change_return_get_type), (register_gst_state_change),
19634 (gst_state_change_get_type), (register_gst_element_flags),
19635 (gst_element_flags_get_type), (register_gst_core_error),
19636 (gst_core_error_get_type), (register_gst_library_error),
19637 (gst_library_error_get_type), (register_gst_resource_error),
19638 (gst_resource_error_get_type), (register_gst_stream_error),
19639 (gst_stream_error_get_type), (register_gst_event_type_flags),
19640 (gst_event_type_flags_get_type), (register_gst_event_type),
19641 (gst_event_type_get_type), (register_gst_seek_type),
19642 (gst_seek_type_get_type), (register_gst_seek_flags),
19643 (gst_seek_flags_get_type), (register_gst_format),
19644 (gst_format_get_type), (register_gst_index_certainty),
19645 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19646 (gst_index_entry_type_get_type),
19647 (register_gst_index_lookup_method),
19648 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19649 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19650 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19651 (gst_index_flags_get_type), (register_gst_debug_level),
19652 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19653 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19654 (gst_iterator_result_get_type), (register_gst_iterator_item),
19655 (gst_iterator_item_get_type), (register_gst_message_type),
19656 (gst_message_type_get_type), (register_gst_mini_object_flags),
19657 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19658 (gst_pad_link_return_get_type), (register_gst_flow_return),
19659 (gst_flow_return_get_type), (register_gst_activate_mode),
19660 (gst_activate_mode_get_type), (register_gst_pad_direction),
19661 (gst_pad_direction_get_type), (register_gst_pad_flags),
19662 (gst_pad_flags_get_type), (register_gst_pad_presence),
19663 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19664 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19665 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19666 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19667 (gst_plugin_flags_get_type), (register_gst_rank),
19668 (gst_rank_get_type), (register_gst_query_type),
19669 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19670 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19671 (gst_tag_flag_get_type), (register_gst_task_state),
19672 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19673 (gst_alloc_trace_flags_get_type),
19674 (register_gst_type_find_probability),
19675 (gst_type_find_probability_get_type), (register_gst_uri_type),
19676 (gst_uri_type_get_type), (register_gst_parse_error),
19677 (gst_parse_error_get_type):
19678 * win32/common/gstenumtypes.h:
19679 * win32/common/gstversion.h:
19680 update visual studio generated files
19682 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19684 * win32/vs6/libgstbase.dsp:
19685 * win32/vs6/libgstelements.dsp:
19686 update project files for new locations
19688 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19693 reinstate and update
19698 * docs/random/LICENSE:
19701 2005-11-30 Edward Hervey <edward@fluendo.com>
19703 * gst/gsttypefind.c: (gst_type_find_register):
19704 * gst/gsttypefind.h:
19705 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19706 (gst_type_find_factory_dispose):
19707 * gst/gsttypefindfactory.h:
19708 Fix memory leak in GstTypeFindFactory.
19710 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19713 * plugins/elements/Makefile.am:
19714 * plugins/elements/gstelements.c:
19715 * plugins/elements/gstqueue.c:
19716 move queue from core to the elements plugin
19718 2005-11-29 Andy Wingo <wingo@pobox.com>
19720 * libs/gst/base/gstbasetransform.h:
19721 * libs/gst/base/gstbasesrc.h:
19722 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19724 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19725 of pointers by which to pad very extensible base classes (like the
19726 ones in libs/gst/base).
19728 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19730 * docs/gst/gstreamer-docs.sgml:
19731 * docs/gst/gstreamer-sections.txt:
19732 * docs/libs/gstreamer-libs-docs.sgml:
19733 * docs/libs/gstreamer-libs-sections.txt:
19734 moving documentation from core to lib
19736 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19738 * check/Makefile.am:
19740 * docs/gst/Makefile.am:
19742 * gst/base/.cvsignore:
19743 * gst/base/Makefile.am:
19745 * gst/base/gstadapter.c:
19746 * gst/base/gstadapter.h:
19747 * gst/base/gstbasesink.c:
19748 * gst/base/gstbasesink.h:
19749 * gst/base/gstbasesrc.c:
19750 * gst/base/gstbasesrc.h:
19751 * gst/base/gstbasetransform.c:
19752 * gst/base/gstbasetransform.h:
19753 * gst/base/gstcollectpads.c:
19754 * gst/base/gstcollectpads.h:
19755 * gst/base/gstpushsrc.c:
19756 * gst/base/gstpushsrc.h:
19757 * gst/base/gsttypefindhelper.c:
19758 * gst/base/gsttypefindhelper.h:
19759 * gst/check/Makefile.am:
19760 * gst/check/gstcheck.c:
19761 * gst/check/gstcheck.h:
19762 * gst/net/Makefile.am:
19763 * gst/net/gstnet.h:
19764 * gst/net/gstnetclientclock.c:
19765 * gst/net/gstnetclientclock.h:
19766 * gst/net/gstnettimepacket.c:
19767 * gst/net/gstnettimepacket.h:
19768 * gst/net/gstnettimeprovider.c:
19769 * gst/net/gstnettimeprovider.h:
19770 * libs/gst/Makefile.am:
19771 * libs/gst/base/Makefile.am:
19772 * libs/gst/base/gstbasetransform.c:
19773 * libs/gst/check/Makefile.am:
19774 * plugins/elements/Makefile.am:
19776 CVS surgery + support to move base, check, and net out of gst
19779 2005-11-29 Andy Wingo <wingo@pobox.com>
19781 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19783 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19786 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19788 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19790 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19792 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19793 padding; reduces object size by about 30%. We don't expect
19794 anything else to go into gstobject.
19796 * gst/gstminiobject.h (struct _GstMiniObject)
19797 (struct _GstMiniObjectClass): Only one pointer of padding; the
19798 payload is only a pointer and two ints anyway. For the class there
19799 are only two methods as well.
19801 * gst/gstelement.h (struct _GstElementClass): Removed
19802 the state_changed signal callback, it is not used.
19804 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19806 * docs/gst/gstreamer.types:
19807 fix includes, though they are a little dinky
19809 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19811 * check/Makefile.am:
19812 look in the right place for elements, a lot more chance of
19815 remove indexers and elements subdirs
19816 * plugins/Makefile.am:
19817 make indexers conditional
19819 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19823 * plugins/elements/Makefile.am:
19824 * plugins/elements/gstcapsfilter.c:
19825 * plugins/elements/gstfilesink.c:
19826 * plugins/elements/gstfilesrc.c:
19827 * plugins/elements/gstidentity.c:
19828 * plugins/indexers/Makefile.am:
19829 do CVS surgery and related build fixery to move elements
19830 and indexers in a new gstreamer/plugins directory, out of the
19833 2005-11-29 Andy Wingo <wingo@pobox.com>
19835 * check/Makefile.am:
19836 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19837 * pkgconfig/gstreamer-net.pc.in:
19838 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19841 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19843 * tools/Makefile.am:
19844 * tools/gst-complete.1.in:
19845 * tools/gst-complete.c:
19846 * tools/gst-compprep.1.in:
19847 * tools/gst-compprep.c:
19848 removing -compprep and -complete
19850 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19852 * gst/gstevent.c: (gst_event_new_new_segment),
19853 (gst_event_parse_new_segment):
19855 fix #320529 - clean up new_segment API and structure.
19856 Let's hope everyone was using the methods, and not the structure.
19858 2005-11-29 Edward Hervey <edward@fluendo.com>
19860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19861 (gst_base_sink_event), (gst_base_sink_do_sync),
19862 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19863 Properly handle non GST_FORMAT_TIME segment
19864 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19865 Properly handle non GST_FORMAT_TIME segment
19866 * gst/gstsegment.c:
19867 This function is valid if the accumulator is 0 and the format
19868 is different from the requested format.
19870 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19872 * docs/gst/gstreamer-sections.txt:
19873 Add gst_query_new_seeking and gst_query_parse_seeking to the
19876 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19878 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19879 Treat a pad alloc with new caps the same as if we were not
19880 negotiated, in order to allow a changing upstream output
19881 to produce a new format of data.
19883 2005-11-29 Edward Hervey <edward@fluendo.com>
19885 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19886 (gst_base_transform_event), (gst_base_transform_eventfunc):
19887 The event virtual method is now properly implemented, with a default
19889 Sub classes should call the parent_class event method. They should
19890 return FALSE if they had a problem handling the given event, or don't
19891 want GstBaseTransform to send that even downstream
19892 * gst/elements/gstidentity.c: (gst_identity_class_init),
19893 (gst_identity_init), (gst_identity_event),
19894 (gst_identity_transform_ip), (gst_identity_set_property),
19895 (gst_identity_get_property):
19896 * gst/elements/gstidentity.h:
19897 Added the single-segment boolean property.
19898 If set to TRUE, it will output a single segment of data, starting from
19899 0, will eat up all incoming newsegment, and modify the timestamp of the
19900 buffers accordingly
19902 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19904 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19905 Don't ref NULL target pad (#322751). Improve docs.
19907 2005-11-29 Michael Smith <msmith@fluendo.com>
19909 * gst/gstregistryxml.c: (load_plugin):
19910 Don't crash if we failed to load a feature from a plugin.
19912 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19914 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19916 use more check API and less GLib API
19918 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19921 don't run checks if we don't have check
19922 * common/check.mak:
19923 remove the registry when running make torture
19924 * docs/gst/gstreamer-sections.txt:
19925 remove second multiply
19926 * gst/gstqueue.c: (gst_queue_loop):
19927 fix a compile warning when disabling debug
19929 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19932 Hey! Let's print the pad name if the pointer != NULL instead
19933 of when it == NULL :-)
19935 2005-11-28 Wim Taymans <wim@fluendo.com>
19937 * check/gst/gstutils.c: (GST_START_TEST):
19938 Updated check, add some scaling accuracy checking code.
19940 * gst/gstutils.c: (gst_util_div128_64),
19941 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19942 (gst_util_uint64_scale_int):
19943 Fix 6 times faster division code. Optimize for common
19944 1/1 and less common X/1 cases.
19946 2005-11-28 Wim Taymans <wim@fluendo.com>
19948 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19951 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19952 (do_linear_regression), (gst_clock_add_observation):
19954 Release lock when the clock cannot be slaved.
19955 Catch the case where the regression returned an invalid denominator.
19957 * gst/gstutils.c: (gst_util_div128_64_iterate),
19958 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19959 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19960 Add protentially more performant non-iterative 128/64 divide function
19961 that unfortunatly does not work yet.
19962 Shortcut the trivial 0/X = 0 case.
19963 Remove the warnings on overflow.
19965 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19967 * gst/gstplugin.c: (gst_plugin_register_func):
19968 everything causing a plugin not to load should be at least a WARNING
19970 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19972 * docs/random/ensonic/dparams.txt:
19973 some TODOs for the next dev cycle
19974 * libs/gst/controller/gstcontroller.c:
19975 (gst_controlled_property_set_interpolation_mode),
19976 (gst_controlled_property_new):
19977 * libs/gst/controller/gstcontroller.h:
19978 use base type to assign acccessor functions
19980 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19982 * check/Makefile.am:
19983 Oops, that should have been top_srcdir
19985 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19987 * check/Makefile.am:
19988 * check/elements/fdsrc.c: (GST_START_TEST):
19989 Use a cmdline define to specify the location of a file to use for
19990 testing, to avoid breaking distcheck.
19992 2005-11-28 Andy Wingo <wingo@pobox.com>
19994 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19996 2005-11-28 Edward Hervey <edward@fluendo.com>
19998 * tools/gst-launch.c: (main):
19999 Clarify the output strings, makes it easier to translate.
20002 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20005 don't try and build net if we don't even have <sys/socket.h>
20007 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20009 * check/Makefile.am:
20010 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20011 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20012 Add tests for fdsrc seekability
20014 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20015 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20016 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20017 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20018 * gst/elements/gstfdsrc.h:
20019 fdsrc should not be a 'live' source.
20020 Implement seeking on seekable fd's.
20022 * gst/gstquery.c: (gst_query_new_seeking),
20023 (gst_query_parse_seeking):
20025 Implement SEEKING query functions:
20026 *_new_seeking and *_parse_seeking
20028 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20030 * gst/gstelement.c: (gst_element_dispose):
20033 * gst/gstiterator.c:
20034 * gst/gststructure.c:
20037 * libs/gst/controller/gstcontroller.c:
20038 (gst_controlled_property_set_interpolation_mode):
20039 * libs/gst/controller/gstcontroller.h:
20040 * libs/gst/controller/gstinterpolation.c:
20041 (interpolate_none_get_enum_value_array):
20042 support controlling enums
20044 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20047 Improve documentation for gst_value_union().
20050 Change return value for union, intersect and subtract functions
20051 from gint to gboolean.
20053 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20055 * gst/gstvalue.c: (gst_value_serialize_any_list),
20056 (gst_value_transform_any_list_string),
20057 (gst_value_deserialize_list), (gst_value_deserialize_array),
20058 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20059 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20060 (gst_value_set_fraction_range_full),
20061 (gst_value_deserialize_fraction_range),
20062 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20063 (gst_value_deserialize_boolean),
20064 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20065 (gst_value_serialize_float), (gst_value_deserialize_float),
20066 (gst_string_wrap), (gst_value_deserialize_string),
20067 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20068 (gst_value_union_int_range_int_range),
20069 (gst_value_intersect_int_range_int_range),
20070 (gst_value_intersect_double_range_double_range),
20071 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20072 (gst_value_subtract_int_range_int_range),
20073 (gst_value_subtract_double_double_range),
20074 (gst_value_subtract_double_range_double_range),
20075 (gst_value_deserialize_fraction):
20077 Use gint, gdouble and gchar in our API instead of int, double and
20078 char (and make usage in gstvalue.c more consistent).
20080 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20082 * check/Makefile.am:
20083 * libs/gst/controller/Makefile.am:
20084 * libs/gst/dataprotocol/Makefile.am:
20085 fix up Makefile.am and remove GST_ENABLE_NEW
20087 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20091 * gst/base/Makefile.am:
20092 * gst/check/Makefile.am:
20093 * gst/elements/Makefile.am:
20094 * gst/net/Makefile.am:
20095 update LDFLAGS use some more
20097 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20099 * common/m4/gst-doc.m4:
20102 2005-11-26 Edward Hervey <edward@fluendo.com>
20104 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20105 This shouldn't issue a g_warning since it returns NULL if it
20106 couldn't find the plugin, and all functions using this behave
20107 properly on a NULL return. Switching to a GST_WARNING.
20109 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20111 * gst/gstbin.c: (gst_bin_handle_message_func):
20112 Don't leak clock messages.
20114 2005-11-25 Wim Taymans <wim@fluendo.com>
20116 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20117 (gst_util_uint64_scale_int):
20118 Optimisations, remove unneeded vars.
20120 2005-11-25 Wim Taymans <wim@fluendo.com>
20122 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20123 Added more checks for the high precision uint64 cases.
20125 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20126 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20127 Implement high precision (guint64 * guint64) / guint64.
20129 2005-11-24 Wim Taymans <wim@fluendo.com>
20131 * gst/base/gstbasesrc.c: (gst_base_src_query):
20132 Fix wrong percentage query.
20134 * gst/gstutils.c: (gst_util_uint64_scale),
20135 (gst_util_uint64_scale_int):
20136 Add some more common cases that can be handled
20137 efficiently to _scale.
20139 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20141 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20142 (gst_mini_object_suite):
20143 don't use check calls from threads; check probably isn't
20144 threadsafe and using a lock to make it threadsafe would
20145 defeat the purpose of this check
20146 * gst/check/gstcheck.c:
20147 * gst/check/gstcheck.h:
20148 use GST_DEBUG some more
20150 2005-11-24 Wim Taymans <wim@fluendo.com>
20152 * gst/gstutils.c: (gst_util_uint64_scale),
20153 (gst_util_uint64_scale_int):
20154 Chain trivial case to _scale_int.
20156 2005-11-24 Wim Taymans <wim@fluendo.com>
20158 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20159 Added test for scaling.
20164 * gst/gstutils.c: (gst_util_uint64_scale_int):
20165 Implemented high precision scaling code.
20167 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20170 do not crash on pad==NULL
20172 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20174 Patch by: Stefan Kost
20176 * common/gtk-doc.mak:
20177 * docs/gst/Makefile.am:
20178 * docs/libs/Makefile.am:
20179 Fix distcheck issues for the libraries docs build
20182 2005-11-24 Michael Smith <msmith@fluendo.com>
20184 * docs/manual/basics-helloworld.xml:
20185 Fix bug #315027: memory leak in example code in docs.
20187 2005-11-24 Michael Smith <msmith@fluendo.com>
20189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20190 Unlock the PREROLL_LOCK in a failure case.
20192 2005-11-24 Wim Taymans <wim@fluendo.com>
20194 * docs/gst/gstreamer-sections.txt:
20195 * gst/base/gstadapter.h:
20196 * gst/base/gstbasesink.h:
20197 * gst/base/gstbasesrc.h:
20198 * gst/base/gstbasetransform.h:
20199 * gst/base/gstpushsrc.h:
20200 * gst/elements/gstfakesink.h:
20201 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20202 * gst/elements/gstfakesrc.h:
20203 * gst/elements/gstfilesink.h:
20204 * gst/elements/gstfilesrc.h:
20207 * gst/gstbuffer.c: (_gst_buffer_copy):
20210 * gst/gstchildproxy.c:
20212 * gst/gstelement.c:
20213 * gst/gstelementfactory.c:
20214 * gst/gstelementfactory.h:
20216 * gst/gstghostpad.h:
20218 * gst/gstinterface.h:
20219 * gst/gstminiobject.c:
20220 * gst/gstminiobject.h:
20223 * gst/gstpadtemplate.h:
20224 * gst/gstpipeline.h:
20225 * gst/gstpluginfeature.h:
20228 * gst/gsttaglist.c:
20229 * gst/gsttaglist.h:
20230 * gst/gsttagsetter.c:
20231 * gst/gsttagsetter.h:
20234 * gst/gsttypefind.h:
20237 * gst/net/gstnetclientclock.c:
20238 * gst/net/gstnetclientclock.h:
20239 * gst/net/gstnettimepacket.c:
20240 * gst/net/gstnettimeprovider.c:
20241 * gst/net/gstnettimeprovider.h:
20244 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20246 * configure.ac: back to HEAD
20248 === release 0.9.6 ===
20250 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20253 releasing 0.9.6, "Always On Time"
20255 2005-11-23 Wim Taymans <wim@fluendo.com>
20257 * docs/gst/gstreamer-sections.txt:
20258 * gst/glib-compat.c:
20259 * gst/gsttagsetter.c:
20261 * gst/net/gstnetclientclock.c:
20262 * gst/net/gstnettimepacket.h:
20265 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20267 * docs/faq/using.xml:
20268 * docs/libs/tmpl/gstcontrol.sgml:
20269 * docs/manual/advanced-dparams.xml:
20270 * docs/manual/appendix-checklist.xml:
20271 * docs/manual/basics-elements.xml:
20272 * docs/pwg/other-source.xml:
20273 * docs/random/moving-plugins:
20275 * tools/gst-launch.1.in:
20276 remove mentions of sinesrc
20278 2005-11-23 Michael Smith <msmith@fluendo.com>
20280 * docs/gst/gstreamer-sections.txt:
20281 Update for new API and API changes.
20283 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20285 Documentation typo fix.
20286 * gst/net/gstnettimepacket.c:
20287 Documentation fixes for arguments.
20289 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20291 * gst/gststructure.c: (gst_structure_get_fraction),
20292 (gst_structure_parse_value),
20293 (gst_structure_fixate_field_nearest_fraction):
20294 * gst/gststructure.h:
20295 * gst/gstutils.c: (gst_util_uint64_scale_int):
20297 * scripts/update-funcnames:
20299 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20300 Make gst_structure_fixate_field_nearest_fraction take a numerator
20301 and denominator argument instead of a GValue
20302 add gst_structure_get_fraction helper function.
20304 2005-11-23 Wim Taymans <wim@fluendo.com>
20306 * docs/design/part-TODO.txt:
20309 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20310 * gst/net/gstnetclientclock.h:
20311 Use parent fields for timeout and window_size.
20313 2005-11-23 Andy Wingo <wingo@pobox.com>
20315 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20316 rate_num/rate_denom change.
20318 * gst/net/gstnetclientclock.c
20319 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20320 OBJECT_LOCK. Don't call add_observation with the lock.
20322 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20324 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20326 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20327 deal with rate as a fraction whose numerator and denominator are
20328 GstClockTime values.
20329 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20330 master; the other fields are protected by the SLAVE_LOCK.
20331 (do_linear_regression): Note that this must be called with the
20333 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20334 OBJECT_LOCK. Call set_calibration instead of touching the
20335 variables directly.
20336 (gst_clock_set_property, gst_clock_get_property): Protect
20337 master/slave parameters with the SLAVE_LOCK.
20339 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20340 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20341 note that all of the instance variables that add_observation and
20342 the set_master functions use are protected by that lock and not
20344 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20346 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20347 the caller to take the object lock.
20349 2005-11-23 Wim Taymans <wim@fluendo.com>
20351 * gst/gsterror.c: (_gst_core_errors_init):
20353 Add error for clock stuff.
20355 * gst/gstpipeline.c: (gst_pipeline_change_state),
20356 (gst_pipeline_set_clock):
20357 Post clock error when clock cannot be used in a pipeline.
20359 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20361 * docs/gst/gstreamer-sections.txt:
20362 make two symbols from gstinfo private for the docs
20363 * gst/base/gstcollectpads.h:
20365 fix doc typos, update docs
20367 2005-11-22 Wim Taymans <wim@fluendo.com>
20369 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20370 (gst_base_sink_wait), (gst_base_sink_do_sync),
20371 (gst_base_sink_handle_event):
20372 * gst/base/gstbasesink.h:
20373 No need to store the clock, the parent element class already
20376 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20377 Updates for clock_set returning a gboolean
20379 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20380 (gst_clock_id_wait_async), (gst_clock_class_init),
20381 (gst_clock_init), (gst_clock_finalize),
20382 (gst_clock_get_internal_time), (gst_clock_get_time),
20383 (gst_clock_slave_callback), (gst_clock_set_master),
20384 (gst_clock_get_master), (do_linear_regression),
20385 (gst_clock_add_observation), (gst_clock_set_property),
20386 (gst_clock_get_property):
20388 Implement master/slave. When setting a clock as a slave, a
20389 periodic timeout is scheduled to sample master and slave times.
20390 Then the slave clock is recalibrated to match offset and rate
20391 of the master clock.
20392 Update logging a bit.
20393 Add flag so that a clock can state that is cannot be slaved to
20396 * gst/gstelement.c: (gst_element_set_clock):
20397 * gst/gstelement.h:
20398 The set clock returns a gboolean for when an element cannot
20399 deal with the selected clock in the pipeline.
20401 * gst/gstpipeline.c: (gst_pipeline_change_state),
20402 (gst_pipeline_set_clock):
20403 * gst/gstpipeline.h:
20404 Handle the case where the selected clock cannot be set on
20407 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20408 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20409 (gst_net_client_clock_set_property),
20410 (gst_net_client_clock_get_property),
20411 (gst_net_client_clock_observe_times):
20412 * gst/net/gstnetclientclock.h:
20413 Use regression code in GstClock parent, remove duplicated
20416 2005-11-22 Michael Smith <msmith@fluendo.com>
20418 * gst/gstutils.c: (gst_util_clock_time_scale):
20420 * docs/gst/gstreamer-sections.txt:
20421 Rename method to have extra underscore.
20423 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20425 * gst/elements/Makefile.am:
20426 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20427 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20428 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20429 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20430 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20431 * gst/elements/gstfakesrc.h:
20432 * gst/gstqueue.c: (queue_leaky_get_type):
20433 correctly fix GEnumValues so that nick is the short lowercase
20435 * tools/gst-inspect.c: (print_element_properties_info):
20436 also show the nick, since it's useful to use from parse_launch
20440 2005-11-22 Michael Smith <msmith@fluendo.com>
20442 * gst/gstutils.c: (gst_util_clocktime_scale):
20444 * docs/gst/gstreamer-sections.txt:
20445 Add util method for scaling a clocktime by a fraction. Useful
20446 implementation is left as an exercise for the reader.
20448 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20450 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20451 If needed, allocate storage in the destination value during
20454 2005-11-22 Edward Hervey <edward@fluendo.com>
20456 * docs/gst/gstreamer-sections.txt:
20459 * gst/gsturitype.c:
20460 * gst/gsturitype.h:
20461 * gst/gstutils.c: (gst_util_set_object_arg):
20462 * tools/gst-compprep.c: (main):
20463 * tools/gst-inspect.c: (print_element_properties_info):
20464 Removed GstURI, closes bug #321061
20466 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20468 * check/gst/gststructure.c: (GST_START_TEST):
20469 * gst/gststructure.c: (gst_structure_parse_value):
20470 Oops, broke automatic string type parsing.
20471 Add a test to catch it in future.
20473 2005-11-22 Andy Wingo <wingo@pobox.com>
20475 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20476 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20477 Actually rename the function implementations. Grr.
20479 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20481 * check/gst/capslist.h:
20483 * check/gst/gststructure.c: (GST_START_TEST),
20484 (gst_structure_suite):
20485 Test automatic value type detection in gst_structure_from_string.
20486 * gst/gststructure.c: (gst_structure_parse_value):
20487 Add fraction as a type we try and guess automatically in
20488 caps/structure strings.
20490 2005-11-22 Andy Wingo <wingo@pobox.com>
20492 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20494 * gst/gsttagsetter.h:
20495 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20496 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20497 (gst_tag_setter_add_tag_valist)
20498 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20499 _add_values, _add_valist, and _add_valist_values. Since this is an
20500 interface the function suffixes should be more explicit so
20501 language binding don't end up with element.add_valist ->
20502 gst_tag_setter_add_valist, for example. Fixes #322069.
20504 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20506 * check/gst/gstcaps.c: (GST_START_TEST):
20507 Extend caps string tests to check that a caps to string
20508 conversion is reversible and produces the same caps.
20510 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20511 Output "fraction" as the generic type fraction range, so caps
20512 serialisation and deserialisation works.
20513 * check/gst/capslist.h:
20514 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20515 Support 'MIN' and 'MAX' for deserialising fractions.
20517 2005-11-22 Andy Wingo <wingo@pobox.com>
20519 * gst/gstevent.h (gst_event_new_new_segment)
20520 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20521 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20522 Renamed from *_newsegment, *_buffersize, *_notarget.
20524 * scripts/update-funcnames: New script, performs the changes
20527 2005-11-22 Wim Taymans <wim@fluendo.com>
20529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20530 Make sure the GstFlowReturn is returned.
20532 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20533 (gst_bus_add_signal_watch):
20535 add gst_bus_add_signal_watch_full.
20537 * gst/gstplugin.c: (gst_plugin_load_file):
20538 Small style cleanup.
20540 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20542 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20543 Block the fakesrc srcpad when we send an event, to avoid
20544 contention on the stream_lock causing random test failures.
20546 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20548 * check/gst/gstvalue.c: (GST_START_TEST):
20549 * gst/gstvalue.c: (gst_value_fraction_subtract):
20552 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20555 include "gstchildproxy.h"
20556 * gst/gstchildproxy.h:
20557 * libs/gst/controller/gstcontroller.h:
20558 use G_GNUC_NULL_TERMINATED
20560 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20562 * check/gst/capslist.h:
20563 * check/gst/gstcaps.c: (GST_START_TEST):
20564 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20565 * gst/gststructure.c: (gst_structure_parse_range),
20566 (gst_structure_fixate_field_nearest_fraction):
20567 * gst/gststructure.h:
20568 * gst/gstvalue.c: (gst_value_init_fraction_range),
20569 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20570 (gst_value_collect_fraction_range),
20571 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20572 (gst_value_set_fraction_range_full),
20573 (gst_value_get_fraction_range_min),
20574 (gst_value_get_fraction_range_max),
20575 (gst_value_serialize_fraction_range),
20576 (gst_value_transform_fraction_range_string),
20577 (gst_value_compare_fraction_range),
20578 (gst_value_deserialize_fraction_range),
20579 (gst_value_intersect_fraction_fraction_range),
20580 (gst_value_intersect_fraction_range_fraction_range),
20581 (gst_value_subtract_fraction_fraction_range),
20582 (gst_value_subtract_fraction_range_fraction),
20583 (gst_value_subtract_fraction_range_fraction_range),
20584 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20585 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20586 (gst_value_transform_string_fraction), (_gst_value_initialize):
20588 Implement fraction ranges and extend GstFraction to support
20589 arithmetic subtraction, as well as deserialization from integer
20590 strings such as "100"
20591 Add a testsuite as for int and double range set operations
20593 2005-11-21 Andy Wingo <wingo@pobox.com>
20595 * gst/gsttaglist.h:
20597 * gst/gststructure.h: Add glib-compat.h.
20599 2005-11-21 Wim Taymans <wim@fluendo.com>
20601 * gst/gstbin.c: (gst_bin_change_state_func):
20604 2005-11-21 Wim Taymans <wim@fluendo.com>
20606 * gst/gstsegment.h:
20607 And add a nice define too.
20609 2005-11-21 Wim Taymans <wim@fluendo.com>
20611 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20612 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20613 (gst_segment_set_duration), (gst_segment_set_last_stop),
20614 (gst_segment_set_seek), (gst_segment_set_newsegment),
20615 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20616 (gst_segment_clip):
20617 * gst/gstsegment.h:
20618 Make binding friendly.
20620 2005-11-21 Andy Wingo <wingo@pobox.com>
20622 * gst/gsttagsetter.h:
20623 * gst/gsttaglist.h:
20624 * gst/gststructure.h:
20626 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20629 * gst/gsterror.c (_gst_core_errors_init):
20630 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20633 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20634 (noinst_HEADERS): noinst the -private.
20636 2005-11-21 Michael Smith <msmith@fluendo.com>
20639 * gst/gstregistry.h:
20640 Remove unimplemented declarations for which we can see no sensible
20643 2005-11-21 Andy Wingo <wingo@pobox.com>
20645 * gst/gst.h: Include glib-compat.h.
20647 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20649 * gst/glib-compat.c: Include the public and the private header.
20651 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20655 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20657 * check/gst/gstevent.c (create_custom_events): Check that
20658 FLUSH_STOP is serialized.
20660 * check/elements/identity.c (event_func):
20661 * check/elements/fakesrc.c (event_func): No stream lock, the core
20664 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20665 stream lock taking, yay.
20667 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20668 ensure that core takes the stream lock.
20670 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20673 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20674 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20675 it already. For the flush start we do take it though so we get the
20676 right preroll state change messages.
20678 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20679 the stream lock here, the core does it for us.
20681 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20682 GST_STREAM_GET_LOCK.
20683 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20684 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20685 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20686 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20687 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20688 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20690 * gst/gstpad.c: Update for stream lock name change.
20692 * gst/base/gstbasesink.c: Update for preroll lock name change.
20694 2005-11-21 Wim Taymans <wim@fluendo.com>
20696 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20697 (gst_clock_get_master):
20699 * gst/gstsystemclock.c: (gst_system_clock_init):
20700 Convert Clock flags to object flags.
20701 Added methods to manage master/slave clocks.
20703 2005-11-21 Wim Taymans <wim@fluendo.com>
20705 * check/gst/gstsegment.c: (GST_START_TEST):
20706 * docs/design/part-TODO.txt:
20707 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20708 (gst_base_sink_event), (gst_base_sink_do_sync),
20709 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20710 (gst_base_sink_query), (gst_base_sink_change_state):
20711 * gst/base/gstbasesink.h:
20712 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20713 (gst_base_src_default_newsegment),
20714 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20715 (gst_base_src_get_range), (gst_base_src_loop),
20716 (gst_base_src_change_state):
20717 * gst/base/gstbasesrc.h:
20718 * gst/base/gstbasetransform.c:
20719 (gst_base_transform_prepare_output_buf),
20720 (gst_base_transform_event), (gst_base_transform_change_state):
20721 * gst/base/gstbasetransform.h:
20722 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20723 (gst_collect_pads_event):
20724 * gst/base/gstcollectpads.h:
20725 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20726 (gst_fake_src_create):
20727 * gst/elements/gstfakesrc.h:
20728 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20729 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20730 (gst_segment_set_last_stop), (gst_segment_set_seek),
20731 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20732 (gst_segment_to_running_time), (gst_segment_clip):
20733 * gst/gstsegment.h:
20734 More segment updates, replace code in plugins with segment
20737 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20739 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20740 Don't ignore sscanf results
20742 2005-11-21 Andy Wingo <wingo@pobox.com>
20744 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20747 * *.c: Ran scripts/update-macros. Oh yes.
20749 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20750 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20753 * scripts/update-macros: New script. Run it on your files to
20754 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20757 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20759 * docs/gst/Makefile.am:
20760 * docs/gst/gstreamer-docs.sgml:
20761 * docs/gst/gstreamer-sections.txt:
20762 * docs/gst/gstreamer.types:
20764 more docs fixes, add new api to the docs
20766 2005-11-21 Andy Wingo <wingo@pobox.com>
20768 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20769 state_broadcast call.
20771 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20773 2005-11-21 Julien MOUTTE <julien@moutte.net>
20775 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20776 function calls for arrays.
20778 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20780 * docs/random/ensonic/media-device-daemon.txt:
20781 wild idea, can this be done?
20782 * docs/gst/gstreamer-sections.txt:
20787 * gst/gstpluginfeature.c:
20791 doc fixes and additions
20793 2005-11-21 Andy Wingo <wingo@pobox.com>
20795 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20796 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20797 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20798 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20799 private to the basesrc implementation.
20801 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20802 behalf of event function if necessary. It should no longer be
20803 necessary to take the stream lock in pad's event functions. Fixes
20806 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20807 * docs/gst/gstreamer-sections.txt:
20808 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20809 (gst_structure_fixate_field_nearest_double),
20810 (gst_structure_fixate_field_boolean):
20811 * gst/gststructure.h:
20812 * win32/common/libgstreamer.def:
20813 * win32/gstreamer.def:
20815 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20818 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20820 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20821 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20822 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20823 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20824 (gst_fdsrc_uri_handler_init):
20825 * gst/elements/gstfdsrc.h:
20826 Port fd:// URI handler from 0.8 to fdsrc
20828 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20830 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20831 (gst_value_serialize_fourcc):
20833 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20834 consistent with our other format defines (#320324).
20836 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20838 * gst/gstvalue.c: (gst_value_is_fixed):
20839 Revert previous commit. Value lists are by definition
20840 not fixed, as they are a list of possible values.
20842 2005-11-21 Andy Wingo <wingo@pobox.com>
20844 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20845 during the stable series if we need it. Fixes #319178.
20847 * gst/gstevent.c (gst_event_new_filler): Removed.
20849 * check/gst/gstevent.c: Update comment about filler events.
20851 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20853 * gst/gstvalue.c: (gst_value_is_fixed):
20854 Should handle both value arrays and value lists.
20856 2005-11-21 Andy Wingo <wingo@pobox.com>
20858 patch by: Alessandro Dessina <alessandro nnva org>
20860 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20861 functions to access arrays. Fixes #321962.
20863 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20865 * docs/gst/gstreamer.types:
20866 gst_collectpads_get_type => gst_collect_pads_get_type.
20868 * gst/base/gstbasetransform.c:
20869 Remove unused SIGNAL_HANDOFF enum.
20871 2005-11-21 Andy Wingo <wingo@pobox.com>
20873 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20874 the event type (upstream, downstream, serialized). Renamed
20875 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20876 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20877 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20879 * gst/gstevent.c: Update for new CUSTOM event names.
20881 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20884 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20887 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20889 * docs/gst/gstreamer-sections.txt:
20890 * win32/common/libgstbase.def:
20891 * win32/libgstbase.def:
20892 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20893 (gst_collect_pads_class_init), (gst_collect_pads_init),
20894 (gst_collect_pads_finalize), (gst_collect_pads_new),
20895 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20896 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20897 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20898 (gst_collect_pads_start), (gst_collect_pads_stop),
20899 (gst_collect_pads_peek), (gst_collect_pads_pop),
20900 (gst_collect_pads_available), (gst_collect_pads_read),
20901 (gst_collect_pads_flush), (gst_collect_pads_event),
20902 (gst_collect_pads_chain):
20903 * gst/base/gstcollectpads.h:
20904 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20905 unimplemented functions as unimplemented. Add padding to
20906 GstCollectData. (#320766, #320423)
20908 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20910 * gst/gstmessage.c:
20911 Improve docs for DURATION message (usage of duration parameter)
20914 2005-11-20 Wim Taymans <wim@fluendo.com>
20916 * check/Makefile.am:
20917 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20921 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20922 (gst_segment_set_seek), (gst_segment_set_newsegment),
20923 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20924 (gst_segment_clip):
20925 * gst/gstsegment.h:
20926 Added segment helper structure and methods. Not fully implemented
20928 Added segment check.
20930 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20932 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20933 Add a deserialisation test for fractions
20934 * examples/metadata/read-metadata.c: (message_loop),
20935 (make_pipeline), (main):
20936 Fix up metadata reading sample.
20937 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20939 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20940 Don't try and fixate empty caps
20941 * gst/gst_private.h:
20942 Wrap in G_BEGIN_DECLS/G_END_DECLS
20943 * gst/gstvalue.c: (gst_value_collect_fraction),
20944 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20945 (gst_value_transform_string_fraction),
20946 (gst_value_compare_fraction):
20947 Add some extra guards to ensure that we don't end up
20948 with an invalid denominator of 0 in a gstfraction and
20949 that fractions always get reduced.
20951 2005-11-20 Wim Taymans <wim@fluendo.com>
20953 * docs/gst/gstreamer-sections.txt:
20955 * gst/gstelement.c:
20964 2005-11-20 Wim Taymans <wim@fluendo.com>
20966 * docs/design/part-TODO.txt:
20968 Make a proper enum of the flag.
20970 2005-11-19 Wim Taymans <wim@fluendo.com>
20972 * docs/design/part-TODO.txt:
20973 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20974 (gst_format_to_quark), (gst_format_register):
20976 * gst/gstquery.c: (_gst_query_initialize),
20977 (gst_query_type_get_name), (gst_query_type_to_quark),
20978 (gst_query_type_register):
20980 Add type to quark and type to string conversions.
20982 2005-11-19 Andy Wingo <wingo@pobox.com>
20984 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20987 2005-11-19 Wim Taymans <wim@fluendo.com>
20989 * docs/design/part-TODO.txt:
20990 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20991 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20992 (gst_bin_handle_message_func):
20994 Make message handling overridable.
20996 2005-11-19 Andy Wingo <wingo@pobox.com>
20998 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21001 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21003 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21004 is a GstClockTime. Fixes #321710.
21006 * gst/gstclock.h (GstClock): Remove offset property. Add
21007 internal_calibration and external_calibration. Fix padding. Pad
21008 also by GstClockTime so we don't run into problems.
21010 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21011 (gst_clock_get_rate_offset): Remove.
21012 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21015 * gst/gstutils.c (g_static_rec_cond_wait)
21016 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21018 * gst/gstbin.c: Remove terrible continue_state prototype.
21020 * gst/gstelement.h (gst_element_continue_state): Make public.
21022 * gst/gstelement.h:
21023 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21024 by continue_state. Fixes #319389.
21026 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21027 Really fixes #168438. However I don't see anywhere where the
21028 filter function is called... stupid GStreamer...
21030 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21031 don't have a dispose function, so it won't get called when the
21032 object is unreffed, but oh well!
21034 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21035 allows a destroy function to be set so user_data can be freed.
21037 (gst_index_set_filter): Call gst_index_set_filter_full.
21039 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21041 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21042 string should produce an error, given the lack of a way to
21043 represent NULL strings. Fixes #165650.
21046 * gst/gstvalue.c (gst_value_array_append_value)
21047 (gst_value_array_prepend_value, gst_value_array_get_size)
21048 (gst_value_array_get_value): New API, copied from
21049 gst_value_list_*, only operates on arrays.
21050 (gst_value_list_append_value, gst_value_list_prepend_value)
21051 (gst_value_list_concat, gst_value_list_get_size)
21052 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21054 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21055 init_list, because it works on both.
21056 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21057 (gst_value_copy_list_or_array): Renamed from copy_list.
21058 (gst_value_free_list_or_array): Renamed from free_list.
21059 (gst_value_collect_list_or_array): Renamed from collect_list.
21060 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21061 (gst_value_list_or_array_peek_pointer): Renamed from
21063 (_gst_value_array_value_table, _gst_value_list_value_table):
21064 Update value table functions.
21065 (gst_value_compare_list_or_array): Renamed from compare_list.
21067 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21070 * gst/gsttaglist.c:
21071 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21072 GstTagList*. Fixes #143472.
21074 * gst/gststructure.h: Clarify what the foreach/map functions can
21075 or can't do to their arguments.
21077 2005-11-18 Wim Taymans <wim@fluendo.com>
21079 * gst/gstclock.c: (gst_clock_set_calibration),
21080 (gst_clock_get_calibration):
21082 Calibration can be set with internal time equal to current
21085 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21091 2005-11-18 Andy Wingo <wingo@pobox.com>
21094 * pkgconfig/gstreamer-net.pc.in:
21095 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21096 * pkgconfig/Makefile.am: Add net pkgconfig files.
21098 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21101 * gst/gstghostpad.c:
21107 2005-11-18 Andy Wingo <wingo@pobox.com>
21109 * gst/net/gstnetclientclock.c: Turn off debugging.
21111 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21112 times connverge somewhat. Can't make a real test.
21114 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21115 integer arithmetic. Return the minimum of the domain, which can be
21116 set as "internal" for gst_clock_set_calibration.
21117 (gst_net_client_clock_observe_times): Call _set_calibration.
21118 (gst_net_client_clock_new): Call _set_calibration instead of
21121 * check/net/gstnetclientclock.c (test_functioning): Use the right
21125 * gst/gstclock.c (gst_clock_get_calibration)
21126 (gst_clock_set_calibration): New functions, obsolete the ones I
21127 added yesterday. Doh. Precision issues mean we have to extrapolate
21128 from a point in the more recent past than 1970.
21129 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21131 (gst_clock_adjust_unlocked): Use the right calibration data.
21133 2005-11-18 Edward Hervey <edward@fluendo.com>
21135 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21136 Also reset the ->current_* values in READY->PAUSED
21138 2005-11-18 Andy Wingo <wingo@pobox.com>
21140 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21141 Whoops, check the right fd. Also add some debugging.
21142 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21143 (do_linear_regression): Add a crapload of debugging. Subtract off
21144 the minimum values from the input series to discard unneeded bits.
21145 Use only int arithmetic. There is still double arithmetic when
21146 calculating the intercept that needs fixing. Return boolean to
21147 indicate success; FALSE would mean the domain or range is too
21148 great. Still needs fixes.
21150 2005-11-18 Wim Taymans <wim@fluendo.com>
21152 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21153 For the current position in stream time, we need to subtract
21156 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21157 Release lock before calling the callback function of async
21160 2005-11-18 Andy Wingo <wingo@pobox.com>
21162 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21163 Port goes all the way to MAXUINT16.
21165 * gst/net/gstnettimeprovider.c: Make the port range the same as
21166 for the kernel: 0 assigns, otherwise ports are less than
21169 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21172 * check/net/gstnetclientclock.c (test_functioning): Add the start
21175 2005-11-18 Wim Taymans <wim@fluendo.com>
21177 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21178 (gst_bin_remove_func), (bin_bus_handler):
21180 Removing a clock provider from a bin, triggers a clock lost message
21181 so that a new clock will be selected.
21182 Adding a clock to a bin triggers a clock provider message.
21183 Make sure we reselect a clock when we received a clock lost message.
21184 Keep a reference to the element that provided the clock.
21186 2005-11-18 Andy Wingo <wingo@pobox.com>
21188 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21189 the clock initially so it produces values around the base time.
21190 (gst_net_client_clock_class_init): Typo fix.
21191 (gst_net_client_clock_thread): Add note on when the socket gets
21194 2005-11-17 Wim Taymans <wim@fluendo.com>
21196 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21197 Free remote and local time arrays.
21199 2005-11-17 Wim Taymans <wim@fluendo.com>
21201 * gst/net/gstnetclientclock.c: (do_linear_regression),
21202 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21203 Fix compilation, uninitialized vars and a forgotten continue.
21205 2005-11-17 Andy Wingo <wingo@pobox.com>
21207 * check/Makefile.am (check_PROGRAMS):
21208 * check/net/gstnetclientclock.c: Add a most minimal test for the
21209 net client clock. More to come later.
21211 * gst/net/gstnet.h:
21212 * gst/net/Makefile.am: Add netclientclock.
21214 * gst/net/gstnetclientclock.h:
21215 * gst/net/gstnetclientclock.c: New files, implement an untested
21216 GstClock that takes its time from a network time provider.
21217 Implements the algorithm in network-clock.scm.
21219 * tests/network-clock.scm (*window-size*): Rename from
21221 * tests/network-clock.scm (network-time):
21222 * tests/network-clock-utils.scm (q-push): Update callers.
21224 2005-11-17 Wim Taymans <wim@fluendo.com>
21226 * gst/gstbin.c: (gst_bin_provide_clock_func),
21227 (gst_bin_sort_iterator_new):
21228 And unref the child too..
21230 2005-11-17 Wim Taymans <wim@fluendo.com>
21232 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21233 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21234 Refactor the sort iterator so it can be used while holding the
21236 Make clock selection select a clock closest to the source.
21238 2005-11-17 Michael Smith <msmith@fluendo.com>
21240 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21241 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21243 Anonymous structs are a gcc (and some other compilers) extension, so
21244 don't use them. Since this is only for ABI-compatibility, and our
21245 API/ABI freeze is over in a few days, this whole thing will only
21246 last a few days, so don't bother trying to think up a meaningful
21247 name for the struct.
21249 2005-11-17 Andy Wingo <wingo@pobox.com>
21251 * gst/gstclock.h (GstClock): Add rate and offset properties,
21252 preserving ABI stability. Add rate/offset accessors. Will file bug
21253 for the freeze break.
21255 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21256 and offset, trying to keep precision and avoiding
21257 underflow/overflow.
21258 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21259 functions. Make gst_clock_set_time_adjust obsolete.
21260 (gst_clock_set_time_adjust): Note that this function is obsolete.
21261 Will file bug soon.
21263 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21264 greppable by using GST_PADDING-1+1.
21266 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21268 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21270 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21271 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21273 * gst/gstpadtemplate.h:
21274 * gst/gstpluginfeature.h:
21275 Don't use c++ style comments in headers (#321638).
21277 2005-11-16 Andy Wingo <wingo@pobox.com>
21279 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21282 * check/net/gstnettimeprovider.c: Check to see that the time
21283 provider actually provides times. Works, yo!
21285 2005-11-16 Wim Taymans <wim@fluendo.com>
21287 * check/Makefile.am:
21290 * check/elements/fakesrc.c: (GST_START_TEST):
21291 Set element to NULL before disposing it.
21293 2005-11-16 Andy Wingo <wingo@pobox.com>
21295 * gst/net/Makefile.am:
21296 * gst/net/gstnet.h:
21297 * gst/net/gstnettimeprovider.c:
21298 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21299 provider, include it from gstnet.h, and add it to the build.
21301 * gst/net/gstnettimepacket.h:
21302 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21303 sending and receiving.
21305 2005-11-16 Wim Taymans <wim@fluendo.com>
21307 * check/Makefile.am:
21308 Enable valgrind check.
21310 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21311 (gst_fake_src_alloc_buffer):
21314 2005-11-16 Wim Taymans <wim@fluendo.com>
21316 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21317 Call parent finalize too.
21319 2005-11-16 Wim Taymans <wim@fluendo.com>
21321 * check/Makefile.am:
21322 Enable valgrind check that should work fine now.
21324 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21325 * gst/gstqueue.c: (gst_queue_init):
21326 Fix memleaks in pad allocation.
21328 2005-11-16 Andy Wingo <wingo@pobox.com>
21330 * gst/net/Makefile.am:
21331 * gst/net/gstnet.h: New part of core to hold network elements and
21332 objects. Put in core because it exposes API that applications want
21333 to use. The library is named libgstnet-tempname right now because
21334 of the existing libgstnet in gst-plugins-base. Solution is
21335 probably to rename the one in plugins-base; will file a bug for
21338 * gst/net/gstnettimeprovider.c:
21339 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21340 get_time call over the network.
21343 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21345 * check/Makefile.am:
21346 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21347 get additions shortly.
21349 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21351 * gst/gstpad.c: (gst_pad_new_from_static_template):
21353 add gst_pad_new_from_static_template functions
21354 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21355 (gst_check_setup_sink_pad):
21356 * gst/elements/gsttee.c: (gst_tee_init):
21359 2005-11-16 Wim Taymans <wim@fluendo.com>
21361 * gst/gstpad.c: (gst_pad_pause_task):
21362 Removed warning, it's not really an error either.
21364 2005-11-16 Wim Taymans <wim@fluendo.com>
21366 * gst/base/gstbasetransform.c:
21367 (gst_base_transform_prepare_output_buf),
21368 (gst_base_transform_event):
21369 Check if the caps are NULL, this can happen if the element
21370 is shutting down and the pad caps are set to NULL.
21372 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21374 * gst/elements/gsttee.c: (gst_tee_init):
21375 fix pad template leak in tee
21377 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21379 * gst/glib-compat.c: (g_value_dup_gst_object):
21380 * gst/glib-compat.h:
21381 * gst/gstpad.c: (gst_pad_set_property):
21382 use gst_object_ref when setting the pad template; this will
21383 trigger the pad template leaks on GLib 2.6 and the slaves
21385 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21387 * gst/glib-compat.c: (gst_flags_get_first_value):
21388 * gst/glib-compat.h:
21389 * gst/gstregistryxml.c:
21390 remove functions copied from GLib 2.6
21392 2005-11-16 Michael Smith <msmith@fluendo.com>
21395 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21396 do, but only breaks with newer valgrind versions. We're not a
21397 valgrind tool, we have no link-time dependencies on libcoregrind.
21399 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21401 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21403 * gst/gstmessage.h:
21406 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21408 * gst/base/gstbasesrc.c: (gst_base_src_init):
21409 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21410 * gst/gstqueue.c: (gst_queue_init):
21411 * gst/gstregistryxml.c: (load_feature):
21412 Revert all these unrefs, they don't even pass make check !
21414 2005-11-15 Johan Dahlin <johan@gnome.org>
21416 * gst/base/gstbasesrc.c: (gst_base_src_init):
21417 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21418 * gst/gstqueue.c: (gst_queue_init):
21419 Free pad templates, fixes a couple of leaks.
21421 2005-11-15 Daniel Fischer <dan at f3c dot com>
21423 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21425 * gst/gstpad.c: (gst_pad_get_property):
21426 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21427 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21430 2005-11-15 Wim Taymans <wim@fluendo.com>
21435 2005-11-15 Andy Wingo <wingo@pobox.com>
21437 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21439 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21440 using GST_CLOCK_TIME_NONE to disable base time management.
21441 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21442 time if it was NONE before.
21443 (gst_pipeline_change_state): Only munge the base time if
21444 stream_time != GST_CLOCK_TIME_NONE.
21446 * check/gst/gstpipeline.c (test_base_time): Punt around the
21447 problem of the probe not being called, because that's not the
21448 issue I'm looking at. Add a check that setting stream_time to NONE
21449 disables base time management.
21451 2005-11-15 Wim Taymans <wim@fluendo.com>
21453 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21454 segment_stop == -1 at startup.
21456 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21457 (gst_base_transform_change_state):
21458 Init segment values at start.
21460 2005-11-15 Wim Taymans <wim@fluendo.com>
21462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21463 0 segment values are 0 in any format.
21465 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21466 * gst/base/gstbasetransform.h:
21467 Parse newsegment correctly in basetransform
21469 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21470 Sync to clock using updated segment values.
21472 2005-11-15 Andy Wingo <wingo@pobox.com>
21474 * check/gst/gstpipeline.c (test_base_time): Add check that the
21475 base time and stream time are reset correctly.
21477 2005-11-15 Wim Taymans <wim@fluendo.com>
21479 * docs/design/part-TODO.txt:
21480 Some more TODO items.
21482 2005-11-15 Andy Wingo <wingo@pobox.com>
21484 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21485 error if the user selected "no clock" as the clocking method.
21487 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21488 timestamps with live capture.
21490 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21491 is 0 but we are a live source, timestamp the buffers using the
21494 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21496 * docs/gst/gstreamer-sections.txt:
21498 * gst/gstghostpad.c:
21503 2005-11-14 Wim Taymans <wim@fluendo.com>
21506 add suppressions from Wim's Debian machine
21508 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21511 add suppressions from Andy's AMD64 Ubuntu machine
21513 2005-11-14 Andy Wingo <wingo@pobox.com>
21515 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21516 STATE_LOCK not necessary. Fixes #311489.
21518 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21521 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21522 this function is not implemented.
21524 2005-11-14 Julien MOUTTE <julien@moutte.net>
21526 * gst/base/gstbasetransform.c:
21527 (gst_base_transform_prepare_output_buf):
21528 Ref the source pad caps while we need them.
21531 2005-11-11 Wim Taymans <wim@fluendo.com>
21533 * docs/gst/gstreamer-sections.txt:
21534 Added some docs for GstCollectData.
21536 * gst/base/gstadapter.c:
21537 Some small code example fix.
21539 * gst/base/gstcollectpads.c:
21540 * gst/base/gstcollectpads.h:
21541 Document some more.
21543 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21545 * configure.ac: back to HEAD
21547 === release 0.9.5 ===
21549 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21552 releasing 0.9.5, "Bike Lunch Day"
21554 2005-11-11 Wim Taymans <wim@fluendo.com>
21556 * gst/gstbuffer.c: (_gst_buffer_copy):
21559 * gst/gstcaps.c: (gst_caps_is_equal):
21561 Make _is_equal fast in the trivial cases.
21563 * gst/gstminiobject.c:
21564 * gst/gstminiobject.h:
21565 More docs. Spifify .h file.
21570 2005-11-11 Wim Taymans <wim@fluendo.com>
21572 * gst/base/gstbasetransform.c:
21573 (gst_base_transform_prepare_output_buf),
21574 (gst_base_transform_handle_buffer):
21576 If we're processing a buffer and need to allocate an output
21577 buffer, we cannot accept a format change. If we did get a
21578 format change, we have to alloc a buffer ourselves of the
21581 2005-11-11 Wim Taymans <wim@fluendo.com>
21583 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21584 While checking the flag for reentrancy in the gstcaps function
21585 is nice to detect recursive invocations, it also makes it
21586 impossible to call getcaps from multiple threads, which must be
21587 possible. So, checking for recursive calls has to go.
21589 2005-11-11 Michael Smith <msmith@fluendo.com>
21591 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21592 Don't sync on buffers that fall partially outside our current
21593 segment. Prevents an assertion failure/abort playing some files.
21595 2005-11-10 Andy Wingo <wingo@pobox.com>
21597 * check/gst/gstbin.c (test_message_state_changed_children): Style
21600 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21601 gst_bus_poll with the signal watch. Ensures that poll and a signal
21602 watch see the same messages.
21604 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21605 a poll and a watch at the same time get the same messages.
21607 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21609 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21610 * gst/gstcaps.c: (gst_caps_intersect):
21611 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21612 and it's not needed.
21614 2005-11-10 Wim Taymans <wim@fluendo.com>
21616 * docs/design/part-TODO.txt:
21619 2005-11-10 Wim Taymans <wim@fluendo.com>
21621 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21622 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21623 (gst_base_src_do_sync), (gst_base_src_get_range):
21624 Implement clock sync in base class.
21626 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21628 patch by: Tim-Philipp Müller <tim at centricular dot net>
21630 * gst/gststructure.c: (gst_structure_parse_field),
21631 (gst_structure_from_string):
21632 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21633 so that gst_parse_launch() can deal with spaces in filtered link
21634 caps (fixes #164479)
21635 * check/gst/capslist.h:
21636 * check/gst/gststructure.c: (GST_START_TEST):
21637 add unit tests for this change
21639 2005-11-10 Wim Taymans <wim@fluendo.com>
21641 * docs/gst/gstreamer-sections.txt:
21642 * gst/gstelement.c:
21643 * gst/gstelement.h:
21644 Fix docs, move some STATE macros to private.
21646 2005-11-10 Wim Taymans <wim@fluendo.com>
21648 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21649 Added check for bug #317341
21653 Some more spiffifying.
21655 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21656 Call peer linkfunction if we are a source pad. Totally fixes
21660 Update docs, source pads should call the peer linkfunction
21661 so they can atomically perform the pad link.
21663 2005-11-09 Wim Taymans <wim@fluendo.com>
21667 Uber-spiffy-spiffify some more.
21669 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21671 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21672 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21673 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21674 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21675 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21676 * gst/gstpad.c: (gst_pad_init):
21677 Use GST_DEBUG_FUNCPTR() more extensively.
21679 2005-11-09 Wim Taymans <wim@fluendo.com>
21681 * gst/gstobject.c: (gst_object_class_init):
21683 Documentation fixes.
21685 2005-11-09 Edward Hervey <edward@fluendo.com>
21687 * gst/gsttypefindfactory.c:
21690 2005-11-09 Edward Hervey <edward@fluendo.com>
21692 * gst/base/gsttypefindhelper.c:
21693 * gst/gsttypefind.c:
21694 * gst/gsttypefind.h:
21697 2005-11-09 Wim Taymans <wim@fluendo.com>
21699 * gst/gstiterator.c:
21706 2005-11-09 Wim Taymans <wim@fluendo.com>
21712 2005-11-09 Wim Taymans <wim@fluendo.com>
21714 * docs/gst/gstreamer-sections.txt:
21715 Moved the message async delivery private lock and cond
21716 to the private section.
21718 * gst/gstmessage.c:
21719 * gst/gstmessage.h:
21722 2005-11-09 Edward Hervey <edward@fluendo.com>
21724 * docs/gst/gstreamer-sections.txt:
21727 Document GstURIHandler
21729 2005-11-09 Wim Taymans <wim@fluendo.com>
21731 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21732 (gst_iterator_find_custom):
21733 * gst/gstiterator.h:
21736 2005-11-09 Wim Taymans <wim@fluendo.com>
21739 Document another field.
21741 * gst/gststructure.c:
21742 * gst/gststructure.h:
21745 2005-11-09 Wim Taymans <wim@fluendo.com>
21748 Documented structs.
21750 2005-11-09 Wim Taymans <wim@fluendo.com>
21752 * docs/gst/gstreamer-sections.txt:
21753 Added some new macros.
21760 2005-11-09 Wim Taymans <wim@fluendo.com>
21762 * docs/design/part-TODO.txt:
21763 Some more items for the TODO
21769 2005-11-09 Andy Wingo <wingo@pobox.com>
21771 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21772 to work on something else now tho...
21774 * gst/base/gstadapter.c: More adapter docs.
21776 * gst/elements/gstfilesink.c (gst_file_sink_start)
21777 (gst_file_sink_stop): New functions, replace the state change
21779 (gst_file_sink_class_init): Hook up the start and stop functions.
21780 (gst_file_sink_base_init): Don't set the state change handler any
21781 more. It was a bit ugly too, being set from here...
21782 (gst_file_sink_get_property, gst_file_sink_set_property):
21784 (gst_file_sink_set_location): More robust check that doesn't call
21785 GST_STATE. Ugggggg.
21787 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21789 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21790 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21792 2005-11-08 Wim Taymans <wim@fluendo.com>
21794 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21795 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21796 (gst_base_sink_chain), (gst_base_sink_change_state):
21797 * gst/base/gstbasesink.h:
21798 * gst/base/gstbasesrc.h:
21799 * gst/gstelement.h:
21801 Avoid excessive typechecking in macros.
21803 * gst/gstminiobject.c: (gst_mini_object_get_type),
21804 (gst_mini_object_init), (gst_mini_object_new),
21805 (gst_mini_object_free):
21806 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21807 (gst_object_finalize):
21808 Remove cruft code, optimize alloc_trace.
21810 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21812 * docs/faq/gst-uninstalled:
21813 fix up PS1 for systems that try to reset it
21815 2005-11-07 Wim Taymans <wim@fluendo.com>
21817 * gst/base/gstbasesrc.c: (gst_base_src_init),
21818 (gst_base_src_get_range):
21819 Set the segment_end to -1 initially. Fixed typefind.
21821 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21823 * gst/base/gstadapter.c:
21824 Debug category should be 'adapter', not 'GstAdapter'.
21826 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21827 (gst_collectpads_class_init), (gst_collectpads_init),
21828 (gst_collectpads_peek), (gst_collectpads_pop),
21829 (gst_collectpads_event), (gst_collectpads_chain):
21830 Add debug category and some debugging output. Use boilerplate
21831 macros. Remove some extraneous words from docs.
21833 2005-11-05 Andy Wingo <wingo@pobox.com>
21835 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21838 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21840 * docs/gst/gstreamer-sections.txt:
21843 * gst/gstminiobject.h:
21848 2005-11-04 Wim Taymans <wim@fluendo.com>
21850 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21851 Small update to stop at the configured segment_end
21854 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21856 * gst/gstregistry.c:
21857 * gst/gstregistry.h:
21860 2005-11-04 Edward Hervey <edward@fluendo.com>
21862 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21863 Check if we are doing a segment seek and have arrived at the
21864 end of that segment.
21866 2005-11-04 Wim Taymans <wim@fluendo.com>
21868 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21869 Don't leak a mutex unlock in case of an error.
21874 2005-11-04 Wim Taymans <wim@fluendo.com>
21876 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21878 Get the context to wake up only once.
21880 2005-11-03 Wim Taymans <wim@fluendo.com>
21882 * check/states/sinks.c: (GST_START_TEST):
21883 Uncomment fixed check.
21885 * docs/design/part-TODO.txt:
21888 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21889 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21890 (gst_base_sink_get_position):
21891 If we are going to PLAYING, post the right pending state
21892 when we post the intermediate paused message.
21894 * gst/gstelement.c: (gst_element_continue_state),
21895 (gst_element_set_state_func), (gst_element_change_state):
21896 Don't post state changes that were between the same state
21897 and were not ASYNC.
21899 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21901 * docs/gst/gstreamer-sections.txt:
21904 * gst/gstminiobject.h:
21907 more docs and doc style fixes
21909 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21911 * docs/gst/gstreamer-sections.txt:
21912 * gst/gstelement.c:
21913 * gst/gstminiobject.c:
21916 2005-11-03 Andy Wingo <wingo@pobox.com>
21918 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21919 state-changed messages actually have the right order and the right
21922 2005-11-03 Wim Taymans <wim@fluendo.com>
21924 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21925 Added some more checks. Specifically the case where NO_PREROLL
21926 elements are in the pipeline.
21928 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21929 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21930 (gst_base_sink_get_position):
21931 Post READY->PAUSED state change messages too.
21932 Fix bug where VOID was posted as pending state...
21934 * gst/gstbin.c: (gst_bin_recalc_state):
21935 use _element_continue_state() to continue the state change.
21937 * gst/gstelement.c: (gst_element_continue_state),
21938 (gst_element_commit_state), (gst_element_set_state_func),
21939 (gst_element_change_state), (gst_element_change_state_func):
21940 Lots of state change cleanups, assign the STATE_RETURN in
21941 a new continue_state() function that also propagates the
21942 last return value from a state change to the app.
21943 Update some debug statements with proper category.
21945 2005-11-03 Wim Taymans <wim@fluendo.com>
21947 * docs/design/part-events.txt:
21948 * docs/design/part-gstpipeline.txt:
21949 * docs/design/part-messages.txt:
21950 * docs/design/part-overview.txt:
21951 * docs/design/part-seeking.txt:
21952 * docs/design/part-states.txt:
21953 * docs/design/part-trickmodes.txt:
21954 * docs/manual/advanced-position.xml:
21955 Small docs updates.
21958 People think !! is ugly, this looks better.
21960 * gst/gstpad.c: (gst_pad_set_blocked_async):
21961 Remove !! since it's fixed elsewhere now.
21963 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21965 * gst/gstminiobject.h:
21967 Add !! to _FLAG_IS_SET macros to make the result boolean.
21969 2005-11-03 Edward Hervey <edward@fluendo.com>
21971 * gst/gstpad.c: (gst_pad_set_blocked_async):
21972 comparing a flag and a gboolean rarely returns coherent results...
21973 Added two characters (!!) to make that work correctly.
21975 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21977 * gst/gstbus.c: (gst_bus_class_init):
21980 * gst/gstqueue.c: (gst_queue_loop):
21981 Don't assume a miniobject that isn't a buffer is an
21982 event (it could be that there is a refcounting
21983 problem somewhere and the pointer is stale and
21984 refers to an already destroyed miniobject).
21986 2005-11-03 Julien MOUTTE <julien@moutte.net>
21988 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21990 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21992 * docs/manual/advanced-position.xml:
21993 Update seek example and explanations to current 0.9 API.
21995 * gst/elements/gsttypefindelement.c:
21996 (gst_type_find_element_activate):
21997 Remove FIXME comment now that the found caps
22000 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22002 * gst/gstregistryxml.c: (load_feature):
22003 Add another GST_STR_NULL instance
22005 2005-11-02 Edward Hervey <edward@fluendo.com>
22007 * gst/gstpad.c: (handle_pad_block):
22008 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22010 2005-11-02 Wim Taymans <wim@fluendo.com>
22015 * gst/gstelement.c: (gst_element_commit_state):
22016 Remove unused value.
22018 * gst/gstiterator.c:
22019 Mention that the returned element is reffed in the docs.
22021 2005-11-02 Wim Taymans <wim@fluendo.com>
22023 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22024 (gst_pad_push), (gst_pad_push_event):
22025 Unlock blocked pads when they are flushed.
22027 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22030 * docs/gst/gstreamer-sections.txt:
22033 * gst/gstregistry.c: (gst_registry_scan_path_level):
22034 fix for a nasty little missed situation where an installed plug-in
22035 which was in the cache did not get overridden by an uninstalled one
22036 which was earlier in the plugin path because the newly created plugin
22037 for the uninstalled one (not in the registry) didn't get its
22038 ->registered set to TRUE
22040 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22042 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22043 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22044 (gst_collectpads_is_active), (gst_collectpads_collect),
22045 (gst_collectpads_collect_range), (gst_collectpads_start),
22046 (gst_collectpads_stop), (gst_collectpads_peek),
22047 (gst_collectpads_pop), (gst_collectpads_available),
22048 (gst_collectpads_read), (gst_collectpads_flush):
22049 Guard public API with assertions.
22052 Fix docs for gst_pad_set_link_function().
22054 2005-11-02 Johan Dahlin <johan@gnome.org>
22056 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22057 Unref found_caps after we used it.
22059 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22061 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22062 Don't try to ref NULL.
22064 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22066 * win32/common/config.h.in:
22067 provide a GST_FUNCTION that just gives a string for now
22069 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22071 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22072 (gst_object_flags_get_type), (register_gst_bin_flags),
22073 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22074 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22075 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22076 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22077 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22078 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22079 (gst_clock_flags_get_type), (register_gst_state),
22080 (gst_state_get_type), (register_gst_state_change_return),
22081 (gst_state_change_return_get_type), (register_gst_state_change),
22082 (gst_state_change_get_type), (register_gst_element_flags),
22083 (gst_element_flags_get_type), (register_gst_core_error),
22084 (gst_core_error_get_type), (register_gst_library_error),
22085 (gst_library_error_get_type), (register_gst_resource_error),
22086 (gst_resource_error_get_type), (register_gst_stream_error),
22087 (gst_stream_error_get_type), (register_gst_event_type),
22088 (gst_event_type_get_type), (register_gst_seek_type),
22089 (gst_seek_type_get_type), (register_gst_seek_flags),
22090 (gst_seek_flags_get_type), (register_gst_format),
22091 (gst_format_get_type), (register_gst_index_certainty),
22092 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22093 (gst_index_entry_type_get_type),
22094 (register_gst_index_lookup_method),
22095 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22096 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22097 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22098 (gst_index_flags_get_type), (register_gst_debug_level),
22099 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22100 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22101 (gst_iterator_result_get_type), (register_gst_iterator_item),
22102 (gst_iterator_item_get_type), (register_gst_message_type),
22103 (gst_message_type_get_type), (register_gst_mini_object_flags),
22104 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22105 (gst_pad_link_return_get_type), (register_gst_flow_return),
22106 (gst_flow_return_get_type), (register_gst_activate_mode),
22107 (gst_activate_mode_get_type), (register_gst_pad_direction),
22108 (gst_pad_direction_get_type), (register_gst_pad_flags),
22109 (gst_pad_flags_get_type), (register_gst_pad_presence),
22110 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22111 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22112 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22113 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22114 (gst_plugin_flags_get_type), (register_gst_rank),
22115 (gst_rank_get_type), (register_gst_query_type),
22116 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22117 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22118 (gst_tag_flag_get_type), (register_gst_task_state),
22119 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22120 (gst_alloc_trace_flags_get_type),
22121 (register_gst_type_find_probability),
22122 (gst_type_find_probability_get_type), (register_gst_uri_type),
22123 (gst_uri_type_get_type), (register_gst_parse_error),
22124 (gst_parse_error_get_type):
22125 * win32/common/gstversion.h:
22126 update win32 copies
22128 2005-11-01 Luca Ognibene <luogni@tin.it>
22131 fix docs. popt is dead, long live GOption.
22133 2005-10-31 Wim Taymans <wim@fluendo.com>
22138 2005-10-31 Andy Wingo <wingo@pobox.com>
22142 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22144 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22145 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22146 the possibility of deadlocks here if code calling notify() or
22147 set() has a lock that can be taken in another notify handler (ABBA
22148 with class lock and e.g. python GIL state lock).
22150 2005-10-28 Julien MOUTTE <julien@moutte.net>
22152 * gst/gstbus.c: Doc updates.
22154 2005-10-28 Wim Taymans <wim@fluendo.com>
22156 * docs/design/part-TODO.txt:
22157 * gst/gstiterator.c:
22158 * gst/gstsystemclock.c:
22159 * gst/gstsystemclock.h:
22162 2005-10-28 Edward Hervey <edward@fluendo.com>
22164 * docs/gst/gstreamer-docs.sgml:
22165 * docs/gst/gstreamer-sections.txt:
22166 the GstURIType documentation page is private, it only defines GstURIType
22167 which should be defined in the GstURIHandler page
22169 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22171 * gst/gstbin.c: (gst_bin_class_init):
22174 Documentation updates.
22176 2005-10-28 Wim Taymans <wim@fluendo.com>
22178 * docs/gst/gstreamer-sections.txt:
22181 Documented the clocks.
22183 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22185 * docs/gst/gstreamer-sections.txt:
22186 move some macros to private sections
22187 * gst/gstminiobject.c:
22188 * gst/gstminiobject.h:
22189 add descriptions provided by ds and some more
22191 mark macro as to be removed
22193 2005-10-28 Wim Taymans <wim@fluendo.com>
22195 * docs/design/part-TODO.txt:
22196 Add an item to TODO.
22198 * gst/gstiterator.c: (gst_iterator_fold),
22199 (gst_iterator_find_custom):
22200 * gst/gstiterator.h:
22203 2005-10-28 Wim Taymans <wim@fluendo.com>
22205 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22206 (gst_base_transform_init):
22209 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22210 An EOS event marks the queue as completely filled.
22212 2005-10-27 Wim Taymans <wim@fluendo.com>
22214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22215 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22216 Some more debugging.
22218 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22219 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22220 (gst_base_transform_event), (gst_base_transform_getrange),
22221 (gst_base_transform_chain):
22222 * gst/base/gstbasetransform.h:
22224 Protect transform and concurrent buffer alloc with a new lock.
22225 Try not to break ABI/API.
22227 2005-10-27 Wim Taymans <wim@fluendo.com>
22229 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22230 (gst_base_src_init), (gst_base_src_query),
22231 (gst_base_src_default_newsegment),
22232 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22233 (gst_base_src_send_event), (gst_base_src_event_handler),
22234 (gst_base_src_pad_get_range), (gst_base_src_loop),
22235 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22236 (gst_base_src_start), (gst_base_src_deactivate),
22237 (gst_base_src_activate_push), (gst_base_src_change_state):
22238 Move some stuff around and cleanup things.
22240 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22242 * gst/base/gstbasesrc.c: (gst_base_src_query):
22243 Add missing break statements.
22245 2005-10-27 Wim Taymans <wim@fluendo.com>
22247 * check/gst/gstbin.c: (GST_START_TEST):
22248 An extra refcount is taken in basesrc.
22250 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22251 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22252 (gst_base_src_loop):
22253 Small cleanups, check for flushing after being unlocked from the
22254 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22255 Don't send out EOS when going to READY.
22257 2005-10-27 Wim Taymans <wim@fluendo.com>
22259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22260 (gst_base_sink_get_position):
22263 * gst/gstbin.c: (message_check), (bin_replace_message),
22264 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22265 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22266 (bin_query_duration_init), (bin_query_duration_fold),
22267 (bin_query_duration_done), (bin_query_generic_fold),
22269 * tools/gst-launch.c: (main):
22272 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22274 * examples/controller/audio-example.c: (main):
22275 * examples/queue/queue.c: (event_loop):
22276 * gst/base/gstbasetransform.h:
22277 * gst/gstelement.c: (gst_element_send_event):
22279 * gst/gstpad.c: (gst_pad_send_event):
22282 changing log priority in error situations
22284 2005-10-25 Wim Taymans <wim@fluendo.com>
22286 * gst/gstbin.c: (message_check), (bin_replace_message),
22287 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22288 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22289 (bin_query_duration_init), (bin_query_duration_fold),
22290 (bin_query_duration_done), (bin_query_generic_fold),
22292 Some doc and debug updates.
22293 Cache previously requested query DURATION for speed. invalidate
22294 cached duration if element posts a DURATION message.
22296 2005-10-25 Wim Taymans <wim@fluendo.com>
22298 * docs/design/part-TODO.txt:
22301 * gst/gstbin.c: (message_check), (bin_replace_message),
22302 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22303 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22304 (bin_query_duration_init), (bin_query_duration_fold),
22305 (bin_query_duration_done), (bin_query_generic_fold),
22307 Handle SEGMENT_START/DONE messages correctly.
22308 More evolved query algorithm that handles duration queries
22311 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22312 (gst_element_get_state_func), (gst_element_abort_state),
22313 (gst_element_commit_state), (gst_element_lost_state):
22314 Some more debugging.
22316 * gst/gstmessage.h:
22319 2005-10-25 Wim Taymans <wim@fluendo.com>
22321 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22322 Don't use invalid stream_time.
22324 * gst/gstevent.c: (gst_event_new_newsegment):
22325 stream_time in newsegment cannot be undefined.
22327 2005-10-24 Wim Taymans <wim@fluendo.com>
22332 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22334 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22336 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22338 * docs/libs/tmpl/gstdparam.sgml:
22339 * docs/libs/tmpl/gstdplinint.sgml:
22340 * docs/libs/tmpl/gstdpman.sgml:
22341 * docs/libs/tmpl/gstdpsmooth.sgml:
22342 * docs/libs/tmpl/gstunitconvert.sgml:
22345 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22350 === release 0.9.4 ===
22352 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22355 releasing 0.9.4, "Tyrannosaurus Rex"
22357 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22359 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22360 (gst_file_sink_get_current_offset):
22361 Use fseeko() and ftello() if available. When falling back on
22362 lseek() to get the current offset, fflush() first to make sure
22363 everything is up-to-date and we get the right offset.
22365 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22368 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22369 * gst/gsterror.c: (_gst_stream_errors_init):
22371 * gst/gstqueue.c: (gst_queue_loop):
22373 remove prematurely added error category and clean up the instances
22375 2005-10-21 Wim Taymans <wim@fluendo.com>
22377 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22378 (gst_base_sink_get_position), (gst_base_sink_query),
22379 (gst_base_sink_change_state):
22380 Simply set the right flag when going to playing, that's all
22381 we need to do instead of calling a function inside the object
22382 lock (that could take the lock as well and deadlock)
22384 2005-10-21 Wim Taymans <wim@fluendo.com>
22386 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22387 (gst_base_src_loop):
22388 Don't warn, the peer element knows what to do best when
22389 the seek failed, it might try something else.
22391 2005-10-21 Wim Taymans <wim@fluendo.com>
22393 * gst/base/gstbasesrc.c: (gst_base_src_init),
22394 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22397 2005-10-21 Wim Taymans <wim@fluendo.com>
22399 * docs/design/part-segments.txt:
22402 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22403 Correctly set caps, even on the subbufer.
22405 2005-10-21 Wim Taymans <wim@fluendo.com>
22407 * docs/gst/gstreamer-docs.sgml:
22408 * docs/gst/gstreamer-sections.txt:
22409 * gst/gstelement.h:
22412 * gst/gstmessage.h:
22415 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22419 And 2% more doc coverage.
22421 2005-10-21 Andy Wingo <wingo@pobox.com>
22423 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22424 position reporting.
22426 2005-10-20 Wim Taymans <wim@fluendo.com>
22428 * gst/gsterror.c: (gst_error_get_message):
22431 * gst/gststructure.c:
22436 2005-10-20 Wim Taymans <wim@fluendo.com>
22441 Another 1% more coverage.
22443 2005-10-20 Wim Taymans <wim@fluendo.com>
22445 * docs/gst/gstreamer-sections.txt:
22446 * gst/gstelement.c: (gst_element_get_state_func),
22447 (gst_element_abort_state), (gst_element_commit_state),
22448 (gst_element_lost_state):
22450 * gst/gstquery.c: (gst_query_set_position),
22451 (gst_query_parse_position), (gst_query_set_duration),
22452 (gst_query_parse_duration), (gst_query_new_convert):
22454 Yay! 1% more docs coverage.
22456 2005-10-20 Wim Taymans <wim@fluendo.com>
22459 * gst/gstquery.c: (gst_query_set_position),
22460 (gst_query_parse_position), (gst_query_set_duration),
22461 (gst_query_parse_duration), (gst_query_new_convert):
22463 * gst/gstutils.c: (gst_element_query_convert):
22465 Docs and consistency fixes.
22467 2005-10-20 Wim Taymans <wim@fluendo.com>
22473 2005-10-20 Wim Taymans <wim@fluendo.com>
22475 * gst/gstbin.c: (message_check), (bin_replace_message),
22476 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22477 (update_degree), (gst_bin_sort_iterator_next),
22478 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22479 Reworked the message handling a bit, cache the messages instead of
22480 only the senders. alows us to do more in the future.
22482 2005-10-20 Wim Taymans <wim@fluendo.com>
22484 * docs/design/part-TODO.txt:
22487 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22488 (gst_base_sink_query):
22489 Don't use clock time to report position when in EOS.
22491 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22493 * tools/gst-inspect.c: (print_interfaces),
22494 (print_element_properties_info), (print_element_info):
22495 Fix interface output with gst-inspect -a; don't print
22496 newlines after double/float properties.
22498 2005-10-20 Wim Taymans <wim@fluendo.com>
22500 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22501 (gst_base_sink_query):
22502 Speed up current position calculation.
22504 * gst/base/gstbasesrc.c: (gst_base_src_query),
22505 (gst_base_src_default_newsegment):
22506 Correctly set stream position in newsegment.
22508 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22509 (update_degree), (gst_bin_sort_iterator_next),
22510 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22511 * gst/gstmessage.c: (gst_message_new_custom):
22512 Clean up debugging info
22514 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22515 (gst_queue_loop), (gst_queue_handle_src_query):
22518 2005-10-19 Wim Taymans <wim@fluendo.com>
22520 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22521 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22522 Fix query handling again.
22524 2005-10-19 Wim Taymans <wim@fluendo.com>
22526 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22527 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22528 * gst/base/gstbasesrc.c: (gst_base_src_query):
22529 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22530 * gst/elements/gsttypefindelement.c:
22531 (gst_type_find_handle_src_query), (find_element_get_length),
22532 (gst_type_find_element_activate):
22535 * gst/gstquery.c: (gst_query_new_position),
22536 (gst_query_set_position), (gst_query_parse_position),
22537 (gst_query_new_duration), (gst_query_set_duration),
22538 (gst_query_parse_duration), (gst_query_set_segment),
22539 (gst_query_parse_segment):
22541 Bundling query position/duration is not a good idea since duration
22542 does not change much and we don't want to recalculate it for every
22543 position query, so they are separated again..
22544 Base value in segment query is not needed.
22546 * gst/gstqueue.c: (gst_queue_handle_src_query):
22547 * gst/gstutils.c: (gst_element_query_position),
22548 (gst_element_query_duration), (gst_pad_query_position),
22549 (gst_pad_query_duration):
22551 Updates for query API change.
22552 Added some docs here and there.
22554 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22556 * check/gst/gstbin.c: (GST_START_TEST):
22557 * check/gst/gstghostpad.c: (GST_START_TEST):
22558 * check/pipelines/cleanup.c: (GST_START_TEST):
22559 wait on thread to die so we can check refcount correctly
22561 2005-10-18 Wim Taymans <wim@fluendo.com>
22563 * check/pipelines/stress.c: (GST_START_TEST):
22564 Make check a little more time consuming.
22566 2005-10-18 Wim Taymans <wim@fluendo.com>
22568 * check/Makefile.am:
22569 * check/pipelines/stress.c: (GST_START_TEST),
22570 (simple_launch_lines_suite), (main):
22571 Small state change torture test.
22573 * docs/design/part-states.txt:
22574 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22575 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22576 (gst_base_sink_change_state):
22577 Never take state lock from streaming thread, clean up ugly
22578 hacks. Unfortunatly core does not yet support nice ways to
22579 async commit state.
22581 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22583 Start state recalc if a STATE_DIRTY message is posted, but only
22584 on the toplevel bin.
22586 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22587 (gst_element_get_state_func), (gst_element_abort_state),
22588 (gst_element_commit_state), (gst_element_lost_state),
22589 (gst_element_set_state_func), (gst_element_change_state):
22590 * gst/gstelement.h:
22591 State variables are now protected with the LOCK, the state
22592 lock is only used to serialize _set_state().
22594 2005-10-18 Wim Taymans <wim@fluendo.com>
22596 * check/gst/gstbin.c: (GST_START_TEST):
22597 * check/gst/gstmessage.c: (GST_START_TEST):
22598 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22601 * gst/gstelement.c: (gst_element_abort_state),
22602 (gst_element_commit_state), (gst_element_lost_state):
22603 * gst/gstmessage.c: (gst_message_new_state_changed),
22604 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22605 (gst_message_new_segment_done), (gst_message_new_duration),
22606 (gst_message_parse_state_changed),
22607 (gst_message_parse_segment_start),
22608 (gst_message_parse_segment_done), (gst_message_parse_duration):
22609 * gst/gstmessage.h:
22610 * tools/gst-launch.c: (event_loop):
22611 Seriously, this is better than a previous commit as we only need
22612 to notify the fact that an element changed state in a streaming
22613 thread, marking the state of the parents dirty, hence the
22614 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22617 2005-10-18 Wim Taymans <wim@fluendo.com>
22619 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22620 (gst_bin_recalc_func):
22621 * gst/gstelement.c: (gst_element_set_clock),
22622 (gst_element_abort_state), (gst_element_lost_state):
22623 Cleanups, prepare for state change fixes.
22625 2005-10-18 Wim Taymans <wim@fluendo.com>
22628 * gst/gstelement.c: (gst_element_class_init),
22629 (gst_element_set_state), (gst_element_set_state_func):
22630 * gst/gstelement.h:
22631 Pending ABI changes.
22632 GThreadPool in GstBinClass to monitor async state changes.
22633 state_cookie in GstElement to detect concurrent gst/set state.
22634 set_state is now virtual too in case a very complicated element
22635 has to be constructed.
22637 2005-10-18 Wim Taymans <wim@fluendo.com>
22639 * check/gst/gstbin.c: (GST_START_TEST):
22640 * check/gst/gstmessage.c: (GST_START_TEST):
22641 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22642 * gst/gstbin.c: (bin_bus_handler):
22643 * gst/gstelement.c: (gst_element_commit_state),
22644 (gst_element_lost_state):
22645 * gst/gstmessage.c: (gst_message_new_state_changed),
22646 (gst_message_new_segment_start), (gst_message_new_segment_done),
22647 (gst_message_new_duration), (gst_message_parse_state_changed),
22648 (gst_message_parse_segment_start),
22649 (gst_message_parse_segment_done), (gst_message_parse_duration):
22650 * gst/gstmessage.h:
22651 * tools/gst-launch.c: (event_loop):
22652 Make messages future proof.
22653 state-change gets a flag if it was a message comming from the
22655 segment-start/stop can also be specified in other formats.
22656 A message to notify an app that a pipeline changed playback
22658 Also fix a GstMessage leak in -launch
22660 2005-10-18 Andy Wingo <wingo@pobox.com>
22662 * gst/gstelement.c (gst_element_dispose): More helpful message.
22664 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22666 reviewed by: <delete if not using a buddy>
22668 * common/gtk-doc.mak:
22670 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22672 * gst/gstregistry.c: (gst_registry_scan_path_level):
22673 unref a plug-in we get that was already initialized
22675 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22677 * docs/gst/gstreamer-sections.txt:
22678 * docs/libs/gstreamer-libs-sections.txt:
22679 * gst/gstelement.h:
22680 add new api entries
22681 hide internal macro
22683 2005-10-17 Andy Wingo <wingo@pobox.com>
22685 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22688 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22690 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22692 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22693 (gst_element_get_state_func): Better debug message.
22694 (gst_element_commit_state): s/INFO/DEBUG/.
22695 (gst_element_lost_state, gst_element_change_state):
22697 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22698 (gst_message_new_custom): s/INFO/LOG/.
22700 2005-10-17 Michael Smith <msmith@fluendo.com>
22702 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22703 Check if end time is valid using end time, not start time.
22705 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22707 * check/gst-libs/controller.c: (GST_START_TEST),
22708 (gst_controller_suite):
22709 * libs/gst/controller/gstcontroller.c:
22710 (gst_controlled_property_set_interpolation_mode):
22711 * libs/gst/controller/gstcontroller.h:
22712 * libs/gst/controller/gstinterpolation.c:
22713 * testsuite/controller/.cvsignore:
22714 * testsuite/controller/Makefile.am:
22715 * testsuite/controller/interpolator.c:
22716 merge controller testsuites
22718 remove mem-chunk from docs
22720 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22722 * gst/gstmemchunk.c:
22723 * gst/gstmemchunk.h:
22724 * gst/gsttrashstack.c:
22725 * gst/gsttrashstack.h:
22726 out. get out. you're fired. to the Attic !
22728 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22730 * gst/gstcaps.c: (gst_caps_intersect):
22731 fix signedness issues in a (hopefully) correct way
22732 * gst/gstelement.c: (gst_element_pads_activate):
22734 * gst/gstobject.c: (gst_object_set_parent):
22737 2005-10-17 Julien MOUTTE <julien@moutte.net>
22739 * gst/gstvalue.h: Fix prototypes.
22741 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22743 * docs/gst/gstreamer-sections.txt:
22744 * gst/gst.c: (gst_version_string):
22746 * gst/gstversion.h.in:
22747 * win32/common/libgstreamer.def:
22748 add gst_version_string ()
22750 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22754 * gst/gst.c: (init_post):
22755 * win32/common/config.h.in:
22757 * gst/gstcaps.c: (gst_caps_intersect):
22758 use gint64, the range could be bigger than a guint
22760 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22763 document potential problem in 2038
22765 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22767 * gst/gstcaps.c: (gst_caps_intersect):
22768 Fix guint j diving under 0
22770 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22773 * win32/common/config.h:
22774 * win32/common/config.h.in:
22775 check for process.h, declares getpid() on Windows
22777 include process.h if we have it
22778 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22779 * gst/gstmemchunk.h:
22780 fix signedness issues
22781 * win32/common/libgstreamer.def:
22784 2005-10-16 Julien MOUTTE <julien@moutte.net>
22786 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22787 fix. Because of unsigned ints, caps intersection was going nuts and
22788 trying to access structures with G_MAXUINT index. That fixes
22789 videotestsrc ! ffmpegcolorspace ! fakesink
22790 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22793 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22796 use the gettext macro
22797 * gst/elements/gstelements.c:
22799 * gst/indexers/gstindexers.c:
22800 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22801 * win32/common/config.h:
22803 * win32/common/config.h.in:
22804 add the template to generate config.h
22805 * win32/common/gstenumtypes.c:
22806 * win32/common/gstversion.h:
22809 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22811 * gst/gst.c: (gst_version):
22812 * gst/gstversion.h.in:
22815 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22818 Oops, add missing closing bracket.
22820 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22823 use common m4's for argument checking
22825 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22827 * docs/gst/gstreamer-sections.txt:
22829 Add GST_EVENT_TYPE_NAME() macro.
22831 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22834 * gst/gstpluginfeature.c:
22836 privatize more symbols
22838 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22841 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22842 everything that uses GStreamer API should have the includes
22844 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22846 * docs/gst/gstreamer-sections.txt:
22847 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22849 give each value a _get_type, removes the DATA exports
22851 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22855 remove _gst_registry_auto_load, not used anymore
22856 * gst/gstbin.c: (gst_bin_get_type):
22858 * gst/gstelement.c: (gst_element_get_type):
22859 * gst/gstelement.h:
22860 * gst/gstobject.c: (gst_object_get_type):
22862 * gst/gstpad.c: (gst_pad_get_type):
22864 make _get_type functions similar, fixes data export from library
22866 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22869 correctly make conditionals
22870 * gst/elements/Makefile.am:
22871 * gst/elements/gstelements.c:
22872 fix typo causing fdsrc not to build
22874 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22876 * testsuite/Makefile.am:
22877 * testsuite/bytestream/.cvsignore:
22878 * testsuite/bytestream/Makefile.am:
22879 * testsuite/bytestream/filepadsink.c:
22880 * testsuite/bytestream/gstbstest.c:
22881 * testsuite/bytestream/test1.c:
22882 * testsuite/bytestream/testfile1:
22883 * testsuite/caps/normalisation.c:
22884 * testsuite/caps/random.c: (main):
22885 * testsuite/cleanup/.cvsignore:
22886 * testsuite/cleanup/Makefile.am:
22887 * testsuite/cleanup/cleanup1.c:
22888 * testsuite/cleanup/cleanup2.c:
22889 * testsuite/cleanup/cleanup3.c:
22890 * testsuite/cleanup/cleanup4.c:
22891 * testsuite/cleanup/cleanup5.c:
22892 * testsuite/controller/interpolator.c:
22893 * testsuite/debug/printf_extension.c: (main):
22894 * testsuite/elements/tee.c:
22895 * testsuite/negotiation/.cvsignore:
22896 * testsuite/negotiation/Makefile.am:
22897 * testsuite/negotiation/pad_link.c:
22898 * testsuite/pad/Makefile.am:
22899 * testsuite/pad/chainnopull.c:
22900 * testsuite/pad/getnopush.c:
22901 * testsuite/pad/link.c:
22902 * testsuite/refcounting/sched.c: (create_pipeline):
22903 * testsuite/registry/Makefile.am:
22904 * testsuite/registry/gst-print-formats.c:
22905 * testsuite/schedulers/.cvsignore:
22906 * testsuite/schedulers/142183-2.c:
22907 * testsuite/schedulers/142183.c:
22908 * testsuite/schedulers/143777-2.c:
22909 * testsuite/schedulers/143777.c:
22910 * testsuite/schedulers/147713.c:
22911 * testsuite/schedulers/147819.c:
22912 * testsuite/schedulers/147894-2.c:
22913 * testsuite/schedulers/147894.c:
22914 * testsuite/schedulers/Makefile.am:
22915 * testsuite/schedulers/group_link.c:
22916 * testsuite/schedulers/queue_link.c:
22917 * testsuite/schedulers/relink.c:
22918 * testsuite/schedulers/unlink.c:
22919 * testsuite/schedulers/unref.c:
22920 * testsuite/schedulers/useless_iteration.c:
22921 * testsuite/states/bin.c:
22922 clean out/remove some stuff from the testsuite directories
22924 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22927 check for some headers
22928 * gst/elements/Makefile.am:
22929 * gst/elements/gstelements.c:
22930 don't compile fdsrc without sys/socket.h
22931 * gst/indexers/Makefile.am:
22932 * gst/indexers/gstindexers.c: (plugin_init):
22933 don't compile fileindex without mmap
22935 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22942 * check/Makefile.am:
22943 * docs/gst/Makefile.am:
22944 * examples/helloworld/Makefile.am:
22946 * gst/base/Makefile.am:
22947 * gst/check/Makefile.am:
22948 * gst/elements/Makefile.am:
22949 * gst/indexers/Makefile.am:
22950 * gst/parse/Makefile.am:
22951 * libs/gst/controller/Makefile.am:
22952 * libs/gst/dataprotocol/Makefile.am:
22953 * examples/helloworld/helloworld.c: (event_loop):
22954 compile fixes, though it's not being compiled currently
22956 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22958 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22959 Add some simple tests for the new taglist date API.
22961 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22963 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22964 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22965 Beautify 'last-message' output: print 'none' for buffer timestamps
22966 and durations if none is set; improve alignment with next messages.
22968 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22970 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22971 * gst/gstpluginfeature.h:
22972 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22973 * gst/gstregistry.h:
22974 * docs/gst/gstreamer-sections.txt:
22975 Add new API to check plugin feature version requirements.
22977 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22978 Some basic tests for the above.
22980 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22982 * gst/gststructure.c: (gst_structure_to_string):
22983 guard against NULL printf - happens when for example
22984 a message structure with GstClock gets serialized
22986 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22988 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22989 Fix presumable copy'n'pasto.
22991 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22993 * gst/elements/gstfakesrc.h:
22994 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22995 * gst/elements/gsttypefindelement.c:
22996 fix some signedness
22997 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22998 I wonder if this could actually write +2GB files before
23000 2005-10-13 Andy Wingo <wingo@pobox.com>
23002 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23003 Fix Timmeke Waymans bug.
23004 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23005 string of the proper length to gst_caps_from_string. There's a
23006 potential for, before this fix, that this could cause someone
23007 connecting over the network to cause a segfault if the payload is
23008 not NUL-terminated.
23010 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23012 * docs/design/draft-push-pull.txt:
23013 * docs/design/part-overview.txt:
23014 * docs/random/TODO-pre-0.9:
23015 * docs/random/old/ChangeLog.gstreamer:
23016 * gst/base/gstpushsrc.c:
23020 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * gst/glib-compat.c: (gst_flags_get_first_value):
23023 * gst/glib-compat.h:
23024 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23025 (gst_value_compare_double), (gst_value_serialize_flags):
23026 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23029 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23031 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23032 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23034 * tools/gst-launch.c: (event_loop):
23035 print out clock nicely
23037 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23039 * docs/gst/gstreamer-sections.txt:
23040 * gst/gsttaglist.h:
23041 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23042 (gst_tag_list_get_date_index):
23043 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23044 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23046 2005-10-13 Julien MOUTTE <julien@moutte.net>
23048 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23049 (gst_collectpads_chain):
23050 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23053 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23055 * docs/gst/gstreamer-sections.txt:
23058 * tools/gst-inspect.c: (main):
23059 * tools/gst-launch.c: (main):
23060 * tools/gst-run.c: (main):
23061 * tools/gst-xmlinspect.c: (main):
23062 fix GOption context leaks
23065 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23069 * win32/common/config.h:
23071 * win32/vs6/grammar.dsp:
23072 * win32/vs6/libgstelements.dsp:
23073 * win32/vs6/libgstreamer.dsp:
23076 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23079 * gst/base/gstbasesrc.c: (gst_base_src_query):
23080 fix more guint64<->gdouble conversions
23082 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23085 add win32-update target
23086 * win32/common/gstconfig.h:
23087 * win32/common/gstenumtypes.c:
23088 * win32/common/gstenumtypes.h:
23089 * win32/common/gstversion.h:
23090 add files that visual studio can't generate
23092 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23095 add a win32-update target
23098 2005-10-12 Wim Taymans <wim@fluendo.com>
23100 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23101 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23102 * gst/gstelement.c: (gst_element_commit_state),
23103 (gst_element_set_state):
23104 Protect flags with proper lock.
23105 unref provided cached clock in dispose.
23107 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23110 * gst/gstminiobject.h:
23112 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23113 removed unused flags from miniobject
23116 2005-10-12 Wim Taymans <wim@fluendo.com>
23118 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23119 (gst_file_sink_event), (gst_file_sink_render):
23120 Flush before seeking.
23122 2005-10-12 Andy Wingo <wingo@pobox.com>
23124 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23125 always been the case.
23127 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23129 * check/gst/gstbin.c: (GST_START_TEST):
23130 * docs/gst/gstreamer-sections.txt:
23131 * gst/base/gstbasesink.c: (gst_base_sink_init):
23132 * gst/base/gstbasesrc.c: (gst_base_src_init),
23133 (gst_base_src_get_range), (gst_base_src_check_get_range),
23134 (gst_base_src_start), (gst_base_src_stop):
23135 * gst/base/gstbasesrc.h:
23136 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23137 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23138 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23142 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23144 * gst/gstelement.c: (gst_element_is_locked_state),
23145 (gst_element_set_locked_state), (gst_element_commit_state),
23146 (gst_element_set_state):
23147 * gst/gstelement.h:
23148 * gst/gstindex.c: (gst_index_init):
23150 * gst/gstminiobject.h:
23151 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23152 (gst_object_set_parent):
23154 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23155 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23157 * gst/gstpadtemplate.h:
23158 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23159 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23160 * gst/gstpipeline.h:
23161 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23162 (gst_file_index_commit):
23163 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23164 * testsuite/pad/link.c: (gst_test_src_init),
23165 (gst_test_filter_init), (gst_test_sink_init):
23166 * testsuite/states/locked.c: (main):
23167 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23168 moved bitshift from macro to enum definition
23170 2005-10-12 Wim Taymans <wim@fluendo.com>
23172 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23173 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23174 (gst_file_sink_render):
23175 Some more debugging info.
23177 2005-10-12 Wim Taymans <wim@fluendo.com>
23179 * docs/design/part-states.txt:
23180 * tools/gst-launch.c: (main):
23182 Revert non-intentional change.
23184 2005-10-12 Wim Taymans <wim@fluendo.com>
23186 * check/gst/gstbin.c: (GST_START_TEST):
23187 * check/gst/gstelement.c: (GST_START_TEST):
23188 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23189 * check/gst/gstghostpad.c: (GST_START_TEST):
23190 * check/gst/gstpipeline.c: (GST_START_TEST):
23191 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23192 * check/states/sinks.c: (GST_START_TEST):
23193 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23194 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23195 (gst_bin_remove_func), (gst_bin_get_state_func),
23196 (gst_bin_recalc_state), (gst_bin_change_state_func),
23198 * gst/gstelement.c: (gst_element_get_state_func),
23199 (gst_element_get_state), (gst_element_abort_state),
23200 (gst_element_commit_state), (gst_element_set_state),
23201 (gst_element_change_state), (gst_element_change_state_func):
23202 * gst/gstelement.h:
23203 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23204 (gst_pipeline_provide_clock_func):
23205 * gst/gstutils.c: (gst_element_link_pads_filtered):
23206 * tools/gst-launch.c: (main):
23207 * tools/gst-typefind.c: (main):
23208 Use GstClockTime in _get_state() instead of GTimeVal.
23209 Remove old code in gstutils.c
23211 2005-10-12 Andy Wingo <wingo@pobox.com>
23213 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23216 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23217 there is no task. Shouldn't affect any code, as nothing in our
23218 plugins checks this return value.
23219 (gst_pad_stop_task): Also take the stream lock if the pad has no
23220 task. Docs updated.
23222 2005-10-12 Wim Taymans <wim@fluendo.com>
23224 * gst/gstpad.c: (pre_activate), (post_activate),
23225 (gst_pad_activate_pull), (gst_pad_activate_push):
23226 Cleanup activation code. Reset old state if
23229 2005-10-12 Wim Taymans <wim@fluendo.com>
23231 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23232 (gst_base_sink_change_state):
23233 No need to prerol after receiving EOS.
23235 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23236 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23237 * gst/elements/gstidentity.c: (gst_identity_event):
23238 Print events more verbosely.
23240 2005-10-12 Wim Taymans <wim@fluendo.com>
23242 * check/Makefile.am:
23243 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23244 * check/states/sinks2.c:
23245 Moved sinks2 testcode in sinks check.
23247 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23248 (gst_bin_remove_func), (gst_bin_recalc_state),
23249 (gst_bin_change_state_func), (bin_bus_handler):
23250 Fix potential race condition when _get_state() iterated over an
23251 ASYNC element right before it posted a state completion.
23254 Do proper cast here.
23256 * gst/gstevent.c: (gst_event_new_newsegment),
23257 (gst_event_parse_newsegment):
23258 A playback rate of 0.0 is not allowed.
23260 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23262 * win32/common/config.h:
23263 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23264 (_trewinddir), (_ttelldir), (_tseekdir):
23265 * win32/common/dirent.h:
23266 * win32/common/gtchar.h:
23267 * win32/common/libgstbase.def:
23268 * win32/common/libgstreamer.def:
23269 * win32/vs6/grammar.dsp:
23270 * win32/vs6/gst_inspect.dsp:
23271 * win32/vs6/gst_launch.dsp:
23272 * win32/vs6/gstreamer.dsw:
23273 * win32/vs6/libgstbase.dsp:
23274 * win32/vs6/libgstelements.dsp:
23275 * win32/vs6/libgstreamer.dsp:
23276 Visual Studio 6 project files, and a new common directory.
23279 2005-10-11 Wim Taymans <wim@fluendo.com>
23281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23282 (gst_base_sink_do_sync), (gst_base_sink_query),
23283 (gst_base_sink_change_state):
23284 * gst/base/gstbasesink.h:
23285 Correctly parse newsegment info.
23287 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23289 * gst/gst.c: (init_post):
23290 split plugin paths correctly
23292 2005-10-11 Wim Taymans <wim@fluendo.com>
23294 * check/gst/gstevent.c: (GST_START_TEST):
23295 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23296 (gst_base_sink_change_state):
23297 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23298 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23299 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23300 * gst/gstevent.c: (gst_event_new_newsegment),
23301 (gst_event_parse_newsegment):
23303 Added extra flag to newsegment for future API freeze.
23304 Updated check and base elements.
23306 2005-10-11 Julien MOUTTE <julien@moutte.net>
23308 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23309 (gst_collectpads_add_pad), (gst_collectpads_pop),
23310 (gst_collectpads_event), (gst_collectpads_chain):
23311 * gst/base/gstcollectpads.h: Handle EOS correctly.
23313 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23315 * tools/gst-launch.c: (main):
23316 more null protecting
23318 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23320 * gst/gst-i18n-lib.h:
23321 check for ENABLE_NLS, not GETTEXT_PACKAGE
23322 * gst/gstregistry.c: (gst_registry_add_plugin),
23323 (gst_registry_scan_path_level),
23324 (_gst_registry_remove_cache_plugins):
23325 protect possibly NULL strings
23326 * gst/parse/types.h:
23327 config.h already included before
23328 * tools/gst-inspect.c: (main):
23329 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23330 check for ENABLE_NLS, not GETTEXT_PACKAGE
23331 * tools/gst-launch.c: (main):
23332 check for ENABLE_NLS, not GETTEXT_PACKAGE
23334 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23337 if we don't have glib, fail before testing 2.8
23338 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23339 fix a leak, should fix plugins-base testsuite
23341 2005-10-11 Andy Wingo <wingo@pobox.com>
23343 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23344 take the mode we're going to as an arg. Go head and set the mode
23345 and flushing flags now, so that if the activate function starts a
23346 thread all the flags will be in the right state.
23347 (post_activate): Renamed also. Just handle making sure streaming
23348 finishes for the deactivation case, and setting the deactivated
23350 (gst_pad_set_active): Complain loudly if deactivation fails.
23351 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23352 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23353 remove the terrible hack.
23355 2005-10-11 Wim Taymans <wim@fluendo.com>
23357 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23358 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23359 (gst_bin_recalc_state), (gst_bin_change_state_func),
23360 (gst_bin_dispose), (bin_bus_handler):
23362 Prepare to make current EOS message queue more generic.
23365 * gst/gstevent.c: (gst_event_new_newsegment),
23366 (gst_event_parse_newsegment):
23368 Rename base to stream_time.
23370 * gst/gstmessage.h:
23373 2005-10-11 Wim Taymans <wim@fluendo.com>
23375 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23376 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23377 (gst_bin_change_state_func), (bin_bus_handler):
23379 Work on proper clock selection.
23381 2005-10-11 Edward Hervey <edward@fluendo.com>
23383 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23384 * libs/gst/controller/gstcontroller.h:
23385 Added GList* version of _remove_properties() in order to be able to wrap
23388 2005-10-11 Wim Taymans <wim@fluendo.com>
23390 * docs/design/part-states.txt:
23393 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23394 (gst_bin_change_state_func), (bin_bus_handler):
23395 Doc updates. Don't distribute the same clock over and over again.
23401 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23402 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23403 (gst_pad_send_event):
23405 Make probe emission threadsafe again.
23406 Register quarks and move _get_name() from utils.
23409 * gst/gstpipeline.c: (gst_pipeline_class_init),
23410 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23411 Only redistribute the clock of it changed.
23413 * gst/gstsystemclock.h:
23418 Moved the _flow_get_name() to GstPad.
23420 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23422 * check/gst-libs/gdp.c: (GST_START_TEST):
23423 * check/gst/gstcaps.c: (GST_START_TEST):
23424 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23425 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23426 (gst_dp_packet_from_caps):
23427 fix more valgrind warnings before turning up the heat
23429 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23431 * gst/parse/grammar.y:
23432 some cleanup before the hacking
23434 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23436 * gst/base/gstbasesrc.c: (gst_base_src_query):
23438 * gst/gstutils.c: (gst_guint64_to_gdouble),
23439 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23441 externalize, basesrc uses it
23442 obviously the implementation needs testing
23444 2005-10-10 Wim Taymans <wim@fluendo.com>
23446 * tests/sched/Makefile.am:
23447 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23448 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23450 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23452 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23453 apparently converting from guint64 to double is not implemented
23456 2005-10-10 Wim Taymans <wim@fluendo.com>
23458 * check/Makefile.am:
23459 * check/generic/states.c: (GST_START_TEST):
23460 * check/gst/gstbin.c: (GST_START_TEST):
23461 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23462 * check/states/sinks.c: (GST_START_TEST):
23463 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23465 Check fixes, use API as stated in design docs, remove hacks.
23467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23468 (gst_base_sink_change_state):
23469 Catch stopping our task while we're shutting down.
23471 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23472 (gst_bin_remove_func), (gst_bin_get_state_func),
23473 (gst_bin_recalc_state), (gst_bin_change_state_func),
23476 * gst/gstelement.c: (gst_element_init),
23477 (gst_element_get_state_func), (gst_element_abort_state),
23478 (gst_element_commit_state), (gst_element_lost_state),
23479 (gst_element_set_state), (gst_element_change_state),
23480 (gst_element_change_state_func):
23481 * gst/gstelement.h:
23482 New state change algorithm (see #318116)
23484 * gst/gstpipeline.c: (gst_pipeline_class_init),
23485 (gst_pipeline_init), (gst_pipeline_set_property),
23486 (gst_pipeline_get_property), (do_pipeline_seek),
23487 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23488 * gst/gstpipeline.h:
23489 Remove crude state change hacks.
23492 Remove crude hacks.
23494 * tools/gst-launch.c: (main):
23495 Fixes for state change. Needs some more work to fully use the
23498 2005-10-10 Andy Wingo <wingo@pobox.com>
23500 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23502 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23503 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23506 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23508 * gst/gstiterator.c: (gst_iterator_new):
23509 Fix my previous commit: GTypes passed to gst_iterator_new()
23510 can be fundamental types.
23512 2005-10-10 Wim Taymans <wim@fluendo.com>
23514 * gst/gstelement.c: (gst_element_iterate_pad_list),
23515 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23516 (gst_element_iterate_sink_pads):
23517 Use src/sink pads lists for the respective iterators instead
23520 2005-10-10 Andy Wingo <wingo@pobox.com>
23522 Merged in popt removal + GOption addition patch from Ronald, bug
23525 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23526 GstElement macros around, remove popt-related symbols, add goption
23529 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23531 * docs/gst/Makefile.am:
23532 * docs/libs/Makefile.am: No POPT_CFLAGS.
23534 * examples/manual/Makefile.am:
23535 * docs/manual/basics-init.xml: Doc updates with an example.
23537 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23538 (gst_init), (parse_one_option), (parse_goption_arg):
23539 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23540 bit of hand merging and debugging to get the GOption stuff working
23543 * tests/Makefile.am:
23544 * tools/Makefile.am:
23545 * tools/gst-inspect.c: (main):
23546 * tools/gst-launch.c: (main):
23547 * tools/gst-run.c: (main):
23548 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23550 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23552 * gst/gstiterator.c: (gst_iterator_new):
23553 Add assertions to make sure passed GType is likely to really
23554 be a GType (as the compiler won't catch it if the size and
23555 GType arguments get mixed up, see #318447).
23557 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23559 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23561 * gst/gstbin.c: (gst_bin_iterate_sorted):
23562 Pass GType and size arguments to gst_iterator_new() in the right
23563 order (maybe we should make _new() take the GType as first argument
23564 just like _new_list()?) (#318447).
23567 2005-10-10 Wim Taymans <wim@fluendo.com>
23569 * gst/gstelement.c: (gst_element_finalize):
23570 And free the GStaticRecMutex too
23572 2005-10-10 Andy Wingo <wingo@pobox.com>
23574 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23575 Allocate and free the mutex properly.
23577 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23579 (GstElement): The state_lock is now recursive. Rebuild your
23580 plugins, suckers. Old macros adapted.
23582 * docs/gst/gstreamer-sections.txt: Doc updates.
23585 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23586 (g_static_rec_cond_wait): Ported from state changes patch, while
23587 we wait on bug #317802 to be solved in a well-distributed GLib.
23589 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23590 gst_element_change_state, variable name changes.
23591 (gst_element_change_state): Split out of gst_element_set_state in
23592 preparation for the state change merge. Doesn't pay attention to
23593 the 'transition' argument.
23594 (gst_element_set_state): Updates, hopefully purely cosmetic.
23595 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23596 state change patch.
23597 (gst_element_get_state_func): Renamed from get_state, cosmetic
23600 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23602 * gst/elements/gstelements.c:
23603 * win32/GStreamer.vcproj:
23605 * win32/dirent.c: (_tseekdir):
23606 * win32/gst-inspect.vcproj:
23607 * win32/gst-launch.vcproj:
23608 * win32/gstconfig.h:
23609 * win32/gstelements.vcproj:
23610 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23611 * win32/gstreamer.def:
23612 * win32/msvc71.sln:
23613 updates for the win32 build (patch from Sebastien Moutte)
23615 2005-10-10 Andy Wingo <wingo@pobox.com>
23617 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23618 gst_bin_get_state, cleaned up (but no logic changes).
23619 (bin_element_is_sink): Comment updates.
23620 (sink_iterator_filter): Remove needless cast.
23621 (gst_bin_iterate_sinks): Doc update.
23622 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23623 cleaned up (but no logic changes).
23625 * check/states/sinks.c (test_src_sink): Cleanups from the state
23627 (test_livesrc_sink): Sync on the state.
23629 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23630 the state change patch.
23632 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23635 * check/gst/gstbin.c: Merge in some style fixes and additional
23636 checks from Wim's state change patch.
23638 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23640 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23641 (gst_type_find_helper):
23642 Check whether we have the requested data already in our list of
23643 cached buffers before pulling a new buffer; also make the buffer
23644 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23646 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23651 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23652 don't use long long, it's not portable. Replacing with
23653 gint64 seems to work; let's hope no skeletons fall out of the closet.
23655 2005-10-10 Andy Wingo <wingo@pobox.com>
23657 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23659 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23661 * docs/gst/gstreamer-sections.txt:
23666 * gst/gstmessage.c: (gst_message_parse_state_changed):
23669 more docs, fix compilation
23671 2005-10-09 Philippe Khalaf <burger@speedy.org>
23672 * gst/gstmessage.c:
23673 Fixed a few forgotten variables on previous commit
23675 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23677 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23678 Fix evil typefind crasher: getrange() might return a short
23679 buffer at the end of a file, but gst_type_find_peek() must
23680 either return the full data as requested or NULL, but
23681 never a short buffer.
23683 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23685 * gst/gstmessage.c: (gst_message_new_state_changed),
23686 (gst_message_parse_state_changed):
23687 * gst/gstmessage.h:
23688 don't use "new", it's a C++ keyword
23690 2005-10-08 Wim Taymans <wim@fluendo.com>
23692 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23693 * gst/gstelement.c: (gst_element_post_message):
23694 * gst/gstpipeline.c: (gst_pipeline_change_state):
23695 Small docs and debug updates.
23697 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23699 * docs/gst/gstreamer-sections.txt:
23700 * gst/gstelementfactory.c:
23702 * gst/gsttaglist.c:
23705 2005-10-08 Wim Taymans <wim@fluendo.com>
23707 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23708 (gst_bin_dispose), (bin_bus_handler):
23709 Fix typos, add comments.
23710 Clear EOS list when going to PAUSED from any direction and do it
23711 in a threadsafe way.
23712 Get base time in a threadsafe way too.
23713 Fix confusing debug in the change_state function.
23714 Various other small cleanups.
23716 * gst/gstelement.c: (gst_element_post_message):
23717 Fix very verbose bus posting code.
23719 * gst/gstpipeline.c: (gst_pipeline_class_init),
23720 (gst_pipeline_set_property), (gst_pipeline_get_property),
23721 (gst_pipeline_change_state):
23722 Small ARG_ -> PROP_ cleanup
23724 2005-10-08 Wim Taymans <wim@fluendo.com>
23726 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23727 Do a less CPU demanding EOS check because we can.
23729 2005-10-08 Wim Taymans <wim@fluendo.com>
23731 * libs/gst/dataprotocol/dataprotocol.c:
23732 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23733 (gst_dp_packet_from_event):
23734 * libs/gst/dataprotocol/dataprotocol.h:
23735 * libs/gst/dataprotocol/dp-private.h:
23736 It's about time we bump the version number.
23737 Since event types don't fit in the guint8 anymore describing
23738 the payload type, make payload type 16 bits wide.
23740 2005-10-08 Wim Taymans <wim@fluendo.com>
23742 * docs/design/part-TODO.txt:
23743 * docs/design/part-clocks.txt:
23744 * docs/design/part-events.txt:
23745 * docs/design/part-gstbin.txt:
23746 * docs/design/part-gstelement.txt:
23747 * docs/design/part-gstpipeline.txt:
23748 * docs/design/part-live-source.txt:
23749 * docs/design/part-messages.txt:
23750 * docs/design/part-overview.txt:
23751 * docs/design/part-states.txt:
23754 2005-10-08 Wim Taymans <wim@fluendo.com>
23758 Fix event quark registration.
23759 Add some space between events so we can insert them in the
23762 2005-10-08 Wim Taymans <wim@fluendo.com>
23764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23765 (gst_base_sink_handle_buffer):
23766 Better log message.
23769 * gst/gstelement.h:
23772 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23773 (gst_queue_set_property), (gst_queue_get_property):
23775 Remove old unused properties.
23777 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23778 * docs/gst/gstreamer-sections.txt:
23779 * gst/gstmessage.c:
23780 * gst/gstmessage.h:
23781 * gst/gstminiobject.c:
23782 * gst/gstminiobject.h:
23786 lots of new docs and doc fixes
23788 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23790 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23792 * gst/gstregistry.c: (gst_registry_lookup_locked),
23793 (gst_registry_scan_path_level):
23794 * gst/gstregistryxml.c: (load_plugin):
23795 Only ever load one plugin for a given plugin basename.
23796 This ensures correct overriding of GST_PLUGIN_PATH over
23797 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23798 system installed plugins.
23800 2005-10-08 Wim Taymans <wim@fluendo.com>
23802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23803 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23804 Prepare for doing QOS.
23806 2005-10-08 Wim Taymans <wim@fluendo.com>
23808 * check/gst/gstbin.c: (GST_START_TEST):
23809 * check/pipelines/cleanup.c: (GST_START_TEST):
23810 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23811 Allow new clock message too.
23813 2005-10-08 Wim Taymans <wim@fluendo.com>
23815 * gst/gstmessage.c: (gst_message_new_error),
23816 (gst_message_new_warning), (gst_message_new_tag),
23817 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23818 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23819 (gst_message_new_segment_start), (gst_message_new_segment_done),
23820 (gst_message_parse_state_changed),
23821 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23822 (gst_message_parse_new_clock):
23823 * gst/gstmessage.h:
23824 Also carry the clock in question.
23826 2005-10-08 Wim Taymans <wim@fluendo.com>
23828 * gst/gstmessage.c: (gst_message_new_custom),
23829 (gst_message_new_eos), (gst_message_new_error),
23830 (gst_message_new_warning), (gst_message_new_tag),
23831 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23832 (gst_message_new_new_clock), (gst_message_new_segment_start),
23833 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23834 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23835 * gst/gstmessage.h:
23837 Added clock related messages.
23839 * gst/gstpipeline.c: (gst_pipeline_change_state):
23840 Post message when the clock changed.
23842 * tools/gst-launch.c: (event_loop):
23845 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23847 * tools/gst-inspect.c: (print_element_properties_info):
23848 Can't pass NULL strings to g_print() on windows.
23850 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23852 * docs/Makefile.am:
23853 * docs/gst/Makefile.am:
23854 * docs/gst/gstreamer-docs.sgml:
23855 * docs/gst/running.xml:
23856 * docs/version.entities.in:
23857 add a chapter on running GStreamer.
23858 document GST_DEBUG and GST_PLUGIN* env vars
23860 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23865 remove PLUGINS_BUILDDIR stuff
23866 * gst/gst.c: (init_post):
23867 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23869 remove, it was condescending and not needed
23871 2005-10-08 Wim Taymans <wim@fluendo.com>
23873 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23874 (gst_base_sink_handle_object), (gst_base_sink_event),
23875 (gst_base_sink_wait), (gst_base_sink_handle_event),
23876 (gst_base_sink_change_state):
23877 * gst/base/gstbasesink.h:
23878 Repost EOS message while going to PLAYING if still EOS.
23879 Make sure that when receiving a FLUSH_START we don't attempt
23880 to sync on the clock anymore.
23882 2005-10-08 Wim Taymans <wim@fluendo.com>
23884 * tools/gst-launch.c: (event_loop):
23885 Better message printout.
23887 2005-10-08 Wim Taymans <wim@fluendo.com>
23889 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23890 (gst_bin_child_proxy_get_children_count):
23891 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23892 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23893 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23894 (gst_child_proxy_set_valist):
23895 * gst/parse/grammar.y:
23896 Make ChildProxy threadsafe and fix mem leaks.
23898 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23900 * gst/gst.c: (init_post):
23901 debug the GST_PLUGIN_ env vars
23903 2005-10-08 Wim Taymans <wim@fluendo.com>
23905 * check/gst/gstbin.c: (GST_START_TEST):
23906 * check/gst/gstmessage.c: (GST_START_TEST):
23907 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23908 * gst/gstelement.c: (gst_element_commit_state),
23909 (gst_element_lost_state):
23910 * gst/gstmessage.c: (gst_message_new_state_changed),
23911 (gst_message_parse_state_changed):
23912 * gst/gstmessage.h:
23913 * tools/gst-launch.c: (event_loop):
23914 Added extra field to STATE_CHANGE message with the pending
23915 state, which will be different from the new state soon.
23917 2005-10-08 Wim Taymans <wim@fluendo.com>
23919 * gst/gstbus.c: (gst_bus_pop):
23921 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23922 Small cleanups and doc updates.
23924 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23926 * gst/gst.c: (init_pre):
23927 * gst/gstbin.c: (gst_bin_add_func):
23928 log distributing clocks and base time
23929 * gst/gstregistry.c: (gst_registry_add_plugin),
23930 (gst_registry_scan_path_level), (gst_registry_scan_path):
23931 clean up the debugging output a little
23932 * gst/gstutils.c: (gst_element_state_get_name):
23933 warn about a memleak (I've actually seen this be used, though
23934 it was probably a bug)
23936 2005-10-07 Wim Taymans <wim@fluendo.com>
23938 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23939 (gst_base_src_init), (gst_base_src_default_newsegment),
23940 (gst_base_src_newsegment), (gst_base_src_do_seek),
23941 (gst_base_src_loop), (gst_base_src_start):
23942 * gst/base/gstbasesrc.h:
23943 Make the newsegment event customizable by subclasses.
23945 2005-10-07 Wim Taymans <wim@fluendo.com>
23947 * gst/gstevent.c: (gst_event_new_buffersize),
23948 (gst_event_parse_buffersize):
23950 New event for future idea.
23952 2005-10-07 Andy Wingo <wingo@pobox.com>
23954 * gst/gstelement.c (gst_element_post_message): Doc update.
23956 * docs/gst/gstreamer-sections.txt: Update.
23958 * gst/gstmessage.c (gst_message_new_application): Made into a
23959 function like honest API calls.
23960 (gst_message_new_element): New message type.
23962 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23964 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23965 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23968 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23969 NO_PREROLL from gst_element_change_state to fall through.
23971 2005-10-07 Wim Taymans <wim@fluendo.com>
23973 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23974 (gst_ghost_pad_do_activate_push):
23975 Activating a ghostpad with no internal pad in push mode
23978 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23981 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23982 Fixes compilation on Windows.
23984 2005-10-07 Michael Smith <msmith@fluendo.com>
23986 * tools/gst-inspect.c:
23987 Print out feature and plugin count at the end when printing out
23990 2005-10-04 Michael Smith <msmith@fluendo.com>
23992 * gst/gsterror.c: (_gst_stream_errors_init):
23993 Add another error string used in a few existing plugins.
23996 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23997 * tools/gst-inspect.c: (print_element_info):
23998 When a feature disappears from a plugin (and the feature exists in
23999 the cached registry file), things went horribly wrong. This isn't a
24000 complete fix, we should actually be removing the 'missing' features
24001 from the features list when we load the actual plugin. That's not
24004 2005-10-04 Johan Dahlin <johan@gnome.org>
24006 * check/gst/gstiterator.c: (GST_START_TEST):
24007 * gst/gstbin.c: (gst_bin_iterate_elements),
24008 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24009 * gst/gstelement.c: (gst_element_iterate_pads):
24010 * gst/gstformat.c: (gst_format_iterate_definitions):
24011 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24012 (gst_iterator_new_list), (gst_iterator_filter):
24013 * gst/gstiterator.h:
24014 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24015 Add a GType to GstIterator, update callsites and tests.
24017 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24019 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24020 give events a chance to be handled by event probes when the pad
24023 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24025 * gst/gstevent.c: (gst_event_type_get_name),
24026 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24028 add string representations for event types
24030 2005-10-06 Wim Taymans <wim@fluendo.com>
24032 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24033 Don't use NULL pointers.
24035 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24037 * gst/gst_private.h:
24039 * gst/gstelement.c:
24041 * gst/gstpluginfeature.c:
24042 widen the debug category in output to fit the biggest one we have
24043 add a bus category and use it
24044 play with the colors
24045 fix up some categories
24047 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24049 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24050 add push activation of sink ghost pads.
24051 Andye, please verify
24053 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24055 * gst/gstutils.c: (gst_element_link_pads):
24056 fix a bug in the case where neither element has a pad
24057 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24058 add a test for that case
24060 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24062 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24063 emit have-data before checking for peers. This allows
24064 for probe handlers to connect elements. This helps autopluggers.
24065 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24067 add six checks, linked/unlinked with no/true/false probe
24069 2005-10-04 Wim Taymans <wim@fluendo.com>
24071 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24072 (gst_fake_sink_event), (gst_fake_sink_preroll),
24073 (gst_fake_sink_render), (gst_fake_sink_change_state):
24074 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24075 (gst_fake_src_get_property), (gst_fake_src_create),
24076 (gst_fake_src_stop):
24077 * gst/elements/gstidentity.c: (gst_identity_stop):
24078 Protect last_message with lock.
24080 2005-10-04 Edward Hervey <edward@fluendo.com>
24083 Added precision in the comments for GST_FORMAT_DEFAULT
24085 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24087 * tools/gst-launch.c: (main):
24088 Don't try to run erroneous pipelines.
24090 2005-10-04 Julien MOUTTE <julien@moutte.net>
24092 * gst/gstbus.c: We don't need this header.
24094 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24097 back to development
24099 === release 0.9.3 ===
24101 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24105 Releasing 0.9.3, "Unregistered"
24107 2005-10-03 Andy Wingo <wingo@pobox.com>
24109 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24110 whereby calling a pad's activatepush() function can start a thread
24111 that starts to push or pull before the pad gets the FLUSHING flag
24112 unset. Hack around it by holding the stream lock until the flag is
24113 set. Need to replace this with a proper solution. Together with
24114 the ghost pad fixes, this fixes mp3 playing/tagreading.
24116 * docs/design/part-gstghostpad.txt: Add a note about activation of
24117 proxy pads outside of ghost pads.
24119 * gst/gstghostpad.c: Implement the ghost pad activation design.
24121 2005-10-02 Andy Wingo <wingo@pobox.com>
24123 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24124 It is volatile, after all.
24126 * docs/design/part-gstghostpad.txt: Flesh out activation with
24129 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24132 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24135 Fix (unused) AM_CONDITIONAL tests.
24137 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24139 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24141 * gst/gstutils.c: (gst_pad_query_convert):
24142 Add assertion that makes sure src_val is >=0, just like
24143 gst_query_new_convert() has. (#315895)
24145 2005-09-30 Edward Hervey <edward@fluendo.com>
24147 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24148 Let's not iterate pads we're not interested in, it avoids getting
24149 sky-high refcounts on sinkpad.
24151 2005-09-30 Wim Taymans <wim@fluendo.com>
24153 * gst/gstelement.c: (gst_element_set_state),
24154 (gst_element_change_state):
24155 Small tweak, element in ASYNC remains ASYNC.
24157 2005-09-30 Wim Taymans <wim@fluendo.com>
24159 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24160 Only error is an error.
24162 * gst/gstbin.c: (gst_bin_change_state):
24165 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24166 Also call pad_block in pad alloc.
24168 * gst/gstutils.c: (gst_flow_get_name):
24171 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24173 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24174 (gst_base_src_get_range):
24175 Fix documentation typos. Add some more debug info.
24177 2005-09-29 David Schleef <ds@schleef.org>
24179 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24180 more end-user friendly.
24181 * tools/gst-inspect.c: (main): Check if command-line argument is
24182 a file and attempt to load that file as a plugin.
24184 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24186 * check/gst/gstbin.c:
24187 * check/states/sinks.c:
24188 fix tests for the new warning
24189 * check/gst/gstpipeline.c:
24190 add a test for pipeline and bus interaction
24191 * gst/gstelement.c:
24192 elements should be NULL if they get disposed; add a warning if not
24194 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24197 for 2.6 refcounting, make debug log more correct by printing
24198 the actual refcounts at the time of swap (Wim)
24200 2005-09-29 Andy Wingo <wingo@pobox.com>
24202 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24203 removes signal watches previously added via
24204 gst_bus_add_signal_watch.
24205 (gst_bus_add_signal_watch): Don't return the source id, just store
24206 it on the bus if there wasn't an id already.
24208 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24209 add_signal_watch and remove_signal_watch.
24211 2005-09-29 Edward Hervey <edward@fluendo.com>
24213 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24214 Better if we actually iterate the list :)
24216 2005-09-29 Wim Taymans <wim@fluendo.com>
24218 * check/gst/gstbin.c: (GST_START_TEST):
24219 Change for new bus API.
24221 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24222 (send_messages), (GST_START_TEST), (gstbus_suite):
24223 Change for new bus signal API.
24225 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24226 (gst_bus_source_prepare), (gst_bus_source_check),
24227 (gst_bus_create_watch), (gst_bus_add_watch_full),
24228 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24229 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24231 Remove support for multiple GSources operating on different
24232 message types as it is too complex and unneeded when using
24234 Added support for receiving signals from the bus.
24236 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24238 * docs/libs/tmpl/gstdataprotocol.sgml:
24239 * docs/manual/advanced-dataaccess.xml:
24240 * gst/elements/gstcapsfilter.c:
24242 rename filter-caps to caps property
24244 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24246 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24247 More robust fraction string parsing.
24249 * docs/pwg/appendix-porting.xml:
24250 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24252 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24254 * gst/gstcaps.c: (gst_caps_do_simplify):
24255 Thou shalt not free a structure and then continue using it
24256 in the next loop iteration.
24258 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24260 Add test case for caps simplification.
24262 2005-09-29 Wim Taymans <wim@fluendo.com>
24264 * check/gst/gstbin.c: (GST_START_TEST):
24267 2005-09-29 Wim Taymans <wim@fluendo.com>
24269 * check/gst/gstbin.c: (GST_START_TEST):
24272 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24273 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24274 (find_element), (gst_bin_sort_iterator_next),
24275 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24276 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24277 (gst_bin_change_state), (gst_bin_dispose):
24278 A bin does not have a bus, it gets the bus from the parent.
24280 * gst/gstelement.c: (gst_element_requires_clock),
24281 (gst_element_provides_clock), (gst_element_is_indexable),
24282 (gst_element_is_locked_state), (gst_element_change_state),
24283 (gst_element_set_bus_func):
24286 * gst/gstpipeline.c: (gst_pipeline_class_init),
24287 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24288 The pipeline provides a bus.
24290 2005-09-28 Johan Dahlin <johan@gnome.org>
24292 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24293 gst_structure_get_enum instead of gst_structure_get_int
24295 * gst/gststructure.c (gst_structure_get_enum): Impl.
24297 * gst/gststructure.h (gst_structure_get_enum): Add
24299 * docs/gst/gstreamer-sections.txt: Ditto
24301 * gst/gstmessage.c (gst_message_new_state_changed): Use
24302 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24303 which does introspection.
24304 Reviewed by Christian Schaller
24306 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24308 * gst/gstinfo.c: (gst_debug_log_default):
24309 don't do dummy g_strdup()s
24310 * libs/gst/controller/gstcontroller.c:
24311 (on_object_controlled_property_changed),
24312 (gst_controlled_property_new), (gst_controller_new_valist),
24313 (gst_controller_new_list),
24314 (gst_controller_remove_properties_valist), (gst_controller_set),
24315 (gst_controller_get), (gst_controller_sync_values),
24316 (gst_controller_get_value_array), (_gst_controller_class_init),
24317 (gst_controller_get_type):
24318 * libs/gst/controller/gstcontroller.h:
24319 * libs/gst/controller/gstinterpolation.c:
24320 (gst_controlled_property_find_timed_value_node):
24321 convert // to /**/ comments
24323 2005-09-28 Wim Taymans <wim@fluendo.com>
24325 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24326 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24327 (gst_bus_sync_signal_handler):
24329 Added async-message and sync-message signals to the bus.
24330 Added helper BusFunc to emit signals for all posted messages.
24332 * gst/gstmessage.c: (gst_message_type_get_name),
24333 (gst_message_type_to_quark), (gst_message_get_type):
24334 * gst/gstmessage.h:
24335 Register quarks for message names.
24337 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24339 * docs/libs/gstreamer-libs-sections.txt:
24340 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24341 (gst_controller_new_list):
24342 * libs/gst/controller/gstcontroller.h:
24343 added another constructor for language bindings
24345 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24347 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24351 * gst/gstinfo.c: (_gst_debug_init):
24352 slightly more readable color for refcount debugging
24354 2005-09-28 Wim Taymans <wim@fluendo.com>
24356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24357 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24358 (find_element), (gst_bin_sort_iterator_next),
24359 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24360 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24361 (gst_bin_change_state), (gst_bin_dispose):
24362 Small doc fixes. get_clock -> provide_clock.
24364 * gst/gstelement.c: (gst_element_class_init),
24365 (gst_element_provides_clock), (gst_element_provide_clock),
24366 (gst_element_get_clock), (gst_element_commit_state),
24367 (gst_element_lost_state):
24368 * gst/gstelement.h:
24369 Make get/set_clock() symetric. Add provide_clock vmethod since
24370 that is actually what this function does.
24372 * gst/gstpipeline.c: (gst_pipeline_class_init),
24373 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24374 (gst_pipeline_get_clock):
24375 get_clock -> provide_clock.
24377 2005-09-28 Andy Wingo <wingo@pobox.com>
24379 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24380 lieu of real docs...
24382 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24384 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24386 * gst/elements/gstcapsfilter.c:
24387 * gst/elements/gstfakesink.c:
24388 * gst/elements/gstfakesrc.c:
24389 * gst/elements/gstfdsink.c:
24390 * gst/elements/gstfdsrc.c:
24391 * gst/elements/gstfilesink.c:
24392 * gst/elements/gstfilesrc.c:
24393 * gst/elements/gstidentity.c:
24394 * gst/elements/gsttee.c:
24395 * gst/elements/gsttypefindelement.c:
24396 Make element details static.
24398 2005-09-28 Wim Taymans <wim@fluendo.com>
24400 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24401 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24402 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24403 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24404 (gst_bin_change_state), (gst_bin_dispose):
24405 Some documentation updates.
24406 Clean up dispose handlers.
24408 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24409 * gst/gstpad.c: (gst_pad_dispose):
24410 Clean up dispose handler.
24412 * gst/gstpipeline.c: (gst_pipeline_change_state):
24413 Removed spurious UNLOCK.
24415 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24417 * docs/gst/gstreamer-sections.txt:
24418 * gst/base/gstbasesrc.h:
24419 * gst/gstelement.h:
24423 * gst/gstpipeline.c:
24424 * gst/gstpipeline.h:
24427 added two new functions to the docs
24428 documents all undocumented GstXXXFlags
24429 completed some incomplete docs
24431 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24433 * gst/gstbin.c: (gst_bin_dispose):
24434 * gst/gstelement.c: (gst_element_dispose):
24435 remove now useless and leaky resurrection code in dispose
24436 * gst/base/gstbasesrc.c: (gst_base_src_init):
24437 * gst/gstelementfactory.c: (gst_element_factory_create):
24438 * gst/gstobject.c: (gst_object_set_parent):
24441 2005-09-27 Wim Taymans <wim@fluendo.com>
24443 * docs/design/part-TODO.txt:
24446 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24447 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24448 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24449 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24450 (gst_bin_change_state):
24451 * gst/gstelement.h:
24452 Remove element variable, we keep element info in the iterator now.
24454 2005-09-27 Andy Wingo <wingo@pobox.com>
24456 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24459 2005-09-27 Wim Taymans <wim@fluendo.com>
24461 * check/gst/gstbin.c: (GST_START_TEST):
24462 Enable check that works now.
24464 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24465 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24466 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24467 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24468 (gst_bin_change_state):
24470 Redid the state change algorithm using a topological sort algo.
24471 Handles all cases correctly.
24472 Exposed iterator for state change order.
24474 * gst/gstelement.h:
24475 Temp storage for state changes. Need to get rid of this soon.
24477 2005-09-27 Wim Taymans <wim@fluendo.com>
24479 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24480 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24481 (link_fold_func), (gst_pad_proxy_setcaps):
24482 Leak fixes, the fold functions need to unref the passed object and
24483 _get_parent_*() returns ref to parent.
24485 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24487 * check/gst/gstbuffer.c: (test_make_writable):
24488 Plug leak in test case and fix 'make check-valgrind'
24490 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24492 * gst/gstbuffer.c: (gst_subbuffer_init):
24493 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24494 works correctly in all circumstances (we could have just copied
24495 the parent buffer's readonly flag, but conceptually it seems
24496 cleaner to mark all subbuffers as read-only). (based on patch
24497 by Alessandro Decina, #314710).
24499 * check/gst/gstbuffer.c: (create_read_only_buffer),
24500 (test_make_writable), (test_subbuffer_make_writable),
24502 Add some tests for gst_buffer_make_writable().
24504 2005-09-27 Wim Taymans <wim@fluendo.com>
24506 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24507 use gst_object_has_ancestor().
24509 * gst/gstobject.c: (gst_object_has_ancestor):
24511 gst_object_has_ancestor() copied from gstbin.c as it is a
24514 * tests/instantiate/create.c: (create_all_elements):
24515 * tests/lat.c: (handoff_src), (handoff_sink):
24516 * tests/sched/runxml.c: (main):
24517 * tests/seeking/seeking1.c: (main):
24518 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24520 Fix compilation of some tests.
24522 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24525 Remove comment. GST_TYPE_G_ERROR is here to stay,
24526 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24527 (#316961, #300610).
24529 2005-09-26 Wim Taymans <wim@fluendo.com>
24531 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24532 Added check that shows error in state change order.
24534 2005-09-26 Wim Taymans <wim@fluendo.com>
24536 * gst/gstbin.c: (gst_bin_change_state):
24537 Make state change function use 3 queues again, we were
24538 adding elements in the wrong order.
24540 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24543 * gst/gstpad.c: (gst_pad_dispose):
24544 Added some debug info first.
24546 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24548 * docs/design/draft-push-pull.txt:
24549 * docs/design/part-events.txt:
24550 * docs/design/part-overview.txt:
24551 * docs/design/part-scheduling.txt:
24552 Replace all _pull_region() with _pull_range()
24554 2005-09-26 Andy Wingo <wingo@pobox.com>
24556 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24558 * check/gst-libs/controller.c: Update for controller api change.
24561 * tests/Makefile.am:
24562 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24563 over by GLib bug 118439.
24565 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24566 routines to a function.
24568 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24570 * libs/gst/controller/gsthelper.c:
24571 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24572 (gst_object_sync_values): Renamed from sink_values. Ugh.
24574 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24576 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24577 Renamed from controller_key, as it is exported.
24579 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24581 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24586 * gst/gstpadtemplate.h:
24589 * gst/gstqueryutils.c:
24590 * gst/gstqueryutils.h:
24591 remove queryutils headers after moving the two used functions
24592 to gstquery. also fixes build problem for gstsiddec
24594 2005-09-26 Michael Smith <msmith@fluendo.com>
24596 * tools/gst-launch.1.in:
24597 Correct documentation in manpage of debug syntax
24599 2005-09-26 Wim Taymans <wim@fluendo.com>
24601 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24602 (gst_base_src_is_seekable), (gst_base_src_change_state):
24603 Some more debugging info.
24605 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24607 * docs/gst/gstreamer-sections.txt:
24608 * gst/base/gstbasetransform.h:
24612 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24614 * docs/gst/.cvsignore:
24615 * docs/gst/tmpl/.cvsignore:
24616 * docs/gst/tmpl/gstpipeline.sgml:
24617 * docs/gst/tmpl/gstplugin.sgml:
24618 * gst/gstpipeline.c:
24621 inlined the last two docs files
24622 removed the tmpl directory from cvs (no more conflicts here!)
24624 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24626 * docs/gst/gstreamer-sections.txt:
24627 * docs/gst/tmpl/.cvsignore:
24628 * docs/gst/tmpl/gstpad.sgml:
24629 * docs/gst/tmpl/gstpadtemplate.sgml:
24631 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24632 (gst_pad_finalize), (gst_pad_set_pad_template):
24634 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24635 (gst_pad_template_class_init), (gst_pad_template_init),
24636 (gst_pad_template_dispose), (name_is_valid),
24637 (gst_static_pad_template_get), (gst_pad_template_new),
24638 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24639 (gst_pad_template_pad_created):
24640 * gst/gstpadtemplate.h:
24641 inlined two more docs
24642 factored gstpadtemplate out of gstpad
24644 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24646 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24647 (test_children_state_change_order_semi_sink):
24648 Fix test case: we can't rely on a fixed state change order when
24649 going from READY => PAUSED because the sink might commit its
24650 new state first when the first buffer created by the source
24651 reaches the sink before the source has finished its change state.
24652 (Test case still fails at times, see #316856, comment 5 onwards)
24654 2005-09-24 Wim Taymans <wim@fluendo.com>
24656 * docs/design/part-events.txt:
24657 * docs/design/part-gstbus.txt:
24658 * docs/design/part-gstpipeline.txt:
24659 * docs/design/part-messages.txt:
24660 * docs/design/part-overview.txt:
24661 * docs/design/part-segments.txt:
24665 * gst/gstelement.c:
24668 * gst/gstiterator.c:
24669 Various documentation updates.
24671 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24674 Well, that's embarassing. Luckily we weren't using
24675 GST_CLOCK_DIFF anywhere.
24677 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24679 * common/gtk-doc.mak:
24680 don't fail on building XML, FC4 slave shows a bunch of doc
24681 missing bits that I don't get
24683 * gst/gstpipeline.c:
24684 * gst/gststructure.c:
24687 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24689 * docs/design/part-gstbin.txt:
24690 * docs/design/part-gstbus.txt:
24692 Add blurb about how the bus goes into flushing mode and
24693 drops all messages when its bin goes from READY into NULL
24696 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24698 * docs/gst/gstreamer-sections.txt:
24699 * gst/gststructure.c: (gst_structure_get_clock_time):
24700 * gst/gststructure.h:
24701 add a method to get a GstClockTime out of a structure
24703 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24705 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24706 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24707 Added test to check state change order in bins (can still be made
24708 to fail here under heavy disk load; bails out with 'Push on pad
24709 fakesink:sink0, but it was not activated in push mode').
24711 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24712 Fix state change order when there is only a semi sink (#316856)
24714 * gst/gstbus.c: (gst_bus_class_init):
24715 Use _class_peek_parent(), not _class_ref(); fix docs to say
24716 'default main context' instead of 'mainloop' where that is
24719 * gst/gstelement.c: (gst_element_commit_state),
24720 (gst_element_set_state):
24721 Fix typos in debug messages
24723 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24726 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24727 * gst/gstpluginfeature.c:
24729 various doc updates
24730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24731 change an assert into an error until it gets fixed properly
24733 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24735 * docs/gst/gstreamer-sections.txt:
24736 * docs/gst/tmpl/.cvsignore:
24737 * docs/gst/tmpl/gstelement.sgml:
24738 * docs/gst/tmpl/gstinfo.sgml:
24739 * docs/gst/tmpl/gstobject.sgml:
24740 * gst/gstelement.c:
24741 * gst/gstelement.h:
24744 * gst/gstobject.c: (gst_object_class_init):
24746 inlined 3 more biiiig doc files and added some missing docs on the fly
24748 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24750 * check/gst/.cvsignore:
24751 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24752 * gst/gstregistryxml.c: (load_plugin),
24753 (gst_registry_xml_save_plugin):
24754 put back source in registry. add checks for find_plugin.
24755 * testsuite/states/bin.c: (assert_state), (empty_bin),
24756 (test_adding_one_element), (main):
24757 * testsuite/states/locked.c: (main):
24758 some compile/run fixes
24760 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24762 * check/gst/gstvalue.c: (GST_START_TEST):
24763 fix leaks in the test itself
24765 2005-09-22 Wim Taymans <wim@fluendo.com>
24767 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24768 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24769 (gst_base_sink_query):
24770 Prepare for more accurate position reporting and query
24773 * gst/gstelement.c: (gst_element_send_event),
24774 (gst_element_set_state):
24777 2005-09-22 Wim Taymans <wim@fluendo.com>
24779 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24780 (gst_query_parse_segment):
24782 More documentation.
24783 Add segment query for future use.
24785 2005-09-22 Wim Taymans <wim@fluendo.com>
24787 * gst/gstbin.c: (gst_bin_add_func):
24788 Some more debug info.
24790 * gst/gstelement.c: (gst_element_send_event):
24791 Simplify send_event
24793 * gst/gstelement.h:
24794 Don't know how flags got broken.
24799 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24801 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24802 Add simplistic test suite for GST_TYPE_DATE serialisation and
24805 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24807 * docs/gst/gstreamer-sections.txt:
24808 * gst/gststructure.c: (gst_structure_set_valist),
24809 (gst_structure_get_date):
24810 * gst/gststructure.h:
24811 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24812 (gst_date_copy), (gst_value_compare_date),
24813 (gst_value_serialize_date), (gst_value_deserialize_date),
24814 (gst_value_transform_date_string),
24815 (gst_value_transform_string_date), (_gst_value_initialize):
24817 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24818 bunch of utility functions along with a hack that checks that
24819 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24820 is required. Part of the grand scheme in #170777.
24822 2005-09-22 Andy Wingo <wingo@pobox.com>
24824 * gst/gstconfig.h.in: Psych out gtk-doc.
24826 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24828 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24830 * tools/gst-inspect.c (print_element_list): Plug some
24831 inconsequential leaks.
24833 * gst/gstregistry.c (gst_registry_get_default): Doc.
24835 * check/gst/gstplugin.c:
24836 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24837 * gst/gstelementfactory.c (gst_element_factory_create):
24838 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24841 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24842 (gst_plugin_feature_load): Doc, don't eat refs.
24844 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24845 (gst_plugin_list_free): Doc.
24846 (gst_plugin_load_file): Doc updates.
24848 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24849 accessors returning refcounted objects, return a ref.
24851 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24852 accessor for caps. IDEMPOTENCE. Oh yes.
24854 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24856 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24858 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24859 (_gst_debug_register_funcptr):
24860 Add mutex to serialise access to the hash table with
24861 the function pointer => function name string mapping;
24862 make that hash table static scope (#316809).
24864 * gst/registries/.cvsignore:
24865 Remove left-over file.
24867 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24869 * docs/pwg/appendix-porting.xml:
24870 And something about newsegment events and caps-on-buffers to
24871 the porting guide (feel free to improve).
24873 2005-09-21 Andy Wingo <wingo@pobox.com>
24875 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24876 data and event probes on the same pad.
24877 (test_buffer_probe_once): Test that removing probes from within
24878 the probe functions works.
24880 2005-09-21 Andy Wingo <wingo@pobox.com>
24882 * check/gst/gstutils.c: New file.
24883 (test_buffer_probe_n_times): A simple buffer probe test. More to
24886 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24887 have-data::buffer, not have-data.
24888 (gst_pad_add_event_probe): Likewise for have-data::event.
24889 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24890 peer' isn't quite right yet though.
24891 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24892 (gst_pad_remove_data_probe): Change to take the guint handler_id
24893 as their arg, not the function+data, which is more glib-like.
24895 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24896 the signal emission to indicate if the data is a buffer or an
24898 (gst_pad_get_type): Initialize buffer and event quarks.
24899 (gst_pad_class_init): have-data is now a detailed signal, yes it
24902 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24904 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24905 * gst/gstutils.c: (gst_util_set_value_from_string),
24906 (gst_util_set_object_arg):
24907 Don't put functional code in g_return_if_fail() or
24908 g_return_val_if_fail() statements, otherwise things will
24909 break when G_DISABLE_CHECKS is defined during compilation.
24911 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24913 * docs/gst/tmpl/.cvsignore:
24914 * docs/gst/tmpl/gstvalue.sgml:
24917 inlied another one and added some obvious docs
24919 2005-09-21 Wim Taymans <wim@fluendo.com>
24921 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24922 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24923 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24924 (gst_fdsrc_get_property), (gst_fdsrc_create):
24925 * gst/elements/gstfdsrc.h:
24926 Properly implement fdsrc. Removed signal and timeout,
24927 better implemented somewhere else.
24929 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24931 * docs/gst/tmpl/.cvsignore:
24932 * docs/gst/tmpl/gstimplementsinterface.sgml:
24933 * gst/gstinterface.c:
24936 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24938 * docs/gst/gstreamer-sections.txt:
24939 * docs/gst/tmpl/.cvsignore:
24940 * docs/gst/tmpl/gstenumtypes.sgml:
24941 remove obsolete doc file
24943 2005-09-21 David Schleef <ds@schleef.org>
24945 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24946 little beer, fix a little leak.
24948 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24950 * docs/gst/gstreamer-docs.sgml:
24951 * docs/gst/gstreamer-sections.txt:
24952 * docs/gst/tmpl/.cvsignore:
24956 * gst/gstelement.h:
24957 * gst/gstindex.c: (gst_index_class_init):
24959 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24960 (gst_index_factory_class_init), (gst_index_factory_init),
24961 (gst_index_factory_finalize), (gst_index_factory_new),
24962 (gst_index_factory_destroy), (gst_index_factory_find),
24963 (gst_index_factory_create), (gst_index_factory_make):
24964 * gst/gstindexfactory.h:
24965 * gst/gstpluginfeature.c:
24966 * gst/gstpluginfeature.h:
24967 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24968 more docs inlined, splitted gstindex.{c,h}
24970 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24972 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24975 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24977 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24978 Set sync to FALSE by default.
24980 2005-09-20 Wim Taymans <wim@fluendo.com>
24982 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24983 (gst_base_sink_init):
24984 Make sync property settable from subclass.
24986 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24987 (gst_fake_sink_change_state):
24988 Set sync to FALSE by default.
24990 2005-09-20 Wim Taymans <wim@fluendo.com>
24992 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24993 * tools/gst-launch.c: (main):
24994 The timeout handler should have lower priority than the source
24995 so we don't timeout before popping a message with 0 timeout.
24996 Dump error messages after failed state change.
24998 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25000 * tools/gst-inspect.c: (print_element_properties_info):
25003 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25005 * check/gst/gstevent.c:
25006 * gst/elements/gstfakesink.c:
25007 * gst/elements/gstfakesink.h:
25008 remove the sync property from fakesink.
25009 has the side effect of setting sync TRUE
25010 for fakesink, which is a change. Anyone who knows how
25011 to fix this nicely in a GObject-y way, feel free.
25013 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25015 * docs/gst/gstreamer-docs.sgml:
25016 remove probe refsection
25018 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25020 * check/Makefile.am:
25021 disable valgrinding the controller test again
25022 * docs/gst/gstreamer-sections.txt:
25023 update for api-changes
25025 2005-09-20 Wim Taymans <wim@fluendo.com>
25027 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25028 (gst_base_sink_set_property), (gst_base_sink_get_property),
25029 (gst_base_sink_do_sync):
25030 * gst/base/gstbasesink.h:
25031 Added sync property to basesink to disable clock sync.
25033 2005-09-20 Andy Wingo <wingo@pobox.com>
25035 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25036 eating the caller's refcount.
25038 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25039 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25042 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25043 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25044 of GLib 2.8 public, so we can know which refcount to check in
25047 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25048 (gst_object_init): Only set the gst refcount if we're going ahead
25049 with the refcount hack.
25051 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25053 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25054 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25055 more leaks plumbed, added more debug-logging
25059 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25061 * gst/gstmessage.c:
25062 remove include of gstmemchunk.h
25064 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25066 * gst/gstclock.c: (_gst_clock_id_free):
25067 Commit from the Political Party For More Atomic CVS Commits,
25068 so that people don't waste too much of their day fishing
25069 out obvious leaks out of massive commits.
25070 Oh, and fix a pretty damn obvious leak in the memchunk
25073 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25075 * check/Makefile.am:
25076 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25077 plug mem-leak, re-add to valgrindable tests
25079 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25082 unbreak the build for those who have chronic arthritis
25083 and typing "make check" is just too taxing on the hands
25085 2005-09-20 Andy Wingo <wingo@pobox.com>
25087 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25088 really want it out, you should fix plugins at the same time.
25090 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25093 * docs/gst/gstreamer-sections.txt:
25095 added missing symbols to api docs
25096 disable ref-count hack if we have glib >= 2.8
25098 2005-09-19 David Schleef <ds@schleef.org>
25100 * docs/gst/Makefile.am: Ignore a few more internal headers
25101 * docs/gst/gstreamer-docs.sgml: Remove old sections
25102 * docs/gst/gstreamer-sections.txt: Remove old sections
25103 * docs/gst/tmpl/gstobject.sgml: update
25104 * docs/gst/tmpl/gstplugin.sgml: update
25105 * docs/gst/tmpl/gstpluginfeature.sgml: update
25106 * docs/random/ds/0.9-suggested-changes: update.
25107 * gst/Makefile.am: remove memchunk and trashstack, since they're
25109 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25110 * gst/gst.h: don't include some headers
25111 * gst/gstchildproxy.c: add gstmarshal.h
25112 * gst/gstclock.c: Don't use memchunks
25113 * gst/gstminiobject.c: Add some docs
25114 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25115 * gst/gstobject.h: same
25116 * gst/gstplugin.c: include gstmacros.h
25117 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25118 * gst/gstquery.c: don't use memchunks
25119 * gst/gstregistry.c: rename gst_registry_deinit()
25120 * gst/gstregistry.h: same
25122 2005-09-19 David Schleef <ds@schleef.org>
25124 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25125 * docs/libs/gstreamer-libs-sections.txt:
25126 * docs/libs/tmpl/gstgetbits.sgml:
25127 * docs/libs/tmpl/gstputbits.sgml:
25129 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25131 * win32/gstenumtypes.c:
25132 * win32/gstenumtypes.h:
25135 2005-09-19 Wim Taymans <wim@fluendo.com>
25137 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25138 Automatically PAUSE and RESUME a pipeline when a flushing seek
25141 2005-09-19 Andy Wingo <wingo@pobox.com>
25143 * gst/gstregistry.h: Spacing fixen.
25145 2005-09-19 Wim Taymans <wim@fluendo.com>
25147 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25148 Handle state change failure more correctly.
25150 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25152 * check/Makefile.am:
25153 * check/pipelines/cleanup.c: (run_pipeline):
25154 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25156 enable cleanup again after fixing the leak
25158 some more info on docs
25160 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25162 * check/Makefile.am:
25163 re-enable tests now that leaks are plugged
25165 * check/gst/gstbin.c:
25166 * check/gst/gstpipeline.c:
25167 add some more tests while fixing leaks
25168 * common/check.mak:
25169 make sure binaries are uptodate when valgrinding/gdbing
25171 * gst/gstelementfactory.c:
25172 remove a ref too many, and add a FIXME for when we get
25173 round to disposing of classes
25175 fix the refcounting when loading a plugin from a file and
25176 the code pretends that the pointer is the same even though
25177 of course it can change
25178 * gst/gstpluginfeature.c:
25179 unref plugins marked cached (a bit confusing as a name)
25180 as the docs state should be done
25181 various doc additions to explain refcounting
25182 * gst/gstregistry.c:
25183 * gst/gstregistryxml.c:
25186 2005-09-19 Wim Taymans <wim@fluendo.com>
25188 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25189 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25190 (send_messages), (GST_START_TEST), (gstbus_suite):
25191 * check/gst/gstpipeline.c: (GST_START_TEST):
25192 * check/pipelines/cleanup.c: (run_pipeline):
25193 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25195 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25196 (gst_bus_source_check), (gst_bus_source_dispatch),
25197 (gst_bus_create_watch), (gst_bus_add_watch_full),
25198 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25200 * tools/gst-launch.c: (event_loop):
25201 * tools/gst-md5sum.c: (event_loop):
25202 GstBusHandler -> GstBusFunc, return value has the same meaning as
25203 any other GSource (FALSE == remove source).
25204 _add_watch() and _add_watch_full() now take a MessageType mask to
25205 only handle specific types of messages.
25206 _poll() returns the GstMessage instead of the message type to avoid
25208 _have_pending() takes a MessageType mask now too.
25209 Added testsuite for multiple bus watches.
25210 Fix testsuites and applications for new bus API.
25212 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25214 * check/Makefile.am:
25215 mark a bunch of the tests as to fix until we fix them
25217 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25219 * common/check.mak:
25220 use GST_PLUGIN settings for valgrind tests as well, so we're
25221 valgrinding the correct thing
25222 * gst/gst.c: (init_post):
25225 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25227 * gst/gst.c: (init_post), (gst_deinit):
25228 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25229 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25230 * gst/gstindex.c: (gst_index_factory_class_init),
25231 (gst_index_factory_finalize):
25232 * gst/gstobject.c: (gst_object_dispose):
25233 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25234 (gst_plugin_load_file), (gst_plugin_desc_free):
25235 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25236 (gst_plugin_feature_finalize):
25237 * gst/gstregistry.c: (gst_registry_class_init),
25238 (gst_registry_init), (gst_registry_finalize),
25239 (gst_registry_get_default), (gst_registry_deinit):
25240 * gst/gstregistry.h:
25241 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25242 various cleanups and memleak plugging. make valgrind is happy now.
25244 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25246 * common/check.mak:
25247 add a check-valgrind target
25249 2005-09-18 David Schleef <ds@schleef.org>
25251 * tools/gst-inspect.c: Revert the GOption code.
25253 2005-09-17 David Schleef <ds@schleef.org>
25255 * check/Makefile.am: Fix environment variables.
25256 * check/gst/gstplugin.c: Fix for API changes.
25257 * tools/gst-inspect.c: Fix for API changes.
25258 * tools/gst-xmlinspect.c: Fix for API changes.
25259 * gst/gstelementfactory.c:
25262 * gst/gstpluginfeature.c:
25263 * gst/gstpluginfeature.h:
25264 * gst/gstregistry.c:
25265 * gst/gstregistry.h:
25266 * gst/gstregistryxml.c:
25267 * gst/gsttypefind.c:
25268 * gst/gsttypefindfactory.c:
25269 * gst/indexers/gstfileindex.c:
25270 * gst/indexers/gstmemindex.c:
25271 * gst/schedulers/Makefile.am:
25272 Change registry to keep track of both plugins and features,
25273 removing the feature tracking from plugins themselves.
25275 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25277 * check/Makefile.am:
25278 * tools/gst-register.1.in:
25279 remove gst-register
25281 2005-09-15 David Schleef <ds@schleef.org>
25283 * check/gst/gstplugin.c:
25284 * gst/gstelementfactory.c:
25286 * gst/gstpluginfeature.c:
25287 * gst/gstregistry.c:
25288 Getting tired of debugging. Disabled all the unreffing of
25289 plugins and features, which fixes the segfaults, but of
25290 course leaks like crazy. At least playbin works.
25292 2005-09-15 David Schleef <ds@schleef.org>
25294 * check/gst/gstplugin.c: (register_check_elements),
25295 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25297 * gst/elements/gsttypefindelement.c: Fix refcounting.
25298 * gst/gsttypefind.c:
25299 * gst/gsttypefindfactory.c:
25300 * gst/gsttypefindfactory.h:
25302 2005-09-15 David Schleef <ds@schleef.org>
25304 * gst/gstindex.c: get refcounting correct.
25305 * gst/gstregistry.c: Handle the case where a feature/plugin is
25308 2005-09-15 David Schleef <ds@schleef.org>
25310 * check/Makefile.am:
25311 * check/gst/gstplugin.c: Add test
25312 * gst/gstplugin.c: Fix problems noticed by testsuite
25314 * gst/gstregistry.c:
25315 * gst/gstregistry.h:
25317 2005-09-15 David Schleef <ds@schleef.org>
25319 * gst/gstplugin.c: Implement semi-decent recounting and locking
25320 in plugins and plugin features.
25322 * gst/gstpluginfeature.c:
25323 * gst/gstpluginfeature.h:
25324 * gst/gstregistry.c:
25326 2005-09-15 Michael Smith <msmith@fluendo.com>
25328 * gst/gstregistry.c: (gst_registry_get_feature_list):
25329 Implement this. Makes oggdemux work; decodebin still broken.
25331 2005-09-14 David Schleef <ds@schleef.org>
25333 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25335 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25336 * gst/check/Makefile.am:
25337 * libs/gst/controller/Makefile.am:
25338 * libs/gst/dataprotocol/Makefile.am:
25340 2005-09-14 David Schleef <ds@schleef.org>
25342 * configure.ac: Remove getbits library. Nothing uses it, and
25343 it should be in something like liboil if someone did want
25345 * libs/gst/Makefile.am:
25346 * libs/gst/getbits/Makefile.am:
25347 * libs/gst/getbits/gbtest.c:
25348 * libs/gst/getbits/getbits.c:
25349 * libs/gst/getbits/getbits.h:
25350 * libs/gst/getbits/gstgetbits_generic.c:
25351 * libs/gst/getbits/gstgetbits_i386.s:
25352 * libs/gst/getbits/gstgetbits_inl.h:
25354 2005-09-14 David Schleef <ds@schleef.org>
25356 * gst/Makefile.am: Dist glib-compat.h
25358 2005-09-14 David Schleef <ds@schleef.org>
25360 * configure.ac: Remove gst/registries, since it's no longer used.
25361 * gst/registries/Makefile.am:
25362 * gst/registries/gstlibxmlregistry.c:
25363 * gst/registries/gstlibxmlregistry.h:
25364 * gst/registries/gstxmlregistry.c:
25365 * gst/registries/gstxmlregistry.h:
25366 * gst/registries/registrytest.c:
25368 2005-09-14 David Schleef <ds@schleef.org>
25370 * gst/glib-compat.h:
25371 * gst/gstregistryxml.c:
25372 Convergence is near. Seriously.
25374 2005-09-14 David Schleef <ds@schleef.org>
25376 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25377 * gst/glib-compat.h:
25378 Attempt #4 to appease the buildbots.
25380 2005-09-14 David Schleef <ds@schleef.org>
25382 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25385 2005-09-14 David Schleef <ds@schleef.org>
25387 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25390 2005-09-14 David Schleef <ds@schleef.org>
25392 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25395 2005-09-14 David Schleef <ds@schleef.org>
25397 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25398 * gst/glib-compat.h: Add some functions that are in newer versions
25399 of glib than we care to require.
25400 * gst/gstregistryxml.c: Use them.
25402 2005-09-14 David Schleef <ds@schleef.org>
25404 * po/POTFILES.in: remove gst-register.c
25406 2005-09-14 David Schleef <ds@schleef.org>
25408 * docs/gst/gstreamer-docs.sgml:
25409 * docs/gst/gstreamer-sections.txt:
25410 * docs/gst/gstreamer.types:
25411 * docs/gst/tmpl/gstelement.sgml:
25412 * docs/gst/tmpl/gstplugin.sgml:
25413 * docs/gst/tmpl/gstpluginfeature.sgml:
25414 Documentation updates for registry changes.
25416 2005-09-14 David Schleef <ds@schleef.org>
25418 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25419 because we don't require glib-2.8.
25421 2005-09-14 David Schleef <ds@schleef.org>
25423 * gst/gstregistryxml.c: Added. Essentially moved out of the
25424 registries directory.
25426 2005-09-14 David Schleef <ds@schleef.org>
25428 * check/Makefile.am:
25429 * check/generic/states.c:
25433 * gst/gst_private.h:
25434 * gst/gstelementfactory.c:
25439 * gst/gstpluginfeature.c:
25440 * gst/gstpluginfeature.h:
25441 * gst/gstregistry.c:
25442 * gst/gstregistry.h:
25443 * gst/gstregistrypool.c: remove
25444 * gst/gstregistrypool.h: remove
25445 * gst/gsttypefind.c:
25446 * gst/gsttypefindfactory.c:
25448 * tools/Makefile.am:
25449 * tools/gst-compprep.c:
25450 * tools/gst-inspect.c:
25451 * tools/gst-register.c: remove
25452 * tools/gst-xmlinspect.c:
25453 Registry rewrite. Changes registry from being a file created
25454 by a tool into a simple cache file created automatically by
25455 libgstreamer. Removed gst-register (because it's no longer
25456 needed). Remove registry pools, because we only have one
25457 registry implementation (XML). Fix up other subsystems as
25460 2005-09-13 Michael Smith <msmith@fluendo.com>
25462 * gst/gstconfig.h.in:
25463 Don't Use windows linking attributes for MinGW. Fixes #316157
25465 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25467 * gst/gstutils.c: (set_state_async_thread_func),
25468 (gst_element_set_state_async):
25469 Apparently people think it's better if this function doesn't
25470 try to set the state to whatever state was asked for on the first
25471 call to this function for any object. Seriously.
25473 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25475 * check/gst/gstpipeline.c: (GST_START_TEST):
25476 * docs/gst/gstreamer-sections.txt:
25477 * gst/gstutils.c: (set_state_async_thread_func),
25478 (gst_element_set_state_async):
25480 add a "gst_element_set_state_async" method that
25481 sets the state and starts a thread to make sure the state
25482 change completes as best as it can
25484 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25486 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25487 codify design+behaviour in testsuite after discussion
25489 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25491 * docs/gst/tmpl/gstelement.sgml:
25492 * docs/manual/appendix-quotes.xml:
25494 * gst/gstelement.c: (gst_element_set_state):
25497 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25499 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25500 (gst_base_transform_prepare_output_buf),
25501 (gst_base_transform_handle_buffer):
25502 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25503 (gst_capsfilter_prepare_buf):
25504 Remove the requirement for sub-classes to call the parent
25505 implementation of prepare_output_buffer with a wrapper function.
25507 * gst/gsttaglist.h:
25508 * gst/gsttagsetter.h:
25509 Fix #define wrapper
25511 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25513 * docs/gst/gstreamer-sections.txt:
25516 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25518 * docs/gst/gstreamer-sections.txt:
25519 * docs/gst/tmpl/gstelement.sgml:
25520 * docs/gst/tmpl/gstplugin.sgml:
25521 * gst/gstminiobject.c:
25523 docs now stop throwing warnings
25525 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25527 * docs/gst/gstreamer-sections.txt:
25528 * docs/gst/gstreamer.types:
25529 * docs/gst/tmpl/gstpad.sgml:
25530 * docs/gst/tmpl/gsttypes.sgml:
25531 * gst/base/gstadapter.h:
25532 * gst/base/gstbasesink.h:
25533 * gst/base/gstbasesrc.h:
25539 * gst/gstelement.h:
25541 * gst/gstmessage.h:
25543 * gst/gststructure.c:
25544 * gst/registries/gstlibxmlregistry.h:
25545 various documentation fixes
25547 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25549 * docs/gst/gstreamer-sections.txt:
25550 * docs/gst/tmpl/gstvalue.sgml:
25551 rearrange gstvalue section
25552 * gst/gstutils.c: (gst_element_state_get_name):
25554 * gst/gstvalue.c: (_gst_value_initialize):
25558 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25560 * check/gst-libs/controller.c:
25561 Header include fix.
25562 * gst/base/gstbasetransform.c:
25563 (gst_base_transform_default_prepare_buf),
25564 (gst_base_transform_handle_buffer):
25565 * gst/base/gstbasetransform.h:
25566 Some more basetransform changes and fixes to enable sub-classes
25567 that modify buffer metadata only.
25568 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25569 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25570 (gst_capsfilter_prepare_buf):
25571 If the output pad has fixed allowed caps and input buffers
25572 don't have any, set the fixed caps on outgoing buffers.
25574 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25575 * check/elements/identity.c: (GST_START_TEST):
25576 Make the error a little clearer when the test fails because
25577 identity made a copy of the buffer.
25578 * docs/gst/gstreamer-sections.txt:
25579 New symbols in gstbasetransform.h
25580 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25581 (gst_base_transform_init), (gst_base_transform_transform_size),
25582 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25583 (gst_base_transform_default_prepare_buf),
25584 (gst_base_transform_get_unit_size),
25585 (gst_base_transform_buffer_alloc),
25586 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25587 (gst_base_transform_change_state),
25588 (gst_base_transform_set_passthrough),
25589 (gst_base_transform_set_in_place),
25590 (gst_base_transform_is_in_place):
25591 * gst/base/gstbasetransform.h:
25592 Change BaseTransform to separate in_place operate from same_caps
25593 output. in_place implies that the element can perform the transform
25594 on incoming buffers in-place, even if the caps on the output are
25596 Sub-class elements can now implement special buffer allocation
25597 methods for outgoing buffers if they wish to.
25598 Big documentation addition.
25599 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25600 * gst/elements/gstelements.c:
25601 Changes for basetransform modifications.
25602 * gst/elements/Makefile.am:
25603 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25604 Compile fix. Extra debug output.
25606 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25608 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25610 add tests for valid pad naming
25611 * gst/check/gstcheck.c: (gst_check_log_message_func),
25612 (gst_check_log_critical_func):
25614 remove printing of code, it is fragile when the code contains
25615 % and the line number is enough info
25616 * gst/check/gstcheck.h:
25617 * gst/gstpad.c: (gst_pad_template_new):
25620 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25623 say what CHECK flags we use
25624 * docs/libs/gstreamer-libs.types:
25625 * libs/gst/controller/Makefile.am:
25626 * libs/gst/controller/gst-controller.c:
25627 * libs/gst/controller/gst-controller.h:
25628 * libs/gst/controller/gst-helper.c:
25629 * libs/gst/controller/gst-interpolation.c:
25630 * libs/gst/controller/gstcontroller.c:
25631 * libs/gst/controller/gsthelper.c:
25632 * libs/gst/controller/gstinterpolation.c:
25633 * tools/gst-inspect.c: (print_plugin_info):
25634 we don't use dashes in header names
25636 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25638 * check/Makefile.am:
25639 * check/gst/.cvsignore:
25640 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25641 (gst_pipeline_suite), (main):
25642 adding a test for pipelines and state changes
25643 * gst/gstutils.c: (get_state_func):
25645 * gstreamer.spec.in:
25648 2005-09-08 Michael Smith <msmith@fluendo.com>
25650 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25651 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25652 (gst_file_src_is_seekable), (gst_file_src_get_size),
25653 (gst_file_src_start):
25654 * gst/elements/gstfilesrc.h:
25655 Various fixes for unseekable, unmmapable, and non-normal files, so
25656 that fallback to read() rather than mmap() works.
25657 * gst/gstevent.c: (gst_event_new_newsegment):
25658 Allow newsegment events with segment_start == segment_end, as will
25659 correctly happen if you use filesrc on a zero-size file, for
25662 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25664 * gst/gstplugin.c: (gst_plugin_load_file):
25665 Call g_module_close when we don't load the module
25667 * gst/registries/gstlibxmlregistry.c:
25668 (gst_xml_registry_get_property):
25669 Port leak fix from 0.8
25671 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25673 * docs/gst/gstreamer-docs.sgml:
25674 * docs/gst/tmpl/.cvsignore:
25675 * docs/gst/tmpl/gsttrace.sgml:
25676 * docs/gst/tmpl/gsttrashstack.sgml:
25679 * gst/gstelement.h:
25681 * gst/gstmessage.c:
25682 * gst/gstmessage.h:
25685 * gst/gsttaginterface.c:
25686 * gst/gsttaginterface.h:
25687 * gst/gsttaglist.c:
25688 * gst/gsttaglist.h:
25689 * gst/gsttagsetter.c:
25690 * gst/gsttagsetter.h:
25693 * gst/gsttrashstack.c:
25694 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25695 inlined docs for gsttrace, gsttrashstack
25697 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25700 * gst/elements/gstbufferstore.h:
25701 * gst/elements/gsttypefindelement.c:
25702 * gst/elements/gsttypefindelement.h:
25704 * gst/gsttypefind.c:
25705 * gst/gsttypefind.h:
25706 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25707 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25708 (gst_type_find_factory_dispose),
25709 (gst_type_find_factory_unload_thyself),
25710 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25711 (gst_type_find_factory_get_caps),
25712 (gst_type_find_factory_get_extensions),
25713 (gst_type_find_factory_call_function):
25714 * gst/gsttypefindfactory.h:
25715 * gst/registries/gstlibxmlregistry.c:
25716 * gst/registries/gstxmlregistry.c:
25717 splitted gsttypefind into gsttypefind, gsttypefindfactory
25719 2005-09-07 Andy Wingo <wingo@pobox.com>
25721 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25722 condition whereby the pad's task function is entered before the
25723 pad_mode variable was set.
25725 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25727 * gst/gstpad.c: (gst_pad_alloc_buffer):
25728 Catch misbehaving pad_alloc functions that don't
25729 set up caps and do it for them.
25731 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25733 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25734 test for pipe!=NULL
25735 * docs/gst/tmpl/.cvsignore:
25736 * docs/gst/tmpl/gstmemchunk.sgml:
25737 * docs/gst/tmpl/gstparse.sgml:
25738 * docs/gst/tmpl/gsttaglist.sgml:
25739 * docs/gst/tmpl/gsttagsetter.sgml:
25740 * docs/gst/tmpl/gsttypefind.sgml:
25741 * docs/gst/tmpl/gsttypefindfactory.sgml:
25742 * gst/gstmemchunk.c:
25745 * gst/gsttaginterface.c:
25746 * gst/gsttypefind.c:
25747 * gst/gsttypefind.h:
25750 === release 0.9.2 ===
25752 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25757 releasing 0.9.2, "South"
25759 2005-09-05 Andy Wingo <wingo@pobox.com>
25761 * gst/registries/gstxmlregistry.h:
25762 * gst/registries/gstxmlregistry.c: Um... resurrect...
25764 * gst/registries/gstxmlregistry.h:
25765 * gst/registries/gstxmlregistry.c: and update to newer API.
25766 Incidentally they should be a bit faster now that they don't have
25769 2005-09-05 Andy Wingo <wingo@pobox.com>
25771 * gst/registries/gstxmlregistry.h:
25772 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25773 replaced by the libxml registry a while back
25775 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25777 * docs/gst/tmpl/gstplugin.sgml:
25778 * gst/elements/gstelements.c:
25780 * gst/gstplugin.c: (gst_plugin_register_func),
25781 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25782 (gst_plugin_get_source):
25784 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25785 (gst_xml_registry_save_plugin):
25786 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25787 (gst_xml_registry_save_plugin):
25788 * tools/gst-inspect.c: (print_plugin_info):
25789 add a "source" plugin description field, to represent the source
25790 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25791 will set it to PACKAGE, which is automake's idea of the name of
25792 the source project.
25794 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25799 * docs/Makefile.am:
25800 * docs/faq/Makefile.am:
25801 * docs/gst/tmpl/gstelement.sgml:
25802 * docs/gst/tmpl/gsttypes.sgml:
25803 * docs/htmlinstall.mak:
25804 * docs/manual/Makefile.am:
25805 * docs/pwg/Makefile.am:
25806 reorganize doc build a little
25807 split out docbook and gtk-doc stuff
25808 have two separate --enable's and enable them through autogen
25809 but disable by default in configure (to be similar to other
25811 * gstreamer.spec.in:
25812 clean up docs install
25830 translation updates
25832 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25834 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25837 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25838 (gst_fake_sink_change_state):
25839 Make state change function thread-safe.
25841 * gst/gstpad.c: (gst_pad_alloc_buffer):
25842 Set offset on generic buffer allocated by fallback.
25844 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25846 * docs/gst/gstreamer-sections.txt:
25847 * docs/gst/tmpl/gstelement.sgml:
25849 * libs/gst/controller/gst-controller.c:
25850 (gst_controlled_property_set_interpolation_mode),
25851 (gst_controlled_property_new),
25852 (gst_controller_find_controlled_property):
25853 run the wingo-magic script against the docs
25855 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25857 * docs/gst/gstreamer-docs.sgml:
25858 * docs/gst/gstreamer-sections.txt:
25859 * docs/gst/tmpl/.cvsignore:
25860 * docs/gst/tmpl/gstelementdetails.sgml:
25861 * docs/gst/tmpl/gstelementfactory.sgml:
25864 * gst/gstelementfactory.c:
25865 * gst/gstelementfactory.h:
25866 merged elementdetails docs into elementfactory docs
25869 2005-09-02 Andy Wingo <wingo@pobox.com>
25871 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25872 consider this enum an enum and not a flags.
25874 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25876 * docs/gst/gstreamer-docs.sgml:
25877 * docs/gst/tmpl/.cvsignore:
25878 * docs/gst/tmpl/gstghostpad.sgml:
25879 * docs/gst/tmpl/gstiterator.sgml:
25880 * docs/gst/tmpl/gstmacros.sgml:
25881 * docs/gst/tmpl/gstrealpad.sgml:
25882 * docs/gst/tmpl/gstregistry.sgml:
25883 * docs/gst/tmpl/gstregistrypool.sgml:
25884 * docs/gst/tmpl/gststructure.sgml:
25885 * docs/gst/tmpl/gstsystemclock.sgml:
25886 * docs/gst/tmpl/gsttrace.sgml:
25887 * gst/gstghostpad.c:
25889 * gst/gstmemchunk.c:
25890 * gst/gstmemchunk.h:
25892 * gst/gstregistry.c:
25893 * gst/gstregistrypool.c:
25894 * gst/gststructure.c:
25895 * gst/gstsystemclock.c:
25898 2005-09-02 Andy Wingo <wingo@pobox.com>
25900 * gst/gstelement.h (GstState): Renamed from GstElementState,
25901 changed to be a normal enum instead of flags.
25902 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25903 munged to be GST_STATE_CHANGE_*.
25904 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25905 work with the new state representation.
25906 (GstStateChange): New enumeration of possible state transitions.
25907 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25908 (GstElementClass::change_state): Pass the GstStateChange along as
25909 an argument. Helps language bindings, so they don't have to use
25910 tricky lock-needing macros like GST_STATE_CHANGE ().
25912 * scripts/update-states (file): New script. Run it on a file to
25913 update it for state naming and API changes. Updates files in
25916 * All files updated for the new API.
25918 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25920 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25921 * gst/gstutils.c: (gst_util_set_value_from_string),
25922 (gst_util_set_object_arg):
25923 fix a bunch of unchecked return values
25924 * tools/gst-complete.c: (main):
25925 * gstreamer.spec.in:
25928 2005-09-01 Wim Taymans <wim@fluendo.com>
25930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25931 (gst_base_sink_event), (gst_base_sink_do_sync),
25932 (gst_base_sink_handle_event):
25933 * gst/base/gstbasesink.h:
25934 Handle newsegments more correctly.
25939 * gst/gstevent.c: (gst_event_new_newsegment):
25940 A newsegment cannot have a start_time of -1
25942 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25944 * win32/gstenumtypes.c:
25945 * win32/gstenumtypes.h:
25948 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25950 * libs/gst/controller/gst-controller.c:
25951 (gst_controlled_property_set_interpolation_mode),
25952 (gst_controlled_property_new):
25953 fixed boolean again
25955 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25957 * docs/faq/gst-uninstalled:
25962 * gst/gstutils.c: (gst_element_link_filtered):
25964 add gst_element_link_filtered
25966 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25968 * docs/gst/gstreamer-docs.sgml:
25969 * docs/gst/gstreamer-sections.txt:
25970 * docs/gst/tmpl/.cvsignore:
25971 * docs/gst/tmpl/gsterror.sgml:
25972 * docs/gst/tmpl/gstfilter.sgml:
25973 * docs/gst/tmpl/gsturihandler.sgml:
25974 * docs/gst/tmpl/gsturitype.sgml:
25975 * docs/gst/tmpl/gstutils.sgml:
25976 * docs/gst/tmpl/gstxml.sgml:
25981 * gst/gsturitype.c:
25984 inlined more docs, fixed double id-ref
25986 2005-08-31 Wim Taymans <wim@fluendo.com>
25988 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25989 (gst_base_transform_handle_buffer):
25990 Passthrough elements don't need the caps as they don't care.
25992 2005-08-31 Wim Taymans <wim@fluendo.com>
25994 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25995 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25996 Don't leak refcounts on buffers.
25998 2005-08-31 Wim Taymans <wim@fluendo.com>
26000 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26001 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26002 (gst_base_transform_chain), (gst_base_transform_change_state):
26003 * gst/base/gstbasetransform.h:
26004 Handle the case where we are not negotiated more gracefully.
26006 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26008 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26009 (gst_file_src_map_region):
26010 Set READONLY flag on mmap'ed buffers, otherwise
26011 gst_buffer_make_writable() won't work properly (#314708).
26013 2005-08-31 Wim Taymans <wim@fluendo.com>
26015 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26016 passthrough elements can even do inplace on non writable
26017 buffers (as they don't touch them).
26019 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26021 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26022 (gst_test_mono_source_set_property),
26023 (gst_test_mono_source_class_init), (GST_START_TEST),
26024 (gst_controller_suite):
26025 more tests (hehe I have the most)
26027 describe popping messages whenusing mulltiple sources
26028 * libs/gst/controller/gst-controller.c:
26029 (gst_controlled_property_set_interpolation_mode),
26030 (gst_controlled_property_new):
26031 * libs/gst/controller/gst-controller.h:
26032 * libs/gst/controller/gst-interpolation.c:
26033 implement boolean properties
26035 2005-08-31 Wim Taymans <wim@fluendo.com>
26037 * gst/gstminiobject.c: (gst_mini_object_ref):
26038 Cannot assert that the refcount has to be positive
26039 since a disposed object can be resurrected.
26041 2005-08-31 Wim Taymans <wim@fluendo.com>
26043 * gst/gstpad.c: (gst_pad_init):
26044 Revert change, need to first fix badly behaving
26047 2005-08-30 Wim Taymans <wim@fluendo.com>
26049 * check/elements/fakesrc.c: (setup_fakesrc):
26050 * check/elements/identity.c: (setup_identity):
26051 Activate pads before using them.
26053 2005-08-30 Wim Taymans <wim@fluendo.com>
26055 * gst/base/gstadapter.c: (gst_adapter_flush):
26056 Flushing out 0 bytes is ok for this function.
26058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26059 no newsegment gives a warning and sets the start/stop to
26062 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26063 (gst_base_transform_set_passthrough):
26066 * gst/gstminiobject.c: (gst_mini_object_ref):
26067 Check refcount here too.
26069 * gst/gstpad.c: (gst_pad_init):
26070 Pads are initially flushing and refusing data.
26072 * gst/gstutils.c: (gst_element_link_pads_filtered):
26073 When adding a capsfilter element make sure it has the
26074 same state as the parent bin.
26076 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26078 * docs/gst/tmpl/.cvsignore:
26079 * docs/gst/tmpl/gstformat.sgml:
26080 * docs/gst/tmpl/gstversion.sgml:
26084 * gst/gstversion.h.in:
26085 more docs and two more inlined
26087 2005-08-30 Wim Taymans <wim@fluendo.com>
26089 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26090 Don't sync to clock.
26092 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26094 * docs/gst/gstreamer-sections.txt:
26095 ultral33t func10ns deserve to appear in the docs actually
26096 * docs/gst/tmpl/.cvsignore:
26097 * docs/gst/tmpl/gstcompat.sgml:
26098 * docs/gst/tmpl/gstconfig.sgml:
26099 * gst/check/gstcheck.c:
26101 * gst/gstconfig.h.in:
26104 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26106 * docs/gst/tmpl/.cvsignore:
26107 * docs/gst/tmpl/gstquery.sgml:
26108 * docs/gst/tmpl/gstutils.sgml:
26111 inlined and extended docs
26113 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26115 * check/gst-libs/controller.c: (GST_START_TEST),
26116 (gst_controller_suite):
26118 * docs/gst/tmpl/gstutils.sgml:
26119 * docs/libs/gstreamer-libs-sections.txt:
26120 * docs/libs/tmpl/gstdataprotocol.sgml:
26122 * examples/controller/audio-example.c: (main):
26123 controller example works now
26126 * tools/gst-inspect.c: (print_element_properties_info):
26127 show param spec flags
26129 2005-08-29 Andy Wingo <wingo@pobox.com>
26131 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26133 2005-08-28 Andy Wingo <wingo@pobox.com>
26135 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26136 as having two arguments instead of just one. Allows superclasses
26137 to access information on subclasses -- see the terrible for() loop
26138 in gtype.c:g_type_create_instance for the reason why. All callers
26141 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26143 * docs/design/part-messages.txt:
26145 * docs/gst/tmpl/.cvsignore:
26146 * docs/gst/tmpl/gstcaps.sgml:
26147 * docs/gst/tmpl/gstclock.sgml:
26153 * gst/gstmessage.c:
26154 added descriptions for bus and message
26155 inline caps and clock docs
26157 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26159 * gst/gstmessage.c:
26160 * gst/gstmessage.h:
26163 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26165 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26168 2005-08-26 Andy Wingo <wingo@pobox.com>
26170 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26171 element_set_state's return val.
26172 (test_2_elements): Add test that's been disabled for months.
26174 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26175 can-activate-pull properties.
26177 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26178 can-activate-pull properties. Implement is_seekable so fakesrc can
26179 operate in pull mode.
26181 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26183 (gst_base_sink_activate, gst_base_sink_activate_pull)
26184 (gst_base_sink_activate_push): Make activation mode choosing work.
26186 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26187 is right. Make pull mode work. Post an eos before pausing in pull
26189 (gst_base_sink_change_state): Pay attention to the core's
26190 change_state() return val.
26192 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26193 has-getrange properties. Cleanups.
26195 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26196 has_getrange and replace with can_activate_pull and
26199 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26200 locking comments. Remove has_loop, has_chain and replace with
26201 can_activate_pull and can_activate_push.
26203 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26206 * examples/Makefile.am:
26207 * examples/metadata/Makefile.am:
26208 * examples/metadata/read-metadata.c: (message_loop),
26209 (have_pad_handler), (make_pipeline), (print_tag), (main):
26210 Add metadata reading example that loops over a list of filenames,
26211 dumping any tags found.
26213 * gst/gstbus.c: (gst_bus_dispose):
26214 * gst/gstelement.c: (gst_element_dispose):
26215 Release a few potentially-held references in dispose.
26217 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26219 * docs/gst/tmpl/gstminiobject.sgml:
26220 do *not* add tmpl/*.sgml files to CVS!
26222 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26224 * libs/gst/bytestream/.cvsignore:
26225 * libs/gst/bytestream/Makefile.am:
26226 * libs/gst/bytestream/adapter.c:
26227 * libs/gst/bytestream/adapter.h:
26228 * libs/gst/bytestream/bytestream.c:
26229 * libs/gst/bytestream/bytestream.h:
26230 * libs/gst/bytestream/filepad.c:
26231 * libs/gst/bytestream/filepad.h:
26232 removing obsolete files
26234 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26236 * docs/gst/gstreamer-docs.sgml:
26237 * docs/libs/gstreamer-libs-docs.sgml:
26238 disabed additional index entries again, as this makes docs-gen just
26239 slow and they aren't useful yet
26240 * docs/libs/gstreamer-libs-sections.txt:
26241 little -section.txt cleanup for libs
26243 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26245 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26246 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26247 fix up some debugging
26248 (gst_base_transform_get_unit_size),
26249 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26250 (gst_base_transform_handle_buffer):
26251 * gst/base/gstbasetransform.h:
26252 handle and store timed NEWSEGMENT events so that subclasses that
26253 calculate time by counting samples have a segment_start time they
26254 need to add to their timestamps - see audioresample
26256 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26259 removed ';' from the end of macro defs
26260 * docs/gst/gstreamer-docs.sgml:
26261 * docs/gst/gstreamer-sections.txt:
26262 * docs/gst/tmpl/.cvsignore:
26264 * gst/gstelement.c: (gst_element_class_init),
26265 (gst_element_set_state), (activate_pads),
26266 (gst_element_save_thyself):
26267 * gst/gstevent.c: (gst_event_new_newsegment):
26269 * gst/gstiterator.c:
26270 * gst/gstiterator.h:
26273 * gst/gstutils.c: (gst_pad_query_convert):
26275 fixed parameter name mismatches between source, header and docs
26276 added some more docs, resolved the last batch of unused elements in
26277 docs (now someone needs to doc them)
26279 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26281 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26282 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26283 don't walk through the plugins backwards. Where is all this
26284 reversed logic coming from ?
26286 2005-08-25 Wim Taymans <wim@fluendo.com>
26288 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26289 (gst_base_transform_transform_size),
26290 (gst_base_transform_configure_caps),
26291 (gst_base_transform_get_unit_size),
26292 (gst_base_transform_buffer_alloc),
26293 (gst_base_transform_change_state):
26294 * gst/base/gstbasetransform.h:
26295 Cache caps unit_size.
26296 Make sure we cannot negotiate up and downstream at the
26299 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26301 * gst/gst.c: (init_pre), (init_post):
26302 register the installed plugin path after the env var
26303 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26304 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26305 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26306 directories, so the tests can prefer uninstalled over installed
26308 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26310 * gst/base/gstbasetransform.h:
26315 2005-08-25 Wim Taymans <wim@fluendo.com>
26317 * gst/gstbin.c: (bin_bus_handler):
26318 Be a bit more conservative about the posted message.
26320 * gst/gstbus.c: (gst_bus_post):
26321 Some cleanups, warn wrong return values.
26323 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26325 * check/gst/gstbin.c: (GST_START_TEST):
26326 * gst/gstbin.c: (bin_bus_handler):
26327 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26328 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26329 (gst_message_new_warning), (gst_message_new_tag),
26330 (gst_message_new_state_changed), (gst_message_new_segment_start),
26331 (gst_message_new_segment_done), (gst_message_new_custom):
26332 * gst/gstmessage.h:
26333 * tools/gst-launch.c: (event_loop):
26334 * tools/gst-md5sum.c: (event_loop):
26335 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26337 2005-08-25 Wim Taymans <wim@fluendo.com>
26339 * check/generic/states.c: (GST_START_TEST):
26340 Cleanup can be done at the end.
26342 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26343 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26344 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26345 Oh boy.. Thanks for finding this, Thomas.
26347 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26349 * docs/gst/gstreamer.types:
26350 added missing types
26352 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26354 * docs/gst/gstreamer-docs.sgml:
26355 * docs/gst/gstreamer-sections.txt:
26356 * docs/gst/tmpl/.cvsignore:
26358 * gst/gstiterator.c:
26360 * gst/registries/gstxmlregistry.h:
26361 added missing classes and symbols (123 more to go)
26362 removed removed symbols from section file
26363 fixed many doc-comments
26365 2005-08-24 Wim Taymans <wim@fluendo.com>
26367 * check/generic/states.c: (GST_START_TEST):
26368 Make sure all tasks are stopped.
26370 * check/gst/gstbin.c: (GST_START_TEST):
26371 Unref after usage for proper valgrinding.
26373 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26374 Really wait for the task to stop before destroying the
26377 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26378 (gst_queue_src_activate_push):
26379 Small cleanups. Don't stop the task when we did not start
26382 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26383 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26384 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26387 Protect the stream lock with the object lock.
26388 Disallow setting the stream lock when running.
26389 Add cleanup_all to wait for the threadpool to finish.
26390 Remove code to autoallocate a mutex if none was provided.
26391 Add _join() to wait for a task to stop.
26392 Protect the thread pool with a global lock.
26394 2005-08-24 Wim Taymans <wim@fluendo.com>
26396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26397 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26398 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26399 * gst/base/gstbasesink.h:
26400 Handle newsegment events correctly.
26401 Drop buffers out of the segment range.
26403 2005-08-22 Andy Wingo <wingo@pobox.com>
26405 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26406 macro, implements an interface and gstimplementsinterface for a
26409 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26411 * check/Makefile.am:
26412 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26413 add a test that does a bunch of state changes on elements
26414 needs some fixing for valgrind
26415 * check/states/sinks.c: (gst_object_suite):
26418 add prototype for gst_caps_is_equal_fixed
26420 * gst/gstregistrypool.c:
26423 2005-08-24 Andy Wingo <wingo@pobox.com>
26425 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26426 convert a negative value. Doesn't make much sense. Mostly this is
26427 here to force callers to ensure -1 maps to -1.
26429 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26431 * docs/pwg/advanced-types.xml:
26432 Well done to Michael for catching my deliberate introduction
26433 of this spelling mistake.
26434 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26435 * gst/gstelement.h:
26436 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26437 unlink pads before removing the element from the bin.
26439 2005-08-24 Andy Wingo <wingo@pobox.com>
26441 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26442 the same thing as GST_DEBUG=*:4.
26443 (parse_debug_level, parse_debug_category): New helper parsers.
26445 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26447 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26448 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26449 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26450 (gst_base_transform_buffer_alloc),
26451 (gst_base_transform_handle_buffer):
26452 use gboolean return values and pointers to size so we can use the
26453 full GST_BUFFER_SIZE range (guint) for buffer sizes
26454 use GstPadDirection for transform_caps
26455 * gst/base/gstbasetransform.h:
26456 rename get_size to get_unit_size since that's what it is
26457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26458 use GstPadDirection for transform_caps
26459 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26461 cleanup and debugging
26463 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26465 * gst/gstelement.c: (gst_element_class_init),
26466 (gst_element_set_state), (activate_pads),
26467 (gst_element_save_thyself):
26468 * tools/gst-compprep.c: (main):
26469 * tools/gst-inspect.c: (print_element_properties_info):
26470 * tools/gst-xmlinspect.c: (print_element_properties):
26471 Fixed long standing mem-leak
26473 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26475 * check/gst/gstbin.c: (GST_START_TEST):
26476 * gst/gstbin.c: (bin_bus_handler):
26477 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26478 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26479 (gst_message_new_warning), (gst_message_new_tag),
26480 (gst_message_new_state_changed), (gst_message_new_segment_start),
26481 (gst_message_new_segment_done), (gst_message_new_custom):
26482 * gst/gstmessage.h:
26483 * tools/gst-launch.c: (event_loop):
26484 * tools/gst-md5sum.c: (event_loop):
26485 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26486 that applications can sensibly post custom messages with references
26487 to their own objects.
26489 2005-08-24 Andy Wingo <wingo@pobox.com>
26491 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26494 2005-08-24 Wim Taymans <wim@fluendo.com>
26496 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26497 (gst_base_transform_transform_caps),
26498 (gst_base_transform_transform_size),
26499 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26500 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26501 (gst_base_transform_handle_buffer):
26502 * gst/base/gstbasetransform.h:
26503 Many fixes and new features added by Thomas. Can now also do
26504 transforms with variable sizes and a custom fixate_caps function.
26506 2005-08-24 Wim Taymans <wim@fluendo.com>
26508 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26512 Cast to ClockTime before formatting to time.
26517 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26519 * check/gst-libs/controller.c: (GST_START_TEST),
26520 (gst_controller_suite):
26521 * docs/gst/tmpl/gstcaps.sgml:
26522 * docs/gst/tmpl/gstghostpad.sgml:
26523 * docs/gst/tmpl/gstquery.sgml:
26524 * docs/gst/tmpl/gstutils.sgml:
26525 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26526 (gst_object_sink_values), (gst_object_get_value_arrays),
26527 (gst_object_get_value_array):
26528 gracefully handle helper method calls to objects that are not beeing
26529 controlled, added test case for that
26531 2005-08-23 Wim Taymans <wim@fluendo.com>
26533 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26534 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26535 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26536 (gst_event_parse_qos), (gst_event_new_seek),
26537 (gst_event_parse_seek):
26539 Some more debugging output and doc cleanups.
26541 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26542 Fix possible deadlock.
26544 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26546 * docs/gst/gstreamer-docs.sgml:
26547 * docs/gst/gstreamer-sections.txt:
26548 * docs/gst/gstreamer.types:
26549 * docs/gst/tmpl/.cvsignore:
26552 * gst/gstelement.c:
26554 added 100 symbols from gstreamer-unused.txt to the right sections
26555 fixed more broken comments
26556 added GstBus to docs
26558 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26560 * docs/gst/gstreamer-sections.txt:
26561 * docs/gst/tmpl/.cvsignore:
26562 * docs/gst/tmpl/gstbin.sgml:
26563 * docs/gst/tmpl/gstbuffer.sgml:
26564 * gst/base/gstbasesrc.c:
26565 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26568 * tools/gst-launch.1.in:
26569 inlined more doc comments, added missing comments and fixed comments
26572 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26574 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26578 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26580 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26581 * gst/gststructure.h:
26582 add a fixate function for booleans; add a FIXME that these func
26583 names should probably be gst_structure_fixate_*
26585 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26587 * docs/gst/gstreamer-docs.sgml:
26588 * docs/gst/gstreamer-sections.txt:
26590 * gst/gstbin.c: (gst_bin_get_type),
26591 (gst_bin_child_proxy_get_child_by_index),
26592 (gst_bin_child_proxy_get_children_count),
26593 (gst_bin_child_proxy_init):
26594 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26595 (gst_child_proxy_get_child_by_index),
26596 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26597 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26598 (gst_child_proxy_get), (gst_child_proxy_set_property),
26599 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26600 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26601 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26602 * gst/gstchildproxy.h:
26603 * gst/parse/grammar.y:
26604 * tools/gst-inspect.c: (print_interfaces),
26605 (print_element_properties_info), (print_element_info):
26606 ported gstchildproxy over from 0.8
26607 ported gst-inspect fixes and enhancements over from 0.8
26609 2005-08-22 Wim Taymans <wim@fluendo.com>
26611 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26612 (gst_base_transform_handle_buffer):
26613 Also call the transform function if we have ANY caps.
26615 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26618 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26620 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26621 Don't pretend to handle seek events if the source is not seekable
26623 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26625 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26626 Remove extra parameter to debug output
26628 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26629 (gst_base_src_do_seek), (gst_base_src_activate_push):
26630 Fix seek event handling.
26632 * gst/gstpipeline.c: (gst_pipeline_change_state):
26633 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26634 (gst_queue_src_activate_push):
26635 Don't start the src pad task on FLUSH_STOP if the pad
26639 2005-08-22 Wim Taymans <wim@fluendo.com>
26641 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26642 Added check for gst_static_caps_get() refcounting.
26644 2005-08-22 Wim Taymans <wim@fluendo.com>
26646 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26647 Make _static_caps_get() refcounting sane.
26649 * gst/gstelement.c: (gst_element_set_state):
26650 Add g_return_val_if_fail() to protect against segfaults.
26652 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26654 * docs/gst/tmpl/gstevent.sgml:
26657 inlined remaining docs, added missing doc comments
26659 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26661 * check/gst/gstbin.c: (GST_START_TEST):
26662 since we don't know when preroll is done, use refcount range
26664 * gst/check/gstcheck.h:
26665 add macro for checking refcount range
26667 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26669 * check/Makefile.am:
26670 clean up environment for when registry gets built versus
26671 when actual tests are run; valgrind seems to not report
26672 leaks if GST_PLUGIN_PATH is set to some specific values
26673 * check/gst/gstbin.c: (GST_START_TEST):
26674 add more refcounting checks; maybe this exposes a
26676 * common/check.mak:
26677 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26678 * gst/check/gstcheck.h:
26679 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26680 (gst_bin_change_state):
26681 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26682 add/fix debugging/whitespace
26684 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26686 * check/gst/gstevent.c: (event_probe), (test_event),
26688 Er, don't call gst_bin_watch_for_state_change you idiot.
26690 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26692 * check/Makefile.am:
26693 Use CHECK_CFLAGS and CHECK_LIBS
26694 * check/gst/gstevent.c: (event_probe), (test_event),
26697 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26698 (gst_base_src_start), (gst_base_src_stop),
26699 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26700 (gst_base_src_change_state):
26701 Sprinkle gst_base_src_stop liberally around error paths to fix
26702 problems reusing a source after failed state changes.
26703 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26704 (helper_find_suggest), (gst_type_find_helper):
26705 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26707 * docs/gst/tmpl/gstevent.sgml:
26708 Migrate part of the docs from the SGML file. Wait for ensonic to
26709 tell me how I did it wrong ;)
26710 * tools/gst-typefind.c: (main):
26711 Extra robustness to state changes between files.
26713 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26715 * check/Makefile.am:
26716 don't valgrind the controller test - it's leaking - Stefan, HELP
26717 * gst/check/gstcheck.c: (gst_check_message_error),
26718 (gst_check_chain_func), (gst_check_setup_element),
26719 (gst_check_teardown_element), (gst_check_setup_src_pad),
26720 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26721 (gst_check_teardown_sink_pad):
26722 * gst/check/gstcheck.h:
26723 add a bunch of methods to set up elements, and src and sink pads
26724 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26725 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26728 * gst/gstmessage.c:
26730 whitespace/doc fixes
26732 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26734 * gst/gstelement.h:
26735 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26736 be handled by the application and not always printed as well
26738 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26740 * check/Makefile.am:
26742 * gst/check/gstcheck.c: (gst_check_message_error):
26743 * gst/check/gstcheck.h:
26744 add a fail_unless_equals_int
26745 add fail_unless for error messages
26747 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26749 * check/Makefile.am:
26751 * common/Makefile.am:
26752 * common/check.mak:
26754 factor out some of the common stuff so we can use it
26756 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26758 * check/Makefile.am:
26759 * check/gst/gstiterator.c: (GST_START_TEST):
26760 * check/gst/gstsystemclock.c: (GST_START_TEST),
26761 (gst_systemclock_suite):
26762 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26764 valgrind more tests
26766 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26768 * check/elements/.cvsignore:
26769 * check/elements/gstfakesrc.c:
26770 rename to name of element
26771 * check/elements/identity.c: (chain_func), (event_func),
26772 (setup_identity), (cleanup_identity), (GST_START_TEST),
26773 (identity_suite), (main):
26774 add a test for identity
26775 * check/Makefile.am:
26776 * pkgconfig/Makefile.am:
26777 * pkgconfig/gstreamer-check.pc.in:
26778 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26782 move the check stuff to a library that gets installed
26783 * check/gst-libs/controller.c: (GST_START_TEST):
26784 * check/gst-libs/gdp.c:
26785 * check/gst/gst.c: (GST_START_TEST):
26786 * check/gst/gstbin.c:
26787 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26788 * check/gst/gstbus.c:
26789 * check/gst/gstcaps.c: (GST_START_TEST):
26790 * check/gst/gstelement.c:
26791 * check/gst/gstghostpad.c:
26792 * check/gst/gstiterator.c:
26793 * check/gst/gstmessage.c:
26794 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26795 * check/gst/gstobject.c:
26796 * check/gst/gstpad.c: (GST_START_TEST):
26797 * check/gst/gststructure.c: (GST_START_TEST):
26798 * check/gst/gstsystemclock.c: (GST_START_TEST),
26799 (gst_systemclock_suite):
26800 * check/gst/gsttag.c: (gst_tag_suite):
26801 * check/gst/gstvalue.c:
26802 * check/pipelines/cleanup.c:
26803 * check/pipelines/simple_launch_lines.c:
26804 * check/states/sinks.c:
26805 change include statement
26807 * docs/gst/gstreamer-sections.txt:
26808 * docs/gst/tmpl/gstpad.sgml:
26809 document more pad stuff
26810 * gst/gstminiobject.c: (gst_mini_object_ref),
26811 (gst_mini_object_unref):
26814 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26816 * docs/gst/tmpl/gst.sgml:
26818 eliminate another tmpl file, fix spelling in the long-description
26820 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26822 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26823 (test_event), (timediff), (gstevents_suite):
26824 Should fix build on 64-bit arch's
26826 2005-08-18 Andy Wingo <wingo@pobox.com>
26828 Make sure that when a pipeline goes to PLAYING, that data has
26829 actually hit the sink.
26831 * check/states/sinks.c (test_sink): A sink that doesn't get any
26832 data shouldn't return SUCCESS for going to either PLAYING or
26833 PAUSED. Test also the return values on the way back down.
26835 * gst/gstelement.c (gst_element_set_state): When changing the
26836 state of an element currently changing state asynchronously, go to
26837 lost-state after commiting the pending state. Makes future calls
26838 to get_state continue to return ASYNC.
26840 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26841 ASYNC when going to PLAYING if we still don't have preroll, as can
26842 happen with live sources.
26844 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26846 * docs/pwg/advanced-types.xml:
26847 Hack long paragraph into 2 chunks as a workaround for buggy
26848 jadetex version in sid and breezy that loops infinitely and
26851 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26853 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26854 (test_event), (timediff), (gstevents_suite):
26855 Provide more error margin in clock measurements to allow for
26856 g_get_current_time inaccuracies.
26858 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26860 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26861 (test_event), (timediff), (gstevents_suite):
26862 Fix error message output so I might be able to tell why the
26863 test works here but fails on the build farm.
26865 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26867 * check/Makefile.am:
26868 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26869 (test_event), (timediff), (gstevents_suite), (main):
26872 * docs/design/part-seeking.txt:
26873 Spelling correction
26875 * docs/gst/tmpl/gstevent.sgml:
26876 * docs/gst/tmpl/gstfakesrc.sgml:
26879 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26880 Treat a buffer-without-newsegment the same as a receiving
26881 a newsegment not in time format, and disable syncing to the clock
26884 * gst/gstbus.c: (gst_bus_set_sync_handler):
26885 Assert if anyone tries to replace the existing sync_handler for bus,
26886 as only the owner should be setting it.
26889 Have a fixed set of custom event enums with events identified by
26890 their structure name (as in 0.8), rather than a free-for-all
26891 allowing collisions between enum values from different plugins.
26893 * gst/gstpad.c: (gst_pad_class_init):
26896 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26897 Handle out-of-band downstream events from the sending thread.
26899 2005-08-17 Andy Wingo <wingo@pobox.com>
26901 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26902 play-timeout==0 to mean no timeout at all. In that case, don't
26903 bother with a get_state or a warning, just return directly, even
26906 * gst/base/gstbasetransform.c: Debug changes.
26909 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26910 ensure bins post state change messages. A bit of a hack but I can't
26911 think of a way to avoid it.
26913 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26915 2005-08-16 Andy Wingo <wingo@pobox.com>
26917 * gst/base/gstadapter.h:
26918 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26919 peek() but you own the data. Not terribly efficient atm.
26921 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26923 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26924 (gst_element_found_tags):
26926 Add two utility functions for tag handling.
26928 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26930 * docs/manual/advanced-dataaccess.xml:
26931 * docs/manual/basics-helloworld.xml:
26932 Fix docs to use _bin_add() before _link(), which fixes the examples
26933 with recent core versions (reported by Madhan Raj M
26934 <raj_madan@rediffmail.com>, #313199).
26936 2005-08-16 Wim Taymans <wim@fluendo.com>
26938 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26939 Added subtract checks.
26941 * docs/design/part-events.txt:
26942 Some more docs about newsegment
26944 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26947 * gst/gstcaps.c: (gst_caps_to_string):
26948 Add comments, cleanups.
26950 * gst/gstelement.c: (gst_element_save_thyself):
26953 * gst/gstvalue.c: (gst_value_collect_int_range),
26954 (gst_string_unwrap), (gst_value_union_int_int_range),
26955 (gst_value_union_int_range_int_range),
26956 (gst_value_intersect_int_int_range),
26957 (gst_value_intersect_int_range_int_range),
26958 (gst_value_intersect_double_double_range),
26959 (gst_value_intersect_double_range_double_range),
26960 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26961 (gst_value_subtract_int_range_int),
26962 (gst_value_subtract_double_range_double),
26963 (gst_value_subtract_double_range_double_range),
26964 (gst_value_subtract_from_list), (gst_value_subtract_list),
26965 (gst_value_can_compare), (gst_value_compare_fraction):
26966 Cleanups, add comments, remove unneeded asserts.
26968 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26970 * tools/gst-launch.c: (event_loop):
26971 don't convert NULL structures to strings
26973 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26975 * docs/gst/gstreamer-sections.txt:
26976 made some defines private
26977 * docs/gst/tmpl/gstconfig.sgml:
26978 * docs/gst/tmpl/gstqueue.sgml:
26979 * docs/gst/tmpl/gsttaglist.sgml:
26980 * docs/gst/tmpl/gsttypes.sgml:
26981 * docs/gst/tmpl/gstutils.sgml:
26982 * docs/pwg/appendix-porting.xml:
26983 * gst/base/gstbasesink.h:
26984 * gst/base/gstbasesrc.c:
26985 * gst/base/gstbasesrc.h:
26986 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26987 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26988 * gst/gstelement.c: (gst_element_class_init):
26989 * gst/gstpad.c: (gst_pad_class_init):
26990 * gst/gstqueue.c: (gst_queue_class_init):
26991 * gst/gstxml.c: (gst_xml_class_init):
26992 documented all undocumented signal inline
26993 * libs/gst/controller/gst-controller.h:
26996 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26998 * docs/pwg/appendix-porting.xml:
26999 Document _set_link_function -> _set_setcaps_function.
27001 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27003 * check/Makefile.am:
27004 add a .check target for running the check
27005 * check/gst-libs/controller.c: (GST_START_TEST):
27007 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27008 complete checks for gstbuffer; would be nice if I could get the
27009 gcov stuff to work so I can see if I actually completed gstbuffer.c
27010 * check/gstcheck.h:
27011 add ASSERT_BUFFER_REFCOUNT
27013 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27015 * docs/gst/gstreamer-sections.txt:
27016 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27018 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27019 spew out a warning if a tag that is already registered
27020 is re-registered, unless it is re-registered with a
27021 different type (#308438).
27023 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27025 * docs/pwg/appendix-porting.xml:
27026 * docs/pwg/building-state.xml:
27027 Add some paragraphs about state changes in 0.9 to the PWG
27028 and the porting guide, in particular about the new meaning
27029 of GST_STATE_PAUSED and how to write state change functions
27030 with concurrent access by multiple threads in mind.
27032 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27034 * docs/gst/gstreamer-docs.sgml:
27035 * docs/libs/gstreamer-libs-docs.sgml:
27036 added deprecation and since indexes
27037 * libs/gst/controller/gst-controller.c:
27038 * libs/gst/controller/gst-helper.c:
27042 2005-08-11 Wim Taymans <wim@fluendo.com>
27044 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27045 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27046 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27047 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27048 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27049 (gst_ghost_pad_set_target):
27050 Actually implement (re)setting the target on a ghostpad
27051 as described in the docs.
27053 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27055 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27056 Check whether GST_DEBUG_NO_COLOR environment variable is
27057 set and disable coloured debug output if that is the case.
27059 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27061 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27062 (gst_type_find_helper):
27063 The memory returned by gst_type_find_peek() needs to
27064 stay valid until the end of a typefind function, and
27065 typefind functions may keep results from different
27066 offsets around, so we can't just unref the buffer from
27067 the previous _peek(), but have to save all buffers
27068 returned by _peek() until typefinding is done and only
27071 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27073 * docs/gst/gstreamer-sections.txt:
27075 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27077 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27079 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27080 Fix a pretty good memleak.
27082 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27084 * gst/gstiterator.h:
27085 Fix wrong include and 'make distcheck'.
27087 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27089 * gst/gstbin.c: (bin_bus_handler):
27090 Use gst_element_post_message() instead.
27092 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27094 * gst/base/gstadapter.h:
27095 * gst/base/gstbasesink.h:
27096 * gst/base/gstbasesrc.h:
27097 * gst/base/gstbasetransform.h:
27098 * gst/base/gstcollectpads.h:
27099 * gst/base/gstpushsrc.h:
27100 * gst/gstiterator.h:
27101 Add padding to our base elements' class and instance structs and
27102 to GstIterator (you will need to rebuild all plugins and apps!)
27104 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27106 * gst/gstbin.c: (bin_bus_handler):
27107 Make default message forwarding from child->bus to bin->bus
27108 threadsafe and make it not emit warnings if the parent has no bus.
27110 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27112 * gst/gstelement.c: (activate_pads):
27113 On paused->ready, set pad->caps to NULL, as is the documented
27114 behaviour in this state change. Fixes playback of series of
27115 media files when visualization is enabled in Totem.
27117 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27119 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27120 Allow NULL as filter-caps (which means "any").
27122 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27124 * docs/libs/gstreamer-libs-sections.txt:
27125 * libs/gst/controller/gst-controller.c:
27126 * libs/gst/controller/gst-controller.h:
27127 * libs/gst/controller/gst-helper.c:
27128 adding more entries to the docs and fix small doc-bugs
27130 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27132 * docs/gst/gstreamer-docs.sgml:
27133 * docs/gst/gstreamer-sections.txt:
27134 * docs/gst/gstreamer.types:
27135 * docs/gst/tmpl/gstbasesink.sgml:
27136 * docs/gst/tmpl/gstbasesrc.sgml:
27137 * docs/gst/tmpl/gstbasetransform.sgml:
27138 * docs/gst/tmpl/gstfakesrc.sgml:
27139 * gst/base/gstcollectpads.c:
27140 * gst/base/gstcollectpads.h:
27141 * libs/gst/controller/gst-controller.c:
27142 * libs/gst/controller/gst-controller.h:
27143 * libs/gst/controller/gst-helper.c:
27144 * libs/gst/controller/gst-interpolation.c:
27145 * libs/gst/controller/lib.c:
27146 added long/short desc for controller docs
27147 added collectpads base class docs
27148 added correct includes to base-class docs
27150 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27152 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27153 (gst_test_mono_source_set_property),
27154 (gst_test_mono_source_class_init), (GST_START_TEST),
27155 (gst_controller_suite):
27156 * docs/gst/gstreamer-docs.sgml:
27157 * docs/gst/gstreamer-sections.txt:
27158 * docs/gst/gstreamer.types:
27159 * docs/libs/gstreamer-libs-docs.sgml:
27160 * docs/libs/gstreamer-libs-sections.txt:
27161 * gst/base/gstadapter.c:
27162 * libs/gst/controller/gst-controller.c:
27163 (gst_controlled_property_new), (gst_controlled_property_free),
27164 (gst_controller_new_valist),
27165 (gst_controller_remove_properties_valist),
27166 (gst_controller_sink_values), (_gst_controller_finalize):
27167 * libs/gst/controller/gst-controller.h:
27168 * libs/gst/controller/gst-helper.c:
27169 (gst_object_control_properties), (gst_object_uncontrol_properties),
27170 (gst_object_get_controller), (gst_object_set_controller),
27171 (gst_object_sink_values), (gst_object_get_value_arrays),
27172 (gst_object_get_value_array):
27173 more tests (and fixes) for the controller
27174 more docs for the controller
27175 integrated companies docs for the adapter
27177 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27179 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27180 (GST_START_TEST), (fakesrc_suite):
27181 add tests for sizetype
27183 2005-08-04 Andy Wingo <wingo@pobox.com>
27185 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27186 fixes buffer_alloc proxying among other things.
27188 * gst/base/gstbasetransform.c:
27189 * gst/base/gstbasetransform.h:
27190 Revert patch to gstbasetransform from 7-28 removing
27193 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27194 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27195 Semantics changed, should return not the size of the output buffer
27196 but the byte size of a buffer with a given caps.
27198 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27200 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27201 out) are not the pad caps until setcaps finishes.
27202 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27203 not-in-place case as well. Deal with changing from in-place to
27204 not-in-place within calling pad_alloc_buffer. Still a bit
27205 concerned about the overhead here...
27207 2005-08-03 Andy Wingo <wingo@pobox.com>
27209 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27210 fixating is an error.
27212 2005-08-04 Edward Hervey <edward@fluendo.com>
27214 * gst/base/gstadapter.h:
27215 Added gst_adapter_get_type() to the header
27217 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27219 * check/Makefile.am:
27220 * check/gst-libs/controller.c:
27221 * libs/gst/controller/gst-controller.c:
27222 (gst_controller_new_valist):
27223 added check test suite for the controller
27224 * gst/base/gstpushsrc.c:
27227 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27229 * docs/gst/Makefile.am:
27230 * docs/gst/gstreamer-docs.sgml:
27231 * docs/gst/gstreamer-sections.txt:
27232 * docs/gst/gstreamer.types:
27233 * docs/gst/tmpl/gstfakesrc.sgml:
27235 * gst/base/gstbasesink.c:
27236 * gst/base/gstbasesink.h:
27237 * gst/base/gstbasesrc.c:
27238 * gst/base/gstbasesrc.h:
27239 * gst/base/gstbasetransform.c:
27240 * gst/base/gstpushsrc.c:
27241 * gst/base/gstpushsrc.h:
27242 add short/long description docs to base classes
27243 add pushsrc to the docs
27244 remove consolidated doc fragments
27246 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27249 * docs/libs/Makefile.am:
27250 * docs/libs/gstreamer-libs-docs.sgml:
27251 * docs/libs/gstreamer-libs-sections.txt:
27252 * docs/libs/gstreamer-libs.types:
27253 * examples/Makefile.am:
27254 * examples/controller/.cvsignore:
27255 * examples/controller/Makefile.am:
27256 * examples/controller/audio-example.c: (main):
27257 * libs/gst/Makefile.am:
27258 * libs/gst/controller/.cvsignore:
27259 * libs/gst/controller/Makefile.am:
27260 * libs/gst/controller/gst-controller.c:
27261 (on_object_controlled_property_changed), (gst_timed_value_compare),
27262 (gst_timed_value_find),
27263 (gst_controlled_property_set_interpolation_mode),
27264 (gst_controlled_property_new), (gst_controlled_property_free),
27265 (gst_controller_find_controlled_property),
27266 (gst_controller_new_valist), (gst_controller_new),
27267 (gst_controller_remove_properties_valist),
27268 (gst_controller_remove_properties), (gst_controller_set),
27269 (gst_controller_set_from_list), (gst_controller_unset),
27270 (gst_controller_get), (gst_controller_get_all),
27271 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27272 (gst_controller_get_value_array),
27273 (gst_controller_set_interpolation_mode),
27274 (_gst_controller_finalize), (_gst_controller_init),
27275 (_gst_controller_class_init), (gst_controller_get_type):
27276 * libs/gst/controller/gst-controller.h:
27277 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27278 (g_object_uncontrol_properties), (g_object_get_controller),
27279 (g_object_set_controller), (g_object_sink_values),
27280 (g_object_get_value_arrays), (g_object_get_value_array):
27281 * libs/gst/controller/gst-interpolation.c:
27282 (gst_controlled_property_find_timed_value_node),
27283 (interpolate_none_get), (interpolate_trigger_get),
27284 (interpolate_trigger_get_value_array):
27285 * libs/gst/controller/lib.c: (gst_controller_init):
27286 * pkgconfig/Makefile.am:
27287 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27288 * pkgconfig/gstreamer-control.pc.in:
27289 * testsuite/Makefile.am:
27290 * testsuite/controller/.cvsignore:
27291 * testsuite/controller/Makefile.am:
27292 * testsuite/controller/interpolator.c: (main):
27293 added controller code
27294 removed dparam pc files
27296 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27297 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27298 (gst_collectpads_stop):
27299 Broadcast the condition when shutting down, to make sure we wake all
27300 threads up. Shut down pads on finalize, for safety.
27302 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27303 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27304 (gst_base_transform_handle_buffer),
27305 (gst_base_transform_change_state):
27306 Handle PAUSED->READY->PAUSED transition after negotiation
27308 * gst/gstmessage.c: (gst_message_init):
27309 Extra piece of debug for new messages.
27311 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27314 * docs/gst/tmpl/gstbasesrc.sgml:
27315 * docs/gst/tmpl/gstelement.sgml:
27316 * docs/gst/tmpl/gstevent.sgml:
27317 * docs/gst/tmpl/gstfakesrc.sgml:
27318 * docs/gst/tmpl/gstformat.sgml:
27319 * docs/gst/tmpl/gstghostpad.sgml:
27320 * docs/gst/tmpl/gstpad.sgml:
27321 * docs/gst/tmpl/gstquery.sgml:
27322 * docs/gst/tmpl/gststructure.sgml:
27323 * docs/gst/tmpl/gsttaglist.sgml:
27324 * docs/gst/tmpl/gstvalue.sgml:
27325 * docs/libs/gstreamer-libs-docs.sgml:
27326 * docs/libs/gstreamer-libs-sections.txt:
27327 * docs/libs/gstreamer-libs.types:
27328 * libs/gst/Makefile.am:
27329 * libs/gst/control/.cvsignore:
27330 * libs/gst/control/Makefile.am:
27331 * libs/gst/control/control.c:
27332 * libs/gst/control/control.h:
27333 * libs/gst/control/dparam.c:
27334 * libs/gst/control/dparam.h:
27335 * libs/gst/control/dparam_smooth.c:
27336 * libs/gst/control/dparam_smooth.h:
27337 * libs/gst/control/dparamcommon.h:
27338 * libs/gst/control/dparammanager.c:
27339 * libs/gst/control/dparammanager.h:
27340 * libs/gst/control/dplinearinterp.c:
27341 * libs/gst/control/dplinearinterp.h:
27342 * libs/gst/control/unitconvert.c:
27343 * libs/gst/control/unitconvert.h:
27344 * testsuite/Makefile.am:
27345 * testsuite/dynparams/.cvsignore:
27346 * testsuite/dynparams/Makefile.am:
27347 * testsuite/dynparams/dparamstest.c:
27348 * tools/Makefile.am:
27349 * tools/gst-inspect.c: (print_element_info), (main):
27350 * tools/gst-xmlinspect.c: (print_element_info), (main):
27351 deactivate and remove dparams (libgstcontrol)
27353 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27355 * gst/elements/gsttypefindelement.c:
27356 (gst_type_find_element_have_type), (gst_type_find_element_init),
27357 (stop_typefinding), (gst_type_find_element_handle_event),
27358 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27359 * gst/elements/gsttypefindelement.h:
27360 Set caps on all outgoing buffers, not just the first one.
27362 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27364 * gst/elements/gsttypefindelement.c:
27365 (gst_type_find_element_have_type),
27366 (gst_type_find_element_check_set_buffer_caps),
27367 (gst_type_find_element_init), (stop_typefinding),
27368 (gst_type_find_element_handle_event),
27369 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27370 * gst/elements/gsttypefindelement.h:
27371 Set caps on first outgoing buffer when we've found the type.
27373 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27375 * docs/gst/gstreamer-docs.sgml:
27376 * docs/gst/gstreamer-sections.txt:
27377 * docs/gst/tmpl/gstscheduler.sgml:
27378 * docs/gst/tmpl/gstschedulerfactory.sgml:
27379 Remove some old cruft from docs.
27381 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27384 Fix inline docs for GstPadLinkReturn.
27386 * gst/gststructure.c: (gst_structure_has_name):
27387 * gst/gststructure.h:
27388 * docs/gst/gstreamer-sections.txt:
27389 New API: gst_structure_has_name().
27391 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27394 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27395 and _LARGEFILE_SOURCE in config.h as required. Do not
27396 export those flags in our .pc files any longer (#142209).
27398 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27400 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27401 (gst_file_sink_do_seek), (gst_file_sink_event),
27402 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27403 Redo seek/tell calls with large file support in mind; add some
27404 debugging messages; add log message that tells us when large
27405 file support is unavailable or not enabled for some reason.
27407 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27408 Add log message that tells us when large file support
27409 is unavailable or not enabled for some reason.
27411 2005-07-29 Wim Taymans <wim@fluendo.com>
27413 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27414 Added test for removing an element with ghostpad from a bin.
27415 Fixed test as current implementation does the right thing.
27417 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27418 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27419 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27420 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27421 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27422 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27423 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27424 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27425 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27426 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27427 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27428 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27429 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27430 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27431 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27432 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27433 * gst/gstghostpad.h:
27434 Clean up ghostpads, remove properties for internal stuff.
27437 Prepare for switching targets, not all use cases work yet.
27439 2005-07-29 Wim Taymans <wim@fluendo.com>
27441 * docs/design/part-gstghostpad.txt:
27444 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27445 (gst_bin_remove_func):
27446 Unlinking pads while holding the bin LOCK is not a good
27449 * gst/gstpad.c: (gst_pad_class_init),
27450 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27451 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27452 No prob setting template after creating the pad.
27454 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27456 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27457 (gst_bus_peek), (gst_bus_source_dispatch),
27458 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27459 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27460 gst_bus_poll may be called from other threads. Handle
27461 this nicely by not making poll_data disappear off the
27462 stack once gst_bus_poll returns.
27463 gst_bus_peek now increments the refcount on the returned
27466 2005-07-29 Wim Taymans <wim@fluendo.com>
27468 * docs/design/part-gstghostpad.txt:
27469 Overview of current GhostPad datastructures and use
27470 cases for changing the target.
27472 2005-07-28 Wim Taymans <wim@fluendo.com>
27474 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27475 Added checks for hierarchy consistency whan adding linked
27478 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27479 Added check to test element scheduling without bin/pipeline.
27481 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27482 First add elements to bin, then link.
27484 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27485 (gst_bin_remove_func):
27486 Unlink pads from elements added/removed from bin to maintain
27487 hierarchy consistency.
27489 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27491 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27492 (gst_base_transform_handle_buffer):
27493 * gst/base/gstbasetransform.h:
27494 Remove broken delay_configure (fixes renegotiation of software
27495 scaling pipelines); remove some leftover printf()s.
27497 2005-07-28 Wim Taymans <wim@fluendo.com>
27499 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27500 Added some more tests for wrong hierarchy
27502 * docs/design/part-overview.txt:
27505 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27508 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27509 (gst_element_dispose):
27510 Some more cleanups.
27512 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27513 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27514 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27515 (gst_pad_set_caps), (gst_pad_send_event):
27516 Check for correct hierarchy when linking pads. Moving to
27517 strict requirement for ghostpads when linking elements in
27521 Clean ups. Added WRONG_HIERARCHY return value.
27523 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27525 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27526 Better debug if no transform is possible.
27528 2005-07-27 Wim Taymans <wim@fluendo.com>
27530 * docs/random/wtay/network-transp:
27531 Some old doc I had.
27533 2005-07-27 Wim Taymans <wim@fluendo.com>
27535 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27536 (gst_dp_event_from_packet):
27537 Fix serialization of seek events.
27539 2005-07-27 Wim Taymans <wim@fluendo.com>
27541 * check/gst-libs/gdp.c: (GST_START_TEST):
27542 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27543 Fix compilation and fix event serialization.
27545 2005-07-27 Wim Taymans <wim@fluendo.com>
27548 * docs/design/part-TODO.txt:
27549 * docs/design/part-events.txt:
27552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27553 (gst_base_sink_event), (gst_base_sink_do_sync),
27554 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27555 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27556 (gst_base_src_do_seek), (gst_base_src_event_handler),
27557 (gst_base_src_loop):
27558 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27559 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27560 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27561 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27562 (gst_base_transform_set_passthrough),
27563 (gst_base_transform_is_passthrough):
27564 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27565 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27571 * gst/gstelement.c: (gst_element_seek):
27572 * gst/gstelement.h:
27573 Update gst_element_seek.
27575 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27576 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27577 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27578 (gst_event_new_eos), (gst_event_new_newsegment),
27579 (gst_event_parse_newsegment), (gst_event_new_tag),
27580 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27581 (gst_event_parse_qos), (gst_event_new_seek),
27582 (gst_event_parse_seek), (gst_event_new_navigation):
27584 Make GstEvent use GstStructure. Add parsing code, make sure the
27585 API is sufficiently generic.
27586 Mark possible directions of events and serialization.
27588 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27589 (_gst_message_copy), (gst_message_new_segment_start),
27590 (gst_message_new_segment_done), (gst_message_new_custom),
27591 (gst_message_parse_segment_start),
27592 (gst_message_parse_segment_done):
27595 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27596 (gst_pad_set_caps), (gst_pad_send_event):
27597 Update for new events.
27598 Catch events sent in wrong directions.
27600 * gst/gstqueue.c: (gst_queue_link_src),
27601 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27602 (gst_queue_handle_src_query):
27607 Remove event code from this file.
27609 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27610 (gst_dp_event_from_packet):
27613 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27615 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27616 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27617 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27618 Make debugging actually useful.
27620 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27622 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27623 (gst_pad_fixate_caps):
27624 Implement default fixation once again, so that gst_pad_fixate()
27625 actually does anything at all. This probably needs to be some
27626 sort of a last resort, and use profile-based fixation first, but
27627 since that doesn't exist yet, this is the best we have. Fixes
27628 visualization in Totem.
27630 2005-07-22 Wim Taymans <wim@fluendo.com>
27632 * docs/design/part-events.txt:
27635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27636 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27637 (gst_base_sink_activate_pull):
27638 Some more comments.
27640 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27641 (gst_fake_src_create):
27642 Fix handoff marshall.
27644 * gst/elements/gstidentity.c: (gst_identity_class_init),
27645 (gst_identity_transform_ip):
27646 We're a real inplace element.
27648 * gst/gstbus.c: (gst_bus_post):
27649 Added some comments.
27651 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27652 * tests/muxing/case1.c: (main):
27653 * tests/sched/dynamic-pipeline.c: (main):
27654 * tests/sched/interrupt1.c: (main):
27655 * tests/sched/interrupt2.c: (main):
27656 * tests/sched/interrupt3.c: (main):
27657 * tests/sched/runxml.c: (main):
27658 * tests/sched/sched-stress.c: (main):
27659 * tests/seeking/seeking1.c: (event_received), (main):
27660 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27662 * tests/threadstate/threadstate3.c: (main):
27663 * tests/threadstate/threadstate4.c: (main):
27664 * tests/threadstate/threadstate5.c: (main):
27667 2005-07-21 Wim Taymans <wim@fluendo.com>
27669 * docs/design/part-seeking.txt:
27670 Some small additions.
27672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27673 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27674 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27675 * gst/base/gstbasesink.h:
27676 discont values are gint64, handle the math correctly.
27678 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27679 Make the basesrc report error if the source pad is not linked.
27681 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27682 (gst_queue_loop), (gst_queue_handle_src_query),
27683 (gst_queue_src_activate_push):
27684 Make queue collect data even if the srcpad is not linked.
27685 Start pushing out data as soon as it is linked.
27687 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27689 Added gst_flow_get_name() to ease error reporting.
27691 2005-07-20 Wim Taymans <wim@fluendo.com>
27693 * gst/gstmessage.c: (gst_message_new_segment_start),
27694 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27695 (gst_message_parse_segment_done):
27696 * gst/gstmessage.h:
27697 Added a bunch of messages for advanced seeking.
27699 * gst/parse/grammar.y:
27700 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27701 (gst_dpman_state_changed):
27702 Fix some new-pad -> pad-added signals
27704 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27706 * docs/manual/appendix-porting.xml:
27707 * docs/pwg/appendix-porting.xml:
27708 Document new-pad/state-change signal renames and the FixedList
27711 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27713 * docs/manual/advanced-autoplugging.xml:
27714 * docs/manual/basics-helloworld.xml:
27715 * docs/manual/basics-pads.xml:
27716 * docs/random/ds/0.9-suggested-changes:
27717 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27718 * gst/gstelement.h:
27722 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27723 (gst_structure_parse_array), (gst_structure_parse_value):
27724 * gst/gstvalue.c: (gst_type_is_fixed),
27725 (gst_value_list_prepend_value), (gst_value_list_append_value),
27726 (gst_value_list_get_size), (gst_value_list_get_value),
27727 (gst_value_transform_array_string), (gst_value_serialize_array),
27728 (gst_value_deserialize_array), (gst_value_intersect_array),
27729 (gst_value_is_fixed), (_gst_value_initialize):
27731 GstElement::new-pad -> pad-added, GstElement::state-change ->
27732 state-changed, GstValueFixedList -> GstValueArray, add format and
27733 flags as their own arguments in gst_element_seek() (should improve
27734 "bindeability"), remove function generators since they don't work
27735 under a whole bunch of compilers (they were deprecated already
27738 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27740 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27741 (_gst_debug_register_funcptr):
27743 Fix illegal cast on some platforms (#309253).
27745 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27747 * gst/gstmessage.c: (gst_message_new_custom):
27748 * gst/gstmessage.h:
27749 Add _new_custom, make _new_application a macro to _new_custom.
27751 2005-07-20 Wim Taymans <wim@fluendo.com>
27753 * gst/base/gstbasesrc.c: (gst_base_src_init),
27754 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27755 * gst/base/gstbasesrc.h:
27756 Add a gboolean to decide when to push out a discont.
27758 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27759 (gst_queue_loop), (gst_queue_handle_src_query),
27760 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27761 (gst_queue_set_property), (gst_queue_get_property):
27764 * tests/threadstate/threadstate1.c: (main):
27765 Make a thread test compile and run... very silly..
27768 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27770 * docs/manual/appendix-porting.xml:
27771 Mention removal of libgstgconf-0.9.la and existence of gconf
27774 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27776 * docs/pwg/advanced-clock.xml:
27777 * docs/pwg/appendix-porting.xml:
27778 * docs/pwg/intro-preface.xml:
27779 * docs/pwg/other-base.xml:
27780 * docs/pwg/other-manager.xml:
27781 * docs/pwg/other-nton.xml:
27782 * docs/pwg/other-ntoone.xml:
27783 * docs/pwg/other-oneton.xml:
27784 * docs/pwg/pwg.xml:
27785 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27786 demuxer), remove n-to-n (was never written), fix some code examples
27787 and links and update the porting section to include all this.
27789 2005-07-19 Wim Taymans <wim@fluendo.com>
27791 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27792 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27793 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27794 (gst_queue_src_activate_push), (gst_queue_change_state),
27795 (gst_queue_get_property):
27797 Propagate GstFlowReturn more intelligently upstream and output
27798 an ERROR/EOS when streaming stopped due to fatal error.
27800 2005-07-19 Wim Taymans <wim@fluendo.com>
27802 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27803 Don't block forever for the state change to complete, the
27804 pipeline already did with a sensible timeout.
27806 2005-07-19 Wim Taymans <wim@fluendo.com>
27808 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27809 Make sure we never call the create function is we
27812 2005-07-19 Andy Wingo <wingo@pobox.com>
27814 * gst/parse/parse.l: Attempt to solve bug #172815.
27816 2005-07-19 Wim Taymans <wim@fluendo.com>
27818 * docs/design/part-clocks.txt:
27819 * docs/design/part-events.txt:
27820 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27821 Small docs updates.
27822 Only update the seeking values when we are not
27825 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27827 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27828 Oops, ignore the result of gst_pad_push_event here.
27830 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27832 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27833 (gst_base_src_activate_push):
27834 Send discont event from the loop function, as pads
27835 aren't activated yet in the activate_push handler.
27837 * gst/gstbin.c: (bin_bus_handler):
27838 Don't leak element name.
27840 2005-07-18 Andy Wingo <wingo@pobox.com>
27842 * configure.ac: Use AS_LIBTOOL_TAGS.
27844 2005-07-18 Wim Taymans <wim@fluendo.com>
27846 * docs/gst/gstreamer.types:
27847 Remove deleted types.
27849 2005-07-18 Wim Taymans <wim@fluendo.com>
27851 * check/elements/gstfakesrc.c: (GST_START_TEST):
27854 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27855 (init_popt_callback):
27857 * gst/gst_private.h:
27858 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27859 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27862 * gst/gstconfig.h.in:
27863 * gst/gstelement.c: (gst_element_class_init),
27864 (gst_element_set_base_time), (gst_element_get_base_time),
27865 (iterator_fold_with_resync), (gst_element_change_state),
27866 (gst_element_dispose), (gst_element_get_bus):
27867 * gst/gstelement.h:
27868 * gst/gstelementfactory.h:
27869 * gst/gsterror.c: (_gst_core_errors_init):
27872 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27874 * gst/gstinfo.c: (_gst_debug_init):
27875 * gst/gstmessage.c: (_gst_message_copy):
27876 * gst/gstmessage.h:
27877 * gst/gstminiobject.h:
27880 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27881 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27884 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27885 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27886 (gst_pipeline_get_last_stream_time):
27887 * gst/gstpipeline.h:
27888 * gst/gstpluginfeature.h:
27890 * gst/gstscheduler.c:
27891 * gst/gstscheduler.h:
27892 * gst/gststructure.h:
27893 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27894 (gst_task_finalize), (gst_task_func), (gst_task_create),
27895 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27896 (gst_task_stop), (gst_task_pause):
27898 * gst/gsttypefind.h:
27900 * gst/registries/gstlibxmlregistry.c: (load_feature),
27901 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27902 * gst/registries/gstxmlregistry.c:
27903 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27904 * gst/schedulers/threadscheduler.c:
27905 * libs/gst/control/dparammanager.h:
27906 * tools/gst-inspect.c: (print_element_list),
27907 (print_plugin_features), (print_element_features):
27908 * tools/gst-xmlinspect.c: (print_element_list),
27909 (print_plugin_info), (main):
27910 Removed plugable schedulers.
27911 Removed Scheduler/Manager from elements.
27912 Removed gsttypes.h, rearranged includes.
27913 Removed dependency pad<->element, element<>pipeline, and
27914 various others, fix includes.
27915 implement gst_pad_get_parent() with gst_object_get_parent()
27916 Make GstTask sefcontained.
27917 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27919 Fix endless loop in iterator_fold_with_resync.
27922 2005-07-18 Wim Taymans <wim@fluendo.com>
27928 2005-07-18 Wim Taymans <wim@fluendo.com>
27931 No more cothreads.h
27933 2005-07-18 Wim Taymans <wim@fluendo.com>
27937 Let's remove these.
27939 2005-07-18 Wim Taymans <wim@fluendo.com>
27941 * docs/design/part-dynamic.txt:
27942 * docs/design/part-events.txt:
27943 * docs/design/part-seeking.txt:
27944 Some more docs in the works.
27946 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27947 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27948 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27949 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27950 (gst_base_transform_handle_buffer),
27951 (gst_base_transform_sink_activate_push),
27952 (gst_base_transform_src_activate_pull),
27953 (gst_base_transform_set_passthrough),
27954 (gst_base_transform_is_passthrough):
27957 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27960 * gst/gstevent.c: (gst_event_finalize):
27963 * gst/gstutils.c: (gst_element_unlink),
27964 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27965 (gst_pad_proxy_setcaps):
27967 Add _get_parent_element() to get a pads parent as an element.
27969 2005-07-18 Wim Taymans <wim@fluendo.com>
27971 * check/gst/gstbin.c: (GST_START_TEST):
27974 2005-07-18 Wim Taymans <wim@fluendo.com>
27976 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27977 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27978 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27979 (gst_base_sink_event), (gst_base_sink_do_sync),
27980 (gst_base_sink_chain), (gst_base_sink_loop),
27981 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27982 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27984 Fix logic for returning ASYNC when not prerolled.
27986 2005-07-18 Wim Taymans <wim@fluendo.com>
27988 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27989 Fix nasty refcount bug.
27991 2005-07-16 Philippe Khalaf <burger@speedy.org>
27993 * gst/elements/gstfdsrc.c:
27994 * gst/elements/gstfdsrc.h:
27995 * gst/elements/gstelements.c:
27996 * gst/elements/Makefile.am:
27997 Ported fdsrc to 0.9.
27999 2005-07-16 Wim Taymans <wim@fluendo.com>
28001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28002 (gst_base_sink_do_sync):
28005 2005-07-16 Wim Taymans <wim@fluendo.com>
28007 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28008 (gst_base_sink_event), (gst_base_sink_get_times),
28009 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28010 * gst/base/gstbasesink.h:
28011 Store and use discont values when syncing buffers as described
28014 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28015 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28016 (gst_base_src_activate_push):
28017 Push discont event when starting.
28019 * gst/elements/gstidentity.c: (gst_identity_transform):
28022 * gst/gstbin.c: (gst_bin_change_state):
28023 Small cleanups in base_time distribution.
28025 * gst/gstelement.c: (gst_element_set_base_time),
28026 (gst_element_get_base_time), (gst_element_change_state):
28027 * gst/gstelement.h:
28028 Added methods for the base_time of the element.
28031 * gst/gstpipeline.c: (gst_pipeline_send_event),
28032 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28033 (gst_pipeline_get_last_stream_time):
28034 * gst/gstpipeline.h:
28036 Handle seeking as described in design doc, remove stream_time
28038 Cleanups clock and stream_time selection code. Added accessors
28039 for the stream_time.
28042 2005-07-16 Andy Wingo <wingo@pobox.com>
28044 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28047 2005-07-16 Wim Taymans <wim@fluendo.com>
28049 * check/gst/gstbin.c: (GST_START_TEST):
28050 Make elements silent as the deep_notify refs the
28051 parent, which might make the test fail.
28053 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28054 Don't hold the lock for too long.
28056 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28058 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28059 Don't unref the caps we passed to gst_caps_make_writable() after
28060 passing them. gst_caps_make_writable() will do that for us.
28062 2005-07-15 Andy Wingo <wingo@pobox.com>
28064 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28067 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28068 own marshalling function for the handoff signal. Properly type the
28069 buffer as a buffer. Fixes some warnings. Should do a more general
28071 (gst_identity_class_init): Plug into the right marshaller.
28073 2005-07-15 Wim Taymans <wim@fluendo.com>
28075 * docs/design/part-TODO.txt:
28076 * docs/design/part-clocks.txt:
28077 * docs/design/part-element-sink.txt:
28078 * docs/design/part-events.txt:
28079 * docs/design/part-gstpipeline.txt:
28080 Updated docs, mostly DISCONT related.
28082 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28084 * docs/pwg/building-pads.xml:
28085 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28087 2005-07-15 Andy Wingo <wingo@pobox.com>
28089 * tools/gst-typefind.c: Update, add copyright block.
28091 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28092 Normalize and truncate caps before fixation.
28095 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28096 discards all but the first structure from its argument.
28098 2005-07-15 Wim Taymans <wim@fluendo.com>
28100 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28101 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28102 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28103 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28104 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28105 (gst_base_transform_chain), (gst_base_transform_change_state),
28106 (gst_base_transform_set_passthrough),
28107 (gst_base_transform_is_passthrough):
28108 * gst/base/gstbasetransform.h:
28109 Make passthrough work using the bufferpools.
28110 Changed API a bit, subclasses have to write into a buffer
28111 provided by the base class.
28112 More debug info in nego functions.
28114 * gst/elements/gstidentity.c: (gst_identity_init),
28115 (gst_identity_transform):
28116 Port to new base class.
28118 2005-07-15 Wim Taymans <wim@fluendo.com>
28120 * gst/gstmessage.c: (gst_message_new_state_changed):
28121 * tools/gst-launch.c: (event_loop), (main):
28122 Totally dump messages in -launch with the -m option.
28123 Fix message name for State messages,
28125 2005-07-14 Wim Taymans <wim@fluendo.com>
28127 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28128 Post error messages on errors.
28130 2005-07-14 Wim Taymans <wim@fluendo.com>
28132 * gst/gstcaps.c: (gst_caps_do_simplify):
28136 Define error for stream stopped.
28138 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28139 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28140 Do proper return values.
28142 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28143 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28144 (gst_pad_get_range):
28145 Better return values.
28148 Reorganise return values, add macro to check for fatal errors.
28150 * gst/gstqueue.c: (gst_queue_chain):
28151 Return proper GstFlowReturn values,
28153 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28155 * docs/gst/gstreamer-sections.txt:
28156 * docs/gst/gstreamer.types:
28157 * docs/gst/tmpl/gst.sgml:
28158 * docs/gst/tmpl/gstbasesink.sgml:
28159 * docs/gst/tmpl/gstbasesrc.sgml:
28160 * docs/gst/tmpl/gstbasetransform.sgml:
28161 * docs/gst/tmpl/gstbin.sgml:
28162 * docs/gst/tmpl/gstbuffer.sgml:
28163 * docs/gst/tmpl/gstcaps.sgml:
28164 * docs/gst/tmpl/gstclock.sgml:
28165 * docs/gst/tmpl/gstcompat.sgml:
28166 * docs/gst/tmpl/gstconfig.sgml:
28167 * docs/gst/tmpl/gstelement.sgml:
28168 * docs/gst/tmpl/gstelementdetails.sgml:
28169 * docs/gst/tmpl/gstelementfactory.sgml:
28170 * docs/gst/tmpl/gstenumtypes.sgml:
28171 * docs/gst/tmpl/gsterror.sgml:
28172 * docs/gst/tmpl/gstevent.sgml:
28173 * docs/gst/tmpl/gstfakesink.sgml:
28174 * docs/gst/tmpl/gstfakesrc.sgml:
28175 * docs/gst/tmpl/gstfilesink.sgml:
28176 * docs/gst/tmpl/gstfilesrc.sgml:
28177 * docs/gst/tmpl/gstfilter.sgml:
28178 * docs/gst/tmpl/gstformat.sgml:
28179 * docs/gst/tmpl/gstghostpad.sgml:
28180 * docs/gst/tmpl/gstimplementsinterface.sgml:
28181 * docs/gst/tmpl/gstindex.sgml:
28182 * docs/gst/tmpl/gstindexfactory.sgml:
28183 * docs/gst/tmpl/gstinfo.sgml:
28184 * docs/gst/tmpl/gstiterator.sgml:
28185 * docs/gst/tmpl/gstmacros.sgml:
28186 * docs/gst/tmpl/gstmemchunk.sgml:
28187 * docs/gst/tmpl/gstminiobject.sgml:
28188 * docs/gst/tmpl/gstobject.sgml:
28189 * docs/gst/tmpl/gstpad.sgml:
28190 * docs/gst/tmpl/gstpadtemplate.sgml:
28191 * docs/gst/tmpl/gstparse.sgml:
28192 * docs/gst/tmpl/gstpipeline.sgml:
28193 * docs/gst/tmpl/gstplugin.sgml:
28194 * docs/gst/tmpl/gstpluginfeature.sgml:
28195 * docs/gst/tmpl/gstquery.sgml:
28196 * docs/gst/tmpl/gstqueue.sgml:
28197 * docs/gst/tmpl/gstregistry.sgml:
28198 * docs/gst/tmpl/gstregistrypool.sgml:
28199 * docs/gst/tmpl/gstscheduler.sgml:
28200 * docs/gst/tmpl/gstschedulerfactory.sgml:
28201 * docs/gst/tmpl/gststructure.sgml:
28202 * docs/gst/tmpl/gstsystemclock.sgml:
28203 * docs/gst/tmpl/gsttaglist.sgml:
28204 * docs/gst/tmpl/gsttagsetter.sgml:
28205 * docs/gst/tmpl/gsttrace.sgml:
28206 * docs/gst/tmpl/gsttrashstack.sgml:
28207 * docs/gst/tmpl/gsttypefind.sgml:
28208 * docs/gst/tmpl/gsttypefindfactory.sgml:
28209 * docs/gst/tmpl/gsttypes.sgml:
28210 * docs/gst/tmpl/gsturihandler.sgml:
28211 * docs/gst/tmpl/gsturitype.sgml:
28212 * docs/gst/tmpl/gstutils.sgml:
28213 * docs/gst/tmpl/gstvalue.sgml:
28214 * docs/gst/tmpl/gstversion.sgml:
28215 * docs/gst/tmpl/gstxml.sgml:
28216 * docs/libs/tmpl/gstcontrol.sgml:
28217 * docs/libs/tmpl/gstdataprotocol.sgml:
28218 * docs/libs/tmpl/gstdparam.sgml:
28219 * docs/libs/tmpl/gstdplinint.sgml:
28220 * docs/libs/tmpl/gstdpman.sgml:
28221 * docs/libs/tmpl/gstdpsmooth.sgml:
28222 * docs/libs/tmpl/gstgetbits.sgml:
28223 * docs/libs/tmpl/gstunitconvert.sgml:
28224 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28225 (gst_push_src_base_init), (gst_push_src_class_init),
28226 (gst_push_src_init), (gst_push_src_create):
28227 * gst/base/gstpushsrc.h:
28228 * gst/elements/gstelements.c:
28229 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28230 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28231 (gst_fake_sink_init), (gst_fake_sink_set_property),
28232 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28233 (gst_fake_sink_event), (gst_fake_sink_preroll),
28234 (gst_fake_sink_render), (gst_fake_sink_change_state):
28235 * gst/elements/gstfakesink.h:
28236 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28237 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28238 (gst_fake_src_base_init), (gst_fake_src_class_init),
28239 (gst_fake_src_init), (gst_fake_src_event_handler),
28240 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28241 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28242 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28243 (gst_fake_src_create_buffer), (gst_fake_src_create),
28244 (gst_fake_src_start), (gst_fake_src_stop):
28245 * gst/elements/gstfakesrc.h:
28246 * gst/elements/gstfilesink.c: (_do_init),
28247 (gst_file_sink_base_init), (gst_file_sink_class_init),
28248 (gst_file_sink_init), (gst_file_sink_dispose),
28249 (gst_file_sink_set_location), (gst_file_sink_set_property),
28250 (gst_file_sink_get_property), (gst_file_sink_open_file),
28251 (gst_file_sink_close_file), (gst_file_sink_query),
28252 (gst_file_sink_event), (gst_file_sink_render),
28253 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28254 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28255 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28256 * gst/elements/gstfilesink.h:
28257 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28258 (gst_file_src_class_init), (gst_file_src_init),
28259 (gst_file_src_finalize), (gst_file_src_set_location),
28260 (gst_file_src_set_property), (gst_file_src_get_property),
28261 (gst_file_src_map_region), (gst_file_src_map_small_region),
28262 (gst_file_src_create_mmap), (gst_file_src_create_read),
28263 (gst_file_src_create), (gst_file_src_is_seekable),
28264 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28265 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28266 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28267 (gst_file_src_uri_handler_init):
28268 * gst/elements/gstfilesrc.h:
28269 more autistic cleanliness in functions/names/defines
28271 2005-07-13 Andy Wingo <wingo@pobox.com>
28273 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28274 source couldn't negotiate.
28276 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28280 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28281 function. I am channeling Hades. Put your boots on suckers!!!
28283 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28285 * testsuite/caps/Makefile.am:
28286 * testsuite/caps/value_compare.c:
28287 * testsuite/caps/value_intersect.c:
28288 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28289 move two testsuite apps over to the check dir
28291 2005-07-12 Wim Taymans <wim@fluendo.com>
28293 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28294 Added more debug info in the negotiate process.
28296 * gst/gstmessage.h:
28297 Prepare for segment playback.
28299 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28305 * tools/gst-launch.c: (main):
28306 NULL pipeline on errors.
28308 2005-07-12 Andy Wingo <wingo@pobox.com>
28310 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28311 not it comes from a malloc region. Make sure our copy gets freed.
28313 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28315 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28316 * check/gst/gstmessage.c: (GST_START_TEST):
28317 * check/gst/gststructure.c: (GST_START_TEST),
28318 (gst_structure_suite), (main):
28320 * gst/gstelement.c: (gst_element_message_full):
28321 clean up GError and debug string now that they get copied
28322 * gst/gstmessage.c: (gst_message_new_error),
28323 (gst_message_new_warning), (gst_message_parse_error),
28324 (gst_message_parse_warning):
28325 use GST_TYPE_G_ERROR for structure_new, and take copies of
28326 arguments, so that we don't mess up refcounting
28328 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28330 * check/Makefile.am:
28331 add per-test valgrind targets
28332 * check/gst-libs/gdp.c: (GST_START_TEST),
28333 (gst_data_protocol_suite), (main):
28336 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28338 * check/Makefile.am:
28339 instate more valgrindable tests
28340 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28341 (GST_START_TEST), (fakesrc_suite):
28342 * check/gst/gstpad.c: (GST_START_TEST):
28343 * check/gst/gststructure.c: (GST_START_TEST):
28345 * docs/gst/tmpl/gstminiobject.sgml:
28346 * gst/gstpad.c: (gst_pad_finalize):
28347 fix the static mutex leak
28349 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28351 * check/Makefile.am:
28352 add two more tests for valgrinding
28353 * check/gst/gstvalue.c: (GST_START_TEST):
28354 test refcount of deserialized buffer, found a leak
28355 * docs/gst/gstreamer-docs.sgml:
28356 * docs/gst/gstreamer-sections.txt:
28357 * docs/gst/gstreamer.types:
28358 * docs/gst/tmpl/gstminiobject.sgml:
28359 add miniobject to docs
28360 * gst/gstminiobject.c:
28362 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28363 (gst_string_unwrap):
28364 fix a hard-to-find invalid write for one of the tests
28365 fix a leak for deserialized buffers
28367 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28369 * docs/pwg/advanced-events.xml:
28370 * docs/pwg/advanced-request.xml:
28371 * docs/pwg/advanced-scheduling.xml:
28372 * docs/pwg/appendix-porting.xml:
28373 * docs/pwg/building-boiler.xml:
28374 * docs/pwg/intro-preface.xml:
28375 * docs/pwg/other-ntoone.xml:
28376 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28377 of example code and explanation for pad activation, loop() and
28378 getrange() functions and a bit more. Remove old comments pointing
28380 * examples/pwg/Makefile.am:
28381 Add loop/getrange examples.
28383 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28386 check for valgrind binary + some fixes
28388 valgrind suppressions for the tests
28389 * check/Makefile.am:
28390 add a valgrind: target that valgrinds the unit tests
28391 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28392 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28393 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28394 * check/gst/gstghostpad.c:
28396 * check/gst/gstdata.c:
28398 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28399 (thread_unref), (gst_mini_object_suite), (main):
28401 * gst/gst.c: (gst_deinit):
28403 add a method to clean up.
28404 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28405 (gst_system_clock_obtain):
28406 allow for disposing the system clock.
28407 * tools/gst-launch.c: (main):
28410 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28412 * docs/gst/tmpl/gstbasesrc.sgml:
28413 * docs/gst/tmpl/gstfakesrc.sgml:
28414 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28415 (gst_base_src_init), (gst_base_src_set_property),
28416 (gst_base_src_get_property), (gst_base_src_get_range),
28417 (gst_base_src_start):
28418 * gst/base/gstbasesrc.h:
28419 add num-buffers property
28420 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28421 (gst_fakesrc_init), (gst_fakesrc_set_property),
28422 (gst_fakesrc_get_property), (gst_fakesrc_create),
28423 (gst_fakesrc_start):
28424 remove num-buffers property
28426 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28428 * docs/gst/gstreamer-sections.txt:
28429 * docs/gst/tmpl/gstbasesink.sgml:
28430 * docs/gst/tmpl/gstbasesrc.sgml:
28431 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28432 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28433 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28434 (gst_base_sink_set_property), (gst_base_sink_get_property),
28435 (gst_base_sink_handle_object), (gst_base_sink_event),
28436 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28437 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28438 (gst_base_sink_loop), (gst_base_sink_deactivate),
28439 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28440 (gst_base_sink_change_state):
28441 * gst/base/gstbasesink.h:
28442 * gst/base/gstbasesrc.h:
28443 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28444 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28445 (gst_filesink_init):
28446 more macro splitting
28448 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28450 * gst/gstelement.c: (gst_element_get_bus):
28452 * tools/gst-launch.c: (check_intr), (event_loop):
28455 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28457 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28460 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28462 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28463 (gst_base_src_finalize):
28464 add finalize method and clean up properly
28465 * gst/gstpipeline.c: (gst_pipeline_dispose):
28468 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28470 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28472 add more things to check
28473 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28474 * gst/gstelement.c:
28477 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28479 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28480 (GST_START_TEST), (fakesrc_suite):
28481 * check/gst-libs/gdp.c: (GST_START_TEST):
28482 * check/gst/gst.c: (GST_START_TEST):
28483 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28484 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28485 * check/gst/gstbus.c: (GST_START_TEST):
28486 * check/gst/gstcaps.c: (GST_START_TEST):
28487 * check/gst/gstdata.c: (GST_START_TEST):
28488 * check/gst/gstelement.c: (GST_START_TEST):
28489 * check/gst/gstghostpad.c: (GST_START_TEST):
28490 * check/gst/gstiterator.c: (GST_START_TEST):
28491 * check/gst/gstmessage.c: (GST_START_TEST):
28492 * check/gst/gstobject.c: (GST_START_TEST):
28493 * check/gst/gstpad.c: (GST_START_TEST):
28494 * check/gst/gststructure.c: (GST_START_TEST):
28495 * check/gst/gstsystemclock.c: (GST_START_TEST),
28496 (gst_systemclock_suite):
28497 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28498 * check/gst/gstvalue.c: (GST_START_TEST):
28499 * check/pipelines/cleanup.c: (GST_START_TEST):
28500 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28501 * check/states/sinks.c: (GST_START_TEST):
28502 * check/gstcheck.c: (gst_check_init):
28503 * check/gstcheck.h:
28504 add debugging category
28505 use GST_START_TEST now, so we add a debug line
28507 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28509 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28510 add test for state change message on a bin
28511 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28513 * gst/gstbin.c: (gst_bin_init):
28514 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28515 * gst/gstelement.c: (gst_element_post_message),
28516 (gst_element_set_state):
28517 * gst/gstelementfactory.c: (gst_element_factory_create):
28518 * gst/gstmessage.c: (gst_message_new):
28519 * gst/gstscheduler.c:
28520 various debugging additions and cleanups
28522 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28524 * check/Makefile.am:
28525 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28527 adding tests for elements
28528 * gst/gstelement.c: (gst_element_dispose):
28530 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28532 * gst/registries/gstlibxmlregistry.c: (load_feature):
28533 plug more leaks. A simple gst_init() now is leakfree, yay.
28535 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28537 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28538 (gst_xml_registry_load):
28539 plug another memleak
28541 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28544 use GST_SET_ERROR_CFLAGS
28545 * docs/faq/cvs.xml:
28546 change to ERROR_CFLAGS
28548 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28551 make GST_ERROR_CFLAGS overridable and re-enable Werror
28552 * docs/faq/cvs.xml:
28553 add a note about error CFLAGS
28554 * docs/gst/tmpl/gstfakesrc.sgml:
28555 * gst/elements/gstfakesrc.c:
28556 comment out some unused code
28557 * gst/gst.c: (split_and_iterate):
28558 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28562 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28564 * common/Makefile.am:
28565 * common/gtk-doc.mak:
28566 * docs/gst/Makefile.am:
28567 factor out gtk-doc.mak
28569 2005-07-07 Wim Taymans <wim@fluendo.com>
28571 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28572 (gst_thread_scheduler_dispose):
28573 Unlock the STREAM_LOCK completely.
28575 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28577 * check/Makefile.am:
28578 * check/elements/.cvsignore:
28579 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28580 (START_TEST), (fakesrc_suite), (main):
28581 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28582 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28583 (gst_fakesrc_create), (gst_fakesrc_start):
28584 * gst/elements/gstfakesrc.h:
28585 adding a first element test
28587 2005-07-07 Andy Wingo <wingo@pobox.com>
28589 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28592 2005-07-07 Wim Taymans <wim@fluendo.com>
28598 2005-07-07 Wim Taymans <wim@fluendo.com>
28600 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28601 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28602 Allow subclasses to implement their own negotiation.
28604 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28606 * docs/design/part-gstbin.txt:
28607 * docs/design/part-gstpipeline.txt:
28608 Update design notes to reflect the movement of
28609 responsibility for bus handling from GstPipeline to
28612 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28615 Remove unnecessary queue2/3/4 examples.
28617 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28619 * examples/Makefile.am:
28620 * examples/helloworld/helloworld.c: (event_loop), (main):
28621 * examples/queue/queue.c: (event_loop), (main):
28622 * examples/queue2/queue2.c: (main):
28623 Update a couple of the examples to work again.
28625 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28626 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28627 Spelling corrections and extra debug.
28629 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28630 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28631 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28633 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28634 (gst_pipeline_change_state):
28635 * gst/gstpipeline.h:
28636 Move the bus handler for children to the GstBin, and create a
28637 separate bus for receiving messages from children to the one the
28638 bus sends 'upwards' on.
28640 2005-07-06 Wim Taymans <wim@fluendo.com>
28643 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28644 (gst_base_sink_handle_object), (gst_base_sink_loop),
28645 (gst_base_sink_change_state):
28646 * gst/base/gstbasesink.h:
28647 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28648 (gst_base_src_init), (gst_base_src_setcaps),
28649 (gst_base_src_getcaps), (gst_base_src_loop),
28650 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28651 (gst_base_src_start), (gst_base_src_change_state):
28652 * gst/base/gstbasesrc.h:
28653 Make basesrc negotiate.
28654 Handle the case where preroll fails in basesink.
28657 2005-07-06 Wim Taymans <wim@fluendo.com>
28659 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28660 Implement the fixate function.
28661 Clean up acceptcaps.
28663 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28665 * docs/pwg/building-filterfactory.xml:
28666 * docs/pwg/pwg.xml:
28667 Remove never-written filter-factory chapter; I'll add the various
28668 base classes to part 4 ("other element types") later on.
28670 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28672 * docs/pwg/advanced-negotiation.xml:
28673 * docs/pwg/building-boiler.xml:
28674 * docs/pwg/building-pads.xml:
28675 * docs/pwg/pwg.xml:
28676 * examples/pwg/Makefile.am:
28677 Add a chapter on caps negotiation, simplify the original code
28678 samples a bit w.r.t. caps negotiation, add link to the advanced
28679 section. Add a bunch of examples showing different use cases of
28680 different types of caps negotiation. Upstream renegotiation isn't
28681 fully documented yet since nobody knows how that works.
28683 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28685 * check/gst/gstpad.c:
28686 * check/gstcheck.c:
28687 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28688 if pad has no parent, return NULL as list of internal links
28690 2005-07-05 Andy Wingo <wingo@pobox.com>
28692 * gst/elements/gstfilesrc.c:
28693 * gst/elements/gstfakesrc.c:
28694 * gst/base/gstpushsrc.c:
28695 * gst/base/gstbasesrc.h:
28696 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28698 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28701 better report generation target (lcov needs a patch)
28703 2005-07-05 Andy Wingo <wingo@pobox.com>
28705 * gst/elements, testsuite: Null if we got it...
28707 2005-07-05 Wim Taymans <wim@fluendo.com>
28710 * libs/gst/dataprotocol/Makefile.am:
28711 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28712 * libs/gst/dataprotocol/dataprotocol.h:
28713 * pkgconfig/Makefile.am:
28714 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28715 * pkgconfig/gstreamer-dataprotocol.pc.in:
28716 Ported dataprotol to 0.9.
28717 Added pkgconfig files.
28719 2005-07-05 Andy Wingo <wingo@pobox.com>
28721 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28722 Default to returning TRUE for the case when tranform_caps returns
28723 a fixed caps, like for identity or volume.
28725 * check/gst/gstbus.c (pound_bus_with_messages):
28726 * check/gst/gstmessage.c (START_TEST):
28727 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28728 message API change.
28730 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28731 logic weaks here: always run transform_caps, trying passthrough
28732 operation only if the original caps intersects with the transform.
28734 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28735 source and sink caps.
28737 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28738 Intersect the peer caps with the pad template before going into
28740 (gst_base_transform_transform_caps): More debugging.
28742 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28745 2005-07-04 Edward Hervey <edward@fluendo.com>
28749 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28752 2005-07-04 Andy Wingo <wingo@pobox.com>
28754 * check/gst/gstpad.c: Only set explicit caps on pads.
28756 2005-07-01 Andy Wingo <wingo@pobox.com>
28758 * tests/network-clock.scm: Commentary update.
28760 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28761 Didn't really make sense, not implementable with basetransform,
28763 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28764 attempt at implementing the sync property, needs an unlock method.
28766 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28767 New func, by default returns the same caps (the identity
28769 (gst_base_transform_getcaps): Uses transform_caps to return
28770 something sensible.
28771 (gst_base_transform_setcaps): Complicated logic to get caps on
28772 both pads, even if they are different, and to call set_caps once
28773 for every time both pads get their caps set.
28774 (gst_base_transform_handle_buffer): Give the ref to the transform
28775 function. Allows in-place modification of the buffer.
28777 * gst/base/gstbasetransform.h (transform_caps): New class method.
28778 Given caps on one side, what can I do on the other.
28779 (set_caps): Take two caps, one for each side of the element.
28782 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28783 caps in place. This is safe because we can check the mutability of
28784 the caps, and a good idea because fixate functions are just called
28785 as a matter of last resort. (Not actually implemented.)
28786 (gst_pad_set_caps): If the caps we're setting is actually the same
28787 as the existing pad caps, just update the pointer without calling
28788 setcaps. Assert that caps is either NULL or fixed, as per the
28791 * gst/gstghostpad.c: Update for fixate changes.
28793 2005-07-02 Andy Wingo <wingo@pobox.com>
28796 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28797 two refcounts makes it immutable, which is enough. Doc more.
28799 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28801 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28802 Put the mini_object into GValue as a mini_object,
28803 not a gpointer, since that's how we declared
28806 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28808 * examples/pwg/Makefile.am:
28809 Fix buildbot again.
28811 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28813 * docs/pwg/building-testapp.xml:
28815 * examples/pwg/Makefile.am:
28818 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28821 * examples/Makefile.am:
28822 * examples/pwg/Makefile.am:
28823 * examples/pwg/extract.pl:
28824 Enable building the PWG examples.
28825 * docs/pwg/advanced-interfaces.xml:
28826 Add URI interface stub.
28827 * docs/pwg/advanced-types.xml:
28828 * docs/pwg/other-autoplugger.xml:
28829 * docs/pwg/appendix-porting.xml:
28830 * docs/pwg/pwg.xml:
28831 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28832 * docs/pwg/building-boiler.xml:
28833 * docs/pwg/building-chainfn.xml:
28834 * docs/pwg/building-pads.xml:
28835 * docs/pwg/building-props.xml:
28836 * docs/pwg/building-state.xml:
28837 * docs/pwg/building-testapp.xml:
28838 Update the building-*.xml parts for 0.9 changes. All examples
28839 code blocks compile in examples/pwg/*.
28841 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28843 * docs/manual/advanced-autoplugging.xml:
28844 * docs/manual/appendix-checklist.xml:
28845 * docs/manual/appendix-integration.xml:
28846 * docs/manual/highlevel-components.xml:
28847 Fix playbin/decodebin examples, update docs a bit, mention bus
28848 instead of signals in various places, mention kmplayer and
28849 kaffeine since they have a working GStreamer backend in the KDE
28852 2005-06-30 Wim Taymans <wim@fluendo.com>
28855 * docs/design/draft-ghostpads.txt:
28856 * docs/design/draft-push-pull.txt:
28857 * docs/design/draft-query.txt:
28858 * docs/design/part-TODO.txt:
28859 * docs/design/part-query.txt:
28860 Added CHANGES-0.9 doc, updated status of other docs.
28865 2005-06-30 Wim Taymans <wim@fluendo.com>
28867 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28868 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28869 (gst_base_sink_change_state):
28870 * gst/base/gstbasesink.h:
28871 Some tweaks, only EOS and a buffer complete a preroll.
28873 2005-06-30 Andy Wingo <wingo@pobox.com>
28875 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28876 activate_push down to the internal pad as well.
28878 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28880 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28882 * gst/gsttaginterface.c:
28883 Some documentation fixes (#307394 and #307397).
28885 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28887 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28889 * gst/gstvalue.c: (gst_value_intersect_list):
28890 Fix memleak (#309125).
28892 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28894 * docs/manual/advanced-dataaccess.xml:
28895 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28896 * docs/manual/basics-pads.xml:
28897 Add reference for filtered caps to above chapter.
28899 2005-06-30 Wim Taymans <wim@fluendo.com>
28901 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28902 (gst_bin_change_state):
28904 Lame attempt at making the state change function a bit
28907 2005-06-30 Wim Taymans <wim@fluendo.com>
28909 * docs/design/part-clocks.txt:
28910 * docs/design/part-element-sink.txt:
28911 * docs/design/part-events.txt:
28912 * docs/design/part-preroll.txt:
28913 * docs/design/part-states.txt:
28914 Some more tweeks and additions to the docs.
28916 2005-06-30 Wim Taymans <wim@fluendo.com>
28918 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28919 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28920 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28921 (gst_pad_check_pull_range), (gst_pad_get_range),
28922 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28924 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28925 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28926 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28927 (gst_pad_remove_buffer_probe):
28928 Removed atomic operations, use existing LOCK.
28929 Move exception handling out of main code path.
28931 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28933 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28934 (silly_return_true_function), (gst_pad_class_init),
28935 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28936 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28937 (gst_pad_send_event):
28938 Fix accumulator, add default value by using _emitv() instead
28939 of _emit() for signal emission.
28941 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28943 * docs/manual/advanced-dataaccess.xml:
28944 * examples/manual/Makefile.am:
28946 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28949 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28951 * gst/elements/gstfilesink.c: (gst_filesink_render):
28952 Simplify code so that we don't have to handle short
28953 writes and return GST_FLOW_ERROR if an error occured.
28955 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28957 * docs/gst/gstreamer-docs.sgml:
28958 Remove probes more.
28960 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28962 * docs/gst/gstreamer-sections.txt:
28963 * docs/gst/tmpl/gstpad.sgml:
28964 * docs/gst/tmpl/gstprobe.sgml:
28966 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28967 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28968 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28969 (gst_pad_push_event), (gst_pad_send_event):
28971 * gst/gstutils.c: (gst_pad_add_data_probe),
28972 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28973 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28974 (gst_pad_remove_buffer_probe):
28976 Remove old probes, add new g-signal-based probes and some utility
28979 2005-06-29 Edward Hervey <edward@fluendo.com>
28981 * gst/gstelementfactory.c:
28984 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28985 the definition to the header file.
28987 2005-06-29 Andy Wingo <wingo@pobox.com>
28989 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28990 plugins from the source directory.
28992 2005-06-29 Wim Taymans <wim@fluendo.com>
28994 * docs/gst/tmpl/gstbuffer.sgml:
28995 * docs/gst/tmpl/gstclock.sgml:
28996 Some fixings for blantently wrong text.
28998 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29000 * check/Makefile.am:
29001 * gst/gst.c: (add_path_func), (init_pre):
29002 * gst/gstregistry.c: (gst_registry_add_path):
29003 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29004 only scan the GST_PLUGIN_PATH locations, and not add
29007 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29009 * docs/gst/gstreamer-sections.txt:
29010 * docs/gst/tmpl/gstbasesrc.sgml:
29011 * gst/gstelement.c:
29012 * gst/gstelement.h:
29017 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29019 * docs/manual/advanced-autoplugging.xml:
29020 Fix autoplugging example.
29022 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29024 * docs/manual/advanced-autoplugging.xml:
29025 * docs/manual/mime-world.fig:
29026 Try to get autoplugging working, fix type detection. Fix text
29027 in hello-world image.
29029 2005-06-29 Wim Taymans <wim@fluendo.com>
29031 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29032 (gst_base_sink_change_state):
29036 map SIGNAL and BROADCAST to the right function.
29039 Remove redundant braces.
29041 * gst/gstpad.c: (gst_pad_set_caps):
29042 Don't call setcaps function when reseting caps to NULL.
29044 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29045 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29046 (gst_system_clock_id_unschedule):
29047 Use BROADCAST as this is what we do.
29049 2005-06-29 Wim Taymans <wim@fluendo.com>
29051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29052 We are actually prerolling before commiting the state
29055 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29057 * docs/manual/advanced-clocks.xml:
29058 * docs/manual/advanced-interfaces.xml:
29059 * docs/manual/advanced-metadata.xml:
29060 * docs/manual/advanced-position.xml:
29061 * docs/manual/advanced-schedulers.xml:
29062 * docs/manual/advanced-threads.xml:
29063 * docs/manual/appendix-porting.xml:
29064 * docs/manual/basics-bins.xml:
29065 * docs/manual/basics-bus.xml:
29066 * docs/manual/basics-elements.xml:
29067 * docs/manual/basics-helloworld.xml:
29068 * docs/manual/basics-pads.xml:
29069 * docs/manual/highlevel-components.xml:
29070 * docs/manual/manual.xml:
29071 * docs/manual/thread.fig:
29072 Update (until threads/scheduling) Application Development Manual;
29073 remove GstThread, add GstBus, add simple porting checklist, add
29074 documentation for tag writing, clocks, make all examples until this
29075 part compile and run.
29076 * examples/manual/Makefile.am:
29077 Update from changes to Application Development Manual; add bus
29078 example, remove thread example.
29080 2005-06-28 Wim Taymans <wim@fluendo.com>
29082 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29083 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29084 (gst_bus_source_dispatch):
29085 Add debugging messages.
29086 Make internal methods static.
29087 Handle the case where the bus is flushed in the handler.
29089 * gst/gstelement.c: (gst_element_get_bus):
29090 Fix refcount in _get_bus();
29092 * gst/gstpipeline.c: (gst_pipeline_change_state),
29093 (gst_pipeline_get_clock_func):
29094 Clock refcounting fixes.
29095 Handle the case where preroll timed out more gracefully.
29097 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29098 Clean up the internal thread in dispose. This is needed
29099 for subclasses that actually get disposed.
29101 * gst/schedulers/threadscheduler.c:
29102 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29103 (gst_thread_scheduler_dispose):
29104 Free thread pool in dispose.
29106 2005-06-28 Andy Wingo <wingo@pobox.com>
29108 * tests/network-clock-utils.scm (debug, print-event): New utils.
29110 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29111 (*packet-loss*): Unified loss probability.
29112 (network-time): Report out-of-band events.
29114 * tests/plot-data: Add support for out-of-band events. Hack it
29115 into this script instead of passing it down the pipe; should fix
29118 2005-06-28 Wim Taymans <wim@fluendo.com>
29120 * docs/gst/gstreamer.types:
29121 * docs/gst/tmpl/gstbasesrc.sgml:
29122 * docs/gst/tmpl/gstpad.sgml:
29125 2005-06-28 Wim Taymans <wim@fluendo.com>
29127 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29128 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29129 (gst_proxy_pad_do_fixatecaps):
29130 Correctly proxy the check_pull_range function.
29132 2005-06-28 Andy Wingo <wingo@pobox.com>
29134 * tests/network-clock.scm: Removed need for slib.
29136 2005-06-28 Wim Taymans <wim@fluendo.com>
29138 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29139 (gst_basesink_preroll_queue_flush):
29140 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29141 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29142 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29143 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29144 (gst_proxy_pad_set_property):
29147 * gst/gstqueue.c: (gst_queue_init):
29148 The deprecated pad loop function is removed now.
29150 2005-06-28 Andy Wingo <wingo@pobox.com>
29152 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29153 New parameters, simulate network packet loss.
29155 * tests/network-clock-utils.scm: Initialize the RNG.
29157 2005-06-28 Wim Taymans <wim@fluendo.com>
29159 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29160 (gst_basesink_event), (gst_basesink_deactivate):
29161 Flushing the preroll queue always needs to unlock the waiters.
29163 2005-06-28 Edward Hervey <edward@fluendo.com>
29165 * gst/gstpipeline.c: (gst_pipeline_send_event):
29166 Wheen a seek was successful on a pipeline, set the stream_time to the
29167 seek offset in order to have a synchronized stream_time.
29169 2005-06-28 Wim Taymans <wim@fluendo.com>
29171 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29172 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29173 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29174 (gst_proxy_pad_do_fixatecaps):
29175 Call wrapper function instead of just calling the function
29176 pointers. This takes care of any locking and whatmore.
29178 2005-06-28 Wim Taymans <wim@fluendo.com>
29180 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29181 (gst_pad_pull_range):
29183 CONNECTED -> LINKED.
29185 2005-06-28 Andy Wingo <wingo@pobox.com>
29187 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29188 source-munging commit!!!
29190 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29191 (gst_object_sink): Take gpointer arguments, not GstObject --
29192 avoids casts. Like GLib.
29194 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29197 2005-06-27 Andy Wingo <wingo@pobox.com>
29199 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29202 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29203 returns a sorted copy of the trace list.
29204 (gst_alloc_trace_print_live): New API, only prints traces with
29205 live objects. Sort the list.
29206 (gst_alloc_trace_print_all): Sort the list.
29207 (gst_alloc_trace_print): Align columns.
29209 * gst/elements/gstttypefindelement.c:
29210 * gst/elements/gsttee.c:
29211 * gst/base/gstbasesrc.c:
29212 * gst/base/gstbasesink.c:
29213 * gst/base/gstbasetransform.c:
29214 * gst/gstqueue.c: Adapt for pad activation changes.
29216 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29218 (gst_pipeline_dispose): Drop ref on sched.
29220 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29221 (gst_pad_activate_default): Push mode by default.
29222 (pre_activate_switch, post_activate_switch): New stubs, things to
29223 do before and after switching activation modes on pads.
29224 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29225 the pad's activate function to choose which mode to activate.
29226 Shortcut on deactivation and call the right function directly.
29227 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29229 (gst_pad_activate_push): New API, same for push mode.
29230 (gst_pad_set_activate_function)
29231 (gst_pad_set_activatepull_function)
29232 (gst_pad_set_activatepush_function): Setters for new API.
29234 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29235 Trace all miniobjects.
29236 (gst_mini_object_make_writable): Unref the arg if we copy, like
29237 gst_caps_make_writable.
29239 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29241 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29242 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29243 Adapt for new pad API.
29245 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29247 * gst/gstelement.h:
29248 * gst/gstelement.c (gst_element_iterate_src_pads)
29249 (gst_element_iterate_sink_pads): New API functions.
29251 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29252 should fold into gstiterator.c in some form.
29253 (gst_element_pads_activate): Simplified via use of fold and
29254 delegation of decisions to gstpad->activate.
29256 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29259 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29260 class once in init, like gstmessage. Didn't run into this issue
29261 but it seems correct. Don't initialize a trace, gstminiobject does
29264 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29265 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29267 (assert_live_count): New util function, uses alloc traces to check
29270 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29271 To be modified when unlink drops the internal pad.
29273 2005-06-27 Wim Taymans <wim@fluendo.com>
29275 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29276 (gst_bin_change_state):
29277 Cleanup the get_state() function a little, make sure it
29278 iterates the same set of elements.
29279 Added stub iterate_state_order().
29281 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29283 * docs/gst/gstreamer-docs.sgml:
29284 * docs/gst/gstreamer-sections.txt:
29285 * docs/gst/gstreamer.types:
29286 * docs/gst/tmpl/gstbasesink.sgml:
29287 * docs/gst/tmpl/gstbasesrc.sgml:
29288 * docs/gst/tmpl/gstbasetransform.sgml:
29289 * docs/gst/tmpl/gstelement.sgml:
29290 * docs/gst/tmpl/gstiterator.sgml:
29291 * gst/base/gstbasesrc.c:
29292 * gst/base/gstbasesrc.h:
29293 * gst/base/gstbasetransform.h:
29294 * gst/gstelement.c:
29295 * gst/gstiterator.h:
29296 adding basetransform and iterator docs
29298 2005-06-27 Andy Wingo <wingo@pobox.com>
29300 * docs/design/part-activation.txt: Notes on how activation should
29301 work -- not quite implemented yet.
29303 2005-06-25 Wim Taymans <wim@fluendo.com>
29305 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29306 At least get the chain function correct, needs more
29309 2005-06-25 Wim Taymans <wim@fluendo.com>
29311 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29312 (gst_basesink_handle_object), (gst_basesink_event),
29313 (gst_basesink_do_sync), (gst_basesink_handle_event),
29314 (gst_basesink_change_state):
29316 Right, two problems here: ghostpads don't take locks and
29317 glib _rec_mutex_lock_full() with depth==0 still locks.
29318 Catch illegal locking and g_warn them.
29320 2005-06-25 Wim Taymans <wim@fluendo.com>
29322 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29323 Have to check for completion now...
29325 2005-06-25 Wim Taymans <wim@fluendo.com>
29327 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29328 (gst_basesink_handle_object), (gst_basesink_event),
29329 (gst_basesink_do_sync), (gst_basesink_handle_event),
29330 (gst_basesink_change_state):
29332 Unlock STREAM_LOCK whatever the recursion was.
29334 2005-06-25 Wim Taymans <wim@fluendo.com>
29336 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29337 (gst_basesink_preroll_queue_empty),
29338 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29339 (gst_basesink_event), (gst_basesink_do_sync),
29340 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29341 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29342 (gst_basesink_change_state):
29343 Reworked the base sink, handle event and buffer serialisation
29344 correctly and removed possible deadlock.
29345 Handle EOS correctly.
29347 2005-06-25 Wim Taymans <wim@fluendo.com>
29349 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29350 (gst_pipeline_change_state):
29351 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29352 Allow elements to post EOS in the state change function.
29353 Fix up -launch, make it exit the poll loop when the
29354 pipeline actually changed state.
29355 Fix up warning parsing in -launch.
29357 2005-06-25 Wim Taymans <wim@fluendo.com>
29359 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29360 (gst_tee_sink_activate):
29361 Core takes STREAM_LOCK for us now.
29363 2005-06-25 Wim Taymans <wim@fluendo.com>
29365 * gst/gstelement.c: (gst_element_get_state_func),
29366 (gst_element_set_state):
29367 * gst/gstelement.h:
29368 * gst/gstmessage.c: (gst_message_parse_error),
29369 (gst_message_parse_warning):
29370 Keep track of current target state while performing a state
29371 change so that subclasses can do something interesting.
29372 Fix parsing of warning/error messages when GError is NULL.
29374 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29376 * docs/gst/Makefile.am:
29377 * docs/gst/gstreamer-docs.sgml:
29378 * docs/gst/gstreamer-sections.txt:
29379 * docs/gst/gstreamer.types:
29380 * docs/gst/tmpl/gstbasesink.sgml:
29381 * docs/gst/tmpl/gstbasesrc.sgml:
29382 * docs/gst/tmpl/gstbin.sgml:
29383 * docs/gst/tmpl/gstcompat.sgml:
29384 * docs/gst/tmpl/gstfakesink.sgml:
29385 * docs/gst/tmpl/gstfakesrc.sgml:
29386 * docs/gst/tmpl/gstfilesink.sgml:
29387 * docs/gst/tmpl/gstfilesrc.sgml:
29388 * docs/gst/tmpl/gstindex.sgml:
29389 * docs/manual/appendix-quotes.xml:
29390 * gst/base/gstbasesrc.h:
29391 * gst/elements/gstfakesrc.h:
29392 * gst/gstmessage.h:
29393 start pulling in base classes and elements in our docs
29395 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29397 * docs/gst/Makefile.am:
29398 * docs/libs/Makefile.am:
29399 fixed make distcheck with gtk-doc 1.3
29401 2005-06-23 Wim Taymans <wim@fluendo.com>
29403 * gst/gstelement.c: (gst_element_get_state_func),
29404 (gst_element_set_state), (gst_element_change_state):
29405 When the state did not change, also report NO_PREROLL
29408 2005-06-23 Wim Taymans <wim@fluendo.com>
29410 * gst/gstpad.c: (gst_pad_event_default):
29411 * gst/gstqueue.c: (gst_queue_loop):
29412 No unsafe task pausing please.
29414 2005-06-23 Wim Taymans <wim@fluendo.com>
29416 * gst/schedulers/threadscheduler.c:
29417 (gst_thread_scheduler_task_start),
29418 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29419 Ref the task before pushing it on the threadpool. This
29420 makes sure that we have a ref when the threadfunction is
29423 2005-06-23 Andy Wingo <wingo@pobox.com>
29425 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29426 offset is greater than the file's size.
29428 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29429 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29430 * gst/gstobject.c (gst_object_class_init): Make the class lock
29431 recursive. Wim won't let me drop deep_notify. Decodebin works
29432 again, whoopdy doo.
29434 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29435 internal pad, and hacks accordingly. Doesn't do it on the target
29436 pad because we change its caps. Probably catches all cases of
29438 (gst_ghost_pad_set_property): Connect to notify::caps as
29441 * tests/network-clock.scm (plot-simulation): Pipe data to the
29442 elite python skript.
29444 * tests/network-clock-utils.scm (define-parameter): New macro,
29445 defines a parameter that can be set via the command line.
29446 (set-parameter!, parse-parameter-arguments): Command line args
29449 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29452 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29454 * gst/elements/gsttypefindelement.c:
29455 (gst_type_find_element_handle_event):
29456 Don't restart typefinding on a discont.
29457 * gst/gstelement.c: (gst_element_set_state):
29458 Debug spelling fix.
29459 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29460 Allow changing mode of an active pad.
29461 Debug output fixes.
29462 * gst/registries/gstlibxmlregistry.c: (load_feature):
29463 Don't cast a static pad template to a normal pad template.
29465 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29467 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29468 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29469 remove gst_strtoll completely, since it didn't actually do
29470 anything more than what g_ascii_strtoull already does.
29471 check for range errors when deserializing
29472 do a cast for the unsigned cases; but further fixing needs
29473 a decision on what the interpretation of "(int)" and
29474 deserialization should be for values that fall outside the
29475 type's boundaries (ie, refuse, or interpret as casting)
29477 2005-06-23 Wim Taymans <wim@fluendo.com>
29479 * check/Makefile.am:
29480 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29481 * docs/design/part-live-source.txt:
29482 * docs/design/part-states.txt:
29483 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29484 (gst_basesrc_set_live), (gst_basesrc_is_live),
29485 (gst_basesrc_get_range), (gst_basesrc_activate),
29486 (gst_basesrc_change_state):
29487 * gst/base/gstbasesrc.h:
29488 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29489 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29490 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29491 * gst/gstelement.c: (gst_element_get_state_func),
29492 (gst_element_set_state):
29493 * gst/gstelement.h:
29495 * tools/gst-launch.c: (event_loop), (main):
29496 Added support for live sources and other elements that
29498 Updated design docs, added live-source design doc.
29499 Implemented live source functionality in basesrc
29500 Fix error condition in _bin_get_state()
29501 Implement live source handling in -launch.
29502 Added check for live sources.
29503 Fixed case in GstBin where elements were changed state
29507 2005-06-23 Andy Wingo <wingo@pobox.com>
29509 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29510 borken refcounting.
29512 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29513 gst_caps_replace takes care of this for us.
29515 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29516 gst_pad_set_caps on the target, not just its setcaps() function.
29518 * tests/network-clock.scm:
29519 * tests/network-clock-utils.scm: A network clock simulator.
29520 Something of an algorithmic testbed before doing something in C.
29522 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29524 * check/Makefile.am:
29525 * check/gst/capslist.h:
29526 copy over from 0.8, and add two with bitmasks specified with
29528 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29529 add test to parse everything from capslist.h
29530 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29532 add test for structure deserialization
29533 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29534 add tests for deserialization of strings to int types
29535 * gst/gststructure.c: (gst_structure_nth_field_name):
29536 * gst/gststructure.h:
29537 add a way to get the name of a field referenced by index
29538 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29539 instead of checking if the resulting long long lies between
29540 min and max, we check if the long long would fit into
29541 a number of bytes for the final type.
29542 This fixes cases where a string represents 2^32 - 1, which
29543 when cast to int would be the (valid) -1, but is bigger than
29546 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29548 * gst/parse/grammar.y:
29549 add a log line for type deserialization
29551 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29553 * check/gst/gstvalue.c: (START_TEST):
29554 * gst/gstvalue.c: (gst_value_deserialize):
29555 return long long, not int, so gint64 deserialization actually
29556 works. Is there any flag that makes the compiler check this ?
29559 2005-06-22 Wim Taymans <wim@fluendo.com>
29562 Added convenience macros for setting buffers in GValue.
29564 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29566 * check/gst/.cvsignore:
29567 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29568 add a test deserializing int64, and comment part out because
29571 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29573 * check/Makefile.am:
29574 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29575 * testsuite/Makefile.am:
29576 * testsuite/caps/Makefile.am:
29577 * testsuite/caps/value_serialize.c:
29578 * testsuite/test_gst_init.c:
29579 move a value_serialize test over
29581 2005-06-20 Wim Taymans <wim@fluendo.com>
29586 * gst/gstvalue.c: (gst_value_compare_buffer),
29587 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29588 (gst_value_compare_flags), (gst_value_serialize_flags),
29589 (gst_value_deserialize_flags), (_gst_value_initialize):
29590 Fix serialisation of buffers, they are not boxed types anymore
29592 2005-06-20 Wim Taymans <wim@fluendo.com>
29594 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29595 Testcase to show error in buffer-on-caps serialisation.
29597 2005-06-20 Andy Wingo <wingo@pobox.com>
29599 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29600 will be adding to later.
29602 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29603 if its socks fill with rocks.
29604 (gst_system_clock_obtain): Set the name on object construction.
29605 Avoid double-checked locking.
29607 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29609 * gst/gsturi.c: (gst_element_make_from_uri):
29610 Fix potential endless loop.
29612 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29614 * check/Makefile.am:
29616 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29618 move over from testsuite dir and clean up
29621 * testsuite/Makefile.am:
29622 * testsuite/tags/.cvsignore:
29623 * testsuite/tags/Makefile.am:
29624 * testsuite/tags/merge.c:
29625 remove testsuite/tags
29627 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29629 * docs/gst/gstreamer-sections.txt:
29630 * docs/gst/tmpl/gstenumtypes.sgml:
29631 * win32/gstenumtypes.c:
29632 clean up documentation build a little
29634 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29636 * check/gstcheck.h:
29637 add macros for checking refcounts on objects and caps
29638 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29639 add some more unit tests
29640 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29641 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29642 fix leaked refcounts (I hope :)) so unittest works
29646 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29648 * configure.ac: back to HEAD
29650 === release 0.9.1 ===
29652 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29658 2005-06-17 Andy Wingo <wingo@pobox.com>
29660 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29661 assert; it's always possible that the pad gets deactivated in
29662 between the checks in gstpad.c and the implementation. Rely on
29663 finish_preroll() to return a FLUSHING or similar instead of on the
29666 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29667 clock and post an EOS message if we come out of finish_preroll in
29670 2005-06-16 David Schleef <ds@schleef.org>
29672 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29673 (gst_capsfilter_set_property): Allow NULL as possible value
29674 for filter_caps property, indicating GST_CAPS_ANY.
29676 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29678 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29680 * gst/schedulers/Makefile.am:
29682 * gstreamer.spec.in:
29685 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29687 * gstreamer.spec.in:
29690 2005-06-08 Andy Wingo <wingo@pobox.com>
29692 * gst/gstutils.c: RPAD fixes all around.
29693 (gst_element_link_pads): Refcounting fixes.
29695 * tools/gst-inspect.c:
29696 * tools/gst-xmlinspect.c:
29698 * gst/base/gsttypefindhelper.c:
29699 * gst/base/gstbasesink.c:
29700 * gst/gstqueue.c: RPAD fixes.
29702 * gst/gstghostpad.h:
29703 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29704 pads. The tricky thing is they provide both source and sink
29705 interfaces, since they proxy the internal pad for the external
29706 pad, and vice versa. Implement with lower-level ProxyPad objects,
29707 with the interior proxy pad as a child of the exterior ghost pad.
29708 Should write a doc on this.
29710 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29711 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29714 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29715 pads are real pads. No ghost pads in this file. Not documenting
29716 the myriad s/RPAD/PAD/ and REALIZE fixes.
29717 (gst_pad_class_init): Add properties for "direction" and
29718 "template". Both are construct-only, so they can't change during
29719 the life of the pad. Fixes properly deriving from GstPad.
29720 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29721 derived objects, just set properties when creating the objects via
29723 (gst_pad_get_parent): Implement as a function, return NULL if the
29724 parent is not an element.
29725 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29726 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29728 * gst/gstobject.c (gst_object_class_init): Make name a construct
29729 property. Don't set it in the object init.
29731 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29732 with UNKNOWN direction.
29733 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29734 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29735 (gst_element_remove_pad): Remove ghost-pad special cases.
29736 (gst_element_pads_activate): Remove rpad cruft.
29738 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29739 catch the pad's-parent-not-an-element case.
29741 * gst/gst.h: Include gstghostpad.h.
29743 * gst/gst.c (init_post): No more real, ghost pads.
29745 * gst/Makefile.am: Add gstghostpad.[ch].
29747 * check/Makefile.am:
29748 * check/gst/gstbin.c:
29749 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29750 into a bin creates ghost pads, and that the refcounts are right.
29751 Partly moved from gstbin.c.
29753 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29755 * check/gst-libs/.cvsignore:
29756 * check/gst/.cvsignore:
29757 * check/pipelines/.cvsignore:
29759 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29760 (START_TEST), (cleanup_suite), (main):
29761 add some tests related to cleanup after running pipelines
29763 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29765 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29766 add a testsuite for GstBuffer
29768 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29770 * gst/gstminiobject.h:
29771 add defines for accessing the refcount
29773 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29775 * Makefile.am: added support for html unit test coverage reports
29777 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29779 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29780 Free existing caps if the capsfilter changes. Add a FIXME about
29781 setting those caps on the pads.
29783 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29784 Before adding a ghost pad to a parent bin, check that there isn't
29785 already one for the element on the bin. Prevents infinite recursion
29786 when using decodebin in parse pipelines. Andy says he'll rewrite the
29787 way this works anyway, so ignore the hack.
29789 2005-06-02 Andy Wingo <wingo@pobox.com>
29791 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29792 file size, pass it on to the type find helper.
29794 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29795 segment_start and segment_end properly according to the seek
29796 method. Segment_end is still a bit flaky because offset can be
29797 negative for CUR and END cases, but it takes -1 as an "unset"
29800 2005-06-02 Wim Taymans <wim@fluendo.com>
29802 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29803 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29804 (gst_basesink_activate):
29805 * gst/base/gstbasesink.h:
29806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29807 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29808 (gst_pad_query), (gst_pad_start_task):
29810 * gst/gstqueue.c: (gst_queue_bufferalloc),
29811 (gst_queue_handle_sink_event), (gst_queue_chain):
29812 Bufferalloc: return GstFlowReturn to more accuratly report
29813 why allocation failed.
29815 2005-06-02 Wim Taymans <wim@fluendo.com>
29817 * gst/gstpipeline.c: (gst_pipeline_send_event):
29818 Take snapshot of state without blocking.
29820 2005-06-02 Wim Taymans <wim@fluendo.com>
29822 * docs/design/part-TODO.txt:
29823 * docs/design/part-caps.txt:
29824 * docs/design/part-clocks.txt:
29825 * docs/design/part-negotiation.txt:
29826 * docs/design/part-preroll.txt:
29829 2005-05-30 Wim Taymans <wim@fluendo.com>
29831 * gst/elements/gstidentity.c: (gst_identity_event),
29832 (gst_identity_transform), (gst_identity_get_property):
29833 Protect last_message property as it is accessed from
29836 2005-05-30 Wim Taymans <wim@fluendo.com>
29838 * gst/gstelement.c: (gst_element_init),
29839 (gst_element_pads_activate), (gst_element_change_state):
29840 Slicker pad activation code.
29842 2005-05-30 Wim Taymans <wim@fluendo.com>
29845 * gst/gstelement.h:
29846 * gst/gstelementfactory.h:
29848 Move elementfactory methods to separate .h file.
29850 2005-05-30 Wim Taymans <wim@fluendo.com>
29852 * docs/design/part-overview.txt:
29853 * gst/gstsystemclock.h:
29854 Small typo fixes, doc updates.
29856 2005-05-30 Wim Taymans <wim@fluendo.com>
29858 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29859 (init_popt_callback):
29860 Remove cpu-opt flag.
29862 2005-05-30 Wim Taymans <wim@fluendo.com>
29864 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29865 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29867 Avoid typechecking in places where not needed.
29868 Added accessor for malloc_data.
29870 2005-05-30 Wim Taymans <wim@fluendo.com>
29872 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29873 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29874 (gst_pad_configure_sink), (gst_pad_configure_src),
29875 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29876 (gst_pad_start_task):
29877 Propagate errors from _set_caps() in configure_src/sink
29878 functions instead of returning TRUE.
29879 FLUSH events can travel up and downstream
29882 2005-05-30 Wim Taymans <wim@fluendo.com>
29884 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29885 (gst_basesink_activate):
29886 Handle EOS in preroll.
29888 2005-05-30 Wim Taymans <wim@fluendo.com>
29890 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29891 (gst_queue_loop), (gst_queue_handle_src_event):
29892 Remove old pieces of code
29893 Flushing the queue in an upstream event is a very bad idea.
29895 2005-05-26 Andy Wingo <wingo@pobox.com>
29897 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29898 gst_value_set_mini_object so as to add a ref on the object (which
29899 will be removed when the value is unset).
29901 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29902 arg type in ::handoff.
29904 * gst/gstelement.c (gst_element_change_state): Also deactivate
29905 pads in READY->NULL, just in case the element didn't make it to
29906 PAUSED. Wingo tested, Wim approved.
29908 2005-05-26 Wim Taymans <wim@fluendo.com>
29910 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29911 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29912 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29913 A flushing pad cannot be used to alloc_buffer from.
29915 2005-05-26 Wim Taymans <wim@fluendo.com>
29917 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29918 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29919 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29920 (gst_bus_create_watch), (gst_bus_add_watch_full):
29922 Implement a real GSource and use g_main_context_wakeup() to
29923 signal new messages instead of the socketpair.
29925 2005-05-25 Wim Taymans <wim@fluendo.com>
29927 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29928 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29929 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29930 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29931 (gst_pad_send_event), (gst_pad_start_task):
29932 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29933 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29934 (gst_queue_sink_activate), (gst_queue_src_activate),
29935 (gst_queue_change_state):
29937 Fix state changes for non sinks. We now change sinks, then elements
29938 with unconnected srcpads, then the rest.
29939 More efficient queue unlocking in flush and state changes.
29940 Set the pad activate mode even if it does not have an activate
29943 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29945 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29946 Don't go in pull mode for non-seekable sources.
29947 * gst/elements/gsttypefindelement.h:
29948 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29949 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29950 (free_entry), (stop_typefinding),
29951 (gst_type_find_element_handle_event), (find_peek),
29952 (gst_type_find_element_chain), (do_pull_typefind),
29953 (gst_type_find_element_change_state):
29954 Allow typefinding (w/o seeking) in push-mode, simplified version
29955 of what was in 0.8.
29956 * gst/gstutils.c: (gst_buffer_join):
29958 gst_buffer_join() from 0.8.
29960 2005-05-25 Wim Taymans <wim@fluendo.com>
29962 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29963 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29964 (gst_pad_send_event), (gst_pad_start_task):
29965 Disable attempt at mode switching until it is figured out.
29967 2005-05-25 Wim Taymans <wim@fluendo.com>
29969 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29970 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29971 (gst_basesink_finish_preroll), (gst_basesink_chain),
29972 (gst_basesink_loop), (gst_basesink_activate),
29973 (gst_basesink_change_state):
29974 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29975 (gst_basesrc_get_range), (gst_basesrc_loop),
29976 (gst_basesrc_activate):
29977 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29978 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29979 (gst_real_pad_init), (gst_real_pad_set_property),
29980 (gst_real_pad_get_property), (gst_pad_set_active),
29981 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29982 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29983 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29984 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29985 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29986 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29987 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29988 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29989 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29990 (gst_pad_stop_task):
29992 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29993 (gst_queue_loop), (gst_queue_src_activate):
29994 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29995 (gst_task_get_state):
29997 * gst/schedulers/threadscheduler.c:
29998 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29999 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30001 Remove ACTIVE pad flag, use FLUSHING everywhere
30002 Added _pad_chain(), _pad_get_range() to call chain/getrange
30004 Add locks around IS_FLUSHING when reading.
30005 Take STREAM lock in chain(), get_range() functions so plugins
30006 don't need to take it anymore.
30010 2005-05-25 Wim Taymans <wim@fluendo.com>
30012 * tools/gst-launch.c: (event_loop):
30013 Unref message after using its contents instead of
30016 2005-05-24 Wim Taymans <wim@fluendo.com>
30018 * docs/design/draft-ghostpads.txt:
30019 * docs/design/draft-push-pull.txt:
30020 * docs/design/draft-query.txt:
30021 * docs/design/part-overview.txt:
30022 Docs updates, added general overview doc.
30024 2005-05-21 David Schleef <ds@schleef.org>
30026 * docs/gst/tmpl/old/GstBin.sgml:
30027 * docs/gst/tmpl/old/GstBuffer.sgml:
30028 * docs/gst/tmpl/old/GstCaps.sgml:
30029 * docs/gst/tmpl/old/GstClock.sgml:
30030 * docs/gst/tmpl/old/GstCompat.sgml:
30031 * docs/gst/tmpl/old/GstData.sgml:
30032 * docs/gst/tmpl/old/GstElement.sgml:
30033 * docs/gst/tmpl/old/GstEvent.sgml:
30034 * docs/gst/tmpl/old/GstIndex.sgml:
30035 * docs/gst/tmpl/old/GstStructure.sgml:
30036 * docs/gst/tmpl/old/GstTag.sgml:
30037 * docs/gst/tmpl/old/cothreads.sgml:
30038 * docs/gst/tmpl/old/cothreads_compat.sgml:
30039 * docs/gst/tmpl/old/gettext.sgml:
30040 * docs/gst/tmpl/old/gobject2gtk.sgml:
30041 * docs/gst/tmpl/old/grammar.tab.sgml:
30042 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30043 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30044 * docs/gst/tmpl/old/gst_private.sgml:
30045 * docs/gst/tmpl/old/gstaggregator.sgml:
30046 * docs/gst/tmpl/old/gstarch.sgml:
30047 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30048 * docs/gst/tmpl/old/gstbufferstore.sgml:
30049 * docs/gst/tmpl/old/gstdata_private.sgml:
30050 * docs/gst/tmpl/old/gstdisksink.sgml:
30051 * docs/gst/tmpl/old/gstdisksrc.sgml:
30052 * docs/gst/tmpl/old/gstelementfactory.sgml:
30053 * docs/gst/tmpl/old/gstextratypes.sgml:
30054 * docs/gst/tmpl/old/gstfakesink.sgml:
30055 * docs/gst/tmpl/old/gstfakesrc.sgml:
30056 * docs/gst/tmpl/old/gstfdsink.sgml:
30057 * docs/gst/tmpl/old/gstfdsrc.sgml:
30058 * docs/gst/tmpl/old/gstfilesink.sgml:
30059 * docs/gst/tmpl/old/gstfilesrc.sgml:
30060 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30061 * docs/gst/tmpl/old/gstidentity.sgml:
30062 * docs/gst/tmpl/old/gstindexfactory.sgml:
30063 * docs/gst/tmpl/old/gstmarshal.sgml:
30064 * docs/gst/tmpl/old/gstmd5sink.sgml:
30065 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30066 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30067 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30068 * docs/gst/tmpl/old/gstpipefilter.sgml:
30069 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30070 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30071 * docs/gst/tmpl/old/gstshaper.sgml:
30072 * docs/gst/tmpl/old/gstspider.sgml:
30073 * docs/gst/tmpl/old/gstspideridentity.sgml:
30074 * docs/gst/tmpl/old/gststatistics.sgml:
30075 * docs/gst/tmpl/old/gsttee.sgml:
30076 * docs/gst/tmpl/old/gsttimecache.sgml:
30077 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30078 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30079 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30080 * docs/gst/tmpl/old/types.sgml:
30081 I didn't intend to add these or check them in.
30083 2005-05-19 David Schleef <ds@schleef.org>
30085 * configure.ac: Use -no-common everywhere. In a sane world, it
30086 would be the default in libtool, because without it, you can't
30087 build DLLs on Windows.
30088 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30089 * docs/gst/gstreamer-sections.txt:
30090 * docs/gst/tmpl/gstcpu.sgml:
30091 * docs/gst/tmpl/gstdata.sgml:
30092 * docs/gst/tmpl/gstthread.sgml:
30094 2005-05-19 David Schleef <ds@schleef.org>
30096 * gst/gstminiobject.c: (gst_value_set_mini_object),
30097 (gst_value_take_mini_object), (gst_value_get_mini_object):
30098 * gst/gstminiobject.h: Add GValue set/get functions.
30100 2005-05-19 Wim Taymans <wim@fluendo.com>
30102 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30103 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30104 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30106 * gst/gstbus.c: (gst_bus_post):
30107 * gst/gstelement.c: (gst_element_get_random_pad):
30108 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30109 Make subbufer unref the parent in finalize.
30110 some more debugging info.
30113 2005-05-19 Wim Taymans <wim@fluendo.com>
30115 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30116 (gst_basesink_init), (gst_basesink_finalize),
30117 (gst_basesink_activate), (gst_basesink_change_state):
30118 Don't free preroll queue too early.
30120 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30124 Hi, I'm outdated. Please shoot me.
30126 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30128 * gst/gstpipeline.c: (gst_pipeline_send_event):
30129 Do not access variables after they have been deleted.
30131 2005-05-19 Wim Taymans <wim@fluendo.com>
30133 * tools/gst-inspect.c: (print_plugin_features):
30134 A plugin feature does unfortunatly not use the
30137 2005-05-18 Wim Taymans <wim@fluendo.com>
30139 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30140 Port _span() functions to new subbuffers.
30142 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30144 * gst/gstbin.c: (gst_bin_add_func):
30145 Fix clock settery in bins when adding kids after the clock has
30148 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30150 * gst/elements/gstidentity.c: (gst_identity_class_init):
30151 Workaround until signals support GstMiniObject.
30153 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30156 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30158 2005-05-18 Wim Taymans <wim@fluendo.com>
30160 * gst/base/Makefile.am:
30161 * gst/base/gstadapter.c: (gst_adapter_base_init),
30162 (gst_adapter_class_init), (gst_adapter_init),
30163 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30164 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30165 (gst_adapter_flush), (gst_adapter_available),
30166 (gst_adapter_available_fast):
30167 * gst/base/gstadapter.h:
30168 Ported and added adapter to the base classes.
30170 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30173 * gst/gstmessage.c:
30174 Make sure the class is reffed/unreffed once before threads can be
30175 used. Fixes #304551.
30177 2005-05-17 Wim Taymans <wim@fluendo.com>
30179 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30180 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30181 * gst/gstminiobject.c: (gst_mini_object_get_type),
30182 (gst_mini_object_free):
30183 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30184 (gst_pad_push), (gst_pad_push_event):
30185 * gst/gstqueue.c: (gst_queue_change_state):
30186 Don't queue buffers in basesink when we are flushing.
30187 Unref buffer when flushing in basesink.
30188 Flush queue when going to READY
30189 Unref buffer when _push() returns an error.
30190 Don't free MiniObject instance when refcount is incremented
30191 in _finalize() so that we can recover objects.
30193 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30195 * docs/manual/advanced-schedulers.xml:
30196 * docs/manual/appendix-checklist.xml:
30197 * docs/pwg/advanced-clock.xml:
30198 * docs/pwg/advanced-interfaces.xml:
30199 * docs/pwg/advanced-request.xml:
30200 * docs/pwg/advanced-types.xml:
30201 * docs/pwg/intro-preface.xml:
30202 * examples/plugins/example.c: (gst_example_get_type),
30203 (gst_example_class_init), (gst_example_chain),
30204 (gst_example_set_property), (gst_example_get_property),
30205 (gst_example_change_state), (plugin_init):
30206 * examples/plugins/example.h:
30209 2005-05-17 Wim Taymans <wim@fluendo.com>
30211 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30212 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30213 * gst/gstqueue.c: (gst_queue_change_state):
30214 Clear queue when going to READY.
30215 Remove IN_SETCAPS flag too.
30217 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30219 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30220 Remove implicit cast from gboolean to GstElementStateReturn;
30221 make sure we still return failure in paused => ready case if
30222 the parent class fails to change state and our own stop
30225 2005-05-17 Wim Taymans <wim@fluendo.com>
30227 * tools/gst-launch.c: (event_loop):
30228 Message was unreffed too soon.
30230 2005-05-16 Andy Wingo <wingo@pobox.com>
30232 * gst/gstbin.c (sink_iterator_filter): Err... um...
30234 * check/gst/gstbin.c (test_ghost_pads): New test for the
30235 ghosting-if-elements-not-in-same-bin behavior.
30237 2005-05-16 David Schleef <ds@schleef.org>
30239 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30240 accessing refcount directly.
30242 2005-05-15 David Schleef <ds@schleef.org>
30244 * check/Makefile.am: remove GstData checks
30245 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30246 * gst/Makefile.am: add miniobject, remove data
30247 * gst/gst.h: add miniobject, remove data
30248 * gst/gstdata.c: remove
30249 * gst/gstdata.h: remove
30250 * gst/gstdata_private.h: remove
30251 * gst/gsttypes.h: remove GstEvent and GstMessage
30252 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30253 * gst/gstmarshal.list: change BOXED -> OBJECT
30255 Implement GstMiniObject.
30256 * gst/gstminiobject.c:
30257 * gst/gstminiobject.h:
30259 Modify to be subclasses of GstMiniObject.
30260 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30261 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30262 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30263 (gst_subbuffer_get_type), (gst_subbuffer_init),
30264 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30267 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30268 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30269 (_gst_event_copy), (gst_event_new):
30271 * gst/gstmessage.c: (_gst_message_initialize),
30272 (gst_message_get_type), (gst_message_class_init),
30273 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30274 (gst_message_new), (gst_message_new_error),
30275 (gst_message_new_warning), (gst_message_new_tag),
30276 (gst_message_new_state_changed), (gst_message_new_application):
30277 * gst/gstmessage.h:
30278 * gst/gstprobe.c: (gst_probe_perform),
30279 (gst_probe_dispatcher_dispatch):
30281 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30282 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30283 (_gst_query_copy), (gst_query_new):
30285 Update elements for GstData -> GstMiniObject changes
30287 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30288 (gst_queue_chain), (gst_queue_loop):
30289 * gst/elements/gstbufferstore.c:
30290 (gst_buffer_store_add_buffer_func),
30291 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30292 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30293 (gst_fakesink_render):
30294 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30295 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30296 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30297 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30298 (gst_filesrc_create_read):
30299 * gst/elements/gstidentity.c: (gst_identity_class_init):
30300 * gst/elements/gsttypefindelement.c:
30301 (gst_type_find_element_src_event), (free_entry_buffers),
30302 (gst_type_find_element_handle_event):
30303 * libs/gst/dataprotocol/dataprotocol.c:
30304 (gst_dp_header_from_buffer):
30305 * libs/gst/dataprotocol/dataprotocol.h:
30306 * libs/gst/dataprotocol/dp-private.h:
30308 2005-05-15 David Schleef <ds@schleef.org>
30310 * gst/elements/gstelements.c: Don't include headers that were
30313 2005-05-15 David Schleef <ds@schleef.org>
30315 * gst/elements/Makefile.am: Remove some elements that don't
30316 need to be in the core (or even exist at all).
30317 * gst/elements/gstaggregator.c:
30318 * gst/elements/gstaggregator.h:
30319 * gst/elements/gstmd5sink.c:
30320 * gst/elements/gstmd5sink.h:
30321 * gst/elements/gstmultifilesrc.c:
30322 * gst/elements/gstmultifilesrc.h:
30323 * gst/elements/gstpipefilter.c:
30324 * gst/elements/gstpipefilter.h:
30325 * gst/elements/gstshaper.c:
30326 * gst/elements/gstshaper.h:
30327 * gst/elements/gststatistics.c:
30328 * gst/elements/gststatistics.h:
30329 * po/POTFILES.in: Remove above files.
30331 2005-05-14 Andy Wingo <wingo@pobox.com>
30333 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30334 so as to get the refs right.
30335 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30336 unreffing objects that don't pass the filter.
30338 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30339 gst_element_set_bus.
30340 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30341 normal cases, this will destroy the bus.
30343 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30346 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30349 2005-05-13 Andy Wingo <wingo@pobox.com>
30351 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30352 gst_pad_link, call pad_link_maybe_ghosting,
30353 (pad_link_maybe_ghosting): Links pads, making sure that the
30354 elements being linked are in the same bin.
30355 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30356 Helpers for pad_link_maybe_ghosting.
30358 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30361 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30363 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30365 * docs/design/part-element-source.txt:
30368 2005-05-12 Wim Taymans <wim@fluendo.com>
30370 * gst/base/gstbasesink.c: (gst_basesink_init),
30371 (gst_basesink_activate):
30372 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30373 (gst_basesrc_is_seekable):
30374 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30375 (bin_element_is_sink), (gst_bin_change_state):
30376 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30377 * gst/gstelement.h:
30378 Identify sinks by their flag to avoid overly complicated
30380 Do state changes even for elements not reachable from the
30382 BaseSink is a sink now :)
30383 Some more debugging info in the basesrc.
30386 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30389 Implement _query on a bin, similar to _send_event.
30391 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30393 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30394 Discont event offset format should be GST_FORMAT_BYTES,
30395 not GST_FORMAT_TIME.
30397 2005-05-12 Wim Taymans <wim@fluendo.com>
30399 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30400 Same fix as Ronald's but without the signal.
30402 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30404 * gst/gstutils.c: (gst_element_query_position):
30405 No, an element is not a pad.
30407 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30409 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30410 (gst_bin_get_state):
30411 If a child is removed from a bin while we remove the child from
30412 the bin and while we're retrieving its state, signal this to the
30413 get_state function so we abort the wait (instead of waiting for
30414 a timeout) and can immediately re-iterate over all other elements.
30416 2005-05-12 Wim Taymans <wim@fluendo.com>
30418 * gst/base/Makefile.am:
30419 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30420 (gst_basesrc_start):
30421 * gst/base/gstbasesrc.h:
30422 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30423 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30424 (gst_pushsrc_init), (gst_pushsrc_create):
30425 * gst/base/gstpushsrc.h:
30426 Added is_seekable to BaseSrc
30427 Added simple PushSrc.
30429 2005-05-11 Wim Taymans <wim@fluendo.com>
30431 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30432 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30433 (gst_element_link_pads), (gst_element_query_position),
30434 (gst_element_query_convert), (intersect_caps_func),
30435 (gst_pad_query_position), (gst_pad_query_convert):
30436 Fix refcounting in utils function.
30437 No point in trying to activate a pad when it's added, it could
30438 be added from the state change function and then we deadlock, the
30439 element has to decide what to do.
30441 2005-05-10 Andy Wingo <wingo@pobox.com>
30443 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30444 *all* the arguments.
30446 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30447 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30448 lock (according to the docs -- if this is wrong change the docs).
30450 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30451 flush messages in the NULL state.
30453 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30454 message immediately and return.
30455 (gst_bus_set_flushing): New function. If a bus is flushing, it
30456 flushes out any queued messages and immediately unrefs new
30457 messages. This is so when an element goes to NULL, all of the
30458 unhandled messages coming from it can be freed, and their
30459 references to the element dropped. In other words: message source
30460 ref considered harmful :P
30462 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30463 we're finished with it.
30465 * gst/gstmessage.c (gst_message_new_state_changed):
30467 2005-05-10 Wim Taymans <wim@fluendo.com>
30469 * gst/gstvalue.c: (gst_value_compare_flags),
30470 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30471 (_gst_value_initialize):
30472 Added flags serialize/deserialize/compare code.
30474 2005-05-09 Andy Wingo <wingo@pobox.com>
30476 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30477 Intersect the peer's caps with our caps.
30479 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30481 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30482 * gst/elements/gsttypefindelement.c: (find_peek):
30483 Handle negative offsets better. Fixes decodebin.
30485 2005-05-09 Wim Taymans <wim@fluendo.com>
30487 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30488 (gst_base_transform_event):
30489 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30490 Implement accept_caps.
30491 Fix silly lock/unlock mismatch in base class.
30493 2005-05-09 Wim Taymans <wim@fluendo.com>
30495 * docs/design/draft-push-pull.txt:
30496 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30497 * gst/elements/gstfilesink.c: (gst_filesink_init),
30498 (gst_filesink_query):
30499 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30500 (gst_type_find_handle_src_query), (find_element_get_length):
30501 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30502 * gst/gstelement.h:
30503 * gst/gstmessage.c:
30504 * gst/gstmessage.h:
30505 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30506 (gst_real_pad_get_caps_unlocked),
30507 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30508 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30509 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30510 (gst_real_pad_dispose), (gst_real_pad_finalize),
30511 (gst_pad_load_and_link), (gst_pad_save_thyself),
30512 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30513 (gst_pad_check_pull_range), (gst_pad_pull_range),
30514 (gst_pad_template_get_type), (gst_pad_template_class_init),
30515 (gst_pad_template_init), (gst_pad_template_dispose),
30516 (name_is_valid), (gst_static_pad_template_get),
30517 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30518 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30519 (gst_pad_get_element_private), (gst_pad_start_task),
30520 (gst_pad_pause_task), (gst_pad_stop_task),
30521 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30522 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30523 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30524 (gst_ghost_pad_new):
30526 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30527 (gst_query_new_position), (gst_query_set_position),
30528 (gst_query_parse_position), (gst_query_new_convert),
30529 (gst_query_set_convert), (gst_query_parse_convert):
30531 * gst/gstqueryutils.c:
30532 * gst/gstqueryutils.h:
30533 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30534 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30535 (gst_queue_handle_src_query):
30536 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30537 (gst_element_query_position), (gst_element_query_convert),
30538 (intersect_caps_func), (gst_pad_query_position),
30539 (gst_pad_query_convert):
30541 * tools/gst-inspect.c: (print_pad_info):
30542 * tools/gst-xmlinspect.c: (print_element_info):
30543 Remove old query functions. Ported old code.
30544 Added position/convert helper functions to gstutils.
30545 Reordered gstpad.c code, grouping relevant things.
30546 Remove gst_message_new(), always need to speficy a specific
30550 2005-05-09 Andy Wingo <wingo@pobox.com>
30552 * gst/gstiterator.h: Add some includes.
30554 * gst/gstqueryutils.h: Include more headers.
30557 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30558 some uses of gst_pad_query.
30560 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30561 NULL out parameters.
30562 (gst_query_new_position): New proc, allocates a new position
30565 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30566 gstqueryutils.c to the build.
30568 * gst/gststructure.c (gst_structure_set_valist): Implement with
30569 the generic G_VALUE_COLLECT.
30571 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30573 * gst/Makefile.am: (gst_headers):
30574 Added gstqueryutils.h to the list of headers to install, that was
30575 a 'nachty' move wingo :)
30577 2005-05-06 Andy Wingo <wingo@pobox.com>
30580 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30581 GstData, init a memchunk.
30582 (standard_definitions): Add a few query types, deprecate a few.
30583 (gst_query_get_type): New proc.
30584 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30586 (gst_query_new_application, gst_query_get_structure): New public
30589 * docs/design/draft-query.txt: Removed LINKS from the query types,
30590 because all the rest can be dispatched to other pads -- seemed
30591 ugly to have a query that couldn't be dispatched. internal_links
30592 is fine as a pad method.
30594 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30595 in gstpad.c, but maintain binary compatibility for the moment.
30596 Will fix before 0.9 is out.
30598 * gst/gstqueryutils.c:
30599 * gst/gstqueryutils.h: New files, implement 3 methods for each
30600 query type: parse_query, parse_response, and set. Probably need an
30603 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30605 * gst/elements/gstfilesink.c (gst_filesink_query2):
30606 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30607 query_types, and formats methods.
30609 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30610 (gst_pad_set_query2_function): New functions.
30611 (gst_real_pad_init): Set query2_default as the default query2
30612 function. Basically just dispatches to internally linked pads.
30616 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30617 without using the atomic operations. Only one thread can possibly
30618 be accessing the data at this point. Changed so as to avoid
30619 gst_atomic operations.
30621 2005-05-06 Wim Taymans <wim@fluendo.com>
30623 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30624 Also set caps if we use the fallback buffer alloc.
30626 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30628 * docs/gst/Makefile.am:
30629 * docs/gst/gstreamer-docs.sgml:
30630 * docs/gst/gstreamer-sections.txt:
30631 * docs/gst/tmpl/gstatomic.sgml:
30632 * docs/gst/tmpl/gstmemchunk.sgml:
30633 * testsuite/elements/struct_i386.h:
30634 * win32/GStreamer.vcproj:
30636 Purge GstAtomic stuff from docs and win32 makefiles as well
30638 2005-05-06 Wim Taymans <wim@fluendo.com>
30640 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30641 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30642 * gst/gstpad.c: (gst_pad_peer_get_caps):
30643 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30644 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30645 (gst_queue_src_activate), (gst_queue_change_state):
30647 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30648 (intersect_caps_func):
30649 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30650 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30651 Some fixes for the peer_get_caps() change.
30653 2005-05-06 Wim Taymans <wim@fluendo.com>
30655 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30656 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30657 (gst_basesink_activate):
30658 Actually do something with error codes returned from the push
30661 2005-05-06 Wim Taymans <wim@fluendo.com>
30663 * docs/design/part-element-sink.txt:
30664 * docs/design/part-element-source.txt:
30665 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30666 (gst_basesink_event), (gst_basesink_activate):
30667 * gst/base/gstbasesink.h:
30668 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30669 (gst_basesrc_activate):
30670 * gst/base/gstbasesrc.h:
30671 * gst/gstelement.c: (gst_element_pads_activate):
30672 Some more documentation.
30673 Fixed scheduling decision in _pads_activate().
30675 2005-05-05 Andy Wingo <wingo@pobox.com>
30677 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30680 2005-05-05 Wim Taymans <wim@fluendo.com>
30682 * gst/base/Makefile.am:
30683 * gst/base/gstbasesink.h:
30684 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30685 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30686 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30687 (gst_collectpads_class_init), (gst_collectpads_init),
30688 (gst_collectpads_finalize), (gst_collectpads_new),
30689 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30690 (find_pad), (gst_collectpads_remove_pad),
30691 (gst_collectpads_is_active), (gst_collectpads_collect),
30692 (gst_collectpads_collect_range), (gst_collectpads_start),
30693 (gst_collectpads_stop), (gst_collectpads_peek),
30694 (gst_collectpads_pop), (gst_collectpads_available),
30695 (gst_collectpads_read), (gst_collectpads_flush),
30696 (gst_collectpads_chain):
30697 * gst/base/gstcollectpads.h:
30698 * gst/elements/Makefile.am:
30699 * gst/elements/gstelements.c:
30700 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30701 (gst_fakesink_get_times), (gst_fakesink_event),
30702 (gst_fakesink_preroll), (gst_fakesink_render):
30703 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30704 (gst_filesink_init), (gst_filesink_set_location),
30705 (gst_filesink_open_file), (gst_filesink_close_file),
30706 (gst_filesink_pad_query), (gst_filesink_event),
30707 (gst_filesink_render), (gst_filesink_change_state):
30708 * gst/elements/gstfilesink.h:
30709 Added object to help in making collect pad based elements.
30711 Make event function in sink baseclass return gboolean.
30713 2005-05-05 Wim Taymans <wim@fluendo.com>
30715 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30716 (gst_bin_get_by_name):
30718 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30719 (gst_clock_finalize):
30720 * gst/gstdata.c: (gst_data_replace):
30722 * gst/gstelement.c: (gst_element_request_pad),
30723 (gst_element_pads_activate):
30724 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30725 (gst_object_unref):
30726 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30727 (gst_pad_set_checkgetrange_function),
30728 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30729 (gst_pad_check_pull_range), (gst_pad_pull_range),
30730 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30731 (gst_pad_pause_task), (gst_pad_stop_task):
30732 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30733 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30734 Fix name lookup in GstBin.
30735 Added _data_replace() function and _buffer_replace()
30736 Use finalize method to clean up clock.
30737 Fix refcounting on request pads.
30738 Fix pad schedule mode error.
30739 Some more object refcounting debug info,
30742 2005-05-04 Andy Wingo <wingo@pobox.com>
30744 * check/Makefile.am:
30745 * docs/gst/tmpl/gstatomic.sgml:
30746 * docs/gst/tmpl/gstplugin.sgml:
30747 * gst/base/gstbasesink.c: (gst_basesink_activate):
30748 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30749 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30750 (gst_basesrc_query), (gst_basesrc_set_property),
30751 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30752 (gst_basesrc_activate):
30753 * gst/base/gstbasesrc.h:
30754 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30755 (gst_base_transform_src_activate):
30756 * gst/elements/gstelements.c:
30757 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30758 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30759 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30760 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30761 (gst_type_find_element_checkgetrange),
30762 (gst_type_find_element_activate):
30763 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30764 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30765 (gst_caps_load_thyself):
30766 * gst/gstelement.c: (gst_element_pads_activate),
30767 (gst_element_save_thyself), (gst_element_restore_thyself):
30768 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30769 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30771 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30772 (gst_xml_parse_file), (gst_xml_parse_memory),
30773 (gst_xml_get_element), (gst_xml_make_element):
30774 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30775 (_file_index_id_save_xml), (gst_file_index_commit):
30776 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30777 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30779 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30780 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30781 * tools/gst-complete.c: (main):
30782 * tools/gst-compprep.c: (main):
30783 * tools/gst-inspect.c: (print_element_properties_info):
30784 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30785 * tools/gst-xmlinspect.c: (print_element_properties):
30788 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30790 * gst/gstplugin.c: (gst_plugin_check_module),
30791 (gst_plugin_check_file), (gst_plugin_load_file):
30792 apply patch from #172526 to make register work on MacOSX
30794 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30796 * docs/gst/tmpl/gstconfig.sgml:
30797 * gst/gstconfig.h.in:
30798 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30799 * testsuite/debug/printf_extension.c: (main):
30800 Do not use GST_PTR_FORMAT on pointers to types with
30801 sizeof < sizeof(gpointer). Fixes test on 64-bit
30802 * testsuite/elements/property.h:
30803 use correct printf format
30805 2005-05-02 Wim Taymans <wim@fluendo.com>
30807 * docs/design/draft-push-pull.txt:
30808 * docs/design/draft-query.txt:
30809 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30810 (gst_basesrc_start):
30811 Added draft for new query API.
30812 Added draft for better selecting scheduling methods.
30813 Make basesrc ignore length if the subclass does not support
30816 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30819 possible fixes for automake-1.5 - _LIBADD is reserved
30821 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30823 * docs/faq/Makefile.am:
30824 * docs/manual/Makefile.am:
30825 * docs/manuals.mak:
30826 * docs/pwg/Makefile.am:
30828 possible fixes for automake-1.5
30830 2005-04-28 Wim Taymans <wim@fluendo.com>
30832 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30833 (gst_basesink_pad_getcaps), (gst_basesink_init),
30834 (gst_basesink_do_sync):
30835 * gst/gstclock.c: (gst_clock_entry_new):
30836 * gst/gstevent.c: (gst_event_discont_get_value):
30837 * gst/gstpipeline.c: (pipeline_bus_handler),
30838 (gst_pipeline_change_state):
30839 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30840 Better debugging of clocking info.
30841 Allow NULL values when getting discont values.
30843 2005-04-27 Wim Taymans <wim@fluendo.com>
30845 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30846 * check/gst/gstpad.c: (gst_pad_suite):
30847 Increase timeout for checks.
30849 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30851 * check/Makefile.am:
30852 fix the broken rule for cleanup. Apparently this rule is
30853 only needed on FC2, so maybe this warrants further autotool
30856 2005-04-26 Wim Taymans <wim@fluendo.com>
30858 * gst/gsttrashstack.h:
30859 Ooohh. a nasty one! After having a failed pop() from the stack,
30860 it's possible that the stack is empty. In that case, don't
30861 follow the NULL pointer.
30863 2005-04-25 Wim Taymans <wim@fluendo.com>
30865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30866 (gst_pad_set_checkgetrange_function),
30867 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30868 (gst_pad_check_pull_range), (gst_pad_pull_range),
30869 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30870 (gst_pad_pause_task), (gst_pad_stop_task):
30871 * gst/gstplugin.c: (gst_plugin_load):
30873 Remove gst_library_load as it does more harm than good with
30874 the new g_module flags.
30875 Revert bogus caps template check in pad linking, pad caps
30876 are important when linking not the template, which is more
30877 general than the current caps.
30879 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30881 * gst/autoplug/.cvsignore:
30882 * gst/autoplug/Makefile.am:
30883 * gst/autoplug/gstsearchfuncs.c:
30884 * gst/autoplug/gstsearchfuncs.h:
30885 * gst/autoplug/gstspider.c:
30886 * gst/autoplug/gstspider.h:
30887 * gst/autoplug/gstspideridentity.c:
30888 * gst/autoplug/gstspideridentity.h:
30889 * gst/autoplug/spidertest.c:
30892 2005-04-25 Wim Taymans <wim@fluendo.com>
30894 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30895 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30896 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30897 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30899 Added stubs for unimplemented functions.
30901 2005-04-24 David Schleef <ds@schleef.org>
30903 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30906 2005-04-24 David Schleef <ds@schleef.org>
30908 Convert everything from GstAtomicInt to g_atomic_int_*, and
30913 * gst/gstatomic_impl.h:
30921 * gst/gstdata_private.h:
30925 * gst/gstmessage.c:
30928 * gst/gststructure.c:
30929 * gst/gststructure.h:
30930 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30933 2005-04-24 David Schleef <ds@schleef.org>
30935 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30936 make the regressions tests work. Remove some code that is no
30938 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30939 Disable warning for pads without templates.
30941 2005-04-24 David Schleef <ds@schleef.org>
30943 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30944 functions that handle filtered links.
30945 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30947 * gst/gstutils.c: Fix/remove utility functions that handle
30950 * gst/gstvalue.c: Add serialization/deserialization of caps
30951 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30952 requires fixing so that the filter caps notation creates
30953 a capsfilter element and sets the filter_caps property. I
30954 think everyone probably wants to keep the shorthand notation.
30955 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30956 * docs/gst/tmpl/gstpad.sgml:
30958 * gst/elements/gstelements.c: Register capsfilter element.
30959 * gst/Makefile.am: fix spacing
30960 * docs/random/ds/0.9-suggested-changes: random
30962 2005-04-23 David Schleef <ds@schleef.org>
30964 * gst/elements/Makefile.am:
30965 * gst/elements/gstcapsfilter.c: New element that acts like an
30966 identity, but filters caps. Will eventually replace filtered
30967 caps in pad linking.
30968 * gst/gstutils.c: (gst_element_create_all_pads): New function
30969 to create all the ALWAYS pads that are registered with an
30970 element class. This functionality should eventually be
30971 merged in with GstElement initialization.
30973 * testsuite/trigger/README: part of trigger test code that should
30974 have been checked in a long time ago.
30976 2005-04-23 David Schleef <ds@schleef.org>
30978 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30979 needed with new versions of libtool (nobody will confirm this),
30980 and hard to carry around.
30981 * gst/autoplug/Makefile.am:
30982 * gst/base/Makefile.am:
30983 * gst/elements/Makefile.am:
30984 * gst/indexers/Makefile.am:
30985 * gst/schedulers/Makefile.am:
30986 * libs/gst/bytestream/Makefile.am:
30987 * libs/gst/control/Makefile.am:
30988 * libs/gst/dataprotocol/Makefile.am:
30989 * libs/gst/getbits/Makefile.am:
30991 2005-04-21 Wim Taymans <wim@fluendo.com>
30993 * docs/design/draft-push-pull.txt:
30994 * docs/design/part-MT-refcounting.txt:
30995 * docs/design/part-TODO.txt:
30996 * docs/design/part-caps.txt:
30997 * docs/design/part-events.txt:
30998 * docs/design/part-gstbus.txt:
30999 * docs/design/part-gstpipeline.txt:
31000 * docs/design/part-messages.txt:
31001 * docs/design/part-push-pull.txt:
31002 * docs/design/part-query.txt:
31005 2005-04-21 Wim Taymans <wim@fluendo.com>
31007 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31008 (gst_message_new), (gst_message_new_error),
31009 (gst_message_new_warning), (gst_message_new_tag),
31010 (gst_message_new_state_changed), (gst_message_new_application),
31011 (gst_message_get_structure):
31012 * gst/gstmessage.h:
31013 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31014 (gst_structure_copy_conditional):
31015 Use parent refcount in GstMessage to ensure GstStructure
31017 Cleaned up headers a bit.
31020 2005-04-20 Wim Taymans <wim@fluendo.com>
31022 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31023 (gst_basesink_pad_getcaps), (gst_basesink_init),
31024 (gst_basesink_chain_unlocked):
31025 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31026 (gst_type_find_helper):
31027 * gst/elements/gsttypefindelement.c:
31028 (gst_type_find_element_have_type), (gst_type_find_element_init),
31029 (stop_typefinding), (gst_type_find_element_handle_event),
31030 (find_suggest), (gst_type_find_element_chain),
31031 (gst_type_find_element_checkgetrange),
31032 (gst_type_find_element_getrange), (do_typefind),
31033 (gst_type_find_element_activate):
31034 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31035 (gst_buffer_default_free), (gst_buffer_default_copy),
31036 (gst_buffer_set_caps):
31037 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31038 (gst_caps_replace):
31039 * gst/gstmessage.c: (gst_message_new),
31040 (gst_message_new_state_changed):
31041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31042 (gst_pad_set_checkgetrange_function),
31043 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31044 (gst_pad_set_caps), (gst_pad_check_pull_range),
31045 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31047 * gst/gsttypefind.c: (gst_type_find_register):
31048 Make gst_caps_replace() work like other _replace() functions.
31049 Use _caps_replace() where possible.
31050 Make sure _message_new() initialises its field.
31051 Add gst_static_pad_template_get_caps()
31054 2005-04-18 Andy Wingo <wingo@pobox.com>
31056 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31057 on the peer, not the pad. I think that was a typo. Pass an extra
31058 arg to see if random access is possible. Activate the pads as
31059 PULL_RANGE if possible.
31061 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31063 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31064 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31067 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31069 * docs/faq/using.xml:
31070 Add note on gstreamer-properties (#154996).
31072 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31074 * docs/random/bbb/optional-properties:
31075 Some analysis on optional properties.
31077 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31079 * docs/gst/tmpl/gstelementfactory.sgml:
31080 * gst/gstelement.h:
31081 * gst/gstelementfactory.c: (gst_element_factory_init),
31082 (gst_element_factory_cleanup), (gst_element_register),
31083 (__gst_element_factory_add_static_pad_template),
31084 (gst_element_factory_get_static_pad_templates),
31085 (gst_element_factory_can_src_caps),
31086 (gst_element_factory_can_sink_caps):
31087 * gst/registries/Makefile.am:
31088 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31089 (gst_xml_registry_class_init), (gst_xml_registry_init),
31090 (gst_xml_registry_new), (gst_xml_registry_set_property),
31091 (gst_xml_registry_get_property), (get_time), (make_dir),
31092 (gst_xml_registry_get_perms_func),
31093 (plugin_times_older_than_recurse), (plugin_times_older_than),
31094 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31095 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31096 (add_to_char_array), (read_string), (read_uint), (read_enum),
31097 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31098 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31099 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31100 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31101 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31102 (gst_xml_registry_rebuild):
31103 * gst/registries/gstlibxmlregistry.h:
31104 * tools/gst-compprep.c: (main):
31105 * tools/gst-inspect.c: (print_pad_templates_info):
31106 * tools/gst-xmlinspect.c: (print_element_info):
31107 Use libxml2 for registry parsing, use staticpadtemplates in
31108 elementfactories. Makes gst_init() +/- 10x faster.
31110 2005-04-12 Wim Taymans <wim@fluendo.com>
31112 * gst/base/Makefile.am:
31113 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31114 (gst_basesink_pad_getcaps), (gst_basesink_init),
31115 (gst_basesink_event), (gst_basesink_change_state):
31116 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31117 (gst_basesrc_init), (gst_basesrc_query),
31118 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31119 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31120 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31121 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31122 (gst_basesrc_stop), (gst_basesrc_activate),
31123 (gst_basesrc_change_state):
31124 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31125 (helper_find_suggest), (gst_type_find_helper):
31126 * gst/base/gsttypefindhelper.h:
31127 * gst/elements/Makefile.am:
31128 * gst/elements/gstelements.c:
31129 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31130 (gst_fakesink_get_times), (gst_fakesink_event),
31131 (gst_fakesink_preroll), (gst_fakesink_render):
31132 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31133 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31134 (gst_fakesrc_get_property), (gst_fakesrc_create),
31135 (gst_fakesrc_start), (gst_fakesrc_stop):
31136 * gst/elements/gstfakesrc.h:
31137 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31138 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31139 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31140 (gst_filesrc_create_read), (gst_filesrc_create),
31141 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31142 (gst_filesrc_start):
31143 * gst/elements/gsttypefindelement.c:
31144 (gst_type_find_element_have_type), (gst_type_find_element_init),
31145 (start_typefinding), (stop_typefinding), (push_buffer_store),
31146 (gst_type_find_element_handle_event),
31147 (gst_type_find_element_chain),
31148 (gst_type_find_element_checkgetrange),
31149 (gst_type_find_element_getrange), (do_typefind),
31150 (gst_type_find_element_activate),
31151 (gst_type_find_element_change_state):
31152 * gst/elements/gsttypefindelement.h:
31153 * gst/gstpipeline.c: (pipeline_bus_handler):
31154 Added typefind helper.
31155 Small preroll fix in the base sink.
31156 Disable typefind code in basesrc.
31157 Crude port of typefindelement.
31161 2005-04-11 Wim Taymans <wim@fluendo.com>
31163 * check/gst/gstbus.c: (gstbus_suite):
31164 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31165 * check/gstcheck.h:
31166 Fix up the timeout so that the test does not fail.
31168 2005-04-06 Wim Taymans <wim@fluendo.com>
31171 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31172 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31173 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31174 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31175 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31176 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31177 (gst_basesrc_stop), (gst_basesrc_activate),
31178 (gst_basesrc_change_state), (basesrc_find_peek),
31179 (basesrc_find_suggest), (gst_basesrc_type_find):
31180 * gst/base/gstbasesrc.h:
31181 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31182 (gst_filesrc_class_init), (gst_filesrc_init),
31183 (gst_filesrc_finalize), (gst_filesrc_set_location),
31184 (gst_filesrc_set_property), (gst_filesrc_get_property),
31185 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31186 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31187 (gst_filesrc_create_read), (gst_filesrc_create),
31188 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31189 * gst/elements/gstfilesrc.h:
31190 * gst/gstelement.c: (gst_element_get_state_func),
31191 (gst_element_lost_state), (gst_element_pads_activate):
31192 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31193 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31194 (gst_pad_pull_range):
31196 More work on the generic source base class, implement seeking,
31198 Make filesrc extend the base source class.
31199 Added gst_pad_set_checkgetrange_function to GstPad.
31201 2005-04-06 Andy Wingo <wingo@pobox.com>
31203 * pkgconfig/gstreamer-base.pc.in:
31204 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31206 * pkgconfig/Makefile.am:
31207 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31209 2005-04-04 Wim Taymans <wim@fluendo.com>
31211 * gst/base/Makefile.am:
31213 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31214 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31215 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31216 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31217 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31218 (gst_basesrc_base_init), (gst_basesrc_class_init),
31219 (gst_basesrc_init), (gst_basesrc_get_formats),
31220 (gst_basesrc_get_query_types), (gst_basesrc_query),
31221 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31222 (gst_basesrc_set_property), (gst_basesrc_get_property),
31223 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31224 (gst_basesrc_loop), (gst_basesrc_activate),
31225 (gst_basesrc_change_state):
31226 * gst/base/gstbasesrc.h:
31227 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31228 (gst_fakesrc_class_init), (gst_fakesrc_init),
31229 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31230 (gst_fakesrc_get_property), (gst_fakesrc_create):
31231 * gst/elements/gstfakesrc.h:
31232 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31233 (gst_filesrc_open_file), (gst_filesrc_loop),
31234 (gst_filesrc_activate), (filesrc_find_peek),
31235 (gst_filesrc_type_find):
31236 Made base source class, make fakesrc extend it.
31237 Add comments to basesink class.
31238 Some filesrc cleanup.
31240 2005-03-31 David Schleef <ds@schleef.org>
31242 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31243 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31244 expected to link against libgstreamer.
31245 * gst/base/Makefile.am: link against libgstreamer
31246 * gst/elements/Makefile.am: same
31248 2005-03-31 Andy Wingo <wingo@pobox.com>
31250 * tests/instantiate/Makefile.am:
31251 * tests/instantiate/caps.c: Add test to test speed of caps copy
31254 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31255 GMemChunk to be fair.
31257 * gst/gsttrashstack.h: Remove warning about using the fallback
31258 trash stack implementation, it's still faster than malloc.
31260 2005-03-30 Andy Wingo <wingo@pobox.com>
31262 * tests/complexity.c: Add a copyright.
31264 2005-03-31 Wim Taymans <wim@fluendo.com>
31266 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31267 (gst_base_transform_class_init), (gst_base_transform_init),
31268 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31269 (gst_base_transform_get_property),
31270 (gst_base_transform_sink_activate),
31271 (gst_base_transform_src_activate),
31272 (gst_base_transform_change_state):
31273 * gst/base/gstbasetransform.h:
31274 * gst/elements/gstidentity.c: (gst_identity_class_init),
31275 (gst_identity_event), (gst_identity_check_perfect),
31276 (gst_identity_transform), (gst_identity_start),
31277 (gst_identity_stop):
31278 Added start/stop methods to transform base class so subclasses
31279 don't need to deal with state changes even.
31281 2005-03-31 Wim Taymans <wim@fluendo.com>
31283 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31284 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31286 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31287 (gst_pad_pull_range):
31288 Added rate to the discont event to prepare for variable speed
31289 and reverse playback.
31291 2005-03-29 David Schleef <ds@schleef.org>
31294 * testsuite/trigger/Makefile.am:
31295 * testsuite/trigger/trigger.c: A little example program to show
31296 how trigger-based elements can work.
31298 2005-03-29 Wim Taymans <wim@fluendo.com>
31300 * gst/base/Makefile.am:
31302 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31303 (gst_basesink_base_init), (gst_basesink_class_init),
31304 (gst_basesink_pad_getcaps), (gst_basesink_init),
31305 (gst_basesink_activate), (gst_basesink_change_state):
31306 * gst/base/gstbasesink.h:
31307 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31308 (gst_base_transform_base_init), (gst_base_transform_finalize),
31309 (gst_base_transform_class_init), (gst_base_transform_init),
31310 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31311 (gst_base_transform_event), (gst_base_transform_getrange),
31312 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31313 (gst_base_transform_set_property),
31314 (gst_base_transform_get_property),
31315 (gst_base_transform_sink_activate),
31316 (gst_base_transform_src_activate),
31317 (gst_base_transform_change_state):
31318 * gst/base/gstbasetransform.h:
31319 * gst/elements/gstidentity.c: (gst_identity_finalize),
31320 (gst_identity_class_init), (gst_identity_init),
31321 (gst_identity_event), (gst_identity_check_perfect),
31322 (gst_identity_transform), (gst_identity_set_property),
31323 (gst_identity_get_property), (gst_identity_change_state):
31324 * gst/elements/gstidentity.h:
31325 * gst/gstelement.c: (gst_element_get_state_func),
31326 (gst_element_lost_state), (gst_element_pads_activate):
31327 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31328 (gst_pad_check_pull_range), (gst_pad_pull_range):
31330 Simplify pad activation.
31331 Added function to check if pull_range can be performed.
31332 Error out when pulling inactive or flushing pads.
31333 Removed const from refcounted types as it does not make sense.
31334 Simplify pad templates in basesink
31335 Added base class for simple 1-to-1 transforms.
31336 Make identity subclass the base transform.
31338 2005-03-29 Andy Wingo <wingo@pobox.com>
31340 * docs/libs/gstreamer-libs-overrides.txt:
31341 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31342 really don't understand what's going on, but like whatever. I want
31345 * docs/gst/Makefile.am:
31346 * docs/libs/Makefile.am: Dist the overrides files.
31348 * check/Makefile.am (clean-local): Remove .libs directories.
31350 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31351 elements to EXTRA_DIST, so po/ files are happy.
31353 * po/POTFILES.in: Er, remove it here.
31355 * po/POTFILES: Remove gstspider.c.
31357 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31359 * docs/libs/gstreamer-libs-docs.sgml:
31360 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31363 * tests/complexity.c (main): Set the length of the preroll queue
31364 on the sinks to prevent a lockup.
31366 * libs/gst/dataprotocol/Makefile.am:
31367 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31368 the same as the one in check/gst-libs/gdp.c.
31370 * po/, docs/gst/: Commit automatic changes to docs and po files.
31372 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31373 the versioned libgstbase.
31375 * check/Makefile.am: Depend on an unversioned gst-register, seems
31376 to make autoconf happier.
31378 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31380 2005-03-28 Wim Taymans <wim@fluendo.com>
31383 * docs/design/part-gstelement.txt:
31384 * docs/design/part-negotiation.txt:
31385 * docs/design/part-preroll.txt:
31386 * docs/design/part-scheduling.txt:
31387 * docs/design/part-states.txt:
31389 * gst/base/Makefile.am:
31391 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31392 (gst_basesink_base_init), (gst_basesink_class_init),
31393 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31394 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31395 (gst_basesink_set_pad_functions),
31396 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31397 (gst_basesink_set_property), (gst_basesink_get_property),
31398 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31399 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31400 (gst_basesink_preroll_queue_push),
31401 (gst_basesink_preroll_queue_empty),
31402 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31403 (gst_basesink_event), (gst_basesink_get_times),
31404 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31405 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31406 (gst_basesink_loop), (gst_basesink_activate),
31407 (gst_basesink_change_state):
31408 * gst/base/gstbasesink.h:
31409 * gst/elements/Makefile.am:
31410 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31411 (gst_fakesink_class_init), (gst_fakesink_init),
31412 (gst_fakesink_set_property), (gst_fakesink_get_property),
31413 (gst_fakesink_get_times), (gst_fakesink_event),
31414 (gst_fakesink_preroll), (gst_fakesink_render),
31415 (gst_fakesink_change_state):
31416 * gst/elements/gstfakesink.h:
31417 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31418 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31419 * gst/gstelement.c: (gst_element_add_pad),
31420 (gst_element_get_state_func), (gst_element_abort_state),
31421 (gst_element_commit_state), (gst_element_lost_state),
31422 (gst_element_set_state), (gst_element_pads_activate):
31423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31424 * gst/gstpipeline.c: (gst_pipeline_send_event),
31425 (gst_pipeline_change_state):
31426 Added state change code.
31427 Added/updated docs.
31428 Added sink base class, make fakesink extend the base class.
31429 Small cleanups in GstPipeline.
31431 2005-03-26 David Schleef <ds@schleef.org>
31433 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31434 is broken and should be implemented in a different library.
31435 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31436 * gst/gst.h: remove gstcpu.h
31437 * gst/gstcpu.c: remove
31438 * gst/gstcpu.h: remove
31439 * gst/Makefile.am.future: Remove this file. It's ancient.
31441 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31443 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31444 (gst_bin_send_event):
31445 Add default event/set_manager handlers. The set_manager handler
31446 takes care that the manager is distributed over kids that were
31447 already in the bin before the manager was set. The event handler
31448 is a utility virtual function that sends the event over all sinks,
31449 so that gst_element_send_event (bin, event); has the expected
31451 * gst/gstpad.c: (gst_pad_event_default):
31452 Re-install default event handling for discontinuities, so that
31453 seeking works without requiring hacks in applications or extra
31455 * gst/gstpipeline.c: (gst_pipeline_class_init),
31456 (gst_pipeline_send_event):
31457 Half hack, half utility: set a pipeline to PAUSED for seek events,
31458 since that is the only way we can guarantee a/v sync. Means that
31459 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31460 and it "just works".
31462 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31464 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31465 Lock/unlock mismatch.
31467 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31469 * docs/faq/gst-uninstalled:
31470 add gst-plugins-base
31471 * docs/gst/Makefile.am:
31472 don't error out until docs are fixed
31473 * docs/gst/gstreamer.types:
31476 2005-03-22 Wim Taymans <wim@fluendo.com>
31478 * check/Makefile.am:
31479 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31480 * gst/gststructure.c: (gst_structure_set_valist),
31481 (gst_structure_copy_conditional):
31482 Activated more tests.
31483 Added message test.
31484 Added G_TYPE_POINTER to GstStructure.
31487 2005-03-22 Wim Taymans <wim@fluendo.com>
31489 * docs/design/part-TODO.txt:
31490 * docs/design/part-events.txt:
31491 * docs/design/part-gstbin.txt:
31492 * docs/design/part-gstbus.txt:
31493 * docs/design/part-gstpipeline.txt:
31494 * docs/design/part-messages.txt:
31496 * gst/gstmessage.c:
31499 2005-03-21 Wim Taymans <wim@fluendo.com>
31501 * gst/gstbus.c: (gst_bus_post):
31502 Fix copy-and-paste error.
31504 2005-03-21 Wim Taymans <wim@fluendo.com>
31506 * check/Makefile.am:
31508 * gst/elements/Makefile.am:
31509 * gst/elements/gstelements.c:
31510 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31511 (gst_fakesink_event), (gst_fakesink_chain):
31512 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31513 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31514 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31515 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31516 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31517 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31518 (gst_fakesrc_loop), (gst_fakesrc_activate),
31519 (gst_fakesrc_change_state):
31520 * gst/elements/gstfakesrc.h:
31521 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31522 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31523 (gst_filesrc_open_file), (gst_filesrc_loop),
31524 (gst_filesrc_activate), (gst_filesrc_change_state),
31525 (filesrc_find_peek), (filesrc_find_suggest),
31526 (gst_filesrc_type_find):
31527 * gst/elements/gstidentity.c: (gst_identity_finalize),
31528 (gst_identity_class_init), (gst_identity_init),
31529 (gst_identity_proxy_getcaps), (identity_queue_push),
31530 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31531 (gst_identity_getrange), (gst_identity_chain),
31532 (gst_identity_sink_loop), (gst_identity_src_loop),
31533 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31534 (gst_identity_set_property), (gst_identity_get_property),
31535 (gst_identity_change_state):
31536 * gst/elements/gstidentity.h:
31537 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31538 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31539 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31540 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31541 (gst_tee_sink_activate):
31542 * gst/elements/gsttee.h:
31543 * gst/gst.c: (gst_register_core_elements), (init_post):
31545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31546 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31547 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31548 (gst_bin_change_state):
31550 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31551 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31552 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31553 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31554 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31555 (bus_watch_callback), (bus_watch_destroy),
31556 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31557 (poll_timeout), (gst_bus_poll):
31561 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31562 (gst_element_post_message), (gst_element_message_full),
31563 (gst_element_get_state_func), (gst_element_get_state),
31564 (gst_element_abort_state), (gst_element_commit_state),
31565 (gst_element_lost_state), (gst_element_set_state),
31566 (gst_element_pads_activate), (gst_element_change_state),
31567 (gst_element_dispose), (gst_element_set_manager_func),
31568 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31569 (gst_element_set_manager), (gst_element_get_manager),
31570 (gst_element_set_bus), (gst_element_get_bus),
31571 (gst_element_set_scheduler), (gst_element_get_scheduler):
31572 * gst/gstelement.h:
31573 * gst/gstevent.c: (gst_event_new_segment_seek),
31574 (gst_event_new_flush):
31576 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31577 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31578 (gst_message_new_eos), (gst_message_new_error),
31579 (gst_message_new_warning), (gst_message_new_tag),
31580 (gst_message_new_state_changed), (gst_message_new_application),
31581 (gst_message_get_structure), (gst_message_parse_tag),
31582 (gst_message_parse_state_changed), (gst_message_parse_error),
31583 (gst_message_parse_warning):
31584 * gst/gstmessage.h:
31585 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31586 (gst_real_pad_set_property), (gst_pad_set_active),
31587 (gst_pad_is_active), (gst_pad_set_blocked_async),
31588 (gst_pad_set_blocked), (gst_pad_is_blocked),
31589 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31590 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31591 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31592 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31593 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31594 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31595 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31596 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31597 (gst_pad_set_caps), (gst_pad_configure_sink),
31598 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31599 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31600 (gst_real_pad_dispose), (gst_real_pad_finalize),
31601 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31602 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31603 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31605 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31606 (pipeline_bus_handler), (gst_pipeline_change_state),
31607 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31608 * gst/gstpipeline.h:
31610 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31611 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31612 (gst_queue_link_src), (gst_queue_bufferalloc),
31613 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31614 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31615 (gst_queue_loop), (gst_queue_handle_src_event),
31616 (gst_queue_handle_src_query), (gst_queue_src_activate),
31617 (gst_queue_change_state):
31619 * gst/gstscheduler.c: (gst_scheduler_init),
31620 (gst_scheduler_dispose), (gst_scheduler_create_task),
31621 (gst_scheduler_factory_create):
31622 * gst/gstscheduler.h:
31623 * gst/gststructure.c: (gst_structure_get_type),
31624 (gst_structure_copy_conditional):
31625 * gst/gststructure.h:
31626 * gst/gsttaginterface.h:
31627 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31628 (gst_task_init), (gst_task_dispose), (gst_task_create),
31629 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31635 * gst/schedulers/Makefile.am:
31636 * gst/schedulers/cothreads_compat.h:
31637 * gst/schedulers/entryscheduler.c:
31638 * gst/schedulers/faircothreads.c:
31639 * gst/schedulers/faircothreads.h:
31640 * gst/schedulers/fairscheduler.c:
31641 * gst/schedulers/gstbasicscheduler.c:
31642 * gst/schedulers/gstoptimalscheduler.c:
31643 * gst/schedulers/gthread-cothreads.h:
31644 * gst/schedulers/threadscheduler.c:
31645 (gst_thread_scheduler_task_get_type),
31646 (gst_thread_scheduler_task_class_init),
31647 (gst_thread_scheduler_task_init),
31648 (gst_thread_scheduler_task_start),
31649 (gst_thread_scheduler_task_stop),
31650 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31651 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31652 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31653 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31655 * libs/gst/Makefile.am:
31656 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31657 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31658 (gst_file_pad_parent_set):
31659 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31660 (gst_dp_event_from_packet):
31661 * tests/complexity.c: (main):
31662 * tests/mass_elements.c: (main):
31663 * testsuite/states/locked.c: (message_received), (main):
31664 * testsuite/states/parent.c: (main):
31665 * tools/gst-inspect.c: (print_element_flag_info),
31666 (print_implementation_info), (print_pad_info):
31667 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31669 * tools/gst-md5sum.c: (event_loop), (main):
31670 * tools/gst-typefind.c: (main):
31671 * tools/gst-xmlinspect.c: (print_element_info):
31673 Added GstBus for mainloop integration.
31674 Added GstMessage for sending notifications on the bus.
31675 Added GstTask as an abstraction for pipeline entry points.
31677 Removed Schedulers.
31678 Simplified GstQueue for multithreaded core.
31679 Made _link threadsafe, removed old capsnego.
31680 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31681 Added pad blocking functions.
31682 Reworked scheduling functions in GstPad to prepare for
31683 scheduling updates soon.
31684 Moved events out of data stream.
31685 Simplified GstEvent types.
31686 Added return values to push/pull.
31687 Removed clocking from GstElement.
31688 Added prototypes for state change function for next merge.
31689 Removed iterate from bins and state change management.
31690 Fixed some elements, disabled others for now.
31691 Fixed -inspect and -launch.
31692 Added check for GstBus.
31694 2005-03-10 Wim Taymans <wim@fluendo.com>
31696 * docs/design/part-MT-refcounting.txt:
31697 * docs/design/part-clocks.txt:
31698 * docs/design/part-gstelement.txt:
31699 * docs/design/part-gstobject.txt:
31700 * docs/design/part-standards.txt:
31701 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31702 (gst_bin_remove_func), (gst_bin_remove):
31706 * testsuite/clock/clock1.c: (main):
31707 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31709 * testsuite/dlopen/loadgst.c: (do_test):
31710 * testsuite/refcounting/bin.c: (add_remove_test1),
31711 (add_remove_test2), (main):
31712 * testsuite/refcounting/element.c: (main):
31713 * testsuite/refcounting/element_pad.c: (main):
31714 * testsuite/refcounting/pad.c: (main):
31715 * tools/gst-launch.c: (sigint_handler_sighandler):
31716 * tools/gst-typefind.c: (main):
31718 Added doc about clock.
31719 removed gst_bin_iterate_recurse_up(), marked methods
31721 Fix more testsuites.
31723 2005-03-09 Wim Taymans <wim@fluendo.com>
31725 * gst/gstpad.c: (gst_pad_get_direction),
31726 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31727 (gst_pad_collect_valist):
31728 * testsuite/bins/interface.c: (main):
31729 * testsuite/caps/audioscale.c: (test_caps):
31730 * testsuite/caps/caps.c: (test1), (test2), (test3):
31731 * testsuite/caps/deserialize.c: (main):
31732 * testsuite/caps/enumcaps.c: (main):
31733 * testsuite/caps/filtercaps.c: (main):
31734 * testsuite/caps/intersect2.c: (main):
31735 * testsuite/caps/random.c: (main):
31736 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31737 * testsuite/caps/sets.c: (check_caps):
31738 * testsuite/caps/simplify.c: (check_caps), (main):
31739 * testsuite/caps/subtract.c: (check_caps):
31740 Fix _pad_get_direction wrt ghostpads.
31741 Fix caps testsuite.
31743 2005-03-09 Wim Taymans <wim@fluendo.com>
31745 * check/Makefile.am:
31746 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31747 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31748 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31749 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31750 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31751 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31752 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31753 (bin_element_is_sink), (gst_bin_iterate_sinks),
31754 (gst_bin_iterate_all_by_interface):
31756 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31757 (gst_element_change_state), (gst_element_dispose),
31758 (gst_element_finalize), (gst_element_set_loop_function):
31759 * gst/gstelement.h:
31760 * gst/gstiterator.c: (find_custom_fold_func):
31761 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31762 (gst_pad_collectv), (gst_pad_collect_valist),
31763 (gst_pad_template_new):
31764 * gst/gstpipeline.c: (gst_pipeline_class_init),
31765 (gst_pipeline_dispose), (gst_pipeline_set_property),
31766 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31767 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31768 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31770 * gst/schedulers/entryscheduler.c:
31771 * gst/schedulers/gstbasicscheduler.c:
31772 (gst_basic_scheduler_cothreaded_chain),
31773 (gst_basic_scheduler_chain_add_element):
31774 * testsuite/bins/interface.c: (main):
31776 Added GstSystemClock test.
31777 Implemented clock distribution code in GstBin.
31778 Implemented iterate sinks method for future use.
31779 Rearranged gstelement.h
31780 Fix GstIterator comparison bug.
31781 Moved some code to GstPipeline, mostly clocking related.
31783 2005-03-09 Wim Taymans <wim@fluendo.com>
31786 * gst/gst_private.h:
31787 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31788 (gst_bin_remove_func), (gst_bin_remove),
31789 (gst_bin_get_by_name_recurse_up):
31790 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31791 (gst_clock_id_compare_func), (gst_clock_id_wait),
31792 (gst_clock_id_wait_async), (gst_clock_init),
31793 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31794 * gst/gstelement.h:
31795 * gst/gstinfo.c: (_gst_debug_init):
31797 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31798 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31800 Bump version number, we're now 0.9.0
31801 Add future debugging category.
31802 Fix NULL _unref() in _get_by_name_recurse_up
31803 Rearrange gstpad.h.
31806 2005-03-08 Wim Taymans <wim@fluendo.com>
31808 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31809 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31810 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31811 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31812 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31813 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31814 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31815 * gst/elements/gstidentity.c: (gst_identity_class_init):
31816 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31817 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31818 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31819 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31820 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31822 * gst/gstelement.c: (gst_element_class_init),
31823 (gst_element_base_class_init), (gst_element_init),
31824 (gst_element_get_random_pad), (gst_element_wait_state_change),
31825 (gst_element_change_state), (gst_element_dispose),
31826 (gst_element_finalize), (gst_element_set_loop_function):
31827 * gst/gstelement.h:
31828 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31829 * gst/gstthread.c: (gst_thread_class_init),
31830 (gst_thread_release_children_locks), (gst_thread_change_state):
31831 * gst/schedulers/gstbasicscheduler.c:
31832 (gst_basic_scheduler_loopfunc_wrapper),
31833 (gst_basic_scheduler_chain_wrapper),
31834 (gst_basic_scheduler_src_wrapper),
31835 (gst_basic_scheduler_remove_element):
31836 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31837 Remove threadsafe properties. Fix elements because GObject
31838 complains when installing a property before declaring a
31839 set/get_property handler.
31840 Rearrange gstelement.h file, use STATE macros for state locks.
31841 Free mutexes in the finalize method instead of dispose.
31843 2005-03-08 Wim Taymans <wim@fluendo.com>
31845 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31846 * gst/gstthread.c: (gst_thread_release_children_locks):
31847 Added parentage check.
31848 Fix build og GstThread again.
31850 2005-03-08 Wim Taymans <wim@fluendo.com>
31852 * docs/design/part-MT-refcounting.txt:
31853 * docs/design/part-conventions.txt:
31854 * docs/design/part-gstobject.txt:
31855 * docs/design/part-relations.txt:
31856 * docs/design/part-standards.txt:
31857 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31858 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31859 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31860 (gst_bin_iterate_all_by_interface):
31863 * gst/gstelement.c: (gst_element_class_init),
31864 (gst_element_change_state), (gst_element_set_loop_function):
31865 * gst/gstelement.h:
31866 * gst/gstiterator.c:
31867 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31868 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31869 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31870 (gst_object_set_parent), (gst_object_unparent),
31871 (gst_object_check_uniqueness):
31873 Docs updates, clean up some headers.
31875 2005-03-07 Wim Taymans <wim@fluendo.com>
31877 * check/.cvsignore:
31878 * check/Makefile.am:
31879 * check/gst-libs/.cvsignore:
31880 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31881 * check/gst/.cvsignore:
31882 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31883 (START_TEST), (gstbus_suite), (main):
31884 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31885 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31886 (gst_data_suite), (main):
31887 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31888 (add_fold_func), (gstiterator_suite), (main):
31889 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31890 (thread_name_object), (thread_name_object_default),
31891 (gst_object_name_compare), (gst_object_suite), (main):
31892 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31893 (gst_pad_suite), (main):
31894 * check/gstcheck.c: (gst_check_log_message_func),
31895 (gst_check_log_critical_func), (gst_check_init):
31896 * check/gstcheck.h:
31897 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31898 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31901 2005-03-07 Wim Taymans <wim@fluendo.com>
31903 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31904 (gst_list_iterator_next), (gst_list_iterator_resync),
31905 (gst_list_iterator_free), (gst_iterator_new_list),
31906 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31907 (gst_iterator_free), (gst_iterator_push), (filter_next),
31908 (filter_resync), (filter_uninit), (filter_free),
31909 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31910 (gst_iterator_foreach), (find_custom_fold_func),
31911 (gst_iterator_find_custom):
31912 * gst/gstiterator.h:
31913 Added missing files.
31915 2005-03-07 Wim Taymans <wim@fluendo.com>
31919 * docs/design/part-MT-refcounting.txt:
31920 * docs/design/part-conventions.txt:
31921 * docs/design/part-gstobject.txt:
31922 * docs/design/part-relations.txt:
31923 * examples/mixer/mixer.c: (main):
31924 * examples/thread/thread.c: (eos), (main):
31926 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31927 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31928 (gst_spider_plug_from_srcpad):
31929 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31930 (gst_spider_identity_change_state),
31931 (gst_spider_identity_sink_loop_type_finding):
31932 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31933 * gst/elements/gstidentity.c: (gst_identity_init):
31934 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31935 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31936 * gst/elements/gsttypefindelement.c: (free_entry):
31939 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31940 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31941 (gst_bin_set_index), (gst_bin_set_element_sched),
31942 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31943 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31944 (gst_bin_iterate_elements), (iterate_child_recurse),
31945 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31946 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31947 (compare_interface), (gst_bin_get_by_interface),
31948 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31950 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31951 (gst_buffer_default_free), (gst_buffer_default_copy),
31952 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31953 (gst_buffer_create_sub):
31955 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31956 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31957 (gst_caps_unref), (gst_static_caps_get),
31958 (gst_caps_remove_and_get_structure), (gst_caps_append),
31959 (gst_caps_append_structure), (gst_caps_remove_structure),
31960 (gst_caps_copy_nth), (gst_caps_set_simple),
31961 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31962 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31963 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31964 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31965 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31966 (gst_caps_structure_figure_out_union),
31967 (gst_caps_switch_structures), (gst_caps_do_simplify),
31968 (gst_caps_replace), (gst_caps_from_string),
31969 (gst_caps_copy_conditional):
31971 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31972 (_gst_clock_id_free), (gst_clock_id_unref),
31973 (gst_clock_id_compare_func), (gst_clock_id_wait),
31974 (gst_clock_id_wait_async), (gst_clock_class_init),
31975 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31976 (gst_clock_get_time), (gst_clock_set_time_adjust),
31977 (gst_clock_set_property), (gst_clock_get_property):
31980 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31981 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31983 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31984 (gst_element_requires_clock), (gst_element_provides_clock),
31985 (gst_element_set_clock), (gst_element_clock_wait),
31986 (gst_element_wait), (gst_element_set_time_delay),
31987 (gst_element_is_indexable), (gst_element_add_pad),
31988 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31989 (pad_compare_name), (gst_element_get_static_pad),
31990 (gst_element_request_pad), (gst_element_get_request_pad),
31991 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31992 (gst_element_class_get_pad_template_list),
31993 (gst_element_class_get_pad_template), (gst_element_error_func),
31994 (gst_element_get_random_pad), (gst_element_get_event_masks),
31995 (gst_element_send_event), (gst_element_seek),
31996 (gst_element_get_query_types), (gst_element_query),
31997 (gst_element_get_formats), (gst_element_convert),
31998 (gst_element_is_locked_state), (gst_element_set_locked_state),
31999 (gst_element_sync_state_with_parent), (gst_element_change_state),
32000 (gst_element_finalize), (gst_element_yield),
32001 (gst_element_interrupt), (gst_element_set_scheduler),
32002 (gst_element_get_scheduler), (gst_element_set_loop_function):
32003 * gst/gstelement.h:
32005 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32006 (gst_format_get_by_nick), (gst_format_get_details),
32007 (gst_format_iterate_definitions):
32009 * gst/gstindex.c: (gst_index_gtype_resolver):
32012 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32013 (gst_mem_chunk_free):
32014 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32015 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32016 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32017 (gst_object_dispatch_properties_changed),
32018 (gst_object_set_name_default), (gst_object_set_name),
32019 (gst_object_get_name), (gst_object_set_name_prefix),
32020 (gst_object_get_name_prefix), (gst_object_set_parent),
32021 (gst_object_get_parent), (gst_object_unparent),
32022 (gst_object_check_uniqueness), (gst_object_save_thyself),
32023 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32024 (gst_object_set_property), (gst_object_get_property),
32025 (gst_object_get_path_string):
32027 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32028 (gst_real_pad_init), (gst_real_pad_get_property),
32029 (gst_pad_custom_new), (gst_pad_get_direction),
32030 (gst_pad_set_active), (gst_pad_is_active),
32031 (gst_pad_set_event_function), (gst_pad_is_linked),
32032 (gst_pad_link_free), (gst_pad_link_intersect),
32033 (gst_pad_link_fixate), (gst_pad_set_caps),
32034 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32035 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32036 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32037 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32038 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32039 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32040 (gst_pad_realize), (gst_pad_get_allowed_caps),
32041 (gst_real_pad_dispose), (gst_real_pad_finalize),
32042 (gst_pad_collectv), (gst_pad_collect_valist),
32043 (gst_pad_template_dispose), (gst_pad_template_new),
32044 (gst_pad_get_internal_links):
32046 * gst/gstpipeline.c: (gst_pipeline_dispose),
32047 (gst_pipeline_change_state):
32048 * gst/gstpipeline.h:
32050 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32051 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32052 * gst/gstpluginfeature.h:
32053 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32054 * gst/gstquery.c: (_gst_query_type_initialize),
32055 (gst_query_type_register), (gst_query_type_get_by_nick),
32056 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32058 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32059 * gst/gstscheduler.c: (gst_scheduler_add_element),
32060 (gst_scheduler_factory_create):
32061 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32062 (gst_structure_free), (gst_structure_set_name),
32063 (gst_structure_id_set_value), (gst_structure_set_value),
32064 (gst_structure_set_valist), (gst_structure_remove_field),
32065 (gst_structure_remove_fields),
32066 (gst_structure_remove_fields_valist),
32067 (gst_structure_remove_all_fields), (gst_structure_foreach),
32068 (gst_structure_map_in_place),
32069 (gst_caps_structure_fixate_field_nearest_int),
32070 (gst_caps_structure_fixate_field_nearest_double):
32071 * gst/gststructure.h:
32072 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32073 (gst_system_clock_init), (gst_system_clock_dispose),
32074 (gst_system_clock_async_thread),
32075 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32076 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32077 * gst/gstsystemclock.h:
32078 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32079 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32080 * gst/gsttaginterface.c:
32081 * gst/gstthread.c: (gst_thread_dispose),
32082 (gst_thread_release_children_locks), (gst_thread_change_state),
32083 (gst_thread_main_loop):
32084 * gst/gsttrashstack.h:
32085 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32087 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32088 (gst_element_request_pad), (gst_element_get_pad_from_template),
32089 (gst_element_request_compatible_pad),
32090 (gst_element_get_compatible_pad_filtered),
32091 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32092 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32093 (gst_element_link_many), (gst_element_link),
32094 (gst_element_link_pads), (gst_element_unlink_pads),
32095 (gst_element_unlink_many), (gst_element_unlink),
32096 (gst_pad_can_link_filtered), (gst_pad_can_link),
32097 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32098 (gst_object_default_error), (gst_bin_add_many),
32099 (gst_bin_remove_many), (gst_element_populate_std_props),
32100 (gst_element_class_install_std_props), (gst_buffer_merge),
32101 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32102 (link_fold_func), (gst_pad_proxy_setcaps):
32104 * gst/gstvalue.c: (gst_value_deserialize_string):
32105 * gst/parse/grammar.y:
32106 * gst/schedulers/gstbasicscheduler.c:
32107 (gst_basic_scheduler_cothreaded_chain),
32108 (gst_basic_scheduler_chain_recursive_add),
32109 (gst_basic_scheduler_pad_link):
32110 * gst/schedulers/gstoptimalscheduler.c:
32111 (get_group_schedule_function),
32112 (gst_opt_scheduler_state_transition),
32113 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32114 * libs/gst/bytestream/bytestream.c:
32115 * libs/gst/dataprotocol/dataprotocol.c:
32116 (gst_dp_header_from_buffer):
32119 * tests/threadstate/threadstate2.c: (eos):
32120 * tools/gst-compprep.c: (main):
32121 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32122 (print_pad_info), (print_children_info):
32123 * tools/gst-launch.c: (idle_func), (main):
32124 * tools/gst-md5sum.c: (idle_func), (main):
32125 * tools/gst-xmlinspect.c: (print_element_info):
32126 First THREADED backport attempt, focusing on adding locks and
32127 making sure the API is threadsafe. Needs more work. More docs
32130 2005-02-24 Andy Wingo <wingo@pobox.com>
32132 * tests/bench-complexity.scm:
32133 * tests/complexity.gnuplot: New files, good for running complexity
32136 * tests/Makefile.am:
32137 * tests/complexity.c: New test, sets up N elements, at each level
32138 teeing into M streams per element. Eeeenteresting.
32140 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32141 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32142 running bench-mass_elements.scm.
32144 * tests/bench-mass_elements.scm: New script, runs mass_elements
32145 for various numbers of identities, outputting the results to a
32146 file. Requires guile 1.6. Just for testing.
32148 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32150 * gst/schedulers/fairscheduler.c:
32151 compile with debug disabled
32153 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32156 hunting season on 0.9 is now OPEN