1 2008-12-09 Stefan Kost <ensonic@users.sf.net>
3 * libs/gst/controller/gstcontroller.c:
4 Aggregate return value for gst_controller_sync_values(). More info in
5 logging. Always set values on first sync-call.
7 * libs/gst/controller/gstcontrolsource.c:
10 * libs/gst/controller/gsthelper.c:
11 Fix return code and comment.
14 2008-12-09 Stefan Kost <ensonic@users.sf.net>
16 * tools/gst-launch.1.in:
17 Fix description of how to specify a type in caps. Fixes #553873.
18 Also ranges and list contain values and not property-assignments.
20 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
22 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
23 Check for changed pads-list before checking the last returned
24 GstFlowReturn because the pad could have been removed and we
25 need to ignore the value in that case.
27 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
29 * libs/gst/base/gstbasetransform.c:
30 (gst_base_transform_prepare_output_buffer),
31 (gst_base_transform_getrange), (gst_base_transform_chain):
32 * libs/gst/base/gstbasetransform.h:
33 Add vmethod that is called before we start the transform and which can
34 be used to configure the transform, such as dynamic properties.
36 2008-12-05 David Schleef <ds@schleef.org>
39 Search for plugins on win32 based on the location of the
40 gstreamer DLL. Fixes #548786
42 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
45 Apparently AC_CONFIG_MACRO_DIR breaks when using more
46 than one macro directory, reverting last change.
48 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
51 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
54 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
56 Patch by: Cygwin Ports maintainer
57 <yselkowitz at users dot sourceforge dot net>
61 Require gettext 0.17 because older versions don't mix with libtool
62 2.2. At build time an older gettext version will still work.
65 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
67 Patch by: 이문형 <iwings at gmail dot com>
69 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
70 Adds support for FD_CONNECT event (win32). See #562258.
72 2008-11-24 Stefan Kost <ensonic@users.sf.net>
74 * libs/gst/base/gstbasesink.c:
75 Turn comment into gtk-doc comment.
77 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
79 * libs/gst/base/gstbasetransform.c:
80 (gst_base_transform_acceptcaps):
81 Revert quick accepcaps attempt, it's not fully equivalent to the old
82 behaviour and thus causes regressions.
84 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
86 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
89 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
91 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
93 * gst/gstregistry.c: (gst_registry_scan_path_level):
94 Reduce the number of stat() calls for every file from three times
95 to one time. Fixes bug #560360.
97 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
99 * libs/gst/base/gstbasetransform.c:
100 (gst_base_transform_acceptcaps):
101 Rename a variable to make the code clearer.
103 2008-11-21 Stefan Kost <ensonic@users.sf.net>
105 * plugins/elements/gstidentity.c:
106 Don't warning on offset==-1. Taken from _check_imperfect_offset().
108 2008-11-21 Michael Smith <msmith@songbirdnest.com>
110 * plugins/elements/gstfilesrc.c:
111 Check for localhost in URI was backwards, fix it. Fixes unit test.
113 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
115 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
116 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
117 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
118 Add beginnings of a more optimized acceptcaps function than the default
121 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
123 * gst/gstpad.c: (gst_pad_accept_caps):
124 Avoid getting the acceptcaps function too early.
126 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
128 * tools/gst-launch.c: (event_loop):
129 Make gst-launch handle LATENCY messages and make it recalculate the
132 2008-11-20 Michael Smith <msmith@songbirdnest.com>
134 * plugins/elements/gstfilesrc.c:
135 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
136 out own slightly incorrect version. Fixes use of some paths on
139 2008-11-20 Michael Smith <msmith@songbirdnest.com>
141 * gst/gstregistrybinary.c:
142 In win32 codepath, if we fail to write the registry, create the
143 directory for it and try again, matching the behaviour in non-win32
146 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
148 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
149 Changing the render delay changes the latency and so we must post a
152 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
156 Add GstQueryType for custom queries instead of having to use the
157 not-so-very-convenient registration infrastructure to register new
160 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
162 Patch by: Andrew Feren <acferen at yahoo dot com>
164 * gst/gstobject.c: (gst_object_default_deep_notify):
165 Unref the GEnumClass after usage again. Fixes bug #561501.
167 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
169 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
170 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
171 (gst_bin_change_state_func):
173 Add do-latency signal with the old default fallback implementation. This
174 allows for custom latency calculations for when the default is not
176 API: GstBin::do-latency signal.
178 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
180 * win32/common/libgstreamer.def:
181 Add new symbols to .def file.
183 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
185 * docs/gst/gstreamer-sections.txt:
186 * gst/gstbin.c: (gst_bin_recalculate_latency),
187 (gst_bin_change_state_func):
189 Add method to recalculate and redistribute the latency on a bin.
190 API: gst_bin_recalculate_latency().
192 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
195 Document the free_func.
197 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
199 * libs/gst/controller/gstinterpolation.c:
200 * libs/gst/controller/gstlfocontrolsource.c:
201 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
202 as it is mapped to a cast on non-win32 platforms.
204 2008-11-17 Stefan Kost <ensonic@users.sf.net>
206 * libs/gst/controller/gstcontroller.c:
207 * libs/gst/controller/gstcontrollerprivate.h:
208 Keep last-value and only call set_property if value has changed. This
209 supresses all the g_object_notifies we would trigger otherwise. It
210 also allows the user to chage the value while there is no controller
213 2008-11-17 Stefan Kost <ensonic@users.sf.net>
216 Don't crash if either of the string GValues is empty.
218 2008-11-17 Andy Wingo <wingo@pobox.com>
220 * tools/gst-inspect.c (print_all_uri_handlers): New function,
221 prints a summary of what URI schemes are supported by what
223 (main): Plumb in support for --uri-handlers or -u, and fix the
224 argc check for -a and -u.
226 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
229 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
230 conversion functions.
232 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
234 * gst/gstbuffer.c: (gst_buffer_finalize):
235 Avoid costly typechecking for trivially correct pointers.
237 * gst/gstpoll.c: (gst_poll_wait):
238 Add some G_LIKELY here and there.
240 * libs/gst/base/gstadapter.c: (gst_adapter_push):
243 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
245 * docs/random/wtay/poll-timeout:
248 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
250 * tests/old/testsuite/caps/intersection.c: (main):
251 * tests/old/testsuite/plugin/loading.c: (main):
252 Remove references to deprecated API g_mem_chunk*.
255 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
257 * tools/gst-inspect.c: (main):
258 Add --plugin option. Fixes #560301.
260 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
262 * docs/random/wtay/poll-timeout:
263 Quick braindump for a possible (not totally verified) atomic case.
265 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
267 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
268 (gst_registry_binary_initialize_magic),
269 (gst_registry_binary_write_cache),
270 (gst_registry_binary_check_magic):
271 * gst/gstregistrybinary.h:
272 Don't write and check a CRC for the binary registry file. It's
273 guaranteed that the registry is completely written (it's first written
274 to a temporary file and then moved) and if the registry was corrupted
275 by some hardware failure we would have bigger problems.
277 Bump binary registry version to 0.10.21.1 for this as it's an
278 incompatible change and to ensure that the registry gets rebuild
281 This saves some milliseconds for reading/writing the registry.
284 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
286 * docs/random/wtay/poll-timeout:
287 Some pseudo code for how we could implement clock timeouts with GstPoll.
289 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
291 * plugins/elements/gstfilesink.c:
292 Update Author string to match others.
294 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
296 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
297 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
298 being fixed and inline the trivial check.
300 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
302 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
303 (gst_caps_merge_structure), (gst_caps_get_structure),
304 (gst_caps_copy_nth), (gst_caps_set_simple),
305 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
306 (gst_caps_is_equal_fixed), (gst_caps_intersect),
307 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
308 (gst_caps_to_string):
309 Callgrind micro optimisations.
310 Avoid array bounds checks and force inline of trivial function.
312 * gst/gstobject.c: (gst_object_set_name_default):
313 -1 is equivalent to letting glib to the strlen but then there is more
314 room for optimisations and it's not our fault.
316 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
317 no need to clear the array, we're cool.
319 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
320 The most common _is_fixed() check is done on fundamental glib base
321 types so we check this first instead of doing a huge amount of
322 useless GST_TYPE_ARRAY calls.
324 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
327 Add a SKIP seek flag for use with advanced trickmodes.
328 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
330 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
332 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
333 No need to memset, we can clear the value ourselves.
335 * gst/gstvalue.c: (gst_type_is_fixed),
336 (gst_value_get_compare_func):
337 Some optimisations from a few callgrind sessions:
338 When checking if a type is fixed, check for trivial fundamental types
339 first before checking types for which we need to get the type followed
340 by the heavy duty type checks, this reduces the amount of
341 g_type_fundamental() calls a lot.
342 When getting the compare function, first check for our registered types.
343 If that fails, do the heavy duty g_type_is_a() checks, reduces the
344 amount of g_type_is_a() considerably.
346 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
348 * docs/design/part-TODO.txt:
349 Mumble something about removing GstXML.
351 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
353 * gst/gstbin.c: (gst_bin_handle_message_func):
354 Get the seqnum before we dispose the message.
356 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
358 * docs/design/part-TODO.txt:
359 Refer to the framestepping document.
361 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
363 * gst/gstbin.c: (bin_handle_async_start),
364 (gst_bin_handle_message_func), (gst_bin_query):
365 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
366 (gst_base_sink_event), (gst_base_sink_change_state):
367 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
368 (gst_base_src_loop), (gst_base_src_change_state):
369 Copy seqnums from events to messages so that they can all be related
372 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
374 * tools/gst-launch.c: (event_loop):
375 Print the message seqnums.
377 2008-11-04 Andy Wingo <wingo@pobox.com>
379 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
381 2008-11-04 Andy Wingo <wingo@pobox.com>
383 Add sequence numbers to events and messages. See #559250.
385 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
389 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
390 events with a new sequence number, and copy it when copying.
391 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
392 an event's sequence number.
395 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
396 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
399 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
401 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
403 * docs/manual/advanced-position.xml:
404 * docs/manual/basics-bins.xml:
405 * docs/manual/basics-bus.xml:
406 * docs/manual/basics-pads.xml:
407 * docs/manual/intro-gstreamer.xml:
408 * docs/manual/intro-preface.xml:
409 Some Application Development Manual fixes thanks to
410 Andrew Feren. Fixes #558459.
412 2008-11-03 Stefan Kost <ensonic@users.sf.net>
414 * gst/gstregistrybinary.c:
415 Don't bother with the GTimer if we don't output the results.
417 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
419 Patch by: David Schleef <ds@schleef.org>
421 * libs/gst/net/Makefile.am:
422 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
424 2008-10-31 Stefan Kost <ensonic@users.sf.net>
426 * gst/gstregistrybinary.c:
427 Oh my, studip, stupid me. Remove double stat() call.
429 2008-10-31 Stefan Kost <ensonic@users.sf.net>
432 Use g_unlink instead of unlink.
434 * gst/gststructure.c:
443 Formatting & whitespaces.
445 2008-10-31 Stefan Kost <ensonic@users.sf.net>
447 * plugins/elements/gstidentity.c:
448 Doc typo. Use return value of parent_class->event.
450 * plugins/elements/gsttypefindelement.c:
451 Chain up at the end for consistency.
453 2008-10-30 Stefan Kost <ensonic@users.sf.net>
456 * docs/gst/gstreamer-docs.sgml:
457 * docs/gst/gstreamer-sections.txt:
458 * docs/gst/running.xml:
459 * docs/libs/gstreamer-libs-docs.sgml:
460 Change to xinclude based build - its faster and easier to maintain.
462 2008-10-30 Stefan Kost <ensonic@users.sf.net>
464 * gst/gstregistrybinary.c:
465 * gst/gstregistryxml.c:
466 Use g_unlink() as none of these are directories.
468 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
470 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
473 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
475 * libs/gst/base/gstbasetransform.c:
476 (gst_base_transform_find_transform), (gst_base_transform_getrange):
477 If we have a fixate function, call it even if we already have fixed caps
478 because the subclass might add some caps. Makes audioconvert add a
479 default channel layout.
481 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
483 * libs/gst/base/gstbasetransform.c:
484 (gst_base_transform_prepare_output_buffer),
485 (gst_base_transform_getrange):
486 Clear the output buffer variable.
487 Cleanups to the error path in the getrange function.
490 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
492 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
493 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
494 Use gst_buffer_try_new_and_alloc() and handle errors instead of
495 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
498 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
500 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
501 Set the last_stop to a more meaningful position when configuring the
502 segment. ie. the start/stop of the segment or clipped against the
503 updated segment boundaries.
505 * tests/check/gst/gstsegment.c: (GST_START_TEST):
506 Add some unit tests for the last_stop.
508 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
510 * libs/gst/base/gstbytereader.c:
511 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
514 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
516 * docs/gst/gstreamer-sections.txt:
518 API: Move float endianness conversion macros from libgstfloatcast
519 to core as it's useful in general, even in core. Fixes bug #555196.
520 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
521 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
522 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
524 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
525 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
526 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
527 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
529 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
531 * docs/libs/gstreamer-libs-sections.txt:
532 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
533 (gst_byte_reader_peek_data):
534 * libs/gst/base/gstbytereader.h:
535 * win32/common/libgstbase.def:
536 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
537 to get a pointer to the data at the current position and have
540 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
543 Fix a bug in the output of the configure script summary
544 when --gst-disable-registry is supplied
546 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
548 * libs/gst/base/gstbitreader.c:
549 * libs/gst/base/gstbytereader.c:
550 Fix the names of 2 functions in the docs strings.
552 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
554 * libs/gst/base/gstbasetransform.c:
555 (gst_base_transform_prepare_output_buffer),
556 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
557 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
558 refcount problems as seen in banshee and maybe also in farsight2.
559 Remove atomic int now that we need to take the lock anyways.
561 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
563 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
564 (gst_base_sink_default_prepare_seek_segment),
565 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
566 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
567 (gst_base_sink_query):
568 Implement more seeking in pull mode.
569 Use pad convert functions to convert position to the requested format.
570 Fix position/duration reporting in pull mode.
571 Implement position and duration reporting in other formats than time.
573 * libs/gst/base/gstbasesink.h:
574 Add member to keep track of when the segment is playing.
576 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
578 * gst/gstpad.c: (gst_pad_configure_src):
579 When we use gst_pad_alloc_buffer() without wanting to set the caps we
580 also don't need to check if the caps are compatible because the caller
581 presumably is going to perform its own custom checks. Fixes some cases
582 where basetransform elements would error out when it was not needed.
584 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
586 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
589 * libs/gst/base/gstbasetransform.c:
590 (gst_base_transform_handle_buffer),
591 (gst_base_transform_reconfigure):
594 * win32/common/libgstbase.def:
597 2008-10-19 Stefan Kost <ensonic@users.sf.net>
599 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
600 Remove duplicated assignment and log a message in failure case.
602 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
604 Patch by: Dig Ge <dig.ge.cn at gmail com>
606 * tests/examples/helloworld/helloworld.c: (main):
607 Fix copy'n'paste bug in hello world example (#556900).
609 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
611 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
612 (gst_base_sink_query):
613 Query the total number of bytes when activating the pad in pull mode.
614 Implement duration query in pull mode by using the installed pad convert
615 function to convert from bytes to the requested format.
617 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
619 * docs/libs/gstreamer-libs-sections.txt:
620 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
621 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
622 (gst_base_sink_event), (gst_base_sink_perform_seek),
623 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
624 (gst_base_sink_send_event), (gst_base_sink_change_state):
625 * libs/gst/base/gstbasesink.h:
626 Add method to commit the state in subclasses.
627 Refactor the flush_start and flush_stop code because we need it for
628 flushing while seeking too.
629 Implement the beginnings of seeking in pull mode.
630 Use the segment last_stop field for the pulling offset.
631 Fix the pause method in pull mode.
632 Configure the segment to BYTES for pull mode.
633 API: GstBaseSink::gst_base_sink_do_preroll()
635 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
637 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
640 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
642 * gst/gstquark.c: (_priv_gst_quarks_initialize):
643 Fix printf format warning.
645 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
647 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
648 Fix flow aggregation of tee. Error out immediately for all flow returns
649 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
650 and return OK if at least one pad is linked.
652 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
653 and otherwise returned the flow return of the last pad, which is wrong.
655 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
656 (GST_START_TEST), (tee_suite):
657 Add unit tests for the flow aggregation.
659 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
661 * docs/design/part-TODO.txt:
662 Remove item from the todo list because it was fixed with the latency
663 state change rewrites.
665 * docs/design/part-seeking.txt:
666 * docs/design/part-segments.txt:
669 * gst/gstevent.c: (gst_event_new_new_segment_full),
670 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
671 (gst_event_parse_buffer_size), (gst_event_new_qos),
672 (gst_event_parse_qos), (gst_event_new_seek),
673 (gst_event_parse_seek), (gst_event_new_latency),
674 (gst_event_parse_latency):
675 Use quarks to construct and parse events.
677 * gst/gstquark.c: (_priv_gst_quarks_initialize):
679 Add some more quarks to the table.
680 Emit a warning when the quark tables are not in sync.
682 * tests/check/gst/gstbus.c: (GST_START_TEST):
685 2008-10-13 Stefan Kost <ensonic@users.sf.net>
687 * plugins/elements/Makefile.am:
688 * plugins/indexers/Makefile.am:
689 Don't install static libs for plugins. Fixes #550851 for core.
691 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
693 * gst/gstbus.c: (gst_bus_source_finalize),
694 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
695 (gst_bus_enable_sync_message_emission),
696 (gst_bus_disable_sync_message_emission),
697 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
698 Fix deadlock, g_source_get_id() cannot be called in finalize.
699 Keep track of the watch source by keeping a pointer to the source object
701 Use the bus lock to protect access to the pointer to the current
704 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
706 Base on Patch by: Olivier Crete <tester at tester dot ca>
708 * gst/gstbus.c: (gst_bus_source_finalize),
709 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
710 Only allow one bus watch to be set at a time. This is necessary
711 because the dispatcher pops the message from the bus and the second
712 watcher will then get NULL or the next message (and the first won't
713 get this next message then, etc). If more than one "watcher" is
714 required signal watches should be used. Fixes bug #526044.
716 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
718 * tools/gst-launch.c:
719 Change the printing of the 'buffering...' output to avoid putting
720 a \r in a translateable string (flagged by the TP).
722 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
725 Clarify that the save_thyself() and restore_thyself() virtual
726 functions of GstObject need to be overriden, not
727 gst_object_(save|restore)_thyself() which is impossible.
730 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
732 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
733 Revert a patch from 21 months ago that broke caps negotiation in pull
734 mode. Basically, having a buffer pass over a pad will trigger the
735 setcaps function when caps change, just like in push mode.
737 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
739 * docs/design/part-negotiation.txt:
740 Update the docs some more.
742 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
743 If we pull a buffer with non-trivial caps, suggest those caps with the
746 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
748 * docs/design/part-TODO.txt:
749 Add another limitation of pad-blocking with segment seeks not pushing
752 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
754 * win32/common/libgstbase.def:
755 * win32/common/libgstreamer.def:
756 Add new symbols to the win32 defs files
758 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
760 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
761 (gst_bin_handle_message_func):
762 The message src can be NULL, don't try to print the object names in that
765 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
766 Add some more debug info.
768 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
771 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
774 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
776 * docs/design/part-negotiation.txt:
779 * docs/libs/gstreamer-libs-sections.txt:
780 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
781 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
782 (gst_base_sink_init), (gst_base_sink_set_blocksize),
783 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
784 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
785 (gst_base_sink_loop), (gst_base_sink_pad_activate),
786 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
787 (gst_base_sink_change_state):
788 * libs/gst/base/gstbasesink.h:
789 Add blocksize property and methods to control the amount of data
791 Negotiate first before activating upstream in pull mode so that they can
792 negotiate themselves.
793 When we operate in pull mode, we only accept the caps that we
795 Make the sink go ASYNC to PAUSED, like all other sinks.
796 API: GstBaseSink::gst_base_sink_set_blocksize()
797 API: GstBaseSink::gst_base_sink_get_blocksize()
798 API: GstBaseSink::blocksize
800 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
801 (gst_base_src_set_live), (gst_base_src_is_live),
802 (gst_base_src_set_format), (gst_base_src_query_latency),
803 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
804 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
805 (gst_base_src_set_property), (gst_base_src_get_property):
806 * libs/gst/base/gstbasesrc.h:
807 Add typechecking in public API functions.
808 Add methods to control the blocksize in subclasses.
809 API: GstBaseSrc::gst_base_src_set_blocksize()
810 API: GstBaseSrc::gst_base_src_get_blocksize()
812 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
814 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
815 (buffer_probe), (event_probe), (GST_START_TEST):
816 We now see 3 events go through our pad, since basesink now sends
817 upstream latency events.
819 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
821 * gst/gstpipeline.c: (gst_pipeline_change_state):
822 Release the object lock before trying to flush the bus.
824 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
826 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
827 Forward LATENCY events upstreams so that elements know about the total
828 pipeline latency. Fixes #555307.
830 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
832 * plugins/elements/gstqueue.c:
833 Allow through queries when we don't know how
834 to adjust them (not TIME or BYTES), as otherwise it's
835 not possible to query the current position in order
836 to seek in other formats at all.
838 2008-10-08 Andy Wingo <wingo@pobox.com>
840 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
842 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
846 Unbreak -good build, private is a reserved c++ keyword.
848 2008-10-08 Andy Wingo <wingo@pobox.com>
850 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
851 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
852 removal: re-add GST_GHOST_PAD_CAST to the header.
854 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
855 (GstGhostPadClass): Publically expose these structures so as to
856 allow easy subclassing from C. Hide the member data behind a
857 private opaque data pointer.
859 * gst/gstghostpad.c: Adapt to store instance data in the type
860 instance's private data region, not in the public struct.
862 2008-10-08 Andy Wingo <wingo@pobox.com>
864 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
865 template via g_object_get(), be sure to unref it.
867 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
869 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
871 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
872 If we can't get a cache file don't try to save something to it.
873 Dereferencing NULL pointers usually isn't a good idea.
875 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
877 * tests/check/Makefile.am:
878 * tests/check/gst/gstabi.c:
879 * tests/check/gst/struct_sparc.h:
880 * tests/check/libs/libsabi.c:
881 * tests/check/libs/struct_sparc.h:
884 * tests/check/gst/gstvalue.c: (GST_START_TEST):
885 Cast signed integer to unsigned to avoid a compiler warning.
887 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
889 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
890 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
891 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
892 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
893 (gst_byte_reader_peek_int24_be):
894 Use new GST_READ_UINT24_(LE|BE) macros.
896 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
898 * docs/gst/gstreamer-sections.txt:
900 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
901 as it's too easy to break the ISO C strict aliasing rules with simple
902 casts to the corresponding type and this would introduce hard to debug
903 bugs. Fixes bug #545714.
905 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
907 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
909 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
910 * gst/gstghostpad.c: (gst_ghost_pad_construct):
911 Add 'Since' bits to gtk-doc chunks for new API.
913 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
915 * docs/gst/gstreamer-sections.txt:
918 2008-10-06 Andy Wingo <wingo@pobox.com>
920 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
921 that will be called on the malloc_data to free it. Basically a way
922 to avoid subclassing when all you need is a different free
923 function, i.e. free() instead of g_free().
925 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
926 calling the free function.
927 (gst_buffer_init): Initialize the free function to g_free.
929 2008-10-06 Andy Wingo <wingo@pobox.com>
932 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
933 finishes the initialization of ghost pad. Useful for language
934 bindings and subclassers of GstGhostPad. Fixes #539108.
935 (gst_ghost_pad_new_full): Use the new constructor.
937 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
939 Base on Patch by: Olivier Crete <tester at tester dot ca>
941 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
942 (gst_bin_remove_func), (update_degree),
943 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
944 Keep track of pads that are being linked/unlinked and resync the state
947 * gst/gstpad.c: (gst_pad_get_direction),
948 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
949 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
950 (gst_pad_link_prepare), (gst_pad_link),
951 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
952 (gst_pad_check_pull_range), (gst_pad_get_range),
953 (gst_pad_pull_range):
954 Some code cleanups, use macros to check pad direction.
955 Don't need to take the lock on the pad direction.
956 Post structure change when pads are linked/unlinked.
957 Change some checks into _return_if_fail().
959 * tests/check/gst/gstbin.c:
960 (test_link_structure_change_state_changed_sync_cb),
961 (GST_START_TEST), (gst_bin_suite):
962 Add testcase for pad link/unlinke resync during a state change.
965 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
967 * docs/gst/gstreamer-sections.txt:
968 * gst/gstmessage.c: (gst_message_new_structure_change),
969 (gst_message_parse_structure_change):
971 Implement STRUCTURE_CHANGED messages. These messages will be used to
972 signal the parent bin of link/unlink operations that could require a
973 resync when doing a state change. See ##510354.
974 API: gst_message_new_structure_change()
975 API: gst_message_parse_structure_change()
977 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
981 Add some more quarks for new message. See #510354.
983 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
985 * docs/libs/gstreamer-libs-docs.sgml:
986 * docs/libs/gstreamer-libs-sections.txt:
987 * libs/gst/base/Makefile.am:
988 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
989 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
990 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
991 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
992 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
993 (gst_bit_reader_skip_to_byte):
994 * libs/gst/base/gstbitreader.h:
995 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
996 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
997 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
998 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
999 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1000 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1001 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1002 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1003 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1004 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1005 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1006 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1007 * libs/gst/base/gstbytereader.h:
1008 * tests/check/Makefile.am:
1009 * tests/check/libs/bitreader.c: (GST_START_TEST),
1010 (gst_bit_reader_suite):
1011 * tests/check/libs/bytereader.c: (GST_START_TEST),
1012 (gst_byte_reader_suite):
1013 API: Add bit reader and byte reader classes, including documentation
1014 and an extensive unit test suite. Fixes bug #553554.
1016 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1018 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1019 (gst_base_sink_query):
1020 Improve position reporting while flushing and other intermediate state
1021 changes. Fixes #553874.
1023 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1025 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1027 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1028 Original patch by : Simon Descaries
1029 Fix small refount leak in caps compatibility check.
1032 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1034 * docs/pwg/advanced-request.xml:
1035 Fix 0.8 api usage in example. Fixes #554561
1037 * docs/pwg/appendix-porting.xml:
1038 Change 0.9 to 0.10 here.
1040 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1042 * docs/manual/basics-data.xml:
1043 Change "event-event interaction" to "element-element interaction".
1044 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1047 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1050 Back to development -> 0.10.21.1
1052 === release 0.10.21 ===
1054 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1057 releasing 0.10.21, "Take These Things From Me"
1059 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1062 0.10.20.4 pre-release
1064 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1066 * libs/gst/base/gstbasetransform.c:
1067 * plugins/elements/gstcapsfilter.c:
1068 * tests/check/Makefile.am:
1069 * tests/check/elements/.cvsignore:
1070 * tests/check/elements/capsfilter.c:
1071 Fix assertion in basetransform when the subclass chooses not to
1072 allocate a buffer in prepare_buffer(), and make capsfilter error out
1073 cleanly if requested to apply caps that don't completely specify the
1074 buffer. Fixes #551509
1076 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1078 * libs/gst/base/gstbasetransform.c:
1079 (gst_base_transform_prepare_output_buffer):
1080 Take new caps ref because our old one might have been gone when the
1081 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1083 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1086 Do not probe availability of check unit test library when cross
1087 compiling, as test would not work anyway. Also cleanup verbose output
1088 of the check test. Fixes #551952.
1090 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1092 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1094 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1095 Avoid leaking the parent ref when we fail changing the state of the
1096 element using gst_element_sync_state_with_parent(). Fixes #551978.
1098 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1100 * docs/manual/intro-motivation.xml::
1101 Remove some bits that no longer apply, update others (#551642).
1103 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1106 0.10.20.2 pre-release
1114 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1116 * win32/common/config.h.in:
1117 Add GST_DATADIR, hard-code cpu to x86.
1119 * win32/common/libgstreamer.def:
1122 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1125 Fix Since: markers for new geo tags.
1127 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1130 Fix actual tag name define after renaming from altitude to elevation.
1132 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1134 * gst/gstpad.c: (add_unref_pad_to_list),
1135 (gst_pad_get_internal_links_default):
1136 Add fallback when calling the deprecated function on an element that
1137 implements the new internal_link handler.
1139 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1141 * docs/gst/gstreamer-sections.txt:
1144 Add new tags for geo location and clarify purpose of existing location
1147 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1149 Patch by: Olivier Crete <tester at tester dot ca>
1151 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1152 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1153 Use thread-safe internal links iterator. Fixes #549504.
1155 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1157 Based on patch by: Olivier Crete <tester at tester dot ca>
1159 * docs/gst/gstreamer-sections.txt:
1160 * win32/common/libgstreamer.def:
1161 * gst/gstpad.c: (gst_pad_init),
1162 (gst_pad_set_iterate_internal_links_function),
1163 (int_link_iter_data_free), (iterate_pad),
1164 (gst_pad_iterate_internal_links_default),
1165 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1167 Add threadsafe replacement functions for getting internal links of an
1168 element. Deprecate the old internal links functions.
1169 API:GstPad::gst_pad_set_iterate_internal_links_function()
1170 API:GstPad::GstPadIterIntLinkFunction
1171 API:GstPad::gst_pad_iterate_internal_links()
1172 API:GstPad::gst_pad_iterate_internal_links_default()
1174 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1175 (gst_proxy_pad_init):
1176 Implement threadsafe internal links.
1178 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1179 Unit test for internal links on tee. See #549504.
1181 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1183 * tests/check/Makefile.am:
1184 libs/transform1 test requires libs/test_transform.c
1186 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1188 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1189 Die evil deadlock, die !
1191 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1193 * gst/gstutils.c: (gst_element_get_compatible_pad):
1194 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1195 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1196 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1197 not steal the refcount of the given caps as stated.
1199 REVERT THIS COMMIT ONCE FIXED !
1200 REVERT THIS COMMIT ONCE FIXED !
1201 REVERT THIS COMMIT ONCE FIXED !
1202 REVERT THIS COMMIT ONCE FIXED !
1203 REVERT THIS COMMIT ONCE FIXED !
1204 REVERT THIS COMMIT ONCE FIXED !
1206 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1208 * gst/gstiterator.c:
1209 * gst/gstiterator.h:
1210 After 3 years it's about time to revise the documentation of the
1213 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1215 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1216 Make the internal links function less thread-unsafe and add some
1217 comments, dunno why.
1219 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1221 * gst/gst_private.h:
1222 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1223 build with --disable-gst-debug.
1225 2008-08-28 David Schleef <ds@schleef.org>
1227 * gst/gstpadtemplate.c: Revert last change, since it breaks
1228 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1229 but shouldn't be enabled until we've released fixed versions
1230 of -good and -ffmpeg.
1232 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1235 Put the gst_object_get_name() back in.
1237 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1239 * gst/gstpadtemplate.c:
1240 The old behaviour was that gst_pad_template_new() takes ownership of
1241 the caps. As we now call g_object_new() which calls g_object_set() and
1242 which copies the caps, we have to unref them to not leak them. Fixes
1243 make valgrid for me.
1245 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1248 Don't segfault on input like "tel:+1-123-555-1234".
1250 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1253 Due to popular request also include ObjectType in
1254 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1256 2008-08-26 David Schleef <ds@schleef.org>
1258 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1259 src_val must be positive, because that's not a requirement.
1260 This causes problems with converting negative granulepos
1262 * gst/gstquery.c: Same, gst_query_new_convert().
1264 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1266 * gst/gstclock.c: (gst_clock_add_observation):
1267 Add some more debugging to the clock slaving code.
1269 * win32/common/libgstbase.def:
1270 Add new basetransform method.
1272 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1274 * gst/gstbin.c: (gst_bin_element_set_state):
1275 Take the (recursive) state lock between getting the locked state of an
1276 element and changing the element state. This allows the application to
1277 lock an element's state and then change its state without races.
1279 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1281 * gst/gstbin.c: (gst_bin_element_set_state):
1282 When an element is in the locked state we still want to update the
1283 base_time of the element.
1285 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1287 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1288 Use the result from gst_pad_set_caps() instead of assuming the element
1289 always accepted the caps computed by the default negotiate function.
1291 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1293 * docs/libs/gstreamer-libs-sections.txt:
1294 * libs/gst/base/gstbasetransform.c:
1295 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1296 (gst_base_transform_chain), (gst_base_transform_suggest),
1297 (gst_base_transform_reconfigure):
1298 * libs/gst/base/gstbasetransform.h:
1299 Implement method for reconfiguring basetransform.
1300 API: GstBaseTransform::gst_base_transform_reconfigure()
1302 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1304 patch by: Murray Cumming <murrayc@murrayc.com>
1307 Mention that this is just like gst_buffer_merge() but with extra
1308 unreffing for C coders. Advise language bindings not to wrap it.
1311 Also fix file comment.
1313 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1315 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1317 * plugins/elements/gstfakesink.c:
1318 * plugins/elements/gstfakesrc.c:
1319 Call super::event() when not handling it. Fixes #544855.
1321 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1323 Patch by: Alessandro Decina <alessandro@nnva.org>
1324 * plugins/elements/gstfilesrc.c:
1325 Use 64 bit variants of stat functions on win32, to enable support
1326 of large files there.
1329 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1331 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1332 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1333 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1334 (gst_base_sink_get_position), (gst_base_sink_change_state):
1335 Improve position reporting in the flushing state.
1336 Also report the position when we are not yet prerolled but we
1337 have a newsegment event. Fixes #543444.
1338 Improve the pull-based negotiation code.
1340 * tests/check/elements/fakesink.c: (GST_START_TEST),
1342 Add testcase for position reporting while flushing in PAUSED and
1345 * tests/check/generic/sinks.c: (GST_START_TEST):
1346 Update unit-test, we can now query the position as soon as we receive a
1349 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1351 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1353 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1354 When the subclass event handler releases the PREROLL_LOCK, we could be
1355 in the flushing state and we have to ignore the event. Fixes #548394.
1357 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1359 * tools/gst-launch.1.in:
1360 Document GST_REGISTRY_UPDATE environment variable.
1362 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1364 * libs/gst/base/gstbasetransform.c:
1365 (gst_base_transform_prepare_output_buffer):
1366 If the element is configured in passthrough mode but the
1367 prepare_output_buffer gave us a new output buffer, discard that buffer
1368 and reuse the input buffer.
1370 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1372 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1374 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1375 (gst_tee_request_new_pad), (gst_tee_release_pad),
1376 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1377 * plugins/elements/gsttee.h:
1378 Protect pad_alloc with a new lock so that we can be sure that nothing is
1379 performing a pad_alloc when removing the pad. Fixes #547835.
1381 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1382 (buffer_alloc_harness_teardown), (app_thread_func),
1383 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1384 Added testcase for shutdown race.
1386 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1391 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1393 * libs/gst/base/gstbasetransform.c:
1394 (gst_base_transform_prepare_output_buffer),
1395 (gst_base_transform_buffer_alloc):
1396 Go over the buffer_alloc function again and make sure we always end up
1397 allocating a buffer.
1399 Avoid doing pad alloc when we have a pending suggestion because we
1400 cannot yet deal with changing caps in that case. Fixes #547728
1402 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1404 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1406 * docs/manual/advanced-clocks.xml:
1407 * docs/manual/clocks.png:
1408 * docs/manual/diagrams-clocks.svg:
1409 Add one more image showing different times together with a describing
1410 paragraph. Fixes #547729.
1412 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1414 * win32/common/libgstbase.def:
1417 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1419 * libs/gst/base/gstbasetransform.c:
1420 (gst_base_transform_transform_caps),
1421 (gst_base_transform_prepare_output_buffer),
1422 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1423 Don't overwrite the outsize when calculating the expected size of a new
1424 buffer because we still need it in case we cannot process the new
1426 When converting the size of the new buffer to an upstream size, actually
1427 use the expected size of the buffer, not some other random value.
1428 Use an atomic int to signal that a new upstream caps suggestion is
1430 When we can convert the current buffer to a new format, check if the
1431 buffer size is of the expected size and allocate a new buffer of the
1432 expected size when this is not the case. Fixes #546883.
1434 * tests/check/libs/transform1.c: (GST_START_TEST):
1435 remove ifdeffed code from the unit test.
1437 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1439 * pkgconfig/gstreamer-uninstalled.pc.in:
1440 * pkgconfig/gstreamer.pc.in:
1441 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1442 called gstcontroller-0.10.
1444 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1446 * gst/gstchildproxy.h:
1448 Remove double interface from doc-string.
1450 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1452 * libs/gst/base/gstbasesrc.c:
1453 * libs/gst/base/gstbasetransform.c:
1454 Fix headings in docs and gtk-doc warnings.
1456 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1458 * gst/gstregistrybinary.c:
1459 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1463 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1465 * libs/gst/base/gstbasetransform.c:
1466 (gst_base_transform_buffer_alloc):
1467 Fix a "may be used unitialized" warning.
1469 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1471 * docs/gst/gstreamer-sections.txt:
1473 Document preset-iface vmethods.
1475 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1477 * docs/manual/advanced-interfaces.xml:
1478 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1479 only used to discover devices.
1481 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1483 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1485 * gst/gst.c: (init_pre):
1486 Make sure gettext returns translations in UTF-8 encoding rather
1487 than in the current locale encoding (#546822).
1489 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1491 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1494 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1495 Improve unit test subset tests and add a testcase for the subset failure
1498 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1499 Improve subtraction unit test.
1501 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1503 * plugins/elements/gsttee.c:
1504 Unlock, instead of locking again.
1506 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1509 Clarify the docs a bit more.
1511 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1513 * tests/examples/metadata/read-metadata.c:
1514 Don't leak old taglist.
1516 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1518 Patch by: Olivier Crete <tester at tester dot ca>
1520 * gst/gststructure.c:
1521 (gst_structure_fixate_field_nearest_fraction):
1522 Avoid overflows in fixation code when dealing with MAXINT values, which
1523 v4l2src seems to do.
1526 * tests/check/gst/gststructure.c: (GST_START_TEST):
1527 Make a unit test to check the fix.
1529 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1531 * plugins/elements/gstcapsfilter.c: (copy_func),
1532 (gst_capsfilter_set_property):
1533 Use new caps suggestion feature of basetransform to request a caps
1534 negotiation upstream.
1536 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1538 * docs/libs/gstreamer-libs-sections.txt:
1540 API: GstBaseTransform::gst_base_transform_suggest()
1542 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1543 (gst_base_transform_init), (gst_base_transform_transform_caps),
1544 (gst_base_transform_transform_size),
1545 (gst_base_transform_configure_caps),
1546 (gst_base_transform_can_transform),
1547 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1548 (gst_base_transform_prepare_output_buffer),
1549 (gst_base_transform_buffer_alloc),
1550 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1551 (gst_base_transform_chain), (gst_base_transform_activate),
1552 (gst_base_transform_set_passthrough),
1553 (gst_base_transform_is_passthrough),
1554 (gst_base_transform_set_in_place),
1555 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1556 (gst_base_transform_set_qos_enabled),
1557 (gst_base_transform_is_qos_enabled),
1558 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1559 (gst_base_transform_reconfigure):
1560 * libs/gst/base/gstbasetransform.h:
1561 Rewrite of basetransform to perform negotiation outside of the
1562 buffer_alloc functions. Fixes #545853.
1564 * tests/check/libs/transform1.c: (GST_START_TEST),
1568 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1570 * tests/check/gst/gstpreset.c:
1571 Only run preset tests when $HOME is writable. Preliminary fix for
1574 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1576 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1577 (gst_bin_change_state_func), (bin_handle_async_done),
1578 (gst_bin_handle_message_func):
1579 Fix race for bins that simulate ASYNC state changes by inserting
1580 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1581 pending ASYNC messages even when the bin does not have ASYNC children.
1582 We note detect this behaviour because we will receive an ASYNC message
1583 that is originating from the bin itself.
1584 Fixes races with decodebin2 state changes.
1586 * tests/check/gst/gstbin.c: (GST_START_TEST):
1587 Add some more debug.
1589 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1591 * gst/gsttaglist.c: (_gst_tag_initialize):
1594 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1597 Argh. actually save the text before committing. Now adds
1598 gst_tag_merge_strings_with_comma() to gst_tag_register().
1600 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1604 Do as tim pointed out and actually register the new tag. Also improve
1605 te docs and use gst_tag_merge_strings_with_comma() method to allow
1606 retriving all keywords merged in one list.
1608 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1611 * docs/gst/gstreamer.types:
1612 Revert 'accidential' change of the configure option removal. We still
1613 need to generate the types file in configure --disable-load-save.
1615 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1617 * docs/gst/gstreamer-sections.txt:
1619 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1621 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1623 * gst/gstpadtemplate.c:
1624 (gst_pad_template_class_init), (gst_static_pad_template_get),
1625 (gst_pad_template_new), (gst_pad_template_pad_created),
1626 (gst_pad_template_set_property), (gst_pad_template_get_property):
1627 Add "name-template", "direction", "presence" and "caps" properties,
1628 so that gst_pad_template_new() is just a thin wrapper around
1629 g_object_new(), which is better for bindings. (Fixes: #539772)
1631 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1634 Be more liberal in what URIs we accept.
1635 Do not unescape bits of the URI for no apparent reason before passing to
1636 the element. Fixes #545352.
1638 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1640 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1643 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1645 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1648 * docs/gst/gstreamer-sections.txt:
1649 * docs/gst/gstreamer.types:
1650 * docs/gst/gstreamer.types.in:
1653 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1654 * gst/gstconfig.h.in:
1655 * gst/gstelement.c: (gst_element_get_index):
1656 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1657 (gst_registry_binary_load_feature),
1658 (gst_registry_binary_read_cache):
1659 * gst/gstregistryxml.c: (load_feature),
1660 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1661 * plugins/Makefile.am:
1663 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1664 (print_plugin_features), (print_element_features):
1665 * tools/gst-xmlinspect.c: (print_event_masks),
1666 (print_element_info):
1667 * win32/common/gstconfig.h:
1668 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1670 Disabling the indexers and URI handler code will only reduce the
1671 required amount of memory by a very small amount but on the other hand
1672 requires much more maintaince work. Apart from that many places of
1673 code are broken when disabling them.
1675 Disabling the enum types doesn't reduce the required amount of memory
1676 by more than a few bytes and makes it hard to fix bugs like #539772,
1677 i.e. use the enums as GObject properties.
1679 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1681 * docs/design/part-TODO.txt:
1682 Add some thoughts and problems with upstream renegotiation.
1684 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1686 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1687 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1688 Remove silly redundant debug.
1689 Add some more debug info.
1690 Clarify the docs regarding new caps received from pad_alloc.
1692 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1694 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1695 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1696 Make setting the caps more threadsafe.
1698 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1700 * docs/design/part-element-transform.txt:
1703 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1705 * plugins/elements/gstqueue.c: (gst_queue_init),
1706 (gst_queue_acceptcaps):
1707 Add and use a custom acceptcaps function instead of falling back to the
1708 potentially less optimized default implementation.
1710 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1712 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1713 Only sanity-check the buffer size if requested_caps == buffer_caps
1714 (ie. don't take pad caps into account, they're not relevant here)
1716 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1718 * plugins/elements/gsttee.c:
1719 * plugins/elements/gsttee.h:
1720 Reverting as not everything is clear yet. Needs some general design
1723 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1726 ChangeLog surgery for tee commit.
1728 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1730 * docs/gst/gstreamer-sections.txt:
1731 Cleanup section-file.
1733 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1735 * plugins/elements/gsttee.c:
1736 * plugins/elements/gsttee.h:
1737 Relay tag events in tee. Fixes parts of #474016.
1738 Downgrades 3 reoccurring debugs to log.
1740 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1743 * libs/gst/Makefile.am:
1744 Build the net library if we have winsock2.
1746 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1748 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1750 * docs/manual/advanced-threads.xml:
1751 * docs/manual/diagrams-pipelines.svg:
1752 * docs/manual/hello-world.png:
1753 * docs/manual/linked-elements.png:
1754 * docs/manual/mime-world.png:
1755 * docs/manual/queue.png:
1756 * docs/manual/thread-buffering.png:
1757 * docs/manual/thread-synchronizing.png:
1758 Replace one diagram with two separate ones and updates others.
1761 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1764 Fix link in documentation.
1766 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1769 Fix confusing documentation.
1771 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1773 * libs/gst/base/gstbasesrc.h:
1774 revert the changes to the header file for the ABI.
1776 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1778 * libs/gst/base/gstbasesrc.c:
1779 * libs/gst/base/gstbasesrc.h:
1780 Don't cache the seekable status.
1783 2008-07-24 Rene Stadler <mail@renestadler.de>
1785 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1786 code to close the pipeline graph. This prevents the program from
1787 printing internal data flow errors.
1789 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1791 * docs/manual/basics-bus.xml:
1792 Correct typo. Fixes bug #544320.
1794 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1797 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1798 Add check (taken from -base) for winsock, adds WIN32_LIBS
1800 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1802 Define GST_EXPORTS when building libgstreamer (only used on win32)
1803 * gst/gst_private.h:
1805 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1806 for symbols that we need to export in both these files.
1808 Include gst_private.h higher up to avoid some compile problems on win32.
1810 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1815 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1818 Previous commit was wrong NULL caps does not exist
1819 and indicate an error, so also add a FIXME to
1820 gst_caps_is_equal where NULL caps are accepted.
1822 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1825 Allow passing of NULL to gst_caps_union
1827 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1829 * gst/gstghostpad.c:
1830 Add in doc that gst_ghost_pad_set_target can accept
1831 NULL to clear target
1833 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1836 * gst/gstregistry.c:
1837 GstRegistryPool doesn't exist; don't refer to it in docs.
1838 Don't refer to functions that don't exist in docs, it's
1841 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1844 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1846 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1848 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1850 * docs/pwg/building-testapp.xml:
1851 Don't use an undeclared variable in the example program.
1854 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1856 * gst/gstdebugutils.c:
1857 Squeeze ghost-pad links and remove <> from classname labels to save
1858 more horizontal space.
1860 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1862 * gst/gstdebugutils.c:
1863 Give request and sometimes pads a different shpe style. Condense the
1864 graphs a little more.
1866 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1869 Don't require flex and bison if the parser is disabled.
1871 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1873 * libs/gst/controller/gstinterpolationcontrolsource.c:
1874 (_list_find_sorted_custom):
1875 Don't use declarations after statements.
1877 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1879 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1880 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1881 of the the child-added / -removed signals as GstChildProxy
1882 only supports GstObjects.
1884 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1886 * gst/gstdebugutils.c:
1889 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1891 Patch by: Alessandro Decina <alessandro at nnva dot org>
1894 Fix "ignored return value" compiler warning with newer glibc.
1896 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1898 * gst/gstchildproxy.c:
1899 Fix copy&paste error in gst_child_proxy_removed() documentation.
1901 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1903 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1904 Print error debug message if plugin description fields that should
1907 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1908 Don't crash if the string to serialise is NULL (it really should
1909 not be, but apparently this used to work with the xml registry ...).
1911 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1913 * tools/gst-plot-timeline.py:
1914 Fix parsing of log messages
1916 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1918 * win32/common/libgstbase.def::
1919 Sort alphabetically so make check-exports doesn't barf.
1921 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1924 Use gst_format_get_name() to improve debug output.
1927 Remove #ifdef'ed code. Add TODO comment.
1930 Add debug output to ease spotting format != segment.format assertions.
1932 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1934 * tests/check/libs/gdp.c: (gst_dp_suite):
1935 Also enable the GDP unit test again on PPC now that the bug
1938 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1940 * libs/gst/dataprotocol/dataprotocol.c:
1941 Don't write to the same region of memory as a uint64 and uint16
1942 as this breaks strict aliasing rules and apparantly breaks on PPC
1943 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1945 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1947 * libs/gst/controller/gstinterpolationcontrolsource.c:
1948 Optimize list handling. Use own find function. Exploit that fact that
1949 the list is sorted. Also pass back the node before, so that we can
1950 insert quickly. Have a fast path for append.
1952 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1954 * docs/design/draft-framestep.txt:
1955 * docs/design/part-negotiation.txt:
1958 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1961 Show configuration sumary after configure run. Based on patch by
1962 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1964 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1966 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1968 * docs/manual/advanced-autoplugging.xml:
1969 * docs/manual/advanced-threads.xml:
1970 * docs/manual/basics-bins.xml:
1971 * docs/manual/basics-elements.xml:
1972 * docs/manual/basics-helloworld.xml:
1973 * docs/manual/basics-pads.xml:
1974 Add scale factor for pdf output.
1976 * docs/manual/intro-basics.xml:
1977 Switched sections "pads" and "bins" and added a pipeline diagram.
1979 * docs/manual/intro-gstreamer.xml:
1980 Added more info on gstreamer.
1982 * docs/manual/intro-motivation.xml:
1983 Commented out the whole section "current problem", which sounds
1984 historical and somehow osolete; it could be turned in a positive
1985 way and reused to improve the design principles.
1987 * docs/manual/intro-preface.xml:
1988 - Update URLs to library.gnome.org.
1989 - Do not mention GTK+ in preliminary reading (irrelevant).
1990 - Mention Plugin Writer's Manual and further reading only in the
1992 - Added a list of most relevant GObject/glib topics.
1994 * docs/manual/Makefile.am:
1995 * docs/manual/bin-element-ghost.fig:
1996 * docs/manual/bin-element-ghost.png:
1997 * docs/manual/bin-element-noghost.fig:
1998 * docs/manual/bin-element-noghost.png:
1999 * docs/manual/bin-element.fig:
2000 * docs/manual/bin-element.png:
2001 * docs/manual/filter-element-multi.fig:
2002 * docs/manual/filter-element-multi.png:
2003 * docs/manual/filter-element.fig:
2004 * docs/manual/filter-element.png:
2005 * docs/manual/gstreamer-overview.png:
2006 * docs/manual/hello-world.fig:
2007 * docs/manual/hello-world.png:
2008 * docs/manual/linked-elements.fig:
2009 * docs/manual/linked-elements.png:
2010 * docs/manual/mime-world.fig:
2011 * docs/manual/mime-world.png:
2012 * docs/manual/queue.fig:
2013 * docs/manual/queue.png:
2014 * docs/manual/simple-player.png:
2015 * docs/manual/sink-element.fig:
2016 * docs/manual/sink-element.png:
2017 * docs/manual/src-element.fig:
2018 * docs/manual/src-element.png:
2019 * docs/manual/diagrams-general.svg:
2020 * docs/manual/diagrams-pipelines.svg:
2021 Removed .fig, added .png counterpart.
2025 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2027 * plugins/elements/gstmultiqueue.c:
2028 * plugins/elements/gstmultiqueue.h:
2029 revert extra-size-buffers stuff, caused some race conditions
2030 and extra-size-buffers is not used anymore. Docs needs some updates
2032 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2034 * win32/common/config.h:
2035 * win32/common/gstenumtypes.c:
2036 * win32/common/gstenumtypes.h:
2037 * win32/common/gstversion.h:
2040 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2042 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2043 (GST_DEBUG_BIN_TO_DOT_FILE):
2044 Add missing Since' markers to gtk-doc blurbs.
2046 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2048 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2049 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2050 (set_caps_1), (set_caps_ct1), (transform_ct1),
2051 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2052 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2053 (transform_size_ct2), (buffer_alloc_ct2):
2054 Add some more tests with switching caps in buffer_alloc.
2056 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2058 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2059 (gst_test_trans_class_init), (result_sink_chain),
2060 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2061 (gst_test_trans_push), (gst_test_trans_pop):
2062 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2063 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2064 (set_caps_1), (set_caps_ct1), (transform_ct1),
2065 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2066 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2067 (transform_size_ct2), (buffer_alloc_ct2),
2068 (gst_basetransform_suite):
2069 More tests, prepare for tests with switching caps in buffer_alloc.
2071 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2073 * plugins/elements/gstmultiqueue.c:
2074 * plugins/elements/gstmultiqueue.h:
2075 Fix dead-lock in underrun_cb
2077 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2079 * docs/design/part-states.txt:
2080 Fix device open/close docs.
2082 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2085 Mention bugnumber for last commit.
2087 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2089 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2091 * docs/manual/manual.xml:
2092 - Reorganised the previous "introduction" bundle into Foreword,
2093 Introduction, and About GStreamer. The two first are <preface>
2094 docbook elements. The later is the first part of the book.
2095 - added intro-gstreamer.xml (content partially from
2097 - moved appendix-win32.xml into appendix-integration.xml
2099 * docs/manual/intro-preface.xml: gstreamer section moved...
2100 * docs/manual/intro-gstreamer.xml: ...here. new file.
2102 * docs/manual/appendix-win32.xml: removed file. Content moved...
2103 * docs/manual/appendix-integration.xml: ...here.
2105 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2106 * docs/manual/appendix-checklist.xml: ...here.
2110 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2112 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2114 * docs/manual/basics-helloworld.xml:
2115 * docs/manual/hello-world.fig:
2116 - Explicitely include glib.h.
2117 - Do not use global variables.
2118 - Use g_printerr() instead of g_print().
2119 - Minor formating/renaming to increase readibility.
2120 - Renamed new_pad() to on_pad_added()
2121 - Improved explenatory comments.
2122 - renamed ogg parser to ogg demuxer
2123 - Use "autoaudiosink" instead of "alsasink".
2126 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2129 Remove cvs conflict marker.
2131 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2134 Document that for plgin-docs we extraxt he short-desc from the element
2137 * docs/design/part-states.txt:
2138 Tell that devices should be closed in PAUSED -> READY.
2140 * docs/manual/README:
2141 Document how tests in the manual are handled.
2146 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2148 * gst/gstbin.c: (bin_query_latency_fold):
2149 Only care about latency min and max when the sink is actually a live
2152 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2154 * docs/design/part-block.txt:
2157 * docs/design/part-element-transform.txt:
2158 Add notes about why transform needs to know input/output sizes.
2159 Add some issues that need to be solved.
2160 Add some more use cases.
2162 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2163 (gst_test_trans_class_init), (result_sink_chain),
2164 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2165 (gst_test_trans_push), (gst_test_trans_pop):
2166 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2167 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2168 (set_caps_1), (set_caps_ct1), (transform_ct1),
2169 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2170 (gst_basetransform_suite):
2171 Add suport for different pad templates and buffer-alloc.
2172 Add more checks for caps and buffer-alloc.
2173 Add checks for proxy buffer alloc.
2174 Add unit test for copy transform.
2176 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2178 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2180 * docs/manual/appendix-integration.xml:
2181 * docs/manual/appendix-licensing.xml:
2182 * docs/manual/basics-elements.xml:
2183 * docs/manual/basics-helloworld.xml:
2184 * docs/manual/basics-pads.xml:
2185 * docs/manual/highlevel-components.xml:
2186 * docs/manual/highlevel-xml.xml:
2187 * docs/manual/intro-basics.xml:
2188 * docs/manual/intro-preface.xml:
2189 Typo and formatting fixes (#538594).
2191 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2193 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2194 Fix some memory leaks and uses of object instances that we don't
2197 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2199 * plugins/elements/gstmultiqueue.c:
2200 Add functionality to extra-size-buffers property.
2202 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2204 * plugins/elements/gstmultiqueue.c:
2205 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2206 activate the pads if they are added in STATE_NULL.
2208 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2210 * docs/libs/gstreamer-libs-sections.txt:
2212 * libs/gst/check/gstcheck.c:
2213 * libs/gst/check/gstcheck.h:
2214 API: gst_check_teardown_pad_by_name
2216 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2218 * libs/gst/check/gstcheck.c:
2219 * libs/gst/check/gstcheck.h:
2220 Also setup request pads and allow setup pads by name (#537812)
2221 API: gst_check_setup_src_pad_by_name
2222 API: gst_check_setup_sink_pad_by_name
2224 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2226 * tests/check/gst/gstbuffer.c:
2227 * tests/check/pipelines/parse-launch.c:
2228 Use HAVE_VALGRIND_H some more.
2230 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2232 * scripts/cvs-update.sh:
2233 Pass arguments to make.
2234 Run autoregen.sh if Makefile is not there.
2236 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2240 Don't assume that <valgrind/valgrind.h> exists just because
2241 the binary is there.
2243 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2245 * tests/check/Makefile.am:
2246 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2247 (gst_test_trans_class_init), (gst_test_trans_init),
2248 (gst_test_trans_set_data), (result_sink_chain),
2249 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2250 (gst_test_trans_pop):
2251 * tests/check/libs/transform1.c: (GST_START_TEST),
2252 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2253 Add some test basetransform element and the beginnings of various
2256 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2258 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2259 Increase code readability.
2260 Don't try to compare buffer offsets when ther are invalid.
2262 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2264 * docs/design/Makefile.am:
2265 Dist some more design docs.
2267 * docs/random/moving-plugins:
2268 Small addition: good plugins mustn't have functional code
2269 within assertion macros.
2271 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2273 * docs/design/draft-framestep.txt:
2274 Some ideas about a framestep API
2276 * docs/design/part-element-transform.txt:
2277 Start design and use cases for basetransform in order to get it
2280 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2283 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2284 be in UTF-8 encoding.
2286 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2289 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2291 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2293 * plugins/elements/gstcapsfilter.c:
2294 * plugins/elements/gstfakesink.c:
2295 * plugins/elements/gstfakesrc.c:
2296 * plugins/elements/gstfdsink.c:
2297 * plugins/elements/gstfdsrc.c:
2298 * plugins/elements/gstfilesink.c:
2299 * plugins/elements/gstfilesrc.c:
2300 * plugins/elements/gstidentity.c:
2301 * plugins/elements/gstmultiqueue.c:
2302 * plugins/elements/gstqueue.c:
2303 * plugins/elements/gsttee.c:
2304 * plugins/elements/gsttypefindelement.c:
2305 Remove short_description. Add basic docs for gsttypefindelement.
2306 Simplify markup for fakesrc/fdsrc.
2308 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2310 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2313 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2315 Patch by: Joel Larsson <tilljoel at gmail dot com>
2317 * docs/plugins/gstreamer-plugins.args:
2318 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2319 (gst_fd_src_init), (gst_fd_src_update_fd),
2320 (gst_fd_src_set_property), (gst_fd_src_get_property),
2321 (gst_fd_src_create):
2322 * plugins/elements/gstfdsrc.h:
2323 Add timeout property like udpsrc. Fixes #538628.
2324 Add some more docs and example pipelines.
2326 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2328 * docs/libs/gstreamer-libs-sections.txt:
2329 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2330 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2331 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2332 (gst_base_sink_do_sync):
2333 * libs/gst/base/gstbasesink.h:
2334 * win32/common/libgstbase.def:
2335 Add method to allow sinks to specify additional delay between the sync
2336 times and the actual rendering of the data.
2337 API: gst_base_sink_set_render_delay()
2338 API: gst_base_sink_get_render_delay()
2340 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2343 Bump version number back to dev -> 0.10.20.1
2345 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2347 * docs/gst/gstreamer-sections.txt:
2348 * gst/gsttaglist.c: (_gst_tag_initialize):
2350 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2353 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2355 * libs/gst/controller/gstcontroller.c:
2356 Revert one change, that make ret value possible uninitialized.
2358 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2360 * libs/gst/controller/gstcontroller.c:
2361 Use freeze/thaw notify to sync notify emission a bit (its also more
2362 efficient). Move debug output to LOG (is called a lot in a loop).
2363 Always unset g_values if the have been initialized.
2365 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2367 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2368 (gst_base_sink_wait_eos), (gst_base_sink_event):
2369 If we have not seen a buffer before EOS, use the segment values to
2370 report the current position instead of invalid positions.
2372 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2374 * docs/plugins/tmpl/.cvsignore:
2375 * tests/check/gst/.cvsignore:
2378 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2380 * libs/gst/controller/gstinterpolation.c:
2381 * libs/gst/controller/gstinterpolationcontrolsource.c:
2382 * tests/check/libs/controller.c:
2383 Rewrite handling of default values. Fix overflow with unsigned types
2384 in linear interpolation. Remove now obsolete _first_value() function.
2385 Add more tests. Fixes #538201.
2387 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2389 * libs/gst/base/gstbasetransform.c:
2390 (gst_base_transform_class_init), (gst_base_transform_init),
2391 (gst_base_transform_transform_caps),
2392 (gst_base_transform_prepare_output_buffer):
2394 When a buffer is writable, its metadata is also writable so we don't
2395 need to subbuffer (which then makes the buffer not-writable anymore).
2397 === release 0.10.20 ===
2399 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2402 releasing 0.10.20, "You Crazy Diamond"
2404 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2407 0.10.19.3 pre-release
2409 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2413 Rename DATADIR to GST_DATADIR to avoid build problems
2414 on win32. Patch By: David Schleef <ds@schleef.org>
2417 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2420 Explicitely link with -ldl if dladdr() is found there. Before it was
2421 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2422 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2424 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2426 * gst/gsterror.c: (_gst_stream_errors_init):
2427 Fix typo (spotted by Fabricio Godoy, #536723).
2429 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2432 0.10.19.2 pre-release
2434 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2436 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2437 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2439 Make sure we don't generate invalid QoS messages.
2441 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2443 * gst/gstevent.c: (gst_event_new_qos):
2444 Add some assert and docs for invalid input to the qos function.
2446 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2448 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2449 (gst_base_sink_get_position):
2450 The reported position must always be smaller than the last seen
2451 timestamps (or timestamp + duration for reverse).
2453 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2455 Patch by: Rob Bradford <rob at robster dot org dot uk>
2457 * gst/gstregistry.c: (gst_registry_scan_path_level):
2458 Don't recurse into .debug directories as some distros install
2459 the debugging symbols next to the plugins in .debug directories
2460 and dlopen() crashes on them sometimes. Fixes bug #508070.
2462 Add FIXME for 0.11 to not recurse into directories at all because
2463 it's very inconsistent to the behaviour of other PATH environment
2466 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2468 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2469 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2470 Fix position query range checks in reverse playback.
2472 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2476 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2477 clear of the reference to the resulting pad must be released later
2478 or not, resulting in possible leaks. Fixes bug #533865.
2480 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2482 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2484 * gst/gstelementfactory.c:
2485 Small doc fix. Fixes #535285.
2487 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2489 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2491 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2492 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2493 (gst_base_src_loop), (gst_base_src_set_flushing),
2494 (gst_base_src_change_state):
2495 Make sending an EOS event to the basesrc non-blocking even if the
2496 implementation does blocking waits in the create function. This is done
2497 by unlocking the create function when EOS is sent.
2500 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2502 * tools/gst-inspect.c: (print_element_properties_info):
2503 If possible print the element type of GValueArray properties.
2505 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2507 * gst/gstiterator.c:
2508 Remove an unused field from the private GstListIterator struct.
2510 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2512 * libs/gst/controller/gstcontroller.c:
2513 Add parameter guards.
2515 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2517 * tests/check/gst/gstpipeline.c:
2518 Revert test change and add comment why it should not work.
2520 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2522 * tests/check/gst/gstpipeline.c:
2523 Extending the test a little to verify that we also get the NULL state-
2526 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2528 * gst/gstpreset.c: (gst_preset_default_get_meta),
2529 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2530 (gst_preset_load_preset), (gst_preset_save_preset),
2531 (gst_preset_rename_preset), (gst_preset_delete_preset),
2532 (gst_preset_set_meta):
2533 Add Since: markers to docs blurbs.
2535 * win32/common/libgstreamer.def:
2536 Add recently-added API.
2538 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2540 Patch by: Stefan Kost <ensonic@users.sf.net>
2543 Add DATADIR for storing presets.
2545 * docs/gst/gstreamer-docs.sgml:
2546 * docs/gst/gstreamer-sections.txt:
2547 * docs/gst/gstreamer.types.in:
2548 Add GstPreset to docs.
2552 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2553 (preset_open_and_parse_header), (preset_parse_version),
2554 (preset_merge), (preset_get_keyfile),
2555 (gst_preset_default_get_preset_names),
2556 (gst_preset_default_get_property_names),
2557 (gst_preset_default_load_preset),
2558 (gst_preset_default_save_presets_file),
2559 (gst_preset_default_save_preset),
2560 (gst_preset_default_rename_preset),
2561 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2562 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2563 (gst_preset_default_reset), (gst_preset_get_preset_names),
2564 (gst_preset_get_property_names), (gst_preset_load_preset),
2565 (gst_preset_save_preset), (gst_preset_rename_preset),
2566 (gst_preset_delete_preset), (gst_preset_set_meta),
2567 (gst_preset_get_meta), (gst_preset_class_init),
2568 (gst_preset_base_init), (gst_preset_get_type):
2570 Add GstPreset to core. Fixes #396779
2572 * tests/check/Makefile.am:
2573 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2574 (gst_preset_test_set_property), (gst_preset_test_class_init),
2575 (gst_preset_test_base_init), (gst_preset_test_get_type),
2576 (gst_preset_test_plugin_init), (GST_START_TEST),
2577 (remove_preset_file), (test_setup), (test_teardown),
2579 Add GstPreset unit tests.
2581 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2583 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2584 The default event function on a sinkpad should return TRUE when
2585 there are no internal links but should collect the return values from
2586 the internal links otherwise.
2588 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2590 * plugins/elements/gsttypefindelement.c:
2591 (gst_type_find_element_src_event),
2592 (gst_type_find_element_handle_event):
2593 Use faster and safer _pad_push_event().
2595 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2597 * docs/gst/gstreamer-sections.txt:
2598 * gst/gstutils.c: (element_find_unlinked_pad),
2599 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2601 API: add gst_bin_find_unlinked_pad()
2602 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2604 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2610 Fixed a bunch of typos.
2612 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2615 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2616 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2617 (gst_parse_bin_from_description_full):
2619 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2621 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2623 * docs/pwg/advanced-tagging.xml:
2624 Small docs update, can't be bothered to rewrite the nonsensical
2627 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2630 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2632 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2634 * gst/parse/grammar.y:
2635 Remove unneeded casts.
2637 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2639 * gst/parse/grammar.y:
2640 * tests/check/pipelines/parse-launch.c:
2641 Get all missing elements from a parse launch string if possible
2642 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2644 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2646 * tests/check/Makefile.am:
2647 * tests/check/pipelines/parse-launch.c:
2648 Add some unit tests for the new gst_parse_launch*_full() API.
2649 (Exposes a previously-existing memory leak in the error code
2650 path, so adding to VALGRIND_TO_FIX for now).
2652 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2654 * docs/gst/gstreamer-sections.txt:
2655 * gst/gst.c: (init_post):
2656 * gst/gst_private.h: (_GstParseContext):
2657 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2658 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2659 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2660 (gst_parse_launch_full):
2661 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2662 (GstParseFlags), (GstParseContext):
2663 * gst/gstutils.c: (gst_parse_bin_from_description),
2664 (gst_parse_bin_from_description_full):
2666 * gst/parse/grammar.y:
2667 * gst/parse/types.h:
2668 * win32/common/libgstreamer.def:
2669 Add new gst_parse_*_full API (#528178):
2670 API: gst_parse_launch_full()
2671 API: gst_parse_launchv_full()
2672 API: gst_parse_bin_from_description_full()
2673 API: gst_parse_context_new()
2674 API: gst_parse_context_free()
2675 API: gst_parse_context_get_missing_elements()
2677 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2679 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2681 * docs/faq/gst-uninstalled:
2682 Also support ffmpeg in gst-uninstalled.
2684 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2687 After discussion on IRC use the binary registry as default
2688 but allow to disable it with --disable-binary-registry.
2690 * win32/common/libgstreamer.def:
2691 Add the two new symbols for the binary registry.
2693 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2695 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2696 * gst/gstutils.c: (gst_parse_bin_from_description):
2697 * gst/parse/grammar.y: (graph):
2698 More guards against bad input; typo fix; some minor clean-ups.
2700 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2702 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2704 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2705 If nothing else can be used, use the last buffer's start time as
2706 the segment's last stop. Fixes bug #534258.
2708 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2710 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2711 Move size sanity check to the right place: downstream may return
2712 a buffer with a smaller size if the buffer caps are different than
2713 the requested ones, as may happen when doing reverse negotiation.
2715 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2717 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2718 (gst_file_sink_render):
2719 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2720 (gst_file_src_start):
2721 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2724 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2726 * gst/gstpad.c: (gst_pad_load_and_link):
2727 * gst/gstutils.c: (gst_element_link_pads),
2728 (gst_element_unlink_pads):
2729 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2730 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2731 (gst_check_teardown_sink_pad),
2732 (gst_check_element_push_buffer_list):
2733 * tests/check/elements/fakesink.c: (GST_START_TEST):
2734 * tests/check/elements/filesink.c:
2735 * tests/check/elements/filesrc.c: (GST_START_TEST):
2736 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2737 (mq_sinkpad_to_srcpad):
2738 * tests/check/elements/tee.c: (GST_START_TEST):
2739 * tests/check/generic/sinks.c: (GST_START_TEST):
2740 * tests/check/gst/gstbin.c: (GST_START_TEST):
2741 * tests/check/gst/gstevent.c: (GST_START_TEST):
2742 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2743 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2744 * tests/check/gst/gstquery.c: (GST_START_TEST):
2745 * tests/check/gst/gstutils.c: (GST_START_TEST):
2746 * tests/check/libs/basesrc.c: (GST_START_TEST):
2747 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2748 (gst_parse_test_element_change_state):
2749 Don't use gst_element_get_pad().
2751 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2754 Fix installing plugin documentation when gtk-doc is disabled.
2756 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2758 * docs/manual/advanced-autoplugging.xml:
2759 * docs/manual/basics-helloworld.xml:
2760 * docs/manual/basics-pads.xml:
2761 * docs/manual/highlevel-components.xml:
2762 Avoid using a bad function in the example code.
2764 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2766 * gst/gstclock.c: (gst_clock_set_calibration):
2767 Fix debug of the new clock rate.
2769 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2771 * win32/common/libgstbase.def:
2772 Add gst_base_sink_wait_clock() to the exported symbols.
2774 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2776 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2778 * libs/gst/base/gstbasetransform.c:
2779 (gst_base_transform_sink_event):
2780 Unref events that the GstBaseTransform::event vfunc didn't want to
2781 have forwarded by the base class. Closes a leak in identity.
2784 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2786 * docs/libs/gstreamer-libs-sections.txt:
2787 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2788 * libs/gst/base/gstbasesink.h:
2789 Expose a method that was previously used internally to synchronize
2790 against the clock because it can be useful for subclasses too.
2791 API: GstBaseSink::gst_base_sink_wait_clock()
2793 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2795 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2796 Add sanity check to make sure we don't get smaller buffers
2797 than requested (and fallback to normal buffer alloc if we do).
2799 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2801 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2802 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2803 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2804 Refactor adjusting the running_time with latency and offset into a
2806 When doing clipping, we still want to use the subclass get_times method,
2807 just in case the DURATION or TIMESTAMP are not set.
2809 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2811 * docs/gst/gstreamer-sections.txt:
2812 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2813 * gst/gsttypefind.h:
2814 * win32/common/libgstreamer.def:
2815 API: add gst_type_find_suggest_simple(), #533740.
2817 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2819 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2820 Use right error code when typefinding fails, so we can use
2821 the default (translated) error messages.
2823 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2825 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2826 (gst_base_src_start):
2827 When the subclass did not set caps on outgoing buffers, configure the
2828 caps we negotiated on the source pad.
2829 When the typefind helper does not find caps, error out properly instead
2830 of doing things with NULL caps.
2832 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2834 * gst/gsttypefind.h:
2835 Tabs to spaces, oh yes!
2837 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2839 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2840 Add David's and Benjamin's tests for array intersection to the
2841 unit test suite (#147931).
2843 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2846 Document that gst_event_new_tag() and gst_event_new_navigation()
2847 take ownership of the taglist/structure passed to them. (#533635).
2849 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2852 Don't descend into the plugins dir if plugin docs building
2856 Add a note about the new type:GTypeName syntax for the plugin
2857 documentation .types file.
2859 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2861 * gst/gstmessage.c: (gst_message_new_error),
2862 (gst_message_new_warning), (gst_message_new_info):
2864 Mark the debug string parameters as const. Fixes bug #533490.
2866 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2868 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2869 Sort buffer cache list by end offsets. This makes sure that we don't
2870 stop to search for a cached buffer that contains the requested data
2872 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2873 more efficient. Fixes bug #459862.
2875 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2878 Explain why we copy the list.
2880 * gst/gstpipeline.c:
2884 Add one debug-log statement to help tracing probelms with linking pads.
2886 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2888 * tests/check/gst/gstinfo.c:
2889 Add a test for removing the default log handler. Seems to fail under
2892 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2894 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2895 Release pad lock before calling out to avoid a possible deadlock.
2897 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2899 * gst/parse/grammar.y:
2900 Remove unneeded value unset.
2902 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2903 Add unit test for de/serialization of caps.
2905 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2907 * plugins/elements/gstfakesink.c:
2908 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2909 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2910 (gst_fake_src_class_init):
2911 Use custom marshalers that take GstMiniObject as first parameter.
2912 Using OBJECT as parameter while a GstMiniObject is given will lead
2913 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2915 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2917 * plugins/elements/gsttypefindelement.c:
2918 (gst_type_find_element_handle_event),
2919 (gst_type_find_element_send_cached_events),
2920 (gst_type_find_element_change_state):
2921 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2924 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2926 * plugins/elements/gsttypefindelement.c:
2927 (gst_type_find_handle_src_query), (stop_typefinding),
2928 (gst_type_find_element_handle_event),
2929 (gst_type_find_element_send_cached_events),
2930 (gst_type_find_element_change_state):
2931 Forward FLUSH_START events immediately and clean up instead of
2934 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2936 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2938 * libs/gst/base/gstbasetransform.c:
2939 (gst_base_transform_buffer_alloc):
2940 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2941 fall back to default negotiation in the chain function if the caps
2942 are different from what was requested. Fixes bug #526768.
2944 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2947 * tests/check/gst/gstsegment.c:
2948 No, let's not use g_slice_{dup|copy} here, since they only exist
2949 since GLib 2.14 and we still depend only on >= 2.12. Also add
2950 unit test for gst_segment_copy().
2952 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2954 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2955 Try to fix 'dereferencing type-punned pointer will break strict
2956 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2957 changed the default GType typedef from gulong to gsize at some point,
2958 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2959 g_once_* functions all take a gsize * though, so work around the type
2960 mismatch for C++ by doing everything in gsize and casting to GType
2963 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2965 * plugins/elements/gstmultiqueue.c:
2966 Add documentation for the signals to push our core plugin docs
2967 coverage back up to 100%.
2969 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2971 * gst/gstinfo.h (GST_FUNCTION):
2972 Reverted GST_FUNCTION to the old version as we don't want the
2973 full signature in C++ code. Also added support for MSVC.
2975 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2978 Intern the type name string, similar to what G_DEFINE_TYPE does.
2980 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2983 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2985 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2987 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2989 * libs/gst/base/gstbasetransform.c:
2990 (gst_base_transform_buffer_alloc):
2991 Don't passthrough buffer allocation too easily if the caps change.
2992 This breaks when working in passthrough mode and upstream changes
2993 it's caps. Fixes bug #526768.
2995 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2997 * gst/gstinfo.c (gst_debug_log_valist):
2998 Improved the __FILE__ part of debug output for MSVC.
3000 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3002 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3003 Declaration after statement fix for compilers like MSVC.
3005 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3007 * win32/common/config.h.in:
3008 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3009 use the real thing than having "???" unconditionally.
3011 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3013 * gst/gstinfo.h (GST_FUNCTION):
3014 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3016 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3018 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3021 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3022 (gst_base_sink_set_flushing):
3023 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3026 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3028 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3029 (gst_fake_src_init), (gst_fake_src_set_property),
3030 (gst_fake_src_get_property), (gst_fake_src_start):
3031 * plugins/elements/gstfakesrc.h:
3032 Added format property to control the format of the newsegment events.
3033 API: GstFakeSrc:format
3035 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3037 * win32/common/libgstreamer.def:
3038 Add gst_pad_has_name() to the exported symbols.
3040 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3042 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3043 * libs/gst/base/gstbasetransform.c:
3044 (gst_base_transform_prepare_output_buffer):
3045 Don't allow negative sizes when allocating new buffers.
3048 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3050 Patch by: Sjoerd Simons <sjoerd at luon net>
3052 * gst/gstbus.c: (gst_bus_source_dispatch):
3053 Don't print a warning if the queue is empty when we try to pop
3054 here. That could happen if another thread or callback set the
3055 bus to flushing between the source's check/prepare and the
3056 dispatch being called (#531538).
3058 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3060 * plugins/elements/gstmultiqueue.c:
3063 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3065 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3066 Add unit test for deserializing uint64s and check some really large
3067 numbers in the int64 test.
3069 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3071 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3072 (print_interfaces), (print_element_properties_info),
3073 (print_signal_info):
3074 Use "%s" as format string instead of printing strings directly.
3076 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3078 * gst/gstclock.c: (gst_clock_set_calibration):
3079 Make some checks actually useful.
3081 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3082 Remove some unused code. Unsigned integers tend to be >= 0.
3084 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3086 * gst/gstminiobject.c: (gst_value_get_mini_object):
3087 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3088 function was not in the unscheduled 0.10.19 release.
3090 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3092 * gst/gstregistry.c: (gst_registry_scan_path_level):
3093 Only print one log message per non-plugin file.
3095 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3097 * gst/gstinfo.c: (gst_debug_log_default):
3098 Fix alignment of debug log columns on 64-bit.
3100 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3102 * docs/libs/Makefile.am:
3103 * docs/libs/gstreamer-libs-sections.txt:
3104 Ignore private controller headers for docs.
3106 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3108 * libs/gst/controller/gstcontrollerprivate.h:
3109 * libs/gst/controller/gsthelper.c:
3110 * libs/gst/controller/gstinterpolation.c:
3111 * libs/gst/controller/gstinterpolationcontrolsource.c:
3112 (gst_interpolation_control_source_set_interpolation_mode):
3113 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3114 * libs/gst/controller/lib.c:
3115 Move some private declarations into private headers.
3117 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3119 * gst/gstdebugutils.c: (debug_dump_element_pad):
3120 Remove some code that is unused after Stefan's refactoring and uses
3121 uninitialized variables now, resulting in a compiler warning.
3123 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3125 * gst/gstregistry.c: (gst_registry_scan_path_level):
3126 Run g_str_has_suffix() only on the file name, not the
3129 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3131 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3132 Since we're not called only from the chain function any longer,
3133 we can't assume that there's always data in the queue, so move
3134 the is_full check to the beginning of the loop (otherwise we'd
3135 hit the assert when changing the limit properties while the
3136 queue is empty or not running yet).
3137 Also, only set a discont if items were actually removed from
3140 * tests/check/elements/queue.c: (test_leaky_downstream):
3141 Test case for the above.
3143 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3145 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3147 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3148 (gst_queue_chain), (queue_capacity_change),
3149 (gst_queue_set_property):
3150 When changing thr max capacity of a leaky queue, immediatly drop buffers
3151 instead of waiting for a push on the sinkpad. Fixes #530637.
3153 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3155 * gst/gstdebugutils.c:
3156 Refactor code and fix handling of ghostpads and their proxypads.
3158 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3160 * docs/gst/gstreamer-sections.txt:
3161 * gst/gstevent.c: (gst_event_has_name):
3163 * tests/check/gst/gstevent.c: (GST_START_TEST):
3164 Add method to conveniently check the name of a custom event with
3165 gst_event_has_name().
3166 Reformat the event docs so that related methods are put together instead
3167 of the default alphabetical sort.
3168 Update unit test with new method.
3169 API: GstEvent::gst_event_has_name()
3171 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3173 * libs/gst/check/Makefile.am:
3174 Don't add an explicit link to libgstreamer-0.10.la; it's already
3175 included in GST_OBJ_LIBS.
3177 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3180 Register GstClock type from a type-safe context. Fixes bug #530317.
3182 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3184 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3186 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3188 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3190 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3192 Use the GLib stuff to create a private structure.
3193 Add some locking around some dispose methods to make them a little
3194 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3196 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3198 * libs/gst/base/gstbasesink.h:
3199 * libs/gst/base/gstbasesrc.h:
3200 * libs/gst/base/gstbasetransform.h:
3201 * libs/gst/base/gstcollectpads.h:
3202 Fix doc typos and unify caps a bit.
3204 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3206 * tools/gst-launch.1.in:
3207 Forgot to also add the envvar docs here.
3209 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3211 * gst/gst.c: (init_post), (gst_deinit):
3212 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3213 (test_concurrent_create), (gst_pipeline_suite):
3214 Ref some more classes in gst_init() to work around thread-safety
3215 issues in pre-2.16 GLibs, and add basic unit test.
3217 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3219 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3220 (gst_base_sink_send_event):
3221 Rearrange the latency query code. We always want to do the upstream
3222 query, even if we are not live so that the upstream elements can get the
3223 latency results too. If we fail doing the query and we are live, we
3224 return TRUE afterwards.
3226 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3228 patch by: Jason Zhao <e3423c@motorola.com>
3230 * docs/gst/running.xml:
3232 Enable/disable scan_and_update_registry() based on commandline switch
3233 or environment variable. Fixes #520468.
3236 Fix typo in my previous commit.
3238 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3240 * gst/gstregistrybinary.c:
3241 Add a warning if we hit unhandled factories when saving.
3242 More debug logging detail, but move to LOG category.
3244 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3246 * gst/gstregistry.c:
3247 Tell the *truth* when improving the documentation.
3249 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3251 * gst/gstelementfactory.c: (gst_element_factory_make):
3252 Unref the factory after it was used the last time, not before.
3254 * gst/gstindexfactory.c: (gst_index_factory_make):
3255 Improve debugging a bit and don't leak a ref to the index factory with
3258 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3260 * gst/gstregistry.c:
3261 Improve the documentation.
3263 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3266 The glib macro seems to be borked. Use g_slice_copy directly and cast
3267 in the hope that this fixes the warning on 64bit.
3269 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3272 Document the new function. Use g_slice_dup() (no need for
3273 gst_segment_init()).
3275 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3277 * docs/gst/gstreamer-sections.txt:
3278 Move GParamSepc macros to standart section.
3281 Dn't document _get_type - its in private section in docs anyway and
3282 this doc-blob was incomplete.
3285 Fix wrong symbol names in docs.
3288 Add once doc sentence.
3290 * tests/check/gst/.cvsignore:
3293 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3295 * docs/gst/Makefile.am:
3296 And remove those libs here.
3298 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3300 * docs/libs/Makefile.am:
3301 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3303 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3305 Patch by: Olivier Crete <tester at tester dot ca>
3307 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3308 Add the min-threshold to the min latency if possible. Fixes #529148.
3310 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3312 * docs/gst/gstreamer.types.in:
3313 Stupid editor, I removed that line as it should go in yet.
3315 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3317 * docs/gst/gstreamer.types.in:
3318 * docs/libs/gstreamer-libs.types:
3319 Remove library types fro core docs and have them in libs docs.
3320 Reformat and cleanup. Add comment for miniobject types.
3322 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3324 * gst/gsturi.c: (gst_uri_get_protocol):
3325 Fix leak: g_strdown operates on the string in place, while
3326 g_ascii_strdown() returns a newly-allocated string.
3328 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3330 * tools/gst-inspect.c: (print_uri_handler_info),
3331 (print_element_info):
3332 Print the URI protocols and the URI type supported by the element.
3334 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3336 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3337 Use g_value_take_string() instead of the deprecated
3338 g_value_set_string_take_ownership().
3340 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3342 * gst/gstregistrybinary.c: (_gst_crc32):
3343 Return the old CRC instead of 0 if we give a NULL buffer
3344 or a buffer with a length of 0.
3346 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3348 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3349 (gst_uri_get_protocol), (gst_uri_has_protocol),
3350 (gst_uri_construct), (gst_uri_handler_set_uri):
3351 A valid URI scheme can also include '+', '-' and '.' additional
3352 to alphanumeric characters as per RFC 3986 Section 3.1.
3354 Handle URI schemes case insensitive in all places and convert
3355 to lower-case when constructing an URI or setting an URI with
3356 the GstURIHandler interface. Fixes bug #528868.
3357 All elements can still assume (as before) that they will
3358 get passed URIs with a lower-case URI scheme by the GstURIHandler
3361 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3363 * gst/gstcaps.c: (gst_static_caps_get):
3364 * gst/gstclock.c: (gst_clock_entry_new):
3365 Don't use g_atomic_set_int where it's not needed.
3367 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3369 * gst/gstvalue.c: (gst_value_deserialize_caps):
3370 * gst/parse/grammar.y:
3373 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3375 * gst/gstutils.c: (gst_atomic_int_set):
3376 Use g_atomic_int_set() here too instead of assignment +
3379 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3383 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3384 now that we depend on new enough GLib.
3386 * gst/gstcaps.c: (gst_static_caps_get):
3387 * gst/gstclock.c: (gst_clock_entry_new):
3388 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3389 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3390 (gst_debug_category_set_threshold):
3391 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3392 (gst_base_sink_set_qos_enabled):
3393 * libs/gst/net/gstnettimeprovider.c:
3394 (gst_net_time_provider_set_property):
3395 Use g_atomic_int_set() instead of gst_atomic_int_set().
3397 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3400 Also use G_GINT64_CONSTANT for the queries.
3402 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3405 Use G_GINT64_CONSTANT in varargs function.
3407 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3409 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3410 Initialize the registry magic with zeroes.
3412 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3414 * gst/gstregistrybinary.c: (_gst_crc32),
3415 (gst_registry_binary_write),
3416 (gst_registry_binary_initialize_magic),
3417 (gst_registry_binary_write_cache),
3418 (gst_registry_binary_check_magic),
3419 (gst_registry_binary_read_cache):
3420 * gst/gstregistrybinary.h:
3421 Add crc32 checksum to the binary registry file and check this before
3422 accepting a registry file.
3424 Also free the data list when writing to the registry file fails.
3426 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3428 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3429 (gst_registry_binary_load_feature),
3430 (gst_registry_binary_load_plugin):
3431 If an element supports the Uri interface, returns a valid pointer
3432 to the supported URI protocols but this pointer contains nothing
3433 don't try to save that as it will corrupt the registry.
3435 Don't unref the plugin if we added it to the registry already but
3436 fail to load a feature as gst_registry_add_plugin() takes ownership
3439 Improve debugging a bit.
3441 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3444 Clarify some tag item docs after discussion on irc.
3446 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3448 * docs/gst/gstreamer-docs.sgml:
3449 Remove commented out plugins (they have their own docs). Update
3452 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3454 * docs/gst/gstreamer-docs.sgml:
3455 * docs/gst/gstreamer-sections.txt:
3456 * gst/gstparamspecs.c:
3457 * gst/gstparamspecs.h:
3458 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3459 docs to own section.
3462 This now only documents GValue.
3464 * docs/libs/gstreamer-libs-sections.txt:
3465 * libs/gst/controller/gstcontroller.h:
3466 Remove GST_PARAM_CONTROLLABLE.
3468 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3471 Correct file path. Tell about how to use -overrides.txt.
3472 * docs/design/draft-tagreading.txt:
3473 Small design update.
3475 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3477 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3478 (gst_registry_binary_load_plugin):
3479 Fix a typo in a debug message and revert change from yesterday as
3480 gst_registry_add_plugin() will only fail if something is really wrong
3481 already and we can't survive it anyway.
3483 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3485 * gst/gst.c: (init_post), (gst_deinit):
3486 Pre-register GstGError GType from a thread-safe context
3487 (fixes #527967); unref enum type classes in deinit.
3489 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3491 Patch by: Rene Stadler <mail at renestadler de>
3493 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3494 Merging an empty list with another list in KEEP_ALL mode should
3495 yield an empty list as result and not the second list (#512578).
3497 * tests/check/gst/gsttagsetter.c:
3498 Add unit test for tag merge modes and the aforementioned bug.
3500 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3502 Patch by: Rene Stadler <mail at renestadler de>
3505 Fix description to match the order in the table (#512577).
3507 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3509 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3511 * libs/gst/net/gstnettimepacket.h:
3512 * docs/libs/gstreamer-libs-sections.txt:
3513 Define socklen_t as int if it's not defined yet. Fixes compilation
3514 with MSVC6 and other versions where socklen_t is not defined in
3515 the windows headers (#518022).
3517 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3519 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3520 If gst_registry_add_plugin() fails our reference to the plugin is
3521 invalid so don't try to use it anymore and instead error out.
3523 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3525 * tools/gst-xmlinspect.c: (print_element_info), (main):
3526 De-cruft a bit. If no argument is specified, print all elements in
3527 XML syntax rather than a freestyle list of elements like gst-inspect.
3528 Also, don't print XML header chunk unless we actually have something
3529 to print (ie. don't print it before an error message); print error
3530 message to stderr not stdout. Remove support for printing plugin
3531 info (it would just output something freestyle along the lines of
3532 gst-inspect so far), which fixes #514507. Also add license header.
3534 2008-04-11 Julien Moutte <julien@fluendo.com>
3537 * configure.ac: Merge platform specific defines, introduce a new
3538 define on OS X to remember that forking when updating registry is
3540 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3542 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3544 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3545 condition that leads to absolutely no plugins being registered on
3548 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3550 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3552 * gst/gstutils.c: (gst_pad_add_data_probe),
3553 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3554 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3555 (gst_pad_add_buffer_probe_full):
3557 * docs/gst/gstreamer-sections.txt:
3558 * win32/common/libgstreamer.def:
3559 Add gst_pad_add_*_probe_full() functions with a notify callback that
3560 lets the caller free the data it passes to the probe functions. This
3561 is useful for bindings such as gst-python or gstreamermm (#526814).
3562 API: gst_pad_add_data_probe_full
3563 API: gst_pad_add_buffer_probe_full
3564 API: gst_pad_add_event_probe_full
3566 * tests/check/gst/gstutils.c:
3567 Add minimal unit test to make sure freeing the data actually works
3570 * tests/benchmarks/.cvsignore:
3571 Random cvsignore addendum.
3573 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3575 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3576 (GST_DEBUG_BIN_TO_DOT_FILE):
3577 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3578 to it in the docs (since these are macros the types of the arguments
3579 won't be shown in the docs otherwise).
3581 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3584 Do not abort on out of memory for pad_alloc_buffer.
3586 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3588 * libs/gst/check/gstcheck.c:
3589 Remove blank line between symbol name ad parameters to fix gtkdoc
3592 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3594 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3596 * docs/gst/gstreamer-sections.txt:
3599 * win32/common/libgstreamer.def:
3600 Expose gst_segment_copy() to make things easier for the c++ bindings.
3602 API: gst_segment_copy()
3604 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3606 * gst/gst.c: (gst_init_get_option_group), (init_post):
3607 Fix const position; ref GType classes for enum types to work
3608 around thread-safety issues in GLib versions < 2.16.
3610 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3612 * docs/design/part-buffering.txt:
3613 Fix some typos and set the estimated total for push mode to -1.
3615 * gst/gstquery.c: (gst_query_new_buffering):
3616 Set buffering-left to 0 as we're not buffering by default.
3618 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3619 Implement BUFFERING query.
3621 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3623 Based on patch by: Milosz Derezynski <internalerror gmail com>
3625 * gst/gsterror.c: (_gst_stream_errors_init):
3627 Add two new error codes for encrypted content. Fixes #524659.
3628 API: GST_STREAM_ERROR_DECRYPT
3629 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3631 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3636 * win32/common/libgstreamer.def:
3639 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3641 * plugins/elements/gstidentity.c: (gst_identity_event),
3642 (gst_identity_start):
3643 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3644 event after processing some data. Fixes bug #526042.
3646 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3648 * docs/gst/gstreamer-sections.txt:
3649 * gst/gstquery.c: (gst_query_parse_latency),
3650 (gst_query_set_buffering_percent),
3651 (gst_query_parse_buffering_percent),
3652 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3654 Rename _avail -> _range
3655 API: gst_query_set_buffering_range
3656 API: gst_query_parse_buffering_range
3658 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3660 * docs/design/part-buffering.txt:
3663 * gst/gstquery.c: (gst_query_parse_latency),
3664 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3665 (gst_query_parse_buffering_percent):
3667 Add busy field and quark for the buffering query so that the app can
3668 only use the query to see if buffering is in progress.
3670 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3672 * docs/gst/gstreamer-sections.txt:
3673 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3674 (gst_message_parse_buffering_stats):
3676 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3677 (gst_query_parse_latency), (gst_query_new_buffering),
3678 (gst_query_set_buffering_percent),
3679 (gst_query_parse_buffering_percent),
3680 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3681 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3683 Reorder the message docs and headers for clarity.
3684 Add aditional buffering stats API for messages.
3685 Add buffering query.
3686 Convert some leftover queries to use GstQuark.
3687 API: gst_message_set_buffering_stats
3688 API: gst_message_parse_buffering_stats
3689 API: GST_QUERY_BUFFERING
3690 API: GstBufferingMode
3691 API: gst_query_new_buffering
3692 API: gst_query_set_buffering_percent
3693 API: gst_query_parse_buffering_percent
3694 API: gst_query_set_buffering_stats
3695 API: gst_query_parse_buffering_stats
3697 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3699 * gst/gstmessage.c: (gst_message_new_error),
3700 (gst_message_new_warning), (gst_message_new_info),
3701 (gst_message_new_buffering), (gst_message_new_state_changed),
3702 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3703 (gst_message_new_new_clock), (gst_message_new_segment_start),
3704 (gst_message_new_segment_done), (gst_message_new_duration),
3705 (gst_message_new_async_start), (gst_message_parse_buffering),
3706 (gst_message_parse_state_changed),
3707 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3708 (gst_message_parse_new_clock), (gst_message_parse_error),
3709 (gst_message_parse_warning), (gst_message_parse_info),
3710 (gst_message_parse_segment_start),
3711 (gst_message_parse_segment_done), (gst_message_parse_duration),
3712 (gst_message_parse_async_start):
3713 Use GstQuark for messages.
3715 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3717 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3719 Add some more quarks needed for messages and queries.
3721 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3723 * docs/design/part-buffering.txt:
3724 Remove the "none" buffering mode, STREAM is a good default.
3725 Move estimated-time to the avail query, that's when it will be needed.
3726 Other small typo fixes and updates.
3728 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3730 * gst/gstindex.c: (gst_index_resolver_get_type):
3731 Don't put descriptions into the nick field of a GEnumValue: it's not
3732 meant for that and some language bindings rely on the nick field to
3733 construct constants and the like. Fixes #526705.
3735 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3740 Merge other changes from 0.10.19 release branch.
3742 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3744 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3747 Actually build dlls when cross-compiling with mingw32.
3750 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3752 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3755 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3757 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3759 * docs/design/draft-latency.txt:
3762 * docs/design/part-buffering.txt:
3763 Update design docs with more buffering ideas.
3765 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3768 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3770 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3773 Revert part that belongs to the preset patch.
3775 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3778 Add qoutes to the define. Fixes # 525961.
3780 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3782 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3783 (gst_file_index_load), (gst_file_index_add_id),
3784 (gst_file_index_get_assoc_entry):
3785 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3786 (gst_mem_index_free_id), (gst_mem_index_add_id),
3787 (gst_mem_index_index_format):
3788 Use GSlice when possible.
3790 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3792 * libs/gst/controller/gstinterpolationcontrolsource.c:
3793 (gst_control_point_free),
3794 (gst_interpolation_control_source_set_internal):
3795 Use GSlice for allocating the control points.
3797 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3799 * plugins/elements/gsttypefindelement.c:
3800 (gst_type_find_element_class_init),
3801 (gst_type_find_element_set_property),
3802 (gst_type_find_element_get_property),
3803 (gst_type_find_element_activate):
3804 * plugins/elements/gsttypefindelement.h:
3806 Fix pad leak when peer query fails.
3807 We can still typefind when the peer returns -1.
3808 Add property to force caps and bypass typefinding. This will be used in
3812 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3817 * gst/glib-compat-private.h:
3818 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3819 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3820 Unconditionally use GSlice for allocation.
3822 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3823 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3824 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3825 (gst_structure_free):
3826 Use GSlice for allocation.
3828 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3830 * gst/parse/Makefile.am:
3831 * gst/parse/grammar.tab.pre.c:
3832 * gst/parse/grammar.tab.pre.h:
3833 * gst/parse/lex._gst_parse_yy.pre.c:
3834 Require a new enough flex and bison and remove the parser hacks to use
3835 a pre-regenerated version.
3837 2008-04-01 Julien Moutte <julien@fluendo.com>
3839 patch by: Jason Zhao <E3423C@motorola.com>
3841 * configure.ac: Add a configure switch to disable option parsing
3845 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3848 * gst/gstregistry.c:
3849 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3850 and handle this case.
3853 Add a comment here describing, why we stat each plugin and not try to
3856 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3858 * libs/gst/base/gstbasetransform.c:
3859 (gst_base_transform_prepare_output_buffer):
3860 Also unset the GAP flag on buffers if we're working inplace but
3861 the element is not GAP-aware.
3863 Mark a comment as FIXME 0.11.
3865 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3868 Fix type in log message and add one to ease seeing how long registry
3869 cache verification takes.
3871 * gst/gstregistry.c:
3872 Only test plugin filenames against G_MODULE_SUFFIX.
3874 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3876 * gst/gstdebugutils.c:
3877 Improve handling ghost/proxy pads.
3879 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3881 * docs/gst/gstreamer-sections.txt:
3884 Expose macro to docs and fix link to it.
3886 2008-03-27 Michael Smith <msmith@fluendo.com>
3888 * libs/gst/dataprotocol/dataprotocol.c:
3889 (gst_dp_packet_from_event_1_0):
3890 When calculating GDP body CRC, use the correct pointer.
3891 Fixes part of #522401.
3893 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3895 Patch by: Mark Nauwelaerts <manauw at skynet be>
3897 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3898 (gst_identity_init), (gst_identity_prepare_output_buffer):
3899 Identity is not always a passthrough element, it can modify the buffer
3900 timestamps when it has a datarate and operates in single-segment mode.
3901 We therefore make it an in_place filter with a custom buffer prepare
3902 function that conditionally makes the input buffer metadata writable
3903 when needed. Fixes #523985.
3905 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3907 Patch by: Mark Nauwelaerts <manauw at skynet be>
3910 * libs/gst/base/gstbasesrc.h:
3911 * libs/gst/base/gstbasetransform.c:
3912 * libs/gst/check/gstcheck.c:
3913 Small documentation fixes. Fixes #523978.
3915 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3917 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3918 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3919 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3921 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3923 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3924 (single_queue_underrun_cb):
3925 When trying to make room in the queue, bump the max allowed buffers
3926 bigger than the current amount of buffers in the queue. this fixes some
3927 nasty deadlocks in multiqueue when dynamically changing the limits of
3930 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3932 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3934 * gst/gstcaps.c: (gst_caps_set_simple),
3935 (gst_caps_set_simple_valist), (gst_caps_intersect):
3937 Constify the field gchar * params in set_simple and friends.
3940 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3942 * gst/gstvalue.c: (gst_value_transform_object_string):
3943 Transform a GstObject to a more meaningfull string that includes the
3944 object type in addition to its name.
3946 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3949 ChangeLog surgery to add bugnumber to commit.
3951 2008-03-23 Rene Stadler <mail@renestadler.de>
3953 * libs/gst/base/gstbasetransform.c:
3954 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3956 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3958 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3959 Rename constant everywhere and don't forget one occurence.
3961 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3963 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3964 Align memory to the pointer size even if the architecture allows
3965 unaligned memory access. Unaligned memory access usually comes with
3966 performance penality.
3968 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3970 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3971 (gst_registry_binary_check_magic),
3972 (gst_registry_binary_load_pad_template),
3973 (gst_registry_binary_load_feature),
3974 (gst_registry_binary_load_plugin):
3975 Align memory to the pointer size instead of always 32 bit. Fixes
3976 unaligned memory accesses on ia64 and friends.
3978 * gst/gstregistrybinary.h:
3979 Bump binary registry format version for this as it changes the
3980 format on those architectures that don't have unaligned access
3981 and 64 bit pointers.
3983 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3985 * docs/pwg/advanced-dparams.xml:
3986 * docs/pwg/building-props.xml:
3987 * docs/pwg/other-source.xml:
3988 * gst/glib-compat.h:
3989 * gst/gstbin.c: (gst_bin_class_init):
3990 * gst/gstclock.c: (gst_clock_class_init):
3991 * gst/gstindex.c: (gst_index_class_init):
3992 * gst/gstobject.c: (gst_object_class_init):
3993 * gst/gstpad.c: (gst_pad_class_init):
3994 * gst/gstpipeline.c: (gst_pipeline_class_init):
3995 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3996 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3997 * libs/gst/base/gstbasetransform.c:
3998 (gst_base_transform_class_init):
3999 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4000 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4001 (_gst_check_fault_handler_sighandler),
4002 (_gst_check_fault_handler_setup), (gst_check_init):
4003 * libs/gst/controller/gstcontroller.c:
4004 (_gst_controller_class_init):
4005 * libs/gst/controller/gstlfocontrolsource.c:
4006 (gst_lfo_control_source_class_init):
4007 * libs/gst/net/gstnetclientclock.c:
4008 (gst_net_client_clock_class_init):
4009 * libs/gst/net/gstnettimeprovider.c:
4010 (gst_net_time_provider_class_init):
4011 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4012 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4013 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4014 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4015 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4016 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4017 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4018 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4019 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4020 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4021 * plugins/elements/gsttee.c: (gst_tee_class_init):
4022 * plugins/elements/gsttypefindelement.c:
4023 (gst_type_find_element_class_init):
4024 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4025 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4026 use it everywhere for GParamSpecs that use static strings (i.e. all).
4027 This gives us less memory usage, fewer allocations and thus less
4028 memory defragmentation. Fixes bug #523806.
4030 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4032 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4033 (gst_param_spec_mini_object):
4034 * gst/gstminiobject.h:
4035 * win32/common/libgstreamer.def:
4036 * docs/gst/gstreamer-sections.txt:
4037 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4038 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4039 GstParamSpecMiniObject into a public header for this.
4041 This make GstMiniObject a bit more consistent with GObject and makes
4042 it possible to extend the param specs.
4044 gst_value_dup_mini_object is mainly useful for set_property methods.
4048 * tools/gst-inspect.c: (print_element_properties_info):
4049 Print something useful for GstMiniObject properties and not just
4052 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4054 * docs/gst/gstreamer-sections.txt:
4055 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4056 (gst_registry_binary_check_magic):
4057 * gst/gstregistrybinary.h:
4058 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4059 and add it to the (private part) of the docs to fix the build.
4061 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4063 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4064 (gst_registry_binary_check_magic),
4065 (gst_registry_binary_read_cache):
4066 * gst/gstregistrybinary.h:
4067 Don't use GST_MAJORMINOR for the binary registry version. Instead
4068 hardcode a value that must be changed whenever the format changes
4069 in an incompatible way.
4070 Also don't GST_ERROR when there is a version mismatch, just
4071 regenerate the registry silently.
4073 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4076 Back to development - 0.10.18.1
4078 === release 0.10.18 ===
4080 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4083 releasing 0.10.18, "So far away"
4085 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4088 * win32/common/config.h:
4089 0.10.17.4 pre-release
4091 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4093 Patch by: Ole André Vadla Ravnås
4094 <ole dot andre dot ravnas at tandberg dot com>
4096 * docs/gst/gstreamer-sections.txt:
4097 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4098 (gst_poll_update_winsock_event_mask),
4099 (gst_poll_prepare_winsock_active_sets),
4100 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4101 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4102 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4103 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4104 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4106 * win32/common/libgstreamer.def:
4107 Add new function gst_poll_fd_ignored() for improved Windows
4109 Various minor fixes and cleanups. See #520808.
4111 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4113 * gst/gstindex.c: (gst_index_entry_free):
4115 Don't free key strings which we don't own. Fixes crash in
4116 gst_index_entry_free() (#522741).
4118 * tests/check/Makefile.am:
4119 * tests/check/gst/.cvsignore:
4120 * tests/check/gst/gstindex.c: (test_index_entries),
4121 (gst_index_suite), (gst_index):
4122 Add unit test for the above.
4124 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4126 * win32/common/libgstreamer.def:
4127 Remove symbols that were removed recently. Fixes bug #521740.
4129 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4132 * win32/common/config.h:
4133 0.10.17.3 pre-release
4135 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4137 Patch by: Ole André Vadla Ravnås
4138 <ole dot andre dot ravnas at tandberg dot com>
4140 * docs/gst/gstreamer-sections.txt:
4141 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4142 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4143 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4144 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4145 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4146 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4147 (gst_poll_fd_can_write), (gst_poll_wait),
4148 (gst_poll_set_controllable), (gst_poll_restart),
4149 (gst_poll_set_flushing):
4151 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4152 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4153 (gst_net_time_provider_new):
4154 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4155 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4156 * tests/benchmarks/gstpollstress.c: (main):
4157 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4158 Remove GstPollMode from the API, it does not make sense to let the
4159 application control this.
4160 Add support for Win32.
4161 Fix the testsuite. Fixes #520671.
4163 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4165 Patch by: Ole André Vadla Ravnås
4166 <ole dot andre dot ravnas at tandberg dot com>
4168 * gst/gstregistrybinary.c:
4169 Include io.h for write() and close() when building with MSVC. Fixes
4172 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4175 * gst/gst_private.h:
4176 * gst/gstconfig.h.in:
4177 * gst/gstregistry.h:
4178 * gst/gstregistrybinary.c:
4179 * win32/common/gstconfig.h:
4180 Move registry backend API to private headers where we can. Add
4181 fixme-0.11 comments for the others. Add stubs for the xml backend when
4182 using the binary to ensure they functions exists (they should not be
4183 used though). Fixes #520756.
4185 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4188 * win32/common/config.h:
4191 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4193 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4194 (gst_registry_binary_read_cache):
4195 * gst/gstregistryxml.c: (gst_registry_save):
4196 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4197 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4198 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4199 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4200 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4203 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4205 * gst/gstminiobject.c:
4206 Import gst_private.h before any other header that might include other
4207 glib headers. This fixes the build on windows using native compilers.
4209 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4211 * win32/common/gstconfig.h:
4212 Add here too, just for completeness.
4214 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4217 * gst/gstconfig.h.in:
4218 * gst/gstregistry.h:
4219 Fix broken use of config.h-defined preprocessor directive in a public
4220 header file. Add a corresponding define to gstconfig.h, since we can't
4221 really remove those function declarations from the header file now
4222 (or can we? and why are they there in the first place?).
4224 2008-03-03 Andy Wingo <wingo@pobox.com>
4226 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4229 * gst/gststructure.c (gst_structure_from_string): Warn if
4230 structure_from_string didn't consume the whole string, but the
4231 caller did not provide an end pointer.
4233 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4235 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4237 * gst/gstregistryxml.c: (read_string), (load_feature):
4238 Strings allocated by libxml2 should be freed with xmlFree(), not
4239 with g_free(). Fixes issues on windows in certain contexts (#519698).
4241 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4243 * gst/gstinterface.c: (gst_element_implements_interface):
4244 Don't crash if the element supports the interface queried, but does
4245 not implement GstImplementsInterface. Fixes #519584.
4247 * tests/check/Makefile.am:
4248 * tests/check/gst/.cvsignore:
4249 * tests/check/gst/gstinterface.c:
4250 Add unit test for the above.
4252 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4254 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4257 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4259 * gst/gstsegment.c: (gst_segment_set_seek),
4260 (gst_segment_to_stream_time):
4261 Improve some comment.
4262 Update variables where it makes more sense.
4264 2008-02-29 Rene Stadler <mail@renestadler.de>
4266 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4267 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4268 URIHandlers implemented using language bindings.
4270 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4272 * gst/gstelementfactory.h:
4273 * tests/check/elements/fakesink.c:
4274 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4275 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4276 * tests/check/elements/filesink.c: (setup_filesink):
4277 * tests/check/elements/filesrc.c: (setup_filesrc):
4278 * tests/check/elements/identity.c: (setup_identity):
4279 * tests/check/elements/tee.c:
4280 * tests/check/generic/sinks.c:
4281 * tests/check/generic/states.c: (setup), (teardown):
4282 * tests/check/gst/gst.c:
4283 * tests/check/gst/gstabi.c:
4284 * tests/check/gst/gstbin.c:
4285 * tests/check/gst/gstbus.c: (pull_messages):
4286 * tests/check/gst/gstcaps.c:
4287 * tests/check/gst/gstelement.c:
4288 * tests/check/gst/gstevent.c:
4289 * tests/check/gst/gstghostpad.c:
4290 * tests/check/gst/gstiterator.c:
4291 * tests/check/gst/gstmessage.c:
4292 * tests/check/gst/gstminiobject.c: (my_foo_init):
4293 * tests/check/gst/gstobject.c: (thread_name_object),
4295 * tests/check/gst/gstpad.c:
4296 * tests/check/gst/gstplugin.c:
4297 * tests/check/gst/gstpoll.c:
4298 * tests/check/gst/gstquery.c:
4299 * tests/check/gst/gstsegment.c:
4300 * tests/check/gst/gststructure.c:
4301 * tests/check/gst/gstsystemclock.c:
4302 * tests/check/gst/gsttask.c:
4303 * tests/check/gst/gstutils.c:
4304 * tests/check/gst/gstvalue.c:
4305 * tests/check/gst/struct_hppa.h:
4306 * tests/check/gst/struct_i386.h:
4307 * tests/check/gst/struct_ppc32.h:
4308 * tests/check/gst/struct_ppc64.h:
4309 * tests/check/gst/struct_x86_64.h:
4310 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4311 * tests/check/libs/basesrc.c:
4312 * tests/check/libs/controller.c: (GST_START_TEST):
4313 * tests/check/libs/gdp.c:
4314 * tests/check/libs/gstnetclientclock.c:
4315 * tests/check/libs/gstnettimeprovider.c:
4316 * tests/check/libs/libsabi.c:
4317 * tests/check/libs/struct_hppa.h:
4318 * tests/check/libs/struct_i386.h:
4319 * tests/check/libs/struct_ppc32.h:
4320 * tests/check/libs/struct_ppc64.h:
4321 * tests/check/libs/struct_x86_64.h:
4322 * tests/check/pipelines/cleanup.c:
4323 * tests/check/pipelines/simple-launch-lines.c:
4324 * tests/check/pipelines/stress.c:
4325 And correct even more valid sparse warnings.
4327 * win32/common/libgstreamer.def:
4328 Add gst_poll_fd_init to the list of symbols.
4330 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4332 * gst/gstconfig.h.in:
4333 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4334 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4335 (gst_check_log_critical_func), (gst_check_drop_buffers),
4336 (gst_check_element_push_buffer_list):
4337 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4338 (gst_controller_get_type):
4339 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4340 (gst_object_get_controller), (gst_object_get_control_source):
4341 * libs/gst/controller/gstinterpolationcontrolsource.c:
4342 (gst_interpolation_control_source_new):
4343 * libs/gst/controller/gstlfocontrolsource.c:
4344 (gst_lfo_control_source_new):
4345 * libs/gst/dataprotocol/dataprotocol.c:
4346 (gst_dp_event_from_packet_0_2):
4347 * plugins/elements/gstfdsrc.c:
4348 * plugins/elements/gstmultiqueue.c:
4349 * plugins/elements/gsttee.c:
4350 * plugins/elements/gsttypefindelement.c:
4351 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4352 (gst_file_index_add_association):
4353 * plugins/indexers/gstmemindex.c:
4354 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4355 * tests/check/elements/queue.c: (setup_queue):
4356 * tests/check/gst/gstpipeline.c:
4357 * tests/check/libs/collectpads.c: (setup), (teardown),
4358 (gst_collect_pads_suite):
4359 * tests/examples/adapter/adapter_test.c:
4360 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4361 * tests/examples/xml/createxml.c:
4362 * tests/examples/xml/runxml.c:
4363 * tools/gst-inspect.c:
4365 Correct all relevant warnings found by the sparse semantic code
4366 analyzer. This include marking several symbols static, using
4367 NULL instead of 0 for pointers, not using variable sized arrays
4368 on the stack, moving variable declarations to the beginning of
4369 a block and using "foo (void)" instead of "foo ()" for declarations.
4371 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4373 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4374 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4375 Don't reset GstPollFDs, this is not necessary at all.
4377 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4378 (delayed_restart), (delayed_control):
4379 Use GST_POLL_FD_INIT.
4381 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4383 * gst/gstpoll.c: (gst_poll_fd_init):
4387 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4388 Use some more init macros.
4390 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4392 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4393 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4394 Use init macros and functions.
4396 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4398 * docs/gst/gstreamer-sections.txt:
4399 * gst/gstpoll.c: (gst_poll_fd_init):
4401 Add INIT macro and _init method for initializing the GstPollFD.
4403 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4405 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4406 (gst_fd_sink_update_fd):
4407 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4408 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4409 (delayed_restart), (delayed_control):
4410 Initialize some uninitialized variables as spotted by valgrind.
4412 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4414 * tests/benchmarks/Makefile.am:
4415 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4417 Add poll stress test.
4419 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4421 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4423 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4424 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4425 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4426 * plugins/elements/gstfdsink.h:
4427 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4428 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4429 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4430 (gst_fd_src_uri_set_uri):
4431 * plugins/elements/gstfdsrc.h:
4432 Port to GstPoll. See #505417.
4434 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4436 * win32/common/libgstreamer.def:
4437 Add new gst_poll_ symbols to win32 defs.
4439 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4441 * docs/libs/gstreamer-libs-sections.txt:
4442 * libs/gst/net/gstnetclientclock.c:
4443 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4444 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4445 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4446 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4447 * libs/gst/net/gstnetclientclock.h:
4448 * libs/gst/net/gstnettimeprovider.c:
4449 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4450 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4451 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4452 (gst_net_time_provider_new):
4453 * libs/gst/net/gstnettimeprovider.h:
4454 Use a private stuct to not break ABI.
4456 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4458 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4460 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4461 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4462 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4463 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4464 * libs/gst/net/gstnetclientclock.h:
4465 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4466 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4467 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4468 (gst_net_time_provider_new):
4469 * libs/gst/net/gstnettimeprovider.h:
4470 Massive code removal and cleanups because of GstPoll.
4473 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4476 Add checks for poll, ppoll and pselect.
4478 * docs/gst/gstreamer-docs.sgml:
4479 * docs/gst/gstreamer-sections.txt:
4480 Add docs for GstPoll.
4484 * gst/gstpoll.c: (find_index), (selectable_fds),
4485 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4486 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4487 (gst_poll_set_mode), (gst_poll_get_mode),
4488 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4489 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4490 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4491 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4492 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4493 (gst_poll_fd_can_write), (gst_poll_wait),
4494 (gst_poll_set_controllable), (gst_poll_restart),
4495 (gst_poll_set_flushing):
4497 Add generic poll abstraction. We ideally don't want to have this in core
4498 here but in glib intead...
4499 This code will be used in various network elements and ultimately for
4500 the nanosecond precision monotonic clock (that's why it's here in core).
4501 It'll allow us to implement cancelable socket operations for windows too.
4503 * tests/check/Makefile.am:
4504 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4505 (delayed_stop), (delayed_restart), (delayed_flush),
4506 (delayed_control), (gst_poll_suite):
4507 Add GstPoll unit test.
4509 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4512 Improve documentation of gst_filter_run(). Fixes #518627.
4514 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4517 Add a few lines about the new 'check-inspected-versions' target.
4519 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4521 * tests/check/gst/gstevent.c:
4522 Add qos to the event test. Rename tcase/tsuite; is not only about
4525 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4527 * plugins/elements/gstqueue.c:
4528 Ensure that buffer metadata is writeable, before modifying. Spotted by
4531 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4533 * plugins/elements/gstqueue.c:
4534 * plugins/elements/gstqueue.h:
4535 When dropping buffers in leaky modes, mark next buffers we sent as
4538 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4540 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4541 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4543 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4545 * plugins/elements/Makefile.am:
4546 * plugins/elements/gstbufferstore.c:
4547 * plugins/elements/gstbufferstore.h:
4548 * plugins/elements/gsttypefindelement.h:
4549 Remove GstBufferStore, no idea why we were still building it.
4550 It's not used anywhere and superseded by GstAdapter.
4552 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4553 (gst_file_src_create_mmap):
4554 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4555 Printf format fixes for 64-bit integers.
4557 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4560 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4561 We're not in 0.8 times anymore.
4563 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4565 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4566 (gst_check_element_push_buffer_list):
4567 * libs/gst/check/gstcheck.h:
4568 Make the declaration in the header for
4569 gst_check_element_push_buffer_list match the implementation.
4571 Fix up spelling, grammar and wording of the documentation in a few
4572 places, and add the Since keyword to new API functions.
4573 Use g_list_delete_link instead of g_list_remove in
4574 gst_check_drop_buffers, since it's immeasurably more efficient.
4576 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4577 Use new gst_check_drop_buffers function where appropriate.
4579 * win32/common/libgstbase.def:
4580 * win32/common/libgstreamer.def:
4581 Add new symbols gst_collect_pads_take_buffer,
4582 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4585 Changelog surgery to add API keyword to new gst_check API.
4587 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4589 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4590 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4591 Update pre-generated flex files with flex 2.3.34.
4593 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4595 * gst/gstminiobject.c:
4596 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4597 friendly to subclasses and not require them to know all internals
4598 of their parent class.
4600 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4602 * docs/libs/gstreamer-libs-sections.txt:
4603 * libs/gst/base/gstcollectpads.c:
4604 * libs/gst/base/gstcollectpads.h:
4605 Add sub-buffer functions to collectpads. Fixes #516187.
4606 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4608 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4611 Copy selected buffer-flags when creating subbuffers.
4614 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4616 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4617 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4618 * gst/gstmessage.c: (gst_message_class_init),
4619 (gst_message_finalize):
4620 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4621 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4622 (gst_mmap_buffer_finalize):
4623 Properly chain up finalize functions to the parent class.
4625 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4627 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4629 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4630 (gst_index_set_resolver_full):
4632 Add new function with option to dispose of user_data in resolver.
4633 Actually call the dispose function when finalizing the object and not
4634 just when changing the resolver/filter.
4635 API: GstIndex::gst_index_set_resolver_full()
4637 * docs/gst/gstreamer-sections.txt:
4638 Add new function to docs. Fixes #515469.
4640 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4642 * gst/gstindex.c: (gst_index_finalize):
4643 Chain up finalize to the parent class. Fixes leaking the GstObject
4644 name and other things.
4646 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4649 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4650 pre-releases or releases.
4652 * docs/faq/gst-uninstalled:
4655 * docs/random/release:
4656 Change one of the steps - we only upload core & base to Gnome FTP
4658 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4660 * gst/gstconfig.h.in:
4661 Add 'id' for example.
4665 * plugins/elements/gstfdsink.c:
4666 Link to signals. Doc and comment fixes.
4668 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4670 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4671 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4672 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4673 unused and unimplemented; finally, it is plugin features, not
4674 plugins, that have ranks.
4676 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4678 * gst/gstpluginfeature.h:
4679 Clarify GstRank range docs.
4681 2008-02-05 David Schleef <ds@schleef.org>
4683 * gst/gst.c: Add a separate gst_deinitialized that prevents
4684 gst_init() from being called after gst_deinit(). Fixes #509559
4686 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4688 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4689 (gst_bin_class_init):
4690 * gst/gstelement.c: (gst_element_base_class_init),
4691 (gst_element_class_add_pad_template):
4692 * gst/gstpadtemplate.c: (gst_pad_template_init):
4693 * gst/gstpipeline.c: (gst_pipeline_get_type),
4694 (gst_pipeline_base_init), (gst_pipeline_class_init):
4695 * libs/gst/base/gstbasesink.c:
4696 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4697 (gst_base_src_base_init), (gst_base_src_class_init):
4698 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4699 (gst_capsfilter_class_init):
4700 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4701 (gst_fake_sink_class_init):
4702 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4703 (gst_fake_src_class_init):
4704 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4705 (gst_fd_sink_class_init):
4706 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4707 (gst_fd_src_class_init):
4708 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4709 (gst_file_sink_class_init):
4710 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4711 (gst_file_src_class_init):
4712 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4713 (gst_identity_class_init):
4714 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4715 (gst_multi_queue_class_init):
4716 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4717 (gst_queue_class_init):
4718 * plugins/elements/gsttee.c: (gst_tee_base_init),
4719 (gst_tee_class_init):
4720 * plugins/elements/gsttypefindelement.c:
4721 (gst_type_find_element_base_init),
4722 (gst_type_find_element_class_init):
4723 * tests/check/gst/gstelement.c: (gst_element_suite):
4724 Revert previous changes to the behaviour of GstPadTemplates, etc
4725 and the possiblity to call them in class_init as it breaks too
4726 many elements. Reopens bug #491501.
4728 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4731 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4733 * tools/gst-launch.c:
4734 Dump one graph per pipeline state-change and state change name
4735 (if GST_DEBUG_DUMP_DOT_DIR is set).
4737 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4740 * tests/check/gst/gstpad.c:
4741 Be sure that we have a new copy of the caps and not
4742 reffed caps from a template
4744 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4746 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4747 * gst/gstpipeline.c: (gst_pipeline_get_type),
4748 (gst_pipeline_class_init):
4749 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4750 (gst_base_sink_class_init):
4751 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4752 (gst_base_src_class_init):
4753 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4754 (gst_base_transform_class_init):
4755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4756 (gst_collect_pads_class_init):
4757 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4758 * libs/gst/net/gstnettimeprovider.c:
4759 (gst_net_time_provider_base_init),
4760 (gst_net_time_provider_class_init):
4761 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4762 (gst_capsfilter_class_init):
4763 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4764 (gst_fake_sink_class_init):
4765 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4766 (gst_fake_src_class_init):
4767 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4768 (gst_fd_sink_class_init):
4769 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4770 (gst_fd_src_class_init):
4771 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4772 (gst_file_sink_class_init):
4773 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4774 (gst_file_src_class_init):
4775 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4776 (gst_identity_class_init):
4777 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4778 (gst_multi_queue_class_init):
4779 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4780 (gst_queue_class_init):
4781 * plugins/elements/gsttee.c: (gst_tee_base_init),
4782 (gst_tee_class_init):
4783 * plugins/elements/gsttypefindelement.c:
4784 (gst_type_find_element_base_init),
4785 (gst_type_find_element_class_init):
4786 Don't use base_init where not absolutely necessary. For example it's
4787 not necessary anymore for adding pad templates or setting element
4790 Leave empty base_init functions in several places as GST_BOILERPLATE
4791 still defines and uses them.
4793 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4795 * gst/gstelement.c: (gst_element_base_class_init),
4796 (gst_element_class_add_pad_template):
4797 * gst/gstpadtemplate.c:
4798 Make it possible (and recommended) to set element details and add
4799 pad templates in the class_init functions by copying the details/pad
4800 templates in GstElement's base_init.
4802 Also make it possible to replace existing pad templates by adding
4803 a new one with the same name. This was done in a hackish fashion
4804 in same elements before already.
4806 Don't reference pad templates that are added a second time. A
4807 new pad template has a refcount of one and is not floating anymore
4808 and to be owned by the element's class. Make this more explicit by
4809 mentioning it in the docs of gst_element_class_add_pad_template().
4811 These changes are backwards compatible. Fixes bug #491501.
4813 * tests/check/gst/gstelement.c:
4814 Add unit test for setting element details, adding pad templates and
4815 replacing them in a subclass.
4817 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4819 * tools/gst-inspect.c: (print_interfaces),
4820 (print_element_properties_info), (print_pad_info),
4821 (print_signal_info), (print_element_info):
4822 Fix a few memory leaks.
4824 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4826 * docs/libs/gstreamer-libs-sections.txt:
4827 * libs/gst/check/gstcheck.c:
4828 * libs/gst/check/gstcheck.h:
4829 Add more functions for unit testing: gst_check_drop_buffers,
4830 gst_check_caps_equal, gst_check_element_push_buffer_list,
4831 gst_check_element_push_buffer
4832 API: gst_check_drop_buffers
4833 API: gst_check_caps_equal
4834 API: gst_check_element_push_buffer_list
4835 API: gst_check_element_push_buffer
4837 2008-02-01 Julien Moutte <julien@fluendo.com>
4839 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4840 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4841 (gst_index_finalize), (gst_index_entry_free),
4842 (gst_index_add_association): Fix memory leaks.
4843 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4844 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4845 (gst_mem_index_free_format), (gst_mem_index_free_id),
4846 (gst_mem_index_finalize): Fix memory leaks.
4847 * win32/common/config.h: Updated to CVS HEAD.
4849 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4852 Some more details about how the plugin docs works.
4854 * docs/plugins/gstreamer-plugins-sections.txt:
4857 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4859 * gst/parse/grammar.tab.pre.c:
4860 * gst/parse/grammar.tab.pre.h:
4861 * gst/parse/grammar.y:
4862 * gst/parse/lex._gst_parse_yy.pre.c:
4863 Add delayed set-property. This allows to set properties on dynamicaly
4864 created objects (pads in videomxer). Fixes #509391.
4866 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4869 Check if caps are not NULL (fix bug #510194)
4871 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4873 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4874 (gst_base_sink_get_position_paused):
4875 Add fixme regarding EOS in pull mode.
4876 Fix position reporting in PAUSED for negative rates.
4878 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4880 * gst/gstminiobject.c: (gst_mini_object_replace):
4881 When replacing a miniobject, do a quick equality check first so that we
4882 can avoid a ref/unref pair.
4884 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4886 * docs/design/part-synchronisation.txt:
4889 * docs/plugins/Makefile.am:
4890 * docs/plugins/gstreamer-plugins-docs.sgml:
4891 * docs/plugins/gstreamer-plugins-sections.txt:
4892 * plugins/elements/gstmultiqueue.c:
4893 Add multiqueue to the docs.
4895 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4900 === release 0.10.17 ===
4902 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4905 releasing 0.10.17, "Due Negligence"
4907 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4910 Revert caps != NULL check temporarily for 0.10.17 release.
4912 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4915 Check if caps are not NULL (fix bug #510194)
4917 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4920 Fix compilation on systems that have posix timers but no
4923 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4926 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4928 * tools/gst-inspect.c:
4929 Revert previous commit in preparation for an impromptu 0.10.17 release
4931 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4933 * tools/gst-inspect.c: (print_interfaces),
4934 (print_element_properties_info), (print_pad_info),
4935 (print_signal_info), (print_element_info):
4936 Fix a few memory leaks.
4938 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4943 === release 0.10.16 ===
4945 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4948 releasing 0.10.16, "Special Dispensation"
4950 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4953 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4954 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4955 not fail when trying to crosscompile on OpenEmbedded (#511750).
4957 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4960 Use $(MAKE) instead of make to fix the build if GNU make is
4961 called different. Fixes bug #510747.
4963 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4965 * gst/gstplugin.c: (_gst_plugin_initialize):
4966 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4967 again, which I broke two commits ago when changing the API
4968 of gst_plugin_register_static(): the g_list_foreach() in
4969 _gst_plugin_register_static still assumed the old function
4970 signature and would therefore fail (re-fixes #510187).
4972 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4973 (_gst_plugin_register_static), (gst_plugin_register_static):
4974 Revert the (technically correct) change to call g_thread_init() from
4975 the pre-main() constructor. This will break programs which call
4976 g_thread_init() without an if (!g_thread_supported()) guard in their
4977 main function. We could just blame it on GLib or the application, but
4978 it's probably best to just avoid this altogether and simply not use
4979 any GLib functions here and use plain old malloc() with a simple
4980 array to store the plugins to register later when gst_init() is
4981 finally called (re-fixes #510187).
4983 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4984 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4985 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4986 (GST_START_TEST), (gst_plugin_suite):
4987 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4990 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4992 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4993 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4994 This makes gtk-doc complain, but results in slightly better
4995 compiler errors. The old _gst_plugin_register_static() is
4996 still guarded, so there'll be a compiler warning about that
4997 instead. Fixes #510187 too.
4999 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5001 * gst/gst.c: (init_post):
5002 * gst/gstplugin.c: (_gst_plugin_register_static),
5003 (gst_plugin_register_static), (_gst_plugin_initialize):
5004 * gst/gstplugin.h: (GstPluginFilter):
5005 Change API of gst_plugin_register_static() to not take
5006 a GstPluginDesc, but rather just take all the arguments
5007 in a GstPluginDesc directly. This is more intuitive and
5008 avoids certain mistakes when porting code from
5009 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5012 * tests/check/gst/gstplugin.c:
5013 Fix up for changed API.
5015 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5017 * docs/faq/legal.xml:
5018 Update FAQ, Totem actually has an exception these days.
5020 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5022 * win32/common/libgstreamer.def:
5023 Add new API declarations
5025 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5027 * gst/gstminiobject.c:
5028 Spelling fixes for the API docs.
5030 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5032 * libs/gst/base/gstbasetransform.c:
5033 Fix long property description for QoS.
5035 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5038 _gst_trace_on is already provided by gsttrace.h, no need to declare
5041 * docs/libs/gstreamer-libs-sections.txt:
5042 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5043 and remove strange tcase_add_test which is outputting a warning.
5045 * libs/gst/check/gstcheck.c:
5046 * libs/gst/check/gstcheck.h:
5047 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5048 and define them in gstcheck.c instead of having every .c file whcih
5049 includes gstcheck.h be defining its own copy and relying on symbol
5050 interposing to marry them all, which doesn't work on Solaris.
5052 * tests/check/elements/identity.c: (GST_START_TEST):
5053 Don't define 'buffers' locally, it comes from libgstcheck.
5055 * tests/check/generic/sinks.c: (send_buffer):
5056 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5058 * tests/check/gst/gststructure.c: (GST_START_TEST):
5059 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5060 * tests/check/gst/gstutils.c: (GST_START_TEST):
5061 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5062 Add a bunch of casts to make various constants fit the types
5063 they're being assigned to.
5065 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5067 * gst/gstchildproxy.c:
5068 Improve docs and add some ideas for making this more general-purpose.
5070 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5072 * gst/gst_private.h: (GST_CAT_TYPES):
5073 Add GST_CAT_TYPES, for consistency, and so that the other
5074 debug categories don't make fun of it. Spotted by Saur on IRC.
5076 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5078 * gst/parse/Makefile.am:
5079 Move types.h from EXTRA_DIST to noinst_HEADERS.
5081 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5084 Add -Wno-portability to the automake parameters to stop warnings
5085 about GNU make extensions being used. We require GNU make in almost
5086 every Makefile anyway.
5089 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5090 at the same time is required for per target flags.
5092 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5095 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5096 __GNUC__ is defined before using it.
5098 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5100 * docs/gst/gstreamer-sections.txt:
5101 * gst/gst.c: (init_post):
5102 * gst/gstplugin.c: (_gst_plugin_register_static),
5103 (gst_plugin_register_static), (_gst_plugin_initialize),
5104 (gst_plugin_register_func):
5105 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5106 API: add gst_plugin_register_static() and deprecate
5107 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5109 Also, in _gst_plugin_register_static(), make sure to call
5110 g_thread_init() before calling GLib functions such as
5111 g_list_append() if we're not initialised yet, since that
5112 may lead to random crashes with older GSlice/GLib versions.
5114 * tests/check/gst/gstplugin.c:
5115 Adapt unit test to above changes.
5117 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5119 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5120 * gst/gstcaps.c: (gst_caps_to_string):
5121 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5122 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5123 Yet another gratuitous GString micro-optimisation: add a (private)
5124 function that serialises a structure appending to an existing
5125 GString, so that when we serialise caps we don't need to alloc+free
5126 a throwaway GString for each structure (each of which also entailing
5127 multiple reallocs on the way); also use g_string_sized_new() in
5128 various places with an approximate string length to avoid reallocs
5129 within GString. See #500143.
5131 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5133 * gst/gststructure.c: (gst_structure_id_set_value):
5134 Always check UTF-8 conformance of structure strings and not only
5135 if the debugging system is enabled; reasoning: the behaviour of
5136 the actual code shouldn't really change depending on whether the
5137 debugging system is enabled or not (#508291).
5139 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5142 Remove old coverage target in favour of "make lcov".
5144 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5146 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5147 (gst_base_src_loop):
5148 The start segment for reverse playback goes from start to last_stop.
5150 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5152 Patch by: Peter Kjellerstedt <pkj axis com>
5155 Cast the results from the timeval/spec_to_time macros to what the
5156 docs say it casts to, a GstClockTime. fixes #508175.
5158 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5161 Update some comments.
5163 * tools/gst-inspect.c: (print_element_properties_info):
5164 Improve printing of flags.
5166 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5168 * libs/gst/base/gstbasetransform.c:
5169 (gst_base_transform_transform_size):
5170 Print element name with g_warning() if there's a problem
5173 2008-01-07 David Schleef <ds@schleef.org>
5175 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5177 * libs/gst/controller/gstcontroller.h:
5178 * libs/gst/controller/gstcontrolsource.h:
5179 * libs/gst/controller/gstinterpolationcontrolsource.h:
5180 * libs/gst/controller/gstlfocontrolsource.h:
5181 * libs/gst/dataprotocol/dataprotocol.h:
5182 Fix empty prototypes. Fixes bug #507957.
5184 2008-01-07 David Schleef <ds@schleef.org>
5186 * docs/faq/dependencies.xml: Fix typo.
5188 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5190 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5191 (gst_base_src_loop):
5192 Don't update the last_stop position in do_seek, that's the position we
5194 Read backwards when we have a negative rate.
5196 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5197 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5199 Add check for reverse reading.
5201 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5203 Patch by: Alexis Ballier <aballier at gentoo org>
5205 * tests/check/gst/gstabi.c:
5206 * tests/check/gst/struct_ppc64.h:
5207 * tests/check/libs/libsabi.c:
5208 * tests/check/libs/struct_ppc64.h:
5209 Decide which header to include based on the userland ABI target
5210 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5211 for 64-bit userland (#503590). Might need something similar for
5214 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5216 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5217 Log the reason why fopen fails in addition to the fact that it failed.
5219 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5221 * gst/parse/parse.l:
5222 Use "%option never-interactive" to prevent useless calls to isatty()
5223 on every input when parsing. Also use "%option noinput" to not define
5224 the static input/yyinput functions which we don't use anyway. This
5225 removes a compiler warning with gcc 4.3 and saves some bytes in the
5228 * gst/parse/lex._gst_parse_yy.pre.c:
5229 Regenerated for the above change.
5231 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5233 * gst/gstpad.c: (fixate_value):
5234 Don't crash when trying to fixate and empty list.
5237 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5239 * docs/faq/gst-uninstalled:
5240 Clarify the comments to make the usage of this script and what it
5241 does easier to understand.
5243 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5245 * tools/gst-plot-timeline.py:
5246 Add more options to gst-plot-timeline
5248 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5250 * docs/design/part-synchronisation.txt:
5251 Some more info on how the stream_time in GstBaseSink is done.
5253 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5255 * tests/check/generic/sinks.c: (gst_sinks_suite):
5256 Put back the tcase_set_timeout(), apparently it's needed after
5257 all; fix it up in a way that makes things work with valgrind too.
5259 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5261 * gst/gstdebugutils.c:
5262 Add warning when failed to open file for writing.
5264 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5266 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5268 * gst/gstvalue.c: (gst_value_is_fixed):
5269 Optimisation: bail out of the loop as early as possible (#500143).
5271 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5273 * gst/gstcaps.c: (gst_caps_to_string):
5274 * gst/gstinfo.c: (gst_debug_construct_term_color):
5275 * gst/gstparse.c: (gst_parse_launchv):
5276 * gst/gstutils.c: (gst_util_dump_mem):
5277 * gst/gstvalue.c: (gst_value_serialize_any_list),
5278 (gst_value_transform_any_list_string):
5279 Bunch of gratuitous nano-optimisations.
5281 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5283 * tests/check/generic/sinks.c: (async_done_func),
5284 (async_done_eos_func):
5285 Fix leak in unit test (bus sync handler must unref the message
5286 if it returns GST_BUS_DROP). Don't fiddle with the default test
5287 timeout, this is smaller than the current preconfigured value
5288 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5289 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5291 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5293 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5296 Check for stdio_ext.h for the filesink changes.
5298 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5299 (gst_file_sink_class_init), (gst_file_sink_init),
5300 (gst_file_sink_dispose), (gst_file_sink_set_property),
5301 (gst_file_sink_get_property), (gst_file_sink_open_file),
5302 (gst_file_sink_close_file):
5303 * plugins/elements/gstfilesink.h:
5304 Add two properties to control the buffering mode and size.
5305 API: GstFileSink::buffer-mode
5306 API: GstFileSink::buffer-size
5309 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5311 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5312 Add some more docs to explain why a FIXME was wrongly added.
5314 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5317 Fix typo in the gst_object_{ref,unref} documentation.
5319 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5321 * tests/check/libs/controller.c:
5322 * tests/check/libs/typefindhelper.c:
5323 * tests/check/pipelines/parse-launch.c:
5324 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5325 going to be deprecated (see #498924).
5327 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/gsttypefind.c: (gst_type_find_register):
5330 Make gst_type_find_register work for static typefind functions,
5331 ie. allow passing plugin == NULL (prerequisite for #498924).
5333 * gst/gstelementfactory.c: (gst_element_register):
5334 Small docs addition.
5336 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5338 * gst/gstpad.c: (gst_pad_dispose):
5339 Really unlink the peer pad instead of setting the peer pointer to NULL
5340 when we dispose the pad.
5341 This correctly calls the unlink functions and makes sure that the peer
5342 does not have a handle to invalid memory. See #504671.
5344 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5345 Add testsuite for above case.
5347 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5349 Patch by: Peter Kjellerstedt <pkj axis com>
5351 * libs/gst/check/gstcheck.h:
5352 Fix detection of the check version we're compiling against (would
5353 otherwise break if check goes v0.10.0); correctly report the
5354 name of the failed test again in case of failure, instead of
5355 just 'tf' (fixes #504499).
5357 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5359 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5360 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5361 (gst_base_src_loop), (gst_base_src_set_flushing),
5362 (gst_base_src_change_state):
5363 Allow sending EOS to the source to make it send out an EOS event from
5364 the streaming thread.
5365 Update docs and deprecate the old NULL/READY shutdown method.
5367 * tests/check/libs/basesrc.c: (GST_START_TEST),
5368 (gst_basesrc_suite):
5369 Add unit test for controlled shutdown.
5371 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5373 * docs/design/part-synchronisation.txt:
5376 * gst/gstsegment.c: (gst_segment_set_seek),
5377 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5378 (gst_segment_to_running_time):
5379 The seek format can be different from the segment format when the start
5380 and stop values are not to be updated, when we only do a rate change for
5383 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5384 (gst_segment_suite):
5385 Add a testcase for the rate-only seeks, checking that the format is
5386 correctly ignored when start and stop are not updated.
5388 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5390 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5392 * win32/vs8/grammar.vcproj:
5393 * win32/vs8/libgstcontroller.vcproj:
5394 * win32/vs8/libgstreamer.vcproj:
5395 Fix compilation with VS8 and include some missing files.
5397 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5400 Small docs addition: mention that the strings returned by
5401 gst_tag_list_get_string*() are in UTF-8 encoding.
5403 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5406 The check-exports stuff moved to common/win32.mak, so include that.
5408 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5410 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5411 (gst_base_src_perform_seek), (gst_base_src_get_range),
5412 (gst_base_src_set_playing), (gst_base_src_change_state):
5413 Make _wait_playing() not check any variables so that we can call this
5414 function from subclasses. Move the checks elsewhere similar to
5415 _wait_preroll() in basesink.
5417 Only signal the LIVE cond when we are going back to PLAYING.
5419 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5421 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5422 Use g_remove() and g_rename(). Check result of g_rename(), and
5423 don't leak the open file descriptor if we error out when writing.
5425 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5426 Must check the return value of close() after writing out the new
5427 registry file. Sometimes write problems such as out-of-diskspace
5428 are only reported when the file is closed and not already during
5429 the write. This may have caused partial/broken registry files in
5430 some rare circumstances. Should fix #503675.
5432 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5434 * docs/gst/.cvsignore:
5435 * docs/libs/.cvsignore:
5436 * docs/plugins/.cvsignore:
5437 Ignore files generated by new common/* modifications
5439 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5441 * win32/common/libgstbase.def:
5442 Yes, you can also have a <TAB> if you want.
5444 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5446 * win32/common/libgstbase.def:
5447 Add new basetransform API to win export file.
5449 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5451 * tests/check/gst/gstbin.c:
5452 Adjust the test to the refcount change two days ago.
5454 2007-12-14 David Schleef <ds@schleef.org>
5456 * docs/faq/getting.xml: Fix typo.
5458 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5460 * docs/libs/gstreamer-libs-sections.txt:
5461 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5462 (gst_base_transform_prepare_output_buffer),
5463 (gst_base_transform_set_gap_aware):
5464 * libs/gst/base/gstbasetransform.h:
5465 API: Add gst_base_transform_set_gap_aware() to control whether
5466 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5467 get buffers with this flag at all. Fixes #503231.
5469 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5471 * libs/gst/base/gstbasesink.c:
5472 * libs/gst/base/gstbasesrc.c:
5473 * libs/gst/base/gstbasetransform.c:
5474 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5475 thread. Correct log message in gstbasesrc.c.
5477 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5479 * gst/gstutils.c: (element_find_unconnected_pad):
5480 Fix possible compiler warning (#503417).
5482 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5484 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5485 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5487 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5489 * tools/gst-inspect.c: (print_element_properties_info):
5490 Add support for GstFraction properties.
5492 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5495 Add check-exports target and run it as part of 'make check'
5496 (see #499140 and #493983).
5498 * gst/gst_private.h:
5499 * gst/gstelementfactory.h:
5500 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5501 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5502 (_priv_gst_in_valgrind):
5503 * gst/gstinfo.h: (GstLogFunction):
5504 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5505 (gst_type_find_register):
5506 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5507 (gst_type_find_factory_get_type):
5508 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5509 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5510 (gst_controller_new_valist), (gst_controller_new_list),
5511 (_gst_controller_dispose), (_gst_controller_class_init):
5512 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5513 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5514 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5515 (gst_object_get_controller), (gst_object_set_controller),
5516 (gst_object_suggest_next_sync), (gst_object_sync_values),
5517 (gst_object_set_control_source), (gst_object_get_control_source),
5518 (gst_object_get_value_arrays), (gst_object_get_value_array),
5519 (gst_object_get_control_rate), (gst_object_set_control_rate):
5520 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5521 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5522 Make some functions that should be static static; rename some
5523 private symbols so that they don't get exported; add some FIXME
5524 comments so we can move accidentally exported functions into
5525 our private section in 0.11.
5527 * win32/common/libgstreamer.def:
5528 Add gst_utils_get_timestamp().
5530 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5534 Add more missing "Since:" tags to docs.
5536 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5539 Add mising "Since:" to docs.
5541 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5544 Include "glib-compat-private.h" to fix the build on system with
5545 glib < 2.10. Fixes #503131.
5547 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5551 Actually its not PURE as it gets the time from elsewhere.
5553 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5555 * docs/gst/gstreamer-sections.txt:
5557 * gst/gstdebugutils.c:
5561 * libs/gst/base/gstbasesink.c:
5562 * tools/gst-launch.c:
5563 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5564 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5565 Thanks Tim for spotting.
5566 API: gst_util_get_timestamp
5568 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5571 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5573 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5575 * gst/gststructure.c: (gst_structure_validate_name),
5576 (gst_structure_new_valist), (gst_structure_parse_value),
5577 (gst_structure_from_string):
5578 Don't crash in _from_string() if the structure name is not valid
5579 (fixes #501560). Allow structure names to start with a number
5580 again (this apparently broke the ubuntu codec installer).
5582 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5584 Add unit test for the crash; update unit tests for new behaviour.
5586 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5589 Clarify gst_element_get_compatible_pad() documentation.
5592 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5594 * tests/check/Makefile.am:
5595 Don't forget to dist {gst,libs}/struct_hppa.h.
5597 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5599 * libs/gst/base/gstbasesink.c:
5600 Use new API to get elapsed time.
5602 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5604 * gst/gstdebugutils.c:
5606 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5608 * tools/gst-launch.c:
5609 Use new API to get elapsed time.
5611 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5613 * docs/gst/gstreamer-sections.txt:
5615 * gst/gstdebugutils.c:
5617 Rename new API + ChangeLog surgery to remove old name from last entry..
5619 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5621 * docs/gst/gstreamer-sections.txt:
5623 * gst/gstdebugutils.c:
5625 Now hide the different clock stuff behind a macro.
5627 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5630 * gst/gstdebugutils.c:
5632 Apply the posix-timer check from #361155. Conditionally use the posix
5633 timer for logging. This gives better timestamp precission, less
5634 overhead and no ntp jitter.
5636 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5638 * gst/gstminiobject.c: (gst_mini_object_get_type),
5639 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5640 (gst_mini_object_finalize), (gst_mini_object_copy),
5641 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5642 (gst_mini_object_replace), (param_mini_object_validate),
5643 (gst_param_spec_mini_object_get_type):
5644 Some cleanup and checking against invalid function parameters.
5646 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5648 * docs/gst/gstreamer-sections.txt:
5650 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5651 (gst_systemclock_suite):
5652 Start merging in the easy bits of #361155, the monotonic clock patch.
5653 This one adds a few handy macros with docs and a testsuite.
5655 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5657 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5658 Be a bit smarter when seeking, like, don't try to do a seek when it's
5659 not needed. This avoids errors when the file is not seekable.
5662 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5664 * docs/gst/gstreamer-docs.sgml:
5665 * docs/gst/gstreamer-sections.txt:
5666 * docs/gst/gstreamer.types.in:
5671 * plugins/elements/gstqueue.c:
5672 Due to popular request remove preset interface again. :-(.
5674 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5676 * tools/gst-inspect.c:
5677 Print 'default value' for enums and flags too.
5679 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5681 * docs/random/ensonic/profiling.txt:
5685 Fix typo and give better log output.
5687 * gst/gstdebugutils.c:
5688 * gst/gstdebugutils.h:
5689 More ideas, make graphs a bit smaller and fix param name in macro.
5691 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5694 Try harder to use the return value from fgets().
5696 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5699 For theses two fgets we handle the error below.
5701 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5703 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5704 Only send upstream events upstream. Fixes #498746.
5706 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5708 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5710 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5711 (gst_identity_init), (gst_identity_transform_ip),
5712 (gst_identity_set_property), (gst_identity_get_property):
5713 * plugins/elements/gstidentity.h:
5714 Add property to disable handoff signal emission. Fixes #498694.
5715 API: GstIdentity::signal-handoffs
5717 2007-11-21 Julien Moutte <julien@fluendo.com>
5719 * docs/faq/gst-uninstalled: Yet another missing library for the
5720 uninstalled script (fft)
5722 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5724 * docs/faq/developing.xml:
5725 Add a question about how to submit new translations.
5727 * docs/random/release:
5728 Update the contact email address for the Translation Project
5730 * plugins/elements/gstfdsrc.c:
5731 The parent_class for fdsrc is pushsrc, not GstElement.
5733 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5736 Plug a leak and fix saving.
5738 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5740 * docs/gst/gstreamer-sections.txt:
5741 Add new gst_preset__get_property_names() function to the docs
5744 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5748 Change _get_preset_names API to return a strv with copies. Add
5749 _get_property_names to allow implementations to filter and provide
5750 good default implementation.
5752 2007-11-20 Julien MOUTTE <julien@moutte.net>
5754 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5757 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5760 More cleanups, docs, and TODOs from comments that now slowly come in.
5762 2007-11-19 Julien MOUTTE <julien@moutte.net>
5764 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5767 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5770 Fix bogus warning and make the property type specific code more
5773 2007-11-19 Julien MOUTTE <julien@moutte.net>
5775 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5778 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5780 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5781 (gst_bin_add_func), (gst_bin_remove_func),
5782 (gst_bin_change_state_func), (gst_bin_continue_func):
5783 Change email, cleanups add some more debug and comments.
5784 Also set bus and clock on new elements when the pipeline was in error.
5786 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5789 * gst/gstdebugutils.c:
5790 Fix build with --disable-gst-debug. Fixes #497859.
5791 Spotted by Sameer Naik.
5793 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5796 Little documentation improvment.
5799 More TODO cleanups. Remove c++ comments.
5801 * libs/gst/controller/gstcontroller.c:
5802 Add TODO and use quark from static string.
5804 * tests/check/gst/gstmessage.c:
5805 * tests/check/gst/gststructure.c:
5806 Use quark from static string.
5808 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5811 Add some comments and TODOs.
5814 Add padding for future changes.
5816 * plugins/elements/gstqueue.c:
5817 Implement the iface.
5819 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5821 * docs/gst/gstreamer-docs.sgml:
5822 * docs/gst/gstreamer-sections.txt:
5823 * docs/gst/gstreamer.types.in:
5828 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5830 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5836 === release 0.10.15 ===
5838 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5841 releasing 0.10.15, "October"
5843 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5845 * win32/vs6/libgstreamer.dsp:
5846 Convert line endings back to DOS.
5848 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5850 * docs/design/draft-tagreading.txt:
5851 * docs/random/ensonic/profiling.txt:
5852 Update fast tagreading draft and performance profiling ideas.
5854 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5856 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5857 Don't hold the object lock when unreffing a buffer because it could
5858 cause a deadlock when the finalize function wants to grab the object
5859 lock too. Fixes #495133.
5861 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5863 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5864 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5865 Also accumulate time correctly when doing reverse playback. Fixes
5867 When converting to running and stream time, use default values for
5868 start/stop/time/accum when comparing different formats. Fixes #494245.
5870 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5871 Do running/stream time in TIME format.
5873 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5874 (gst_segment_suite):
5875 2 new unit tests for segment accumulation.
5877 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5879 * gst/gst.c: (init_pre):
5880 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5881 (_gst_debug_bin_to_dot_file):
5882 Move getenv() back into gst_init, so everyone can live happily
5883 ever after. Make sure the symbol isn't exported though.
5885 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5887 Patch by: Sebastien Moutte <sebastien moutte net>
5889 * win32/common/gstenumtypes.c:
5890 * win32/common/gstenumtypes.h:
5893 * win32/vs6/libgstreamer.dsp:
5894 Update vs6 project files (#494343).
5896 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5898 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5899 (gst_base_src_perform_seek), (gst_base_src_default_event),
5900 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5901 (gst_base_src_activate_pull):
5902 Unify flushing code, remove some old unlock code that is no longer used.
5903 Take the streaming lock when seeking to avoid races. Fixes #492729.
5904 Added some more comments.
5906 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5908 * gst/gst.c: (_gst_disable_segtrap):
5909 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5910 we can use gst_segtrap_is_enabled() there now that we have that API.
5911 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5912 to do the getenv here (and export the variable).
5914 * gst/gstdebugutils.c: (debug_dump_element),
5915 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5916 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5918 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5919 (gst_debug_log_default):
5920 Rename _gst_info_start_time to priv_gst_info_start_time so it
5921 doesn't get exported (was never in any header).
5923 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5924 (gst_plugin_loading_mutex):
5925 Make static mutex gst_plugin_loading_mutex really static (was never
5926 in any header), and use gst_segtrap_is_enabled() instead of
5927 _gst_disable_segtrap.
5929 * gst/gsttrace.c: (_gst_trace_default):
5930 Make local _gst_trace_default static (was never in any header).
5932 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5934 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5936 * win32/common/libgstbase.def:
5937 * win32/common/libgstcontroller.def:
5938 * win32/common/libgstdataprotocol.def:
5939 * win32/common/libgstnet.def:
5940 * win32/common/libgstreamer.def:
5941 Add more missing symbols, remove some duplicates, and sort
5942 as the 'sort' command sorts it (partially fixes #493983).
5944 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5946 * gst/gstelement.c: (gst_element_set_state_func):
5947 Only change the state cookie if a different state was set on the
5948 element. See #492729.
5950 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5953 Remove unused and uninitialised type variables that were still
5954 exported for some reason (they were never in any header files
5957 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5959 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5960 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5961 (gst_base_sink_event), (gst_base_sink_get_position_last),
5962 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5963 (gst_base_sink_change_state):
5964 Don't try to report a 0 position when we don't know, return -1 and FALSE
5965 instead. This mostly happens when we are prerolling.
5966 Make sure we can report the right position before we post the ASYNC_DONE
5967 message so that a message handler can query position without races.
5969 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5970 (async_done_handoff), (async_done_func), (send_buffer),
5971 (async_done_eos_func), (gst_sinks_suite):
5972 Add two tests for the above.
5974 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5977 Update with new email address.
5979 * docs/design/part-TODO.txt:
5980 Add some more info about future pad-block and negotiation changes.
5982 * docs/design/part-buffering.txt:
5983 Add some ideas about buffering reporting.
5985 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5987 * tests/check/gst/gstobject.c:
5988 Disable silly racy test that always fails on this combination of CPU
5991 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5993 Patch by: Murray Cumming <murrayc@murrayc.com>
5996 Corrected the registration of the parent-set and parent-unset
5997 signals: The parameter is a GstObject, not a GObject (#493134).
5999 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6001 * gst/gst_private.h:
6010 Move declaration of private _gst_foo_initialize() functions into
6011 our private header file where they should have been all along.
6013 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6015 * docs/plugins/gstreamer-plugins-sections.txt:
6016 * gst/gstdebugutils.h:
6018 * plugins/elements/gstqueue.c:
6019 gtk-doc fixes; trailing-comma-in-enum fix.
6021 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6023 * gst/gst.c: (gst_deinit):
6024 Clean up on deinit (not the external ones though, doesn't seem to be
6025 needed for some reason).
6027 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6029 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6030 Remove __declspec(dllimport) for MSVC that was copied over into core
6031 from a plugin, obviously without ever having been tested (note the
6032 single underscore in _declspec in the initial commit), and that doesn't
6033 really make sense. See #492077.
6035 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6037 * gst/gst.c: (init_post):
6038 * gst/gstevent.c: (_gst_event_initialize):
6039 * gst/gstquery.c: (_gst_query_initialize):
6040 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6041 g_type_class_ref() other types as well, see #349410 and #64764.
6043 * gst/gstbuffer.c: (_gst_buffer_initialize):
6044 * gst/gstmessage.c: (_gst_message_initialize):
6045 Simplify existing g_type_class_ref().
6047 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6049 * gst/gstformat.c: (_gst_format_initialize):
6050 g_type_class_ref() our GstFormat type to make sure we avoid the
6051 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6052 bug #64764. Should fix intermittent tee unit test failures (#474823).
6054 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6056 * tests/check/elements/tee.c: (test_num_buffers):
6057 Simplify, simplify, simplify - or not. Rewrite unit test
6058 not to use gst_parse_launch(); allow N sub-streams. Increasing
6059 the number of sub-streams seems to reproduce #474823 more easily.
6061 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6063 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6066 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6067 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6068 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6069 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6070 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6071 so use _pipe() directly (#492077).
6073 * win32/common/dirent.c: (_treaddir):
6074 Add a couple of casts to make it build without warnings with MSVC.
6076 * win32/common/libgstreamer.def:
6077 Add some more symbols that need to be exported.
6079 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6081 * tests/examples/metadata/read-metadata.c: (message_loop):
6082 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6083 arriving in a second or third tag message are added to
6084 the tag list as well.
6086 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6088 * libs/gst/base/gstbasesrc.c:
6089 Its "Since:" and not "@Since:". And remove an superflous cast.
6091 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6093 * docs/libs/gstreamer-libs-sections.txt:
6094 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6095 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6096 (gst_base_sink_get_property), (gst_base_sink_render_object),
6097 (gst_base_sink_preroll_object),
6098 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6099 (gst_base_sink_change_state):
6100 * libs/gst/base/gstbasesink.h:
6101 Add a new last-buffer property that contains the last buffer used in
6102 basesink for preroll or rendering. useful for making snapshots.
6103 API: gst_base_sink_get_last_buffer()
6104 API: GstBaseSink::last-buffer
6106 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6108 * docs/gst/running.xml:
6110 * gst/gstdebugutils.c:
6111 * gst/gstdebugutils.h:
6112 * tools/gst-launch.c:
6113 Improve bin graph dumping, by using the envvar to specify a path.
6114 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6116 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6118 * plugins/elements/gsttypefindelement.c:
6119 (gst_type_find_element_handle_event),
6120 (gst_type_find_element_activate):
6121 Post special error message if we can't determine the type of a stream
6124 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6126 * docs/gst/running.xml:
6127 * gst/gstdebugutils.c:
6128 Document new env-var. Add one log-line after dumpng a graph.
6130 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6133 Ugly hack to put the (recently removed and non-portable, apparently)
6134 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6135 GNU ld, because without that 'make check' fails miserably on my debian
6136 stable box. Someone with more knowledge of linker intricacies and
6137 portability issues than me fix this properly please.
6139 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6141 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6142 Reset last seen position after flushing so that we don't report the old
6145 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6147 * gst/gstelementfactory.c: (gst_element_register):
6149 Patch from Alessandro Decina adding get_type_full and
6150 get_protocols_full private vfuncs to the URIHandler interface
6151 to allow bindings to support creating URI handlers.
6152 Partially fixes: #339279
6153 API: GstURIHandlerInterface::get_type_full
6154 API: GstURIHandlerInterface::get_protocols_full
6156 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6158 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6159 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6160 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6161 Make it so that pads are considered linked until a buffer is pushed
6162 and discovered otherwise. This avoids problems with decodebin2 hanging
6163 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6166 Make sure we lock the multiqueue when updating the max-size properties.
6168 Fix a crash on Solaris in a debug statement in get_request_pad that
6169 passes a NULL string to GST_DEBUG.
6171 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6172 (run_output_order_test):
6173 Fix the test to allow the first buffer on not-linked pads to come out
6174 of sequence while multiqueue discovers that they are not-linked.
6176 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6179 * libs/gst/check/Makefile.am:
6180 Use a custom export symbol regex for libgstcheck, as it needs
6181 to export symbols that don't match the standard GStreamer gst_*
6182 pattern, and --export-dynamic is not portable (only works on
6185 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6186 (gst_check_setup_sink_pad):
6187 Make sure to pass a message parameter to the fail_* macros.
6189 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6190 Fix some compiler warnings.
6192 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6194 * tests/check/gst/gststructure.c: (test_to_string):
6195 Disable test that checks that white spaces are not allowed
6196 in structure names or field names, since we need to
6197 support that for now for backwards compatibility reasons.
6199 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6201 * docs/gst/gstreamer-sections.txt:
6204 API: add GST_TAG_ARTIST_SORTNAME
6205 API: add GST_TAG_ALBUM_SORTNAME
6206 API: add GST_TAG_TITLE_SORTNAME
6207 Add tag variants for sorting (#414539).
6209 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6211 * gst/gststructure.c:
6212 Also allow white space for names so we don't break
6213 backwards compatibility.
6215 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6217 * docs/design/part-TODO.txt:
6218 * docs/design/part-segments.txt:
6219 * docs/design/part-streams.txt:
6222 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6224 * docs/gst/gstreamer-sections.txt:
6225 Fixed documentation from my previous commit (added new API add
6226 gst_value_set_structure(), add gst_value_get_structure() and
6227 GST_VALUE_HOLDS_STRUCTURE).
6229 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6231 * gst/gstdebugutils.c:
6232 Reflow code to fix uninitialized variable warning.
6234 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6236 * gst/gstcaps.c: (gst_caps_to_string),
6237 (gst_caps_from_string_inplace):
6238 * gst/gststructure.c: (gst_structure_get_abbrs),
6239 (gst_structure_to_string), (gst_structure_from_string):
6240 * gst/gstvalue.c: (gst_value_set_structure),
6241 (gst_value_get_structure), (gst_value_serialize_structure),
6242 (gst_value_deserialize_structure), (_gst_value_initialize):
6244 * tests/check/gst/gststructure.c: (GST_START_TEST),
6245 (gst_structure_suite):
6246 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6247 Added GstStructure to gst_value_table and its related functions.
6248 Changed gst_structure_to_string to print ';' in the end.
6249 Changed gst_caps_to_string to not print ';' beteween its
6250 fields (structures) anymore and remove the lastes ';' from latest
6251 structure. Now it is possible to have nested structures.
6252 In addition, backward compatibilty is assured by accepting '\0' as
6253 end delimiter. Fixes: #487969.
6254 API: add gst_value_set_structure()
6255 API: add gst_value_get_structure()
6256 API: add GST_VALUE_HOLDS_STRUCTURE
6258 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6261 When no GSource callback has been set up, tell developer
6262 to use a function that actually exists.
6264 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6266 * docs/gst/gstreamer-sections.txt:
6270 * gst/gstdebugutils.c:
6271 * gst/gstdebugutils.h:
6274 * tools/gst-launch.c:
6275 Allow dumping pipelines as dot graphs. Fixes #456573.
6277 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6279 * gst/gststructure.c:
6280 Allow '+' as well, it can be part of media or mime types
6281 such as image/svg+xml.
6283 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6285 * docs/gst/gstreamer-sections.txt:
6288 API: add gst_bus_pop_filtered
6289 API: add gst_bus_timed_pop_filtered
6290 Two new functions for waiting for specific message types on the
6291 bus for a specified amount of time without iterating any main
6292 loops or main contexts.
6294 * tests/check/gst/gstbus.c:
6295 Some tests for the new functions.
6297 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6299 * docs/libs/gstreamer-libs-sections.txt:
6300 Make gtk-doc ignore stuff it should ignore.
6302 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6304 * libs/gst/check/gstcheck.c:
6305 * libs/gst/check/gstcheck.h:
6306 Allow runtime selection of unit tests to run via the GST_CHECKS
6307 environment variable (test case function names, comma-separated).
6309 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6311 * gst/gststructure.c:
6312 * tests/check/gst/gststructure.c:
6313 Revert serialisation change and constrain structure-names after
6314 consensus on irc. Update api documentation to reflect the change.
6316 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6318 * gst/gststructure.c:
6319 Improve serialization and fix tests.
6321 * tests/check/gst/gststructure.c:
6322 Add another test that covers why I actually did the previous structure
6325 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6327 * tools/gst-inspect.c: (print_element_info):
6328 Don't crash when inspecting an element.
6330 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6332 * tests/check/gst/gststructure.c:
6333 Add unit test for escaping of structure name when serialising
6334 and deserialising to/from strings.
6336 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6338 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6339 (gst_single_queue_new):
6340 * plugins/elements/gstqueue.c: (gst_queue_init),
6341 (gst_queue_push_one):
6342 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6343 upstream is tricked into thinking it can suggest a format downstream
6344 while downstream does not support that format. The real problem is that
6345 core calls acceptcaps when pushing a buffer with new caps, for which we
6346 do a little workaround by setting the caps on the srcpad ourselves
6347 before pushing the buffer (until this is figured out). Fixes #486758.
6349 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6351 * gst/gststructure.c:
6353 Add some more comments and debug output. Quote structure name to fix
6354 deserialisation of some strings.
6356 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6359 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6360 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6362 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6364 * tools/gst-inspect.c:
6365 Save approx. 400 1 byte allocs when printing. Use API to acces element
6371 * tools/gst-xmlinspect.c:
6372 Use API to acces element details.
6374 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6377 Fix some spelling errors.
6379 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6381 * gst/gstbin.c: (bin_handle_async_done):
6382 Correctly set the next state if all of our async children commited their
6383 state. This makes sure we can actually cancel the state change in
6384 progress. Fixes a regression in Rhythmbox when seeking.
6386 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6389 Don't shadow local variable.
6392 Don't shadow global function name.
6394 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6396 * gst/gstelementfactory.c:
6397 * gst/gstpluginfeature.c:
6398 * gst/gstpluginfeature.h:
6399 * gst/gstregistrybinary.c:
6400 * gst/gstregistryxml.c:
6401 * gst/gsttypefind.c:
6402 Use already-interned string for the private GstPluginFeature
6405 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6407 * docs/libs/gstreamer-libs-sections.txt:
6408 Add new API to docs; fixes the build.
6410 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6412 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6414 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6415 (gst_base_sink_event):
6416 * libs/gst/base/gstbasesink.h:
6417 Add function to wait for EOS, subclasses can use this to correctly wait
6418 for devices to drain before performing the EOS logic. Fixes #485343.
6419 API: gst_base_sink_wait_eos()
6421 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6424 Cast description string constants in GST_PLUGIN_DEFINE macros
6425 to a (gchar*) to make C++ code using these macros compile
6426 without warning with g++-4.2 (see #462737). Even if slightly
6427 ugly, this seems preferable to putting the description strings
6428 into the GLib quark table or making the structure member a
6429 const gchar * and doing casts in core code that allocs and
6430 frees these strings, or requiring a cast in the C++ code.
6432 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6435 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6436 to print the entire class/function signature into the log
6437 file for C++ code. This only affects C++ code, for C code
6438 everything remains the same.
6440 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6442 * gst/gstbin.c: (remove_from_queue):
6443 Work around a problem with pipelines containing (semi)loops until a
6444 proper, more complicated solution is ready. See #475455.
6446 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6450 * gst/gstregistrybinary.c:
6451 * gst/gstregistryxml.c:
6452 Put more strings into the GLib quark table. No need to keep
6453 a hundred-something copies of identical version strings,
6454 license strings, package name strings and package origin
6457 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6459 * docs/manual/advanced-dataaccess.xml:
6460 Don't imply that it's okay to unconditionally change
6461 buffer data or buffer metadata in a pad probe callback,
6462 and a bunch of other comments. Fixes #430031.
6464 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6466 * win32/common/gstenumtypes.c:
6467 * win32/common/gstenumtypes.h:
6468 * win32/common/gstversion.h:
6469 Update generated files.
6471 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6473 * docs/manual/advanced-autoplugging.xml:
6474 Prefix section with broken code with a warning (see #342432).
6476 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6478 * docs/manual/appendix-integration.xml:
6479 * docs/manual/basics-init.xml:
6480 Call g_thread_init() before g_option_context_new() to
6481 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6483 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6485 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6486 (gst_base_sink_queue_object_unlocked),
6487 (gst_base_sink_queue_object), (gst_base_sink_event),
6488 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6489 When we received EOS and are waiting for when to post the EOS message,
6490 our state is prerolled and we should not return ASYNC.
6491 Reorganize some code paths to implement this behavior.
6493 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6495 Add unit test to verify above EOS fix.
6497 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6499 * plugins/elements/gsttypefindelement.c:
6500 (gst_type_find_element_have_type), (gst_type_find_element_init),
6501 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6502 Move detecting the input caps of the sinkpad to the setcaps function.
6503 This allows us to update the output caps when we receive new input caps
6504 instead of always using the first detected caps.
6506 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6508 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6509 (gst_base_sink_get_position):
6510 Don't try to preroll non-async elements after a flush.
6511 Subtract latency form clock times when reporting position.
6513 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6515 * gst/gstpad.c: (gst_pad_pause_task):
6517 Small comment and documentation update.
6519 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6521 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6522 (gst_base_src_set_live), (gst_base_src_is_live),
6523 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6524 (gst_base_src_default_event), (gst_base_src_wait),
6525 (gst_base_src_do_sync), (gst_base_src_get_range),
6526 (gst_base_src_pad_get_range), (gst_base_src_loop),
6527 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6528 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6529 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6530 (gst_base_src_change_state):
6531 Rework the locking of basesrc in a similar fashion to basesink. We
6532 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6533 us to handle live sources and semi live ones much better.
6535 Fix unlocking when seeking, shutting down and pausing in live sources.
6537 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6539 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6540 Fix compilation again.
6542 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6545 Use meaningful categories for the logs to clean the default one.
6547 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6549 * tests/check/pipelines/cleanup.c:
6550 Print message name and not just number.
6552 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6554 * docs/design/draft-tagreading.txt:
6555 Add some more thoughts.
6557 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6559 * tests/check/pipelines/simple-launch-lines.c:
6560 Print message name and not just number.
6562 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6564 * libs/gst/base/gsttypefindhelper.c:
6565 Speedup typefinding. This is work in progress (see #459862).
6567 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6570 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6571 Spotted by Josep Torra Valles <josep@fluendo.com>.
6573 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6576 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6577 field has moved to GstObject.
6579 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6581 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6582 (gst_base_src_get_range), (gst_base_src_change_state):
6583 Call unlock for live sources so that they can't get stuck in _create and
6584 produce a buffer before they are set back to PLAYING.
6586 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6588 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6589 (gst_queue_locked_dequeue):
6590 Comment the segment-related code... in the PROPER function.
6591 See #482147 and my commit from yesterday.
6593 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6595 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6596 Also initialize the counter that calculates the first timestamp on a
6597 buffer correctly for non-live sources.
6599 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6601 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6602 Disable code that's breaking the current-time-level reporting.
6605 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6607 * docs/gst/gstreamer-sections.txt:
6608 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6609 as they shouldn't show up. Fixes the docs build.
6611 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6614 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6615 Define M_PI which is used in files which are including gstinfo.h.
6616 VS6 includes doesn't define it.
6617 * win32/common/libgstbase.def:
6618 * win32/common/libgstcontroller.def:
6619 * win32/common/libgstreamer.def:
6620 Add new exported functions and variables.
6621 * win32/vs6/libgstcontroller.dsp:
6622 * win32/vs6/libgstreamer.dsp:
6623 Update the list of files to build.
6625 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6627 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6629 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6630 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6631 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6632 Improve debugging. Fixes #480858.
6634 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6636 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6638 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6639 First patch of code cleanups, use the macros and right arguments in the
6640 macros to signal and lock the queue. See #480858.
6642 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6644 * gst/gstbus.c: (poll_func):
6645 Improve debugging when dealing with _poll().
6647 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6649 * gst/gstregistryxml.c:
6650 Fix memory leak I introduced a few days ago.
6652 2007-09-26 Michael Smith <msmith@fluendo.com>
6654 * gst/gstbuffer.c: (gst_buffer_finalize):
6655 Make it once again possible to free GstBuffers in the default
6657 The poisoning scribbles on parts of the miniobject we need in
6661 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6663 * docs/gst/gstreamer-sections.txt:
6666 API: add GST_TAG_COMPOSER, fixes #459809.
6668 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6672 Add the 3-clause BSD license and the MIT/X11 license to the license
6673 list. Fixes #479784.
6675 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6677 * docs/faq/getting.xml:
6678 Add Q+A about different GStreamer versions (#364056).
6680 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6682 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6683 (gst_base_sink_event), (gst_base_sink_change_state):
6684 Return correct gboolean from query function.
6686 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6688 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6689 (gst_base_sink_event), (gst_base_sink_query),
6690 (gst_base_sink_change_state):
6691 Simplify latency query.
6692 When not synchronizing, we can report latency without querying the peer
6695 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6699 Fix small typos in the docs.
6701 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6703 * docs/design/draft-latency.txt:
6704 * docs/design/draft-push-pull.txt:
6705 * docs/design/draft-tagreading.txt:
6706 * docs/design/part-MT-refcounting.txt:
6707 * docs/design/part-activation.txt:
6708 * docs/design/part-block.txt:
6709 * docs/design/part-element-source.txt:
6710 * docs/design/part-events.txt:
6711 * docs/design/part-gstbin.txt:
6712 * docs/design/part-gstelement.txt:
6713 * docs/design/part-gstobject.txt:
6714 * docs/design/part-gstpipeline.txt:
6715 * docs/design/part-messages.txt:
6716 * docs/design/part-preroll.txt:
6717 * docs/design/part-push-pull.txt:
6718 * docs/design/part-qos.txt:
6719 * docs/design/part-query.txt:
6720 * docs/design/part-scheduling.txt:
6721 * docs/design/part-seeking.txt:
6722 * docs/design/part-segments.txt:
6723 * docs/design/part-states.txt:
6724 Documentation updates and typo fixes.
6726 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6728 * plugins/elements/gstfakesink.c:
6729 Add some debug text to error message to indicate that
6730 we errored out on request.
6732 * tools/gst-launch.c:
6733 When the state change to PLAYING fails, check for an
6734 error message on the bus and print it.
6736 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6738 translated by: Jorge González González <aloriel@gmail.com>
6742 Added Spanish translation.
6744 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6746 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6747 Fix printf arguments.
6749 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6751 * tests/check/generic/states.c:
6752 Improved state change unit test.
6754 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6757 Move priv to the right place.
6759 * gst/gstsystemclock.c:
6760 Add FIXME: and improve log.
6762 * tests/check/Makefile.am:
6763 * tests/examples/manual/Makefile.am:
6764 Work with all types of registries.
6766 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6768 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6769 Don't unref the event after pushing it. Fixes #478401.
6771 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6774 * tests/examples/manual/.cvsignore:
6775 Ignore registries in any format.
6777 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6779 * gst/glib-compat-private.h:
6780 Add compatibility macro for g_intern_string() for
6781 GLib-2.8 (any reason we can't just bump the
6782 requirement to at least 2.10?)
6784 * gst/gstpadtemplate.h:
6785 * gst/gstelementfactory.c:
6786 * gst/gstregistryxml.c:
6787 * gst/gstregistrybinary.c:
6788 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6789 up the internal code accordingly. This shouldn't be a problem, since
6790 there is no reason external code could ever assume the string in such
6791 a structure is dynamically allocated unless it did that itself; the
6792 use of g_strdup() is private to element factories. The new code also
6793 saves some memory by putting pad template name strings into the GLib
6794 quark table instead of allocating them dynamically.
6795 Declaring this field constant fixes warnings with g++-4.2 when using
6796 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6798 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6800 * gst/gstelementfactory.c:
6801 Release static caps. Fixes #475723.
6803 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6807 Make some internal API take const gchar * instead of just
6808 gchar * to avoid compiler warnings with g++-4.2.2 when
6809 passing string constants (partially fixes #478092).
6811 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6813 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6814 A latency query fails when one of the sinks fail.
6816 * gst/gstelement.c: (gst_element_set_base_time):
6819 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6821 * gst/gstbin.c: (gst_bin_continue_func):
6822 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6823 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6824 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6826 Fix minor compilation warnings shown with Forte.
6828 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6830 * plugins/elements/gstqueue.c: (apply_buffer),
6831 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6832 Measure queue level based on the diff between head and tail timestamps
6833 even when pushing the first buffer.
6835 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6837 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6838 (gst_base_sink_event), (gst_base_sink_change_state):
6839 Sinks that don't preroll can always be queried for the latency.
6840 Don't post ASYNC start when we are not async.
6842 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6844 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6845 (gst_queue_handle_sink_event), (gst_queue_chain),
6846 (gst_queue_push_one), (gst_queue_handle_src_query),
6847 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6848 * plugins/elements/gstqueue.h:
6849 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6850 push more buffers but allow pushing of EOS and NEWSEGMENT.
6851 Add some more debug info here and there. Fixes #476514.
6853 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6855 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6856 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6857 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6858 (gst_base_sink_set_flushing), (gst_base_sink_query),
6859 (gst_base_sink_change_state):
6860 Latency query is allowed after we are prerolled. Introduce a new flag
6861 for this and stop abusing other variables.
6863 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6865 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6866 Push OOB events downstream when we get them in send_event. This allows
6867 the application to insert events in the pipeline.
6868 Add some more comments.
6870 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6872 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6873 (do_bin_latency), (gst_bin_change_state_func):
6874 * gst/gstpipeline.c: (gst_pipeline_change_state):
6875 Move latency query from GstPipeline to GstBin so that we can also
6876 use it when async-handling is enabled on bins.
6878 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6880 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6881 (gst_base_src_do_sync), (gst_base_src_change_state):
6883 Clean up the timestamping and syncing code for pseudo live sources.
6885 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6887 Patch by: Steve Fink <sphink gmail com>
6889 * docs/manual/appendix-checklist.xml:
6890 Mention less -R switch in the section about debug output (#474055).
6892 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6894 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6895 Queue can latency to the pipeline up to the configured max size in time.
6896 Report this fact in the latency query.
6898 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6900 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6902 * libs/gst/controller/gstinterpolation.c:
6903 * libs/gst/controller/gstlfocontrolsource.c:
6904 Use gst_guint64_to_gdouble() when converting from a uint64 or
6905 GstClockTime to double to fix the build on win32. Fixes #474371.
6907 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6909 * gst/gstbuffer.c: (gst_buffer_finalize):
6910 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6911 When finalizing a buffer the complete struct is filled with 0xff,
6912 thus making a use of the buffer after the final unref impossible.
6914 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6916 * tests/check/libs/controller.c: (GST_START_TEST):
6917 Use fail_unless_equals_int(a, b) instead of
6918 fail_unless_equals (a == b) to get better output on failures.
6920 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6922 * tests/check/gst/gsturi.c:
6923 Also check for the other file URI variant on win32.
6925 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6927 * gst/gsturi.c: (gst_uri_get_location):
6928 If there's no hostname, we want to return 'c:/foo/bar.txt'
6929 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6931 * tests/check/gst/gsturi.c:
6932 Unit test for the above and a few more things.
6934 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6936 * docs/design/part-live-source.txt:
6937 Add docs on how live sources should timestamp.
6939 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6940 Add some more debug info.
6941 For subclasses that are live and like to sync, add aditional startup
6942 latency to sync time and timestamps so that we timstamp according to the
6945 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6948 Also do a g_type_class_ref() for the subbuffer type in
6951 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6953 * docs/gst/gstreamer-sections.txt:
6954 * gst/gstpad.c: (gst_pad_peer_query):
6956 Add function to perform a query on the peer of a pad.
6957 API: gst_pad_peer_query()
6959 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6961 * tests/check/gst/gstsystemclock.c:
6962 Cleanup the test a little (use gst-logging and not g_message). Improve
6963 test to check if a wait reached the target.
6965 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6967 * docs/libs/gstreamer-libs-sections.txt:
6968 Add new API to docs and fix the build.
6970 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6972 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6973 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6974 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6975 (gst_base_src_get_property), (gst_base_src_do_sync):
6976 * libs/gst/base/gstbasesrc.h:
6977 Add property to make the basesrc timestamp buffers based on the current
6979 API: GstBaseSrc::do-timestamp
6980 API: gst_base_src_set_do_timestamp()
6981 API: gst_base_src_get_do_timestamp()
6983 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6985 * docs/random/release:
6986 Really make sure translations are up-to-date before
6987 a release (#465010).
6989 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6991 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6992 Always destroy the timer, also in error cases.
6994 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6996 * docs/manual/highlevel-xml.xml:
6997 Fix XML example code. Fixes #472714.
6999 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7001 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7002 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7003 (gst_base_sink_query):
7004 Protect eos and have_preroll with the OBJECT lock so we don't need to
7005 take the PREROLL lock when querying the latency. Fixes #473846.
7007 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7010 Give some log-messages a category.
7012 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7014 * gst/gststructure.c:
7015 (gst_structure_fixate_field_nearest_fraction):
7016 Fix fraction list fixation code. Take the fraction with the smallest
7017 difference with the target instead of the first one in the list.
7019 * tests/check/gst/gststructure.c: (GST_START_TEST),
7020 (gst_structure_suite):
7021 Added test to verify correct fraction list fixation behaviour.
7023 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7025 * win32/common/libgstreamer.def:
7026 Export gst_bus_add_signal_watch too.
7028 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7030 * docs/libs/gstreamer-libs-sections.txt:
7031 Add new methods to docs.
7033 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7034 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7035 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7036 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7037 * libs/gst/base/gstbasesink.h:
7038 Add ts-offset property to fine-tune the synchronisation.
7039 API: GstBaseSink::ts-offset property
7040 API: gst_base_sink_set_ts_offset()
7041 API: gst_base_sink_get_ts_offset()
7043 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7045 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7046 (gst_base_sink_init), (gst_base_sink_set_sync),
7047 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7048 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7049 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7050 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7051 (gst_base_sink_get_property), (gst_base_sink_change_state):
7052 * libs/gst/base/gstbasesink.h:
7053 Add async property to instruct the sink never to inform the parent about
7054 ASYNC state changes, update docs.
7055 Check argument with g_return_* for the public functions.
7056 API: GstBaseSink::async property
7057 API: gst_base_sink_set_async_enabled()
7058 API: gst_base_sink_is_async_enabled()
7060 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7062 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7065 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7066 (gst_base_src_default_query), (gst_base_src_wait),
7067 (gst_base_src_do_sync), (gst_base_src_change_state):
7068 Rearrange some code so that we can add support for measuring the
7071 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7073 * docs/random/ensonic/dynlink.txt:
7074 More thoughs on this.
7076 * plugins/elements/gstcapsfilter.c:
7077 Add bugzilla ticket number to FIXME comment.
7079 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7081 * docs/design/part-TODO.txt:
7082 * docs/design/part-block.txt:
7085 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7088 Revert patch which uses $(gst_headers) instead of $^ because it
7091 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7093 * tests/check/gst/gstbin.c: (GST_START_TEST):
7094 Fix leaks in the new unit test.
7096 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7099 Don't use GST_INFO before the debug system is actually initialised
7100 (shouldn't do any harm, but won't print anything either, so we can
7101 just as well remove it).
7104 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7105 compilers that don't support variadic macros (such as MSVC), should
7106 check for debug_level <= __gst_debug_min as well, since that's the
7107 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7108 inline helper functions. Should improve performance a bit, but also
7109 makes sure uses of GST_INFO et.al are ignored if the debugging
7110 system isn't initialised yet (instead of printing an assertion
7113 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7115 patch by: David Nečas <yeti@physics.muni.cz>
7118 Replace some non portable makefile constructs.
7120 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7122 * common/gtk-doc-plugins.mak:
7123 Grrrrr. Don't remove the types file on make clean.
7125 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7127 * tools/gst-launch.1.in:
7128 Add colorspace to example pipeline. Fixes #458274.
7130 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7132 * docs/random/release:
7133 The release manager should run 'make download-po' before making a
7134 release to make sure translations are up-to-date.
7140 Add some new translations.
7142 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7144 * tools/gst-launch.c: (event_loop), (main):
7145 Don´t try to do any state management when a live pipeline posts
7147 Also make the buffering string translatable.
7149 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7151 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7152 (bin_handle_async_start), (gst_bin_handle_message_func):
7154 When adding elements, insert messages into the bus of the newly added
7155 element and make sure the element is the source of the message. This
7156 allows the parent bin to intercept the message and do the
7157 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7158 messages to the app (which is not allowed).
7161 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7162 Fix testsuite so that is does not work around messages that should not
7163 have been posted in the first place.
7165 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7167 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7168 (update_degree), (gst_bin_sort_iterator_next):
7169 Fix annoying bug in the sorted iterator where a sink that is not really
7170 a sink (when it has downstream links) screwed up the iterator.
7172 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7173 Unit test to verify the fix.
7175 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7178 Add some more docs for the messages.
7180 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7181 (gst_base_sink_query):
7182 Add some more debugging.
7184 * tools/gst-launch.c: (event_loop):
7185 When interrupting, don't try to set pipeline to PAUSED twice.
7187 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7190 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7191 (bin_handle_async_start), (gst_bin_handle_message_func):
7192 Move ASYNC_START message posting to where it belongs, similar to
7194 Don't post ASYNC_START when we are in error.
7195 Post ASYNC_START when we added an async element to a bin.
7197 2007-08-14 Julien MOUTTE <julien@moutte.net>
7199 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7200 generation from vargs. Fixes #466595.
7202 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7204 * gst/gstbin.c: (gst_bin_element_set_state):
7205 Always change the state of a NO_PREROLL element even if it has ASYNC
7206 elements inside (in case of a bin).
7208 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7209 Unit test for this case.
7211 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7213 * libs/gst/check/gstbufferstraw.c:
7214 * libs/gst/check/gstcheck.h:
7215 * libs/gst/controller/gstcontroller.c:
7216 * libs/gst/controller/gstcontrolsource.h:
7217 * libs/gst/controller/gstlfocontrolsource.h:
7218 * plugins/elements/gstcapsfilter.h:
7219 * plugins/elements/gstfdsink.h:
7220 * plugins/elements/gstfdsrc.h:
7221 Add more missing docs.
7223 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7225 * gst/gststructure.c:
7226 Add Since tag to docs.
7228 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7230 * docs/gst/gstreamer-sections.txt:
7231 * gst/gststructure.c: (gst_structure_get_uint):
7232 * gst/gststructure.h:
7233 Add function to get uint from a structure.
7234 API: gst_structure_get_uint()
7236 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7238 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7239 (gst_caps_intersect):
7240 Fix proper check for simple caps.
7242 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7244 * docs/gst/Makefile.am:
7245 * docs/libs/Makefile.am:
7246 Remove cruft and do some cleanups.
7248 * docs/gst/gstreamer-docs.sgml:
7249 * docs/libs/gstreamer-libs-docs.sgml:
7250 Prepare for comming gtkdoc features (rebase against online docs).
7252 2007-08-10 Michael Smith <msmith@fluendo.com>
7254 * docs/gst/gstreamer-sections.txt:
7255 Add gst_registry_add_path to docs.
7257 2007-08-10 Michael Smith <msmith@fluendo.com>
7259 * gst/gstregistry.h:
7260 Add gst_registry_add_path, which was missing from this header.
7262 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7264 * libs/gst/controller/gstlfocontrolsource.c:
7267 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7269 * libs/gst/base/gstbasesink.c:
7270 Don't send an async_start message during downwards state change if
7271 target state is less than READY
7273 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7275 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7279 Added Hungarian translation.
7281 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7288 Updated translations.
7290 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7292 * libs/gst/controller/Makefile.am:
7293 Dist gstlfocontrolsourceprivate.h
7295 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7297 * docs/libs/gstreamer-libs.types:
7298 Don't register the enum type gst_lfo_waveform_get_type() in the
7299 .types file - only GObject derived types belong.
7301 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7303 Patch by: <arenevier at fdn dot fr>
7306 Remove comma from last element in enum to avoid compile errors when
7307 using -pendantic. Fixes #464366.
7309 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7311 * docs/design/part-TODO.txt:
7312 Add some more TODO items
7314 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7317 * gst/gstcaps.c: (gst_caps_intersect):
7318 Optimize trivial intersection case between identical caps pointers.
7320 * gst/gstelement.c: (gst_element_continue_state),
7321 (gst_element_set_state_func):
7323 Fix spelling and grammar mistakes.
7325 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7329 Update POTFILES. Fixes #461599.
7331 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7334 Fix confusing typo in debug output.
7336 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7338 reviewed by: Stefan Kost <ensonic@users.sf.net>
7340 * libs/gst/controller/Makefile.am:
7341 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7342 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7343 (gst_lfo_control_source_new),
7344 (gst_lfo_control_source_set_waveform),
7345 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7346 (gst_lfo_control_source_finalize),
7347 (gst_lfo_control_source_dispose),
7348 (gst_lfo_control_source_set_property),
7349 (gst_lfo_control_source_get_property),
7350 (gst_lfo_control_source_class_init):
7351 * libs/gst/controller/gstlfocontrolsource.h:
7352 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7353 API: Add GstLFOControlSource, a control source that gives values
7354 for specific timestamps based on several periodic waveforms.
7357 * tests/check/libs/controller.c: (GST_START_TEST),
7358 (gst_controller_suite):
7359 * docs/libs/gstreamer-libs-docs.sgml:
7360 * docs/libs/gstreamer-libs-sections.txt:
7361 * docs/libs/gstreamer-libs.types:
7362 Add documentation and unit tests for GstLFOControlSource.
7364 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7369 === release 0.10.14 ===
7371 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7374 releasing 0.10.14, "Breathing Vacuum"
7376 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7378 * gst/gstelement.c: (gst_element_class_set_details_simple):
7380 Make strings passed to gst_element_class_set_details_simple()
7381 constant, as they should be (#462752).
7383 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7385 * gst/gstbin.c: (gst_bin_change_state_func),
7386 (bin_handle_async_done), (gst_bin_handle_message_func):
7387 Don't forget about the fact that some element went ASYNC even after a
7388 resync. This makes us post the ASYNC_DONE message correctly.
7391 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7393 * gst/gstregistry.c: (gst_registry_add_feature):
7394 When replacing an existing feature in the registry, make sure to
7395 continue holding a reference until we've replaced the name string
7396 within our feature hash table. Make sure to use g_hash_table_replace
7397 instead of g_hash_table_insert to ensure the new name string is used
7398 as a key instead of the old one that we're about to free.
7401 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7403 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7404 (gst_plugin_feature_set_name):
7405 Revert patch from #459466 until after the release and we can work
7406 out exactly what the problem is (if any).
7408 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7410 * docs/gst/gstreamer-sections.txt:
7413 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7415 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7417 * docs/libs/Makefile.am:
7418 Include our build-prefix libs and includes before the generic ones to
7419 avoid linking against the installed libs when we want the build-tree
7422 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7424 Patch by: Steve Fink <sphink gmail com>
7426 * docs/pwg/building-testapp.xml:
7427 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7428 if people try to build or install the example from the plugin
7429 template against a GStreamer from package using the configure
7432 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7434 Patch by: Steve Fink <sphink gmail com>
7436 * tools/gst-inspect.1.in:
7437 Document --print-all and --print-plugin-auto-install-info command
7438 line options in man page.
7440 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7442 * docs/gst/gstreamer-sections.txt:
7443 Add docs for new api function.
7445 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7447 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7448 * gst/gstelementfactory.h:
7449 API: gst_element_factory_has_interface()
7450 Added method to check if an element factory implements a named
7453 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7456 * docs/gst/gstreamer.types.in:
7457 Another conditional doc check.
7460 * gst/gstparamspecs.h:
7461 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7466 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7468 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7469 (gst_registry_binary_load_feature),
7470 (gst_registry_binary_load_plugin),
7471 (gst_registry_binary_read_cache):
7472 Print error just once and with additional info.
7474 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7476 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7477 (helper_find_suggest), (helper_find_get_length),
7478 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7479 (gst_type_find_helper_for_buffer):
7480 Cleanup the typefindhelper code and add private doc comments.
7482 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7484 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7485 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7486 Fix capsfilter for cases where the caps set on capsfilter will provide
7487 additional information.
7490 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7492 * gst/gsttypefindfactory.c:
7493 Fix docs that recommened wrong function to use.
7495 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7497 * tools/gst-inspect.c: (print_plugin_features):
7498 Also give media-type for typefinders in element output.
7500 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7502 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7503 (gst_registry_remove_features_for_plugin_unlocked),
7504 (gst_registry_add_feature), (gst_registry_remove_feature),
7505 (gst_registry_lookup_feature_locked):
7506 * gst/gstregistry.h:
7507 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7510 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7512 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7513 (gst_plugin_feature_set_name):
7514 Avoid double memory usage for pluginfeature names. Fixes #459466.
7516 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7519 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7520 driving the pipeline may need to explicitly check for NOT_LINKED as
7521 well, since IS_FATAL doesn't cover that.
7523 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7525 * docs/pwg/advanced-types.xml:
7526 Fix typo and duplicate entry in video formats list.
7528 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7530 * libs/gst/controller/gstinterpolation.c:
7531 Also round to the nearest int when using cubic interpolation.
7533 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7535 * libs/gst/controller/gstinterpolation.c:
7536 When linearly interpolating integer types, round to the nearest int
7537 by adding 0.5. Don't do it for float/double types.
7538 Fixes the failing controller test on my machine, which is somehow
7539 rounding differently than on the buildbots.
7541 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7543 * tools/gst-plot-timeline.py:
7544 Better log parsing (categories can have -). Adjust text vs. lines, so
7545 that they span the same y-range.
7547 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7549 * docs/random/ensonic/audiobaseclasses.txt:
7550 * docs/random/ensonic/dynlink.txt:
7551 * docs/random/ensonic/profiling.txt:
7554 * docs/random/moving-plugins:
7555 Add note to use g_assert type macros.
7557 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7560 * libs/gst/check/Makefile.am:
7561 Add libm check as we use in for plugins.
7563 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7565 * gst/gstbin.c: (gst_bin_continue_func):
7566 Check that the state_cookie hasn't changed since the continue_func
7567 was scheduled. Avoids problems where the state changes back to
7568 something it shouldn't be because it was changed in the meantime.
7570 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7572 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7573 (gst_registry_binary_save_string),
7574 (gst_registry_binary_save_pad_template),
7575 (gst_registry_binary_save_feature),
7576 (gst_registry_binary_save_plugin),
7577 (gst_registry_binary_load_feature),
7578 (gst_registry_binary_load_plugin),
7579 (gst_registry_binary_read_cache):
7580 Fix memory leak. Be less verbose in the log.
7582 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7584 * tests/check/elements/.cvsignore:
7585 Add file to cvsignore as commanded.
7587 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7589 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7590 (mq_dummypad_event), (run_output_order_test):
7591 Use a GStaticMutex to protect all cases where libcheck
7592 fail_if/fail_unless macros might be called from multiple threads
7593 simultaneously to avoid errors like:
7594 "check_pack.c:107: :-1081725400:Bad message type arg"
7596 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7598 * tests/check/pipelines/stress.c: (GST_START_TEST):
7599 Make sure we set the pipeline back to the NULL state before
7600 dropping our final reference.
7602 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7604 * tests/check/elements/tee.c: (GST_START_TEST):
7605 Make the tee stress-test a little less stressful so it doesn't just
7606 time out on slow-machines, and remove a small race when it's starting
7607 up by adding a get_state() call.
7609 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7612 Avoid reading registry twice on startup. Fixes #457322.
7614 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7616 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7617 * pkgconfig/gstreamer-check.pc.in:
7618 Substitute the CFLAGS for libcheck into our .pc file too so that
7619 dependent modules will pick it up properly if libcheck is installed
7620 into some other prefix.
7622 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7625 Revert the pkg-config check for libcheck, since it pulls in the
7626 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7627 a proper solution, either from the check project, or something else.
7629 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7632 Use pkg-config to locate check.
7634 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7641 Add deprecation guards.
7643 * libs/gst/base/gstcollectpads.h:
7644 Don't document object (this is implicitly private).
7646 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7648 * gst/gststructure.c: (gst_structure_parse_value):
7649 When deserialising foo=bar without a type cast, check if it's a
7650 boolean before falling back to a string type, otherwise things like
7651 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7652 because the filtercaps end up having a signed=(string)true field,
7653 which causes problems later when intersection caps.
7655 * tests/check/gst/gststructure.c: (GST_START_TEST):
7656 Add a unit test for this.
7658 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7660 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7662 * libs/gst/controller/Makefile.am:
7663 * libs/gst/controller/gstcontroller.c:
7664 (gst_controlled_property_add_interpolation_control_source),
7665 (gst_controlled_property_new), (gst_controlled_property_free),
7666 (gst_controller_find_controlled_property),
7667 (gst_controller_new_valist), (gst_controller_new_list),
7668 (gst_controller_new), (gst_controller_remove_properties_valist),
7669 (gst_controller_remove_properties_list),
7670 (gst_controller_remove_properties),
7671 (gst_controller_set_property_disabled),
7672 (gst_controller_set_disabled), (gst_controller_set_control_source),
7673 (gst_controller_get_control_source), (gst_controller_get),
7674 (gst_controller_sync_values), (gst_controller_get_value_array),
7675 (_gst_controller_dispose), (gst_controller_get_type),
7676 (gst_controlled_property_set_interpolation_mode),
7677 (gst_controller_set), (gst_controller_set_from_list),
7678 (gst_controller_unset), (gst_controller_unset_all),
7679 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7680 * libs/gst/controller/gstcontroller.h:
7681 * libs/gst/controller/gstcontrollerprivate.h:
7682 * libs/gst/controller/gstcontrolsource.c:
7683 (gst_control_source_class_init), (gst_control_source_init),
7684 (gst_control_source_get_value),
7685 (gst_control_source_get_value_array), (gst_control_source_bind):
7686 * libs/gst/controller/gstcontrolsource.h:
7687 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7688 (gst_object_get_control_source):
7689 * libs/gst/controller/gstinterpolation.c:
7690 (gst_interpolation_control_source_find_control_point_node),
7691 (gst_interpolation_control_source_get_first_value),
7692 (_interpolate_none_get), (interpolate_none_get),
7693 (interpolate_none_get_boolean_value_array),
7694 (interpolate_none_get_enum_value_array),
7695 (interpolate_none_get_string_value_array),
7696 (_interpolate_trigger_get), (interpolate_trigger_get),
7697 (interpolate_trigger_get_boolean_value_array),
7698 (interpolate_trigger_get_enum_value_array),
7699 (interpolate_trigger_get_string_value_array):
7700 * libs/gst/controller/gstinterpolationcontrolsource.c:
7701 (gst_control_point_free), (gst_interpolation_control_source_reset),
7702 (gst_interpolation_control_source_new),
7703 (gst_interpolation_control_source_set_interpolation_mode),
7704 (gst_interpolation_control_source_bind),
7705 (gst_control_point_compare), (gst_control_point_find),
7706 (gst_interpolation_control_source_set_internal),
7707 (gst_interpolation_control_source_set),
7708 (gst_interpolation_control_source_set_from_list),
7709 (gst_interpolation_control_source_unset),
7710 (gst_interpolation_control_source_unset_all),
7711 (gst_interpolation_control_source_get_all),
7712 (gst_interpolation_control_source_get_count),
7713 (gst_interpolation_control_source_init),
7714 (gst_interpolation_control_source_finalize),
7715 (gst_interpolation_control_source_dispose),
7716 (gst_interpolation_control_source_class_init):
7717 * libs/gst/controller/gstinterpolationcontrolsource.h:
7718 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7719 API: Refactor GstController into the core controller which can take
7720 a GstControlSource for providing actual values for timestamps.
7721 Implement a interpolation control source and use this for backward
7722 compatibility, deprecate a bunch of functions that are now handled
7723 by GstControlSource or GstInterpolationControlSource.
7724 Make it possible to disable the controller completely or only for
7725 specific properties. Fixes #450711.
7726 * docs/libs/gstreamer-libs-docs.sgml:
7727 * docs/libs/gstreamer-libs-sections.txt:
7728 * docs/libs/gstreamer-libs.types:
7729 Add new functions and classes to the docs.
7730 * tests/check/libs/controller.c: (GST_START_TEST),
7731 (gst_controller_suite):
7732 * tests/examples/controller/audio-example.c: (main):
7733 Port unit test and example to the new API and add some new
7736 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7738 Patch by: Mark Nauwelaerts <manauw at skynet be>
7740 * plugins/elements/gstmultiqueue.c:
7741 (gst_multi_queue_get_internal_links), (apply_buffer),
7742 (single_queue_overrun_cb), (gst_single_queue_new):
7743 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7744 the pipeline layout can be tracked correctly. Fixes #453732.
7746 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7748 * docs/gst/Makefile.am:
7749 * docs/libs/Makefile.am:
7750 * docs/plugins/Makefile.am:
7751 Simplify --extra-dir as gtkdoc scans recursively.
7753 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7755 * tools/gst-launch.c: (main):
7756 When we got an error, there is no point in waiting for preroll when
7759 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7761 * plugins/elements/gsttee.c: (gst_tee_base_init),
7762 (gst_tee_request_new_pad), (gst_tee_release_pad),
7763 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7764 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7766 Be a lot smarter when deciding what srcpad to use for proxying
7767 the buffer_alloc. Also handle pad added/removed when doing so.
7769 Keep track of what pads we already pushed on in case we have pads
7770 added/removed while pushing. Fixes #374639
7772 * tests/check/Makefile.am:
7773 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7775 Added unit test for pad resync.
7777 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7781 Updated translations.
7783 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7785 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7789 Added new Finnish translation.
7791 2007-06-28 Wim Taymans <wim@fluendo.com>
7793 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7794 (single_queue_overrun_cb):
7795 When figuring out when a queue is filled, use our internal time estimate
7796 based on segments, just like check_full does.
7798 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7800 * gst/gstminiobject.c: (gst_mini_object_get_type):
7801 Remove 3 do-nothing methods.
7803 2007-06-27 Wim Taymans <wim@fluendo.com>
7805 Patch by: Tim Angus <tim at ngus dot net>
7807 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7808 (gst_capsfilter_set_property):
7809 Take a reference instead of a copy when setting "caps".
7810 Fix documentation to clarify this behaviour. Fixes #449414.
7812 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7814 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7815 * gst/gstplugin.c: (gst_plugin_init):
7816 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7817 * gst/gstquery.c: (gst_query_get_type):
7818 * gst/gstregistry.c: (gst_registry_init):
7819 * gst/gsturi.c: (gst_uri_handler_base_init):
7820 Remove empty instance_init() functions to save relocs and lessen the
7821 noise. Remove some of the function prototypes that are doubled by
7824 2007-06-27 Wim Taymans <wim@fluendo.com>
7826 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7828 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7829 Add peer and direction in the XML serialisation of ghostpads.
7832 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7835 Preserve useful information, thanks Tim.
7837 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7839 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7840 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7841 (gst_single_queue_push_one), (gst_multi_queue_loop),
7842 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7843 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7844 (compute_high_id), (gst_single_queue_new):
7845 * plugins/elements/gstmultiqueue.h:
7846 Take the multiqueue lock when updating the fill level so we don't get
7849 After applying a buffer or event on the src pad segment, make sure to
7850 call gst_data_queue_limits_changed() to get the data queue to unblock
7851 and check the filled state again.
7853 Rework the not-linked pad handling so the logic is that not-linked
7854 pads can push as fast as they like, but only so they never get
7855 ahead of any linked pads.
7857 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7858 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7859 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7861 Add a test to check that not-linked pads always stay behind
7866 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7868 * docs/random/release:
7869 Some updates to the release procedure.
7871 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7873 * gst/gstelementfactory.c: (__gst_element_details_clear):
7874 Microoptimization that saves stunning 80 bytes.
7876 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7878 * docs/plugins/gstreamer-plugins.args:
7879 * docs/plugins/inspect/plugin-coreelements.xml:
7880 * docs/plugins/inspect/plugin-coreindexers.xml:
7881 Update docs with caps info.
7883 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7886 Updated Italian translation.
7888 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7892 Update Vietnamese translations.
7894 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7896 * libs/gst/base/gstbasesink.c:
7897 Remove unused signal enum.
7899 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7901 * docs/gst/gstreamer-sections.txt:
7903 * gst/gstutils.c: (gst_type_register_static_full):
7904 Beef up and include the docs for gst_type_register_static_full and
7905 gst_element_class_set_details_simple and add the API keyword
7908 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7910 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7911 (update_time_level), (gst_single_queue_push_one),
7912 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7913 (single_queue_overrun_cb), (single_queue_underrun_cb),
7914 (single_queue_check_full):
7915 Fix setting max-* properties after adding queues.
7916 Use IS_FILLED for checking visible items.
7917 Signal overrun if multiple queues overrun.
7918 Add extra debug output.
7919 Patch by: Wim Taymans <wim@fluendo.com>
7921 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7923 * gst/gstelement.c: (gst_element_class_set_details_simple):
7925 * gst/gstutils.c: (gst_type_register_static_full):
7927 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7928 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7929 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7930 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7931 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7932 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7933 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7934 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7935 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7936 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7937 (apply_buffer), (gst_queue_chain):
7938 * plugins/elements/gsttee.c: (gst_tee_base_init):
7939 * plugins/elements/gsttypefindelement.c:
7940 (gst_type_find_element_base_init),
7941 (gst_type_find_element_class_init):
7942 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7943 API: add gst_type_register_static_full
7944 API: add gst_element_class_set_details_simple
7946 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7948 * docs/pwg/advanced-types.xml:
7949 Fix typo in iana.org URI.
7951 2007-06-19 Andy Wingo <wingo@pobox.com>
7953 * tests/check/pipelines/simple-launch-lines.c
7954 (test_state_change_returns): Enable pull-mode tests now that
7955 basesink has been fixed.
7957 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7958 Changed from gst_base_sink_is_prerolled, reversing the sense of
7959 the return value. Returns FALSE also if the sink is in pull mode,
7960 in which case it needs no preroll.
7961 (gst_base_sink_query, gst_base_sink_change_state): Update for
7962 needs_preroll change.
7963 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7964 chaining up, in which we return SUCCESS directly if we activated
7965 in pull mode instead of ASYNC. Involves countering an async_start
7966 message sent before chaining up; not sure if this is correct, in
7967 an ideal world we only send async-start when activating in push
7970 * tests/check/pipelines/simple-launch-lines.c
7971 (test_state_change_returns): New test, partially disabled until
7974 2007-06-19 Wim Taymans <wim@fluendo.com>
7976 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7977 (gst_multi_queue_sink_event):
7980 2007-06-19 Wim Taymans <wim@fluendo.com>
7982 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7983 (gst_bin_change_state_func), (bin_push_state_continue),
7984 (bin_handle_async_start), (bin_handle_async_done),
7985 (gst_bin_handle_message_func):
7986 Move the common code for posting state-change messages into
7988 Broadcast the state signal after we posted the messages.
7989 Mark the bin as busy when it's doing a state-change.
7990 Make sure async-start/done messages don't interfere with the bin's
7991 state when it's busy.
7992 After the state change, let the bin check which elements completed the
7993 state change while it was busy so that it can update its state.
7995 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7997 * docs/random/release:
7998 Add a note about updating the doap file to the release checklist
8000 2007-06-18 Wim Taymans <wim@fluendo.com>
8002 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8003 (gst_single_queue_push_one), (gst_multi_queue_chain),
8004 (gst_multi_queue_sink_event):
8005 Make sure we don't reference the buffer/event after we have given away
8006 ownership in the queue.
8008 2007-06-18 Wim Taymans <wim@fluendo.com>
8010 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8011 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8012 Update queue state _after_ adding the item in the queue because else we
8013 could end up being full without the element added yet.
8015 2007-06-18 Wim Taymans <wim@fluendo.com>
8017 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8018 (gst_bin_remove_func), (gst_bin_get_state_func),
8019 (gst_bin_element_set_state), (gst_bin_continue_func),
8020 (bin_push_state_continue), (bin_handle_async_start),
8021 (bin_handle_async_done), (gst_bin_handle_message_func):
8023 Immediatly commit the toplevel bin state when receiving an async-done
8024 message. This enables us to avoid spawning a thread to commit the state
8025 in some common cases and it also avoids some races.
8026 Avoid spawning a state thread when adding/removing async elements to a
8027 toplevel bin. Instead we immediatly update the bin state.
8028 Get rid of iterating all the children when getting the state in the bin
8029 because it is now always up-to-date.
8030 Fix bug where locked elements would always return _SUCCESS even it they
8031 returned NO_PREROLL before being locked.
8032 Fix the order of the state_change, async-start/done messages that was
8033 sometimes incorrect.
8034 Mark the state_dirty field as deprecated, we don't need it anymore as we
8035 are always up-to-date.
8037 * gst/gstelement.c: (gst_element_get_state_func),
8038 (gst_element_continue_state):
8039 Small debug inprovements.
8040 Return the previous element state return when nothing is pending instead
8041 of blindly returning SUCCESS.
8043 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8045 Add a whole bunch of new testcases.
8047 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8051 Update translations.
8053 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8056 Fix typo in the docs.
8058 2007-06-15 Wim Taymans <wim@fluendo.com>
8060 * docs/libs/gstreamer-libs-sections.txt:
8061 Add docs for new methods.
8063 2007-06-15 Wim Taymans <wim@fluendo.com>
8065 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8066 (gst_multi_queue_item_new):
8067 Don't use GSlice because we don't depend on >= 2.10 yet.
8069 2007-06-15 Wim Taymans <wim@fluendo.com>
8071 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8072 (update_time_level), (apply_segment), (apply_buffer),
8073 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8074 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8075 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8076 (single_queue_underrun_cb), (single_queue_check_full):
8077 Remove debug printf.
8079 2007-06-15 Wim Taymans <wim@fluendo.com>
8081 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8082 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8083 (gst_data_queue_set_flushing), (gst_data_queue_push),
8084 (gst_data_queue_pop), (gst_data_queue_drop_head),
8085 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8086 * libs/gst/base/gstdataqueue.h:
8088 Added methods to get the current levels and to inform the queue that the
8089 'full' limits changed.
8091 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8092 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8093 (gst_single_queue_flush), (update_time_level), (apply_segment),
8094 (apply_buffer), (gst_single_queue_push_one),
8095 (gst_multi_queue_item_steal_object),
8096 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8097 (gst_multi_queue_loop), (gst_multi_queue_chain),
8098 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8099 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8100 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8101 (single_queue_underrun_cb), (single_queue_check_full),
8102 (gst_single_queue_new):
8103 Keep track of time in the queue by measuring the difference between
8104 running_time on input and output. This gives more accurate results and
8105 can compensate for segments correctly.
8106 Make a queue by default only 5 buffers deep. We will now increase the
8107 buffer size depending on the filledness of the other queues.
8108 Factor out commong flush code.
8109 Make sure we don't add additional refcounts to buffers when we can avoid
8111 Propagate GstFlowReturn differently.
8112 Use GSlice for intermediate GstMultiQueueItems.
8114 Resize queues on over and underruns based on filled level of other
8116 When checking if the queue is filled, prefer to measure in time if we
8117 can and fall back to bytes when no time is known.
8119 * plugins/elements/gstqueue.c:
8122 2007-06-15 Wim Taymans <wim@fluendo.com>
8124 * libs/gst/base/gstbasetransform.c:
8125 (gst_base_transform_sink_event):
8126 Work around the brokenness of the event vmethod in basetransform. Prefer
8127 to return TRUE when the subclass returned FALSE (meaning don't forward
8130 * libs/gst/base/gstbasetransform.h:
8133 2007-06-15 Wim Taymans <wim@fluendo.com>
8135 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8136 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8137 (gst_base_src_default_query), (gst_base_src_get_range),
8138 (gst_base_src_start):
8139 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8142 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8144 * docs/pwg/advanced-types.xml:
8145 Added more formats to caps table.
8147 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8149 * tools/gst-launch.c: (main):
8150 Remove crufy code. GOption does not need this workaround.
8152 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8154 * libs/gst/controller/gstcontroller.c:
8155 (gst_controlled_property_set_interpolation_mode):
8156 Fix wrong getter for enums in controller.
8158 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8160 * libs/gst/check/gstcheck.c: (gst_check_init):
8161 Intercept criticals and warnings in the Gst-Phonon log domain, so
8162 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8165 2007-06-14 Edward Hervey <edward@fluendo.com>
8167 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8168 Since this file doesn't include "gst.h" it will not go through the
8169 macros that disable GST_LOG if debugging was disabled.
8171 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8173 * libs/gst/check/Makefile.am:
8174 * libs/gst/check/gstcheck.h:
8175 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8176 * pkgconfig/gstreamer-check.pc.in:
8177 Ugly 'fix' for the controller unit test on the p5 bot: in
8178 fail_unless_equals_float() check whether the values are 'almost
8179 equal' by allowing a small absolute error, which should be good
8180 enough for our use cases (normal numbers and values close to 0).
8181 Proper fixage left to floating point arithmetic aficionados.
8183 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8185 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8186 (gst_base_sink_render_object), (gst_base_sink_get_position):
8187 Add two breaks thats where missing.
8189 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8191 * docs/libs/gstreamer-libs-sections.txt:
8192 * libs/gst/check/gstcheck.h:
8193 API: add fail_unless_equals_float() and assert_equals_float().
8194 Add documentation for some of the macros.
8196 * tests/check/libs/controller.c: (GST_START_TEST):
8197 Use newly-added asserts.
8199 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8201 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8202 Show the caps change in the log to help spotting the case of not
8203 exactly matching caps.
8205 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8207 * docs/pwg/building-boiler.xml:
8208 Fix typos, spotted by Thijs Vermeir (#447190).
8210 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8212 * docs/plugins/tmpl/.cvsignore:
8213 Ignore file to keep the buildbots happy
8215 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8217 * docs/plugins/Makefile.am:
8218 * docs/plugins/gstreamer-plugins-docs.sgml:
8219 * docs/plugins/gstreamer-plugins-sections.txt:
8220 Pull fdsink into the docs too.
8222 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8224 * libs/gst/controller/gstinterpolation.c:
8225 Actually use the new functions with min/max checks for the trigger and
8226 none interpolation modes for get() and get_value_array() instead of
8229 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8231 * libs/gst/controller/gstcontroller.c:
8232 (gst_controlled_property_free):
8233 Unset the minimum and maximum GValues when freeing the corresponding
8234 GstControllerProperty struct.
8236 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8238 * libs/gst/controller/gstcontroller.c:
8239 (gst_controlled_property_new):
8240 * libs/gst/controller/gstcontrollerprivate.h:
8241 * libs/gst/controller/gstinterpolation.c:
8242 (gst_controlled_property_find_control_point_node),
8243 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8244 (interpolate_none_get_string_value_array),
8245 (interpolate_trigger_get),
8246 (interpolate_trigger_get_enum_value_array),
8247 (interpolate_trigger_get_string_value_array):
8248 Protect against values larger or smaller than the minimum or maximum
8249 allowed value for the property when using values that can be compared.
8251 Optimize trigger interpolator a bit by taking the last requested value
8252 into account instead of always looping through the complete list.
8254 Fix coding style a bit, everywhere else we use "return foo" instead
8257 * tests/check/libs/controller.c: (GST_START_TEST),
8258 (gst_controller_suite):
8259 Add unit test for the protection against too large or too small
8262 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8264 * docs/random/slomo/controller.txt:
8265 Add some thoughts about the future of the controller.
8267 2007-06-08 Wim Taymans <wim@fluendo.com>
8269 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8270 Don't overflow in retimestamping code.
8272 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8274 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8275 Use gst_util_guint64_to_gdouble for conversions.
8276 * win32/common/libgstreamer.def:
8277 Add new exported functions.
8279 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8282 Small docs addition.
8284 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8287 Remove that test line again.
8289 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8292 Test commit mail sending.
8294 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8297 Fix typo and test commit mail sending.
8299 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8301 * tests/examples/controller/audio-example.c:
8302 Improve comment and test commit mail sending.
8304 2007-06-07 Wim Taymans <wim@fluendo.com>
8306 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8307 (gst_bin_remove_func), (gst_bin_element_set_state),
8308 (bin_handle_async_start), (bin_handle_async_done),
8309 (gst_bin_handle_message_func):
8310 Add helper function to find messages.
8311 Generate the async-done messages together with the state change
8313 Small cleanups in handling toplevel bins.
8315 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8317 * libs/gst/base/gstdataqueue.c:
8318 * libs/gst/base/gstdataqueue.h:
8319 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8320 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8321 (gst_multi_queue_sink_event):
8322 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8323 Fix multiqueue leaking buffers and events when downstream or the
8324 queue are flushing. Make refcounting assumptions explicit and
8325 document them (shouldn't break existing code that uses it other than
8326 maybe leak miniobjects, but that already happens anyway). Add unit
8327 test for the most common flushing case. Fixes #423700.
8329 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8331 * libs/gst/controller/gstcontroller.c:
8332 Clarify docs: The get_all, get_value_array(s) functions
8333 don't modify the GObject properties.
8335 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8337 * libs/gst/controller/gstcontroller.c:
8338 (gst_controlled_property_set_interpolation_mode),
8339 (gst_controlled_property_prepend_default),
8340 (gst_controlled_property_new), (gst_controller_set_unlocked),
8341 (gst_controller_set), (gst_controller_set_from_list),
8342 (gst_controller_unset), (gst_controller_unset_all):
8343 * libs/gst/controller/gstcontrollerprivate.h:
8344 * libs/gst/controller/gstinterpolation.c:
8345 Factor out the 'set' logic into gst_controller_set_unlocked for the
8346 gst_controller_set and gst_controller_set_from_list functions.
8348 To make life of the interpolators easier always add a control point
8349 at timestamp zero with the default value.
8351 In the linear interpolator make things more obvious by better variable
8354 Implement cubic interpolation mode (by using a natural cubic spline)
8355 and map the quadratic interpolation mode to this too (as quadratic
8356 doesn't make much sense, see discussion on the list).
8358 * tests/check/libs/controller.c: (GST_START_TEST),
8359 (gst_controller_suite):
8360 Add unit test for the cubic interpolation mode and check everywhere
8361 if the interpolation mode could be set as expected.
8363 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8365 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8366 Don't use GLib-2.10 functions, we still depend on
8367 GLib-how-old-is-it-again-2.8.
8369 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8371 * docs/gst/gstreamer-sections.txt:
8375 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8376 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8377 (_gst_param_fraction_values_cmp),
8378 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8379 * gst/gstparamspecs.h:
8381 * tests/check/Makefile.am:
8382 * tests/check/gst/.cvsignore:
8383 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8384 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8385 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8386 (GST_START_TEST), (gst_param_spec_suite):
8387 API: add GstParamSpecFraction, so elements can have fraction
8388 properties without lots of painful string parsing (#444648).
8390 2007-06-05 Wim Taymans <wim@fluendo.com>
8392 * gst/gstobject.c: (gst_object_class_init):
8393 Fix signal signature.
8396 Add small clarification in the api docs.
8398 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8399 States are protected with object lock.
8401 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8404 I should probably be listed as an author by now.
8406 * docs/random/release:
8407 Update the release doc
8409 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8412 Make docs for gst_value_compare() mention return enums that
8415 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8420 === release 0.10.13 ===
8422 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8425 releasing 0.10.13, "With or without you"
8427 2007-05-25 Wim Taymans <wim@fluendo.com>
8429 * gst/gstbin.c: (bin_handle_async_done):
8430 Make sure that the child bin stops after completing the async state
8431 change so that the parent can continue the state change to PLAYING.
8434 2007-05-25 Wim Taymans <wim@fluendo.com>
8436 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8437 (unref_data), (gst_collect_pads_remove_pad),
8438 (gst_collect_pads_check_pads):
8439 Use additional refcounting to avoid crashes when dynamically adding and
8440 removing pads. Fixes #420206.
8442 2007-05-24 Wim Taymans <wim@fluendo.com>
8444 * tools/gst-launch.c: (event_loop):
8445 When buffering goes from a two digit to a single digit number, make sure
8446 to remove the old second digit by writing a blank over it.
8448 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8450 * libs/gst/base/gstdataqueue.c:
8451 Eliminate tabs and trailing comma in enum list; fix some typos.
8453 2007-05-24 Wim Taymans <wim@fluendo.com>
8455 * tests/check/gst/gstbin.c: (GST_START_TEST):
8456 Allow refcount of 3 and 4 because some state thread might still be busy
8459 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8461 * plugins/elements/Makefile.am:
8462 * plugins/elements/gstmultiqueue.h:
8463 * plugins/elements/gstqueue.h:
8464 These are not installed headers, no need for padding.
8466 2007-05-24 Wim Taymans <wim@fluendo.com>
8468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8469 (gst_bin_continue_func):
8470 Enable latency for next release.
8471 Restore STATE_LOCK around recalc_state that was left out during the
8472 rewrite and could result in racy behaviour when _get_state and
8473 recalc_state are run concurrently. See #440463.
8475 2007-05-23 Wim Taymans <wim@fluendo.com>
8477 * tests/check/gst/gstsystemclock.c: (store_callback),
8479 Improve test_async_order to also work when both timers are already
8480 expired when we get scheduled to check it.
8482 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8484 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8485 (gst_bin_set_property), (gst_bin_get_property),
8486 (gst_bin_remove_func), (gst_bin_handle_message_func):
8488 'private' is a c++ keyword, let's not use that in header files,
8489 otherwise c++ compilers will throw a tantrum.
8491 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8493 * plugins/elements/gstelements.c:
8494 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8495 (gst_file_sink_get_current_offset):
8496 * plugins/indexers/gstindexers.c: (plugin_init):
8497 Use #ifdef for HAVE_XYZ for consistency.
8499 * tests/check/Makefile.am:
8500 * tests/check/elements/.cvsignore:
8501 * tests/check/elements/filesink.c: (setup_filesink),
8502 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8503 Add some unit tests for filesink.
8505 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8507 Patch by: Mark Nauwelaerts <manauw at skynet be>
8509 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8510 (gst_file_sink_query), (gst_file_sink_do_seek),
8511 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8512 * plugins/elements/gstfilesink.h:
8513 Fix position reporting; rename data_written member to current_pos to
8514 reflect its real meaning (fixes #412648).
8516 2007-05-22 Edward Hervey <edward@fluendo.com>
8518 * docs/gst/gstreamer-sections.txt:
8519 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8520 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8521 (gst_bin_remove_func), (gst_bin_handle_message_func):
8523 Add a property for bins that handle the state change of their childs.
8526 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8528 * libs/gst/controller/gstinterpolation.c:
8529 Use an array of the correct type when using _get_value_array with
8530 linear interpolation.
8532 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8534 * gst/gstelement.c (gst_element_requires_clock,
8535 gst_element_provides_clock, gst_element_request_pad,
8536 gst_element_class_set_details, gst_element_class_set_details_simple,
8537 gst_element_default_send_event, gst_element_abort_state,
8538 gst_element_continue_state, gst_element_set_state,
8539 gst_element_set_state_func, iterator_activate_fold_with_resync):
8540 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8541 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8542 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8543 gst_pad_get_range, gst_pad_pull_range):
8544 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8545 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8546 GstPadActivateModeFunction, GstPadChainFunction,
8547 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8548 GstPadFixateCapsFunction, GstPadTemplate):
8549 * gst/gstpipeline.c (gst_pipeline_change_state,
8550 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8551 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8552 gst_pipeline_get_delay):
8553 Whitespace and docs fixes.
8555 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8557 * libs/gst/controller/gstinterpolation.c:
8558 (interpolate_trigger_get_enum_value_array),
8559 (interpolate_trigger_get_string_value_array):
8560 Add support for retrieving value arrays when using the trigger
8563 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8565 * libs/gst/controller/gstcontroller.c:
8566 (gst_controller_get_value_array):
8567 * libs/gst/controller/gstcontroller.h:
8568 Clarify the docs of gst_controller_get_value_array(): The array where
8569 the values should be written to must be allocated as there seems to be
8570 no way to get the size of a random GType. This doesn't change any
8571 behaviour. Also fix some typos all over the place and remove an unused,
8572 commented function that is not necessary as g_object_set() could be
8574 * tests/check/libs/controller.c: (GST_START_TEST),
8575 (gst_controller_suite):
8576 Add unit test for gst_controller_get_value_array().
8578 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8580 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8582 Disable part of the gst_buffer_try_new_and_alloc test, because
8583 it can happily succeed on 64-bit systems where there's more address
8586 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8588 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8589 Add unit test for the improved caps checking from bug #421543.
8591 2007-05-21 Wim Taymans <wim@fluendo.com>
8593 * docs/design/part-synchronisation.txt:
8596 * gst/gstbin.c: (gst_bin_query):
8597 * plugins/elements/gstqueue.c: (apply_segment):
8603 2007-05-21 Wim Taymans <wim@fluendo.com>
8605 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8606 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8607 (gst_pad_configure_src):
8608 Added simple version of improved caps checking. It was previously
8609 assumed that a setcaps function would check the validity of the caps but
8610 people prefer us to check caps against the template automatically.
8613 2007-05-21 Wim Taymans <wim@fluendo.com>
8615 * libs/gst/base/gstbasetransform.h:
8616 Fix macro for locking/unlocking the transform lock.
8618 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8620 * docs/plugins/tmpl/.cvsignore:
8623 2007-05-18 Edward Hervey <edward@fluendo.com>
8625 * plugins/elements/gstqueue.c: (gst_queue_loop):
8626 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8627 for the subtle art of warning a potentially blocking thread that it
8628 should check the source pad return value, and relay the information
8631 2007-05-18 Edward Hervey <edward@fluendo.com>
8633 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8634 Release the queue lock !
8636 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8638 * docs/libs/gstreamer-libs-sections.txt:
8639 Add the two new controller functions to the appropiate places.
8641 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8643 reviewed by: Stefan Kost <ensonic@users.sf.net>
8645 * libs/gst/controller/gstcontroller.c:
8646 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8647 (_gst_controller_get_property), (_gst_controller_set_property),
8648 (_gst_controller_init), (_gst_controller_class_init):
8649 * libs/gst/controller/gstcontroller.h:
8650 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8651 (gst_object_get_control_rate), (gst_object_set_control_rate):
8652 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8653 Add API that provides sync suggestion timestamps for elements that
8654 call gst_object_sync_values() from which those elements can subdivide
8655 their processing loop to get the best results for the controlled
8656 properties. For now it just suggests last_sync + control_rate as
8657 new timestamp but this will be improved in the future.
8659 While doing that change the control-rate property to a GstClockTime
8660 from guint and change it's meaning from samples to nanoseconds as
8661 the GstController doesn't know anything about sampling rate. Strictly
8662 speaking this breaks ABI but as the control-rate property didn't do
8663 anything in the past and as such couldn't be used this should be no
8666 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8668 reviewed by: Stefan Kost <ensonic@users.sf.net>
8670 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8671 (gst_controller_unset_all):
8672 * libs/gst/controller/gstcontrollerprivate.h:
8673 * libs/gst/controller/gstinterpolation.c:
8674 (gst_controlled_property_find_control_point_node):
8675 Save last synced value from the list to continue searching from there
8676 in future syncs. This speeds everything up a bit.
8678 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8680 reviewed by: Stefan Kost <ensonic@users.sf.net>
8682 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8683 (gst_control_point_find), (gst_controlled_property_new),
8684 (gst_control_point_free), (gst_controlled_property_free),
8685 (gst_controller_set), (gst_controller_set_from_list),
8686 (gst_controller_unset), (gst_controller_unset_all),
8687 (gst_controller_sync_values):
8688 * libs/gst/controller/gstcontroller.h:
8689 * libs/gst/controller/gstcontrollerprivate.h:
8690 * libs/gst/controller/gstinterpolation.c:
8691 (gst_controlled_property_find_control_point_node),
8692 (interpolate_none_get), (interpolate_trigger_get):
8693 Add a new private GstControlPoint struct which "inherits" from
8694 GstTimedValue to allow different interpolators to store internal
8695 values next to each control point. From the outside everything is
8696 still a GstControlPoint so we don't loose binary compatibility.
8697 Also fixup all the GValue handling to not leak GValues or list nodes.
8698 * tests/check/libs/controller.c: (GST_START_TEST):
8699 Free the list nodes and GValues in the controller_misc test.
8701 2007-05-17 Edward Hervey <edward@fluendo.com>
8706 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8708 * gst/gstplugin.c: (gst_plugin_load_file):
8709 If we fail to load a plugin because of unresolved symbols or missing
8710 libraries and spew a warning to stderr, we may just as well mention
8711 which plugin it was that failed to load.
8713 2007-05-13 David Schleef <ds@schleef.org>
8715 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8716 handles the case when ENABLE_GTK_DOC is false, and installs
8717 the prebuilt documentation. So gtk-doc subdirs are
8718 unconditionally enabled. Fixes: #349099.
8720 2007-05-13 David Schleef <ds@schleef.org>
8722 * gst/gstutils.h: Reword some documentation.
8724 2007-05-12 David Schleef <ds@schleef.org>
8726 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8727 do anything with the passed "module" parameter, so remove it.
8728 Allows removal of additional vestigal code.
8730 2007-05-12 David Schleef <ds@schleef.org>
8733 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8734 Switch to using g_stat() because it's more portable.
8736 2007-05-12 David Schleef <ds@schleef.org>
8739 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8740 parsing for embedded systems.
8741 * gst/gstelementfactory.c:
8742 Allow gst_element_register() to be called with plugin==NULL.
8743 Did nobody notice that static elements were broken?
8745 2007-05-12 Wim Taymans <wim@fluendo.com>
8747 * tools/gst-launch.c: (event_loop):
8748 Give more interesting info when buffering starts and stops.
8749 Fix case where buffering starts but we fail to update the buffering flag
8750 because the target state is not PLAYING.
8752 2007-05-12 Wim Taymans <wim@fluendo.com>
8754 * plugins/elements/gstqueue.c: (gst_queue_init),
8755 (gst_queue_finalize), (update_time_level), (apply_segment),
8756 (apply_buffer), (gst_queue_locked_flush),
8757 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8758 (gst_queue_handle_sink_event), (gst_queue_chain),
8759 (gst_queue_push_one), (gst_queue_loop):
8760 * plugins/elements/gstqueue.h:
8761 Refactor an cleanup queue a bit.
8762 Do better time level calculations that also work when the srcpad is not
8764 Remove some unneeded debug lines.
8766 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8767 Added testcase for time level measurement.
8768 Try to make some stuff more racefree.
8770 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8772 * gst/gsturi.c: (gst_element_make_from_uri):
8773 Don't leak plugin feature.
8775 * tests/check/Makefile.am:
8776 * tests/check/gst/.cvsignore:
8777 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8778 Add brain-dead unit test.
8780 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8782 Patch by: Jeroen Wouters <woutersj at gmail com>
8784 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8785 Treat protocol strings in a case-insensitive way (#437563).
8787 2007-05-11 Michael Smith <msmith@fluendo.com>
8789 * gst/gstplugin.c: (gst_plugin_load_file):
8790 * gst/gstregistry.c: (gst_registry_scan_path_level):
8791 Don't print a g_warning for any failure to load a shared object.
8792 Instead, push this down into gstplugin.c, and warn _only_ if we
8793 failed to open the module (i.e. failure to link).
8794 Avoids warnings on normal, working, non-plugin .so files.
8796 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8798 * gst/gstplugin.c (gst_plugin_load_file):
8799 * gst/gstregistry.c (GST_CAT_DEFAULT,
8800 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8801 Print a g_warning if there was an error when loading a plugins during
8802 registry scan. The shuld help beginners starting with gst-plugin
8805 2007-05-10 Wim Taymans <wim@fluendo.com>
8807 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8808 (update_time_level), (gst_queue_locked_flush),
8809 (gst_queue_handle_sink_event), (gst_queue_chain),
8810 (gst_queue_push_one), (gst_queue_loop):
8811 * plugins/elements/gstqueue.h:
8812 Be smarter when calculating the current amount of data in the queue by
8813 measuring the difference between start and end timestamps (in running
8814 time) inside the queue. Fixes #432876.
8815 API: GstQueue::pushing to notify elements that we are pushing data again
8816 since the running signal is rather broken for this purpose.
8818 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8820 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8821 gst_queue_base_init, gst_queue_init):
8824 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8826 * win32/common/libgstreamer.def:
8827 Add new exported functions.
8828 * win32/vs6/grammar.dsp:
8829 Use grammar pre-generated files.
8831 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8833 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8836 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8838 * gst/gstutils.c: (gst_parse_bin_from_description):
8840 Maintain API and ABI when --disable-parse is used. Now that
8841 we have an appropriate error code, we can just return NULL and the
8842 appropriate error when gst_parse_launch() is used despite it having
8843 been disabled (#342564).
8845 * tests/check/Makefile.am:
8846 * tests/check/pipelines/.cvsignore:
8847 * tests/check/pipelines/parse-disabled.c:
8848 Make sure these functions exist and return NULL plus a GError when
8849 --disable-parse is used.
8851 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8853 * tests/benchmarks/complexity.c: (main):
8854 * tests/benchmarks/mass-elements.c: (main):
8855 Set a good example and don't leak messages.
8857 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8859 * docs/gst/Makefile.am:
8860 * docs/libs/Makefile.am:
8861 Correct fixxrefs options.
8863 * docs/plugins/Makefile.am:
8864 * docs/plugins/gstreamer-plugins-docs.sgml:
8865 * docs/plugins/gstreamer-plugins-sections.txt:
8866 * plugins/elements/Makefile.am:
8867 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8868 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8869 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8870 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8871 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8872 _GstCapsFilterClass, trans_class):
8873 * plugins/elements/gstelements.c (name, rank, type, _elements):
8874 * plugins/elements/gstidentity.c
8875 (gst_identity_check_imperfect_timestamp,
8876 gst_identity_check_imperfect_offset):
8877 Document capsfilter and add doc-blurb to identity.
8879 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8881 * libs/gst/controller/gstcontroller.c:
8882 (gst_controlled_property_set_interpolation_mode):
8883 * libs/gst/controller/gstinterpolation.c:
8884 Don't crash if someone tries to set an interpolation mode that
8885 is invalid or that isn't supported yet. Fixes #422295.
8887 * tests/check/libs/controller.c: (GST_START_TEST),
8888 (gst_controller_suite):
8889 Add a test case for the above.
8891 2007-05-03 Edward Hervey <edward@fluendo.com>
8893 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8894 Properly set the last_stop position on GstSegment. This will only happen
8895 if there is a buffer to push out.
8897 2007-05-03 Wim Taymans <wim@fluendo.com>
8899 * libs/gst/base/gstbasetransform.c:
8900 (gst_base_transform_buffer_alloc):
8901 always_in_place does not mean that the sink and source caps are the
8902 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8904 2007-05-03 Wim Taymans <wim@fluendo.com>
8906 * docs/libs/gstreamer-libs-sections.txt:
8907 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8908 (gst_base_src_default_query), (gst_base_src_get_range):
8909 * libs/gst/base/gstbasesrc.h:
8910 API: gst_base_src_query_latency(). Added method so that subclasses can
8911 easily get the latency values of the base source class.
8913 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8915 * tools/gst-inspect.c (print_implementation_info):
8918 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8920 * tools/Makefile.am:
8921 * tools/gst-launch.1.in:
8922 Don't create a customised man page based on the host architecture,
8923 describe the default registry path generically. That way the man
8924 page is the same for all architectures and packagers have one
8925 multilib issue less to deal with. Fixes #434926.
8927 2007-05-02 Wim Taymans <wim@fluendo.com>
8930 Fix documentation as spotted by rg on IRC.
8932 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8935 Improve docs for gst_element_{link,unlink}.
8937 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8939 * docs/design/part-events.txt:
8940 * docs/design/part-overview.txt:
8944 * libs/gst/base/gstbasesink.c:
8945 Typo fixes; minor docs addition.
8947 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8949 * docs/gst/gstreamer-sections.txt:
8950 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8951 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8953 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8954 or src that supports a given URI protocol exists.
8956 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8958 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8959 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8960 Set the location to NULL if "file://" is set as URI. Otherwise
8961 some random previous URI would still be set if "file://" is
8962 set on an already used filesink/filesrc.
8964 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8966 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8967 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8968 Special case the "file://" URI as as this is used by some
8969 applications to test with gst_element_make_from_uri if there's
8970 an element that supports the URI protocol.
8971 Also move the g_path_is_absolute() check for the location part
8972 of the URI to also check this for "file://localhost/bla" URIs.
8974 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8976 * docs/gst/gstreamer-sections.txt:
8977 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8979 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8981 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8983 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8985 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8986 (gst_registry_binary_load_pad_template),
8987 (gst_registry_binary_load_plugin),
8988 (gst_registry_binary_read_cache):
8989 * gst/gstregistrybinary.h:
8990 Implement no-mmap alternative for registry reading. Do code cleanups.
8991 Add more comments about avoiding strdups for all text data. Comments
8994 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8996 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8997 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8998 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8999 Comment structs and reformat to fix the build (that stuff should go
9000 into a priv. header).
9002 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9004 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9005 (gst_registry_binary_load_feature):
9006 * gst/gstregistrybinary.h:
9007 Refactor so that we can implement multiple features. Add support for
9008 TypeFindFactory features.
9010 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9012 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9015 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9017 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9019 * gst/gstbin.c: (gst_bin_element_set_state),
9020 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9021 (bin_handle_async_done), (gst_bin_handle_message_func):
9022 Fix build with --gst-disable-gst-debug
9024 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9026 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9027 Make sure streaming has finished before calling the ::stop() vfunc,
9028 since that vfunc might clear state which is being used in the
9029 streaming thread. This fixes a race that caused crashes in
9030 audioresample when shutting down a pipeline (#420106).
9032 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9034 * docs/gst/gstreamer-sections.txt:
9035 That was one byte missing.
9037 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9040 * docs/gst/gstreamer-sections.txt:
9042 * gst/gstconfig.h.in:
9043 * gst/gstobject.c: (gst_object_class_init),
9044 (gst_signal_object_class_init):
9046 2nd attempt to have a xml-less build as a joined effort of #413123
9049 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9051 * docs/design/draft-tagreading.txt:
9052 Added open issues/thoughts to draft.
9054 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9056 * gst/parse/grammar.tab.pre.c:
9057 * gst/parse/grammar.tab.pre.h:
9058 * gst/parse/lex._gst_parse_yy.pre.c:
9059 Update the prebuild parser sources.
9061 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9063 * gst/parse/Makefile.am:
9064 And now fix the building of the flex sources. Now everything should
9067 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9069 * gst/parse/Makefile.am:
9070 Now hopefully fix the build failures by setting proper rule
9071 dependencies and moving instead of copying.
9073 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9075 * tests/benchmarks/complexity.gnuplot:
9076 * tests/benchmarks/complexity.scm:
9077 * tests/benchmarks/mass-elements.gnuplot:
9078 * tests/benchmarks/mass-elements.scm:
9079 Total licensification.
9081 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9083 * gst/parse/Makefile.am:
9084 Fix the build by correcting the rule that gave wrong files to flex.
9086 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9088 * tests/benchmarks/complexity.c:
9089 * tests/benchmarks/mass-elements.c:
9090 Change licence to LGPL as granted by Benjamin and Andy.
9092 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9094 * gst/parse/Makefile.am:
9095 Add correct grammar.tab.h dependency if compiling without new enough
9096 flex. Fixes #431150.
9098 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9100 * gst/parse/Makefile.am:
9101 Fix typo and use outdated sources if the flex/bison sources are newer
9102 than the pregenerated ones but flex is too old. Print a warning in
9103 that case. This should fix the build on the build bot.
9105 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9107 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9108 * gst/parse/Makefile.am:
9109 * gst/parse/grammar.y:
9110 * gst/parse/parse.l:
9111 Make the parser reentrant and recursively callable. This requires flex
9112 >= 2.5.31, for older versions pregenerated sources are used as we
9113 can't bump the build dependency. Finally fixes #349180.
9115 * gst/gstparse.c: (gst_parse_launch):
9116 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9119 * docs/gst/Makefile.am:
9120 * docs/gst/Makefile.am:
9121 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9122 (__gst_parse_strfree), (__gst_parse_link_new),
9123 (__gst_parse_link_free), (__gst_parse_chain_new),
9124 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9125 (gst_parse_element_set), (gst_parse_free_link),
9126 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9127 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9128 (_gst_parse_launch):
9129 * gst/parse/grammar.tab.pre.h:
9130 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9131 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9132 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9133 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9134 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9135 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9136 (_gst_parse_yypop_buffer_state),
9137 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9138 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9139 (yy_fatal_error), (_gst_parse_yyget_extra),
9140 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9141 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9142 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9143 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9144 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9145 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9146 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9147 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9148 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9149 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9150 (_gst_parse_yyfree):
9151 If the installed flex version is too old use pre-generated parser
9152 sources. These pre-generated parser sources are always updated when
9153 the actual flex/bison sources change but require everybody who wants
9154 to change something in the parser to have flex >= 2.5.31 installed.
9156 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9158 * common/m4/gst-gettext.m4:
9159 * gst/gst-i18n-lib.h:
9160 Make --disable-nls to work
9162 2007-04-17 Wim Taymans <wim@fluendo.com>
9164 * gst/gstconfig.h.in:
9165 Revert previous change that broke the build.
9167 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9171 * gst/gstconfig.h.in:
9172 Drop libxml2 dependency when building with
9173 --enable-binary-registry --disable-loadsave
9175 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9177 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9178 (gst_registry_binary_read_cache):
9179 * gst/gstregistrybinary.h:
9180 Remove unnecessary <sys/mman.h> include which broke the win32 build
9181 with MingW; move includes from header file to .c file, even if the
9182 header file isn't installed; use g_strerror() where UTF-8 strings
9183 are expected, such as in GST_DEBUG messages.
9185 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9187 * docs/libs/gstreamer-libs-sections.txt:
9188 Remove bogus addition for API I didn't end up keeping.
9190 * libs/gst/base/gstbasesrc.h:
9191 Mention Since: 0.10.13 in the documentation.
9193 Add the API keyword to the previous ChangeLog entry.
9195 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9197 * docs/libs/gstreamer-libs-sections.txt:
9198 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9199 (gst_base_src_default_prepare_seek_segment),
9200 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9201 * libs/gst/base/gstbasesrc.h:
9202 Allow basesrc derived classes to execute seeks in other formats
9203 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9204 to prepare the GstSegment in any format that their perform_seek method
9205 will be able to understand. The default implementation provides the
9206 old behaviour of attempting to convert the seek offsets to the
9207 configured native format.
9209 API: basesrc::prepare_seek_segment vmethod.
9211 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9213 * gst/gstelement.c: (gst_element_get_state_func):
9214 Don't output the same debug statement twice.
9216 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9217 (gst_adapter_peek), (gst_adapter_take_buffer):
9218 Optimise the case where we have buffers at the head of the queue that
9219 can be joined quickly (because they're contiguous sub-buffers) by
9220 merging them together rather than copying data out into new memory.
9222 * gst/parse/grammar.y:
9223 * tests/check/pipelines/parse-launch.c:
9224 Fix a leak in an error path for parse_launch, and add a check
9225 for it to the testsuite.
9227 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9229 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9230 Don't deadlock when releasing a pad - gst_pad_set_active may try
9231 and take the multiqueue lock too.
9233 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9235 * gst/gsterror.c: (_gst_core_errors_init):
9237 API: add GST_CORE_ERROR_DISABLED (#392804).
9239 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9241 * docs/faq/gst-uninstalled:
9242 don't get empty paths on the PATH variables
9243 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9244 Don't format for the uncommon terminal width of 84 characters.
9246 2007-04-06 Wim Taymans <wim@fluendo.com>
9248 * gst/gstpipeline.c: (reset_stream_time),
9249 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9250 Only try to select a different pipeline clock when we went back to
9251 PAUSED and not when we merely got flushed.
9253 2007-04-05 Michael Smith <msmith@fluendo.com>
9255 * tools/gst-launch.1.in:
9256 fractions are better supported in gstreamer than ractions, so
9257 suggest using those.
9259 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9261 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9265 Added Danish translation.
9267 2007-04-05 Wim Taymans <wim@fluendo.com>
9269 * libs/gst/base/gstbasesink.c:
9270 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9271 Fix leak caused when refusing newsegment after EOS.
9273 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9274 (gst_fake_sink_init), (gst_fake_sink_set_property),
9275 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9276 (gst_fake_sink_render), (gst_fake_sink_change_state):
9277 * plugins/elements/gstfakesink.h:
9278 Add num-buffers property to make the element generate EOS after a
9279 configurable amount of buffers.
9280 API: fakesink::num-buffers property.
9282 * tests/check/elements/fakesink.c: (GST_START_TEST),
9284 Fix GstBus leak in test.
9285 Test for fakesink num-buffers.
9287 2007-04-05 Wim Taymans <wim@fluendo.com>
9289 * libs/gst/base/gstbasesink.c:
9290 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9291 (gst_base_sink_change_state):
9292 Don't accept anything after an EOS, return UNEXPECTED instead.
9294 * tests/check/elements/fakesink.c: (GST_START_TEST),
9296 Unit test for new EOS behaviour.
9298 2007-04-05 Wim Taymans <wim@fluendo.com>
9300 * gst/gstelement.c: (gst_element_get_request_pad):
9301 Make padtemplates also work when they don't contain %s or %d.
9303 2007-04-05 Wim Taymans <wim@fluendo.com>
9305 * docs/gst/gstreamer-sections.txt:
9306 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9307 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9309 Improve _adjust_unlocked() so that it overflows less.
9310 Add gst_clock_unadjust_unlocked to convert from external time to
9311 internal time based on calibration.
9312 Add some more debug.
9313 API: GstClock::gst_clock_unadjust_unlocked()
9315 2007-04-03 Wim Taymans <wim@fluendo.com>
9317 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9319 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9320 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9321 when releasing sink pad. Fixes #425400.
9323 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9325 * docs/random/ensonic/dynlink.txt:
9326 More work on proposal for new core api.
9328 * docs/libs/gstreamer-libs-sections.txt:
9329 * libs/gst/base/gstbasetransform.h:
9330 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9332 * libs/gst/controller/gstcontroller.c:
9333 (on_object_controlled_property_changed),
9334 (gst_controller_sync_values),
9335 (gst_controller_set_interpolation_mode):
9336 * libs/gst/controller/gstcontroller.h:
9337 Less verbose logging add docs for unimplemented parts and correctly
9338 return when using unavailable parts.
9340 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9342 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9343 Move all the debug to the CLOCK category, and associate it with
9346 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9348 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9349 Make take_buffer a bit quicker by removing redundant checks
9350 caused by calling gst_adapter_take.
9352 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9354 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9357 * tests/check/Makefile.am:
9358 * tests/check/elements/.cvsignore:
9359 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9360 (GST_START_TEST), (multiqueue_suite):
9361 Add some dead simple unit tests for the 'multiqueue' element
9362 (some bits don't work yet and are disabled for now).
9364 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9366 * gst/gstelement.c: (gst_element_get_request_pad),
9367 (gst_element_class_get_request_pad_template):
9368 Make gst_element_get_request_pad() create request pads only for
9369 request pad templates and not for, say, sometimes pad templates.
9371 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9373 * docs/design/draft-klass.txt:
9374 Add example that needs more thinking.
9376 * docs/design/draft-missing-plugins.txt:
9377 More thoughts about wrapper plugins.
9379 * docs/random/ensonic/embedded.txt:
9380 * docs/random/ensonic/profiling.txt:
9383 2007-03-25 Wim Taymans <wim@fluendo.com>
9385 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9386 (gst_base_src_loop):
9387 Only push the segment events in the PLAYING state for live sources.
9389 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9391 * gst/gstpipeline.c: (gst_pipeline_change_state):
9392 Modify the clock distribution path in PAUSED->PLAYING so that we
9393 never attempt to choose a new clock unless we're actually leaving
9394 the PAUSED state for the first time. This prevents choosing a
9395 different clock when the state_change gets called for a 2nd time due
9396 to some element doing an async state change.
9398 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9400 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9401 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9402 (gst_pad_chain_unchecked), (gst_pad_push):
9403 Revert last commit. This needs some more thoughts.
9405 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9407 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9408 (gst_pad_chain_unchecked), (gst_pad_push):
9409 Check in set_caps if the caps are compatible with the pad and remove
9410 two functions that are redundant now. Fixes #421543.
9412 2007-03-22 Wim Taymans <wim@fluendo.com>
9414 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9415 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9416 Unref some more to make valgrind happy.
9418 2007-03-22 Wim Taymans <wim@fluendo.com>
9420 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9421 (gst_system_clock_id_wait_jitter),
9422 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9423 Fix anoying regression that survived a few releases. When adding an
9424 async entry while blocking on a sync entry, the sync entry will unblock
9425 but still be busy, so it should continue to wait instead of returning
9427 Add some comments here and there.
9429 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9430 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9431 Add testcase for this.
9433 2007-03-22 Wim Taymans <wim@fluendo.com>
9435 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9436 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9437 WRONG_STATE and can silently pause the task. All other cases should
9440 2007-03-22 Wim Taymans <wim@fluendo.com>
9442 Patch by: Ville Syrjala <syrjala at sci dot fi>
9444 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9445 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9448 2007-03-21 Michael Smith <msmith@fluendo.com>
9450 * docs/pwg/advanced-types.xml:
9451 Fix some errors in the typefinding docs pointed out on irc.
9453 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9455 * libs/gst/base/gstbasesrc.c:
9456 Clarify FIXME comment in the face of having added unlock_stop()
9458 2007-03-21 Wim Taymans <wim@fluendo.com>
9460 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9461 Prepare for release where we warn against possible app breakage in the
9462 case of live pipelines along with an env var to enable/disable live
9463 preroll mode (GST_COMPAT=[no-]live-preroll).
9465 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9467 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9468 So we should use correct constants for checking for None offset.
9470 2007-03-20 Wim Taymans <wim@fluendo.com>
9472 * docs/design/part-block.txt:
9473 Mention the fact that the newly switched element should be set to at
9476 2007-03-20 Wim Taymans <wim@fluendo.com>
9479 Fix compilation with registry disabled as spotted by Saur.
9481 2007-03-20 Wim Taymans <wim@fluendo.com>
9483 Patch by: Olivier Crete <tester at tester dot ca>
9485 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9486 Look at the pending state too when syncing the element state to the
9487 parent. Fixes #420133.
9489 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9491 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9492 (gst_base_sink_change_state):
9493 * libs/gst/base/gstbasesink.h:
9494 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9495 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9496 (gst_base_src_deactivate):
9497 * libs/gst/base/gstbasesrc.h:
9498 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9499 for sub-classes to correctly clear any state they set trying to
9500 unlock, such as clearing out unlock commands from a command fd.
9501 API: basesrc::unlock_stop
9502 API: basesink::unlock_stop
9504 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9505 (gst_fd_sink_render), (gst_fd_sink_unlock),
9506 (gst_fd_sink_unlock_stop):
9507 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9508 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9509 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9511 Implement unlock_stop in fdsrc and fdsink.
9512 Implement seeking in fdsrc when a seekable fd is passed, as in
9513 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9515 2007-03-19 Wim Taymans <wim@fluendo.com>
9517 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9519 * gst/gstelement.c: (gst_element_class_init):
9520 Fix pad-added and pad-removed signal signatures so that the pad type is
9521 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9523 2007-03-19 Wim Taymans <wim@fluendo.com>
9525 * docs/gst/gstreamer-sections.txt:
9526 Add new element field and method.
9528 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9529 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9530 (gst_bin_recalc_state), (gst_bin_get_state_func),
9531 (gst_bin_element_set_state), (gst_bin_change_state_func),
9532 (gst_bin_continue_func), (bin_bus_handler),
9533 (bin_push_state_continue), (bin_handle_async_start),
9534 (bin_handle_async_done), (gst_bin_handle_message_func):
9535 Make async state changes a bit smarter by using new ASYNC_START and
9536 ASYNC_DONE messages. This reduces the number of times we run the state
9537 recalculation thread.
9538 Don't change state of element with a pending ASYNC_START message.
9539 Deprecate STATE_DIRTY messages.
9541 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9542 (gst_element_get_state_func), (gst_element_continue_state),
9543 (gst_element_lost_state), (gst_element_set_state_func),
9544 (gst_element_change_state):
9546 Keep the state that was last set by the app in a new element field.
9547 Don't allow state changes when handling an element event.
9548 Post ASYNC_START and ASYNC_DONE messages.
9549 Change lost_state so that we go to PAUSED and wait for the parent to set
9550 us to PLAYING again (so latency calculation can be performed)
9551 Export gst_element_change_state() method so that subclasses can use it.
9552 API: gst_element_change_state()
9553 API: GST_STATE_TARGET
9555 * gst/gstpipeline.c: (gst_pipeline_class_init),
9556 (reset_stream_time), (gst_pipeline_change_state),
9557 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9558 Using the new ASYNC_START message we can reset the base_time when
9559 needed. This can then be used to implement base_time redistribution in
9560 flushing seeks so that we can remove the explicit seek handling.
9561 Perform latency query and configuration when going to PLAYING.
9563 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9564 (gst_base_sink_query), (gst_base_sink_change_state):
9565 Post new ASYNC_START/ASYNC_DONE messages.
9567 * tests/check/generic/sinks.c: (GST_START_TEST):
9568 Fix test because the bin will not set the async element to PLAYING right
9571 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9572 Make the message check a little stronger.
9573 Handle ASYNC messages.
9575 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9576 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9577 Expect ASYNC_DONE messages.
9579 2007-03-19 Wim Taymans <wim@fluendo.com>
9581 * docs/gst/gstreamer-sections.txt:
9582 * gst/gstmessage.c: (gst_message_new_async_start),
9583 (gst_message_new_async_done), (gst_message_parse_info),
9584 (gst_message_parse_async_start):
9586 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9589 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9591 * tools/gst-inspect.c:
9592 (print_plugin_automatic_install_info_codecs):
9593 Now that we don't check for the 'Codec' keyword any longer in the
9594 klass, we shouldn't spew a warning if the klass isn't a decoder or
9595 encoder (since it might be a Source/Network, for example).
9597 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9599 * tools/gst-inspect.c:
9600 (print_plugin_automatic_install_info_codecs):
9601 Don't require decoder/demuxer/depayloader elements or
9602 encoder/muxer/paylader elements to have 'Codec' as part of their
9603 factory class string when introspecting a plugin's capabilities.
9604 draft-klass.txt mentions that it might be removed in future, and
9605 flump3dec doesn't have it as part of its class string, so chances
9606 are others might also not have it.
9608 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9630 Update translations from translation project
9632 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9634 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9635 (gst_child_proxy_set_property):
9636 Invert precondition check to be alike the ones in the mimiced gobject
9639 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9641 * docs/design/draft-tagreading.txt:
9642 * docs/random/ensonic/audiobaseclasses.txt:
9643 Do some Architect work.
9645 * gst/gstobject.c: (gst_object_set_name):
9649 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9651 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9653 * gst/gstsystemclock.c: (gst_system_clock_init),
9654 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9655 Defer starting the async system clock thread until the first async
9656 wait is scheduled. Fixes #414986.
9658 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9660 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9661 (gst_single_queue_free):
9662 Fix small leak (free GstSingleQueue structure too, not only contents).
9664 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9666 * gst/gstbin.c:(gst_bin_add):
9667 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9668 * win32/common/libgstbase.def:
9669 * win32/common/libgstreamer.def:
9670 Add new exported functions.
9672 2007-03-09 Wim Taymans <wim@fluendo.com>
9674 * docs/plugins/gstreamer-plugins-sections.txt:
9677 2007-03-09 Wim Taymans <wim@fluendo.com>
9679 * docs/gst/gstreamer-sections.txt:
9680 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9682 Add metadata copy functions. Fixes #393099.
9683 API: gst_buffer_copy_metadata()
9685 * gst/gstutils.c: (gst_buffer_stamp):
9686 * libs/gst/base/gstbasetransform.c:
9687 (gst_base_transform_prepare_output_buffer):
9688 Use new metadata copy functions.
9690 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9692 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9693 (gst_identity_init), (gst_identity_check_perfect),
9694 (gst_identity_check_imperfect_timestamp),
9695 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9696 (gst_identity_set_property), (gst_identity_get_property):
9697 * plugins/elements/gstidentity.h:
9698 Separate out check-imperfect-timestamp and check-imperfect-offset.
9699 Put back check-perfect as it was to keep compatibility.
9701 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9703 * gst/gstelement.c: (gst_element_dispose):
9704 There's no need to warn if VOID_PENDING is not NONE here, as
9705 long as the state is NULL it's ok, and that's checked immediately
9708 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9710 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9711 Fix check for perfect stream to ignore buffers with -1
9712 offsets/offset ends when checking data contiguity.
9714 2007-03-08 Wim Taymans <wim@fluendo.com>
9716 * tools/gst-launch.c: (event_loop):
9717 Print INFO messages.
9719 2007-03-08 Wim Taymans <wim@fluendo.com>
9721 * libs/gst/base/gstbasetransform.c:
9722 (gst_base_transform_sink_eventfunc),
9723 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9724 (gst_base_transform_activate):
9725 * libs/gst/base/gstbasetransform.h:
9726 Add support for dropping buffers with custom GstFlowReturn.
9727 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9728 buffers or dropped buffers.
9730 * docs/libs/gstreamer-libs-sections.txt:
9731 docs for new custom return code.
9733 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9734 Use drop support in base class to implement drop-probability.
9736 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9738 * gst/gst.c: (load_plugin_func):
9739 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9740 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9741 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9742 Remove newlines at end of debug log strings.
9744 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9746 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9747 Only post bus message at max, once per buffer received.
9749 2007-03-07 Wim Taymans <wim@fluendo.com>
9751 * docs/design/Makefile.am:
9752 * docs/design/part-synchronisation.txt:
9753 Add doc about synchronisation
9755 * docs/design/draft-latency.txt:
9756 * docs/design/part-TODO.txt:
9757 * docs/design/part-clocks.txt:
9758 * docs/design/part-events.txt:
9759 * docs/design/part-gstbus.txt:
9760 * docs/design/part-gstpipeline.txt:
9761 * docs/design/part-live-source.txt:
9762 * docs/design/part-messages.txt:
9763 * docs/design/part-overview.txt:
9764 * docs/design/part-streams.txt:
9765 * docs/design/part-trickmodes.txt:
9766 Documentation updates.
9768 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9771 Update the doap file.
9773 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9775 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9776 Rename non-perfect to imperfect for Mike and for the sanctity of the
9778 Also make sure bus message gets emitted for data-incontiguities.
9780 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9782 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9783 (gst_identity_start):
9784 * plugins/elements/gstidentity.h:
9785 Emit bus message if check-perfect is true and we encounter a
9786 non-perfect stream between 2 consecutive buffers.
9789 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9794 === release 0.10.12 ===
9796 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9799 releasing 0.10.12, "Inevitable Demise"
9801 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9804 Version 0.10.11.2 (0.10.12 pre-release)
9805 Bump libtool versioning.
9807 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9809 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9810 Log flow-names and not numbers.
9812 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9815 Convert to new AG_GST style.
9817 2007-02-28 Wim Taymans <wim@fluendo.com>
9819 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9820 Don't unref query twice.
9822 2007-02-28 Wim Taymans <wim@fluendo.com>
9824 * gst/gstvalue.c: (gst_value_transform_object_string),
9825 (_gst_value_initialize):
9826 Implement GstObject -> string transform so we print object names
9827 when serializing GValues containing GstObjects.
9829 2007-02-28 Wim Taymans <wim@fluendo.com>
9831 * docs/gst/gstreamer-sections.txt:
9832 Add new stuff to docs.
9834 2007-02-28 Wim Taymans <wim@fluendo.com>
9836 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9837 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9838 (gst_base_sink_change_state):
9839 Improve latency query code.
9840 Don't leak latency events.
9842 * tests/check/gst/gstbin.c: (GST_START_TEST):
9845 2007-02-28 Wim Taymans <wim@fluendo.com>
9847 * gst/gstelement.c: (gst_element_message_full),
9848 (gst_element_get_state_func):
9850 Improve docs a little. Added Since: for new macro.
9852 * gst/gstobject.c: (gst_object_sink):
9853 * gst/gstpipeline.c: (gst_pipeline_change_state),
9854 (gst_pipeline_set_new_stream_time):
9855 * gst/gstpipeline.h:
9856 Improve debugging and docs.
9858 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9861 2007-02-28 Wim Taymans <wim@fluendo.com>
9863 * gst/gstelement.c: (gst_element_message_full),
9864 (gst_element_set_locked_state), (gst_element_get_state_func),
9865 (gst_element_change_state):
9866 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9867 Documentation updates.
9868 Small code cleanups.
9870 * gst/gstmessage.c: (gst_message_new_info),
9871 (gst_message_parse_info):
9873 API: gst_message_new_info()
9874 API: gst_message_parse_info()
9875 Add INFO message create and parse code.
9877 2007-02-28 Wim Taymans <wim@fluendo.com>
9879 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9880 (bin_query_latency_done):
9881 Also report the live parameter of a latency query.
9883 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9885 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9886 Copy the current generic/states example from -base and adapt so
9887 we can use the exact same code everywhere.
9888 Check a STATES_IGNORE_ELEMENTS env var which can be used
9889 to ignore certain element factories for this test, which is
9890 what is being done in -base
9891 * tests/check/Makefile.am:
9892 Mention this environment variable.
9894 2007-02-27 Wim Taymans <wim@fluendo.com>
9896 * docs/gst/gstreamer-sections.txt:
9897 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9898 (gst_bus_timed_pop), (gst_bus_pop):
9900 API: gst_bus_timed_pop()
9901 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9902 message to arrive on the bus.
9904 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9906 Two unit tests for new _timed_pop() function.
9908 2007-02-23 Wim Taymans <wim@fluendo.com>
9910 * gst/gstpipeline.c: (gst_pipeline_change_state),
9911 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9912 Don't ref a NULL clock in _provide_clock_func().
9913 Don't allow an INVALID delay.
9914 Don't try to calculate base_time with an invalid start_time.
9915 Also distribute and notify a NULL clock when it was selected.
9917 * tools/gst-launch.c: (event_loop):
9918 Don't crash when a NULL clock was selected in the pipeline.
9920 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9922 * docs/design/Makefile.am:
9923 * docs/design/draft-missing-plugins.txt:
9924 * docs/random/draft-missing-plugins.txt:
9925 Some small updates: update plugin system identifier prefix
9926 ('gstreamer.net' to 'gstreamer'), mention our new install
9927 API in libgstbaseutils rather than libgimme-codec, add
9928 reference to the online docs.
9930 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9932 * win32/common/config.h:
9933 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9934 use moap cl ci to only check in what is mentioned in the ChangeLog.
9936 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9938 * docs/gst/gstreamer-sections.txt:
9940 Fix up documentation to link to the correct GstGError section.
9941 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9943 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9945 * tools/gst-launch.c: (event_loop):
9946 Make sure that we actually show the important message part of a
9948 No need to check if the gerror is not NULL to free; first of all
9949 g_free accepts NULL; and second the default error handler would
9950 segfault if gerror was NULL.
9952 2007-02-21 Wim Taymans <wim@fluendo.com>
9954 * docs/gst/gstreamer-sections.txt:
9955 Removed docs as well.
9957 2007-02-21 Wim Taymans <wim@fluendo.com>
9959 * gst/gstmessage.c: (gst_message_parse_duration):
9961 Remove new messages for release.
9963 2007-02-20 Wim Taymans <wim@fluendo.com>
9965 * docs/design/part-gstghostpad.txt:
9966 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9967 (gst_ghost_pad_new_full):
9968 Make the ghostpad a parent of the internal pad again for better backward
9969 compatibility. Don't write code that relies on this however.
9971 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9972 (gst_pad_link_check_hierarchy):
9973 Require that parents should be GstElements in the hierarchy check.
9975 2007-02-20 Wim Taymans <wim@fluendo.com>
9977 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9978 (gst_bin_change_state_func), (bin_query_min_max_init),
9979 (bin_query_latency_fold), (bin_query_latency_done),
9982 Implement latency query.
9984 2007-02-20 Wim Taymans <wim@fluendo.com>
9986 * docs/design/part-gstghostpad.txt:
9987 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9988 (gst_ghost_pad_internal_do_activate_push),
9989 (gst_ghost_pad_internal_do_activate_pull),
9990 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9991 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9992 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9993 Do not set the internal pad as a parent anymore so we can avoid
9994 hierarchy linking errors when the ghostpad has no parent yet. This also
9995 fixes failed activation because of unlinked internal pads, which in
9996 turn fixes the impossible case where you have to activate a pad before
9997 you can add it to a running element.
10000 * gst/gstpad.c: (pre_activate), (post_activate),
10001 (gst_pad_set_active), (gst_pad_activate_pull),
10002 (gst_pad_activate_push), (gst_pad_check_pull_range):
10003 Add some more debug info.
10004 Mark activation mode in pre_activate so that we don't try to activate in
10005 endless loops. Fixes #385084.
10007 2007-02-19 Wim Taymans <wim@fluendo.com>
10009 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10010 (gst_base_transform_check_get_range):
10011 Implement a checkgetrange function instead of relying on the default
10012 core behaviour that assumes we can operate in pull mode if we have a
10013 getrange function. First step at fixing #385084.
10015 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10017 * gst/gstchildproxy.h:
10018 * libs/gst/base/gstbasesink.h:
10019 * libs/gst/base/gstbasesrc.h:
10020 * libs/gst/base/gstbasetransform.h:
10021 More docs coverage and some ChangeLog surgery (add missing names)
10023 2007-02-15 Wim Taymans <wim@fluendo.com>
10025 * docs/design/part-TODO.txt:
10026 * docs/design/part-activation.txt:
10027 * docs/design/part-block.txt:
10028 * docs/design/part-buffering.txt:
10029 * docs/design/part-clocks.txt:
10030 * docs/design/part-element-source.txt:
10031 * docs/design/part-events.txt:
10032 * docs/design/part-gstbin.txt:
10033 * docs/design/part-gstbus.txt:
10034 * docs/design/part-gstpipeline.txt:
10035 * docs/design/part-live-source.txt:
10036 * docs/design/part-messages.txt:
10037 * docs/design/part-overview.txt:
10038 * docs/design/part-qos.txt:
10039 * docs/design/part-query.txt:
10040 * docs/design/part-states.txt:
10041 * docs/design/part-trickmodes.txt:
10042 Some doc updates. Start renaming from stream_time to running_time where
10043 it was used wrongly.
10045 2007-02-15 Wim Taymans <wim@fluendo.com>
10047 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10048 Answer LATENCY query.
10050 2007-02-15 Wim Taymans <wim@fluendo.com>
10052 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10056 2007-02-15 Wim Taymans <wim@fluendo.com>
10058 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10059 (gst_pad_dispatcher):
10060 Improve debugging of default pad dispatcher and query functions.
10062 2007-02-15 Wim Taymans <wim@fluendo.com>
10064 * docs/gst/gstreamer-sections.txt:
10065 Remove old unused method.
10067 2007-02-13 Wim Taymans <wim@fluendo.com>
10069 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10072 2007-02-13 Wim Taymans <wim@fluendo.com>
10074 * docs/design/part-seeking.txt:
10077 * gst/gstsegment.c: (gst_segment_set_seek):
10078 Revert old bogus change that should make seeking work again.
10080 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10082 * docs/random/ensonic/dynlink.txt:
10083 * docs/random/ensonic/interfaces.txt:
10084 * docs/random/ensonic/receipies.txt:
10085 Possible dynamic reconnection api, plus some type fixes the other two
10088 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10090 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10091 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10092 Also check for an absolute path following file:// in the filesrc
10093 element. Remove redundant check and call g_path_is_absolute() on the
10094 unescaped location.
10096 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10098 * docs/design/draft-klass.txt:
10099 Add existing category analysis.
10102 Fix doc example, framerate is a fraction.
10104 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10107 * docs/gst/Makefile.am:
10108 * docs/gst/gstreamer-sections.txt:
10109 * docs/libs/Makefile.am:
10110 Erm, forgot a bunch of --extra-dir.
10112 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10115 * docs/gst/Makefile.am:
10116 * docs/libs/Makefile.am:
10117 * docs/plugins/Makefile.am:
10118 Add crossreferences to glib/gobject docs.
10120 2007-02-12 Wim Taymans <wim@fluendo.com>
10122 * docs/design/draft-latency.txt:
10125 * docs/libs/gstreamer-libs-sections.txt:
10126 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10127 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10128 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10129 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10130 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10131 (gst_base_sink_get_position), (gst_base_sink_query),
10132 (gst_base_sink_change_state):
10133 * libs/gst/base/gstbasesink.h:
10134 API: gst_base_sink_query_latency() to let subclasses query the upstream
10136 API: gst_base_sink_get_latency() to let subclasses query the configured
10137 latency in the sink.
10138 Implement query and set latency.
10140 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10141 don't continue preroll when we are flushing. Fixes #405284.
10143 * tests/check/pipelines/stress.c: (change_state_timeout),
10144 (quit_timeout), (GST_START_TEST), (stress_suite):
10147 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10149 Patch by: René Stadler <mail at renestadler de>
10151 * docs/gst/gstreamer-sections.txt:
10152 * gst/gsttaglist.c: (_gst_tag_initialize):
10153 * gst/gsttaglist.h:
10154 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10156 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10158 * docs/libs/Makefile.am:
10159 Fix path to core docs.
10161 * gst/gstbin.c: (gst_bin_get_by_interface),
10162 (gst_bin_iterate_all_by_interface):
10163 Refix docs by also renaming 'interface' to 'iface' in implementation.
10165 * docs/gst/gstreamer-sections.txt:
10167 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10168 * gst/gstchildproxy.h:
10169 * gst/gstelementfactory.c:
10170 * gst/gstpadtemplate.h:
10171 * libs/gst/controller/gstcontroller.c:
10172 (gst_controlled_property_new):
10175 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10177 * gst/gstbin.h:(gst_bin_get_by_interface),
10178 (gst_bin_iterate_all_by_interface):
10179 Replace interface parameter name by iface as interface is
10180 a reserved keyword in Visual Studio for C++ projects so it removes
10181 a build error for application developpers using VS.
10182 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10183 Fix a bug on Windows in uri format check. Now the prefix checked
10184 is file:// and next we check if the path after file:// is absolute.
10185 * win32/common/libgstbase.def:
10186 * win32/common/libgstdataprotocol.def:
10187 * win32/common/libgstgstreamer.def:
10188 Add new exported functions.
10190 2007-02-09 Andy Wingo <wingo@pobox.com>
10192 * tests/check/pipelines/simple-launch-lines.c
10193 (simple_launch_lines_suite, test_tee): Disable tee test until I
10194 have time to fix it :-(
10196 * tests/check/Makefile.am (noinst_HEADERS):
10197 * tests/check/libs/libsabi.c:
10198 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10199 * tests/check/gst/gstabi.c:
10200 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10202 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10203 tests for push and pull tee behavior.
10205 * plugins/elements/gsttee.h:
10206 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10207 mark as deprecated as well as unimplemented. It was a crack idea.
10208 Add support for tee operating in pull mode, off by default.
10210 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10211 normal-case logs down to LOG, raise errors to WARNING.
10212 (gst_registry_xml_read_cache): Don't log before calling a function
10215 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10216 exit (registry finalize).
10217 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10218 DEBUG log when we emit signals that people don't even have the
10219 chance to connect to.
10220 (gst_registry_scan_path_level): Less logging in the normal case.
10222 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10224 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10226 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10227 Correctly generate EOS for non-seekable files. We don't have a total
10228 length for them and would get an unexpected end of file if we only
10229 special-cased for regular files. (Fixes: #404569)
10231 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10233 * tests/check/elements/filesrc.c: (GST_START_TEST),
10235 Add unit test for the GstURIHandler interface in filesrc. This also
10236 tests the newly added file://localhost/foo/bar support.
10238 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10240 * gst/gstelementfactory.h:
10241 The klass string is not a hierarchy. Add reference to the design doc
10242 for more information and common types.
10244 2007-02-02 Wim Taymans <wim@fluendo.com>
10246 * gst/gstquery.c: (gst_query_new_latency):
10247 Remove old structure field.
10249 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10251 * tools/gst-launch.1.in:
10252 Give example for network streaming (#351998)
10254 2007-02-02 Wim Taymans <wim@fluendo.com>
10256 * docs/gst/gstreamer-sections.txt:
10257 Add docs for new methods.
10259 * gst/gstevent.c: (gst_event_new_latency),
10260 (gst_event_parse_latency):
10262 Add new LATENCY event to configure latency in a pipeline.
10263 API: gst_event_new_latency
10264 API: gst_event_parse_latency
10266 * gst/gstmessage.c: (gst_message_new_buffering),
10267 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10268 (gst_message_new_latency), (gst_message_parse_buffering),
10269 (gst_message_parse_lost_preroll):
10270 * gst/gstmessage.h:
10271 Added messages used in draft-latency.
10272 API: gst_message_new_lost_preroll
10273 API: gst_message_parse_lost_preroll
10274 API: gst_message_new_prerolled
10275 API: gst_message_new_latency
10277 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10278 (gst_query_parse_latency):
10280 Implemented new latency query as in design doc.
10281 API: gst_query_new_latency
10282 API: gst_query_set_latency
10283 API: gst_query_parse_latency
10285 2007-02-02 Wim Taymans <wim@fluendo.com>
10287 * docs/design/draft-latency.txt:
10288 Slight redesign to allow for dynamic latency adjustments.
10290 * docs/design/part-negotiation.txt:
10293 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10295 reviewed by: Wim Taymans <wim@fluendo.com>
10297 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10298 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10299 Allow file://localhost/foo/bar URLs and correctly fail for every other
10300 hostname that one sets. This was gnomevfssrc is linked for those if
10301 installed as it can handle it (#403172)
10303 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10305 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10307 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10308 (unref_data), (gst_collect_pads_add_pad_full):
10309 * libs/gst/base/gstcollectpads.h:
10310 Don't put the previously added destroy notify in the GstCollectData
10311 struct as all it's padding is already used and we don't want to break
10312 ABI. Instead put in the pad's GObject data for now. This should be
10313 cleaned up for 0.11 (#402393).
10315 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10317 reviewed by: Wim Taymans <wim@fluendo.com>
10319 * docs/libs/gstreamer-libs-sections.txt:
10320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10321 (unref_data), (gst_collect_pads_add_pad),
10322 (gst_collect_pads_add_pad_full):
10323 * libs/gst/base/gstcollectpads.h:
10324 API: Add function to specify a destroy notification for custom
10325 GstCollectData when adding new pads in GstCollectPads (#402393).
10327 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10330 Update Swedish translation (#378255).
10332 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10334 * docs/design/draft-klass.txt:
10335 Fix the previous change, this is a list of categories and not a hierarchy.
10337 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10339 * docs/design/draft-klass.txt:
10340 Add info about how to get a list of used classes.
10342 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10344 * plugins/elements/gsttypefindelement.c:
10345 (gst_type_find_element_chain_do_typefinding),
10346 (gst_type_find_element_change_state):
10347 Don't leak found caps in chain function (no idea why that never
10348 showed up as a leak anywhere).
10350 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10353 Fix and expand GstPluginDesc API docs.
10355 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10358 * gst/gstelementfactory.c:
10359 * gst/gstpadtemplate.h:
10362 * libs/gst/controller/gstcontroller.c:
10363 (gst_controlled_property_new):
10364 * tests/examples/controller/audio-example.c:
10367 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10370 comment about refining the xml deps
10372 * docs/manuals.mak:
10373 comments about moving away from jade for docs
10376 recommit the ifdefs to use the binary registry
10378 * gst/gstbin.c: (gst_bin_change_state_func):
10379 this break is obsolete
10381 * gst/gstelementfactory.h:
10382 better GST_ELEMENT_DETAILS docs, add comment about translation
10387 * gst/gstobject.c: (gst_signal_object_get_type):
10388 add G_UNLIKELY as usual
10390 * gst/gstpad.c: (gst_pad_event_default):
10391 add fall trhu comment
10393 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10394 (gst_registry_binary_initialize_magic),
10395 (gst_registry_binary_save_string),
10396 (gst_registry_binary_save_pad_template),
10397 (gst_registry_binary_save_feature),
10398 (gst_registry_binary_save_plugin),
10399 (gst_registry_binary_write_cache),
10400 (gst_registry_binary_check_magic),
10401 (gst_registry_binary_load_pad_template),
10402 (gst_registry_binary_load_feature),
10403 (gst_registry_binary_load_plugin),
10404 (gst_registry_binary_read_cache):
10405 comment typo and formatting
10407 * gst/gstutils.c: (gst_element_state_get_name),
10408 (gst_element_state_change_return_get_name):
10409 remove obsolete breaks
10411 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10412 add FIXME 0.11 and remove cpp comment
10414 2007-01-29 Edward Hervey <edward@fluendo.com>
10416 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10417 Fix print statement in an even more portable way.
10419 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10421 * docs/gst/gstreamer-sections.txt:
10423 API: add GST_ROUND_DOWN_* macros (#401781).
10425 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10427 * docs/gst/gstreamer.types.in:
10428 * gst/gstregistry.c: (gst_registry_class_init):
10429 Document registry signals and make gtk-doc pick them up (#401381).
10431 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10433 * docs/pwg/building-testapp.xml:
10434 Add some audioconverts and audioresample to the pipeline, and some
10435 more comments and error handling.
10437 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10439 * docs/manual/manual.xml:
10440 * docs/pwg/pwg.xml:
10441 Fix typo (#400987).
10443 2007-01-26 Wim Taymans <wim@fluendo.com>
10445 * gst/gstcaps.c: (gst_static_caps_get):
10446 Init caps flags too.
10448 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10450 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10452 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10453 If not using mmap'ed files try to seek to the end instead of the
10454 start to determine whether we can seek at all. This fixes the case
10455 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10456 seeks for everything afterwards fail. Fixes #400656
10458 2007-01-25 Wim Taymans <wim@fluendo.com>
10460 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10461 Add some refcount debugging.
10462 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10463 in multiple streaming threads.
10465 2007-01-25 Wim Taymans <wim@fluendo.com>
10467 Patch by: David Schleef <ds at schleef dot org>
10469 * docs/libs/gstreamer-libs-sections.txt:
10470 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10471 * libs/gst/base/gstadapter.h:
10472 API: gst_adapter_copy() that can reduce the amount of memcpy when
10473 getting data from the adapter. Fixes #388201.
10475 2007-01-25 Edward Hervey <edward@fluendo.com>
10477 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10478 In print statements, "%x" is for guint. Fixes build on macosx.
10480 2007-01-24 Edward Hervey <edward@fluendo.com>
10482 * plugins/elements/gstmultiqueue.c:
10483 (gst_multi_queue_loop):
10485 (single_queue_overrun_cb), (single_queue_underrun_cb),
10486 (single_queue_check_full), (gst_single_queue_new):
10487 Implement single queue growth system.
10488 This uses the extra-size properties, and will grow single queues by
10489 that much if one goes full whereas there are others empty. This is
10490 called extra-mode in the code.
10491 When a single queue's levels go back below the initial max-size
10492 limits, it is no longer in extra-mode. This is to ensure we don't
10493 consume too much memory.
10496 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10498 * gst/gst.c: (gst_init_get_option_group):
10499 Make warning about late g_thread_init() calls a bit more explicit,
10500 so that it's more obvious to application developers what they need
10501 to do if a user files a bug against their application.
10503 2007-01-22 Edward Hervey <edward@fluendo.com>
10505 * plugins/elements/gstmultiqueue.c:
10506 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10507 Remove previous hack of unsetting the flushing flag for the source pad
10508 instead of activating it. Instead, fix the source pad activate function
10509 so that it no longer depends on having a parent set or not.
10511 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10513 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10515 * docs/manual/basics-bus.xml:
10516 Fix example code, gst_element_unref() doesn't exist any longer.
10518 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10520 Patch by: Mark Nauwelaerts <manauw at skynet be>
10523 Fix two docs typoes (#399094).
10525 2007-01-19 Edward Hervey <edward@fluendo.com>
10527 * docs/faq/gst-uninstalled:
10528 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10529 depending on libgstbaseutils can work in uninstalled environment.
10531 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10533 * gst/gsttaglist.h:
10534 * gst/gsttagsetter.c:
10535 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10536 statement for new tag.
10538 2007-01-17 Edward Hervey <edward@fluendo.com>
10540 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10541 When dynamically creating single queues, activate sinkpad before adding
10543 We should be doing the same thing for the source pad, but we can't
10544 since it would call a method which needs the parent to be set in order
10545 to work propertly. Instead of activating the source pad, we just unset
10546 the flushing flag, which is the minimal requirement for adding a pad
10547 to an element in a state greater than READY.
10549 2007-01-17 Edward Hervey <edward@fluendo.com>
10551 * docs/faq/gst-uninstalled:
10552 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10555 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10557 * tests/check/gst/gstabi.c:
10558 * tests/check/gst/struct_hppa.h:
10559 * tests/check/libs/libsabi.c:
10560 * tests/check/libs/struct_hppa.h:
10561 Add ABI structs for HPPA (see #393796).
10563 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10565 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10566 Actually write ABI structs to the file specified in the GST_ABI
10567 environment variable, as the message we print claims we would.
10569 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10571 * tests/check/gst/gsttask.c:
10572 Fix header comment.
10574 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10576 * gst/gsttaglist.c: (_gst_tag_initialize):
10577 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10578 previous two entries.
10580 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10582 * docs/gst/gstreamer-sections.txt:
10583 * gst/gsttaglist.c: (_gst_tag_initialize):
10584 * gst/gsttaglist.h:
10585 Add tag support for beat-per-minute.
10587 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10589 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10590 (gst_registry_binary_initialize_magic),
10591 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10592 (gst_registry_binary_save_pad_template),
10593 (gst_registry_binary_save_feature),
10594 (gst_registry_binary_save_plugin),
10595 (gst_registry_binary_write_cache),
10596 (gst_registry_binary_check_magic),
10597 (gst_registry_binary_load_pad_template),
10598 (gst_registry_binary_load_feature),
10599 (gst_registry_binary_load_plugin),
10600 (gst_registry_binary_read_cache):
10601 * gst/gstregistrybinary.h:
10602 Use glib types, cleanup comments, impement interfaces and uri-types.
10604 2007-01-13 Andy Wingo <wingo@pobox.com>
10606 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10607 getrange() to return buffers with other caps, while we fix
10608 demuxers and typefind, or otherwise change part-negotiation.txt.
10610 2007-01-12 Andy Wingo <wingo@pobox.com>
10612 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10613 Factor start/stop into this private function instead of partially
10614 in activate functions and partially in the change_state function.
10615 Fixes setup before the element has changed from READY->PAUSED, as
10616 is the case in pull-mode pipelines.
10617 (gst_base_transform_sink_activate_push)
10618 (gst_base_transform_src_activate_pull): Refactor to use
10619 gst_base_transform_activate().
10620 (gst_base_transform_change_state): Removed, not needed any more.
10622 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10623 Truncate before fixating.
10625 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10626 Don't set_caps() if the result of fixating is ANY, as it's not
10627 supported, and not necessary in the case of a link with no
10628 template caps on either side. Fixes tests/check/libs/basesrc in
10629 some pull-mode tests.
10631 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10632 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10633 (gst_base_transform_src_activate_pull):
10634 Track the activation mode.
10635 (gst_base_transform_setcaps): In pull mode, when activating the
10636 src pad, after activating the sink pad, activate the sink pad's
10637 peer, as discussed in part-negotiation.txt.
10639 * libs/gst/base/gstbasesrc.h:
10640 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10641 vmethod, as in basesink.
10643 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10645 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10646 mode, first proxy the setcaps to the peer pad.
10647 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10648 new fixate vmethod.
10649 (gst_base_sink_default_activate_pull): Rename from
10650 gst_base_sink_activate_pull.
10651 (gst_base_sink_negotiate_pull): New function, performs negotiation
10652 in pull mode before calling ::activate_pull().
10653 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10654 vmethod instead of the default implementation. I have no idea how
10655 this worked before. Negotiate before calling activate_pull.
10657 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10658 sink pads in pull mode. In addition to being correct, fixes
10659 filesrc ! decodebin ! identity ! fakesink.
10660 (gst_pad_get_range, gst_pad_pull_range): Don't call
10661 gst_pad_set_caps() if the caps changes; instead error out with
10662 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10664 2007-01-12 Andy Wingo <wingo@pobox.com>
10666 * docs/design/part-negotiation.txt: Update with more policy.
10668 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10670 * libs/gst/check/gstbufferstraw.h:
10671 * libs/gst/check/gstcheck.h:
10672 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10675 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10677 * tests/check/Makefile.am:
10678 * tests/check/gst/.cvsignore:
10679 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10680 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10681 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10682 (GST_START_TEST), (gst_tag_setter_suite):
10683 Add minimal unit test for beforementioned GstTagSetter bug.
10685 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10687 Patch by: René Stadler <mail at renestadler dot de>
10689 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10690 gst_tag_list_merge() returns a new list, so it's not the best idea
10691 to ingore its return value. Effectively meant that tags could only
10692 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10693 Also add function guard to require a non-NULL taglist as input (has
10694 always been so due to gst_tag_list_copy(), just making it explicit).
10696 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10698 * docs/random/draft-missing-plugins.txt:
10699 Some additions: mention new API that is supposed to be used at the
10700 various stages; short blob about new gst-inspect introspection
10701 option; mention potential future problem with plugins that have
10702 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10704 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10706 * tools/gst-inspect.c:
10707 (print_plugin_automatic_install_info_codecs),
10708 (print_plugin_automatic_install_info_protocols),
10709 (print_plugin_automatic_install_info), (main):
10710 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10711 introspect plugin files and get machine-parsable output that corresponds
10712 to the last bit of the missing-plugin installer string (small gotcha:
10713 doesn't take into account ranks).
10715 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10718 * docs/gst/gstreamer-sections.txt:
10720 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10721 (gst_registry_lookup_locked):
10722 * gst/gstregistry.h:
10723 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10724 (gst_registry_binary_initialize_magic),
10725 (gst_registry_binary_save_string),
10726 (gst_registry_binary_save_pad_template),
10727 (gst_registry_binary_save_feature),
10728 (gst_registry_binary_save_plugin),
10729 (gst_registry_binary_write_cache),
10730 (gst_registry_binary_check_magic),
10731 (gst_registry_binary_load_pad_template),
10732 (gst_registry_binary_load_feature),
10733 (gst_registry_binary_load_plugin),
10734 (gst_registry_binary_read_cache):
10735 * gst/gstregistrybinary.h:
10736 * gst/gstregistryxml.c: (load_feature),
10737 (gst_registry_xml_read_cache):
10738 commit binary registry (disabled by default, see #359653)
10740 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10742 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10743 Fix 'make check' too.
10745 2007-01-10 Andy Wingo <wingo@pobox.com>
10747 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10750 * docs/design/part-negotiation.txt: Update with, um, one way that
10751 pull-mode negotiation might work?
10754 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10755 that the pad must be a src pad; makes sense to call it the other
10756 way in pull mode, and the logic is symmetric anyway.
10758 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10760 * plugins/elements/gstfilesink.c:
10761 Include <stdio.h> for fseeko().
10763 2007-01-10 Wim Taymans <wim@fluendo.com>
10767 Reserve LATENCY event.
10769 2007-01-09 Wim Taymans <wim@fluendo.com>
10771 * docs/design/draft-latency.txt:
10774 2007-01-09 Wim Taymans <wim@fluendo.com>
10776 * docs/design/draft-latency.txt:
10779 * gst/gstelement.h:
10780 * gst/gststructure.c:
10784 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10786 * tests/check/.cvsignore:
10787 Ignore test-registry.xml as well.
10789 2007-01-09 Wim Taymans <wim@fluendo.com>
10791 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10792 unref data at the end when we are done with the pad.
10794 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10796 * docs/gst/gstreamer-sections.txt:
10797 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10798 (init_post), (gst_deinit), (gst_update_registry):
10800 API: add gst_update_registry() (#391296).
10802 * tests/check/Makefile.am:
10803 * tests/check/gst/gstregistry.c:
10804 * tests/check/gst/.cvsignore:
10805 Simple unit test for the above.
10807 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10809 * gst/gstregistry.c: (gst_registry_scan_path_level):
10810 Plugin extension on HP-UX is .sl, add that to the list of approved
10811 plugin extensions (see #393796).
10813 * tests/check/gst/gstpad.c: (GST_START_TEST):
10814 ulong => gulong. Fixes compilation with HP-UX compiler.
10816 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10817 Fix compilation if valgrind headers are not available.
10819 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10821 * win32/common/libgstreamer.def:
10822 Add new exported function.
10823 * win32/vs6/libgstbase.dsp:
10824 Add gstdataqueue.c to the build.
10825 * win32/vs6/libgstcoreelements.dsp:
10826 Add gstmultiqueue.c to the build.
10828 2007-01-06 Andy Wingo <wingo@pobox.com>
10830 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10831 activate_pull(), providing for a way to specialize the process of
10832 spawning a thread to pull on the sink pad. There is a default
10835 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10836 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10837 (gst_base_sink_init): Renamed pad activation functions (inserting
10838 "_pad" in their names). Refactor to use the new activate_pull
10839 vmethod, as appropriate.
10840 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10841 default activate_pull function to start a task pulling from the
10842 sink pad, as before.
10844 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10845 on the pads if necessary, as in push()/chain(). Update docs.
10846 Shouldn't affect existing pull() usage as it is currently only
10847 being used on buffers without caps.
10849 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10851 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10853 Call g_thread_init() first thing in gst_init() / gst_check_init().
10854 When initialisation is done via gst_init_get_option_group() and
10855 GOption parsing, issue a warning if the GLib thread system has not
10856 been initialised yet by the time gst_init_get_option_group() is
10857 called, as it's quite likely other GLib functions such as
10858 g_option_context_new() have been called already then, and
10859 g_thread_init() must be called before any other GLib function. The
10860 application in question must be fixed in that case, since memory
10861 corruption might happen otherwise.
10862 We issue the warning because even if the GLib folks decide to work
10863 around the problem on their end in future, this is still an issue
10864 with all GLib versions >= 2.10.0, so we should warn until we depend
10865 on a GLib version we know to be safe.
10866 Update documentation as well.
10867 Closes bug #391278.
10869 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10871 * tools/gst-inspect.c: (main):
10872 * tools/gst-launch.c: (main):
10873 * tools/gst-typefind.c: (main):
10874 * tools/gst-xmlinspect.c: (main):
10875 Call g_thread_init() really really early, before any other GLib
10876 function (see #342564 and recent discussion on gtk-devel-list).
10878 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10880 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10882 * gst/gst_private.h:
10883 * gst/gstconfig.h.in:
10885 On win32, all the __declspec stuff for symbol exporting is
10886 apparently only needed with MSVC, but doesn't work with MingW.
10887 Fixes compilation with MingW and #391909.
10889 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10891 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10892 Change some GST_ERROR_OBJECT that aren't really errors to
10893 GST_WARNING_OBJECT in order to reduce terminal spam.
10895 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10897 * tests/check/Makefile.am:
10898 disable test again, as there seem to be still race problems
10900 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10902 * tests/check/Makefile.am:
10903 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10904 (GST_START_TEST), (queue_suite):
10905 enable queue test again, add tests for the leaky behaviour
10907 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10910 * tests/examples/Makefile.am:
10911 Compile adapter test/example only if the required headers are
10912 available (fixes #391915).
10914 2007-01-01 David Schleef <ds@schleef.org>
10917 Restore the previous signal handler for SIGSEGV instead of
10918 setting to default, since we may have stolen it away from
10919 someone. (i.e., Mono)
10921 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10923 * docs/random/draft-missing-plugins.txt:
10924 Some small additions and clarifications.
10926 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10928 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10929 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10930 since that can lead to random memory corruptions and crashes
10931 (may or may not be related to #383244, #386711, and #386711).
10933 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10935 * tests/check/.cvsignore:
10936 * tests/check/Makefile.am:
10937 sync .cvsignome and CLEANFILES
10939 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10941 * tests/check/Makefile.am:
10944 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10946 * docs/design/part-states.txt:
10947 two tiny additional comments
10949 * gst/gststructure.c:
10952 * tests/check/Makefile.am:
10953 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10955 disable test for now, unless it gets fixed
10957 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10959 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10961 fix race in underrun test
10963 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10965 * tests/check/elements/.cvsignore:
10968 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10970 try to narrow test failure
10972 2006-12-21 David Schleef <ds@schleef.org>
10974 * plugins/elements/gstfakesrc.c:
10975 Use g_random_int_range(), since it produces better random
10976 numbers in a range than almost-correct floating point code.
10978 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10980 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10981 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10982 (gst_check_teardown_sink_pad):
10983 do not automatically (de)activate pads
10985 * tests/check/Makefile.am:
10986 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10987 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10988 add new, yet simple tests for queue
10990 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10991 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10992 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10994 * tests/check/elements/identity.c: (cleanup_identity):
10995 consistent pad (de)activation
10997 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10999 Patch by: Sebastian Dröge <slomo ubuntu com>
11001 * libs/gst/base/gstcollectpads.c:
11002 Fix two doc typos (#387866).
11004 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11006 * docs/manual/advanced-dparams.xml:
11007 Fix typo (g_object_control_properties() doesn't exist).
11009 2006-12-19 Edward Hervey <edward@fluendo.com>
11011 * gst/gstsegment.c: (gst_segment_set_seek):
11012 Fine tune the cases where the segment start/stop values are really
11014 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11015 Add tests for the return values of gst_segment_set_seek().
11017 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11022 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11024 Fix incorrect documentation and flesh it out a bit more.
11025 Set default values for the max properties on the GParamSpec as well,
11026 so it shows up correctly in gst-inspect.
11028 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11030 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11031 Correct docs of queue, add more detail and crosslink it more.
11033 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11035 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11036 Print additional debug info when the stream isn't perfectly
11037 timestamped; don't try to use invalid durations.
11039 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11041 * docs/design/Makefile.am:
11042 Dist new design docs.
11044 2006-12-16 Wim Taymans <wim@fluendo.com>
11046 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11048 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11049 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11050 (gst_collect_pads_stop), (gst_collect_pads_event),
11051 (gst_collect_pads_chain):
11052 * libs/gst/base/gstcollectpads.h:
11053 Add refcounting to the collectpads data so we can track when it's safe
11054 to free the data. Fixes #383382.
11056 2006-12-15 Wim Taymans <wim@fluendo.com>
11058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11059 (gst_collect_pads_remove_pad):
11060 Automatically activate/deactivate pads when they are added to a
11061 started/stoped collectpads.
11063 2006-12-15 Wim Taymans <wim@fluendo.com>
11065 * gst/gstelement.c: (gst_element_add_pad):
11066 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11067 * gst/gstpad.c: (gst_pad_init):
11068 Set pads to FLUSHING when they are created. Check, warn and fix when a
11069 demuxer adds an inactive pad to itself when running. Fixes #339326.
11071 2006-12-15 Wim Taymans <wim@fluendo.com>
11073 * gst/gstelement.c: (gst_element_class_init),
11074 (gst_element_default_send_event), (gst_element_send_event),
11075 (gst_element_default_query), (gst_element_query):
11076 Expose default element send_event and query handling as vmethods that
11077 subclasses can chain up to.
11079 2006-12-15 Wim Taymans <wim@fluendo.com>
11081 * gst/gstelement.c: (gst_element_set_state_func):
11082 Small documentation fixes.
11084 2006-12-15 Wim Taymans <wim@fluendo.com>
11086 * docs/design/draft-latency.txt:
11087 Checked in draft for handling latency in pipelines.
11089 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11093 * gstreamer.spec.in:
11096 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11098 * gst/gst.c: (init_pre), (init_post):
11099 init_pre() and init_post() might be called via our GOptionGroup or
11100 from gst_init(), and we should skip both of them if we've already
11101 been initialised, otherwise we will init some things twice or add
11102 two default log functions.
11104 2006-12-13 Edward Hervey <edward@fluendo.com>
11106 * docs/manual/basics-bus.xml:
11107 No, gst_main_loop does not exist. Its g_main_loop.
11108 Discovered by somebody who abused the copy-paste technique of coding :)
11110 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11112 * gst/gstghostpad.c:
11113 Log ghostpad debug stuff to the GST_PADS category as well rather
11114 than just to the default category.
11116 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11119 * gst/gst.c: (init_pre):
11120 Add some basic system details such as OS and architecture
11121 to the debug output if possible, courtesy of uname().
11123 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11125 * docs/gst/running.xml:
11126 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11127 environment variables.
11129 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11131 * tests/check/gst/gstbin.c: (GST_START_TEST):
11132 It is acceptable to have a refcount of 2 or 3 at this point in the
11133 test, because the pipeline might be just posting its state_change
11134 message. The next line then waits for that message to appear using
11135 bus_poll, so that should be fine too.
11137 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11139 * gst/gst.c: (ensure_current_registry_forking):
11140 Ignore EINTR when reading from the child registry pipe.
11141 Explicitly ignore the return value from close, since it makes no
11144 * gst/gstminiobject.c: (gst_mini_object_ref),
11145 (gst_mini_object_unref):
11146 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11148 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11149 When removing cached plugins, remove their features too, so they're
11150 not visible after they've disappeared.
11152 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11153 In the unlikely case that we are linking pads with no parents, don't
11154 crash trying to get the non-existent parent bin.
11156 * gst/parse/grammar.y:
11157 Output debug in the PIPELINE category
11159 2005-03-08 Wim Taymans <wim@fluendo.com>
11161 Patch by: René Stadler <mail at renestadler dot de>
11163 * gst/gstclock.c: (gst_clock_new_periodic_id):
11164 Reject invalid clock times for interval of periodic ids.
11167 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11169 * gst/gstelementfactory.c: (gst_element_factory_create):
11170 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11171 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11172 * tools/gst-inspect.c: (print_element_info):
11173 Fix refcounting of gst_plugin_feature_load to match the docs.
11176 2006-12-07 Wim Taymans <wim@fluendo.com>
11178 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11179 (gst_base_sink_get_position):
11180 Improve debugging of events.
11182 2006-12-07 Wim Taymans <wim@fluendo.com>
11184 Patch by: René Stadler <mail at renestadler dot de>
11186 * gst/gstclock.c: (gst_clock_id_wait):
11187 Make period ids add the interval to the origial requested time instead
11188 of the possibly updated time which can be wrong when there are multiple
11189 waiters for the same id. Fixes #382592.
11191 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11192 (gst_system_clock_id_wait_jitter_unlocked),
11193 (gst_system_clock_id_wait_jitter):
11194 Fix restart in the async notify thread when an async entry is added to
11195 the front of the list. Fixes #381492.
11197 * tests/check/gst/gstsystemclock.c: (store_callback),
11198 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11199 Added test for multiple async waits.
11200 Added test for async wait order.
11202 2006-12-07 Wim Taymans <wim@fluendo.com>
11204 * gst/gstbin.c: (gst_bin_query):
11205 Add some more docs about the POSITION query.
11207 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11210 Bump version nano - back to CVS.
11212 === release 0.10.11 ===
11214 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11217 releasing 0.10.11, "Love never runs on time"
11219 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11221 * win32/common/libgstbase.def:
11222 * win32/common/libgstreamer.def:
11223 * win32/vs8/libgstbase.vcproj:
11224 * win32/vs8/libgstcoreelements.vcproj:
11225 * win32/vs8/libgstreamer.vcproj:
11226 Fix compilation on win32 under VS8
11227 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11228 Partially fixes #381175
11230 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11232 * gst/gstvalue.c: (gst_value_compare_fraction):
11233 If someone is foolish enough to compare 2 fractions with denominator =
11234 0, return UNORDERED rather than aborting.
11236 2006-11-28 Edward Hervey <edward@fluendo.com>
11238 * libs/gst/base/Makefile.am:
11239 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11240 (gst_data_queue_base_init), (gst_data_queue_class_init),
11241 (gst_data_queue_init), (gst_data_queue_new),
11242 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11243 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11244 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11245 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11246 (gst_data_queue_set_flushing), (gst_data_queue_push),
11247 (gst_data_queue_pop), (gst_data_queue_drop_head),
11248 (gst_data_queue_set_property), (gst_data_queue_get_property):
11249 * libs/gst/base/gstdataqueue.h:
11250 New GstDataQueue object for threadsafe queueing. Most useful for
11251 elements that need some queueing functionnality.
11252 * docs/libs/gstreamer-libs-docs.sgml:
11253 * docs/libs/gstreamer-libs-sections.txt:
11254 Insert documentation for GstDataQueue
11255 * plugins/elements/Makefile.am:
11256 * plugins/elements/gstelements.c:
11257 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11258 (gst_multi_queue_class_init), (gst_multi_queue_init),
11259 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11260 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11261 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11262 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11263 (gst_multi_queue_loop), (gst_multi_queue_chain),
11264 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11265 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11266 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11267 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11268 (wake_up_next_non_linked), (compute_next_non_linked),
11269 (single_queue_overrun_cb), (single_queue_underrun_cb),
11270 (single_queue_check_full), (gst_single_queue_new):
11271 * plugins/elements/gstmultiqueue.h:
11272 New multiqueue element, using GstDataQueue. Used for queuing multiple
11274 Closes #344639 and #347785
11276 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11278 * docs/pwg/advanced-types.xml:
11279 add more missing type details
11281 * tools/gst-run.c: (main):
11282 remove unused variable
11284 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11286 * docs/libs/Makefile.am:
11287 * docs/libs/gstreamer-libs.types:
11288 add types of base classes to enable gobject specific stuff in the docs
11290 * docs/random/ensonic/embedded.txt:
11291 more ideas about isolating platform specific things
11293 2006-11-20 Wim Taymans <wim@fluendo.com>
11295 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11297 * libs/gst/check/gstcheck.h:
11298 Fix compilation and running against 0.9.4. Fixes #377332.
11300 2006-11-20 Wim Taymans <wim@fluendo.com>
11302 * gst/gstsegment.c: (gst_segment_set_seek),
11303 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11304 (gst_segment_to_running_time):
11305 Fix boundary checking in to_running_time() and to_stream_time().
11308 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11309 stream and running time can now be calculated for the complete
11312 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11314 * gst/gstpad.c: (gst_pad_push_event):
11315 Can't access event structure after giving away ownership of
11318 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11320 * docs/random/ensonic/embedded.txt:
11321 * docs/random/ensonic/profiling.txt:
11322 * docs/random/ensonic/receipies.txt:
11325 2006-11-13 Wim Taymans <wim@fluendo.com>
11327 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11330 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11332 2006-11-13 Wim Taymans <wim@fluendo.com>
11334 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11336 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11337 Store new length in segment duration so we don't keep on calling the
11338 potentially expensize get_size() call. Fixes #370865.
11340 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11342 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11344 * win32/common/libgstreamer.def:
11345 Add two missing symbols (#366492).
11347 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11349 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11350 (gst_adapter_take_buffer):
11351 Fix format string to use all its arguments.
11352 Remove useless >= check on a guint
11354 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11356 * tests/examples/adapter/.cvsignore:
11357 Ignore build file as commanded by the build-bot
11359 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11361 * tests/examples/adapter/Makefile.am:
11362 * tests/examples/adapter/adapter_test.c: (run_test_take),
11363 (run_test_take_buffer), (run_tests), (main):
11365 Add new files from the previous commit
11367 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11371 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11372 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11373 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11374 * libs/gst/base/gstadapter.h:
11375 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11376 (GST_START_TEST), (gst_adapter_suite):
11377 * tests/examples/Makefile.am:
11378 Do some optimisation work in GstAdapter to avoid copies in more cases.
11379 It could still do slightly better by merging buffers when
11380 gst_buffer_is_span_fast is true, but is already faster.
11382 Also, avoid traversing a single-linked list to append each incoming
11383 buffer inside the adapter.
11385 Add simple test app that times the adapter behaviour in different
11386 situations, and extend the unit test to check that bytes enter and
11387 exit the adapter in their original order.
11389 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11391 * docs/random/draft-missing-plugins.txt:
11392 Update: use element message instead of adding a new message
11393 type to the core; don't provide GStreamer API to initiate the
11394 plugin download, just provide API to compose the strings needed
11395 and let an external libgimmestuff handle the rest.
11397 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11399 * tools/gst-inspect.c: (print_element_properties_info):
11400 Print a string instead of 'unknown type' for GValueArray properties
11402 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11404 * docs/random/draft-missing-plugins.txt:
11407 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11409 * tests/examples/typefind/typefind.c: (type_found), (main):
11410 Make typefind element example work again (#371894); add a
11413 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11415 * docs/random/draft-missing-plugins.txt:
11416 Commit initial draft about how to deal with missing plugins,
11417 needs work (API too).
11419 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11421 * docs/pwg/advanced-types.xml:
11422 documents the new caps elements (see #363118)
11424 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11426 * gst/gstplugin.c: (gst_plugin_load_file):
11427 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11428 (gst_file_src_map_region), (gst_file_src_start):
11429 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11430 (gst_file_index_commit):
11431 Use g_strerror() instead of strerror() - we want UTF-8.
11433 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11435 Patch by: Peter Kjellerstedt <pkj at axis com>
11437 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11438 Another printf fix (#371493).
11440 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11442 * tests/check/gst/gsttag.c:
11443 relicence (okay with author=company)
11445 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11447 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11448 (gst_pad_push_event):
11449 Enhance debug and improve docs
11454 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11456 * docs/random/ensonic/distributed.txt:
11457 * docs/random/ensonic/profiling.txt:
11460 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11462 * docs/gst/gstreamer-sections.txt:
11463 add new API and fix the build
11465 * gst/gstbin.c: (gst_bin_recalc_state):
11466 * gst/gstelement.c: (gst_element_message_full),
11467 (gst_element_get_state_func), (gst_element_set_state_func):
11468 use new API and improve logging
11470 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11472 API: add function to get StateChangereturn names to improve logs
11474 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11476 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11477 I'm considering shooting the next person to put strerror stuff
11478 in the translateable part of the message.
11480 2006-11-03 Wim Taymans <wim@fluendo.com>
11482 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11483 Get the type and printf conversion specifiers right.
11485 2006-11-03 Wim Taymans <wim@fluendo.com>
11487 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11489 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11490 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11491 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11492 Some small cleanups. Improve debugging.
11494 Signal all waiting threads with a broadcast instead of just one.
11497 2006-11-03 Wim Taymans <wim@fluendo.com>
11499 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11500 (gst_fd_src_create):
11501 Add some debugging.
11502 Only update fd when it's different from the old.
11504 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11506 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11507 Printf fixes for PPC/OSX, take two (#369366).
11509 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11511 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11513 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11514 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11515 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11516 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11517 don't cast to long long for portability reasons, but use
11518 GLib's types instead.
11520 2006-10-30 Michael Smith <msmith@fluendo.com>
11522 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11523 Get the arguments to lseek() the right way around.
11526 2006-10-30 Wim Taymans <wim@fluendo.com>
11528 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11531 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11533 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11535 Patch by: Kjartan Maraas <kmaraas at gnome org>
11537 * docs/design/part-MT-refcounting.txt:
11538 * docs/random/wtay/capsnego2-docs:
11541 Typo fixes (#366212).
11543 2006-10-28 Wim Taymans <wim@fluendo.com>
11545 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11548 * win32/common/libgstbase.def:
11549 * win32/common/libgstreamer.def:
11550 * win32/vs8/libgstbase.vcproj:
11551 * win32/vs8/libgstcontroller.vcproj:
11552 Add needed entries in .def files.
11554 Rearrange def files in vs8 solutions. Fixes #366286.
11556 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11558 * win32/common/gstconfig.h:
11559 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11560 hand-made win32 gstconfig.h. Fixes #366321.
11562 2006-10-27 Wim Taymans <wim@fluendo.com>
11564 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11565 (gst_ghost_pad_new_full):
11566 Make acceptcaps return TRUE when we don't have a target, just like
11569 2006-10-27 Wim Taymans <wim@fluendo.com>
11571 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11572 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11574 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11576 * gst/gststructure.c: (gst_structure_id_set_value):
11577 If someone tries to set a non-UTF8 string field on a structure,
11578 don't just print a warning, but also ignore the request and do
11579 not change/add that field to the structure.
11581 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11582 Test for the above.
11584 2006-10-25 David Schleef <ds@schleef.org>
11587 g_hash_table_insert() needs a cast to a non-const pointer duh.
11589 2006-10-25 David Schleef <ds@schleef.org>
11593 Change name parameter of _gst_debug_register_funcptr to const
11594 to reflect the constness of its use in the function as well
11595 as to quiet a gcc warning.
11597 2006-10-25 Edward Hervey <edward@fluendo.com>
11599 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11600 Don't push the buffer if it's empty.
11603 2006-10-24 Wim Taymans <wim@fluendo.com>
11608 * libs/gst/base/gstbasetransform.c:
11609 (gst_base_transform_sink_eventfunc):
11610 Debug segment values *after* updating them as this is more
11613 2006-10-23 Wim Taymans <wim@fluendo.com>
11615 * docs/design/part-events.txt:
11618 * docs/design/part-block.txt:
11619 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11620 (gst_pad_push_event):
11621 Revert BLOCKING patch, it tries to be smart without really having a
11622 clear idea what or how. So, now we discard all FLUSHING events again on
11623 a blocking pad. Should fix gnonlin again.
11625 2006-10-23 Wim Taymans <wim@fluendo.com>
11627 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11629 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11630 (gst_base_src_start), (gst_base_src_activate_push):
11631 Make sure size is always initialized. Fixes #364388.
11633 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11635 * docs/random/ensonic/distributed.txt:
11636 add some ideas about doing distributed processing
11638 * docs/random/ensonic/profiling.txt:
11639 get_rusage look promising
11641 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11643 * docs/manual/basics-helloworld.xml:
11644 Add a cast in example to fix compile warning
11646 2006-10-18 Wim Taymans <wim@fluendo.com>
11648 * gst/gstsegment.c: (gst_segment_set_last_stop),
11649 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11650 Relax arg checking again, -1 is allowed.
11652 2006-10-18 Wim Taymans <wim@fluendo.com>
11654 * gst/gstsegment.c: (gst_segment_set_last_stop),
11655 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11656 _set_last_stop() must be with a value != -1
11657 A _TYPE_SET to -1 means seek to 0.
11658 Calc last_stop correctly for negative rates.
11659 Make sure we work with positive durations when updating a segment.
11661 2006-10-18 Wim Taymans <wim@fluendo.com>
11663 * docs/design/part-live-source.txt:
11667 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11670 Add an explicit cast to GstBuffer** to keep old code that added an
11671 explicit cast to GstMiniObject** for gst_mini_object_replace()
11672 compiling without warning.
11674 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11676 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11677 check for validity of dates
11679 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11681 * docs/gst/gstreamer-sections.txt:
11682 Forgot this one, makes gtk-doc shut up.
11684 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11686 Patch by: Peter Kjellerstedt <pkj at axis com>
11689 Don't define xmlNodePtr to gpointer if the core was built with
11690 --disable-loadsave and --disable-registry, this will break
11691 applications that want to use libxml2 but are buildling against a
11692 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11693 instead so we don't have to mess with the libxml2 namespace
11696 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11699 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11700 type-punned pointer warnings.
11702 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11704 * gst/gstelement.h:
11705 Add casts to the correct return type to state <=> state transition
11708 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11710 * docs/design/part-live-source.txt:
11711 describe howto handle latency
11713 * docs/random/ensonic/profiling.txt:
11716 * tools/gst-plot-timeline.py:
11717 fix log parsing for solaris, remove unused function
11719 2006-10-16 Wim Taymans <wim@fluendo.com>
11721 * docs/design/part-trickmodes.txt:
11723 Update some docs regarding reverse playback.
11725 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11727 Patch by: Marcus Granado <mrc dot gran at gmail com>
11729 * win32/vs8/grammar.vcproj:
11730 Error out with a warning if glib-genmarshal.exe is not in path,
11731 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11733 2006-10-13 Wim Taymans <wim@fluendo.com>
11735 * gst/gstsegment.c: (gst_segment_set_seek):
11736 When seeking to stop -1, set last_stop (current position) to the
11737 duration of the segment.
11739 2006-10-13 Wim Taymans <wim@fluendo.com>
11741 * gst/gstelement.h:
11742 Clarify _NO_PREROLL a bit more.
11747 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11748 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11749 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11750 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11751 due to wrong locking order. Fixes #361769.
11752 Remove some redundant/misplaced checks in pad_block.
11754 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11755 For negative rates, count backwards from the duration.
11757 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11759 * gst/gsterror.c: (_gst_library_errors_init):
11760 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11761 up with something better).
11763 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11765 * win32/vs6/libgstreamer.dsp:
11766 * win32/vs7/libgstreamer.vcproj:
11767 * win32/vs8/libgstreamer.vcproj:
11768 Don't reference glib-compat.c which is currently not used and not
11769 disted; add gstquark.c which was recently added. Fixes #361730.
11771 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11773 * win32/common/libgstbase.def:
11774 * win32/common/libgstcontroller.def:
11775 * win32/common/libgstreamer.def:
11776 Add gst_caps_merge() and a bunch of other recently-added functions.
11779 2006-10-11 Wim Taymans <wim@fluendo.com>
11781 * docs/plugins/gstreamer-plugins.args:
11782 * docs/plugins/inspect/plugin-coreelements.xml:
11783 * docs/plugins/inspect/plugin-coreindexers.xml:
11784 Update element args.
11786 * gst/gstsystemclock.c:
11787 Small comment update.
11789 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11790 (gst_tee_request_new_pad), (gst_tee_release_pad),
11791 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11792 (gst_tee_sink_activate_pull):
11793 * plugins/elements/gsttee.h:
11795 Add default property defines.
11796 Implement release pad function.
11797 Give properties better blubs etc.
11798 Activate pads before adding them to a running tee.
11799 Do simple buffer_alloc on the first requested pad.
11800 Post error when activation fails.
11802 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11804 * gst/gst.c: (ensure_current_registry_forking):
11805 Check return value of write() to make compiler happy.
11807 2006-10-11 Wim Taymans <wim@fluendo.com>
11809 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11811 * plugins/elements/gstqueue.c: (gst_queue_chain):
11812 Recheck queue filledness after signalling the overrun when we're about
11813 to leak downstream because we released the lock when emitting the signal
11814 and the queue could be empty again. Fixes #352345.
11816 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11818 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11819 Fix refcounting here too, just like we did for _new_valist() a few
11820 days ago (#357180) (thanks to René Stadler). Also remove all those
11821 'Since: 0.9' from the gtk-doc blobs.
11823 * tests/check/libs/controller.c: (controller_refcount_new_list),
11824 (gst_controller_suite):
11825 Unit test for the above.
11827 2006-10-10 Wim Taymans <wim@fluendo.com>
11829 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11831 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11832 (gst_pad_save_thyself):
11834 Write pad direction in XML output. Fixes #345496.
11836 2006-10-10 Wim Taymans <wim@fluendo.com>
11838 Patch by: René Stadler <mail at renestadler dot de>
11840 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11841 (gst_controller_new_list), (_gst_controller_dispose),
11842 (_gst_controller_finalize), (_gst_controller_class_init):
11843 Take ref to controlled object so that it cannot disappear.
11846 2006-10-10 Wim Taymans <wim@fluendo.com>
11848 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11849 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11850 (gst_check_teardown_sink_pad):
11851 Activate/deactivate pads in setup/teardown respectively.
11853 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11855 Patch by: Josep Torra Valles <josep@fluendo.com>
11858 Cast values when making gstenumtypes.h. This pacifies Forte
11859 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11860 in the enumeration.
11862 2006-10-09 Wim Taymans <wim@fluendo.com>
11864 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11865 Rename some more @cur to @start to fix docs.
11867 * gst/gstsegment.c: (gst_segment_set_seek):
11869 time and start must always stay in sync as defined in design doc.
11871 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11872 Rename param to fix docs.
11874 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11875 Check that start and time are in sync.
11877 * tests/check/pipelines/parse-launch.c:
11878 (gst_parse_test_element_change_state):
11879 Activate pad before adding to the element.
11881 2006-10-09 Wim Taymans <wim@fluendo.com>
11883 * docs/design/part-qos.txt:
11888 Update seek event docs regarding negative rates.
11889 Rename @cur to @start.
11891 * gst/gstsegment.c: (gst_segment_set_seek):
11892 * gst/gstsegment.h:
11893 Update set_seek docs regarding negative rates.
11894 Correctly update last_stop to @stop when dealing with negative
11896 Rename @cur to @start.
11898 * tests/check/gst/gstpad.c: (GST_START_TEST):
11899 Activate pads before trying to use them.
11901 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11902 (gst_segment_suite):
11903 Add simple check for segments and negative rates.
11905 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11907 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11908 * gst/gsttaglist.h:
11909 * docs/gst/gstreamer-sections.txt:
11910 API: add gst_tag_list_is_empty() (#360467).
11912 * tests/check/gst/gsttag.c: (GST_START_TEST):
11915 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11917 * gst/gstmessage.h:
11918 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11919 a value that doesn't fit on enumeration.
11921 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11923 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11924 Remove local debugging system and use Gstreamer's instead.
11926 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11928 Patch by: Josep Torra Valles <josep@fluendo.com>
11930 * common/m4/gst-error.m4:
11931 Disable warning of statement not reached on Forte.
11932 * gst/gstmessage.h:
11933 Fix warning on Forte (value doesn't fit on enumeration).
11934 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11935 Fix warning on Forte (value doesn't fit on enumeration).
11936 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11937 DEBUG macro says it takes minimum of 2 args and so Forte
11938 complains about the use with just 1 arg.
11939 * plugins/elements/gstfdsink.c:
11940 * plugins/elements/gstfdsrc.c:
11941 * plugins/elements/gstfilesink.c:
11942 * plugins/elements/gstfilesrc.c:
11943 Use correct return type for the uri handler implementations.
11945 All these fix warnings in Forte. Fixes bug #360860.
11947 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11949 * gst/gstelement.h:
11950 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11951 format string, so don't use G_GNUC_PRINTF for those versions.
11953 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11955 * gst/gsttaglist.c: (gst_is_tag_list):
11956 * gst/gsttaglist.h:
11957 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11959 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11960 Small test for the above.
11962 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11964 * gst/gsttaglist.h:
11965 Less tabs, more spaces.
11967 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11970 Those two function declarations do actually belong there, revert
11971 commit from yesterday that turned them intro macros.
11973 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11975 Patch by: Josep Torra Valles <josep@fluendo.com>
11977 * gst/gst.c: (gst_init_get_option_group):
11978 Fix empty declaration and type mismatch.
11979 * gst/gstbin.c: (gst_bin_change_state_func):
11981 * gst/gstelement.c: (gst_element_continue_state),
11982 (gst_element_set_state_func), (gst_element_change_state),
11983 (gst_element_change_state_func):
11984 Fix type mismatches.
11985 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11986 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11987 Cast as appropriate.
11988 * gst/gstobject.c: (gst_class_signal_connect):
11989 Cast as appropriate. The function pointer parameter really
11990 has the wrong type but would break API if we change it.
11992 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11993 order of including string.h.
11994 * gst/gstutils.c: (gst_element_state_get_name):
11995 Remove unreachable line.
11996 * gst/gstxml.c: (gst_xml_parse_doc):
11998 All these caught by Forte.
12000 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12002 Patch by: Josep Torra Valles <josep@fluendo.com>
12004 * common/m4/gst-error.m4:
12006 We need to disable warnings on Forte for empty declarations
12007 due to gst-indent adding ;s to lines that just use macros
12008 where the macro actually doesn't need a ; at end to end
12011 2006-10-06 Wim Taymans <wim@fluendo.com>
12013 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12014 (gst_file_sink_close_file), (gst_file_sink_event),
12015 (gst_file_sink_render):
12016 Add some FIXME for the NEWSEGMENT handling.
12018 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12020 * gst/parse/grammar.y:
12021 Remove static function gst_parse_element_lock as all it does
12022 is return. Looks like cruft from 0.8.
12024 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12026 Patch by: Josep Torra Valles <josep@fluendo.com>
12028 * common/m4/gst-error.m4:
12030 * libs/gst/net/Makefile.am:
12031 Fix a compilation issue with Forte on Solaris. inet_aton is in
12034 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12036 * gst/gstpad.c: (pre_activate):
12037 * gst/gstregistry.c: (gst_registry_scan_path_level):
12038 * gst/gstregistryxml.c: (load_plugin):
12039 * libs/gst/controller/gstcontroller.c:
12040 (gst_controlled_property_set_interpolation_mode):
12041 * libs/gst/dataprotocol/dataprotocol.c:
12042 (gst_dp_packet_from_event_1_0):
12043 * libs/gst/net/gstnetclientclock.c:
12044 (gst_net_client_clock_observe_times):
12045 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12048 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12051 * docs/gst/gstreamer-sections.txt:
12052 * gst/gstconfig.h.in:
12053 * gst/gstelement.h:
12055 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12056 whether we can use G_GNUC_PRINTF in other header files and at
12057 least check the printf format/arguments of debug messages and
12058 GST_ELEMENT_ERROR messages when the printf extension is not
12060 Replace more tabs with spaces in gstinfo.h and remove two spurious
12061 function declarations in GST_DISABLE_DEBUG part with macros.
12063 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12065 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12066 More docs for the sync-message signal (mention that it is not
12067 emitted by default); log message structures of messages posted on
12070 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12072 * gst/gst.c: (ensure_current_registry_forking):
12073 Use a pipe pair to receive status results from the forked child, and
12074 ignore the result from waitpid. Fixes #355499
12076 2006-10-02 Wim Taymans <wim@fluendo.com>
12078 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12079 (gst_ghost_pad_suite):
12082 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12085 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12087 2006-10-02 Edward Hervey <edward@fluendo.com>
12089 * docs/design/part-block.txt:
12090 Further explain the use of flushing on blocked pads.
12091 * docs/gst/gstreamer-sections.txt:
12092 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12093 (gst_pad_push_event):
12095 Added new GstPadFlag : GST_PAD_BLOCKING.
12096 Adds the notion of pads really blocking, which enables to properly
12097 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12099 API: gst_pad_is_blocking()
12100 API: GST_PAD_IS_BLOCKING() macro
12101 API: GST_PAD_BLOCKING GstPadFlag
12103 2006-10-02 Wim Taymans <wim@fluendo.com>
12105 Patch by: mrcgran <mrc.gran at gmail dot com>
12107 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12108 Filter the proxied caps against the padtemplate if we have one.
12110 * gst/gstquery.c: (gst_query_new_segment):
12111 Add include for gstinfo.h so that compilation with
12112 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12114 2006-10-02 Wim Taymans <wim@fluendo.com>
12116 Patch by: Alessandro Decina <alessandro at nnva org>
12118 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12119 (gst_file_sink_set_location), (gst_file_sink_open_file),
12120 (gst_file_sink_close_file), (gst_file_sink_event),
12121 (gst_file_sink_render):
12122 Set file to NULL when closing filesink so that we can set a new filename
12123 in READY. Fixes #358613.
12125 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12127 Patch by: Alessandro Decina <alessandro at nnva org>
12129 * gst/gstevent.c: (_gst_event_copy):
12130 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12131 with event structures by setting the parent refcount address of the
12132 copied structure to the address of the refcount member of the newly
12133 copied event rather than the address of the refcount member of the
12134 original event. Fixes #358737.
12136 * tests/check/gst/gstevent.c: (GST_START_TEST):
12137 Unit test for the above.
12139 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12141 * docs/design/Makefile.am:
12142 Dist some more files.
12144 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12146 * tests/check/libs/controller.c: (GST_START_TEST),
12147 (gst_controller_suite):
12148 Add test for the previous fix; add some more tests
12149 for correct refcounting behaviour; fix a few leaks
12150 in test cases; call gst_controller_init() at start
12153 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12155 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12156 (gst_controller_set_from_list):
12157 Don't g_return_val_if_fail() on timed values with invalid timestamps
12158 inside a critical section without unlocking the mutex. Spotted by
12159 René Stadler. (#357617)
12160 Also, fix up refcounting properly: when returning an existing
12161 controller, we should increase the reference only once and not
12162 once per property and when trying to control a property again
12163 we should also increase the refcount.
12165 2006-09-29 Wim Taymans <wim@fluendo.com>
12167 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12168 * libs/gst/net/gstnettimeprovider.c:
12169 (gst_net_time_provider_thread):
12170 Stop reading commands when EOF as well.
12172 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12173 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12174 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12175 Unify description of the dump property.
12177 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12179 * tests/examples/manual/.cvsignore:
12180 OK, so it's actually cvsignore that needs changing. Stop laughing.
12182 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12184 * tests/examples/manual/Makefile.am:
12185 Gah, declare vars *before* using them
12187 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12189 * gst/gst.c: (init_pre), (scan_and_update_registry),
12190 (ensure_current_registry_nonforking),
12191 (ensure_current_registry_forking), (ensure_current_registry),
12192 (init_post), (gst_debug_help), (gst_deinit):
12193 * gst/gst_private.h:
12194 * gst/gstregistry.c: (gst_registry_finalize),
12195 (gst_registry_remove_features_for_plugin_unlocked),
12196 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12197 (gst_registry_scan_path),
12198 (_priv_gst_registry_remove_cache_plugins),
12199 (_priv_gst_registry_cleanup):
12200 * gst/gstregistry.h:
12201 Re-commit the registry changes, along with an extra fix:
12202 When a cached plugin is encountered at a different file path,
12203 update the stored path in the registry cache so that the parent
12204 process knows where it actually is now when it re-reads the registry
12205 cache. Fixes the thing that broke distcheck with the previous commit.
12207 * tests/check/Makefile.am:
12208 Clean up files named 'core' too when running make clean.
12210 * tests/examples/manual/Makefile.am:
12211 Set up a registry path for running these tests, and clean it properly
12214 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12217 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12218 want gmodule-no-export-2.0.pc instead so that we don't drag in
12219 --export-dynamic on every project that links to GStreamer.
12221 Also, make our export regex only match the start of symbols, rather
12222 than any symbol that contains '_gst' somewhere.
12224 * libs/gst/check/Makefile.am:
12225 The libgstcheck we build does however need export-dynamic, as it
12226 produces some symbols that don't match our _gst... style regex.
12229 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12231 * gst/gst.c: (init_pre), (scan_and_update_registry),
12232 (ensure_current_registry_nonforking),
12233 (ensure_current_registry_forking), (ensure_current_registry),
12234 (init_post), (gst_debug_help), (gst_deinit):
12235 * gst/gst_private.h:
12236 * gst/gstregistry.c: (gst_registry_finalize),
12237 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12238 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12239 (_gst_registry_cleanup):
12240 * gst/gstregistry.h:
12241 Revert previous change until I figure out why it breaks distcheck.
12243 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12245 * gst/gst.c: (init_pre), (scan_and_update_registry),
12246 (ensure_current_registry_nonforking),
12247 (ensure_current_registry_forking), (ensure_current_registry),
12248 (init_post), (gst_debug_help), (gst_deinit):
12250 Make init_pre and init_post take the full complement of GOptionFunc
12251 args so they can return useful GErrors. Make the registry updating
12254 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12255 ensure that the registry we're about to write out doesn't contain
12256 stale information about old-deleted plugin files.
12258 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12259 that deletion of plugin files is considered a registry change.
12261 * gst/gst_private.h:
12262 * gst/gstregistry.c: (gst_registry_finalize),
12263 (gst_registry_remove_features_for_plugin_unlocked),
12264 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12265 (gst_registry_scan_path),
12266 (_priv_gst_registry_remove_cache_plugins),
12267 (_priv_gst_registry_cleanup):
12268 * gst/gstregistry.h:
12269 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12270 by adding _priv prefix, so that they won't appear in the global
12271 symbol table. They still do atm though because of #318031. Move the
12272 prototypes to gst_private.h
12274 When removing a plugin, remove all features for that plugin too.
12277 2006-09-27 Wim Taymans <wim@fluendo.com>
12279 * docs/random/moving-plugins:
12280 Make it clear that the "compiled-in descriptions" really mean
12281 the element details.
12283 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12284 (gst_base_sink_wait_preroll):
12287 * docs/libs/gstreamer-libs-sections.txt:
12288 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12289 (gst_base_src_get_range), (gst_base_src_activate_push):
12290 * libs/gst/base/gstbasesrc.h:
12291 Added function to block while waiting for PLAYING, this function
12292 is used by live sources that block on the clock.
12293 API: gst_base_src_wait_playing()
12295 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12297 Patch by: Peter Kjellerstedt <pkj at axis com>
12300 gst-element-check.m4 is generated and should therefore be
12301 copied from the build dir rather than the source dir (#357593).
12302 'make distcheck' hasn't noticed this because we were disting
12303 the file as well, so stop doing that.
12305 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12307 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12308 Add some tests for gst_caps_intersect().
12310 * tools/gst-launch.c: (event_loop):
12311 Print all buffering percentages we get, even the 100% one.
12313 2006-09-26 Wim Taymans <wim@fluendo.com>
12315 * tools/gst-inspect.c: (print_element_properties_info),
12316 (print_signal_info):
12317 Fix printing of flags to match the look of enums.
12319 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12321 * gst/gstelementfactory.c:
12322 Fix typo in docs blurb.
12324 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12326 * gst/gsturi.c: (search_by_entry):
12327 Don't assert/crash here if a uri handler doesn't return any
12328 supported protocols. The list of protocols could be generated
12329 dynamically at runtime or at plugin registration, and an error
12330 in the underlying library shouldn't be fatal (#353301).
12332 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12335 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12336 (spotted by Peter Kjellerstedt).
12338 2006-09-23 Wim Taymans <wim@fluendo.com>
12340 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12342 * libs/gst/base/gstbasesrc.c:
12343 (gst_base_src_default_check_get_range), (gst_base_src_start),
12344 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12345 (gst_base_src_change_state):
12346 Match _start/_stop calls in the activate functions. Remove redundant
12347 _stop call from the state change function. Fixes #356910.
12348 Turn failure DEBUG into ERROR.
12350 2006-09-22 Wim Taymans <wim@fluendo.com>
12352 * docs/design/part-buffering.txt:
12353 * gst/gstmessage.c: (gst_message_new_buffering),
12354 (gst_message_parse_buffering):
12355 Update docs about buffering.
12357 * docs/design/part-trickmodes.txt:
12360 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12362 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12363 (gst_controller_new_list):
12364 Ref instances when returning them again (fixes #357180)
12366 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12368 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12369 Don't forget to release proxy lock when there's an error.
12371 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12374 Add extra initialisers for Caps things, to fix some plugin warnings
12377 2006-09-18 Wim Taymans <wim@fluendo.com>
12379 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12380 Also set template on the internal pad so that a getcaps from the
12381 target pad returns the template caps.
12383 2006-09-18 Wim Taymans <wim@fluendo.com>
12385 * gst/gstelement.c: (gst_element_post_message),
12386 (gst_element_dispose):
12387 Use _DEBUG_OBJECT some more.
12389 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12392 * tools/gst-launch.c: (main):
12393 If the toplevel element is not a GstPipeline, it must be put in a
12394 pipeline so that a bus and clock is selected.
12396 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12398 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12399 JITTER, RATE, and LATENCY query should be handled by the
12400 default case and not by the CONVERT query code.
12402 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12404 * gst/gstformat.c: (gst_format_register):
12405 Fix locking order (must take lock before using n_values).
12407 * gst/gstvalue.c: (gst_value_serialize_enum),
12408 (gst_value_deserialize_enum_iter_cmp),
12409 (gst_value_deserialize_enum):
12410 Fix serialisation/deserialisation of custom registered GstFormats.
12412 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12413 Unit test for custom format serialisation/deserialisation.
12415 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12417 * docs/pwg/building-boiler.xml:
12418 * plugins/elements/gstcapsfilter.c:
12419 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12422 2006-09-16 Edward Hervey <edward@fluendo.com>
12424 * libs/gst/base/gstbasetransform.c:
12425 (gst_base_transform_buffer_alloc):
12426 Check if requested caps are the same as the sinks caps IF
12427 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12429 This fixes the renegotiation issues stated in #352827.
12431 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12434 * docs/manual/advanced-autoplugging.xml:
12435 * tests/examples/Makefile.am:
12436 * tests/examples/manual/.cvsignore:
12437 * tests/examples/manual/Makefile.am:
12438 * tests/examples/manual/extract.pl:
12439 Extract the manual examples again like we used to do.
12442 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12444 * win32/common/config.h:
12447 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12450 Documents how to receive errors.
12452 2006-09-15 Wim Taymans <wim@fluendo.com>
12454 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12455 (event_loop), (main):
12456 Added some comments here and there.
12457 Post an application message when an interrupt is caught instead of doing
12458 an uncontrolled state change.
12459 Clean up the event loop.
12460 Handle buffering messages, pause/resume the pipeline.
12461 Make shutdown because of an interrupt more reliable.
12463 2006-09-15 Wim Taymans <wim@fluendo.com>
12465 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12466 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12467 (gst_base_sink_preroll_object):
12468 Make sure that our internal state is correct when we commit our state
12469 asynchronously. This solves a race where a state change to PLAYING
12470 could cause the sink to remain blocked in preroll in some situations.
12472 2006-09-15 Wim Taymans <wim@fluendo.com>
12474 * tools/gst-inspect.c: (print_element_properties_info),
12475 (print_signal_info):
12476 List flags as hex so it's easier to deal with.
12478 2006-09-15 Wim Taymans <wim@fluendo.com>
12480 * docs/libs/gstreamer-libs-sections.txt:
12481 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12482 (gst_base_sink_do_sync):
12483 * libs/gst/base/gstbasesink.h:
12484 Expose logic to wait for preroll so that subclasses such as audiosink
12485 can also use this method.
12486 API: gst_base_sink_wait_preroll()
12488 2006-09-15 Wim Taymans <wim@fluendo.com>
12490 * gst/gstobject.c: (gst_object_set_parent):
12491 * gst/gstpipeline.c: (do_pipeline_seek):
12492 Small cleanups in docs and code.
12494 * gst/gstsegment.c: (gst_segment_clip):
12495 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12496 if stop == start and start is in the segment, no clipping should be
12497 done. Also add a test for this.
12499 2006-09-15 Wim Taymans <wim@fluendo.com>
12501 * docs/design/part-buffering.txt:
12502 * docs/gst/gstreamer-sections.txt:
12503 * gst/gstmessage.c: (gst_message_new_buffering),
12504 (gst_message_parse_buffering):
12505 * gst/gstmessage.h:
12506 Added methods to create and parse BUFFERING messages.
12507 Added preliminary docs about buffering.
12508 API: gst_message_new_buffering
12509 API: gst_message_parse_buffering
12511 2006-09-06 Wim Taymans <wim@fluendo.com>
12514 Update documentation.
12516 * gst/gstelement.c: (gst_element_class_init),
12517 (gst_element_release_request_pad), (gst_element_set_clock),
12518 (gst_element_get_index), (gst_element_add_pad),
12519 (gst_element_remove_pad), (gst_element_get_random_pad),
12520 (gst_element_send_event), (gst_element_get_query_types),
12521 (gst_element_query), (gst_element_post_message),
12522 (gst_element_message_full), (gst_element_continue_state),
12523 (gst_element_lost_state), (gst_element_save_thyself),
12524 (gst_element_restore_thyself):
12525 Documentation updates.
12526 Rename last bit of the new-pad -> pad-added signal rename.
12527 Fix the case where an element query would only work if the source
12529 Avoid some useless type checking in message handling.
12534 Documentation updates.
12536 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12538 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12539 add an INFO line for when we actually update the fd
12541 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12546 === release 0.10.10 ===
12548 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12551 releasing 0.10.10, "Pais"
12553 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12555 * docs/manual/advanced-position.xml:
12556 Fix typo in sample code.
12558 2006-09-05 Wim Taymans <wim@fluendo.com>
12560 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12561 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12562 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12563 * libs/gst/net/gstnetclientclock.h:
12564 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12565 * libs/gst/net/gstnettimepacket.h:
12566 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12567 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12568 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12569 * libs/gst/net/gstnettimeprovider.h:
12570 Make stuff compile on windows. Fixes #345295.
12572 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12574 * gst/gst.c: (ensure_current_registry_forking):
12575 Print better details when child was terminated by signal.
12577 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12579 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12580 Print a warning rather than g_assert() if a plugin feature
12581 is a URI handler but returns no protocols (#353976).
12583 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12585 * docs/random/moving-plugins:
12588 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12590 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12591 Fix locking order, handle NULL function values properly.
12596 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12597 Initialise variable before using it and fix debug statement to
12598 print the address of the function rather than the address of the
12599 variable on the stack holding the address of the function.
12601 2006-09-01 Wim Taymans <wim@fluendo.com>
12603 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12604 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12605 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12606 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12607 (gst_ghost_pad_parent_unset),
12608 (gst_ghost_pad_internal_do_activate_push),
12609 (gst_ghost_pad_internal_do_activate_pull),
12610 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12611 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12612 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12613 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12614 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12615 (gst_ghost_pad_new_no_target_from_template),
12616 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12618 Avoid needless typechecking in macros.
12619 Since the internal pad is always present and never changes, there is
12620 no need to locking or ref when retrieving it.
12621 Improve debugging a bit.
12622 Handle link errors when setting the target. Fixes #341029.
12624 2006-09-01 Wim Taymans <wim@fluendo.com>
12626 * docs/libs/gstreamer-libs-sections.txt:
12627 * docs/plugins/gstreamer-plugins-sections.txt:
12628 Fix docs some more.
12630 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12631 (gst_collect_pads_event):
12632 * libs/gst/base/gstcollectpads.h:
12633 Documentation updates.
12634 Free queued buffer when removing a pad.
12636 2006-08-31 Michael Smith <msmith@fluendo.com>
12638 * gst/gstutils.c: (gst_element_link_pads),
12639 (gst_element_link_pads_filtered):
12640 Ensure that we set a capsfilter to NULL if we failed to link it
12641 when doing filtered linking, to avoid criticals.
12643 No need to check for unreffing srcpad, which is explicly NULLed
12644 above (a trivial code cleanup).
12646 2006-08-31 Wim Taymans <wim@fluendo.com>
12648 * docs/design/part-gstghostpad.txt:
12649 Update ascii art in documentation.
12651 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12652 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12653 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12654 (gst_ghost_pad_internal_do_activate_push),
12655 (gst_ghost_pad_internal_do_activate_pull),
12656 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12657 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12658 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12659 (gst_ghost_pad_set_target):
12660 Small cleanups and leak fixes.
12661 Remove some checks now that the internal pad is never NULL.
12662 Fix the case where linking pads without a target would create nasty
12663 criticals. Fixes #341029.
12664 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12665 value of _set_target().
12667 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12668 (gst_ghost_pad_suite):
12669 Some more tests for creating and linking untargeted ghostpads.
12671 2006-08-31 Edward Hervey <edward@fluendo.com>
12673 * docs/gst/gstreamer-sections.txt:
12674 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12675 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12676 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12677 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12678 (gst_ghost_pad_new_from_template),
12679 (gst_ghost_pad_new_no_target_from_template):
12680 * gst/gstghostpad.h:
12681 Refactored *_new() functions.
12682 Templates are now used as a g_object_new() parameter.
12683 Use template in _do_getcaps() if we don't have a target.
12684 Small documentation cleanups.
12685 Added two new constructors:
12686 gst_ghost_pad_new_from_template()
12687 gst_ghost_pad_new_no_target_from_template()
12688 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12689 (gst_ghost_pad_suite):
12690 Added tests for new ghostpad instanciation functions.
12692 API additions: gst_ghost_pad_new_from_template,
12693 gst_ghost_pad_new_no_target_from_template
12695 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12697 * docs/random/ensonic/profiling.txt:
12698 Ideas about qos profiling.
12700 2006-08-29 Wim Taymans <wim@fluendo.com>
12702 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12706 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12709 Improve and detypofy docs.
12711 * tests/check/Makefile.am:
12712 * tests/check/gst/.cvsignore:
12713 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12714 Add a basic test suite for GstXML.
12716 2006-08-29 Wim Taymans <wim@fluendo.com>
12718 * gst/gstelement.c: (activate_pads), (clear_caps),
12719 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12720 Clear the pad caps when the element shut down all of the pads and
12721 is not streaming data that could modify the caps.
12724 2006-08-28 Michael Smith <msmith@fluendo.com>
12726 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12727 Revert previous change; I misunderstood single-segment mode.
12729 2006-08-28 Michael Smith <msmith@fluendo.com>
12731 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12732 Unset DISCONT on buffers when using single-segment mode.
12734 2006-08-28 Wim Taymans <wim@fluendo.com>
12736 * gst/gstcaps.c: (gst_caps_merge_structure):
12738 Fix docs and indentation again.
12740 * tests/check/gst/gstquery.c: (GST_START_TEST):
12741 Fix leak in tests and add some more tests.
12743 2006-08-28 Edward Hervey <edward@fluendo.com>
12745 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12746 Inform GstSegment of the last stop position in order for the current
12747 segment to have a proper duration if it doesn't have a specific stop
12748 position from which a duration could be calculated.
12749 This bug was noticeable when a non-flushing, non-update new segment was
12750 followed by another segment (all buffers from the new segment were being
12753 2006-08-28 Wim Taymans <wim@fluendo.com>
12755 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12756 Small comment update.
12758 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12759 (gst_identity_transform_ip):
12760 Drop-probability is broken, mention this in the code with a
12761 FIXME and also in the property description.
12762 Make silent also be silent about the drop messages.
12764 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12766 * docs/manual/appendix-win32.xml:
12767 Remove mention of popt, we don't depend on that any
12768 longer (#353136). Add some comments pointing out that
12769 this section is slightly outdated.
12771 2006-08-28 Wim Taymans <wim@fluendo.com>
12773 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12775 * gst/gstquery.c: (gst_query_new_segment):
12776 * tests/check/gst/gstquery.c: (GST_START_TEST):
12777 Initialize variables when creating a new segment query.
12780 2006-08-28 Wim Taymans <wim@fluendo.com>
12782 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12784 * gst/gstelement.c: (gst_element_get_bus):
12785 * tests/check/gst/gstelement.c: (GST_START_TEST):
12786 Check for NULL before _reffing the bus. Fixes #353122.
12788 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12790 * docs/manual/basics-bus.xml:
12791 Docs update: fix wrong callback return value explanation; add
12792 some lines about the implicit relationship between main loop
12793 and main context; remove duplicate main loop variable declaration.
12795 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12797 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12798 Don't leak caps in unit test; add a few more simple
12801 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12803 * docs/gst/gstreamer-sections.txt:
12804 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12805 (gst_caps_structure_is_subset), (gst_caps_merge),
12806 (gst_caps_merge_structure):
12808 * libs/gst/base/gstbasetransform.c:
12809 (gst_base_transform_transform_caps):
12810 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12811 implement caps merging (fixes #352580)
12813 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12815 * tools/Makefile.am:
12816 * tools/gst-plot-timeline.py:
12817 add debug-log plotting developer tool (#340674)
12819 2006-08-23 Wim Taymans <wim@fluendo.com>
12821 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12822 (gst_pad_stop_task):
12823 Improve debugging for task functions.
12825 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12826 (gst_task_start), (gst_task_pause), (gst_task_join):
12827 Make sure that the task function started and finished after a
12829 Don't try to push the task function on the threadpool multiple
12831 Improve the g_warning message with some useful suggestions
12832 about how to fix the problem.
12834 2006-08-23 Wim Taymans <wim@fluendo.com>
12836 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12837 Handle RESYNC correctly in _proxy_getcaps.
12839 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12841 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12842 (gst_xml_parse_memory), (gst_xml_get_element):
12843 Chain up to parent class in dispose function and also
12844 unref the elements in the toplevel_elements GList.
12845 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12846 Always return a reference in gst_xml_get_element() rather
12847 than only sometimes.
12849 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12850 Don't leak GstXml object.
12852 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12854 * docs/gst/gstreamer-sections.txt:
12855 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12858 * libs/gst/base/gstbasetransform.c:
12859 (gst_base_transform_transform_caps):
12860 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12863 2006-08-21 Edward Hervey <edward@fluendo.com>
12865 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12866 Implement GObject::dispose virtual method in GstXML so we can free the
12867 top_elements GList.
12869 2006-08-21 Wim Taymans <wim@fluendo.com>
12871 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12872 (gst_buffer_create_sub):
12873 Copy duration/offset_end/caps when creating a subbuffer of the
12875 Make the subbuffer read-only when we make the metadata writable for
12876 now. Fixes #351768.
12878 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12879 Added check for metadata copy when creating subbuffers.
12881 2006-08-21 Edward Hervey <edward@fluendo.com>
12883 * libs/gst/base/gstbasetransform.c:
12884 (gst_base_transform_buffer_alloc):
12885 Only call downstream buffer_alloc if transform element is passthrough
12886 or always_in_place. Closes #350449.
12888 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12891 ChangeLog surgery to add comments to previous changes
12893 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12898 * gst/gstpad.c: (gst_pad_set_active):
12899 Be more verbose in the log
12901 * libs/gst/base/gstbasetransform.c:
12902 (gst_base_transform_transform_caps):
12903 Simplify caps to get rid of duplicates, fixes #345444
12905 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12909 Use these optimizations only internally.
12911 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12913 * gst/gstvalue.c: (gst_value_compare_list),
12914 (gst_value_compare_fraction_range),
12915 (gst_value_intersect_fraction_fraction_range),
12916 (gst_value_intersect_fraction_range_fraction_range),
12917 (gst_value_subtract_fraction_fraction_range),
12918 (gst_value_subtract_fraction_range_fraction_range),
12919 (gst_value_get_compare_func), (gst_value_compare),
12920 (gst_value_compare_with_func):
12922 Saves the expensive lookup of the compare function in many cases
12925 2006-08-18 Edward Hervey <edward@fluendo.com>
12927 * tests/check/gst/gstinfo.c: (gst_info_suite):
12928 Disable test that require gstdebug if it wasn't built in core.
12930 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12932 * docs/random/ensonic/logging.txt:
12935 * gst/gstinfo.c: (gst_debug_log_default):
12936 reorder fields, save some columns, add optional color codes for log
12939 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12941 * docs/random/ensonic/logging.txt:
12942 add ideas about making the logs a bit more useful
12944 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12946 * docs/pwg/advanced-events.xml:
12947 * docs/pwg/titlepage.xml:
12948 Update for 0.10 API (#340627). Add myself
12951 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12953 * docs/libs/gstreamer-libs-docs.sgml:
12954 * docs/libs/gstreamer-libs-sections.txt:
12955 * libs/gst/check/gstbufferstraw.c:
12956 Make gstcheck stuff show up in docs (still needs to
12957 be documented properly though).
12959 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12961 * docs/gst/gstreamer-sections.txt:
12963 * gst/gst.c: (init_post):
12964 * gst/gst_private.h:
12965 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12967 * gst/gstquery.c: (gst_query_new_position),
12968 (gst_query_set_position), (gst_query_parse_position),
12969 (gst_query_new_duration), (gst_query_set_duration),
12970 (gst_query_parse_duration), (gst_query_new_convert),
12971 (gst_query_set_convert), (gst_query_parse_convert),
12972 (gst_query_new_segment), (gst_query_set_segment),
12973 (gst_query_parse_segment), (gst_query_new_seeking),
12974 (gst_query_set_seeking), (gst_query_parse_seeking):
12975 Add internal helpers for pre-registering quarks from static strings
12976 and using the quark values directly instead of looking them up when
12977 creating and parsing queries. Can be used for event construction too.
12980 2006-08-16 Wim Taymans <wim@fluendo.com>
12985 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12987 * gst/gstutils.c: (gst_util_set_value_from_string):
12988 Fix memleak (#351502).
12990 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12991 Add unit test for most of gst_util_set_value_from_string()
12992 (not that one would want to encourage use of this function).
12994 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12996 * libs/gst/check/gstcheck.h:
12997 Use const gchar * variables in fail_unless_equals_string
12998 macro to avoid compiler warnings (and don't use tabs for
13001 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13003 * tools/gst-launch.c: (print_tag):
13004 More space on the left for the tag names, to cater
13005 for the 'extended comment' tag (not touching the
13006 string for the first line since it's translated).
13008 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13010 * libs/gst/check/gstcheck.h:
13011 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13012 print something when they fail.
13014 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13016 * docs/gst/gstreamer-sections.txt:
13017 * gst/gsttaglist.c: (_gst_tag_initialize):
13018 * gst/gsttaglist.h:
13019 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13020 Also change merge function for GST_TAG_COMMENT to
13023 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13025 * gst/gstinfo.c: (gst_debug_print_object):
13026 Make GST_PTR_FORMAT print messages as well.
13028 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13029 (GST_START_TEST), (gst_info_suite):
13032 2006-08-14 Edward Hervey <edward@fluendo.com>
13034 * gst/gstelementfactory.c: (gst_element_register):
13035 If the GstElementClass doesn't have a GstElementDetails with all fields
13036 filled up correctly (longname, description AND author), then error out
13037 nicely instead of crashing.
13039 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13041 * gst/gststructure.c:
13042 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13045 Expand on the difference between arrays and lists as we use them.
13047 2006-08-14 Wim Taymans <wim@fluendo.com>
13049 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13050 If the parent state change function failed, don't assume we can safely
13051 stop the source, this will be done when the pads are deactivated.
13053 2006-08-14 Wim Taymans <wim@fluendo.com>
13056 * gst/gsttask.c: (gst_task_join):
13059 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13060 (gst_pad_stop_task):
13061 When pad (de)activation failed for some reason, restore the old
13062 activation mode and set the pad to flushing instead of assuming the
13063 pad is deactivated.
13064 If the _task_join() failed, reinstall the task on the pad so that it can
13065 be stopped later and return an error.
13067 2006-08-11 Andy Wingo <wingo@pobox.com>
13070 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13071 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13072 is only for users of API that don't want to see deprecated
13073 functions in the headers; people that want to compile out
13074 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13075 CFLAGS. Fixes the build of multifdsink, or will soon..
13077 2006-08-11 Wim Taymans <wim@fluendo.com>
13079 * docs/gst/gstreamer-sections.txt:
13080 Add GstClockClass vmethod docs.
13083 Mark #endif with comment for associated #if
13085 * gst/gstclock.c: (gst_clock_id_wait):
13087 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13088 most clock implementations.
13090 Flesh out docs about resolution methods.
13091 API: GstClockClass::wait_jitter
13093 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13094 (gst_system_clock_async_thread),
13095 (gst_system_clock_id_wait_jitter_unlocked),
13096 (gst_system_clock_id_wait_jitter):
13097 Use base class wait_jitter variant for improved performance
13098 due to less clock polling.
13100 2006-08-11 Edward Hervey <edward@fluendo.com>
13102 * gst/gst.c: (gst_init_check), (init_post):
13103 Set gst as being initialized before scanning/updating the registry,
13104 since there might be my python plugin loader that calls gst_init() and
13105 we don't want to loop back in.
13108 2006-08-11 Wim Taymans <wim@fluendo.com>
13110 * docs/design/part-qos.txt:
13111 Bring docs in line with the code. Mostly the sign of the jitter was
13112 wrong in the docs. Fixes #349943.
13115 Fix the docs for the jitter.
13117 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13118 (gst_event_parse_tag), (gst_event_new_buffer_size),
13119 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13120 (gst_event_new_seek), (gst_event_parse_seek),
13121 (gst_event_new_navigation):
13122 Make sure the GstStructure has no parent when creating custom
13124 Add some more argument checking so that we avoid 0.0 rates.
13125 Flesh out the docs for the QoS event some more.
13127 2006-08-11 Wim Taymans <wim@fluendo.com>
13129 * docs/gst/gstreamer-sections.txt:
13130 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13131 (ensure_current_registry_forking), (ensure_current_registry),
13132 (parse_one_option), (parse_goption_arg), (gst_deinit),
13133 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13136 Added API and command line option to disable registry forking in
13137 addition to the environment variable.
13138 Constify some static arrays.
13139 Added some more debug.
13140 Don't deinit twice.
13141 API: gst_registry_fork_is_enabled()
13142 API: gst_registry_fork_set_enabled()
13143 API: --gst-disable-registry-fork command line option
13146 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13148 * gst/gst.c: (gst_init):
13149 Fix typo in error message.
13151 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13153 * libs/gst/controller/gstcontroller.h:
13154 fix ABI size-correction
13156 * tests/check/libs/gdp.c: (gst_dp_suite):
13157 make tests that use deprecated API conditional
13159 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13161 * docs/libs/gstreamer-libs-sections.txt:
13162 * libs/gst/controller/gstcontroller.c:
13163 (_gst_controller_get_property), (_gst_controller_set_property),
13164 (_gst_controller_init), (_gst_controller_class_init):
13165 * libs/gst/controller/gstcontroller.h:
13166 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13167 (gst_object_set_control_rate):
13168 API: add gst_object_{s,g}et_control_rate(), add private data section,
13171 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13172 * libs/gst/dataprotocol/dataprotocol.h:
13173 add deprecation guards to make gtk-doc happy and allow disabling cruft
13175 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13177 * tests/check/Makefile.am:
13178 * tests/check/gst/.cvsignore:
13179 Let's enable the new unit test as well.
13181 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13184 * docs/gst/gstreamer-sections.txt:
13185 * gst/gstconfig.h.in:
13186 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13187 (_gst_info_printf_extension_ptr),
13188 (_gst_info_printf_extension_segment):
13189 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13190 register that lets us easily dump GstSegments into debug
13193 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13194 (info_segment_format_printf_extension), (gst_info_suite):
13195 Add simple unit test that logs a bunch of different segments (not
13196 valgrinded at the moment because of leaks in
13197 gst_debug_add_log_function).
13199 2006-08-09 Edward Hervey <edward@fluendo.com>
13201 * libs/gst/base/gstbasetransform.c:
13202 (gst_base_transform_buffer_alloc):
13203 Even if we can't figure out the proper format to request downstream,
13204 call buffer_alloc() downstream with the input parameters without setting
13205 the caps on the srcpad. This will force negotiation in the chain
13209 2006-08-08 Edward Hervey <edward@fluendo.com>
13211 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13212 Unlinking from a pad without a target is now a perfectly valid case
13213 which should NOT raise an assertion.
13214 This case would happen if a linked ghostpad its target set to NULL after
13215 it was previously linked.
13217 2006-08-08 Edward Hervey <edward@fluendo.com>
13219 * tests/check/libs/gdp.c:
13220 Also comment out the test (see below).
13222 2006-08-08 Edward Hervey <edward@fluendo.com>
13224 * tests/check/libs/gdp.c: (gst_dp_suite):
13225 Use the architecture information from config.h and not gcc macros
13226 in order to properly disable a test that fails on PPC64.
13228 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13230 * gst/gstelement.c: (gst_element_remove_pad):
13231 Don't crash printing the warning if the pad has no parent.
13233 2006-08-02 Wim Taymans <wim@fluendo.com>
13235 * libs/gst/dataprotocol/dataprotocol.c:
13236 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13237 (gst_dp_crc), (gst_dp_header_payload_length),
13238 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13239 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13240 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13241 (gst_dp_event_from_packet), (gst_dp_validate_header),
13242 (gst_dp_validate_payload):
13243 Make debug category static
13244 Constify the crc table.
13245 Do some more arg checking in public functions.
13246 Fix some docs and do some small cleanups.
13248 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13249 Add some more checks to see if GDP deals with bogus input.
13251 2006-07-31 Wim Taymans <wim@fluendo.com>
13253 * gst/gstvalue.c: (gst_value_compare_list):
13254 Fix GstValueList comparison code. Fixes #347293.
13256 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13257 Check to test GstValueList comparison.
13259 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13261 * gst/gstelementfactory.c: (gst_element_factory_create):
13262 Remove unnecessary ref/unref pair
13264 * gst/parse/grammar.y:
13265 Make sure to free the parse buffer on all code paths.
13266 Move a g_free up to the error handler where it's easier to see.
13268 * tests/check/gst/gstevent.c: (test_event):
13269 Extending timeout for downstream travelling events to 10 seconds to
13270 hopefully avoid intermittent failure on the buildbots.
13272 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13273 Don't manually set the state of the src element - it will happen as a
13274 natural consequence of the pipeline changing state, and that way it
13275 will do it in the right order too.
13277 2006-07-31 Wim Taymans <wim@fluendo.com>
13279 * libs/gst/base/gstbasetransform.c:
13280 (gst_base_transform_buffer_alloc):
13281 Use OBJECT_LOCK and refcounting to get the pad caps in the
13282 buffer_alloc function because the caps could change while we are
13283 busy with them. Fixes #349105
13285 2006-07-31 Wim Taymans <wim@fluendo.com>
13287 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13288 Protect _PAD_CAPS with OBJECT_LOCK.
13290 2006-07-31 Wim Taymans <wim@fluendo.com>
13292 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13293 (gst_pad_get_property), (gst_pad_activate_pull),
13294 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13295 (gst_pad_set_activate_function),
13296 (gst_pad_set_activatepull_function),
13297 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13298 (gst_pad_set_getrange_function),
13299 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13300 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13301 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13302 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13303 (gst_pad_set_acceptcaps_function),
13304 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13305 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13306 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13307 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13308 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13309 (gst_pad_configure_sink), (gst_pad_configure_src),
13310 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13311 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13312 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13313 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13314 (gst_pad_send_event):
13315 Use _DEBUG_OBJECT when it makes sense.
13316 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13317 Small cleanups and code reflows.
13318 Avoid caps refcounting in _accept_caps.
13319 Refactor alloc_buffer so that the code performed on the peer is in a
13320 separate function. Also if the pad does not implement a buffer alloc
13321 function, we should still check if the pad is flushing before falling
13322 back to the default allocator.
13324 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13326 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13327 Make all uses of identity and fakesink have silent=true to avoid
13328 serialising every passing data structure, which is breaking tests
13329 on FC4 for some unknown reason.
13331 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13333 * gst/parse/Makefile.am:
13334 * gst/parse/grammar.y:
13335 * gst/parse/parse.l:
13336 Reverted previous patch as it required to bump the flex dependency to
13337 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13339 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13341 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13343 * gst/parse/Makefile.am:
13344 * gst/parse/grammar.y:
13345 * gst/parse/parse.l:
13346 push & pop the state of the lexer for reentrant use case
13349 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13351 * libs/gst/base/gstbasesrc.h:
13352 Note in the docs that the ::newsegment vfunc is not actually used by
13355 2006-07-28 Wim Taymans <wim@fluendo.com>
13357 * libs/gst/base/gstcollectpads.c:
13358 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13359 (gst_collect_pads_clear), (gst_collect_pads_flush),
13360 (gst_collect_pads_event), (gst_collect_pads_chain):
13361 When flushing a pad, also clear the queued buffer so that we don't
13362 accidentally use it when we shouldn't.
13363 Fix leaks by inreffing incomming buffer.
13364 Flush out queued buffers in case of errors.
13367 2006-07-28 Wim Taymans <wim@fluendo.com>
13369 * docs/random/phonon-gst:
13370 Random notes about a Phonon backend.
13372 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13374 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13376 * tests/check/libs/gdp.c: (gst_dp_suite):
13377 Take a whack at fixing the ppc compile using a different define to
13378 disable the broken test.
13380 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13381 Remove excess g_print()
13383 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13385 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13386 Oops, meant to uncomment this line too to dampen the noise a bit.
13388 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13390 * gst/parse/grammar.y:
13391 * gst/parse/parse.l:
13392 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13393 (GST_START_TEST), (parse_suite):
13394 Fix some of the leaks exposed by extending the parse-launch testsuite,
13395 and move the 3 I can't figure out into a separate test that won't run
13396 the pipelines unless the appropriate line is uncommented.
13398 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13400 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13401 Requesting 0 bytes before the end of the file should result in
13402 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13405 2006-07-27 Wim Taymans <wim@fluendo.com>
13407 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13408 Fix useless assert, a uint is always positive.
13410 * gst/gststructure.c: (gst_structure_nth_field_name),
13411 (gst_structure_foreach), (gst_structure_map_in_place):
13412 Check input arguments for public functions to avoid obvious crashes.
13414 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13415 * plugins/elements/gstfakesink.h:
13416 Do less useless typechecking.
13418 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13420 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13421 Do not use mmap() by default since there are a number of error
13422 conditions that we would like to handle in a non-fatal way that
13423 will result in a SIGBUS if we use mmap(). Examples: external
13424 devices (USB harddrive, portable music player) being unplugged
13425 while in use; file on mounted CD/DVD that can't be read because
13426 the medium is partly damaged. Fixes #348455 and #348475.
13428 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13431 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13432 rates are a gdouble
13434 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13436 * gst/gstregistry.c:
13437 Move big documentation comment into class section header, so that it
13438 appears in the API docs.
13440 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13442 * docs/gst/gstreamer-sections.txt:
13443 Oops. Commit the docs additions too for new API.
13444 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13446 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13448 * gst/gststructure.c: (gst_structure_id_set),
13449 (gst_structure_id_set_valist):
13450 * gst/gststructure.h:
13451 Add API for setting values into structures without performing
13452 a quark lookup, if the appropriate quark is already known.
13454 API: gst_structure_id_set
13455 API: gst_structure_id_set_valist
13457 * gst/parse/grammar.y:
13458 * gst/parse/parse.l:
13459 Remove some dead code shown by the coverage information.
13460 Don't throw a critical g_warning when encountering a syntax error,
13461 just warn and let the normal error path handle it.
13463 * plugins/elements/gstelements.c:
13464 Bump the rank of filesink up to PRIMARY so that it is preferred over
13465 gnomevfssink for file:// sink uri's
13467 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13468 (GST_START_TEST), (run_delayed_test),
13469 (gst_parse_test_element_base_init),
13470 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13471 (gst_parse_test_element_change_state),
13472 (gst_register_parse_element), (parse_suite):
13473 Beef up the tests for parse syntax to check that more error cases
13474 fail as they are supposed to. Increases the test coverage a bit.
13476 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13478 * docs/manual/basics-elements.xml:
13479 Fix gst_element_link() example.
13482 Mention in API docs that one should usually gst_bin_add()
13483 elements to a bin or pipeline before doing the linking.
13485 2006-07-26 Wim Taymans <wim@fluendo.com>
13487 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13488 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13489 Avoid function call for known types by keeping the buffer and
13490 subbuffer GType global.
13492 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13493 Random silly optimisations in read() path.
13495 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13497 * tools/gst-launch.c: (main):
13498 If the top-level of the parse is a normal bin, it doesn't do the
13499 right logic to run as a top-level element, so place it inside a
13502 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13504 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13505 Remove superfluous g_object_notify() calls, GObject does
13506 that for us automatically.
13508 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13511 on Win32, use dllspec to export the debug category symbols
13513 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13515 * gst/gsttaglist.c: (_gst_tag_initialize):
13516 Allow more than one GST_TAG_IMAGE per taglist.
13518 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13520 * gst/gstminiobject.c:
13522 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13523 (gst_fd_src_create):
13524 log recurring events at LOG level
13525 add more debug for when the fd gets set
13527 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13529 * gst/gstparse.c: (gst_parse_launch):
13530 Also remove reentrance checks if flex is MT safe (#348179)
13531 Fix my empty ChangeLog entry below
13533 2006-07-21 Andy Wingo <wingo@pobox.com>
13535 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13537 * libs/gst/check/Makefile.am
13538 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13539 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13540 * libs/gst/check/gstbufferstraw.h:
13541 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13542 functions, thus proving I am still a GStreamer haxor. OK I wrote
13543 them a long time ago, but anyways.
13545 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13548 * gst/gstparse.c: (gst_parse_launch):
13549 Check for flex version and omit mutex if we have a MT save flex
13552 2006-07-21 Wim Taymans <wim@fluendo.com>
13554 * gst/gstparse.c: (gst_parse_launch):
13555 Protect recursive calls to _parse with a recursive mutex
13558 2006-07-21 Wim Taymans <wim@fluendo.com>
13560 * tests/check/gst/gstpad.c: (GST_START_TEST):
13563 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13565 * gst/gstparse.c: (gst_parse_launch):
13566 Do not hang on recursive usage of gst_parse_launch()
13568 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13570 * gst/gsttaglist.c:
13571 Add some more docs, comments and FIXME 0.11s here and there
13572 and also fix some typos.
13574 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13576 * gst/gstsegment.h:
13577 Convert tabs to spaces for better readability.
13579 2006-07-20 Edward Hervey <edward@fluendo.com>
13581 * tests/check/libs/gdp.c: (gst_dp_suite):
13582 the test_buffer test fails at line 140 on ppc64 at the following
13584 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13585 GST_BUFFER_FLAG_IN_CAPS),
13586 "GST_BUFFER_IN_CAPS flag should have been copied !");
13587 See bug #348114 for more details.
13589 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13591 * docs/pwg/advanced-scheduling.xml:
13593 Fix typos (#348000).
13595 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13597 * docs/pwg/intro-basics.xml:
13598 Fix wrong links (#347927).
13600 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13602 * gst/gstregistry.h:
13603 * gst/gstregistryxml.c: (load_feature),
13604 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13605 * win32/common/config.h:
13606 make --disable-index work (#342564)
13608 2006-07-18 Wim Taymans <wim@fluendo.com>
13610 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13614 The attached patch adds two missing defines to gsttrace.h when tracing
13615 is disabled. It also corrects one existing define.
13618 2006-07-17 Wim Taymans <wim@fluendo.com>
13620 * docs/gst/gstreamer-sections.txt:
13621 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13623 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13624 Add two functions to check and change the SIGSEGV behaviour
13625 when loading plugins.
13626 Don't mess with the SIGSEGV handler when we were told not to.
13628 API: gst_segtrap_is_enabled
13629 API: gst_segtrap_set_enabled
13631 2006-07-14 Wim Taymans <wim@fluendo.com>
13633 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13634 * tests/check/elements/filesrc.c: (GST_START_TEST):
13635 Revert fix for regression in #347408 after release.
13637 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13639 Patch by: Antoine Tremblay <hexa00 at gmail com>
13641 * gst/gstutils.c: (gst_element_unlink):
13642 Free iterator when done (#347311).
13644 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13645 And add a test case for this.
13647 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13650 Bump nano back to CVS
13652 === release 0.10.9 ===
13654 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13657 releasing 0.10.9, "On the road again"
13659 2006-07-13 Wim Taymans <wim@fluendo.com>
13661 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13662 * tests/check/elements/filesrc.c: (GST_START_TEST):
13663 Revert pull-0 fix for release. Disable check. Fixes #347408.
13665 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13667 * libs/gst/dataprotocol/dataprotocol.c:
13668 (gst_dp_event_from_packet_1_0):
13669 Fixes #347337: failure to deserialize event packets with
13670 empty payload (only event type)
13672 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13675 do not install a .c file in the header directory
13677 2006-07-13 Edward Hervey <edward@fluendo.com>
13679 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13680 GhostPad no longer implicitely use the padtemplates of the targets.
13683 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13685 * gst/gstvalue.c: (gst_value_compare_list),
13686 (gst_value_compare_array), (_gst_value_initialize):
13687 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13688 Make GstValueArray comparison be order dependent as designed.
13689 Add checks for value lists and value array comparisons.
13692 2006-07-11 Edward Hervey <edward@fluendo.com>
13694 * gst/gstbin.c: (activate_pads),
13695 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13696 (gst_bin_change_state_func):
13697 (de)activate src pads before calling state_change on the childs.
13698 This is to avoid the case where a src ghostpad is blocked (holding the
13699 stream lock), which would block the deactivation of the ghostpad's
13701 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13702 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13703 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13704 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13705 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13706 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13707 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13708 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13709 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13710 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13711 (gst_ghost_pad_class_init),
13712 (gst_ghost_pad_internal_do_activate_push),
13713 (gst_ghost_pad_internal_do_activate_pull),
13714 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13715 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13716 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13717 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13718 GhostPads now create their internal GstProxyPad at creation (and not
13719 when they're linked, as it was being done previously).
13720 The internal and target pads are linked straight away.
13721 The data will also travel through the other pad in order to make
13722 pad blocking and probes non-hackish (the probe/block now really happens
13723 on the GhostPad and not on the target).
13724 * gst/gstpad.c: (gst_pad_set_blocked_async),
13725 (gst_pad_link_prepare), (gst_pad_push_event):
13726 Remove previous ghostpad cruft.
13727 * gst/gstutils.c: (gst_pad_add_data_probe),
13728 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13729 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13730 (gst_pad_remove_buffer_probe):
13731 Remove previous ghost pad cruft.
13732 Added more detailed debug statements.
13733 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13734 Fix the testsuite for refcounting changes.
13735 The comments about who has references were correct, but the refcount
13736 being checked wasn't the same (!?!).
13740 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13742 * docs/gst/gstreamer-sections.txt:
13743 * gst/gstconfig.h.in:
13744 More docs for configuration options, add docs to gtk-doc.
13746 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13749 * gst/gstconfig.h.in:
13750 * win32/common/config.h:
13751 Fix build when disabling tracing (fixes #344016). Also start to document
13752 the defines that disable the sub-systems.
13754 2006-07-10 Edward Hervey <edward@fluendo.com>
13756 * gst/gst.c: (ensure_current_registry_forking):
13757 let's make valgrind happy...
13759 2006-07-09 Wim Taymans <wim@fluendo.com>
13761 * gst/gstelement.c: (activate_pads),
13762 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13763 Better pad activation code: Reset the collect value too on resync.
13766 2006-07-09 Wim Taymans <wim@fluendo.com>
13768 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13769 (gst_pad_activate_push):
13770 Use some more macros where it makes sense.
13771 Allow pad mode switching instead of asserting. When a pad
13772 is activated in one mode and we activate it in another,
13773 deactivate it first before activating it in a different mode.
13776 2006-07-08 Andy Wingo <wingo@pobox.com>
13778 * tools/gst-launch.c (main): Handle err == NULL.
13780 * gst/gst.c (init_post, ensure_current_registry)
13781 (ensure_current_registry_forking)
13782 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13783 factoring out the registry scanning into separate functions. Don't
13784 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13785 Better environment var name/interface suggestions accepted.
13787 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13789 * gst/gstobject.c: (gst_object_set_name_default),
13790 (gst_object_set_name):
13791 Random micro-optimisation: don't use a hash table
13792 with strings as keys and the usual strdup/strcmp
13793 involved, but rather just use the GQuark of the
13794 type name as key, since it needs to be looked up
13795 anyway to get the type name string.
13797 * tests/check/gst/gstobject.c: (GST_START_TEST):
13800 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13802 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13803 (gst_bin_iterate_all_by_interface):
13804 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13805 GTypes are gulongs and thus the top 4 bytes might be cut
13806 off on some platforms when doing GPOINTER_TO_INT, leading
13807 to invalid GTypes and bad things happening (see RH bug #179654).
13808 Also add a check to make sure the type passed in is really
13811 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13816 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13820 * gst-element-check.m4:
13821 * gst-element-check.m4.in:
13822 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13823 instead of the unversioned gst-inspect (#324176, #168659).
13825 2006-07-06 Wim Taymans <wim@fluendo.com>
13827 * gst/gstmessage.h:
13828 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13831 2006-07-06 Wim Taymans <wim@fluendo.com>
13833 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13834 (gst_base_src_wait), (gst_base_src_update_length),
13835 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13836 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13837 (gst_base_src_loop), (gst_base_src_start),
13838 (gst_base_src_activate_pull):
13840 blocksize == 0 now means the default blocksize when working in push
13842 Remove some pointless asserts in _wait function.
13843 Fix offset/length calculations and EOS handling. We can now pull 0
13844 bytes as well, which is allowed.
13845 use _check_get_range() to decide if we can operate in _pull based
13847 Fix refcounting leak when check_get_range function was not
13849 API GstBaseSrc::blocksize range can be 0 too now (default)
13851 * tests/check/elements/filesrc.c: (GST_START_TEST),
13853 Added check to test _get_range() behaviour.
13855 2006-07-06 Wim Taymans <wim@fluendo.com>
13857 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13858 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13859 (gst_pad_pull_range):
13861 Lots of comments and docs added to the pad functions.
13862 Flesh out the expected behaviour of the get_range() functions.
13864 2006-07-06 Wim Taymans <wim@fluendo.com>
13869 * gst/gstiterator.h:
13873 Remove comma at end of enumerator list.
13875 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13877 * win32/common/libgstbase.def:
13878 * win32/common/libgstdataprotocol.def:
13879 * win32/common/libsgtreamer.def:
13880 Add new exported functions.
13882 2006-07-05 Wim Taymans <wim@fluendo.com>
13884 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13885 Add some more docs here and there.
13887 2006-07-05 Wim Taymans <wim@fluendo.com>
13889 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13890 (gst_base_sink_loop), (gst_base_sink_get_position):
13891 When operating in pull mode update the offset so that we
13894 2006-07-05 Wim Taymans <wim@fluendo.com>
13896 * gst/gstregistryxml.c: (read_string):
13897 Avoid strdup. (will happen in libxml, but hey!)
13900 Add some more docs.
13902 2006-07-05 Wim Taymans <wim@fluendo.com>
13904 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13905 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13906 (gst_buffer_suite):
13907 No point in checking if the size of the subbuffer > 0, the
13908 code handles it correclty as demonstrated by unit test.
13909 Also add a unit test for the zero sized _new_and_alloc and
13910 _copy. Fixes #346663.
13912 2006-07-05 Wim Taymans <wim@fluendo.com>
13914 * libs/gst/base/gstbasetransform.c:
13915 (gst_base_transform_prepare_output_buffer),
13916 (gst_base_transform_buffer_alloc),
13917 (gst_base_transform_handle_buffer):
13918 Make sure the buffer we pass to transform_ip has a refcount of
13919 1 and thus is writable. Fixes #343196
13921 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13923 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13924 (gst_file_src_init), (gst_file_src_set_property),
13925 (gst_file_src_get_property), (gst_file_src_map_region):
13926 * plugins/elements/gstfilesrc.h:
13927 Add "sequential" property, off by default, to use madvise and hint
13928 to the kernel that sequential access is desired.
13929 Touch all retrieved pages by default to ensure they are pulled
13930 into memory. (Closes #345720)
13932 2006-07-03 Wim Taymans <wim@fluendo.com>
13934 * docs/design/part-block.txt:
13935 * docs/design/part-dynamic.txt:
13936 Small docs updates.
13938 2006-07-03 Wim Taymans <wim@fluendo.com>
13940 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13941 (gst_caps_unref), (gst_static_caps_get),
13942 (gst_caps_append_structure):
13943 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13944 Use GSlice when the glib we build against is >= 2.10
13946 2006-07-03 Wim Taymans <wim@fluendo.com>
13948 * gst/gstelement.c: (gst_element_pads_activate):
13949 Small cleanup in pad activation code.
13951 2006-07-03 Wim Taymans <wim@fluendo.com>
13953 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13955 * gst/gst-i18n-app.h:
13956 * gst/gst-i18n-lib.h:
13957 * tools/gst-inspect.c: (print_signal_info):
13958 The attached patch will make the inclusion of gettext.h unconditional in
13959 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13960 libintl.h in tools/gst-inspect.c.
13961 This allows use of --disable-nls again and fixes #344642.
13963 2006-07-03 Edward Hervey <edward@fluendo.com>
13965 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13966 Implement pad blocking on events according to part-block.txt.
13967 More comments on behaviour.
13968 * tests/check/gst/gstevent.c: (test_event):
13969 Send event to peer pad of blocked pad (else it will block).
13971 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13973 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13974 (gst_check_run_suite):
13975 if we get the wrong message, give us the types as string
13976 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13978 * tests/check/elements/filesrc.c: (GST_START_TEST):
13979 add a test for trying to open a non-existing file
13981 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13983 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13984 add a test for adding self
13986 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13988 * libs/gst/check/gstcheck.h:
13989 add some assert_ as alias for fail_unless_*
13990 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13991 increase test coverage
13993 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13996 include lcov.mak for lcov coverage generation
13997 * tools/Makefile.am:
14000 2006-07-02 Edward Hervey <edward@fluendo.com>
14002 * tests/check/elements/.cvsignore:
14005 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14008 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14009 * tests/check/Makefile.am:
14010 clean up gcov files
14012 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14014 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14015 remove gst_caps_simplify; it was not declared and not used
14016 and deprecated in 0.8
14018 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14020 * docs/faq/gst-uninstalled:
14021 don't put empty paths on PYTHONPATH
14022 * docs/gst/gstreamer-sections.txt:
14023 remove some symbols that are not there
14025 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14027 * gst/gstcaps.c: (gst_caps_compare_structures):
14029 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14030 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14033 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14035 * libs/gst/dataprotocol/Makefile.am:
14036 build dataprotocol test by linking to the lib, instead of
14037 compiling the source, so we get coverage
14038 * tests/check/Makefile.am:
14039 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14040 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14041 add a test for filesrc
14043 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14045 * tests/check/gst/gststructure.c: (GST_START_TEST),
14046 (gst_structure_suite):
14047 Push coverage from 59.04% to 70.00%
14049 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14051 * tests/check/Makefile.am:
14052 gst-inspect every element; this makes sure that we also get
14053 coverage on element's get/set functions
14055 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14058 set CFLAGS and friends to -O0 if gcov is being used
14061 * libs/gst/base/Makefile.am:
14062 * libs/gst/check/Makefile.am:
14063 * libs/gst/controller/Makefile.am:
14064 * libs/gst/dataprotocol/Makefile.am:
14065 * libs/gst/net/Makefile.am:
14066 * plugins/elements/Makefile.am:
14067 * plugins/indexers/Makefile.am:
14068 add makefile rules to generate gcov data and clean up
14069 * tests/check/Makefile.am:
14070 add a coverage target that generates an html overview
14073 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14075 * tests/check/elements/fakesink.c:
14076 * tests/check/elements/fakesrc.c:
14077 * tests/check/elements/fdsrc.c:
14078 * tests/check/elements/identity.c:
14079 * tests/check/generic/sinks.c: (gst_sinks_suite):
14080 * tests/check/generic/states.c:
14081 * tests/check/gst/gst.c:
14082 * tests/check/gst/gstabi.c:
14083 * tests/check/gst/gstbin.c:
14084 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14085 * tests/check/gst/gstbus.c: (gst_bus_suite):
14086 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14087 * tests/check/gst/gstelement.c:
14088 * tests/check/gst/gstevent.c: (gst_event_suite):
14089 * tests/check/gst/gstghostpad.c:
14090 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14091 * tests/check/gst/gstmessage.c: (gst_message_suite):
14092 * tests/check/gst/gstminiobject.c:
14093 * tests/check/gst/gstobject.c:
14094 * tests/check/gst/gstpad.c:
14095 * tests/check/gst/gstpipeline.c:
14096 * tests/check/gst/gstplugin.c:
14097 * tests/check/gst/gstquery.c: (gst_query_suite):
14098 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14099 * tests/check/gst/gststructure.c:
14100 * tests/check/gst/gstsystemclock.c:
14101 * tests/check/gst/gsttag.c:
14102 * tests/check/gst/gsttask.c: (gst_task_suite):
14103 * tests/check/gst/gstutils.c:
14104 * tests/check/gst/gstvalue.c:
14105 * tests/check/libs/adapter.c:
14106 * tests/check/libs/basesrc.c:
14107 * tests/check/libs/collectpads.c:
14108 * tests/check/libs/controller.c:
14109 * tests/check/libs/gdp.c: (gst_dp_suite):
14110 * tests/check/libs/gstnetclientclock.c:
14111 * tests/check/libs/gstnettimeprovider.c:
14112 * tests/check/libs/libsabi.c: (libsabi_suite):
14113 * tests/check/libs/typefindhelper.c:
14114 * tests/check/pipelines/cleanup.c:
14115 * tests/check/pipelines/parse-launch.c:
14116 * tests/check/pipelines/simple-launch-lines.c:
14117 * tests/check/pipelines/stress.c: (stress_suite):
14120 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14122 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14123 * libs/gst/check/gstcheck.h:
14124 create a macro and function so that the simple unit test
14125 case can be just one macro to create main()
14127 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14129 * gst/gstbin.c: (gst_bin_restore_thyself):
14130 * gst/gstxml.c: (gst_xml_make_element):
14131 Fix deserialisation from XML. Set parent manually
14132 instead of using gst_bin_add(), since gst_bin_add()
14133 will unlink all pads of the element being added.
14136 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14138 Patch by: Peter Kjellerstedt <pkj at axis com>
14140 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14141 Fix missing g_strdup() and double free when using the
14142 --gst-plugin-load command line option (#346097).
14144 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14147 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14149 * libs/gst/net/gstnetclientclock.c:
14150 * libs/gst/net/gstnettimeprovider.c:
14151 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14153 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14155 * docs/manual/advanced-dataaccess.xml:
14156 Fix buffer probe example compilation in
14159 2006-06-22 Edward Hervey <edward@fluendo.com>
14161 * gst/gstelement.c: (gst_element_pads_activate):
14162 We need to deactivate src pads first and then sink pads.
14163 The reason is the src pads might be blocking while holding the streaming
14164 lock, so we need to deactivate them first so that deactivating the sink
14165 pads doesn't block (since it will require the streaming lock).
14167 2006-06-22 Wim Taymans <wim@fluendo.com>
14169 * libs/gst/base/gstbasetransform.c:
14170 (gst_base_transform_buffer_alloc):
14171 Forgot to remove two unneeded unrefs.
14172 Simplify a check _is_equal allready checks the obvious case.
14174 2006-06-22 Wim Taymans <wim@fluendo.com>
14176 * docs/design/part-block.txt:
14177 Some docs about what pad_block should do.
14179 2006-06-22 Wim Taymans <wim@fluendo.com>
14181 * gst/gstcaps.c: (gst_caps_replace):
14182 Fix crasher when passed NULL. Doc clarification.
14183 Optimize for the trivial case.
14185 * gst/gstpipeline.c: (gst_pipeline_change_state):
14188 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14189 Small documentation cleanup.
14191 * libs/gst/base/gstbasetransform.c:
14192 (gst_base_transform_buffer_alloc):
14193 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14194 is what we need and it avoids a whole lot of redundant
14195 refcount operations.
14197 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14199 Patch by: Philip Jägenstedt <philip at lysator liu se>
14201 * docs/manual/advanced-dataaccess.xml:
14202 Fix 'Embedding static elements' section to use
14203 GST_PLUGIN_DEFINE_STATIC (#345607).
14205 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14207 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14208 Attempt to 'fix' spuriously failing test case: it seems like the
14209 timeout of half a second is simply too small when the system is under
14210 load otherwise, and the timeout doesn't really seem to serve any
14211 particular purpose here. Give the pipeline a few seconds to preroll
14212 first, and then give it another half a second to go from PAUSED to
14213 PLAYING and marshal the message into the main thread.
14215 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14217 * tools/gst-feedback-m.m:
14218 Don't only use unversioned tools, try versioned tools as well
14221 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14223 * gst/gstbus.c: (gst_bus_class_init):
14224 Fix some typos, make docs more explicit.
14226 2006-06-20 Wim Taymans <wim@fluendo.com>
14228 * tests/check/gst/gstghostpad.c: (block_callback),
14229 (GST_START_TEST), (gst_ghost_pad_suite):
14230 Added some more ghostpad tests, mainly blocking
14233 2006-06-16 Wim Taymans <wim@fluendo.com>
14235 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14236 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14237 (gst_file_sink_event), (gst_file_sink_render):
14238 * plugins/elements/gstfilesink.h:
14239 Check if we can seek in the file instead of assuming
14240 we always can. Post an error when we are asked to seek in a
14241 non-seekable file (like a fifo). Fixes #343312.
14244 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14246 * tools/gst-launch.1.in:
14247 Un-garble (fourcc) bit in filtered caps section.
14249 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14251 * docs/manual/advanced-autoplugging.xml:
14252 * docs/manual/basics-helloworld.xml:
14253 * docs/manual/highlevel-components.xml:
14254 Don't leak bus reference in sample code.
14256 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14259 Add default for new --enable-plugin-docs switch.
14262 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14265 * docs/Makefile.am:
14266 Use new ENABLE_PLUGIN_DOCS conditional.
14268 2006-06-14 Wim Taymans <wim@fluendo.com>
14270 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14271 Make it clear with a FIXME and a real define what the #if 0
14272 previously disabled.
14274 2006-06-14 Wim Taymans <wim@fluendo.com>
14276 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14277 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14278 * libs/gst/base/gstbasetransform.c:
14279 (gst_base_transform_sink_eventfunc):
14280 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14281 Don't randomly and silently reset a segment when the format
14282 changes as this is a bug somewhere upstream. Fixes #330379.
14284 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14286 Patch by: Wouter Paesen <wouter at kangaroot net>
14288 * libs/gst/controller/gstcontroller.c:
14289 (gst_controlled_property_new):
14290 Fix controlling of float properties (#344849).
14292 * tests/check/libs/controller.c:
14293 (gst_test_mono_source_get_property),
14294 (gst_test_mono_source_set_property),
14295 (gst_test_mono_source_class_init), (GST_START_TEST):
14296 While we're at it, add some float stuff to unit test.
14298 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14301 * docs/images/gdp-header.svg:
14303 * docs/libs/Makefile.am:
14304 * docs/libs/gdp-header.png:
14305 * libs/gst/dataprotocol/dataprotocol.c:
14306 add it to the API docs
14307 * docs/manual/intro-motivation.xml:
14310 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14312 * gst/gst.c: (scan_and_update_registry), (init_post):
14313 If the fork()'ed child process can't write the updated registry cache
14314 file to disk for some reason, make it exit with a failure exit code,
14315 so that the parent can then re-scan the plugins itself and update the
14316 registry structures in memory and work with that (rather than failing
14317 when creating elements because seemingly no plugins are available).
14318 Refactor registry scanning code into separate function for this and
14319 also separate fork() and non-fork() code paths. Fixes #344748.
14321 2006-06-13 Wim Taymans <wim@fluendo.com>
14323 * docs/manual/advanced-dataaccess.xml:
14324 Fix wrong PluginDesc. Fixes #344755.
14326 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14328 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14329 Fix silly bug that prevented us from creating
14330 ~/.gstreamer-0.10 and writing the registry in one
14331 go (the first call to g_mkstemp() would overwrite the
14332 placeholder in the template string, so the second call
14333 to g_mkstemp() after creating the missing directory
14334 would then error out with 'invalid argument').
14336 2006-06-13 Edward Hervey <edward@fluendo.com>
14338 * gst/gst.c: (init_post):
14341 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14343 * gst/glib-compat-private.h:
14344 * gst/glib-compat.c:
14345 * gst/glib-compat.h:
14346 * gst/gstvalue.c: (gst_value_serialize_flags):
14347 remove GLib 2.6 compatibility code
14349 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14351 * gst/parse/Makefile.am:
14352 Fix build with 'make -j N' even more (#340016).
14354 2006-06-12 Wim Taymans <wim@fluendo.com>
14356 * docs/gst/gstreamer-sections.txt:
14359 2006-06-12 Wim Taymans <wim@fluendo.com>
14361 * gst/gstsegment.c: (gst_segment_set_duration),
14362 (gst_segment_set_last_stop), (gst_segment_set_seek),
14363 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14364 (gst_segment_to_running_time), (gst_segment_clip):
14365 Use G_UNLIKELY to help the compiler a bit.
14367 2006-06-12 Wim Taymans <wim@fluendo.com>
14369 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14371 * gst/gstevent.c: (gst_event_get_type):
14372 * gst/gstmessage.c:
14373 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14375 constify quark registration strings. Fixes #344115
14376 Avoid unneeded type checking is _pad_push() by internally
14377 calling gst_pad_chain_unchecked().
14379 2006-06-12 Wim Taymans <wim@fluendo.com>
14381 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14382 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14383 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14384 (gst_buffer_is_span_fast), (gst_buffer_span):
14385 Init _type for consistency.
14386 Use _FLAGS macro to avoid type check.
14387 Avoid unneeded type checks in subbufer code.
14389 2006-06-12 Wim Taymans <wim@fluendo.com>
14391 * gst/gst.c: (gst_debug_help):
14392 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14393 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14394 (gst_plugin_feature_list_free):
14395 * gst/gstregistry.c: (gst_registry_add_plugin),
14396 (gst_registry_add_feature), (gst_registry_plugin_filter),
14397 (gst_registry_feature_filter), (gst_registry_find_plugin),
14398 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14399 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14400 * gst/gstregistryxml.c: (load_feature),
14401 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14402 * gst/gstminiobject.c: (gst_mini_object_unref),
14403 (gst_mini_object_replace), (gst_value_mini_object_free),
14404 (gst_value_mini_object_copy):
14405 Use _CAST macros to avoid unneeded type checking.
14406 Added some more G_UNLIKELY.
14408 2006-06-12 Wim Taymans <wim@fluendo.com>
14411 Avoid unneeded type checking.
14412 API: GST_BUFFER_IS_DISCONT
14414 * gst/gstminiobject.h:
14415 Avoid type check in flag accessor.
14417 * gst/gstelementfactory.h:
14419 * gst/gstpluginfeature.h:
14421 API: GST_ELEMENT_FACTORY_CAST
14422 API: GST_PLUGIN_CAST
14423 API: GST_PLUGIN_FEATURE_CAST
14425 2006-06-12 Wim Taymans <wim@fluendo.com>
14427 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14428 (gst_object_unref):
14429 Add G_UNLIKELY in type registration.
14430 Avoid type check in _ref/_unref since that is also
14433 2006-06-12 Wim Taymans <wim@fluendo.com>
14435 * gst/gsterror.c: (gst_g_error_get_type):
14436 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14437 (gst_static_pad_template_get_type):
14438 * gst/gsttaglist.c: (gst_tag_list_get_type):
14439 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14440 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14441 * gst/gsturi.c: (gst_uri_handler_get_type):
14442 * gst/gstvalue.c: (gst_date_get_type):
14443 * gst/gstxml.c: (gst_xml_get_type):
14444 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14445 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14446 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14447 Add G_UNLIKELY in type registration.
14449 2006-06-12 Wim Taymans <wim@fluendo.com>
14451 * tools/gst-inspect.c: (print_signal_info):
14452 Properly print enum values.
14454 2006-06-12 Wim Taymans <wim@fluendo.com>
14456 * gst/gstinfo.c: (gst_debug_set_active),
14457 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14459 Add some G_[UN]LIKELY.
14460 Maintain __gst_debug_min to avoid formatting the arguments of
14461 debug messages that will be dropped anyway to avoid a lot of
14462 overhead from the debugging system.
14464 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14467 * po/POTFILES.skip:
14468 add missing files containing translatable strings, tell intltool about
14471 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14473 * tests/check/libs/.cvsignore:
14474 add test-binary to ignore list
14476 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14478 * docs/libs/gstreamer-libs-docs.sgml:
14479 reorder (put dp into a chapter) and indent
14481 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14486 === release 0.10.8 ===
14488 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14491 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14493 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14495 * gst/gst.c: (init_post):
14496 move pid declaration to declaration block
14498 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14500 * gst/gst.c: (init_post):
14501 use _exit() instead of exit() in our forked child; this ensures
14502 that none of the registered exit handlers from whatever is using
14503 GStreamer get executed. This fixes gnome-mixer-applet failing
14504 to load, because ORBit would shut down.
14505 Spotted by: Edward Hervey <edward@fluendo.com>
14506 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14509 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14514 === release 0.10.7 ===
14516 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14519 releasing 0.10.7, "Soepeke, ik zie ou"
14521 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14544 * win32/common/config.h:
14545 0.10.6.2 prerelease
14547 2006-06-07 Wim Taymans <wim@fluendo.com>
14549 * gst/gstindex.c: (gst_index_gtype_resolver):
14550 * tools/gst-xmlinspect.c: (print_plugin_info):
14551 Fix leak spotted by coverity checker. Fixes #343827
14552 Fix another other leak found by paolo borelli.
14554 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14556 * libs/gst/dataprotocol/dataprotocol.c:
14557 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14558 (gst_dp_version_get_type), (gst_dp_init),
14559 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14560 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14561 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14562 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14563 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14564 (gst_dp_packetizer_free):
14565 * libs/gst/dataprotocol/dataprotocol.h:
14566 API: add a GstDPPacketizer object, and create/free functions
14567 API: add GstDPVersion enum
14568 Add 1.0 event function that uses the string serialization
14569 Serialize more useful buffer flags
14572 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14574 * tests/check/Makefile.am:
14575 * tests/check/gst/gstabi.c:
14576 * tests/check/gst/struct_ppc64.h:
14577 * tests/check/libs/libsabi.c:
14578 * tests/check/libs/struct_ppc64.h:
14579 add ppc64 structure sizes
14581 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14583 * tests/check/Makefile.am:
14584 * tests/check/gst/gstabi.c:
14585 * tests/check/gst/struct_x86_64.h:
14586 * tests/check/libs/libsabi.c:
14587 * tests/check/libs/struct_x86_64.h:
14588 generate and add structure size lists for x86_64
14590 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14592 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14593 * libs/gst/check/gstcheck.h:
14594 factor out the method from tests that checks size of structures,
14595 and add code to generate the header containing these sizes
14596 * tests/check/gst/gstabi.c: (GST_START_TEST):
14597 * tests/check/gst/struct_i386.h:
14598 * tests/check/libs/libsabi.c: (GST_START_TEST):
14599 * tests/check/libs/struct_i386.h:
14602 2006-06-06 Michael Smith <msmith@fluendo.com>
14604 * gst/gstsegment.h:
14605 Don't use c++-style comments, fixes #343929
14607 2006-06-05 Edward Hervey <edward@fluendo.com>
14610 plugin_paths is not used if we build without registry support.
14612 * gst/gstsegment.c: (gst_segment_copy):
14613 _copy() was always returning NULL...
14615 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14617 * libs/gst/dataprotocol/dataprotocol.c:
14618 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14619 (gst_dp_packet_from_event):
14620 factor out CRC code
14622 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14624 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14625 make sure we unset caps
14627 2006-06-02 Michael Smith <msmith@fluendo.com>
14629 * libs/gst/check/gstcheck.c: (gst_check_init),
14630 (gst_check_chain_func):
14631 * libs/gst/check/gstcheck.h:
14632 Add a cond/mutex to the check support lib, signal this whenever we
14633 add to the buffers list. This will allow tests to not busy-wait on
14636 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14638 * libs/gst/dataprotocol/dataprotocol.c:
14639 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14640 (gst_dp_packet_from_event):
14641 factor out some common header init code
14643 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14645 * docs/libs/gstreamer-libs-sections.txt:
14646 * docs/libs/tmpl/gstdataprotocol.sgml:
14647 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14648 * libs/gst/dataprotocol/dataprotocol.h:
14649 API: make gst_dp_crc() public
14651 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14653 * plugins/indexers/gstindexers.c: (plugin_init):
14654 conditionally register fileindexer (fixes #343598)
14656 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14658 * gst/gsttagsetter.h:
14659 Can't cast ifaces to a class
14661 * libs/gst/net/gstnetclientclock.h:
14662 * libs/gst/net/gstnettimeprovider.h:
14663 * plugins/elements/gstfakesink.h:
14664 * plugins/elements/gstfakesrc.h:
14665 * plugins/elements/gstfdsink.h:
14666 * plugins/elements/gstfdsrc.h:
14667 * plugins/elements/gstfilesink.h:
14668 * plugins/elements/gstfilesrc.h:
14669 * plugins/elements/gstidentity.h:
14670 * plugins/elements/gstqueue.h:
14671 * plugins/elements/gsttee.h:
14672 * plugins/indexers/gstfileindex.c:
14673 * plugins/indexers/gstmemindex.c:
14674 * tests/old/examples/plugins/example.h:
14675 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14677 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14679 * libs/gst/dataprotocol/dataprotocol.c:
14680 (gst_dp_header_from_buffer):
14681 make sure we zero the whole ABI-compatible area
14683 2006-06-01 Wim Taymans <wim@fluendo.com>
14685 Patch by: Alessandro Decina <alessandro at nnva dot org>
14687 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14688 Make sure the EOS flag is cleared from pads after a flush
14689 or stop. Fixes #343538.
14691 * tests/check/libs/collectpads.c: (GST_START_TEST),
14692 (gst_collect_pads_suite):
14693 Added test for collectpads reusage after EOS.
14695 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14698 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14699 * win32/common/libgstbase.def:
14700 export gst_collect_pads_set_flushing
14701 * win32/common/libgstreamer.def:
14702 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14703 gst_value_fraction_multiply
14704 * win32/vs6/gst_inspect.dsp:
14705 add a link to intl.lib
14707 2006-05-30 Wim Taymans <wim@fluendo.com>
14709 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14710 (gst_collect_pads_chain):
14711 Handle the case where a pad is removed from the collection
14712 that could cause the other pads to become collectable.
14714 2006-05-30 Wim Taymans <wim@fluendo.com>
14716 * gst/gstelement.c:
14717 Clarify the use of _release_request_pad() and
14718 _get_request_pad() a bit better.
14720 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14721 (gst_adapter_take_buffer):
14722 Fix some doc and comment typos.
14724 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14726 * docs/gst/gstreamer-sections.txt:
14727 * docs/libs/gstreamer-libs-sections.txt:
14728 add declared symbols
14730 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14732 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14733 Add debug that can be enabled using a #define at the top of the file,
14734 for dumping stats about how late/early we were when waking up from
14735 waiting on the clock.
14737 2006-05-30 Wim Taymans <wim@fluendo.com>
14739 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14740 When rebuilding the pad list, don't leak the previous list.
14742 2006-05-30 Wim Taymans <wim@fluendo.com>
14744 Patch by: Lutz Mueller <lutz at topfrose dot de>
14746 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14747 (gst_base_src_get_query_types), (gst_base_src_update_length):
14748 Publish supported query types.
14749 Update last_stop field in get_range mode so the position
14750 query works. Fixes #342321.
14752 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14754 * docs/gst/gstreamer-sections.txt:
14755 * gst/gsttaglist.c: (_gst_tag_initialize):
14756 * gst/gsttaglist.h:
14757 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14759 2006-05-30 Wim Taymans <wim@fluendo.com>
14761 Patch by: Alessandro Decina <alessandro at nnva dot org>
14763 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14764 Unlock mutex when removing an unknown pad.
14767 * tests/check/Makefile.am:
14768 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14769 (push_event), (setup), (teardown), (GST_START_TEST),
14770 (gst_collect_pads_suite), (main):
14771 Added collecpads check, disabled for now as check crashes for
14774 2006-05-29 Wim Taymans <wim@fluendo.com>
14776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14777 Don't leak pads lists.
14779 2006-05-29 Wim Taymans <wim@fluendo.com>
14781 * docs/libs/gstreamer-libs-sections.txt:
14782 * libs/gst/base/gstcollectpads.c:
14783 (gst_collect_pads_set_flushing_unlocked),
14784 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14785 (gst_collect_pads_stop):
14786 * libs/gst/base/gstcollectpads.h:
14787 API: gst_collect_pads_set_flushing()
14788 Added api to set the pads to flushing, useful for seeking
14789 code in elements using collectpads.
14790 Clear segment when receiving a flush.
14792 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14794 * gst/gst.c: (add_path_func), (init_post):
14795 Don't scan registry paths passed via --gst-plugin-path immediately
14796 (will crash, because absolutely nothing is set up and no types are
14797 registered etc.); do this later in init_post(). Fixes #343057.
14799 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14801 * gst/gst.c: (init_post):
14802 if we have fork, fork while reading/rebuilding the registry
14803 so the parent doesn't take the hit of having all plugins loaded
14804 in memory. Fixes #342777.
14806 Check if we have fork()
14807 * win32/common/config.h.in:
14810 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14812 * plugins/elements/gstelements.c:
14813 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14814 (gst_file_src_init), (gst_file_src_set_property),
14815 (gst_file_src_get_property), (gst_file_src_start):
14816 * plugins/elements/gstfilesrc.h:
14817 API: GstFileSrc::use-mmap
14819 Add a use-mmap property to enable easier testing of all code paths.
14820 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14821 in the absence of gnomevfssrc. (Closes #340501)
14823 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14825 * tools/gst-inspect.c:
14826 Add missing include, removes warning of ngettext not being defined on
14829 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14831 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14832 Handle NULL input and output pointers silently as a failed conversion,
14833 rather than g_warnings.
14835 2006-05-25 Wim Taymans <wim@fluendo.com>
14837 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14838 Initialize variable before using. Fixes #342820.
14840 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14842 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14843 Fix off-by-one bug that would only allow peeks of N-1 bytes
14844 from the start even if the buffer to typefind on contains
14845 in fact N bytes of data (makes vorbis typefinding from a
14846 vorbis identification header buffer work).
14848 * tests/check/Makefile.am:
14849 * tests/check/libs/.cvsignore:
14850 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14851 (gst_typefindhelper_suite), (main), (foobar_typefind),
14853 Add very basic unit test for gst_type_find_helper_for_buffer()
14854 that checks for the problem fixed above.
14856 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14858 * tools/gst-inspect.c: (print_interfaces),
14859 (print_element_properties_info), (print_element_list), (main):
14860 add more translatable strings
14862 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14864 Patch by: Julien Moutte <julien at moutte net>
14866 * docs/gst/gstreamer-sections.txt:
14867 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14869 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14870 (gst_fake_sink_preroll):
14871 * plugins/elements/gstfakesink.h:
14872 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14874 2006-05-23 Wim Taymans <wim@fluendo.com>
14876 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14878 Added _CUSTOM error and success GstFlowReturn that can be
14879 used be elements internally.
14880 Added macro to check for SUCCESS flowreturns.
14881 API: GST_FLOW_CUSTOM_SUCCESS
14882 API: GST_FLOW_CUSTOM_ERROR
14883 API: GST_FLOW_IS_SUCCESS
14885 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14886 Added check for GstFlowReturn sanity.
14888 2006-05-23 Wim Taymans <wim@fluendo.com>
14890 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14893 (gst_collect_pads_event):
14894 clear/reset segment info in FLUSH_STOP.
14897 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14899 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14900 (gst_collect_pads_check_collected):
14901 Flush queued buffer on _stop(), fixes playing again (#342454)
14903 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14905 * tests/check/gst/gststructure.c: (GST_START_TEST),
14906 (gst_structure_suite):
14907 add a test for a complete structure
14909 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14911 * docs/faq/developing.xml:
14912 * docs/faq/faq.xml:
14913 * docs/faq/troubleshooting.xml:
14914 * docs/faq/using.xml:
14915 Some minor FAQ updates that won't change the fact that
14916 our FAQ is badly structured, full of information hardly
14917 anyone new to GStreamer needs to know and lacking lots
14918 of information people constantly ask for.
14920 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14922 * gst/gstpad.c: (gst_pad_set_caps):
14923 Short-circuit gst_pad_set_caps if setting the existing
14924 caps pointer again, and avoid printing debug and
14925 reffing/unreffing the caps.
14927 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14928 There's actually no need to set the caps before pushing -
14929 the acceptcaps method will handle it anyway.
14931 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14933 * docs/gst/gstreamer-sections.txt:
14934 * win32/common/libgstreamer.def:
14935 * gst/gstutils.c: (gst_element_seek_simple):
14937 API: add gst_element_seek_simple() (#342238).
14939 2006-05-18 Edward Hervey <edward@fluendo.com>
14941 * gst/gsttypefind.c: (gst_type_find_get_type):
14942 * gst/gsttypefind.h:
14943 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14944 registered for GstTypeFind pointers. This allows wrapping the structure
14945 in bindings (i.e. gst-python).
14947 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14949 * gst/gsttagsetter.c:
14950 Docs additions and fixes (see #339918).
14952 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14954 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14955 The caps intersection algorithm can produce multiple copies of the
14956 caps. Until that is fixed, we need to simplify the result to be
14957 sure whether the allowed caps are fixed or not.
14959 * plugins/elements/gstqueue.c: (gst_queue_init),
14960 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14961 (gst_queue_push_one):
14962 Proxied buffer alloc should not set the caps on the source pad.
14963 When pushing buffers, we always accept the caps change that triggers.
14964 This prevents negotiation errors caused by caps changing mid-stream
14965 and then being refused on our source pad (because upstream is now
14966 refusing those caps).
14968 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14970 * tests/examples/helloworld/helloworld.c: (main):
14971 Must plug audioconvert and audioresample between decoder
14974 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14976 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14977 (load_feature), (load_plugin):
14978 Allow empty strings for some of the plugin fields so we don't
14979 drop valid plugin entries that were written out correctly
14982 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14984 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14985 Use g_remove and g_rename instead of remove and rename that don't
14986 handle utf8 characters. rename was failing for users who had specific
14987 characters in their name then the registry was built at each
14989 * win32/vs6/gst_inspect.dsp:
14990 * win32/vs6/gst_launch.dsp:
14991 * win32/vs6/libgstbase.dsp:
14992 * win32/vs6/libgstcoreelements.dsp:
14993 * win32/vs6/libgstreamer.dsp:
14994 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14995 build of libgstreamer and clean unused libraries in projects link
14998 2006-05-17 Edward Hervey <edward@fluendo.com>
15000 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15001 The queue is not responsible for pushing an EOS when receiving a fatal
15002 flow error. It's up to the real element driving the pipeline to do that.
15004 2006-05-16 Edward Hervey <edward@fluendo.com>
15006 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15007 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15008 buffer returned a fatal error. It should just send an EOS and stop
15010 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15011 when pushing buffers on the queue and will be able to handle the event.
15013 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15015 * docs/manual/basics-bins.xml:
15016 * docs/manual/basics-init.xml:
15017 Fix typos and minor errors in sample code (#341856).
15019 2006-05-16 Wim Taymans <wim@fluendo.com>
15021 * docs/design/part-qos.txt:
15022 Fix indexes in formulas to make more sense.
15024 2006-05-15 Wim Taymans <wim@fluendo.com>
15026 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15027 Don't report POSITION based on clock time if sync is
15028 disabled in a sink.
15030 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15033 Add cast to make compiler happy - refcount variable was a gint
15034 in GstObject but is a guint in GObject and g_atomic_int_get()
15037 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15039 * gst/parse/Makefile.am:
15040 chain commands using &&, which also makes parallel make work
15042 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15044 * docs/gst/gstreamer-sections.txt:
15047 * gst/gstmessage.h:
15050 === release 0.10.6 ===
15052 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15055 releasing 0.10.6, "Take the cannoli"
15057 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15059 * tools/gst-launch.c: (print_tag):
15060 Fix use of uninitialized variable in the hypothetical
15061 case that some broken plugin creates a GST_TAG_IMAGE
15062 tag containing a NULL buffer (#341667).
15064 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15066 * tools/gst-launch.c: (print_tag):
15067 Print something more intelligible for image tags when
15068 using the -t switch (#341556).
15070 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15075 define GST_MAJORMINOR so we have it available in win32/common/config.h
15076 Possibly remove it from our Makefile.am files later
15077 * win32/common/config.h:
15078 * win32/common/config.h.in:
15079 added GST_MAJORMINOR
15080 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15081 * win32/common/gstversion.h:
15084 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15087 Update win32 files listing.
15088 * win32/common/gstversion.h:
15089 Add GST_MAJORMINOR definition.
15090 * win32/common/libgstreamer.def:
15091 Add new exported functions.
15093 2006-05-12 Michael Smith <msmith@fluendo.com>
15095 * gst/gstplugin.c: (gst_plugin_load_file):
15096 If an so file has no plugin entry point, unload the module.
15098 2006-05-11 Wim Taymans <wim@fluendo.com>
15100 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15101 (gst_queue_set_property):
15102 Don't forget to signal the _chain or _loop function
15103 when the queue size or thresholds change since that might
15104 cause them to make progres again.
15106 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15108 * gst/gstclock.c: (gst_clock_class_init):
15109 * gst/gstindex.c: (gst_index_class_init):
15110 * gst/gstobject.c: (gst_object_class_init):
15111 * gst/gstpad.c: (gst_pad_class_init):
15112 * gst/gstpipeline.c: (gst_pipeline_class_init):
15113 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15114 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15115 * libs/gst/base/gstbasetransform.c:
15116 (gst_base_transform_class_init):
15117 * libs/gst/net/gstnetclientclock.c:
15118 (gst_net_client_clock_class_init):
15119 * libs/gst/net/gstnettimeprovider.c:
15120 (gst_net_time_provider_class_init):
15121 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15122 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15123 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15124 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15125 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15126 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15127 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15128 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15129 * plugins/elements/gsttee.c: (gst_tee_class_init):
15130 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15131 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15132 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15134 2006-05-11 Wim Taymans <wim@fluendo.com>
15136 * gst/gstbuffer.c: (_gst_buffer_initialize):
15137 Register subbufer along with the buffer type so that
15138 it does not accidentally gets registered from N
15139 different streaming threads in a non threadsafe way.
15141 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15145 * gst/gstmessage.h:
15146 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15147 gst_event_ref() and gst_message_ref() functions again
15148 (ugly hack, please do fix if there's a better way besides
15149 overrides.txt, which doesn't seem to work).
15151 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15153 * libs/gst/check/gstcheck.h:
15154 add an assert for setting state to avoid lots of repetitive code
15157 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15159 * gst/gstvalue.c: (gst_value_serialize_flags):
15160 fix a leak if no flags are set
15161 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15164 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15166 * docs/manual/basics-pads.xml:
15167 Expand a bit on caps and filtered links and update
15168 examples that were still using the no longer existing
15169 gst_pad_link_filtered() (#338206).
15171 2006-05-10 Wim Taymans <wim@fluendo.com>
15173 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15174 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15175 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15176 (gst_collect_pads_stop):
15177 * libs/gst/base/gstcollectpads.h:
15178 No need to call _stop in _finalize.
15179 Iterate the main pad list in _finalize.
15180 Added some more debug.
15181 Free lists and data in the right order.
15182 Also free data whem doing _remove_pad when stopped for
15183 backward compatibility protect ::started with PAD_LOCK as
15186 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15188 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15189 (gst_structure_parse_value):
15191 rename a method so that it actually says what it does better
15193 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15195 * gst/gstevent.c: (_gst_event_initialize):
15196 * gst/gstformat.c: (_gst_format_initialize):
15197 make sure some essential types used by events are registered
15198 as part of gst_init()
15199 * gst/gstvalue.c: (gst_value_serialize_flags):
15200 if no flags are set, serialize them to a value that represents NONE
15201 so that deserializing them works
15202 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15203 add tests for serialization and deserialization of flags
15205 2006-05-10 Wim Taymans <wim@fluendo.com>
15207 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15208 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15209 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15210 (gst_collect_pads_event), (gst_collect_pads_chain):
15213 Catch and return errors from the collect function
15214 Refuse data on eos pads.
15216 2006-05-10 Edward Hervey <edward@fluendo.com>
15218 * gst/gstinterface.h:
15219 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15220 GInterface type checking.
15221 They were previously using non-defined macros.
15223 2006-05-09 Wim Taymans <wim@fluendo.com>
15225 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15226 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15227 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15228 (gst_collect_pads_start), (gst_collect_pads_stop),
15229 (gst_collect_pads_peek), (gst_collect_pads_pop),
15230 (gst_collect_pads_available), (gst_collect_pads_read),
15231 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15232 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15233 (gst_collect_pads_chain):
15234 * libs/gst/base/gstcollectpads.h:
15235 Clean up the mess that is collectpads, add comments and
15236 FIXMEs where needed.
15237 Maintain a separate pad list so we can add pads while
15238 collecting the other ones. For this we need a new separate
15240 Fix memory leak in finalize.
15241 Refactor some weird code to set/unset pad flushing flags, mark
15243 Don't crash in _available, _read, _flush when we're EOS.
15245 * tests/check/libs/.cvsignore:
15246 Ignore adapter check binary.
15248 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15250 * gst/gstindex.c: (gst_index_resolver_get_type):
15251 * plugins/elements/gstfakesink.c:
15252 (gst_fake_sink_state_error_get_type):
15253 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15254 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15255 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15256 Const-ify GEnumValue arrays.
15258 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15260 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15261 Add test case for flags + gst_buffer_make_metadata_writable().
15263 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15265 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15266 gst_buffer_make_metadata_writable() should maintain the
15267 buffer flags (those that make sense at least) (see #340859).
15269 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15271 * tools/gst-inspect.c:
15272 * tools/gst-launch.c:
15273 * tools/gst-typefind.c:
15274 * tools/gst-xmlinspect.c:
15276 Fix up includes: need to include stdlib.h in tools.h for exit().
15278 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15280 * gst/gsttaglist.c: (_gst_tag_initialize):
15281 * gst/gsttaglist.h:
15282 API: add GST_TAG_IMAGE tag (#340721).
15284 2006-05-08 Wim Taymans <wim@fluendo.com>
15287 Added some docs for the segment query.
15289 2006-05-08 Wim Taymans <wim@fluendo.com>
15291 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15292 (gst_base_src_loop), (gst_base_src_change_state):
15293 Always push non-flushing serialized events in the streaming
15296 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15298 * gst/gsterror.c: (_gst_stream_errors_init):
15299 Add a missing error string.
15301 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15303 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15304 Add applied_rate to the debug
15306 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15307 Copy applied_rate into the outgoing NEWSEGMENT event
15309 2006-05-08 Wim Taymans <wim@fluendo.com>
15311 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15313 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15314 (gst_base_sink_change_state):
15315 call ::unlock before taking the PREROLL_LOCK so we can safely
15316 handle elements that lock in ::render.
15319 2006-05-08 Edward Hervey <edward@fluendo.com>
15321 * autogen.sh: (CONFIGURE_DEF_OPT):
15322 Darwin's libtoolize is in fact called glibtoolize.
15323 Adding glibtoolize to the list of accepted names for libtoolize.
15325 2006-05-08 Wim Taymans <wim@fluendo.com>
15327 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15328 Unify error handling, don't post an error message
15329 when a push() returns EOS but perform our normal EOS
15330 handling code. Fixes #340772.
15332 2006-05-08 Wim Taymans <wim@fluendo.com>
15334 * docs/design/part-overview.txt:
15335 Make upsteam/downstream concepts more clear.
15336 Give an example of serialized/non-serialized events.
15338 * docs/design/part-events.txt:
15339 * docs/design/part-streams.txt:
15340 Mention applied_rate.
15342 * docs/design/part-trickmodes.txt:
15343 Mention applied rate, flesh out some more use cases.
15345 * gst/gstevent.c: (gst_event_new_new_segment),
15346 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15347 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15348 (gst_event_parse_tag), (gst_event_new_buffer_size),
15349 (gst_event_parse_buffer_size), (gst_event_new_qos),
15350 (gst_event_parse_qos), (gst_event_parse_seek),
15351 (gst_event_new_navigation):
15353 Add applied_rate field to NEWSEGMENT event.
15354 API: gst_event_new_new_segment_full()
15355 API: gst_event_parse_new_segment_full()
15357 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15358 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15359 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15360 * gst/gstsegment.h:
15361 Add applied_rate to GstSegment structure.
15362 Make calculation of stream_time and running_time more correct
15363 wrt rate/applied_rate.
15364 Add some more docs.
15365 API: GstSegment::applied_rate field
15366 API: gst_segment_set_newsegment_full();
15368 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15369 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15370 * libs/gst/base/gstbasetransform.c:
15371 (gst_base_transform_sink_eventfunc),
15372 (gst_base_transform_handle_buffer):
15373 Parse and use applied_rate in the GstSegment field.
15375 * tests/check/gst/gstevent.c: (GST_START_TEST):
15376 Add check for applied_rate field.
15378 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15379 (gstsegments_suite):
15380 Add more checks for various GstSegment operations.
15382 2006-05-08 Wim Taymans <wim@fluendo.com>
15384 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15385 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15386 (gst_base_sink_get_position), (gst_base_sink_change_state):
15387 Store the sync time of the buffer end position separatly in a
15388 new variable eos_rtime so we can properly sync the EOS event.
15390 Fix the docs for gst_base_sink_set_qos_enabled().
15391 Don't set segment start to invalid value when we receive a
15392 non TIME newsegment.
15393 get closer to handling position reporting for negative rates
15396 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15399 Docs about how to print caps for debug purposes.
15401 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15402 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15404 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15406 * gst/gstelement.c:
15407 use full enum names and preprend a '%' in docs strings to make recent
15408 gtk-doc turn that into a link
15410 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15412 * docs/manual/basics-bins.xml:
15413 * docs/manual/basics-bus.xml:
15414 * docs/manual/basics-pads.xml:
15415 Some typo fixes, some additions, some clarifications.
15417 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15419 * tools/gst-inspect.c: (main):
15420 * tools/gst-launch.c: (main):
15421 * tools/gst-run.c: (main):
15422 * tools/gst-typefind.c: (main):
15423 * tools/gst-xmlinspect.c: (main):
15424 Use the string passed to g_option_context_new() for
15425 what it's intended for - the program name is already
15428 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15430 * tools/Makefile.am:
15431 * tools/gst-inspect.c: (main):
15432 * tools/gst-launch.c: (main):
15433 * tools/gst-xmlinspect.c: (main):
15435 Add back --version command line option (#340460).
15437 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15438 Add --version option and use GOption for argument parsing; refactor a
15439 bit; accept directories as arguments and recurse into them; lastly,
15440 print a decent error message when things go wrong.
15442 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15444 * docs/manual/basics-bins.xml:
15445 Don't mention GstThread (#340611)
15446 * docs/manual/basics-elements.xml:
15447 Update link to GObject tutorial (#340607)
15449 2006-05-05 Wim Taymans <wim@fluendo.com>
15452 * gst/gstminiobject.c:
15453 Add note about refcounting and miniobject/buffer writeability
15454 to docs. Fixes #340604
15456 * gst/gstelementfactory.h:
15457 Added some explanation about @klass.
15459 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15461 * docs/manual/intro-motivation.xml:
15462 * docs/manual/manual.xml:
15463 Avoid CORBA & Bonobo references (#340598)
15465 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15467 * docs/manual/basics-bus.xml:
15468 * docs/manual/basics-pads.xml:
15469 Fix up some inaccuracies and omissions (#340609)
15471 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15473 * gst/gstghostpad.c:
15474 Small typo in docs (#340625)
15476 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15478 * gst/parse/Makefile.am:
15479 Make 'make -j' proof (see #340698).
15481 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15484 Require GLib-2.8 here as well.
15486 2006-05-05 Wim Taymans <wim@fluendo.com>
15488 * gst/glib-compat.c:
15489 * gst/gst.c: (init_pre):
15490 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15491 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15492 (gst_object_dispatch_properties_changed):
15494 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15495 * gst/gststructure.c: (gst_structure_set_valist):
15496 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15497 Remove pre glib2.8 compatibility, fixes #340508
15499 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15501 * gst/gsttaglist.h:
15502 Mention type of tags in doc blurbs.
15504 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15506 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15507 (gst_pad_configure_src), (gst_pad_push):
15508 Restore acceptcaps checking behaviour now that good plugins have
15511 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15513 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15520 * gst/gstmessage.c:
15524 * gst/parse/Makefile.am:
15525 * libs/gst/base/gstadapter.c:
15526 * libs/gst/base/gstbasesrc.c:
15527 * libs/gst/base/gstpushsrc.c:
15528 * libs/gst/base/gsttypefindhelper.c:
15529 * plugins/elements/gstfakesrc.c:
15530 * plugins/elements/gstidentity.c:
15531 Make sure gstprivate.h and/or config.h are
15532 always included first, otherwise some of our
15533 defines (like _FILE_OFFSET_BITS) might be
15534 redefined in the system headers. Fixes build
15535 on opensolaris (#340016).
15537 2006-05-04 Wim Taymans <wim@fluendo.com>
15539 * docs/libs/gstreamer-libs-sections.txt:
15540 API: addition: gst_adapter_take_buffer()
15542 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15543 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15544 (gst_adapter_available_fast):
15545 * libs/gst/base/gstadapter.h:
15546 Prepare for optimizing the hell out of this hugely inefficient
15548 Added gst_adapter_take_buffer() so we can at least start thinking
15549 about subbuffering and merging.
15550 Added some comments.
15552 * tests/check/Makefile.am:
15553 * tests/check/libs/adapter.c: (GST_START_TEST),
15554 (gst_adapter_suite), (main):
15555 Added GstAdapter check.
15557 2006-05-04 Wim Taymans <wim@fluendo.com>
15559 * docs/design/part-overview.txt:
15560 Fix some typos, add blurb about buffer flags.
15562 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15564 * docs/libs/gstreamer-libs-sections.txt:
15565 make sure GstBaseTransformClass shows up in the docs
15566 * libs/gst/base/gstbasetransform.c:
15567 * libs/gst/base/gstbasetransform.h:
15568 move docs so gtk-doc picks it up now
15570 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15572 * docs/libs/gstreamer-libs-sections.txt:
15573 add missing symbols to docs
15575 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15577 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15578 back out the newsegment handling change, see #340060 for ongoing
15581 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15583 * tools/gst-run.c: (get_candidates), (main):
15584 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15585 work); fix typo in error message. Fixes #340079.
15587 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15589 * common/Makefile.am:
15590 * docs/Makefile.am:
15591 * docs/faq/Makefile.am:
15592 * docs/gst/Makefile.am:
15593 * docs/libs/Makefile.am:
15594 * docs/manual/Makefile.am:
15595 * docs/plugins/Makefile.am:
15596 * docs/pwg/Makefile.am:
15597 * docs/slides/Makefile.am:
15599 * common/upload.mak:
15600 move upload.mak to common
15602 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15604 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15605 add more asserts on refcounts
15606 do more cleanup at end of tests
15607 fix test leaks showing in FC5
15609 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15611 * plugins/elements/gsttypefindelement.c:
15612 (gst_type_find_element_handle_event):
15613 reverted wrong change and reflowed code to avoid others falling into
15616 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15619 fix changelog entry about last collectpads change,
15620 add notes about proper fix
15622 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15625 * gst/gstregistry.c: (gst_registry_scan_path_level),
15626 (gst_registry_scan_path):
15627 * gst/gstregistry.h:
15628 only write out registry if it has changed, fixes #338339
15630 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15633 * gst/gstpipeline.c:
15634 * plugins/elements/gstcapsfilter.c:
15635 * plugins/elements/gstfakesink.c:
15636 * plugins/elements/gstfakesrc.c:
15637 * plugins/elements/gstfdsink.c:
15638 * plugins/elements/gstfdsrc.c:
15639 * plugins/elements/gstfilesink.c:
15640 * plugins/elements/gstfilesrc.c:
15641 * plugins/elements/gstidentity.c:
15642 * plugins/elements/gstqueue.c:
15643 * plugins/elements/gsttee.c:
15644 * plugins/elements/gsttypefindelement.c:
15645 (gst_type_find_element_handle_event):
15646 make GstElementDetails const
15648 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15650 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15651 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15652 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15653 more detailed debug and formatting cleanup,
15654 forward newsegments to src-pad (so that e.g. adder not eats them)
15656 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15658 * gst/gstutils.c: (gst_element_link_pads):
15659 cleanup double code
15661 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15663 * libs/gst/controller/gstcontroller.c:
15664 (gst_controller_sync_values):
15666 * tests/check/libs/controller.c: (GST_START_TEST),
15667 (gst_controller_suite):
15668 a new test for live value handling
15670 2006-04-28 Wim Taymans <wim@fluendo.com>
15672 * gst/gstutils.c: (push_and_ref):
15673 Added some more docs.
15674 Fix refcount issue whith gst_element_found_tags() helper
15675 function. Fixes #338335
15677 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15678 Added testsuite for gst_element_found_tags().
15680 2006-04-28 Michael Smith <msmith@fluendo.com>
15682 * gst/gstvalue.c: (gst_value_serialize_flags):
15683 Avoid NULL dereference when trying to serialize flags containing
15686 2006-04-28 Michael Smith <msmith@fluendo.com>
15688 * plugins/elements/gsttypefindelement.c:
15689 (gst_type_find_element_handle_event):
15690 If we get EOS before any data is accumulated, don't use
15691 uninitialised local variables.
15693 2006-04-28 Michael Smith <msmith@fluendo.com>
15695 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15696 (gst_dp_event_from_packet):
15697 Fixes in reading/writing events over GDP (not currently used?) -
15698 dereferencing NULL events for unknown/invalid event types, memory
15699 leak, and change g_warning to GST_WARNING.
15701 2006-04-28 Wim Taymans <wim@fluendo.com>
15703 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15704 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15705 (gst_base_sink_get_position), (gst_base_sink_change_state):
15706 When frame dropping is enabled, we should not ignore frames
15707 without a duration.
15708 Update some documentation.
15710 2006-04-28 Wim Taymans <wim@fluendo.com>
15712 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15713 (gst_base_src_send_event), (gst_base_src_change_state):
15714 Documentation updates.
15716 2006-04-28 Wim Taymans <wim@fluendo.com>
15718 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15719 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15720 handle EAGAIN, EINTR and short writes correctly. Also clean
15721 up some error cases, avoid a deadlock on bad file descriptors and
15722 use GST_DEBUG_OBJECT.
15725 2006-04-28 Wim Taymans <wim@fluendo.com>
15727 * gst/gstvalue.c: (gst_value_serialize_buffer),
15728 (gst_value_deserialize_buffer):
15729 Don't try to serialize a GValue with a NULL buffer.
15732 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15733 Added check for serialisation of NULL buffers.
15735 2006-04-28 Wim Taymans <wim@fluendo.com>
15737 * gst/gstminiobject.c: (gst_value_take_mini_object):
15738 Taking a NULL miniobject is valid, fix the case where
15739 we try to unref the NULL miniobject.
15741 2006-04-28 Wim Taymans <wim@fluendo.com>
15743 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15745 * gst/gstbin.c: (gst_bin_handle_message_func):
15747 Don't leak bin refcount when a state recalc is
15748 in progress and we delay another one #339808.
15750 2006-04-28 Wim Taymans <wim@fluendo.com>
15752 * docs/design/part-TODO.txt:
15753 Mention QoS as an ongoing work item.
15755 * docs/design/part-buffering.txt:
15756 New doc about buffering that needs to be fleshed out
15759 * docs/design/part-qos.txt:
15760 More QoS policy for decoders/demuxers/transforms
15762 * docs/design/part-trickmodes.txt:
15765 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15770 === release 0.10.5 ===
15772 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15775 releasing 0.10.5, "Fogo"
15777 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15779 patch by: Wim Taymans
15781 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15782 (gst_pad_configure_src), (gst_pad_push):
15783 * gst/gstpipeline.c: (gst_pipeline_init):
15784 Fix internal data flow errors. Fixes #338711.
15786 2006-04-12 Wim Taymans <wim@fluendo.com>
15788 * tests/check/gst/gstelement.c: (GST_START_TEST):
15789 Don't leak the factory.
15791 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15794 * win32/common/config.h:
15797 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15799 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15800 (gst_controller_unset_all):
15801 Free allocated GstTimedValues when freeing list nodes.
15802 Should fix leaks 'make check-valgrind' complains about.
15804 * win32/common/libgstcontroller.def:
15805 Add gst_controller_unset_all.
15807 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15809 * docs/libs/gstreamer-libs-sections.txt:
15810 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15811 (gst_controller_unset_all):
15812 * libs/gst/controller/gstcontroller.h:
15813 API: Added new method gst_controller_unset_all()
15814 fixed gst_controller_unset()
15815 * tests/check/libs/controller.c: (GST_START_TEST),
15816 (gst_controller_suite):
15817 Added two testcases for new and fixed method
15819 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15821 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15822 MSG_DONTWAIT is not defined on Cygwin, so work
15823 around that (fixes #317048).
15825 2006-04-11 Wim Taymans <wim@fluendo.com>
15827 * gst/gstelementfactory.c: (gst_element_register),
15828 (gst_element_factory_create), (gst_element_factory_make):
15831 Updated docs (Fixes #131079)
15833 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15836 * tests/check/gst/gstelement.c: (GST_START_TEST),
15837 (gst_element_suite):
15838 Added testcase for elementfactory class field.
15840 2006-04-10 Wim Taymans <wim@fluendo.com>
15842 * gst/gstsegment.c:
15843 Added some more docs.
15845 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15846 (gst_base_sink_reset_qos):
15847 Calculate more accurate rate values.
15849 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15851 * gst/gst_private.h:
15852 add a new #ifdef to use __declspec(dllimport) only for
15853 other modules and not for gstreamer core
15854 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15855 use gst_guint64_to_gdouble for conversion
15856 * win32/common/libgstreamer.def:
15857 add new exported functions
15858 * win32/vs6/gst_inspect.dsp:
15859 * win32/vs6/gst_launch.dsp:
15860 * win32/vs6/libgstbase.dsp:
15861 * win32/vs6/libgstcontroller.dsp:
15862 * win32/vs6/libgstcoreelements.dsp:
15863 * win32/vs6/libgstdataprotocol.dsp:
15864 * win32/vs6/libgstnet.dsp:
15865 update project files
15867 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15869 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15870 * gst/gstclock.c: (gst_clock_class_init):
15871 * gst/gstelement.c: (gst_element_class_init):
15872 * gst/gstindex.c: (gst_index_class_init):
15873 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15874 * gst/gstobject.c: (gst_object_class_init),
15875 (gst_signal_object_class_init):
15876 * gst/gstpad.c: (gst_pad_class_init):
15877 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15878 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15879 * gst/gstregistry.c: (gst_registry_class_init):
15880 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15881 * gst/gsttask.c: (gst_task_class_init):
15882 * gst/gstxml.c: (gst_xml_class_init):
15883 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15884 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15885 (gst_base_src_loop):
15886 * libs/gst/controller/gstcontroller.c:/
15887 (_gst_controller_class_init):
15888 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15889 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15890 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15891 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15892 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15893 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15895 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15897 * gst/gstpad.c: (gst_pad_link):
15898 Must set peer pads before calling the link function, otherwise
15899 a task started from a link function might get a flow-not-linked
15900 result when trying to push because the other thread where the
15901 linking happens hasn't had a chance to set the peers yet. This
15902 might happen for example when a queue gets linked to a downstream
15903 element, as queue starts a streaming task when its source pad
15904 gets linked. Happens in real life when playing back flac/musepack
15905 files in playbin (#332390).
15907 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15911 * libs/gst/base/gstadapter.h:
15912 * libs/gst/base/gstbasesink.h:
15913 * libs/gst/base/gstbasesrc.h:
15914 * libs/gst/base/gstbasetransform.h:
15915 * libs/gst/base/gstcollectpads.h:
15916 * libs/gst/base/gstpushsrc.h:
15917 Fix broken GObject macros
15919 2006-04-07 Wim Taymans <wim@fluendo.com>
15921 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15922 Initialize start and stop times, thanks valgrind.
15924 2006-04-07 Wim Taymans <wim@fluendo.com>
15926 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15927 Be a bit nicer to badly behaving upstream elements that expect
15928 us to deal with non TIME segments and timestamps (such as fakesrc
15931 2006-04-07 Wim Taymans <wim@fluendo.com>
15934 Small documentation clarification about the signal watch.
15936 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15937 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15938 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15939 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15940 (gst_base_sink_get_position_last),
15941 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15942 Convert and store timestamps in stream time and running time, the
15943 raw timestamps are not useful, also document this better.
15944 Use different window sizes for good and bad QoS observations so
15945 we react to badness a little quicker.
15946 Keep track of the amount of rendered and dropped buffers.
15947 Send QoS timestamps in running time.
15949 * libs/gst/base/gstbasetransform.c:
15950 (gst_base_transform_sink_eventfunc),
15951 (gst_base_transform_handle_buffer):
15952 Compare QoS timestamps against running time.
15954 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15957 Typo fixes in docs.
15959 2006-04-06 Michael Smith <msmith@fluendo.com>
15961 * gst/gstpad.c: (gst_pad_set_property):
15962 Use g_value_get_object() instead of g_value_dup_gst_object(),
15963 to avoid double-reffing the pad template (which we then sink,
15964 so this worked previously if (and only if) the pad template
15967 * gst/gstpadtemplate.c: (gst_pad_template_init),
15968 (gst_pad_template_pad_created):
15969 Never return floating references to pad templates, create
15970 them as initially-sunken.
15972 Document an extra function (and make this stop sinking our
15973 pad template, since that is now guaranteed to do nothing,
15974 since we created it sunken).
15976 * gst/gstghostpad.c:
15979 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15981 * gst/gstinfo.c: (__gst_in_valgrind):
15984 * plugins/elements/gsttypefindelement.c:
15985 (gst_type_find_element_chain):
15986 Don't leak buffer caps.
15988 2006-04-06 Michael Smith <msmith@fluendo.com>
15990 * gst/parse/grammar.y:
15991 Fix a leak in parse-launch for any source-or-sink named element
15994 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15995 Unref the pipeline if it exists after we've failed parsing.
15997 2006-04-05 Michael Smith <msmith@fluendo.com>
15999 * gst/gstpipeline.c: (gst_pipeline_init):
16000 When we create a pipeline bus, initially create it in flushing mode.
16001 Fixes leaks in at least one test, and makes a new pipeline work the
16002 same as one that has gone to READY and then back to NULL.
16004 * gst/gstelement.c:
16007 2006-04-05 Michael Smith <msmith@fluendo.com>
16009 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16010 Unref a pad we reffed.
16011 * tests/check/gst/gstutils.c: (GST_START_TEST):
16014 2006-04-05 Michael Smith <msmith@fluendo.com>
16016 * gst/gstquery.c: (gst_query_set_formats),
16017 (gst_query_set_formatsv):
16018 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16020 2006-04-05 Michael Smith <msmith@fluendo.com>
16022 * tests/check/generic/sinks.c: (GST_START_TEST):
16023 Fix a variety of memleaks in sinks check, which are only sometimes
16024 shown by running the tests under valgrind (weird?).
16026 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16028 * docs/version.entities.in:
16029 Fix the substituted entity name after thomas' changes on the
16032 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16034 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16037 2006-04-05 Andy Wingo <wingo@pobox.com>
16039 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16041 * libs/gst/base/gstbasetransform.c
16042 (gst_base_transform_sink_eventfunc): When resetting our segment on
16043 FLUSH_STOP, also update the flag saying we haven't seen a
16046 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16048 Patch by: Paolo Borelli <pborelli at katamail dot com>
16050 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16051 (gst_plugin_check_license):
16052 minor clean-ups: G_DEFINE_TYPE already takes care of the
16053 parent_class stuff, no need to do it twice. Mark array of
16054 license strings as constant. (#337103)
16056 2006-04-04 Michael Smith <msmith@fluendo.com>
16058 * tools/gst-inspect.c: (print_element_list):
16059 Free the right plugin list; fixes a memory leak.
16061 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16063 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16065 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16066 Don't error out on empty buffers (#336945).
16068 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16070 * docs/libs/gstreamer-libs-sections.txt:
16071 * gst/gsttaglist.c:
16072 * libs/gst/base/gstbasesink.c:
16073 * libs/gst/base/gstbasesink.h:
16074 * libs/gst/base/gstbasesrc.c:
16075 * libs/gst/base/gstbasesrc.h:
16076 Documentation updates. Make BaseSink and BaseSrc docs contain the
16077 class structure so that people can actually see the prototypes for
16078 virtual functions they're supposed to be overriding.
16080 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16082 * plugins/elements/gsttypefindelement.c:
16083 (gst_type_find_element_chain):
16084 More debug info; when skipping typefinding, send cached
16085 events in all cases.
16087 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16090 use new AS_VERSION and AS_NANO macros
16091 * gst/gst-i18n-lib.h:
16094 * gst/gstversion.h.in:
16095 * win32/common/config.h:
16096 * win32/common/config.h.in:
16099 2006-03-31 Michael Smith <msmith@fluendo.com>
16101 * plugins/elements/gsttypefindelement.c:
16102 (gst_type_find_element_chain):
16103 Do not typefind content if the buffers already have caps.
16104 Neccesary for icydemux (#333657), and the right thing to do anyway.
16106 2006-03-30 Wim Taymans <wim@fluendo.com>
16108 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16109 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16110 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16111 (gst_base_sink_record_qos_observation),
16112 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16113 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16114 (gst_base_sink_change_state):
16115 More QoS measurements as described in the design doc.
16116 Get rid of ringbuffer with observations, running average is
16117 more simple and equally good.
16118 Calculates valid proportion now.
16119 Added beginning of flood measurement.
16121 2006-03-29 Wim Taymans <wim@fluendo.com>
16123 * docs/design/part-qos.txt:
16125 Small documentation updates and additions.
16127 2006-03-29 Wim Taymans <wim@fluendo.com>
16129 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16130 (gst_base_src_send_event), (gst_base_src_loop),
16131 (gst_base_src_change_state):
16132 Perform the EOS logic when we reach the segment stop position.
16133 Fix compilation on gcc4.1
16135 2006-03-29 Wim Taymans <wim@fluendo.com>
16137 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16139 * plugins/elements/gstqueue.c: (gst_queue_init),
16140 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16141 (gst_queue_set_property):
16142 * plugins/elements/gstqueue.h:
16143 In queue, when EOS is received, if minimum threshold > max_size -
16144 current_level, there is chance that queue blocks forever in conditional
16145 item del wait. This is because the queue is not emptied completely due
16146 to minimum threshold. Here is another approach. Instead of setting
16147 cur_levels to max in EOS, just zero all minimum threshold levels. This
16148 should make sure that queue gives out all data. When going to READY
16149 (stop) state, just reset the original minimum threshold levels.
16152 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16154 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16155 (gst_type_find_element_handle_event),
16156 (gst_type_find_element_send_cached_events),
16157 (gst_type_find_element_change_state):
16158 * plugins/elements/gsttypefindelement.h:
16159 When typefinding is done in push mode, we should cache
16160 events we receive during typefinding instead of just
16161 dropping them (e.g. newsegment, custom events from
16162 dvdreadsrc etc.) and then send them out once we've
16163 determined the type of the stream (and decodebin
16164 has had a chance to plug in a decoder/demuxer).
16166 2006-03-27 Wim Taymans <wim@fluendo.com>
16168 * docs/design/part-qos.txt:
16171 2006-03-27 Wim Taymans <wim@fluendo.com>
16173 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16175 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16176 (gst_base_src_send_event), (gst_base_src_change_state):
16177 Handle element seek correctly when we are streaming.
16180 2006-03-24 Michael Smith <msmith@fluendo.com>
16182 * docs/faq/gst-uninstalled:
16183 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16184 allow you to correctly run intalled applications built against old
16185 core, using plugins that require updated core (e.g. running
16186 installed totem against a full uninstalled gstreamer stack)
16188 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16190 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16193 2006-03-24 Wim Taymans <wim@fluendo.com>
16195 * docs/gst/gstreamer-sections.txt:
16196 Rearrange the order of the methods so that related methods
16197 are grouped together in sections.
16199 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16201 * gst/gstelement.c:
16202 Little clarification in the docs
16204 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16208 * plugins/elements/gstidentity.c:
16209 * plugins/elements/gstqueue.c:
16210 * plugins/elements/gsttee.c:
16211 * plugins/elements/gsttypefindelement.c:
16212 GST_ELEMENT_DETAILS formatting
16214 2006-03-24 Wim Taymans <wim@fluendo.com>
16216 * libs/gst/base/gstbasesink.h:
16217 Only add fields, not insert or we break ABI.
16219 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16221 * win32/common/libgstbase.def:
16222 * win32/common/libgstreamer.def:
16223 Update, add recently added functions.
16225 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16227 * docs/gst/gstreamer-sections.txt:
16228 * gst/gstutils.c: (gst_pad_query_peer_position),
16229 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16231 API: add some new utility functions:
16232 - gst_pad_query_peer_position()
16233 - gst_pad_query_peer_duration()
16234 - gst_pad_query_peer_convert()
16236 2006-03-23 Wim Taymans <wim@fluendo.com>
16238 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16239 (gst_base_sink_init), (gst_base_sink_finalize),
16240 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16241 (gst_base_sink_set_property), (gst_base_sink_get_property),
16242 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16243 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16244 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16245 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16246 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16247 (gst_base_sink_preroll_object), (gst_base_sink_event),
16248 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16249 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16250 (gst_base_sink_query), (gst_base_sink_change_state):
16251 Decouple max-lateness and the fact that QoS messages are generated
16252 with a new property (qos).
16253 added API: GstBaseSink::async_play()
16254 Add vmethod so subclasses can be notified of ASYNC playing
16256 Collect timestamp start and stop to report better current
16257 position in EOS/PLAYING/PAUSED/READY/NULL.
16258 Refactor QoS/frame dropping and other measurements.
16259 API: GstBaseSrc::qos
16262 * libs/gst/base/gstbasesink.h:
16263 Added Private struct.
16264 API: gst_base_sink_set_qos_enabled()
16265 API: gst_base_sink_is_qos_enabled()
16267 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16269 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16270 If compiling against GLib-2.8 or newer, try to read the
16271 registry file using GMappedFile first before falling back
16272 to fopen() + fread() (#332151).
16274 2006-03-22 Wim Taymans <wim@fluendo.com>
16276 * gst/gstinfo.c: (gst_debug_set_active),
16277 (gst_debug_category_set_threshold):
16278 Disable debugging unless explicitly activated.
16281 2006-03-22 Wim Taymans <wim@fluendo.com>
16283 * gst/gstelement.c: (gst_element_set_locked_state),
16284 (gst_element_dispose):
16285 Cleanup the error case.
16287 * gst/gstobject.c: (gst_object_dispose):
16288 print a critical when some object was disposed with
16289 a parent, also revive the object since it might
16292 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16294 * tools/gst-launch.1.in:
16297 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16300 * tests/check/Makefile.am:
16301 disable some tests when we don't have a registry
16302 * tests/check/gst/gstutils.c: (gst_utils_suite):
16303 don't build the part that needs parsing
16305 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16308 * tests/examples/Makefile.am:
16309 fix --disable-parse build
16311 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16313 * tools/gst-feedback.1.in:
16314 Fix typo: s/feeback/feedback/ (#133494).
16316 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16318 * tools/Makefile.am:
16319 * tools/gst-launch.1.in:
16320 Add FILES section and correct entry about GST_REGISTRY_PATH
16321 environment variable (#133495; #133494).
16323 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16325 * tools/Makefile.am:
16326 * tools/gst-md5sum.1.in:
16327 * tools/gst-md5sum.c:
16328 Remove gst-md5sum and man page (the md5sink element
16329 required was removed ages ago)
16331 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16333 * gst/gststructure.c: (gst_structure_id_set_value):
16334 Make sure that string fields in structures/taglists
16335 contain valid UTF-8 - we don't want to pass rubbish to
16336 applications because of a buggy plugin (cp. #334167).
16338 2006-03-21 Edward Hervey <edward@fluendo.com>
16340 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16341 (gst_bin_handle_message_func):
16342 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16343 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16344 (gst_element_set_bus_func):
16345 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16346 * gst/gstminiobject.c: (gst_value_set_mini_object),
16347 (gst_value_take_mini_object):
16348 * gst/gstpad.c: (gst_pad_set_pad_template):
16349 * gst/gstpipeline.c: (gst_pipeline_dispose),
16350 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16351 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16352 (gst_collect_pads_chain):
16353 * libs/gst/net/gstnettimeprovider.c:
16354 (gst_net_time_provider_set_property):
16355 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16356 It's in fact all issues with gst_*object_replace().
16358 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16360 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16362 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16363 * pkgconfig/gstreamer-check.pc.in:
16364 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16366 2006-03-21 Edward Hervey <edward@fluendo.com>
16370 * gst/gstmessage.h:
16371 gst_[buffer|event|message]_ref() macros are replaced by a static
16372 inline functions because gcc-4.1 will about if the return value
16374 * tests/check/gst/gstevent.c: (event_probe):
16375 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16377 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16380 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16381 the type' case. (Closes: #335195 for now). In the future, when we
16382 depend on GLib 2.10, we could also intern the type name using
16383 g_intern_static_string()
16385 2006-03-20 Wim Taymans <wim@fluendo.com>
16387 * gst/gstbin.c: (gst_bin_handle_message_func),
16388 (bin_query_max_init), (bin_query_position_fold),
16389 (bin_query_position_done), (gst_bin_query):
16390 Position query should also take max of all streams.
16392 2006-03-20 Wim Taymans <wim@fluendo.com>
16394 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16395 (gst_fake_src_finalize):
16396 Fix leaks in fakesrc.
16398 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16399 Fix leaks in the testcase.
16401 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16403 * gst/gst_private.h:
16404 add win32 specific import decoration(__declspec(dllimport))
16405 for all extern GstDebugCategory * variables
16406 * win32/common/libgstbase.def:
16407 * win32/common/libgstcontroller.def:
16408 * win32/common/libgstreamer.def:
16409 Add some exports, remove empty lines
16410 * win32/common/libgstdataprotocol.def:
16411 * win32/common/libgstdataprotocol.dsp:
16412 * win32/common/libgstnet.def:
16413 * win32/common/libgstnet.dsp:
16414 new project files and exportation files added
16416 2006-03-19 Wim Taymans <wim@fluendo.com>
16418 * tests/check/libs/basesrc.c: (eos_event_counter):
16419 Use proper return value for probe.
16421 2006-03-17 Wim Taymans <wim@fluendo.com>
16423 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16425 Don't leak buffers, caps and pads on negotiation errors.
16427 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16429 * docs/faq/cvs.xml:
16430 * docs/faq/dependencies.xml:
16431 * docs/faq/developing.xml:
16432 * docs/faq/faq.xml:
16433 * docs/faq/general.xml:
16434 * docs/faq/getting.xml:
16435 * docs/faq/legal.xml:
16436 * docs/faq/troubleshooting.xml:
16437 * docs/faq/using.xml:
16438 Faq review and update.
16440 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16442 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16444 Don't pound the cpu to pieces by checking get_caps when accept_caps
16445 is called with the same caps as the pad already has.
16446 Use GST_DEBUG_OBJECT when outputting caps change information.
16448 2006-03-15 Wim Taymans <wim@fluendo.com>
16450 * gst/gstclock.c: (gst_clock_class_init):
16453 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16458 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16459 (gst_pad_accept_caps), (gst_pad_configure_sink),
16460 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16461 Make the default acceptcaps behaviour be to check the requested
16462 caps against the gst_pad_get_caps output.
16464 Ensure that gst_pad_accept_caps is used to check caps when a pad
16465 doesn't have a setcaps function, so that pads automatically refuse
16466 caps that they don't allow in their pad template. (Fixes #332986)
16468 When a buffer with attached caps is pushed, ensure that the source
16469 pad receives those caps even if the element didn't call
16470 gst_pad_set_caps first.
16472 2006-03-15 Wim Taymans <wim@fluendo.com>
16474 * libs/gst/base/gstadapter.c:
16477 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16479 * win32/common/libgstbase.def:
16480 * win32/common/libgstcontroller.def:
16481 * win32/common/libgstreamer.def:
16482 Add a whole bunch of missing functions (#334434).
16484 2006-03-14 Wim Taymans <wim@fluendo.com>
16486 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16487 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16488 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16489 Better debug info when we receive a segment event.
16490 Reorganize a bit so we can pass the get_times() results around.
16491 Use the segment format when calculating the running time.
16492 Don't do QoS is sync is disabled or we have no clock or the
16493 element does not want us to sync to the clock.
16494 Don't drop buffers if QoS is disabled for now.
16496 2006-03-14 Wim Taymans <wim@fluendo.com>
16498 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16499 Marked the stats property as unimplemented so people don't get
16501 Add debug message when regression goes wrong.
16502 Added some more docs.
16504 2006-03-14 Wim Taymans <wim@fluendo.com>
16506 * gst/gstsegment.c: (gst_segment_to_stream_time):
16507 Return correct return type in case of errors.
16509 2006-03-14 Wim Taymans <wim@fluendo.com>
16511 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16512 Don't segfault on invalid formats.
16514 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16516 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16517 Can't use gst_segment_to_running_time() when the segment
16518 is not in GST_TIME_FORMAT (like with filesink, for example).
16519 Stops flac encoding pipelines from spewing critical warnings
16522 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16524 * gst/gstpipeline.c: (gst_pipeline_class_init):
16525 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16527 * plugins/elements/gsttypefindelement.c:
16528 (gst_type_find_element_handle_event):
16529 Don't try to typefind empty streams.
16531 2006-03-14 Wim Taymans <wim@fluendo.com>
16533 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16534 (gst_base_sink_do_qos):
16535 Separate QoS calculation.
16536 Only drop buffers when lateness is bigger than the
16537 duration of the buffer.
16539 2006-03-13 Wim Taymans <wim@fluendo.com>
16541 * gst/gstpipeline.c: (gst_pipeline_set_property),
16542 (gst_pipeline_get_property), (do_pipeline_seek),
16543 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16544 (gst_pipeline_get_delay):
16545 Don't deadlock when reading properties.
16547 2006-03-13 Wim Taymans <wim@fluendo.com>
16549 * libs/gst/base/gstbasetransform.c:
16550 (gst_base_transform_class_init), (gst_base_transform_init),
16551 (gst_base_transform_sink_event),
16552 (gst_base_transform_sink_eventfunc),
16553 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16554 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16555 (gst_base_transform_set_property),
16556 (gst_base_transform_get_property),
16557 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16558 (gst_base_transform_set_qos_enabled),
16559 (gst_base_transform_is_qos_enabled):
16560 * libs/gst/base/gstbasetransform.h:
16561 Make basetransform virtual method for src events too.
16562 Handle QOS in basetransform.
16563 API: gst_base_transform_update_qos()
16564 API: gst_base_transform_set_qos_enabled()
16565 API: gst_base_transform_is_qos_enabled()
16567 2006-03-13 Wim Taymans <wim@fluendo.com>
16569 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16570 (gst_base_sink_do_sync):
16572 Use QOS debug category.
16574 2006-03-13 Wim Taymans <wim@fluendo.com>
16576 * plugins/elements/gstqueue.c:
16577 Very small doc update.
16579 2006-03-13 Wim Taymans <wim@fluendo.com>
16581 * gst/gst_private.h:
16582 * gst/gstinfo.c: (_gst_debug_init):
16583 Added QOS debug category
16585 2006-03-13 Wim Taymans <wim@fluendo.com>
16587 * docs/gst/gstreamer-sections.txt:
16588 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16590 * gst/gstbus.c: (gst_bus_class_init):
16593 * gst/gstelement.c: (gst_element_set_locked_state):
16594 * gst/gstsegment.c:
16595 Documentation updates.
16597 * gst/gstpipeline.c: (gst_pipeline_get_type),
16598 (gst_pipeline_class_init), (gst_pipeline_init),
16599 (gst_pipeline_dispose), (gst_pipeline_set_property),
16600 (gst_pipeline_get_property), (do_pipeline_seek),
16601 (gst_pipeline_send_event), (gst_pipeline_change_state),
16602 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16603 (gst_pipeline_get_delay):
16604 * gst/gstpipeline.h:
16605 Added methods for setting the delay.
16606 API: gst_pipeline_set_delay()
16607 API: gst_pipeline_get_delay()
16608 Add pipeline debug category
16611 Don't reset stream time when seek failed.
16613 2006-03-13 Wim Taymans <wim@fluendo.com>
16615 * docs/design/draft-klass.txt:
16616 * docs/design/part-clocks.txt:
16617 * docs/design/part-events.txt:
16618 * docs/design/part-gstbin.txt:
16619 * docs/design/part-gstpipeline.txt:
16620 * docs/design/part-messages.txt:
16621 * docs/design/part-negotiation.txt:
16622 * docs/design/part-overview.txt:
16623 * docs/design/part-preroll.txt:
16624 * docs/design/part-seeking.txt:
16625 * docs/design/part-states.txt:
16626 * docs/design/part-streams.txt:
16627 Documentation updates.
16629 2006-03-12 Julien MOUTTE <julien@moutte.net>
16631 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16632 us to leak strings...
16634 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16636 * libs/gst/net/gstnettimeprovider.c:
16638 * win32/common/config.h:
16641 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16643 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16646 Don't check for libgnomeui (leftover from old examples
16647 that aren't built or disted any longer) (#334303).
16649 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16651 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16652 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16653 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16654 there's no space left on the device.
16656 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16659 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16660 to cast the input to GstClockTime before comparing with
16661 another GstClockTime value.
16663 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16668 === release 0.10.4 ===
16670 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16673 releasing 0.10.4, "Light"
16675 2006-03-10 Michael Smith <msmith@fluendo.com>
16677 * libs/gst/dataprotocol/dataprotocol.c:
16678 Fix docs for dataprocotol to not get the return types completely
16679 wrong for a few functions.
16681 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16683 * docs/gst/gstreamer-sections.txt:
16684 * gst/gstpipeline.c: (gst_pipeline_class_init),
16685 (gst_pipeline_init), (gst_pipeline_set_property),
16686 (gst_pipeline_get_property), (gst_pipeline_change_state),
16687 (gst_pipeline_set_auto_flush_bus),
16688 (gst_pipeline_get_auto_flush_bus):
16689 * gst/gstpipeline.h:
16690 Add new API: gst_pipeline_set_auto_flush_bus() and
16691 gst_pipeline_get_auto_flush_bus() to disable automatic
16692 flushing of the pipeline's GstBus when going from READY
16693 to NULL state (#332045).
16695 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16697 * docs/gst/gstreamer-sections.txt:
16698 * gst/gsturi.c: (gst_uri_has_protocol):
16700 Add new API: gst_uri_has_protocol() (#333779).
16702 2006-03-09 Wim Taymans <wim@fluendo.com>
16704 * gst/gstclock.c: (gst_clock_entry_new),
16705 (gst_clock_id_compare_func), (gst_clock_id_wait),
16706 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16707 (gst_clock_init), (gst_clock_get_internal_time),
16708 (gst_clock_set_master), (do_linear_regression),
16709 (gst_clock_add_observation), (gst_clock_set_property):
16713 Fix a possible segfault when the window-size is made smaller.
16714 Calculate jitter before performing the clock wait. Ideally
16715 the clock implementation should calculate jitter but we need
16716 API breakage for that.
16718 * gst/gstsystemclock.c: (gst_system_clock_init):
16721 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16722 Remove leftover else
16724 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16725 (gst_systemclock_suite):
16726 Added check to test GST_CLOCK_DIFF.
16728 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16730 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16731 (gst_type_find_helper_get_range):
16732 If we are provided with the size, we should implement
16733 GstTypeFind::get_length, so that typefind functions who
16734 want to can actually peek at the middle of a file.
16736 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16738 * docs/manual/advanced-dataaccess.xml:
16739 Add some very very basic error checking.
16741 * docs/pwg/appendix-checklist.xml:
16742 Some updates to the list of things to check when writing an element.
16744 2006-03-08 Wim Taymans <wim@fluendo.com>
16746 * docs/design/part-element-transform.txt:
16747 Added some docs about the design of tranform elements.
16749 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16750 (gst_base_src_loop), (gst_base_src_change_state):
16751 Mark buffers with the DISCONT flag.
16753 2006-03-08 Michael Smith <msmith@fluendo.com>
16755 * gst/gstregistry.h:
16756 * gst/gstregistryxml.c: (gst_registry_save),
16757 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16758 (gst_registry_xml_save_pad_template),
16759 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16760 (gst_registry_xml_write_cache):
16761 Rewrite registry-saving to avoid race conditions and check for
16764 2006-03-08 Wim Taymans <wim@fluendo.com>
16766 * libs/gst/base/gstbasetransform.c:
16767 (gst_base_transform_transform_caps),
16768 (gst_base_transform_transform_size),
16769 (gst_base_transform_prepare_output_buffer),
16770 (gst_base_transform_get_unit_size),
16771 (gst_base_transform_buffer_alloc),
16772 (gst_base_transform_handle_buffer),
16773 (gst_base_transform_change_state):
16774 Cleanups, separate normal flow from errors, add sensible
16776 Don't try to renegotiate when allocating an output buffer.
16777 Also copy DISCONT buffer flag when copying a buffer.
16778 Reset the transform after we finish streaming, not during.
16780 2006-03-08 Wim Taymans <wim@fluendo.com>
16782 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16783 Use last buffer timestamp in qos message.
16785 2006-03-07 Wim Taymans <wim@fluendo.com>
16787 Patch by: Christophe Fergeau
16789 * docs/pwg/advanced-tagging.xml:
16790 * docs/pwg/building-pads.xml:
16793 2006-03-07 Wim Taymans <wim@fluendo.com>
16795 * docs/libs/gstreamer-libs-sections.txt:
16796 Added basesink new methods.
16800 Docs updates. Flesh out the QoS docs.
16802 * libs/gst/base/gstadapter.c:
16803 Small doc clarification about ownership and flushing.
16805 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16806 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16807 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16808 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16809 * libs/gst/base/gstbasesink.h:
16811 Added new methods to allow subclass to control max-lateness
16813 Generate very basic QoS events based on last sync observation.
16814 Updated docs, fix typo, added some QoS blurb.
16816 * libs/gst/base/gstbasesrc.c:
16817 Remove obsolete _get_state() calls from docs.
16819 2006-03-07 Wim Taymans <wim@fluendo.com>
16821 * docs/libs/gstreamer-libs-sections.txt:
16822 * libs/gst/base/gstbasetransform.h:
16823 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16824 Fix docs for GstBaseSrc.
16826 2006-03-07 Wim Taymans <wim@fluendo.com>
16828 * docs/gst/gstreamer-sections.txt:
16831 * libs/gst/base/gstbasetransform.h:
16832 Small documentation fixes.
16834 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16837 Document thread-unsafety of gst_value_register_foo_func()
16838 when used at the same time as gst_value_foo() (#322628).
16840 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16842 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16843 (gst_push_src_check_get_range):
16844 Push sources don't support pull mode by default.
16846 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16848 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16849 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16850 (gst_base_src_default_check_get_range):
16851 * libs/gst/base/gstbasesrc.h:
16852 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16853 provide default implementation, and rename
16854 gst_base_src_check_get_range() to
16855 gst_base_src_pad_check_get_range() for clarity.
16857 2006-03-06 Wim Taymans <wim@fluendo.com>
16859 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16860 Make property overridable.
16862 2006-03-06 Wim Taymans <wim@fluendo.com>
16864 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16865 (gst_base_sink_init), (gst_base_sink_set_property),
16866 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16867 * libs/gst/base/gstbasesink.h:
16868 API addition: Make max-lateness a property.
16870 2006-03-06 Wim Taymans <wim@fluendo.com>
16872 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16873 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16874 Don't ever draw a frame that is >10ms late.
16876 2006-03-06 Michael Smith <msmith@fluendo.com>
16878 * gst/gstmessage.c: (_gst_message_copy):
16879 When copying a message, set the parent_refcount of the enclosed
16880 structure to point at the copy, not the original message.
16882 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16884 Patch by: Christophe Fergeau
16887 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16888 usable in c++ code (#333417)
16890 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16893 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16895 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16897 * libs/gst/base/gstbasetransform.c:
16898 (gst_base_transform_transform_caps):
16899 Make sure caps are writable before passing them to
16902 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16905 Fix some minor docs errors.
16907 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16909 Patch by: Ross Burton <ross at burtonini dot com>
16911 * gst/gsterror.c: (_gst_resource_errors_init):
16913 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16915 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16918 Add a check and output a g_warning when GStreamer is built
16919 against GLib 2.6 but running against 2.8 or higher, and vice
16920 versa. (Closes: #323542)
16922 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16924 * gst/parse/parse.l:
16925 Commit patch for parse_launch syntax from #331255. Removes
16926 support for quoted strings and mimetypes when writing filtered
16927 caps. See the bug report for more details - I'm pretty sure this
16928 obscure feature is not in use by _anyone_ anywhere.
16930 With this simple change, the size of the gstreamer.so here
16931 drops from 2193KB to 1565KB.
16933 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16935 * plugins/elements/gsttypefindelement.h:
16936 * plugins/elements/gsttypefindelement.c:
16937 (gst_type_find_element_src_event), (start_typefinding),
16938 (stop_typefinding), (gst_type_find_element_handle_event),
16939 (gst_type_find_element_chain),
16940 (gst_type_find_element_chain_do_typefinding):
16941 Use gst_type_find_helper_for_buffer() for chain-based
16944 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16946 * plugins/elements/gsttypefindelement.c:
16947 (gst_type_find_element_class_init),
16948 (gst_type_find_element_set_property),
16949 (gst_type_find_element_get_property):
16950 Deprecate "maximum" property (not only was it only taken into
16951 account for typefinding in push-mode anyway, it also was never
16952 actually possible to set it in the first place because the
16953 property was registered with the numeric property ID for the
16954 "minimum" property). Register "maximum" property correctly,
16955 for the sake of future copy'n'pasters. Remove some cruft
16956 from property get/set functions.
16958 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16960 * plugins/elements/gsttypefindelement.c:
16961 (gst_type_find_element_activate):
16962 Use gst_type_find_helper_get_range() here, so we
16963 can honour the "minimum" property and also emit
16964 the signal with the correct probability of the found caps.
16966 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16968 * docs/libs/gstreamer-libs-sections.txt:
16969 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16970 (helper_find_suggest), (gst_type_find_helper_get_range),
16971 (gst_type_find_helper):
16972 * libs/gst/base/gsttypefindhelper.h:
16973 New API: gst_type_find_helper_get_range() (#333042).
16975 2006-03-02 Michael Smith <msmith@fluendo.com>
16977 * gst/gstregistryxml.c: (load_feature):
16978 Asserting on a failure to read part of the registry is Not Cool.
16979 Just log a warning and return NULL (which is already handled)
16981 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16983 * win32/common/libgstbase.def:
16984 added export of gst_type_find_helper_for_buffer
16985 * win32/common/libgstbase.def:
16986 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16987 gst_ghost_pad_get_target
16989 2006-02-28 Wim Taymans <wim@fluendo.com>
16991 * docs/design/draft-klass.txt:
16993 Added Connector to mark elements that are only used to
16994 allow pipeline connections.
16995 Moved Debug to extra feature since most of them are
16996 functionally something else.
16998 2006-02-28 Wim Taymans <wim@fluendo.com>
17000 * docs/design/draft-klass.txt:
17001 Some updates and clarifications.
17003 2006-02-28 Wim Taymans <wim@fluendo.com>
17005 * docs/design/draft-klass.txt:
17006 Proposal for klass field values.
17008 * docs/design/part-streams.txt:
17009 Start of a doc describing stream anatomy.
17011 2006-02-28 Wim Taymans <wim@fluendo.com>
17013 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17014 Help the compiler a bit with type registration.
17015 Use existing forward cod path instead of duplicating it when
17016 handling a message.
17018 * gst/gstbus.c: (gst_bus_get_type):
17019 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17020 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17021 * gst/gstclock.c: (gst_clock_get_type):
17022 * gst/gstelement.c: (gst_element_get_type),
17023 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17024 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17025 * gst/gstminiobject.c: (gst_mini_object_get_type):
17026 * gst/gstpad.c: (gst_pad_get_type):
17027 * gst/gstsegment.c: (gst_segment_get_type):
17028 * gst/gststructure.c: (gst_structure_get_type):
17029 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17030 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17032 Help compiler with type registration.
17034 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17037 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17039 * plugins/elements/gsttypefindelement.c:
17040 (gst_type_find_element_handle_event):
17041 When we get an EOS event and have not found a type yet
17042 (most likely because we had not yet accumulated
17043 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17044 type given the data we have so far. Fixes typefinding
17045 for very short streams again, most notably quicktime
17046 redirections as used on Apple's trailer site (#331701).
17048 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17050 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17051 (gst_type_find_helper):
17052 Try typefinding factories with the highest rank first.
17054 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17056 * docs/libs/gstreamer-libs-docs.sgml:
17057 * docs/libs/gstreamer-libs-sections.txt:
17058 * libs/gst/base/gsttypefindhelper.c:
17059 Add section for typefind helper and add documentation
17060 for the old and the new function.
17062 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17064 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17065 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17066 (gst_type_find_helper_for_buffer):
17067 * libs/gst/base/gsttypefindhelper.h:
17068 New API: gst_type_find_helper_for_buffer() (#332723).
17070 2006-02-27 Michael Smith <msmith@fluendo.com>
17072 Patch by: Loïc Minier
17075 * docs/Makefile.am:
17076 * docs/slides/Makefile.am:
17077 prevent CVS directories getting disted.
17079 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17081 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17082 Use the REFCOUNTING category for caps refcounting.
17084 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17086 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17087 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17089 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17091 * plugins/elements/gsttypefindelement.c:
17092 (gst_type_find_element_activate):
17093 Use gst_pad_check_pull_range() before _activate_pull()
17094 to avoid unnecessary open/close (see #331690).
17096 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17099 Docs enhancement: make it crystal clear what the
17100 gst_pad_add_*_probe() callbacks should look like.
17102 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17104 * libs/gst/base/gstbasesrc.c:
17105 Document how applications can stop recording from
17106 live sources (see #330996).
17108 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17110 * tests/check/Makefile.am:
17111 * tests/check/libs/basesrc.c: (eos_event_counter),
17112 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17113 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17114 (gst_basesrc_suite), (main):
17115 ... and add some tests for the base source EOS stuff.
17117 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17119 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17120 Test case originally showed the problem fixed below,
17121 but was then amended. Add checks back at the place
17122 where they used to be.
17124 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17126 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17127 (gst_base_src_init), (gst_base_src_loop),
17128 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17129 (gst_base_src_change_state):
17130 * libs/gst/base/gstbasesrc.h:
17131 Don't unconditionally send EOS when going from PAUSED to
17132 READY state, esp. make sure we don't send two EOS events
17133 in some cases (e.g. one when reaching EOS and one when
17134 going from PAUSED to READY). Also, we don't want to send
17135 EOS events when operating in pull mode. However, we do
17136 want to send an EOS event when shutting down a live
17137 source explicitly, for example (fixes #330996).
17139 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17141 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17142 Update src->read_position after a seek when not using mmap.
17143 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17145 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17151 Make things work with --disable-parse as they do with
17152 --disable-load-save - the symbols involved disappear, but the
17153 header is still installed and GST_DISABLE_PARSE is included via
17156 2006-02-20 Julien MOUTTE <julien@moutte.net>
17158 * libs/gst/base/gstbasetransform.c:
17159 (gst_base_transform_change_state): Fix a stupid bug. I was
17160 sure I compiled that.
17162 2006-02-20 Julien MOUTTE <julien@moutte.net>
17164 * gst/gstpad.c: (gst_pad_set_blocked_async):
17165 * gst/gstutils.c: (gst_pad_add_data_probe),
17166 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17167 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17168 (gst_pad_remove_buffer_probe): Make those function act on the
17169 ghostpad target when it's a ghostpad. (Closes #331727)
17171 2006-02-20 Julien MOUTTE <julien@moutte.net>
17173 * libs/gst/base/gstbasetransform.c:
17174 (gst_base_transform_change_state): Make basetransform reusable.
17177 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17179 * docs/random/release:
17180 Move the current documentation of how to do a release to the top
17183 * gst/gstbin.c: (gst_bin_class_init),
17184 (gst_bin_handle_message_func):
17185 Allow multiple state-recalculation threads. (Closes #328873)
17187 2006-02-19 Julien MOUTTE <julien@moutte.net>
17189 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17190 * gst/gstpad.c: (gst_pad_set_event_function),
17191 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17192 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17193 2 strings. You can't use the STR_NULL macro on that.
17195 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17197 * gst/gstpad.c: (gst_pad_set_event_function),
17198 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17199 (gst_pad_set_getcaps_function)
17200 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17201 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17202 So now, we can use --gst-debug-level=5 on Windows
17203 * win32/common/libgstcontroller.def:
17204 Added export of gst_controller_init
17205 * win32/vs6/libgstcontroller.dsp:
17206 Fixed Release post build configuration
17208 2006-02-17 Wim Taymans <wim@fluendo.com>
17210 * tests/check/gst/gstquery.c: (GST_START_TEST):
17211 Added another check.
17213 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17215 * plugins/elements/gsttypefindelement.c: (find_peek):
17216 We can do peeks at non-zero offsets, as long as they
17217 fall within the buffer we have.
17219 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17221 * tests/check/Makefile.am:
17222 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17223 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17224 (parse_suite), (main):
17225 Add testsuite for parse launch syntax
17227 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17229 * plugins/elements/gsttypefindelement.c:
17230 (gst_type_find_element_chain):
17231 When typefinding is unsuccessful in the chain function, don't
17232 error out immediately. Only error out with NO_CAPS_FOUND if
17233 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17234 otherwise simply wait for more data so we can try typefinding
17235 again with more data later. Also, don't attempt to typefind
17236 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17237 this should improve typefinding from network sources where the
17238 size of the first buffer can be somewhat random.
17240 2006-02-14 Wim Taymans <wim@fluendo.com>
17242 * docs/gst/gstreamer-sections.txt:
17243 * gst/gstpadtemplate.c:
17244 * gst/gstpadtemplate.h:
17245 Fix padtemplate docs, fixes #328805.
17247 2006-02-14 Wim Taymans <wim@fluendo.com>
17249 * tools/gst-launch.c: (main):
17250 NO_PREROLL is not an ERROR so don't send confusing messages
17253 2006-02-14 Wim Taymans <wim@fluendo.com>
17255 Patch by: Torsten Schoenfeld
17257 * gst/gstregistry.c: (gst_registry_get_default),
17258 (_gst_registry_cleanup):
17259 Protect default registry with lock and ref/sink it.
17262 2006-02-14 Wim Taymans <wim@fluendo.com>
17265 * gst/gstquery.c: (gst_query_list_add_format),
17266 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17267 (gst_query_parse_formats_nth):
17268 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17271 2006-02-14 Wim Taymans <wim@fluendo.com>
17273 * docs/gst/gstreamer-sections.txt:
17274 Reworked query docs.
17276 * gst/gstquery.c: (gst_query_new_formats),
17277 (gst_query_list_add_format), (gst_query_set_formats),
17278 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17279 (gst_query_parse_formats_nth):
17281 Flesh out formats query, added some new methods.
17282 Fix part of #324398.
17284 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17285 Added query creation tests.
17287 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17289 * gst/gstpad.c: (fixate_value):
17290 Add a default fixation for fraction lists.
17292 2006-02-13 Wim Taymans <wim@fluendo.com>
17294 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17295 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17298 Detect and warn for obvious deadlocks. fixes #320340
17299 Fix error case where lock was not released.
17301 * tests/check/Makefile.am:
17302 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17303 (task_func), (gst_element_suite), (main):
17306 2006-02-13 Wim Taymans <wim@fluendo.com>
17308 * docs/gst/gstreamer-sections.txt:
17310 Add new functions to docs.
17312 2006-02-13 Wim Taymans <wim@fluendo.com>
17314 * docs/design/part-TODO.txt:
17315 Updated TODO list, basesrc supports seeking to non-bytes
17318 * docs/design/part-element-sink.txt:
17321 * gst/gstbin.c: (bin_replace_message),
17322 (gst_bin_handle_message_func):
17323 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17324 * gst/gstevent.c: (gst_event_finalize):
17325 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17326 (gst_pad_send_event):
17327 Use shiny new _TYPE_NAME macros.
17329 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17330 Move debug statement up.
17332 * gst/gstelement.c: (gst_element_set_locked_state):
17333 Add some debugging.
17335 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17337 * docs/gst/gstreamer-sections.txt:
17338 * gst/gstmessage.h:
17340 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17341 macros (#330906). Also, document the already existing
17342 GST_QUERY_TYPE macro.
17344 2006-02-13 Wim Taymans <wim@fluendo.com>
17346 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17347 (event_probe), (GST_START_TEST):
17348 Only events up to the pipeline EOS are counted, there are
17349 some more when going to NULL currently which we don't care
17352 2006-02-13 Wim Taymans <wim@fluendo.com>
17354 * gst/gstpad.c: (gst_pad_send_event):
17355 Correctly check flushing and emit probes. fixes #330125
17357 2006-02-10 Andy Wingo <wingo@pobox.com>
17359 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17361 (gst_bus_init): Cache the location of the private data in the
17362 instance structure.
17363 (gst_bus_enable_sync_message_emission)
17364 (gst_bus_disable_sync_message_emission): Implement new public
17366 (gst_bus_post): Emit the sync-message signal if the user asked for
17369 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17370 location of the bus-private structure.
17371 (gst_bus_enable_sync_message_emission)
17372 (gst_bus_disable_sync_message_emission): API addition
17374 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17376 Patch by: Vincent Torri
17378 * docs/pwg/building-boiler.xml:
17379 PWG patch from #326800
17381 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17384 * docs/Makefile.am:
17385 * docs/design/Makefile.am:
17388 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17393 === release 0.10.3 ===
17395 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17398 releasing 0.10.3, "Like a virgin"
17400 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17403 2nd prerelease of 0.10.3
17404 Bump libtool versioning.
17406 2006-02-07 Andy Wingo <wingo@pobox.com>
17408 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17409 update last_stop if we're in TIME format and the timestamp is
17412 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17413 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17414 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17415 If we get a new newsegment with a different format, adapt
17418 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17419 of 0. Not a problem, really.
17421 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17424 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17429 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17432 project files updated to the default vs7 configuration
17433 * win32/common/libgstbase.def:
17434 * win32/common/libgstreamer.def:
17436 removed empty lines,
17437 sorted all exported symbols alphabetically
17438 * win32/common/dirent.c:
17439 * win32/common/dirent.h:
17440 * win32/common/gchar.h:
17441 use windows line end.
17443 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17445 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17446 Send EOS event when stopping.
17448 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17451 Tell folks what to do if the plugin-foobar.xml file
17452 hasn't been generated for a newly-added plugin.
17454 2006-02-05 Julien MOUTTE <julien@moutte.net>
17456 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17457 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17458 (gst_collect_pads_start), (gst_collect_pads_stop),
17459 (gst_collect_pads_event): Collectpads now holds a reference
17460 to the GstPad that was added. Indeed we don't want to look
17461 at pads that might just go away with no warning...
17463 2006-02-05 Julien MOUTTE <julien@moutte.net>
17465 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17466 (gst_collect_pads_start), (gst_collect_pads_stop),
17467 (gst_collect_pads_event), (gst_collect_pads_chain):
17468 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17469 Mark Nauwelaerts's patch on bug #328491.
17471 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17473 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17475 Add some simple tests for gst_parse_bin_from_description() and
17476 gst_bin_find_unconnected_pad() (#329069).
17478 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17480 * tools/gst-launch.c: (event_loop), (main):
17481 Catch errors during preroll (#320084).
17483 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17485 * plugins/elements/gsttypefindelement.c:
17486 (gst_type_find_element_activate):
17487 Post TYPE_NOT_FOUND error message when typefinding
17488 is unsuccessful in the activate function as well.
17490 2006-02-02 Wim Taymans <wim@fluendo.com>
17492 * docs/design/part-element-sink.txt:
17495 2006-02-02 Wim Taymans <wim@fluendo.com>
17497 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17498 (gst_base_sink_render_object),
17499 (gst_base_sink_queue_object_unlocked):
17500 Only keep track of prerollable items when we are
17502 Before rendering after preroll, always check if we
17504 Added some more debugging.
17506 2006-02-02 Wim Taymans <wim@fluendo.com>
17508 * gst/gstelement.c: (gst_element_continue_state),
17509 (gst_element_set_state_func), (gst_element_change_state):
17510 Fixed #326576, been running this for quite some time with
17511 no regressions at all.
17513 2006-02-02 Wim Taymans <wim@fluendo.com>
17516 Added more suppressions
17518 2006-02-02 Wim Taymans <wim@fluendo.com>
17520 * docs/design/part-element-sink.txt:
17523 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17524 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17525 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17526 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17527 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17528 (gst_base_sink_preroll_object),
17529 (gst_base_sink_queue_object_unlocked),
17530 (gst_base_sink_queue_object), (gst_base_sink_event),
17531 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17532 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17533 (gst_base_sink_get_position), (gst_base_sink_change_state):
17534 * libs/gst/base/gstbasesink.h:
17535 Totally refactored matching the design doc.
17536 Use two segments, one to clip incomming buffers and another to
17538 Handle queueing correctly, bypass the queue when playing.
17539 Make EOS cancelable.
17540 Handle errors correctly when operating in pull based mode.
17542 * tests/check/elements/fakesink.c: (GST_START_TEST),
17544 Added new check for sinks.
17546 2006-02-02 Wim Taymans <wim@fluendo.com>
17548 * gst/gstsegment.c: (gst_segment_clip):
17549 No reason to refuse to clip when start == -1
17551 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17554 * docs/manual/intro-basics.xml:
17555 * docs/manual/intro-preface.xml:
17556 * docs/manual/manual.xml:
17557 * docs/pwg/advanced-dparams.xml:
17558 * docs/pwg/intro-basics.xml:
17559 * docs/pwg/intro-preface.xml:
17560 * docs/pwg/pwg.xml:
17561 describe dparams (controller) for plugins
17562 unify docs a little more
17564 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17566 * docs/gst/gstreamer-sections.txt:
17567 * gst/gstutils.c: (element_find_unconnected_pad),
17568 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17570 Add new API: gst_parse_bin_from_description() and
17571 gst_bin_find_unconnected_pad() (#329069).
17573 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17575 * docs/manual/README:
17576 uncover a nasty detail of the docs build
17578 2006-01-31 Wim Taymans <wim@fluendo.com>
17580 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17581 Don't cache duration messages if we're not going to use or
17584 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17586 * docs/manual/advanced-dparams.xml:
17587 * docs/pwg/advanced-dparams.xml:
17591 * libs/gst/controller/lib.c: (gst_controller_init):
17594 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17596 * gst/gstelement.c: (gst_element_message_full):
17597 also show file/line/func if no additional debug was given
17599 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17601 * win32/vs7/grammar.vcproj:
17602 activate copy of autogenerated files for Release mode
17604 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17606 * win32/common/libgstreamer.def:
17607 export gst_value_compare
17609 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17611 * plugins/elements/Makefile.am:
17612 * plugins/elements/gstelements.c:
17613 * plugins/elements/gstfdsink.c: (_do_init),
17614 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17615 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17616 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17617 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17618 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17619 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17620 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17621 * plugins/elements/gstfdsink.h:
17622 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17624 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17626 * docs/manual/advanced-dparams.xml:
17627 describe controller
17628 * docs/manual/advanced-position.xml:
17629 * docs/manual/basics-init.xml:
17630 * docs/manual/manual.xml:
17631 * docs/manual/titlepage.xml:
17632 * docs/pwg/pwg.xml:
17633 * docs/pwg/titlepage.xml:
17634 cleanup xml (more to come)
17635 * libs/gst/controller/gstcontroller.c:
17638 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17640 * win32/vs6/grammar.dsp:
17641 add autogen of gstmarshal.c,h for Release mode
17643 2006-01-30 Wim Taymans <wim@fluendo.com>
17645 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17646 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17647 (gst_base_sink_handle_object), (gst_base_sink_event),
17648 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17649 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17650 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17651 (gst_base_sink_deactivate), (gst_base_sink_activate),
17652 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17653 (gst_base_sink_query), (gst_base_sink_change_state):
17654 Basesink cleanups, remove some old code.
17655 Handle the case where a subclass can preroll in the render
17656 method (mostly audiosinks).
17657 Handle more events.
17658 Remove some locks around variables that are now protected
17659 with the PREROLL_LOCK (clock_id, flushing, ..).
17660 Optimize position query some more, do correct locking.
17661 Remove old code to push queue in state change, this is not
17662 needed anymore since preroll blocks on all prerollable items
17664 Almost implemented as described in design doc.
17666 2006-01-30 Wim Taymans <wim@fluendo.com>
17668 * tests/check/gst/gstbin.c: (GST_START_TEST):
17669 Wait for refcount to settle down before checking.
17671 2006-01-30 Wim Taymans <wim@fluendo.com>
17673 * docs/design/part-element-sink.txt:
17674 Pseudo code overview of desired sink behaviour regarding
17677 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17678 * win32/vs6/grammar.dsp:
17679 fix some bugs in Release mode for autogenerated files
17681 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17682 * win32/common/libgstbase.def:
17683 * win32/common/libgstreamer.def:
17684 export some new symbols: gst_base_src_set_format,
17685 gst_iterator_next, gst_structure_set_valist
17687 2006-01-29 Julien MOUTTE <julien@moutte.net>
17689 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17690 Set pad functions unconditionally. Fixes #329105.
17692 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17694 add vs8 project files created by Sergey Scobich
17696 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17698 * gst/gstutils.c: (gst_element_unlink_pads):
17699 Don't leak pad references.
17701 * tests/check/elements/fakesink.c: (GST_START_TEST):
17702 * tests/check/generic/sinks.c: (GST_START_TEST):
17703 * tests/check/generic/states.c: (GST_START_TEST):
17704 * tests/check/gst/gstbin.c: (GST_START_TEST):
17705 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17706 * tests/check/gst/gstelement.c: (GST_START_TEST):
17707 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17708 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17709 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17710 Fix a bunch of leaks. Make generic/sinks.c
17711 use a bit less cpu by slowing the buffer rate
17712 between fakesrc and fakesink.
17714 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17716 * gst/gstelement.c: (gst_element_send_event):
17719 * gst/gstiterator.c:
17720 * gst/gstiterator.h:
17721 * gst/gstpad.c: (gst_pad_send_event):
17722 * gst/gststructure.c:
17726 * libs/gst/base/gstadapter.c:
17727 doc fixes, to link to function, just write gst_cool_function(), don't
17730 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17732 * plugins/elements/gsttee.c: (gst_tee_do_push),
17733 (gst_tee_handle_buffer):
17734 Always prefer an actual return value from a src
17735 pad in place of NOT_LINKED. This means we return
17736 WRONG_STATE when all src pads are WRONG_STATE
17737 instead of NOT_LINKED.
17739 Lock when replacing the last message to prevent
17740 racing with the get_property method.
17744 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17746 * tests/check/Makefile.am:
17747 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17749 Add a very simple check that should have caught the memleak I fixed
17750 last night (if not for the slice allocator hiding it)
17752 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17754 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17755 (gst_bin_remove_func), (gst_bin_handle_message_func),
17756 (bin_query_duration_fold), (bin_query_generic_fold):
17757 Clean up references to the clock provider when disposed or when
17758 handling a clock-lost message from it.
17760 Unref sinks when performing a query via gst_iterator_fold, as the
17761 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17763 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17764 (gst_clock_set_master):
17765 Drop our reference to the master clock, if any, when we are disposed.
17767 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17768 Chain up in dispose.
17770 2006-01-26 Wim Taymans <wim@fluendo.com>
17772 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17773 Add some debugging.
17775 2006-01-26 Julien MOUTTE <julien@moutte.net>
17777 * plugins/elements/gsttee.c: (gst_tee_do_push),
17778 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17779 handles pad being NOT_LINKED or in WRONG_STATE.
17781 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17786 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17789 remove obsolete entry
17791 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17793 * docs/gst/gstreamer-sections.txt:
17794 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17795 (gst_bin_iterate_sources), (gst_bin_send_event):
17797 * gst/gstelement.c: (gst_element_send_event):
17799 * gst/gstpad.c: (gst_pad_send_event):
17800 added code for downstream events, reviewed docs in gstevent.c
17802 2006-01-25 Julien MOUTTE <julien@moutte.net>
17804 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17805 We only query position using the clock in the playing state.
17806 Query peer in the other cases.
17807 * win32/common/config.h: Updates.
17809 2006-01-24 Wim Taymans <wim@fluendo.com>
17811 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17812 A clock entry that is scheduled for the exact time of the
17813 clock is still in time.
17815 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17816 (gst_base_sink_do_sync):
17817 Add some more debug info.
17819 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17822 Add new vs7 project files and solution.
17824 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17827 all files removed as they were out-dated.
17829 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17831 * docs/random/release:
17833 * gst/gstbin.c: (gst_bin_init):
17834 * gst/gstbus.c: (gst_bus_new):
17836 * gst/gstpipeline.c: (gst_pipeline_init):
17837 use gst_bus_new(), improve logging, fix docs
17838 * win32/common/config.h:
17839 update for cvs build
17841 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17844 up required version of automake to 1.7
17846 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17848 * win32/common/libgstreamer.def:
17849 export gst_buffer_is_metadata_writable
17851 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17853 * docs/gst/gstreamer-sections.txt:
17855 Add gst_event_replace() (#327001)
17857 2006-01-20 Wim Taymans <wim@fluendo.com>
17859 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17860 Make it actually compile too..
17862 2006-01-20 Wim Taymans <wim@fluendo.com>
17865 Clarify behaviour of _is_equal() when passing NULL parameters.
17867 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17868 (gst_pad_set_caps):
17869 Cleanups. Don't unref NULL caps.
17870 When setting the same caps, protect caps of the pad with
17872 Use full functionality of _is_equal() when comparing caps.
17874 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17876 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17877 Don't loop infinitely if there are no buffers to present. Partially
17878 fixes #327197, but collectpads is just broken for reusing elements
17879 to do multiple encodes atm.
17881 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17883 * tools/gst-inspect.c: (print_element_features):
17884 * tools/gst-xmlinspect.c: (main):
17885 URL_HANDLER is not a plugin feature we can search for in
17888 2006-01-19 Edward Hervey <edward@fluendo.com>
17890 * gst/gstelement.c: (gst_element_pads_activate):
17891 When activating, do src pads first, then sink pads.
17892 When de-activating, do sink pads first, then src pads.
17894 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17896 * docs/gst/gstreamer-sections.txt:
17897 Add gst_index_add_associationv to the docs
17899 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17904 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17905 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17906 Do some refactoring. Doesn't actually change functionality,
17907 but makes landing the DRAIN event easier later.
17909 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17911 * docs/pwg/advanced-scheduling.xml:
17912 Update from 0.9.x to 0.10 API and make example a bit
17915 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17917 * docs/gst/gstreamer-sections.txt:
17918 Add gst_buffer_(is|make)_metadata_writable methods.
17920 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17922 * docs/design/part-sparsestreams.txt:
17923 Update sparse streams doc, hopefully for greater clarity
17925 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17927 * docs/design/part-events.txt:
17928 Remove mention of FILLER events.
17931 * docs/design/part-sparsestreams.txt:
17932 Write some things about using NEWSEGMENT to keep sparse streams
17935 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17937 * gst/gstbin.c: (gst_bin_dispose):
17938 Guard gst_object_unref call against a NULL object (dispose
17939 can theoretically be called multiple times).
17941 2006-01-18 Wim Taymans <wim@fluendo.com>
17943 * gst/gstbin.c: (gst_bin_element_set_state):
17944 * gst/gstclock.c: (gst_clock_id_wait):
17945 Added some more debug info.
17947 * libs/gst/base/gstadapter.c:
17950 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17951 (gst_base_sink_do_sync), (gst_base_sink_chain):
17952 Added some comments.
17954 2006-01-18 Wim Taymans <wim@fluendo.com>
17956 * tests/check/Makefile.am:
17957 * tests/check/elements/fakesink.c: (chain_async_buffer),
17958 (chain_async), (chain_async_return), (GST_START_TEST),
17959 (fakesink_suite), (main):
17960 Added fakesink test that checks prerolling and clipping
17963 * tests/check/gst/gstutils.c: (GST_START_TEST):
17964 Make check run faster so that buildbots don't timeout.
17966 2006-01-18 Wim Taymans <wim@fluendo.com>
17968 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17969 (gst_base_sink_do_sync):
17971 When the sink finishes blocking on the preroll buffer, it can
17972 immediatly render it instead of rendering when the next buffer
17975 2006-01-18 Wim Taymans <wim@fluendo.com>
17977 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17978 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17979 (gst_base_sink_chain):
17981 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17982 Don't store _last_stop if the buffer is dropped.
17984 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17986 * plugins/elements/gsttypefindelement.c:
17987 (gst_type_find_element_class_init):
17988 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17989 object method handler that sets the caps on the pad and we want
17990 that to happen before we emit the signal (fixes e.g. feeding a
17991 plain text file to decodebin).
17993 2006-01-18 Christian Schaller <Christian@fluendo.com>
17995 * gst/gstplugin.c: Add MPL and Proprietary as license options
17997 2006-01-18 Andy Wingo <wingo@pobox.com>
17999 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18000 symbol was exported before, it appears this was just an oversight.
18002 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18004 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18005 prototype to gint. OK since this prototype was not in the header.
18007 2006-01-17 Andy Wingo <wingo@pobox.com>
18009 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18010 registry while we remove plugins.
18012 * tools/gst-inspect.c (print_element_info): Don't unref the
18013 factory arg, that should be the responsibility of whatever code
18014 received the ref. Fixes a double-free when called from
18015 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18016 (main): Unref the factory if we have one.
18017 (print_element_list): No change -- relies on the
18018 plugin_feature_list_free to free the list of features.
18020 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18022 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18023 (gst_buffer_make_metadata_writable):
18025 * libs/gst/base/gstbasetransform.c:
18026 (gst_base_transform_prepare_output_buf):
18027 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18028 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18029 Replace gst_buffer_(make|is)_metadata_writable patch now
18030 that the release is out.
18032 2006-01-17 Andy Wingo <wingo@pobox.com>
18034 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18035 in the present tense without reference to versions.
18037 * gst/gstregistry.c (gst_registry_add_plugin)
18038 (gst_registry_remove_plugin, gst_registry_remove_feature)
18039 (gst_registry_find_feature, gst_registry_get_feature_list)
18040 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18041 (gst_registry_lookup, gst_registry_scan_path)
18042 (_gst_registry_remove_cache_plugins)
18043 (gst_registry_get_feature_list_by_plugin): Add argument
18046 === release 0.10.2 ===
18048 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18051 releasing 0.10.2, "If man is five"
18053 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18057 * libs/gst/base/gstbasetransform.c:
18058 (gst_base_transform_prepare_output_buf):
18059 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18060 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18061 Back out patch until after the release.
18063 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18065 * gst/gstminiobject.c:
18066 Spelling fix in docs.
18067 * ChangeLog - remove conflict indicator
18069 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18071 Reviewed By: Andy Wingo
18073 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18074 (gst_buffer_make_metadata_writable):
18076 Add gst_buffer_(is|make)_metadata_writable as analogues of
18077 gst_buffer_(is|make)_writable.
18079 * libs/gst/base/gstbasetransform.c:
18080 (gst_base_transform_prepare_output_buf):
18081 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18082 Use name gst_buffer_(is|make)_metadata_writable functions.
18084 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18085 Test gst_buffer_(is|make)_metadata_writable
18089 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18091 * docs/manual/Makefile.am:
18092 don't do parallel make
18095 * win32/common/config.h.in:
18096 add generations for HOST_CPU and GST_MAJORMINOR
18097 * win32/common/config.h:
18098 commit generated result
18100 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18102 * docs/manual/appendix-integration.xml:
18103 Update GNOME integration section to use gst_init_get_option_group()
18104 instead of the old popt stuff (#322911). Also, GNOME applications
18105 should now use gconf*sink and gconf*src instead of the old gconf
18108 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18111 * docs/gst/gstreamer-docs.sgml:
18112 * docs/gst/gstreamer-sections.txt:
18113 * docs/libs/gstreamer-libs-sections.txt:
18114 add new API entries to the docs
18115 * libs/gst/controller/Makefile.am:
18116 * libs/gst/controller/gstcontroller.c:
18117 * libs/gst/controller/gstcontroller.h:
18118 * libs/gst/controller/gstcontrollerprivate.h:
18119 * libs/gst/controller/gsthelper.c:
18120 * libs/gst/controller/gstinterpolation.c:
18121 move private structs to private header
18123 gstreamer-0.7 -> gstreamer-0.10
18124 * tests/check/libs/struct_i386.h:
18125 remove private structs
18127 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18129 * plugins/indexers/Makefile.am:
18130 Fixes as part of #317048
18132 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18134 * plugins/indexers/Makefile.am:
18135 fix #316086 - compilation when mmap is missing
18137 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18139 * libs/gst/base/gstbasesink.c:
18140 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18141 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18142 * win32/common/config.h:
18143 added some defines GST_MAJORMINOR and HOST_CPU
18144 * win32/common/libgstbase.def:
18145 * win32/common/libgstreamer.def:
18146 added some exported functions.
18148 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18150 * libs/gst/controller/gstcontroller.c:
18151 (gst_controlled_property_set_interpolation_mode),
18152 (gst_controlled_property_new):
18153 * libs/gst/controller/gstcontroller.h:
18154 * libs/gst/controller/gstinterpolation.c:
18155 (interpolate_none_get_string_value_array):
18156 make G_TYPE_STRING controlable
18158 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18161 * tools/gst-feedback.1.in:
18162 * tools/gst-inspect.1.in:
18163 * tools/gst-launch.1.in:
18164 * tools/gst-md5sum.1.in:
18165 * tools/gst-typefind.1.in:
18166 * tools/gst-xmlinspect.1.in:
18167 * tools/gst-xmllaunch.1.in:
18168 cleanup man-pages, remove reference to gst-register, document env-vars
18170 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18172 * gst/gstbuffer.c: (gst_buffer_span):
18173 gst_buffer_span should copy the timestamp of the first buffer
18174 if they were both originally overlapping subbuffers of the
18175 same parent, using the same logic as the 'slow copy' case.
18177 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18179 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18180 Need to awaken ALL the pads when we pop a buffer, otherwise
18181 collectpads only works when there is 2 input streams.
18183 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18185 * docs/random/ensonic/media-device-daemon.txt:
18188 fix doc example, add clarification
18189 * tools/gst-launch.1.in:
18190 add initial info about GST_PLUGIN_PATH, needs more work
18192 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18194 * docs/manual/basics-bins.xml:
18195 * docs/manual/basics-elements.xml:
18196 * docs/manual/intro-basics.xml:
18197 Some more minor docs additions and updates.
18199 2006-01-11 Wim Taymans <wim@fluendo.com>
18201 * docs/manual/basics-bins.xml:
18202 * docs/manual/basics-elements.xml:
18203 Some small fixes as pointed out by Ser-ver on IRC.
18205 2006-01-10 Edward Hervey <edward@fluendo.com>
18207 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18208 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18209 the single-segment mode.
18211 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18213 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18215 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18216 (gst_base_src_perform_seek), (gst_base_src_send_event),
18217 (gst_base_src_set_property), (gst_base_src_get_property),
18218 (gst_base_src_loop), (gst_base_src_start),
18219 (gst_base_src_activate_push):
18220 * libs/gst/base/gstbasesrc.h:
18221 Name (private) union; makes Sun's Forte compiler happy (#324900).
18223 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18226 gst-register is gone.
18228 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18230 * gst/gstvalue.c: (_gst_value_initialize):
18231 make the G_TYPE_DATE instantiation work if debug is disabled
18233 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18235 * gst/gstmessage.c: (gst_message_parse_tag),
18236 (gst_message_parse_error), (gst_message_parse_warning):
18237 Don't crash when return location for error/warning debug
18238 string is NULL; add fact that return locations can be
18239 NULL to docs where appropriate.
18241 2006-01-05 Wim Taymans <wim@fluendo.com>
18243 * gst/gstplugin.c: (gst_plugin_load_file):
18244 Replace strdup by g_strdup.
18246 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18248 * docs/pwg/advanced-types.xml:
18251 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18253 submitted by: Abel Cheung
18257 Added Chinese (traditional) translation
18259 2006-01-04 Wim Taymans <wim@fluendo.com>
18261 * docs/manual/basics-pads.xml:
18262 * docs/plugins/Makefile.am:
18263 * docs/plugins/gstreamer-plugins-docs.sgml:
18264 * docs/plugins/gstreamer-plugins-sections.txt:
18265 * docs/pwg/advanced-clock.xml:
18266 * docs/pwg/advanced-scheduling.xml:
18267 * docs/pwg/advanced-types.xml:
18268 * plugins/elements/gstfdsink.c:
18269 * plugins/elements/gstfdsrc.c:
18270 * plugins/elements/gstfdsrc.h:
18271 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18272 * plugins/elements/gstidentity.h:
18273 * plugins/elements/gstqueue.h:
18274 * plugins/elements/gsttee.c:
18275 * plugins/elements/gsttee.h:
18276 * plugins/elements/gsttypefindelement.c:
18277 (gst_type_find_element_class_init):
18278 * plugins/elements/gsttypefindelement.h:
18279 Small updates to various docs.
18280 Added core plugins to docs.
18282 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18285 add a suppression for liboil's uninitialized variable
18287 2006-01-02 James Livingston <jrl at ids dot org dot au>
18289 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18292 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18293 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18294 compiler switch is being used (#325429).
18296 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18298 * gst/gstbin.c: (gst_bin_query):
18299 Disable duration query caching in bins until it gets
18300 fixed (see #324807).
18302 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18304 * tools/gst-inspect.c: (print_element_properties_info):
18305 Handle properties of POINTER and BOXED type.
18307 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18309 * gst/gst.c: (init_post):
18310 Init tags stuff and some other things before loading
18311 any static plugins (there may be other static plugins
18312 than just the GStreamer ones, and they may want to
18313 register their own tags or formats or whatever, and
18314 preferably without segfaulting).
18316 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18317 Print at least a warning in the debug logs if we drop a
18318 query just because we don't know how to adjust the value
18319 in the particular format.
18321 2005-12-24 David Schleef <ds@schleef.org>
18323 * tools/gstreamer-completion:
18324 Replacement for gst-complete written in sh and sed. Only
18325 completes names of features, but that's 90% of what I want
18326 it for. Properties are not available in registry.xml. (Maybe
18329 === release 0.10.1 ===
18331 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18334 releasing 0.10.1, "Nollaig chridheil"
18336 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18338 * docs/faq/cvs.xml:
18339 Add missing quote, should be make ERROR_CFLAGS="".
18341 2005-12-20 Wim Taymans <wim@fluendo.com>
18343 * docs/design/part-trickmodes.txt:
18344 More documentation on trickmodes.
18346 2005-12-20 Edward Hervey <edward@fluendo.com>
18348 * gst/gstcaps.c: (gst_static_caps_get_type):
18350 API addition: GST_TYPE_STATIC_CAPS
18351 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18352 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18353 * gst/gstpadtemplate.h:
18354 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18355 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18358 2005-12-18 Wim Taymans <wim@fluendo.com>
18360 * libs/gst/base/gstadapter.c:
18361 * libs/gst/base/gstadapter.h:
18362 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18363 (gst_base_sink_get_position):
18364 * libs/gst/base/gstbasesink.h:
18365 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18366 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18367 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18368 (gst_base_src_send_event), (gst_base_src_update_length),
18369 (gst_base_src_get_range), (gst_base_src_loop),
18370 (gst_base_src_start):
18371 * libs/gst/base/gstbasesrc.h:
18372 * libs/gst/base/gstbasetransform.h:
18373 * libs/gst/base/gstcollectpads.h:
18374 * libs/gst/base/gstpushsrc.c:
18375 * libs/gst/base/gstpushsrc.h:
18376 * libs/gst/dataprotocol/dataprotocol.c:
18377 * libs/gst/dataprotocol/dataprotocol.h:
18378 * libs/gst/net/gstnetclientclock.h:
18379 * libs/gst/net/gstnettimeprovider.h:
18380 Documentation updates.
18382 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18384 * docs/manual/basics-helloworld.xml:
18385 Remove superfluous closing bracket in helloworld example.
18387 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18389 * tools/gst-launch.1.in:
18390 Update gst-launch man page; add a section with useful
18391 environment variables. Fixes #323882.
18393 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18396 * gst/gst_private.h:
18397 change some char* into char[]
18399 2005-12-16 Wim Taymans <wim@fluendo.com>
18401 * gst/gstregistryxml.c: (load_feature):
18403 Don't use g_object_unref on GstObjects so that we avoid
18404 leaks on unsafe glibs.
18406 2005-12-16 Wim Taymans <wim@fluendo.com>
18408 * gst/gstbin.c: (gst_bin_recalc_state):
18411 2005-12-16 Wim Taymans <wim@fluendo.com>
18413 * common/check.mak:
18414 Added make forever target for check.
18416 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18418 * gst/gst.c: (init_post):
18419 make the registry cache file HOST_CPU-dependent
18421 2005-12-16 Andy Wingo <wingo@pobox.com>
18423 * plugins/elements/gstbufferstore.c
18424 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18427 * tests/check/gst/gstobject.c
18428 (test_fake_object_name_threaded_unique): Pay attention to
18429 g_list_sort return value.
18431 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18433 * tools/gst-feedback-m.m:
18434 Update for 0.9/0.10 (fixes #323870).
18436 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18438 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18439 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18441 * tests/check/gst/gstminiobject.c: (my_foo_init),
18442 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18443 (test_value_collection), (gst_mini_object_suite):
18444 Add test to ensure refcounts end up as expected when passing
18445 GstMiniObjects through g_object_get() and g_object_set().
18447 2005-12-14 Julien MOUTTE <julien@moutte.net>
18449 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18450 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18451 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18452 of collectpads. This version removes a lot of races without
18453 touching API/ABI. Yay !
18455 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18457 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18458 Don't allow activation of a srcpad in pull_range if it has no
18460 Change some debug statements to be a little clearer
18462 * plugins/elements/gsttypefindelement.c:
18463 (gst_type_find_handle_src_query):
18464 Check that we have a peer before executing queries thereupon.
18466 * tests/examples/metadata/read-metadata.c: (message_loop):
18467 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18468 immediately return us any available message with 0 timeout.
18470 2005-12-12 Michael Smith <msmith@fluendo.com>
18472 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18473 Don't unref factories after calling them.
18474 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18475 * plugins/elements/gsttypefindelement.c:
18476 (gst_type_find_element_chain):
18477 Free lists of factories after using them. Fixing typefinding memory
18480 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18482 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18483 (gst_plugin_feature_load):
18484 more meaningful debug output
18486 * tests/Makefile.am:
18487 * tests/old/examples/Makefile.am:
18488 make make distcheck happy again
18490 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18492 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18493 Catch the special case where we are operating chain-based,
18494 but the downstream peer pad has no chain function. Emit a
18495 custom error message in this case instead of letting the
18496 core generate one implying that this is some sort of core
18497 bug. It's not, it just means that whatever got plugged
18498 into the pipeline downstream when we announced the type
18499 can only operate pull-based, while our source can only
18500 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18501 Error string has not been marked for translation yet, as
18502 it probably needs some more work first.
18504 (gst_type_find_element_get_best_possibility):
18505 Add helper function to find the best of all available
18506 found possibilities that qualify given the min. threshold.
18508 (gst_type_find_element_handle_event):
18509 Fix the case where we get an EOS while still in TYPEFIND
18510 mode (we want to chose the best of all possible types,
18511 not just the first type that happens to be in our unsorted
18512 list of possible types).
18514 (gst_type_find_element_chain):
18515 Make sure we return GST_FLOW_ERROR when we errored out
18516 in stop_typefinding(); also, don't just find the best of
18517 all found type entries and then use the last examined
18518 type entry, but actually use the best entry.
18520 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18522 * tests/examples/typefind/typefind.c: (type_found):
18523 * tests/examples/xml/runxml.c: (xml_loaded):
18524 More gcc4 fixes and a mem leak fix.
18526 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18528 * tests/examples/xml/createxml.c: (object_saved):
18531 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18533 * tests/Makefile.am:
18534 enable the examples even more
18536 2005-12-12 Andy Wingo <wingo@pobox.com>
18538 * libs/gst/net/gstnettimeprovider.c
18539 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18540 (gst_net_time_provider_set_property)
18541 (gst_net_time_provider_get_property):
18542 API addition: Export "active" as a GObject property.
18543 (gst_net_time_provider_thread): Only respond to time queries if
18544 the time provider is active.
18546 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18547 NetTimeProvider, preserving binary compat.
18549 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18551 * tests/examples/controller/audio-example.c: (main):
18552 * tests/examples/launch/Makefile.am:
18553 convert comments again
18555 2005-12-12 Wim Taymans <wim@fluendo.com>
18557 * libs/gst/base/gstpushsrc.c:
18560 2005-12-12 Wim Taymans <wim@fluendo.com>
18562 * docs/libs/gstreamer-libs-sections.txt:
18563 Added new symbol to docs.
18565 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18566 (gst_base_src_init), (gst_base_src_set_format),
18567 (gst_base_src_default_query), (gst_base_src_query),
18568 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18569 (gst_base_src_perform_seek), (gst_base_src_send_event),
18570 (gst_base_src_default_event), (gst_base_src_event_handler),
18571 (gst_base_src_set_property), (gst_base_src_get_property),
18572 (gst_base_src_wait), (gst_base_src_do_sync),
18573 (gst_base_src_update_length), (gst_base_src_get_range),
18574 (gst_base_src_check_get_range), (gst_base_src_loop),
18575 (gst_base_src_default_negotiate), (gst_base_src_start),
18576 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18577 (gst_base_src_change_state):
18578 * libs/gst/base/gstbasesrc.h:
18579 Implement seeking to other formats than _BYTES.
18580 Implement more seeking methods correctly.
18582 Added query vmethod.
18583 Added do_seek vmethod to make life easier for subclasses
18585 API addition: gst_base_src_set_format()
18587 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18589 * tests/examples/Makefile.am:
18592 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18595 * docs/random/ensonic/media-device-daemon.txt:
18596 * tests/examples/controller/.cvsignore:
18597 * tests/examples/controller/Makefile.am:
18598 * tests/examples/controller/audio-example.c: (main):
18599 * tests/examples/helloworld/.cvsignore:
18600 * tests/examples/helloworld/Makefile.am:
18601 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18602 * tests/examples/launch/.cvsignore:
18603 * tests/examples/launch/Makefile.am:
18604 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18605 * tests/examples/metadata/.cvsignore:
18606 * tests/examples/metadata/Makefile.am:
18607 * tests/examples/metadata/read-metadata.c: (message_loop),
18608 (make_pipeline), (print_tag), (main):
18609 * tests/examples/queue/.cvsignore:
18610 * tests/examples/queue/Makefile.am:
18611 * tests/examples/queue/queue.c: (event_loop), (main):
18612 * tests/examples/typefind/.cvsignore:
18613 * tests/examples/typefind/Makefile.am:
18614 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18616 * tests/examples/xml/.cvsignore:
18617 * tests/examples/xml/Makefile.am:
18618 * tests/examples/xml/createxml.c: (object_saved), (main):
18619 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18620 * tests/old/examples/Makefile.am:
18621 * tests/old/examples/TODO:
18622 * tests/old/examples/controller/.cvsignore:
18623 * tests/old/examples/controller/Makefile.am:
18624 * tests/old/examples/controller/audio-example.c:
18625 * tests/old/examples/helloworld/.cvsignore:
18626 * tests/old/examples/helloworld/Makefile.am:
18627 * tests/old/examples/helloworld/helloworld.c:
18628 * tests/old/examples/launch/.cvsignore:
18629 * tests/old/examples/launch/Makefile.am:
18630 * tests/old/examples/launch/mp3parselaunch.c:
18631 * tests/old/examples/launch/mp3play:
18632 * tests/old/examples/manual/Makefile.am:
18633 * tests/old/examples/metadata/Makefile.am:
18634 * tests/old/examples/metadata/read-metadata.c:
18635 * tests/old/examples/queue/.cvsignore:
18636 * tests/old/examples/queue/Makefile.am:
18637 * tests/old/examples/queue/queue.c:
18638 * tests/old/examples/typefind/.cvsignore:
18639 * tests/old/examples/typefind/Makefile.am:
18640 * tests/old/examples/typefind/typefind.c:
18641 * tests/old/examples/xml/.cvsignore:
18642 * tests/old/examples/xml/Makefile.am:
18643 * tests/old/examples/xml/createxml.c:
18644 * tests/old/examples/xml/runxml.c:
18645 applied some simple fixing to some examples
18646 re-enabled the working examples
18648 2005-12-12 Wim Taymans <wim@fluendo.com>
18650 * gst/gstsegment.c: (gst_segment_init),
18651 (gst_segment_set_last_stop), (gst_segment_set_seek),
18652 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18653 (gst_segment_to_running_time):
18654 Added more documentation.
18655 Make sure the last_pos value is updated properly.
18656 Make sure to_stream_time and to_running_time don't
18657 operate on wrong values.
18659 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18662 2005-12-12 Michael Smith <msmith@fluendo.com>
18664 * plugins/elements/gsttypefindelement.c: (free_entry),
18665 (gst_type_find_element_chain):
18666 Now that we're not leaking factories, make sure we keep references
18667 to them while we need them.
18669 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18671 * tests/check/gst/struct_i386.h:
18672 ifdef out the XML structs
18674 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18676 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18677 floor is not needed, F is always positive; this obviates the
18678 need for adding -lm when building without libxml
18680 2005-12-12 Wim Taymans <wim@fluendo.com>
18682 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18683 Take current playback rate into account when reporting
18686 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18688 * docs/manual/mime-world.fig:
18689 Let's try this again, this time with a file that is
18690 actually in XFig format.
18692 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18694 * docs/manual/mime-world.fig:
18695 Add audioconvert element to diagram so that it
18696 matches the text and the code (fixes #319526).
18698 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18700 * docs/pwg/building-chainfn.xml:
18701 * docs/pwg/building-pads.xml:
18702 * docs/pwg/building-state.xml:
18703 * docs/pwg/other-source.xml:
18704 Update state change stuff for 0.10 (fixes #322969).
18706 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18708 * docs/manual/advanced-dataaccess.xml:
18709 * docs/manual/appendix-checklist.xml:
18710 * docs/manual/appendix-programs.xml:
18711 * docs/manual/basics-pads.xml:
18712 * docs/manual/highlevel-components.xml:
18713 * docs/manual/manual.xml:
18714 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18715 add converters in front of pipelines; remove curly
18716 brackets for threads stuff, they no longer exist; use
18717 GST_TYPE_FRACTION for framerates; update some pieces of
18718 code to 0.10, but there's plenty more to do.
18720 * docs/manual/appendix-porting.xml:
18721 Expand on asynchroneous state changes; s/0.9/0.10/;
18722 mention disappearance of gst_init_get_popt_table()
18725 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18727 * docs/faq/using.xml:
18728 Spider no longer exists, and neither does gst-launch-ext.
18729 Update examples to use decodebin and playbin and put
18730 converters in front of sinks (fixes #323726).
18732 2005-12-09 Michael Smith <msmith@fluendo.com>
18734 * plugins/elements/gsttypefindelement.c: (find_peek),
18735 (gst_type_find_element_chain):
18736 Fix leaking element factories in typefinding.
18737 Fix problem where we forgot about a probable type on non-seekable
18738 files, and thus later mis-typefound it.
18740 2005-12-09 Michael Smith <msmith@fluendo.com>
18742 * common/m4/gst-makecontext.m4:
18743 * common/m4/gst-mcsc.m4:
18745 * win32/common/config.h:
18746 * win32/common/config.h.in:
18747 Remove makecontext stuff; not used in 0.10 and causes problems on
18748 HPUX according to bug #322441
18750 2005-12-07 Wim Taymans <wim@fluendo.com>
18752 * tests/check/Makefile.am:
18753 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18755 * tests/check/libs/struct_i386.h:
18756 Added ABI check for libs
18758 2005-12-07 Wim Taymans <wim@fluendo.com>
18760 * tests/check/Makefile.am:
18761 And add the struct_i386.h to dist.
18763 2005-12-07 Wim Taymans <wim@fluendo.com>
18765 * tests/check/Makefile.am:
18766 * tests/check/gst/.cvsignore:
18767 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18769 * tests/check/gst/struct_i386.h:
18770 Added check for ABI compatibility.
18772 2005-12-07 Wim Taymans <wim@fluendo.com>
18774 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18775 (gst_fake_src_get_times), (gst_fake_src_create):
18776 Fix broken sync option, fixes #323259
18778 2005-12-07 Wim Taymans <wim@fluendo.com>
18783 * gst/gstcaps.c: (gst_caps_is_equal):
18784 Don't assert on NULL <--> X. Fixes #323260
18786 * gst/gstminiobject.c: (gst_mini_object_replace):
18787 If we're doing atomic operations, we might just as well use
18788 the proper way to get an atomic pointer.
18790 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18791 Clean up debugging.
18793 2005-12-07 Michael Smith <msmith@fluendo.com>
18795 * gst/parse/grammar.y:
18796 Remove handling of { } for threads.
18798 2005-12-06 David Schleef <ds@schleef.org>
18800 * libs/gst/base/gstbasetransform.c: speling fix.
18802 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18804 * docs/libs/tmpl/gstdataprotocol.sgml:
18805 * docs/random/omega/testing/gstobject.c:
18808 * gst/gstelement.c:
18809 * gst/gstelementfactory.c:
18812 * gst/gstghostpad.c:
18814 * gst/gstpadtemplate.c:
18815 * gst/gstregistryxml.c:
18816 * gst/gsttaglist.c:
18817 * gst/gsttagsetter.c:
18818 * gst/gsttypefind.c:
18820 * libs/gst/base/gstbasesrc.c:
18821 * libs/gst/net/gstnetclientclock.c:
18822 * libs/gst/net/gstnettimeprovider.c:
18823 * plugins/elements/gstfakesrc.c:
18824 * plugins/elements/gstfdsrc.c:
18825 * plugins/elements/gstfilesrc.c:
18826 * plugins/elements/gstidentity.c:
18827 * plugins/elements/gstqueue.c:
18828 * plugins/elements/gsttypefindelement.c:
18829 * plugins/indexers/gstfileindex.c:
18830 * plugins/indexers/gstmemindex.c:
18831 * tests/check/gst/gsttag.c:
18832 * tests/old/examples/cutter/cutter.c:
18833 * tests/old/examples/mixer/mixer.c:
18834 * tests/old/examples/xml/runxml.c: (main):
18835 * tests/old/testsuite/caps/normalisation.c:
18836 * tests/old/testsuite/debug/global.c:
18837 * tests/old/testsuite/parse/parse1.c:
18838 * tools/gst-xmlinspect.c:
18839 * win32/common/dirent.c:
18842 === release 0.10.0 ===
18844 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18847 releasing 0.10.0, "Maroilles"
18849 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18851 submitted by: Funda Wang <fundawang@linux.net.cn>
18855 added Chinese (Traditional) translation
18857 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18859 * docs/gst/gstreamer-sections.txt:
18860 * docs/libs/tmpl/gstdataprotocol.sgml:
18861 * docs/random/thomasvs/TODO:
18866 2005-12-05 Andy Wingo <wingo@pobox.com>
18868 patch by: Wim Taymans <wim@fluendo.com>
18870 * libs/gst/base/gstbasetransform.c
18871 (gst_base_transform_prepare_output_buf)
18872 (gst_base_transform_buffer_alloc):
18873 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18874 alloc_buffer_and_set_caps.
18876 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18877 set_caps on the source pad.
18878 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18879 alloc_buffer used to do. Fixes #322874.
18881 * docs/gst/gstreamer-sections.txt:
18882 * docs/design/part-negotiation.txt:
18883 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18886 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18888 patch by: Sebastien Moutte
18891 * win32/common/config.h.in:
18892 * win32/vs6/libgstcontroller.dsp:
18895 2005-12-05 Wim Taymans <wim@fluendo.com>
18897 * gst/gstcaps.c: (gst_caps_is_equal):
18898 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18899 (gst_fake_src_create):
18900 Back out previous code changes, leave doc updates, file bugs
18903 2005-12-05 Wim Taymans <wim@fluendo.com>
18905 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18906 (gst_fake_src_get_times), (gst_fake_src_create):
18907 * plugins/elements/gstfakesrc.h:
18908 Fix broken sync code.
18910 2005-12-05 Wim Taymans <wim@fluendo.com>
18912 * gst/gstcaps.c: (gst_caps_is_equal):
18913 Comparing NULL against !NULL yields different caps, not a
18916 2005-12-05 Wim Taymans <wim@fluendo.com>
18918 * gst/gstpipeline.c:
18919 Fix small typo in docs.
18921 2005-12-05 Andy Wingo <wingo@pobox.com>
18923 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18925 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18926 registries/plugins with a MAJORMINOR one.
18927 (plugin_desc): Rename library from gstcoreleements to
18928 staticelements. Fixes #323222.
18930 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18932 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18933 Change debug category to 'collectpads' from 'collect_pads'
18936 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18938 patch by: Sebastien Moutte
18940 * libs/gst/controller/gstinterpolation.c:
18941 use convert function for uint64/double
18942 * win32/vs6/libgstcontroller.dsp:
18945 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18947 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18948 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18950 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18951 add tests that seem to show that the guint64/gdouble conversions
18954 2005-12-02 Wim Taymans <wim@fluendo.com>
18956 * gst/gstregistry.c: (gst_registry_add_path):
18957 * gst/gstregistry.h:
18958 * gst/gstregistryxml.c:
18961 2005-12-02 Wim Taymans <wim@fluendo.com>
18963 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18964 (gst_util_uint64_scale_int):
18967 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18968 Add debug log line.
18970 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18973 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18976 * win32/common/config.h:
18977 * win32/vs6/gstreamer.dsw:
18978 * win32/vs6/libgstcoreelements.dsp:
18979 * win32/vs6/libgstelements.dsp:
18980 renamed core elements plugin
18982 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18984 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18986 do piece-wise major/minor comparison so 0.9 < 0.10
18987 also allow .exe extensions for tools
18989 2005-12-02 Michael Smith <msmith@fluendo.com>
18992 Escape a % to make gtkdoc happier; bug 322958.
18994 === release 0.9.7 ===
18996 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18999 releasing 0.9.7, "My Dog Has No Nose"
19001 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19003 * common/gst-xmlinspect.py:
19005 * docs/libs/tmpl/gstdataprotocol.sgml:
19006 * docs/random/release:
19025 * win32/common/config.h:
19026 * win32/common/config.h.in:
19027 * win32/vs6/gst_inspect.dsp:
19028 * win32/vs6/gst_launch.dsp:
19029 * win32/vs6/libgstbase.dsp:
19030 * win32/vs6/libgstelements.dsp:
19031 * win32/vs6/libgstreamer.dsp:
19032 * win32/vs7/GStreamer.vcproj:
19033 * win32/vs7/gst-inspect.vcproj:
19034 * win32/vs7/gst-launch.vcproj:
19035 * win32/vs7/libgstbase.vcproj:
19036 bump GST_MAJORMINOR to 0.10
19037 reset libtool version
19039 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19043 Added Bulgarian translation by (Alexander Shopov)
19045 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19047 * tests/check/gst/gstplugin.c:
19050 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19052 * common/gst-xmlinspect.py:
19053 * common/gtk-doc-plugins.mak:
19055 * docs/Makefile.am:
19056 * docs/gst/Makefile.am:
19057 * docs/gst/gstreamer-docs.sgml:
19058 * docs/gst/gstreamer-sections.txt:
19059 * docs/gst/gstreamer.types:
19060 * docs/gst/gstreamer.types.in:
19061 * docs/plugins/Makefile.am:
19062 * docs/plugins/gstreamer-plugins-docs.sgml:
19063 * docs/plugins/gstreamer-plugins-sections.txt:
19064 * docs/plugins/gstreamer-plugins.types:
19065 * docs/plugins/inspect.stamp:
19066 * docs/plugins/inspect/plugin-coreelements.xml:
19067 * docs/plugins/inspect/plugin-coreindexers.xml:
19068 * docs/plugins/scanobj-build.stamp:
19069 * gstreamer.spec.in:
19070 * plugins/elements/Makefile.am:
19071 * plugins/elements/gstelements.c:
19072 * plugins/elements/gstfakesink.c:
19073 * plugins/elements/gstfakesrc.c:
19074 * plugins/elements/gstfilesink.c:
19075 * plugins/elements/gstfilesrc.c:
19076 * plugins/elements/gstqueue.c:
19077 * plugins/indexers/Makefile.am:
19078 * plugins/indexers/gstindexers.c:
19079 document core plugins in a separate document just like all the
19081 rename these plugins to something starting with core
19083 2005-12-01 Andy Wingo <wingo@pobox.com>
19085 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19086 padding here before, but it missed the commit.
19088 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19090 * libs/gst/controller/gstinterpolation.c:
19091 whitespace prices have crashed, we should feel free to use some now
19092 use gst_guint64_to_gdouble
19094 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19096 * libs/gst/controller/gstcontroller.c:
19097 * libs/gst/controller/gsthelper.c:
19098 * libs/gst/controller/gstinterpolation.c:
19099 * libs/gst/controller/lib.c:
19100 wrap config.h include
19102 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19104 * docs/gst/gstreamer-sections.txt:
19107 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19109 * plugins/elements/gstelements.c:
19110 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19111 (gst_fd_sink__class_init), (gst_fd_sink__init),
19112 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19113 (gst_fd_sink__get_property):
19114 * plugins/elements/gstfdsink.h:
19115 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19116 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19117 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19118 (gst_fd_src_unlock), (gst_fd_src_set_property),
19119 (gst_fd_src_get_property), (gst_fd_src_create),
19120 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19121 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19122 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19123 (gst_fd_src_uri_handler_init):
19124 * plugins/elements/gstfdsrc.h:
19125 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19128 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19130 * docs/gst/Makefile.am:
19131 * docs/gst/gstreamer.types.in:
19135 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19141 * gst/gstregistry.h:
19142 * tests/benchmarks/complexity.c:
19143 * tests/benchmarks/mass-elements.c:
19144 * tests/check/Makefile.am:
19145 * tools/Makefile.am:
19146 * tools/gst-inspect.c:
19147 * tools/gst-xmlinspect.c:
19148 various fixes to make
19149 --disable-nls --disable-registry --disable-loadsave
19150 --disable-parse --disable-gst-debug
19151 work and get the core .so down to 360444 bytes after stripping
19153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19158 * docs/random/thomasvs/TODO:
19159 * tests/Makefile.am:
19163 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19165 * win32/GStreamer.vcproj:
19168 * win32/Makefile.inspect:
19169 * win32/Makefile.launch:
19170 * win32/Makefile.register:
19171 * win32/README.txt:
19172 * win32/gst-inspect.vcproj:
19173 * win32/gst-launch.vcproj:
19174 * win32/gst-register.vcproj:
19175 * win32/gstelements.vcproj:
19176 * win32/gstgetbits.def:
19177 * win32/gstgetbits.vcproj:
19178 * win32/gstreamer-dbg.def:
19179 * win32/gstreamer.def:
19180 * win32/libgstbase.def:
19181 * win32/libgstbase.vcproj:
19182 * win32/link_oldruntime.c:
19186 * win32/msvc71.sln:
19187 move even more stuff, win32/ is nice and clean now
19189 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19191 * libs/gst/control/.cvsignore:
19196 * win32/gstbytestream.def:
19197 * win32/gstbytestream.vcproj:
19198 * win32/gstconfig.h:
19199 * win32/gstenumtypes.c:
19200 * win32/gstenumtypes.h:
19201 * win32/gstoptimalscheduler.vcproj:
19202 * win32/gstversion.h:
19204 * win32/testsuite/bins.vcproj:
19205 * win32/testsuite/bytestream.vcproj:
19206 * win32/testsuite/caps.vcproj:
19207 * win32/testsuite/cleanup.vcproj:
19208 * win32/testsuite/clock.vcproj:
19209 * win32/testsuite/debug.vcproj:
19210 * win32/testsuite/dlopen.vcproj:
19211 * win32/testsuite/dynparams.vcproj:
19212 * win32/testsuite/elements.vcproj:
19213 * win32/testsuite/ghostpads.vcproj:
19214 * win32/testsuite/indexers.vcproj:
19215 * win32/testsuite/negotiation.vcproj:
19216 * win32/testsuite/parse.vcproj:
19217 * win32/testsuite/plugin.vcproj:
19218 * win32/testsuite/refcounting.vcproj:
19219 * win32/testsuite/schedulers.vcproj:
19220 * win32/testsuite/states.vcproj:
19221 * win32/testsuite/tags.vcproj:
19222 * win32/testsuite/threads.vcproj:
19223 remove old win32 stuff that isn't maintained and should be
19226 2005-11-30 Andy Wingo <wingo@pobox.com>
19228 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19229 loading the gst.interfaces python module bork.
19231 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19232 available since GLib 2.2. Fixes #318031.
19234 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19237 * check/.cvsignore:
19238 * check/Makefile.am:
19239 * check/elements/.cvsignore:
19240 * check/elements/fakesrc.c:
19241 * check/elements/fdsrc.c:
19242 * check/elements/identity.c:
19243 * check/generic/.cvsignore:
19244 * check/generic/states.c:
19245 * check/gst-libs/.cvsignore:
19246 * check/gst-libs/controller.c:
19247 * check/gst-libs/gdp.c:
19248 * check/gst/.cvsignore:
19249 * check/gst/capslist.h:
19251 * check/gst/gstbin.c:
19252 * check/gst/gstbuffer.c:
19253 * check/gst/gstbus.c:
19254 * check/gst/gstcaps.c:
19255 * check/gst/gstelement.c:
19256 * check/gst/gstevent.c:
19257 * check/gst/gstghostpad.c:
19258 * check/gst/gstiterator.c:
19259 * check/gst/gstmessage.c:
19260 * check/gst/gstminiobject.c:
19261 * check/gst/gstobject.c:
19262 * check/gst/gstpad.c:
19263 * check/gst/gstpipeline.c:
19264 * check/gst/gstplugin.c:
19265 * check/gst/gstsegment.c:
19266 * check/gst/gststructure.c:
19267 * check/gst/gstsystemclock.c:
19268 * check/gst/gsttag.c:
19269 * check/gst/gstutils.c:
19270 * check/gst/gstvalue.c:
19271 * check/net/.cvsignore:
19272 * check/net/gstnetclientclock.c:
19273 * check/net/gstnettimeprovider.c:
19274 * check/pipelines/.cvsignore:
19275 * check/pipelines/cleanup.c:
19276 * check/pipelines/simple_launch_lines.c:
19277 * check/pipelines/stress.c:
19278 * check/states/.cvsignore:
19279 * check/states/sinks.c:
19281 * examples/Makefile.am:
19282 * examples/appreader/.cvsignore:
19283 * examples/appreader/Makefile.am:
19284 * examples/appreader/appreader.c:
19285 * examples/controller/.cvsignore:
19286 * examples/controller/Makefile.am:
19287 * examples/controller/audio-example.c:
19288 * examples/cutter/.cvsignore:
19289 * examples/cutter/Makefile.am:
19290 * examples/cutter/cutter.c:
19291 * examples/cutter/cutter.h:
19292 * examples/events/Makefile.am:
19293 * examples/events/seek.c:
19294 * examples/helloworld/.cvsignore:
19295 * examples/helloworld/Makefile.am:
19296 * examples/helloworld/helloworld.c:
19297 * examples/helloworld2/.cvsignore:
19298 * examples/helloworld2/Makefile.am:
19299 * examples/helloworld2/helloworld2.c:
19300 * examples/launch/.cvsignore:
19301 * examples/launch/Makefile.am:
19302 * examples/launch/mp3parselaunch.c:
19303 * examples/launch/mp3play:
19304 * examples/manual/.cvsignore:
19305 * examples/manual/Makefile.am:
19306 * examples/manual/extract.pl:
19307 * examples/metadata/Makefile.am:
19308 * examples/metadata/read-metadata.c:
19309 * examples/mixer/.cvsignore:
19310 * examples/mixer/Makefile.am:
19311 * examples/mixer/mixer.c:
19312 * examples/mixer/mixer.h:
19313 * examples/pingpong/.cvsignore:
19314 * examples/pingpong/Makefile.am:
19315 * examples/pingpong/pingpong.c:
19316 * examples/plugins/.cvsignore:
19317 * examples/plugins/Makefile.am:
19318 * examples/plugins/example.c:
19319 * examples/plugins/example.h:
19320 * examples/pwg/.cvsignore:
19321 * examples/pwg/Makefile.am:
19322 * examples/pwg/extract.pl:
19323 * examples/queue/.cvsignore:
19324 * examples/queue/Makefile.am:
19325 * examples/queue/queue.c:
19326 * examples/queue2/.cvsignore:
19327 * examples/queue2/Makefile.am:
19328 * examples/queue2/queue2.c:
19329 * examples/queue3/.cvsignore:
19330 * examples/queue3/Makefile.am:
19331 * examples/queue3/queue3.c:
19332 * examples/queue4/.cvsignore:
19333 * examples/queue4/Makefile.am:
19334 * examples/queue4/queue4.c:
19335 * examples/retag/.cvsignore:
19336 * examples/retag/Makefile.am:
19337 * examples/retag/retag.c:
19338 * examples/retag/transcode.c:
19339 * examples/thread/.cvsignore:
19340 * examples/thread/Makefile.am:
19341 * examples/thread/thread.c:
19342 * examples/typefind/.cvsignore:
19343 * examples/typefind/Makefile.am:
19344 * examples/typefind/typefind.c:
19345 * examples/xml/.cvsignore:
19346 * examples/xml/Makefile.am:
19347 * examples/xml/createxml.c:
19348 * examples/xml/runxml.c:
19349 * tests/Makefile.am:
19350 * tests/check/Makefile.am:
19351 * testsuite/.cvsignore:
19352 * testsuite/Makefile.am:
19354 * testsuite/caps/.cvsignore:
19355 * testsuite/caps/Makefile.am:
19356 * testsuite/caps/app_fixate.c:
19357 * testsuite/caps/audioscale.c:
19358 * testsuite/caps/caps.c:
19359 * testsuite/caps/caps.h:
19360 * testsuite/caps/caps_strings:
19361 * testsuite/caps/compatibility.c:
19362 * testsuite/caps/deserialize.c:
19363 * testsuite/caps/enumcaps.c:
19364 * testsuite/caps/eratosthenes.c:
19365 * testsuite/caps/filtercaps.c:
19366 * testsuite/caps/fixed.c:
19367 * testsuite/caps/fraction-convert.c:
19368 * testsuite/caps/fraction-multiply-and-zero.c:
19369 * testsuite/caps/intersect2.c:
19370 * testsuite/caps/intersection.c:
19371 * testsuite/caps/normalisation.c:
19372 * testsuite/caps/random.c:
19373 * testsuite/caps/renegotiate.c:
19374 * testsuite/caps/sets.c:
19375 * testsuite/caps/simplify.c:
19376 * testsuite/caps/string-conversions.c:
19377 * testsuite/caps/structure.c:
19378 * testsuite/caps/subtract.c:
19379 * testsuite/caps/union.c:
19380 * testsuite/debug/.cvsignore:
19381 * testsuite/debug/Makefile.am:
19382 * testsuite/debug/category.c:
19383 * testsuite/debug/commandline.c:
19384 * testsuite/debug/global.c:
19385 * testsuite/debug/output.c:
19386 * testsuite/debug/printf_extension.c:
19387 * testsuite/dlopen/.cvsignore:
19388 * testsuite/dlopen/Makefile.am:
19389 * testsuite/dlopen/dlopen_gst.c:
19390 * testsuite/dlopen/loadgst.c:
19391 * testsuite/elements/.cvsignore:
19392 * testsuite/elements/Makefile.am:
19393 * testsuite/elements/gst-inspect-check.in:
19394 * testsuite/elements/struct_i386.h:
19395 * testsuite/elements/struct_size.c:
19396 * testsuite/indexers/.cvsignore:
19397 * testsuite/indexers/Makefile.am:
19398 * testsuite/indexers/cache1.c:
19399 * testsuite/indexers/indexdump.c:
19400 * testsuite/parse/.cvsignore:
19401 * testsuite/parse/Makefile.am:
19402 * testsuite/parse/parse1.c:
19403 * testsuite/parse/parse2.c:
19404 * testsuite/plugin/.cvsignore:
19405 * testsuite/plugin/Makefile.am:
19406 * testsuite/plugin/README:
19407 * testsuite/plugin/dynamic.c:
19408 * testsuite/plugin/linked.c:
19409 * testsuite/plugin/loading.c:
19410 * testsuite/plugin/registry.c:
19411 * testsuite/plugin/static.c:
19412 * testsuite/plugin/static2.c:
19413 * testsuite/plugin/testplugin.c:
19414 * testsuite/plugin/testplugin2.c:
19415 * testsuite/plugin/testplugin2_s.c:
19416 * testsuite/plugin/testplugin_s.c:
19417 * testsuite/refcounting/.cvsignore:
19418 * testsuite/refcounting/Makefile.am:
19419 * testsuite/refcounting/bin.c:
19420 * testsuite/refcounting/element.c:
19421 * testsuite/refcounting/element_pad.c:
19422 * testsuite/refcounting/mainloop.c:
19423 * testsuite/refcounting/mem.c:
19424 * testsuite/refcounting/mem.h:
19425 * testsuite/refcounting/object.c:
19426 * testsuite/refcounting/pad.c:
19427 * testsuite/refcounting/sched.c:
19428 * testsuite/refcounting/thread.c:
19429 * testsuite/states/.cvsignore:
19430 * testsuite/states/Makefile.am:
19431 * testsuite/states/bin.c:
19432 * testsuite/states/locked.c:
19433 * testsuite/states/parent.c:
19434 * testsuite/threads/.cvsignore:
19435 * testsuite/threads/159566.c:
19436 * testsuite/threads/159852.c:
19437 * testsuite/threads/Makefile.am:
19438 * testsuite/threads/queue.c:
19439 * testsuite/threads/signals.c:
19440 * testsuite/threads/staticrec.c:
19441 * testsuite/threads/thread.c:
19442 * testsuite/threads/threadb.c:
19443 * testsuite/threads/threadc.c:
19444 * testsuite/threads/threadd.c:
19445 * testsuite/threads/threade.c:
19446 * testsuite/threads/threadf.c:
19447 * testsuite/threads/threadg.c:
19448 * testsuite/threads/threadh.c:
19449 * testsuite/threads/threadi.c:
19450 move all of these under tests
19452 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19455 * tests/Makefile.am:
19458 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19460 * docs/gst/gstreamer-sections.txt:
19461 * tests/sched/.cvsignore:
19462 * tests/sched/Makefile.am:
19463 * tests/sched/cases/(fs-fs).xml:
19464 * tests/sched/cases/(fs-i-fs).xml:
19465 * tests/sched/cases/(fs-i-i-fs).xml:
19466 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19467 * tests/sched/dynamic-pipeline.c:
19468 * tests/sched/interrupt1.c:
19469 * tests/sched/interrupt2.c:
19470 * tests/sched/interrupt3.c:
19471 * tests/sched/runtestcases:
19472 * tests/sched/runxml.c:
19473 * tests/sched/sched-stress.c:
19474 * tests/sched/sort.c:
19475 * tests/sched/testcases:
19476 * tests/sched/testcases1.tc:
19477 * tests/seeking/.cvsignore:
19478 * tests/seeking/Makefile.am:
19479 * tests/seeking/seeking1.c:
19480 * tests/threadstate/.cvsignore:
19481 * tests/threadstate/Makefile.am:
19482 * tests/threadstate/test1.c:
19483 * tests/threadstate/test2.c:
19484 * tests/threadstate/threadstate1.c:
19485 * tests/threadstate/threadstate2.c:
19486 * tests/threadstate/threadstate3.c:
19487 * tests/threadstate/threadstate4.c:
19488 * tests/threadstate/threadstate5.c:
19489 remove obsolete tests
19491 * tests/bench-complexity.scm:
19492 * tests/bench-mass_elements.scm:
19493 * tests/complexity.c:
19494 * tests/complexity.gnuplot:
19495 * tests/instantiate/.cvsignore:
19496 * tests/instantiate/Makefile.am:
19497 * tests/instantiate/caps.c:
19498 * tests/mass_elements.c:
19499 * tests/network-clock-utils.scm:
19500 * tests/network-clock.scm:
19502 First pass at cleaning up tests/ dir before moving the rest
19503 Combined with CVS surgery
19505 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19508 queue has moved, update
19510 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19512 * docs/gst/gstreamer-sections.txt:
19513 remove double entries from the docs
19514 * gst/gst_private.h:
19515 * gst/gstinfo.c: (_gst_debug_init):
19516 remove the THREAD debug category
19520 * docs/gst/gstreamer.types:
19521 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19522 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19523 completely move queue and fix up debugging categories
19525 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19527 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19528 make initialization portable, using LL is not
19530 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19532 * win32/common/gstconfig.h:
19535 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19537 * win32/common/libgstreamer.def:
19538 rename symbols; sort base section
19540 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19542 * gst/gstclock.c: (do_linear_regression):
19543 remove crack non-portable handrolled DEBUG macro
19545 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19547 * docs/random/release:
19549 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19550 (gst_object_flags_get_type), (register_gst_bin_flags),
19551 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19552 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19553 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19554 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19555 (gst_caps_flags_get_type), (register_gst_clock_return),
19556 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19557 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19558 (gst_clock_flags_get_type), (register_gst_state),
19559 (gst_state_get_type), (register_gst_state_change_return),
19560 (gst_state_change_return_get_type), (register_gst_state_change),
19561 (gst_state_change_get_type), (register_gst_element_flags),
19562 (gst_element_flags_get_type), (register_gst_core_error),
19563 (gst_core_error_get_type), (register_gst_library_error),
19564 (gst_library_error_get_type), (register_gst_resource_error),
19565 (gst_resource_error_get_type), (register_gst_stream_error),
19566 (gst_stream_error_get_type), (register_gst_event_type_flags),
19567 (gst_event_type_flags_get_type), (register_gst_event_type),
19568 (gst_event_type_get_type), (register_gst_seek_type),
19569 (gst_seek_type_get_type), (register_gst_seek_flags),
19570 (gst_seek_flags_get_type), (register_gst_format),
19571 (gst_format_get_type), (register_gst_index_certainty),
19572 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19573 (gst_index_entry_type_get_type),
19574 (register_gst_index_lookup_method),
19575 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19576 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19577 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19578 (gst_index_flags_get_type), (register_gst_debug_level),
19579 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19580 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19581 (gst_iterator_result_get_type), (register_gst_iterator_item),
19582 (gst_iterator_item_get_type), (register_gst_message_type),
19583 (gst_message_type_get_type), (register_gst_mini_object_flags),
19584 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19585 (gst_pad_link_return_get_type), (register_gst_flow_return),
19586 (gst_flow_return_get_type), (register_gst_activate_mode),
19587 (gst_activate_mode_get_type), (register_gst_pad_direction),
19588 (gst_pad_direction_get_type), (register_gst_pad_flags),
19589 (gst_pad_flags_get_type), (register_gst_pad_presence),
19590 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19591 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19592 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19593 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19594 (gst_plugin_flags_get_type), (register_gst_rank),
19595 (gst_rank_get_type), (register_gst_query_type),
19596 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19597 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19598 (gst_tag_flag_get_type), (register_gst_task_state),
19599 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19600 (gst_alloc_trace_flags_get_type),
19601 (register_gst_type_find_probability),
19602 (gst_type_find_probability_get_type), (register_gst_uri_type),
19603 (gst_uri_type_get_type), (register_gst_parse_error),
19604 (gst_parse_error_get_type):
19605 * win32/common/gstenumtypes.h:
19606 * win32/common/gstversion.h:
19607 update visual studio generated files
19609 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19611 * win32/vs6/libgstbase.dsp:
19612 * win32/vs6/libgstelements.dsp:
19613 update project files for new locations
19615 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19620 reinstate and update
19625 * docs/random/LICENSE:
19628 2005-11-30 Edward Hervey <edward@fluendo.com>
19630 * gst/gsttypefind.c: (gst_type_find_register):
19631 * gst/gsttypefind.h:
19632 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19633 (gst_type_find_factory_dispose):
19634 * gst/gsttypefindfactory.h:
19635 Fix memory leak in GstTypeFindFactory.
19637 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19640 * plugins/elements/Makefile.am:
19641 * plugins/elements/gstelements.c:
19642 * plugins/elements/gstqueue.c:
19643 move queue from core to the elements plugin
19645 2005-11-29 Andy Wingo <wingo@pobox.com>
19647 * libs/gst/base/gstbasetransform.h:
19648 * libs/gst/base/gstbasesrc.h:
19649 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19651 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19652 of pointers by which to pad very extensible base classes (like the
19653 ones in libs/gst/base).
19655 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19657 * docs/gst/gstreamer-docs.sgml:
19658 * docs/gst/gstreamer-sections.txt:
19659 * docs/libs/gstreamer-libs-docs.sgml:
19660 * docs/libs/gstreamer-libs-sections.txt:
19661 moving documentation from core to lib
19663 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19665 * check/Makefile.am:
19667 * docs/gst/Makefile.am:
19669 * gst/base/.cvsignore:
19670 * gst/base/Makefile.am:
19672 * gst/base/gstadapter.c:
19673 * gst/base/gstadapter.h:
19674 * gst/base/gstbasesink.c:
19675 * gst/base/gstbasesink.h:
19676 * gst/base/gstbasesrc.c:
19677 * gst/base/gstbasesrc.h:
19678 * gst/base/gstbasetransform.c:
19679 * gst/base/gstbasetransform.h:
19680 * gst/base/gstcollectpads.c:
19681 * gst/base/gstcollectpads.h:
19682 * gst/base/gstpushsrc.c:
19683 * gst/base/gstpushsrc.h:
19684 * gst/base/gsttypefindhelper.c:
19685 * gst/base/gsttypefindhelper.h:
19686 * gst/check/Makefile.am:
19687 * gst/check/gstcheck.c:
19688 * gst/check/gstcheck.h:
19689 * gst/net/Makefile.am:
19690 * gst/net/gstnet.h:
19691 * gst/net/gstnetclientclock.c:
19692 * gst/net/gstnetclientclock.h:
19693 * gst/net/gstnettimepacket.c:
19694 * gst/net/gstnettimepacket.h:
19695 * gst/net/gstnettimeprovider.c:
19696 * gst/net/gstnettimeprovider.h:
19697 * libs/gst/Makefile.am:
19698 * libs/gst/base/Makefile.am:
19699 * libs/gst/base/gstbasetransform.c:
19700 * libs/gst/check/Makefile.am:
19701 * plugins/elements/Makefile.am:
19703 CVS surgery + support to move base, check, and net out of gst
19706 2005-11-29 Andy Wingo <wingo@pobox.com>
19708 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19710 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19713 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19715 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19717 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19719 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19720 padding; reduces object size by about 30%. We don't expect
19721 anything else to go into gstobject.
19723 * gst/gstminiobject.h (struct _GstMiniObject)
19724 (struct _GstMiniObjectClass): Only one pointer of padding; the
19725 payload is only a pointer and two ints anyway. For the class there
19726 are only two methods as well.
19728 * gst/gstelement.h (struct _GstElementClass): Removed
19729 the state_changed signal callback, it is not used.
19731 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19733 * docs/gst/gstreamer.types:
19734 fix includes, though they are a little dinky
19736 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19738 * check/Makefile.am:
19739 look in the right place for elements, a lot more chance of
19742 remove indexers and elements subdirs
19743 * plugins/Makefile.am:
19744 make indexers conditional
19746 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19750 * plugins/elements/Makefile.am:
19751 * plugins/elements/gstcapsfilter.c:
19752 * plugins/elements/gstfilesink.c:
19753 * plugins/elements/gstfilesrc.c:
19754 * plugins/elements/gstidentity.c:
19755 * plugins/indexers/Makefile.am:
19756 do CVS surgery and related build fixery to move elements
19757 and indexers in a new gstreamer/plugins directory, out of the
19760 2005-11-29 Andy Wingo <wingo@pobox.com>
19762 * check/Makefile.am:
19763 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19764 * pkgconfig/gstreamer-net.pc.in:
19765 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19768 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19770 * tools/Makefile.am:
19771 * tools/gst-complete.1.in:
19772 * tools/gst-complete.c:
19773 * tools/gst-compprep.1.in:
19774 * tools/gst-compprep.c:
19775 removing -compprep and -complete
19777 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19779 * gst/gstevent.c: (gst_event_new_new_segment),
19780 (gst_event_parse_new_segment):
19782 fix #320529 - clean up new_segment API and structure.
19783 Let's hope everyone was using the methods, and not the structure.
19785 2005-11-29 Edward Hervey <edward@fluendo.com>
19787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19788 (gst_base_sink_event), (gst_base_sink_do_sync),
19789 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19790 Properly handle non GST_FORMAT_TIME segment
19791 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19792 Properly handle non GST_FORMAT_TIME segment
19793 * gst/gstsegment.c:
19794 This function is valid if the accumulator is 0 and the format
19795 is different from the requested format.
19797 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19799 * docs/gst/gstreamer-sections.txt:
19800 Add gst_query_new_seeking and gst_query_parse_seeking to the
19803 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19805 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19806 Treat a pad alloc with new caps the same as if we were not
19807 negotiated, in order to allow a changing upstream output
19808 to produce a new format of data.
19810 2005-11-29 Edward Hervey <edward@fluendo.com>
19812 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19813 (gst_base_transform_event), (gst_base_transform_eventfunc):
19814 The event virtual method is now properly implemented, with a default
19816 Sub classes should call the parent_class event method. They should
19817 return FALSE if they had a problem handling the given event, or don't
19818 want GstBaseTransform to send that even downstream
19819 * gst/elements/gstidentity.c: (gst_identity_class_init),
19820 (gst_identity_init), (gst_identity_event),
19821 (gst_identity_transform_ip), (gst_identity_set_property),
19822 (gst_identity_get_property):
19823 * gst/elements/gstidentity.h:
19824 Added the single-segment boolean property.
19825 If set to TRUE, it will output a single segment of data, starting from
19826 0, will eat up all incoming newsegment, and modify the timestamp of the
19827 buffers accordingly
19829 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19831 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19832 Don't ref NULL target pad (#322751). Improve docs.
19834 2005-11-29 Michael Smith <msmith@fluendo.com>
19836 * gst/gstregistryxml.c: (load_plugin):
19837 Don't crash if we failed to load a feature from a plugin.
19839 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19841 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19843 use more check API and less GLib API
19845 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19848 don't run checks if we don't have check
19849 * common/check.mak:
19850 remove the registry when running make torture
19851 * docs/gst/gstreamer-sections.txt:
19852 remove second multiply
19853 * gst/gstqueue.c: (gst_queue_loop):
19854 fix a compile warning when disabling debug
19856 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19859 Hey! Let's print the pad name if the pointer != NULL instead
19860 of when it == NULL :-)
19862 2005-11-28 Wim Taymans <wim@fluendo.com>
19864 * check/gst/gstutils.c: (GST_START_TEST):
19865 Updated check, add some scaling accuracy checking code.
19867 * gst/gstutils.c: (gst_util_div128_64),
19868 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19869 (gst_util_uint64_scale_int):
19870 Fix 6 times faster division code. Optimize for common
19871 1/1 and less common X/1 cases.
19873 2005-11-28 Wim Taymans <wim@fluendo.com>
19875 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19878 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19879 (do_linear_regression), (gst_clock_add_observation):
19881 Release lock when the clock cannot be slaved.
19882 Catch the case where the regression returned an invalid denominator.
19884 * gst/gstutils.c: (gst_util_div128_64_iterate),
19885 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19886 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19887 Add protentially more performant non-iterative 128/64 divide function
19888 that unfortunatly does not work yet.
19889 Shortcut the trivial 0/X = 0 case.
19890 Remove the warnings on overflow.
19892 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19894 * gst/gstplugin.c: (gst_plugin_register_func):
19895 everything causing a plugin not to load should be at least a WARNING
19897 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19899 * docs/random/ensonic/dparams.txt:
19900 some TODOs for the next dev cycle
19901 * libs/gst/controller/gstcontroller.c:
19902 (gst_controlled_property_set_interpolation_mode),
19903 (gst_controlled_property_new):
19904 * libs/gst/controller/gstcontroller.h:
19905 use base type to assign acccessor functions
19907 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19909 * check/Makefile.am:
19910 Oops, that should have been top_srcdir
19912 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19914 * check/Makefile.am:
19915 * check/elements/fdsrc.c: (GST_START_TEST):
19916 Use a cmdline define to specify the location of a file to use for
19917 testing, to avoid breaking distcheck.
19919 2005-11-28 Andy Wingo <wingo@pobox.com>
19921 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19923 2005-11-28 Edward Hervey <edward@fluendo.com>
19925 * tools/gst-launch.c: (main):
19926 Clarify the output strings, makes it easier to translate.
19929 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19932 don't try and build net if we don't even have <sys/socket.h>
19934 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19936 * check/Makefile.am:
19937 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19938 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19939 Add tests for fdsrc seekability
19941 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19942 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19943 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19944 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19945 * gst/elements/gstfdsrc.h:
19946 fdsrc should not be a 'live' source.
19947 Implement seeking on seekable fd's.
19949 * gst/gstquery.c: (gst_query_new_seeking),
19950 (gst_query_parse_seeking):
19952 Implement SEEKING query functions:
19953 *_new_seeking and *_parse_seeking
19955 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19957 * gst/gstelement.c: (gst_element_dispose):
19960 * gst/gstiterator.c:
19961 * gst/gststructure.c:
19964 * libs/gst/controller/gstcontroller.c:
19965 (gst_controlled_property_set_interpolation_mode):
19966 * libs/gst/controller/gstcontroller.h:
19967 * libs/gst/controller/gstinterpolation.c:
19968 (interpolate_none_get_enum_value_array):
19969 support controlling enums
19971 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19974 Improve documentation for gst_value_union().
19977 Change return value for union, intersect and subtract functions
19978 from gint to gboolean.
19980 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19982 * gst/gstvalue.c: (gst_value_serialize_any_list),
19983 (gst_value_transform_any_list_string),
19984 (gst_value_deserialize_list), (gst_value_deserialize_array),
19985 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19986 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19987 (gst_value_set_fraction_range_full),
19988 (gst_value_deserialize_fraction_range),
19989 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19990 (gst_value_deserialize_boolean),
19991 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19992 (gst_value_serialize_float), (gst_value_deserialize_float),
19993 (gst_string_wrap), (gst_value_deserialize_string),
19994 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19995 (gst_value_union_int_range_int_range),
19996 (gst_value_intersect_int_range_int_range),
19997 (gst_value_intersect_double_range_double_range),
19998 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19999 (gst_value_subtract_int_range_int_range),
20000 (gst_value_subtract_double_double_range),
20001 (gst_value_subtract_double_range_double_range),
20002 (gst_value_deserialize_fraction):
20004 Use gint, gdouble and gchar in our API instead of int, double and
20005 char (and make usage in gstvalue.c more consistent).
20007 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20009 * check/Makefile.am:
20010 * libs/gst/controller/Makefile.am:
20011 * libs/gst/dataprotocol/Makefile.am:
20012 fix up Makefile.am and remove GST_ENABLE_NEW
20014 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20018 * gst/base/Makefile.am:
20019 * gst/check/Makefile.am:
20020 * gst/elements/Makefile.am:
20021 * gst/net/Makefile.am:
20022 update LDFLAGS use some more
20024 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20026 * common/m4/gst-doc.m4:
20029 2005-11-26 Edward Hervey <edward@fluendo.com>
20031 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20032 This shouldn't issue a g_warning since it returns NULL if it
20033 couldn't find the plugin, and all functions using this behave
20034 properly on a NULL return. Switching to a GST_WARNING.
20036 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20038 * gst/gstbin.c: (gst_bin_handle_message_func):
20039 Don't leak clock messages.
20041 2005-11-25 Wim Taymans <wim@fluendo.com>
20043 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20044 (gst_util_uint64_scale_int):
20045 Optimisations, remove unneeded vars.
20047 2005-11-25 Wim Taymans <wim@fluendo.com>
20049 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20050 Added more checks for the high precision uint64 cases.
20052 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20053 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20054 Implement high precision (guint64 * guint64) / guint64.
20056 2005-11-24 Wim Taymans <wim@fluendo.com>
20058 * gst/base/gstbasesrc.c: (gst_base_src_query):
20059 Fix wrong percentage query.
20061 * gst/gstutils.c: (gst_util_uint64_scale),
20062 (gst_util_uint64_scale_int):
20063 Add some more common cases that can be handled
20064 efficiently to _scale.
20066 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20068 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20069 (gst_mini_object_suite):
20070 don't use check calls from threads; check probably isn't
20071 threadsafe and using a lock to make it threadsafe would
20072 defeat the purpose of this check
20073 * gst/check/gstcheck.c:
20074 * gst/check/gstcheck.h:
20075 use GST_DEBUG some more
20077 2005-11-24 Wim Taymans <wim@fluendo.com>
20079 * gst/gstutils.c: (gst_util_uint64_scale),
20080 (gst_util_uint64_scale_int):
20081 Chain trivial case to _scale_int.
20083 2005-11-24 Wim Taymans <wim@fluendo.com>
20085 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20086 Added test for scaling.
20091 * gst/gstutils.c: (gst_util_uint64_scale_int):
20092 Implemented high precision scaling code.
20094 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20097 do not crash on pad==NULL
20099 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20101 Patch by: Stefan Kost
20103 * common/gtk-doc.mak:
20104 * docs/gst/Makefile.am:
20105 * docs/libs/Makefile.am:
20106 Fix distcheck issues for the libraries docs build
20109 2005-11-24 Michael Smith <msmith@fluendo.com>
20111 * docs/manual/basics-helloworld.xml:
20112 Fix bug #315027: memory leak in example code in docs.
20114 2005-11-24 Michael Smith <msmith@fluendo.com>
20116 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20117 Unlock the PREROLL_LOCK in a failure case.
20119 2005-11-24 Wim Taymans <wim@fluendo.com>
20121 * docs/gst/gstreamer-sections.txt:
20122 * gst/base/gstadapter.h:
20123 * gst/base/gstbasesink.h:
20124 * gst/base/gstbasesrc.h:
20125 * gst/base/gstbasetransform.h:
20126 * gst/base/gstpushsrc.h:
20127 * gst/elements/gstfakesink.h:
20128 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20129 * gst/elements/gstfakesrc.h:
20130 * gst/elements/gstfilesink.h:
20131 * gst/elements/gstfilesrc.h:
20134 * gst/gstbuffer.c: (_gst_buffer_copy):
20137 * gst/gstchildproxy.c:
20139 * gst/gstelement.c:
20140 * gst/gstelementfactory.c:
20141 * gst/gstelementfactory.h:
20143 * gst/gstghostpad.h:
20145 * gst/gstinterface.h:
20146 * gst/gstminiobject.c:
20147 * gst/gstminiobject.h:
20150 * gst/gstpadtemplate.h:
20151 * gst/gstpipeline.h:
20152 * gst/gstpluginfeature.h:
20155 * gst/gsttaglist.c:
20156 * gst/gsttaglist.h:
20157 * gst/gsttagsetter.c:
20158 * gst/gsttagsetter.h:
20161 * gst/gsttypefind.h:
20164 * gst/net/gstnetclientclock.c:
20165 * gst/net/gstnetclientclock.h:
20166 * gst/net/gstnettimepacket.c:
20167 * gst/net/gstnettimeprovider.c:
20168 * gst/net/gstnettimeprovider.h:
20171 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20173 * configure.ac: back to HEAD
20175 === release 0.9.6 ===
20177 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20180 releasing 0.9.6, "Always On Time"
20182 2005-11-23 Wim Taymans <wim@fluendo.com>
20184 * docs/gst/gstreamer-sections.txt:
20185 * gst/glib-compat.c:
20186 * gst/gsttagsetter.c:
20188 * gst/net/gstnetclientclock.c:
20189 * gst/net/gstnettimepacket.h:
20192 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20194 * docs/faq/using.xml:
20195 * docs/libs/tmpl/gstcontrol.sgml:
20196 * docs/manual/advanced-dparams.xml:
20197 * docs/manual/appendix-checklist.xml:
20198 * docs/manual/basics-elements.xml:
20199 * docs/pwg/other-source.xml:
20200 * docs/random/moving-plugins:
20202 * tools/gst-launch.1.in:
20203 remove mentions of sinesrc
20205 2005-11-23 Michael Smith <msmith@fluendo.com>
20207 * docs/gst/gstreamer-sections.txt:
20208 Update for new API and API changes.
20210 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20212 Documentation typo fix.
20213 * gst/net/gstnettimepacket.c:
20214 Documentation fixes for arguments.
20216 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20218 * gst/gststructure.c: (gst_structure_get_fraction),
20219 (gst_structure_parse_value),
20220 (gst_structure_fixate_field_nearest_fraction):
20221 * gst/gststructure.h:
20222 * gst/gstutils.c: (gst_util_uint64_scale_int):
20224 * scripts/update-funcnames:
20226 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20227 Make gst_structure_fixate_field_nearest_fraction take a numerator
20228 and denominator argument instead of a GValue
20229 add gst_structure_get_fraction helper function.
20231 2005-11-23 Wim Taymans <wim@fluendo.com>
20233 * docs/design/part-TODO.txt:
20236 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20237 * gst/net/gstnetclientclock.h:
20238 Use parent fields for timeout and window_size.
20240 2005-11-23 Andy Wingo <wingo@pobox.com>
20242 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20243 rate_num/rate_denom change.
20245 * gst/net/gstnetclientclock.c
20246 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20247 OBJECT_LOCK. Don't call add_observation with the lock.
20249 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20251 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20253 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20254 deal with rate as a fraction whose numerator and denominator are
20255 GstClockTime values.
20256 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20257 master; the other fields are protected by the SLAVE_LOCK.
20258 (do_linear_regression): Note that this must be called with the
20260 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20261 OBJECT_LOCK. Call set_calibration instead of touching the
20262 variables directly.
20263 (gst_clock_set_property, gst_clock_get_property): Protect
20264 master/slave parameters with the SLAVE_LOCK.
20266 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20267 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20268 note that all of the instance variables that add_observation and
20269 the set_master functions use are protected by that lock and not
20271 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20273 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20274 the caller to take the object lock.
20276 2005-11-23 Wim Taymans <wim@fluendo.com>
20278 * gst/gsterror.c: (_gst_core_errors_init):
20280 Add error for clock stuff.
20282 * gst/gstpipeline.c: (gst_pipeline_change_state),
20283 (gst_pipeline_set_clock):
20284 Post clock error when clock cannot be used in a pipeline.
20286 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20288 * docs/gst/gstreamer-sections.txt:
20289 make two symbols from gstinfo private for the docs
20290 * gst/base/gstcollectpads.h:
20292 fix doc typos, update docs
20294 2005-11-22 Wim Taymans <wim@fluendo.com>
20296 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20297 (gst_base_sink_wait), (gst_base_sink_do_sync),
20298 (gst_base_sink_handle_event):
20299 * gst/base/gstbasesink.h:
20300 No need to store the clock, the parent element class already
20303 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20304 Updates for clock_set returning a gboolean
20306 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20307 (gst_clock_id_wait_async), (gst_clock_class_init),
20308 (gst_clock_init), (gst_clock_finalize),
20309 (gst_clock_get_internal_time), (gst_clock_get_time),
20310 (gst_clock_slave_callback), (gst_clock_set_master),
20311 (gst_clock_get_master), (do_linear_regression),
20312 (gst_clock_add_observation), (gst_clock_set_property),
20313 (gst_clock_get_property):
20315 Implement master/slave. When setting a clock as a slave, a
20316 periodic timeout is scheduled to sample master and slave times.
20317 Then the slave clock is recalibrated to match offset and rate
20318 of the master clock.
20319 Update logging a bit.
20320 Add flag so that a clock can state that is cannot be slaved to
20323 * gst/gstelement.c: (gst_element_set_clock):
20324 * gst/gstelement.h:
20325 The set clock returns a gboolean for when an element cannot
20326 deal with the selected clock in the pipeline.
20328 * gst/gstpipeline.c: (gst_pipeline_change_state),
20329 (gst_pipeline_set_clock):
20330 * gst/gstpipeline.h:
20331 Handle the case where the selected clock cannot be set on
20334 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20335 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20336 (gst_net_client_clock_set_property),
20337 (gst_net_client_clock_get_property),
20338 (gst_net_client_clock_observe_times):
20339 * gst/net/gstnetclientclock.h:
20340 Use regression code in GstClock parent, remove duplicated
20343 2005-11-22 Michael Smith <msmith@fluendo.com>
20345 * gst/gstutils.c: (gst_util_clock_time_scale):
20347 * docs/gst/gstreamer-sections.txt:
20348 Rename method to have extra underscore.
20350 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20352 * gst/elements/Makefile.am:
20353 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20354 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20355 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20356 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20357 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20358 * gst/elements/gstfakesrc.h:
20359 * gst/gstqueue.c: (queue_leaky_get_type):
20360 correctly fix GEnumValues so that nick is the short lowercase
20362 * tools/gst-inspect.c: (print_element_properties_info):
20363 also show the nick, since it's useful to use from parse_launch
20367 2005-11-22 Michael Smith <msmith@fluendo.com>
20369 * gst/gstutils.c: (gst_util_clocktime_scale):
20371 * docs/gst/gstreamer-sections.txt:
20372 Add util method for scaling a clocktime by a fraction. Useful
20373 implementation is left as an exercise for the reader.
20375 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20377 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20378 If needed, allocate storage in the destination value during
20381 2005-11-22 Edward Hervey <edward@fluendo.com>
20383 * docs/gst/gstreamer-sections.txt:
20386 * gst/gsturitype.c:
20387 * gst/gsturitype.h:
20388 * gst/gstutils.c: (gst_util_set_object_arg):
20389 * tools/gst-compprep.c: (main):
20390 * tools/gst-inspect.c: (print_element_properties_info):
20391 Removed GstURI, closes bug #321061
20393 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20395 * check/gst/gststructure.c: (GST_START_TEST):
20396 * gst/gststructure.c: (gst_structure_parse_value):
20397 Oops, broke automatic string type parsing.
20398 Add a test to catch it in future.
20400 2005-11-22 Andy Wingo <wingo@pobox.com>
20402 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20403 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20404 Actually rename the function implementations. Grr.
20406 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20408 * check/gst/capslist.h:
20410 * check/gst/gststructure.c: (GST_START_TEST),
20411 (gst_structure_suite):
20412 Test automatic value type detection in gst_structure_from_string.
20413 * gst/gststructure.c: (gst_structure_parse_value):
20414 Add fraction as a type we try and guess automatically in
20415 caps/structure strings.
20417 2005-11-22 Andy Wingo <wingo@pobox.com>
20419 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20421 * gst/gsttagsetter.h:
20422 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20423 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20424 (gst_tag_setter_add_tag_valist)
20425 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20426 _add_values, _add_valist, and _add_valist_values. Since this is an
20427 interface the function suffixes should be more explicit so
20428 language binding don't end up with element.add_valist ->
20429 gst_tag_setter_add_valist, for example. Fixes #322069.
20431 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20433 * check/gst/gstcaps.c: (GST_START_TEST):
20434 Extend caps string tests to check that a caps to string
20435 conversion is reversible and produces the same caps.
20437 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20438 Output "fraction" as the generic type fraction range, so caps
20439 serialisation and deserialisation works.
20440 * check/gst/capslist.h:
20441 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20442 Support 'MIN' and 'MAX' for deserialising fractions.
20444 2005-11-22 Andy Wingo <wingo@pobox.com>
20446 * gst/gstevent.h (gst_event_new_new_segment)
20447 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20448 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20449 Renamed from *_newsegment, *_buffersize, *_notarget.
20451 * scripts/update-funcnames: New script, performs the changes
20454 2005-11-22 Wim Taymans <wim@fluendo.com>
20456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20457 Make sure the GstFlowReturn is returned.
20459 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20460 (gst_bus_add_signal_watch):
20462 add gst_bus_add_signal_watch_full.
20464 * gst/gstplugin.c: (gst_plugin_load_file):
20465 Small style cleanup.
20467 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20469 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20470 Block the fakesrc srcpad when we send an event, to avoid
20471 contention on the stream_lock causing random test failures.
20473 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20475 * check/gst/gstvalue.c: (GST_START_TEST):
20476 * gst/gstvalue.c: (gst_value_fraction_subtract):
20479 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20482 include "gstchildproxy.h"
20483 * gst/gstchildproxy.h:
20484 * libs/gst/controller/gstcontroller.h:
20485 use G_GNUC_NULL_TERMINATED
20487 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20489 * check/gst/capslist.h:
20490 * check/gst/gstcaps.c: (GST_START_TEST):
20491 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20492 * gst/gststructure.c: (gst_structure_parse_range),
20493 (gst_structure_fixate_field_nearest_fraction):
20494 * gst/gststructure.h:
20495 * gst/gstvalue.c: (gst_value_init_fraction_range),
20496 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20497 (gst_value_collect_fraction_range),
20498 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20499 (gst_value_set_fraction_range_full),
20500 (gst_value_get_fraction_range_min),
20501 (gst_value_get_fraction_range_max),
20502 (gst_value_serialize_fraction_range),
20503 (gst_value_transform_fraction_range_string),
20504 (gst_value_compare_fraction_range),
20505 (gst_value_deserialize_fraction_range),
20506 (gst_value_intersect_fraction_fraction_range),
20507 (gst_value_intersect_fraction_range_fraction_range),
20508 (gst_value_subtract_fraction_fraction_range),
20509 (gst_value_subtract_fraction_range_fraction),
20510 (gst_value_subtract_fraction_range_fraction_range),
20511 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20512 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20513 (gst_value_transform_string_fraction), (_gst_value_initialize):
20515 Implement fraction ranges and extend GstFraction to support
20516 arithmetic subtraction, as well as deserialization from integer
20517 strings such as "100"
20518 Add a testsuite as for int and double range set operations
20520 2005-11-21 Andy Wingo <wingo@pobox.com>
20522 * gst/gsttaglist.h:
20524 * gst/gststructure.h: Add glib-compat.h.
20526 2005-11-21 Wim Taymans <wim@fluendo.com>
20528 * gst/gstbin.c: (gst_bin_change_state_func):
20531 2005-11-21 Wim Taymans <wim@fluendo.com>
20533 * gst/gstsegment.h:
20534 And add a nice define too.
20536 2005-11-21 Wim Taymans <wim@fluendo.com>
20538 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20539 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20540 (gst_segment_set_duration), (gst_segment_set_last_stop),
20541 (gst_segment_set_seek), (gst_segment_set_newsegment),
20542 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20543 (gst_segment_clip):
20544 * gst/gstsegment.h:
20545 Make binding friendly.
20547 2005-11-21 Andy Wingo <wingo@pobox.com>
20549 * gst/gsttagsetter.h:
20550 * gst/gsttaglist.h:
20551 * gst/gststructure.h:
20553 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20556 * gst/gsterror.c (_gst_core_errors_init):
20557 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20560 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20561 (noinst_HEADERS): noinst the -private.
20563 2005-11-21 Michael Smith <msmith@fluendo.com>
20566 * gst/gstregistry.h:
20567 Remove unimplemented declarations for which we can see no sensible
20570 2005-11-21 Andy Wingo <wingo@pobox.com>
20572 * gst/gst.h: Include glib-compat.h.
20574 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20576 * gst/glib-compat.c: Include the public and the private header.
20578 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20582 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20584 * check/gst/gstevent.c (create_custom_events): Check that
20585 FLUSH_STOP is serialized.
20587 * check/elements/identity.c (event_func):
20588 * check/elements/fakesrc.c (event_func): No stream lock, the core
20591 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20592 stream lock taking, yay.
20594 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20595 ensure that core takes the stream lock.
20597 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20600 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20601 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20602 it already. For the flush start we do take it though so we get the
20603 right preroll state change messages.
20605 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20606 the stream lock here, the core does it for us.
20608 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20609 GST_STREAM_GET_LOCK.
20610 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20611 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20612 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20613 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20614 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20615 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20617 * gst/gstpad.c: Update for stream lock name change.
20619 * gst/base/gstbasesink.c: Update for preroll lock name change.
20621 2005-11-21 Wim Taymans <wim@fluendo.com>
20623 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20624 (gst_clock_get_master):
20626 * gst/gstsystemclock.c: (gst_system_clock_init):
20627 Convert Clock flags to object flags.
20628 Added methods to manage master/slave clocks.
20630 2005-11-21 Wim Taymans <wim@fluendo.com>
20632 * check/gst/gstsegment.c: (GST_START_TEST):
20633 * docs/design/part-TODO.txt:
20634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20635 (gst_base_sink_event), (gst_base_sink_do_sync),
20636 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20637 (gst_base_sink_query), (gst_base_sink_change_state):
20638 * gst/base/gstbasesink.h:
20639 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20640 (gst_base_src_default_newsegment),
20641 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20642 (gst_base_src_get_range), (gst_base_src_loop),
20643 (gst_base_src_change_state):
20644 * gst/base/gstbasesrc.h:
20645 * gst/base/gstbasetransform.c:
20646 (gst_base_transform_prepare_output_buf),
20647 (gst_base_transform_event), (gst_base_transform_change_state):
20648 * gst/base/gstbasetransform.h:
20649 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20650 (gst_collect_pads_event):
20651 * gst/base/gstcollectpads.h:
20652 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20653 (gst_fake_src_create):
20654 * gst/elements/gstfakesrc.h:
20655 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20656 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20657 (gst_segment_set_last_stop), (gst_segment_set_seek),
20658 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20659 (gst_segment_to_running_time), (gst_segment_clip):
20660 * gst/gstsegment.h:
20661 More segment updates, replace code in plugins with segment
20664 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20666 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20667 Don't ignore sscanf results
20669 2005-11-21 Andy Wingo <wingo@pobox.com>
20671 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20674 * *.c: Ran scripts/update-macros. Oh yes.
20676 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20677 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20680 * scripts/update-macros: New script. Run it on your files to
20681 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20684 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20686 * docs/gst/Makefile.am:
20687 * docs/gst/gstreamer-docs.sgml:
20688 * docs/gst/gstreamer-sections.txt:
20689 * docs/gst/gstreamer.types:
20691 more docs fixes, add new api to the docs
20693 2005-11-21 Andy Wingo <wingo@pobox.com>
20695 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20696 state_broadcast call.
20698 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20700 2005-11-21 Julien MOUTTE <julien@moutte.net>
20702 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20703 function calls for arrays.
20705 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20707 * docs/random/ensonic/media-device-daemon.txt:
20708 wild idea, can this be done?
20709 * docs/gst/gstreamer-sections.txt:
20714 * gst/gstpluginfeature.c:
20718 doc fixes and additions
20720 2005-11-21 Andy Wingo <wingo@pobox.com>
20722 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20723 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20724 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20725 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20726 private to the basesrc implementation.
20728 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20729 behalf of event function if necessary. It should no longer be
20730 necessary to take the stream lock in pad's event functions. Fixes
20733 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20734 * docs/gst/gstreamer-sections.txt:
20735 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20736 (gst_structure_fixate_field_nearest_double),
20737 (gst_structure_fixate_field_boolean):
20738 * gst/gststructure.h:
20739 * win32/common/libgstreamer.def:
20740 * win32/gstreamer.def:
20742 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20745 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20747 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20748 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20749 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20750 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20751 (gst_fdsrc_uri_handler_init):
20752 * gst/elements/gstfdsrc.h:
20753 Port fd:// URI handler from 0.8 to fdsrc
20755 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20757 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20758 (gst_value_serialize_fourcc):
20760 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20761 consistent with our other format defines (#320324).
20763 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20765 * gst/gstvalue.c: (gst_value_is_fixed):
20766 Revert previous commit. Value lists are by definition
20767 not fixed, as they are a list of possible values.
20769 2005-11-21 Andy Wingo <wingo@pobox.com>
20771 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20772 during the stable series if we need it. Fixes #319178.
20774 * gst/gstevent.c (gst_event_new_filler): Removed.
20776 * check/gst/gstevent.c: Update comment about filler events.
20778 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20780 * gst/gstvalue.c: (gst_value_is_fixed):
20781 Should handle both value arrays and value lists.
20783 2005-11-21 Andy Wingo <wingo@pobox.com>
20785 patch by: Alessandro Dessina <alessandro nnva org>
20787 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20788 functions to access arrays. Fixes #321962.
20790 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20792 * docs/gst/gstreamer.types:
20793 gst_collectpads_get_type => gst_collect_pads_get_type.
20795 * gst/base/gstbasetransform.c:
20796 Remove unused SIGNAL_HANDOFF enum.
20798 2005-11-21 Andy Wingo <wingo@pobox.com>
20800 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20801 the event type (upstream, downstream, serialized). Renamed
20802 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20803 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20804 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20806 * gst/gstevent.c: Update for new CUSTOM event names.
20808 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20811 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20814 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20816 * docs/gst/gstreamer-sections.txt:
20817 * win32/common/libgstbase.def:
20818 * win32/libgstbase.def:
20819 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20820 (gst_collect_pads_class_init), (gst_collect_pads_init),
20821 (gst_collect_pads_finalize), (gst_collect_pads_new),
20822 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20823 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20824 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20825 (gst_collect_pads_start), (gst_collect_pads_stop),
20826 (gst_collect_pads_peek), (gst_collect_pads_pop),
20827 (gst_collect_pads_available), (gst_collect_pads_read),
20828 (gst_collect_pads_flush), (gst_collect_pads_event),
20829 (gst_collect_pads_chain):
20830 * gst/base/gstcollectpads.h:
20831 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20832 unimplemented functions as unimplemented. Add padding to
20833 GstCollectData. (#320766, #320423)
20835 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20837 * gst/gstmessage.c:
20838 Improve docs for DURATION message (usage of duration parameter)
20841 2005-11-20 Wim Taymans <wim@fluendo.com>
20843 * check/Makefile.am:
20844 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20848 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20849 (gst_segment_set_seek), (gst_segment_set_newsegment),
20850 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20851 (gst_segment_clip):
20852 * gst/gstsegment.h:
20853 Added segment helper structure and methods. Not fully implemented
20855 Added segment check.
20857 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20859 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20860 Add a deserialisation test for fractions
20861 * examples/metadata/read-metadata.c: (message_loop),
20862 (make_pipeline), (main):
20863 Fix up metadata reading sample.
20864 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20866 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20867 Don't try and fixate empty caps
20868 * gst/gst_private.h:
20869 Wrap in G_BEGIN_DECLS/G_END_DECLS
20870 * gst/gstvalue.c: (gst_value_collect_fraction),
20871 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20872 (gst_value_transform_string_fraction),
20873 (gst_value_compare_fraction):
20874 Add some extra guards to ensure that we don't end up
20875 with an invalid denominator of 0 in a gstfraction and
20876 that fractions always get reduced.
20878 2005-11-20 Wim Taymans <wim@fluendo.com>
20880 * docs/gst/gstreamer-sections.txt:
20882 * gst/gstelement.c:
20891 2005-11-20 Wim Taymans <wim@fluendo.com>
20893 * docs/design/part-TODO.txt:
20895 Make a proper enum of the flag.
20897 2005-11-19 Wim Taymans <wim@fluendo.com>
20899 * docs/design/part-TODO.txt:
20900 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20901 (gst_format_to_quark), (gst_format_register):
20903 * gst/gstquery.c: (_gst_query_initialize),
20904 (gst_query_type_get_name), (gst_query_type_to_quark),
20905 (gst_query_type_register):
20907 Add type to quark and type to string conversions.
20909 2005-11-19 Andy Wingo <wingo@pobox.com>
20911 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20914 2005-11-19 Wim Taymans <wim@fluendo.com>
20916 * docs/design/part-TODO.txt:
20917 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20918 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20919 (gst_bin_handle_message_func):
20921 Make message handling overridable.
20923 2005-11-19 Andy Wingo <wingo@pobox.com>
20925 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20928 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20930 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20931 is a GstClockTime. Fixes #321710.
20933 * gst/gstclock.h (GstClock): Remove offset property. Add
20934 internal_calibration and external_calibration. Fix padding. Pad
20935 also by GstClockTime so we don't run into problems.
20937 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20938 (gst_clock_get_rate_offset): Remove.
20939 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20942 * gst/gstutils.c (g_static_rec_cond_wait)
20943 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20945 * gst/gstbin.c: Remove terrible continue_state prototype.
20947 * gst/gstelement.h (gst_element_continue_state): Make public.
20949 * gst/gstelement.h:
20950 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20951 by continue_state. Fixes #319389.
20953 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20954 Really fixes #168438. However I don't see anywhere where the
20955 filter function is called... stupid GStreamer...
20957 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20958 don't have a dispose function, so it won't get called when the
20959 object is unreffed, but oh well!
20961 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20962 allows a destroy function to be set so user_data can be freed.
20964 (gst_index_set_filter): Call gst_index_set_filter_full.
20966 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20968 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20969 string should produce an error, given the lack of a way to
20970 represent NULL strings. Fixes #165650.
20973 * gst/gstvalue.c (gst_value_array_append_value)
20974 (gst_value_array_prepend_value, gst_value_array_get_size)
20975 (gst_value_array_get_value): New API, copied from
20976 gst_value_list_*, only operates on arrays.
20977 (gst_value_list_append_value, gst_value_list_prepend_value)
20978 (gst_value_list_concat, gst_value_list_get_size)
20979 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20981 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20982 init_list, because it works on both.
20983 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20984 (gst_value_copy_list_or_array): Renamed from copy_list.
20985 (gst_value_free_list_or_array): Renamed from free_list.
20986 (gst_value_collect_list_or_array): Renamed from collect_list.
20987 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20988 (gst_value_list_or_array_peek_pointer): Renamed from
20990 (_gst_value_array_value_table, _gst_value_list_value_table):
20991 Update value table functions.
20992 (gst_value_compare_list_or_array): Renamed from compare_list.
20994 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20997 * gst/gsttaglist.c:
20998 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20999 GstTagList*. Fixes #143472.
21001 * gst/gststructure.h: Clarify what the foreach/map functions can
21002 or can't do to their arguments.
21004 2005-11-18 Wim Taymans <wim@fluendo.com>
21006 * gst/gstclock.c: (gst_clock_set_calibration),
21007 (gst_clock_get_calibration):
21009 Calibration can be set with internal time equal to current
21012 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21018 2005-11-18 Andy Wingo <wingo@pobox.com>
21021 * pkgconfig/gstreamer-net.pc.in:
21022 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21023 * pkgconfig/Makefile.am: Add net pkgconfig files.
21025 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21028 * gst/gstghostpad.c:
21034 2005-11-18 Andy Wingo <wingo@pobox.com>
21036 * gst/net/gstnetclientclock.c: Turn off debugging.
21038 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21039 times connverge somewhat. Can't make a real test.
21041 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21042 integer arithmetic. Return the minimum of the domain, which can be
21043 set as "internal" for gst_clock_set_calibration.
21044 (gst_net_client_clock_observe_times): Call _set_calibration.
21045 (gst_net_client_clock_new): Call _set_calibration instead of
21048 * check/net/gstnetclientclock.c (test_functioning): Use the right
21052 * gst/gstclock.c (gst_clock_get_calibration)
21053 (gst_clock_set_calibration): New functions, obsolete the ones I
21054 added yesterday. Doh. Precision issues mean we have to extrapolate
21055 from a point in the more recent past than 1970.
21056 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21058 (gst_clock_adjust_unlocked): Use the right calibration data.
21060 2005-11-18 Edward Hervey <edward@fluendo.com>
21062 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21063 Also reset the ->current_* values in READY->PAUSED
21065 2005-11-18 Andy Wingo <wingo@pobox.com>
21067 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21068 Whoops, check the right fd. Also add some debugging.
21069 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21070 (do_linear_regression): Add a crapload of debugging. Subtract off
21071 the minimum values from the input series to discard unneeded bits.
21072 Use only int arithmetic. There is still double arithmetic when
21073 calculating the intercept that needs fixing. Return boolean to
21074 indicate success; FALSE would mean the domain or range is too
21075 great. Still needs fixes.
21077 2005-11-18 Wim Taymans <wim@fluendo.com>
21079 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21080 For the current position in stream time, we need to subtract
21083 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21084 Release lock before calling the callback function of async
21087 2005-11-18 Andy Wingo <wingo@pobox.com>
21089 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21090 Port goes all the way to MAXUINT16.
21092 * gst/net/gstnettimeprovider.c: Make the port range the same as
21093 for the kernel: 0 assigns, otherwise ports are less than
21096 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21099 * check/net/gstnetclientclock.c (test_functioning): Add the start
21102 2005-11-18 Wim Taymans <wim@fluendo.com>
21104 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21105 (gst_bin_remove_func), (bin_bus_handler):
21107 Removing a clock provider from a bin, triggers a clock lost message
21108 so that a new clock will be selected.
21109 Adding a clock to a bin triggers a clock provider message.
21110 Make sure we reselect a clock when we received a clock lost message.
21111 Keep a reference to the element that provided the clock.
21113 2005-11-18 Andy Wingo <wingo@pobox.com>
21115 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21116 the clock initially so it produces values around the base time.
21117 (gst_net_client_clock_class_init): Typo fix.
21118 (gst_net_client_clock_thread): Add note on when the socket gets
21121 2005-11-17 Wim Taymans <wim@fluendo.com>
21123 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21124 Free remote and local time arrays.
21126 2005-11-17 Wim Taymans <wim@fluendo.com>
21128 * gst/net/gstnetclientclock.c: (do_linear_regression),
21129 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21130 Fix compilation, uninitialized vars and a forgotten continue.
21132 2005-11-17 Andy Wingo <wingo@pobox.com>
21134 * check/Makefile.am (check_PROGRAMS):
21135 * check/net/gstnetclientclock.c: Add a most minimal test for the
21136 net client clock. More to come later.
21138 * gst/net/gstnet.h:
21139 * gst/net/Makefile.am: Add netclientclock.
21141 * gst/net/gstnetclientclock.h:
21142 * gst/net/gstnetclientclock.c: New files, implement an untested
21143 GstClock that takes its time from a network time provider.
21144 Implements the algorithm in network-clock.scm.
21146 * tests/network-clock.scm (*window-size*): Rename from
21148 * tests/network-clock.scm (network-time):
21149 * tests/network-clock-utils.scm (q-push): Update callers.
21151 2005-11-17 Wim Taymans <wim@fluendo.com>
21153 * gst/gstbin.c: (gst_bin_provide_clock_func),
21154 (gst_bin_sort_iterator_new):
21155 And unref the child too..
21157 2005-11-17 Wim Taymans <wim@fluendo.com>
21159 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21160 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21161 Refactor the sort iterator so it can be used while holding the
21163 Make clock selection select a clock closest to the source.
21165 2005-11-17 Michael Smith <msmith@fluendo.com>
21167 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21168 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21170 Anonymous structs are a gcc (and some other compilers) extension, so
21171 don't use them. Since this is only for ABI-compatibility, and our
21172 API/ABI freeze is over in a few days, this whole thing will only
21173 last a few days, so don't bother trying to think up a meaningful
21174 name for the struct.
21176 2005-11-17 Andy Wingo <wingo@pobox.com>
21178 * gst/gstclock.h (GstClock): Add rate and offset properties,
21179 preserving ABI stability. Add rate/offset accessors. Will file bug
21180 for the freeze break.
21182 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21183 and offset, trying to keep precision and avoiding
21184 underflow/overflow.
21185 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21186 functions. Make gst_clock_set_time_adjust obsolete.
21187 (gst_clock_set_time_adjust): Note that this function is obsolete.
21188 Will file bug soon.
21190 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21191 greppable by using GST_PADDING-1+1.
21193 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21195 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21197 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21198 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21200 * gst/gstpadtemplate.h:
21201 * gst/gstpluginfeature.h:
21202 Don't use c++ style comments in headers (#321638).
21204 2005-11-16 Andy Wingo <wingo@pobox.com>
21206 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21209 * check/net/gstnettimeprovider.c: Check to see that the time
21210 provider actually provides times. Works, yo!
21212 2005-11-16 Wim Taymans <wim@fluendo.com>
21214 * check/Makefile.am:
21217 * check/elements/fakesrc.c: (GST_START_TEST):
21218 Set element to NULL before disposing it.
21220 2005-11-16 Andy Wingo <wingo@pobox.com>
21222 * gst/net/Makefile.am:
21223 * gst/net/gstnet.h:
21224 * gst/net/gstnettimeprovider.c:
21225 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21226 provider, include it from gstnet.h, and add it to the build.
21228 * gst/net/gstnettimepacket.h:
21229 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21230 sending and receiving.
21232 2005-11-16 Wim Taymans <wim@fluendo.com>
21234 * check/Makefile.am:
21235 Enable valgrind check.
21237 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21238 (gst_fake_src_alloc_buffer):
21241 2005-11-16 Wim Taymans <wim@fluendo.com>
21243 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21244 Call parent finalize too.
21246 2005-11-16 Wim Taymans <wim@fluendo.com>
21248 * check/Makefile.am:
21249 Enable valgrind check that should work fine now.
21251 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21252 * gst/gstqueue.c: (gst_queue_init):
21253 Fix memleaks in pad allocation.
21255 2005-11-16 Andy Wingo <wingo@pobox.com>
21257 * gst/net/Makefile.am:
21258 * gst/net/gstnet.h: New part of core to hold network elements and
21259 objects. Put in core because it exposes API that applications want
21260 to use. The library is named libgstnet-tempname right now because
21261 of the existing libgstnet in gst-plugins-base. Solution is
21262 probably to rename the one in plugins-base; will file a bug for
21265 * gst/net/gstnettimeprovider.c:
21266 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21267 get_time call over the network.
21270 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21272 * check/Makefile.am:
21273 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21274 get additions shortly.
21276 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21278 * gst/gstpad.c: (gst_pad_new_from_static_template):
21280 add gst_pad_new_from_static_template functions
21281 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21282 (gst_check_setup_sink_pad):
21283 * gst/elements/gsttee.c: (gst_tee_init):
21286 2005-11-16 Wim Taymans <wim@fluendo.com>
21288 * gst/gstpad.c: (gst_pad_pause_task):
21289 Removed warning, it's not really an error either.
21291 2005-11-16 Wim Taymans <wim@fluendo.com>
21293 * gst/base/gstbasetransform.c:
21294 (gst_base_transform_prepare_output_buf),
21295 (gst_base_transform_event):
21296 Check if the caps are NULL, this can happen if the element
21297 is shutting down and the pad caps are set to NULL.
21299 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21301 * gst/elements/gsttee.c: (gst_tee_init):
21302 fix pad template leak in tee
21304 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21306 * gst/glib-compat.c: (g_value_dup_gst_object):
21307 * gst/glib-compat.h:
21308 * gst/gstpad.c: (gst_pad_set_property):
21309 use gst_object_ref when setting the pad template; this will
21310 trigger the pad template leaks on GLib 2.6 and the slaves
21312 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21314 * gst/glib-compat.c: (gst_flags_get_first_value):
21315 * gst/glib-compat.h:
21316 * gst/gstregistryxml.c:
21317 remove functions copied from GLib 2.6
21319 2005-11-16 Michael Smith <msmith@fluendo.com>
21322 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21323 do, but only breaks with newer valgrind versions. We're not a
21324 valgrind tool, we have no link-time dependencies on libcoregrind.
21326 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21328 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21330 * gst/gstmessage.h:
21333 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21335 * gst/base/gstbasesrc.c: (gst_base_src_init):
21336 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21337 * gst/gstqueue.c: (gst_queue_init):
21338 * gst/gstregistryxml.c: (load_feature):
21339 Revert all these unrefs, they don't even pass make check !
21341 2005-11-15 Johan Dahlin <johan@gnome.org>
21343 * gst/base/gstbasesrc.c: (gst_base_src_init):
21344 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21345 * gst/gstqueue.c: (gst_queue_init):
21346 Free pad templates, fixes a couple of leaks.
21348 2005-11-15 Daniel Fischer <dan at f3c dot com>
21350 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21352 * gst/gstpad.c: (gst_pad_get_property):
21353 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21354 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21357 2005-11-15 Wim Taymans <wim@fluendo.com>
21362 2005-11-15 Andy Wingo <wingo@pobox.com>
21364 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21366 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21367 using GST_CLOCK_TIME_NONE to disable base time management.
21368 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21369 time if it was NONE before.
21370 (gst_pipeline_change_state): Only munge the base time if
21371 stream_time != GST_CLOCK_TIME_NONE.
21373 * check/gst/gstpipeline.c (test_base_time): Punt around the
21374 problem of the probe not being called, because that's not the
21375 issue I'm looking at. Add a check that setting stream_time to NONE
21376 disables base time management.
21378 2005-11-15 Wim Taymans <wim@fluendo.com>
21380 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21381 segment_stop == -1 at startup.
21383 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21384 (gst_base_transform_change_state):
21385 Init segment values at start.
21387 2005-11-15 Wim Taymans <wim@fluendo.com>
21389 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21390 0 segment values are 0 in any format.
21392 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21393 * gst/base/gstbasetransform.h:
21394 Parse newsegment correctly in basetransform
21396 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21397 Sync to clock using updated segment values.
21399 2005-11-15 Andy Wingo <wingo@pobox.com>
21401 * check/gst/gstpipeline.c (test_base_time): Add check that the
21402 base time and stream time are reset correctly.
21404 2005-11-15 Wim Taymans <wim@fluendo.com>
21406 * docs/design/part-TODO.txt:
21407 Some more TODO items.
21409 2005-11-15 Andy Wingo <wingo@pobox.com>
21411 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21412 error if the user selected "no clock" as the clocking method.
21414 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21415 timestamps with live capture.
21417 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21418 is 0 but we are a live source, timestamp the buffers using the
21421 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21423 * docs/gst/gstreamer-sections.txt:
21425 * gst/gstghostpad.c:
21430 2005-11-14 Wim Taymans <wim@fluendo.com>
21433 add suppressions from Wim's Debian machine
21435 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21438 add suppressions from Andy's AMD64 Ubuntu machine
21440 2005-11-14 Andy Wingo <wingo@pobox.com>
21442 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21443 STATE_LOCK not necessary. Fixes #311489.
21445 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21448 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21449 this function is not implemented.
21451 2005-11-14 Julien MOUTTE <julien@moutte.net>
21453 * gst/base/gstbasetransform.c:
21454 (gst_base_transform_prepare_output_buf):
21455 Ref the source pad caps while we need them.
21458 2005-11-11 Wim Taymans <wim@fluendo.com>
21460 * docs/gst/gstreamer-sections.txt:
21461 Added some docs for GstCollectData.
21463 * gst/base/gstadapter.c:
21464 Some small code example fix.
21466 * gst/base/gstcollectpads.c:
21467 * gst/base/gstcollectpads.h:
21468 Document some more.
21470 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21472 * configure.ac: back to HEAD
21474 === release 0.9.5 ===
21476 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21479 releasing 0.9.5, "Bike Lunch Day"
21481 2005-11-11 Wim Taymans <wim@fluendo.com>
21483 * gst/gstbuffer.c: (_gst_buffer_copy):
21486 * gst/gstcaps.c: (gst_caps_is_equal):
21488 Make _is_equal fast in the trivial cases.
21490 * gst/gstminiobject.c:
21491 * gst/gstminiobject.h:
21492 More docs. Spifify .h file.
21497 2005-11-11 Wim Taymans <wim@fluendo.com>
21499 * gst/base/gstbasetransform.c:
21500 (gst_base_transform_prepare_output_buf),
21501 (gst_base_transform_handle_buffer):
21503 If we're processing a buffer and need to allocate an output
21504 buffer, we cannot accept a format change. If we did get a
21505 format change, we have to alloc a buffer ourselves of the
21508 2005-11-11 Wim Taymans <wim@fluendo.com>
21510 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21511 While checking the flag for reentrancy in the gstcaps function
21512 is nice to detect recursive invocations, it also makes it
21513 impossible to call getcaps from multiple threads, which must be
21514 possible. So, checking for recursive calls has to go.
21516 2005-11-11 Michael Smith <msmith@fluendo.com>
21518 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21519 Don't sync on buffers that fall partially outside our current
21520 segment. Prevents an assertion failure/abort playing some files.
21522 2005-11-10 Andy Wingo <wingo@pobox.com>
21524 * check/gst/gstbin.c (test_message_state_changed_children): Style
21527 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21528 gst_bus_poll with the signal watch. Ensures that poll and a signal
21529 watch see the same messages.
21531 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21532 a poll and a watch at the same time get the same messages.
21534 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21536 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21537 * gst/gstcaps.c: (gst_caps_intersect):
21538 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21539 and it's not needed.
21541 2005-11-10 Wim Taymans <wim@fluendo.com>
21543 * docs/design/part-TODO.txt:
21546 2005-11-10 Wim Taymans <wim@fluendo.com>
21548 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21549 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21550 (gst_base_src_do_sync), (gst_base_src_get_range):
21551 Implement clock sync in base class.
21553 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21555 patch by: Tim-Philipp Müller <tim at centricular dot net>
21557 * gst/gststructure.c: (gst_structure_parse_field),
21558 (gst_structure_from_string):
21559 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21560 so that gst_parse_launch() can deal with spaces in filtered link
21561 caps (fixes #164479)
21562 * check/gst/capslist.h:
21563 * check/gst/gststructure.c: (GST_START_TEST):
21564 add unit tests for this change
21566 2005-11-10 Wim Taymans <wim@fluendo.com>
21568 * docs/gst/gstreamer-sections.txt:
21569 * gst/gstelement.c:
21570 * gst/gstelement.h:
21571 Fix docs, move some STATE macros to private.
21573 2005-11-10 Wim Taymans <wim@fluendo.com>
21575 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21576 Added check for bug #317341
21580 Some more spiffifying.
21582 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21583 Call peer linkfunction if we are a source pad. Totally fixes
21587 Update docs, source pads should call the peer linkfunction
21588 so they can atomically perform the pad link.
21590 2005-11-09 Wim Taymans <wim@fluendo.com>
21594 Uber-spiffy-spiffify some more.
21596 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21598 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21599 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21600 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21601 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21602 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21603 * gst/gstpad.c: (gst_pad_init):
21604 Use GST_DEBUG_FUNCPTR() more extensively.
21606 2005-11-09 Wim Taymans <wim@fluendo.com>
21608 * gst/gstobject.c: (gst_object_class_init):
21610 Documentation fixes.
21612 2005-11-09 Edward Hervey <edward@fluendo.com>
21614 * gst/gsttypefindfactory.c:
21617 2005-11-09 Edward Hervey <edward@fluendo.com>
21619 * gst/base/gsttypefindhelper.c:
21620 * gst/gsttypefind.c:
21621 * gst/gsttypefind.h:
21624 2005-11-09 Wim Taymans <wim@fluendo.com>
21626 * gst/gstiterator.c:
21633 2005-11-09 Wim Taymans <wim@fluendo.com>
21639 2005-11-09 Wim Taymans <wim@fluendo.com>
21641 * docs/gst/gstreamer-sections.txt:
21642 Moved the message async delivery private lock and cond
21643 to the private section.
21645 * gst/gstmessage.c:
21646 * gst/gstmessage.h:
21649 2005-11-09 Edward Hervey <edward@fluendo.com>
21651 * docs/gst/gstreamer-sections.txt:
21654 Document GstURIHandler
21656 2005-11-09 Wim Taymans <wim@fluendo.com>
21658 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21659 (gst_iterator_find_custom):
21660 * gst/gstiterator.h:
21663 2005-11-09 Wim Taymans <wim@fluendo.com>
21666 Document another field.
21668 * gst/gststructure.c:
21669 * gst/gststructure.h:
21672 2005-11-09 Wim Taymans <wim@fluendo.com>
21675 Documented structs.
21677 2005-11-09 Wim Taymans <wim@fluendo.com>
21679 * docs/gst/gstreamer-sections.txt:
21680 Added some new macros.
21687 2005-11-09 Wim Taymans <wim@fluendo.com>
21689 * docs/design/part-TODO.txt:
21690 Some more items for the TODO
21696 2005-11-09 Andy Wingo <wingo@pobox.com>
21698 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21699 to work on something else now tho...
21701 * gst/base/gstadapter.c: More adapter docs.
21703 * gst/elements/gstfilesink.c (gst_file_sink_start)
21704 (gst_file_sink_stop): New functions, replace the state change
21706 (gst_file_sink_class_init): Hook up the start and stop functions.
21707 (gst_file_sink_base_init): Don't set the state change handler any
21708 more. It was a bit ugly too, being set from here...
21709 (gst_file_sink_get_property, gst_file_sink_set_property):
21711 (gst_file_sink_set_location): More robust check that doesn't call
21712 GST_STATE. Ugggggg.
21714 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21716 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21717 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21719 2005-11-08 Wim Taymans <wim@fluendo.com>
21721 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21722 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21723 (gst_base_sink_chain), (gst_base_sink_change_state):
21724 * gst/base/gstbasesink.h:
21725 * gst/base/gstbasesrc.h:
21726 * gst/gstelement.h:
21728 Avoid excessive typechecking in macros.
21730 * gst/gstminiobject.c: (gst_mini_object_get_type),
21731 (gst_mini_object_init), (gst_mini_object_new),
21732 (gst_mini_object_free):
21733 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21734 (gst_object_finalize):
21735 Remove cruft code, optimize alloc_trace.
21737 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21739 * docs/faq/gst-uninstalled:
21740 fix up PS1 for systems that try to reset it
21742 2005-11-07 Wim Taymans <wim@fluendo.com>
21744 * gst/base/gstbasesrc.c: (gst_base_src_init),
21745 (gst_base_src_get_range):
21746 Set the segment_end to -1 initially. Fixed typefind.
21748 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21750 * gst/base/gstadapter.c:
21751 Debug category should be 'adapter', not 'GstAdapter'.
21753 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21754 (gst_collectpads_class_init), (gst_collectpads_init),
21755 (gst_collectpads_peek), (gst_collectpads_pop),
21756 (gst_collectpads_event), (gst_collectpads_chain):
21757 Add debug category and some debugging output. Use boilerplate
21758 macros. Remove some extraneous words from docs.
21760 2005-11-05 Andy Wingo <wingo@pobox.com>
21762 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21765 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21767 * docs/gst/gstreamer-sections.txt:
21770 * gst/gstminiobject.h:
21775 2005-11-04 Wim Taymans <wim@fluendo.com>
21777 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21778 Small update to stop at the configured segment_end
21781 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21783 * gst/gstregistry.c:
21784 * gst/gstregistry.h:
21787 2005-11-04 Edward Hervey <edward@fluendo.com>
21789 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21790 Check if we are doing a segment seek and have arrived at the
21791 end of that segment.
21793 2005-11-04 Wim Taymans <wim@fluendo.com>
21795 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21796 Don't leak a mutex unlock in case of an error.
21801 2005-11-04 Wim Taymans <wim@fluendo.com>
21803 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21805 Get the context to wake up only once.
21807 2005-11-03 Wim Taymans <wim@fluendo.com>
21809 * check/states/sinks.c: (GST_START_TEST):
21810 Uncomment fixed check.
21812 * docs/design/part-TODO.txt:
21815 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21816 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21817 (gst_base_sink_get_position):
21818 If we are going to PLAYING, post the right pending state
21819 when we post the intermediate paused message.
21821 * gst/gstelement.c: (gst_element_continue_state),
21822 (gst_element_set_state_func), (gst_element_change_state):
21823 Don't post state changes that were between the same state
21824 and were not ASYNC.
21826 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21828 * docs/gst/gstreamer-sections.txt:
21831 * gst/gstminiobject.h:
21834 more docs and doc style fixes
21836 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21838 * docs/gst/gstreamer-sections.txt:
21839 * gst/gstelement.c:
21840 * gst/gstminiobject.c:
21843 2005-11-03 Andy Wingo <wingo@pobox.com>
21845 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21846 state-changed messages actually have the right order and the right
21849 2005-11-03 Wim Taymans <wim@fluendo.com>
21851 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21852 Added some more checks. Specifically the case where NO_PREROLL
21853 elements are in the pipeline.
21855 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21856 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21857 (gst_base_sink_get_position):
21858 Post READY->PAUSED state change messages too.
21859 Fix bug where VOID was posted as pending state...
21861 * gst/gstbin.c: (gst_bin_recalc_state):
21862 use _element_continue_state() to continue the state change.
21864 * gst/gstelement.c: (gst_element_continue_state),
21865 (gst_element_commit_state), (gst_element_set_state_func),
21866 (gst_element_change_state), (gst_element_change_state_func):
21867 Lots of state change cleanups, assign the STATE_RETURN in
21868 a new continue_state() function that also propagates the
21869 last return value from a state change to the app.
21870 Update some debug statements with proper category.
21872 2005-11-03 Wim Taymans <wim@fluendo.com>
21874 * docs/design/part-events.txt:
21875 * docs/design/part-gstpipeline.txt:
21876 * docs/design/part-messages.txt:
21877 * docs/design/part-overview.txt:
21878 * docs/design/part-seeking.txt:
21879 * docs/design/part-states.txt:
21880 * docs/design/part-trickmodes.txt:
21881 * docs/manual/advanced-position.xml:
21882 Small docs updates.
21885 People think !! is ugly, this looks better.
21887 * gst/gstpad.c: (gst_pad_set_blocked_async):
21888 Remove !! since it's fixed elsewhere now.
21890 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21892 * gst/gstminiobject.h:
21894 Add !! to _FLAG_IS_SET macros to make the result boolean.
21896 2005-11-03 Edward Hervey <edward@fluendo.com>
21898 * gst/gstpad.c: (gst_pad_set_blocked_async):
21899 comparing a flag and a gboolean rarely returns coherent results...
21900 Added two characters (!!) to make that work correctly.
21902 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21904 * gst/gstbus.c: (gst_bus_class_init):
21907 * gst/gstqueue.c: (gst_queue_loop):
21908 Don't assume a miniobject that isn't a buffer is an
21909 event (it could be that there is a refcounting
21910 problem somewhere and the pointer is stale and
21911 refers to an already destroyed miniobject).
21913 2005-11-03 Julien MOUTTE <julien@moutte.net>
21915 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21917 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21919 * docs/manual/advanced-position.xml:
21920 Update seek example and explanations to current 0.9 API.
21922 * gst/elements/gsttypefindelement.c:
21923 (gst_type_find_element_activate):
21924 Remove FIXME comment now that the found caps
21927 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21929 * gst/gstregistryxml.c: (load_feature):
21930 Add another GST_STR_NULL instance
21932 2005-11-02 Edward Hervey <edward@fluendo.com>
21934 * gst/gstpad.c: (handle_pad_block):
21935 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21937 2005-11-02 Wim Taymans <wim@fluendo.com>
21942 * gst/gstelement.c: (gst_element_commit_state):
21943 Remove unused value.
21945 * gst/gstiterator.c:
21946 Mention that the returned element is reffed in the docs.
21948 2005-11-02 Wim Taymans <wim@fluendo.com>
21950 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21951 (gst_pad_push), (gst_pad_push_event):
21952 Unlock blocked pads when they are flushed.
21954 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21957 * docs/gst/gstreamer-sections.txt:
21960 * gst/gstregistry.c: (gst_registry_scan_path_level):
21961 fix for a nasty little missed situation where an installed plug-in
21962 which was in the cache did not get overridden by an uninstalled one
21963 which was earlier in the plugin path because the newly created plugin
21964 for the uninstalled one (not in the registry) didn't get its
21965 ->registered set to TRUE
21967 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21969 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21970 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21971 (gst_collectpads_is_active), (gst_collectpads_collect),
21972 (gst_collectpads_collect_range), (gst_collectpads_start),
21973 (gst_collectpads_stop), (gst_collectpads_peek),
21974 (gst_collectpads_pop), (gst_collectpads_available),
21975 (gst_collectpads_read), (gst_collectpads_flush):
21976 Guard public API with assertions.
21979 Fix docs for gst_pad_set_link_function().
21981 2005-11-02 Johan Dahlin <johan@gnome.org>
21983 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21984 Unref found_caps after we used it.
21986 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21988 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21989 Don't try to ref NULL.
21991 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21993 * win32/common/config.h.in:
21994 provide a GST_FUNCTION that just gives a string for now
21996 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21998 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21999 (gst_object_flags_get_type), (register_gst_bin_flags),
22000 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22001 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22002 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22003 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22004 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22005 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22006 (gst_clock_flags_get_type), (register_gst_state),
22007 (gst_state_get_type), (register_gst_state_change_return),
22008 (gst_state_change_return_get_type), (register_gst_state_change),
22009 (gst_state_change_get_type), (register_gst_element_flags),
22010 (gst_element_flags_get_type), (register_gst_core_error),
22011 (gst_core_error_get_type), (register_gst_library_error),
22012 (gst_library_error_get_type), (register_gst_resource_error),
22013 (gst_resource_error_get_type), (register_gst_stream_error),
22014 (gst_stream_error_get_type), (register_gst_event_type),
22015 (gst_event_type_get_type), (register_gst_seek_type),
22016 (gst_seek_type_get_type), (register_gst_seek_flags),
22017 (gst_seek_flags_get_type), (register_gst_format),
22018 (gst_format_get_type), (register_gst_index_certainty),
22019 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22020 (gst_index_entry_type_get_type),
22021 (register_gst_index_lookup_method),
22022 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22023 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22024 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22025 (gst_index_flags_get_type), (register_gst_debug_level),
22026 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22027 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22028 (gst_iterator_result_get_type), (register_gst_iterator_item),
22029 (gst_iterator_item_get_type), (register_gst_message_type),
22030 (gst_message_type_get_type), (register_gst_mini_object_flags),
22031 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22032 (gst_pad_link_return_get_type), (register_gst_flow_return),
22033 (gst_flow_return_get_type), (register_gst_activate_mode),
22034 (gst_activate_mode_get_type), (register_gst_pad_direction),
22035 (gst_pad_direction_get_type), (register_gst_pad_flags),
22036 (gst_pad_flags_get_type), (register_gst_pad_presence),
22037 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22038 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22039 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22040 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22041 (gst_plugin_flags_get_type), (register_gst_rank),
22042 (gst_rank_get_type), (register_gst_query_type),
22043 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22044 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22045 (gst_tag_flag_get_type), (register_gst_task_state),
22046 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22047 (gst_alloc_trace_flags_get_type),
22048 (register_gst_type_find_probability),
22049 (gst_type_find_probability_get_type), (register_gst_uri_type),
22050 (gst_uri_type_get_type), (register_gst_parse_error),
22051 (gst_parse_error_get_type):
22052 * win32/common/gstversion.h:
22053 update win32 copies
22055 2005-11-01 Luca Ognibene <luogni@tin.it>
22058 fix docs. popt is dead, long live GOption.
22060 2005-10-31 Wim Taymans <wim@fluendo.com>
22065 2005-10-31 Andy Wingo <wingo@pobox.com>
22069 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22071 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22072 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22073 the possibility of deadlocks here if code calling notify() or
22074 set() has a lock that can be taken in another notify handler (ABBA
22075 with class lock and e.g. python GIL state lock).
22077 2005-10-28 Julien MOUTTE <julien@moutte.net>
22079 * gst/gstbus.c: Doc updates.
22081 2005-10-28 Wim Taymans <wim@fluendo.com>
22083 * docs/design/part-TODO.txt:
22084 * gst/gstiterator.c:
22085 * gst/gstsystemclock.c:
22086 * gst/gstsystemclock.h:
22089 2005-10-28 Edward Hervey <edward@fluendo.com>
22091 * docs/gst/gstreamer-docs.sgml:
22092 * docs/gst/gstreamer-sections.txt:
22093 the GstURIType documentation page is private, it only defines GstURIType
22094 which should be defined in the GstURIHandler page
22096 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22098 * gst/gstbin.c: (gst_bin_class_init):
22101 Documentation updates.
22103 2005-10-28 Wim Taymans <wim@fluendo.com>
22105 * docs/gst/gstreamer-sections.txt:
22108 Documented the clocks.
22110 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22112 * docs/gst/gstreamer-sections.txt:
22113 move some macros to private sections
22114 * gst/gstminiobject.c:
22115 * gst/gstminiobject.h:
22116 add descriptions provided by ds and some more
22118 mark macro as to be removed
22120 2005-10-28 Wim Taymans <wim@fluendo.com>
22122 * docs/design/part-TODO.txt:
22123 Add an item to TODO.
22125 * gst/gstiterator.c: (gst_iterator_fold),
22126 (gst_iterator_find_custom):
22127 * gst/gstiterator.h:
22130 2005-10-28 Wim Taymans <wim@fluendo.com>
22132 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22133 (gst_base_transform_init):
22136 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22137 An EOS event marks the queue as completely filled.
22139 2005-10-27 Wim Taymans <wim@fluendo.com>
22141 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22142 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22143 Some more debugging.
22145 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22146 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22147 (gst_base_transform_event), (gst_base_transform_getrange),
22148 (gst_base_transform_chain):
22149 * gst/base/gstbasetransform.h:
22151 Protect transform and concurrent buffer alloc with a new lock.
22152 Try not to break ABI/API.
22154 2005-10-27 Wim Taymans <wim@fluendo.com>
22156 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22157 (gst_base_src_init), (gst_base_src_query),
22158 (gst_base_src_default_newsegment),
22159 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22160 (gst_base_src_send_event), (gst_base_src_event_handler),
22161 (gst_base_src_pad_get_range), (gst_base_src_loop),
22162 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22163 (gst_base_src_start), (gst_base_src_deactivate),
22164 (gst_base_src_activate_push), (gst_base_src_change_state):
22165 Move some stuff around and cleanup things.
22167 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22169 * gst/base/gstbasesrc.c: (gst_base_src_query):
22170 Add missing break statements.
22172 2005-10-27 Wim Taymans <wim@fluendo.com>
22174 * check/gst/gstbin.c: (GST_START_TEST):
22175 An extra refcount is taken in basesrc.
22177 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22178 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22179 (gst_base_src_loop):
22180 Small cleanups, check for flushing after being unlocked from the
22181 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22182 Don't send out EOS when going to READY.
22184 2005-10-27 Wim Taymans <wim@fluendo.com>
22186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22187 (gst_base_sink_get_position):
22190 * gst/gstbin.c: (message_check), (bin_replace_message),
22191 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22192 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22193 (bin_query_duration_init), (bin_query_duration_fold),
22194 (bin_query_duration_done), (bin_query_generic_fold),
22196 * tools/gst-launch.c: (main):
22199 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22201 * examples/controller/audio-example.c: (main):
22202 * examples/queue/queue.c: (event_loop):
22203 * gst/base/gstbasetransform.h:
22204 * gst/gstelement.c: (gst_element_send_event):
22206 * gst/gstpad.c: (gst_pad_send_event):
22209 changing log priority in error situations
22211 2005-10-25 Wim Taymans <wim@fluendo.com>
22213 * gst/gstbin.c: (message_check), (bin_replace_message),
22214 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22215 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22216 (bin_query_duration_init), (bin_query_duration_fold),
22217 (bin_query_duration_done), (bin_query_generic_fold),
22219 Some doc and debug updates.
22220 Cache previously requested query DURATION for speed. invalidate
22221 cached duration if element posts a DURATION message.
22223 2005-10-25 Wim Taymans <wim@fluendo.com>
22225 * docs/design/part-TODO.txt:
22228 * gst/gstbin.c: (message_check), (bin_replace_message),
22229 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22230 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22231 (bin_query_duration_init), (bin_query_duration_fold),
22232 (bin_query_duration_done), (bin_query_generic_fold),
22234 Handle SEGMENT_START/DONE messages correctly.
22235 More evolved query algorithm that handles duration queries
22238 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22239 (gst_element_get_state_func), (gst_element_abort_state),
22240 (gst_element_commit_state), (gst_element_lost_state):
22241 Some more debugging.
22243 * gst/gstmessage.h:
22246 2005-10-25 Wim Taymans <wim@fluendo.com>
22248 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22249 Don't use invalid stream_time.
22251 * gst/gstevent.c: (gst_event_new_newsegment):
22252 stream_time in newsegment cannot be undefined.
22254 2005-10-24 Wim Taymans <wim@fluendo.com>
22259 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22261 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22263 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22265 * docs/libs/tmpl/gstdparam.sgml:
22266 * docs/libs/tmpl/gstdplinint.sgml:
22267 * docs/libs/tmpl/gstdpman.sgml:
22268 * docs/libs/tmpl/gstdpsmooth.sgml:
22269 * docs/libs/tmpl/gstunitconvert.sgml:
22272 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22277 === release 0.9.4 ===
22279 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22282 releasing 0.9.4, "Tyrannosaurus Rex"
22284 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22286 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22287 (gst_file_sink_get_current_offset):
22288 Use fseeko() and ftello() if available. When falling back on
22289 lseek() to get the current offset, fflush() first to make sure
22290 everything is up-to-date and we get the right offset.
22292 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22295 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22296 * gst/gsterror.c: (_gst_stream_errors_init):
22298 * gst/gstqueue.c: (gst_queue_loop):
22300 remove prematurely added error category and clean up the instances
22302 2005-10-21 Wim Taymans <wim@fluendo.com>
22304 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22305 (gst_base_sink_get_position), (gst_base_sink_query),
22306 (gst_base_sink_change_state):
22307 Simply set the right flag when going to playing, that's all
22308 we need to do instead of calling a function inside the object
22309 lock (that could take the lock as well and deadlock)
22311 2005-10-21 Wim Taymans <wim@fluendo.com>
22313 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22314 (gst_base_src_loop):
22315 Don't warn, the peer element knows what to do best when
22316 the seek failed, it might try something else.
22318 2005-10-21 Wim Taymans <wim@fluendo.com>
22320 * gst/base/gstbasesrc.c: (gst_base_src_init),
22321 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22324 2005-10-21 Wim Taymans <wim@fluendo.com>
22326 * docs/design/part-segments.txt:
22329 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22330 Correctly set caps, even on the subbufer.
22332 2005-10-21 Wim Taymans <wim@fluendo.com>
22334 * docs/gst/gstreamer-docs.sgml:
22335 * docs/gst/gstreamer-sections.txt:
22336 * gst/gstelement.h:
22339 * gst/gstmessage.h:
22342 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22346 And 2% more doc coverage.
22348 2005-10-21 Andy Wingo <wingo@pobox.com>
22350 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22351 position reporting.
22353 2005-10-20 Wim Taymans <wim@fluendo.com>
22355 * gst/gsterror.c: (gst_error_get_message):
22358 * gst/gststructure.c:
22363 2005-10-20 Wim Taymans <wim@fluendo.com>
22368 Another 1% more coverage.
22370 2005-10-20 Wim Taymans <wim@fluendo.com>
22372 * docs/gst/gstreamer-sections.txt:
22373 * gst/gstelement.c: (gst_element_get_state_func),
22374 (gst_element_abort_state), (gst_element_commit_state),
22375 (gst_element_lost_state):
22377 * gst/gstquery.c: (gst_query_set_position),
22378 (gst_query_parse_position), (gst_query_set_duration),
22379 (gst_query_parse_duration), (gst_query_new_convert):
22381 Yay! 1% more docs coverage.
22383 2005-10-20 Wim Taymans <wim@fluendo.com>
22386 * gst/gstquery.c: (gst_query_set_position),
22387 (gst_query_parse_position), (gst_query_set_duration),
22388 (gst_query_parse_duration), (gst_query_new_convert):
22390 * gst/gstutils.c: (gst_element_query_convert):
22392 Docs and consistency fixes.
22394 2005-10-20 Wim Taymans <wim@fluendo.com>
22400 2005-10-20 Wim Taymans <wim@fluendo.com>
22402 * gst/gstbin.c: (message_check), (bin_replace_message),
22403 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22404 (update_degree), (gst_bin_sort_iterator_next),
22405 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22406 Reworked the message handling a bit, cache the messages instead of
22407 only the senders. alows us to do more in the future.
22409 2005-10-20 Wim Taymans <wim@fluendo.com>
22411 * docs/design/part-TODO.txt:
22414 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22415 (gst_base_sink_query):
22416 Don't use clock time to report position when in EOS.
22418 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22420 * tools/gst-inspect.c: (print_interfaces),
22421 (print_element_properties_info), (print_element_info):
22422 Fix interface output with gst-inspect -a; don't print
22423 newlines after double/float properties.
22425 2005-10-20 Wim Taymans <wim@fluendo.com>
22427 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22428 (gst_base_sink_query):
22429 Speed up current position calculation.
22431 * gst/base/gstbasesrc.c: (gst_base_src_query),
22432 (gst_base_src_default_newsegment):
22433 Correctly set stream position in newsegment.
22435 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22436 (update_degree), (gst_bin_sort_iterator_next),
22437 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22438 * gst/gstmessage.c: (gst_message_new_custom):
22439 Clean up debugging info
22441 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22442 (gst_queue_loop), (gst_queue_handle_src_query):
22445 2005-10-19 Wim Taymans <wim@fluendo.com>
22447 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22448 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22449 Fix query handling again.
22451 2005-10-19 Wim Taymans <wim@fluendo.com>
22453 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22454 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22455 * gst/base/gstbasesrc.c: (gst_base_src_query):
22456 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22457 * gst/elements/gsttypefindelement.c:
22458 (gst_type_find_handle_src_query), (find_element_get_length),
22459 (gst_type_find_element_activate):
22462 * gst/gstquery.c: (gst_query_new_position),
22463 (gst_query_set_position), (gst_query_parse_position),
22464 (gst_query_new_duration), (gst_query_set_duration),
22465 (gst_query_parse_duration), (gst_query_set_segment),
22466 (gst_query_parse_segment):
22468 Bundling query position/duration is not a good idea since duration
22469 does not change much and we don't want to recalculate it for every
22470 position query, so they are separated again..
22471 Base value in segment query is not needed.
22473 * gst/gstqueue.c: (gst_queue_handle_src_query):
22474 * gst/gstutils.c: (gst_element_query_position),
22475 (gst_element_query_duration), (gst_pad_query_position),
22476 (gst_pad_query_duration):
22478 Updates for query API change.
22479 Added some docs here and there.
22481 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22483 * check/gst/gstbin.c: (GST_START_TEST):
22484 * check/gst/gstghostpad.c: (GST_START_TEST):
22485 * check/pipelines/cleanup.c: (GST_START_TEST):
22486 wait on thread to die so we can check refcount correctly
22488 2005-10-18 Wim Taymans <wim@fluendo.com>
22490 * check/pipelines/stress.c: (GST_START_TEST):
22491 Make check a little more time consuming.
22493 2005-10-18 Wim Taymans <wim@fluendo.com>
22495 * check/Makefile.am:
22496 * check/pipelines/stress.c: (GST_START_TEST),
22497 (simple_launch_lines_suite), (main):
22498 Small state change torture test.
22500 * docs/design/part-states.txt:
22501 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22502 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22503 (gst_base_sink_change_state):
22504 Never take state lock from streaming thread, clean up ugly
22505 hacks. Unfortunatly core does not yet support nice ways to
22506 async commit state.
22508 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22510 Start state recalc if a STATE_DIRTY message is posted, but only
22511 on the toplevel bin.
22513 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22514 (gst_element_get_state_func), (gst_element_abort_state),
22515 (gst_element_commit_state), (gst_element_lost_state),
22516 (gst_element_set_state_func), (gst_element_change_state):
22517 * gst/gstelement.h:
22518 State variables are now protected with the LOCK, the state
22519 lock is only used to serialize _set_state().
22521 2005-10-18 Wim Taymans <wim@fluendo.com>
22523 * check/gst/gstbin.c: (GST_START_TEST):
22524 * check/gst/gstmessage.c: (GST_START_TEST):
22525 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22526 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22528 * gst/gstelement.c: (gst_element_abort_state),
22529 (gst_element_commit_state), (gst_element_lost_state):
22530 * gst/gstmessage.c: (gst_message_new_state_changed),
22531 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22532 (gst_message_new_segment_done), (gst_message_new_duration),
22533 (gst_message_parse_state_changed),
22534 (gst_message_parse_segment_start),
22535 (gst_message_parse_segment_done), (gst_message_parse_duration):
22536 * gst/gstmessage.h:
22537 * tools/gst-launch.c: (event_loop):
22538 Seriously, this is better than a previous commit as we only need
22539 to notify the fact that an element changed state in a streaming
22540 thread, marking the state of the parents dirty, hence the
22541 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22544 2005-10-18 Wim Taymans <wim@fluendo.com>
22546 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22547 (gst_bin_recalc_func):
22548 * gst/gstelement.c: (gst_element_set_clock),
22549 (gst_element_abort_state), (gst_element_lost_state):
22550 Cleanups, prepare for state change fixes.
22552 2005-10-18 Wim Taymans <wim@fluendo.com>
22555 * gst/gstelement.c: (gst_element_class_init),
22556 (gst_element_set_state), (gst_element_set_state_func):
22557 * gst/gstelement.h:
22558 Pending ABI changes.
22559 GThreadPool in GstBinClass to monitor async state changes.
22560 state_cookie in GstElement to detect concurrent gst/set state.
22561 set_state is now virtual too in case a very complicated element
22562 has to be constructed.
22564 2005-10-18 Wim Taymans <wim@fluendo.com>
22566 * check/gst/gstbin.c: (GST_START_TEST):
22567 * check/gst/gstmessage.c: (GST_START_TEST):
22568 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22569 * gst/gstbin.c: (bin_bus_handler):
22570 * gst/gstelement.c: (gst_element_commit_state),
22571 (gst_element_lost_state):
22572 * gst/gstmessage.c: (gst_message_new_state_changed),
22573 (gst_message_new_segment_start), (gst_message_new_segment_done),
22574 (gst_message_new_duration), (gst_message_parse_state_changed),
22575 (gst_message_parse_segment_start),
22576 (gst_message_parse_segment_done), (gst_message_parse_duration):
22577 * gst/gstmessage.h:
22578 * tools/gst-launch.c: (event_loop):
22579 Make messages future proof.
22580 state-change gets a flag if it was a message comming from the
22582 segment-start/stop can also be specified in other formats.
22583 A message to notify an app that a pipeline changed playback
22585 Also fix a GstMessage leak in -launch
22587 2005-10-18 Andy Wingo <wingo@pobox.com>
22589 * gst/gstelement.c (gst_element_dispose): More helpful message.
22591 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22593 reviewed by: <delete if not using a buddy>
22595 * common/gtk-doc.mak:
22597 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22599 * gst/gstregistry.c: (gst_registry_scan_path_level):
22600 unref a plug-in we get that was already initialized
22602 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22604 * docs/gst/gstreamer-sections.txt:
22605 * docs/libs/gstreamer-libs-sections.txt:
22606 * gst/gstelement.h:
22607 add new api entries
22608 hide internal macro
22610 2005-10-17 Andy Wingo <wingo@pobox.com>
22612 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22615 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22617 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22619 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22620 (gst_element_get_state_func): Better debug message.
22621 (gst_element_commit_state): s/INFO/DEBUG/.
22622 (gst_element_lost_state, gst_element_change_state):
22624 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22625 (gst_message_new_custom): s/INFO/LOG/.
22627 2005-10-17 Michael Smith <msmith@fluendo.com>
22629 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22630 Check if end time is valid using end time, not start time.
22632 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22634 * check/gst-libs/controller.c: (GST_START_TEST),
22635 (gst_controller_suite):
22636 * libs/gst/controller/gstcontroller.c:
22637 (gst_controlled_property_set_interpolation_mode):
22638 * libs/gst/controller/gstcontroller.h:
22639 * libs/gst/controller/gstinterpolation.c:
22640 * testsuite/controller/.cvsignore:
22641 * testsuite/controller/Makefile.am:
22642 * testsuite/controller/interpolator.c:
22643 merge controller testsuites
22645 remove mem-chunk from docs
22647 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22649 * gst/gstmemchunk.c:
22650 * gst/gstmemchunk.h:
22651 * gst/gsttrashstack.c:
22652 * gst/gsttrashstack.h:
22653 out. get out. you're fired. to the Attic !
22655 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22657 * gst/gstcaps.c: (gst_caps_intersect):
22658 fix signedness issues in a (hopefully) correct way
22659 * gst/gstelement.c: (gst_element_pads_activate):
22661 * gst/gstobject.c: (gst_object_set_parent):
22664 2005-10-17 Julien MOUTTE <julien@moutte.net>
22666 * gst/gstvalue.h: Fix prototypes.
22668 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22670 * docs/gst/gstreamer-sections.txt:
22671 * gst/gst.c: (gst_version_string):
22673 * gst/gstversion.h.in:
22674 * win32/common/libgstreamer.def:
22675 add gst_version_string ()
22677 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22681 * gst/gst.c: (init_post):
22682 * win32/common/config.h.in:
22684 * gst/gstcaps.c: (gst_caps_intersect):
22685 use gint64, the range could be bigger than a guint
22687 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22690 document potential problem in 2038
22692 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22694 * gst/gstcaps.c: (gst_caps_intersect):
22695 Fix guint j diving under 0
22697 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22700 * win32/common/config.h:
22701 * win32/common/config.h.in:
22702 check for process.h, declares getpid() on Windows
22704 include process.h if we have it
22705 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22706 * gst/gstmemchunk.h:
22707 fix signedness issues
22708 * win32/common/libgstreamer.def:
22711 2005-10-16 Julien MOUTTE <julien@moutte.net>
22713 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22714 fix. Because of unsigned ints, caps intersection was going nuts and
22715 trying to access structures with G_MAXUINT index. That fixes
22716 videotestsrc ! ffmpegcolorspace ! fakesink
22717 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22720 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22723 use the gettext macro
22724 * gst/elements/gstelements.c:
22726 * gst/indexers/gstindexers.c:
22727 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22728 * win32/common/config.h:
22730 * win32/common/config.h.in:
22731 add the template to generate config.h
22732 * win32/common/gstenumtypes.c:
22733 * win32/common/gstversion.h:
22736 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22738 * gst/gst.c: (gst_version):
22739 * gst/gstversion.h.in:
22742 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22745 Oops, add missing closing bracket.
22747 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22750 use common m4's for argument checking
22752 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22754 * docs/gst/gstreamer-sections.txt:
22756 Add GST_EVENT_TYPE_NAME() macro.
22758 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22761 * gst/gstpluginfeature.c:
22763 privatize more symbols
22765 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22768 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22769 everything that uses GStreamer API should have the includes
22771 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22773 * docs/gst/gstreamer-sections.txt:
22774 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22776 give each value a _get_type, removes the DATA exports
22778 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22782 remove _gst_registry_auto_load, not used anymore
22783 * gst/gstbin.c: (gst_bin_get_type):
22785 * gst/gstelement.c: (gst_element_get_type):
22786 * gst/gstelement.h:
22787 * gst/gstobject.c: (gst_object_get_type):
22789 * gst/gstpad.c: (gst_pad_get_type):
22791 make _get_type functions similar, fixes data export from library
22793 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22796 correctly make conditionals
22797 * gst/elements/Makefile.am:
22798 * gst/elements/gstelements.c:
22799 fix typo causing fdsrc not to build
22801 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22803 * testsuite/Makefile.am:
22804 * testsuite/bytestream/.cvsignore:
22805 * testsuite/bytestream/Makefile.am:
22806 * testsuite/bytestream/filepadsink.c:
22807 * testsuite/bytestream/gstbstest.c:
22808 * testsuite/bytestream/test1.c:
22809 * testsuite/bytestream/testfile1:
22810 * testsuite/caps/normalisation.c:
22811 * testsuite/caps/random.c: (main):
22812 * testsuite/cleanup/.cvsignore:
22813 * testsuite/cleanup/Makefile.am:
22814 * testsuite/cleanup/cleanup1.c:
22815 * testsuite/cleanup/cleanup2.c:
22816 * testsuite/cleanup/cleanup3.c:
22817 * testsuite/cleanup/cleanup4.c:
22818 * testsuite/cleanup/cleanup5.c:
22819 * testsuite/controller/interpolator.c:
22820 * testsuite/debug/printf_extension.c: (main):
22821 * testsuite/elements/tee.c:
22822 * testsuite/negotiation/.cvsignore:
22823 * testsuite/negotiation/Makefile.am:
22824 * testsuite/negotiation/pad_link.c:
22825 * testsuite/pad/Makefile.am:
22826 * testsuite/pad/chainnopull.c:
22827 * testsuite/pad/getnopush.c:
22828 * testsuite/pad/link.c:
22829 * testsuite/refcounting/sched.c: (create_pipeline):
22830 * testsuite/registry/Makefile.am:
22831 * testsuite/registry/gst-print-formats.c:
22832 * testsuite/schedulers/.cvsignore:
22833 * testsuite/schedulers/142183-2.c:
22834 * testsuite/schedulers/142183.c:
22835 * testsuite/schedulers/143777-2.c:
22836 * testsuite/schedulers/143777.c:
22837 * testsuite/schedulers/147713.c:
22838 * testsuite/schedulers/147819.c:
22839 * testsuite/schedulers/147894-2.c:
22840 * testsuite/schedulers/147894.c:
22841 * testsuite/schedulers/Makefile.am:
22842 * testsuite/schedulers/group_link.c:
22843 * testsuite/schedulers/queue_link.c:
22844 * testsuite/schedulers/relink.c:
22845 * testsuite/schedulers/unlink.c:
22846 * testsuite/schedulers/unref.c:
22847 * testsuite/schedulers/useless_iteration.c:
22848 * testsuite/states/bin.c:
22849 clean out/remove some stuff from the testsuite directories
22851 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22854 check for some headers
22855 * gst/elements/Makefile.am:
22856 * gst/elements/gstelements.c:
22857 don't compile fdsrc without sys/socket.h
22858 * gst/indexers/Makefile.am:
22859 * gst/indexers/gstindexers.c: (plugin_init):
22860 don't compile fileindex without mmap
22862 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22869 * check/Makefile.am:
22870 * docs/gst/Makefile.am:
22871 * examples/helloworld/Makefile.am:
22873 * gst/base/Makefile.am:
22874 * gst/check/Makefile.am:
22875 * gst/elements/Makefile.am:
22876 * gst/indexers/Makefile.am:
22877 * gst/parse/Makefile.am:
22878 * libs/gst/controller/Makefile.am:
22879 * libs/gst/dataprotocol/Makefile.am:
22880 * examples/helloworld/helloworld.c: (event_loop):
22881 compile fixes, though it's not being compiled currently
22883 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22885 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22886 Add some simple tests for the new taglist date API.
22888 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22890 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22891 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22892 Beautify 'last-message' output: print 'none' for buffer timestamps
22893 and durations if none is set; improve alignment with next messages.
22895 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22897 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22898 * gst/gstpluginfeature.h:
22899 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22900 * gst/gstregistry.h:
22901 * docs/gst/gstreamer-sections.txt:
22902 Add new API to check plugin feature version requirements.
22904 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22905 Some basic tests for the above.
22907 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22909 * gst/gststructure.c: (gst_structure_to_string):
22910 guard against NULL printf - happens when for example
22911 a message structure with GstClock gets serialized
22913 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22915 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22916 Fix presumable copy'n'pasto.
22918 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22920 * gst/elements/gstfakesrc.h:
22921 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22922 * gst/elements/gsttypefindelement.c:
22923 fix some signedness
22924 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22925 I wonder if this could actually write +2GB files before
22927 2005-10-13 Andy Wingo <wingo@pobox.com>
22929 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22930 Fix Timmeke Waymans bug.
22931 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22932 string of the proper length to gst_caps_from_string. There's a
22933 potential for, before this fix, that this could cause someone
22934 connecting over the network to cause a segfault if the payload is
22935 not NUL-terminated.
22937 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22939 * docs/design/draft-push-pull.txt:
22940 * docs/design/part-overview.txt:
22941 * docs/random/TODO-pre-0.9:
22942 * docs/random/old/ChangeLog.gstreamer:
22943 * gst/base/gstpushsrc.c:
22947 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * gst/glib-compat.c: (gst_flags_get_first_value):
22950 * gst/glib-compat.h:
22951 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22952 (gst_value_compare_double), (gst_value_serialize_flags):
22953 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22956 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22959 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22961 * tools/gst-launch.c: (event_loop):
22962 print out clock nicely
22964 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22966 * docs/gst/gstreamer-sections.txt:
22967 * gst/gsttaglist.h:
22968 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22969 (gst_tag_list_get_date_index):
22970 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22971 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22973 2005-10-13 Julien MOUTTE <julien@moutte.net>
22975 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22976 (gst_collectpads_chain):
22977 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22980 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22982 * docs/gst/gstreamer-sections.txt:
22985 * tools/gst-inspect.c: (main):
22986 * tools/gst-launch.c: (main):
22987 * tools/gst-run.c: (main):
22988 * tools/gst-xmlinspect.c: (main):
22989 fix GOption context leaks
22992 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22996 * win32/common/config.h:
22998 * win32/vs6/grammar.dsp:
22999 * win32/vs6/libgstelements.dsp:
23000 * win32/vs6/libgstreamer.dsp:
23003 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23006 * gst/base/gstbasesrc.c: (gst_base_src_query):
23007 fix more guint64<->gdouble conversions
23009 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23012 add win32-update target
23013 * win32/common/gstconfig.h:
23014 * win32/common/gstenumtypes.c:
23015 * win32/common/gstenumtypes.h:
23016 * win32/common/gstversion.h:
23017 add files that visual studio can't generate
23019 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23022 add a win32-update target
23025 2005-10-12 Wim Taymans <wim@fluendo.com>
23027 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23028 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23029 * gst/gstelement.c: (gst_element_commit_state),
23030 (gst_element_set_state):
23031 Protect flags with proper lock.
23032 unref provided cached clock in dispose.
23034 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23037 * gst/gstminiobject.h:
23039 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23040 removed unused flags from miniobject
23043 2005-10-12 Wim Taymans <wim@fluendo.com>
23045 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23046 (gst_file_sink_event), (gst_file_sink_render):
23047 Flush before seeking.
23049 2005-10-12 Andy Wingo <wingo@pobox.com>
23051 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23052 always been the case.
23054 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23056 * check/gst/gstbin.c: (GST_START_TEST):
23057 * docs/gst/gstreamer-sections.txt:
23058 * gst/base/gstbasesink.c: (gst_base_sink_init):
23059 * gst/base/gstbasesrc.c: (gst_base_src_init),
23060 (gst_base_src_get_range), (gst_base_src_check_get_range),
23061 (gst_base_src_start), (gst_base_src_stop):
23062 * gst/base/gstbasesrc.h:
23063 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23064 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23065 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23069 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23071 * gst/gstelement.c: (gst_element_is_locked_state),
23072 (gst_element_set_locked_state), (gst_element_commit_state),
23073 (gst_element_set_state):
23074 * gst/gstelement.h:
23075 * gst/gstindex.c: (gst_index_init):
23077 * gst/gstminiobject.h:
23078 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23079 (gst_object_set_parent):
23081 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23082 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23084 * gst/gstpadtemplate.h:
23085 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23086 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23087 * gst/gstpipeline.h:
23088 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23089 (gst_file_index_commit):
23090 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23091 * testsuite/pad/link.c: (gst_test_src_init),
23092 (gst_test_filter_init), (gst_test_sink_init):
23093 * testsuite/states/locked.c: (main):
23094 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23095 moved bitshift from macro to enum definition
23097 2005-10-12 Wim Taymans <wim@fluendo.com>
23099 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23100 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23101 (gst_file_sink_render):
23102 Some more debugging info.
23104 2005-10-12 Wim Taymans <wim@fluendo.com>
23106 * docs/design/part-states.txt:
23107 * tools/gst-launch.c: (main):
23109 Revert non-intentional change.
23111 2005-10-12 Wim Taymans <wim@fluendo.com>
23113 * check/gst/gstbin.c: (GST_START_TEST):
23114 * check/gst/gstelement.c: (GST_START_TEST):
23115 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23116 * check/gst/gstghostpad.c: (GST_START_TEST):
23117 * check/gst/gstpipeline.c: (GST_START_TEST):
23118 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23119 * check/states/sinks.c: (GST_START_TEST):
23120 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23121 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23122 (gst_bin_remove_func), (gst_bin_get_state_func),
23123 (gst_bin_recalc_state), (gst_bin_change_state_func),
23125 * gst/gstelement.c: (gst_element_get_state_func),
23126 (gst_element_get_state), (gst_element_abort_state),
23127 (gst_element_commit_state), (gst_element_set_state),
23128 (gst_element_change_state), (gst_element_change_state_func):
23129 * gst/gstelement.h:
23130 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23131 (gst_pipeline_provide_clock_func):
23132 * gst/gstutils.c: (gst_element_link_pads_filtered):
23133 * tools/gst-launch.c: (main):
23134 * tools/gst-typefind.c: (main):
23135 Use GstClockTime in _get_state() instead of GTimeVal.
23136 Remove old code in gstutils.c
23138 2005-10-12 Andy Wingo <wingo@pobox.com>
23140 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23143 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23144 there is no task. Shouldn't affect any code, as nothing in our
23145 plugins checks this return value.
23146 (gst_pad_stop_task): Also take the stream lock if the pad has no
23147 task. Docs updated.
23149 2005-10-12 Wim Taymans <wim@fluendo.com>
23151 * gst/gstpad.c: (pre_activate), (post_activate),
23152 (gst_pad_activate_pull), (gst_pad_activate_push):
23153 Cleanup activation code. Reset old state if
23156 2005-10-12 Wim Taymans <wim@fluendo.com>
23158 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23159 (gst_base_sink_change_state):
23160 No need to prerol after receiving EOS.
23162 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23163 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23164 * gst/elements/gstidentity.c: (gst_identity_event):
23165 Print events more verbosely.
23167 2005-10-12 Wim Taymans <wim@fluendo.com>
23169 * check/Makefile.am:
23170 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23171 * check/states/sinks2.c:
23172 Moved sinks2 testcode in sinks check.
23174 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23175 (gst_bin_remove_func), (gst_bin_recalc_state),
23176 (gst_bin_change_state_func), (bin_bus_handler):
23177 Fix potential race condition when _get_state() iterated over an
23178 ASYNC element right before it posted a state completion.
23181 Do proper cast here.
23183 * gst/gstevent.c: (gst_event_new_newsegment),
23184 (gst_event_parse_newsegment):
23185 A playback rate of 0.0 is not allowed.
23187 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23189 * win32/common/config.h:
23190 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23191 (_trewinddir), (_ttelldir), (_tseekdir):
23192 * win32/common/dirent.h:
23193 * win32/common/gtchar.h:
23194 * win32/common/libgstbase.def:
23195 * win32/common/libgstreamer.def:
23196 * win32/vs6/grammar.dsp:
23197 * win32/vs6/gst_inspect.dsp:
23198 * win32/vs6/gst_launch.dsp:
23199 * win32/vs6/gstreamer.dsw:
23200 * win32/vs6/libgstbase.dsp:
23201 * win32/vs6/libgstelements.dsp:
23202 * win32/vs6/libgstreamer.dsp:
23203 Visual Studio 6 project files, and a new common directory.
23206 2005-10-11 Wim Taymans <wim@fluendo.com>
23208 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23209 (gst_base_sink_do_sync), (gst_base_sink_query),
23210 (gst_base_sink_change_state):
23211 * gst/base/gstbasesink.h:
23212 Correctly parse newsegment info.
23214 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23216 * gst/gst.c: (init_post):
23217 split plugin paths correctly
23219 2005-10-11 Wim Taymans <wim@fluendo.com>
23221 * check/gst/gstevent.c: (GST_START_TEST):
23222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23223 (gst_base_sink_change_state):
23224 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23225 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23226 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23227 * gst/gstevent.c: (gst_event_new_newsegment),
23228 (gst_event_parse_newsegment):
23230 Added extra flag to newsegment for future API freeze.
23231 Updated check and base elements.
23233 2005-10-11 Julien MOUTTE <julien@moutte.net>
23235 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23236 (gst_collectpads_add_pad), (gst_collectpads_pop),
23237 (gst_collectpads_event), (gst_collectpads_chain):
23238 * gst/base/gstcollectpads.h: Handle EOS correctly.
23240 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23242 * tools/gst-launch.c: (main):
23243 more null protecting
23245 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23247 * gst/gst-i18n-lib.h:
23248 check for ENABLE_NLS, not GETTEXT_PACKAGE
23249 * gst/gstregistry.c: (gst_registry_add_plugin),
23250 (gst_registry_scan_path_level),
23251 (_gst_registry_remove_cache_plugins):
23252 protect possibly NULL strings
23253 * gst/parse/types.h:
23254 config.h already included before
23255 * tools/gst-inspect.c: (main):
23256 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23257 check for ENABLE_NLS, not GETTEXT_PACKAGE
23258 * tools/gst-launch.c: (main):
23259 check for ENABLE_NLS, not GETTEXT_PACKAGE
23261 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23264 if we don't have glib, fail before testing 2.8
23265 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23266 fix a leak, should fix plugins-base testsuite
23268 2005-10-11 Andy Wingo <wingo@pobox.com>
23270 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23271 take the mode we're going to as an arg. Go head and set the mode
23272 and flushing flags now, so that if the activate function starts a
23273 thread all the flags will be in the right state.
23274 (post_activate): Renamed also. Just handle making sure streaming
23275 finishes for the deactivation case, and setting the deactivated
23277 (gst_pad_set_active): Complain loudly if deactivation fails.
23278 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23279 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23280 remove the terrible hack.
23282 2005-10-11 Wim Taymans <wim@fluendo.com>
23284 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23285 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23286 (gst_bin_recalc_state), (gst_bin_change_state_func),
23287 (gst_bin_dispose), (bin_bus_handler):
23289 Prepare to make current EOS message queue more generic.
23292 * gst/gstevent.c: (gst_event_new_newsegment),
23293 (gst_event_parse_newsegment):
23295 Rename base to stream_time.
23297 * gst/gstmessage.h:
23300 2005-10-11 Wim Taymans <wim@fluendo.com>
23302 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23303 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23304 (gst_bin_change_state_func), (bin_bus_handler):
23306 Work on proper clock selection.
23308 2005-10-11 Edward Hervey <edward@fluendo.com>
23310 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23311 * libs/gst/controller/gstcontroller.h:
23312 Added GList* version of _remove_properties() in order to be able to wrap
23315 2005-10-11 Wim Taymans <wim@fluendo.com>
23317 * docs/design/part-states.txt:
23320 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23321 (gst_bin_change_state_func), (bin_bus_handler):
23322 Doc updates. Don't distribute the same clock over and over again.
23328 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23329 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23330 (gst_pad_send_event):
23332 Make probe emission threadsafe again.
23333 Register quarks and move _get_name() from utils.
23336 * gst/gstpipeline.c: (gst_pipeline_class_init),
23337 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23338 Only redistribute the clock of it changed.
23340 * gst/gstsystemclock.h:
23345 Moved the _flow_get_name() to GstPad.
23347 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23349 * check/gst-libs/gdp.c: (GST_START_TEST):
23350 * check/gst/gstcaps.c: (GST_START_TEST):
23351 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23352 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23353 (gst_dp_packet_from_caps):
23354 fix more valgrind warnings before turning up the heat
23356 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23358 * gst/parse/grammar.y:
23359 some cleanup before the hacking
23361 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23363 * gst/base/gstbasesrc.c: (gst_base_src_query):
23365 * gst/gstutils.c: (gst_guint64_to_gdouble),
23366 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23368 externalize, basesrc uses it
23369 obviously the implementation needs testing
23371 2005-10-10 Wim Taymans <wim@fluendo.com>
23373 * tests/sched/Makefile.am:
23374 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23375 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23377 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23379 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23380 apparently converting from guint64 to double is not implemented
23383 2005-10-10 Wim Taymans <wim@fluendo.com>
23385 * check/Makefile.am:
23386 * check/generic/states.c: (GST_START_TEST):
23387 * check/gst/gstbin.c: (GST_START_TEST):
23388 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23389 * check/states/sinks.c: (GST_START_TEST):
23390 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23392 Check fixes, use API as stated in design docs, remove hacks.
23394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23395 (gst_base_sink_change_state):
23396 Catch stopping our task while we're shutting down.
23398 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23399 (gst_bin_remove_func), (gst_bin_get_state_func),
23400 (gst_bin_recalc_state), (gst_bin_change_state_func),
23403 * gst/gstelement.c: (gst_element_init),
23404 (gst_element_get_state_func), (gst_element_abort_state),
23405 (gst_element_commit_state), (gst_element_lost_state),
23406 (gst_element_set_state), (gst_element_change_state),
23407 (gst_element_change_state_func):
23408 * gst/gstelement.h:
23409 New state change algorithm (see #318116)
23411 * gst/gstpipeline.c: (gst_pipeline_class_init),
23412 (gst_pipeline_init), (gst_pipeline_set_property),
23413 (gst_pipeline_get_property), (do_pipeline_seek),
23414 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23415 * gst/gstpipeline.h:
23416 Remove crude state change hacks.
23419 Remove crude hacks.
23421 * tools/gst-launch.c: (main):
23422 Fixes for state change. Needs some more work to fully use the
23425 2005-10-10 Andy Wingo <wingo@pobox.com>
23427 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23429 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23430 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23433 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23435 * gst/gstiterator.c: (gst_iterator_new):
23436 Fix my previous commit: GTypes passed to gst_iterator_new()
23437 can be fundamental types.
23439 2005-10-10 Wim Taymans <wim@fluendo.com>
23441 * gst/gstelement.c: (gst_element_iterate_pad_list),
23442 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23443 (gst_element_iterate_sink_pads):
23444 Use src/sink pads lists for the respective iterators instead
23447 2005-10-10 Andy Wingo <wingo@pobox.com>
23449 Merged in popt removal + GOption addition patch from Ronald, bug
23452 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23453 GstElement macros around, remove popt-related symbols, add goption
23456 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23458 * docs/gst/Makefile.am:
23459 * docs/libs/Makefile.am: No POPT_CFLAGS.
23461 * examples/manual/Makefile.am:
23462 * docs/manual/basics-init.xml: Doc updates with an example.
23464 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23465 (gst_init), (parse_one_option), (parse_goption_arg):
23466 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23467 bit of hand merging and debugging to get the GOption stuff working
23470 * tests/Makefile.am:
23471 * tools/Makefile.am:
23472 * tools/gst-inspect.c: (main):
23473 * tools/gst-launch.c: (main):
23474 * tools/gst-run.c: (main):
23475 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23477 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23479 * gst/gstiterator.c: (gst_iterator_new):
23480 Add assertions to make sure passed GType is likely to really
23481 be a GType (as the compiler won't catch it if the size and
23482 GType arguments get mixed up, see #318447).
23484 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23486 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23488 * gst/gstbin.c: (gst_bin_iterate_sorted):
23489 Pass GType and size arguments to gst_iterator_new() in the right
23490 order (maybe we should make _new() take the GType as first argument
23491 just like _new_list()?) (#318447).
23494 2005-10-10 Wim Taymans <wim@fluendo.com>
23496 * gst/gstelement.c: (gst_element_finalize):
23497 And free the GStaticRecMutex too
23499 2005-10-10 Andy Wingo <wingo@pobox.com>
23501 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23502 Allocate and free the mutex properly.
23504 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23506 (GstElement): The state_lock is now recursive. Rebuild your
23507 plugins, suckers. Old macros adapted.
23509 * docs/gst/gstreamer-sections.txt: Doc updates.
23512 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23513 (g_static_rec_cond_wait): Ported from state changes patch, while
23514 we wait on bug #317802 to be solved in a well-distributed GLib.
23516 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23517 gst_element_change_state, variable name changes.
23518 (gst_element_change_state): Split out of gst_element_set_state in
23519 preparation for the state change merge. Doesn't pay attention to
23520 the 'transition' argument.
23521 (gst_element_set_state): Updates, hopefully purely cosmetic.
23522 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23523 state change patch.
23524 (gst_element_get_state_func): Renamed from get_state, cosmetic
23527 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23529 * gst/elements/gstelements.c:
23530 * win32/GStreamer.vcproj:
23532 * win32/dirent.c: (_tseekdir):
23533 * win32/gst-inspect.vcproj:
23534 * win32/gst-launch.vcproj:
23535 * win32/gstconfig.h:
23536 * win32/gstelements.vcproj:
23537 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23538 * win32/gstreamer.def:
23539 * win32/msvc71.sln:
23540 updates for the win32 build (patch from Sebastien Moutte)
23542 2005-10-10 Andy Wingo <wingo@pobox.com>
23544 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23545 gst_bin_get_state, cleaned up (but no logic changes).
23546 (bin_element_is_sink): Comment updates.
23547 (sink_iterator_filter): Remove needless cast.
23548 (gst_bin_iterate_sinks): Doc update.
23549 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23550 cleaned up (but no logic changes).
23552 * check/states/sinks.c (test_src_sink): Cleanups from the state
23554 (test_livesrc_sink): Sync on the state.
23556 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23557 the state change patch.
23559 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23562 * check/gst/gstbin.c: Merge in some style fixes and additional
23563 checks from Wim's state change patch.
23565 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23567 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23568 (gst_type_find_helper):
23569 Check whether we have the requested data already in our list of
23570 cached buffers before pulling a new buffer; also make the buffer
23571 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23573 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23578 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23579 don't use long long, it's not portable. Replacing with
23580 gint64 seems to work; let's hope no skeletons fall out of the closet.
23582 2005-10-10 Andy Wingo <wingo@pobox.com>
23584 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23586 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23588 * docs/gst/gstreamer-sections.txt:
23593 * gst/gstmessage.c: (gst_message_parse_state_changed):
23596 more docs, fix compilation
23598 2005-10-09 Philippe Khalaf <burger@speedy.org>
23599 * gst/gstmessage.c:
23600 Fixed a few forgotten variables on previous commit
23602 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23604 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23605 Fix evil typefind crasher: getrange() might return a short
23606 buffer at the end of a file, but gst_type_find_peek() must
23607 either return the full data as requested or NULL, but
23608 never a short buffer.
23610 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23612 * gst/gstmessage.c: (gst_message_new_state_changed),
23613 (gst_message_parse_state_changed):
23614 * gst/gstmessage.h:
23615 don't use "new", it's a C++ keyword
23617 2005-10-08 Wim Taymans <wim@fluendo.com>
23619 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23620 * gst/gstelement.c: (gst_element_post_message):
23621 * gst/gstpipeline.c: (gst_pipeline_change_state):
23622 Small docs and debug updates.
23624 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23626 * docs/gst/gstreamer-sections.txt:
23627 * gst/gstelementfactory.c:
23629 * gst/gsttaglist.c:
23632 2005-10-08 Wim Taymans <wim@fluendo.com>
23634 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23635 (gst_bin_dispose), (bin_bus_handler):
23636 Fix typos, add comments.
23637 Clear EOS list when going to PAUSED from any direction and do it
23638 in a threadsafe way.
23639 Get base time in a threadsafe way too.
23640 Fix confusing debug in the change_state function.
23641 Various other small cleanups.
23643 * gst/gstelement.c: (gst_element_post_message):
23644 Fix very verbose bus posting code.
23646 * gst/gstpipeline.c: (gst_pipeline_class_init),
23647 (gst_pipeline_set_property), (gst_pipeline_get_property),
23648 (gst_pipeline_change_state):
23649 Small ARG_ -> PROP_ cleanup
23651 2005-10-08 Wim Taymans <wim@fluendo.com>
23653 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23654 Do a less CPU demanding EOS check because we can.
23656 2005-10-08 Wim Taymans <wim@fluendo.com>
23658 * libs/gst/dataprotocol/dataprotocol.c:
23659 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23660 (gst_dp_packet_from_event):
23661 * libs/gst/dataprotocol/dataprotocol.h:
23662 * libs/gst/dataprotocol/dp-private.h:
23663 It's about time we bump the version number.
23664 Since event types don't fit in the guint8 anymore describing
23665 the payload type, make payload type 16 bits wide.
23667 2005-10-08 Wim Taymans <wim@fluendo.com>
23669 * docs/design/part-TODO.txt:
23670 * docs/design/part-clocks.txt:
23671 * docs/design/part-events.txt:
23672 * docs/design/part-gstbin.txt:
23673 * docs/design/part-gstelement.txt:
23674 * docs/design/part-gstpipeline.txt:
23675 * docs/design/part-live-source.txt:
23676 * docs/design/part-messages.txt:
23677 * docs/design/part-overview.txt:
23678 * docs/design/part-states.txt:
23681 2005-10-08 Wim Taymans <wim@fluendo.com>
23685 Fix event quark registration.
23686 Add some space between events so we can insert them in the
23689 2005-10-08 Wim Taymans <wim@fluendo.com>
23691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23692 (gst_base_sink_handle_buffer):
23693 Better log message.
23696 * gst/gstelement.h:
23699 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23700 (gst_queue_set_property), (gst_queue_get_property):
23702 Remove old unused properties.
23704 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23705 * docs/gst/gstreamer-sections.txt:
23706 * gst/gstmessage.c:
23707 * gst/gstmessage.h:
23708 * gst/gstminiobject.c:
23709 * gst/gstminiobject.h:
23713 lots of new docs and doc fixes
23715 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23717 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23719 * gst/gstregistry.c: (gst_registry_lookup_locked),
23720 (gst_registry_scan_path_level):
23721 * gst/gstregistryxml.c: (load_plugin):
23722 Only ever load one plugin for a given plugin basename.
23723 This ensures correct overriding of GST_PLUGIN_PATH over
23724 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23725 system installed plugins.
23727 2005-10-08 Wim Taymans <wim@fluendo.com>
23729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23730 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23731 Prepare for doing QOS.
23733 2005-10-08 Wim Taymans <wim@fluendo.com>
23735 * check/gst/gstbin.c: (GST_START_TEST):
23736 * check/pipelines/cleanup.c: (GST_START_TEST):
23737 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23738 Allow new clock message too.
23740 2005-10-08 Wim Taymans <wim@fluendo.com>
23742 * gst/gstmessage.c: (gst_message_new_error),
23743 (gst_message_new_warning), (gst_message_new_tag),
23744 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23745 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23746 (gst_message_new_segment_start), (gst_message_new_segment_done),
23747 (gst_message_parse_state_changed),
23748 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23749 (gst_message_parse_new_clock):
23750 * gst/gstmessage.h:
23751 Also carry the clock in question.
23753 2005-10-08 Wim Taymans <wim@fluendo.com>
23755 * gst/gstmessage.c: (gst_message_new_custom),
23756 (gst_message_new_eos), (gst_message_new_error),
23757 (gst_message_new_warning), (gst_message_new_tag),
23758 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23759 (gst_message_new_new_clock), (gst_message_new_segment_start),
23760 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23761 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23762 * gst/gstmessage.h:
23764 Added clock related messages.
23766 * gst/gstpipeline.c: (gst_pipeline_change_state):
23767 Post message when the clock changed.
23769 * tools/gst-launch.c: (event_loop):
23772 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23774 * tools/gst-inspect.c: (print_element_properties_info):
23775 Can't pass NULL strings to g_print() on windows.
23777 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23779 * docs/Makefile.am:
23780 * docs/gst/Makefile.am:
23781 * docs/gst/gstreamer-docs.sgml:
23782 * docs/gst/running.xml:
23783 * docs/version.entities.in:
23784 add a chapter on running GStreamer.
23785 document GST_DEBUG and GST_PLUGIN* env vars
23787 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23792 remove PLUGINS_BUILDDIR stuff
23793 * gst/gst.c: (init_post):
23794 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23796 remove, it was condescending and not needed
23798 2005-10-08 Wim Taymans <wim@fluendo.com>
23800 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23801 (gst_base_sink_handle_object), (gst_base_sink_event),
23802 (gst_base_sink_wait), (gst_base_sink_handle_event),
23803 (gst_base_sink_change_state):
23804 * gst/base/gstbasesink.h:
23805 Repost EOS message while going to PLAYING if still EOS.
23806 Make sure that when receiving a FLUSH_START we don't attempt
23807 to sync on the clock anymore.
23809 2005-10-08 Wim Taymans <wim@fluendo.com>
23811 * tools/gst-launch.c: (event_loop):
23812 Better message printout.
23814 2005-10-08 Wim Taymans <wim@fluendo.com>
23816 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23817 (gst_bin_child_proxy_get_children_count):
23818 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23819 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23820 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23821 (gst_child_proxy_set_valist):
23822 * gst/parse/grammar.y:
23823 Make ChildProxy threadsafe and fix mem leaks.
23825 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23827 * gst/gst.c: (init_post):
23828 debug the GST_PLUGIN_ env vars
23830 2005-10-08 Wim Taymans <wim@fluendo.com>
23832 * check/gst/gstbin.c: (GST_START_TEST):
23833 * check/gst/gstmessage.c: (GST_START_TEST):
23834 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23835 * gst/gstelement.c: (gst_element_commit_state),
23836 (gst_element_lost_state):
23837 * gst/gstmessage.c: (gst_message_new_state_changed),
23838 (gst_message_parse_state_changed):
23839 * gst/gstmessage.h:
23840 * tools/gst-launch.c: (event_loop):
23841 Added extra field to STATE_CHANGE message with the pending
23842 state, which will be different from the new state soon.
23844 2005-10-08 Wim Taymans <wim@fluendo.com>
23846 * gst/gstbus.c: (gst_bus_pop):
23848 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23849 Small cleanups and doc updates.
23851 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23853 * gst/gst.c: (init_pre):
23854 * gst/gstbin.c: (gst_bin_add_func):
23855 log distributing clocks and base time
23856 * gst/gstregistry.c: (gst_registry_add_plugin),
23857 (gst_registry_scan_path_level), (gst_registry_scan_path):
23858 clean up the debugging output a little
23859 * gst/gstutils.c: (gst_element_state_get_name):
23860 warn about a memleak (I've actually seen this be used, though
23861 it was probably a bug)
23863 2005-10-07 Wim Taymans <wim@fluendo.com>
23865 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23866 (gst_base_src_init), (gst_base_src_default_newsegment),
23867 (gst_base_src_newsegment), (gst_base_src_do_seek),
23868 (gst_base_src_loop), (gst_base_src_start):
23869 * gst/base/gstbasesrc.h:
23870 Make the newsegment event customizable by subclasses.
23872 2005-10-07 Wim Taymans <wim@fluendo.com>
23874 * gst/gstevent.c: (gst_event_new_buffersize),
23875 (gst_event_parse_buffersize):
23877 New event for future idea.
23879 2005-10-07 Andy Wingo <wingo@pobox.com>
23881 * gst/gstelement.c (gst_element_post_message): Doc update.
23883 * docs/gst/gstreamer-sections.txt: Update.
23885 * gst/gstmessage.c (gst_message_new_application): Made into a
23886 function like honest API calls.
23887 (gst_message_new_element): New message type.
23889 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23891 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23892 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23895 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23896 NO_PREROLL from gst_element_change_state to fall through.
23898 2005-10-07 Wim Taymans <wim@fluendo.com>
23900 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23901 (gst_ghost_pad_do_activate_push):
23902 Activating a ghostpad with no internal pad in push mode
23905 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23908 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23909 Fixes compilation on Windows.
23911 2005-10-07 Michael Smith <msmith@fluendo.com>
23913 * tools/gst-inspect.c:
23914 Print out feature and plugin count at the end when printing out
23917 2005-10-04 Michael Smith <msmith@fluendo.com>
23919 * gst/gsterror.c: (_gst_stream_errors_init):
23920 Add another error string used in a few existing plugins.
23923 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23924 * tools/gst-inspect.c: (print_element_info):
23925 When a feature disappears from a plugin (and the feature exists in
23926 the cached registry file), things went horribly wrong. This isn't a
23927 complete fix, we should actually be removing the 'missing' features
23928 from the features list when we load the actual plugin. That's not
23931 2005-10-04 Johan Dahlin <johan@gnome.org>
23933 * check/gst/gstiterator.c: (GST_START_TEST):
23934 * gst/gstbin.c: (gst_bin_iterate_elements),
23935 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23936 * gst/gstelement.c: (gst_element_iterate_pads):
23937 * gst/gstformat.c: (gst_format_iterate_definitions):
23938 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23939 (gst_iterator_new_list), (gst_iterator_filter):
23940 * gst/gstiterator.h:
23941 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23942 Add a GType to GstIterator, update callsites and tests.
23944 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23946 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23947 give events a chance to be handled by event probes when the pad
23950 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23952 * gst/gstevent.c: (gst_event_type_get_name),
23953 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23955 add string representations for event types
23957 2005-10-06 Wim Taymans <wim@fluendo.com>
23959 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23960 Don't use NULL pointers.
23962 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23964 * gst/gst_private.h:
23966 * gst/gstelement.c:
23968 * gst/gstpluginfeature.c:
23969 widen the debug category in output to fit the biggest one we have
23970 add a bus category and use it
23971 play with the colors
23972 fix up some categories
23974 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23976 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23977 add push activation of sink ghost pads.
23978 Andye, please verify
23980 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23982 * gst/gstutils.c: (gst_element_link_pads):
23983 fix a bug in the case where neither element has a pad
23984 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23985 add a test for that case
23987 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23989 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23990 emit have-data before checking for peers. This allows
23991 for probe handlers to connect elements. This helps autopluggers.
23992 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23994 add six checks, linked/unlinked with no/true/false probe
23996 2005-10-04 Wim Taymans <wim@fluendo.com>
23998 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23999 (gst_fake_sink_event), (gst_fake_sink_preroll),
24000 (gst_fake_sink_render), (gst_fake_sink_change_state):
24001 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24002 (gst_fake_src_get_property), (gst_fake_src_create),
24003 (gst_fake_src_stop):
24004 * gst/elements/gstidentity.c: (gst_identity_stop):
24005 Protect last_message with lock.
24007 2005-10-04 Edward Hervey <edward@fluendo.com>
24010 Added precision in the comments for GST_FORMAT_DEFAULT
24012 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24014 * tools/gst-launch.c: (main):
24015 Don't try to run erroneous pipelines.
24017 2005-10-04 Julien MOUTTE <julien@moutte.net>
24019 * gst/gstbus.c: We don't need this header.
24021 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24024 back to development
24026 === release 0.9.3 ===
24028 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24032 Releasing 0.9.3, "Unregistered"
24034 2005-10-03 Andy Wingo <wingo@pobox.com>
24036 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24037 whereby calling a pad's activatepush() function can start a thread
24038 that starts to push or pull before the pad gets the FLUSHING flag
24039 unset. Hack around it by holding the stream lock until the flag is
24040 set. Need to replace this with a proper solution. Together with
24041 the ghost pad fixes, this fixes mp3 playing/tagreading.
24043 * docs/design/part-gstghostpad.txt: Add a note about activation of
24044 proxy pads outside of ghost pads.
24046 * gst/gstghostpad.c: Implement the ghost pad activation design.
24048 2005-10-02 Andy Wingo <wingo@pobox.com>
24050 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24051 It is volatile, after all.
24053 * docs/design/part-gstghostpad.txt: Flesh out activation with
24056 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24059 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24062 Fix (unused) AM_CONDITIONAL tests.
24064 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24066 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24068 * gst/gstutils.c: (gst_pad_query_convert):
24069 Add assertion that makes sure src_val is >=0, just like
24070 gst_query_new_convert() has. (#315895)
24072 2005-09-30 Edward Hervey <edward@fluendo.com>
24074 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24075 Let's not iterate pads we're not interested in, it avoids getting
24076 sky-high refcounts on sinkpad.
24078 2005-09-30 Wim Taymans <wim@fluendo.com>
24080 * gst/gstelement.c: (gst_element_set_state),
24081 (gst_element_change_state):
24082 Small tweak, element in ASYNC remains ASYNC.
24084 2005-09-30 Wim Taymans <wim@fluendo.com>
24086 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24087 Only error is an error.
24089 * gst/gstbin.c: (gst_bin_change_state):
24092 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24093 Also call pad_block in pad alloc.
24095 * gst/gstutils.c: (gst_flow_get_name):
24098 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24100 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24101 (gst_base_src_get_range):
24102 Fix documentation typos. Add some more debug info.
24104 2005-09-29 David Schleef <ds@schleef.org>
24106 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24107 more end-user friendly.
24108 * tools/gst-inspect.c: (main): Check if command-line argument is
24109 a file and attempt to load that file as a plugin.
24111 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24113 * check/gst/gstbin.c:
24114 * check/states/sinks.c:
24115 fix tests for the new warning
24116 * check/gst/gstpipeline.c:
24117 add a test for pipeline and bus interaction
24118 * gst/gstelement.c:
24119 elements should be NULL if they get disposed; add a warning if not
24121 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24124 for 2.6 refcounting, make debug log more correct by printing
24125 the actual refcounts at the time of swap (Wim)
24127 2005-09-29 Andy Wingo <wingo@pobox.com>
24129 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24130 removes signal watches previously added via
24131 gst_bus_add_signal_watch.
24132 (gst_bus_add_signal_watch): Don't return the source id, just store
24133 it on the bus if there wasn't an id already.
24135 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24136 add_signal_watch and remove_signal_watch.
24138 2005-09-29 Edward Hervey <edward@fluendo.com>
24140 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24141 Better if we actually iterate the list :)
24143 2005-09-29 Wim Taymans <wim@fluendo.com>
24145 * check/gst/gstbin.c: (GST_START_TEST):
24146 Change for new bus API.
24148 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24149 (send_messages), (GST_START_TEST), (gstbus_suite):
24150 Change for new bus signal API.
24152 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24153 (gst_bus_source_prepare), (gst_bus_source_check),
24154 (gst_bus_create_watch), (gst_bus_add_watch_full),
24155 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24156 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24158 Remove support for multiple GSources operating on different
24159 message types as it is too complex and unneeded when using
24161 Added support for receiving signals from the bus.
24163 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24165 * docs/libs/tmpl/gstdataprotocol.sgml:
24166 * docs/manual/advanced-dataaccess.xml:
24167 * gst/elements/gstcapsfilter.c:
24169 rename filter-caps to caps property
24171 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24173 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24174 More robust fraction string parsing.
24176 * docs/pwg/appendix-porting.xml:
24177 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24179 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24181 * gst/gstcaps.c: (gst_caps_do_simplify):
24182 Thou shalt not free a structure and then continue using it
24183 in the next loop iteration.
24185 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24187 Add test case for caps simplification.
24189 2005-09-29 Wim Taymans <wim@fluendo.com>
24191 * check/gst/gstbin.c: (GST_START_TEST):
24194 2005-09-29 Wim Taymans <wim@fluendo.com>
24196 * check/gst/gstbin.c: (GST_START_TEST):
24199 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24200 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24201 (find_element), (gst_bin_sort_iterator_next),
24202 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24203 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24204 (gst_bin_change_state), (gst_bin_dispose):
24205 A bin does not have a bus, it gets the bus from the parent.
24207 * gst/gstelement.c: (gst_element_requires_clock),
24208 (gst_element_provides_clock), (gst_element_is_indexable),
24209 (gst_element_is_locked_state), (gst_element_change_state),
24210 (gst_element_set_bus_func):
24213 * gst/gstpipeline.c: (gst_pipeline_class_init),
24214 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24215 The pipeline provides a bus.
24217 2005-09-28 Johan Dahlin <johan@gnome.org>
24219 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24220 gst_structure_get_enum instead of gst_structure_get_int
24222 * gst/gststructure.c (gst_structure_get_enum): Impl.
24224 * gst/gststructure.h (gst_structure_get_enum): Add
24226 * docs/gst/gstreamer-sections.txt: Ditto
24228 * gst/gstmessage.c (gst_message_new_state_changed): Use
24229 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24230 which does introspection.
24231 Reviewed by Christian Schaller
24233 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24235 * gst/gstinfo.c: (gst_debug_log_default):
24236 don't do dummy g_strdup()s
24237 * libs/gst/controller/gstcontroller.c:
24238 (on_object_controlled_property_changed),
24239 (gst_controlled_property_new), (gst_controller_new_valist),
24240 (gst_controller_new_list),
24241 (gst_controller_remove_properties_valist), (gst_controller_set),
24242 (gst_controller_get), (gst_controller_sync_values),
24243 (gst_controller_get_value_array), (_gst_controller_class_init),
24244 (gst_controller_get_type):
24245 * libs/gst/controller/gstcontroller.h:
24246 * libs/gst/controller/gstinterpolation.c:
24247 (gst_controlled_property_find_timed_value_node):
24248 convert // to /**/ comments
24250 2005-09-28 Wim Taymans <wim@fluendo.com>
24252 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24253 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24254 (gst_bus_sync_signal_handler):
24256 Added async-message and sync-message signals to the bus.
24257 Added helper BusFunc to emit signals for all posted messages.
24259 * gst/gstmessage.c: (gst_message_type_get_name),
24260 (gst_message_type_to_quark), (gst_message_get_type):
24261 * gst/gstmessage.h:
24262 Register quarks for message names.
24264 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24266 * docs/libs/gstreamer-libs-sections.txt:
24267 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24268 (gst_controller_new_list):
24269 * libs/gst/controller/gstcontroller.h:
24270 added another constructor for language bindings
24272 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24274 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24278 * gst/gstinfo.c: (_gst_debug_init):
24279 slightly more readable color for refcount debugging
24281 2005-09-28 Wim Taymans <wim@fluendo.com>
24283 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24284 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24285 (find_element), (gst_bin_sort_iterator_next),
24286 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24287 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24288 (gst_bin_change_state), (gst_bin_dispose):
24289 Small doc fixes. get_clock -> provide_clock.
24291 * gst/gstelement.c: (gst_element_class_init),
24292 (gst_element_provides_clock), (gst_element_provide_clock),
24293 (gst_element_get_clock), (gst_element_commit_state),
24294 (gst_element_lost_state):
24295 * gst/gstelement.h:
24296 Make get/set_clock() symetric. Add provide_clock vmethod since
24297 that is actually what this function does.
24299 * gst/gstpipeline.c: (gst_pipeline_class_init),
24300 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24301 (gst_pipeline_get_clock):
24302 get_clock -> provide_clock.
24304 2005-09-28 Andy Wingo <wingo@pobox.com>
24306 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24307 lieu of real docs...
24309 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24311 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24313 * gst/elements/gstcapsfilter.c:
24314 * gst/elements/gstfakesink.c:
24315 * gst/elements/gstfakesrc.c:
24316 * gst/elements/gstfdsink.c:
24317 * gst/elements/gstfdsrc.c:
24318 * gst/elements/gstfilesink.c:
24319 * gst/elements/gstfilesrc.c:
24320 * gst/elements/gstidentity.c:
24321 * gst/elements/gsttee.c:
24322 * gst/elements/gsttypefindelement.c:
24323 Make element details static.
24325 2005-09-28 Wim Taymans <wim@fluendo.com>
24327 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24328 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24329 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24330 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24331 (gst_bin_change_state), (gst_bin_dispose):
24332 Some documentation updates.
24333 Clean up dispose handlers.
24335 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24336 * gst/gstpad.c: (gst_pad_dispose):
24337 Clean up dispose handler.
24339 * gst/gstpipeline.c: (gst_pipeline_change_state):
24340 Removed spurious UNLOCK.
24342 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24344 * docs/gst/gstreamer-sections.txt:
24345 * gst/base/gstbasesrc.h:
24346 * gst/gstelement.h:
24350 * gst/gstpipeline.c:
24351 * gst/gstpipeline.h:
24354 added two new functions to the docs
24355 documents all undocumented GstXXXFlags
24356 completed some incomplete docs
24358 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24360 * gst/gstbin.c: (gst_bin_dispose):
24361 * gst/gstelement.c: (gst_element_dispose):
24362 remove now useless and leaky resurrection code in dispose
24363 * gst/base/gstbasesrc.c: (gst_base_src_init):
24364 * gst/gstelementfactory.c: (gst_element_factory_create):
24365 * gst/gstobject.c: (gst_object_set_parent):
24368 2005-09-27 Wim Taymans <wim@fluendo.com>
24370 * docs/design/part-TODO.txt:
24373 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24374 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24375 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24376 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24377 (gst_bin_change_state):
24378 * gst/gstelement.h:
24379 Remove element variable, we keep element info in the iterator now.
24381 2005-09-27 Andy Wingo <wingo@pobox.com>
24383 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24386 2005-09-27 Wim Taymans <wim@fluendo.com>
24388 * check/gst/gstbin.c: (GST_START_TEST):
24389 Enable check that works now.
24391 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24392 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24393 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24394 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24395 (gst_bin_change_state):
24397 Redid the state change algorithm using a topological sort algo.
24398 Handles all cases correctly.
24399 Exposed iterator for state change order.
24401 * gst/gstelement.h:
24402 Temp storage for state changes. Need to get rid of this soon.
24404 2005-09-27 Wim Taymans <wim@fluendo.com>
24406 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24407 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24408 (link_fold_func), (gst_pad_proxy_setcaps):
24409 Leak fixes, the fold functions need to unref the passed object and
24410 _get_parent_*() returns ref to parent.
24412 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24414 * check/gst/gstbuffer.c: (test_make_writable):
24415 Plug leak in test case and fix 'make check-valgrind'
24417 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24419 * gst/gstbuffer.c: (gst_subbuffer_init):
24420 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24421 works correctly in all circumstances (we could have just copied
24422 the parent buffer's readonly flag, but conceptually it seems
24423 cleaner to mark all subbuffers as read-only). (based on patch
24424 by Alessandro Decina, #314710).
24426 * check/gst/gstbuffer.c: (create_read_only_buffer),
24427 (test_make_writable), (test_subbuffer_make_writable),
24429 Add some tests for gst_buffer_make_writable().
24431 2005-09-27 Wim Taymans <wim@fluendo.com>
24433 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24434 use gst_object_has_ancestor().
24436 * gst/gstobject.c: (gst_object_has_ancestor):
24438 gst_object_has_ancestor() copied from gstbin.c as it is a
24441 * tests/instantiate/create.c: (create_all_elements):
24442 * tests/lat.c: (handoff_src), (handoff_sink):
24443 * tests/sched/runxml.c: (main):
24444 * tests/seeking/seeking1.c: (main):
24445 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24447 Fix compilation of some tests.
24449 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24452 Remove comment. GST_TYPE_G_ERROR is here to stay,
24453 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24454 (#316961, #300610).
24456 2005-09-26 Wim Taymans <wim@fluendo.com>
24458 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24459 Added check that shows error in state change order.
24461 2005-09-26 Wim Taymans <wim@fluendo.com>
24463 * gst/gstbin.c: (gst_bin_change_state):
24464 Make state change function use 3 queues again, we were
24465 adding elements in the wrong order.
24467 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24470 * gst/gstpad.c: (gst_pad_dispose):
24471 Added some debug info first.
24473 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24475 * docs/design/draft-push-pull.txt:
24476 * docs/design/part-events.txt:
24477 * docs/design/part-overview.txt:
24478 * docs/design/part-scheduling.txt:
24479 Replace all _pull_region() with _pull_range()
24481 2005-09-26 Andy Wingo <wingo@pobox.com>
24483 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24485 * check/gst-libs/controller.c: Update for controller api change.
24488 * tests/Makefile.am:
24489 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24490 over by GLib bug 118439.
24492 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24493 routines to a function.
24495 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24497 * libs/gst/controller/gsthelper.c:
24498 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24499 (gst_object_sync_values): Renamed from sink_values. Ugh.
24501 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24503 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24504 Renamed from controller_key, as it is exported.
24506 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24508 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24513 * gst/gstpadtemplate.h:
24516 * gst/gstqueryutils.c:
24517 * gst/gstqueryutils.h:
24518 remove queryutils headers after moving the two used functions
24519 to gstquery. also fixes build problem for gstsiddec
24521 2005-09-26 Michael Smith <msmith@fluendo.com>
24523 * tools/gst-launch.1.in:
24524 Correct documentation in manpage of debug syntax
24526 2005-09-26 Wim Taymans <wim@fluendo.com>
24528 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24529 (gst_base_src_is_seekable), (gst_base_src_change_state):
24530 Some more debugging info.
24532 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24534 * docs/gst/gstreamer-sections.txt:
24535 * gst/base/gstbasetransform.h:
24539 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24541 * docs/gst/.cvsignore:
24542 * docs/gst/tmpl/.cvsignore:
24543 * docs/gst/tmpl/gstpipeline.sgml:
24544 * docs/gst/tmpl/gstplugin.sgml:
24545 * gst/gstpipeline.c:
24548 inlined the last two docs files
24549 removed the tmpl directory from cvs (no more conflicts here!)
24551 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24553 * docs/gst/gstreamer-sections.txt:
24554 * docs/gst/tmpl/.cvsignore:
24555 * docs/gst/tmpl/gstpad.sgml:
24556 * docs/gst/tmpl/gstpadtemplate.sgml:
24558 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24559 (gst_pad_finalize), (gst_pad_set_pad_template):
24561 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24562 (gst_pad_template_class_init), (gst_pad_template_init),
24563 (gst_pad_template_dispose), (name_is_valid),
24564 (gst_static_pad_template_get), (gst_pad_template_new),
24565 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24566 (gst_pad_template_pad_created):
24567 * gst/gstpadtemplate.h:
24568 inlined two more docs
24569 factored gstpadtemplate out of gstpad
24571 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24573 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24574 (test_children_state_change_order_semi_sink):
24575 Fix test case: we can't rely on a fixed state change order when
24576 going from READY => PAUSED because the sink might commit its
24577 new state first when the first buffer created by the source
24578 reaches the sink before the source has finished its change state.
24579 (Test case still fails at times, see #316856, comment 5 onwards)
24581 2005-09-24 Wim Taymans <wim@fluendo.com>
24583 * docs/design/part-events.txt:
24584 * docs/design/part-gstbus.txt:
24585 * docs/design/part-gstpipeline.txt:
24586 * docs/design/part-messages.txt:
24587 * docs/design/part-overview.txt:
24588 * docs/design/part-segments.txt:
24592 * gst/gstelement.c:
24595 * gst/gstiterator.c:
24596 Various documentation updates.
24598 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24601 Well, that's embarassing. Luckily we weren't using
24602 GST_CLOCK_DIFF anywhere.
24604 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24606 * common/gtk-doc.mak:
24607 don't fail on building XML, FC4 slave shows a bunch of doc
24608 missing bits that I don't get
24610 * gst/gstpipeline.c:
24611 * gst/gststructure.c:
24614 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24616 * docs/design/part-gstbin.txt:
24617 * docs/design/part-gstbus.txt:
24619 Add blurb about how the bus goes into flushing mode and
24620 drops all messages when its bin goes from READY into NULL
24623 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24625 * docs/gst/gstreamer-sections.txt:
24626 * gst/gststructure.c: (gst_structure_get_clock_time):
24627 * gst/gststructure.h:
24628 add a method to get a GstClockTime out of a structure
24630 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24632 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24633 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24634 Added test to check state change order in bins (can still be made
24635 to fail here under heavy disk load; bails out with 'Push on pad
24636 fakesink:sink0, but it was not activated in push mode').
24638 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24639 Fix state change order when there is only a semi sink (#316856)
24641 * gst/gstbus.c: (gst_bus_class_init):
24642 Use _class_peek_parent(), not _class_ref(); fix docs to say
24643 'default main context' instead of 'mainloop' where that is
24646 * gst/gstelement.c: (gst_element_commit_state),
24647 (gst_element_set_state):
24648 Fix typos in debug messages
24650 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24653 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24654 * gst/gstpluginfeature.c:
24656 various doc updates
24657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24658 change an assert into an error until it gets fixed properly
24660 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24662 * docs/gst/gstreamer-sections.txt:
24663 * docs/gst/tmpl/.cvsignore:
24664 * docs/gst/tmpl/gstelement.sgml:
24665 * docs/gst/tmpl/gstinfo.sgml:
24666 * docs/gst/tmpl/gstobject.sgml:
24667 * gst/gstelement.c:
24668 * gst/gstelement.h:
24671 * gst/gstobject.c: (gst_object_class_init):
24673 inlined 3 more biiiig doc files and added some missing docs on the fly
24675 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24677 * check/gst/.cvsignore:
24678 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24679 * gst/gstregistryxml.c: (load_plugin),
24680 (gst_registry_xml_save_plugin):
24681 put back source in registry. add checks for find_plugin.
24682 * testsuite/states/bin.c: (assert_state), (empty_bin),
24683 (test_adding_one_element), (main):
24684 * testsuite/states/locked.c: (main):
24685 some compile/run fixes
24687 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24689 * check/gst/gstvalue.c: (GST_START_TEST):
24690 fix leaks in the test itself
24692 2005-09-22 Wim Taymans <wim@fluendo.com>
24694 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24695 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24696 (gst_base_sink_query):
24697 Prepare for more accurate position reporting and query
24700 * gst/gstelement.c: (gst_element_send_event),
24701 (gst_element_set_state):
24704 2005-09-22 Wim Taymans <wim@fluendo.com>
24706 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24707 (gst_query_parse_segment):
24709 More documentation.
24710 Add segment query for future use.
24712 2005-09-22 Wim Taymans <wim@fluendo.com>
24714 * gst/gstbin.c: (gst_bin_add_func):
24715 Some more debug info.
24717 * gst/gstelement.c: (gst_element_send_event):
24718 Simplify send_event
24720 * gst/gstelement.h:
24721 Don't know how flags got broken.
24726 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24728 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24729 Add simplistic test suite for GST_TYPE_DATE serialisation and
24732 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24734 * docs/gst/gstreamer-sections.txt:
24735 * gst/gststructure.c: (gst_structure_set_valist),
24736 (gst_structure_get_date):
24737 * gst/gststructure.h:
24738 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24739 (gst_date_copy), (gst_value_compare_date),
24740 (gst_value_serialize_date), (gst_value_deserialize_date),
24741 (gst_value_transform_date_string),
24742 (gst_value_transform_string_date), (_gst_value_initialize):
24744 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24745 bunch of utility functions along with a hack that checks that
24746 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24747 is required. Part of the grand scheme in #170777.
24749 2005-09-22 Andy Wingo <wingo@pobox.com>
24751 * gst/gstconfig.h.in: Psych out gtk-doc.
24753 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24755 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24757 * tools/gst-inspect.c (print_element_list): Plug some
24758 inconsequential leaks.
24760 * gst/gstregistry.c (gst_registry_get_default): Doc.
24762 * check/gst/gstplugin.c:
24763 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24764 * gst/gstelementfactory.c (gst_element_factory_create):
24765 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24768 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24769 (gst_plugin_feature_load): Doc, don't eat refs.
24771 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24772 (gst_plugin_list_free): Doc.
24773 (gst_plugin_load_file): Doc updates.
24775 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24776 accessors returning refcounted objects, return a ref.
24778 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24779 accessor for caps. IDEMPOTENCE. Oh yes.
24781 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24783 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24785 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24786 (_gst_debug_register_funcptr):
24787 Add mutex to serialise access to the hash table with
24788 the function pointer => function name string mapping;
24789 make that hash table static scope (#316809).
24791 * gst/registries/.cvsignore:
24792 Remove left-over file.
24794 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24796 * docs/pwg/appendix-porting.xml:
24797 And something about newsegment events and caps-on-buffers to
24798 the porting guide (feel free to improve).
24800 2005-09-21 Andy Wingo <wingo@pobox.com>
24802 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24803 data and event probes on the same pad.
24804 (test_buffer_probe_once): Test that removing probes from within
24805 the probe functions works.
24807 2005-09-21 Andy Wingo <wingo@pobox.com>
24809 * check/gst/gstutils.c: New file.
24810 (test_buffer_probe_n_times): A simple buffer probe test. More to
24813 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24814 have-data::buffer, not have-data.
24815 (gst_pad_add_event_probe): Likewise for have-data::event.
24816 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24817 peer' isn't quite right yet though.
24818 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24819 (gst_pad_remove_data_probe): Change to take the guint handler_id
24820 as their arg, not the function+data, which is more glib-like.
24822 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24823 the signal emission to indicate if the data is a buffer or an
24825 (gst_pad_get_type): Initialize buffer and event quarks.
24826 (gst_pad_class_init): have-data is now a detailed signal, yes it
24829 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24831 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24832 * gst/gstutils.c: (gst_util_set_value_from_string),
24833 (gst_util_set_object_arg):
24834 Don't put functional code in g_return_if_fail() or
24835 g_return_val_if_fail() statements, otherwise things will
24836 break when G_DISABLE_CHECKS is defined during compilation.
24838 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24840 * docs/gst/tmpl/.cvsignore:
24841 * docs/gst/tmpl/gstvalue.sgml:
24844 inlied another one and added some obvious docs
24846 2005-09-21 Wim Taymans <wim@fluendo.com>
24848 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24849 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24850 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24851 (gst_fdsrc_get_property), (gst_fdsrc_create):
24852 * gst/elements/gstfdsrc.h:
24853 Properly implement fdsrc. Removed signal and timeout,
24854 better implemented somewhere else.
24856 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24858 * docs/gst/tmpl/.cvsignore:
24859 * docs/gst/tmpl/gstimplementsinterface.sgml:
24860 * gst/gstinterface.c:
24863 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24865 * docs/gst/gstreamer-sections.txt:
24866 * docs/gst/tmpl/.cvsignore:
24867 * docs/gst/tmpl/gstenumtypes.sgml:
24868 remove obsolete doc file
24870 2005-09-21 David Schleef <ds@schleef.org>
24872 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24873 little beer, fix a little leak.
24875 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24877 * docs/gst/gstreamer-docs.sgml:
24878 * docs/gst/gstreamer-sections.txt:
24879 * docs/gst/tmpl/.cvsignore:
24883 * gst/gstelement.h:
24884 * gst/gstindex.c: (gst_index_class_init):
24886 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24887 (gst_index_factory_class_init), (gst_index_factory_init),
24888 (gst_index_factory_finalize), (gst_index_factory_new),
24889 (gst_index_factory_destroy), (gst_index_factory_find),
24890 (gst_index_factory_create), (gst_index_factory_make):
24891 * gst/gstindexfactory.h:
24892 * gst/gstpluginfeature.c:
24893 * gst/gstpluginfeature.h:
24894 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24895 more docs inlined, splitted gstindex.{c,h}
24897 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24899 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24902 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24904 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24905 Set sync to FALSE by default.
24907 2005-09-20 Wim Taymans <wim@fluendo.com>
24909 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24910 (gst_base_sink_init):
24911 Make sync property settable from subclass.
24913 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24914 (gst_fake_sink_change_state):
24915 Set sync to FALSE by default.
24917 2005-09-20 Wim Taymans <wim@fluendo.com>
24919 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24920 * tools/gst-launch.c: (main):
24921 The timeout handler should have lower priority than the source
24922 so we don't timeout before popping a message with 0 timeout.
24923 Dump error messages after failed state change.
24925 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24927 * tools/gst-inspect.c: (print_element_properties_info):
24930 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24932 * check/gst/gstevent.c:
24933 * gst/elements/gstfakesink.c:
24934 * gst/elements/gstfakesink.h:
24935 remove the sync property from fakesink.
24936 has the side effect of setting sync TRUE
24937 for fakesink, which is a change. Anyone who knows how
24938 to fix this nicely in a GObject-y way, feel free.
24940 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24942 * docs/gst/gstreamer-docs.sgml:
24943 remove probe refsection
24945 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24947 * check/Makefile.am:
24948 disable valgrinding the controller test again
24949 * docs/gst/gstreamer-sections.txt:
24950 update for api-changes
24952 2005-09-20 Wim Taymans <wim@fluendo.com>
24954 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24955 (gst_base_sink_set_property), (gst_base_sink_get_property),
24956 (gst_base_sink_do_sync):
24957 * gst/base/gstbasesink.h:
24958 Added sync property to basesink to disable clock sync.
24960 2005-09-20 Andy Wingo <wingo@pobox.com>
24962 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24963 eating the caller's refcount.
24965 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24966 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24969 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24970 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24971 of GLib 2.8 public, so we can know which refcount to check in
24974 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24975 (gst_object_init): Only set the gst refcount if we're going ahead
24976 with the refcount hack.
24978 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24980 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24981 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24982 more leaks plumbed, added more debug-logging
24986 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24988 * gst/gstmessage.c:
24989 remove include of gstmemchunk.h
24991 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24993 * gst/gstclock.c: (_gst_clock_id_free):
24994 Commit from the Political Party For More Atomic CVS Commits,
24995 so that people don't waste too much of their day fishing
24996 out obvious leaks out of massive commits.
24997 Oh, and fix a pretty damn obvious leak in the memchunk
25000 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25002 * check/Makefile.am:
25003 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25004 plug mem-leak, re-add to valgrindable tests
25006 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25009 unbreak the build for those who have chronic arthritis
25010 and typing "make check" is just too taxing on the hands
25012 2005-09-20 Andy Wingo <wingo@pobox.com>
25014 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25015 really want it out, you should fix plugins at the same time.
25017 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25020 * docs/gst/gstreamer-sections.txt:
25022 added missing symbols to api docs
25023 disable ref-count hack if we have glib >= 2.8
25025 2005-09-19 David Schleef <ds@schleef.org>
25027 * docs/gst/Makefile.am: Ignore a few more internal headers
25028 * docs/gst/gstreamer-docs.sgml: Remove old sections
25029 * docs/gst/gstreamer-sections.txt: Remove old sections
25030 * docs/gst/tmpl/gstobject.sgml: update
25031 * docs/gst/tmpl/gstplugin.sgml: update
25032 * docs/gst/tmpl/gstpluginfeature.sgml: update
25033 * docs/random/ds/0.9-suggested-changes: update.
25034 * gst/Makefile.am: remove memchunk and trashstack, since they're
25036 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25037 * gst/gst.h: don't include some headers
25038 * gst/gstchildproxy.c: add gstmarshal.h
25039 * gst/gstclock.c: Don't use memchunks
25040 * gst/gstminiobject.c: Add some docs
25041 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25042 * gst/gstobject.h: same
25043 * gst/gstplugin.c: include gstmacros.h
25044 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25045 * gst/gstquery.c: don't use memchunks
25046 * gst/gstregistry.c: rename gst_registry_deinit()
25047 * gst/gstregistry.h: same
25049 2005-09-19 David Schleef <ds@schleef.org>
25051 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25052 * docs/libs/gstreamer-libs-sections.txt:
25053 * docs/libs/tmpl/gstgetbits.sgml:
25054 * docs/libs/tmpl/gstputbits.sgml:
25056 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25058 * win32/gstenumtypes.c:
25059 * win32/gstenumtypes.h:
25062 2005-09-19 Wim Taymans <wim@fluendo.com>
25064 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25065 Automatically PAUSE and RESUME a pipeline when a flushing seek
25068 2005-09-19 Andy Wingo <wingo@pobox.com>
25070 * gst/gstregistry.h: Spacing fixen.
25072 2005-09-19 Wim Taymans <wim@fluendo.com>
25074 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25075 Handle state change failure more correctly.
25077 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25079 * check/Makefile.am:
25080 * check/pipelines/cleanup.c: (run_pipeline):
25081 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25083 enable cleanup again after fixing the leak
25085 some more info on docs
25087 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25089 * check/Makefile.am:
25090 re-enable tests now that leaks are plugged
25092 * check/gst/gstbin.c:
25093 * check/gst/gstpipeline.c:
25094 add some more tests while fixing leaks
25095 * common/check.mak:
25096 make sure binaries are uptodate when valgrinding/gdbing
25098 * gst/gstelementfactory.c:
25099 remove a ref too many, and add a FIXME for when we get
25100 round to disposing of classes
25102 fix the refcounting when loading a plugin from a file and
25103 the code pretends that the pointer is the same even though
25104 of course it can change
25105 * gst/gstpluginfeature.c:
25106 unref plugins marked cached (a bit confusing as a name)
25107 as the docs state should be done
25108 various doc additions to explain refcounting
25109 * gst/gstregistry.c:
25110 * gst/gstregistryxml.c:
25113 2005-09-19 Wim Taymans <wim@fluendo.com>
25115 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25116 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25117 (send_messages), (GST_START_TEST), (gstbus_suite):
25118 * check/gst/gstpipeline.c: (GST_START_TEST):
25119 * check/pipelines/cleanup.c: (run_pipeline):
25120 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25122 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25123 (gst_bus_source_check), (gst_bus_source_dispatch),
25124 (gst_bus_create_watch), (gst_bus_add_watch_full),
25125 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25127 * tools/gst-launch.c: (event_loop):
25128 * tools/gst-md5sum.c: (event_loop):
25129 GstBusHandler -> GstBusFunc, return value has the same meaning as
25130 any other GSource (FALSE == remove source).
25131 _add_watch() and _add_watch_full() now take a MessageType mask to
25132 only handle specific types of messages.
25133 _poll() returns the GstMessage instead of the message type to avoid
25135 _have_pending() takes a MessageType mask now too.
25136 Added testsuite for multiple bus watches.
25137 Fix testsuites and applications for new bus API.
25139 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25141 * check/Makefile.am:
25142 mark a bunch of the tests as to fix until we fix them
25144 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25146 * common/check.mak:
25147 use GST_PLUGIN settings for valgrind tests as well, so we're
25148 valgrinding the correct thing
25149 * gst/gst.c: (init_post):
25152 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25154 * gst/gst.c: (init_post), (gst_deinit):
25155 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25156 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25157 * gst/gstindex.c: (gst_index_factory_class_init),
25158 (gst_index_factory_finalize):
25159 * gst/gstobject.c: (gst_object_dispose):
25160 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25161 (gst_plugin_load_file), (gst_plugin_desc_free):
25162 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25163 (gst_plugin_feature_finalize):
25164 * gst/gstregistry.c: (gst_registry_class_init),
25165 (gst_registry_init), (gst_registry_finalize),
25166 (gst_registry_get_default), (gst_registry_deinit):
25167 * gst/gstregistry.h:
25168 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25169 various cleanups and memleak plugging. make valgrind is happy now.
25171 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25173 * common/check.mak:
25174 add a check-valgrind target
25176 2005-09-18 David Schleef <ds@schleef.org>
25178 * tools/gst-inspect.c: Revert the GOption code.
25180 2005-09-17 David Schleef <ds@schleef.org>
25182 * check/Makefile.am: Fix environment variables.
25183 * check/gst/gstplugin.c: Fix for API changes.
25184 * tools/gst-inspect.c: Fix for API changes.
25185 * tools/gst-xmlinspect.c: Fix for API changes.
25186 * gst/gstelementfactory.c:
25189 * gst/gstpluginfeature.c:
25190 * gst/gstpluginfeature.h:
25191 * gst/gstregistry.c:
25192 * gst/gstregistry.h:
25193 * gst/gstregistryxml.c:
25194 * gst/gsttypefind.c:
25195 * gst/gsttypefindfactory.c:
25196 * gst/indexers/gstfileindex.c:
25197 * gst/indexers/gstmemindex.c:
25198 * gst/schedulers/Makefile.am:
25199 Change registry to keep track of both plugins and features,
25200 removing the feature tracking from plugins themselves.
25202 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25204 * check/Makefile.am:
25205 * tools/gst-register.1.in:
25206 remove gst-register
25208 2005-09-15 David Schleef <ds@schleef.org>
25210 * check/gst/gstplugin.c:
25211 * gst/gstelementfactory.c:
25213 * gst/gstpluginfeature.c:
25214 * gst/gstregistry.c:
25215 Getting tired of debugging. Disabled all the unreffing of
25216 plugins and features, which fixes the segfaults, but of
25217 course leaks like crazy. At least playbin works.
25219 2005-09-15 David Schleef <ds@schleef.org>
25221 * check/gst/gstplugin.c: (register_check_elements),
25222 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25224 * gst/elements/gsttypefindelement.c: Fix refcounting.
25225 * gst/gsttypefind.c:
25226 * gst/gsttypefindfactory.c:
25227 * gst/gsttypefindfactory.h:
25229 2005-09-15 David Schleef <ds@schleef.org>
25231 * gst/gstindex.c: get refcounting correct.
25232 * gst/gstregistry.c: Handle the case where a feature/plugin is
25235 2005-09-15 David Schleef <ds@schleef.org>
25237 * check/Makefile.am:
25238 * check/gst/gstplugin.c: Add test
25239 * gst/gstplugin.c: Fix problems noticed by testsuite
25241 * gst/gstregistry.c:
25242 * gst/gstregistry.h:
25244 2005-09-15 David Schleef <ds@schleef.org>
25246 * gst/gstplugin.c: Implement semi-decent recounting and locking
25247 in plugins and plugin features.
25249 * gst/gstpluginfeature.c:
25250 * gst/gstpluginfeature.h:
25251 * gst/gstregistry.c:
25253 2005-09-15 Michael Smith <msmith@fluendo.com>
25255 * gst/gstregistry.c: (gst_registry_get_feature_list):
25256 Implement this. Makes oggdemux work; decodebin still broken.
25258 2005-09-14 David Schleef <ds@schleef.org>
25260 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25262 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25263 * gst/check/Makefile.am:
25264 * libs/gst/controller/Makefile.am:
25265 * libs/gst/dataprotocol/Makefile.am:
25267 2005-09-14 David Schleef <ds@schleef.org>
25269 * configure.ac: Remove getbits library. Nothing uses it, and
25270 it should be in something like liboil if someone did want
25272 * libs/gst/Makefile.am:
25273 * libs/gst/getbits/Makefile.am:
25274 * libs/gst/getbits/gbtest.c:
25275 * libs/gst/getbits/getbits.c:
25276 * libs/gst/getbits/getbits.h:
25277 * libs/gst/getbits/gstgetbits_generic.c:
25278 * libs/gst/getbits/gstgetbits_i386.s:
25279 * libs/gst/getbits/gstgetbits_inl.h:
25281 2005-09-14 David Schleef <ds@schleef.org>
25283 * gst/Makefile.am: Dist glib-compat.h
25285 2005-09-14 David Schleef <ds@schleef.org>
25287 * configure.ac: Remove gst/registries, since it's no longer used.
25288 * gst/registries/Makefile.am:
25289 * gst/registries/gstlibxmlregistry.c:
25290 * gst/registries/gstlibxmlregistry.h:
25291 * gst/registries/gstxmlregistry.c:
25292 * gst/registries/gstxmlregistry.h:
25293 * gst/registries/registrytest.c:
25295 2005-09-14 David Schleef <ds@schleef.org>
25297 * gst/glib-compat.h:
25298 * gst/gstregistryxml.c:
25299 Convergence is near. Seriously.
25301 2005-09-14 David Schleef <ds@schleef.org>
25303 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25304 * gst/glib-compat.h:
25305 Attempt #4 to appease the buildbots.
25307 2005-09-14 David Schleef <ds@schleef.org>
25309 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25312 2005-09-14 David Schleef <ds@schleef.org>
25314 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25317 2005-09-14 David Schleef <ds@schleef.org>
25319 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25322 2005-09-14 David Schleef <ds@schleef.org>
25324 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25325 * gst/glib-compat.h: Add some functions that are in newer versions
25326 of glib than we care to require.
25327 * gst/gstregistryxml.c: Use them.
25329 2005-09-14 David Schleef <ds@schleef.org>
25331 * po/POTFILES.in: remove gst-register.c
25333 2005-09-14 David Schleef <ds@schleef.org>
25335 * docs/gst/gstreamer-docs.sgml:
25336 * docs/gst/gstreamer-sections.txt:
25337 * docs/gst/gstreamer.types:
25338 * docs/gst/tmpl/gstelement.sgml:
25339 * docs/gst/tmpl/gstplugin.sgml:
25340 * docs/gst/tmpl/gstpluginfeature.sgml:
25341 Documentation updates for registry changes.
25343 2005-09-14 David Schleef <ds@schleef.org>
25345 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25346 because we don't require glib-2.8.
25348 2005-09-14 David Schleef <ds@schleef.org>
25350 * gst/gstregistryxml.c: Added. Essentially moved out of the
25351 registries directory.
25353 2005-09-14 David Schleef <ds@schleef.org>
25355 * check/Makefile.am:
25356 * check/generic/states.c:
25360 * gst/gst_private.h:
25361 * gst/gstelementfactory.c:
25366 * gst/gstpluginfeature.c:
25367 * gst/gstpluginfeature.h:
25368 * gst/gstregistry.c:
25369 * gst/gstregistry.h:
25370 * gst/gstregistrypool.c: remove
25371 * gst/gstregistrypool.h: remove
25372 * gst/gsttypefind.c:
25373 * gst/gsttypefindfactory.c:
25375 * tools/Makefile.am:
25376 * tools/gst-compprep.c:
25377 * tools/gst-inspect.c:
25378 * tools/gst-register.c: remove
25379 * tools/gst-xmlinspect.c:
25380 Registry rewrite. Changes registry from being a file created
25381 by a tool into a simple cache file created automatically by
25382 libgstreamer. Removed gst-register (because it's no longer
25383 needed). Remove registry pools, because we only have one
25384 registry implementation (XML). Fix up other subsystems as
25387 2005-09-13 Michael Smith <msmith@fluendo.com>
25389 * gst/gstconfig.h.in:
25390 Don't Use windows linking attributes for MinGW. Fixes #316157
25392 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25394 * gst/gstutils.c: (set_state_async_thread_func),
25395 (gst_element_set_state_async):
25396 Apparently people think it's better if this function doesn't
25397 try to set the state to whatever state was asked for on the first
25398 call to this function for any object. Seriously.
25400 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25402 * check/gst/gstpipeline.c: (GST_START_TEST):
25403 * docs/gst/gstreamer-sections.txt:
25404 * gst/gstutils.c: (set_state_async_thread_func),
25405 (gst_element_set_state_async):
25407 add a "gst_element_set_state_async" method that
25408 sets the state and starts a thread to make sure the state
25409 change completes as best as it can
25411 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25413 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25414 codify design+behaviour in testsuite after discussion
25416 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25418 * docs/gst/tmpl/gstelement.sgml:
25419 * docs/manual/appendix-quotes.xml:
25421 * gst/gstelement.c: (gst_element_set_state):
25424 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25426 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25427 (gst_base_transform_prepare_output_buf),
25428 (gst_base_transform_handle_buffer):
25429 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25430 (gst_capsfilter_prepare_buf):
25431 Remove the requirement for sub-classes to call the parent
25432 implementation of prepare_output_buffer with a wrapper function.
25434 * gst/gsttaglist.h:
25435 * gst/gsttagsetter.h:
25436 Fix #define wrapper
25438 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25440 * docs/gst/gstreamer-sections.txt:
25443 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25445 * docs/gst/gstreamer-sections.txt:
25446 * docs/gst/tmpl/gstelement.sgml:
25447 * docs/gst/tmpl/gstplugin.sgml:
25448 * gst/gstminiobject.c:
25450 docs now stop throwing warnings
25452 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25454 * docs/gst/gstreamer-sections.txt:
25455 * docs/gst/gstreamer.types:
25456 * docs/gst/tmpl/gstpad.sgml:
25457 * docs/gst/tmpl/gsttypes.sgml:
25458 * gst/base/gstadapter.h:
25459 * gst/base/gstbasesink.h:
25460 * gst/base/gstbasesrc.h:
25466 * gst/gstelement.h:
25468 * gst/gstmessage.h:
25470 * gst/gststructure.c:
25471 * gst/registries/gstlibxmlregistry.h:
25472 various documentation fixes
25474 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25476 * docs/gst/gstreamer-sections.txt:
25477 * docs/gst/tmpl/gstvalue.sgml:
25478 rearrange gstvalue section
25479 * gst/gstutils.c: (gst_element_state_get_name):
25481 * gst/gstvalue.c: (_gst_value_initialize):
25485 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25487 * check/gst-libs/controller.c:
25488 Header include fix.
25489 * gst/base/gstbasetransform.c:
25490 (gst_base_transform_default_prepare_buf),
25491 (gst_base_transform_handle_buffer):
25492 * gst/base/gstbasetransform.h:
25493 Some more basetransform changes and fixes to enable sub-classes
25494 that modify buffer metadata only.
25495 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25496 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25497 (gst_capsfilter_prepare_buf):
25498 If the output pad has fixed allowed caps and input buffers
25499 don't have any, set the fixed caps on outgoing buffers.
25501 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25502 * check/elements/identity.c: (GST_START_TEST):
25503 Make the error a little clearer when the test fails because
25504 identity made a copy of the buffer.
25505 * docs/gst/gstreamer-sections.txt:
25506 New symbols in gstbasetransform.h
25507 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25508 (gst_base_transform_init), (gst_base_transform_transform_size),
25509 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25510 (gst_base_transform_default_prepare_buf),
25511 (gst_base_transform_get_unit_size),
25512 (gst_base_transform_buffer_alloc),
25513 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25514 (gst_base_transform_change_state),
25515 (gst_base_transform_set_passthrough),
25516 (gst_base_transform_set_in_place),
25517 (gst_base_transform_is_in_place):
25518 * gst/base/gstbasetransform.h:
25519 Change BaseTransform to separate in_place operate from same_caps
25520 output. in_place implies that the element can perform the transform
25521 on incoming buffers in-place, even if the caps on the output are
25523 Sub-class elements can now implement special buffer allocation
25524 methods for outgoing buffers if they wish to.
25525 Big documentation addition.
25526 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25527 * gst/elements/gstelements.c:
25528 Changes for basetransform modifications.
25529 * gst/elements/Makefile.am:
25530 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25531 Compile fix. Extra debug output.
25533 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25535 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25537 add tests for valid pad naming
25538 * gst/check/gstcheck.c: (gst_check_log_message_func),
25539 (gst_check_log_critical_func):
25541 remove printing of code, it is fragile when the code contains
25542 % and the line number is enough info
25543 * gst/check/gstcheck.h:
25544 * gst/gstpad.c: (gst_pad_template_new):
25547 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25550 say what CHECK flags we use
25551 * docs/libs/gstreamer-libs.types:
25552 * libs/gst/controller/Makefile.am:
25553 * libs/gst/controller/gst-controller.c:
25554 * libs/gst/controller/gst-controller.h:
25555 * libs/gst/controller/gst-helper.c:
25556 * libs/gst/controller/gst-interpolation.c:
25557 * libs/gst/controller/gstcontroller.c:
25558 * libs/gst/controller/gsthelper.c:
25559 * libs/gst/controller/gstinterpolation.c:
25560 * tools/gst-inspect.c: (print_plugin_info):
25561 we don't use dashes in header names
25563 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25565 * check/Makefile.am:
25566 * check/gst/.cvsignore:
25567 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25568 (gst_pipeline_suite), (main):
25569 adding a test for pipelines and state changes
25570 * gst/gstutils.c: (get_state_func):
25572 * gstreamer.spec.in:
25575 2005-09-08 Michael Smith <msmith@fluendo.com>
25577 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25578 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25579 (gst_file_src_is_seekable), (gst_file_src_get_size),
25580 (gst_file_src_start):
25581 * gst/elements/gstfilesrc.h:
25582 Various fixes for unseekable, unmmapable, and non-normal files, so
25583 that fallback to read() rather than mmap() works.
25584 * gst/gstevent.c: (gst_event_new_newsegment):
25585 Allow newsegment events with segment_start == segment_end, as will
25586 correctly happen if you use filesrc on a zero-size file, for
25589 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25591 * gst/gstplugin.c: (gst_plugin_load_file):
25592 Call g_module_close when we don't load the module
25594 * gst/registries/gstlibxmlregistry.c:
25595 (gst_xml_registry_get_property):
25596 Port leak fix from 0.8
25598 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25600 * docs/gst/gstreamer-docs.sgml:
25601 * docs/gst/tmpl/.cvsignore:
25602 * docs/gst/tmpl/gsttrace.sgml:
25603 * docs/gst/tmpl/gsttrashstack.sgml:
25606 * gst/gstelement.h:
25608 * gst/gstmessage.c:
25609 * gst/gstmessage.h:
25612 * gst/gsttaginterface.c:
25613 * gst/gsttaginterface.h:
25614 * gst/gsttaglist.c:
25615 * gst/gsttaglist.h:
25616 * gst/gsttagsetter.c:
25617 * gst/gsttagsetter.h:
25620 * gst/gsttrashstack.c:
25621 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25622 inlined docs for gsttrace, gsttrashstack
25624 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25627 * gst/elements/gstbufferstore.h:
25628 * gst/elements/gsttypefindelement.c:
25629 * gst/elements/gsttypefindelement.h:
25631 * gst/gsttypefind.c:
25632 * gst/gsttypefind.h:
25633 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25634 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25635 (gst_type_find_factory_dispose),
25636 (gst_type_find_factory_unload_thyself),
25637 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25638 (gst_type_find_factory_get_caps),
25639 (gst_type_find_factory_get_extensions),
25640 (gst_type_find_factory_call_function):
25641 * gst/gsttypefindfactory.h:
25642 * gst/registries/gstlibxmlregistry.c:
25643 * gst/registries/gstxmlregistry.c:
25644 splitted gsttypefind into gsttypefind, gsttypefindfactory
25646 2005-09-07 Andy Wingo <wingo@pobox.com>
25648 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25649 condition whereby the pad's task function is entered before the
25650 pad_mode variable was set.
25652 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25654 * gst/gstpad.c: (gst_pad_alloc_buffer):
25655 Catch misbehaving pad_alloc functions that don't
25656 set up caps and do it for them.
25658 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25660 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25661 test for pipe!=NULL
25662 * docs/gst/tmpl/.cvsignore:
25663 * docs/gst/tmpl/gstmemchunk.sgml:
25664 * docs/gst/tmpl/gstparse.sgml:
25665 * docs/gst/tmpl/gsttaglist.sgml:
25666 * docs/gst/tmpl/gsttagsetter.sgml:
25667 * docs/gst/tmpl/gsttypefind.sgml:
25668 * docs/gst/tmpl/gsttypefindfactory.sgml:
25669 * gst/gstmemchunk.c:
25672 * gst/gsttaginterface.c:
25673 * gst/gsttypefind.c:
25674 * gst/gsttypefind.h:
25677 === release 0.9.2 ===
25679 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25684 releasing 0.9.2, "South"
25686 2005-09-05 Andy Wingo <wingo@pobox.com>
25688 * gst/registries/gstxmlregistry.h:
25689 * gst/registries/gstxmlregistry.c: Um... resurrect...
25691 * gst/registries/gstxmlregistry.h:
25692 * gst/registries/gstxmlregistry.c: and update to newer API.
25693 Incidentally they should be a bit faster now that they don't have
25696 2005-09-05 Andy Wingo <wingo@pobox.com>
25698 * gst/registries/gstxmlregistry.h:
25699 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25700 replaced by the libxml registry a while back
25702 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25704 * docs/gst/tmpl/gstplugin.sgml:
25705 * gst/elements/gstelements.c:
25707 * gst/gstplugin.c: (gst_plugin_register_func),
25708 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25709 (gst_plugin_get_source):
25711 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25712 (gst_xml_registry_save_plugin):
25713 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25714 (gst_xml_registry_save_plugin):
25715 * tools/gst-inspect.c: (print_plugin_info):
25716 add a "source" plugin description field, to represent the source
25717 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25718 will set it to PACKAGE, which is automake's idea of the name of
25719 the source project.
25721 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25726 * docs/Makefile.am:
25727 * docs/faq/Makefile.am:
25728 * docs/gst/tmpl/gstelement.sgml:
25729 * docs/gst/tmpl/gsttypes.sgml:
25730 * docs/htmlinstall.mak:
25731 * docs/manual/Makefile.am:
25732 * docs/pwg/Makefile.am:
25733 reorganize doc build a little
25734 split out docbook and gtk-doc stuff
25735 have two separate --enable's and enable them through autogen
25736 but disable by default in configure (to be similar to other
25738 * gstreamer.spec.in:
25739 clean up docs install
25757 translation updates
25759 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25761 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25764 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25765 (gst_fake_sink_change_state):
25766 Make state change function thread-safe.
25768 * gst/gstpad.c: (gst_pad_alloc_buffer):
25769 Set offset on generic buffer allocated by fallback.
25771 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25773 * docs/gst/gstreamer-sections.txt:
25774 * docs/gst/tmpl/gstelement.sgml:
25776 * libs/gst/controller/gst-controller.c:
25777 (gst_controlled_property_set_interpolation_mode),
25778 (gst_controlled_property_new),
25779 (gst_controller_find_controlled_property):
25780 run the wingo-magic script against the docs
25782 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25784 * docs/gst/gstreamer-docs.sgml:
25785 * docs/gst/gstreamer-sections.txt:
25786 * docs/gst/tmpl/.cvsignore:
25787 * docs/gst/tmpl/gstelementdetails.sgml:
25788 * docs/gst/tmpl/gstelementfactory.sgml:
25791 * gst/gstelementfactory.c:
25792 * gst/gstelementfactory.h:
25793 merged elementdetails docs into elementfactory docs
25796 2005-09-02 Andy Wingo <wingo@pobox.com>
25798 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25799 consider this enum an enum and not a flags.
25801 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25803 * docs/gst/gstreamer-docs.sgml:
25804 * docs/gst/tmpl/.cvsignore:
25805 * docs/gst/tmpl/gstghostpad.sgml:
25806 * docs/gst/tmpl/gstiterator.sgml:
25807 * docs/gst/tmpl/gstmacros.sgml:
25808 * docs/gst/tmpl/gstrealpad.sgml:
25809 * docs/gst/tmpl/gstregistry.sgml:
25810 * docs/gst/tmpl/gstregistrypool.sgml:
25811 * docs/gst/tmpl/gststructure.sgml:
25812 * docs/gst/tmpl/gstsystemclock.sgml:
25813 * docs/gst/tmpl/gsttrace.sgml:
25814 * gst/gstghostpad.c:
25816 * gst/gstmemchunk.c:
25817 * gst/gstmemchunk.h:
25819 * gst/gstregistry.c:
25820 * gst/gstregistrypool.c:
25821 * gst/gststructure.c:
25822 * gst/gstsystemclock.c:
25825 2005-09-02 Andy Wingo <wingo@pobox.com>
25827 * gst/gstelement.h (GstState): Renamed from GstElementState,
25828 changed to be a normal enum instead of flags.
25829 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25830 munged to be GST_STATE_CHANGE_*.
25831 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25832 work with the new state representation.
25833 (GstStateChange): New enumeration of possible state transitions.
25834 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25835 (GstElementClass::change_state): Pass the GstStateChange along as
25836 an argument. Helps language bindings, so they don't have to use
25837 tricky lock-needing macros like GST_STATE_CHANGE ().
25839 * scripts/update-states (file): New script. Run it on a file to
25840 update it for state naming and API changes. Updates files in
25843 * All files updated for the new API.
25845 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25847 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25848 * gst/gstutils.c: (gst_util_set_value_from_string),
25849 (gst_util_set_object_arg):
25850 fix a bunch of unchecked return values
25851 * tools/gst-complete.c: (main):
25852 * gstreamer.spec.in:
25855 2005-09-01 Wim Taymans <wim@fluendo.com>
25857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25858 (gst_base_sink_event), (gst_base_sink_do_sync),
25859 (gst_base_sink_handle_event):
25860 * gst/base/gstbasesink.h:
25861 Handle newsegments more correctly.
25866 * gst/gstevent.c: (gst_event_new_newsegment):
25867 A newsegment cannot have a start_time of -1
25869 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25871 * win32/gstenumtypes.c:
25872 * win32/gstenumtypes.h:
25875 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25877 * libs/gst/controller/gst-controller.c:
25878 (gst_controlled_property_set_interpolation_mode),
25879 (gst_controlled_property_new):
25880 fixed boolean again
25882 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25884 * docs/faq/gst-uninstalled:
25889 * gst/gstutils.c: (gst_element_link_filtered):
25891 add gst_element_link_filtered
25893 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25895 * docs/gst/gstreamer-docs.sgml:
25896 * docs/gst/gstreamer-sections.txt:
25897 * docs/gst/tmpl/.cvsignore:
25898 * docs/gst/tmpl/gsterror.sgml:
25899 * docs/gst/tmpl/gstfilter.sgml:
25900 * docs/gst/tmpl/gsturihandler.sgml:
25901 * docs/gst/tmpl/gsturitype.sgml:
25902 * docs/gst/tmpl/gstutils.sgml:
25903 * docs/gst/tmpl/gstxml.sgml:
25908 * gst/gsturitype.c:
25911 inlined more docs, fixed double id-ref
25913 2005-08-31 Wim Taymans <wim@fluendo.com>
25915 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25916 (gst_base_transform_handle_buffer):
25917 Passthrough elements don't need the caps as they don't care.
25919 2005-08-31 Wim Taymans <wim@fluendo.com>
25921 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25922 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25923 Don't leak refcounts on buffers.
25925 2005-08-31 Wim Taymans <wim@fluendo.com>
25927 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25928 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25929 (gst_base_transform_chain), (gst_base_transform_change_state):
25930 * gst/base/gstbasetransform.h:
25931 Handle the case where we are not negotiated more gracefully.
25933 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25935 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25936 (gst_file_src_map_region):
25937 Set READONLY flag on mmap'ed buffers, otherwise
25938 gst_buffer_make_writable() won't work properly (#314708).
25940 2005-08-31 Wim Taymans <wim@fluendo.com>
25942 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25943 passthrough elements can even do inplace on non writable
25944 buffers (as they don't touch them).
25946 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25948 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25949 (gst_test_mono_source_set_property),
25950 (gst_test_mono_source_class_init), (GST_START_TEST),
25951 (gst_controller_suite):
25952 more tests (hehe I have the most)
25954 describe popping messages whenusing mulltiple sources
25955 * libs/gst/controller/gst-controller.c:
25956 (gst_controlled_property_set_interpolation_mode),
25957 (gst_controlled_property_new):
25958 * libs/gst/controller/gst-controller.h:
25959 * libs/gst/controller/gst-interpolation.c:
25960 implement boolean properties
25962 2005-08-31 Wim Taymans <wim@fluendo.com>
25964 * gst/gstminiobject.c: (gst_mini_object_ref):
25965 Cannot assert that the refcount has to be positive
25966 since a disposed object can be resurrected.
25968 2005-08-31 Wim Taymans <wim@fluendo.com>
25970 * gst/gstpad.c: (gst_pad_init):
25971 Revert change, need to first fix badly behaving
25974 2005-08-30 Wim Taymans <wim@fluendo.com>
25976 * check/elements/fakesrc.c: (setup_fakesrc):
25977 * check/elements/identity.c: (setup_identity):
25978 Activate pads before using them.
25980 2005-08-30 Wim Taymans <wim@fluendo.com>
25982 * gst/base/gstadapter.c: (gst_adapter_flush):
25983 Flushing out 0 bytes is ok for this function.
25985 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25986 no newsegment gives a warning and sets the start/stop to
25989 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25990 (gst_base_transform_set_passthrough):
25993 * gst/gstminiobject.c: (gst_mini_object_ref):
25994 Check refcount here too.
25996 * gst/gstpad.c: (gst_pad_init):
25997 Pads are initially flushing and refusing data.
25999 * gst/gstutils.c: (gst_element_link_pads_filtered):
26000 When adding a capsfilter element make sure it has the
26001 same state as the parent bin.
26003 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26005 * docs/gst/tmpl/.cvsignore:
26006 * docs/gst/tmpl/gstformat.sgml:
26007 * docs/gst/tmpl/gstversion.sgml:
26011 * gst/gstversion.h.in:
26012 more docs and two more inlined
26014 2005-08-30 Wim Taymans <wim@fluendo.com>
26016 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26017 Don't sync to clock.
26019 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26021 * docs/gst/gstreamer-sections.txt:
26022 ultral33t func10ns deserve to appear in the docs actually
26023 * docs/gst/tmpl/.cvsignore:
26024 * docs/gst/tmpl/gstcompat.sgml:
26025 * docs/gst/tmpl/gstconfig.sgml:
26026 * gst/check/gstcheck.c:
26028 * gst/gstconfig.h.in:
26031 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26033 * docs/gst/tmpl/.cvsignore:
26034 * docs/gst/tmpl/gstquery.sgml:
26035 * docs/gst/tmpl/gstutils.sgml:
26038 inlined and extended docs
26040 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26042 * check/gst-libs/controller.c: (GST_START_TEST),
26043 (gst_controller_suite):
26045 * docs/gst/tmpl/gstutils.sgml:
26046 * docs/libs/gstreamer-libs-sections.txt:
26047 * docs/libs/tmpl/gstdataprotocol.sgml:
26049 * examples/controller/audio-example.c: (main):
26050 controller example works now
26053 * tools/gst-inspect.c: (print_element_properties_info):
26054 show param spec flags
26056 2005-08-29 Andy Wingo <wingo@pobox.com>
26058 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26060 2005-08-28 Andy Wingo <wingo@pobox.com>
26062 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26063 as having two arguments instead of just one. Allows superclasses
26064 to access information on subclasses -- see the terrible for() loop
26065 in gtype.c:g_type_create_instance for the reason why. All callers
26068 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26070 * docs/design/part-messages.txt:
26072 * docs/gst/tmpl/.cvsignore:
26073 * docs/gst/tmpl/gstcaps.sgml:
26074 * docs/gst/tmpl/gstclock.sgml:
26080 * gst/gstmessage.c:
26081 added descriptions for bus and message
26082 inline caps and clock docs
26084 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26086 * gst/gstmessage.c:
26087 * gst/gstmessage.h:
26090 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26092 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26095 2005-08-26 Andy Wingo <wingo@pobox.com>
26097 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26098 element_set_state's return val.
26099 (test_2_elements): Add test that's been disabled for months.
26101 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26102 can-activate-pull properties.
26104 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26105 can-activate-pull properties. Implement is_seekable so fakesrc can
26106 operate in pull mode.
26108 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26110 (gst_base_sink_activate, gst_base_sink_activate_pull)
26111 (gst_base_sink_activate_push): Make activation mode choosing work.
26113 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26114 is right. Make pull mode work. Post an eos before pausing in pull
26116 (gst_base_sink_change_state): Pay attention to the core's
26117 change_state() return val.
26119 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26120 has-getrange properties. Cleanups.
26122 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26123 has_getrange and replace with can_activate_pull and
26126 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26127 locking comments. Remove has_loop, has_chain and replace with
26128 can_activate_pull and can_activate_push.
26130 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26133 * examples/Makefile.am:
26134 * examples/metadata/Makefile.am:
26135 * examples/metadata/read-metadata.c: (message_loop),
26136 (have_pad_handler), (make_pipeline), (print_tag), (main):
26137 Add metadata reading example that loops over a list of filenames,
26138 dumping any tags found.
26140 * gst/gstbus.c: (gst_bus_dispose):
26141 * gst/gstelement.c: (gst_element_dispose):
26142 Release a few potentially-held references in dispose.
26144 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26146 * docs/gst/tmpl/gstminiobject.sgml:
26147 do *not* add tmpl/*.sgml files to CVS!
26149 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26151 * libs/gst/bytestream/.cvsignore:
26152 * libs/gst/bytestream/Makefile.am:
26153 * libs/gst/bytestream/adapter.c:
26154 * libs/gst/bytestream/adapter.h:
26155 * libs/gst/bytestream/bytestream.c:
26156 * libs/gst/bytestream/bytestream.h:
26157 * libs/gst/bytestream/filepad.c:
26158 * libs/gst/bytestream/filepad.h:
26159 removing obsolete files
26161 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26163 * docs/gst/gstreamer-docs.sgml:
26164 * docs/libs/gstreamer-libs-docs.sgml:
26165 disabed additional index entries again, as this makes docs-gen just
26166 slow and they aren't useful yet
26167 * docs/libs/gstreamer-libs-sections.txt:
26168 little -section.txt cleanup for libs
26170 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26172 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26173 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26174 fix up some debugging
26175 (gst_base_transform_get_unit_size),
26176 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26177 (gst_base_transform_handle_buffer):
26178 * gst/base/gstbasetransform.h:
26179 handle and store timed NEWSEGMENT events so that subclasses that
26180 calculate time by counting samples have a segment_start time they
26181 need to add to their timestamps - see audioresample
26183 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26186 removed ';' from the end of macro defs
26187 * docs/gst/gstreamer-docs.sgml:
26188 * docs/gst/gstreamer-sections.txt:
26189 * docs/gst/tmpl/.cvsignore:
26191 * gst/gstelement.c: (gst_element_class_init),
26192 (gst_element_set_state), (activate_pads),
26193 (gst_element_save_thyself):
26194 * gst/gstevent.c: (gst_event_new_newsegment):
26196 * gst/gstiterator.c:
26197 * gst/gstiterator.h:
26200 * gst/gstutils.c: (gst_pad_query_convert):
26202 fixed parameter name mismatches between source, header and docs
26203 added some more docs, resolved the last batch of unused elements in
26204 docs (now someone needs to doc them)
26206 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26208 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26209 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26210 don't walk through the plugins backwards. Where is all this
26211 reversed logic coming from ?
26213 2005-08-25 Wim Taymans <wim@fluendo.com>
26215 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26216 (gst_base_transform_transform_size),
26217 (gst_base_transform_configure_caps),
26218 (gst_base_transform_get_unit_size),
26219 (gst_base_transform_buffer_alloc),
26220 (gst_base_transform_change_state):
26221 * gst/base/gstbasetransform.h:
26222 Cache caps unit_size.
26223 Make sure we cannot negotiate up and downstream at the
26226 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26228 * gst/gst.c: (init_pre), (init_post):
26229 register the installed plugin path after the env var
26230 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26231 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26232 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26233 directories, so the tests can prefer uninstalled over installed
26235 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26237 * gst/base/gstbasetransform.h:
26242 2005-08-25 Wim Taymans <wim@fluendo.com>
26244 * gst/gstbin.c: (bin_bus_handler):
26245 Be a bit more conservative about the posted message.
26247 * gst/gstbus.c: (gst_bus_post):
26248 Some cleanups, warn wrong return values.
26250 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26252 * check/gst/gstbin.c: (GST_START_TEST):
26253 * gst/gstbin.c: (bin_bus_handler):
26254 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26255 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26256 (gst_message_new_warning), (gst_message_new_tag),
26257 (gst_message_new_state_changed), (gst_message_new_segment_start),
26258 (gst_message_new_segment_done), (gst_message_new_custom):
26259 * gst/gstmessage.h:
26260 * tools/gst-launch.c: (event_loop):
26261 * tools/gst-md5sum.c: (event_loop):
26262 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26264 2005-08-25 Wim Taymans <wim@fluendo.com>
26266 * check/generic/states.c: (GST_START_TEST):
26267 Cleanup can be done at the end.
26269 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26270 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26271 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26272 Oh boy.. Thanks for finding this, Thomas.
26274 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26276 * docs/gst/gstreamer.types:
26277 added missing types
26279 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26281 * docs/gst/gstreamer-docs.sgml:
26282 * docs/gst/gstreamer-sections.txt:
26283 * docs/gst/tmpl/.cvsignore:
26285 * gst/gstiterator.c:
26287 * gst/registries/gstxmlregistry.h:
26288 added missing classes and symbols (123 more to go)
26289 removed removed symbols from section file
26290 fixed many doc-comments
26292 2005-08-24 Wim Taymans <wim@fluendo.com>
26294 * check/generic/states.c: (GST_START_TEST):
26295 Make sure all tasks are stopped.
26297 * check/gst/gstbin.c: (GST_START_TEST):
26298 Unref after usage for proper valgrinding.
26300 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26301 Really wait for the task to stop before destroying the
26304 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26305 (gst_queue_src_activate_push):
26306 Small cleanups. Don't stop the task when we did not start
26309 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26310 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26311 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26314 Protect the stream lock with the object lock.
26315 Disallow setting the stream lock when running.
26316 Add cleanup_all to wait for the threadpool to finish.
26317 Remove code to autoallocate a mutex if none was provided.
26318 Add _join() to wait for a task to stop.
26319 Protect the thread pool with a global lock.
26321 2005-08-24 Wim Taymans <wim@fluendo.com>
26323 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26324 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26325 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26326 * gst/base/gstbasesink.h:
26327 Handle newsegment events correctly.
26328 Drop buffers out of the segment range.
26330 2005-08-22 Andy Wingo <wingo@pobox.com>
26332 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26333 macro, implements an interface and gstimplementsinterface for a
26336 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26338 * check/Makefile.am:
26339 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26340 add a test that does a bunch of state changes on elements
26341 needs some fixing for valgrind
26342 * check/states/sinks.c: (gst_object_suite):
26345 add prototype for gst_caps_is_equal_fixed
26347 * gst/gstregistrypool.c:
26350 2005-08-24 Andy Wingo <wingo@pobox.com>
26352 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26353 convert a negative value. Doesn't make much sense. Mostly this is
26354 here to force callers to ensure -1 maps to -1.
26356 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26358 * docs/pwg/advanced-types.xml:
26359 Well done to Michael for catching my deliberate introduction
26360 of this spelling mistake.
26361 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26362 * gst/gstelement.h:
26363 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26364 unlink pads before removing the element from the bin.
26366 2005-08-24 Andy Wingo <wingo@pobox.com>
26368 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26369 the same thing as GST_DEBUG=*:4.
26370 (parse_debug_level, parse_debug_category): New helper parsers.
26372 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26374 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26375 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26376 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26377 (gst_base_transform_buffer_alloc),
26378 (gst_base_transform_handle_buffer):
26379 use gboolean return values and pointers to size so we can use the
26380 full GST_BUFFER_SIZE range (guint) for buffer sizes
26381 use GstPadDirection for transform_caps
26382 * gst/base/gstbasetransform.h:
26383 rename get_size to get_unit_size since that's what it is
26384 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26385 use GstPadDirection for transform_caps
26386 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26388 cleanup and debugging
26390 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26392 * gst/gstelement.c: (gst_element_class_init),
26393 (gst_element_set_state), (activate_pads),
26394 (gst_element_save_thyself):
26395 * tools/gst-compprep.c: (main):
26396 * tools/gst-inspect.c: (print_element_properties_info):
26397 * tools/gst-xmlinspect.c: (print_element_properties):
26398 Fixed long standing mem-leak
26400 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26402 * check/gst/gstbin.c: (GST_START_TEST):
26403 * gst/gstbin.c: (bin_bus_handler):
26404 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26405 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26406 (gst_message_new_warning), (gst_message_new_tag),
26407 (gst_message_new_state_changed), (gst_message_new_segment_start),
26408 (gst_message_new_segment_done), (gst_message_new_custom):
26409 * gst/gstmessage.h:
26410 * tools/gst-launch.c: (event_loop):
26411 * tools/gst-md5sum.c: (event_loop):
26412 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26413 that applications can sensibly post custom messages with references
26414 to their own objects.
26416 2005-08-24 Andy Wingo <wingo@pobox.com>
26418 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26421 2005-08-24 Wim Taymans <wim@fluendo.com>
26423 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26424 (gst_base_transform_transform_caps),
26425 (gst_base_transform_transform_size),
26426 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26427 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26428 (gst_base_transform_handle_buffer):
26429 * gst/base/gstbasetransform.h:
26430 Many fixes and new features added by Thomas. Can now also do
26431 transforms with variable sizes and a custom fixate_caps function.
26433 2005-08-24 Wim Taymans <wim@fluendo.com>
26435 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26439 Cast to ClockTime before formatting to time.
26444 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26446 * check/gst-libs/controller.c: (GST_START_TEST),
26447 (gst_controller_suite):
26448 * docs/gst/tmpl/gstcaps.sgml:
26449 * docs/gst/tmpl/gstghostpad.sgml:
26450 * docs/gst/tmpl/gstquery.sgml:
26451 * docs/gst/tmpl/gstutils.sgml:
26452 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26453 (gst_object_sink_values), (gst_object_get_value_arrays),
26454 (gst_object_get_value_array):
26455 gracefully handle helper method calls to objects that are not beeing
26456 controlled, added test case for that
26458 2005-08-23 Wim Taymans <wim@fluendo.com>
26460 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26461 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26462 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26463 (gst_event_parse_qos), (gst_event_new_seek),
26464 (gst_event_parse_seek):
26466 Some more debugging output and doc cleanups.
26468 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26469 Fix possible deadlock.
26471 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26473 * docs/gst/gstreamer-docs.sgml:
26474 * docs/gst/gstreamer-sections.txt:
26475 * docs/gst/gstreamer.types:
26476 * docs/gst/tmpl/.cvsignore:
26479 * gst/gstelement.c:
26481 added 100 symbols from gstreamer-unused.txt to the right sections
26482 fixed more broken comments
26483 added GstBus to docs
26485 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26487 * docs/gst/gstreamer-sections.txt:
26488 * docs/gst/tmpl/.cvsignore:
26489 * docs/gst/tmpl/gstbin.sgml:
26490 * docs/gst/tmpl/gstbuffer.sgml:
26491 * gst/base/gstbasesrc.c:
26492 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26495 * tools/gst-launch.1.in:
26496 inlined more doc comments, added missing comments and fixed comments
26499 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26501 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26505 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26507 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26508 * gst/gststructure.h:
26509 add a fixate function for booleans; add a FIXME that these func
26510 names should probably be gst_structure_fixate_*
26512 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26514 * docs/gst/gstreamer-docs.sgml:
26515 * docs/gst/gstreamer-sections.txt:
26517 * gst/gstbin.c: (gst_bin_get_type),
26518 (gst_bin_child_proxy_get_child_by_index),
26519 (gst_bin_child_proxy_get_children_count),
26520 (gst_bin_child_proxy_init):
26521 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26522 (gst_child_proxy_get_child_by_index),
26523 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26524 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26525 (gst_child_proxy_get), (gst_child_proxy_set_property),
26526 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26527 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26528 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26529 * gst/gstchildproxy.h:
26530 * gst/parse/grammar.y:
26531 * tools/gst-inspect.c: (print_interfaces),
26532 (print_element_properties_info), (print_element_info):
26533 ported gstchildproxy over from 0.8
26534 ported gst-inspect fixes and enhancements over from 0.8
26536 2005-08-22 Wim Taymans <wim@fluendo.com>
26538 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26539 (gst_base_transform_handle_buffer):
26540 Also call the transform function if we have ANY caps.
26542 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26545 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26547 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26548 Don't pretend to handle seek events if the source is not seekable
26550 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26553 Remove extra parameter to debug output
26555 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26556 (gst_base_src_do_seek), (gst_base_src_activate_push):
26557 Fix seek event handling.
26559 * gst/gstpipeline.c: (gst_pipeline_change_state):
26560 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26561 (gst_queue_src_activate_push):
26562 Don't start the src pad task on FLUSH_STOP if the pad
26566 2005-08-22 Wim Taymans <wim@fluendo.com>
26568 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26569 Added check for gst_static_caps_get() refcounting.
26571 2005-08-22 Wim Taymans <wim@fluendo.com>
26573 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26574 Make _static_caps_get() refcounting sane.
26576 * gst/gstelement.c: (gst_element_set_state):
26577 Add g_return_val_if_fail() to protect against segfaults.
26579 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26581 * docs/gst/tmpl/gstevent.sgml:
26584 inlined remaining docs, added missing doc comments
26586 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26588 * check/gst/gstbin.c: (GST_START_TEST):
26589 since we don't know when preroll is done, use refcount range
26591 * gst/check/gstcheck.h:
26592 add macro for checking refcount range
26594 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26596 * check/Makefile.am:
26597 clean up environment for when registry gets built versus
26598 when actual tests are run; valgrind seems to not report
26599 leaks if GST_PLUGIN_PATH is set to some specific values
26600 * check/gst/gstbin.c: (GST_START_TEST):
26601 add more refcounting checks; maybe this exposes a
26603 * common/check.mak:
26604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26605 * gst/check/gstcheck.h:
26606 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26607 (gst_bin_change_state):
26608 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26609 add/fix debugging/whitespace
26611 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26613 * check/gst/gstevent.c: (event_probe), (test_event),
26615 Er, don't call gst_bin_watch_for_state_change you idiot.
26617 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26619 * check/Makefile.am:
26620 Use CHECK_CFLAGS and CHECK_LIBS
26621 * check/gst/gstevent.c: (event_probe), (test_event),
26624 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26625 (gst_base_src_start), (gst_base_src_stop),
26626 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26627 (gst_base_src_change_state):
26628 Sprinkle gst_base_src_stop liberally around error paths to fix
26629 problems reusing a source after failed state changes.
26630 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26631 (helper_find_suggest), (gst_type_find_helper):
26632 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26634 * docs/gst/tmpl/gstevent.sgml:
26635 Migrate part of the docs from the SGML file. Wait for ensonic to
26636 tell me how I did it wrong ;)
26637 * tools/gst-typefind.c: (main):
26638 Extra robustness to state changes between files.
26640 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26642 * check/Makefile.am:
26643 don't valgrind the controller test - it's leaking - Stefan, HELP
26644 * gst/check/gstcheck.c: (gst_check_message_error),
26645 (gst_check_chain_func), (gst_check_setup_element),
26646 (gst_check_teardown_element), (gst_check_setup_src_pad),
26647 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26648 (gst_check_teardown_sink_pad):
26649 * gst/check/gstcheck.h:
26650 add a bunch of methods to set up elements, and src and sink pads
26651 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26652 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26655 * gst/gstmessage.c:
26657 whitespace/doc fixes
26659 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26661 * gst/gstelement.h:
26662 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26663 be handled by the application and not always printed as well
26665 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26667 * check/Makefile.am:
26669 * gst/check/gstcheck.c: (gst_check_message_error):
26670 * gst/check/gstcheck.h:
26671 add a fail_unless_equals_int
26672 add fail_unless for error messages
26674 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26676 * check/Makefile.am:
26678 * common/Makefile.am:
26679 * common/check.mak:
26681 factor out some of the common stuff so we can use it
26683 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26685 * check/Makefile.am:
26686 * check/gst/gstiterator.c: (GST_START_TEST):
26687 * check/gst/gstsystemclock.c: (GST_START_TEST),
26688 (gst_systemclock_suite):
26689 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26691 valgrind more tests
26693 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26695 * check/elements/.cvsignore:
26696 * check/elements/gstfakesrc.c:
26697 rename to name of element
26698 * check/elements/identity.c: (chain_func), (event_func),
26699 (setup_identity), (cleanup_identity), (GST_START_TEST),
26700 (identity_suite), (main):
26701 add a test for identity
26702 * check/Makefile.am:
26703 * pkgconfig/Makefile.am:
26704 * pkgconfig/gstreamer-check.pc.in:
26705 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26709 move the check stuff to a library that gets installed
26710 * check/gst-libs/controller.c: (GST_START_TEST):
26711 * check/gst-libs/gdp.c:
26712 * check/gst/gst.c: (GST_START_TEST):
26713 * check/gst/gstbin.c:
26714 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26715 * check/gst/gstbus.c:
26716 * check/gst/gstcaps.c: (GST_START_TEST):
26717 * check/gst/gstelement.c:
26718 * check/gst/gstghostpad.c:
26719 * check/gst/gstiterator.c:
26720 * check/gst/gstmessage.c:
26721 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26722 * check/gst/gstobject.c:
26723 * check/gst/gstpad.c: (GST_START_TEST):
26724 * check/gst/gststructure.c: (GST_START_TEST):
26725 * check/gst/gstsystemclock.c: (GST_START_TEST),
26726 (gst_systemclock_suite):
26727 * check/gst/gsttag.c: (gst_tag_suite):
26728 * check/gst/gstvalue.c:
26729 * check/pipelines/cleanup.c:
26730 * check/pipelines/simple_launch_lines.c:
26731 * check/states/sinks.c:
26732 change include statement
26734 * docs/gst/gstreamer-sections.txt:
26735 * docs/gst/tmpl/gstpad.sgml:
26736 document more pad stuff
26737 * gst/gstminiobject.c: (gst_mini_object_ref),
26738 (gst_mini_object_unref):
26741 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26743 * docs/gst/tmpl/gst.sgml:
26745 eliminate another tmpl file, fix spelling in the long-description
26747 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26749 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26750 (test_event), (timediff), (gstevents_suite):
26751 Should fix build on 64-bit arch's
26753 2005-08-18 Andy Wingo <wingo@pobox.com>
26755 Make sure that when a pipeline goes to PLAYING, that data has
26756 actually hit the sink.
26758 * check/states/sinks.c (test_sink): A sink that doesn't get any
26759 data shouldn't return SUCCESS for going to either PLAYING or
26760 PAUSED. Test also the return values on the way back down.
26762 * gst/gstelement.c (gst_element_set_state): When changing the
26763 state of an element currently changing state asynchronously, go to
26764 lost-state after commiting the pending state. Makes future calls
26765 to get_state continue to return ASYNC.
26767 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26768 ASYNC when going to PLAYING if we still don't have preroll, as can
26769 happen with live sources.
26771 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26773 * docs/pwg/advanced-types.xml:
26774 Hack long paragraph into 2 chunks as a workaround for buggy
26775 jadetex version in sid and breezy that loops infinitely and
26778 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26780 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26781 (test_event), (timediff), (gstevents_suite):
26782 Provide more error margin in clock measurements to allow for
26783 g_get_current_time inaccuracies.
26785 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26787 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26788 (test_event), (timediff), (gstevents_suite):
26789 Fix error message output so I might be able to tell why the
26790 test works here but fails on the build farm.
26792 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26794 * check/Makefile.am:
26795 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26796 (test_event), (timediff), (gstevents_suite), (main):
26799 * docs/design/part-seeking.txt:
26800 Spelling correction
26802 * docs/gst/tmpl/gstevent.sgml:
26803 * docs/gst/tmpl/gstfakesrc.sgml:
26806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26807 Treat a buffer-without-newsegment the same as a receiving
26808 a newsegment not in time format, and disable syncing to the clock
26811 * gst/gstbus.c: (gst_bus_set_sync_handler):
26812 Assert if anyone tries to replace the existing sync_handler for bus,
26813 as only the owner should be setting it.
26816 Have a fixed set of custom event enums with events identified by
26817 their structure name (as in 0.8), rather than a free-for-all
26818 allowing collisions between enum values from different plugins.
26820 * gst/gstpad.c: (gst_pad_class_init):
26823 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26824 Handle out-of-band downstream events from the sending thread.
26826 2005-08-17 Andy Wingo <wingo@pobox.com>
26828 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26829 play-timeout==0 to mean no timeout at all. In that case, don't
26830 bother with a get_state or a warning, just return directly, even
26833 * gst/base/gstbasetransform.c: Debug changes.
26836 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26837 ensure bins post state change messages. A bit of a hack but I can't
26838 think of a way to avoid it.
26840 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26842 2005-08-16 Andy Wingo <wingo@pobox.com>
26844 * gst/base/gstadapter.h:
26845 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26846 peek() but you own the data. Not terribly efficient atm.
26848 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26850 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26851 (gst_element_found_tags):
26853 Add two utility functions for tag handling.
26855 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26857 * docs/manual/advanced-dataaccess.xml:
26858 * docs/manual/basics-helloworld.xml:
26859 Fix docs to use _bin_add() before _link(), which fixes the examples
26860 with recent core versions (reported by Madhan Raj M
26861 <raj_madan@rediffmail.com>, #313199).
26863 2005-08-16 Wim Taymans <wim@fluendo.com>
26865 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26866 Added subtract checks.
26868 * docs/design/part-events.txt:
26869 Some more docs about newsegment
26871 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26874 * gst/gstcaps.c: (gst_caps_to_string):
26875 Add comments, cleanups.
26877 * gst/gstelement.c: (gst_element_save_thyself):
26880 * gst/gstvalue.c: (gst_value_collect_int_range),
26881 (gst_string_unwrap), (gst_value_union_int_int_range),
26882 (gst_value_union_int_range_int_range),
26883 (gst_value_intersect_int_int_range),
26884 (gst_value_intersect_int_range_int_range),
26885 (gst_value_intersect_double_double_range),
26886 (gst_value_intersect_double_range_double_range),
26887 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26888 (gst_value_subtract_int_range_int),
26889 (gst_value_subtract_double_range_double),
26890 (gst_value_subtract_double_range_double_range),
26891 (gst_value_subtract_from_list), (gst_value_subtract_list),
26892 (gst_value_can_compare), (gst_value_compare_fraction):
26893 Cleanups, add comments, remove unneeded asserts.
26895 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26897 * tools/gst-launch.c: (event_loop):
26898 don't convert NULL structures to strings
26900 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26902 * docs/gst/gstreamer-sections.txt:
26903 made some defines private
26904 * docs/gst/tmpl/gstconfig.sgml:
26905 * docs/gst/tmpl/gstqueue.sgml:
26906 * docs/gst/tmpl/gsttaglist.sgml:
26907 * docs/gst/tmpl/gsttypes.sgml:
26908 * docs/gst/tmpl/gstutils.sgml:
26909 * docs/pwg/appendix-porting.xml:
26910 * gst/base/gstbasesink.h:
26911 * gst/base/gstbasesrc.c:
26912 * gst/base/gstbasesrc.h:
26913 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26914 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26915 * gst/gstelement.c: (gst_element_class_init):
26916 * gst/gstpad.c: (gst_pad_class_init):
26917 * gst/gstqueue.c: (gst_queue_class_init):
26918 * gst/gstxml.c: (gst_xml_class_init):
26919 documented all undocumented signal inline
26920 * libs/gst/controller/gst-controller.h:
26923 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26925 * docs/pwg/appendix-porting.xml:
26926 Document _set_link_function -> _set_setcaps_function.
26928 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26930 * check/Makefile.am:
26931 add a .check target for running the check
26932 * check/gst-libs/controller.c: (GST_START_TEST):
26934 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26935 complete checks for gstbuffer; would be nice if I could get the
26936 gcov stuff to work so I can see if I actually completed gstbuffer.c
26937 * check/gstcheck.h:
26938 add ASSERT_BUFFER_REFCOUNT
26940 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26942 * docs/gst/gstreamer-sections.txt:
26943 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26945 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26946 spew out a warning if a tag that is already registered
26947 is re-registered, unless it is re-registered with a
26948 different type (#308438).
26950 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26952 * docs/pwg/appendix-porting.xml:
26953 * docs/pwg/building-state.xml:
26954 Add some paragraphs about state changes in 0.9 to the PWG
26955 and the porting guide, in particular about the new meaning
26956 of GST_STATE_PAUSED and how to write state change functions
26957 with concurrent access by multiple threads in mind.
26959 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26961 * docs/gst/gstreamer-docs.sgml:
26962 * docs/libs/gstreamer-libs-docs.sgml:
26963 added deprecation and since indexes
26964 * libs/gst/controller/gst-controller.c:
26965 * libs/gst/controller/gst-helper.c:
26969 2005-08-11 Wim Taymans <wim@fluendo.com>
26971 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26972 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26973 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26974 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26975 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26976 (gst_ghost_pad_set_target):
26977 Actually implement (re)setting the target on a ghostpad
26978 as described in the docs.
26980 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26982 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26983 Check whether GST_DEBUG_NO_COLOR environment variable is
26984 set and disable coloured debug output if that is the case.
26986 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26988 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26989 (gst_type_find_helper):
26990 The memory returned by gst_type_find_peek() needs to
26991 stay valid until the end of a typefind function, and
26992 typefind functions may keep results from different
26993 offsets around, so we can't just unref the buffer from
26994 the previous _peek(), but have to save all buffers
26995 returned by _peek() until typefinding is done and only
26998 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27000 * docs/gst/gstreamer-sections.txt:
27002 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27004 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27006 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27007 Fix a pretty good memleak.
27009 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27011 * gst/gstiterator.h:
27012 Fix wrong include and 'make distcheck'.
27014 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27016 * gst/gstbin.c: (bin_bus_handler):
27017 Use gst_element_post_message() instead.
27019 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27021 * gst/base/gstadapter.h:
27022 * gst/base/gstbasesink.h:
27023 * gst/base/gstbasesrc.h:
27024 * gst/base/gstbasetransform.h:
27025 * gst/base/gstcollectpads.h:
27026 * gst/base/gstpushsrc.h:
27027 * gst/gstiterator.h:
27028 Add padding to our base elements' class and instance structs and
27029 to GstIterator (you will need to rebuild all plugins and apps!)
27031 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27033 * gst/gstbin.c: (bin_bus_handler):
27034 Make default message forwarding from child->bus to bin->bus
27035 threadsafe and make it not emit warnings if the parent has no bus.
27037 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27039 * gst/gstelement.c: (activate_pads):
27040 On paused->ready, set pad->caps to NULL, as is the documented
27041 behaviour in this state change. Fixes playback of series of
27042 media files when visualization is enabled in Totem.
27044 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27046 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27047 Allow NULL as filter-caps (which means "any").
27049 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27051 * docs/libs/gstreamer-libs-sections.txt:
27052 * libs/gst/controller/gst-controller.c:
27053 * libs/gst/controller/gst-controller.h:
27054 * libs/gst/controller/gst-helper.c:
27055 adding more entries to the docs and fix small doc-bugs
27057 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27059 * docs/gst/gstreamer-docs.sgml:
27060 * docs/gst/gstreamer-sections.txt:
27061 * docs/gst/gstreamer.types:
27062 * docs/gst/tmpl/gstbasesink.sgml:
27063 * docs/gst/tmpl/gstbasesrc.sgml:
27064 * docs/gst/tmpl/gstbasetransform.sgml:
27065 * docs/gst/tmpl/gstfakesrc.sgml:
27066 * gst/base/gstcollectpads.c:
27067 * gst/base/gstcollectpads.h:
27068 * libs/gst/controller/gst-controller.c:
27069 * libs/gst/controller/gst-controller.h:
27070 * libs/gst/controller/gst-helper.c:
27071 * libs/gst/controller/gst-interpolation.c:
27072 * libs/gst/controller/lib.c:
27073 added long/short desc for controller docs
27074 added collectpads base class docs
27075 added correct includes to base-class docs
27077 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27079 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27080 (gst_test_mono_source_set_property),
27081 (gst_test_mono_source_class_init), (GST_START_TEST),
27082 (gst_controller_suite):
27083 * docs/gst/gstreamer-docs.sgml:
27084 * docs/gst/gstreamer-sections.txt:
27085 * docs/gst/gstreamer.types:
27086 * docs/libs/gstreamer-libs-docs.sgml:
27087 * docs/libs/gstreamer-libs-sections.txt:
27088 * gst/base/gstadapter.c:
27089 * libs/gst/controller/gst-controller.c:
27090 (gst_controlled_property_new), (gst_controlled_property_free),
27091 (gst_controller_new_valist),
27092 (gst_controller_remove_properties_valist),
27093 (gst_controller_sink_values), (_gst_controller_finalize):
27094 * libs/gst/controller/gst-controller.h:
27095 * libs/gst/controller/gst-helper.c:
27096 (gst_object_control_properties), (gst_object_uncontrol_properties),
27097 (gst_object_get_controller), (gst_object_set_controller),
27098 (gst_object_sink_values), (gst_object_get_value_arrays),
27099 (gst_object_get_value_array):
27100 more tests (and fixes) for the controller
27101 more docs for the controller
27102 integrated companies docs for the adapter
27104 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27106 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27107 (GST_START_TEST), (fakesrc_suite):
27108 add tests for sizetype
27110 2005-08-04 Andy Wingo <wingo@pobox.com>
27112 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27113 fixes buffer_alloc proxying among other things.
27115 * gst/base/gstbasetransform.c:
27116 * gst/base/gstbasetransform.h:
27117 Revert patch to gstbasetransform from 7-28 removing
27120 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27121 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27122 Semantics changed, should return not the size of the output buffer
27123 but the byte size of a buffer with a given caps.
27125 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27127 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27128 out) are not the pad caps until setcaps finishes.
27129 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27130 not-in-place case as well. Deal with changing from in-place to
27131 not-in-place within calling pad_alloc_buffer. Still a bit
27132 concerned about the overhead here...
27134 2005-08-03 Andy Wingo <wingo@pobox.com>
27136 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27137 fixating is an error.
27139 2005-08-04 Edward Hervey <edward@fluendo.com>
27141 * gst/base/gstadapter.h:
27142 Added gst_adapter_get_type() to the header
27144 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27146 * check/Makefile.am:
27147 * check/gst-libs/controller.c:
27148 * libs/gst/controller/gst-controller.c:
27149 (gst_controller_new_valist):
27150 added check test suite for the controller
27151 * gst/base/gstpushsrc.c:
27154 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27156 * docs/gst/Makefile.am:
27157 * docs/gst/gstreamer-docs.sgml:
27158 * docs/gst/gstreamer-sections.txt:
27159 * docs/gst/gstreamer.types:
27160 * docs/gst/tmpl/gstfakesrc.sgml:
27162 * gst/base/gstbasesink.c:
27163 * gst/base/gstbasesink.h:
27164 * gst/base/gstbasesrc.c:
27165 * gst/base/gstbasesrc.h:
27166 * gst/base/gstbasetransform.c:
27167 * gst/base/gstpushsrc.c:
27168 * gst/base/gstpushsrc.h:
27169 add short/long description docs to base classes
27170 add pushsrc to the docs
27171 remove consolidated doc fragments
27173 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27176 * docs/libs/Makefile.am:
27177 * docs/libs/gstreamer-libs-docs.sgml:
27178 * docs/libs/gstreamer-libs-sections.txt:
27179 * docs/libs/gstreamer-libs.types:
27180 * examples/Makefile.am:
27181 * examples/controller/.cvsignore:
27182 * examples/controller/Makefile.am:
27183 * examples/controller/audio-example.c: (main):
27184 * libs/gst/Makefile.am:
27185 * libs/gst/controller/.cvsignore:
27186 * libs/gst/controller/Makefile.am:
27187 * libs/gst/controller/gst-controller.c:
27188 (on_object_controlled_property_changed), (gst_timed_value_compare),
27189 (gst_timed_value_find),
27190 (gst_controlled_property_set_interpolation_mode),
27191 (gst_controlled_property_new), (gst_controlled_property_free),
27192 (gst_controller_find_controlled_property),
27193 (gst_controller_new_valist), (gst_controller_new),
27194 (gst_controller_remove_properties_valist),
27195 (gst_controller_remove_properties), (gst_controller_set),
27196 (gst_controller_set_from_list), (gst_controller_unset),
27197 (gst_controller_get), (gst_controller_get_all),
27198 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27199 (gst_controller_get_value_array),
27200 (gst_controller_set_interpolation_mode),
27201 (_gst_controller_finalize), (_gst_controller_init),
27202 (_gst_controller_class_init), (gst_controller_get_type):
27203 * libs/gst/controller/gst-controller.h:
27204 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27205 (g_object_uncontrol_properties), (g_object_get_controller),
27206 (g_object_set_controller), (g_object_sink_values),
27207 (g_object_get_value_arrays), (g_object_get_value_array):
27208 * libs/gst/controller/gst-interpolation.c:
27209 (gst_controlled_property_find_timed_value_node),
27210 (interpolate_none_get), (interpolate_trigger_get),
27211 (interpolate_trigger_get_value_array):
27212 * libs/gst/controller/lib.c: (gst_controller_init):
27213 * pkgconfig/Makefile.am:
27214 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27215 * pkgconfig/gstreamer-control.pc.in:
27216 * testsuite/Makefile.am:
27217 * testsuite/controller/.cvsignore:
27218 * testsuite/controller/Makefile.am:
27219 * testsuite/controller/interpolator.c: (main):
27220 added controller code
27221 removed dparam pc files
27223 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27224 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27225 (gst_collectpads_stop):
27226 Broadcast the condition when shutting down, to make sure we wake all
27227 threads up. Shut down pads on finalize, for safety.
27229 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27230 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27231 (gst_base_transform_handle_buffer),
27232 (gst_base_transform_change_state):
27233 Handle PAUSED->READY->PAUSED transition after negotiation
27235 * gst/gstmessage.c: (gst_message_init):
27236 Extra piece of debug for new messages.
27238 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27241 * docs/gst/tmpl/gstbasesrc.sgml:
27242 * docs/gst/tmpl/gstelement.sgml:
27243 * docs/gst/tmpl/gstevent.sgml:
27244 * docs/gst/tmpl/gstfakesrc.sgml:
27245 * docs/gst/tmpl/gstformat.sgml:
27246 * docs/gst/tmpl/gstghostpad.sgml:
27247 * docs/gst/tmpl/gstpad.sgml:
27248 * docs/gst/tmpl/gstquery.sgml:
27249 * docs/gst/tmpl/gststructure.sgml:
27250 * docs/gst/tmpl/gsttaglist.sgml:
27251 * docs/gst/tmpl/gstvalue.sgml:
27252 * docs/libs/gstreamer-libs-docs.sgml:
27253 * docs/libs/gstreamer-libs-sections.txt:
27254 * docs/libs/gstreamer-libs.types:
27255 * libs/gst/Makefile.am:
27256 * libs/gst/control/.cvsignore:
27257 * libs/gst/control/Makefile.am:
27258 * libs/gst/control/control.c:
27259 * libs/gst/control/control.h:
27260 * libs/gst/control/dparam.c:
27261 * libs/gst/control/dparam.h:
27262 * libs/gst/control/dparam_smooth.c:
27263 * libs/gst/control/dparam_smooth.h:
27264 * libs/gst/control/dparamcommon.h:
27265 * libs/gst/control/dparammanager.c:
27266 * libs/gst/control/dparammanager.h:
27267 * libs/gst/control/dplinearinterp.c:
27268 * libs/gst/control/dplinearinterp.h:
27269 * libs/gst/control/unitconvert.c:
27270 * libs/gst/control/unitconvert.h:
27271 * testsuite/Makefile.am:
27272 * testsuite/dynparams/.cvsignore:
27273 * testsuite/dynparams/Makefile.am:
27274 * testsuite/dynparams/dparamstest.c:
27275 * tools/Makefile.am:
27276 * tools/gst-inspect.c: (print_element_info), (main):
27277 * tools/gst-xmlinspect.c: (print_element_info), (main):
27278 deactivate and remove dparams (libgstcontrol)
27280 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27282 * gst/elements/gsttypefindelement.c:
27283 (gst_type_find_element_have_type), (gst_type_find_element_init),
27284 (stop_typefinding), (gst_type_find_element_handle_event),
27285 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27286 * gst/elements/gsttypefindelement.h:
27287 Set caps on all outgoing buffers, not just the first one.
27289 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27291 * gst/elements/gsttypefindelement.c:
27292 (gst_type_find_element_have_type),
27293 (gst_type_find_element_check_set_buffer_caps),
27294 (gst_type_find_element_init), (stop_typefinding),
27295 (gst_type_find_element_handle_event),
27296 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27297 * gst/elements/gsttypefindelement.h:
27298 Set caps on first outgoing buffer when we've found the type.
27300 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27302 * docs/gst/gstreamer-docs.sgml:
27303 * docs/gst/gstreamer-sections.txt:
27304 * docs/gst/tmpl/gstscheduler.sgml:
27305 * docs/gst/tmpl/gstschedulerfactory.sgml:
27306 Remove some old cruft from docs.
27308 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27311 Fix inline docs for GstPadLinkReturn.
27313 * gst/gststructure.c: (gst_structure_has_name):
27314 * gst/gststructure.h:
27315 * docs/gst/gstreamer-sections.txt:
27316 New API: gst_structure_has_name().
27318 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27321 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27322 and _LARGEFILE_SOURCE in config.h as required. Do not
27323 export those flags in our .pc files any longer (#142209).
27325 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27327 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27328 (gst_file_sink_do_seek), (gst_file_sink_event),
27329 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27330 Redo seek/tell calls with large file support in mind; add some
27331 debugging messages; add log message that tells us when large
27332 file support is unavailable or not enabled for some reason.
27334 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27335 Add log message that tells us when large file support
27336 is unavailable or not enabled for some reason.
27338 2005-07-29 Wim Taymans <wim@fluendo.com>
27340 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27341 Added test for removing an element with ghostpad from a bin.
27342 Fixed test as current implementation does the right thing.
27344 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27345 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27346 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27347 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27348 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27349 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27350 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27351 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27352 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27353 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27354 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27355 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27356 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27357 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27358 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27359 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27360 * gst/gstghostpad.h:
27361 Clean up ghostpads, remove properties for internal stuff.
27364 Prepare for switching targets, not all use cases work yet.
27366 2005-07-29 Wim Taymans <wim@fluendo.com>
27368 * docs/design/part-gstghostpad.txt:
27371 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27372 (gst_bin_remove_func):
27373 Unlinking pads while holding the bin LOCK is not a good
27376 * gst/gstpad.c: (gst_pad_class_init),
27377 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27378 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27379 No prob setting template after creating the pad.
27381 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27383 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27384 (gst_bus_peek), (gst_bus_source_dispatch),
27385 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27386 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27387 gst_bus_poll may be called from other threads. Handle
27388 this nicely by not making poll_data disappear off the
27389 stack once gst_bus_poll returns.
27390 gst_bus_peek now increments the refcount on the returned
27393 2005-07-29 Wim Taymans <wim@fluendo.com>
27395 * docs/design/part-gstghostpad.txt:
27396 Overview of current GhostPad datastructures and use
27397 cases for changing the target.
27399 2005-07-28 Wim Taymans <wim@fluendo.com>
27401 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27402 Added checks for hierarchy consistency whan adding linked
27405 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27406 Added check to test element scheduling without bin/pipeline.
27408 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27409 First add elements to bin, then link.
27411 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27412 (gst_bin_remove_func):
27413 Unlink pads from elements added/removed from bin to maintain
27414 hierarchy consistency.
27416 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27418 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27419 (gst_base_transform_handle_buffer):
27420 * gst/base/gstbasetransform.h:
27421 Remove broken delay_configure (fixes renegotiation of software
27422 scaling pipelines); remove some leftover printf()s.
27424 2005-07-28 Wim Taymans <wim@fluendo.com>
27426 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27427 Added some more tests for wrong hierarchy
27429 * docs/design/part-overview.txt:
27432 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27435 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27436 (gst_element_dispose):
27437 Some more cleanups.
27439 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27440 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27441 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27442 (gst_pad_set_caps), (gst_pad_send_event):
27443 Check for correct hierarchy when linking pads. Moving to
27444 strict requirement for ghostpads when linking elements in
27448 Clean ups. Added WRONG_HIERARCHY return value.
27450 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27452 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27453 Better debug if no transform is possible.
27455 2005-07-27 Wim Taymans <wim@fluendo.com>
27457 * docs/random/wtay/network-transp:
27458 Some old doc I had.
27460 2005-07-27 Wim Taymans <wim@fluendo.com>
27462 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27463 (gst_dp_event_from_packet):
27464 Fix serialization of seek events.
27466 2005-07-27 Wim Taymans <wim@fluendo.com>
27468 * check/gst-libs/gdp.c: (GST_START_TEST):
27469 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27470 Fix compilation and fix event serialization.
27472 2005-07-27 Wim Taymans <wim@fluendo.com>
27475 * docs/design/part-TODO.txt:
27476 * docs/design/part-events.txt:
27479 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27480 (gst_base_sink_event), (gst_base_sink_do_sync),
27481 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27482 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27483 (gst_base_src_do_seek), (gst_base_src_event_handler),
27484 (gst_base_src_loop):
27485 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27486 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27487 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27488 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27489 (gst_base_transform_set_passthrough),
27490 (gst_base_transform_is_passthrough):
27491 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27492 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27498 * gst/gstelement.c: (gst_element_seek):
27499 * gst/gstelement.h:
27500 Update gst_element_seek.
27502 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27503 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27504 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27505 (gst_event_new_eos), (gst_event_new_newsegment),
27506 (gst_event_parse_newsegment), (gst_event_new_tag),
27507 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27508 (gst_event_parse_qos), (gst_event_new_seek),
27509 (gst_event_parse_seek), (gst_event_new_navigation):
27511 Make GstEvent use GstStructure. Add parsing code, make sure the
27512 API is sufficiently generic.
27513 Mark possible directions of events and serialization.
27515 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27516 (_gst_message_copy), (gst_message_new_segment_start),
27517 (gst_message_new_segment_done), (gst_message_new_custom),
27518 (gst_message_parse_segment_start),
27519 (gst_message_parse_segment_done):
27522 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27523 (gst_pad_set_caps), (gst_pad_send_event):
27524 Update for new events.
27525 Catch events sent in wrong directions.
27527 * gst/gstqueue.c: (gst_queue_link_src),
27528 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27529 (gst_queue_handle_src_query):
27534 Remove event code from this file.
27536 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27537 (gst_dp_event_from_packet):
27540 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27542 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27543 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27544 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27545 Make debugging actually useful.
27547 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27549 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27550 (gst_pad_fixate_caps):
27551 Implement default fixation once again, so that gst_pad_fixate()
27552 actually does anything at all. This probably needs to be some
27553 sort of a last resort, and use profile-based fixation first, but
27554 since that doesn't exist yet, this is the best we have. Fixes
27555 visualization in Totem.
27557 2005-07-22 Wim Taymans <wim@fluendo.com>
27559 * docs/design/part-events.txt:
27562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27563 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27564 (gst_base_sink_activate_pull):
27565 Some more comments.
27567 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27568 (gst_fake_src_create):
27569 Fix handoff marshall.
27571 * gst/elements/gstidentity.c: (gst_identity_class_init),
27572 (gst_identity_transform_ip):
27573 We're a real inplace element.
27575 * gst/gstbus.c: (gst_bus_post):
27576 Added some comments.
27578 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27579 * tests/muxing/case1.c: (main):
27580 * tests/sched/dynamic-pipeline.c: (main):
27581 * tests/sched/interrupt1.c: (main):
27582 * tests/sched/interrupt2.c: (main):
27583 * tests/sched/interrupt3.c: (main):
27584 * tests/sched/runxml.c: (main):
27585 * tests/sched/sched-stress.c: (main):
27586 * tests/seeking/seeking1.c: (event_received), (main):
27587 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27589 * tests/threadstate/threadstate3.c: (main):
27590 * tests/threadstate/threadstate4.c: (main):
27591 * tests/threadstate/threadstate5.c: (main):
27594 2005-07-21 Wim Taymans <wim@fluendo.com>
27596 * docs/design/part-seeking.txt:
27597 Some small additions.
27599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27600 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27601 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27602 * gst/base/gstbasesink.h:
27603 discont values are gint64, handle the math correctly.
27605 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27606 Make the basesrc report error if the source pad is not linked.
27608 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27609 (gst_queue_loop), (gst_queue_handle_src_query),
27610 (gst_queue_src_activate_push):
27611 Make queue collect data even if the srcpad is not linked.
27612 Start pushing out data as soon as it is linked.
27614 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27616 Added gst_flow_get_name() to ease error reporting.
27618 2005-07-20 Wim Taymans <wim@fluendo.com>
27620 * gst/gstmessage.c: (gst_message_new_segment_start),
27621 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27622 (gst_message_parse_segment_done):
27623 * gst/gstmessage.h:
27624 Added a bunch of messages for advanced seeking.
27626 * gst/parse/grammar.y:
27627 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27628 (gst_dpman_state_changed):
27629 Fix some new-pad -> pad-added signals
27631 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27633 * docs/manual/appendix-porting.xml:
27634 * docs/pwg/appendix-porting.xml:
27635 Document new-pad/state-change signal renames and the FixedList
27638 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27640 * docs/manual/advanced-autoplugging.xml:
27641 * docs/manual/basics-helloworld.xml:
27642 * docs/manual/basics-pads.xml:
27643 * docs/random/ds/0.9-suggested-changes:
27644 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27645 * gst/gstelement.h:
27649 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27650 (gst_structure_parse_array), (gst_structure_parse_value):
27651 * gst/gstvalue.c: (gst_type_is_fixed),
27652 (gst_value_list_prepend_value), (gst_value_list_append_value),
27653 (gst_value_list_get_size), (gst_value_list_get_value),
27654 (gst_value_transform_array_string), (gst_value_serialize_array),
27655 (gst_value_deserialize_array), (gst_value_intersect_array),
27656 (gst_value_is_fixed), (_gst_value_initialize):
27658 GstElement::new-pad -> pad-added, GstElement::state-change ->
27659 state-changed, GstValueFixedList -> GstValueArray, add format and
27660 flags as their own arguments in gst_element_seek() (should improve
27661 "bindeability"), remove function generators since they don't work
27662 under a whole bunch of compilers (they were deprecated already
27665 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27667 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27668 (_gst_debug_register_funcptr):
27670 Fix illegal cast on some platforms (#309253).
27672 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27674 * gst/gstmessage.c: (gst_message_new_custom):
27675 * gst/gstmessage.h:
27676 Add _new_custom, make _new_application a macro to _new_custom.
27678 2005-07-20 Wim Taymans <wim@fluendo.com>
27680 * gst/base/gstbasesrc.c: (gst_base_src_init),
27681 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27682 * gst/base/gstbasesrc.h:
27683 Add a gboolean to decide when to push out a discont.
27685 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27686 (gst_queue_loop), (gst_queue_handle_src_query),
27687 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27688 (gst_queue_set_property), (gst_queue_get_property):
27691 * tests/threadstate/threadstate1.c: (main):
27692 Make a thread test compile and run... very silly..
27695 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27697 * docs/manual/appendix-porting.xml:
27698 Mention removal of libgstgconf-0.9.la and existence of gconf
27701 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27703 * docs/pwg/advanced-clock.xml:
27704 * docs/pwg/appendix-porting.xml:
27705 * docs/pwg/intro-preface.xml:
27706 * docs/pwg/other-base.xml:
27707 * docs/pwg/other-manager.xml:
27708 * docs/pwg/other-nton.xml:
27709 * docs/pwg/other-ntoone.xml:
27710 * docs/pwg/other-oneton.xml:
27711 * docs/pwg/pwg.xml:
27712 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27713 demuxer), remove n-to-n (was never written), fix some code examples
27714 and links and update the porting section to include all this.
27716 2005-07-19 Wim Taymans <wim@fluendo.com>
27718 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27719 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27720 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27721 (gst_queue_src_activate_push), (gst_queue_change_state),
27722 (gst_queue_get_property):
27724 Propagate GstFlowReturn more intelligently upstream and output
27725 an ERROR/EOS when streaming stopped due to fatal error.
27727 2005-07-19 Wim Taymans <wim@fluendo.com>
27729 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27730 Don't block forever for the state change to complete, the
27731 pipeline already did with a sensible timeout.
27733 2005-07-19 Wim Taymans <wim@fluendo.com>
27735 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27736 Make sure we never call the create function is we
27739 2005-07-19 Andy Wingo <wingo@pobox.com>
27741 * gst/parse/parse.l: Attempt to solve bug #172815.
27743 2005-07-19 Wim Taymans <wim@fluendo.com>
27745 * docs/design/part-clocks.txt:
27746 * docs/design/part-events.txt:
27747 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27748 Small docs updates.
27749 Only update the seeking values when we are not
27752 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27754 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27755 Oops, ignore the result of gst_pad_push_event here.
27757 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27759 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27760 (gst_base_src_activate_push):
27761 Send discont event from the loop function, as pads
27762 aren't activated yet in the activate_push handler.
27764 * gst/gstbin.c: (bin_bus_handler):
27765 Don't leak element name.
27767 2005-07-18 Andy Wingo <wingo@pobox.com>
27769 * configure.ac: Use AS_LIBTOOL_TAGS.
27771 2005-07-18 Wim Taymans <wim@fluendo.com>
27773 * docs/gst/gstreamer.types:
27774 Remove deleted types.
27776 2005-07-18 Wim Taymans <wim@fluendo.com>
27778 * check/elements/gstfakesrc.c: (GST_START_TEST):
27781 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27782 (init_popt_callback):
27784 * gst/gst_private.h:
27785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27786 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27789 * gst/gstconfig.h.in:
27790 * gst/gstelement.c: (gst_element_class_init),
27791 (gst_element_set_base_time), (gst_element_get_base_time),
27792 (iterator_fold_with_resync), (gst_element_change_state),
27793 (gst_element_dispose), (gst_element_get_bus):
27794 * gst/gstelement.h:
27795 * gst/gstelementfactory.h:
27796 * gst/gsterror.c: (_gst_core_errors_init):
27799 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27801 * gst/gstinfo.c: (_gst_debug_init):
27802 * gst/gstmessage.c: (_gst_message_copy):
27803 * gst/gstmessage.h:
27804 * gst/gstminiobject.h:
27807 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27808 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27811 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27812 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27813 (gst_pipeline_get_last_stream_time):
27814 * gst/gstpipeline.h:
27815 * gst/gstpluginfeature.h:
27817 * gst/gstscheduler.c:
27818 * gst/gstscheduler.h:
27819 * gst/gststructure.h:
27820 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27821 (gst_task_finalize), (gst_task_func), (gst_task_create),
27822 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27823 (gst_task_stop), (gst_task_pause):
27825 * gst/gsttypefind.h:
27827 * gst/registries/gstlibxmlregistry.c: (load_feature),
27828 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27829 * gst/registries/gstxmlregistry.c:
27830 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27831 * gst/schedulers/threadscheduler.c:
27832 * libs/gst/control/dparammanager.h:
27833 * tools/gst-inspect.c: (print_element_list),
27834 (print_plugin_features), (print_element_features):
27835 * tools/gst-xmlinspect.c: (print_element_list),
27836 (print_plugin_info), (main):
27837 Removed plugable schedulers.
27838 Removed Scheduler/Manager from elements.
27839 Removed gsttypes.h, rearranged includes.
27840 Removed dependency pad<->element, element<>pipeline, and
27841 various others, fix includes.
27842 implement gst_pad_get_parent() with gst_object_get_parent()
27843 Make GstTask sefcontained.
27844 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27846 Fix endless loop in iterator_fold_with_resync.
27849 2005-07-18 Wim Taymans <wim@fluendo.com>
27855 2005-07-18 Wim Taymans <wim@fluendo.com>
27858 No more cothreads.h
27860 2005-07-18 Wim Taymans <wim@fluendo.com>
27864 Let's remove these.
27866 2005-07-18 Wim Taymans <wim@fluendo.com>
27868 * docs/design/part-dynamic.txt:
27869 * docs/design/part-events.txt:
27870 * docs/design/part-seeking.txt:
27871 Some more docs in the works.
27873 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27874 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27875 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27876 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27877 (gst_base_transform_handle_buffer),
27878 (gst_base_transform_sink_activate_push),
27879 (gst_base_transform_src_activate_pull),
27880 (gst_base_transform_set_passthrough),
27881 (gst_base_transform_is_passthrough):
27884 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27887 * gst/gstevent.c: (gst_event_finalize):
27890 * gst/gstutils.c: (gst_element_unlink),
27891 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27892 (gst_pad_proxy_setcaps):
27894 Add _get_parent_element() to get a pads parent as an element.
27896 2005-07-18 Wim Taymans <wim@fluendo.com>
27898 * check/gst/gstbin.c: (GST_START_TEST):
27901 2005-07-18 Wim Taymans <wim@fluendo.com>
27903 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27904 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27905 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27906 (gst_base_sink_event), (gst_base_sink_do_sync),
27907 (gst_base_sink_chain), (gst_base_sink_loop),
27908 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27909 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27911 Fix logic for returning ASYNC when not prerolled.
27913 2005-07-18 Wim Taymans <wim@fluendo.com>
27915 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27916 Fix nasty refcount bug.
27918 2005-07-16 Philippe Khalaf <burger@speedy.org>
27920 * gst/elements/gstfdsrc.c:
27921 * gst/elements/gstfdsrc.h:
27922 * gst/elements/gstelements.c:
27923 * gst/elements/Makefile.am:
27924 Ported fdsrc to 0.9.
27926 2005-07-16 Wim Taymans <wim@fluendo.com>
27928 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27929 (gst_base_sink_do_sync):
27932 2005-07-16 Wim Taymans <wim@fluendo.com>
27934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27935 (gst_base_sink_event), (gst_base_sink_get_times),
27936 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27937 * gst/base/gstbasesink.h:
27938 Store and use discont values when syncing buffers as described
27941 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27942 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27943 (gst_base_src_activate_push):
27944 Push discont event when starting.
27946 * gst/elements/gstidentity.c: (gst_identity_transform):
27949 * gst/gstbin.c: (gst_bin_change_state):
27950 Small cleanups in base_time distribution.
27952 * gst/gstelement.c: (gst_element_set_base_time),
27953 (gst_element_get_base_time), (gst_element_change_state):
27954 * gst/gstelement.h:
27955 Added methods for the base_time of the element.
27958 * gst/gstpipeline.c: (gst_pipeline_send_event),
27959 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27960 (gst_pipeline_get_last_stream_time):
27961 * gst/gstpipeline.h:
27963 Handle seeking as described in design doc, remove stream_time
27965 Cleanups clock and stream_time selection code. Added accessors
27966 for the stream_time.
27969 2005-07-16 Andy Wingo <wingo@pobox.com>
27971 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27974 2005-07-16 Wim Taymans <wim@fluendo.com>
27976 * check/gst/gstbin.c: (GST_START_TEST):
27977 Make elements silent as the deep_notify refs the
27978 parent, which might make the test fail.
27980 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27981 Don't hold the lock for too long.
27983 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27985 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27986 Don't unref the caps we passed to gst_caps_make_writable() after
27987 passing them. gst_caps_make_writable() will do that for us.
27989 2005-07-15 Andy Wingo <wingo@pobox.com>
27991 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27994 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27995 own marshalling function for the handoff signal. Properly type the
27996 buffer as a buffer. Fixes some warnings. Should do a more general
27998 (gst_identity_class_init): Plug into the right marshaller.
28000 2005-07-15 Wim Taymans <wim@fluendo.com>
28002 * docs/design/part-TODO.txt:
28003 * docs/design/part-clocks.txt:
28004 * docs/design/part-element-sink.txt:
28005 * docs/design/part-events.txt:
28006 * docs/design/part-gstpipeline.txt:
28007 Updated docs, mostly DISCONT related.
28009 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28011 * docs/pwg/building-pads.xml:
28012 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28014 2005-07-15 Andy Wingo <wingo@pobox.com>
28016 * tools/gst-typefind.c: Update, add copyright block.
28018 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28019 Normalize and truncate caps before fixation.
28022 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28023 discards all but the first structure from its argument.
28025 2005-07-15 Wim Taymans <wim@fluendo.com>
28027 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28028 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28029 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28030 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28031 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28032 (gst_base_transform_chain), (gst_base_transform_change_state),
28033 (gst_base_transform_set_passthrough),
28034 (gst_base_transform_is_passthrough):
28035 * gst/base/gstbasetransform.h:
28036 Make passthrough work using the bufferpools.
28037 Changed API a bit, subclasses have to write into a buffer
28038 provided by the base class.
28039 More debug info in nego functions.
28041 * gst/elements/gstidentity.c: (gst_identity_init),
28042 (gst_identity_transform):
28043 Port to new base class.
28045 2005-07-15 Wim Taymans <wim@fluendo.com>
28047 * gst/gstmessage.c: (gst_message_new_state_changed):
28048 * tools/gst-launch.c: (event_loop), (main):
28049 Totally dump messages in -launch with the -m option.
28050 Fix message name for State messages,
28052 2005-07-14 Wim Taymans <wim@fluendo.com>
28054 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28055 Post error messages on errors.
28057 2005-07-14 Wim Taymans <wim@fluendo.com>
28059 * gst/gstcaps.c: (gst_caps_do_simplify):
28063 Define error for stream stopped.
28065 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28066 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28067 Do proper return values.
28069 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28070 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28071 (gst_pad_get_range):
28072 Better return values.
28075 Reorganise return values, add macro to check for fatal errors.
28077 * gst/gstqueue.c: (gst_queue_chain):
28078 Return proper GstFlowReturn values,
28080 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28082 * docs/gst/gstreamer-sections.txt:
28083 * docs/gst/gstreamer.types:
28084 * docs/gst/tmpl/gst.sgml:
28085 * docs/gst/tmpl/gstbasesink.sgml:
28086 * docs/gst/tmpl/gstbasesrc.sgml:
28087 * docs/gst/tmpl/gstbasetransform.sgml:
28088 * docs/gst/tmpl/gstbin.sgml:
28089 * docs/gst/tmpl/gstbuffer.sgml:
28090 * docs/gst/tmpl/gstcaps.sgml:
28091 * docs/gst/tmpl/gstclock.sgml:
28092 * docs/gst/tmpl/gstcompat.sgml:
28093 * docs/gst/tmpl/gstconfig.sgml:
28094 * docs/gst/tmpl/gstelement.sgml:
28095 * docs/gst/tmpl/gstelementdetails.sgml:
28096 * docs/gst/tmpl/gstelementfactory.sgml:
28097 * docs/gst/tmpl/gstenumtypes.sgml:
28098 * docs/gst/tmpl/gsterror.sgml:
28099 * docs/gst/tmpl/gstevent.sgml:
28100 * docs/gst/tmpl/gstfakesink.sgml:
28101 * docs/gst/tmpl/gstfakesrc.sgml:
28102 * docs/gst/tmpl/gstfilesink.sgml:
28103 * docs/gst/tmpl/gstfilesrc.sgml:
28104 * docs/gst/tmpl/gstfilter.sgml:
28105 * docs/gst/tmpl/gstformat.sgml:
28106 * docs/gst/tmpl/gstghostpad.sgml:
28107 * docs/gst/tmpl/gstimplementsinterface.sgml:
28108 * docs/gst/tmpl/gstindex.sgml:
28109 * docs/gst/tmpl/gstindexfactory.sgml:
28110 * docs/gst/tmpl/gstinfo.sgml:
28111 * docs/gst/tmpl/gstiterator.sgml:
28112 * docs/gst/tmpl/gstmacros.sgml:
28113 * docs/gst/tmpl/gstmemchunk.sgml:
28114 * docs/gst/tmpl/gstminiobject.sgml:
28115 * docs/gst/tmpl/gstobject.sgml:
28116 * docs/gst/tmpl/gstpad.sgml:
28117 * docs/gst/tmpl/gstpadtemplate.sgml:
28118 * docs/gst/tmpl/gstparse.sgml:
28119 * docs/gst/tmpl/gstpipeline.sgml:
28120 * docs/gst/tmpl/gstplugin.sgml:
28121 * docs/gst/tmpl/gstpluginfeature.sgml:
28122 * docs/gst/tmpl/gstquery.sgml:
28123 * docs/gst/tmpl/gstqueue.sgml:
28124 * docs/gst/tmpl/gstregistry.sgml:
28125 * docs/gst/tmpl/gstregistrypool.sgml:
28126 * docs/gst/tmpl/gstscheduler.sgml:
28127 * docs/gst/tmpl/gstschedulerfactory.sgml:
28128 * docs/gst/tmpl/gststructure.sgml:
28129 * docs/gst/tmpl/gstsystemclock.sgml:
28130 * docs/gst/tmpl/gsttaglist.sgml:
28131 * docs/gst/tmpl/gsttagsetter.sgml:
28132 * docs/gst/tmpl/gsttrace.sgml:
28133 * docs/gst/tmpl/gsttrashstack.sgml:
28134 * docs/gst/tmpl/gsttypefind.sgml:
28135 * docs/gst/tmpl/gsttypefindfactory.sgml:
28136 * docs/gst/tmpl/gsttypes.sgml:
28137 * docs/gst/tmpl/gsturihandler.sgml:
28138 * docs/gst/tmpl/gsturitype.sgml:
28139 * docs/gst/tmpl/gstutils.sgml:
28140 * docs/gst/tmpl/gstvalue.sgml:
28141 * docs/gst/tmpl/gstversion.sgml:
28142 * docs/gst/tmpl/gstxml.sgml:
28143 * docs/libs/tmpl/gstcontrol.sgml:
28144 * docs/libs/tmpl/gstdataprotocol.sgml:
28145 * docs/libs/tmpl/gstdparam.sgml:
28146 * docs/libs/tmpl/gstdplinint.sgml:
28147 * docs/libs/tmpl/gstdpman.sgml:
28148 * docs/libs/tmpl/gstdpsmooth.sgml:
28149 * docs/libs/tmpl/gstgetbits.sgml:
28150 * docs/libs/tmpl/gstunitconvert.sgml:
28151 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28152 (gst_push_src_base_init), (gst_push_src_class_init),
28153 (gst_push_src_init), (gst_push_src_create):
28154 * gst/base/gstpushsrc.h:
28155 * gst/elements/gstelements.c:
28156 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28157 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28158 (gst_fake_sink_init), (gst_fake_sink_set_property),
28159 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28160 (gst_fake_sink_event), (gst_fake_sink_preroll),
28161 (gst_fake_sink_render), (gst_fake_sink_change_state):
28162 * gst/elements/gstfakesink.h:
28163 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28164 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28165 (gst_fake_src_base_init), (gst_fake_src_class_init),
28166 (gst_fake_src_init), (gst_fake_src_event_handler),
28167 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28168 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28169 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28170 (gst_fake_src_create_buffer), (gst_fake_src_create),
28171 (gst_fake_src_start), (gst_fake_src_stop):
28172 * gst/elements/gstfakesrc.h:
28173 * gst/elements/gstfilesink.c: (_do_init),
28174 (gst_file_sink_base_init), (gst_file_sink_class_init),
28175 (gst_file_sink_init), (gst_file_sink_dispose),
28176 (gst_file_sink_set_location), (gst_file_sink_set_property),
28177 (gst_file_sink_get_property), (gst_file_sink_open_file),
28178 (gst_file_sink_close_file), (gst_file_sink_query),
28179 (gst_file_sink_event), (gst_file_sink_render),
28180 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28181 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28182 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28183 * gst/elements/gstfilesink.h:
28184 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28185 (gst_file_src_class_init), (gst_file_src_init),
28186 (gst_file_src_finalize), (gst_file_src_set_location),
28187 (gst_file_src_set_property), (gst_file_src_get_property),
28188 (gst_file_src_map_region), (gst_file_src_map_small_region),
28189 (gst_file_src_create_mmap), (gst_file_src_create_read),
28190 (gst_file_src_create), (gst_file_src_is_seekable),
28191 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28192 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28193 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28194 (gst_file_src_uri_handler_init):
28195 * gst/elements/gstfilesrc.h:
28196 more autistic cleanliness in functions/names/defines
28198 2005-07-13 Andy Wingo <wingo@pobox.com>
28200 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28201 source couldn't negotiate.
28203 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28207 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28208 function. I am channeling Hades. Put your boots on suckers!!!
28210 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28212 * testsuite/caps/Makefile.am:
28213 * testsuite/caps/value_compare.c:
28214 * testsuite/caps/value_intersect.c:
28215 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28216 move two testsuite apps over to the check dir
28218 2005-07-12 Wim Taymans <wim@fluendo.com>
28220 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28221 Added more debug info in the negotiate process.
28223 * gst/gstmessage.h:
28224 Prepare for segment playback.
28226 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28232 * tools/gst-launch.c: (main):
28233 NULL pipeline on errors.
28235 2005-07-12 Andy Wingo <wingo@pobox.com>
28237 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28238 not it comes from a malloc region. Make sure our copy gets freed.
28240 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28242 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28243 * check/gst/gstmessage.c: (GST_START_TEST):
28244 * check/gst/gststructure.c: (GST_START_TEST),
28245 (gst_structure_suite), (main):
28247 * gst/gstelement.c: (gst_element_message_full):
28248 clean up GError and debug string now that they get copied
28249 * gst/gstmessage.c: (gst_message_new_error),
28250 (gst_message_new_warning), (gst_message_parse_error),
28251 (gst_message_parse_warning):
28252 use GST_TYPE_G_ERROR for structure_new, and take copies of
28253 arguments, so that we don't mess up refcounting
28255 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28257 * check/Makefile.am:
28258 add per-test valgrind targets
28259 * check/gst-libs/gdp.c: (GST_START_TEST),
28260 (gst_data_protocol_suite), (main):
28263 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28265 * check/Makefile.am:
28266 instate more valgrindable tests
28267 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28268 (GST_START_TEST), (fakesrc_suite):
28269 * check/gst/gstpad.c: (GST_START_TEST):
28270 * check/gst/gststructure.c: (GST_START_TEST):
28272 * docs/gst/tmpl/gstminiobject.sgml:
28273 * gst/gstpad.c: (gst_pad_finalize):
28274 fix the static mutex leak
28276 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28278 * check/Makefile.am:
28279 add two more tests for valgrinding
28280 * check/gst/gstvalue.c: (GST_START_TEST):
28281 test refcount of deserialized buffer, found a leak
28282 * docs/gst/gstreamer-docs.sgml:
28283 * docs/gst/gstreamer-sections.txt:
28284 * docs/gst/gstreamer.types:
28285 * docs/gst/tmpl/gstminiobject.sgml:
28286 add miniobject to docs
28287 * gst/gstminiobject.c:
28289 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28290 (gst_string_unwrap):
28291 fix a hard-to-find invalid write for one of the tests
28292 fix a leak for deserialized buffers
28294 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28296 * docs/pwg/advanced-events.xml:
28297 * docs/pwg/advanced-request.xml:
28298 * docs/pwg/advanced-scheduling.xml:
28299 * docs/pwg/appendix-porting.xml:
28300 * docs/pwg/building-boiler.xml:
28301 * docs/pwg/intro-preface.xml:
28302 * docs/pwg/other-ntoone.xml:
28303 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28304 of example code and explanation for pad activation, loop() and
28305 getrange() functions and a bit more. Remove old comments pointing
28307 * examples/pwg/Makefile.am:
28308 Add loop/getrange examples.
28310 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28313 check for valgrind binary + some fixes
28315 valgrind suppressions for the tests
28316 * check/Makefile.am:
28317 add a valgrind: target that valgrinds the unit tests
28318 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28319 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28320 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28321 * check/gst/gstghostpad.c:
28323 * check/gst/gstdata.c:
28325 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28326 (thread_unref), (gst_mini_object_suite), (main):
28328 * gst/gst.c: (gst_deinit):
28330 add a method to clean up.
28331 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28332 (gst_system_clock_obtain):
28333 allow for disposing the system clock.
28334 * tools/gst-launch.c: (main):
28337 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28339 * docs/gst/tmpl/gstbasesrc.sgml:
28340 * docs/gst/tmpl/gstfakesrc.sgml:
28341 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28342 (gst_base_src_init), (gst_base_src_set_property),
28343 (gst_base_src_get_property), (gst_base_src_get_range),
28344 (gst_base_src_start):
28345 * gst/base/gstbasesrc.h:
28346 add num-buffers property
28347 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28348 (gst_fakesrc_init), (gst_fakesrc_set_property),
28349 (gst_fakesrc_get_property), (gst_fakesrc_create),
28350 (gst_fakesrc_start):
28351 remove num-buffers property
28353 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28355 * docs/gst/gstreamer-sections.txt:
28356 * docs/gst/tmpl/gstbasesink.sgml:
28357 * docs/gst/tmpl/gstbasesrc.sgml:
28358 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28359 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28360 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28361 (gst_base_sink_set_property), (gst_base_sink_get_property),
28362 (gst_base_sink_handle_object), (gst_base_sink_event),
28363 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28364 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28365 (gst_base_sink_loop), (gst_base_sink_deactivate),
28366 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28367 (gst_base_sink_change_state):
28368 * gst/base/gstbasesink.h:
28369 * gst/base/gstbasesrc.h:
28370 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28371 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28372 (gst_filesink_init):
28373 more macro splitting
28375 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28377 * gst/gstelement.c: (gst_element_get_bus):
28379 * tools/gst-launch.c: (check_intr), (event_loop):
28382 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28384 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28387 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28389 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28390 (gst_base_src_finalize):
28391 add finalize method and clean up properly
28392 * gst/gstpipeline.c: (gst_pipeline_dispose):
28395 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28397 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28399 add more things to check
28400 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28401 * gst/gstelement.c:
28404 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28406 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28407 (GST_START_TEST), (fakesrc_suite):
28408 * check/gst-libs/gdp.c: (GST_START_TEST):
28409 * check/gst/gst.c: (GST_START_TEST):
28410 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28411 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28412 * check/gst/gstbus.c: (GST_START_TEST):
28413 * check/gst/gstcaps.c: (GST_START_TEST):
28414 * check/gst/gstdata.c: (GST_START_TEST):
28415 * check/gst/gstelement.c: (GST_START_TEST):
28416 * check/gst/gstghostpad.c: (GST_START_TEST):
28417 * check/gst/gstiterator.c: (GST_START_TEST):
28418 * check/gst/gstmessage.c: (GST_START_TEST):
28419 * check/gst/gstobject.c: (GST_START_TEST):
28420 * check/gst/gstpad.c: (GST_START_TEST):
28421 * check/gst/gststructure.c: (GST_START_TEST):
28422 * check/gst/gstsystemclock.c: (GST_START_TEST),
28423 (gst_systemclock_suite):
28424 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28425 * check/gst/gstvalue.c: (GST_START_TEST):
28426 * check/pipelines/cleanup.c: (GST_START_TEST):
28427 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28428 * check/states/sinks.c: (GST_START_TEST):
28429 * check/gstcheck.c: (gst_check_init):
28430 * check/gstcheck.h:
28431 add debugging category
28432 use GST_START_TEST now, so we add a debug line
28434 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28436 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28437 add test for state change message on a bin
28438 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28440 * gst/gstbin.c: (gst_bin_init):
28441 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28442 * gst/gstelement.c: (gst_element_post_message),
28443 (gst_element_set_state):
28444 * gst/gstelementfactory.c: (gst_element_factory_create):
28445 * gst/gstmessage.c: (gst_message_new):
28446 * gst/gstscheduler.c:
28447 various debugging additions and cleanups
28449 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28451 * check/Makefile.am:
28452 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28454 adding tests for elements
28455 * gst/gstelement.c: (gst_element_dispose):
28457 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28459 * gst/registries/gstlibxmlregistry.c: (load_feature):
28460 plug more leaks. A simple gst_init() now is leakfree, yay.
28462 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28464 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28465 (gst_xml_registry_load):
28466 plug another memleak
28468 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28471 use GST_SET_ERROR_CFLAGS
28472 * docs/faq/cvs.xml:
28473 change to ERROR_CFLAGS
28475 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28478 make GST_ERROR_CFLAGS overridable and re-enable Werror
28479 * docs/faq/cvs.xml:
28480 add a note about error CFLAGS
28481 * docs/gst/tmpl/gstfakesrc.sgml:
28482 * gst/elements/gstfakesrc.c:
28483 comment out some unused code
28484 * gst/gst.c: (split_and_iterate):
28485 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28489 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28491 * common/Makefile.am:
28492 * common/gtk-doc.mak:
28493 * docs/gst/Makefile.am:
28494 factor out gtk-doc.mak
28496 2005-07-07 Wim Taymans <wim@fluendo.com>
28498 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28499 (gst_thread_scheduler_dispose):
28500 Unlock the STREAM_LOCK completely.
28502 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28504 * check/Makefile.am:
28505 * check/elements/.cvsignore:
28506 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28507 (START_TEST), (fakesrc_suite), (main):
28508 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28509 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28510 (gst_fakesrc_create), (gst_fakesrc_start):
28511 * gst/elements/gstfakesrc.h:
28512 adding a first element test
28514 2005-07-07 Andy Wingo <wingo@pobox.com>
28516 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28519 2005-07-07 Wim Taymans <wim@fluendo.com>
28525 2005-07-07 Wim Taymans <wim@fluendo.com>
28527 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28528 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28529 Allow subclasses to implement their own negotiation.
28531 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28533 * docs/design/part-gstbin.txt:
28534 * docs/design/part-gstpipeline.txt:
28535 Update design notes to reflect the movement of
28536 responsibility for bus handling from GstPipeline to
28539 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28542 Remove unnecessary queue2/3/4 examples.
28544 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28546 * examples/Makefile.am:
28547 * examples/helloworld/helloworld.c: (event_loop), (main):
28548 * examples/queue/queue.c: (event_loop), (main):
28549 * examples/queue2/queue2.c: (main):
28550 Update a couple of the examples to work again.
28552 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28553 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28554 Spelling corrections and extra debug.
28556 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28557 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28558 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28560 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28561 (gst_pipeline_change_state):
28562 * gst/gstpipeline.h:
28563 Move the bus handler for children to the GstBin, and create a
28564 separate bus for receiving messages from children to the one the
28565 bus sends 'upwards' on.
28567 2005-07-06 Wim Taymans <wim@fluendo.com>
28570 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28571 (gst_base_sink_handle_object), (gst_base_sink_loop),
28572 (gst_base_sink_change_state):
28573 * gst/base/gstbasesink.h:
28574 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28575 (gst_base_src_init), (gst_base_src_setcaps),
28576 (gst_base_src_getcaps), (gst_base_src_loop),
28577 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28578 (gst_base_src_start), (gst_base_src_change_state):
28579 * gst/base/gstbasesrc.h:
28580 Make basesrc negotiate.
28581 Handle the case where preroll fails in basesink.
28584 2005-07-06 Wim Taymans <wim@fluendo.com>
28586 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28587 Implement the fixate function.
28588 Clean up acceptcaps.
28590 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28592 * docs/pwg/building-filterfactory.xml:
28593 * docs/pwg/pwg.xml:
28594 Remove never-written filter-factory chapter; I'll add the various
28595 base classes to part 4 ("other element types") later on.
28597 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28599 * docs/pwg/advanced-negotiation.xml:
28600 * docs/pwg/building-boiler.xml:
28601 * docs/pwg/building-pads.xml:
28602 * docs/pwg/pwg.xml:
28603 * examples/pwg/Makefile.am:
28604 Add a chapter on caps negotiation, simplify the original code
28605 samples a bit w.r.t. caps negotiation, add link to the advanced
28606 section. Add a bunch of examples showing different use cases of
28607 different types of caps negotiation. Upstream renegotiation isn't
28608 fully documented yet since nobody knows how that works.
28610 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28612 * check/gst/gstpad.c:
28613 * check/gstcheck.c:
28614 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28615 if pad has no parent, return NULL as list of internal links
28617 2005-07-05 Andy Wingo <wingo@pobox.com>
28619 * gst/elements/gstfilesrc.c:
28620 * gst/elements/gstfakesrc.c:
28621 * gst/base/gstpushsrc.c:
28622 * gst/base/gstbasesrc.h:
28623 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28625 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28628 better report generation target (lcov needs a patch)
28630 2005-07-05 Andy Wingo <wingo@pobox.com>
28632 * gst/elements, testsuite: Null if we got it...
28634 2005-07-05 Wim Taymans <wim@fluendo.com>
28637 * libs/gst/dataprotocol/Makefile.am:
28638 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28639 * libs/gst/dataprotocol/dataprotocol.h:
28640 * pkgconfig/Makefile.am:
28641 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28642 * pkgconfig/gstreamer-dataprotocol.pc.in:
28643 Ported dataprotol to 0.9.
28644 Added pkgconfig files.
28646 2005-07-05 Andy Wingo <wingo@pobox.com>
28648 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28649 Default to returning TRUE for the case when tranform_caps returns
28650 a fixed caps, like for identity or volume.
28652 * check/gst/gstbus.c (pound_bus_with_messages):
28653 * check/gst/gstmessage.c (START_TEST):
28654 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28655 message API change.
28657 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28658 logic weaks here: always run transform_caps, trying passthrough
28659 operation only if the original caps intersects with the transform.
28661 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28662 source and sink caps.
28664 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28665 Intersect the peer caps with the pad template before going into
28667 (gst_base_transform_transform_caps): More debugging.
28669 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28672 2005-07-04 Edward Hervey <edward@fluendo.com>
28676 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28679 2005-07-04 Andy Wingo <wingo@pobox.com>
28681 * check/gst/gstpad.c: Only set explicit caps on pads.
28683 2005-07-01 Andy Wingo <wingo@pobox.com>
28685 * tests/network-clock.scm: Commentary update.
28687 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28688 Didn't really make sense, not implementable with basetransform,
28690 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28691 attempt at implementing the sync property, needs an unlock method.
28693 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28694 New func, by default returns the same caps (the identity
28696 (gst_base_transform_getcaps): Uses transform_caps to return
28697 something sensible.
28698 (gst_base_transform_setcaps): Complicated logic to get caps on
28699 both pads, even if they are different, and to call set_caps once
28700 for every time both pads get their caps set.
28701 (gst_base_transform_handle_buffer): Give the ref to the transform
28702 function. Allows in-place modification of the buffer.
28704 * gst/base/gstbasetransform.h (transform_caps): New class method.
28705 Given caps on one side, what can I do on the other.
28706 (set_caps): Take two caps, one for each side of the element.
28709 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28710 caps in place. This is safe because we can check the mutability of
28711 the caps, and a good idea because fixate functions are just called
28712 as a matter of last resort. (Not actually implemented.)
28713 (gst_pad_set_caps): If the caps we're setting is actually the same
28714 as the existing pad caps, just update the pointer without calling
28715 setcaps. Assert that caps is either NULL or fixed, as per the
28718 * gst/gstghostpad.c: Update for fixate changes.
28720 2005-07-02 Andy Wingo <wingo@pobox.com>
28723 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28724 two refcounts makes it immutable, which is enough. Doc more.
28726 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28728 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28729 Put the mini_object into GValue as a mini_object,
28730 not a gpointer, since that's how we declared
28733 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28735 * examples/pwg/Makefile.am:
28736 Fix buildbot again.
28738 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28740 * docs/pwg/building-testapp.xml:
28742 * examples/pwg/Makefile.am:
28745 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28748 * examples/Makefile.am:
28749 * examples/pwg/Makefile.am:
28750 * examples/pwg/extract.pl:
28751 Enable building the PWG examples.
28752 * docs/pwg/advanced-interfaces.xml:
28753 Add URI interface stub.
28754 * docs/pwg/advanced-types.xml:
28755 * docs/pwg/other-autoplugger.xml:
28756 * docs/pwg/appendix-porting.xml:
28757 * docs/pwg/pwg.xml:
28758 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28759 * docs/pwg/building-boiler.xml:
28760 * docs/pwg/building-chainfn.xml:
28761 * docs/pwg/building-pads.xml:
28762 * docs/pwg/building-props.xml:
28763 * docs/pwg/building-state.xml:
28764 * docs/pwg/building-testapp.xml:
28765 Update the building-*.xml parts for 0.9 changes. All examples
28766 code blocks compile in examples/pwg/*.
28768 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28770 * docs/manual/advanced-autoplugging.xml:
28771 * docs/manual/appendix-checklist.xml:
28772 * docs/manual/appendix-integration.xml:
28773 * docs/manual/highlevel-components.xml:
28774 Fix playbin/decodebin examples, update docs a bit, mention bus
28775 instead of signals in various places, mention kmplayer and
28776 kaffeine since they have a working GStreamer backend in the KDE
28779 2005-06-30 Wim Taymans <wim@fluendo.com>
28782 * docs/design/draft-ghostpads.txt:
28783 * docs/design/draft-push-pull.txt:
28784 * docs/design/draft-query.txt:
28785 * docs/design/part-TODO.txt:
28786 * docs/design/part-query.txt:
28787 Added CHANGES-0.9 doc, updated status of other docs.
28792 2005-06-30 Wim Taymans <wim@fluendo.com>
28794 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28795 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28796 (gst_base_sink_change_state):
28797 * gst/base/gstbasesink.h:
28798 Some tweaks, only EOS and a buffer complete a preroll.
28800 2005-06-30 Andy Wingo <wingo@pobox.com>
28802 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28803 activate_push down to the internal pad as well.
28805 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28807 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28809 * gst/gsttaginterface.c:
28810 Some documentation fixes (#307394 and #307397).
28812 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28814 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28816 * gst/gstvalue.c: (gst_value_intersect_list):
28817 Fix memleak (#309125).
28819 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28821 * docs/manual/advanced-dataaccess.xml:
28822 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28823 * docs/manual/basics-pads.xml:
28824 Add reference for filtered caps to above chapter.
28826 2005-06-30 Wim Taymans <wim@fluendo.com>
28828 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28829 (gst_bin_change_state):
28831 Lame attempt at making the state change function a bit
28834 2005-06-30 Wim Taymans <wim@fluendo.com>
28836 * docs/design/part-clocks.txt:
28837 * docs/design/part-element-sink.txt:
28838 * docs/design/part-events.txt:
28839 * docs/design/part-preroll.txt:
28840 * docs/design/part-states.txt:
28841 Some more tweeks and additions to the docs.
28843 2005-06-30 Wim Taymans <wim@fluendo.com>
28845 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28846 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28847 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28848 (gst_pad_check_pull_range), (gst_pad_get_range),
28849 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28851 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28852 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28853 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28854 (gst_pad_remove_buffer_probe):
28855 Removed atomic operations, use existing LOCK.
28856 Move exception handling out of main code path.
28858 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28860 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28861 (silly_return_true_function), (gst_pad_class_init),
28862 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28863 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28864 (gst_pad_send_event):
28865 Fix accumulator, add default value by using _emitv() instead
28866 of _emit() for signal emission.
28868 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28870 * docs/manual/advanced-dataaccess.xml:
28871 * examples/manual/Makefile.am:
28873 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28876 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28878 * gst/elements/gstfilesink.c: (gst_filesink_render):
28879 Simplify code so that we don't have to handle short
28880 writes and return GST_FLOW_ERROR if an error occured.
28882 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28884 * docs/gst/gstreamer-docs.sgml:
28885 Remove probes more.
28887 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28889 * docs/gst/gstreamer-sections.txt:
28890 * docs/gst/tmpl/gstpad.sgml:
28891 * docs/gst/tmpl/gstprobe.sgml:
28893 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28894 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28895 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28896 (gst_pad_push_event), (gst_pad_send_event):
28898 * gst/gstutils.c: (gst_pad_add_data_probe),
28899 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28900 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28901 (gst_pad_remove_buffer_probe):
28903 Remove old probes, add new g-signal-based probes and some utility
28906 2005-06-29 Edward Hervey <edward@fluendo.com>
28908 * gst/gstelementfactory.c:
28911 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28912 the definition to the header file.
28914 2005-06-29 Andy Wingo <wingo@pobox.com>
28916 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28917 plugins from the source directory.
28919 2005-06-29 Wim Taymans <wim@fluendo.com>
28921 * docs/gst/tmpl/gstbuffer.sgml:
28922 * docs/gst/tmpl/gstclock.sgml:
28923 Some fixings for blantently wrong text.
28925 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28927 * check/Makefile.am:
28928 * gst/gst.c: (add_path_func), (init_pre):
28929 * gst/gstregistry.c: (gst_registry_add_path):
28930 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28931 only scan the GST_PLUGIN_PATH locations, and not add
28934 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28936 * docs/gst/gstreamer-sections.txt:
28937 * docs/gst/tmpl/gstbasesrc.sgml:
28938 * gst/gstelement.c:
28939 * gst/gstelement.h:
28944 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28946 * docs/manual/advanced-autoplugging.xml:
28947 Fix autoplugging example.
28949 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28951 * docs/manual/advanced-autoplugging.xml:
28952 * docs/manual/mime-world.fig:
28953 Try to get autoplugging working, fix type detection. Fix text
28954 in hello-world image.
28956 2005-06-29 Wim Taymans <wim@fluendo.com>
28958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28959 (gst_base_sink_change_state):
28963 map SIGNAL and BROADCAST to the right function.
28966 Remove redundant braces.
28968 * gst/gstpad.c: (gst_pad_set_caps):
28969 Don't call setcaps function when reseting caps to NULL.
28971 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28972 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28973 (gst_system_clock_id_unschedule):
28974 Use BROADCAST as this is what we do.
28976 2005-06-29 Wim Taymans <wim@fluendo.com>
28978 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28979 We are actually prerolling before commiting the state
28982 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28984 * docs/manual/advanced-clocks.xml:
28985 * docs/manual/advanced-interfaces.xml:
28986 * docs/manual/advanced-metadata.xml:
28987 * docs/manual/advanced-position.xml:
28988 * docs/manual/advanced-schedulers.xml:
28989 * docs/manual/advanced-threads.xml:
28990 * docs/manual/appendix-porting.xml:
28991 * docs/manual/basics-bins.xml:
28992 * docs/manual/basics-bus.xml:
28993 * docs/manual/basics-elements.xml:
28994 * docs/manual/basics-helloworld.xml:
28995 * docs/manual/basics-pads.xml:
28996 * docs/manual/highlevel-components.xml:
28997 * docs/manual/manual.xml:
28998 * docs/manual/thread.fig:
28999 Update (until threads/scheduling) Application Development Manual;
29000 remove GstThread, add GstBus, add simple porting checklist, add
29001 documentation for tag writing, clocks, make all examples until this
29002 part compile and run.
29003 * examples/manual/Makefile.am:
29004 Update from changes to Application Development Manual; add bus
29005 example, remove thread example.
29007 2005-06-28 Wim Taymans <wim@fluendo.com>
29009 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29010 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29011 (gst_bus_source_dispatch):
29012 Add debugging messages.
29013 Make internal methods static.
29014 Handle the case where the bus is flushed in the handler.
29016 * gst/gstelement.c: (gst_element_get_bus):
29017 Fix refcount in _get_bus();
29019 * gst/gstpipeline.c: (gst_pipeline_change_state),
29020 (gst_pipeline_get_clock_func):
29021 Clock refcounting fixes.
29022 Handle the case where preroll timed out more gracefully.
29024 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29025 Clean up the internal thread in dispose. This is needed
29026 for subclasses that actually get disposed.
29028 * gst/schedulers/threadscheduler.c:
29029 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29030 (gst_thread_scheduler_dispose):
29031 Free thread pool in dispose.
29033 2005-06-28 Andy Wingo <wingo@pobox.com>
29035 * tests/network-clock-utils.scm (debug, print-event): New utils.
29037 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29038 (*packet-loss*): Unified loss probability.
29039 (network-time): Report out-of-band events.
29041 * tests/plot-data: Add support for out-of-band events. Hack it
29042 into this script instead of passing it down the pipe; should fix
29045 2005-06-28 Wim Taymans <wim@fluendo.com>
29047 * docs/gst/gstreamer.types:
29048 * docs/gst/tmpl/gstbasesrc.sgml:
29049 * docs/gst/tmpl/gstpad.sgml:
29052 2005-06-28 Wim Taymans <wim@fluendo.com>
29054 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29055 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29056 (gst_proxy_pad_do_fixatecaps):
29057 Correctly proxy the check_pull_range function.
29059 2005-06-28 Andy Wingo <wingo@pobox.com>
29061 * tests/network-clock.scm: Removed need for slib.
29063 2005-06-28 Wim Taymans <wim@fluendo.com>
29065 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29066 (gst_basesink_preroll_queue_flush):
29067 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29068 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29069 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29070 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29071 (gst_proxy_pad_set_property):
29074 * gst/gstqueue.c: (gst_queue_init):
29075 The deprecated pad loop function is removed now.
29077 2005-06-28 Andy Wingo <wingo@pobox.com>
29079 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29080 New parameters, simulate network packet loss.
29082 * tests/network-clock-utils.scm: Initialize the RNG.
29084 2005-06-28 Wim Taymans <wim@fluendo.com>
29086 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29087 (gst_basesink_event), (gst_basesink_deactivate):
29088 Flushing the preroll queue always needs to unlock the waiters.
29090 2005-06-28 Edward Hervey <edward@fluendo.com>
29092 * gst/gstpipeline.c: (gst_pipeline_send_event):
29093 Wheen a seek was successful on a pipeline, set the stream_time to the
29094 seek offset in order to have a synchronized stream_time.
29096 2005-06-28 Wim Taymans <wim@fluendo.com>
29098 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29099 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29100 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29101 (gst_proxy_pad_do_fixatecaps):
29102 Call wrapper function instead of just calling the function
29103 pointers. This takes care of any locking and whatmore.
29105 2005-06-28 Wim Taymans <wim@fluendo.com>
29107 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29108 (gst_pad_pull_range):
29110 CONNECTED -> LINKED.
29112 2005-06-28 Andy Wingo <wingo@pobox.com>
29114 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29115 source-munging commit!!!
29117 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29118 (gst_object_sink): Take gpointer arguments, not GstObject --
29119 avoids casts. Like GLib.
29121 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29124 2005-06-27 Andy Wingo <wingo@pobox.com>
29126 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29129 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29130 returns a sorted copy of the trace list.
29131 (gst_alloc_trace_print_live): New API, only prints traces with
29132 live objects. Sort the list.
29133 (gst_alloc_trace_print_all): Sort the list.
29134 (gst_alloc_trace_print): Align columns.
29136 * gst/elements/gstttypefindelement.c:
29137 * gst/elements/gsttee.c:
29138 * gst/base/gstbasesrc.c:
29139 * gst/base/gstbasesink.c:
29140 * gst/base/gstbasetransform.c:
29141 * gst/gstqueue.c: Adapt for pad activation changes.
29143 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29145 (gst_pipeline_dispose): Drop ref on sched.
29147 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29148 (gst_pad_activate_default): Push mode by default.
29149 (pre_activate_switch, post_activate_switch): New stubs, things to
29150 do before and after switching activation modes on pads.
29151 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29152 the pad's activate function to choose which mode to activate.
29153 Shortcut on deactivation and call the right function directly.
29154 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29156 (gst_pad_activate_push): New API, same for push mode.
29157 (gst_pad_set_activate_function)
29158 (gst_pad_set_activatepull_function)
29159 (gst_pad_set_activatepush_function): Setters for new API.
29161 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29162 Trace all miniobjects.
29163 (gst_mini_object_make_writable): Unref the arg if we copy, like
29164 gst_caps_make_writable.
29166 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29168 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29169 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29170 Adapt for new pad API.
29172 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29174 * gst/gstelement.h:
29175 * gst/gstelement.c (gst_element_iterate_src_pads)
29176 (gst_element_iterate_sink_pads): New API functions.
29178 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29179 should fold into gstiterator.c in some form.
29180 (gst_element_pads_activate): Simplified via use of fold and
29181 delegation of decisions to gstpad->activate.
29183 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29186 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29187 class once in init, like gstmessage. Didn't run into this issue
29188 but it seems correct. Don't initialize a trace, gstminiobject does
29191 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29192 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29194 (assert_live_count): New util function, uses alloc traces to check
29197 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29198 To be modified when unlink drops the internal pad.
29200 2005-06-27 Wim Taymans <wim@fluendo.com>
29202 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29203 (gst_bin_change_state):
29204 Cleanup the get_state() function a little, make sure it
29205 iterates the same set of elements.
29206 Added stub iterate_state_order().
29208 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29210 * docs/gst/gstreamer-docs.sgml:
29211 * docs/gst/gstreamer-sections.txt:
29212 * docs/gst/gstreamer.types:
29213 * docs/gst/tmpl/gstbasesink.sgml:
29214 * docs/gst/tmpl/gstbasesrc.sgml:
29215 * docs/gst/tmpl/gstbasetransform.sgml:
29216 * docs/gst/tmpl/gstelement.sgml:
29217 * docs/gst/tmpl/gstiterator.sgml:
29218 * gst/base/gstbasesrc.c:
29219 * gst/base/gstbasesrc.h:
29220 * gst/base/gstbasetransform.h:
29221 * gst/gstelement.c:
29222 * gst/gstiterator.h:
29223 adding basetransform and iterator docs
29225 2005-06-27 Andy Wingo <wingo@pobox.com>
29227 * docs/design/part-activation.txt: Notes on how activation should
29228 work -- not quite implemented yet.
29230 2005-06-25 Wim Taymans <wim@fluendo.com>
29232 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29233 At least get the chain function correct, needs more
29236 2005-06-25 Wim Taymans <wim@fluendo.com>
29238 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29239 (gst_basesink_handle_object), (gst_basesink_event),
29240 (gst_basesink_do_sync), (gst_basesink_handle_event),
29241 (gst_basesink_change_state):
29243 Right, two problems here: ghostpads don't take locks and
29244 glib _rec_mutex_lock_full() with depth==0 still locks.
29245 Catch illegal locking and g_warn them.
29247 2005-06-25 Wim Taymans <wim@fluendo.com>
29249 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29250 Have to check for completion now...
29252 2005-06-25 Wim Taymans <wim@fluendo.com>
29254 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29255 (gst_basesink_handle_object), (gst_basesink_event),
29256 (gst_basesink_do_sync), (gst_basesink_handle_event),
29257 (gst_basesink_change_state):
29259 Unlock STREAM_LOCK whatever the recursion was.
29261 2005-06-25 Wim Taymans <wim@fluendo.com>
29263 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29264 (gst_basesink_preroll_queue_empty),
29265 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29266 (gst_basesink_event), (gst_basesink_do_sync),
29267 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29268 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29269 (gst_basesink_change_state):
29270 Reworked the base sink, handle event and buffer serialisation
29271 correctly and removed possible deadlock.
29272 Handle EOS correctly.
29274 2005-06-25 Wim Taymans <wim@fluendo.com>
29276 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29277 (gst_pipeline_change_state):
29278 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29279 Allow elements to post EOS in the state change function.
29280 Fix up -launch, make it exit the poll loop when the
29281 pipeline actually changed state.
29282 Fix up warning parsing in -launch.
29284 2005-06-25 Wim Taymans <wim@fluendo.com>
29286 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29287 (gst_tee_sink_activate):
29288 Core takes STREAM_LOCK for us now.
29290 2005-06-25 Wim Taymans <wim@fluendo.com>
29292 * gst/gstelement.c: (gst_element_get_state_func),
29293 (gst_element_set_state):
29294 * gst/gstelement.h:
29295 * gst/gstmessage.c: (gst_message_parse_error),
29296 (gst_message_parse_warning):
29297 Keep track of current target state while performing a state
29298 change so that subclasses can do something interesting.
29299 Fix parsing of warning/error messages when GError is NULL.
29301 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29303 * docs/gst/Makefile.am:
29304 * docs/gst/gstreamer-docs.sgml:
29305 * docs/gst/gstreamer-sections.txt:
29306 * docs/gst/gstreamer.types:
29307 * docs/gst/tmpl/gstbasesink.sgml:
29308 * docs/gst/tmpl/gstbasesrc.sgml:
29309 * docs/gst/tmpl/gstbin.sgml:
29310 * docs/gst/tmpl/gstcompat.sgml:
29311 * docs/gst/tmpl/gstfakesink.sgml:
29312 * docs/gst/tmpl/gstfakesrc.sgml:
29313 * docs/gst/tmpl/gstfilesink.sgml:
29314 * docs/gst/tmpl/gstfilesrc.sgml:
29315 * docs/gst/tmpl/gstindex.sgml:
29316 * docs/manual/appendix-quotes.xml:
29317 * gst/base/gstbasesrc.h:
29318 * gst/elements/gstfakesrc.h:
29319 * gst/gstmessage.h:
29320 start pulling in base classes and elements in our docs
29322 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29324 * docs/gst/Makefile.am:
29325 * docs/libs/Makefile.am:
29326 fixed make distcheck with gtk-doc 1.3
29328 2005-06-23 Wim Taymans <wim@fluendo.com>
29330 * gst/gstelement.c: (gst_element_get_state_func),
29331 (gst_element_set_state), (gst_element_change_state):
29332 When the state did not change, also report NO_PREROLL
29335 2005-06-23 Wim Taymans <wim@fluendo.com>
29337 * gst/gstpad.c: (gst_pad_event_default):
29338 * gst/gstqueue.c: (gst_queue_loop):
29339 No unsafe task pausing please.
29341 2005-06-23 Wim Taymans <wim@fluendo.com>
29343 * gst/schedulers/threadscheduler.c:
29344 (gst_thread_scheduler_task_start),
29345 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29346 Ref the task before pushing it on the threadpool. This
29347 makes sure that we have a ref when the threadfunction is
29350 2005-06-23 Andy Wingo <wingo@pobox.com>
29352 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29353 offset is greater than the file's size.
29355 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29356 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29357 * gst/gstobject.c (gst_object_class_init): Make the class lock
29358 recursive. Wim won't let me drop deep_notify. Decodebin works
29359 again, whoopdy doo.
29361 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29362 internal pad, and hacks accordingly. Doesn't do it on the target
29363 pad because we change its caps. Probably catches all cases of
29365 (gst_ghost_pad_set_property): Connect to notify::caps as
29368 * tests/network-clock.scm (plot-simulation): Pipe data to the
29369 elite python skript.
29371 * tests/network-clock-utils.scm (define-parameter): New macro,
29372 defines a parameter that can be set via the command line.
29373 (set-parameter!, parse-parameter-arguments): Command line args
29376 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29379 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29381 * gst/elements/gsttypefindelement.c:
29382 (gst_type_find_element_handle_event):
29383 Don't restart typefinding on a discont.
29384 * gst/gstelement.c: (gst_element_set_state):
29385 Debug spelling fix.
29386 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29387 Allow changing mode of an active pad.
29388 Debug output fixes.
29389 * gst/registries/gstlibxmlregistry.c: (load_feature):
29390 Don't cast a static pad template to a normal pad template.
29392 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29394 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29395 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29396 remove gst_strtoll completely, since it didn't actually do
29397 anything more than what g_ascii_strtoull already does.
29398 check for range errors when deserializing
29399 do a cast for the unsigned cases; but further fixing needs
29400 a decision on what the interpretation of "(int)" and
29401 deserialization should be for values that fall outside the
29402 type's boundaries (ie, refuse, or interpret as casting)
29404 2005-06-23 Wim Taymans <wim@fluendo.com>
29406 * check/Makefile.am:
29407 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29408 * docs/design/part-live-source.txt:
29409 * docs/design/part-states.txt:
29410 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29411 (gst_basesrc_set_live), (gst_basesrc_is_live),
29412 (gst_basesrc_get_range), (gst_basesrc_activate),
29413 (gst_basesrc_change_state):
29414 * gst/base/gstbasesrc.h:
29415 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29416 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29417 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29418 * gst/gstelement.c: (gst_element_get_state_func),
29419 (gst_element_set_state):
29420 * gst/gstelement.h:
29422 * tools/gst-launch.c: (event_loop), (main):
29423 Added support for live sources and other elements that
29425 Updated design docs, added live-source design doc.
29426 Implemented live source functionality in basesrc
29427 Fix error condition in _bin_get_state()
29428 Implement live source handling in -launch.
29429 Added check for live sources.
29430 Fixed case in GstBin where elements were changed state
29434 2005-06-23 Andy Wingo <wingo@pobox.com>
29436 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29437 borken refcounting.
29439 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29440 gst_caps_replace takes care of this for us.
29442 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29443 gst_pad_set_caps on the target, not just its setcaps() function.
29445 * tests/network-clock.scm:
29446 * tests/network-clock-utils.scm: A network clock simulator.
29447 Something of an algorithmic testbed before doing something in C.
29449 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29451 * check/Makefile.am:
29452 * check/gst/capslist.h:
29453 copy over from 0.8, and add two with bitmasks specified with
29455 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29456 add test to parse everything from capslist.h
29457 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29459 add test for structure deserialization
29460 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29461 add tests for deserialization of strings to int types
29462 * gst/gststructure.c: (gst_structure_nth_field_name):
29463 * gst/gststructure.h:
29464 add a way to get the name of a field referenced by index
29465 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29466 instead of checking if the resulting long long lies between
29467 min and max, we check if the long long would fit into
29468 a number of bytes for the final type.
29469 This fixes cases where a string represents 2^32 - 1, which
29470 when cast to int would be the (valid) -1, but is bigger than
29473 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29475 * gst/parse/grammar.y:
29476 add a log line for type deserialization
29478 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29480 * check/gst/gstvalue.c: (START_TEST):
29481 * gst/gstvalue.c: (gst_value_deserialize):
29482 return long long, not int, so gint64 deserialization actually
29483 works. Is there any flag that makes the compiler check this ?
29486 2005-06-22 Wim Taymans <wim@fluendo.com>
29489 Added convenience macros for setting buffers in GValue.
29491 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29493 * check/gst/.cvsignore:
29494 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29495 add a test deserializing int64, and comment part out because
29498 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29500 * check/Makefile.am:
29501 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29502 * testsuite/Makefile.am:
29503 * testsuite/caps/Makefile.am:
29504 * testsuite/caps/value_serialize.c:
29505 * testsuite/test_gst_init.c:
29506 move a value_serialize test over
29508 2005-06-20 Wim Taymans <wim@fluendo.com>
29513 * gst/gstvalue.c: (gst_value_compare_buffer),
29514 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29515 (gst_value_compare_flags), (gst_value_serialize_flags),
29516 (gst_value_deserialize_flags), (_gst_value_initialize):
29517 Fix serialisation of buffers, they are not boxed types anymore
29519 2005-06-20 Wim Taymans <wim@fluendo.com>
29521 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29522 Testcase to show error in buffer-on-caps serialisation.
29524 2005-06-20 Andy Wingo <wingo@pobox.com>
29526 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29527 will be adding to later.
29529 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29530 if its socks fill with rocks.
29531 (gst_system_clock_obtain): Set the name on object construction.
29532 Avoid double-checked locking.
29534 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29536 * gst/gsturi.c: (gst_element_make_from_uri):
29537 Fix potential endless loop.
29539 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29541 * check/Makefile.am:
29543 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29545 move over from testsuite dir and clean up
29548 * testsuite/Makefile.am:
29549 * testsuite/tags/.cvsignore:
29550 * testsuite/tags/Makefile.am:
29551 * testsuite/tags/merge.c:
29552 remove testsuite/tags
29554 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29556 * docs/gst/gstreamer-sections.txt:
29557 * docs/gst/tmpl/gstenumtypes.sgml:
29558 * win32/gstenumtypes.c:
29559 clean up documentation build a little
29561 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29563 * check/gstcheck.h:
29564 add macros for checking refcounts on objects and caps
29565 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29566 add some more unit tests
29567 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29568 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29569 fix leaked refcounts (I hope :)) so unittest works
29573 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29575 * configure.ac: back to HEAD
29577 === release 0.9.1 ===
29579 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29585 2005-06-17 Andy Wingo <wingo@pobox.com>
29587 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29588 assert; it's always possible that the pad gets deactivated in
29589 between the checks in gstpad.c and the implementation. Rely on
29590 finish_preroll() to return a FLUSHING or similar instead of on the
29593 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29594 clock and post an EOS message if we come out of finish_preroll in
29597 2005-06-16 David Schleef <ds@schleef.org>
29599 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29600 (gst_capsfilter_set_property): Allow NULL as possible value
29601 for filter_caps property, indicating GST_CAPS_ANY.
29603 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29605 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29607 * gst/schedulers/Makefile.am:
29609 * gstreamer.spec.in:
29612 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29614 * gstreamer.spec.in:
29617 2005-06-08 Andy Wingo <wingo@pobox.com>
29619 * gst/gstutils.c: RPAD fixes all around.
29620 (gst_element_link_pads): Refcounting fixes.
29622 * tools/gst-inspect.c:
29623 * tools/gst-xmlinspect.c:
29625 * gst/base/gsttypefindhelper.c:
29626 * gst/base/gstbasesink.c:
29627 * gst/gstqueue.c: RPAD fixes.
29629 * gst/gstghostpad.h:
29630 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29631 pads. The tricky thing is they provide both source and sink
29632 interfaces, since they proxy the internal pad for the external
29633 pad, and vice versa. Implement with lower-level ProxyPad objects,
29634 with the interior proxy pad as a child of the exterior ghost pad.
29635 Should write a doc on this.
29637 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29638 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29641 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29642 pads are real pads. No ghost pads in this file. Not documenting
29643 the myriad s/RPAD/PAD/ and REALIZE fixes.
29644 (gst_pad_class_init): Add properties for "direction" and
29645 "template". Both are construct-only, so they can't change during
29646 the life of the pad. Fixes properly deriving from GstPad.
29647 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29648 derived objects, just set properties when creating the objects via
29650 (gst_pad_get_parent): Implement as a function, return NULL if the
29651 parent is not an element.
29652 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29653 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29655 * gst/gstobject.c (gst_object_class_init): Make name a construct
29656 property. Don't set it in the object init.
29658 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29659 with UNKNOWN direction.
29660 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29661 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29662 (gst_element_remove_pad): Remove ghost-pad special cases.
29663 (gst_element_pads_activate): Remove rpad cruft.
29665 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29666 catch the pad's-parent-not-an-element case.
29668 * gst/gst.h: Include gstghostpad.h.
29670 * gst/gst.c (init_post): No more real, ghost pads.
29672 * gst/Makefile.am: Add gstghostpad.[ch].
29674 * check/Makefile.am:
29675 * check/gst/gstbin.c:
29676 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29677 into a bin creates ghost pads, and that the refcounts are right.
29678 Partly moved from gstbin.c.
29680 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29682 * check/gst-libs/.cvsignore:
29683 * check/gst/.cvsignore:
29684 * check/pipelines/.cvsignore:
29686 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29687 (START_TEST), (cleanup_suite), (main):
29688 add some tests related to cleanup after running pipelines
29690 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29692 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29693 add a testsuite for GstBuffer
29695 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29697 * gst/gstminiobject.h:
29698 add defines for accessing the refcount
29700 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29702 * Makefile.am: added support for html unit test coverage reports
29704 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29706 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29707 Free existing caps if the capsfilter changes. Add a FIXME about
29708 setting those caps on the pads.
29710 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29711 Before adding a ghost pad to a parent bin, check that there isn't
29712 already one for the element on the bin. Prevents infinite recursion
29713 when using decodebin in parse pipelines. Andy says he'll rewrite the
29714 way this works anyway, so ignore the hack.
29716 2005-06-02 Andy Wingo <wingo@pobox.com>
29718 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29719 file size, pass it on to the type find helper.
29721 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29722 segment_start and segment_end properly according to the seek
29723 method. Segment_end is still a bit flaky because offset can be
29724 negative for CUR and END cases, but it takes -1 as an "unset"
29727 2005-06-02 Wim Taymans <wim@fluendo.com>
29729 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29730 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29731 (gst_basesink_activate):
29732 * gst/base/gstbasesink.h:
29733 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29734 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29735 (gst_pad_query), (gst_pad_start_task):
29737 * gst/gstqueue.c: (gst_queue_bufferalloc),
29738 (gst_queue_handle_sink_event), (gst_queue_chain):
29739 Bufferalloc: return GstFlowReturn to more accuratly report
29740 why allocation failed.
29742 2005-06-02 Wim Taymans <wim@fluendo.com>
29744 * gst/gstpipeline.c: (gst_pipeline_send_event):
29745 Take snapshot of state without blocking.
29747 2005-06-02 Wim Taymans <wim@fluendo.com>
29749 * docs/design/part-TODO.txt:
29750 * docs/design/part-caps.txt:
29751 * docs/design/part-clocks.txt:
29752 * docs/design/part-negotiation.txt:
29753 * docs/design/part-preroll.txt:
29756 2005-05-30 Wim Taymans <wim@fluendo.com>
29758 * gst/elements/gstidentity.c: (gst_identity_event),
29759 (gst_identity_transform), (gst_identity_get_property):
29760 Protect last_message property as it is accessed from
29763 2005-05-30 Wim Taymans <wim@fluendo.com>
29765 * gst/gstelement.c: (gst_element_init),
29766 (gst_element_pads_activate), (gst_element_change_state):
29767 Slicker pad activation code.
29769 2005-05-30 Wim Taymans <wim@fluendo.com>
29772 * gst/gstelement.h:
29773 * gst/gstelementfactory.h:
29775 Move elementfactory methods to separate .h file.
29777 2005-05-30 Wim Taymans <wim@fluendo.com>
29779 * docs/design/part-overview.txt:
29780 * gst/gstsystemclock.h:
29781 Small typo fixes, doc updates.
29783 2005-05-30 Wim Taymans <wim@fluendo.com>
29785 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29786 (init_popt_callback):
29787 Remove cpu-opt flag.
29789 2005-05-30 Wim Taymans <wim@fluendo.com>
29791 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29792 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29794 Avoid typechecking in places where not needed.
29795 Added accessor for malloc_data.
29797 2005-05-30 Wim Taymans <wim@fluendo.com>
29799 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29800 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29801 (gst_pad_configure_sink), (gst_pad_configure_src),
29802 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29803 (gst_pad_start_task):
29804 Propagate errors from _set_caps() in configure_src/sink
29805 functions instead of returning TRUE.
29806 FLUSH events can travel up and downstream
29809 2005-05-30 Wim Taymans <wim@fluendo.com>
29811 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29812 (gst_basesink_activate):
29813 Handle EOS in preroll.
29815 2005-05-30 Wim Taymans <wim@fluendo.com>
29817 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29818 (gst_queue_loop), (gst_queue_handle_src_event):
29819 Remove old pieces of code
29820 Flushing the queue in an upstream event is a very bad idea.
29822 2005-05-26 Andy Wingo <wingo@pobox.com>
29824 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29825 gst_value_set_mini_object so as to add a ref on the object (which
29826 will be removed when the value is unset).
29828 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29829 arg type in ::handoff.
29831 * gst/gstelement.c (gst_element_change_state): Also deactivate
29832 pads in READY->NULL, just in case the element didn't make it to
29833 PAUSED. Wingo tested, Wim approved.
29835 2005-05-26 Wim Taymans <wim@fluendo.com>
29837 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29838 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29839 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29840 A flushing pad cannot be used to alloc_buffer from.
29842 2005-05-26 Wim Taymans <wim@fluendo.com>
29844 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29845 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29846 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29847 (gst_bus_create_watch), (gst_bus_add_watch_full):
29849 Implement a real GSource and use g_main_context_wakeup() to
29850 signal new messages instead of the socketpair.
29852 2005-05-25 Wim Taymans <wim@fluendo.com>
29854 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29855 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29856 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29857 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29858 (gst_pad_send_event), (gst_pad_start_task):
29859 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29860 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29861 (gst_queue_sink_activate), (gst_queue_src_activate),
29862 (gst_queue_change_state):
29864 Fix state changes for non sinks. We now change sinks, then elements
29865 with unconnected srcpads, then the rest.
29866 More efficient queue unlocking in flush and state changes.
29867 Set the pad activate mode even if it does not have an activate
29870 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29872 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29873 Don't go in pull mode for non-seekable sources.
29874 * gst/elements/gsttypefindelement.h:
29875 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29876 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29877 (free_entry), (stop_typefinding),
29878 (gst_type_find_element_handle_event), (find_peek),
29879 (gst_type_find_element_chain), (do_pull_typefind),
29880 (gst_type_find_element_change_state):
29881 Allow typefinding (w/o seeking) in push-mode, simplified version
29882 of what was in 0.8.
29883 * gst/gstutils.c: (gst_buffer_join):
29885 gst_buffer_join() from 0.8.
29887 2005-05-25 Wim Taymans <wim@fluendo.com>
29889 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29890 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29891 (gst_pad_send_event), (gst_pad_start_task):
29892 Disable attempt at mode switching until it is figured out.
29894 2005-05-25 Wim Taymans <wim@fluendo.com>
29896 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29897 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29898 (gst_basesink_finish_preroll), (gst_basesink_chain),
29899 (gst_basesink_loop), (gst_basesink_activate),
29900 (gst_basesink_change_state):
29901 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29902 (gst_basesrc_get_range), (gst_basesrc_loop),
29903 (gst_basesrc_activate):
29904 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29905 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29906 (gst_real_pad_init), (gst_real_pad_set_property),
29907 (gst_real_pad_get_property), (gst_pad_set_active),
29908 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29909 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29910 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29911 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29912 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29913 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29914 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29915 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29916 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29917 (gst_pad_stop_task):
29919 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29920 (gst_queue_loop), (gst_queue_src_activate):
29921 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29922 (gst_task_get_state):
29924 * gst/schedulers/threadscheduler.c:
29925 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29926 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29928 Remove ACTIVE pad flag, use FLUSHING everywhere
29929 Added _pad_chain(), _pad_get_range() to call chain/getrange
29931 Add locks around IS_FLUSHING when reading.
29932 Take STREAM lock in chain(), get_range() functions so plugins
29933 don't need to take it anymore.
29937 2005-05-25 Wim Taymans <wim@fluendo.com>
29939 * tools/gst-launch.c: (event_loop):
29940 Unref message after using its contents instead of
29943 2005-05-24 Wim Taymans <wim@fluendo.com>
29945 * docs/design/draft-ghostpads.txt:
29946 * docs/design/draft-push-pull.txt:
29947 * docs/design/draft-query.txt:
29948 * docs/design/part-overview.txt:
29949 Docs updates, added general overview doc.
29951 2005-05-21 David Schleef <ds@schleef.org>
29953 * docs/gst/tmpl/old/GstBin.sgml:
29954 * docs/gst/tmpl/old/GstBuffer.sgml:
29955 * docs/gst/tmpl/old/GstCaps.sgml:
29956 * docs/gst/tmpl/old/GstClock.sgml:
29957 * docs/gst/tmpl/old/GstCompat.sgml:
29958 * docs/gst/tmpl/old/GstData.sgml:
29959 * docs/gst/tmpl/old/GstElement.sgml:
29960 * docs/gst/tmpl/old/GstEvent.sgml:
29961 * docs/gst/tmpl/old/GstIndex.sgml:
29962 * docs/gst/tmpl/old/GstStructure.sgml:
29963 * docs/gst/tmpl/old/GstTag.sgml:
29964 * docs/gst/tmpl/old/cothreads.sgml:
29965 * docs/gst/tmpl/old/cothreads_compat.sgml:
29966 * docs/gst/tmpl/old/gettext.sgml:
29967 * docs/gst/tmpl/old/gobject2gtk.sgml:
29968 * docs/gst/tmpl/old/grammar.tab.sgml:
29969 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29970 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29971 * docs/gst/tmpl/old/gst_private.sgml:
29972 * docs/gst/tmpl/old/gstaggregator.sgml:
29973 * docs/gst/tmpl/old/gstarch.sgml:
29974 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29975 * docs/gst/tmpl/old/gstbufferstore.sgml:
29976 * docs/gst/tmpl/old/gstdata_private.sgml:
29977 * docs/gst/tmpl/old/gstdisksink.sgml:
29978 * docs/gst/tmpl/old/gstdisksrc.sgml:
29979 * docs/gst/tmpl/old/gstelementfactory.sgml:
29980 * docs/gst/tmpl/old/gstextratypes.sgml:
29981 * docs/gst/tmpl/old/gstfakesink.sgml:
29982 * docs/gst/tmpl/old/gstfakesrc.sgml:
29983 * docs/gst/tmpl/old/gstfdsink.sgml:
29984 * docs/gst/tmpl/old/gstfdsrc.sgml:
29985 * docs/gst/tmpl/old/gstfilesink.sgml:
29986 * docs/gst/tmpl/old/gstfilesrc.sgml:
29987 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29988 * docs/gst/tmpl/old/gstidentity.sgml:
29989 * docs/gst/tmpl/old/gstindexfactory.sgml:
29990 * docs/gst/tmpl/old/gstmarshal.sgml:
29991 * docs/gst/tmpl/old/gstmd5sink.sgml:
29992 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29993 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29994 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29995 * docs/gst/tmpl/old/gstpipefilter.sgml:
29996 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29997 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29998 * docs/gst/tmpl/old/gstshaper.sgml:
29999 * docs/gst/tmpl/old/gstspider.sgml:
30000 * docs/gst/tmpl/old/gstspideridentity.sgml:
30001 * docs/gst/tmpl/old/gststatistics.sgml:
30002 * docs/gst/tmpl/old/gsttee.sgml:
30003 * docs/gst/tmpl/old/gsttimecache.sgml:
30004 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30005 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30006 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30007 * docs/gst/tmpl/old/types.sgml:
30008 I didn't intend to add these or check them in.
30010 2005-05-19 David Schleef <ds@schleef.org>
30012 * configure.ac: Use -no-common everywhere. In a sane world, it
30013 would be the default in libtool, because without it, you can't
30014 build DLLs on Windows.
30015 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30016 * docs/gst/gstreamer-sections.txt:
30017 * docs/gst/tmpl/gstcpu.sgml:
30018 * docs/gst/tmpl/gstdata.sgml:
30019 * docs/gst/tmpl/gstthread.sgml:
30021 2005-05-19 David Schleef <ds@schleef.org>
30023 * gst/gstminiobject.c: (gst_value_set_mini_object),
30024 (gst_value_take_mini_object), (gst_value_get_mini_object):
30025 * gst/gstminiobject.h: Add GValue set/get functions.
30027 2005-05-19 Wim Taymans <wim@fluendo.com>
30029 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30030 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30031 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30033 * gst/gstbus.c: (gst_bus_post):
30034 * gst/gstelement.c: (gst_element_get_random_pad):
30035 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30036 Make subbufer unref the parent in finalize.
30037 some more debugging info.
30040 2005-05-19 Wim Taymans <wim@fluendo.com>
30042 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30043 (gst_basesink_init), (gst_basesink_finalize),
30044 (gst_basesink_activate), (gst_basesink_change_state):
30045 Don't free preroll queue too early.
30047 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30051 Hi, I'm outdated. Please shoot me.
30053 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30055 * gst/gstpipeline.c: (gst_pipeline_send_event):
30056 Do not access variables after they have been deleted.
30058 2005-05-19 Wim Taymans <wim@fluendo.com>
30060 * tools/gst-inspect.c: (print_plugin_features):
30061 A plugin feature does unfortunatly not use the
30064 2005-05-18 Wim Taymans <wim@fluendo.com>
30066 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30067 Port _span() functions to new subbuffers.
30069 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30071 * gst/gstbin.c: (gst_bin_add_func):
30072 Fix clock settery in bins when adding kids after the clock has
30075 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30077 * gst/elements/gstidentity.c: (gst_identity_class_init):
30078 Workaround until signals support GstMiniObject.
30080 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30083 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30085 2005-05-18 Wim Taymans <wim@fluendo.com>
30087 * gst/base/Makefile.am:
30088 * gst/base/gstadapter.c: (gst_adapter_base_init),
30089 (gst_adapter_class_init), (gst_adapter_init),
30090 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30091 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30092 (gst_adapter_flush), (gst_adapter_available),
30093 (gst_adapter_available_fast):
30094 * gst/base/gstadapter.h:
30095 Ported and added adapter to the base classes.
30097 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30100 * gst/gstmessage.c:
30101 Make sure the class is reffed/unreffed once before threads can be
30102 used. Fixes #304551.
30104 2005-05-17 Wim Taymans <wim@fluendo.com>
30106 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30107 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30108 * gst/gstminiobject.c: (gst_mini_object_get_type),
30109 (gst_mini_object_free):
30110 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30111 (gst_pad_push), (gst_pad_push_event):
30112 * gst/gstqueue.c: (gst_queue_change_state):
30113 Don't queue buffers in basesink when we are flushing.
30114 Unref buffer when flushing in basesink.
30115 Flush queue when going to READY
30116 Unref buffer when _push() returns an error.
30117 Don't free MiniObject instance when refcount is incremented
30118 in _finalize() so that we can recover objects.
30120 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30122 * docs/manual/advanced-schedulers.xml:
30123 * docs/manual/appendix-checklist.xml:
30124 * docs/pwg/advanced-clock.xml:
30125 * docs/pwg/advanced-interfaces.xml:
30126 * docs/pwg/advanced-request.xml:
30127 * docs/pwg/advanced-types.xml:
30128 * docs/pwg/intro-preface.xml:
30129 * examples/plugins/example.c: (gst_example_get_type),
30130 (gst_example_class_init), (gst_example_chain),
30131 (gst_example_set_property), (gst_example_get_property),
30132 (gst_example_change_state), (plugin_init):
30133 * examples/plugins/example.h:
30136 2005-05-17 Wim Taymans <wim@fluendo.com>
30138 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30139 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30140 * gst/gstqueue.c: (gst_queue_change_state):
30141 Clear queue when going to READY.
30142 Remove IN_SETCAPS flag too.
30144 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30146 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30147 Remove implicit cast from gboolean to GstElementStateReturn;
30148 make sure we still return failure in paused => ready case if
30149 the parent class fails to change state and our own stop
30152 2005-05-17 Wim Taymans <wim@fluendo.com>
30154 * tools/gst-launch.c: (event_loop):
30155 Message was unreffed too soon.
30157 2005-05-16 Andy Wingo <wingo@pobox.com>
30159 * gst/gstbin.c (sink_iterator_filter): Err... um...
30161 * check/gst/gstbin.c (test_ghost_pads): New test for the
30162 ghosting-if-elements-not-in-same-bin behavior.
30164 2005-05-16 David Schleef <ds@schleef.org>
30166 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30167 accessing refcount directly.
30169 2005-05-15 David Schleef <ds@schleef.org>
30171 * check/Makefile.am: remove GstData checks
30172 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30173 * gst/Makefile.am: add miniobject, remove data
30174 * gst/gst.h: add miniobject, remove data
30175 * gst/gstdata.c: remove
30176 * gst/gstdata.h: remove
30177 * gst/gstdata_private.h: remove
30178 * gst/gsttypes.h: remove GstEvent and GstMessage
30179 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30180 * gst/gstmarshal.list: change BOXED -> OBJECT
30182 Implement GstMiniObject.
30183 * gst/gstminiobject.c:
30184 * gst/gstminiobject.h:
30186 Modify to be subclasses of GstMiniObject.
30187 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30188 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30189 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30190 (gst_subbuffer_get_type), (gst_subbuffer_init),
30191 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30194 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30195 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30196 (_gst_event_copy), (gst_event_new):
30198 * gst/gstmessage.c: (_gst_message_initialize),
30199 (gst_message_get_type), (gst_message_class_init),
30200 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30201 (gst_message_new), (gst_message_new_error),
30202 (gst_message_new_warning), (gst_message_new_tag),
30203 (gst_message_new_state_changed), (gst_message_new_application):
30204 * gst/gstmessage.h:
30205 * gst/gstprobe.c: (gst_probe_perform),
30206 (gst_probe_dispatcher_dispatch):
30208 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30209 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30210 (_gst_query_copy), (gst_query_new):
30212 Update elements for GstData -> GstMiniObject changes
30214 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30215 (gst_queue_chain), (gst_queue_loop):
30216 * gst/elements/gstbufferstore.c:
30217 (gst_buffer_store_add_buffer_func),
30218 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30219 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30220 (gst_fakesink_render):
30221 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30222 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30223 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30224 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30225 (gst_filesrc_create_read):
30226 * gst/elements/gstidentity.c: (gst_identity_class_init):
30227 * gst/elements/gsttypefindelement.c:
30228 (gst_type_find_element_src_event), (free_entry_buffers),
30229 (gst_type_find_element_handle_event):
30230 * libs/gst/dataprotocol/dataprotocol.c:
30231 (gst_dp_header_from_buffer):
30232 * libs/gst/dataprotocol/dataprotocol.h:
30233 * libs/gst/dataprotocol/dp-private.h:
30235 2005-05-15 David Schleef <ds@schleef.org>
30237 * gst/elements/gstelements.c: Don't include headers that were
30240 2005-05-15 David Schleef <ds@schleef.org>
30242 * gst/elements/Makefile.am: Remove some elements that don't
30243 need to be in the core (or even exist at all).
30244 * gst/elements/gstaggregator.c:
30245 * gst/elements/gstaggregator.h:
30246 * gst/elements/gstmd5sink.c:
30247 * gst/elements/gstmd5sink.h:
30248 * gst/elements/gstmultifilesrc.c:
30249 * gst/elements/gstmultifilesrc.h:
30250 * gst/elements/gstpipefilter.c:
30251 * gst/elements/gstpipefilter.h:
30252 * gst/elements/gstshaper.c:
30253 * gst/elements/gstshaper.h:
30254 * gst/elements/gststatistics.c:
30255 * gst/elements/gststatistics.h:
30256 * po/POTFILES.in: Remove above files.
30258 2005-05-14 Andy Wingo <wingo@pobox.com>
30260 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30261 so as to get the refs right.
30262 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30263 unreffing objects that don't pass the filter.
30265 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30266 gst_element_set_bus.
30267 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30268 normal cases, this will destroy the bus.
30270 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30273 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30276 2005-05-13 Andy Wingo <wingo@pobox.com>
30278 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30279 gst_pad_link, call pad_link_maybe_ghosting,
30280 (pad_link_maybe_ghosting): Links pads, making sure that the
30281 elements being linked are in the same bin.
30282 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30283 Helpers for pad_link_maybe_ghosting.
30285 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30288 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30290 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30292 * docs/design/part-element-source.txt:
30295 2005-05-12 Wim Taymans <wim@fluendo.com>
30297 * gst/base/gstbasesink.c: (gst_basesink_init),
30298 (gst_basesink_activate):
30299 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30300 (gst_basesrc_is_seekable):
30301 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30302 (bin_element_is_sink), (gst_bin_change_state):
30303 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30304 * gst/gstelement.h:
30305 Identify sinks by their flag to avoid overly complicated
30307 Do state changes even for elements not reachable from the
30309 BaseSink is a sink now :)
30310 Some more debugging info in the basesrc.
30313 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30315 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30316 Implement _query on a bin, similar to _send_event.
30318 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30320 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30321 Discont event offset format should be GST_FORMAT_BYTES,
30322 not GST_FORMAT_TIME.
30324 2005-05-12 Wim Taymans <wim@fluendo.com>
30326 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30327 Same fix as Ronald's but without the signal.
30329 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30331 * gst/gstutils.c: (gst_element_query_position):
30332 No, an element is not a pad.
30334 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30336 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30337 (gst_bin_get_state):
30338 If a child is removed from a bin while we remove the child from
30339 the bin and while we're retrieving its state, signal this to the
30340 get_state function so we abort the wait (instead of waiting for
30341 a timeout) and can immediately re-iterate over all other elements.
30343 2005-05-12 Wim Taymans <wim@fluendo.com>
30345 * gst/base/Makefile.am:
30346 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30347 (gst_basesrc_start):
30348 * gst/base/gstbasesrc.h:
30349 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30350 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30351 (gst_pushsrc_init), (gst_pushsrc_create):
30352 * gst/base/gstpushsrc.h:
30353 Added is_seekable to BaseSrc
30354 Added simple PushSrc.
30356 2005-05-11 Wim Taymans <wim@fluendo.com>
30358 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30359 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30360 (gst_element_link_pads), (gst_element_query_position),
30361 (gst_element_query_convert), (intersect_caps_func),
30362 (gst_pad_query_position), (gst_pad_query_convert):
30363 Fix refcounting in utils function.
30364 No point in trying to activate a pad when it's added, it could
30365 be added from the state change function and then we deadlock, the
30366 element has to decide what to do.
30368 2005-05-10 Andy Wingo <wingo@pobox.com>
30370 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30371 *all* the arguments.
30373 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30374 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30375 lock (according to the docs -- if this is wrong change the docs).
30377 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30378 flush messages in the NULL state.
30380 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30381 message immediately and return.
30382 (gst_bus_set_flushing): New function. If a bus is flushing, it
30383 flushes out any queued messages and immediately unrefs new
30384 messages. This is so when an element goes to NULL, all of the
30385 unhandled messages coming from it can be freed, and their
30386 references to the element dropped. In other words: message source
30387 ref considered harmful :P
30389 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30390 we're finished with it.
30392 * gst/gstmessage.c (gst_message_new_state_changed):
30394 2005-05-10 Wim Taymans <wim@fluendo.com>
30396 * gst/gstvalue.c: (gst_value_compare_flags),
30397 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30398 (_gst_value_initialize):
30399 Added flags serialize/deserialize/compare code.
30401 2005-05-09 Andy Wingo <wingo@pobox.com>
30403 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30404 Intersect the peer's caps with our caps.
30406 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30408 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30409 * gst/elements/gsttypefindelement.c: (find_peek):
30410 Handle negative offsets better. Fixes decodebin.
30412 2005-05-09 Wim Taymans <wim@fluendo.com>
30414 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30415 (gst_base_transform_event):
30416 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30417 Implement accept_caps.
30418 Fix silly lock/unlock mismatch in base class.
30420 2005-05-09 Wim Taymans <wim@fluendo.com>
30422 * docs/design/draft-push-pull.txt:
30423 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30424 * gst/elements/gstfilesink.c: (gst_filesink_init),
30425 (gst_filesink_query):
30426 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30427 (gst_type_find_handle_src_query), (find_element_get_length):
30428 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30429 * gst/gstelement.h:
30430 * gst/gstmessage.c:
30431 * gst/gstmessage.h:
30432 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30433 (gst_real_pad_get_caps_unlocked),
30434 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30435 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30436 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30437 (gst_real_pad_dispose), (gst_real_pad_finalize),
30438 (gst_pad_load_and_link), (gst_pad_save_thyself),
30439 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30440 (gst_pad_check_pull_range), (gst_pad_pull_range),
30441 (gst_pad_template_get_type), (gst_pad_template_class_init),
30442 (gst_pad_template_init), (gst_pad_template_dispose),
30443 (name_is_valid), (gst_static_pad_template_get),
30444 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30445 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30446 (gst_pad_get_element_private), (gst_pad_start_task),
30447 (gst_pad_pause_task), (gst_pad_stop_task),
30448 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30449 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30450 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30451 (gst_ghost_pad_new):
30453 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30454 (gst_query_new_position), (gst_query_set_position),
30455 (gst_query_parse_position), (gst_query_new_convert),
30456 (gst_query_set_convert), (gst_query_parse_convert):
30458 * gst/gstqueryutils.c:
30459 * gst/gstqueryutils.h:
30460 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30461 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30462 (gst_queue_handle_src_query):
30463 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30464 (gst_element_query_position), (gst_element_query_convert),
30465 (intersect_caps_func), (gst_pad_query_position),
30466 (gst_pad_query_convert):
30468 * tools/gst-inspect.c: (print_pad_info):
30469 * tools/gst-xmlinspect.c: (print_element_info):
30470 Remove old query functions. Ported old code.
30471 Added position/convert helper functions to gstutils.
30472 Reordered gstpad.c code, grouping relevant things.
30473 Remove gst_message_new(), always need to speficy a specific
30477 2005-05-09 Andy Wingo <wingo@pobox.com>
30479 * gst/gstiterator.h: Add some includes.
30481 * gst/gstqueryutils.h: Include more headers.
30484 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30485 some uses of gst_pad_query.
30487 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30488 NULL out parameters.
30489 (gst_query_new_position): New proc, allocates a new position
30492 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30493 gstqueryutils.c to the build.
30495 * gst/gststructure.c (gst_structure_set_valist): Implement with
30496 the generic G_VALUE_COLLECT.
30498 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30500 * gst/Makefile.am: (gst_headers):
30501 Added gstqueryutils.h to the list of headers to install, that was
30502 a 'nachty' move wingo :)
30504 2005-05-06 Andy Wingo <wingo@pobox.com>
30507 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30508 GstData, init a memchunk.
30509 (standard_definitions): Add a few query types, deprecate a few.
30510 (gst_query_get_type): New proc.
30511 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30513 (gst_query_new_application, gst_query_get_structure): New public
30516 * docs/design/draft-query.txt: Removed LINKS from the query types,
30517 because all the rest can be dispatched to other pads -- seemed
30518 ugly to have a query that couldn't be dispatched. internal_links
30519 is fine as a pad method.
30521 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30522 in gstpad.c, but maintain binary compatibility for the moment.
30523 Will fix before 0.9 is out.
30525 * gst/gstqueryutils.c:
30526 * gst/gstqueryutils.h: New files, implement 3 methods for each
30527 query type: parse_query, parse_response, and set. Probably need an
30530 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30532 * gst/elements/gstfilesink.c (gst_filesink_query2):
30533 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30534 query_types, and formats methods.
30536 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30537 (gst_pad_set_query2_function): New functions.
30538 (gst_real_pad_init): Set query2_default as the default query2
30539 function. Basically just dispatches to internally linked pads.
30543 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30544 without using the atomic operations. Only one thread can possibly
30545 be accessing the data at this point. Changed so as to avoid
30546 gst_atomic operations.
30548 2005-05-06 Wim Taymans <wim@fluendo.com>
30550 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30551 Also set caps if we use the fallback buffer alloc.
30553 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30555 * docs/gst/Makefile.am:
30556 * docs/gst/gstreamer-docs.sgml:
30557 * docs/gst/gstreamer-sections.txt:
30558 * docs/gst/tmpl/gstatomic.sgml:
30559 * docs/gst/tmpl/gstmemchunk.sgml:
30560 * testsuite/elements/struct_i386.h:
30561 * win32/GStreamer.vcproj:
30563 Purge GstAtomic stuff from docs and win32 makefiles as well
30565 2005-05-06 Wim Taymans <wim@fluendo.com>
30567 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30568 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30569 * gst/gstpad.c: (gst_pad_peer_get_caps):
30570 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30571 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30572 (gst_queue_src_activate), (gst_queue_change_state):
30574 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30575 (intersect_caps_func):
30576 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30577 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30578 Some fixes for the peer_get_caps() change.
30580 2005-05-06 Wim Taymans <wim@fluendo.com>
30582 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30583 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30584 (gst_basesink_activate):
30585 Actually do something with error codes returned from the push
30588 2005-05-06 Wim Taymans <wim@fluendo.com>
30590 * docs/design/part-element-sink.txt:
30591 * docs/design/part-element-source.txt:
30592 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30593 (gst_basesink_event), (gst_basesink_activate):
30594 * gst/base/gstbasesink.h:
30595 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30596 (gst_basesrc_activate):
30597 * gst/base/gstbasesrc.h:
30598 * gst/gstelement.c: (gst_element_pads_activate):
30599 Some more documentation.
30600 Fixed scheduling decision in _pads_activate().
30602 2005-05-05 Andy Wingo <wingo@pobox.com>
30604 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30607 2005-05-05 Wim Taymans <wim@fluendo.com>
30609 * gst/base/Makefile.am:
30610 * gst/base/gstbasesink.h:
30611 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30612 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30613 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30614 (gst_collectpads_class_init), (gst_collectpads_init),
30615 (gst_collectpads_finalize), (gst_collectpads_new),
30616 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30617 (find_pad), (gst_collectpads_remove_pad),
30618 (gst_collectpads_is_active), (gst_collectpads_collect),
30619 (gst_collectpads_collect_range), (gst_collectpads_start),
30620 (gst_collectpads_stop), (gst_collectpads_peek),
30621 (gst_collectpads_pop), (gst_collectpads_available),
30622 (gst_collectpads_read), (gst_collectpads_flush),
30623 (gst_collectpads_chain):
30624 * gst/base/gstcollectpads.h:
30625 * gst/elements/Makefile.am:
30626 * gst/elements/gstelements.c:
30627 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30628 (gst_fakesink_get_times), (gst_fakesink_event),
30629 (gst_fakesink_preroll), (gst_fakesink_render):
30630 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30631 (gst_filesink_init), (gst_filesink_set_location),
30632 (gst_filesink_open_file), (gst_filesink_close_file),
30633 (gst_filesink_pad_query), (gst_filesink_event),
30634 (gst_filesink_render), (gst_filesink_change_state):
30635 * gst/elements/gstfilesink.h:
30636 Added object to help in making collect pad based elements.
30638 Make event function in sink baseclass return gboolean.
30640 2005-05-05 Wim Taymans <wim@fluendo.com>
30642 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30643 (gst_bin_get_by_name):
30645 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30646 (gst_clock_finalize):
30647 * gst/gstdata.c: (gst_data_replace):
30649 * gst/gstelement.c: (gst_element_request_pad),
30650 (gst_element_pads_activate):
30651 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30652 (gst_object_unref):
30653 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30654 (gst_pad_set_checkgetrange_function),
30655 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30656 (gst_pad_check_pull_range), (gst_pad_pull_range),
30657 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30658 (gst_pad_pause_task), (gst_pad_stop_task):
30659 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30660 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30661 Fix name lookup in GstBin.
30662 Added _data_replace() function and _buffer_replace()
30663 Use finalize method to clean up clock.
30664 Fix refcounting on request pads.
30665 Fix pad schedule mode error.
30666 Some more object refcounting debug info,
30669 2005-05-04 Andy Wingo <wingo@pobox.com>
30671 * check/Makefile.am:
30672 * docs/gst/tmpl/gstatomic.sgml:
30673 * docs/gst/tmpl/gstplugin.sgml:
30674 * gst/base/gstbasesink.c: (gst_basesink_activate):
30675 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30676 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30677 (gst_basesrc_query), (gst_basesrc_set_property),
30678 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30679 (gst_basesrc_activate):
30680 * gst/base/gstbasesrc.h:
30681 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30682 (gst_base_transform_src_activate):
30683 * gst/elements/gstelements.c:
30684 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30685 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30686 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30687 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30688 (gst_type_find_element_checkgetrange),
30689 (gst_type_find_element_activate):
30690 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30691 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30692 (gst_caps_load_thyself):
30693 * gst/gstelement.c: (gst_element_pads_activate),
30694 (gst_element_save_thyself), (gst_element_restore_thyself):
30695 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30696 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30698 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30699 (gst_xml_parse_file), (gst_xml_parse_memory),
30700 (gst_xml_get_element), (gst_xml_make_element):
30701 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30702 (_file_index_id_save_xml), (gst_file_index_commit):
30703 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30704 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30706 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30707 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30708 * tools/gst-complete.c: (main):
30709 * tools/gst-compprep.c: (main):
30710 * tools/gst-inspect.c: (print_element_properties_info):
30711 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30712 * tools/gst-xmlinspect.c: (print_element_properties):
30715 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30717 * gst/gstplugin.c: (gst_plugin_check_module),
30718 (gst_plugin_check_file), (gst_plugin_load_file):
30719 apply patch from #172526 to make register work on MacOSX
30721 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30723 * docs/gst/tmpl/gstconfig.sgml:
30724 * gst/gstconfig.h.in:
30725 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30726 * testsuite/debug/printf_extension.c: (main):
30727 Do not use GST_PTR_FORMAT on pointers to types with
30728 sizeof < sizeof(gpointer). Fixes test on 64-bit
30729 * testsuite/elements/property.h:
30730 use correct printf format
30732 2005-05-02 Wim Taymans <wim@fluendo.com>
30734 * docs/design/draft-push-pull.txt:
30735 * docs/design/draft-query.txt:
30736 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30737 (gst_basesrc_start):
30738 Added draft for new query API.
30739 Added draft for better selecting scheduling methods.
30740 Make basesrc ignore length if the subclass does not support
30743 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30746 possible fixes for automake-1.5 - _LIBADD is reserved
30748 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30750 * docs/faq/Makefile.am:
30751 * docs/manual/Makefile.am:
30752 * docs/manuals.mak:
30753 * docs/pwg/Makefile.am:
30755 possible fixes for automake-1.5
30757 2005-04-28 Wim Taymans <wim@fluendo.com>
30759 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30760 (gst_basesink_pad_getcaps), (gst_basesink_init),
30761 (gst_basesink_do_sync):
30762 * gst/gstclock.c: (gst_clock_entry_new):
30763 * gst/gstevent.c: (gst_event_discont_get_value):
30764 * gst/gstpipeline.c: (pipeline_bus_handler),
30765 (gst_pipeline_change_state):
30766 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30767 Better debugging of clocking info.
30768 Allow NULL values when getting discont values.
30770 2005-04-27 Wim Taymans <wim@fluendo.com>
30772 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30773 * check/gst/gstpad.c: (gst_pad_suite):
30774 Increase timeout for checks.
30776 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30778 * check/Makefile.am:
30779 fix the broken rule for cleanup. Apparently this rule is
30780 only needed on FC2, so maybe this warrants further autotool
30783 2005-04-26 Wim Taymans <wim@fluendo.com>
30785 * gst/gsttrashstack.h:
30786 Ooohh. a nasty one! After having a failed pop() from the stack,
30787 it's possible that the stack is empty. In that case, don't
30788 follow the NULL pointer.
30790 2005-04-25 Wim Taymans <wim@fluendo.com>
30792 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30793 (gst_pad_set_checkgetrange_function),
30794 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30795 (gst_pad_check_pull_range), (gst_pad_pull_range),
30796 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30797 (gst_pad_pause_task), (gst_pad_stop_task):
30798 * gst/gstplugin.c: (gst_plugin_load):
30800 Remove gst_library_load as it does more harm than good with
30801 the new g_module flags.
30802 Revert bogus caps template check in pad linking, pad caps
30803 are important when linking not the template, which is more
30804 general than the current caps.
30806 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30808 * gst/autoplug/.cvsignore:
30809 * gst/autoplug/Makefile.am:
30810 * gst/autoplug/gstsearchfuncs.c:
30811 * gst/autoplug/gstsearchfuncs.h:
30812 * gst/autoplug/gstspider.c:
30813 * gst/autoplug/gstspider.h:
30814 * gst/autoplug/gstspideridentity.c:
30815 * gst/autoplug/gstspideridentity.h:
30816 * gst/autoplug/spidertest.c:
30819 2005-04-25 Wim Taymans <wim@fluendo.com>
30821 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30822 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30823 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30824 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30826 Added stubs for unimplemented functions.
30828 2005-04-24 David Schleef <ds@schleef.org>
30830 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30833 2005-04-24 David Schleef <ds@schleef.org>
30835 Convert everything from GstAtomicInt to g_atomic_int_*, and
30840 * gst/gstatomic_impl.h:
30848 * gst/gstdata_private.h:
30852 * gst/gstmessage.c:
30855 * gst/gststructure.c:
30856 * gst/gststructure.h:
30857 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30860 2005-04-24 David Schleef <ds@schleef.org>
30862 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30863 make the regressions tests work. Remove some code that is no
30865 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30866 Disable warning for pads without templates.
30868 2005-04-24 David Schleef <ds@schleef.org>
30870 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30871 functions that handle filtered links.
30872 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30874 * gst/gstutils.c: Fix/remove utility functions that handle
30877 * gst/gstvalue.c: Add serialization/deserialization of caps
30878 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30879 requires fixing so that the filter caps notation creates
30880 a capsfilter element and sets the filter_caps property. I
30881 think everyone probably wants to keep the shorthand notation.
30882 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30883 * docs/gst/tmpl/gstpad.sgml:
30885 * gst/elements/gstelements.c: Register capsfilter element.
30886 * gst/Makefile.am: fix spacing
30887 * docs/random/ds/0.9-suggested-changes: random
30889 2005-04-23 David Schleef <ds@schleef.org>
30891 * gst/elements/Makefile.am:
30892 * gst/elements/gstcapsfilter.c: New element that acts like an
30893 identity, but filters caps. Will eventually replace filtered
30894 caps in pad linking.
30895 * gst/gstutils.c: (gst_element_create_all_pads): New function
30896 to create all the ALWAYS pads that are registered with an
30897 element class. This functionality should eventually be
30898 merged in with GstElement initialization.
30900 * testsuite/trigger/README: part of trigger test code that should
30901 have been checked in a long time ago.
30903 2005-04-23 David Schleef <ds@schleef.org>
30905 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30906 needed with new versions of libtool (nobody will confirm this),
30907 and hard to carry around.
30908 * gst/autoplug/Makefile.am:
30909 * gst/base/Makefile.am:
30910 * gst/elements/Makefile.am:
30911 * gst/indexers/Makefile.am:
30912 * gst/schedulers/Makefile.am:
30913 * libs/gst/bytestream/Makefile.am:
30914 * libs/gst/control/Makefile.am:
30915 * libs/gst/dataprotocol/Makefile.am:
30916 * libs/gst/getbits/Makefile.am:
30918 2005-04-21 Wim Taymans <wim@fluendo.com>
30920 * docs/design/draft-push-pull.txt:
30921 * docs/design/part-MT-refcounting.txt:
30922 * docs/design/part-TODO.txt:
30923 * docs/design/part-caps.txt:
30924 * docs/design/part-events.txt:
30925 * docs/design/part-gstbus.txt:
30926 * docs/design/part-gstpipeline.txt:
30927 * docs/design/part-messages.txt:
30928 * docs/design/part-push-pull.txt:
30929 * docs/design/part-query.txt:
30932 2005-04-21 Wim Taymans <wim@fluendo.com>
30934 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30935 (gst_message_new), (gst_message_new_error),
30936 (gst_message_new_warning), (gst_message_new_tag),
30937 (gst_message_new_state_changed), (gst_message_new_application),
30938 (gst_message_get_structure):
30939 * gst/gstmessage.h:
30940 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30941 (gst_structure_copy_conditional):
30942 Use parent refcount in GstMessage to ensure GstStructure
30944 Cleaned up headers a bit.
30947 2005-04-20 Wim Taymans <wim@fluendo.com>
30949 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30950 (gst_basesink_pad_getcaps), (gst_basesink_init),
30951 (gst_basesink_chain_unlocked):
30952 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30953 (gst_type_find_helper):
30954 * gst/elements/gsttypefindelement.c:
30955 (gst_type_find_element_have_type), (gst_type_find_element_init),
30956 (stop_typefinding), (gst_type_find_element_handle_event),
30957 (find_suggest), (gst_type_find_element_chain),
30958 (gst_type_find_element_checkgetrange),
30959 (gst_type_find_element_getrange), (do_typefind),
30960 (gst_type_find_element_activate):
30961 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30962 (gst_buffer_default_free), (gst_buffer_default_copy),
30963 (gst_buffer_set_caps):
30964 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30965 (gst_caps_replace):
30966 * gst/gstmessage.c: (gst_message_new),
30967 (gst_message_new_state_changed):
30968 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30969 (gst_pad_set_checkgetrange_function),
30970 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30971 (gst_pad_set_caps), (gst_pad_check_pull_range),
30972 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30974 * gst/gsttypefind.c: (gst_type_find_register):
30975 Make gst_caps_replace() work like other _replace() functions.
30976 Use _caps_replace() where possible.
30977 Make sure _message_new() initialises its field.
30978 Add gst_static_pad_template_get_caps()
30981 2005-04-18 Andy Wingo <wingo@pobox.com>
30983 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30984 on the peer, not the pad. I think that was a typo. Pass an extra
30985 arg to see if random access is possible. Activate the pads as
30986 PULL_RANGE if possible.
30988 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30990 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30991 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30994 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30996 * docs/faq/using.xml:
30997 Add note on gstreamer-properties (#154996).
30999 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31001 * docs/random/bbb/optional-properties:
31002 Some analysis on optional properties.
31004 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31006 * docs/gst/tmpl/gstelementfactory.sgml:
31007 * gst/gstelement.h:
31008 * gst/gstelementfactory.c: (gst_element_factory_init),
31009 (gst_element_factory_cleanup), (gst_element_register),
31010 (__gst_element_factory_add_static_pad_template),
31011 (gst_element_factory_get_static_pad_templates),
31012 (gst_element_factory_can_src_caps),
31013 (gst_element_factory_can_sink_caps):
31014 * gst/registries/Makefile.am:
31015 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31016 (gst_xml_registry_class_init), (gst_xml_registry_init),
31017 (gst_xml_registry_new), (gst_xml_registry_set_property),
31018 (gst_xml_registry_get_property), (get_time), (make_dir),
31019 (gst_xml_registry_get_perms_func),
31020 (plugin_times_older_than_recurse), (plugin_times_older_than),
31021 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31022 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31023 (add_to_char_array), (read_string), (read_uint), (read_enum),
31024 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31025 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31026 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31027 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31028 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31029 (gst_xml_registry_rebuild):
31030 * gst/registries/gstlibxmlregistry.h:
31031 * tools/gst-compprep.c: (main):
31032 * tools/gst-inspect.c: (print_pad_templates_info):
31033 * tools/gst-xmlinspect.c: (print_element_info):
31034 Use libxml2 for registry parsing, use staticpadtemplates in
31035 elementfactories. Makes gst_init() +/- 10x faster.
31037 2005-04-12 Wim Taymans <wim@fluendo.com>
31039 * gst/base/Makefile.am:
31040 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31041 (gst_basesink_pad_getcaps), (gst_basesink_init),
31042 (gst_basesink_event), (gst_basesink_change_state):
31043 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31044 (gst_basesrc_init), (gst_basesrc_query),
31045 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31046 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31047 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31048 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31049 (gst_basesrc_stop), (gst_basesrc_activate),
31050 (gst_basesrc_change_state):
31051 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31052 (helper_find_suggest), (gst_type_find_helper):
31053 * gst/base/gsttypefindhelper.h:
31054 * gst/elements/Makefile.am:
31055 * gst/elements/gstelements.c:
31056 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31057 (gst_fakesink_get_times), (gst_fakesink_event),
31058 (gst_fakesink_preroll), (gst_fakesink_render):
31059 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31060 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31061 (gst_fakesrc_get_property), (gst_fakesrc_create),
31062 (gst_fakesrc_start), (gst_fakesrc_stop):
31063 * gst/elements/gstfakesrc.h:
31064 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31065 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31066 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31067 (gst_filesrc_create_read), (gst_filesrc_create),
31068 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31069 (gst_filesrc_start):
31070 * gst/elements/gsttypefindelement.c:
31071 (gst_type_find_element_have_type), (gst_type_find_element_init),
31072 (start_typefinding), (stop_typefinding), (push_buffer_store),
31073 (gst_type_find_element_handle_event),
31074 (gst_type_find_element_chain),
31075 (gst_type_find_element_checkgetrange),
31076 (gst_type_find_element_getrange), (do_typefind),
31077 (gst_type_find_element_activate),
31078 (gst_type_find_element_change_state):
31079 * gst/elements/gsttypefindelement.h:
31080 * gst/gstpipeline.c: (pipeline_bus_handler):
31081 Added typefind helper.
31082 Small preroll fix in the base sink.
31083 Disable typefind code in basesrc.
31084 Crude port of typefindelement.
31088 2005-04-11 Wim Taymans <wim@fluendo.com>
31090 * check/gst/gstbus.c: (gstbus_suite):
31091 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31092 * check/gstcheck.h:
31093 Fix up the timeout so that the test does not fail.
31095 2005-04-06 Wim Taymans <wim@fluendo.com>
31098 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31099 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31100 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31101 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31102 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31103 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31104 (gst_basesrc_stop), (gst_basesrc_activate),
31105 (gst_basesrc_change_state), (basesrc_find_peek),
31106 (basesrc_find_suggest), (gst_basesrc_type_find):
31107 * gst/base/gstbasesrc.h:
31108 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31109 (gst_filesrc_class_init), (gst_filesrc_init),
31110 (gst_filesrc_finalize), (gst_filesrc_set_location),
31111 (gst_filesrc_set_property), (gst_filesrc_get_property),
31112 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31113 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31114 (gst_filesrc_create_read), (gst_filesrc_create),
31115 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31116 * gst/elements/gstfilesrc.h:
31117 * gst/gstelement.c: (gst_element_get_state_func),
31118 (gst_element_lost_state), (gst_element_pads_activate):
31119 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31120 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31121 (gst_pad_pull_range):
31123 More work on the generic source base class, implement seeking,
31125 Make filesrc extend the base source class.
31126 Added gst_pad_set_checkgetrange_function to GstPad.
31128 2005-04-06 Andy Wingo <wingo@pobox.com>
31130 * pkgconfig/gstreamer-base.pc.in:
31131 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31133 * pkgconfig/Makefile.am:
31134 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31136 2005-04-04 Wim Taymans <wim@fluendo.com>
31138 * gst/base/Makefile.am:
31140 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31141 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31142 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31143 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31144 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31145 (gst_basesrc_base_init), (gst_basesrc_class_init),
31146 (gst_basesrc_init), (gst_basesrc_get_formats),
31147 (gst_basesrc_get_query_types), (gst_basesrc_query),
31148 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31149 (gst_basesrc_set_property), (gst_basesrc_get_property),
31150 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31151 (gst_basesrc_loop), (gst_basesrc_activate),
31152 (gst_basesrc_change_state):
31153 * gst/base/gstbasesrc.h:
31154 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31155 (gst_fakesrc_class_init), (gst_fakesrc_init),
31156 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31157 (gst_fakesrc_get_property), (gst_fakesrc_create):
31158 * gst/elements/gstfakesrc.h:
31159 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31160 (gst_filesrc_open_file), (gst_filesrc_loop),
31161 (gst_filesrc_activate), (filesrc_find_peek),
31162 (gst_filesrc_type_find):
31163 Made base source class, make fakesrc extend it.
31164 Add comments to basesink class.
31165 Some filesrc cleanup.
31167 2005-03-31 David Schleef <ds@schleef.org>
31169 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31170 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31171 expected to link against libgstreamer.
31172 * gst/base/Makefile.am: link against libgstreamer
31173 * gst/elements/Makefile.am: same
31175 2005-03-31 Andy Wingo <wingo@pobox.com>
31177 * tests/instantiate/Makefile.am:
31178 * tests/instantiate/caps.c: Add test to test speed of caps copy
31181 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31182 GMemChunk to be fair.
31184 * gst/gsttrashstack.h: Remove warning about using the fallback
31185 trash stack implementation, it's still faster than malloc.
31187 2005-03-30 Andy Wingo <wingo@pobox.com>
31189 * tests/complexity.c: Add a copyright.
31191 2005-03-31 Wim Taymans <wim@fluendo.com>
31193 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31194 (gst_base_transform_class_init), (gst_base_transform_init),
31195 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31196 (gst_base_transform_get_property),
31197 (gst_base_transform_sink_activate),
31198 (gst_base_transform_src_activate),
31199 (gst_base_transform_change_state):
31200 * gst/base/gstbasetransform.h:
31201 * gst/elements/gstidentity.c: (gst_identity_class_init),
31202 (gst_identity_event), (gst_identity_check_perfect),
31203 (gst_identity_transform), (gst_identity_start),
31204 (gst_identity_stop):
31205 Added start/stop methods to transform base class so subclasses
31206 don't need to deal with state changes even.
31208 2005-03-31 Wim Taymans <wim@fluendo.com>
31210 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31211 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31213 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31214 (gst_pad_pull_range):
31215 Added rate to the discont event to prepare for variable speed
31216 and reverse playback.
31218 2005-03-29 David Schleef <ds@schleef.org>
31221 * testsuite/trigger/Makefile.am:
31222 * testsuite/trigger/trigger.c: A little example program to show
31223 how trigger-based elements can work.
31225 2005-03-29 Wim Taymans <wim@fluendo.com>
31227 * gst/base/Makefile.am:
31229 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31230 (gst_basesink_base_init), (gst_basesink_class_init),
31231 (gst_basesink_pad_getcaps), (gst_basesink_init),
31232 (gst_basesink_activate), (gst_basesink_change_state):
31233 * gst/base/gstbasesink.h:
31234 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31235 (gst_base_transform_base_init), (gst_base_transform_finalize),
31236 (gst_base_transform_class_init), (gst_base_transform_init),
31237 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31238 (gst_base_transform_event), (gst_base_transform_getrange),
31239 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31240 (gst_base_transform_set_property),
31241 (gst_base_transform_get_property),
31242 (gst_base_transform_sink_activate),
31243 (gst_base_transform_src_activate),
31244 (gst_base_transform_change_state):
31245 * gst/base/gstbasetransform.h:
31246 * gst/elements/gstidentity.c: (gst_identity_finalize),
31247 (gst_identity_class_init), (gst_identity_init),
31248 (gst_identity_event), (gst_identity_check_perfect),
31249 (gst_identity_transform), (gst_identity_set_property),
31250 (gst_identity_get_property), (gst_identity_change_state):
31251 * gst/elements/gstidentity.h:
31252 * gst/gstelement.c: (gst_element_get_state_func),
31253 (gst_element_lost_state), (gst_element_pads_activate):
31254 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31255 (gst_pad_check_pull_range), (gst_pad_pull_range):
31257 Simplify pad activation.
31258 Added function to check if pull_range can be performed.
31259 Error out when pulling inactive or flushing pads.
31260 Removed const from refcounted types as it does not make sense.
31261 Simplify pad templates in basesink
31262 Added base class for simple 1-to-1 transforms.
31263 Make identity subclass the base transform.
31265 2005-03-29 Andy Wingo <wingo@pobox.com>
31267 * docs/libs/gstreamer-libs-overrides.txt:
31268 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31269 really don't understand what's going on, but like whatever. I want
31272 * docs/gst/Makefile.am:
31273 * docs/libs/Makefile.am: Dist the overrides files.
31275 * check/Makefile.am (clean-local): Remove .libs directories.
31277 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31278 elements to EXTRA_DIST, so po/ files are happy.
31280 * po/POTFILES.in: Er, remove it here.
31282 * po/POTFILES: Remove gstspider.c.
31284 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31286 * docs/libs/gstreamer-libs-docs.sgml:
31287 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31290 * tests/complexity.c (main): Set the length of the preroll queue
31291 on the sinks to prevent a lockup.
31293 * libs/gst/dataprotocol/Makefile.am:
31294 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31295 the same as the one in check/gst-libs/gdp.c.
31297 * po/, docs/gst/: Commit automatic changes to docs and po files.
31299 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31300 the versioned libgstbase.
31302 * check/Makefile.am: Depend on an unversioned gst-register, seems
31303 to make autoconf happier.
31305 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31307 2005-03-28 Wim Taymans <wim@fluendo.com>
31310 * docs/design/part-gstelement.txt:
31311 * docs/design/part-negotiation.txt:
31312 * docs/design/part-preroll.txt:
31313 * docs/design/part-scheduling.txt:
31314 * docs/design/part-states.txt:
31316 * gst/base/Makefile.am:
31318 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31319 (gst_basesink_base_init), (gst_basesink_class_init),
31320 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31321 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31322 (gst_basesink_set_pad_functions),
31323 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31324 (gst_basesink_set_property), (gst_basesink_get_property),
31325 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31326 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31327 (gst_basesink_preroll_queue_push),
31328 (gst_basesink_preroll_queue_empty),
31329 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31330 (gst_basesink_event), (gst_basesink_get_times),
31331 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31332 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31333 (gst_basesink_loop), (gst_basesink_activate),
31334 (gst_basesink_change_state):
31335 * gst/base/gstbasesink.h:
31336 * gst/elements/Makefile.am:
31337 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31338 (gst_fakesink_class_init), (gst_fakesink_init),
31339 (gst_fakesink_set_property), (gst_fakesink_get_property),
31340 (gst_fakesink_get_times), (gst_fakesink_event),
31341 (gst_fakesink_preroll), (gst_fakesink_render),
31342 (gst_fakesink_change_state):
31343 * gst/elements/gstfakesink.h:
31344 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31345 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31346 * gst/gstelement.c: (gst_element_add_pad),
31347 (gst_element_get_state_func), (gst_element_abort_state),
31348 (gst_element_commit_state), (gst_element_lost_state),
31349 (gst_element_set_state), (gst_element_pads_activate):
31350 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31351 * gst/gstpipeline.c: (gst_pipeline_send_event),
31352 (gst_pipeline_change_state):
31353 Added state change code.
31354 Added/updated docs.
31355 Added sink base class, make fakesink extend the base class.
31356 Small cleanups in GstPipeline.
31358 2005-03-26 David Schleef <ds@schleef.org>
31360 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31361 is broken and should be implemented in a different library.
31362 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31363 * gst/gst.h: remove gstcpu.h
31364 * gst/gstcpu.c: remove
31365 * gst/gstcpu.h: remove
31366 * gst/Makefile.am.future: Remove this file. It's ancient.
31368 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31370 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31371 (gst_bin_send_event):
31372 Add default event/set_manager handlers. The set_manager handler
31373 takes care that the manager is distributed over kids that were
31374 already in the bin before the manager was set. The event handler
31375 is a utility virtual function that sends the event over all sinks,
31376 so that gst_element_send_event (bin, event); has the expected
31378 * gst/gstpad.c: (gst_pad_event_default):
31379 Re-install default event handling for discontinuities, so that
31380 seeking works without requiring hacks in applications or extra
31382 * gst/gstpipeline.c: (gst_pipeline_class_init),
31383 (gst_pipeline_send_event):
31384 Half hack, half utility: set a pipeline to PAUSED for seek events,
31385 since that is the only way we can guarantee a/v sync. Means that
31386 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31387 and it "just works".
31389 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31391 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31392 Lock/unlock mismatch.
31394 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31396 * docs/faq/gst-uninstalled:
31397 add gst-plugins-base
31398 * docs/gst/Makefile.am:
31399 don't error out until docs are fixed
31400 * docs/gst/gstreamer.types:
31403 2005-03-22 Wim Taymans <wim@fluendo.com>
31405 * check/Makefile.am:
31406 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31407 * gst/gststructure.c: (gst_structure_set_valist),
31408 (gst_structure_copy_conditional):
31409 Activated more tests.
31410 Added message test.
31411 Added G_TYPE_POINTER to GstStructure.
31414 2005-03-22 Wim Taymans <wim@fluendo.com>
31416 * docs/design/part-TODO.txt:
31417 * docs/design/part-events.txt:
31418 * docs/design/part-gstbin.txt:
31419 * docs/design/part-gstbus.txt:
31420 * docs/design/part-gstpipeline.txt:
31421 * docs/design/part-messages.txt:
31423 * gst/gstmessage.c:
31426 2005-03-21 Wim Taymans <wim@fluendo.com>
31428 * gst/gstbus.c: (gst_bus_post):
31429 Fix copy-and-paste error.
31431 2005-03-21 Wim Taymans <wim@fluendo.com>
31433 * check/Makefile.am:
31435 * gst/elements/Makefile.am:
31436 * gst/elements/gstelements.c:
31437 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31438 (gst_fakesink_event), (gst_fakesink_chain):
31439 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31440 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31441 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31442 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31443 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31444 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31445 (gst_fakesrc_loop), (gst_fakesrc_activate),
31446 (gst_fakesrc_change_state):
31447 * gst/elements/gstfakesrc.h:
31448 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31449 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31450 (gst_filesrc_open_file), (gst_filesrc_loop),
31451 (gst_filesrc_activate), (gst_filesrc_change_state),
31452 (filesrc_find_peek), (filesrc_find_suggest),
31453 (gst_filesrc_type_find):
31454 * gst/elements/gstidentity.c: (gst_identity_finalize),
31455 (gst_identity_class_init), (gst_identity_init),
31456 (gst_identity_proxy_getcaps), (identity_queue_push),
31457 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31458 (gst_identity_getrange), (gst_identity_chain),
31459 (gst_identity_sink_loop), (gst_identity_src_loop),
31460 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31461 (gst_identity_set_property), (gst_identity_get_property),
31462 (gst_identity_change_state):
31463 * gst/elements/gstidentity.h:
31464 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31465 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31466 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31467 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31468 (gst_tee_sink_activate):
31469 * gst/elements/gsttee.h:
31470 * gst/gst.c: (gst_register_core_elements), (init_post):
31472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31473 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31474 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31475 (gst_bin_change_state):
31477 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31478 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31479 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31480 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31481 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31482 (bus_watch_callback), (bus_watch_destroy),
31483 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31484 (poll_timeout), (gst_bus_poll):
31488 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31489 (gst_element_post_message), (gst_element_message_full),
31490 (gst_element_get_state_func), (gst_element_get_state),
31491 (gst_element_abort_state), (gst_element_commit_state),
31492 (gst_element_lost_state), (gst_element_set_state),
31493 (gst_element_pads_activate), (gst_element_change_state),
31494 (gst_element_dispose), (gst_element_set_manager_func),
31495 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31496 (gst_element_set_manager), (gst_element_get_manager),
31497 (gst_element_set_bus), (gst_element_get_bus),
31498 (gst_element_set_scheduler), (gst_element_get_scheduler):
31499 * gst/gstelement.h:
31500 * gst/gstevent.c: (gst_event_new_segment_seek),
31501 (gst_event_new_flush):
31503 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31504 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31505 (gst_message_new_eos), (gst_message_new_error),
31506 (gst_message_new_warning), (gst_message_new_tag),
31507 (gst_message_new_state_changed), (gst_message_new_application),
31508 (gst_message_get_structure), (gst_message_parse_tag),
31509 (gst_message_parse_state_changed), (gst_message_parse_error),
31510 (gst_message_parse_warning):
31511 * gst/gstmessage.h:
31512 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31513 (gst_real_pad_set_property), (gst_pad_set_active),
31514 (gst_pad_is_active), (gst_pad_set_blocked_async),
31515 (gst_pad_set_blocked), (gst_pad_is_blocked),
31516 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31517 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31518 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31519 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31520 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31521 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31522 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31523 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31524 (gst_pad_set_caps), (gst_pad_configure_sink),
31525 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31526 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31527 (gst_real_pad_dispose), (gst_real_pad_finalize),
31528 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31529 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31530 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31532 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31533 (pipeline_bus_handler), (gst_pipeline_change_state),
31534 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31535 * gst/gstpipeline.h:
31537 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31538 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31539 (gst_queue_link_src), (gst_queue_bufferalloc),
31540 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31541 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31542 (gst_queue_loop), (gst_queue_handle_src_event),
31543 (gst_queue_handle_src_query), (gst_queue_src_activate),
31544 (gst_queue_change_state):
31546 * gst/gstscheduler.c: (gst_scheduler_init),
31547 (gst_scheduler_dispose), (gst_scheduler_create_task),
31548 (gst_scheduler_factory_create):
31549 * gst/gstscheduler.h:
31550 * gst/gststructure.c: (gst_structure_get_type),
31551 (gst_structure_copy_conditional):
31552 * gst/gststructure.h:
31553 * gst/gsttaginterface.h:
31554 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31555 (gst_task_init), (gst_task_dispose), (gst_task_create),
31556 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31562 * gst/schedulers/Makefile.am:
31563 * gst/schedulers/cothreads_compat.h:
31564 * gst/schedulers/entryscheduler.c:
31565 * gst/schedulers/faircothreads.c:
31566 * gst/schedulers/faircothreads.h:
31567 * gst/schedulers/fairscheduler.c:
31568 * gst/schedulers/gstbasicscheduler.c:
31569 * gst/schedulers/gstoptimalscheduler.c:
31570 * gst/schedulers/gthread-cothreads.h:
31571 * gst/schedulers/threadscheduler.c:
31572 (gst_thread_scheduler_task_get_type),
31573 (gst_thread_scheduler_task_class_init),
31574 (gst_thread_scheduler_task_init),
31575 (gst_thread_scheduler_task_start),
31576 (gst_thread_scheduler_task_stop),
31577 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31578 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31579 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31580 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31582 * libs/gst/Makefile.am:
31583 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31584 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31585 (gst_file_pad_parent_set):
31586 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31587 (gst_dp_event_from_packet):
31588 * tests/complexity.c: (main):
31589 * tests/mass_elements.c: (main):
31590 * testsuite/states/locked.c: (message_received), (main):
31591 * testsuite/states/parent.c: (main):
31592 * tools/gst-inspect.c: (print_element_flag_info),
31593 (print_implementation_info), (print_pad_info):
31594 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31596 * tools/gst-md5sum.c: (event_loop), (main):
31597 * tools/gst-typefind.c: (main):
31598 * tools/gst-xmlinspect.c: (print_element_info):
31600 Added GstBus for mainloop integration.
31601 Added GstMessage for sending notifications on the bus.
31602 Added GstTask as an abstraction for pipeline entry points.
31604 Removed Schedulers.
31605 Simplified GstQueue for multithreaded core.
31606 Made _link threadsafe, removed old capsnego.
31607 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31608 Added pad blocking functions.
31609 Reworked scheduling functions in GstPad to prepare for
31610 scheduling updates soon.
31611 Moved events out of data stream.
31612 Simplified GstEvent types.
31613 Added return values to push/pull.
31614 Removed clocking from GstElement.
31615 Added prototypes for state change function for next merge.
31616 Removed iterate from bins and state change management.
31617 Fixed some elements, disabled others for now.
31618 Fixed -inspect and -launch.
31619 Added check for GstBus.
31621 2005-03-10 Wim Taymans <wim@fluendo.com>
31623 * docs/design/part-MT-refcounting.txt:
31624 * docs/design/part-clocks.txt:
31625 * docs/design/part-gstelement.txt:
31626 * docs/design/part-gstobject.txt:
31627 * docs/design/part-standards.txt:
31628 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31629 (gst_bin_remove_func), (gst_bin_remove):
31633 * testsuite/clock/clock1.c: (main):
31634 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31636 * testsuite/dlopen/loadgst.c: (do_test):
31637 * testsuite/refcounting/bin.c: (add_remove_test1),
31638 (add_remove_test2), (main):
31639 * testsuite/refcounting/element.c: (main):
31640 * testsuite/refcounting/element_pad.c: (main):
31641 * testsuite/refcounting/pad.c: (main):
31642 * tools/gst-launch.c: (sigint_handler_sighandler):
31643 * tools/gst-typefind.c: (main):
31645 Added doc about clock.
31646 removed gst_bin_iterate_recurse_up(), marked methods
31648 Fix more testsuites.
31650 2005-03-09 Wim Taymans <wim@fluendo.com>
31652 * gst/gstpad.c: (gst_pad_get_direction),
31653 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31654 (gst_pad_collect_valist):
31655 * testsuite/bins/interface.c: (main):
31656 * testsuite/caps/audioscale.c: (test_caps):
31657 * testsuite/caps/caps.c: (test1), (test2), (test3):
31658 * testsuite/caps/deserialize.c: (main):
31659 * testsuite/caps/enumcaps.c: (main):
31660 * testsuite/caps/filtercaps.c: (main):
31661 * testsuite/caps/intersect2.c: (main):
31662 * testsuite/caps/random.c: (main):
31663 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31664 * testsuite/caps/sets.c: (check_caps):
31665 * testsuite/caps/simplify.c: (check_caps), (main):
31666 * testsuite/caps/subtract.c: (check_caps):
31667 Fix _pad_get_direction wrt ghostpads.
31668 Fix caps testsuite.
31670 2005-03-09 Wim Taymans <wim@fluendo.com>
31672 * check/Makefile.am:
31673 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31674 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31675 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31676 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31677 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31678 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31679 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31680 (bin_element_is_sink), (gst_bin_iterate_sinks),
31681 (gst_bin_iterate_all_by_interface):
31683 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31684 (gst_element_change_state), (gst_element_dispose),
31685 (gst_element_finalize), (gst_element_set_loop_function):
31686 * gst/gstelement.h:
31687 * gst/gstiterator.c: (find_custom_fold_func):
31688 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31689 (gst_pad_collectv), (gst_pad_collect_valist),
31690 (gst_pad_template_new):
31691 * gst/gstpipeline.c: (gst_pipeline_class_init),
31692 (gst_pipeline_dispose), (gst_pipeline_set_property),
31693 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31694 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31695 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31697 * gst/schedulers/entryscheduler.c:
31698 * gst/schedulers/gstbasicscheduler.c:
31699 (gst_basic_scheduler_cothreaded_chain),
31700 (gst_basic_scheduler_chain_add_element):
31701 * testsuite/bins/interface.c: (main):
31703 Added GstSystemClock test.
31704 Implemented clock distribution code in GstBin.
31705 Implemented iterate sinks method for future use.
31706 Rearranged gstelement.h
31707 Fix GstIterator comparison bug.
31708 Moved some code to GstPipeline, mostly clocking related.
31710 2005-03-09 Wim Taymans <wim@fluendo.com>
31713 * gst/gst_private.h:
31714 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31715 (gst_bin_remove_func), (gst_bin_remove),
31716 (gst_bin_get_by_name_recurse_up):
31717 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31718 (gst_clock_id_compare_func), (gst_clock_id_wait),
31719 (gst_clock_id_wait_async), (gst_clock_init),
31720 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31721 * gst/gstelement.h:
31722 * gst/gstinfo.c: (_gst_debug_init):
31724 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31725 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31727 Bump version number, we're now 0.9.0
31728 Add future debugging category.
31729 Fix NULL _unref() in _get_by_name_recurse_up
31730 Rearrange gstpad.h.
31733 2005-03-08 Wim Taymans <wim@fluendo.com>
31735 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31736 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31738 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31739 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31740 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31741 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31742 * gst/elements/gstidentity.c: (gst_identity_class_init):
31743 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31744 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31745 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31746 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31747 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31749 * gst/gstelement.c: (gst_element_class_init),
31750 (gst_element_base_class_init), (gst_element_init),
31751 (gst_element_get_random_pad), (gst_element_wait_state_change),
31752 (gst_element_change_state), (gst_element_dispose),
31753 (gst_element_finalize), (gst_element_set_loop_function):
31754 * gst/gstelement.h:
31755 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31756 * gst/gstthread.c: (gst_thread_class_init),
31757 (gst_thread_release_children_locks), (gst_thread_change_state):
31758 * gst/schedulers/gstbasicscheduler.c:
31759 (gst_basic_scheduler_loopfunc_wrapper),
31760 (gst_basic_scheduler_chain_wrapper),
31761 (gst_basic_scheduler_src_wrapper),
31762 (gst_basic_scheduler_remove_element):
31763 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31764 Remove threadsafe properties. Fix elements because GObject
31765 complains when installing a property before declaring a
31766 set/get_property handler.
31767 Rearrange gstelement.h file, use STATE macros for state locks.
31768 Free mutexes in the finalize method instead of dispose.
31770 2005-03-08 Wim Taymans <wim@fluendo.com>
31772 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31773 * gst/gstthread.c: (gst_thread_release_children_locks):
31774 Added parentage check.
31775 Fix build og GstThread again.
31777 2005-03-08 Wim Taymans <wim@fluendo.com>
31779 * docs/design/part-MT-refcounting.txt:
31780 * docs/design/part-conventions.txt:
31781 * docs/design/part-gstobject.txt:
31782 * docs/design/part-relations.txt:
31783 * docs/design/part-standards.txt:
31784 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31785 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31786 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31787 (gst_bin_iterate_all_by_interface):
31790 * gst/gstelement.c: (gst_element_class_init),
31791 (gst_element_change_state), (gst_element_set_loop_function):
31792 * gst/gstelement.h:
31793 * gst/gstiterator.c:
31794 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31795 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31796 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31797 (gst_object_set_parent), (gst_object_unparent),
31798 (gst_object_check_uniqueness):
31800 Docs updates, clean up some headers.
31802 2005-03-07 Wim Taymans <wim@fluendo.com>
31804 * check/.cvsignore:
31805 * check/Makefile.am:
31806 * check/gst-libs/.cvsignore:
31807 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31808 * check/gst/.cvsignore:
31809 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31810 (START_TEST), (gstbus_suite), (main):
31811 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31812 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31813 (gst_data_suite), (main):
31814 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31815 (add_fold_func), (gstiterator_suite), (main):
31816 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31817 (thread_name_object), (thread_name_object_default),
31818 (gst_object_name_compare), (gst_object_suite), (main):
31819 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31820 (gst_pad_suite), (main):
31821 * check/gstcheck.c: (gst_check_log_message_func),
31822 (gst_check_log_critical_func), (gst_check_init):
31823 * check/gstcheck.h:
31824 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31825 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31828 2005-03-07 Wim Taymans <wim@fluendo.com>
31830 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31831 (gst_list_iterator_next), (gst_list_iterator_resync),
31832 (gst_list_iterator_free), (gst_iterator_new_list),
31833 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31834 (gst_iterator_free), (gst_iterator_push), (filter_next),
31835 (filter_resync), (filter_uninit), (filter_free),
31836 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31837 (gst_iterator_foreach), (find_custom_fold_func),
31838 (gst_iterator_find_custom):
31839 * gst/gstiterator.h:
31840 Added missing files.
31842 2005-03-07 Wim Taymans <wim@fluendo.com>
31846 * docs/design/part-MT-refcounting.txt:
31847 * docs/design/part-conventions.txt:
31848 * docs/design/part-gstobject.txt:
31849 * docs/design/part-relations.txt:
31850 * examples/mixer/mixer.c: (main):
31851 * examples/thread/thread.c: (eos), (main):
31853 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31854 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31855 (gst_spider_plug_from_srcpad):
31856 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31857 (gst_spider_identity_change_state),
31858 (gst_spider_identity_sink_loop_type_finding):
31859 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31860 * gst/elements/gstidentity.c: (gst_identity_init):
31861 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31862 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31863 * gst/elements/gsttypefindelement.c: (free_entry):
31866 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31867 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31868 (gst_bin_set_index), (gst_bin_set_element_sched),
31869 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31870 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31871 (gst_bin_iterate_elements), (iterate_child_recurse),
31872 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31873 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31874 (compare_interface), (gst_bin_get_by_interface),
31875 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31877 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31878 (gst_buffer_default_free), (gst_buffer_default_copy),
31879 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31880 (gst_buffer_create_sub):
31882 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31883 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31884 (gst_caps_unref), (gst_static_caps_get),
31885 (gst_caps_remove_and_get_structure), (gst_caps_append),
31886 (gst_caps_append_structure), (gst_caps_remove_structure),
31887 (gst_caps_copy_nth), (gst_caps_set_simple),
31888 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31889 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31890 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31891 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31892 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31893 (gst_caps_structure_figure_out_union),
31894 (gst_caps_switch_structures), (gst_caps_do_simplify),
31895 (gst_caps_replace), (gst_caps_from_string),
31896 (gst_caps_copy_conditional):
31898 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31899 (_gst_clock_id_free), (gst_clock_id_unref),
31900 (gst_clock_id_compare_func), (gst_clock_id_wait),
31901 (gst_clock_id_wait_async), (gst_clock_class_init),
31902 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31903 (gst_clock_get_time), (gst_clock_set_time_adjust),
31904 (gst_clock_set_property), (gst_clock_get_property):
31907 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31908 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31910 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31911 (gst_element_requires_clock), (gst_element_provides_clock),
31912 (gst_element_set_clock), (gst_element_clock_wait),
31913 (gst_element_wait), (gst_element_set_time_delay),
31914 (gst_element_is_indexable), (gst_element_add_pad),
31915 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31916 (pad_compare_name), (gst_element_get_static_pad),
31917 (gst_element_request_pad), (gst_element_get_request_pad),
31918 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31919 (gst_element_class_get_pad_template_list),
31920 (gst_element_class_get_pad_template), (gst_element_error_func),
31921 (gst_element_get_random_pad), (gst_element_get_event_masks),
31922 (gst_element_send_event), (gst_element_seek),
31923 (gst_element_get_query_types), (gst_element_query),
31924 (gst_element_get_formats), (gst_element_convert),
31925 (gst_element_is_locked_state), (gst_element_set_locked_state),
31926 (gst_element_sync_state_with_parent), (gst_element_change_state),
31927 (gst_element_finalize), (gst_element_yield),
31928 (gst_element_interrupt), (gst_element_set_scheduler),
31929 (gst_element_get_scheduler), (gst_element_set_loop_function):
31930 * gst/gstelement.h:
31932 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31933 (gst_format_get_by_nick), (gst_format_get_details),
31934 (gst_format_iterate_definitions):
31936 * gst/gstindex.c: (gst_index_gtype_resolver):
31939 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31940 (gst_mem_chunk_free):
31941 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31942 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31943 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31944 (gst_object_dispatch_properties_changed),
31945 (gst_object_set_name_default), (gst_object_set_name),
31946 (gst_object_get_name), (gst_object_set_name_prefix),
31947 (gst_object_get_name_prefix), (gst_object_set_parent),
31948 (gst_object_get_parent), (gst_object_unparent),
31949 (gst_object_check_uniqueness), (gst_object_save_thyself),
31950 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31951 (gst_object_set_property), (gst_object_get_property),
31952 (gst_object_get_path_string):
31954 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31955 (gst_real_pad_init), (gst_real_pad_get_property),
31956 (gst_pad_custom_new), (gst_pad_get_direction),
31957 (gst_pad_set_active), (gst_pad_is_active),
31958 (gst_pad_set_event_function), (gst_pad_is_linked),
31959 (gst_pad_link_free), (gst_pad_link_intersect),
31960 (gst_pad_link_fixate), (gst_pad_set_caps),
31961 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31962 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31963 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31964 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31965 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31966 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31967 (gst_pad_realize), (gst_pad_get_allowed_caps),
31968 (gst_real_pad_dispose), (gst_real_pad_finalize),
31969 (gst_pad_collectv), (gst_pad_collect_valist),
31970 (gst_pad_template_dispose), (gst_pad_template_new),
31971 (gst_pad_get_internal_links):
31973 * gst/gstpipeline.c: (gst_pipeline_dispose),
31974 (gst_pipeline_change_state):
31975 * gst/gstpipeline.h:
31977 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31978 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31979 * gst/gstpluginfeature.h:
31980 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31981 * gst/gstquery.c: (_gst_query_type_initialize),
31982 (gst_query_type_register), (gst_query_type_get_by_nick),
31983 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31985 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31986 * gst/gstscheduler.c: (gst_scheduler_add_element),
31987 (gst_scheduler_factory_create):
31988 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31989 (gst_structure_free), (gst_structure_set_name),
31990 (gst_structure_id_set_value), (gst_structure_set_value),
31991 (gst_structure_set_valist), (gst_structure_remove_field),
31992 (gst_structure_remove_fields),
31993 (gst_structure_remove_fields_valist),
31994 (gst_structure_remove_all_fields), (gst_structure_foreach),
31995 (gst_structure_map_in_place),
31996 (gst_caps_structure_fixate_field_nearest_int),
31997 (gst_caps_structure_fixate_field_nearest_double):
31998 * gst/gststructure.h:
31999 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32000 (gst_system_clock_init), (gst_system_clock_dispose),
32001 (gst_system_clock_async_thread),
32002 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32003 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32004 * gst/gstsystemclock.h:
32005 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32006 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32007 * gst/gsttaginterface.c:
32008 * gst/gstthread.c: (gst_thread_dispose),
32009 (gst_thread_release_children_locks), (gst_thread_change_state),
32010 (gst_thread_main_loop):
32011 * gst/gsttrashstack.h:
32012 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32014 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32015 (gst_element_request_pad), (gst_element_get_pad_from_template),
32016 (gst_element_request_compatible_pad),
32017 (gst_element_get_compatible_pad_filtered),
32018 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32019 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32020 (gst_element_link_many), (gst_element_link),
32021 (gst_element_link_pads), (gst_element_unlink_pads),
32022 (gst_element_unlink_many), (gst_element_unlink),
32023 (gst_pad_can_link_filtered), (gst_pad_can_link),
32024 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32025 (gst_object_default_error), (gst_bin_add_many),
32026 (gst_bin_remove_many), (gst_element_populate_std_props),
32027 (gst_element_class_install_std_props), (gst_buffer_merge),
32028 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32029 (link_fold_func), (gst_pad_proxy_setcaps):
32031 * gst/gstvalue.c: (gst_value_deserialize_string):
32032 * gst/parse/grammar.y:
32033 * gst/schedulers/gstbasicscheduler.c:
32034 (gst_basic_scheduler_cothreaded_chain),
32035 (gst_basic_scheduler_chain_recursive_add),
32036 (gst_basic_scheduler_pad_link):
32037 * gst/schedulers/gstoptimalscheduler.c:
32038 (get_group_schedule_function),
32039 (gst_opt_scheduler_state_transition),
32040 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32041 * libs/gst/bytestream/bytestream.c:
32042 * libs/gst/dataprotocol/dataprotocol.c:
32043 (gst_dp_header_from_buffer):
32046 * tests/threadstate/threadstate2.c: (eos):
32047 * tools/gst-compprep.c: (main):
32048 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32049 (print_pad_info), (print_children_info):
32050 * tools/gst-launch.c: (idle_func), (main):
32051 * tools/gst-md5sum.c: (idle_func), (main):
32052 * tools/gst-xmlinspect.c: (print_element_info):
32053 First THREADED backport attempt, focusing on adding locks and
32054 making sure the API is threadsafe. Needs more work. More docs
32057 2005-02-24 Andy Wingo <wingo@pobox.com>
32059 * tests/bench-complexity.scm:
32060 * tests/complexity.gnuplot: New files, good for running complexity
32063 * tests/Makefile.am:
32064 * tests/complexity.c: New test, sets up N elements, at each level
32065 teeing into M streams per element. Eeeenteresting.
32067 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32068 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32069 running bench-mass_elements.scm.
32071 * tests/bench-mass_elements.scm: New script, runs mass_elements
32072 for various numbers of identities, outputting the results to a
32073 file. Requires guile 1.6. Just for testing.
32075 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32077 * gst/schedulers/fairscheduler.c:
32078 compile with debug disabled
32080 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32083 hunting season on 0.9 is now OPEN