1 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 Apparently AC_CONFIG_MACRO_DIR breaks when using more
5 than one macro directory, reverting last change.
7 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
10 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
13 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
15 Patch by: Cygwin Ports maintainer
16 <yselkowitz at users dot sourceforge dot net>
20 Require gettext 0.17 because older versions don't mix with libtool
21 2.2. At build time an older gettext version will still work.
24 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
26 Patch by: 이문형 <iwings at gmail dot com>
28 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
29 Adds support for FD_CONNECT event (win32). See #562258.
31 2008-11-24 Stefan Kost <ensonic@users.sf.net>
33 * libs/gst/base/gstbasesink.c:
34 Turn comment into gtk-doc comment.
36 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
38 * libs/gst/base/gstbasetransform.c:
39 (gst_base_transform_acceptcaps):
40 Revert quick accepcaps attempt, it's not fully equivalent to the old
41 behaviour and thus causes regressions.
43 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
45 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
48 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
50 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
52 * gst/gstregistry.c: (gst_registry_scan_path_level):
53 Reduce the number of stat() calls for every file from three times
54 to one time. Fixes bug #560360.
56 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
58 * libs/gst/base/gstbasetransform.c:
59 (gst_base_transform_acceptcaps):
60 Rename a variable to make the code clearer.
62 2008-11-21 Stefan Kost <ensonic@users.sf.net>
64 * plugins/elements/gstidentity.c:
65 Don't warning on offset==-1. Taken from _check_imperfect_offset().
67 2008-11-21 Michael Smith <msmith@songbirdnest.com>
69 * plugins/elements/gstfilesrc.c:
70 Check for localhost in URI was backwards, fix it. Fixes unit test.
72 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
74 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
75 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
76 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
77 Add beginnings of a more optimized acceptcaps function than the default
80 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
82 * gst/gstpad.c: (gst_pad_accept_caps):
83 Avoid getting the acceptcaps function too early.
85 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
87 * tools/gst-launch.c: (event_loop):
88 Make gst-launch handle LATENCY messages and make it recalculate the
91 2008-11-20 Michael Smith <msmith@songbirdnest.com>
93 * plugins/elements/gstfilesrc.c:
94 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
95 out own slightly incorrect version. Fixes use of some paths on
98 2008-11-20 Michael Smith <msmith@songbirdnest.com>
100 * gst/gstregistrybinary.c:
101 In win32 codepath, if we fail to write the registry, create the
102 directory for it and try again, matching the behaviour in non-win32
105 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
107 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
108 Changing the render delay changes the latency and so we must post a
111 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
115 Add GstQueryType for custom queries instead of having to use the
116 not-so-very-convenient registration infrastructure to register new
119 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
121 Patch by: Andrew Feren <acferen at yahoo dot com>
123 * gst/gstobject.c: (gst_object_default_deep_notify):
124 Unref the GEnumClass after usage again. Fixes bug #561501.
126 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
128 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
129 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
130 (gst_bin_change_state_func):
132 Add do-latency signal with the old default fallback implementation. This
133 allows for custom latency calculations for when the default is not
135 API: GstBin::do-latency signal.
137 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
139 * win32/common/libgstreamer.def:
140 Add new symbols to .def file.
142 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
144 * docs/gst/gstreamer-sections.txt:
145 * gst/gstbin.c: (gst_bin_recalculate_latency),
146 (gst_bin_change_state_func):
148 Add method to recalculate and redistribute the latency on a bin.
149 API: gst_bin_recalculate_latency().
151 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
154 Document the free_func.
156 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
158 * libs/gst/controller/gstinterpolation.c:
159 * libs/gst/controller/gstlfocontrolsource.c:
160 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
161 as it is mapped to a cast on non-win32 platforms.
163 2008-11-17 Stefan Kost <ensonic@users.sf.net>
165 * libs/gst/controller/gstcontroller.c:
166 * libs/gst/controller/gstcontrollerprivate.h:
167 Keep last-value and only call set_property if value has changed. This
168 supresses all the g_object_notifies we would trigger otherwise. It
169 also allows the user to chage the value while there is no controller
172 2008-11-17 Stefan Kost <ensonic@users.sf.net>
175 Don't crash if either of the string GValues is empty.
177 2008-11-17 Andy Wingo <wingo@pobox.com>
179 * tools/gst-inspect.c (print_all_uri_handlers): New function,
180 prints a summary of what URI schemes are supported by what
182 (main): Plumb in support for --uri-handlers or -u, and fix the
183 argc check for -a and -u.
185 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
188 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
189 conversion functions.
191 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
193 * gst/gstbuffer.c: (gst_buffer_finalize):
194 Avoid costly typechecking for trivially correct pointers.
196 * gst/gstpoll.c: (gst_poll_wait):
197 Add some G_LIKELY here and there.
199 * libs/gst/base/gstadapter.c: (gst_adapter_push):
202 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
204 * docs/random/wtay/poll-timeout:
207 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
209 * tests/old/testsuite/caps/intersection.c: (main):
210 * tests/old/testsuite/plugin/loading.c: (main):
211 Remove references to deprecated API g_mem_chunk*.
214 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
216 * tools/gst-inspect.c: (main):
217 Add --plugin option. Fixes #560301.
219 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
221 * docs/random/wtay/poll-timeout:
222 Quick braindump for a possible (not totally verified) atomic case.
224 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
226 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
227 (gst_registry_binary_initialize_magic),
228 (gst_registry_binary_write_cache),
229 (gst_registry_binary_check_magic):
230 * gst/gstregistrybinary.h:
231 Don't write and check a CRC for the binary registry file. It's
232 guaranteed that the registry is completely written (it's first written
233 to a temporary file and then moved) and if the registry was corrupted
234 by some hardware failure we would have bigger problems.
236 Bump binary registry version to 0.10.21.1 for this as it's an
237 incompatible change and to ensure that the registry gets rebuild
240 This saves some milliseconds for reading/writing the registry.
243 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
245 * docs/random/wtay/poll-timeout:
246 Some pseudo code for how we could implement clock timeouts with GstPoll.
248 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
250 * plugins/elements/gstfilesink.c:
251 Update Author string to match others.
253 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
255 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
256 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
257 being fixed and inline the trivial check.
259 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
261 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
262 (gst_caps_merge_structure), (gst_caps_get_structure),
263 (gst_caps_copy_nth), (gst_caps_set_simple),
264 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
265 (gst_caps_is_equal_fixed), (gst_caps_intersect),
266 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
267 (gst_caps_to_string):
268 Callgrind micro optimisations.
269 Avoid array bounds checks and force inline of trivial function.
271 * gst/gstobject.c: (gst_object_set_name_default):
272 -1 is equivalent to letting glib to the strlen but then there is more
273 room for optimisations and it's not our fault.
275 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
276 no need to clear the array, we're cool.
278 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
279 The most common _is_fixed() check is done on fundamental glib base
280 types so we check this first instead of doing a huge amount of
281 useless GST_TYPE_ARRAY calls.
283 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
286 Add a SKIP seek flag for use with advanced trickmodes.
287 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
289 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
291 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
292 No need to memset, we can clear the value ourselves.
294 * gst/gstvalue.c: (gst_type_is_fixed),
295 (gst_value_get_compare_func):
296 Some optimisations from a few callgrind sessions:
297 When checking if a type is fixed, check for trivial fundamental types
298 first before checking types for which we need to get the type followed
299 by the heavy duty type checks, this reduces the amount of
300 g_type_fundamental() calls a lot.
301 When getting the compare function, first check for our registered types.
302 If that fails, do the heavy duty g_type_is_a() checks, reduces the
303 amount of g_type_is_a() considerably.
305 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
307 * docs/design/part-TODO.txt:
308 Mumble something about removing GstXML.
310 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
312 * gst/gstbin.c: (gst_bin_handle_message_func):
313 Get the seqnum before we dispose the message.
315 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
317 * docs/design/part-TODO.txt:
318 Refer to the framestepping document.
320 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
322 * gst/gstbin.c: (bin_handle_async_start),
323 (gst_bin_handle_message_func), (gst_bin_query):
324 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
325 (gst_base_sink_event), (gst_base_sink_change_state):
326 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
327 (gst_base_src_loop), (gst_base_src_change_state):
328 Copy seqnums from events to messages so that they can all be related
331 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
333 * tools/gst-launch.c: (event_loop):
334 Print the message seqnums.
336 2008-11-04 Andy Wingo <wingo@pobox.com>
338 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
340 2008-11-04 Andy Wingo <wingo@pobox.com>
342 Add sequence numbers to events and messages. See #559250.
344 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
348 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
349 events with a new sequence number, and copy it when copying.
350 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
351 an event's sequence number.
354 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
355 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
358 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
360 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
362 * docs/manual/advanced-position.xml:
363 * docs/manual/basics-bins.xml:
364 * docs/manual/basics-bus.xml:
365 * docs/manual/basics-pads.xml:
366 * docs/manual/intro-gstreamer.xml:
367 * docs/manual/intro-preface.xml:
368 Some Application Development Manual fixes thanks to
369 Andrew Feren. Fixes #558459.
371 2008-11-03 Stefan Kost <ensonic@users.sf.net>
373 * gst/gstregistrybinary.c:
374 Don't bother with the GTimer if we don't output the results.
376 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
378 Patch by: David Schleef <ds@schleef.org>
380 * libs/gst/net/Makefile.am:
381 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
383 2008-10-31 Stefan Kost <ensonic@users.sf.net>
385 * gst/gstregistrybinary.c:
386 Oh my, studip, stupid me. Remove double stat() call.
388 2008-10-31 Stefan Kost <ensonic@users.sf.net>
391 Use g_unlink instead of unlink.
393 * gst/gststructure.c:
402 Formatting & whitespaces.
404 2008-10-31 Stefan Kost <ensonic@users.sf.net>
406 * plugins/elements/gstidentity.c:
407 Doc typo. Use return value of parent_class->event.
409 * plugins/elements/gsttypefindelement.c:
410 Chain up at the end for consistency.
412 2008-10-30 Stefan Kost <ensonic@users.sf.net>
415 * docs/gst/gstreamer-docs.sgml:
416 * docs/gst/gstreamer-sections.txt:
417 * docs/gst/running.xml:
418 * docs/libs/gstreamer-libs-docs.sgml:
419 Change to xinclude based build - its faster and easier to maintain.
421 2008-10-30 Stefan Kost <ensonic@users.sf.net>
423 * gst/gstregistrybinary.c:
424 * gst/gstregistryxml.c:
425 Use g_unlink() as none of these are directories.
427 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
429 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
432 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
434 * libs/gst/base/gstbasetransform.c:
435 (gst_base_transform_find_transform), (gst_base_transform_getrange):
436 If we have a fixate function, call it even if we already have fixed caps
437 because the subclass might add some caps. Makes audioconvert add a
438 default channel layout.
440 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
442 * libs/gst/base/gstbasetransform.c:
443 (gst_base_transform_prepare_output_buffer),
444 (gst_base_transform_getrange):
445 Clear the output buffer variable.
446 Cleanups to the error path in the getrange function.
449 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
451 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
452 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
453 Use gst_buffer_try_new_and_alloc() and handle errors instead of
454 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
457 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
459 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
460 Set the last_stop to a more meaningful position when configuring the
461 segment. ie. the start/stop of the segment or clipped against the
462 updated segment boundaries.
464 * tests/check/gst/gstsegment.c: (GST_START_TEST):
465 Add some unit tests for the last_stop.
467 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
469 * libs/gst/base/gstbytereader.c:
470 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
473 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
475 * docs/gst/gstreamer-sections.txt:
477 API: Move float endianness conversion macros from libgstfloatcast
478 to core as it's useful in general, even in core. Fixes bug #555196.
479 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
480 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
481 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
483 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
484 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
485 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
486 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
488 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
490 * docs/libs/gstreamer-libs-sections.txt:
491 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
492 (gst_byte_reader_peek_data):
493 * libs/gst/base/gstbytereader.h:
494 * win32/common/libgstbase.def:
495 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
496 to get a pointer to the data at the current position and have
499 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
502 Fix a bug in the output of the configure script summary
503 when --gst-disable-registry is supplied
505 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
507 * libs/gst/base/gstbitreader.c:
508 * libs/gst/base/gstbytereader.c:
509 Fix the names of 2 functions in the docs strings.
511 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
513 * libs/gst/base/gstbasetransform.c:
514 (gst_base_transform_prepare_output_buffer),
515 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
516 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
517 refcount problems as seen in banshee and maybe also in farsight2.
518 Remove atomic int now that we need to take the lock anyways.
520 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
522 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
523 (gst_base_sink_default_prepare_seek_segment),
524 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
525 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
526 (gst_base_sink_query):
527 Implement more seeking in pull mode.
528 Use pad convert functions to convert position to the requested format.
529 Fix position/duration reporting in pull mode.
530 Implement position and duration reporting in other formats than time.
532 * libs/gst/base/gstbasesink.h:
533 Add member to keep track of when the segment is playing.
535 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
537 * gst/gstpad.c: (gst_pad_configure_src):
538 When we use gst_pad_alloc_buffer() without wanting to set the caps we
539 also don't need to check if the caps are compatible because the caller
540 presumably is going to perform its own custom checks. Fixes some cases
541 where basetransform elements would error out when it was not needed.
543 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
545 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
548 * libs/gst/base/gstbasetransform.c:
549 (gst_base_transform_handle_buffer),
550 (gst_base_transform_reconfigure):
553 * win32/common/libgstbase.def:
556 2008-10-19 Stefan Kost <ensonic@users.sf.net>
558 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
559 Remove duplicated assignment and log a message in failure case.
561 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
563 Patch by: Dig Ge <dig.ge.cn at gmail com>
565 * tests/examples/helloworld/helloworld.c: (main):
566 Fix copy'n'paste bug in hello world example (#556900).
568 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
570 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
571 (gst_base_sink_query):
572 Query the total number of bytes when activating the pad in pull mode.
573 Implement duration query in pull mode by using the installed pad convert
574 function to convert from bytes to the requested format.
576 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
578 * docs/libs/gstreamer-libs-sections.txt:
579 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
580 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
581 (gst_base_sink_event), (gst_base_sink_perform_seek),
582 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
583 (gst_base_sink_send_event), (gst_base_sink_change_state):
584 * libs/gst/base/gstbasesink.h:
585 Add method to commit the state in subclasses.
586 Refactor the flush_start and flush_stop code because we need it for
587 flushing while seeking too.
588 Implement the beginnings of seeking in pull mode.
589 Use the segment last_stop field for the pulling offset.
590 Fix the pause method in pull mode.
591 Configure the segment to BYTES for pull mode.
592 API: GstBaseSink::gst_base_sink_do_preroll()
594 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
596 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
599 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
601 * gst/gstquark.c: (_priv_gst_quarks_initialize):
602 Fix printf format warning.
604 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
606 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
607 Fix flow aggregation of tee. Error out immediately for all flow returns
608 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
609 and return OK if at least one pad is linked.
611 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
612 and otherwise returned the flow return of the last pad, which is wrong.
614 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
615 (GST_START_TEST), (tee_suite):
616 Add unit tests for the flow aggregation.
618 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
620 * docs/design/part-TODO.txt:
621 Remove item from the todo list because it was fixed with the latency
622 state change rewrites.
624 * docs/design/part-seeking.txt:
625 * docs/design/part-segments.txt:
628 * gst/gstevent.c: (gst_event_new_new_segment_full),
629 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
630 (gst_event_parse_buffer_size), (gst_event_new_qos),
631 (gst_event_parse_qos), (gst_event_new_seek),
632 (gst_event_parse_seek), (gst_event_new_latency),
633 (gst_event_parse_latency):
634 Use quarks to construct and parse events.
636 * gst/gstquark.c: (_priv_gst_quarks_initialize):
638 Add some more quarks to the table.
639 Emit a warning when the quark tables are not in sync.
641 * tests/check/gst/gstbus.c: (GST_START_TEST):
644 2008-10-13 Stefan Kost <ensonic@users.sf.net>
646 * plugins/elements/Makefile.am:
647 * plugins/indexers/Makefile.am:
648 Don't install static libs for plugins. Fixes #550851 for core.
650 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
652 * gst/gstbus.c: (gst_bus_source_finalize),
653 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
654 (gst_bus_enable_sync_message_emission),
655 (gst_bus_disable_sync_message_emission),
656 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
657 Fix deadlock, g_source_get_id() cannot be called in finalize.
658 Keep track of the watch source by keeping a pointer to the source object
660 Use the bus lock to protect access to the pointer to the current
663 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
665 Base on Patch by: Olivier Crete <tester at tester dot ca>
667 * gst/gstbus.c: (gst_bus_source_finalize),
668 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
669 Only allow one bus watch to be set at a time. This is necessary
670 because the dispatcher pops the message from the bus and the second
671 watcher will then get NULL or the next message (and the first won't
672 get this next message then, etc). If more than one "watcher" is
673 required signal watches should be used. Fixes bug #526044.
675 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
677 * tools/gst-launch.c:
678 Change the printing of the 'buffering...' output to avoid putting
679 a \r in a translateable string (flagged by the TP).
681 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
684 Clarify that the save_thyself() and restore_thyself() virtual
685 functions of GstObject need to be overriden, not
686 gst_object_(save|restore)_thyself() which is impossible.
689 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
691 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
692 Revert a patch from 21 months ago that broke caps negotiation in pull
693 mode. Basically, having a buffer pass over a pad will trigger the
694 setcaps function when caps change, just like in push mode.
696 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
698 * docs/design/part-negotiation.txt:
699 Update the docs some more.
701 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
702 If we pull a buffer with non-trivial caps, suggest those caps with the
705 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
707 * docs/design/part-TODO.txt:
708 Add another limitation of pad-blocking with segment seeks not pushing
711 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
713 * win32/common/libgstbase.def:
714 * win32/common/libgstreamer.def:
715 Add new symbols to the win32 defs files
717 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
719 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
720 (gst_bin_handle_message_func):
721 The message src can be NULL, don't try to print the object names in that
724 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
725 Add some more debug info.
727 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
730 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
733 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
735 * docs/design/part-negotiation.txt:
738 * docs/libs/gstreamer-libs-sections.txt:
739 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
740 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
741 (gst_base_sink_init), (gst_base_sink_set_blocksize),
742 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
743 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
744 (gst_base_sink_loop), (gst_base_sink_pad_activate),
745 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
746 (gst_base_sink_change_state):
747 * libs/gst/base/gstbasesink.h:
748 Add blocksize property and methods to control the amount of data
750 Negotiate first before activating upstream in pull mode so that they can
751 negotiate themselves.
752 When we operate in pull mode, we only accept the caps that we
754 Make the sink go ASYNC to PAUSED, like all other sinks.
755 API: GstBaseSink::gst_base_sink_set_blocksize()
756 API: GstBaseSink::gst_base_sink_get_blocksize()
757 API: GstBaseSink::blocksize
759 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
760 (gst_base_src_set_live), (gst_base_src_is_live),
761 (gst_base_src_set_format), (gst_base_src_query_latency),
762 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
763 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
764 (gst_base_src_set_property), (gst_base_src_get_property):
765 * libs/gst/base/gstbasesrc.h:
766 Add typechecking in public API functions.
767 Add methods to control the blocksize in subclasses.
768 API: GstBaseSrc::gst_base_src_set_blocksize()
769 API: GstBaseSrc::gst_base_src_get_blocksize()
771 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
773 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
774 (buffer_probe), (event_probe), (GST_START_TEST):
775 We now see 3 events go through our pad, since basesink now sends
776 upstream latency events.
778 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
780 * gst/gstpipeline.c: (gst_pipeline_change_state):
781 Release the object lock before trying to flush the bus.
783 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
785 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
786 Forward LATENCY events upstreams so that elements know about the total
787 pipeline latency. Fixes #555307.
789 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
791 * plugins/elements/gstqueue.c:
792 Allow through queries when we don't know how
793 to adjust them (not TIME or BYTES), as otherwise it's
794 not possible to query the current position in order
795 to seek in other formats at all.
797 2008-10-08 Andy Wingo <wingo@pobox.com>
799 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
801 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
805 Unbreak -good build, private is a reserved c++ keyword.
807 2008-10-08 Andy Wingo <wingo@pobox.com>
809 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
810 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
811 removal: re-add GST_GHOST_PAD_CAST to the header.
813 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
814 (GstGhostPadClass): Publically expose these structures so as to
815 allow easy subclassing from C. Hide the member data behind a
816 private opaque data pointer.
818 * gst/gstghostpad.c: Adapt to store instance data in the type
819 instance's private data region, not in the public struct.
821 2008-10-08 Andy Wingo <wingo@pobox.com>
823 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
824 template via g_object_get(), be sure to unref it.
826 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
828 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
830 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
831 If we can't get a cache file don't try to save something to it.
832 Dereferencing NULL pointers usually isn't a good idea.
834 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
836 * tests/check/Makefile.am:
837 * tests/check/gst/gstabi.c:
838 * tests/check/gst/struct_sparc.h:
839 * tests/check/libs/libsabi.c:
840 * tests/check/libs/struct_sparc.h:
843 * tests/check/gst/gstvalue.c: (GST_START_TEST):
844 Cast signed integer to unsigned to avoid a compiler warning.
846 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
848 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
849 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
850 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
851 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
852 (gst_byte_reader_peek_int24_be):
853 Use new GST_READ_UINT24_(LE|BE) macros.
855 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
857 * docs/gst/gstreamer-sections.txt:
859 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
860 as it's too easy to break the ISO C strict aliasing rules with simple
861 casts to the corresponding type and this would introduce hard to debug
862 bugs. Fixes bug #545714.
864 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
866 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
868 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
869 * gst/gstghostpad.c: (gst_ghost_pad_construct):
870 Add 'Since' bits to gtk-doc chunks for new API.
872 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
874 * docs/gst/gstreamer-sections.txt:
877 2008-10-06 Andy Wingo <wingo@pobox.com>
879 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
880 that will be called on the malloc_data to free it. Basically a way
881 to avoid subclassing when all you need is a different free
882 function, i.e. free() instead of g_free().
884 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
885 calling the free function.
886 (gst_buffer_init): Initialize the free function to g_free.
888 2008-10-06 Andy Wingo <wingo@pobox.com>
891 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
892 finishes the initialization of ghost pad. Useful for language
893 bindings and subclassers of GstGhostPad. Fixes #539108.
894 (gst_ghost_pad_new_full): Use the new constructor.
896 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
898 Base on Patch by: Olivier Crete <tester at tester dot ca>
900 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
901 (gst_bin_remove_func), (update_degree),
902 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
903 Keep track of pads that are being linked/unlinked and resync the state
906 * gst/gstpad.c: (gst_pad_get_direction),
907 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
908 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
909 (gst_pad_link_prepare), (gst_pad_link),
910 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
911 (gst_pad_check_pull_range), (gst_pad_get_range),
912 (gst_pad_pull_range):
913 Some code cleanups, use macros to check pad direction.
914 Don't need to take the lock on the pad direction.
915 Post structure change when pads are linked/unlinked.
916 Change some checks into _return_if_fail().
918 * tests/check/gst/gstbin.c:
919 (test_link_structure_change_state_changed_sync_cb),
920 (GST_START_TEST), (gst_bin_suite):
921 Add testcase for pad link/unlinke resync during a state change.
924 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
926 * docs/gst/gstreamer-sections.txt:
927 * gst/gstmessage.c: (gst_message_new_structure_change),
928 (gst_message_parse_structure_change):
930 Implement STRUCTURE_CHANGED messages. These messages will be used to
931 signal the parent bin of link/unlink operations that could require a
932 resync when doing a state change. See ##510354.
933 API: gst_message_new_structure_change()
934 API: gst_message_parse_structure_change()
936 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
940 Add some more quarks for new message. See #510354.
942 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
944 * docs/libs/gstreamer-libs-docs.sgml:
945 * docs/libs/gstreamer-libs-sections.txt:
946 * libs/gst/base/Makefile.am:
947 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
948 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
949 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
950 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
951 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
952 (gst_bit_reader_skip_to_byte):
953 * libs/gst/base/gstbitreader.h:
954 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
955 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
956 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
957 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
958 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
959 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
960 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
961 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
962 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
963 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
964 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
965 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
966 * libs/gst/base/gstbytereader.h:
967 * tests/check/Makefile.am:
968 * tests/check/libs/bitreader.c: (GST_START_TEST),
969 (gst_bit_reader_suite):
970 * tests/check/libs/bytereader.c: (GST_START_TEST),
971 (gst_byte_reader_suite):
972 API: Add bit reader and byte reader classes, including documentation
973 and an extensive unit test suite. Fixes bug #553554.
975 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
977 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
978 (gst_base_sink_query):
979 Improve position reporting while flushing and other intermediate state
980 changes. Fixes #553874.
982 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
984 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
986 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
987 Original patch by : Simon Descaries
988 Fix small refount leak in caps compatibility check.
991 2008-10-06 Stefan Kost <ensonic@users.sf.net>
993 * docs/pwg/advanced-request.xml:
994 Fix 0.8 api usage in example. Fixes #554561
996 * docs/pwg/appendix-porting.xml:
997 Change 0.9 to 0.10 here.
999 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1001 * docs/manual/basics-data.xml:
1002 Change "event-event interaction" to "element-element interaction".
1003 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1006 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1009 Back to development -> 0.10.21.1
1011 === release 0.10.21 ===
1013 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1016 releasing 0.10.21, "Take These Things From Me"
1018 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1021 0.10.20.4 pre-release
1023 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1025 * libs/gst/base/gstbasetransform.c:
1026 * plugins/elements/gstcapsfilter.c:
1027 * tests/check/Makefile.am:
1028 * tests/check/elements/.cvsignore:
1029 * tests/check/elements/capsfilter.c:
1030 Fix assertion in basetransform when the subclass chooses not to
1031 allocate a buffer in prepare_buffer(), and make capsfilter error out
1032 cleanly if requested to apply caps that don't completely specify the
1033 buffer. Fixes #551509
1035 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1037 * libs/gst/base/gstbasetransform.c:
1038 (gst_base_transform_prepare_output_buffer):
1039 Take new caps ref because our old one might have been gone when the
1040 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1042 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1045 Do not probe availability of check unit test library when cross
1046 compiling, as test would not work anyway. Also cleanup verbose output
1047 of the check test. Fixes #551952.
1049 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1051 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1053 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1054 Avoid leaking the parent ref when we fail changing the state of the
1055 element using gst_element_sync_state_with_parent(). Fixes #551978.
1057 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1059 * docs/manual/intro-motivation.xml::
1060 Remove some bits that no longer apply, update others (#551642).
1062 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1065 0.10.20.2 pre-release
1073 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1075 * win32/common/config.h.in:
1076 Add GST_DATADIR, hard-code cpu to x86.
1078 * win32/common/libgstreamer.def:
1081 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1084 Fix Since: markers for new geo tags.
1086 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1089 Fix actual tag name define after renaming from altitude to elevation.
1091 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1093 * gst/gstpad.c: (add_unref_pad_to_list),
1094 (gst_pad_get_internal_links_default):
1095 Add fallback when calling the deprecated function on an element that
1096 implements the new internal_link handler.
1098 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1100 * docs/gst/gstreamer-sections.txt:
1103 Add new tags for geo location and clarify purpose of existing location
1106 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1108 Patch by: Olivier Crete <tester at tester dot ca>
1110 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1111 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1112 Use thread-safe internal links iterator. Fixes #549504.
1114 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1116 Based on patch by: Olivier Crete <tester at tester dot ca>
1118 * docs/gst/gstreamer-sections.txt:
1119 * win32/common/libgstreamer.def:
1120 * gst/gstpad.c: (gst_pad_init),
1121 (gst_pad_set_iterate_internal_links_function),
1122 (int_link_iter_data_free), (iterate_pad),
1123 (gst_pad_iterate_internal_links_default),
1124 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1126 Add threadsafe replacement functions for getting internal links of an
1127 element. Deprecate the old internal links functions.
1128 API:GstPad::gst_pad_set_iterate_internal_links_function()
1129 API:GstPad::GstPadIterIntLinkFunction
1130 API:GstPad::gst_pad_iterate_internal_links()
1131 API:GstPad::gst_pad_iterate_internal_links_default()
1133 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1134 (gst_proxy_pad_init):
1135 Implement threadsafe internal links.
1137 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1138 Unit test for internal links on tee. See #549504.
1140 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1142 * tests/check/Makefile.am:
1143 libs/transform1 test requires libs/test_transform.c
1145 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1147 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1148 Die evil deadlock, die !
1150 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1152 * gst/gstutils.c: (gst_element_get_compatible_pad):
1153 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1154 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1155 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1156 not steal the refcount of the given caps as stated.
1158 REVERT THIS COMMIT ONCE FIXED !
1159 REVERT THIS COMMIT ONCE FIXED !
1160 REVERT THIS COMMIT ONCE FIXED !
1161 REVERT THIS COMMIT ONCE FIXED !
1162 REVERT THIS COMMIT ONCE FIXED !
1163 REVERT THIS COMMIT ONCE FIXED !
1165 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1167 * gst/gstiterator.c:
1168 * gst/gstiterator.h:
1169 After 3 years it's about time to revise the documentation of the
1172 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1174 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1175 Make the internal links function less thread-unsafe and add some
1176 comments, dunno why.
1178 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1180 * gst/gst_private.h:
1181 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1182 build with --disable-gst-debug.
1184 2008-08-28 David Schleef <ds@schleef.org>
1186 * gst/gstpadtemplate.c: Revert last change, since it breaks
1187 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1188 but shouldn't be enabled until we've released fixed versions
1189 of -good and -ffmpeg.
1191 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1194 Put the gst_object_get_name() back in.
1196 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1198 * gst/gstpadtemplate.c:
1199 The old behaviour was that gst_pad_template_new() takes ownership of
1200 the caps. As we now call g_object_new() which calls g_object_set() and
1201 which copies the caps, we have to unref them to not leak them. Fixes
1202 make valgrid for me.
1204 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1207 Don't segfault on input like "tel:+1-123-555-1234".
1209 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1212 Due to popular request also include ObjectType in
1213 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1215 2008-08-26 David Schleef <ds@schleef.org>
1217 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1218 src_val must be positive, because that's not a requirement.
1219 This causes problems with converting negative granulepos
1221 * gst/gstquery.c: Same, gst_query_new_convert().
1223 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1225 * gst/gstclock.c: (gst_clock_add_observation):
1226 Add some more debugging to the clock slaving code.
1228 * win32/common/libgstbase.def:
1229 Add new basetransform method.
1231 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1233 * gst/gstbin.c: (gst_bin_element_set_state):
1234 Take the (recursive) state lock between getting the locked state of an
1235 element and changing the element state. This allows the application to
1236 lock an element's state and then change its state without races.
1238 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1240 * gst/gstbin.c: (gst_bin_element_set_state):
1241 When an element is in the locked state we still want to update the
1242 base_time of the element.
1244 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1246 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1247 Use the result from gst_pad_set_caps() instead of assuming the element
1248 always accepted the caps computed by the default negotiate function.
1250 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1252 * docs/libs/gstreamer-libs-sections.txt:
1253 * libs/gst/base/gstbasetransform.c:
1254 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1255 (gst_base_transform_chain), (gst_base_transform_suggest),
1256 (gst_base_transform_reconfigure):
1257 * libs/gst/base/gstbasetransform.h:
1258 Implement method for reconfiguring basetransform.
1259 API: GstBaseTransform::gst_base_transform_reconfigure()
1261 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1263 patch by: Murray Cumming <murrayc@murrayc.com>
1266 Mention that this is just like gst_buffer_merge() but with extra
1267 unreffing for C coders. Advise language bindings not to wrap it.
1270 Also fix file comment.
1272 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1274 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1276 * plugins/elements/gstfakesink.c:
1277 * plugins/elements/gstfakesrc.c:
1278 Call super::event() when not handling it. Fixes #544855.
1280 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1282 Patch by: Alessandro Decina <alessandro@nnva.org>
1283 * plugins/elements/gstfilesrc.c:
1284 Use 64 bit variants of stat functions on win32, to enable support
1285 of large files there.
1288 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1290 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1291 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1292 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1293 (gst_base_sink_get_position), (gst_base_sink_change_state):
1294 Improve position reporting in the flushing state.
1295 Also report the position when we are not yet prerolled but we
1296 have a newsegment event. Fixes #543444.
1297 Improve the pull-based negotiation code.
1299 * tests/check/elements/fakesink.c: (GST_START_TEST),
1301 Add testcase for position reporting while flushing in PAUSED and
1304 * tests/check/generic/sinks.c: (GST_START_TEST):
1305 Update unit-test, we can now query the position as soon as we receive a
1308 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1310 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1312 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1313 When the subclass event handler releases the PREROLL_LOCK, we could be
1314 in the flushing state and we have to ignore the event. Fixes #548394.
1316 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1318 * tools/gst-launch.1.in:
1319 Document GST_REGISTRY_UPDATE environment variable.
1321 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1323 * libs/gst/base/gstbasetransform.c:
1324 (gst_base_transform_prepare_output_buffer):
1325 If the element is configured in passthrough mode but the
1326 prepare_output_buffer gave us a new output buffer, discard that buffer
1327 and reuse the input buffer.
1329 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1331 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1333 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1334 (gst_tee_request_new_pad), (gst_tee_release_pad),
1335 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1336 * plugins/elements/gsttee.h:
1337 Protect pad_alloc with a new lock so that we can be sure that nothing is
1338 performing a pad_alloc when removing the pad. Fixes #547835.
1340 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1341 (buffer_alloc_harness_teardown), (app_thread_func),
1342 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1343 Added testcase for shutdown race.
1345 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1350 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1352 * libs/gst/base/gstbasetransform.c:
1353 (gst_base_transform_prepare_output_buffer),
1354 (gst_base_transform_buffer_alloc):
1355 Go over the buffer_alloc function again and make sure we always end up
1356 allocating a buffer.
1358 Avoid doing pad alloc when we have a pending suggestion because we
1359 cannot yet deal with changing caps in that case. Fixes #547728
1361 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1363 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1365 * docs/manual/advanced-clocks.xml:
1366 * docs/manual/clocks.png:
1367 * docs/manual/diagrams-clocks.svg:
1368 Add one more image showing different times together with a describing
1369 paragraph. Fixes #547729.
1371 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1373 * win32/common/libgstbase.def:
1376 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1378 * libs/gst/base/gstbasetransform.c:
1379 (gst_base_transform_transform_caps),
1380 (gst_base_transform_prepare_output_buffer),
1381 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1382 Don't overwrite the outsize when calculating the expected size of a new
1383 buffer because we still need it in case we cannot process the new
1385 When converting the size of the new buffer to an upstream size, actually
1386 use the expected size of the buffer, not some other random value.
1387 Use an atomic int to signal that a new upstream caps suggestion is
1389 When we can convert the current buffer to a new format, check if the
1390 buffer size is of the expected size and allocate a new buffer of the
1391 expected size when this is not the case. Fixes #546883.
1393 * tests/check/libs/transform1.c: (GST_START_TEST):
1394 remove ifdeffed code from the unit test.
1396 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1398 * pkgconfig/gstreamer-uninstalled.pc.in:
1399 * pkgconfig/gstreamer.pc.in:
1400 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1401 called gstcontroller-0.10.
1403 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1405 * gst/gstchildproxy.h:
1407 Remove double interface from doc-string.
1409 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1411 * libs/gst/base/gstbasesrc.c:
1412 * libs/gst/base/gstbasetransform.c:
1413 Fix headings in docs and gtk-doc warnings.
1415 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1417 * gst/gstregistrybinary.c:
1418 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1422 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1424 * libs/gst/base/gstbasetransform.c:
1425 (gst_base_transform_buffer_alloc):
1426 Fix a "may be used unitialized" warning.
1428 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1430 * docs/gst/gstreamer-sections.txt:
1432 Document preset-iface vmethods.
1434 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1436 * docs/manual/advanced-interfaces.xml:
1437 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1438 only used to discover devices.
1440 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1442 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1444 * gst/gst.c: (init_pre):
1445 Make sure gettext returns translations in UTF-8 encoding rather
1446 than in the current locale encoding (#546822).
1448 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1450 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1453 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1454 Improve unit test subset tests and add a testcase for the subset failure
1457 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1458 Improve subtraction unit test.
1460 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1462 * plugins/elements/gsttee.c:
1463 Unlock, instead of locking again.
1465 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1468 Clarify the docs a bit more.
1470 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1472 * tests/examples/metadata/read-metadata.c:
1473 Don't leak old taglist.
1475 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1477 Patch by: Olivier Crete <tester at tester dot ca>
1479 * gst/gststructure.c:
1480 (gst_structure_fixate_field_nearest_fraction):
1481 Avoid overflows in fixation code when dealing with MAXINT values, which
1482 v4l2src seems to do.
1485 * tests/check/gst/gststructure.c: (GST_START_TEST):
1486 Make a unit test to check the fix.
1488 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1490 * plugins/elements/gstcapsfilter.c: (copy_func),
1491 (gst_capsfilter_set_property):
1492 Use new caps suggestion feature of basetransform to request a caps
1493 negotiation upstream.
1495 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1497 * docs/libs/gstreamer-libs-sections.txt:
1499 API: GstBaseTransform::gst_base_transform_suggest()
1501 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1502 (gst_base_transform_init), (gst_base_transform_transform_caps),
1503 (gst_base_transform_transform_size),
1504 (gst_base_transform_configure_caps),
1505 (gst_base_transform_can_transform),
1506 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1507 (gst_base_transform_prepare_output_buffer),
1508 (gst_base_transform_buffer_alloc),
1509 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1510 (gst_base_transform_chain), (gst_base_transform_activate),
1511 (gst_base_transform_set_passthrough),
1512 (gst_base_transform_is_passthrough),
1513 (gst_base_transform_set_in_place),
1514 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1515 (gst_base_transform_set_qos_enabled),
1516 (gst_base_transform_is_qos_enabled),
1517 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1518 (gst_base_transform_reconfigure):
1519 * libs/gst/base/gstbasetransform.h:
1520 Rewrite of basetransform to perform negotiation outside of the
1521 buffer_alloc functions. Fixes #545853.
1523 * tests/check/libs/transform1.c: (GST_START_TEST),
1527 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1529 * tests/check/gst/gstpreset.c:
1530 Only run preset tests when $HOME is writable. Preliminary fix for
1533 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1535 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1536 (gst_bin_change_state_func), (bin_handle_async_done),
1537 (gst_bin_handle_message_func):
1538 Fix race for bins that simulate ASYNC state changes by inserting
1539 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1540 pending ASYNC messages even when the bin does not have ASYNC children.
1541 We note detect this behaviour because we will receive an ASYNC message
1542 that is originating from the bin itself.
1543 Fixes races with decodebin2 state changes.
1545 * tests/check/gst/gstbin.c: (GST_START_TEST):
1546 Add some more debug.
1548 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1550 * gst/gsttaglist.c: (_gst_tag_initialize):
1553 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1556 Argh. actually save the text before committing. Now adds
1557 gst_tag_merge_strings_with_comma() to gst_tag_register().
1559 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1563 Do as tim pointed out and actually register the new tag. Also improve
1564 te docs and use gst_tag_merge_strings_with_comma() method to allow
1565 retriving all keywords merged in one list.
1567 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1570 * docs/gst/gstreamer.types:
1571 Revert 'accidential' change of the configure option removal. We still
1572 need to generate the types file in configure --disable-load-save.
1574 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1576 * docs/gst/gstreamer-sections.txt:
1578 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1580 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1582 * gst/gstpadtemplate.c:
1583 (gst_pad_template_class_init), (gst_static_pad_template_get),
1584 (gst_pad_template_new), (gst_pad_template_pad_created),
1585 (gst_pad_template_set_property), (gst_pad_template_get_property):
1586 Add "name-template", "direction", "presence" and "caps" properties,
1587 so that gst_pad_template_new() is just a thin wrapper around
1588 g_object_new(), which is better for bindings. (Fixes: #539772)
1590 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1593 Be more liberal in what URIs we accept.
1594 Do not unescape bits of the URI for no apparent reason before passing to
1595 the element. Fixes #545352.
1597 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1599 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1602 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1604 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1607 * docs/gst/gstreamer-sections.txt:
1608 * docs/gst/gstreamer.types:
1609 * docs/gst/gstreamer.types.in:
1612 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1613 * gst/gstconfig.h.in:
1614 * gst/gstelement.c: (gst_element_get_index):
1615 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1616 (gst_registry_binary_load_feature),
1617 (gst_registry_binary_read_cache):
1618 * gst/gstregistryxml.c: (load_feature),
1619 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1620 * plugins/Makefile.am:
1622 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1623 (print_plugin_features), (print_element_features):
1624 * tools/gst-xmlinspect.c: (print_event_masks),
1625 (print_element_info):
1626 * win32/common/gstconfig.h:
1627 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1629 Disabling the indexers and URI handler code will only reduce the
1630 required amount of memory by a very small amount but on the other hand
1631 requires much more maintaince work. Apart from that many places of
1632 code are broken when disabling them.
1634 Disabling the enum types doesn't reduce the required amount of memory
1635 by more than a few bytes and makes it hard to fix bugs like #539772,
1636 i.e. use the enums as GObject properties.
1638 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1640 * docs/design/part-TODO.txt:
1641 Add some thoughts and problems with upstream renegotiation.
1643 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1645 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1646 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1647 Remove silly redundant debug.
1648 Add some more debug info.
1649 Clarify the docs regarding new caps received from pad_alloc.
1651 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1653 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1654 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1655 Make setting the caps more threadsafe.
1657 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1659 * docs/design/part-element-transform.txt:
1662 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1664 * plugins/elements/gstqueue.c: (gst_queue_init),
1665 (gst_queue_acceptcaps):
1666 Add and use a custom acceptcaps function instead of falling back to the
1667 potentially less optimized default implementation.
1669 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1671 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1672 Only sanity-check the buffer size if requested_caps == buffer_caps
1673 (ie. don't take pad caps into account, they're not relevant here)
1675 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1677 * plugins/elements/gsttee.c:
1678 * plugins/elements/gsttee.h:
1679 Reverting as not everything is clear yet. Needs some general design
1682 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1685 ChangeLog surgery for tee commit.
1687 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1689 * docs/gst/gstreamer-sections.txt:
1690 Cleanup section-file.
1692 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1694 * plugins/elements/gsttee.c:
1695 * plugins/elements/gsttee.h:
1696 Relay tag events in tee. Fixes parts of #474016.
1697 Downgrades 3 reoccurring debugs to log.
1699 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1702 * libs/gst/Makefile.am:
1703 Build the net library if we have winsock2.
1705 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1707 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1709 * docs/manual/advanced-threads.xml:
1710 * docs/manual/diagrams-pipelines.svg:
1711 * docs/manual/hello-world.png:
1712 * docs/manual/linked-elements.png:
1713 * docs/manual/mime-world.png:
1714 * docs/manual/queue.png:
1715 * docs/manual/thread-buffering.png:
1716 * docs/manual/thread-synchronizing.png:
1717 Replace one diagram with two separate ones and updates others.
1720 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1723 Fix link in documentation.
1725 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1728 Fix confusing documentation.
1730 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1732 * libs/gst/base/gstbasesrc.h:
1733 revert the changes to the header file for the ABI.
1735 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1737 * libs/gst/base/gstbasesrc.c:
1738 * libs/gst/base/gstbasesrc.h:
1739 Don't cache the seekable status.
1742 2008-07-24 Rene Stadler <mail@renestadler.de>
1744 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1745 code to close the pipeline graph. This prevents the program from
1746 printing internal data flow errors.
1748 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1750 * docs/manual/basics-bus.xml:
1751 Correct typo. Fixes bug #544320.
1753 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1756 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1757 Add check (taken from -base) for winsock, adds WIN32_LIBS
1759 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1761 Define GST_EXPORTS when building libgstreamer (only used on win32)
1762 * gst/gst_private.h:
1764 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1765 for symbols that we need to export in both these files.
1767 Include gst_private.h higher up to avoid some compile problems on win32.
1769 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1774 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1777 Previous commit was wrong NULL caps does not exist
1778 and indicate an error, so also add a FIXME to
1779 gst_caps_is_equal where NULL caps are accepted.
1781 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1784 Allow passing of NULL to gst_caps_union
1786 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1788 * gst/gstghostpad.c:
1789 Add in doc that gst_ghost_pad_set_target can accept
1790 NULL to clear target
1792 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1795 * gst/gstregistry.c:
1796 GstRegistryPool doesn't exist; don't refer to it in docs.
1797 Don't refer to functions that don't exist in docs, it's
1800 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1803 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1805 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1807 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1809 * docs/pwg/building-testapp.xml:
1810 Don't use an undeclared variable in the example program.
1813 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1815 * gst/gstdebugutils.c:
1816 Squeeze ghost-pad links and remove <> from classname labels to save
1817 more horizontal space.
1819 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1821 * gst/gstdebugutils.c:
1822 Give request and sometimes pads a different shpe style. Condense the
1823 graphs a little more.
1825 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1828 Don't require flex and bison if the parser is disabled.
1830 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1832 * libs/gst/controller/gstinterpolationcontrolsource.c:
1833 (_list_find_sorted_custom):
1834 Don't use declarations after statements.
1836 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1838 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1839 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1840 of the the child-added / -removed signals as GstChildProxy
1841 only supports GstObjects.
1843 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1845 * gst/gstdebugutils.c:
1848 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1850 Patch by: Alessandro Decina <alessandro at nnva dot org>
1853 Fix "ignored return value" compiler warning with newer glibc.
1855 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1857 * gst/gstchildproxy.c:
1858 Fix copy&paste error in gst_child_proxy_removed() documentation.
1860 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1862 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1863 Print error debug message if plugin description fields that should
1866 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1867 Don't crash if the string to serialise is NULL (it really should
1868 not be, but apparently this used to work with the xml registry ...).
1870 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1872 * tools/gst-plot-timeline.py:
1873 Fix parsing of log messages
1875 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1877 * win32/common/libgstbase.def::
1878 Sort alphabetically so make check-exports doesn't barf.
1880 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1883 Use gst_format_get_name() to improve debug output.
1886 Remove #ifdef'ed code. Add TODO comment.
1889 Add debug output to ease spotting format != segment.format assertions.
1891 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1893 * tests/check/libs/gdp.c: (gst_dp_suite):
1894 Also enable the GDP unit test again on PPC now that the bug
1897 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1899 * libs/gst/dataprotocol/dataprotocol.c:
1900 Don't write to the same region of memory as a uint64 and uint16
1901 as this breaks strict aliasing rules and apparantly breaks on PPC
1902 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1904 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1906 * libs/gst/controller/gstinterpolationcontrolsource.c:
1907 Optimize list handling. Use own find function. Exploit that fact that
1908 the list is sorted. Also pass back the node before, so that we can
1909 insert quickly. Have a fast path for append.
1911 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1913 * docs/design/draft-framestep.txt:
1914 * docs/design/part-negotiation.txt:
1917 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1920 Show configuration sumary after configure run. Based on patch by
1921 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1923 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1925 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1927 * docs/manual/advanced-autoplugging.xml:
1928 * docs/manual/advanced-threads.xml:
1929 * docs/manual/basics-bins.xml:
1930 * docs/manual/basics-elements.xml:
1931 * docs/manual/basics-helloworld.xml:
1932 * docs/manual/basics-pads.xml:
1933 Add scale factor for pdf output.
1935 * docs/manual/intro-basics.xml:
1936 Switched sections "pads" and "bins" and added a pipeline diagram.
1938 * docs/manual/intro-gstreamer.xml:
1939 Added more info on gstreamer.
1941 * docs/manual/intro-motivation.xml:
1942 Commented out the whole section "current problem", which sounds
1943 historical and somehow osolete; it could be turned in a positive
1944 way and reused to improve the design principles.
1946 * docs/manual/intro-preface.xml:
1947 - Update URLs to library.gnome.org.
1948 - Do not mention GTK+ in preliminary reading (irrelevant).
1949 - Mention Plugin Writer's Manual and further reading only in the
1951 - Added a list of most relevant GObject/glib topics.
1953 * docs/manual/Makefile.am:
1954 * docs/manual/bin-element-ghost.fig:
1955 * docs/manual/bin-element-ghost.png:
1956 * docs/manual/bin-element-noghost.fig:
1957 * docs/manual/bin-element-noghost.png:
1958 * docs/manual/bin-element.fig:
1959 * docs/manual/bin-element.png:
1960 * docs/manual/filter-element-multi.fig:
1961 * docs/manual/filter-element-multi.png:
1962 * docs/manual/filter-element.fig:
1963 * docs/manual/filter-element.png:
1964 * docs/manual/gstreamer-overview.png:
1965 * docs/manual/hello-world.fig:
1966 * docs/manual/hello-world.png:
1967 * docs/manual/linked-elements.fig:
1968 * docs/manual/linked-elements.png:
1969 * docs/manual/mime-world.fig:
1970 * docs/manual/mime-world.png:
1971 * docs/manual/queue.fig:
1972 * docs/manual/queue.png:
1973 * docs/manual/simple-player.png:
1974 * docs/manual/sink-element.fig:
1975 * docs/manual/sink-element.png:
1976 * docs/manual/src-element.fig:
1977 * docs/manual/src-element.png:
1978 * docs/manual/diagrams-general.svg:
1979 * docs/manual/diagrams-pipelines.svg:
1980 Removed .fig, added .png counterpart.
1984 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1986 * plugins/elements/gstmultiqueue.c:
1987 * plugins/elements/gstmultiqueue.h:
1988 revert extra-size-buffers stuff, caused some race conditions
1989 and extra-size-buffers is not used anymore. Docs needs some updates
1991 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1993 * win32/common/config.h:
1994 * win32/common/gstenumtypes.c:
1995 * win32/common/gstenumtypes.h:
1996 * win32/common/gstversion.h:
1999 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2001 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2002 (GST_DEBUG_BIN_TO_DOT_FILE):
2003 Add missing Since' markers to gtk-doc blurbs.
2005 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2007 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2008 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2009 (set_caps_1), (set_caps_ct1), (transform_ct1),
2010 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2011 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2012 (transform_size_ct2), (buffer_alloc_ct2):
2013 Add some more tests with switching caps in buffer_alloc.
2015 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2017 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2018 (gst_test_trans_class_init), (result_sink_chain),
2019 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2020 (gst_test_trans_push), (gst_test_trans_pop):
2021 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2022 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2023 (set_caps_1), (set_caps_ct1), (transform_ct1),
2024 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2025 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2026 (transform_size_ct2), (buffer_alloc_ct2),
2027 (gst_basetransform_suite):
2028 More tests, prepare for tests with switching caps in buffer_alloc.
2030 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2032 * plugins/elements/gstmultiqueue.c:
2033 * plugins/elements/gstmultiqueue.h:
2034 Fix dead-lock in underrun_cb
2036 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2038 * docs/design/part-states.txt:
2039 Fix device open/close docs.
2041 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2044 Mention bugnumber for last commit.
2046 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2048 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2050 * docs/manual/manual.xml:
2051 - Reorganised the previous "introduction" bundle into Foreword,
2052 Introduction, and About GStreamer. The two first are <preface>
2053 docbook elements. The later is the first part of the book.
2054 - added intro-gstreamer.xml (content partially from
2056 - moved appendix-win32.xml into appendix-integration.xml
2058 * docs/manual/intro-preface.xml: gstreamer section moved...
2059 * docs/manual/intro-gstreamer.xml: ...here. new file.
2061 * docs/manual/appendix-win32.xml: removed file. Content moved...
2062 * docs/manual/appendix-integration.xml: ...here.
2064 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2065 * docs/manual/appendix-checklist.xml: ...here.
2069 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2071 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2073 * docs/manual/basics-helloworld.xml:
2074 * docs/manual/hello-world.fig:
2075 - Explicitely include glib.h.
2076 - Do not use global variables.
2077 - Use g_printerr() instead of g_print().
2078 - Minor formating/renaming to increase readibility.
2079 - Renamed new_pad() to on_pad_added()
2080 - Improved explenatory comments.
2081 - renamed ogg parser to ogg demuxer
2082 - Use "autoaudiosink" instead of "alsasink".
2085 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2088 Remove cvs conflict marker.
2090 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2093 Document that for plgin-docs we extraxt he short-desc from the element
2096 * docs/design/part-states.txt:
2097 Tell that devices should be closed in PAUSED -> READY.
2099 * docs/manual/README:
2100 Document how tests in the manual are handled.
2105 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2107 * gst/gstbin.c: (bin_query_latency_fold):
2108 Only care about latency min and max when the sink is actually a live
2111 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2113 * docs/design/part-block.txt:
2116 * docs/design/part-element-transform.txt:
2117 Add notes about why transform needs to know input/output sizes.
2118 Add some issues that need to be solved.
2119 Add some more use cases.
2121 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2122 (gst_test_trans_class_init), (result_sink_chain),
2123 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2124 (gst_test_trans_push), (gst_test_trans_pop):
2125 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2126 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2127 (set_caps_1), (set_caps_ct1), (transform_ct1),
2128 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2129 (gst_basetransform_suite):
2130 Add suport for different pad templates and buffer-alloc.
2131 Add more checks for caps and buffer-alloc.
2132 Add checks for proxy buffer alloc.
2133 Add unit test for copy transform.
2135 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2137 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2139 * docs/manual/appendix-integration.xml:
2140 * docs/manual/appendix-licensing.xml:
2141 * docs/manual/basics-elements.xml:
2142 * docs/manual/basics-helloworld.xml:
2143 * docs/manual/basics-pads.xml:
2144 * docs/manual/highlevel-components.xml:
2145 * docs/manual/highlevel-xml.xml:
2146 * docs/manual/intro-basics.xml:
2147 * docs/manual/intro-preface.xml:
2148 Typo and formatting fixes (#538594).
2150 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2152 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2153 Fix some memory leaks and uses of object instances that we don't
2156 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2158 * plugins/elements/gstmultiqueue.c:
2159 Add functionality to extra-size-buffers property.
2161 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2163 * plugins/elements/gstmultiqueue.c:
2164 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2165 activate the pads if they are added in STATE_NULL.
2167 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2169 * docs/libs/gstreamer-libs-sections.txt:
2171 * libs/gst/check/gstcheck.c:
2172 * libs/gst/check/gstcheck.h:
2173 API: gst_check_teardown_pad_by_name
2175 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2177 * libs/gst/check/gstcheck.c:
2178 * libs/gst/check/gstcheck.h:
2179 Also setup request pads and allow setup pads by name (#537812)
2180 API: gst_check_setup_src_pad_by_name
2181 API: gst_check_setup_sink_pad_by_name
2183 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2185 * tests/check/gst/gstbuffer.c:
2186 * tests/check/pipelines/parse-launch.c:
2187 Use HAVE_VALGRIND_H some more.
2189 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2191 * scripts/cvs-update.sh:
2192 Pass arguments to make.
2193 Run autoregen.sh if Makefile is not there.
2195 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2199 Don't assume that <valgrind/valgrind.h> exists just because
2200 the binary is there.
2202 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2204 * tests/check/Makefile.am:
2205 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2206 (gst_test_trans_class_init), (gst_test_trans_init),
2207 (gst_test_trans_set_data), (result_sink_chain),
2208 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2209 (gst_test_trans_pop):
2210 * tests/check/libs/transform1.c: (GST_START_TEST),
2211 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2212 Add some test basetransform element and the beginnings of various
2215 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2217 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2218 Increase code readability.
2219 Don't try to compare buffer offsets when ther are invalid.
2221 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2223 * docs/design/Makefile.am:
2224 Dist some more design docs.
2226 * docs/random/moving-plugins:
2227 Small addition: good plugins mustn't have functional code
2228 within assertion macros.
2230 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2232 * docs/design/draft-framestep.txt:
2233 Some ideas about a framestep API
2235 * docs/design/part-element-transform.txt:
2236 Start design and use cases for basetransform in order to get it
2239 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2242 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2243 be in UTF-8 encoding.
2245 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2248 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2250 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2252 * plugins/elements/gstcapsfilter.c:
2253 * plugins/elements/gstfakesink.c:
2254 * plugins/elements/gstfakesrc.c:
2255 * plugins/elements/gstfdsink.c:
2256 * plugins/elements/gstfdsrc.c:
2257 * plugins/elements/gstfilesink.c:
2258 * plugins/elements/gstfilesrc.c:
2259 * plugins/elements/gstidentity.c:
2260 * plugins/elements/gstmultiqueue.c:
2261 * plugins/elements/gstqueue.c:
2262 * plugins/elements/gsttee.c:
2263 * plugins/elements/gsttypefindelement.c:
2264 Remove short_description. Add basic docs for gsttypefindelement.
2265 Simplify markup for fakesrc/fdsrc.
2267 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2269 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2272 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2274 Patch by: Joel Larsson <tilljoel at gmail dot com>
2276 * docs/plugins/gstreamer-plugins.args:
2277 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2278 (gst_fd_src_init), (gst_fd_src_update_fd),
2279 (gst_fd_src_set_property), (gst_fd_src_get_property),
2280 (gst_fd_src_create):
2281 * plugins/elements/gstfdsrc.h:
2282 Add timeout property like udpsrc. Fixes #538628.
2283 Add some more docs and example pipelines.
2285 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2287 * docs/libs/gstreamer-libs-sections.txt:
2288 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2289 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2290 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2291 (gst_base_sink_do_sync):
2292 * libs/gst/base/gstbasesink.h:
2293 * win32/common/libgstbase.def:
2294 Add method to allow sinks to specify additional delay between the sync
2295 times and the actual rendering of the data.
2296 API: gst_base_sink_set_render_delay()
2297 API: gst_base_sink_get_render_delay()
2299 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2302 Bump version number back to dev -> 0.10.20.1
2304 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2306 * docs/gst/gstreamer-sections.txt:
2307 * gst/gsttaglist.c: (_gst_tag_initialize):
2309 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2312 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2314 * libs/gst/controller/gstcontroller.c:
2315 Revert one change, that make ret value possible uninitialized.
2317 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2319 * libs/gst/controller/gstcontroller.c:
2320 Use freeze/thaw notify to sync notify emission a bit (its also more
2321 efficient). Move debug output to LOG (is called a lot in a loop).
2322 Always unset g_values if the have been initialized.
2324 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2326 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2327 (gst_base_sink_wait_eos), (gst_base_sink_event):
2328 If we have not seen a buffer before EOS, use the segment values to
2329 report the current position instead of invalid positions.
2331 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2333 * docs/plugins/tmpl/.cvsignore:
2334 * tests/check/gst/.cvsignore:
2337 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2339 * libs/gst/controller/gstinterpolation.c:
2340 * libs/gst/controller/gstinterpolationcontrolsource.c:
2341 * tests/check/libs/controller.c:
2342 Rewrite handling of default values. Fix overflow with unsigned types
2343 in linear interpolation. Remove now obsolete _first_value() function.
2344 Add more tests. Fixes #538201.
2346 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2348 * libs/gst/base/gstbasetransform.c:
2349 (gst_base_transform_class_init), (gst_base_transform_init),
2350 (gst_base_transform_transform_caps),
2351 (gst_base_transform_prepare_output_buffer):
2353 When a buffer is writable, its metadata is also writable so we don't
2354 need to subbuffer (which then makes the buffer not-writable anymore).
2356 === release 0.10.20 ===
2358 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2361 releasing 0.10.20, "You Crazy Diamond"
2363 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2366 0.10.19.3 pre-release
2368 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2372 Rename DATADIR to GST_DATADIR to avoid build problems
2373 on win32. Patch By: David Schleef <ds@schleef.org>
2376 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2379 Explicitely link with -ldl if dladdr() is found there. Before it was
2380 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2381 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2383 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2385 * gst/gsterror.c: (_gst_stream_errors_init):
2386 Fix typo (spotted by Fabricio Godoy, #536723).
2388 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2391 0.10.19.2 pre-release
2393 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2395 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2396 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2398 Make sure we don't generate invalid QoS messages.
2400 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2402 * gst/gstevent.c: (gst_event_new_qos):
2403 Add some assert and docs for invalid input to the qos function.
2405 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2407 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2408 (gst_base_sink_get_position):
2409 The reported position must always be smaller than the last seen
2410 timestamps (or timestamp + duration for reverse).
2412 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2414 Patch by: Rob Bradford <rob at robster dot org dot uk>
2416 * gst/gstregistry.c: (gst_registry_scan_path_level):
2417 Don't recurse into .debug directories as some distros install
2418 the debugging symbols next to the plugins in .debug directories
2419 and dlopen() crashes on them sometimes. Fixes bug #508070.
2421 Add FIXME for 0.11 to not recurse into directories at all because
2422 it's very inconsistent to the behaviour of other PATH environment
2425 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2427 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2428 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2429 Fix position query range checks in reverse playback.
2431 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2435 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2436 clear of the reference to the resulting pad must be released later
2437 or not, resulting in possible leaks. Fixes bug #533865.
2439 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2441 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2443 * gst/gstelementfactory.c:
2444 Small doc fix. Fixes #535285.
2446 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2448 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2450 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2451 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2452 (gst_base_src_loop), (gst_base_src_set_flushing),
2453 (gst_base_src_change_state):
2454 Make sending an EOS event to the basesrc non-blocking even if the
2455 implementation does blocking waits in the create function. This is done
2456 by unlocking the create function when EOS is sent.
2459 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2461 * tools/gst-inspect.c: (print_element_properties_info):
2462 If possible print the element type of GValueArray properties.
2464 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2466 * gst/gstiterator.c:
2467 Remove an unused field from the private GstListIterator struct.
2469 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2471 * libs/gst/controller/gstcontroller.c:
2472 Add parameter guards.
2474 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2476 * tests/check/gst/gstpipeline.c:
2477 Revert test change and add comment why it should not work.
2479 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2481 * tests/check/gst/gstpipeline.c:
2482 Extending the test a little to verify that we also get the NULL state-
2485 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2487 * gst/gstpreset.c: (gst_preset_default_get_meta),
2488 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2489 (gst_preset_load_preset), (gst_preset_save_preset),
2490 (gst_preset_rename_preset), (gst_preset_delete_preset),
2491 (gst_preset_set_meta):
2492 Add Since: markers to docs blurbs.
2494 * win32/common/libgstreamer.def:
2495 Add recently-added API.
2497 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2499 Patch by: Stefan Kost <ensonic@users.sf.net>
2502 Add DATADIR for storing presets.
2504 * docs/gst/gstreamer-docs.sgml:
2505 * docs/gst/gstreamer-sections.txt:
2506 * docs/gst/gstreamer.types.in:
2507 Add GstPreset to docs.
2511 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2512 (preset_open_and_parse_header), (preset_parse_version),
2513 (preset_merge), (preset_get_keyfile),
2514 (gst_preset_default_get_preset_names),
2515 (gst_preset_default_get_property_names),
2516 (gst_preset_default_load_preset),
2517 (gst_preset_default_save_presets_file),
2518 (gst_preset_default_save_preset),
2519 (gst_preset_default_rename_preset),
2520 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2521 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2522 (gst_preset_default_reset), (gst_preset_get_preset_names),
2523 (gst_preset_get_property_names), (gst_preset_load_preset),
2524 (gst_preset_save_preset), (gst_preset_rename_preset),
2525 (gst_preset_delete_preset), (gst_preset_set_meta),
2526 (gst_preset_get_meta), (gst_preset_class_init),
2527 (gst_preset_base_init), (gst_preset_get_type):
2529 Add GstPreset to core. Fixes #396779
2531 * tests/check/Makefile.am:
2532 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2533 (gst_preset_test_set_property), (gst_preset_test_class_init),
2534 (gst_preset_test_base_init), (gst_preset_test_get_type),
2535 (gst_preset_test_plugin_init), (GST_START_TEST),
2536 (remove_preset_file), (test_setup), (test_teardown),
2538 Add GstPreset unit tests.
2540 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2542 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2543 The default event function on a sinkpad should return TRUE when
2544 there are no internal links but should collect the return values from
2545 the internal links otherwise.
2547 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2549 * plugins/elements/gsttypefindelement.c:
2550 (gst_type_find_element_src_event),
2551 (gst_type_find_element_handle_event):
2552 Use faster and safer _pad_push_event().
2554 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2556 * docs/gst/gstreamer-sections.txt:
2557 * gst/gstutils.c: (element_find_unlinked_pad),
2558 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2560 API: add gst_bin_find_unlinked_pad()
2561 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2563 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2569 Fixed a bunch of typos.
2571 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2574 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2575 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2576 (gst_parse_bin_from_description_full):
2578 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2580 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2582 * docs/pwg/advanced-tagging.xml:
2583 Small docs update, can't be bothered to rewrite the nonsensical
2586 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2589 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2591 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2593 * gst/parse/grammar.y:
2594 Remove unneeded casts.
2596 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2598 * gst/parse/grammar.y:
2599 * tests/check/pipelines/parse-launch.c:
2600 Get all missing elements from a parse launch string if possible
2601 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2603 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2605 * tests/check/Makefile.am:
2606 * tests/check/pipelines/parse-launch.c:
2607 Add some unit tests for the new gst_parse_launch*_full() API.
2608 (Exposes a previously-existing memory leak in the error code
2609 path, so adding to VALGRIND_TO_FIX for now).
2611 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2613 * docs/gst/gstreamer-sections.txt:
2614 * gst/gst.c: (init_post):
2615 * gst/gst_private.h: (_GstParseContext):
2616 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2617 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2618 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2619 (gst_parse_launch_full):
2620 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2621 (GstParseFlags), (GstParseContext):
2622 * gst/gstutils.c: (gst_parse_bin_from_description),
2623 (gst_parse_bin_from_description_full):
2625 * gst/parse/grammar.y:
2626 * gst/parse/types.h:
2627 * win32/common/libgstreamer.def:
2628 Add new gst_parse_*_full API (#528178):
2629 API: gst_parse_launch_full()
2630 API: gst_parse_launchv_full()
2631 API: gst_parse_bin_from_description_full()
2632 API: gst_parse_context_new()
2633 API: gst_parse_context_free()
2634 API: gst_parse_context_get_missing_elements()
2636 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2638 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2640 * docs/faq/gst-uninstalled:
2641 Also support ffmpeg in gst-uninstalled.
2643 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2646 After discussion on IRC use the binary registry as default
2647 but allow to disable it with --disable-binary-registry.
2649 * win32/common/libgstreamer.def:
2650 Add the two new symbols for the binary registry.
2652 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2654 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2655 * gst/gstutils.c: (gst_parse_bin_from_description):
2656 * gst/parse/grammar.y: (graph):
2657 More guards against bad input; typo fix; some minor clean-ups.
2659 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2661 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2663 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2664 If nothing else can be used, use the last buffer's start time as
2665 the segment's last stop. Fixes bug #534258.
2667 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2669 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2670 Move size sanity check to the right place: downstream may return
2671 a buffer with a smaller size if the buffer caps are different than
2672 the requested ones, as may happen when doing reverse negotiation.
2674 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2676 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2677 (gst_file_sink_render):
2678 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2679 (gst_file_src_start):
2680 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2683 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2685 * gst/gstpad.c: (gst_pad_load_and_link):
2686 * gst/gstutils.c: (gst_element_link_pads),
2687 (gst_element_unlink_pads):
2688 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2689 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2690 (gst_check_teardown_sink_pad),
2691 (gst_check_element_push_buffer_list):
2692 * tests/check/elements/fakesink.c: (GST_START_TEST):
2693 * tests/check/elements/filesink.c:
2694 * tests/check/elements/filesrc.c: (GST_START_TEST):
2695 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2696 (mq_sinkpad_to_srcpad):
2697 * tests/check/elements/tee.c: (GST_START_TEST):
2698 * tests/check/generic/sinks.c: (GST_START_TEST):
2699 * tests/check/gst/gstbin.c: (GST_START_TEST):
2700 * tests/check/gst/gstevent.c: (GST_START_TEST):
2701 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2702 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2703 * tests/check/gst/gstquery.c: (GST_START_TEST):
2704 * tests/check/gst/gstutils.c: (GST_START_TEST):
2705 * tests/check/libs/basesrc.c: (GST_START_TEST):
2706 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2707 (gst_parse_test_element_change_state):
2708 Don't use gst_element_get_pad().
2710 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2713 Fix installing plugin documentation when gtk-doc is disabled.
2715 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2717 * docs/manual/advanced-autoplugging.xml:
2718 * docs/manual/basics-helloworld.xml:
2719 * docs/manual/basics-pads.xml:
2720 * docs/manual/highlevel-components.xml:
2721 Avoid using a bad function in the example code.
2723 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2725 * gst/gstclock.c: (gst_clock_set_calibration):
2726 Fix debug of the new clock rate.
2728 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2730 * win32/common/libgstbase.def:
2731 Add gst_base_sink_wait_clock() to the exported symbols.
2733 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2735 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2737 * libs/gst/base/gstbasetransform.c:
2738 (gst_base_transform_sink_event):
2739 Unref events that the GstBaseTransform::event vfunc didn't want to
2740 have forwarded by the base class. Closes a leak in identity.
2743 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2745 * docs/libs/gstreamer-libs-sections.txt:
2746 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2747 * libs/gst/base/gstbasesink.h:
2748 Expose a method that was previously used internally to synchronize
2749 against the clock because it can be useful for subclasses too.
2750 API: GstBaseSink::gst_base_sink_wait_clock()
2752 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2754 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2755 Add sanity check to make sure we don't get smaller buffers
2756 than requested (and fallback to normal buffer alloc if we do).
2758 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2760 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2761 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2762 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2763 Refactor adjusting the running_time with latency and offset into a
2765 When doing clipping, we still want to use the subclass get_times method,
2766 just in case the DURATION or TIMESTAMP are not set.
2768 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2770 * docs/gst/gstreamer-sections.txt:
2771 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2772 * gst/gsttypefind.h:
2773 * win32/common/libgstreamer.def:
2774 API: add gst_type_find_suggest_simple(), #533740.
2776 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2778 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2779 Use right error code when typefinding fails, so we can use
2780 the default (translated) error messages.
2782 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2784 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2785 (gst_base_src_start):
2786 When the subclass did not set caps on outgoing buffers, configure the
2787 caps we negotiated on the source pad.
2788 When the typefind helper does not find caps, error out properly instead
2789 of doing things with NULL caps.
2791 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2793 * gst/gsttypefind.h:
2794 Tabs to spaces, oh yes!
2796 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2798 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2799 Add David's and Benjamin's tests for array intersection to the
2800 unit test suite (#147931).
2802 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2805 Document that gst_event_new_tag() and gst_event_new_navigation()
2806 take ownership of the taglist/structure passed to them. (#533635).
2808 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2811 Don't descend into the plugins dir if plugin docs building
2815 Add a note about the new type:GTypeName syntax for the plugin
2816 documentation .types file.
2818 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2820 * gst/gstmessage.c: (gst_message_new_error),
2821 (gst_message_new_warning), (gst_message_new_info):
2823 Mark the debug string parameters as const. Fixes bug #533490.
2825 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2827 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2828 Sort buffer cache list by end offsets. This makes sure that we don't
2829 stop to search for a cached buffer that contains the requested data
2831 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2832 more efficient. Fixes bug #459862.
2834 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2837 Explain why we copy the list.
2839 * gst/gstpipeline.c:
2843 Add one debug-log statement to help tracing probelms with linking pads.
2845 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2847 * tests/check/gst/gstinfo.c:
2848 Add a test for removing the default log handler. Seems to fail under
2851 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2853 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2854 Release pad lock before calling out to avoid a possible deadlock.
2856 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2858 * gst/parse/grammar.y:
2859 Remove unneeded value unset.
2861 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2862 Add unit test for de/serialization of caps.
2864 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2866 * plugins/elements/gstfakesink.c:
2867 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2868 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2869 (gst_fake_src_class_init):
2870 Use custom marshalers that take GstMiniObject as first parameter.
2871 Using OBJECT as parameter while a GstMiniObject is given will lead
2872 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2874 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2876 * plugins/elements/gsttypefindelement.c:
2877 (gst_type_find_element_handle_event),
2878 (gst_type_find_element_send_cached_events),
2879 (gst_type_find_element_change_state):
2880 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2883 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2885 * plugins/elements/gsttypefindelement.c:
2886 (gst_type_find_handle_src_query), (stop_typefinding),
2887 (gst_type_find_element_handle_event),
2888 (gst_type_find_element_send_cached_events),
2889 (gst_type_find_element_change_state):
2890 Forward FLUSH_START events immediately and clean up instead of
2893 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2895 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2897 * libs/gst/base/gstbasetransform.c:
2898 (gst_base_transform_buffer_alloc):
2899 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2900 fall back to default negotiation in the chain function if the caps
2901 are different from what was requested. Fixes bug #526768.
2903 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2906 * tests/check/gst/gstsegment.c:
2907 No, let's not use g_slice_{dup|copy} here, since they only exist
2908 since GLib 2.14 and we still depend only on >= 2.12. Also add
2909 unit test for gst_segment_copy().
2911 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2913 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2914 Try to fix 'dereferencing type-punned pointer will break strict
2915 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2916 changed the default GType typedef from gulong to gsize at some point,
2917 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2918 g_once_* functions all take a gsize * though, so work around the type
2919 mismatch for C++ by doing everything in gsize and casting to GType
2922 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2924 * plugins/elements/gstmultiqueue.c:
2925 Add documentation for the signals to push our core plugin docs
2926 coverage back up to 100%.
2928 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2930 * gst/gstinfo.h (GST_FUNCTION):
2931 Reverted GST_FUNCTION to the old version as we don't want the
2932 full signature in C++ code. Also added support for MSVC.
2934 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2937 Intern the type name string, similar to what G_DEFINE_TYPE does.
2939 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2942 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2944 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2946 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2948 * libs/gst/base/gstbasetransform.c:
2949 (gst_base_transform_buffer_alloc):
2950 Don't passthrough buffer allocation too easily if the caps change.
2951 This breaks when working in passthrough mode and upstream changes
2952 it's caps. Fixes bug #526768.
2954 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2956 * gst/gstinfo.c (gst_debug_log_valist):
2957 Improved the __FILE__ part of debug output for MSVC.
2959 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2961 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2962 Declaration after statement fix for compilers like MSVC.
2964 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2966 * win32/common/config.h.in:
2967 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2968 use the real thing than having "???" unconditionally.
2970 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2972 * gst/gstinfo.h (GST_FUNCTION):
2973 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2975 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2977 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2980 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2981 (gst_base_sink_set_flushing):
2982 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2985 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2987 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2988 (gst_fake_src_init), (gst_fake_src_set_property),
2989 (gst_fake_src_get_property), (gst_fake_src_start):
2990 * plugins/elements/gstfakesrc.h:
2991 Added format property to control the format of the newsegment events.
2992 API: GstFakeSrc:format
2994 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2996 * win32/common/libgstreamer.def:
2997 Add gst_pad_has_name() to the exported symbols.
2999 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3001 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3002 * libs/gst/base/gstbasetransform.c:
3003 (gst_base_transform_prepare_output_buffer):
3004 Don't allow negative sizes when allocating new buffers.
3007 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3009 Patch by: Sjoerd Simons <sjoerd at luon net>
3011 * gst/gstbus.c: (gst_bus_source_dispatch):
3012 Don't print a warning if the queue is empty when we try to pop
3013 here. That could happen if another thread or callback set the
3014 bus to flushing between the source's check/prepare and the
3015 dispatch being called (#531538).
3017 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3019 * plugins/elements/gstmultiqueue.c:
3022 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3024 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3025 Add unit test for deserializing uint64s and check some really large
3026 numbers in the int64 test.
3028 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3030 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3031 (print_interfaces), (print_element_properties_info),
3032 (print_signal_info):
3033 Use "%s" as format string instead of printing strings directly.
3035 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gst/gstclock.c: (gst_clock_set_calibration):
3038 Make some checks actually useful.
3040 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3041 Remove some unused code. Unsigned integers tend to be >= 0.
3043 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3045 * gst/gstminiobject.c: (gst_value_get_mini_object):
3046 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3047 function was not in the unscheduled 0.10.19 release.
3049 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3051 * gst/gstregistry.c: (gst_registry_scan_path_level):
3052 Only print one log message per non-plugin file.
3054 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3056 * gst/gstinfo.c: (gst_debug_log_default):
3057 Fix alignment of debug log columns on 64-bit.
3059 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3061 * docs/libs/Makefile.am:
3062 * docs/libs/gstreamer-libs-sections.txt:
3063 Ignore private controller headers for docs.
3065 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3067 * libs/gst/controller/gstcontrollerprivate.h:
3068 * libs/gst/controller/gsthelper.c:
3069 * libs/gst/controller/gstinterpolation.c:
3070 * libs/gst/controller/gstinterpolationcontrolsource.c:
3071 (gst_interpolation_control_source_set_interpolation_mode):
3072 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3073 * libs/gst/controller/lib.c:
3074 Move some private declarations into private headers.
3076 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3078 * gst/gstdebugutils.c: (debug_dump_element_pad):
3079 Remove some code that is unused after Stefan's refactoring and uses
3080 uninitialized variables now, resulting in a compiler warning.
3082 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3084 * gst/gstregistry.c: (gst_registry_scan_path_level):
3085 Run g_str_has_suffix() only on the file name, not the
3088 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3090 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3091 Since we're not called only from the chain function any longer,
3092 we can't assume that there's always data in the queue, so move
3093 the is_full check to the beginning of the loop (otherwise we'd
3094 hit the assert when changing the limit properties while the
3095 queue is empty or not running yet).
3096 Also, only set a discont if items were actually removed from
3099 * tests/check/elements/queue.c: (test_leaky_downstream):
3100 Test case for the above.
3102 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3104 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3106 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3107 (gst_queue_chain), (queue_capacity_change),
3108 (gst_queue_set_property):
3109 When changing thr max capacity of a leaky queue, immediatly drop buffers
3110 instead of waiting for a push on the sinkpad. Fixes #530637.
3112 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3114 * gst/gstdebugutils.c:
3115 Refactor code and fix handling of ghostpads and their proxypads.
3117 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3119 * docs/gst/gstreamer-sections.txt:
3120 * gst/gstevent.c: (gst_event_has_name):
3122 * tests/check/gst/gstevent.c: (GST_START_TEST):
3123 Add method to conveniently check the name of a custom event with
3124 gst_event_has_name().
3125 Reformat the event docs so that related methods are put together instead
3126 of the default alphabetical sort.
3127 Update unit test with new method.
3128 API: GstEvent::gst_event_has_name()
3130 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3132 * libs/gst/check/Makefile.am:
3133 Don't add an explicit link to libgstreamer-0.10.la; it's already
3134 included in GST_OBJ_LIBS.
3136 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3139 Register GstClock type from a type-safe context. Fixes bug #530317.
3141 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3143 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3145 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3147 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3151 Use the GLib stuff to create a private structure.
3152 Add some locking around some dispose methods to make them a little
3153 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3155 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3157 * libs/gst/base/gstbasesink.h:
3158 * libs/gst/base/gstbasesrc.h:
3159 * libs/gst/base/gstbasetransform.h:
3160 * libs/gst/base/gstcollectpads.h:
3161 Fix doc typos and unify caps a bit.
3163 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3165 * tools/gst-launch.1.in:
3166 Forgot to also add the envvar docs here.
3168 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3170 * gst/gst.c: (init_post), (gst_deinit):
3171 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3172 (test_concurrent_create), (gst_pipeline_suite):
3173 Ref some more classes in gst_init() to work around thread-safety
3174 issues in pre-2.16 GLibs, and add basic unit test.
3176 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3178 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3179 (gst_base_sink_send_event):
3180 Rearrange the latency query code. We always want to do the upstream
3181 query, even if we are not live so that the upstream elements can get the
3182 latency results too. If we fail doing the query and we are live, we
3183 return TRUE afterwards.
3185 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3187 patch by: Jason Zhao <e3423c@motorola.com>
3189 * docs/gst/running.xml:
3191 Enable/disable scan_and_update_registry() based on commandline switch
3192 or environment variable. Fixes #520468.
3195 Fix typo in my previous commit.
3197 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3199 * gst/gstregistrybinary.c:
3200 Add a warning if we hit unhandled factories when saving.
3201 More debug logging detail, but move to LOG category.
3203 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3205 * gst/gstregistry.c:
3206 Tell the *truth* when improving the documentation.
3208 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3210 * gst/gstelementfactory.c: (gst_element_factory_make):
3211 Unref the factory after it was used the last time, not before.
3213 * gst/gstindexfactory.c: (gst_index_factory_make):
3214 Improve debugging a bit and don't leak a ref to the index factory with
3217 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3219 * gst/gstregistry.c:
3220 Improve the documentation.
3222 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3225 The glib macro seems to be borked. Use g_slice_copy directly and cast
3226 in the hope that this fixes the warning on 64bit.
3228 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3231 Document the new function. Use g_slice_dup() (no need for
3232 gst_segment_init()).
3234 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3236 * docs/gst/gstreamer-sections.txt:
3237 Move GParamSepc macros to standart section.
3240 Dn't document _get_type - its in private section in docs anyway and
3241 this doc-blob was incomplete.
3244 Fix wrong symbol names in docs.
3247 Add once doc sentence.
3249 * tests/check/gst/.cvsignore:
3252 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3254 * docs/gst/Makefile.am:
3255 And remove those libs here.
3257 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3259 * docs/libs/Makefile.am:
3260 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3262 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3264 Patch by: Olivier Crete <tester at tester dot ca>
3266 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3267 Add the min-threshold to the min latency if possible. Fixes #529148.
3269 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3271 * docs/gst/gstreamer.types.in:
3272 Stupid editor, I removed that line as it should go in yet.
3274 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3276 * docs/gst/gstreamer.types.in:
3277 * docs/libs/gstreamer-libs.types:
3278 Remove library types fro core docs and have them in libs docs.
3279 Reformat and cleanup. Add comment for miniobject types.
3281 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3283 * gst/gsturi.c: (gst_uri_get_protocol):
3284 Fix leak: g_strdown operates on the string in place, while
3285 g_ascii_strdown() returns a newly-allocated string.
3287 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3289 * tools/gst-inspect.c: (print_uri_handler_info),
3290 (print_element_info):
3291 Print the URI protocols and the URI type supported by the element.
3293 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3295 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3296 Use g_value_take_string() instead of the deprecated
3297 g_value_set_string_take_ownership().
3299 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3301 * gst/gstregistrybinary.c: (_gst_crc32):
3302 Return the old CRC instead of 0 if we give a NULL buffer
3303 or a buffer with a length of 0.
3305 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3307 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3308 (gst_uri_get_protocol), (gst_uri_has_protocol),
3309 (gst_uri_construct), (gst_uri_handler_set_uri):
3310 A valid URI scheme can also include '+', '-' and '.' additional
3311 to alphanumeric characters as per RFC 3986 Section 3.1.
3313 Handle URI schemes case insensitive in all places and convert
3314 to lower-case when constructing an URI or setting an URI with
3315 the GstURIHandler interface. Fixes bug #528868.
3316 All elements can still assume (as before) that they will
3317 get passed URIs with a lower-case URI scheme by the GstURIHandler
3320 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3322 * gst/gstcaps.c: (gst_static_caps_get):
3323 * gst/gstclock.c: (gst_clock_entry_new):
3324 Don't use g_atomic_set_int where it's not needed.
3326 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3328 * gst/gstvalue.c: (gst_value_deserialize_caps):
3329 * gst/parse/grammar.y:
3332 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3334 * gst/gstutils.c: (gst_atomic_int_set):
3335 Use g_atomic_int_set() here too instead of assignment +
3338 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3342 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3343 now that we depend on new enough GLib.
3345 * gst/gstcaps.c: (gst_static_caps_get):
3346 * gst/gstclock.c: (gst_clock_entry_new):
3347 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3348 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3349 (gst_debug_category_set_threshold):
3350 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3351 (gst_base_sink_set_qos_enabled):
3352 * libs/gst/net/gstnettimeprovider.c:
3353 (gst_net_time_provider_set_property):
3354 Use g_atomic_int_set() instead of gst_atomic_int_set().
3356 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3359 Also use G_GINT64_CONSTANT for the queries.
3361 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3364 Use G_GINT64_CONSTANT in varargs function.
3366 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3368 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3369 Initialize the registry magic with zeroes.
3371 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3373 * gst/gstregistrybinary.c: (_gst_crc32),
3374 (gst_registry_binary_write),
3375 (gst_registry_binary_initialize_magic),
3376 (gst_registry_binary_write_cache),
3377 (gst_registry_binary_check_magic),
3378 (gst_registry_binary_read_cache):
3379 * gst/gstregistrybinary.h:
3380 Add crc32 checksum to the binary registry file and check this before
3381 accepting a registry file.
3383 Also free the data list when writing to the registry file fails.
3385 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3387 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3388 (gst_registry_binary_load_feature),
3389 (gst_registry_binary_load_plugin):
3390 If an element supports the Uri interface, returns a valid pointer
3391 to the supported URI protocols but this pointer contains nothing
3392 don't try to save that as it will corrupt the registry.
3394 Don't unref the plugin if we added it to the registry already but
3395 fail to load a feature as gst_registry_add_plugin() takes ownership
3398 Improve debugging a bit.
3400 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3403 Clarify some tag item docs after discussion on irc.
3405 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3407 * docs/gst/gstreamer-docs.sgml:
3408 Remove commented out plugins (they have their own docs). Update
3411 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3413 * docs/gst/gstreamer-docs.sgml:
3414 * docs/gst/gstreamer-sections.txt:
3415 * gst/gstparamspecs.c:
3416 * gst/gstparamspecs.h:
3417 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3418 docs to own section.
3421 This now only documents GValue.
3423 * docs/libs/gstreamer-libs-sections.txt:
3424 * libs/gst/controller/gstcontroller.h:
3425 Remove GST_PARAM_CONTROLLABLE.
3427 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3430 Correct file path. Tell about how to use -overrides.txt.
3431 * docs/design/draft-tagreading.txt:
3432 Small design update.
3434 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3436 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3437 (gst_registry_binary_load_plugin):
3438 Fix a typo in a debug message and revert change from yesterday as
3439 gst_registry_add_plugin() will only fail if something is really wrong
3440 already and we can't survive it anyway.
3442 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3444 * gst/gst.c: (init_post), (gst_deinit):
3445 Pre-register GstGError GType from a thread-safe context
3446 (fixes #527967); unref enum type classes in deinit.
3448 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3450 Patch by: Rene Stadler <mail at renestadler de>
3452 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3453 Merging an empty list with another list in KEEP_ALL mode should
3454 yield an empty list as result and not the second list (#512578).
3456 * tests/check/gst/gsttagsetter.c:
3457 Add unit test for tag merge modes and the aforementioned bug.
3459 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3461 Patch by: Rene Stadler <mail at renestadler de>
3464 Fix description to match the order in the table (#512577).
3466 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3468 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3470 * libs/gst/net/gstnettimepacket.h:
3471 * docs/libs/gstreamer-libs-sections.txt:
3472 Define socklen_t as int if it's not defined yet. Fixes compilation
3473 with MSVC6 and other versions where socklen_t is not defined in
3474 the windows headers (#518022).
3476 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3478 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3479 If gst_registry_add_plugin() fails our reference to the plugin is
3480 invalid so don't try to use it anymore and instead error out.
3482 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3484 * tools/gst-xmlinspect.c: (print_element_info), (main):
3485 De-cruft a bit. If no argument is specified, print all elements in
3486 XML syntax rather than a freestyle list of elements like gst-inspect.
3487 Also, don't print XML header chunk unless we actually have something
3488 to print (ie. don't print it before an error message); print error
3489 message to stderr not stdout. Remove support for printing plugin
3490 info (it would just output something freestyle along the lines of
3491 gst-inspect so far), which fixes #514507. Also add license header.
3493 2008-04-11 Julien Moutte <julien@fluendo.com>
3496 * configure.ac: Merge platform specific defines, introduce a new
3497 define on OS X to remember that forking when updating registry is
3499 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3501 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3503 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3504 condition that leads to absolutely no plugins being registered on
3507 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3509 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3511 * gst/gstutils.c: (gst_pad_add_data_probe),
3512 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3513 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3514 (gst_pad_add_buffer_probe_full):
3516 * docs/gst/gstreamer-sections.txt:
3517 * win32/common/libgstreamer.def:
3518 Add gst_pad_add_*_probe_full() functions with a notify callback that
3519 lets the caller free the data it passes to the probe functions. This
3520 is useful for bindings such as gst-python or gstreamermm (#526814).
3521 API: gst_pad_add_data_probe_full
3522 API: gst_pad_add_buffer_probe_full
3523 API: gst_pad_add_event_probe_full
3525 * tests/check/gst/gstutils.c:
3526 Add minimal unit test to make sure freeing the data actually works
3529 * tests/benchmarks/.cvsignore:
3530 Random cvsignore addendum.
3532 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3534 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3535 (GST_DEBUG_BIN_TO_DOT_FILE):
3536 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3537 to it in the docs (since these are macros the types of the arguments
3538 won't be shown in the docs otherwise).
3540 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3543 Do not abort on out of memory for pad_alloc_buffer.
3545 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3547 * libs/gst/check/gstcheck.c:
3548 Remove blank line between symbol name ad parameters to fix gtkdoc
3551 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3553 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3555 * docs/gst/gstreamer-sections.txt:
3558 * win32/common/libgstreamer.def:
3559 Expose gst_segment_copy() to make things easier for the c++ bindings.
3561 API: gst_segment_copy()
3563 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3565 * gst/gst.c: (gst_init_get_option_group), (init_post):
3566 Fix const position; ref GType classes for enum types to work
3567 around thread-safety issues in GLib versions < 2.16.
3569 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3571 * docs/design/part-buffering.txt:
3572 Fix some typos and set the estimated total for push mode to -1.
3574 * gst/gstquery.c: (gst_query_new_buffering):
3575 Set buffering-left to 0 as we're not buffering by default.
3577 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3578 Implement BUFFERING query.
3580 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3582 Based on patch by: Milosz Derezynski <internalerror gmail com>
3584 * gst/gsterror.c: (_gst_stream_errors_init):
3586 Add two new error codes for encrypted content. Fixes #524659.
3587 API: GST_STREAM_ERROR_DECRYPT
3588 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3590 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3595 * win32/common/libgstreamer.def:
3598 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3600 * plugins/elements/gstidentity.c: (gst_identity_event),
3601 (gst_identity_start):
3602 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3603 event after processing some data. Fixes bug #526042.
3605 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3607 * docs/gst/gstreamer-sections.txt:
3608 * gst/gstquery.c: (gst_query_parse_latency),
3609 (gst_query_set_buffering_percent),
3610 (gst_query_parse_buffering_percent),
3611 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3613 Rename _avail -> _range
3614 API: gst_query_set_buffering_range
3615 API: gst_query_parse_buffering_range
3617 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3619 * docs/design/part-buffering.txt:
3622 * gst/gstquery.c: (gst_query_parse_latency),
3623 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3624 (gst_query_parse_buffering_percent):
3626 Add busy field and quark for the buffering query so that the app can
3627 only use the query to see if buffering is in progress.
3629 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3631 * docs/gst/gstreamer-sections.txt:
3632 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3633 (gst_message_parse_buffering_stats):
3635 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3636 (gst_query_parse_latency), (gst_query_new_buffering),
3637 (gst_query_set_buffering_percent),
3638 (gst_query_parse_buffering_percent),
3639 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3640 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3642 Reorder the message docs and headers for clarity.
3643 Add aditional buffering stats API for messages.
3644 Add buffering query.
3645 Convert some leftover queries to use GstQuark.
3646 API: gst_message_set_buffering_stats
3647 API: gst_message_parse_buffering_stats
3648 API: GST_QUERY_BUFFERING
3649 API: GstBufferingMode
3650 API: gst_query_new_buffering
3651 API: gst_query_set_buffering_percent
3652 API: gst_query_parse_buffering_percent
3653 API: gst_query_set_buffering_stats
3654 API: gst_query_parse_buffering_stats
3656 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3658 * gst/gstmessage.c: (gst_message_new_error),
3659 (gst_message_new_warning), (gst_message_new_info),
3660 (gst_message_new_buffering), (gst_message_new_state_changed),
3661 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3662 (gst_message_new_new_clock), (gst_message_new_segment_start),
3663 (gst_message_new_segment_done), (gst_message_new_duration),
3664 (gst_message_new_async_start), (gst_message_parse_buffering),
3665 (gst_message_parse_state_changed),
3666 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3667 (gst_message_parse_new_clock), (gst_message_parse_error),
3668 (gst_message_parse_warning), (gst_message_parse_info),
3669 (gst_message_parse_segment_start),
3670 (gst_message_parse_segment_done), (gst_message_parse_duration),
3671 (gst_message_parse_async_start):
3672 Use GstQuark for messages.
3674 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3676 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3678 Add some more quarks needed for messages and queries.
3680 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3682 * docs/design/part-buffering.txt:
3683 Remove the "none" buffering mode, STREAM is a good default.
3684 Move estimated-time to the avail query, that's when it will be needed.
3685 Other small typo fixes and updates.
3687 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3689 * gst/gstindex.c: (gst_index_resolver_get_type):
3690 Don't put descriptions into the nick field of a GEnumValue: it's not
3691 meant for that and some language bindings rely on the nick field to
3692 construct constants and the like. Fixes #526705.
3694 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3699 Merge other changes from 0.10.19 release branch.
3701 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3703 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3706 Actually build dlls when cross-compiling with mingw32.
3709 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3711 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3714 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3716 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3718 * docs/design/draft-latency.txt:
3721 * docs/design/part-buffering.txt:
3722 Update design docs with more buffering ideas.
3724 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3727 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3729 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3732 Revert part that belongs to the preset patch.
3734 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3737 Add qoutes to the define. Fixes # 525961.
3739 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3741 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3742 (gst_file_index_load), (gst_file_index_add_id),
3743 (gst_file_index_get_assoc_entry):
3744 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3745 (gst_mem_index_free_id), (gst_mem_index_add_id),
3746 (gst_mem_index_index_format):
3747 Use GSlice when possible.
3749 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3751 * libs/gst/controller/gstinterpolationcontrolsource.c:
3752 (gst_control_point_free),
3753 (gst_interpolation_control_source_set_internal):
3754 Use GSlice for allocating the control points.
3756 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3758 * plugins/elements/gsttypefindelement.c:
3759 (gst_type_find_element_class_init),
3760 (gst_type_find_element_set_property),
3761 (gst_type_find_element_get_property),
3762 (gst_type_find_element_activate):
3763 * plugins/elements/gsttypefindelement.h:
3765 Fix pad leak when peer query fails.
3766 We can still typefind when the peer returns -1.
3767 Add property to force caps and bypass typefinding. This will be used in
3771 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3776 * gst/glib-compat-private.h:
3777 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3778 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3779 Unconditionally use GSlice for allocation.
3781 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3782 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3783 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3784 (gst_structure_free):
3785 Use GSlice for allocation.
3787 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3789 * gst/parse/Makefile.am:
3790 * gst/parse/grammar.tab.pre.c:
3791 * gst/parse/grammar.tab.pre.h:
3792 * gst/parse/lex._gst_parse_yy.pre.c:
3793 Require a new enough flex and bison and remove the parser hacks to use
3794 a pre-regenerated version.
3796 2008-04-01 Julien Moutte <julien@fluendo.com>
3798 patch by: Jason Zhao <E3423C@motorola.com>
3800 * configure.ac: Add a configure switch to disable option parsing
3804 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3807 * gst/gstregistry.c:
3808 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3809 and handle this case.
3812 Add a comment here describing, why we stat each plugin and not try to
3815 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3817 * libs/gst/base/gstbasetransform.c:
3818 (gst_base_transform_prepare_output_buffer):
3819 Also unset the GAP flag on buffers if we're working inplace but
3820 the element is not GAP-aware.
3822 Mark a comment as FIXME 0.11.
3824 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3827 Fix type in log message and add one to ease seeing how long registry
3828 cache verification takes.
3830 * gst/gstregistry.c:
3831 Only test plugin filenames against G_MODULE_SUFFIX.
3833 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3835 * gst/gstdebugutils.c:
3836 Improve handling ghost/proxy pads.
3838 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3840 * docs/gst/gstreamer-sections.txt:
3843 Expose macro to docs and fix link to it.
3845 2008-03-27 Michael Smith <msmith@fluendo.com>
3847 * libs/gst/dataprotocol/dataprotocol.c:
3848 (gst_dp_packet_from_event_1_0):
3849 When calculating GDP body CRC, use the correct pointer.
3850 Fixes part of #522401.
3852 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3854 Patch by: Mark Nauwelaerts <manauw at skynet be>
3856 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3857 (gst_identity_init), (gst_identity_prepare_output_buffer):
3858 Identity is not always a passthrough element, it can modify the buffer
3859 timestamps when it has a datarate and operates in single-segment mode.
3860 We therefore make it an in_place filter with a custom buffer prepare
3861 function that conditionally makes the input buffer metadata writable
3862 when needed. Fixes #523985.
3864 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3866 Patch by: Mark Nauwelaerts <manauw at skynet be>
3869 * libs/gst/base/gstbasesrc.h:
3870 * libs/gst/base/gstbasetransform.c:
3871 * libs/gst/check/gstcheck.c:
3872 Small documentation fixes. Fixes #523978.
3874 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3876 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3877 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3878 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3880 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3882 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3883 (single_queue_underrun_cb):
3884 When trying to make room in the queue, bump the max allowed buffers
3885 bigger than the current amount of buffers in the queue. this fixes some
3886 nasty deadlocks in multiqueue when dynamically changing the limits of
3889 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3891 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3893 * gst/gstcaps.c: (gst_caps_set_simple),
3894 (gst_caps_set_simple_valist), (gst_caps_intersect):
3896 Constify the field gchar * params in set_simple and friends.
3899 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3901 * gst/gstvalue.c: (gst_value_transform_object_string):
3902 Transform a GstObject to a more meaningfull string that includes the
3903 object type in addition to its name.
3905 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3908 ChangeLog surgery to add bugnumber to commit.
3910 2008-03-23 Rene Stadler <mail@renestadler.de>
3912 * libs/gst/base/gstbasetransform.c:
3913 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3915 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3917 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3918 Rename constant everywhere and don't forget one occurence.
3920 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3922 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3923 Align memory to the pointer size even if the architecture allows
3924 unaligned memory access. Unaligned memory access usually comes with
3925 performance penality.
3927 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3929 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3930 (gst_registry_binary_check_magic),
3931 (gst_registry_binary_load_pad_template),
3932 (gst_registry_binary_load_feature),
3933 (gst_registry_binary_load_plugin):
3934 Align memory to the pointer size instead of always 32 bit. Fixes
3935 unaligned memory accesses on ia64 and friends.
3937 * gst/gstregistrybinary.h:
3938 Bump binary registry format version for this as it changes the
3939 format on those architectures that don't have unaligned access
3940 and 64 bit pointers.
3942 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3944 * docs/pwg/advanced-dparams.xml:
3945 * docs/pwg/building-props.xml:
3946 * docs/pwg/other-source.xml:
3947 * gst/glib-compat.h:
3948 * gst/gstbin.c: (gst_bin_class_init):
3949 * gst/gstclock.c: (gst_clock_class_init):
3950 * gst/gstindex.c: (gst_index_class_init):
3951 * gst/gstobject.c: (gst_object_class_init):
3952 * gst/gstpad.c: (gst_pad_class_init):
3953 * gst/gstpipeline.c: (gst_pipeline_class_init):
3954 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3955 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3956 * libs/gst/base/gstbasetransform.c:
3957 (gst_base_transform_class_init):
3958 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3959 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3960 (_gst_check_fault_handler_sighandler),
3961 (_gst_check_fault_handler_setup), (gst_check_init):
3962 * libs/gst/controller/gstcontroller.c:
3963 (_gst_controller_class_init):
3964 * libs/gst/controller/gstlfocontrolsource.c:
3965 (gst_lfo_control_source_class_init):
3966 * libs/gst/net/gstnetclientclock.c:
3967 (gst_net_client_clock_class_init):
3968 * libs/gst/net/gstnettimeprovider.c:
3969 (gst_net_time_provider_class_init):
3970 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3971 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3972 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3973 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3974 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3975 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3976 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3977 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3978 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3979 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3980 * plugins/elements/gsttee.c: (gst_tee_class_init):
3981 * plugins/elements/gsttypefindelement.c:
3982 (gst_type_find_element_class_init):
3983 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3984 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3985 use it everywhere for GParamSpecs that use static strings (i.e. all).
3986 This gives us less memory usage, fewer allocations and thus less
3987 memory defragmentation. Fixes bug #523806.
3989 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3991 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3992 (gst_param_spec_mini_object):
3993 * gst/gstminiobject.h:
3994 * win32/common/libgstreamer.def:
3995 * docs/gst/gstreamer-sections.txt:
3996 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3997 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3998 GstParamSpecMiniObject into a public header for this.
4000 This make GstMiniObject a bit more consistent with GObject and makes
4001 it possible to extend the param specs.
4003 gst_value_dup_mini_object is mainly useful for set_property methods.
4007 * tools/gst-inspect.c: (print_element_properties_info):
4008 Print something useful for GstMiniObject properties and not just
4011 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4013 * docs/gst/gstreamer-sections.txt:
4014 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4015 (gst_registry_binary_check_magic):
4016 * gst/gstregistrybinary.h:
4017 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4018 and add it to the (private part) of the docs to fix the build.
4020 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4022 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4023 (gst_registry_binary_check_magic),
4024 (gst_registry_binary_read_cache):
4025 * gst/gstregistrybinary.h:
4026 Don't use GST_MAJORMINOR for the binary registry version. Instead
4027 hardcode a value that must be changed whenever the format changes
4028 in an incompatible way.
4029 Also don't GST_ERROR when there is a version mismatch, just
4030 regenerate the registry silently.
4032 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4035 Back to development - 0.10.18.1
4037 === release 0.10.18 ===
4039 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4042 releasing 0.10.18, "So far away"
4044 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4047 * win32/common/config.h:
4048 0.10.17.4 pre-release
4050 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4052 Patch by: Ole André Vadla Ravnås
4053 <ole dot andre dot ravnas at tandberg dot com>
4055 * docs/gst/gstreamer-sections.txt:
4056 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4057 (gst_poll_update_winsock_event_mask),
4058 (gst_poll_prepare_winsock_active_sets),
4059 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4060 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4061 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4062 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4063 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4065 * win32/common/libgstreamer.def:
4066 Add new function gst_poll_fd_ignored() for improved Windows
4068 Various minor fixes and cleanups. See #520808.
4070 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4072 * gst/gstindex.c: (gst_index_entry_free):
4074 Don't free key strings which we don't own. Fixes crash in
4075 gst_index_entry_free() (#522741).
4077 * tests/check/Makefile.am:
4078 * tests/check/gst/.cvsignore:
4079 * tests/check/gst/gstindex.c: (test_index_entries),
4080 (gst_index_suite), (gst_index):
4081 Add unit test for the above.
4083 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4085 * win32/common/libgstreamer.def:
4086 Remove symbols that were removed recently. Fixes bug #521740.
4088 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4091 * win32/common/config.h:
4092 0.10.17.3 pre-release
4094 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4096 Patch by: Ole André Vadla Ravnås
4097 <ole dot andre dot ravnas at tandberg dot com>
4099 * docs/gst/gstreamer-sections.txt:
4100 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4101 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4102 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4103 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4104 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4105 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4106 (gst_poll_fd_can_write), (gst_poll_wait),
4107 (gst_poll_set_controllable), (gst_poll_restart),
4108 (gst_poll_set_flushing):
4110 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4111 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4112 (gst_net_time_provider_new):
4113 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4114 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4115 * tests/benchmarks/gstpollstress.c: (main):
4116 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4117 Remove GstPollMode from the API, it does not make sense to let the
4118 application control this.
4119 Add support for Win32.
4120 Fix the testsuite. Fixes #520671.
4122 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4124 Patch by: Ole André Vadla Ravnås
4125 <ole dot andre dot ravnas at tandberg dot com>
4127 * gst/gstregistrybinary.c:
4128 Include io.h for write() and close() when building with MSVC. Fixes
4131 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4134 * gst/gst_private.h:
4135 * gst/gstconfig.h.in:
4136 * gst/gstregistry.h:
4137 * gst/gstregistrybinary.c:
4138 * win32/common/gstconfig.h:
4139 Move registry backend API to private headers where we can. Add
4140 fixme-0.11 comments for the others. Add stubs for the xml backend when
4141 using the binary to ensure they functions exists (they should not be
4142 used though). Fixes #520756.
4144 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4147 * win32/common/config.h:
4150 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4152 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4153 (gst_registry_binary_read_cache):
4154 * gst/gstregistryxml.c: (gst_registry_save):
4155 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4156 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4157 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4158 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4159 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4162 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4164 * gst/gstminiobject.c:
4165 Import gst_private.h before any other header that might include other
4166 glib headers. This fixes the build on windows using native compilers.
4168 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4170 * win32/common/gstconfig.h:
4171 Add here too, just for completeness.
4173 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4176 * gst/gstconfig.h.in:
4177 * gst/gstregistry.h:
4178 Fix broken use of config.h-defined preprocessor directive in a public
4179 header file. Add a corresponding define to gstconfig.h, since we can't
4180 really remove those function declarations from the header file now
4181 (or can we? and why are they there in the first place?).
4183 2008-03-03 Andy Wingo <wingo@pobox.com>
4185 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4188 * gst/gststructure.c (gst_structure_from_string): Warn if
4189 structure_from_string didn't consume the whole string, but the
4190 caller did not provide an end pointer.
4192 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4194 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4196 * gst/gstregistryxml.c: (read_string), (load_feature):
4197 Strings allocated by libxml2 should be freed with xmlFree(), not
4198 with g_free(). Fixes issues on windows in certain contexts (#519698).
4200 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4202 * gst/gstinterface.c: (gst_element_implements_interface):
4203 Don't crash if the element supports the interface queried, but does
4204 not implement GstImplementsInterface. Fixes #519584.
4206 * tests/check/Makefile.am:
4207 * tests/check/gst/.cvsignore:
4208 * tests/check/gst/gstinterface.c:
4209 Add unit test for the above.
4211 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4213 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4216 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4218 * gst/gstsegment.c: (gst_segment_set_seek),
4219 (gst_segment_to_stream_time):
4220 Improve some comment.
4221 Update variables where it makes more sense.
4223 2008-02-29 Rene Stadler <mail@renestadler.de>
4225 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4226 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4227 URIHandlers implemented using language bindings.
4229 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4231 * gst/gstelementfactory.h:
4232 * tests/check/elements/fakesink.c:
4233 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4234 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4235 * tests/check/elements/filesink.c: (setup_filesink):
4236 * tests/check/elements/filesrc.c: (setup_filesrc):
4237 * tests/check/elements/identity.c: (setup_identity):
4238 * tests/check/elements/tee.c:
4239 * tests/check/generic/sinks.c:
4240 * tests/check/generic/states.c: (setup), (teardown):
4241 * tests/check/gst/gst.c:
4242 * tests/check/gst/gstabi.c:
4243 * tests/check/gst/gstbin.c:
4244 * tests/check/gst/gstbus.c: (pull_messages):
4245 * tests/check/gst/gstcaps.c:
4246 * tests/check/gst/gstelement.c:
4247 * tests/check/gst/gstevent.c:
4248 * tests/check/gst/gstghostpad.c:
4249 * tests/check/gst/gstiterator.c:
4250 * tests/check/gst/gstmessage.c:
4251 * tests/check/gst/gstminiobject.c: (my_foo_init):
4252 * tests/check/gst/gstobject.c: (thread_name_object),
4254 * tests/check/gst/gstpad.c:
4255 * tests/check/gst/gstplugin.c:
4256 * tests/check/gst/gstpoll.c:
4257 * tests/check/gst/gstquery.c:
4258 * tests/check/gst/gstsegment.c:
4259 * tests/check/gst/gststructure.c:
4260 * tests/check/gst/gstsystemclock.c:
4261 * tests/check/gst/gsttask.c:
4262 * tests/check/gst/gstutils.c:
4263 * tests/check/gst/gstvalue.c:
4264 * tests/check/gst/struct_hppa.h:
4265 * tests/check/gst/struct_i386.h:
4266 * tests/check/gst/struct_ppc32.h:
4267 * tests/check/gst/struct_ppc64.h:
4268 * tests/check/gst/struct_x86_64.h:
4269 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4270 * tests/check/libs/basesrc.c:
4271 * tests/check/libs/controller.c: (GST_START_TEST):
4272 * tests/check/libs/gdp.c:
4273 * tests/check/libs/gstnetclientclock.c:
4274 * tests/check/libs/gstnettimeprovider.c:
4275 * tests/check/libs/libsabi.c:
4276 * tests/check/libs/struct_hppa.h:
4277 * tests/check/libs/struct_i386.h:
4278 * tests/check/libs/struct_ppc32.h:
4279 * tests/check/libs/struct_ppc64.h:
4280 * tests/check/libs/struct_x86_64.h:
4281 * tests/check/pipelines/cleanup.c:
4282 * tests/check/pipelines/simple-launch-lines.c:
4283 * tests/check/pipelines/stress.c:
4284 And correct even more valid sparse warnings.
4286 * win32/common/libgstreamer.def:
4287 Add gst_poll_fd_init to the list of symbols.
4289 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4291 * gst/gstconfig.h.in:
4292 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4293 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4294 (gst_check_log_critical_func), (gst_check_drop_buffers),
4295 (gst_check_element_push_buffer_list):
4296 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4297 (gst_controller_get_type):
4298 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4299 (gst_object_get_controller), (gst_object_get_control_source):
4300 * libs/gst/controller/gstinterpolationcontrolsource.c:
4301 (gst_interpolation_control_source_new):
4302 * libs/gst/controller/gstlfocontrolsource.c:
4303 (gst_lfo_control_source_new):
4304 * libs/gst/dataprotocol/dataprotocol.c:
4305 (gst_dp_event_from_packet_0_2):
4306 * plugins/elements/gstfdsrc.c:
4307 * plugins/elements/gstmultiqueue.c:
4308 * plugins/elements/gsttee.c:
4309 * plugins/elements/gsttypefindelement.c:
4310 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4311 (gst_file_index_add_association):
4312 * plugins/indexers/gstmemindex.c:
4313 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4314 * tests/check/elements/queue.c: (setup_queue):
4315 * tests/check/gst/gstpipeline.c:
4316 * tests/check/libs/collectpads.c: (setup), (teardown),
4317 (gst_collect_pads_suite):
4318 * tests/examples/adapter/adapter_test.c:
4319 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4320 * tests/examples/xml/createxml.c:
4321 * tests/examples/xml/runxml.c:
4322 * tools/gst-inspect.c:
4324 Correct all relevant warnings found by the sparse semantic code
4325 analyzer. This include marking several symbols static, using
4326 NULL instead of 0 for pointers, not using variable sized arrays
4327 on the stack, moving variable declarations to the beginning of
4328 a block and using "foo (void)" instead of "foo ()" for declarations.
4330 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4332 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4333 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4334 Don't reset GstPollFDs, this is not necessary at all.
4336 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4337 (delayed_restart), (delayed_control):
4338 Use GST_POLL_FD_INIT.
4340 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4342 * gst/gstpoll.c: (gst_poll_fd_init):
4346 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4347 Use some more init macros.
4349 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4351 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4352 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4353 Use init macros and functions.
4355 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4357 * docs/gst/gstreamer-sections.txt:
4358 * gst/gstpoll.c: (gst_poll_fd_init):
4360 Add INIT macro and _init method for initializing the GstPollFD.
4362 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4364 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4365 (gst_fd_sink_update_fd):
4366 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4367 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4368 (delayed_restart), (delayed_control):
4369 Initialize some uninitialized variables as spotted by valgrind.
4371 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4373 * tests/benchmarks/Makefile.am:
4374 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4376 Add poll stress test.
4378 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4380 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4382 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4383 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4384 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4385 * plugins/elements/gstfdsink.h:
4386 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4387 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4388 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4389 (gst_fd_src_uri_set_uri):
4390 * plugins/elements/gstfdsrc.h:
4391 Port to GstPoll. See #505417.
4393 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4395 * win32/common/libgstreamer.def:
4396 Add new gst_poll_ symbols to win32 defs.
4398 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4400 * docs/libs/gstreamer-libs-sections.txt:
4401 * libs/gst/net/gstnetclientclock.c:
4402 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4403 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4404 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4405 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4406 * libs/gst/net/gstnetclientclock.h:
4407 * libs/gst/net/gstnettimeprovider.c:
4408 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4409 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4410 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4411 (gst_net_time_provider_new):
4412 * libs/gst/net/gstnettimeprovider.h:
4413 Use a private stuct to not break ABI.
4415 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4417 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4419 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4420 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4421 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4422 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4423 * libs/gst/net/gstnetclientclock.h:
4424 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4425 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4426 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4427 (gst_net_time_provider_new):
4428 * libs/gst/net/gstnettimeprovider.h:
4429 Massive code removal and cleanups because of GstPoll.
4432 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4435 Add checks for poll, ppoll and pselect.
4437 * docs/gst/gstreamer-docs.sgml:
4438 * docs/gst/gstreamer-sections.txt:
4439 Add docs for GstPoll.
4443 * gst/gstpoll.c: (find_index), (selectable_fds),
4444 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4445 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4446 (gst_poll_set_mode), (gst_poll_get_mode),
4447 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4448 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4449 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4450 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4451 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4452 (gst_poll_fd_can_write), (gst_poll_wait),
4453 (gst_poll_set_controllable), (gst_poll_restart),
4454 (gst_poll_set_flushing):
4456 Add generic poll abstraction. We ideally don't want to have this in core
4457 here but in glib intead...
4458 This code will be used in various network elements and ultimately for
4459 the nanosecond precision monotonic clock (that's why it's here in core).
4460 It'll allow us to implement cancelable socket operations for windows too.
4462 * tests/check/Makefile.am:
4463 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4464 (delayed_stop), (delayed_restart), (delayed_flush),
4465 (delayed_control), (gst_poll_suite):
4466 Add GstPoll unit test.
4468 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4471 Improve documentation of gst_filter_run(). Fixes #518627.
4473 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4476 Add a few lines about the new 'check-inspected-versions' target.
4478 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4480 * tests/check/gst/gstevent.c:
4481 Add qos to the event test. Rename tcase/tsuite; is not only about
4484 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4486 * plugins/elements/gstqueue.c:
4487 Ensure that buffer metadata is writeable, before modifying. Spotted by
4490 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4492 * plugins/elements/gstqueue.c:
4493 * plugins/elements/gstqueue.h:
4494 When dropping buffers in leaky modes, mark next buffers we sent as
4497 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4499 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4500 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4502 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4504 * plugins/elements/Makefile.am:
4505 * plugins/elements/gstbufferstore.c:
4506 * plugins/elements/gstbufferstore.h:
4507 * plugins/elements/gsttypefindelement.h:
4508 Remove GstBufferStore, no idea why we were still building it.
4509 It's not used anywhere and superseded by GstAdapter.
4511 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4512 (gst_file_src_create_mmap):
4513 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4514 Printf format fixes for 64-bit integers.
4516 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4519 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4520 We're not in 0.8 times anymore.
4522 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4524 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4525 (gst_check_element_push_buffer_list):
4526 * libs/gst/check/gstcheck.h:
4527 Make the declaration in the header for
4528 gst_check_element_push_buffer_list match the implementation.
4530 Fix up spelling, grammar and wording of the documentation in a few
4531 places, and add the Since keyword to new API functions.
4532 Use g_list_delete_link instead of g_list_remove in
4533 gst_check_drop_buffers, since it's immeasurably more efficient.
4535 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4536 Use new gst_check_drop_buffers function where appropriate.
4538 * win32/common/libgstbase.def:
4539 * win32/common/libgstreamer.def:
4540 Add new symbols gst_collect_pads_take_buffer,
4541 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4544 Changelog surgery to add API keyword to new gst_check API.
4546 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4548 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4549 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4550 Update pre-generated flex files with flex 2.3.34.
4552 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4554 * gst/gstminiobject.c:
4555 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4556 friendly to subclasses and not require them to know all internals
4557 of their parent class.
4559 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4561 * docs/libs/gstreamer-libs-sections.txt:
4562 * libs/gst/base/gstcollectpads.c:
4563 * libs/gst/base/gstcollectpads.h:
4564 Add sub-buffer functions to collectpads. Fixes #516187.
4565 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4567 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4570 Copy selected buffer-flags when creating subbuffers.
4573 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4575 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4576 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4577 * gst/gstmessage.c: (gst_message_class_init),
4578 (gst_message_finalize):
4579 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4580 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4581 (gst_mmap_buffer_finalize):
4582 Properly chain up finalize functions to the parent class.
4584 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4586 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4588 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4589 (gst_index_set_resolver_full):
4591 Add new function with option to dispose of user_data in resolver.
4592 Actually call the dispose function when finalizing the object and not
4593 just when changing the resolver/filter.
4594 API: GstIndex::gst_index_set_resolver_full()
4596 * docs/gst/gstreamer-sections.txt:
4597 Add new function to docs. Fixes #515469.
4599 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4601 * gst/gstindex.c: (gst_index_finalize):
4602 Chain up finalize to the parent class. Fixes leaking the GstObject
4603 name and other things.
4605 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4608 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4609 pre-releases or releases.
4611 * docs/faq/gst-uninstalled:
4614 * docs/random/release:
4615 Change one of the steps - we only upload core & base to Gnome FTP
4617 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4619 * gst/gstconfig.h.in:
4620 Add 'id' for example.
4624 * plugins/elements/gstfdsink.c:
4625 Link to signals. Doc and comment fixes.
4627 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4629 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4630 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4631 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4632 unused and unimplemented; finally, it is plugin features, not
4633 plugins, that have ranks.
4635 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4637 * gst/gstpluginfeature.h:
4638 Clarify GstRank range docs.
4640 2008-02-05 David Schleef <ds@schleef.org>
4642 * gst/gst.c: Add a separate gst_deinitialized that prevents
4643 gst_init() from being called after gst_deinit(). Fixes #509559
4645 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4647 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4648 (gst_bin_class_init):
4649 * gst/gstelement.c: (gst_element_base_class_init),
4650 (gst_element_class_add_pad_template):
4651 * gst/gstpadtemplate.c: (gst_pad_template_init):
4652 * gst/gstpipeline.c: (gst_pipeline_get_type),
4653 (gst_pipeline_base_init), (gst_pipeline_class_init):
4654 * libs/gst/base/gstbasesink.c:
4655 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4656 (gst_base_src_base_init), (gst_base_src_class_init):
4657 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4658 (gst_capsfilter_class_init):
4659 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4660 (gst_fake_sink_class_init):
4661 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4662 (gst_fake_src_class_init):
4663 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4664 (gst_fd_sink_class_init):
4665 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4666 (gst_fd_src_class_init):
4667 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4668 (gst_file_sink_class_init):
4669 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4670 (gst_file_src_class_init):
4671 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4672 (gst_identity_class_init):
4673 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4674 (gst_multi_queue_class_init):
4675 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4676 (gst_queue_class_init):
4677 * plugins/elements/gsttee.c: (gst_tee_base_init),
4678 (gst_tee_class_init):
4679 * plugins/elements/gsttypefindelement.c:
4680 (gst_type_find_element_base_init),
4681 (gst_type_find_element_class_init):
4682 * tests/check/gst/gstelement.c: (gst_element_suite):
4683 Revert previous changes to the behaviour of GstPadTemplates, etc
4684 and the possiblity to call them in class_init as it breaks too
4685 many elements. Reopens bug #491501.
4687 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4690 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4692 * tools/gst-launch.c:
4693 Dump one graph per pipeline state-change and state change name
4694 (if GST_DEBUG_DUMP_DOT_DIR is set).
4696 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4699 * tests/check/gst/gstpad.c:
4700 Be sure that we have a new copy of the caps and not
4701 reffed caps from a template
4703 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4705 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4706 * gst/gstpipeline.c: (gst_pipeline_get_type),
4707 (gst_pipeline_class_init):
4708 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4709 (gst_base_sink_class_init):
4710 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4711 (gst_base_src_class_init):
4712 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4713 (gst_base_transform_class_init):
4714 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4715 (gst_collect_pads_class_init):
4716 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4717 * libs/gst/net/gstnettimeprovider.c:
4718 (gst_net_time_provider_base_init),
4719 (gst_net_time_provider_class_init):
4720 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4721 (gst_capsfilter_class_init):
4722 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4723 (gst_fake_sink_class_init):
4724 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4725 (gst_fake_src_class_init):
4726 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4727 (gst_fd_sink_class_init):
4728 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4729 (gst_fd_src_class_init):
4730 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4731 (gst_file_sink_class_init):
4732 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4733 (gst_file_src_class_init):
4734 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4735 (gst_identity_class_init):
4736 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4737 (gst_multi_queue_class_init):
4738 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4739 (gst_queue_class_init):
4740 * plugins/elements/gsttee.c: (gst_tee_base_init),
4741 (gst_tee_class_init):
4742 * plugins/elements/gsttypefindelement.c:
4743 (gst_type_find_element_base_init),
4744 (gst_type_find_element_class_init):
4745 Don't use base_init where not absolutely necessary. For example it's
4746 not necessary anymore for adding pad templates or setting element
4749 Leave empty base_init functions in several places as GST_BOILERPLATE
4750 still defines and uses them.
4752 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4754 * gst/gstelement.c: (gst_element_base_class_init),
4755 (gst_element_class_add_pad_template):
4756 * gst/gstpadtemplate.c:
4757 Make it possible (and recommended) to set element details and add
4758 pad templates in the class_init functions by copying the details/pad
4759 templates in GstElement's base_init.
4761 Also make it possible to replace existing pad templates by adding
4762 a new one with the same name. This was done in a hackish fashion
4763 in same elements before already.
4765 Don't reference pad templates that are added a second time. A
4766 new pad template has a refcount of one and is not floating anymore
4767 and to be owned by the element's class. Make this more explicit by
4768 mentioning it in the docs of gst_element_class_add_pad_template().
4770 These changes are backwards compatible. Fixes bug #491501.
4772 * tests/check/gst/gstelement.c:
4773 Add unit test for setting element details, adding pad templates and
4774 replacing them in a subclass.
4776 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4778 * tools/gst-inspect.c: (print_interfaces),
4779 (print_element_properties_info), (print_pad_info),
4780 (print_signal_info), (print_element_info):
4781 Fix a few memory leaks.
4783 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4785 * docs/libs/gstreamer-libs-sections.txt:
4786 * libs/gst/check/gstcheck.c:
4787 * libs/gst/check/gstcheck.h:
4788 Add more functions for unit testing: gst_check_drop_buffers,
4789 gst_check_caps_equal, gst_check_element_push_buffer_list,
4790 gst_check_element_push_buffer
4791 API: gst_check_drop_buffers
4792 API: gst_check_caps_equal
4793 API: gst_check_element_push_buffer_list
4794 API: gst_check_element_push_buffer
4796 2008-02-01 Julien Moutte <julien@fluendo.com>
4798 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4799 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4800 (gst_index_finalize), (gst_index_entry_free),
4801 (gst_index_add_association): Fix memory leaks.
4802 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4803 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4804 (gst_mem_index_free_format), (gst_mem_index_free_id),
4805 (gst_mem_index_finalize): Fix memory leaks.
4806 * win32/common/config.h: Updated to CVS HEAD.
4808 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4811 Some more details about how the plugin docs works.
4813 * docs/plugins/gstreamer-plugins-sections.txt:
4816 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4818 * gst/parse/grammar.tab.pre.c:
4819 * gst/parse/grammar.tab.pre.h:
4820 * gst/parse/grammar.y:
4821 * gst/parse/lex._gst_parse_yy.pre.c:
4822 Add delayed set-property. This allows to set properties on dynamicaly
4823 created objects (pads in videomxer). Fixes #509391.
4825 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4828 Check if caps are not NULL (fix bug #510194)
4830 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4832 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4833 (gst_base_sink_get_position_paused):
4834 Add fixme regarding EOS in pull mode.
4835 Fix position reporting in PAUSED for negative rates.
4837 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4839 * gst/gstminiobject.c: (gst_mini_object_replace):
4840 When replacing a miniobject, do a quick equality check first so that we
4841 can avoid a ref/unref pair.
4843 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4845 * docs/design/part-synchronisation.txt:
4848 * docs/plugins/Makefile.am:
4849 * docs/plugins/gstreamer-plugins-docs.sgml:
4850 * docs/plugins/gstreamer-plugins-sections.txt:
4851 * plugins/elements/gstmultiqueue.c:
4852 Add multiqueue to the docs.
4854 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4859 === release 0.10.17 ===
4861 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4864 releasing 0.10.17, "Due Negligence"
4866 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4869 Revert caps != NULL check temporarily for 0.10.17 release.
4871 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4874 Check if caps are not NULL (fix bug #510194)
4876 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4879 Fix compilation on systems that have posix timers but no
4882 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4885 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4887 * tools/gst-inspect.c:
4888 Revert previous commit in preparation for an impromptu 0.10.17 release
4890 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4892 * tools/gst-inspect.c: (print_interfaces),
4893 (print_element_properties_info), (print_pad_info),
4894 (print_signal_info), (print_element_info):
4895 Fix a few memory leaks.
4897 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4902 === release 0.10.16 ===
4904 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4907 releasing 0.10.16, "Special Dispensation"
4909 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4912 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4913 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4914 not fail when trying to crosscompile on OpenEmbedded (#511750).
4916 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4919 Use $(MAKE) instead of make to fix the build if GNU make is
4920 called different. Fixes bug #510747.
4922 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4924 * gst/gstplugin.c: (_gst_plugin_initialize):
4925 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4926 again, which I broke two commits ago when changing the API
4927 of gst_plugin_register_static(): the g_list_foreach() in
4928 _gst_plugin_register_static still assumed the old function
4929 signature and would therefore fail (re-fixes #510187).
4931 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4932 (_gst_plugin_register_static), (gst_plugin_register_static):
4933 Revert the (technically correct) change to call g_thread_init() from
4934 the pre-main() constructor. This will break programs which call
4935 g_thread_init() without an if (!g_thread_supported()) guard in their
4936 main function. We could just blame it on GLib or the application, but
4937 it's probably best to just avoid this altogether and simply not use
4938 any GLib functions here and use plain old malloc() with a simple
4939 array to store the plugins to register later when gst_init() is
4940 finally called (re-fixes #510187).
4942 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4943 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4944 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4945 (GST_START_TEST), (gst_plugin_suite):
4946 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4949 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4951 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4952 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4953 This makes gtk-doc complain, but results in slightly better
4954 compiler errors. The old _gst_plugin_register_static() is
4955 still guarded, so there'll be a compiler warning about that
4956 instead. Fixes #510187 too.
4958 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4960 * gst/gst.c: (init_post):
4961 * gst/gstplugin.c: (_gst_plugin_register_static),
4962 (gst_plugin_register_static), (_gst_plugin_initialize):
4963 * gst/gstplugin.h: (GstPluginFilter):
4964 Change API of gst_plugin_register_static() to not take
4965 a GstPluginDesc, but rather just take all the arguments
4966 in a GstPluginDesc directly. This is more intuitive and
4967 avoids certain mistakes when porting code from
4968 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4971 * tests/check/gst/gstplugin.c:
4972 Fix up for changed API.
4974 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4976 * docs/faq/legal.xml:
4977 Update FAQ, Totem actually has an exception these days.
4979 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4981 * win32/common/libgstreamer.def:
4982 Add new API declarations
4984 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4986 * gst/gstminiobject.c:
4987 Spelling fixes for the API docs.
4989 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4991 * libs/gst/base/gstbasetransform.c:
4992 Fix long property description for QoS.
4994 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4997 _gst_trace_on is already provided by gsttrace.h, no need to declare
5000 * docs/libs/gstreamer-libs-sections.txt:
5001 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5002 and remove strange tcase_add_test which is outputting a warning.
5004 * libs/gst/check/gstcheck.c:
5005 * libs/gst/check/gstcheck.h:
5006 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5007 and define them in gstcheck.c instead of having every .c file whcih
5008 includes gstcheck.h be defining its own copy and relying on symbol
5009 interposing to marry them all, which doesn't work on Solaris.
5011 * tests/check/elements/identity.c: (GST_START_TEST):
5012 Don't define 'buffers' locally, it comes from libgstcheck.
5014 * tests/check/generic/sinks.c: (send_buffer):
5015 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5017 * tests/check/gst/gststructure.c: (GST_START_TEST):
5018 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5019 * tests/check/gst/gstutils.c: (GST_START_TEST):
5020 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5021 Add a bunch of casts to make various constants fit the types
5022 they're being assigned to.
5024 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5026 * gst/gstchildproxy.c:
5027 Improve docs and add some ideas for making this more general-purpose.
5029 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5031 * gst/gst_private.h: (GST_CAT_TYPES):
5032 Add GST_CAT_TYPES, for consistency, and so that the other
5033 debug categories don't make fun of it. Spotted by Saur on IRC.
5035 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5037 * gst/parse/Makefile.am:
5038 Move types.h from EXTRA_DIST to noinst_HEADERS.
5040 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5043 Add -Wno-portability to the automake parameters to stop warnings
5044 about GNU make extensions being used. We require GNU make in almost
5045 every Makefile anyway.
5048 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5049 at the same time is required for per target flags.
5051 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5054 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5055 __GNUC__ is defined before using it.
5057 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5059 * docs/gst/gstreamer-sections.txt:
5060 * gst/gst.c: (init_post):
5061 * gst/gstplugin.c: (_gst_plugin_register_static),
5062 (gst_plugin_register_static), (_gst_plugin_initialize),
5063 (gst_plugin_register_func):
5064 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5065 API: add gst_plugin_register_static() and deprecate
5066 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5068 Also, in _gst_plugin_register_static(), make sure to call
5069 g_thread_init() before calling GLib functions such as
5070 g_list_append() if we're not initialised yet, since that
5071 may lead to random crashes with older GSlice/GLib versions.
5073 * tests/check/gst/gstplugin.c:
5074 Adapt unit test to above changes.
5076 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5078 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5079 * gst/gstcaps.c: (gst_caps_to_string):
5080 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5081 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5082 Yet another gratuitous GString micro-optimisation: add a (private)
5083 function that serialises a structure appending to an existing
5084 GString, so that when we serialise caps we don't need to alloc+free
5085 a throwaway GString for each structure (each of which also entailing
5086 multiple reallocs on the way); also use g_string_sized_new() in
5087 various places with an approximate string length to avoid reallocs
5088 within GString. See #500143.
5090 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5092 * gst/gststructure.c: (gst_structure_id_set_value):
5093 Always check UTF-8 conformance of structure strings and not only
5094 if the debugging system is enabled; reasoning: the behaviour of
5095 the actual code shouldn't really change depending on whether the
5096 debugging system is enabled or not (#508291).
5098 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5101 Remove old coverage target in favour of "make lcov".
5103 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5105 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5106 (gst_base_src_loop):
5107 The start segment for reverse playback goes from start to last_stop.
5109 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5111 Patch by: Peter Kjellerstedt <pkj axis com>
5114 Cast the results from the timeval/spec_to_time macros to what the
5115 docs say it casts to, a GstClockTime. fixes #508175.
5117 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5120 Update some comments.
5122 * tools/gst-inspect.c: (print_element_properties_info):
5123 Improve printing of flags.
5125 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5127 * libs/gst/base/gstbasetransform.c:
5128 (gst_base_transform_transform_size):
5129 Print element name with g_warning() if there's a problem
5132 2008-01-07 David Schleef <ds@schleef.org>
5134 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5136 * libs/gst/controller/gstcontroller.h:
5137 * libs/gst/controller/gstcontrolsource.h:
5138 * libs/gst/controller/gstinterpolationcontrolsource.h:
5139 * libs/gst/controller/gstlfocontrolsource.h:
5140 * libs/gst/dataprotocol/dataprotocol.h:
5141 Fix empty prototypes. Fixes bug #507957.
5143 2008-01-07 David Schleef <ds@schleef.org>
5145 * docs/faq/dependencies.xml: Fix typo.
5147 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5149 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5150 (gst_base_src_loop):
5151 Don't update the last_stop position in do_seek, that's the position we
5153 Read backwards when we have a negative rate.
5155 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5156 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5158 Add check for reverse reading.
5160 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5162 Patch by: Alexis Ballier <aballier at gentoo org>
5164 * tests/check/gst/gstabi.c:
5165 * tests/check/gst/struct_ppc64.h:
5166 * tests/check/libs/libsabi.c:
5167 * tests/check/libs/struct_ppc64.h:
5168 Decide which header to include based on the userland ABI target
5169 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5170 for 64-bit userland (#503590). Might need something similar for
5173 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5175 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5176 Log the reason why fopen fails in addition to the fact that it failed.
5178 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5180 * gst/parse/parse.l:
5181 Use "%option never-interactive" to prevent useless calls to isatty()
5182 on every input when parsing. Also use "%option noinput" to not define
5183 the static input/yyinput functions which we don't use anyway. This
5184 removes a compiler warning with gcc 4.3 and saves some bytes in the
5187 * gst/parse/lex._gst_parse_yy.pre.c:
5188 Regenerated for the above change.
5190 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5192 * gst/gstpad.c: (fixate_value):
5193 Don't crash when trying to fixate and empty list.
5196 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5198 * docs/faq/gst-uninstalled:
5199 Clarify the comments to make the usage of this script and what it
5200 does easier to understand.
5202 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5204 * tools/gst-plot-timeline.py:
5205 Add more options to gst-plot-timeline
5207 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5209 * docs/design/part-synchronisation.txt:
5210 Some more info on how the stream_time in GstBaseSink is done.
5212 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5214 * tests/check/generic/sinks.c: (gst_sinks_suite):
5215 Put back the tcase_set_timeout(), apparently it's needed after
5216 all; fix it up in a way that makes things work with valgrind too.
5218 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5220 * gst/gstdebugutils.c:
5221 Add warning when failed to open file for writing.
5223 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5225 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5227 * gst/gstvalue.c: (gst_value_is_fixed):
5228 Optimisation: bail out of the loop as early as possible (#500143).
5230 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5232 * gst/gstcaps.c: (gst_caps_to_string):
5233 * gst/gstinfo.c: (gst_debug_construct_term_color):
5234 * gst/gstparse.c: (gst_parse_launchv):
5235 * gst/gstutils.c: (gst_util_dump_mem):
5236 * gst/gstvalue.c: (gst_value_serialize_any_list),
5237 (gst_value_transform_any_list_string):
5238 Bunch of gratuitous nano-optimisations.
5240 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5242 * tests/check/generic/sinks.c: (async_done_func),
5243 (async_done_eos_func):
5244 Fix leak in unit test (bus sync handler must unref the message
5245 if it returns GST_BUS_DROP). Don't fiddle with the default test
5246 timeout, this is smaller than the current preconfigured value
5247 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5248 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5250 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5252 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5255 Check for stdio_ext.h for the filesink changes.
5257 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5258 (gst_file_sink_class_init), (gst_file_sink_init),
5259 (gst_file_sink_dispose), (gst_file_sink_set_property),
5260 (gst_file_sink_get_property), (gst_file_sink_open_file),
5261 (gst_file_sink_close_file):
5262 * plugins/elements/gstfilesink.h:
5263 Add two properties to control the buffering mode and size.
5264 API: GstFileSink::buffer-mode
5265 API: GstFileSink::buffer-size
5268 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5270 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5271 Add some more docs to explain why a FIXME was wrongly added.
5273 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5276 Fix typo in the gst_object_{ref,unref} documentation.
5278 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5280 * tests/check/libs/controller.c:
5281 * tests/check/libs/typefindhelper.c:
5282 * tests/check/pipelines/parse-launch.c:
5283 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5284 going to be deprecated (see #498924).
5286 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5288 * gst/gsttypefind.c: (gst_type_find_register):
5289 Make gst_type_find_register work for static typefind functions,
5290 ie. allow passing plugin == NULL (prerequisite for #498924).
5292 * gst/gstelementfactory.c: (gst_element_register):
5293 Small docs addition.
5295 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5297 * gst/gstpad.c: (gst_pad_dispose):
5298 Really unlink the peer pad instead of setting the peer pointer to NULL
5299 when we dispose the pad.
5300 This correctly calls the unlink functions and makes sure that the peer
5301 does not have a handle to invalid memory. See #504671.
5303 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5304 Add testsuite for above case.
5306 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5308 Patch by: Peter Kjellerstedt <pkj axis com>
5310 * libs/gst/check/gstcheck.h:
5311 Fix detection of the check version we're compiling against (would
5312 otherwise break if check goes v0.10.0); correctly report the
5313 name of the failed test again in case of failure, instead of
5314 just 'tf' (fixes #504499).
5316 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5318 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5319 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5320 (gst_base_src_loop), (gst_base_src_set_flushing),
5321 (gst_base_src_change_state):
5322 Allow sending EOS to the source to make it send out an EOS event from
5323 the streaming thread.
5324 Update docs and deprecate the old NULL/READY shutdown method.
5326 * tests/check/libs/basesrc.c: (GST_START_TEST),
5327 (gst_basesrc_suite):
5328 Add unit test for controlled shutdown.
5330 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5332 * docs/design/part-synchronisation.txt:
5335 * gst/gstsegment.c: (gst_segment_set_seek),
5336 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5337 (gst_segment_to_running_time):
5338 The seek format can be different from the segment format when the start
5339 and stop values are not to be updated, when we only do a rate change for
5342 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5343 (gst_segment_suite):
5344 Add a testcase for the rate-only seeks, checking that the format is
5345 correctly ignored when start and stop are not updated.
5347 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5349 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5351 * win32/vs8/grammar.vcproj:
5352 * win32/vs8/libgstcontroller.vcproj:
5353 * win32/vs8/libgstreamer.vcproj:
5354 Fix compilation with VS8 and include some missing files.
5356 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5359 Small docs addition: mention that the strings returned by
5360 gst_tag_list_get_string*() are in UTF-8 encoding.
5362 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5365 The check-exports stuff moved to common/win32.mak, so include that.
5367 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5369 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5370 (gst_base_src_perform_seek), (gst_base_src_get_range),
5371 (gst_base_src_set_playing), (gst_base_src_change_state):
5372 Make _wait_playing() not check any variables so that we can call this
5373 function from subclasses. Move the checks elsewhere similar to
5374 _wait_preroll() in basesink.
5376 Only signal the LIVE cond when we are going back to PLAYING.
5378 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5380 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5381 Use g_remove() and g_rename(). Check result of g_rename(), and
5382 don't leak the open file descriptor if we error out when writing.
5384 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5385 Must check the return value of close() after writing out the new
5386 registry file. Sometimes write problems such as out-of-diskspace
5387 are only reported when the file is closed and not already during
5388 the write. This may have caused partial/broken registry files in
5389 some rare circumstances. Should fix #503675.
5391 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5393 * docs/gst/.cvsignore:
5394 * docs/libs/.cvsignore:
5395 * docs/plugins/.cvsignore:
5396 Ignore files generated by new common/* modifications
5398 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5400 * win32/common/libgstbase.def:
5401 Yes, you can also have a <TAB> if you want.
5403 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5405 * win32/common/libgstbase.def:
5406 Add new basetransform API to win export file.
5408 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5410 * tests/check/gst/gstbin.c:
5411 Adjust the test to the refcount change two days ago.
5413 2007-12-14 David Schleef <ds@schleef.org>
5415 * docs/faq/getting.xml: Fix typo.
5417 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5419 * docs/libs/gstreamer-libs-sections.txt:
5420 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5421 (gst_base_transform_prepare_output_buffer),
5422 (gst_base_transform_set_gap_aware):
5423 * libs/gst/base/gstbasetransform.h:
5424 API: Add gst_base_transform_set_gap_aware() to control whether
5425 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5426 get buffers with this flag at all. Fixes #503231.
5428 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5430 * libs/gst/base/gstbasesink.c:
5431 * libs/gst/base/gstbasesrc.c:
5432 * libs/gst/base/gstbasetransform.c:
5433 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5434 thread. Correct log message in gstbasesrc.c.
5436 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5438 * gst/gstutils.c: (element_find_unconnected_pad):
5439 Fix possible compiler warning (#503417).
5441 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5443 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5444 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5446 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5448 * tools/gst-inspect.c: (print_element_properties_info):
5449 Add support for GstFraction properties.
5451 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5454 Add check-exports target and run it as part of 'make check'
5455 (see #499140 and #493983).
5457 * gst/gst_private.h:
5458 * gst/gstelementfactory.h:
5459 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5460 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5461 (_priv_gst_in_valgrind):
5462 * gst/gstinfo.h: (GstLogFunction):
5463 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5464 (gst_type_find_register):
5465 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5466 (gst_type_find_factory_get_type):
5467 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5468 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5469 (gst_controller_new_valist), (gst_controller_new_list),
5470 (_gst_controller_dispose), (_gst_controller_class_init):
5471 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5472 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5473 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5474 (gst_object_get_controller), (gst_object_set_controller),
5475 (gst_object_suggest_next_sync), (gst_object_sync_values),
5476 (gst_object_set_control_source), (gst_object_get_control_source),
5477 (gst_object_get_value_arrays), (gst_object_get_value_array),
5478 (gst_object_get_control_rate), (gst_object_set_control_rate):
5479 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5480 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5481 Make some functions that should be static static; rename some
5482 private symbols so that they don't get exported; add some FIXME
5483 comments so we can move accidentally exported functions into
5484 our private section in 0.11.
5486 * win32/common/libgstreamer.def:
5487 Add gst_utils_get_timestamp().
5489 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5493 Add more missing "Since:" tags to docs.
5495 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5498 Add mising "Since:" to docs.
5500 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5503 Include "glib-compat-private.h" to fix the build on system with
5504 glib < 2.10. Fixes #503131.
5506 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5510 Actually its not PURE as it gets the time from elsewhere.
5512 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5514 * docs/gst/gstreamer-sections.txt:
5516 * gst/gstdebugutils.c:
5520 * libs/gst/base/gstbasesink.c:
5521 * tools/gst-launch.c:
5522 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5523 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5524 Thanks Tim for spotting.
5525 API: gst_util_get_timestamp
5527 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5530 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5532 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5534 * gst/gststructure.c: (gst_structure_validate_name),
5535 (gst_structure_new_valist), (gst_structure_parse_value),
5536 (gst_structure_from_string):
5537 Don't crash in _from_string() if the structure name is not valid
5538 (fixes #501560). Allow structure names to start with a number
5539 again (this apparently broke the ubuntu codec installer).
5541 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5543 Add unit test for the crash; update unit tests for new behaviour.
5545 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5548 Clarify gst_element_get_compatible_pad() documentation.
5551 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5553 * tests/check/Makefile.am:
5554 Don't forget to dist {gst,libs}/struct_hppa.h.
5556 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5558 * libs/gst/base/gstbasesink.c:
5559 Use new API to get elapsed time.
5561 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5563 * gst/gstdebugutils.c:
5565 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5567 * tools/gst-launch.c:
5568 Use new API to get elapsed time.
5570 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5572 * docs/gst/gstreamer-sections.txt:
5574 * gst/gstdebugutils.c:
5576 Rename new API + ChangeLog surgery to remove old name from last entry..
5578 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5580 * docs/gst/gstreamer-sections.txt:
5582 * gst/gstdebugutils.c:
5584 Now hide the different clock stuff behind a macro.
5586 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5589 * gst/gstdebugutils.c:
5591 Apply the posix-timer check from #361155. Conditionally use the posix
5592 timer for logging. This gives better timestamp precission, less
5593 overhead and no ntp jitter.
5595 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5597 * gst/gstminiobject.c: (gst_mini_object_get_type),
5598 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5599 (gst_mini_object_finalize), (gst_mini_object_copy),
5600 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5601 (gst_mini_object_replace), (param_mini_object_validate),
5602 (gst_param_spec_mini_object_get_type):
5603 Some cleanup and checking against invalid function parameters.
5605 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5607 * docs/gst/gstreamer-sections.txt:
5609 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5610 (gst_systemclock_suite):
5611 Start merging in the easy bits of #361155, the monotonic clock patch.
5612 This one adds a few handy macros with docs and a testsuite.
5614 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5616 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5617 Be a bit smarter when seeking, like, don't try to do a seek when it's
5618 not needed. This avoids errors when the file is not seekable.
5621 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5623 * docs/gst/gstreamer-docs.sgml:
5624 * docs/gst/gstreamer-sections.txt:
5625 * docs/gst/gstreamer.types.in:
5630 * plugins/elements/gstqueue.c:
5631 Due to popular request remove preset interface again. :-(.
5633 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5635 * tools/gst-inspect.c:
5636 Print 'default value' for enums and flags too.
5638 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5640 * docs/random/ensonic/profiling.txt:
5644 Fix typo and give better log output.
5646 * gst/gstdebugutils.c:
5647 * gst/gstdebugutils.h:
5648 More ideas, make graphs a bit smaller and fix param name in macro.
5650 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5653 Try harder to use the return value from fgets().
5655 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5658 For theses two fgets we handle the error below.
5660 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5662 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5663 Only send upstream events upstream. Fixes #498746.
5665 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5667 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5669 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5670 (gst_identity_init), (gst_identity_transform_ip),
5671 (gst_identity_set_property), (gst_identity_get_property):
5672 * plugins/elements/gstidentity.h:
5673 Add property to disable handoff signal emission. Fixes #498694.
5674 API: GstIdentity::signal-handoffs
5676 2007-11-21 Julien Moutte <julien@fluendo.com>
5678 * docs/faq/gst-uninstalled: Yet another missing library for the
5679 uninstalled script (fft)
5681 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5683 * docs/faq/developing.xml:
5684 Add a question about how to submit new translations.
5686 * docs/random/release:
5687 Update the contact email address for the Translation Project
5689 * plugins/elements/gstfdsrc.c:
5690 The parent_class for fdsrc is pushsrc, not GstElement.
5692 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5695 Plug a leak and fix saving.
5697 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5699 * docs/gst/gstreamer-sections.txt:
5700 Add new gst_preset__get_property_names() function to the docs
5703 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5707 Change _get_preset_names API to return a strv with copies. Add
5708 _get_property_names to allow implementations to filter and provide
5709 good default implementation.
5711 2007-11-20 Julien MOUTTE <julien@moutte.net>
5713 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5716 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5719 More cleanups, docs, and TODOs from comments that now slowly come in.
5721 2007-11-19 Julien MOUTTE <julien@moutte.net>
5723 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5726 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5729 Fix bogus warning and make the property type specific code more
5732 2007-11-19 Julien MOUTTE <julien@moutte.net>
5734 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5737 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5739 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5740 (gst_bin_add_func), (gst_bin_remove_func),
5741 (gst_bin_change_state_func), (gst_bin_continue_func):
5742 Change email, cleanups add some more debug and comments.
5743 Also set bus and clock on new elements when the pipeline was in error.
5745 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5748 * gst/gstdebugutils.c:
5749 Fix build with --disable-gst-debug. Fixes #497859.
5750 Spotted by Sameer Naik.
5752 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5755 Little documentation improvment.
5758 More TODO cleanups. Remove c++ comments.
5760 * libs/gst/controller/gstcontroller.c:
5761 Add TODO and use quark from static string.
5763 * tests/check/gst/gstmessage.c:
5764 * tests/check/gst/gststructure.c:
5765 Use quark from static string.
5767 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5770 Add some comments and TODOs.
5773 Add padding for future changes.
5775 * plugins/elements/gstqueue.c:
5776 Implement the iface.
5778 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5780 * docs/gst/gstreamer-docs.sgml:
5781 * docs/gst/gstreamer-sections.txt:
5782 * docs/gst/gstreamer.types.in:
5787 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5789 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5795 === release 0.10.15 ===
5797 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5800 releasing 0.10.15, "October"
5802 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5804 * win32/vs6/libgstreamer.dsp:
5805 Convert line endings back to DOS.
5807 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5809 * docs/design/draft-tagreading.txt:
5810 * docs/random/ensonic/profiling.txt:
5811 Update fast tagreading draft and performance profiling ideas.
5813 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5815 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5816 Don't hold the object lock when unreffing a buffer because it could
5817 cause a deadlock when the finalize function wants to grab the object
5818 lock too. Fixes #495133.
5820 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5822 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5823 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5824 Also accumulate time correctly when doing reverse playback. Fixes
5826 When converting to running and stream time, use default values for
5827 start/stop/time/accum when comparing different formats. Fixes #494245.
5829 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5830 Do running/stream time in TIME format.
5832 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5833 (gst_segment_suite):
5834 2 new unit tests for segment accumulation.
5836 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5838 * gst/gst.c: (init_pre):
5839 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5840 (_gst_debug_bin_to_dot_file):
5841 Move getenv() back into gst_init, so everyone can live happily
5842 ever after. Make sure the symbol isn't exported though.
5844 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5846 Patch by: Sebastien Moutte <sebastien moutte net>
5848 * win32/common/gstenumtypes.c:
5849 * win32/common/gstenumtypes.h:
5852 * win32/vs6/libgstreamer.dsp:
5853 Update vs6 project files (#494343).
5855 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5857 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5858 (gst_base_src_perform_seek), (gst_base_src_default_event),
5859 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5860 (gst_base_src_activate_pull):
5861 Unify flushing code, remove some old unlock code that is no longer used.
5862 Take the streaming lock when seeking to avoid races. Fixes #492729.
5863 Added some more comments.
5865 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5867 * gst/gst.c: (_gst_disable_segtrap):
5868 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5869 we can use gst_segtrap_is_enabled() there now that we have that API.
5870 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5871 to do the getenv here (and export the variable).
5873 * gst/gstdebugutils.c: (debug_dump_element),
5874 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5875 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5877 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5878 (gst_debug_log_default):
5879 Rename _gst_info_start_time to priv_gst_info_start_time so it
5880 doesn't get exported (was never in any header).
5882 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5883 (gst_plugin_loading_mutex):
5884 Make static mutex gst_plugin_loading_mutex really static (was never
5885 in any header), and use gst_segtrap_is_enabled() instead of
5886 _gst_disable_segtrap.
5888 * gst/gsttrace.c: (_gst_trace_default):
5889 Make local _gst_trace_default static (was never in any header).
5891 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5893 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5895 * win32/common/libgstbase.def:
5896 * win32/common/libgstcontroller.def:
5897 * win32/common/libgstdataprotocol.def:
5898 * win32/common/libgstnet.def:
5899 * win32/common/libgstreamer.def:
5900 Add more missing symbols, remove some duplicates, and sort
5901 as the 'sort' command sorts it (partially fixes #493983).
5903 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5905 * gst/gstelement.c: (gst_element_set_state_func):
5906 Only change the state cookie if a different state was set on the
5907 element. See #492729.
5909 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5912 Remove unused and uninitialised type variables that were still
5913 exported for some reason (they were never in any header files
5916 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5918 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5919 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5920 (gst_base_sink_event), (gst_base_sink_get_position_last),
5921 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5922 (gst_base_sink_change_state):
5923 Don't try to report a 0 position when we don't know, return -1 and FALSE
5924 instead. This mostly happens when we are prerolling.
5925 Make sure we can report the right position before we post the ASYNC_DONE
5926 message so that a message handler can query position without races.
5928 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5929 (async_done_handoff), (async_done_func), (send_buffer),
5930 (async_done_eos_func), (gst_sinks_suite):
5931 Add two tests for the above.
5933 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5936 Update with new email address.
5938 * docs/design/part-TODO.txt:
5939 Add some more info about future pad-block and negotiation changes.
5941 * docs/design/part-buffering.txt:
5942 Add some ideas about buffering reporting.
5944 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5946 * tests/check/gst/gstobject.c:
5947 Disable silly racy test that always fails on this combination of CPU
5950 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5952 Patch by: Murray Cumming <murrayc@murrayc.com>
5955 Corrected the registration of the parent-set and parent-unset
5956 signals: The parameter is a GstObject, not a GObject (#493134).
5958 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5960 * gst/gst_private.h:
5969 Move declaration of private _gst_foo_initialize() functions into
5970 our private header file where they should have been all along.
5972 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5974 * docs/plugins/gstreamer-plugins-sections.txt:
5975 * gst/gstdebugutils.h:
5977 * plugins/elements/gstqueue.c:
5978 gtk-doc fixes; trailing-comma-in-enum fix.
5980 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5982 * gst/gst.c: (gst_deinit):
5983 Clean up on deinit (not the external ones though, doesn't seem to be
5984 needed for some reason).
5986 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5988 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5989 Remove __declspec(dllimport) for MSVC that was copied over into core
5990 from a plugin, obviously without ever having been tested (note the
5991 single underscore in _declspec in the initial commit), and that doesn't
5992 really make sense. See #492077.
5994 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5996 * gst/gst.c: (init_post):
5997 * gst/gstevent.c: (_gst_event_initialize):
5998 * gst/gstquery.c: (_gst_query_initialize):
5999 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6000 g_type_class_ref() other types as well, see #349410 and #64764.
6002 * gst/gstbuffer.c: (_gst_buffer_initialize):
6003 * gst/gstmessage.c: (_gst_message_initialize):
6004 Simplify existing g_type_class_ref().
6006 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6008 * gst/gstformat.c: (_gst_format_initialize):
6009 g_type_class_ref() our GstFormat type to make sure we avoid the
6010 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6011 bug #64764. Should fix intermittent tee unit test failures (#474823).
6013 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6015 * tests/check/elements/tee.c: (test_num_buffers):
6016 Simplify, simplify, simplify - or not. Rewrite unit test
6017 not to use gst_parse_launch(); allow N sub-streams. Increasing
6018 the number of sub-streams seems to reproduce #474823 more easily.
6020 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6022 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6025 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6026 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6027 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6028 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6029 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6030 so use _pipe() directly (#492077).
6032 * win32/common/dirent.c: (_treaddir):
6033 Add a couple of casts to make it build without warnings with MSVC.
6035 * win32/common/libgstreamer.def:
6036 Add some more symbols that need to be exported.
6038 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6040 * tests/examples/metadata/read-metadata.c: (message_loop):
6041 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6042 arriving in a second or third tag message are added to
6043 the tag list as well.
6045 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6047 * libs/gst/base/gstbasesrc.c:
6048 Its "Since:" and not "@Since:". And remove an superflous cast.
6050 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6052 * docs/libs/gstreamer-libs-sections.txt:
6053 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6054 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6055 (gst_base_sink_get_property), (gst_base_sink_render_object),
6056 (gst_base_sink_preroll_object),
6057 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6058 (gst_base_sink_change_state):
6059 * libs/gst/base/gstbasesink.h:
6060 Add a new last-buffer property that contains the last buffer used in
6061 basesink for preroll or rendering. useful for making snapshots.
6062 API: gst_base_sink_get_last_buffer()
6063 API: GstBaseSink::last-buffer
6065 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6067 * docs/gst/running.xml:
6069 * gst/gstdebugutils.c:
6070 * gst/gstdebugutils.h:
6071 * tools/gst-launch.c:
6072 Improve bin graph dumping, by using the envvar to specify a path.
6073 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6075 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6077 * plugins/elements/gsttypefindelement.c:
6078 (gst_type_find_element_handle_event),
6079 (gst_type_find_element_activate):
6080 Post special error message if we can't determine the type of a stream
6083 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6085 * docs/gst/running.xml:
6086 * gst/gstdebugutils.c:
6087 Document new env-var. Add one log-line after dumpng a graph.
6089 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6092 Ugly hack to put the (recently removed and non-portable, apparently)
6093 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6094 GNU ld, because without that 'make check' fails miserably on my debian
6095 stable box. Someone with more knowledge of linker intricacies and
6096 portability issues than me fix this properly please.
6098 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6100 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6101 Reset last seen position after flushing so that we don't report the old
6104 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6106 * gst/gstelementfactory.c: (gst_element_register):
6108 Patch from Alessandro Decina adding get_type_full and
6109 get_protocols_full private vfuncs to the URIHandler interface
6110 to allow bindings to support creating URI handlers.
6111 Partially fixes: #339279
6112 API: GstURIHandlerInterface::get_type_full
6113 API: GstURIHandlerInterface::get_protocols_full
6115 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6117 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6118 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6119 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6120 Make it so that pads are considered linked until a buffer is pushed
6121 and discovered otherwise. This avoids problems with decodebin2 hanging
6122 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6125 Make sure we lock the multiqueue when updating the max-size properties.
6127 Fix a crash on Solaris in a debug statement in get_request_pad that
6128 passes a NULL string to GST_DEBUG.
6130 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6131 (run_output_order_test):
6132 Fix the test to allow the first buffer on not-linked pads to come out
6133 of sequence while multiqueue discovers that they are not-linked.
6135 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6138 * libs/gst/check/Makefile.am:
6139 Use a custom export symbol regex for libgstcheck, as it needs
6140 to export symbols that don't match the standard GStreamer gst_*
6141 pattern, and --export-dynamic is not portable (only works on
6144 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6145 (gst_check_setup_sink_pad):
6146 Make sure to pass a message parameter to the fail_* macros.
6148 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6149 Fix some compiler warnings.
6151 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6153 * tests/check/gst/gststructure.c: (test_to_string):
6154 Disable test that checks that white spaces are not allowed
6155 in structure names or field names, since we need to
6156 support that for now for backwards compatibility reasons.
6158 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6160 * docs/gst/gstreamer-sections.txt:
6163 API: add GST_TAG_ARTIST_SORTNAME
6164 API: add GST_TAG_ALBUM_SORTNAME
6165 API: add GST_TAG_TITLE_SORTNAME
6166 Add tag variants for sorting (#414539).
6168 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6170 * gst/gststructure.c:
6171 Also allow white space for names so we don't break
6172 backwards compatibility.
6174 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6176 * docs/design/part-TODO.txt:
6177 * docs/design/part-segments.txt:
6178 * docs/design/part-streams.txt:
6181 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6183 * docs/gst/gstreamer-sections.txt:
6184 Fixed documentation from my previous commit (added new API add
6185 gst_value_set_structure(), add gst_value_get_structure() and
6186 GST_VALUE_HOLDS_STRUCTURE).
6188 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6190 * gst/gstdebugutils.c:
6191 Reflow code to fix uninitialized variable warning.
6193 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6195 * gst/gstcaps.c: (gst_caps_to_string),
6196 (gst_caps_from_string_inplace):
6197 * gst/gststructure.c: (gst_structure_get_abbrs),
6198 (gst_structure_to_string), (gst_structure_from_string):
6199 * gst/gstvalue.c: (gst_value_set_structure),
6200 (gst_value_get_structure), (gst_value_serialize_structure),
6201 (gst_value_deserialize_structure), (_gst_value_initialize):
6203 * tests/check/gst/gststructure.c: (GST_START_TEST),
6204 (gst_structure_suite):
6205 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6206 Added GstStructure to gst_value_table and its related functions.
6207 Changed gst_structure_to_string to print ';' in the end.
6208 Changed gst_caps_to_string to not print ';' beteween its
6209 fields (structures) anymore and remove the lastes ';' from latest
6210 structure. Now it is possible to have nested structures.
6211 In addition, backward compatibilty is assured by accepting '\0' as
6212 end delimiter. Fixes: #487969.
6213 API: add gst_value_set_structure()
6214 API: add gst_value_get_structure()
6215 API: add GST_VALUE_HOLDS_STRUCTURE
6217 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6220 When no GSource callback has been set up, tell developer
6221 to use a function that actually exists.
6223 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6225 * docs/gst/gstreamer-sections.txt:
6229 * gst/gstdebugutils.c:
6230 * gst/gstdebugutils.h:
6233 * tools/gst-launch.c:
6234 Allow dumping pipelines as dot graphs. Fixes #456573.
6236 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6238 * gst/gststructure.c:
6239 Allow '+' as well, it can be part of media or mime types
6240 such as image/svg+xml.
6242 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6244 * docs/gst/gstreamer-sections.txt:
6247 API: add gst_bus_pop_filtered
6248 API: add gst_bus_timed_pop_filtered
6249 Two new functions for waiting for specific message types on the
6250 bus for a specified amount of time without iterating any main
6251 loops or main contexts.
6253 * tests/check/gst/gstbus.c:
6254 Some tests for the new functions.
6256 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6258 * docs/libs/gstreamer-libs-sections.txt:
6259 Make gtk-doc ignore stuff it should ignore.
6261 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6263 * libs/gst/check/gstcheck.c:
6264 * libs/gst/check/gstcheck.h:
6265 Allow runtime selection of unit tests to run via the GST_CHECKS
6266 environment variable (test case function names, comma-separated).
6268 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6270 * gst/gststructure.c:
6271 * tests/check/gst/gststructure.c:
6272 Revert serialisation change and constrain structure-names after
6273 consensus on irc. Update api documentation to reflect the change.
6275 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6277 * gst/gststructure.c:
6278 Improve serialization and fix tests.
6280 * tests/check/gst/gststructure.c:
6281 Add another test that covers why I actually did the previous structure
6284 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6286 * tools/gst-inspect.c: (print_element_info):
6287 Don't crash when inspecting an element.
6289 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6291 * tests/check/gst/gststructure.c:
6292 Add unit test for escaping of structure name when serialising
6293 and deserialising to/from strings.
6295 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6297 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6298 (gst_single_queue_new):
6299 * plugins/elements/gstqueue.c: (gst_queue_init),
6300 (gst_queue_push_one):
6301 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6302 upstream is tricked into thinking it can suggest a format downstream
6303 while downstream does not support that format. The real problem is that
6304 core calls acceptcaps when pushing a buffer with new caps, for which we
6305 do a little workaround by setting the caps on the srcpad ourselves
6306 before pushing the buffer (until this is figured out). Fixes #486758.
6308 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6310 * gst/gststructure.c:
6312 Add some more comments and debug output. Quote structure name to fix
6313 deserialisation of some strings.
6315 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6318 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6319 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6321 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6323 * tools/gst-inspect.c:
6324 Save approx. 400 1 byte allocs when printing. Use API to acces element
6330 * tools/gst-xmlinspect.c:
6331 Use API to acces element details.
6333 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6336 Fix some spelling errors.
6338 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6340 * gst/gstbin.c: (bin_handle_async_done):
6341 Correctly set the next state if all of our async children commited their
6342 state. This makes sure we can actually cancel the state change in
6343 progress. Fixes a regression in Rhythmbox when seeking.
6345 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6348 Don't shadow local variable.
6351 Don't shadow global function name.
6353 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6355 * gst/gstelementfactory.c:
6356 * gst/gstpluginfeature.c:
6357 * gst/gstpluginfeature.h:
6358 * gst/gstregistrybinary.c:
6359 * gst/gstregistryxml.c:
6360 * gst/gsttypefind.c:
6361 Use already-interned string for the private GstPluginFeature
6364 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6366 * docs/libs/gstreamer-libs-sections.txt:
6367 Add new API to docs; fixes the build.
6369 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6371 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6373 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6374 (gst_base_sink_event):
6375 * libs/gst/base/gstbasesink.h:
6376 Add function to wait for EOS, subclasses can use this to correctly wait
6377 for devices to drain before performing the EOS logic. Fixes #485343.
6378 API: gst_base_sink_wait_eos()
6380 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6383 Cast description string constants in GST_PLUGIN_DEFINE macros
6384 to a (gchar*) to make C++ code using these macros compile
6385 without warning with g++-4.2 (see #462737). Even if slightly
6386 ugly, this seems preferable to putting the description strings
6387 into the GLib quark table or making the structure member a
6388 const gchar * and doing casts in core code that allocs and
6389 frees these strings, or requiring a cast in the C++ code.
6391 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6394 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6395 to print the entire class/function signature into the log
6396 file for C++ code. This only affects C++ code, for C code
6397 everything remains the same.
6399 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6401 * gst/gstbin.c: (remove_from_queue):
6402 Work around a problem with pipelines containing (semi)loops until a
6403 proper, more complicated solution is ready. See #475455.
6405 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6409 * gst/gstregistrybinary.c:
6410 * gst/gstregistryxml.c:
6411 Put more strings into the GLib quark table. No need to keep
6412 a hundred-something copies of identical version strings,
6413 license strings, package name strings and package origin
6416 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6418 * docs/manual/advanced-dataaccess.xml:
6419 Don't imply that it's okay to unconditionally change
6420 buffer data or buffer metadata in a pad probe callback,
6421 and a bunch of other comments. Fixes #430031.
6423 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6425 * win32/common/gstenumtypes.c:
6426 * win32/common/gstenumtypes.h:
6427 * win32/common/gstversion.h:
6428 Update generated files.
6430 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6432 * docs/manual/advanced-autoplugging.xml:
6433 Prefix section with broken code with a warning (see #342432).
6435 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6437 * docs/manual/appendix-integration.xml:
6438 * docs/manual/basics-init.xml:
6439 Call g_thread_init() before g_option_context_new() to
6440 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6442 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6444 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6445 (gst_base_sink_queue_object_unlocked),
6446 (gst_base_sink_queue_object), (gst_base_sink_event),
6447 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6448 When we received EOS and are waiting for when to post the EOS message,
6449 our state is prerolled and we should not return ASYNC.
6450 Reorganize some code paths to implement this behavior.
6452 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6454 Add unit test to verify above EOS fix.
6456 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6458 * plugins/elements/gsttypefindelement.c:
6459 (gst_type_find_element_have_type), (gst_type_find_element_init),
6460 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6461 Move detecting the input caps of the sinkpad to the setcaps function.
6462 This allows us to update the output caps when we receive new input caps
6463 instead of always using the first detected caps.
6465 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6467 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6468 (gst_base_sink_get_position):
6469 Don't try to preroll non-async elements after a flush.
6470 Subtract latency form clock times when reporting position.
6472 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6474 * gst/gstpad.c: (gst_pad_pause_task):
6476 Small comment and documentation update.
6478 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6480 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6481 (gst_base_src_set_live), (gst_base_src_is_live),
6482 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6483 (gst_base_src_default_event), (gst_base_src_wait),
6484 (gst_base_src_do_sync), (gst_base_src_get_range),
6485 (gst_base_src_pad_get_range), (gst_base_src_loop),
6486 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6487 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6488 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6489 (gst_base_src_change_state):
6490 Rework the locking of basesrc in a similar fashion to basesink. We
6491 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6492 us to handle live sources and semi live ones much better.
6494 Fix unlocking when seeking, shutting down and pausing in live sources.
6496 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6498 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6499 Fix compilation again.
6501 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6504 Use meaningful categories for the logs to clean the default one.
6506 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6508 * tests/check/pipelines/cleanup.c:
6509 Print message name and not just number.
6511 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6513 * docs/design/draft-tagreading.txt:
6514 Add some more thoughts.
6516 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6518 * tests/check/pipelines/simple-launch-lines.c:
6519 Print message name and not just number.
6521 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6523 * libs/gst/base/gsttypefindhelper.c:
6524 Speedup typefinding. This is work in progress (see #459862).
6526 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6529 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6530 Spotted by Josep Torra Valles <josep@fluendo.com>.
6532 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6535 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6536 field has moved to GstObject.
6538 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6540 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6541 (gst_base_src_get_range), (gst_base_src_change_state):
6542 Call unlock for live sources so that they can't get stuck in _create and
6543 produce a buffer before they are set back to PLAYING.
6545 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6547 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6548 (gst_queue_locked_dequeue):
6549 Comment the segment-related code... in the PROPER function.
6550 See #482147 and my commit from yesterday.
6552 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6554 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6555 Also initialize the counter that calculates the first timestamp on a
6556 buffer correctly for non-live sources.
6558 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6560 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6561 Disable code that's breaking the current-time-level reporting.
6564 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6566 * docs/gst/gstreamer-sections.txt:
6567 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6568 as they shouldn't show up. Fixes the docs build.
6570 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6573 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6574 Define M_PI which is used in files which are including gstinfo.h.
6575 VS6 includes doesn't define it.
6576 * win32/common/libgstbase.def:
6577 * win32/common/libgstcontroller.def:
6578 * win32/common/libgstreamer.def:
6579 Add new exported functions and variables.
6580 * win32/vs6/libgstcontroller.dsp:
6581 * win32/vs6/libgstreamer.dsp:
6582 Update the list of files to build.
6584 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6586 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6588 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6589 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6590 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6591 Improve debugging. Fixes #480858.
6593 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6595 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6597 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6598 First patch of code cleanups, use the macros and right arguments in the
6599 macros to signal and lock the queue. See #480858.
6601 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6603 * gst/gstbus.c: (poll_func):
6604 Improve debugging when dealing with _poll().
6606 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6608 * gst/gstregistryxml.c:
6609 Fix memory leak I introduced a few days ago.
6611 2007-09-26 Michael Smith <msmith@fluendo.com>
6613 * gst/gstbuffer.c: (gst_buffer_finalize):
6614 Make it once again possible to free GstBuffers in the default
6616 The poisoning scribbles on parts of the miniobject we need in
6620 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6622 * docs/gst/gstreamer-sections.txt:
6625 API: add GST_TAG_COMPOSER, fixes #459809.
6627 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6631 Add the 3-clause BSD license and the MIT/X11 license to the license
6632 list. Fixes #479784.
6634 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6636 * docs/faq/getting.xml:
6637 Add Q+A about different GStreamer versions (#364056).
6639 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6641 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6642 (gst_base_sink_event), (gst_base_sink_change_state):
6643 Return correct gboolean from query function.
6645 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6647 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6648 (gst_base_sink_event), (gst_base_sink_query),
6649 (gst_base_sink_change_state):
6650 Simplify latency query.
6651 When not synchronizing, we can report latency without querying the peer
6654 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6658 Fix small typos in the docs.
6660 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6662 * docs/design/draft-latency.txt:
6663 * docs/design/draft-push-pull.txt:
6664 * docs/design/draft-tagreading.txt:
6665 * docs/design/part-MT-refcounting.txt:
6666 * docs/design/part-activation.txt:
6667 * docs/design/part-block.txt:
6668 * docs/design/part-element-source.txt:
6669 * docs/design/part-events.txt:
6670 * docs/design/part-gstbin.txt:
6671 * docs/design/part-gstelement.txt:
6672 * docs/design/part-gstobject.txt:
6673 * docs/design/part-gstpipeline.txt:
6674 * docs/design/part-messages.txt:
6675 * docs/design/part-preroll.txt:
6676 * docs/design/part-push-pull.txt:
6677 * docs/design/part-qos.txt:
6678 * docs/design/part-query.txt:
6679 * docs/design/part-scheduling.txt:
6680 * docs/design/part-seeking.txt:
6681 * docs/design/part-segments.txt:
6682 * docs/design/part-states.txt:
6683 Documentation updates and typo fixes.
6685 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6687 * plugins/elements/gstfakesink.c:
6688 Add some debug text to error message to indicate that
6689 we errored out on request.
6691 * tools/gst-launch.c:
6692 When the state change to PLAYING fails, check for an
6693 error message on the bus and print it.
6695 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6697 translated by: Jorge González González <aloriel@gmail.com>
6701 Added Spanish translation.
6703 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6705 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6706 Fix printf arguments.
6708 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6710 * tests/check/generic/states.c:
6711 Improved state change unit test.
6713 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6716 Move priv to the right place.
6718 * gst/gstsystemclock.c:
6719 Add FIXME: and improve log.
6721 * tests/check/Makefile.am:
6722 * tests/examples/manual/Makefile.am:
6723 Work with all types of registries.
6725 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6727 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6728 Don't unref the event after pushing it. Fixes #478401.
6730 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6733 * tests/examples/manual/.cvsignore:
6734 Ignore registries in any format.
6736 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6738 * gst/glib-compat-private.h:
6739 Add compatibility macro for g_intern_string() for
6740 GLib-2.8 (any reason we can't just bump the
6741 requirement to at least 2.10?)
6743 * gst/gstpadtemplate.h:
6744 * gst/gstelementfactory.c:
6745 * gst/gstregistryxml.c:
6746 * gst/gstregistrybinary.c:
6747 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6748 up the internal code accordingly. This shouldn't be a problem, since
6749 there is no reason external code could ever assume the string in such
6750 a structure is dynamically allocated unless it did that itself; the
6751 use of g_strdup() is private to element factories. The new code also
6752 saves some memory by putting pad template name strings into the GLib
6753 quark table instead of allocating them dynamically.
6754 Declaring this field constant fixes warnings with g++-4.2 when using
6755 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6757 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6759 * gst/gstelementfactory.c:
6760 Release static caps. Fixes #475723.
6762 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6766 Make some internal API take const gchar * instead of just
6767 gchar * to avoid compiler warnings with g++-4.2.2 when
6768 passing string constants (partially fixes #478092).
6770 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6772 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6773 A latency query fails when one of the sinks fail.
6775 * gst/gstelement.c: (gst_element_set_base_time):
6778 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6780 * gst/gstbin.c: (gst_bin_continue_func):
6781 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6782 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6783 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6785 Fix minor compilation warnings shown with Forte.
6787 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6789 * plugins/elements/gstqueue.c: (apply_buffer),
6790 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6791 Measure queue level based on the diff between head and tail timestamps
6792 even when pushing the first buffer.
6794 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6796 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6797 (gst_base_sink_event), (gst_base_sink_change_state):
6798 Sinks that don't preroll can always be queried for the latency.
6799 Don't post ASYNC start when we are not async.
6801 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6803 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6804 (gst_queue_handle_sink_event), (gst_queue_chain),
6805 (gst_queue_push_one), (gst_queue_handle_src_query),
6806 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6807 * plugins/elements/gstqueue.h:
6808 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6809 push more buffers but allow pushing of EOS and NEWSEGMENT.
6810 Add some more debug info here and there. Fixes #476514.
6812 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6814 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6815 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6816 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6817 (gst_base_sink_set_flushing), (gst_base_sink_query),
6818 (gst_base_sink_change_state):
6819 Latency query is allowed after we are prerolled. Introduce a new flag
6820 for this and stop abusing other variables.
6822 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6824 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6825 Push OOB events downstream when we get them in send_event. This allows
6826 the application to insert events in the pipeline.
6827 Add some more comments.
6829 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6831 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6832 (do_bin_latency), (gst_bin_change_state_func):
6833 * gst/gstpipeline.c: (gst_pipeline_change_state):
6834 Move latency query from GstPipeline to GstBin so that we can also
6835 use it when async-handling is enabled on bins.
6837 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6839 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6840 (gst_base_src_do_sync), (gst_base_src_change_state):
6842 Clean up the timestamping and syncing code for pseudo live sources.
6844 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6846 Patch by: Steve Fink <sphink gmail com>
6848 * docs/manual/appendix-checklist.xml:
6849 Mention less -R switch in the section about debug output (#474055).
6851 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6853 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6854 Queue can latency to the pipeline up to the configured max size in time.
6855 Report this fact in the latency query.
6857 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6859 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6861 * libs/gst/controller/gstinterpolation.c:
6862 * libs/gst/controller/gstlfocontrolsource.c:
6863 Use gst_guint64_to_gdouble() when converting from a uint64 or
6864 GstClockTime to double to fix the build on win32. Fixes #474371.
6866 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6868 * gst/gstbuffer.c: (gst_buffer_finalize):
6869 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6870 When finalizing a buffer the complete struct is filled with 0xff,
6871 thus making a use of the buffer after the final unref impossible.
6873 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6875 * tests/check/libs/controller.c: (GST_START_TEST):
6876 Use fail_unless_equals_int(a, b) instead of
6877 fail_unless_equals (a == b) to get better output on failures.
6879 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6881 * tests/check/gst/gsturi.c:
6882 Also check for the other file URI variant on win32.
6884 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6886 * gst/gsturi.c: (gst_uri_get_location):
6887 If there's no hostname, we want to return 'c:/foo/bar.txt'
6888 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6890 * tests/check/gst/gsturi.c:
6891 Unit test for the above and a few more things.
6893 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6895 * docs/design/part-live-source.txt:
6896 Add docs on how live sources should timestamp.
6898 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6899 Add some more debug info.
6900 For subclasses that are live and like to sync, add aditional startup
6901 latency to sync time and timestamps so that we timstamp according to the
6904 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6907 Also do a g_type_class_ref() for the subbuffer type in
6910 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6912 * docs/gst/gstreamer-sections.txt:
6913 * gst/gstpad.c: (gst_pad_peer_query):
6915 Add function to perform a query on the peer of a pad.
6916 API: gst_pad_peer_query()
6918 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6920 * tests/check/gst/gstsystemclock.c:
6921 Cleanup the test a little (use gst-logging and not g_message). Improve
6922 test to check if a wait reached the target.
6924 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6926 * docs/libs/gstreamer-libs-sections.txt:
6927 Add new API to docs and fix the build.
6929 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6931 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6932 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6933 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6934 (gst_base_src_get_property), (gst_base_src_do_sync):
6935 * libs/gst/base/gstbasesrc.h:
6936 Add property to make the basesrc timestamp buffers based on the current
6938 API: GstBaseSrc::do-timestamp
6939 API: gst_base_src_set_do_timestamp()
6940 API: gst_base_src_get_do_timestamp()
6942 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6944 * docs/random/release:
6945 Really make sure translations are up-to-date before
6946 a release (#465010).
6948 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6950 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6951 Always destroy the timer, also in error cases.
6953 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6955 * docs/manual/highlevel-xml.xml:
6956 Fix XML example code. Fixes #472714.
6958 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6960 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6961 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6962 (gst_base_sink_query):
6963 Protect eos and have_preroll with the OBJECT lock so we don't need to
6964 take the PREROLL lock when querying the latency. Fixes #473846.
6966 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6969 Give some log-messages a category.
6971 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6973 * gst/gststructure.c:
6974 (gst_structure_fixate_field_nearest_fraction):
6975 Fix fraction list fixation code. Take the fraction with the smallest
6976 difference with the target instead of the first one in the list.
6978 * tests/check/gst/gststructure.c: (GST_START_TEST),
6979 (gst_structure_suite):
6980 Added test to verify correct fraction list fixation behaviour.
6982 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6984 * win32/common/libgstreamer.def:
6985 Export gst_bus_add_signal_watch too.
6987 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6989 * docs/libs/gstreamer-libs-sections.txt:
6990 Add new methods to docs.
6992 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6993 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6994 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6995 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6996 * libs/gst/base/gstbasesink.h:
6997 Add ts-offset property to fine-tune the synchronisation.
6998 API: GstBaseSink::ts-offset property
6999 API: gst_base_sink_set_ts_offset()
7000 API: gst_base_sink_get_ts_offset()
7002 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7004 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7005 (gst_base_sink_init), (gst_base_sink_set_sync),
7006 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7007 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7008 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7009 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7010 (gst_base_sink_get_property), (gst_base_sink_change_state):
7011 * libs/gst/base/gstbasesink.h:
7012 Add async property to instruct the sink never to inform the parent about
7013 ASYNC state changes, update docs.
7014 Check argument with g_return_* for the public functions.
7015 API: GstBaseSink::async property
7016 API: gst_base_sink_set_async_enabled()
7017 API: gst_base_sink_is_async_enabled()
7019 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7021 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7024 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7025 (gst_base_src_default_query), (gst_base_src_wait),
7026 (gst_base_src_do_sync), (gst_base_src_change_state):
7027 Rearrange some code so that we can add support for measuring the
7030 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7032 * docs/random/ensonic/dynlink.txt:
7033 More thoughs on this.
7035 * plugins/elements/gstcapsfilter.c:
7036 Add bugzilla ticket number to FIXME comment.
7038 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7040 * docs/design/part-TODO.txt:
7041 * docs/design/part-block.txt:
7044 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7047 Revert patch which uses $(gst_headers) instead of $^ because it
7050 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7052 * tests/check/gst/gstbin.c: (GST_START_TEST):
7053 Fix leaks in the new unit test.
7055 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7058 Don't use GST_INFO before the debug system is actually initialised
7059 (shouldn't do any harm, but won't print anything either, so we can
7060 just as well remove it).
7063 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7064 compilers that don't support variadic macros (such as MSVC), should
7065 check for debug_level <= __gst_debug_min as well, since that's the
7066 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7067 inline helper functions. Should improve performance a bit, but also
7068 makes sure uses of GST_INFO et.al are ignored if the debugging
7069 system isn't initialised yet (instead of printing an assertion
7072 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7074 patch by: David Nečas <yeti@physics.muni.cz>
7077 Replace some non portable makefile constructs.
7079 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7081 * common/gtk-doc-plugins.mak:
7082 Grrrrr. Don't remove the types file on make clean.
7084 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7086 * tools/gst-launch.1.in:
7087 Add colorspace to example pipeline. Fixes #458274.
7089 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7091 * docs/random/release:
7092 The release manager should run 'make download-po' before making a
7093 release to make sure translations are up-to-date.
7099 Add some new translations.
7101 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7103 * tools/gst-launch.c: (event_loop), (main):
7104 Don´t try to do any state management when a live pipeline posts
7106 Also make the buffering string translatable.
7108 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7110 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7111 (bin_handle_async_start), (gst_bin_handle_message_func):
7113 When adding elements, insert messages into the bus of the newly added
7114 element and make sure the element is the source of the message. This
7115 allows the parent bin to intercept the message and do the
7116 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7117 messages to the app (which is not allowed).
7120 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7121 Fix testsuite so that is does not work around messages that should not
7122 have been posted in the first place.
7124 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7126 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7127 (update_degree), (gst_bin_sort_iterator_next):
7128 Fix annoying bug in the sorted iterator where a sink that is not really
7129 a sink (when it has downstream links) screwed up the iterator.
7131 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7132 Unit test to verify the fix.
7134 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7137 Add some more docs for the messages.
7139 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7140 (gst_base_sink_query):
7141 Add some more debugging.
7143 * tools/gst-launch.c: (event_loop):
7144 When interrupting, don't try to set pipeline to PAUSED twice.
7146 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7149 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7150 (bin_handle_async_start), (gst_bin_handle_message_func):
7151 Move ASYNC_START message posting to where it belongs, similar to
7153 Don't post ASYNC_START when we are in error.
7154 Post ASYNC_START when we added an async element to a bin.
7156 2007-08-14 Julien MOUTTE <julien@moutte.net>
7158 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7159 generation from vargs. Fixes #466595.
7161 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7163 * gst/gstbin.c: (gst_bin_element_set_state):
7164 Always change the state of a NO_PREROLL element even if it has ASYNC
7165 elements inside (in case of a bin).
7167 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7168 Unit test for this case.
7170 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7172 * libs/gst/check/gstbufferstraw.c:
7173 * libs/gst/check/gstcheck.h:
7174 * libs/gst/controller/gstcontroller.c:
7175 * libs/gst/controller/gstcontrolsource.h:
7176 * libs/gst/controller/gstlfocontrolsource.h:
7177 * plugins/elements/gstcapsfilter.h:
7178 * plugins/elements/gstfdsink.h:
7179 * plugins/elements/gstfdsrc.h:
7180 Add more missing docs.
7182 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7184 * gst/gststructure.c:
7185 Add Since tag to docs.
7187 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7189 * docs/gst/gstreamer-sections.txt:
7190 * gst/gststructure.c: (gst_structure_get_uint):
7191 * gst/gststructure.h:
7192 Add function to get uint from a structure.
7193 API: gst_structure_get_uint()
7195 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7197 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7198 (gst_caps_intersect):
7199 Fix proper check for simple caps.
7201 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7203 * docs/gst/Makefile.am:
7204 * docs/libs/Makefile.am:
7205 Remove cruft and do some cleanups.
7207 * docs/gst/gstreamer-docs.sgml:
7208 * docs/libs/gstreamer-libs-docs.sgml:
7209 Prepare for comming gtkdoc features (rebase against online docs).
7211 2007-08-10 Michael Smith <msmith@fluendo.com>
7213 * docs/gst/gstreamer-sections.txt:
7214 Add gst_registry_add_path to docs.
7216 2007-08-10 Michael Smith <msmith@fluendo.com>
7218 * gst/gstregistry.h:
7219 Add gst_registry_add_path, which was missing from this header.
7221 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7223 * libs/gst/controller/gstlfocontrolsource.c:
7226 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7228 * libs/gst/base/gstbasesink.c:
7229 Don't send an async_start message during downwards state change if
7230 target state is less than READY
7232 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7234 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7238 Added Hungarian translation.
7240 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7247 Updated translations.
7249 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7251 * libs/gst/controller/Makefile.am:
7252 Dist gstlfocontrolsourceprivate.h
7254 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7256 * docs/libs/gstreamer-libs.types:
7257 Don't register the enum type gst_lfo_waveform_get_type() in the
7258 .types file - only GObject derived types belong.
7260 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7262 Patch by: <arenevier at fdn dot fr>
7265 Remove comma from last element in enum to avoid compile errors when
7266 using -pendantic. Fixes #464366.
7268 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7270 * docs/design/part-TODO.txt:
7271 Add some more TODO items
7273 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7276 * gst/gstcaps.c: (gst_caps_intersect):
7277 Optimize trivial intersection case between identical caps pointers.
7279 * gst/gstelement.c: (gst_element_continue_state),
7280 (gst_element_set_state_func):
7282 Fix spelling and grammar mistakes.
7284 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7288 Update POTFILES. Fixes #461599.
7290 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7293 Fix confusing typo in debug output.
7295 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7297 reviewed by: Stefan Kost <ensonic@users.sf.net>
7299 * libs/gst/controller/Makefile.am:
7300 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7301 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7302 (gst_lfo_control_source_new),
7303 (gst_lfo_control_source_set_waveform),
7304 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7305 (gst_lfo_control_source_finalize),
7306 (gst_lfo_control_source_dispose),
7307 (gst_lfo_control_source_set_property),
7308 (gst_lfo_control_source_get_property),
7309 (gst_lfo_control_source_class_init):
7310 * libs/gst/controller/gstlfocontrolsource.h:
7311 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7312 API: Add GstLFOControlSource, a control source that gives values
7313 for specific timestamps based on several periodic waveforms.
7316 * tests/check/libs/controller.c: (GST_START_TEST),
7317 (gst_controller_suite):
7318 * docs/libs/gstreamer-libs-docs.sgml:
7319 * docs/libs/gstreamer-libs-sections.txt:
7320 * docs/libs/gstreamer-libs.types:
7321 Add documentation and unit tests for GstLFOControlSource.
7323 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7328 === release 0.10.14 ===
7330 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7333 releasing 0.10.14, "Breathing Vacuum"
7335 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7337 * gst/gstelement.c: (gst_element_class_set_details_simple):
7339 Make strings passed to gst_element_class_set_details_simple()
7340 constant, as they should be (#462752).
7342 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7344 * gst/gstbin.c: (gst_bin_change_state_func),
7345 (bin_handle_async_done), (gst_bin_handle_message_func):
7346 Don't forget about the fact that some element went ASYNC even after a
7347 resync. This makes us post the ASYNC_DONE message correctly.
7350 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7352 * gst/gstregistry.c: (gst_registry_add_feature):
7353 When replacing an existing feature in the registry, make sure to
7354 continue holding a reference until we've replaced the name string
7355 within our feature hash table. Make sure to use g_hash_table_replace
7356 instead of g_hash_table_insert to ensure the new name string is used
7357 as a key instead of the old one that we're about to free.
7360 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7362 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7363 (gst_plugin_feature_set_name):
7364 Revert patch from #459466 until after the release and we can work
7365 out exactly what the problem is (if any).
7367 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7369 * docs/gst/gstreamer-sections.txt:
7372 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7374 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7376 * docs/libs/Makefile.am:
7377 Include our build-prefix libs and includes before the generic ones to
7378 avoid linking against the installed libs when we want the build-tree
7381 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7383 Patch by: Steve Fink <sphink gmail com>
7385 * docs/pwg/building-testapp.xml:
7386 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7387 if people try to build or install the example from the plugin
7388 template against a GStreamer from package using the configure
7391 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7393 Patch by: Steve Fink <sphink gmail com>
7395 * tools/gst-inspect.1.in:
7396 Document --print-all and --print-plugin-auto-install-info command
7397 line options in man page.
7399 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7401 * docs/gst/gstreamer-sections.txt:
7402 Add docs for new api function.
7404 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7406 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7407 * gst/gstelementfactory.h:
7408 API: gst_element_factory_has_interface()
7409 Added method to check if an element factory implements a named
7412 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7415 * docs/gst/gstreamer.types.in:
7416 Another conditional doc check.
7419 * gst/gstparamspecs.h:
7420 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7425 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7427 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7428 (gst_registry_binary_load_feature),
7429 (gst_registry_binary_load_plugin),
7430 (gst_registry_binary_read_cache):
7431 Print error just once and with additional info.
7433 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7435 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7436 (helper_find_suggest), (helper_find_get_length),
7437 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7438 (gst_type_find_helper_for_buffer):
7439 Cleanup the typefindhelper code and add private doc comments.
7441 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7443 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7444 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7445 Fix capsfilter for cases where the caps set on capsfilter will provide
7446 additional information.
7449 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7451 * gst/gsttypefindfactory.c:
7452 Fix docs that recommened wrong function to use.
7454 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7456 * tools/gst-inspect.c: (print_plugin_features):
7457 Also give media-type for typefinders in element output.
7459 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7461 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7462 (gst_registry_remove_features_for_plugin_unlocked),
7463 (gst_registry_add_feature), (gst_registry_remove_feature),
7464 (gst_registry_lookup_feature_locked):
7465 * gst/gstregistry.h:
7466 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7469 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7471 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7472 (gst_plugin_feature_set_name):
7473 Avoid double memory usage for pluginfeature names. Fixes #459466.
7475 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7478 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7479 driving the pipeline may need to explicitly check for NOT_LINKED as
7480 well, since IS_FATAL doesn't cover that.
7482 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7484 * docs/pwg/advanced-types.xml:
7485 Fix typo and duplicate entry in video formats list.
7487 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7489 * libs/gst/controller/gstinterpolation.c:
7490 Also round to the nearest int when using cubic interpolation.
7492 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7494 * libs/gst/controller/gstinterpolation.c:
7495 When linearly interpolating integer types, round to the nearest int
7496 by adding 0.5. Don't do it for float/double types.
7497 Fixes the failing controller test on my machine, which is somehow
7498 rounding differently than on the buildbots.
7500 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7502 * tools/gst-plot-timeline.py:
7503 Better log parsing (categories can have -). Adjust text vs. lines, so
7504 that they span the same y-range.
7506 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7508 * docs/random/ensonic/audiobaseclasses.txt:
7509 * docs/random/ensonic/dynlink.txt:
7510 * docs/random/ensonic/profiling.txt:
7513 * docs/random/moving-plugins:
7514 Add note to use g_assert type macros.
7516 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7519 * libs/gst/check/Makefile.am:
7520 Add libm check as we use in for plugins.
7522 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7524 * gst/gstbin.c: (gst_bin_continue_func):
7525 Check that the state_cookie hasn't changed since the continue_func
7526 was scheduled. Avoids problems where the state changes back to
7527 something it shouldn't be because it was changed in the meantime.
7529 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7531 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7532 (gst_registry_binary_save_string),
7533 (gst_registry_binary_save_pad_template),
7534 (gst_registry_binary_save_feature),
7535 (gst_registry_binary_save_plugin),
7536 (gst_registry_binary_load_feature),
7537 (gst_registry_binary_load_plugin),
7538 (gst_registry_binary_read_cache):
7539 Fix memory leak. Be less verbose in the log.
7541 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7543 * tests/check/elements/.cvsignore:
7544 Add file to cvsignore as commanded.
7546 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7548 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7549 (mq_dummypad_event), (run_output_order_test):
7550 Use a GStaticMutex to protect all cases where libcheck
7551 fail_if/fail_unless macros might be called from multiple threads
7552 simultaneously to avoid errors like:
7553 "check_pack.c:107: :-1081725400:Bad message type arg"
7555 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7557 * tests/check/pipelines/stress.c: (GST_START_TEST):
7558 Make sure we set the pipeline back to the NULL state before
7559 dropping our final reference.
7561 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7563 * tests/check/elements/tee.c: (GST_START_TEST):
7564 Make the tee stress-test a little less stressful so it doesn't just
7565 time out on slow-machines, and remove a small race when it's starting
7566 up by adding a get_state() call.
7568 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7571 Avoid reading registry twice on startup. Fixes #457322.
7573 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7575 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7576 * pkgconfig/gstreamer-check.pc.in:
7577 Substitute the CFLAGS for libcheck into our .pc file too so that
7578 dependent modules will pick it up properly if libcheck is installed
7579 into some other prefix.
7581 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7584 Revert the pkg-config check for libcheck, since it pulls in the
7585 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7586 a proper solution, either from the check project, or something else.
7588 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7591 Use pkg-config to locate check.
7593 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7600 Add deprecation guards.
7602 * libs/gst/base/gstcollectpads.h:
7603 Don't document object (this is implicitly private).
7605 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7607 * gst/gststructure.c: (gst_structure_parse_value):
7608 When deserialising foo=bar without a type cast, check if it's a
7609 boolean before falling back to a string type, otherwise things like
7610 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7611 because the filtercaps end up having a signed=(string)true field,
7612 which causes problems later when intersection caps.
7614 * tests/check/gst/gststructure.c: (GST_START_TEST):
7615 Add a unit test for this.
7617 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7619 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7621 * libs/gst/controller/Makefile.am:
7622 * libs/gst/controller/gstcontroller.c:
7623 (gst_controlled_property_add_interpolation_control_source),
7624 (gst_controlled_property_new), (gst_controlled_property_free),
7625 (gst_controller_find_controlled_property),
7626 (gst_controller_new_valist), (gst_controller_new_list),
7627 (gst_controller_new), (gst_controller_remove_properties_valist),
7628 (gst_controller_remove_properties_list),
7629 (gst_controller_remove_properties),
7630 (gst_controller_set_property_disabled),
7631 (gst_controller_set_disabled), (gst_controller_set_control_source),
7632 (gst_controller_get_control_source), (gst_controller_get),
7633 (gst_controller_sync_values), (gst_controller_get_value_array),
7634 (_gst_controller_dispose), (gst_controller_get_type),
7635 (gst_controlled_property_set_interpolation_mode),
7636 (gst_controller_set), (gst_controller_set_from_list),
7637 (gst_controller_unset), (gst_controller_unset_all),
7638 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7639 * libs/gst/controller/gstcontroller.h:
7640 * libs/gst/controller/gstcontrollerprivate.h:
7641 * libs/gst/controller/gstcontrolsource.c:
7642 (gst_control_source_class_init), (gst_control_source_init),
7643 (gst_control_source_get_value),
7644 (gst_control_source_get_value_array), (gst_control_source_bind):
7645 * libs/gst/controller/gstcontrolsource.h:
7646 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7647 (gst_object_get_control_source):
7648 * libs/gst/controller/gstinterpolation.c:
7649 (gst_interpolation_control_source_find_control_point_node),
7650 (gst_interpolation_control_source_get_first_value),
7651 (_interpolate_none_get), (interpolate_none_get),
7652 (interpolate_none_get_boolean_value_array),
7653 (interpolate_none_get_enum_value_array),
7654 (interpolate_none_get_string_value_array),
7655 (_interpolate_trigger_get), (interpolate_trigger_get),
7656 (interpolate_trigger_get_boolean_value_array),
7657 (interpolate_trigger_get_enum_value_array),
7658 (interpolate_trigger_get_string_value_array):
7659 * libs/gst/controller/gstinterpolationcontrolsource.c:
7660 (gst_control_point_free), (gst_interpolation_control_source_reset),
7661 (gst_interpolation_control_source_new),
7662 (gst_interpolation_control_source_set_interpolation_mode),
7663 (gst_interpolation_control_source_bind),
7664 (gst_control_point_compare), (gst_control_point_find),
7665 (gst_interpolation_control_source_set_internal),
7666 (gst_interpolation_control_source_set),
7667 (gst_interpolation_control_source_set_from_list),
7668 (gst_interpolation_control_source_unset),
7669 (gst_interpolation_control_source_unset_all),
7670 (gst_interpolation_control_source_get_all),
7671 (gst_interpolation_control_source_get_count),
7672 (gst_interpolation_control_source_init),
7673 (gst_interpolation_control_source_finalize),
7674 (gst_interpolation_control_source_dispose),
7675 (gst_interpolation_control_source_class_init):
7676 * libs/gst/controller/gstinterpolationcontrolsource.h:
7677 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7678 API: Refactor GstController into the core controller which can take
7679 a GstControlSource for providing actual values for timestamps.
7680 Implement a interpolation control source and use this for backward
7681 compatibility, deprecate a bunch of functions that are now handled
7682 by GstControlSource or GstInterpolationControlSource.
7683 Make it possible to disable the controller completely or only for
7684 specific properties. Fixes #450711.
7685 * docs/libs/gstreamer-libs-docs.sgml:
7686 * docs/libs/gstreamer-libs-sections.txt:
7687 * docs/libs/gstreamer-libs.types:
7688 Add new functions and classes to the docs.
7689 * tests/check/libs/controller.c: (GST_START_TEST),
7690 (gst_controller_suite):
7691 * tests/examples/controller/audio-example.c: (main):
7692 Port unit test and example to the new API and add some new
7695 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7697 Patch by: Mark Nauwelaerts <manauw at skynet be>
7699 * plugins/elements/gstmultiqueue.c:
7700 (gst_multi_queue_get_internal_links), (apply_buffer),
7701 (single_queue_overrun_cb), (gst_single_queue_new):
7702 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7703 the pipeline layout can be tracked correctly. Fixes #453732.
7705 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7707 * docs/gst/Makefile.am:
7708 * docs/libs/Makefile.am:
7709 * docs/plugins/Makefile.am:
7710 Simplify --extra-dir as gtkdoc scans recursively.
7712 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7714 * tools/gst-launch.c: (main):
7715 When we got an error, there is no point in waiting for preroll when
7718 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7720 * plugins/elements/gsttee.c: (gst_tee_base_init),
7721 (gst_tee_request_new_pad), (gst_tee_release_pad),
7722 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7723 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7725 Be a lot smarter when deciding what srcpad to use for proxying
7726 the buffer_alloc. Also handle pad added/removed when doing so.
7728 Keep track of what pads we already pushed on in case we have pads
7729 added/removed while pushing. Fixes #374639
7731 * tests/check/Makefile.am:
7732 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7734 Added unit test for pad resync.
7736 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7740 Updated translations.
7742 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7744 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7748 Added new Finnish translation.
7750 2007-06-28 Wim Taymans <wim@fluendo.com>
7752 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7753 (single_queue_overrun_cb):
7754 When figuring out when a queue is filled, use our internal time estimate
7755 based on segments, just like check_full does.
7757 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7759 * gst/gstminiobject.c: (gst_mini_object_get_type):
7760 Remove 3 do-nothing methods.
7762 2007-06-27 Wim Taymans <wim@fluendo.com>
7764 Patch by: Tim Angus <tim at ngus dot net>
7766 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7767 (gst_capsfilter_set_property):
7768 Take a reference instead of a copy when setting "caps".
7769 Fix documentation to clarify this behaviour. Fixes #449414.
7771 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7773 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7774 * gst/gstplugin.c: (gst_plugin_init):
7775 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7776 * gst/gstquery.c: (gst_query_get_type):
7777 * gst/gstregistry.c: (gst_registry_init):
7778 * gst/gsturi.c: (gst_uri_handler_base_init):
7779 Remove empty instance_init() functions to save relocs and lessen the
7780 noise. Remove some of the function prototypes that are doubled by
7783 2007-06-27 Wim Taymans <wim@fluendo.com>
7785 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7787 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7788 Add peer and direction in the XML serialisation of ghostpads.
7791 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7794 Preserve useful information, thanks Tim.
7796 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7798 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7799 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7800 (gst_single_queue_push_one), (gst_multi_queue_loop),
7801 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7802 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7803 (compute_high_id), (gst_single_queue_new):
7804 * plugins/elements/gstmultiqueue.h:
7805 Take the multiqueue lock when updating the fill level so we don't get
7808 After applying a buffer or event on the src pad segment, make sure to
7809 call gst_data_queue_limits_changed() to get the data queue to unblock
7810 and check the filled state again.
7812 Rework the not-linked pad handling so the logic is that not-linked
7813 pads can push as fast as they like, but only so they never get
7814 ahead of any linked pads.
7816 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7817 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7818 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7820 Add a test to check that not-linked pads always stay behind
7825 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7827 * docs/random/release:
7828 Some updates to the release procedure.
7830 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7832 * gst/gstelementfactory.c: (__gst_element_details_clear):
7833 Microoptimization that saves stunning 80 bytes.
7835 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7837 * docs/plugins/gstreamer-plugins.args:
7838 * docs/plugins/inspect/plugin-coreelements.xml:
7839 * docs/plugins/inspect/plugin-coreindexers.xml:
7840 Update docs with caps info.
7842 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7845 Updated Italian translation.
7847 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7851 Update Vietnamese translations.
7853 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7855 * libs/gst/base/gstbasesink.c:
7856 Remove unused signal enum.
7858 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7860 * docs/gst/gstreamer-sections.txt:
7862 * gst/gstutils.c: (gst_type_register_static_full):
7863 Beef up and include the docs for gst_type_register_static_full and
7864 gst_element_class_set_details_simple and add the API keyword
7867 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7869 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7870 (update_time_level), (gst_single_queue_push_one),
7871 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7872 (single_queue_overrun_cb), (single_queue_underrun_cb),
7873 (single_queue_check_full):
7874 Fix setting max-* properties after adding queues.
7875 Use IS_FILLED for checking visible items.
7876 Signal overrun if multiple queues overrun.
7877 Add extra debug output.
7878 Patch by: Wim Taymans <wim@fluendo.com>
7880 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7882 * gst/gstelement.c: (gst_element_class_set_details_simple):
7884 * gst/gstutils.c: (gst_type_register_static_full):
7886 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7887 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7888 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7889 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7890 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7891 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7892 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7893 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7894 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7895 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7896 (apply_buffer), (gst_queue_chain):
7897 * plugins/elements/gsttee.c: (gst_tee_base_init):
7898 * plugins/elements/gsttypefindelement.c:
7899 (gst_type_find_element_base_init),
7900 (gst_type_find_element_class_init):
7901 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7902 API: add gst_type_register_static_full
7903 API: add gst_element_class_set_details_simple
7905 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7907 * docs/pwg/advanced-types.xml:
7908 Fix typo in iana.org URI.
7910 2007-06-19 Andy Wingo <wingo@pobox.com>
7912 * tests/check/pipelines/simple-launch-lines.c
7913 (test_state_change_returns): Enable pull-mode tests now that
7914 basesink has been fixed.
7916 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7917 Changed from gst_base_sink_is_prerolled, reversing the sense of
7918 the return value. Returns FALSE also if the sink is in pull mode,
7919 in which case it needs no preroll.
7920 (gst_base_sink_query, gst_base_sink_change_state): Update for
7921 needs_preroll change.
7922 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7923 chaining up, in which we return SUCCESS directly if we activated
7924 in pull mode instead of ASYNC. Involves countering an async_start
7925 message sent before chaining up; not sure if this is correct, in
7926 an ideal world we only send async-start when activating in push
7929 * tests/check/pipelines/simple-launch-lines.c
7930 (test_state_change_returns): New test, partially disabled until
7933 2007-06-19 Wim Taymans <wim@fluendo.com>
7935 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7936 (gst_multi_queue_sink_event):
7939 2007-06-19 Wim Taymans <wim@fluendo.com>
7941 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7942 (gst_bin_change_state_func), (bin_push_state_continue),
7943 (bin_handle_async_start), (bin_handle_async_done),
7944 (gst_bin_handle_message_func):
7945 Move the common code for posting state-change messages into
7947 Broadcast the state signal after we posted the messages.
7948 Mark the bin as busy when it's doing a state-change.
7949 Make sure async-start/done messages don't interfere with the bin's
7950 state when it's busy.
7951 After the state change, let the bin check which elements completed the
7952 state change while it was busy so that it can update its state.
7954 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7956 * docs/random/release:
7957 Add a note about updating the doap file to the release checklist
7959 2007-06-18 Wim Taymans <wim@fluendo.com>
7961 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7962 (gst_single_queue_push_one), (gst_multi_queue_chain),
7963 (gst_multi_queue_sink_event):
7964 Make sure we don't reference the buffer/event after we have given away
7965 ownership in the queue.
7967 2007-06-18 Wim Taymans <wim@fluendo.com>
7969 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7970 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7971 Update queue state _after_ adding the item in the queue because else we
7972 could end up being full without the element added yet.
7974 2007-06-18 Wim Taymans <wim@fluendo.com>
7976 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7977 (gst_bin_remove_func), (gst_bin_get_state_func),
7978 (gst_bin_element_set_state), (gst_bin_continue_func),
7979 (bin_push_state_continue), (bin_handle_async_start),
7980 (bin_handle_async_done), (gst_bin_handle_message_func):
7982 Immediatly commit the toplevel bin state when receiving an async-done
7983 message. This enables us to avoid spawning a thread to commit the state
7984 in some common cases and it also avoids some races.
7985 Avoid spawning a state thread when adding/removing async elements to a
7986 toplevel bin. Instead we immediatly update the bin state.
7987 Get rid of iterating all the children when getting the state in the bin
7988 because it is now always up-to-date.
7989 Fix bug where locked elements would always return _SUCCESS even it they
7990 returned NO_PREROLL before being locked.
7991 Fix the order of the state_change, async-start/done messages that was
7992 sometimes incorrect.
7993 Mark the state_dirty field as deprecated, we don't need it anymore as we
7994 are always up-to-date.
7996 * gst/gstelement.c: (gst_element_get_state_func),
7997 (gst_element_continue_state):
7998 Small debug inprovements.
7999 Return the previous element state return when nothing is pending instead
8000 of blindly returning SUCCESS.
8002 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8004 Add a whole bunch of new testcases.
8006 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8010 Update translations.
8012 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8015 Fix typo in the docs.
8017 2007-06-15 Wim Taymans <wim@fluendo.com>
8019 * docs/libs/gstreamer-libs-sections.txt:
8020 Add docs for new methods.
8022 2007-06-15 Wim Taymans <wim@fluendo.com>
8024 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8025 (gst_multi_queue_item_new):
8026 Don't use GSlice because we don't depend on >= 2.10 yet.
8028 2007-06-15 Wim Taymans <wim@fluendo.com>
8030 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8031 (update_time_level), (apply_segment), (apply_buffer),
8032 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8033 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8034 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8035 (single_queue_underrun_cb), (single_queue_check_full):
8036 Remove debug printf.
8038 2007-06-15 Wim Taymans <wim@fluendo.com>
8040 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8041 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8042 (gst_data_queue_set_flushing), (gst_data_queue_push),
8043 (gst_data_queue_pop), (gst_data_queue_drop_head),
8044 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8045 * libs/gst/base/gstdataqueue.h:
8047 Added methods to get the current levels and to inform the queue that the
8048 'full' limits changed.
8050 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8051 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8052 (gst_single_queue_flush), (update_time_level), (apply_segment),
8053 (apply_buffer), (gst_single_queue_push_one),
8054 (gst_multi_queue_item_steal_object),
8055 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8056 (gst_multi_queue_loop), (gst_multi_queue_chain),
8057 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8058 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8059 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8060 (single_queue_underrun_cb), (single_queue_check_full),
8061 (gst_single_queue_new):
8062 Keep track of time in the queue by measuring the difference between
8063 running_time on input and output. This gives more accurate results and
8064 can compensate for segments correctly.
8065 Make a queue by default only 5 buffers deep. We will now increase the
8066 buffer size depending on the filledness of the other queues.
8067 Factor out commong flush code.
8068 Make sure we don't add additional refcounts to buffers when we can avoid
8070 Propagate GstFlowReturn differently.
8071 Use GSlice for intermediate GstMultiQueueItems.
8073 Resize queues on over and underruns based on filled level of other
8075 When checking if the queue is filled, prefer to measure in time if we
8076 can and fall back to bytes when no time is known.
8078 * plugins/elements/gstqueue.c:
8081 2007-06-15 Wim Taymans <wim@fluendo.com>
8083 * libs/gst/base/gstbasetransform.c:
8084 (gst_base_transform_sink_event):
8085 Work around the brokenness of the event vmethod in basetransform. Prefer
8086 to return TRUE when the subclass returned FALSE (meaning don't forward
8089 * libs/gst/base/gstbasetransform.h:
8092 2007-06-15 Wim Taymans <wim@fluendo.com>
8094 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8095 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8096 (gst_base_src_default_query), (gst_base_src_get_range),
8097 (gst_base_src_start):
8098 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8101 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8103 * docs/pwg/advanced-types.xml:
8104 Added more formats to caps table.
8106 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8108 * tools/gst-launch.c: (main):
8109 Remove crufy code. GOption does not need this workaround.
8111 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8113 * libs/gst/controller/gstcontroller.c:
8114 (gst_controlled_property_set_interpolation_mode):
8115 Fix wrong getter for enums in controller.
8117 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8119 * libs/gst/check/gstcheck.c: (gst_check_init):
8120 Intercept criticals and warnings in the Gst-Phonon log domain, so
8121 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8124 2007-06-14 Edward Hervey <edward@fluendo.com>
8126 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8127 Since this file doesn't include "gst.h" it will not go through the
8128 macros that disable GST_LOG if debugging was disabled.
8130 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8132 * libs/gst/check/Makefile.am:
8133 * libs/gst/check/gstcheck.h:
8134 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8135 * pkgconfig/gstreamer-check.pc.in:
8136 Ugly 'fix' for the controller unit test on the p5 bot: in
8137 fail_unless_equals_float() check whether the values are 'almost
8138 equal' by allowing a small absolute error, which should be good
8139 enough for our use cases (normal numbers and values close to 0).
8140 Proper fixage left to floating point arithmetic aficionados.
8142 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8144 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8145 (gst_base_sink_render_object), (gst_base_sink_get_position):
8146 Add two breaks thats where missing.
8148 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8150 * docs/libs/gstreamer-libs-sections.txt:
8151 * libs/gst/check/gstcheck.h:
8152 API: add fail_unless_equals_float() and assert_equals_float().
8153 Add documentation for some of the macros.
8155 * tests/check/libs/controller.c: (GST_START_TEST):
8156 Use newly-added asserts.
8158 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8160 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8161 Show the caps change in the log to help spotting the case of not
8162 exactly matching caps.
8164 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8166 * docs/pwg/building-boiler.xml:
8167 Fix typos, spotted by Thijs Vermeir (#447190).
8169 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8171 * docs/plugins/tmpl/.cvsignore:
8172 Ignore file to keep the buildbots happy
8174 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8176 * docs/plugins/Makefile.am:
8177 * docs/plugins/gstreamer-plugins-docs.sgml:
8178 * docs/plugins/gstreamer-plugins-sections.txt:
8179 Pull fdsink into the docs too.
8181 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8183 * libs/gst/controller/gstinterpolation.c:
8184 Actually use the new functions with min/max checks for the trigger and
8185 none interpolation modes for get() and get_value_array() instead of
8188 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8190 * libs/gst/controller/gstcontroller.c:
8191 (gst_controlled_property_free):
8192 Unset the minimum and maximum GValues when freeing the corresponding
8193 GstControllerProperty struct.
8195 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8197 * libs/gst/controller/gstcontroller.c:
8198 (gst_controlled_property_new):
8199 * libs/gst/controller/gstcontrollerprivate.h:
8200 * libs/gst/controller/gstinterpolation.c:
8201 (gst_controlled_property_find_control_point_node),
8202 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8203 (interpolate_none_get_string_value_array),
8204 (interpolate_trigger_get),
8205 (interpolate_trigger_get_enum_value_array),
8206 (interpolate_trigger_get_string_value_array):
8207 Protect against values larger or smaller than the minimum or maximum
8208 allowed value for the property when using values that can be compared.
8210 Optimize trigger interpolator a bit by taking the last requested value
8211 into account instead of always looping through the complete list.
8213 Fix coding style a bit, everywhere else we use "return foo" instead
8216 * tests/check/libs/controller.c: (GST_START_TEST),
8217 (gst_controller_suite):
8218 Add unit test for the protection against too large or too small
8221 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8223 * docs/random/slomo/controller.txt:
8224 Add some thoughts about the future of the controller.
8226 2007-06-08 Wim Taymans <wim@fluendo.com>
8228 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8229 Don't overflow in retimestamping code.
8231 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8233 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8234 Use gst_util_guint64_to_gdouble for conversions.
8235 * win32/common/libgstreamer.def:
8236 Add new exported functions.
8238 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8241 Small docs addition.
8243 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8246 Remove that test line again.
8248 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8251 Test commit mail sending.
8253 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8256 Fix typo and test commit mail sending.
8258 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8260 * tests/examples/controller/audio-example.c:
8261 Improve comment and test commit mail sending.
8263 2007-06-07 Wim Taymans <wim@fluendo.com>
8265 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8266 (gst_bin_remove_func), (gst_bin_element_set_state),
8267 (bin_handle_async_start), (bin_handle_async_done),
8268 (gst_bin_handle_message_func):
8269 Add helper function to find messages.
8270 Generate the async-done messages together with the state change
8272 Small cleanups in handling toplevel bins.
8274 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8276 * libs/gst/base/gstdataqueue.c:
8277 * libs/gst/base/gstdataqueue.h:
8278 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8279 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8280 (gst_multi_queue_sink_event):
8281 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8282 Fix multiqueue leaking buffers and events when downstream or the
8283 queue are flushing. Make refcounting assumptions explicit and
8284 document them (shouldn't break existing code that uses it other than
8285 maybe leak miniobjects, but that already happens anyway). Add unit
8286 test for the most common flushing case. Fixes #423700.
8288 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8290 * libs/gst/controller/gstcontroller.c:
8291 Clarify docs: The get_all, get_value_array(s) functions
8292 don't modify the GObject properties.
8294 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8296 * libs/gst/controller/gstcontroller.c:
8297 (gst_controlled_property_set_interpolation_mode),
8298 (gst_controlled_property_prepend_default),
8299 (gst_controlled_property_new), (gst_controller_set_unlocked),
8300 (gst_controller_set), (gst_controller_set_from_list),
8301 (gst_controller_unset), (gst_controller_unset_all):
8302 * libs/gst/controller/gstcontrollerprivate.h:
8303 * libs/gst/controller/gstinterpolation.c:
8304 Factor out the 'set' logic into gst_controller_set_unlocked for the
8305 gst_controller_set and gst_controller_set_from_list functions.
8307 To make life of the interpolators easier always add a control point
8308 at timestamp zero with the default value.
8310 In the linear interpolator make things more obvious by better variable
8313 Implement cubic interpolation mode (by using a natural cubic spline)
8314 and map the quadratic interpolation mode to this too (as quadratic
8315 doesn't make much sense, see discussion on the list).
8317 * tests/check/libs/controller.c: (GST_START_TEST),
8318 (gst_controller_suite):
8319 Add unit test for the cubic interpolation mode and check everywhere
8320 if the interpolation mode could be set as expected.
8322 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8324 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8325 Don't use GLib-2.10 functions, we still depend on
8326 GLib-how-old-is-it-again-2.8.
8328 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8330 * docs/gst/gstreamer-sections.txt:
8334 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8335 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8336 (_gst_param_fraction_values_cmp),
8337 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8338 * gst/gstparamspecs.h:
8340 * tests/check/Makefile.am:
8341 * tests/check/gst/.cvsignore:
8342 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8343 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8344 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8345 (GST_START_TEST), (gst_param_spec_suite):
8346 API: add GstParamSpecFraction, so elements can have fraction
8347 properties without lots of painful string parsing (#444648).
8349 2007-06-05 Wim Taymans <wim@fluendo.com>
8351 * gst/gstobject.c: (gst_object_class_init):
8352 Fix signal signature.
8355 Add small clarification in the api docs.
8357 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8358 States are protected with object lock.
8360 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8363 I should probably be listed as an author by now.
8365 * docs/random/release:
8366 Update the release doc
8368 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8371 Make docs for gst_value_compare() mention return enums that
8374 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8379 === release 0.10.13 ===
8381 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8384 releasing 0.10.13, "With or without you"
8386 2007-05-25 Wim Taymans <wim@fluendo.com>
8388 * gst/gstbin.c: (bin_handle_async_done):
8389 Make sure that the child bin stops after completing the async state
8390 change so that the parent can continue the state change to PLAYING.
8393 2007-05-25 Wim Taymans <wim@fluendo.com>
8395 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8396 (unref_data), (gst_collect_pads_remove_pad),
8397 (gst_collect_pads_check_pads):
8398 Use additional refcounting to avoid crashes when dynamically adding and
8399 removing pads. Fixes #420206.
8401 2007-05-24 Wim Taymans <wim@fluendo.com>
8403 * tools/gst-launch.c: (event_loop):
8404 When buffering goes from a two digit to a single digit number, make sure
8405 to remove the old second digit by writing a blank over it.
8407 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8409 * libs/gst/base/gstdataqueue.c:
8410 Eliminate tabs and trailing comma in enum list; fix some typos.
8412 2007-05-24 Wim Taymans <wim@fluendo.com>
8414 * tests/check/gst/gstbin.c: (GST_START_TEST):
8415 Allow refcount of 3 and 4 because some state thread might still be busy
8418 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8420 * plugins/elements/Makefile.am:
8421 * plugins/elements/gstmultiqueue.h:
8422 * plugins/elements/gstqueue.h:
8423 These are not installed headers, no need for padding.
8425 2007-05-24 Wim Taymans <wim@fluendo.com>
8427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8428 (gst_bin_continue_func):
8429 Enable latency for next release.
8430 Restore STATE_LOCK around recalc_state that was left out during the
8431 rewrite and could result in racy behaviour when _get_state and
8432 recalc_state are run concurrently. See #440463.
8434 2007-05-23 Wim Taymans <wim@fluendo.com>
8436 * tests/check/gst/gstsystemclock.c: (store_callback),
8438 Improve test_async_order to also work when both timers are already
8439 expired when we get scheduled to check it.
8441 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8443 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8444 (gst_bin_set_property), (gst_bin_get_property),
8445 (gst_bin_remove_func), (gst_bin_handle_message_func):
8447 'private' is a c++ keyword, let's not use that in header files,
8448 otherwise c++ compilers will throw a tantrum.
8450 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8452 * plugins/elements/gstelements.c:
8453 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8454 (gst_file_sink_get_current_offset):
8455 * plugins/indexers/gstindexers.c: (plugin_init):
8456 Use #ifdef for HAVE_XYZ for consistency.
8458 * tests/check/Makefile.am:
8459 * tests/check/elements/.cvsignore:
8460 * tests/check/elements/filesink.c: (setup_filesink),
8461 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8462 Add some unit tests for filesink.
8464 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8466 Patch by: Mark Nauwelaerts <manauw at skynet be>
8468 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8469 (gst_file_sink_query), (gst_file_sink_do_seek),
8470 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8471 * plugins/elements/gstfilesink.h:
8472 Fix position reporting; rename data_written member to current_pos to
8473 reflect its real meaning (fixes #412648).
8475 2007-05-22 Edward Hervey <edward@fluendo.com>
8477 * docs/gst/gstreamer-sections.txt:
8478 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8479 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8480 (gst_bin_remove_func), (gst_bin_handle_message_func):
8482 Add a property for bins that handle the state change of their childs.
8485 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8487 * libs/gst/controller/gstinterpolation.c:
8488 Use an array of the correct type when using _get_value_array with
8489 linear interpolation.
8491 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8493 * gst/gstelement.c (gst_element_requires_clock,
8494 gst_element_provides_clock, gst_element_request_pad,
8495 gst_element_class_set_details, gst_element_class_set_details_simple,
8496 gst_element_default_send_event, gst_element_abort_state,
8497 gst_element_continue_state, gst_element_set_state,
8498 gst_element_set_state_func, iterator_activate_fold_with_resync):
8499 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8500 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8501 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8502 gst_pad_get_range, gst_pad_pull_range):
8503 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8504 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8505 GstPadActivateModeFunction, GstPadChainFunction,
8506 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8507 GstPadFixateCapsFunction, GstPadTemplate):
8508 * gst/gstpipeline.c (gst_pipeline_change_state,
8509 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8510 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8511 gst_pipeline_get_delay):
8512 Whitespace and docs fixes.
8514 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8516 * libs/gst/controller/gstinterpolation.c:
8517 (interpolate_trigger_get_enum_value_array),
8518 (interpolate_trigger_get_string_value_array):
8519 Add support for retrieving value arrays when using the trigger
8522 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8524 * libs/gst/controller/gstcontroller.c:
8525 (gst_controller_get_value_array):
8526 * libs/gst/controller/gstcontroller.h:
8527 Clarify the docs of gst_controller_get_value_array(): The array where
8528 the values should be written to must be allocated as there seems to be
8529 no way to get the size of a random GType. This doesn't change any
8530 behaviour. Also fix some typos all over the place and remove an unused,
8531 commented function that is not necessary as g_object_set() could be
8533 * tests/check/libs/controller.c: (GST_START_TEST),
8534 (gst_controller_suite):
8535 Add unit test for gst_controller_get_value_array().
8537 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8539 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8541 Disable part of the gst_buffer_try_new_and_alloc test, because
8542 it can happily succeed on 64-bit systems where there's more address
8545 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8547 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8548 Add unit test for the improved caps checking from bug #421543.
8550 2007-05-21 Wim Taymans <wim@fluendo.com>
8552 * docs/design/part-synchronisation.txt:
8555 * gst/gstbin.c: (gst_bin_query):
8556 * plugins/elements/gstqueue.c: (apply_segment):
8562 2007-05-21 Wim Taymans <wim@fluendo.com>
8564 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8565 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8566 (gst_pad_configure_src):
8567 Added simple version of improved caps checking. It was previously
8568 assumed that a setcaps function would check the validity of the caps but
8569 people prefer us to check caps against the template automatically.
8572 2007-05-21 Wim Taymans <wim@fluendo.com>
8574 * libs/gst/base/gstbasetransform.h:
8575 Fix macro for locking/unlocking the transform lock.
8577 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8579 * docs/plugins/tmpl/.cvsignore:
8582 2007-05-18 Edward Hervey <edward@fluendo.com>
8584 * plugins/elements/gstqueue.c: (gst_queue_loop):
8585 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8586 for the subtle art of warning a potentially blocking thread that it
8587 should check the source pad return value, and relay the information
8590 2007-05-18 Edward Hervey <edward@fluendo.com>
8592 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8593 Release the queue lock !
8595 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8597 * docs/libs/gstreamer-libs-sections.txt:
8598 Add the two new controller functions to the appropiate places.
8600 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8602 reviewed by: Stefan Kost <ensonic@users.sf.net>
8604 * libs/gst/controller/gstcontroller.c:
8605 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8606 (_gst_controller_get_property), (_gst_controller_set_property),
8607 (_gst_controller_init), (_gst_controller_class_init):
8608 * libs/gst/controller/gstcontroller.h:
8609 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8610 (gst_object_get_control_rate), (gst_object_set_control_rate):
8611 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8612 Add API that provides sync suggestion timestamps for elements that
8613 call gst_object_sync_values() from which those elements can subdivide
8614 their processing loop to get the best results for the controlled
8615 properties. For now it just suggests last_sync + control_rate as
8616 new timestamp but this will be improved in the future.
8618 While doing that change the control-rate property to a GstClockTime
8619 from guint and change it's meaning from samples to nanoseconds as
8620 the GstController doesn't know anything about sampling rate. Strictly
8621 speaking this breaks ABI but as the control-rate property didn't do
8622 anything in the past and as such couldn't be used this should be no
8625 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8627 reviewed by: Stefan Kost <ensonic@users.sf.net>
8629 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8630 (gst_controller_unset_all):
8631 * libs/gst/controller/gstcontrollerprivate.h:
8632 * libs/gst/controller/gstinterpolation.c:
8633 (gst_controlled_property_find_control_point_node):
8634 Save last synced value from the list to continue searching from there
8635 in future syncs. This speeds everything up a bit.
8637 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8639 reviewed by: Stefan Kost <ensonic@users.sf.net>
8641 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8642 (gst_control_point_find), (gst_controlled_property_new),
8643 (gst_control_point_free), (gst_controlled_property_free),
8644 (gst_controller_set), (gst_controller_set_from_list),
8645 (gst_controller_unset), (gst_controller_unset_all),
8646 (gst_controller_sync_values):
8647 * libs/gst/controller/gstcontroller.h:
8648 * libs/gst/controller/gstcontrollerprivate.h:
8649 * libs/gst/controller/gstinterpolation.c:
8650 (gst_controlled_property_find_control_point_node),
8651 (interpolate_none_get), (interpolate_trigger_get):
8652 Add a new private GstControlPoint struct which "inherits" from
8653 GstTimedValue to allow different interpolators to store internal
8654 values next to each control point. From the outside everything is
8655 still a GstControlPoint so we don't loose binary compatibility.
8656 Also fixup all the GValue handling to not leak GValues or list nodes.
8657 * tests/check/libs/controller.c: (GST_START_TEST):
8658 Free the list nodes and GValues in the controller_misc test.
8660 2007-05-17 Edward Hervey <edward@fluendo.com>
8665 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8667 * gst/gstplugin.c: (gst_plugin_load_file):
8668 If we fail to load a plugin because of unresolved symbols or missing
8669 libraries and spew a warning to stderr, we may just as well mention
8670 which plugin it was that failed to load.
8672 2007-05-13 David Schleef <ds@schleef.org>
8674 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8675 handles the case when ENABLE_GTK_DOC is false, and installs
8676 the prebuilt documentation. So gtk-doc subdirs are
8677 unconditionally enabled. Fixes: #349099.
8679 2007-05-13 David Schleef <ds@schleef.org>
8681 * gst/gstutils.h: Reword some documentation.
8683 2007-05-12 David Schleef <ds@schleef.org>
8685 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8686 do anything with the passed "module" parameter, so remove it.
8687 Allows removal of additional vestigal code.
8689 2007-05-12 David Schleef <ds@schleef.org>
8692 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8693 Switch to using g_stat() because it's more portable.
8695 2007-05-12 David Schleef <ds@schleef.org>
8698 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8699 parsing for embedded systems.
8700 * gst/gstelementfactory.c:
8701 Allow gst_element_register() to be called with plugin==NULL.
8702 Did nobody notice that static elements were broken?
8704 2007-05-12 Wim Taymans <wim@fluendo.com>
8706 * tools/gst-launch.c: (event_loop):
8707 Give more interesting info when buffering starts and stops.
8708 Fix case where buffering starts but we fail to update the buffering flag
8709 because the target state is not PLAYING.
8711 2007-05-12 Wim Taymans <wim@fluendo.com>
8713 * plugins/elements/gstqueue.c: (gst_queue_init),
8714 (gst_queue_finalize), (update_time_level), (apply_segment),
8715 (apply_buffer), (gst_queue_locked_flush),
8716 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8717 (gst_queue_handle_sink_event), (gst_queue_chain),
8718 (gst_queue_push_one), (gst_queue_loop):
8719 * plugins/elements/gstqueue.h:
8720 Refactor an cleanup queue a bit.
8721 Do better time level calculations that also work when the srcpad is not
8723 Remove some unneeded debug lines.
8725 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8726 Added testcase for time level measurement.
8727 Try to make some stuff more racefree.
8729 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8731 * gst/gsturi.c: (gst_element_make_from_uri):
8732 Don't leak plugin feature.
8734 * tests/check/Makefile.am:
8735 * tests/check/gst/.cvsignore:
8736 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8737 Add brain-dead unit test.
8739 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8741 Patch by: Jeroen Wouters <woutersj at gmail com>
8743 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8744 Treat protocol strings in a case-insensitive way (#437563).
8746 2007-05-11 Michael Smith <msmith@fluendo.com>
8748 * gst/gstplugin.c: (gst_plugin_load_file):
8749 * gst/gstregistry.c: (gst_registry_scan_path_level):
8750 Don't print a g_warning for any failure to load a shared object.
8751 Instead, push this down into gstplugin.c, and warn _only_ if we
8752 failed to open the module (i.e. failure to link).
8753 Avoids warnings on normal, working, non-plugin .so files.
8755 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8757 * gst/gstplugin.c (gst_plugin_load_file):
8758 * gst/gstregistry.c (GST_CAT_DEFAULT,
8759 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8760 Print a g_warning if there was an error when loading a plugins during
8761 registry scan. The shuld help beginners starting with gst-plugin
8764 2007-05-10 Wim Taymans <wim@fluendo.com>
8766 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8767 (update_time_level), (gst_queue_locked_flush),
8768 (gst_queue_handle_sink_event), (gst_queue_chain),
8769 (gst_queue_push_one), (gst_queue_loop):
8770 * plugins/elements/gstqueue.h:
8771 Be smarter when calculating the current amount of data in the queue by
8772 measuring the difference between start and end timestamps (in running
8773 time) inside the queue. Fixes #432876.
8774 API: GstQueue::pushing to notify elements that we are pushing data again
8775 since the running signal is rather broken for this purpose.
8777 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8779 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8780 gst_queue_base_init, gst_queue_init):
8783 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8785 * win32/common/libgstreamer.def:
8786 Add new exported functions.
8787 * win32/vs6/grammar.dsp:
8788 Use grammar pre-generated files.
8790 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8792 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8795 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8797 * gst/gstutils.c: (gst_parse_bin_from_description):
8799 Maintain API and ABI when --disable-parse is used. Now that
8800 we have an appropriate error code, we can just return NULL and the
8801 appropriate error when gst_parse_launch() is used despite it having
8802 been disabled (#342564).
8804 * tests/check/Makefile.am:
8805 * tests/check/pipelines/.cvsignore:
8806 * tests/check/pipelines/parse-disabled.c:
8807 Make sure these functions exist and return NULL plus a GError when
8808 --disable-parse is used.
8810 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8812 * tests/benchmarks/complexity.c: (main):
8813 * tests/benchmarks/mass-elements.c: (main):
8814 Set a good example and don't leak messages.
8816 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8818 * docs/gst/Makefile.am:
8819 * docs/libs/Makefile.am:
8820 Correct fixxrefs options.
8822 * docs/plugins/Makefile.am:
8823 * docs/plugins/gstreamer-plugins-docs.sgml:
8824 * docs/plugins/gstreamer-plugins-sections.txt:
8825 * plugins/elements/Makefile.am:
8826 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8827 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8828 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8829 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8830 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8831 _GstCapsFilterClass, trans_class):
8832 * plugins/elements/gstelements.c (name, rank, type, _elements):
8833 * plugins/elements/gstidentity.c
8834 (gst_identity_check_imperfect_timestamp,
8835 gst_identity_check_imperfect_offset):
8836 Document capsfilter and add doc-blurb to identity.
8838 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8840 * libs/gst/controller/gstcontroller.c:
8841 (gst_controlled_property_set_interpolation_mode):
8842 * libs/gst/controller/gstinterpolation.c:
8843 Don't crash if someone tries to set an interpolation mode that
8844 is invalid or that isn't supported yet. Fixes #422295.
8846 * tests/check/libs/controller.c: (GST_START_TEST),
8847 (gst_controller_suite):
8848 Add a test case for the above.
8850 2007-05-03 Edward Hervey <edward@fluendo.com>
8852 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8853 Properly set the last_stop position on GstSegment. This will only happen
8854 if there is a buffer to push out.
8856 2007-05-03 Wim Taymans <wim@fluendo.com>
8858 * libs/gst/base/gstbasetransform.c:
8859 (gst_base_transform_buffer_alloc):
8860 always_in_place does not mean that the sink and source caps are the
8861 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8863 2007-05-03 Wim Taymans <wim@fluendo.com>
8865 * docs/libs/gstreamer-libs-sections.txt:
8866 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8867 (gst_base_src_default_query), (gst_base_src_get_range):
8868 * libs/gst/base/gstbasesrc.h:
8869 API: gst_base_src_query_latency(). Added method so that subclasses can
8870 easily get the latency values of the base source class.
8872 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8874 * tools/gst-inspect.c (print_implementation_info):
8877 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8879 * tools/Makefile.am:
8880 * tools/gst-launch.1.in:
8881 Don't create a customised man page based on the host architecture,
8882 describe the default registry path generically. That way the man
8883 page is the same for all architectures and packagers have one
8884 multilib issue less to deal with. Fixes #434926.
8886 2007-05-02 Wim Taymans <wim@fluendo.com>
8889 Fix documentation as spotted by rg on IRC.
8891 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8894 Improve docs for gst_element_{link,unlink}.
8896 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8898 * docs/design/part-events.txt:
8899 * docs/design/part-overview.txt:
8903 * libs/gst/base/gstbasesink.c:
8904 Typo fixes; minor docs addition.
8906 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8908 * docs/gst/gstreamer-sections.txt:
8909 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8910 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8912 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8913 or src that supports a given URI protocol exists.
8915 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8917 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8918 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8919 Set the location to NULL if "file://" is set as URI. Otherwise
8920 some random previous URI would still be set if "file://" is
8921 set on an already used filesink/filesrc.
8923 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8925 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8926 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8927 Special case the "file://" URI as as this is used by some
8928 applications to test with gst_element_make_from_uri if there's
8929 an element that supports the URI protocol.
8930 Also move the g_path_is_absolute() check for the location part
8931 of the URI to also check this for "file://localhost/bla" URIs.
8933 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8935 * docs/gst/gstreamer-sections.txt:
8936 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8938 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8940 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8942 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8944 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8945 (gst_registry_binary_load_pad_template),
8946 (gst_registry_binary_load_plugin),
8947 (gst_registry_binary_read_cache):
8948 * gst/gstregistrybinary.h:
8949 Implement no-mmap alternative for registry reading. Do code cleanups.
8950 Add more comments about avoiding strdups for all text data. Comments
8953 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8955 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8956 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8957 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8958 Comment structs and reformat to fix the build (that stuff should go
8959 into a priv. header).
8961 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8963 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8964 (gst_registry_binary_load_feature):
8965 * gst/gstregistrybinary.h:
8966 Refactor so that we can implement multiple features. Add support for
8967 TypeFindFactory features.
8969 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8971 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8974 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8976 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8978 * gst/gstbin.c: (gst_bin_element_set_state),
8979 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8980 (bin_handle_async_done), (gst_bin_handle_message_func):
8981 Fix build with --gst-disable-gst-debug
8983 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8985 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8986 Make sure streaming has finished before calling the ::stop() vfunc,
8987 since that vfunc might clear state which is being used in the
8988 streaming thread. This fixes a race that caused crashes in
8989 audioresample when shutting down a pipeline (#420106).
8991 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8993 * docs/gst/gstreamer-sections.txt:
8994 That was one byte missing.
8996 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8999 * docs/gst/gstreamer-sections.txt:
9001 * gst/gstconfig.h.in:
9002 * gst/gstobject.c: (gst_object_class_init),
9003 (gst_signal_object_class_init):
9005 2nd attempt to have a xml-less build as a joined effort of #413123
9008 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9010 * docs/design/draft-tagreading.txt:
9011 Added open issues/thoughts to draft.
9013 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9015 * gst/parse/grammar.tab.pre.c:
9016 * gst/parse/grammar.tab.pre.h:
9017 * gst/parse/lex._gst_parse_yy.pre.c:
9018 Update the prebuild parser sources.
9020 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9022 * gst/parse/Makefile.am:
9023 And now fix the building of the flex sources. Now everything should
9026 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9028 * gst/parse/Makefile.am:
9029 Now hopefully fix the build failures by setting proper rule
9030 dependencies and moving instead of copying.
9032 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9034 * tests/benchmarks/complexity.gnuplot:
9035 * tests/benchmarks/complexity.scm:
9036 * tests/benchmarks/mass-elements.gnuplot:
9037 * tests/benchmarks/mass-elements.scm:
9038 Total licensification.
9040 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9042 * gst/parse/Makefile.am:
9043 Fix the build by correcting the rule that gave wrong files to flex.
9045 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9047 * tests/benchmarks/complexity.c:
9048 * tests/benchmarks/mass-elements.c:
9049 Change licence to LGPL as granted by Benjamin and Andy.
9051 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9053 * gst/parse/Makefile.am:
9054 Add correct grammar.tab.h dependency if compiling without new enough
9055 flex. Fixes #431150.
9057 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9059 * gst/parse/Makefile.am:
9060 Fix typo and use outdated sources if the flex/bison sources are newer
9061 than the pregenerated ones but flex is too old. Print a warning in
9062 that case. This should fix the build on the build bot.
9064 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9066 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9067 * gst/parse/Makefile.am:
9068 * gst/parse/grammar.y:
9069 * gst/parse/parse.l:
9070 Make the parser reentrant and recursively callable. This requires flex
9071 >= 2.5.31, for older versions pregenerated sources are used as we
9072 can't bump the build dependency. Finally fixes #349180.
9074 * gst/gstparse.c: (gst_parse_launch):
9075 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9078 * docs/gst/Makefile.am:
9079 * docs/gst/Makefile.am:
9080 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9081 (__gst_parse_strfree), (__gst_parse_link_new),
9082 (__gst_parse_link_free), (__gst_parse_chain_new),
9083 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9084 (gst_parse_element_set), (gst_parse_free_link),
9085 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9086 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9087 (_gst_parse_launch):
9088 * gst/parse/grammar.tab.pre.h:
9089 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9090 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9091 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9092 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9093 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9094 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9095 (_gst_parse_yypop_buffer_state),
9096 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9097 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9098 (yy_fatal_error), (_gst_parse_yyget_extra),
9099 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9100 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9101 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9102 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9103 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9104 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9105 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9106 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9107 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9108 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9109 (_gst_parse_yyfree):
9110 If the installed flex version is too old use pre-generated parser
9111 sources. These pre-generated parser sources are always updated when
9112 the actual flex/bison sources change but require everybody who wants
9113 to change something in the parser to have flex >= 2.5.31 installed.
9115 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9117 * common/m4/gst-gettext.m4:
9118 * gst/gst-i18n-lib.h:
9119 Make --disable-nls to work
9121 2007-04-17 Wim Taymans <wim@fluendo.com>
9123 * gst/gstconfig.h.in:
9124 Revert previous change that broke the build.
9126 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9130 * gst/gstconfig.h.in:
9131 Drop libxml2 dependency when building with
9132 --enable-binary-registry --disable-loadsave
9134 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9136 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9137 (gst_registry_binary_read_cache):
9138 * gst/gstregistrybinary.h:
9139 Remove unnecessary <sys/mman.h> include which broke the win32 build
9140 with MingW; move includes from header file to .c file, even if the
9141 header file isn't installed; use g_strerror() where UTF-8 strings
9142 are expected, such as in GST_DEBUG messages.
9144 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9146 * docs/libs/gstreamer-libs-sections.txt:
9147 Remove bogus addition for API I didn't end up keeping.
9149 * libs/gst/base/gstbasesrc.h:
9150 Mention Since: 0.10.13 in the documentation.
9152 Add the API keyword to the previous ChangeLog entry.
9154 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9156 * docs/libs/gstreamer-libs-sections.txt:
9157 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9158 (gst_base_src_default_prepare_seek_segment),
9159 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9160 * libs/gst/base/gstbasesrc.h:
9161 Allow basesrc derived classes to execute seeks in other formats
9162 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9163 to prepare the GstSegment in any format that their perform_seek method
9164 will be able to understand. The default implementation provides the
9165 old behaviour of attempting to convert the seek offsets to the
9166 configured native format.
9168 API: basesrc::prepare_seek_segment vmethod.
9170 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9172 * gst/gstelement.c: (gst_element_get_state_func):
9173 Don't output the same debug statement twice.
9175 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9176 (gst_adapter_peek), (gst_adapter_take_buffer):
9177 Optimise the case where we have buffers at the head of the queue that
9178 can be joined quickly (because they're contiguous sub-buffers) by
9179 merging them together rather than copying data out into new memory.
9181 * gst/parse/grammar.y:
9182 * tests/check/pipelines/parse-launch.c:
9183 Fix a leak in an error path for parse_launch, and add a check
9184 for it to the testsuite.
9186 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9188 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9189 Don't deadlock when releasing a pad - gst_pad_set_active may try
9190 and take the multiqueue lock too.
9192 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9194 * gst/gsterror.c: (_gst_core_errors_init):
9196 API: add GST_CORE_ERROR_DISABLED (#392804).
9198 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9200 * docs/faq/gst-uninstalled:
9201 don't get empty paths on the PATH variables
9202 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9203 Don't format for the uncommon terminal width of 84 characters.
9205 2007-04-06 Wim Taymans <wim@fluendo.com>
9207 * gst/gstpipeline.c: (reset_stream_time),
9208 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9209 Only try to select a different pipeline clock when we went back to
9210 PAUSED and not when we merely got flushed.
9212 2007-04-05 Michael Smith <msmith@fluendo.com>
9214 * tools/gst-launch.1.in:
9215 fractions are better supported in gstreamer than ractions, so
9216 suggest using those.
9218 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9220 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9224 Added Danish translation.
9226 2007-04-05 Wim Taymans <wim@fluendo.com>
9228 * libs/gst/base/gstbasesink.c:
9229 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9230 Fix leak caused when refusing newsegment after EOS.
9232 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9233 (gst_fake_sink_init), (gst_fake_sink_set_property),
9234 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9235 (gst_fake_sink_render), (gst_fake_sink_change_state):
9236 * plugins/elements/gstfakesink.h:
9237 Add num-buffers property to make the element generate EOS after a
9238 configurable amount of buffers.
9239 API: fakesink::num-buffers property.
9241 * tests/check/elements/fakesink.c: (GST_START_TEST),
9243 Fix GstBus leak in test.
9244 Test for fakesink num-buffers.
9246 2007-04-05 Wim Taymans <wim@fluendo.com>
9248 * libs/gst/base/gstbasesink.c:
9249 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9250 (gst_base_sink_change_state):
9251 Don't accept anything after an EOS, return UNEXPECTED instead.
9253 * tests/check/elements/fakesink.c: (GST_START_TEST),
9255 Unit test for new EOS behaviour.
9257 2007-04-05 Wim Taymans <wim@fluendo.com>
9259 * gst/gstelement.c: (gst_element_get_request_pad):
9260 Make padtemplates also work when they don't contain %s or %d.
9262 2007-04-05 Wim Taymans <wim@fluendo.com>
9264 * docs/gst/gstreamer-sections.txt:
9265 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9266 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9268 Improve _adjust_unlocked() so that it overflows less.
9269 Add gst_clock_unadjust_unlocked to convert from external time to
9270 internal time based on calibration.
9271 Add some more debug.
9272 API: GstClock::gst_clock_unadjust_unlocked()
9274 2007-04-03 Wim Taymans <wim@fluendo.com>
9276 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9278 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9279 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9280 when releasing sink pad. Fixes #425400.
9282 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9284 * docs/random/ensonic/dynlink.txt:
9285 More work on proposal for new core api.
9287 * docs/libs/gstreamer-libs-sections.txt:
9288 * libs/gst/base/gstbasetransform.h:
9289 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9291 * libs/gst/controller/gstcontroller.c:
9292 (on_object_controlled_property_changed),
9293 (gst_controller_sync_values),
9294 (gst_controller_set_interpolation_mode):
9295 * libs/gst/controller/gstcontroller.h:
9296 Less verbose logging add docs for unimplemented parts and correctly
9297 return when using unavailable parts.
9299 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9301 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9302 Move all the debug to the CLOCK category, and associate it with
9305 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9307 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9308 Make take_buffer a bit quicker by removing redundant checks
9309 caused by calling gst_adapter_take.
9311 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9313 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9316 * tests/check/Makefile.am:
9317 * tests/check/elements/.cvsignore:
9318 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9319 (GST_START_TEST), (multiqueue_suite):
9320 Add some dead simple unit tests for the 'multiqueue' element
9321 (some bits don't work yet and are disabled for now).
9323 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9325 * gst/gstelement.c: (gst_element_get_request_pad),
9326 (gst_element_class_get_request_pad_template):
9327 Make gst_element_get_request_pad() create request pads only for
9328 request pad templates and not for, say, sometimes pad templates.
9330 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9332 * docs/design/draft-klass.txt:
9333 Add example that needs more thinking.
9335 * docs/design/draft-missing-plugins.txt:
9336 More thoughts about wrapper plugins.
9338 * docs/random/ensonic/embedded.txt:
9339 * docs/random/ensonic/profiling.txt:
9342 2007-03-25 Wim Taymans <wim@fluendo.com>
9344 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9345 (gst_base_src_loop):
9346 Only push the segment events in the PLAYING state for live sources.
9348 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9350 * gst/gstpipeline.c: (gst_pipeline_change_state):
9351 Modify the clock distribution path in PAUSED->PLAYING so that we
9352 never attempt to choose a new clock unless we're actually leaving
9353 the PAUSED state for the first time. This prevents choosing a
9354 different clock when the state_change gets called for a 2nd time due
9355 to some element doing an async state change.
9357 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9359 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9360 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9361 (gst_pad_chain_unchecked), (gst_pad_push):
9362 Revert last commit. This needs some more thoughts.
9364 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9366 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9367 (gst_pad_chain_unchecked), (gst_pad_push):
9368 Check in set_caps if the caps are compatible with the pad and remove
9369 two functions that are redundant now. Fixes #421543.
9371 2007-03-22 Wim Taymans <wim@fluendo.com>
9373 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9374 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9375 Unref some more to make valgrind happy.
9377 2007-03-22 Wim Taymans <wim@fluendo.com>
9379 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9380 (gst_system_clock_id_wait_jitter),
9381 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9382 Fix anoying regression that survived a few releases. When adding an
9383 async entry while blocking on a sync entry, the sync entry will unblock
9384 but still be busy, so it should continue to wait instead of returning
9386 Add some comments here and there.
9388 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9389 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9390 Add testcase for this.
9392 2007-03-22 Wim Taymans <wim@fluendo.com>
9394 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9395 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9396 WRONG_STATE and can silently pause the task. All other cases should
9399 2007-03-22 Wim Taymans <wim@fluendo.com>
9401 Patch by: Ville Syrjala <syrjala at sci dot fi>
9403 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9404 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9407 2007-03-21 Michael Smith <msmith@fluendo.com>
9409 * docs/pwg/advanced-types.xml:
9410 Fix some errors in the typefinding docs pointed out on irc.
9412 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9414 * libs/gst/base/gstbasesrc.c:
9415 Clarify FIXME comment in the face of having added unlock_stop()
9417 2007-03-21 Wim Taymans <wim@fluendo.com>
9419 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9420 Prepare for release where we warn against possible app breakage in the
9421 case of live pipelines along with an env var to enable/disable live
9422 preroll mode (GST_COMPAT=[no-]live-preroll).
9424 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9426 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9427 So we should use correct constants for checking for None offset.
9429 2007-03-20 Wim Taymans <wim@fluendo.com>
9431 * docs/design/part-block.txt:
9432 Mention the fact that the newly switched element should be set to at
9435 2007-03-20 Wim Taymans <wim@fluendo.com>
9438 Fix compilation with registry disabled as spotted by Saur.
9440 2007-03-20 Wim Taymans <wim@fluendo.com>
9442 Patch by: Olivier Crete <tester at tester dot ca>
9444 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9445 Look at the pending state too when syncing the element state to the
9446 parent. Fixes #420133.
9448 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9450 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9451 (gst_base_sink_change_state):
9452 * libs/gst/base/gstbasesink.h:
9453 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9454 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9455 (gst_base_src_deactivate):
9456 * libs/gst/base/gstbasesrc.h:
9457 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9458 for sub-classes to correctly clear any state they set trying to
9459 unlock, such as clearing out unlock commands from a command fd.
9460 API: basesrc::unlock_stop
9461 API: basesink::unlock_stop
9463 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9464 (gst_fd_sink_render), (gst_fd_sink_unlock),
9465 (gst_fd_sink_unlock_stop):
9466 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9467 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9468 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9470 Implement unlock_stop in fdsrc and fdsink.
9471 Implement seeking in fdsrc when a seekable fd is passed, as in
9472 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9474 2007-03-19 Wim Taymans <wim@fluendo.com>
9476 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9478 * gst/gstelement.c: (gst_element_class_init):
9479 Fix pad-added and pad-removed signal signatures so that the pad type is
9480 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9482 2007-03-19 Wim Taymans <wim@fluendo.com>
9484 * docs/gst/gstreamer-sections.txt:
9485 Add new element field and method.
9487 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9488 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9489 (gst_bin_recalc_state), (gst_bin_get_state_func),
9490 (gst_bin_element_set_state), (gst_bin_change_state_func),
9491 (gst_bin_continue_func), (bin_bus_handler),
9492 (bin_push_state_continue), (bin_handle_async_start),
9493 (bin_handle_async_done), (gst_bin_handle_message_func):
9494 Make async state changes a bit smarter by using new ASYNC_START and
9495 ASYNC_DONE messages. This reduces the number of times we run the state
9496 recalculation thread.
9497 Don't change state of element with a pending ASYNC_START message.
9498 Deprecate STATE_DIRTY messages.
9500 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9501 (gst_element_get_state_func), (gst_element_continue_state),
9502 (gst_element_lost_state), (gst_element_set_state_func),
9503 (gst_element_change_state):
9505 Keep the state that was last set by the app in a new element field.
9506 Don't allow state changes when handling an element event.
9507 Post ASYNC_START and ASYNC_DONE messages.
9508 Change lost_state so that we go to PAUSED and wait for the parent to set
9509 us to PLAYING again (so latency calculation can be performed)
9510 Export gst_element_change_state() method so that subclasses can use it.
9511 API: gst_element_change_state()
9512 API: GST_STATE_TARGET
9514 * gst/gstpipeline.c: (gst_pipeline_class_init),
9515 (reset_stream_time), (gst_pipeline_change_state),
9516 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9517 Using the new ASYNC_START message we can reset the base_time when
9518 needed. This can then be used to implement base_time redistribution in
9519 flushing seeks so that we can remove the explicit seek handling.
9520 Perform latency query and configuration when going to PLAYING.
9522 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9523 (gst_base_sink_query), (gst_base_sink_change_state):
9524 Post new ASYNC_START/ASYNC_DONE messages.
9526 * tests/check/generic/sinks.c: (GST_START_TEST):
9527 Fix test because the bin will not set the async element to PLAYING right
9530 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9531 Make the message check a little stronger.
9532 Handle ASYNC messages.
9534 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9535 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9536 Expect ASYNC_DONE messages.
9538 2007-03-19 Wim Taymans <wim@fluendo.com>
9540 * docs/gst/gstreamer-sections.txt:
9541 * gst/gstmessage.c: (gst_message_new_async_start),
9542 (gst_message_new_async_done), (gst_message_parse_info),
9543 (gst_message_parse_async_start):
9545 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9548 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9550 * tools/gst-inspect.c:
9551 (print_plugin_automatic_install_info_codecs):
9552 Now that we don't check for the 'Codec' keyword any longer in the
9553 klass, we shouldn't spew a warning if the klass isn't a decoder or
9554 encoder (since it might be a Source/Network, for example).
9556 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9558 * tools/gst-inspect.c:
9559 (print_plugin_automatic_install_info_codecs):
9560 Don't require decoder/demuxer/depayloader elements or
9561 encoder/muxer/paylader elements to have 'Codec' as part of their
9562 factory class string when introspecting a plugin's capabilities.
9563 draft-klass.txt mentions that it might be removed in future, and
9564 flump3dec doesn't have it as part of its class string, so chances
9565 are others might also not have it.
9567 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9589 Update translations from translation project
9591 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9593 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9594 (gst_child_proxy_set_property):
9595 Invert precondition check to be alike the ones in the mimiced gobject
9598 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9600 * docs/design/draft-tagreading.txt:
9601 * docs/random/ensonic/audiobaseclasses.txt:
9602 Do some Architect work.
9604 * gst/gstobject.c: (gst_object_set_name):
9608 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9610 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9612 * gst/gstsystemclock.c: (gst_system_clock_init),
9613 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9614 Defer starting the async system clock thread until the first async
9615 wait is scheduled. Fixes #414986.
9617 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9619 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9620 (gst_single_queue_free):
9621 Fix small leak (free GstSingleQueue structure too, not only contents).
9623 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9625 * gst/gstbin.c:(gst_bin_add):
9626 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9627 * win32/common/libgstbase.def:
9628 * win32/common/libgstreamer.def:
9629 Add new exported functions.
9631 2007-03-09 Wim Taymans <wim@fluendo.com>
9633 * docs/plugins/gstreamer-plugins-sections.txt:
9636 2007-03-09 Wim Taymans <wim@fluendo.com>
9638 * docs/gst/gstreamer-sections.txt:
9639 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9641 Add metadata copy functions. Fixes #393099.
9642 API: gst_buffer_copy_metadata()
9644 * gst/gstutils.c: (gst_buffer_stamp):
9645 * libs/gst/base/gstbasetransform.c:
9646 (gst_base_transform_prepare_output_buffer):
9647 Use new metadata copy functions.
9649 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9651 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9652 (gst_identity_init), (gst_identity_check_perfect),
9653 (gst_identity_check_imperfect_timestamp),
9654 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9655 (gst_identity_set_property), (gst_identity_get_property):
9656 * plugins/elements/gstidentity.h:
9657 Separate out check-imperfect-timestamp and check-imperfect-offset.
9658 Put back check-perfect as it was to keep compatibility.
9660 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9662 * gst/gstelement.c: (gst_element_dispose):
9663 There's no need to warn if VOID_PENDING is not NONE here, as
9664 long as the state is NULL it's ok, and that's checked immediately
9667 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9669 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9670 Fix check for perfect stream to ignore buffers with -1
9671 offsets/offset ends when checking data contiguity.
9673 2007-03-08 Wim Taymans <wim@fluendo.com>
9675 * tools/gst-launch.c: (event_loop):
9676 Print INFO messages.
9678 2007-03-08 Wim Taymans <wim@fluendo.com>
9680 * libs/gst/base/gstbasetransform.c:
9681 (gst_base_transform_sink_eventfunc),
9682 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9683 (gst_base_transform_activate):
9684 * libs/gst/base/gstbasetransform.h:
9685 Add support for dropping buffers with custom GstFlowReturn.
9686 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9687 buffers or dropped buffers.
9689 * docs/libs/gstreamer-libs-sections.txt:
9690 docs for new custom return code.
9692 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9693 Use drop support in base class to implement drop-probability.
9695 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9697 * gst/gst.c: (load_plugin_func):
9698 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9699 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9700 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9701 Remove newlines at end of debug log strings.
9703 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9705 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9706 Only post bus message at max, once per buffer received.
9708 2007-03-07 Wim Taymans <wim@fluendo.com>
9710 * docs/design/Makefile.am:
9711 * docs/design/part-synchronisation.txt:
9712 Add doc about synchronisation
9714 * docs/design/draft-latency.txt:
9715 * docs/design/part-TODO.txt:
9716 * docs/design/part-clocks.txt:
9717 * docs/design/part-events.txt:
9718 * docs/design/part-gstbus.txt:
9719 * docs/design/part-gstpipeline.txt:
9720 * docs/design/part-live-source.txt:
9721 * docs/design/part-messages.txt:
9722 * docs/design/part-overview.txt:
9723 * docs/design/part-streams.txt:
9724 * docs/design/part-trickmodes.txt:
9725 Documentation updates.
9727 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9730 Update the doap file.
9732 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9734 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9735 Rename non-perfect to imperfect for Mike and for the sanctity of the
9737 Also make sure bus message gets emitted for data-incontiguities.
9739 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9741 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9742 (gst_identity_start):
9743 * plugins/elements/gstidentity.h:
9744 Emit bus message if check-perfect is true and we encounter a
9745 non-perfect stream between 2 consecutive buffers.
9748 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9753 === release 0.10.12 ===
9755 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9758 releasing 0.10.12, "Inevitable Demise"
9760 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9763 Version 0.10.11.2 (0.10.12 pre-release)
9764 Bump libtool versioning.
9766 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9768 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9769 Log flow-names and not numbers.
9771 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9774 Convert to new AG_GST style.
9776 2007-02-28 Wim Taymans <wim@fluendo.com>
9778 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9779 Don't unref query twice.
9781 2007-02-28 Wim Taymans <wim@fluendo.com>
9783 * gst/gstvalue.c: (gst_value_transform_object_string),
9784 (_gst_value_initialize):
9785 Implement GstObject -> string transform so we print object names
9786 when serializing GValues containing GstObjects.
9788 2007-02-28 Wim Taymans <wim@fluendo.com>
9790 * docs/gst/gstreamer-sections.txt:
9791 Add new stuff to docs.
9793 2007-02-28 Wim Taymans <wim@fluendo.com>
9795 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9796 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9797 (gst_base_sink_change_state):
9798 Improve latency query code.
9799 Don't leak latency events.
9801 * tests/check/gst/gstbin.c: (GST_START_TEST):
9804 2007-02-28 Wim Taymans <wim@fluendo.com>
9806 * gst/gstelement.c: (gst_element_message_full),
9807 (gst_element_get_state_func):
9809 Improve docs a little. Added Since: for new macro.
9811 * gst/gstobject.c: (gst_object_sink):
9812 * gst/gstpipeline.c: (gst_pipeline_change_state),
9813 (gst_pipeline_set_new_stream_time):
9814 * gst/gstpipeline.h:
9815 Improve debugging and docs.
9817 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9820 2007-02-28 Wim Taymans <wim@fluendo.com>
9822 * gst/gstelement.c: (gst_element_message_full),
9823 (gst_element_set_locked_state), (gst_element_get_state_func),
9824 (gst_element_change_state):
9825 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9826 Documentation updates.
9827 Small code cleanups.
9829 * gst/gstmessage.c: (gst_message_new_info),
9830 (gst_message_parse_info):
9832 API: gst_message_new_info()
9833 API: gst_message_parse_info()
9834 Add INFO message create and parse code.
9836 2007-02-28 Wim Taymans <wim@fluendo.com>
9838 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9839 (bin_query_latency_done):
9840 Also report the live parameter of a latency query.
9842 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9844 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9845 Copy the current generic/states example from -base and adapt so
9846 we can use the exact same code everywhere.
9847 Check a STATES_IGNORE_ELEMENTS env var which can be used
9848 to ignore certain element factories for this test, which is
9849 what is being done in -base
9850 * tests/check/Makefile.am:
9851 Mention this environment variable.
9853 2007-02-27 Wim Taymans <wim@fluendo.com>
9855 * docs/gst/gstreamer-sections.txt:
9856 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9857 (gst_bus_timed_pop), (gst_bus_pop):
9859 API: gst_bus_timed_pop()
9860 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9861 message to arrive on the bus.
9863 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9865 Two unit tests for new _timed_pop() function.
9867 2007-02-23 Wim Taymans <wim@fluendo.com>
9869 * gst/gstpipeline.c: (gst_pipeline_change_state),
9870 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9871 Don't ref a NULL clock in _provide_clock_func().
9872 Don't allow an INVALID delay.
9873 Don't try to calculate base_time with an invalid start_time.
9874 Also distribute and notify a NULL clock when it was selected.
9876 * tools/gst-launch.c: (event_loop):
9877 Don't crash when a NULL clock was selected in the pipeline.
9879 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9881 * docs/design/Makefile.am:
9882 * docs/design/draft-missing-plugins.txt:
9883 * docs/random/draft-missing-plugins.txt:
9884 Some small updates: update plugin system identifier prefix
9885 ('gstreamer.net' to 'gstreamer'), mention our new install
9886 API in libgstbaseutils rather than libgimme-codec, add
9887 reference to the online docs.
9889 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9891 * win32/common/config.h:
9892 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9893 use moap cl ci to only check in what is mentioned in the ChangeLog.
9895 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9897 * docs/gst/gstreamer-sections.txt:
9899 Fix up documentation to link to the correct GstGError section.
9900 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9902 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9904 * tools/gst-launch.c: (event_loop):
9905 Make sure that we actually show the important message part of a
9907 No need to check if the gerror is not NULL to free; first of all
9908 g_free accepts NULL; and second the default error handler would
9909 segfault if gerror was NULL.
9911 2007-02-21 Wim Taymans <wim@fluendo.com>
9913 * docs/gst/gstreamer-sections.txt:
9914 Removed docs as well.
9916 2007-02-21 Wim Taymans <wim@fluendo.com>
9918 * gst/gstmessage.c: (gst_message_parse_duration):
9920 Remove new messages for release.
9922 2007-02-20 Wim Taymans <wim@fluendo.com>
9924 * docs/design/part-gstghostpad.txt:
9925 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9926 (gst_ghost_pad_new_full):
9927 Make the ghostpad a parent of the internal pad again for better backward
9928 compatibility. Don't write code that relies on this however.
9930 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9931 (gst_pad_link_check_hierarchy):
9932 Require that parents should be GstElements in the hierarchy check.
9934 2007-02-20 Wim Taymans <wim@fluendo.com>
9936 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9937 (gst_bin_change_state_func), (bin_query_min_max_init),
9938 (bin_query_latency_fold), (bin_query_latency_done),
9941 Implement latency query.
9943 2007-02-20 Wim Taymans <wim@fluendo.com>
9945 * docs/design/part-gstghostpad.txt:
9946 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9947 (gst_ghost_pad_internal_do_activate_push),
9948 (gst_ghost_pad_internal_do_activate_pull),
9949 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9950 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9951 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9952 Do not set the internal pad as a parent anymore so we can avoid
9953 hierarchy linking errors when the ghostpad has no parent yet. This also
9954 fixes failed activation because of unlinked internal pads, which in
9955 turn fixes the impossible case where you have to activate a pad before
9956 you can add it to a running element.
9959 * gst/gstpad.c: (pre_activate), (post_activate),
9960 (gst_pad_set_active), (gst_pad_activate_pull),
9961 (gst_pad_activate_push), (gst_pad_check_pull_range):
9962 Add some more debug info.
9963 Mark activation mode in pre_activate so that we don't try to activate in
9964 endless loops. Fixes #385084.
9966 2007-02-19 Wim Taymans <wim@fluendo.com>
9968 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9969 (gst_base_transform_check_get_range):
9970 Implement a checkgetrange function instead of relying on the default
9971 core behaviour that assumes we can operate in pull mode if we have a
9972 getrange function. First step at fixing #385084.
9974 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9976 * gst/gstchildproxy.h:
9977 * libs/gst/base/gstbasesink.h:
9978 * libs/gst/base/gstbasesrc.h:
9979 * libs/gst/base/gstbasetransform.h:
9980 More docs coverage and some ChangeLog surgery (add missing names)
9982 2007-02-15 Wim Taymans <wim@fluendo.com>
9984 * docs/design/part-TODO.txt:
9985 * docs/design/part-activation.txt:
9986 * docs/design/part-block.txt:
9987 * docs/design/part-buffering.txt:
9988 * docs/design/part-clocks.txt:
9989 * docs/design/part-element-source.txt:
9990 * docs/design/part-events.txt:
9991 * docs/design/part-gstbin.txt:
9992 * docs/design/part-gstbus.txt:
9993 * docs/design/part-gstpipeline.txt:
9994 * docs/design/part-live-source.txt:
9995 * docs/design/part-messages.txt:
9996 * docs/design/part-overview.txt:
9997 * docs/design/part-qos.txt:
9998 * docs/design/part-query.txt:
9999 * docs/design/part-states.txt:
10000 * docs/design/part-trickmodes.txt:
10001 Some doc updates. Start renaming from stream_time to running_time where
10002 it was used wrongly.
10004 2007-02-15 Wim Taymans <wim@fluendo.com>
10006 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10007 Answer LATENCY query.
10009 2007-02-15 Wim Taymans <wim@fluendo.com>
10011 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10015 2007-02-15 Wim Taymans <wim@fluendo.com>
10017 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10018 (gst_pad_dispatcher):
10019 Improve debugging of default pad dispatcher and query functions.
10021 2007-02-15 Wim Taymans <wim@fluendo.com>
10023 * docs/gst/gstreamer-sections.txt:
10024 Remove old unused method.
10026 2007-02-13 Wim Taymans <wim@fluendo.com>
10028 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10031 2007-02-13 Wim Taymans <wim@fluendo.com>
10033 * docs/design/part-seeking.txt:
10036 * gst/gstsegment.c: (gst_segment_set_seek):
10037 Revert old bogus change that should make seeking work again.
10039 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10041 * docs/random/ensonic/dynlink.txt:
10042 * docs/random/ensonic/interfaces.txt:
10043 * docs/random/ensonic/receipies.txt:
10044 Possible dynamic reconnection api, plus some type fixes the other two
10047 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10049 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10050 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10051 Also check for an absolute path following file:// in the filesrc
10052 element. Remove redundant check and call g_path_is_absolute() on the
10053 unescaped location.
10055 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10057 * docs/design/draft-klass.txt:
10058 Add existing category analysis.
10061 Fix doc example, framerate is a fraction.
10063 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10066 * docs/gst/Makefile.am:
10067 * docs/gst/gstreamer-sections.txt:
10068 * docs/libs/Makefile.am:
10069 Erm, forgot a bunch of --extra-dir.
10071 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10074 * docs/gst/Makefile.am:
10075 * docs/libs/Makefile.am:
10076 * docs/plugins/Makefile.am:
10077 Add crossreferences to glib/gobject docs.
10079 2007-02-12 Wim Taymans <wim@fluendo.com>
10081 * docs/design/draft-latency.txt:
10084 * docs/libs/gstreamer-libs-sections.txt:
10085 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10086 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10087 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10088 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10089 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10090 (gst_base_sink_get_position), (gst_base_sink_query),
10091 (gst_base_sink_change_state):
10092 * libs/gst/base/gstbasesink.h:
10093 API: gst_base_sink_query_latency() to let subclasses query the upstream
10095 API: gst_base_sink_get_latency() to let subclasses query the configured
10096 latency in the sink.
10097 Implement query and set latency.
10099 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10100 don't continue preroll when we are flushing. Fixes #405284.
10102 * tests/check/pipelines/stress.c: (change_state_timeout),
10103 (quit_timeout), (GST_START_TEST), (stress_suite):
10106 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10108 Patch by: René Stadler <mail at renestadler de>
10110 * docs/gst/gstreamer-sections.txt:
10111 * gst/gsttaglist.c: (_gst_tag_initialize):
10112 * gst/gsttaglist.h:
10113 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10115 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10117 * docs/libs/Makefile.am:
10118 Fix path to core docs.
10120 * gst/gstbin.c: (gst_bin_get_by_interface),
10121 (gst_bin_iterate_all_by_interface):
10122 Refix docs by also renaming 'interface' to 'iface' in implementation.
10124 * docs/gst/gstreamer-sections.txt:
10126 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10127 * gst/gstchildproxy.h:
10128 * gst/gstelementfactory.c:
10129 * gst/gstpadtemplate.h:
10130 * libs/gst/controller/gstcontroller.c:
10131 (gst_controlled_property_new):
10134 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10136 * gst/gstbin.h:(gst_bin_get_by_interface),
10137 (gst_bin_iterate_all_by_interface):
10138 Replace interface parameter name by iface as interface is
10139 a reserved keyword in Visual Studio for C++ projects so it removes
10140 a build error for application developpers using VS.
10141 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10142 Fix a bug on Windows in uri format check. Now the prefix checked
10143 is file:// and next we check if the path after file:// is absolute.
10144 * win32/common/libgstbase.def:
10145 * win32/common/libgstdataprotocol.def:
10146 * win32/common/libgstgstreamer.def:
10147 Add new exported functions.
10149 2007-02-09 Andy Wingo <wingo@pobox.com>
10151 * tests/check/pipelines/simple-launch-lines.c
10152 (simple_launch_lines_suite, test_tee): Disable tee test until I
10153 have time to fix it :-(
10155 * tests/check/Makefile.am (noinst_HEADERS):
10156 * tests/check/libs/libsabi.c:
10157 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10158 * tests/check/gst/gstabi.c:
10159 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10161 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10162 tests for push and pull tee behavior.
10164 * plugins/elements/gsttee.h:
10165 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10166 mark as deprecated as well as unimplemented. It was a crack idea.
10167 Add support for tee operating in pull mode, off by default.
10169 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10170 normal-case logs down to LOG, raise errors to WARNING.
10171 (gst_registry_xml_read_cache): Don't log before calling a function
10174 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10175 exit (registry finalize).
10176 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10177 DEBUG log when we emit signals that people don't even have the
10178 chance to connect to.
10179 (gst_registry_scan_path_level): Less logging in the normal case.
10181 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10183 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10185 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10186 Correctly generate EOS for non-seekable files. We don't have a total
10187 length for them and would get an unexpected end of file if we only
10188 special-cased for regular files. (Fixes: #404569)
10190 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10192 * tests/check/elements/filesrc.c: (GST_START_TEST),
10194 Add unit test for the GstURIHandler interface in filesrc. This also
10195 tests the newly added file://localhost/foo/bar support.
10197 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10199 * gst/gstelementfactory.h:
10200 The klass string is not a hierarchy. Add reference to the design doc
10201 for more information and common types.
10203 2007-02-02 Wim Taymans <wim@fluendo.com>
10205 * gst/gstquery.c: (gst_query_new_latency):
10206 Remove old structure field.
10208 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10210 * tools/gst-launch.1.in:
10211 Give example for network streaming (#351998)
10213 2007-02-02 Wim Taymans <wim@fluendo.com>
10215 * docs/gst/gstreamer-sections.txt:
10216 Add docs for new methods.
10218 * gst/gstevent.c: (gst_event_new_latency),
10219 (gst_event_parse_latency):
10221 Add new LATENCY event to configure latency in a pipeline.
10222 API: gst_event_new_latency
10223 API: gst_event_parse_latency
10225 * gst/gstmessage.c: (gst_message_new_buffering),
10226 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10227 (gst_message_new_latency), (gst_message_parse_buffering),
10228 (gst_message_parse_lost_preroll):
10229 * gst/gstmessage.h:
10230 Added messages used in draft-latency.
10231 API: gst_message_new_lost_preroll
10232 API: gst_message_parse_lost_preroll
10233 API: gst_message_new_prerolled
10234 API: gst_message_new_latency
10236 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10237 (gst_query_parse_latency):
10239 Implemented new latency query as in design doc.
10240 API: gst_query_new_latency
10241 API: gst_query_set_latency
10242 API: gst_query_parse_latency
10244 2007-02-02 Wim Taymans <wim@fluendo.com>
10246 * docs/design/draft-latency.txt:
10247 Slight redesign to allow for dynamic latency adjustments.
10249 * docs/design/part-negotiation.txt:
10252 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10254 reviewed by: Wim Taymans <wim@fluendo.com>
10256 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10257 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10258 Allow file://localhost/foo/bar URLs and correctly fail for every other
10259 hostname that one sets. This was gnomevfssrc is linked for those if
10260 installed as it can handle it (#403172)
10262 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10264 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10266 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10267 (unref_data), (gst_collect_pads_add_pad_full):
10268 * libs/gst/base/gstcollectpads.h:
10269 Don't put the previously added destroy notify in the GstCollectData
10270 struct as all it's padding is already used and we don't want to break
10271 ABI. Instead put in the pad's GObject data for now. This should be
10272 cleaned up for 0.11 (#402393).
10274 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10276 reviewed by: Wim Taymans <wim@fluendo.com>
10278 * docs/libs/gstreamer-libs-sections.txt:
10279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10280 (unref_data), (gst_collect_pads_add_pad),
10281 (gst_collect_pads_add_pad_full):
10282 * libs/gst/base/gstcollectpads.h:
10283 API: Add function to specify a destroy notification for custom
10284 GstCollectData when adding new pads in GstCollectPads (#402393).
10286 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10289 Update Swedish translation (#378255).
10291 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10293 * docs/design/draft-klass.txt:
10294 Fix the previous change, this is a list of categories and not a hierarchy.
10296 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10298 * docs/design/draft-klass.txt:
10299 Add info about how to get a list of used classes.
10301 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10303 * plugins/elements/gsttypefindelement.c:
10304 (gst_type_find_element_chain_do_typefinding),
10305 (gst_type_find_element_change_state):
10306 Don't leak found caps in chain function (no idea why that never
10307 showed up as a leak anywhere).
10309 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10312 Fix and expand GstPluginDesc API docs.
10314 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10317 * gst/gstelementfactory.c:
10318 * gst/gstpadtemplate.h:
10321 * libs/gst/controller/gstcontroller.c:
10322 (gst_controlled_property_new):
10323 * tests/examples/controller/audio-example.c:
10326 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10329 comment about refining the xml deps
10331 * docs/manuals.mak:
10332 comments about moving away from jade for docs
10335 recommit the ifdefs to use the binary registry
10337 * gst/gstbin.c: (gst_bin_change_state_func):
10338 this break is obsolete
10340 * gst/gstelementfactory.h:
10341 better GST_ELEMENT_DETAILS docs, add comment about translation
10346 * gst/gstobject.c: (gst_signal_object_get_type):
10347 add G_UNLIKELY as usual
10349 * gst/gstpad.c: (gst_pad_event_default):
10350 add fall trhu comment
10352 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10353 (gst_registry_binary_initialize_magic),
10354 (gst_registry_binary_save_string),
10355 (gst_registry_binary_save_pad_template),
10356 (gst_registry_binary_save_feature),
10357 (gst_registry_binary_save_plugin),
10358 (gst_registry_binary_write_cache),
10359 (gst_registry_binary_check_magic),
10360 (gst_registry_binary_load_pad_template),
10361 (gst_registry_binary_load_feature),
10362 (gst_registry_binary_load_plugin),
10363 (gst_registry_binary_read_cache):
10364 comment typo and formatting
10366 * gst/gstutils.c: (gst_element_state_get_name),
10367 (gst_element_state_change_return_get_name):
10368 remove obsolete breaks
10370 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10371 add FIXME 0.11 and remove cpp comment
10373 2007-01-29 Edward Hervey <edward@fluendo.com>
10375 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10376 Fix print statement in an even more portable way.
10378 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10380 * docs/gst/gstreamer-sections.txt:
10382 API: add GST_ROUND_DOWN_* macros (#401781).
10384 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10386 * docs/gst/gstreamer.types.in:
10387 * gst/gstregistry.c: (gst_registry_class_init):
10388 Document registry signals and make gtk-doc pick them up (#401381).
10390 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10392 * docs/pwg/building-testapp.xml:
10393 Add some audioconverts and audioresample to the pipeline, and some
10394 more comments and error handling.
10396 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10398 * docs/manual/manual.xml:
10399 * docs/pwg/pwg.xml:
10400 Fix typo (#400987).
10402 2007-01-26 Wim Taymans <wim@fluendo.com>
10404 * gst/gstcaps.c: (gst_static_caps_get):
10405 Init caps flags too.
10407 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10409 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10411 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10412 If not using mmap'ed files try to seek to the end instead of the
10413 start to determine whether we can seek at all. This fixes the case
10414 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10415 seeks for everything afterwards fail. Fixes #400656
10417 2007-01-25 Wim Taymans <wim@fluendo.com>
10419 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10420 Add some refcount debugging.
10421 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10422 in multiple streaming threads.
10424 2007-01-25 Wim Taymans <wim@fluendo.com>
10426 Patch by: David Schleef <ds at schleef dot org>
10428 * docs/libs/gstreamer-libs-sections.txt:
10429 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10430 * libs/gst/base/gstadapter.h:
10431 API: gst_adapter_copy() that can reduce the amount of memcpy when
10432 getting data from the adapter. Fixes #388201.
10434 2007-01-25 Edward Hervey <edward@fluendo.com>
10436 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10437 In print statements, "%x" is for guint. Fixes build on macosx.
10439 2007-01-24 Edward Hervey <edward@fluendo.com>
10441 * plugins/elements/gstmultiqueue.c:
10442 (gst_multi_queue_loop):
10444 (single_queue_overrun_cb), (single_queue_underrun_cb),
10445 (single_queue_check_full), (gst_single_queue_new):
10446 Implement single queue growth system.
10447 This uses the extra-size properties, and will grow single queues by
10448 that much if one goes full whereas there are others empty. This is
10449 called extra-mode in the code.
10450 When a single queue's levels go back below the initial max-size
10451 limits, it is no longer in extra-mode. This is to ensure we don't
10452 consume too much memory.
10455 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10457 * gst/gst.c: (gst_init_get_option_group):
10458 Make warning about late g_thread_init() calls a bit more explicit,
10459 so that it's more obvious to application developers what they need
10460 to do if a user files a bug against their application.
10462 2007-01-22 Edward Hervey <edward@fluendo.com>
10464 * plugins/elements/gstmultiqueue.c:
10465 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10466 Remove previous hack of unsetting the flushing flag for the source pad
10467 instead of activating it. Instead, fix the source pad activate function
10468 so that it no longer depends on having a parent set or not.
10470 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10472 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10474 * docs/manual/basics-bus.xml:
10475 Fix example code, gst_element_unref() doesn't exist any longer.
10477 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10479 Patch by: Mark Nauwelaerts <manauw at skynet be>
10482 Fix two docs typoes (#399094).
10484 2007-01-19 Edward Hervey <edward@fluendo.com>
10486 * docs/faq/gst-uninstalled:
10487 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10488 depending on libgstbaseutils can work in uninstalled environment.
10490 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10492 * gst/gsttaglist.h:
10493 * gst/gsttagsetter.c:
10494 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10495 statement for new tag.
10497 2007-01-17 Edward Hervey <edward@fluendo.com>
10499 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10500 When dynamically creating single queues, activate sinkpad before adding
10502 We should be doing the same thing for the source pad, but we can't
10503 since it would call a method which needs the parent to be set in order
10504 to work propertly. Instead of activating the source pad, we just unset
10505 the flushing flag, which is the minimal requirement for adding a pad
10506 to an element in a state greater than READY.
10508 2007-01-17 Edward Hervey <edward@fluendo.com>
10510 * docs/faq/gst-uninstalled:
10511 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10514 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10516 * tests/check/gst/gstabi.c:
10517 * tests/check/gst/struct_hppa.h:
10518 * tests/check/libs/libsabi.c:
10519 * tests/check/libs/struct_hppa.h:
10520 Add ABI structs for HPPA (see #393796).
10522 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10524 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10525 Actually write ABI structs to the file specified in the GST_ABI
10526 environment variable, as the message we print claims we would.
10528 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10530 * tests/check/gst/gsttask.c:
10531 Fix header comment.
10533 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10535 * gst/gsttaglist.c: (_gst_tag_initialize):
10536 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10537 previous two entries.
10539 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10541 * docs/gst/gstreamer-sections.txt:
10542 * gst/gsttaglist.c: (_gst_tag_initialize):
10543 * gst/gsttaglist.h:
10544 Add tag support for beat-per-minute.
10546 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10548 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10549 (gst_registry_binary_initialize_magic),
10550 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10551 (gst_registry_binary_save_pad_template),
10552 (gst_registry_binary_save_feature),
10553 (gst_registry_binary_save_plugin),
10554 (gst_registry_binary_write_cache),
10555 (gst_registry_binary_check_magic),
10556 (gst_registry_binary_load_pad_template),
10557 (gst_registry_binary_load_feature),
10558 (gst_registry_binary_load_plugin),
10559 (gst_registry_binary_read_cache):
10560 * gst/gstregistrybinary.h:
10561 Use glib types, cleanup comments, impement interfaces and uri-types.
10563 2007-01-13 Andy Wingo <wingo@pobox.com>
10565 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10566 getrange() to return buffers with other caps, while we fix
10567 demuxers and typefind, or otherwise change part-negotiation.txt.
10569 2007-01-12 Andy Wingo <wingo@pobox.com>
10571 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10572 Factor start/stop into this private function instead of partially
10573 in activate functions and partially in the change_state function.
10574 Fixes setup before the element has changed from READY->PAUSED, as
10575 is the case in pull-mode pipelines.
10576 (gst_base_transform_sink_activate_push)
10577 (gst_base_transform_src_activate_pull): Refactor to use
10578 gst_base_transform_activate().
10579 (gst_base_transform_change_state): Removed, not needed any more.
10581 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10582 Truncate before fixating.
10584 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10585 Don't set_caps() if the result of fixating is ANY, as it's not
10586 supported, and not necessary in the case of a link with no
10587 template caps on either side. Fixes tests/check/libs/basesrc in
10588 some pull-mode tests.
10590 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10591 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10592 (gst_base_transform_src_activate_pull):
10593 Track the activation mode.
10594 (gst_base_transform_setcaps): In pull mode, when activating the
10595 src pad, after activating the sink pad, activate the sink pad's
10596 peer, as discussed in part-negotiation.txt.
10598 * libs/gst/base/gstbasesrc.h:
10599 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10600 vmethod, as in basesink.
10602 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10604 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10605 mode, first proxy the setcaps to the peer pad.
10606 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10607 new fixate vmethod.
10608 (gst_base_sink_default_activate_pull): Rename from
10609 gst_base_sink_activate_pull.
10610 (gst_base_sink_negotiate_pull): New function, performs negotiation
10611 in pull mode before calling ::activate_pull().
10612 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10613 vmethod instead of the default implementation. I have no idea how
10614 this worked before. Negotiate before calling activate_pull.
10616 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10617 sink pads in pull mode. In addition to being correct, fixes
10618 filesrc ! decodebin ! identity ! fakesink.
10619 (gst_pad_get_range, gst_pad_pull_range): Don't call
10620 gst_pad_set_caps() if the caps changes; instead error out with
10621 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10623 2007-01-12 Andy Wingo <wingo@pobox.com>
10625 * docs/design/part-negotiation.txt: Update with more policy.
10627 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10629 * libs/gst/check/gstbufferstraw.h:
10630 * libs/gst/check/gstcheck.h:
10631 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10634 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10636 * tests/check/Makefile.am:
10637 * tests/check/gst/.cvsignore:
10638 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10639 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10640 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10641 (GST_START_TEST), (gst_tag_setter_suite):
10642 Add minimal unit test for beforementioned GstTagSetter bug.
10644 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10646 Patch by: René Stadler <mail at renestadler dot de>
10648 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10649 gst_tag_list_merge() returns a new list, so it's not the best idea
10650 to ingore its return value. Effectively meant that tags could only
10651 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10652 Also add function guard to require a non-NULL taglist as input (has
10653 always been so due to gst_tag_list_copy(), just making it explicit).
10655 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10657 * docs/random/draft-missing-plugins.txt:
10658 Some additions: mention new API that is supposed to be used at the
10659 various stages; short blob about new gst-inspect introspection
10660 option; mention potential future problem with plugins that have
10661 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10663 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10665 * tools/gst-inspect.c:
10666 (print_plugin_automatic_install_info_codecs),
10667 (print_plugin_automatic_install_info_protocols),
10668 (print_plugin_automatic_install_info), (main):
10669 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10670 introspect plugin files and get machine-parsable output that corresponds
10671 to the last bit of the missing-plugin installer string (small gotcha:
10672 doesn't take into account ranks).
10674 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10677 * docs/gst/gstreamer-sections.txt:
10679 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10680 (gst_registry_lookup_locked):
10681 * gst/gstregistry.h:
10682 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10683 (gst_registry_binary_initialize_magic),
10684 (gst_registry_binary_save_string),
10685 (gst_registry_binary_save_pad_template),
10686 (gst_registry_binary_save_feature),
10687 (gst_registry_binary_save_plugin),
10688 (gst_registry_binary_write_cache),
10689 (gst_registry_binary_check_magic),
10690 (gst_registry_binary_load_pad_template),
10691 (gst_registry_binary_load_feature),
10692 (gst_registry_binary_load_plugin),
10693 (gst_registry_binary_read_cache):
10694 * gst/gstregistrybinary.h:
10695 * gst/gstregistryxml.c: (load_feature),
10696 (gst_registry_xml_read_cache):
10697 commit binary registry (disabled by default, see #359653)
10699 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10701 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10702 Fix 'make check' too.
10704 2007-01-10 Andy Wingo <wingo@pobox.com>
10706 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10709 * docs/design/part-negotiation.txt: Update with, um, one way that
10710 pull-mode negotiation might work?
10713 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10714 that the pad must be a src pad; makes sense to call it the other
10715 way in pull mode, and the logic is symmetric anyway.
10717 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10719 * plugins/elements/gstfilesink.c:
10720 Include <stdio.h> for fseeko().
10722 2007-01-10 Wim Taymans <wim@fluendo.com>
10726 Reserve LATENCY event.
10728 2007-01-09 Wim Taymans <wim@fluendo.com>
10730 * docs/design/draft-latency.txt:
10733 2007-01-09 Wim Taymans <wim@fluendo.com>
10735 * docs/design/draft-latency.txt:
10738 * gst/gstelement.h:
10739 * gst/gststructure.c:
10743 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10745 * tests/check/.cvsignore:
10746 Ignore test-registry.xml as well.
10748 2007-01-09 Wim Taymans <wim@fluendo.com>
10750 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10751 unref data at the end when we are done with the pad.
10753 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10755 * docs/gst/gstreamer-sections.txt:
10756 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10757 (init_post), (gst_deinit), (gst_update_registry):
10759 API: add gst_update_registry() (#391296).
10761 * tests/check/Makefile.am:
10762 * tests/check/gst/gstregistry.c:
10763 * tests/check/gst/.cvsignore:
10764 Simple unit test for the above.
10766 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10768 * gst/gstregistry.c: (gst_registry_scan_path_level):
10769 Plugin extension on HP-UX is .sl, add that to the list of approved
10770 plugin extensions (see #393796).
10772 * tests/check/gst/gstpad.c: (GST_START_TEST):
10773 ulong => gulong. Fixes compilation with HP-UX compiler.
10775 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10776 Fix compilation if valgrind headers are not available.
10778 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10780 * win32/common/libgstreamer.def:
10781 Add new exported function.
10782 * win32/vs6/libgstbase.dsp:
10783 Add gstdataqueue.c to the build.
10784 * win32/vs6/libgstcoreelements.dsp:
10785 Add gstmultiqueue.c to the build.
10787 2007-01-06 Andy Wingo <wingo@pobox.com>
10789 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10790 activate_pull(), providing for a way to specialize the process of
10791 spawning a thread to pull on the sink pad. There is a default
10794 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10795 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10796 (gst_base_sink_init): Renamed pad activation functions (inserting
10797 "_pad" in their names). Refactor to use the new activate_pull
10798 vmethod, as appropriate.
10799 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10800 default activate_pull function to start a task pulling from the
10801 sink pad, as before.
10803 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10804 on the pads if necessary, as in push()/chain(). Update docs.
10805 Shouldn't affect existing pull() usage as it is currently only
10806 being used on buffers without caps.
10808 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10810 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10812 Call g_thread_init() first thing in gst_init() / gst_check_init().
10813 When initialisation is done via gst_init_get_option_group() and
10814 GOption parsing, issue a warning if the GLib thread system has not
10815 been initialised yet by the time gst_init_get_option_group() is
10816 called, as it's quite likely other GLib functions such as
10817 g_option_context_new() have been called already then, and
10818 g_thread_init() must be called before any other GLib function. The
10819 application in question must be fixed in that case, since memory
10820 corruption might happen otherwise.
10821 We issue the warning because even if the GLib folks decide to work
10822 around the problem on their end in future, this is still an issue
10823 with all GLib versions >= 2.10.0, so we should warn until we depend
10824 on a GLib version we know to be safe.
10825 Update documentation as well.
10826 Closes bug #391278.
10828 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10830 * tools/gst-inspect.c: (main):
10831 * tools/gst-launch.c: (main):
10832 * tools/gst-typefind.c: (main):
10833 * tools/gst-xmlinspect.c: (main):
10834 Call g_thread_init() really really early, before any other GLib
10835 function (see #342564 and recent discussion on gtk-devel-list).
10837 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10839 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10841 * gst/gst_private.h:
10842 * gst/gstconfig.h.in:
10844 On win32, all the __declspec stuff for symbol exporting is
10845 apparently only needed with MSVC, but doesn't work with MingW.
10846 Fixes compilation with MingW and #391909.
10848 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10850 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10851 Change some GST_ERROR_OBJECT that aren't really errors to
10852 GST_WARNING_OBJECT in order to reduce terminal spam.
10854 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10856 * tests/check/Makefile.am:
10857 disable test again, as there seem to be still race problems
10859 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10861 * tests/check/Makefile.am:
10862 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10863 (GST_START_TEST), (queue_suite):
10864 enable queue test again, add tests for the leaky behaviour
10866 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10869 * tests/examples/Makefile.am:
10870 Compile adapter test/example only if the required headers are
10871 available (fixes #391915).
10873 2007-01-01 David Schleef <ds@schleef.org>
10876 Restore the previous signal handler for SIGSEGV instead of
10877 setting to default, since we may have stolen it away from
10878 someone. (i.e., Mono)
10880 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10882 * docs/random/draft-missing-plugins.txt:
10883 Some small additions and clarifications.
10885 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10887 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10888 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10889 since that can lead to random memory corruptions and crashes
10890 (may or may not be related to #383244, #386711, and #386711).
10892 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10894 * tests/check/.cvsignore:
10895 * tests/check/Makefile.am:
10896 sync .cvsignome and CLEANFILES
10898 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10900 * tests/check/Makefile.am:
10903 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10905 * docs/design/part-states.txt:
10906 two tiny additional comments
10908 * gst/gststructure.c:
10911 * tests/check/Makefile.am:
10912 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10914 disable test for now, unless it gets fixed
10916 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10918 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10920 fix race in underrun test
10922 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10924 * tests/check/elements/.cvsignore:
10927 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10929 try to narrow test failure
10931 2006-12-21 David Schleef <ds@schleef.org>
10933 * plugins/elements/gstfakesrc.c:
10934 Use g_random_int_range(), since it produces better random
10935 numbers in a range than almost-correct floating point code.
10937 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10939 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10940 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10941 (gst_check_teardown_sink_pad):
10942 do not automatically (de)activate pads
10944 * tests/check/Makefile.am:
10945 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10946 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10947 add new, yet simple tests for queue
10949 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10950 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10951 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10953 * tests/check/elements/identity.c: (cleanup_identity):
10954 consistent pad (de)activation
10956 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10958 Patch by: Sebastian Dröge <slomo ubuntu com>
10960 * libs/gst/base/gstcollectpads.c:
10961 Fix two doc typos (#387866).
10963 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10965 * docs/manual/advanced-dparams.xml:
10966 Fix typo (g_object_control_properties() doesn't exist).
10968 2006-12-19 Edward Hervey <edward@fluendo.com>
10970 * gst/gstsegment.c: (gst_segment_set_seek):
10971 Fine tune the cases where the segment start/stop values are really
10973 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10974 Add tests for the return values of gst_segment_set_seek().
10976 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10981 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10983 Fix incorrect documentation and flesh it out a bit more.
10984 Set default values for the max properties on the GParamSpec as well,
10985 so it shows up correctly in gst-inspect.
10987 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10989 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10990 Correct docs of queue, add more detail and crosslink it more.
10992 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10994 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10995 Print additional debug info when the stream isn't perfectly
10996 timestamped; don't try to use invalid durations.
10998 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11000 * docs/design/Makefile.am:
11001 Dist new design docs.
11003 2006-12-16 Wim Taymans <wim@fluendo.com>
11005 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11007 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11008 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11009 (gst_collect_pads_stop), (gst_collect_pads_event),
11010 (gst_collect_pads_chain):
11011 * libs/gst/base/gstcollectpads.h:
11012 Add refcounting to the collectpads data so we can track when it's safe
11013 to free the data. Fixes #383382.
11015 2006-12-15 Wim Taymans <wim@fluendo.com>
11017 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11018 (gst_collect_pads_remove_pad):
11019 Automatically activate/deactivate pads when they are added to a
11020 started/stoped collectpads.
11022 2006-12-15 Wim Taymans <wim@fluendo.com>
11024 * gst/gstelement.c: (gst_element_add_pad):
11025 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11026 * gst/gstpad.c: (gst_pad_init):
11027 Set pads to FLUSHING when they are created. Check, warn and fix when a
11028 demuxer adds an inactive pad to itself when running. Fixes #339326.
11030 2006-12-15 Wim Taymans <wim@fluendo.com>
11032 * gst/gstelement.c: (gst_element_class_init),
11033 (gst_element_default_send_event), (gst_element_send_event),
11034 (gst_element_default_query), (gst_element_query):
11035 Expose default element send_event and query handling as vmethods that
11036 subclasses can chain up to.
11038 2006-12-15 Wim Taymans <wim@fluendo.com>
11040 * gst/gstelement.c: (gst_element_set_state_func):
11041 Small documentation fixes.
11043 2006-12-15 Wim Taymans <wim@fluendo.com>
11045 * docs/design/draft-latency.txt:
11046 Checked in draft for handling latency in pipelines.
11048 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11052 * gstreamer.spec.in:
11055 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11057 * gst/gst.c: (init_pre), (init_post):
11058 init_pre() and init_post() might be called via our GOptionGroup or
11059 from gst_init(), and we should skip both of them if we've already
11060 been initialised, otherwise we will init some things twice or add
11061 two default log functions.
11063 2006-12-13 Edward Hervey <edward@fluendo.com>
11065 * docs/manual/basics-bus.xml:
11066 No, gst_main_loop does not exist. Its g_main_loop.
11067 Discovered by somebody who abused the copy-paste technique of coding :)
11069 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11071 * gst/gstghostpad.c:
11072 Log ghostpad debug stuff to the GST_PADS category as well rather
11073 than just to the default category.
11075 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11078 * gst/gst.c: (init_pre):
11079 Add some basic system details such as OS and architecture
11080 to the debug output if possible, courtesy of uname().
11082 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11084 * docs/gst/running.xml:
11085 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11086 environment variables.
11088 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11090 * tests/check/gst/gstbin.c: (GST_START_TEST):
11091 It is acceptable to have a refcount of 2 or 3 at this point in the
11092 test, because the pipeline might be just posting its state_change
11093 message. The next line then waits for that message to appear using
11094 bus_poll, so that should be fine too.
11096 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11098 * gst/gst.c: (ensure_current_registry_forking):
11099 Ignore EINTR when reading from the child registry pipe.
11100 Explicitly ignore the return value from close, since it makes no
11103 * gst/gstminiobject.c: (gst_mini_object_ref),
11104 (gst_mini_object_unref):
11105 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11107 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11108 When removing cached plugins, remove their features too, so they're
11109 not visible after they've disappeared.
11111 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11112 In the unlikely case that we are linking pads with no parents, don't
11113 crash trying to get the non-existent parent bin.
11115 * gst/parse/grammar.y:
11116 Output debug in the PIPELINE category
11118 2005-03-08 Wim Taymans <wim@fluendo.com>
11120 Patch by: René Stadler <mail at renestadler dot de>
11122 * gst/gstclock.c: (gst_clock_new_periodic_id):
11123 Reject invalid clock times for interval of periodic ids.
11126 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11128 * gst/gstelementfactory.c: (gst_element_factory_create):
11129 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11130 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11131 * tools/gst-inspect.c: (print_element_info):
11132 Fix refcounting of gst_plugin_feature_load to match the docs.
11135 2006-12-07 Wim Taymans <wim@fluendo.com>
11137 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11138 (gst_base_sink_get_position):
11139 Improve debugging of events.
11141 2006-12-07 Wim Taymans <wim@fluendo.com>
11143 Patch by: René Stadler <mail at renestadler dot de>
11145 * gst/gstclock.c: (gst_clock_id_wait):
11146 Make period ids add the interval to the origial requested time instead
11147 of the possibly updated time which can be wrong when there are multiple
11148 waiters for the same id. Fixes #382592.
11150 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11151 (gst_system_clock_id_wait_jitter_unlocked),
11152 (gst_system_clock_id_wait_jitter):
11153 Fix restart in the async notify thread when an async entry is added to
11154 the front of the list. Fixes #381492.
11156 * tests/check/gst/gstsystemclock.c: (store_callback),
11157 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11158 Added test for multiple async waits.
11159 Added test for async wait order.
11161 2006-12-07 Wim Taymans <wim@fluendo.com>
11163 * gst/gstbin.c: (gst_bin_query):
11164 Add some more docs about the POSITION query.
11166 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11169 Bump version nano - back to CVS.
11171 === release 0.10.11 ===
11173 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11176 releasing 0.10.11, "Love never runs on time"
11178 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11180 * win32/common/libgstbase.def:
11181 * win32/common/libgstreamer.def:
11182 * win32/vs8/libgstbase.vcproj:
11183 * win32/vs8/libgstcoreelements.vcproj:
11184 * win32/vs8/libgstreamer.vcproj:
11185 Fix compilation on win32 under VS8
11186 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11187 Partially fixes #381175
11189 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11191 * gst/gstvalue.c: (gst_value_compare_fraction):
11192 If someone is foolish enough to compare 2 fractions with denominator =
11193 0, return UNORDERED rather than aborting.
11195 2006-11-28 Edward Hervey <edward@fluendo.com>
11197 * libs/gst/base/Makefile.am:
11198 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11199 (gst_data_queue_base_init), (gst_data_queue_class_init),
11200 (gst_data_queue_init), (gst_data_queue_new),
11201 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11202 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11203 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11204 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11205 (gst_data_queue_set_flushing), (gst_data_queue_push),
11206 (gst_data_queue_pop), (gst_data_queue_drop_head),
11207 (gst_data_queue_set_property), (gst_data_queue_get_property):
11208 * libs/gst/base/gstdataqueue.h:
11209 New GstDataQueue object for threadsafe queueing. Most useful for
11210 elements that need some queueing functionnality.
11211 * docs/libs/gstreamer-libs-docs.sgml:
11212 * docs/libs/gstreamer-libs-sections.txt:
11213 Insert documentation for GstDataQueue
11214 * plugins/elements/Makefile.am:
11215 * plugins/elements/gstelements.c:
11216 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11217 (gst_multi_queue_class_init), (gst_multi_queue_init),
11218 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11219 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11220 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11221 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11222 (gst_multi_queue_loop), (gst_multi_queue_chain),
11223 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11224 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11225 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11226 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11227 (wake_up_next_non_linked), (compute_next_non_linked),
11228 (single_queue_overrun_cb), (single_queue_underrun_cb),
11229 (single_queue_check_full), (gst_single_queue_new):
11230 * plugins/elements/gstmultiqueue.h:
11231 New multiqueue element, using GstDataQueue. Used for queuing multiple
11233 Closes #344639 and #347785
11235 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11237 * docs/pwg/advanced-types.xml:
11238 add more missing type details
11240 * tools/gst-run.c: (main):
11241 remove unused variable
11243 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11245 * docs/libs/Makefile.am:
11246 * docs/libs/gstreamer-libs.types:
11247 add types of base classes to enable gobject specific stuff in the docs
11249 * docs/random/ensonic/embedded.txt:
11250 more ideas about isolating platform specific things
11252 2006-11-20 Wim Taymans <wim@fluendo.com>
11254 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11256 * libs/gst/check/gstcheck.h:
11257 Fix compilation and running against 0.9.4. Fixes #377332.
11259 2006-11-20 Wim Taymans <wim@fluendo.com>
11261 * gst/gstsegment.c: (gst_segment_set_seek),
11262 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11263 (gst_segment_to_running_time):
11264 Fix boundary checking in to_running_time() and to_stream_time().
11267 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11268 stream and running time can now be calculated for the complete
11271 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11273 * gst/gstpad.c: (gst_pad_push_event):
11274 Can't access event structure after giving away ownership of
11277 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11279 * docs/random/ensonic/embedded.txt:
11280 * docs/random/ensonic/profiling.txt:
11281 * docs/random/ensonic/receipies.txt:
11284 2006-11-13 Wim Taymans <wim@fluendo.com>
11286 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11289 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11291 2006-11-13 Wim Taymans <wim@fluendo.com>
11293 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11295 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11296 Store new length in segment duration so we don't keep on calling the
11297 potentially expensize get_size() call. Fixes #370865.
11299 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11301 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11303 * win32/common/libgstreamer.def:
11304 Add two missing symbols (#366492).
11306 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11308 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11309 (gst_adapter_take_buffer):
11310 Fix format string to use all its arguments.
11311 Remove useless >= check on a guint
11313 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11315 * tests/examples/adapter/.cvsignore:
11316 Ignore build file as commanded by the build-bot
11318 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11320 * tests/examples/adapter/Makefile.am:
11321 * tests/examples/adapter/adapter_test.c: (run_test_take),
11322 (run_test_take_buffer), (run_tests), (main):
11324 Add new files from the previous commit
11326 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11330 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11331 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11332 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11333 * libs/gst/base/gstadapter.h:
11334 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11335 (GST_START_TEST), (gst_adapter_suite):
11336 * tests/examples/Makefile.am:
11337 Do some optimisation work in GstAdapter to avoid copies in more cases.
11338 It could still do slightly better by merging buffers when
11339 gst_buffer_is_span_fast is true, but is already faster.
11341 Also, avoid traversing a single-linked list to append each incoming
11342 buffer inside the adapter.
11344 Add simple test app that times the adapter behaviour in different
11345 situations, and extend the unit test to check that bytes enter and
11346 exit the adapter in their original order.
11348 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11350 * docs/random/draft-missing-plugins.txt:
11351 Update: use element message instead of adding a new message
11352 type to the core; don't provide GStreamer API to initiate the
11353 plugin download, just provide API to compose the strings needed
11354 and let an external libgimmestuff handle the rest.
11356 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11358 * tools/gst-inspect.c: (print_element_properties_info):
11359 Print a string instead of 'unknown type' for GValueArray properties
11361 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11363 * docs/random/draft-missing-plugins.txt:
11366 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11368 * tests/examples/typefind/typefind.c: (type_found), (main):
11369 Make typefind element example work again (#371894); add a
11372 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11374 * docs/random/draft-missing-plugins.txt:
11375 Commit initial draft about how to deal with missing plugins,
11376 needs work (API too).
11378 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11380 * docs/pwg/advanced-types.xml:
11381 documents the new caps elements (see #363118)
11383 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11385 * gst/gstplugin.c: (gst_plugin_load_file):
11386 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11387 (gst_file_src_map_region), (gst_file_src_start):
11388 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11389 (gst_file_index_commit):
11390 Use g_strerror() instead of strerror() - we want UTF-8.
11392 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11394 Patch by: Peter Kjellerstedt <pkj at axis com>
11396 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11397 Another printf fix (#371493).
11399 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11401 * tests/check/gst/gsttag.c:
11402 relicence (okay with author=company)
11404 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11406 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11407 (gst_pad_push_event):
11408 Enhance debug and improve docs
11413 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11415 * docs/random/ensonic/distributed.txt:
11416 * docs/random/ensonic/profiling.txt:
11419 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11421 * docs/gst/gstreamer-sections.txt:
11422 add new API and fix the build
11424 * gst/gstbin.c: (gst_bin_recalc_state):
11425 * gst/gstelement.c: (gst_element_message_full),
11426 (gst_element_get_state_func), (gst_element_set_state_func):
11427 use new API and improve logging
11429 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11431 API: add function to get StateChangereturn names to improve logs
11433 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11435 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11436 I'm considering shooting the next person to put strerror stuff
11437 in the translateable part of the message.
11439 2006-11-03 Wim Taymans <wim@fluendo.com>
11441 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11442 Get the type and printf conversion specifiers right.
11444 2006-11-03 Wim Taymans <wim@fluendo.com>
11446 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11448 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11449 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11450 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11451 Some small cleanups. Improve debugging.
11453 Signal all waiting threads with a broadcast instead of just one.
11456 2006-11-03 Wim Taymans <wim@fluendo.com>
11458 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11459 (gst_fd_src_create):
11460 Add some debugging.
11461 Only update fd when it's different from the old.
11463 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11465 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11466 Printf fixes for PPC/OSX, take two (#369366).
11468 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11470 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11472 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11473 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11474 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11475 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11476 don't cast to long long for portability reasons, but use
11477 GLib's types instead.
11479 2006-10-30 Michael Smith <msmith@fluendo.com>
11481 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11482 Get the arguments to lseek() the right way around.
11485 2006-10-30 Wim Taymans <wim@fluendo.com>
11487 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11490 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11492 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11494 Patch by: Kjartan Maraas <kmaraas at gnome org>
11496 * docs/design/part-MT-refcounting.txt:
11497 * docs/random/wtay/capsnego2-docs:
11500 Typo fixes (#366212).
11502 2006-10-28 Wim Taymans <wim@fluendo.com>
11504 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11507 * win32/common/libgstbase.def:
11508 * win32/common/libgstreamer.def:
11509 * win32/vs8/libgstbase.vcproj:
11510 * win32/vs8/libgstcontroller.vcproj:
11511 Add needed entries in .def files.
11513 Rearrange def files in vs8 solutions. Fixes #366286.
11515 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11517 * win32/common/gstconfig.h:
11518 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11519 hand-made win32 gstconfig.h. Fixes #366321.
11521 2006-10-27 Wim Taymans <wim@fluendo.com>
11523 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11524 (gst_ghost_pad_new_full):
11525 Make acceptcaps return TRUE when we don't have a target, just like
11528 2006-10-27 Wim Taymans <wim@fluendo.com>
11530 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11531 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11533 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11535 * gst/gststructure.c: (gst_structure_id_set_value):
11536 If someone tries to set a non-UTF8 string field on a structure,
11537 don't just print a warning, but also ignore the request and do
11538 not change/add that field to the structure.
11540 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11541 Test for the above.
11543 2006-10-25 David Schleef <ds@schleef.org>
11546 g_hash_table_insert() needs a cast to a non-const pointer duh.
11548 2006-10-25 David Schleef <ds@schleef.org>
11552 Change name parameter of _gst_debug_register_funcptr to const
11553 to reflect the constness of its use in the function as well
11554 as to quiet a gcc warning.
11556 2006-10-25 Edward Hervey <edward@fluendo.com>
11558 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11559 Don't push the buffer if it's empty.
11562 2006-10-24 Wim Taymans <wim@fluendo.com>
11567 * libs/gst/base/gstbasetransform.c:
11568 (gst_base_transform_sink_eventfunc):
11569 Debug segment values *after* updating them as this is more
11572 2006-10-23 Wim Taymans <wim@fluendo.com>
11574 * docs/design/part-events.txt:
11577 * docs/design/part-block.txt:
11578 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11579 (gst_pad_push_event):
11580 Revert BLOCKING patch, it tries to be smart without really having a
11581 clear idea what or how. So, now we discard all FLUSHING events again on
11582 a blocking pad. Should fix gnonlin again.
11584 2006-10-23 Wim Taymans <wim@fluendo.com>
11586 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11588 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11589 (gst_base_src_start), (gst_base_src_activate_push):
11590 Make sure size is always initialized. Fixes #364388.
11592 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11594 * docs/random/ensonic/distributed.txt:
11595 add some ideas about doing distributed processing
11597 * docs/random/ensonic/profiling.txt:
11598 get_rusage look promising
11600 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11602 * docs/manual/basics-helloworld.xml:
11603 Add a cast in example to fix compile warning
11605 2006-10-18 Wim Taymans <wim@fluendo.com>
11607 * gst/gstsegment.c: (gst_segment_set_last_stop),
11608 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11609 Relax arg checking again, -1 is allowed.
11611 2006-10-18 Wim Taymans <wim@fluendo.com>
11613 * gst/gstsegment.c: (gst_segment_set_last_stop),
11614 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11615 _set_last_stop() must be with a value != -1
11616 A _TYPE_SET to -1 means seek to 0.
11617 Calc last_stop correctly for negative rates.
11618 Make sure we work with positive durations when updating a segment.
11620 2006-10-18 Wim Taymans <wim@fluendo.com>
11622 * docs/design/part-live-source.txt:
11626 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11629 Add an explicit cast to GstBuffer** to keep old code that added an
11630 explicit cast to GstMiniObject** for gst_mini_object_replace()
11631 compiling without warning.
11633 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11635 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11636 check for validity of dates
11638 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11640 * docs/gst/gstreamer-sections.txt:
11641 Forgot this one, makes gtk-doc shut up.
11643 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11645 Patch by: Peter Kjellerstedt <pkj at axis com>
11648 Don't define xmlNodePtr to gpointer if the core was built with
11649 --disable-loadsave and --disable-registry, this will break
11650 applications that want to use libxml2 but are buildling against a
11651 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11652 instead so we don't have to mess with the libxml2 namespace
11655 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11658 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11659 type-punned pointer warnings.
11661 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11663 * gst/gstelement.h:
11664 Add casts to the correct return type to state <=> state transition
11667 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11669 * docs/design/part-live-source.txt:
11670 describe howto handle latency
11672 * docs/random/ensonic/profiling.txt:
11675 * tools/gst-plot-timeline.py:
11676 fix log parsing for solaris, remove unused function
11678 2006-10-16 Wim Taymans <wim@fluendo.com>
11680 * docs/design/part-trickmodes.txt:
11682 Update some docs regarding reverse playback.
11684 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11686 Patch by: Marcus Granado <mrc dot gran at gmail com>
11688 * win32/vs8/grammar.vcproj:
11689 Error out with a warning if glib-genmarshal.exe is not in path,
11690 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11692 2006-10-13 Wim Taymans <wim@fluendo.com>
11694 * gst/gstsegment.c: (gst_segment_set_seek):
11695 When seeking to stop -1, set last_stop (current position) to the
11696 duration of the segment.
11698 2006-10-13 Wim Taymans <wim@fluendo.com>
11700 * gst/gstelement.h:
11701 Clarify _NO_PREROLL a bit more.
11706 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11707 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11708 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11709 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11710 due to wrong locking order. Fixes #361769.
11711 Remove some redundant/misplaced checks in pad_block.
11713 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11714 For negative rates, count backwards from the duration.
11716 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11718 * gst/gsterror.c: (_gst_library_errors_init):
11719 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11720 up with something better).
11722 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11724 * win32/vs6/libgstreamer.dsp:
11725 * win32/vs7/libgstreamer.vcproj:
11726 * win32/vs8/libgstreamer.vcproj:
11727 Don't reference glib-compat.c which is currently not used and not
11728 disted; add gstquark.c which was recently added. Fixes #361730.
11730 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11732 * win32/common/libgstbase.def:
11733 * win32/common/libgstcontroller.def:
11734 * win32/common/libgstreamer.def:
11735 Add gst_caps_merge() and a bunch of other recently-added functions.
11738 2006-10-11 Wim Taymans <wim@fluendo.com>
11740 * docs/plugins/gstreamer-plugins.args:
11741 * docs/plugins/inspect/plugin-coreelements.xml:
11742 * docs/plugins/inspect/plugin-coreindexers.xml:
11743 Update element args.
11745 * gst/gstsystemclock.c:
11746 Small comment update.
11748 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11749 (gst_tee_request_new_pad), (gst_tee_release_pad),
11750 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11751 (gst_tee_sink_activate_pull):
11752 * plugins/elements/gsttee.h:
11754 Add default property defines.
11755 Implement release pad function.
11756 Give properties better blubs etc.
11757 Activate pads before adding them to a running tee.
11758 Do simple buffer_alloc on the first requested pad.
11759 Post error when activation fails.
11761 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11763 * gst/gst.c: (ensure_current_registry_forking):
11764 Check return value of write() to make compiler happy.
11766 2006-10-11 Wim Taymans <wim@fluendo.com>
11768 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11770 * plugins/elements/gstqueue.c: (gst_queue_chain):
11771 Recheck queue filledness after signalling the overrun when we're about
11772 to leak downstream because we released the lock when emitting the signal
11773 and the queue could be empty again. Fixes #352345.
11775 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11777 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11778 Fix refcounting here too, just like we did for _new_valist() a few
11779 days ago (#357180) (thanks to René Stadler). Also remove all those
11780 'Since: 0.9' from the gtk-doc blobs.
11782 * tests/check/libs/controller.c: (controller_refcount_new_list),
11783 (gst_controller_suite):
11784 Unit test for the above.
11786 2006-10-10 Wim Taymans <wim@fluendo.com>
11788 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11790 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11791 (gst_pad_save_thyself):
11793 Write pad direction in XML output. Fixes #345496.
11795 2006-10-10 Wim Taymans <wim@fluendo.com>
11797 Patch by: René Stadler <mail at renestadler dot de>
11799 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11800 (gst_controller_new_list), (_gst_controller_dispose),
11801 (_gst_controller_finalize), (_gst_controller_class_init):
11802 Take ref to controlled object so that it cannot disappear.
11805 2006-10-10 Wim Taymans <wim@fluendo.com>
11807 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11808 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11809 (gst_check_teardown_sink_pad):
11810 Activate/deactivate pads in setup/teardown respectively.
11812 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11814 Patch by: Josep Torra Valles <josep@fluendo.com>
11817 Cast values when making gstenumtypes.h. This pacifies Forte
11818 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11819 in the enumeration.
11821 2006-10-09 Wim Taymans <wim@fluendo.com>
11823 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11824 Rename some more @cur to @start to fix docs.
11826 * gst/gstsegment.c: (gst_segment_set_seek):
11828 time and start must always stay in sync as defined in design doc.
11830 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11831 Rename param to fix docs.
11833 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11834 Check that start and time are in sync.
11836 * tests/check/pipelines/parse-launch.c:
11837 (gst_parse_test_element_change_state):
11838 Activate pad before adding to the element.
11840 2006-10-09 Wim Taymans <wim@fluendo.com>
11842 * docs/design/part-qos.txt:
11847 Update seek event docs regarding negative rates.
11848 Rename @cur to @start.
11850 * gst/gstsegment.c: (gst_segment_set_seek):
11851 * gst/gstsegment.h:
11852 Update set_seek docs regarding negative rates.
11853 Correctly update last_stop to @stop when dealing with negative
11855 Rename @cur to @start.
11857 * tests/check/gst/gstpad.c: (GST_START_TEST):
11858 Activate pads before trying to use them.
11860 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11861 (gst_segment_suite):
11862 Add simple check for segments and negative rates.
11864 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11866 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11867 * gst/gsttaglist.h:
11868 * docs/gst/gstreamer-sections.txt:
11869 API: add gst_tag_list_is_empty() (#360467).
11871 * tests/check/gst/gsttag.c: (GST_START_TEST):
11874 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11876 * gst/gstmessage.h:
11877 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11878 a value that doesn't fit on enumeration.
11880 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11882 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11883 Remove local debugging system and use Gstreamer's instead.
11885 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11887 Patch by: Josep Torra Valles <josep@fluendo.com>
11889 * common/m4/gst-error.m4:
11890 Disable warning of statement not reached on Forte.
11891 * gst/gstmessage.h:
11892 Fix warning on Forte (value doesn't fit on enumeration).
11893 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11894 Fix warning on Forte (value doesn't fit on enumeration).
11895 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11896 DEBUG macro says it takes minimum of 2 args and so Forte
11897 complains about the use with just 1 arg.
11898 * plugins/elements/gstfdsink.c:
11899 * plugins/elements/gstfdsrc.c:
11900 * plugins/elements/gstfilesink.c:
11901 * plugins/elements/gstfilesrc.c:
11902 Use correct return type for the uri handler implementations.
11904 All these fix warnings in Forte. Fixes bug #360860.
11906 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11908 * gst/gstelement.h:
11909 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11910 format string, so don't use G_GNUC_PRINTF for those versions.
11912 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11914 * gst/gsttaglist.c: (gst_is_tag_list):
11915 * gst/gsttaglist.h:
11916 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11918 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11919 Small test for the above.
11921 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11923 * gst/gsttaglist.h:
11924 Less tabs, more spaces.
11926 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11929 Those two function declarations do actually belong there, revert
11930 commit from yesterday that turned them intro macros.
11932 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11934 Patch by: Josep Torra Valles <josep@fluendo.com>
11936 * gst/gst.c: (gst_init_get_option_group):
11937 Fix empty declaration and type mismatch.
11938 * gst/gstbin.c: (gst_bin_change_state_func):
11940 * gst/gstelement.c: (gst_element_continue_state),
11941 (gst_element_set_state_func), (gst_element_change_state),
11942 (gst_element_change_state_func):
11943 Fix type mismatches.
11944 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11945 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11946 Cast as appropriate.
11947 * gst/gstobject.c: (gst_class_signal_connect):
11948 Cast as appropriate. The function pointer parameter really
11949 has the wrong type but would break API if we change it.
11951 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11952 order of including string.h.
11953 * gst/gstutils.c: (gst_element_state_get_name):
11954 Remove unreachable line.
11955 * gst/gstxml.c: (gst_xml_parse_doc):
11957 All these caught by Forte.
11959 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11961 Patch by: Josep Torra Valles <josep@fluendo.com>
11963 * common/m4/gst-error.m4:
11965 We need to disable warnings on Forte for empty declarations
11966 due to gst-indent adding ;s to lines that just use macros
11967 where the macro actually doesn't need a ; at end to end
11970 2006-10-06 Wim Taymans <wim@fluendo.com>
11972 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11973 (gst_file_sink_close_file), (gst_file_sink_event),
11974 (gst_file_sink_render):
11975 Add some FIXME for the NEWSEGMENT handling.
11977 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11979 * gst/parse/grammar.y:
11980 Remove static function gst_parse_element_lock as all it does
11981 is return. Looks like cruft from 0.8.
11983 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11985 Patch by: Josep Torra Valles <josep@fluendo.com>
11987 * common/m4/gst-error.m4:
11989 * libs/gst/net/Makefile.am:
11990 Fix a compilation issue with Forte on Solaris. inet_aton is in
11993 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11995 * gst/gstpad.c: (pre_activate):
11996 * gst/gstregistry.c: (gst_registry_scan_path_level):
11997 * gst/gstregistryxml.c: (load_plugin):
11998 * libs/gst/controller/gstcontroller.c:
11999 (gst_controlled_property_set_interpolation_mode):
12000 * libs/gst/dataprotocol/dataprotocol.c:
12001 (gst_dp_packet_from_event_1_0):
12002 * libs/gst/net/gstnetclientclock.c:
12003 (gst_net_client_clock_observe_times):
12004 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12007 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12010 * docs/gst/gstreamer-sections.txt:
12011 * gst/gstconfig.h.in:
12012 * gst/gstelement.h:
12014 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12015 whether we can use G_GNUC_PRINTF in other header files and at
12016 least check the printf format/arguments of debug messages and
12017 GST_ELEMENT_ERROR messages when the printf extension is not
12019 Replace more tabs with spaces in gstinfo.h and remove two spurious
12020 function declarations in GST_DISABLE_DEBUG part with macros.
12022 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12024 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12025 More docs for the sync-message signal (mention that it is not
12026 emitted by default); log message structures of messages posted on
12029 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12031 * gst/gst.c: (ensure_current_registry_forking):
12032 Use a pipe pair to receive status results from the forked child, and
12033 ignore the result from waitpid. Fixes #355499
12035 2006-10-02 Wim Taymans <wim@fluendo.com>
12037 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12038 (gst_ghost_pad_suite):
12041 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12044 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12046 2006-10-02 Edward Hervey <edward@fluendo.com>
12048 * docs/design/part-block.txt:
12049 Further explain the use of flushing on blocked pads.
12050 * docs/gst/gstreamer-sections.txt:
12051 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12052 (gst_pad_push_event):
12054 Added new GstPadFlag : GST_PAD_BLOCKING.
12055 Adds the notion of pads really blocking, which enables to properly
12056 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12058 API: gst_pad_is_blocking()
12059 API: GST_PAD_IS_BLOCKING() macro
12060 API: GST_PAD_BLOCKING GstPadFlag
12062 2006-10-02 Wim Taymans <wim@fluendo.com>
12064 Patch by: mrcgran <mrc.gran at gmail dot com>
12066 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12067 Filter the proxied caps against the padtemplate if we have one.
12069 * gst/gstquery.c: (gst_query_new_segment):
12070 Add include for gstinfo.h so that compilation with
12071 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12073 2006-10-02 Wim Taymans <wim@fluendo.com>
12075 Patch by: Alessandro Decina <alessandro at nnva org>
12077 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12078 (gst_file_sink_set_location), (gst_file_sink_open_file),
12079 (gst_file_sink_close_file), (gst_file_sink_event),
12080 (gst_file_sink_render):
12081 Set file to NULL when closing filesink so that we can set a new filename
12082 in READY. Fixes #358613.
12084 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12086 Patch by: Alessandro Decina <alessandro at nnva org>
12088 * gst/gstevent.c: (_gst_event_copy):
12089 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12090 with event structures by setting the parent refcount address of the
12091 copied structure to the address of the refcount member of the newly
12092 copied event rather than the address of the refcount member of the
12093 original event. Fixes #358737.
12095 * tests/check/gst/gstevent.c: (GST_START_TEST):
12096 Unit test for the above.
12098 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12100 * docs/design/Makefile.am:
12101 Dist some more files.
12103 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12105 * tests/check/libs/controller.c: (GST_START_TEST),
12106 (gst_controller_suite):
12107 Add test for the previous fix; add some more tests
12108 for correct refcounting behaviour; fix a few leaks
12109 in test cases; call gst_controller_init() at start
12112 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12114 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12115 (gst_controller_set_from_list):
12116 Don't g_return_val_if_fail() on timed values with invalid timestamps
12117 inside a critical section without unlocking the mutex. Spotted by
12118 René Stadler. (#357617)
12119 Also, fix up refcounting properly: when returning an existing
12120 controller, we should increase the reference only once and not
12121 once per property and when trying to control a property again
12122 we should also increase the refcount.
12124 2006-09-29 Wim Taymans <wim@fluendo.com>
12126 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12127 * libs/gst/net/gstnettimeprovider.c:
12128 (gst_net_time_provider_thread):
12129 Stop reading commands when EOF as well.
12131 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12132 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12133 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12134 Unify description of the dump property.
12136 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12138 * tests/examples/manual/.cvsignore:
12139 OK, so it's actually cvsignore that needs changing. Stop laughing.
12141 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12143 * tests/examples/manual/Makefile.am:
12144 Gah, declare vars *before* using them
12146 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12148 * gst/gst.c: (init_pre), (scan_and_update_registry),
12149 (ensure_current_registry_nonforking),
12150 (ensure_current_registry_forking), (ensure_current_registry),
12151 (init_post), (gst_debug_help), (gst_deinit):
12152 * gst/gst_private.h:
12153 * gst/gstregistry.c: (gst_registry_finalize),
12154 (gst_registry_remove_features_for_plugin_unlocked),
12155 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12156 (gst_registry_scan_path),
12157 (_priv_gst_registry_remove_cache_plugins),
12158 (_priv_gst_registry_cleanup):
12159 * gst/gstregistry.h:
12160 Re-commit the registry changes, along with an extra fix:
12161 When a cached plugin is encountered at a different file path,
12162 update the stored path in the registry cache so that the parent
12163 process knows where it actually is now when it re-reads the registry
12164 cache. Fixes the thing that broke distcheck with the previous commit.
12166 * tests/check/Makefile.am:
12167 Clean up files named 'core' too when running make clean.
12169 * tests/examples/manual/Makefile.am:
12170 Set up a registry path for running these tests, and clean it properly
12173 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12176 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12177 want gmodule-no-export-2.0.pc instead so that we don't drag in
12178 --export-dynamic on every project that links to GStreamer.
12180 Also, make our export regex only match the start of symbols, rather
12181 than any symbol that contains '_gst' somewhere.
12183 * libs/gst/check/Makefile.am:
12184 The libgstcheck we build does however need export-dynamic, as it
12185 produces some symbols that don't match our _gst... style regex.
12188 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12190 * gst/gst.c: (init_pre), (scan_and_update_registry),
12191 (ensure_current_registry_nonforking),
12192 (ensure_current_registry_forking), (ensure_current_registry),
12193 (init_post), (gst_debug_help), (gst_deinit):
12194 * gst/gst_private.h:
12195 * gst/gstregistry.c: (gst_registry_finalize),
12196 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12197 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12198 (_gst_registry_cleanup):
12199 * gst/gstregistry.h:
12200 Revert previous change until I figure out why it breaks distcheck.
12202 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12204 * gst/gst.c: (init_pre), (scan_and_update_registry),
12205 (ensure_current_registry_nonforking),
12206 (ensure_current_registry_forking), (ensure_current_registry),
12207 (init_post), (gst_debug_help), (gst_deinit):
12209 Make init_pre and init_post take the full complement of GOptionFunc
12210 args so they can return useful GErrors. Make the registry updating
12213 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12214 ensure that the registry we're about to write out doesn't contain
12215 stale information about old-deleted plugin files.
12217 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12218 that deletion of plugin files is considered a registry change.
12220 * gst/gst_private.h:
12221 * gst/gstregistry.c: (gst_registry_finalize),
12222 (gst_registry_remove_features_for_plugin_unlocked),
12223 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12224 (gst_registry_scan_path),
12225 (_priv_gst_registry_remove_cache_plugins),
12226 (_priv_gst_registry_cleanup):
12227 * gst/gstregistry.h:
12228 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12229 by adding _priv prefix, so that they won't appear in the global
12230 symbol table. They still do atm though because of #318031. Move the
12231 prototypes to gst_private.h
12233 When removing a plugin, remove all features for that plugin too.
12236 2006-09-27 Wim Taymans <wim@fluendo.com>
12238 * docs/random/moving-plugins:
12239 Make it clear that the "compiled-in descriptions" really mean
12240 the element details.
12242 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12243 (gst_base_sink_wait_preroll):
12246 * docs/libs/gstreamer-libs-sections.txt:
12247 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12248 (gst_base_src_get_range), (gst_base_src_activate_push):
12249 * libs/gst/base/gstbasesrc.h:
12250 Added function to block while waiting for PLAYING, this function
12251 is used by live sources that block on the clock.
12252 API: gst_base_src_wait_playing()
12254 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12256 Patch by: Peter Kjellerstedt <pkj at axis com>
12259 gst-element-check.m4 is generated and should therefore be
12260 copied from the build dir rather than the source dir (#357593).
12261 'make distcheck' hasn't noticed this because we were disting
12262 the file as well, so stop doing that.
12264 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12266 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12267 Add some tests for gst_caps_intersect().
12269 * tools/gst-launch.c: (event_loop):
12270 Print all buffering percentages we get, even the 100% one.
12272 2006-09-26 Wim Taymans <wim@fluendo.com>
12274 * tools/gst-inspect.c: (print_element_properties_info),
12275 (print_signal_info):
12276 Fix printing of flags to match the look of enums.
12278 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12280 * gst/gstelementfactory.c:
12281 Fix typo in docs blurb.
12283 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12285 * gst/gsturi.c: (search_by_entry):
12286 Don't assert/crash here if a uri handler doesn't return any
12287 supported protocols. The list of protocols could be generated
12288 dynamically at runtime or at plugin registration, and an error
12289 in the underlying library shouldn't be fatal (#353301).
12291 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12294 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12295 (spotted by Peter Kjellerstedt).
12297 2006-09-23 Wim Taymans <wim@fluendo.com>
12299 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12301 * libs/gst/base/gstbasesrc.c:
12302 (gst_base_src_default_check_get_range), (gst_base_src_start),
12303 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12304 (gst_base_src_change_state):
12305 Match _start/_stop calls in the activate functions. Remove redundant
12306 _stop call from the state change function. Fixes #356910.
12307 Turn failure DEBUG into ERROR.
12309 2006-09-22 Wim Taymans <wim@fluendo.com>
12311 * docs/design/part-buffering.txt:
12312 * gst/gstmessage.c: (gst_message_new_buffering),
12313 (gst_message_parse_buffering):
12314 Update docs about buffering.
12316 * docs/design/part-trickmodes.txt:
12319 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12321 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12322 (gst_controller_new_list):
12323 Ref instances when returning them again (fixes #357180)
12325 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12327 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12328 Don't forget to release proxy lock when there's an error.
12330 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12333 Add extra initialisers for Caps things, to fix some plugin warnings
12336 2006-09-18 Wim Taymans <wim@fluendo.com>
12338 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12339 Also set template on the internal pad so that a getcaps from the
12340 target pad returns the template caps.
12342 2006-09-18 Wim Taymans <wim@fluendo.com>
12344 * gst/gstelement.c: (gst_element_post_message),
12345 (gst_element_dispose):
12346 Use _DEBUG_OBJECT some more.
12348 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12351 * tools/gst-launch.c: (main):
12352 If the toplevel element is not a GstPipeline, it must be put in a
12353 pipeline so that a bus and clock is selected.
12355 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12357 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12358 JITTER, RATE, and LATENCY query should be handled by the
12359 default case and not by the CONVERT query code.
12361 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12363 * gst/gstformat.c: (gst_format_register):
12364 Fix locking order (must take lock before using n_values).
12366 * gst/gstvalue.c: (gst_value_serialize_enum),
12367 (gst_value_deserialize_enum_iter_cmp),
12368 (gst_value_deserialize_enum):
12369 Fix serialisation/deserialisation of custom registered GstFormats.
12371 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12372 Unit test for custom format serialisation/deserialisation.
12374 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12376 * docs/pwg/building-boiler.xml:
12377 * plugins/elements/gstcapsfilter.c:
12378 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12381 2006-09-16 Edward Hervey <edward@fluendo.com>
12383 * libs/gst/base/gstbasetransform.c:
12384 (gst_base_transform_buffer_alloc):
12385 Check if requested caps are the same as the sinks caps IF
12386 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12388 This fixes the renegotiation issues stated in #352827.
12390 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12393 * docs/manual/advanced-autoplugging.xml:
12394 * tests/examples/Makefile.am:
12395 * tests/examples/manual/.cvsignore:
12396 * tests/examples/manual/Makefile.am:
12397 * tests/examples/manual/extract.pl:
12398 Extract the manual examples again like we used to do.
12401 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12403 * win32/common/config.h:
12406 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12409 Documents how to receive errors.
12411 2006-09-15 Wim Taymans <wim@fluendo.com>
12413 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12414 (event_loop), (main):
12415 Added some comments here and there.
12416 Post an application message when an interrupt is caught instead of doing
12417 an uncontrolled state change.
12418 Clean up the event loop.
12419 Handle buffering messages, pause/resume the pipeline.
12420 Make shutdown because of an interrupt more reliable.
12422 2006-09-15 Wim Taymans <wim@fluendo.com>
12424 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12425 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12426 (gst_base_sink_preroll_object):
12427 Make sure that our internal state is correct when we commit our state
12428 asynchronously. This solves a race where a state change to PLAYING
12429 could cause the sink to remain blocked in preroll in some situations.
12431 2006-09-15 Wim Taymans <wim@fluendo.com>
12433 * tools/gst-inspect.c: (print_element_properties_info),
12434 (print_signal_info):
12435 List flags as hex so it's easier to deal with.
12437 2006-09-15 Wim Taymans <wim@fluendo.com>
12439 * docs/libs/gstreamer-libs-sections.txt:
12440 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12441 (gst_base_sink_do_sync):
12442 * libs/gst/base/gstbasesink.h:
12443 Expose logic to wait for preroll so that subclasses such as audiosink
12444 can also use this method.
12445 API: gst_base_sink_wait_preroll()
12447 2006-09-15 Wim Taymans <wim@fluendo.com>
12449 * gst/gstobject.c: (gst_object_set_parent):
12450 * gst/gstpipeline.c: (do_pipeline_seek):
12451 Small cleanups in docs and code.
12453 * gst/gstsegment.c: (gst_segment_clip):
12454 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12455 if stop == start and start is in the segment, no clipping should be
12456 done. Also add a test for this.
12458 2006-09-15 Wim Taymans <wim@fluendo.com>
12460 * docs/design/part-buffering.txt:
12461 * docs/gst/gstreamer-sections.txt:
12462 * gst/gstmessage.c: (gst_message_new_buffering),
12463 (gst_message_parse_buffering):
12464 * gst/gstmessage.h:
12465 Added methods to create and parse BUFFERING messages.
12466 Added preliminary docs about buffering.
12467 API: gst_message_new_buffering
12468 API: gst_message_parse_buffering
12470 2006-09-06 Wim Taymans <wim@fluendo.com>
12473 Update documentation.
12475 * gst/gstelement.c: (gst_element_class_init),
12476 (gst_element_release_request_pad), (gst_element_set_clock),
12477 (gst_element_get_index), (gst_element_add_pad),
12478 (gst_element_remove_pad), (gst_element_get_random_pad),
12479 (gst_element_send_event), (gst_element_get_query_types),
12480 (gst_element_query), (gst_element_post_message),
12481 (gst_element_message_full), (gst_element_continue_state),
12482 (gst_element_lost_state), (gst_element_save_thyself),
12483 (gst_element_restore_thyself):
12484 Documentation updates.
12485 Rename last bit of the new-pad -> pad-added signal rename.
12486 Fix the case where an element query would only work if the source
12488 Avoid some useless type checking in message handling.
12493 Documentation updates.
12495 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12497 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12498 add an INFO line for when we actually update the fd
12500 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12505 === release 0.10.10 ===
12507 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12510 releasing 0.10.10, "Pais"
12512 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12514 * docs/manual/advanced-position.xml:
12515 Fix typo in sample code.
12517 2006-09-05 Wim Taymans <wim@fluendo.com>
12519 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12520 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12521 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12522 * libs/gst/net/gstnetclientclock.h:
12523 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12524 * libs/gst/net/gstnettimepacket.h:
12525 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12526 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12527 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12528 * libs/gst/net/gstnettimeprovider.h:
12529 Make stuff compile on windows. Fixes #345295.
12531 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12533 * gst/gst.c: (ensure_current_registry_forking):
12534 Print better details when child was terminated by signal.
12536 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12538 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12539 Print a warning rather than g_assert() if a plugin feature
12540 is a URI handler but returns no protocols (#353976).
12542 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12544 * docs/random/moving-plugins:
12547 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12549 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12550 Fix locking order, handle NULL function values properly.
12555 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12556 Initialise variable before using it and fix debug statement to
12557 print the address of the function rather than the address of the
12558 variable on the stack holding the address of the function.
12560 2006-09-01 Wim Taymans <wim@fluendo.com>
12562 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12563 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12564 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12565 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12566 (gst_ghost_pad_parent_unset),
12567 (gst_ghost_pad_internal_do_activate_push),
12568 (gst_ghost_pad_internal_do_activate_pull),
12569 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12570 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12571 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12572 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12573 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12574 (gst_ghost_pad_new_no_target_from_template),
12575 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12577 Avoid needless typechecking in macros.
12578 Since the internal pad is always present and never changes, there is
12579 no need to locking or ref when retrieving it.
12580 Improve debugging a bit.
12581 Handle link errors when setting the target. Fixes #341029.
12583 2006-09-01 Wim Taymans <wim@fluendo.com>
12585 * docs/libs/gstreamer-libs-sections.txt:
12586 * docs/plugins/gstreamer-plugins-sections.txt:
12587 Fix docs some more.
12589 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12590 (gst_collect_pads_event):
12591 * libs/gst/base/gstcollectpads.h:
12592 Documentation updates.
12593 Free queued buffer when removing a pad.
12595 2006-08-31 Michael Smith <msmith@fluendo.com>
12597 * gst/gstutils.c: (gst_element_link_pads),
12598 (gst_element_link_pads_filtered):
12599 Ensure that we set a capsfilter to NULL if we failed to link it
12600 when doing filtered linking, to avoid criticals.
12602 No need to check for unreffing srcpad, which is explicly NULLed
12603 above (a trivial code cleanup).
12605 2006-08-31 Wim Taymans <wim@fluendo.com>
12607 * docs/design/part-gstghostpad.txt:
12608 Update ascii art in documentation.
12610 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12611 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12612 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12613 (gst_ghost_pad_internal_do_activate_push),
12614 (gst_ghost_pad_internal_do_activate_pull),
12615 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12616 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12617 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12618 (gst_ghost_pad_set_target):
12619 Small cleanups and leak fixes.
12620 Remove some checks now that the internal pad is never NULL.
12621 Fix the case where linking pads without a target would create nasty
12622 criticals. Fixes #341029.
12623 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12624 value of _set_target().
12626 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12627 (gst_ghost_pad_suite):
12628 Some more tests for creating and linking untargeted ghostpads.
12630 2006-08-31 Edward Hervey <edward@fluendo.com>
12632 * docs/gst/gstreamer-sections.txt:
12633 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12634 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12635 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12636 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12637 (gst_ghost_pad_new_from_template),
12638 (gst_ghost_pad_new_no_target_from_template):
12639 * gst/gstghostpad.h:
12640 Refactored *_new() functions.
12641 Templates are now used as a g_object_new() parameter.
12642 Use template in _do_getcaps() if we don't have a target.
12643 Small documentation cleanups.
12644 Added two new constructors:
12645 gst_ghost_pad_new_from_template()
12646 gst_ghost_pad_new_no_target_from_template()
12647 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12648 (gst_ghost_pad_suite):
12649 Added tests for new ghostpad instanciation functions.
12651 API additions: gst_ghost_pad_new_from_template,
12652 gst_ghost_pad_new_no_target_from_template
12654 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12656 * docs/random/ensonic/profiling.txt:
12657 Ideas about qos profiling.
12659 2006-08-29 Wim Taymans <wim@fluendo.com>
12661 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12665 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12668 Improve and detypofy docs.
12670 * tests/check/Makefile.am:
12671 * tests/check/gst/.cvsignore:
12672 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12673 Add a basic test suite for GstXML.
12675 2006-08-29 Wim Taymans <wim@fluendo.com>
12677 * gst/gstelement.c: (activate_pads), (clear_caps),
12678 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12679 Clear the pad caps when the element shut down all of the pads and
12680 is not streaming data that could modify the caps.
12683 2006-08-28 Michael Smith <msmith@fluendo.com>
12685 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12686 Revert previous change; I misunderstood single-segment mode.
12688 2006-08-28 Michael Smith <msmith@fluendo.com>
12690 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12691 Unset DISCONT on buffers when using single-segment mode.
12693 2006-08-28 Wim Taymans <wim@fluendo.com>
12695 * gst/gstcaps.c: (gst_caps_merge_structure):
12697 Fix docs and indentation again.
12699 * tests/check/gst/gstquery.c: (GST_START_TEST):
12700 Fix leak in tests and add some more tests.
12702 2006-08-28 Edward Hervey <edward@fluendo.com>
12704 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12705 Inform GstSegment of the last stop position in order for the current
12706 segment to have a proper duration if it doesn't have a specific stop
12707 position from which a duration could be calculated.
12708 This bug was noticeable when a non-flushing, non-update new segment was
12709 followed by another segment (all buffers from the new segment were being
12712 2006-08-28 Wim Taymans <wim@fluendo.com>
12714 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12715 Small comment update.
12717 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12718 (gst_identity_transform_ip):
12719 Drop-probability is broken, mention this in the code with a
12720 FIXME and also in the property description.
12721 Make silent also be silent about the drop messages.
12723 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12725 * docs/manual/appendix-win32.xml:
12726 Remove mention of popt, we don't depend on that any
12727 longer (#353136). Add some comments pointing out that
12728 this section is slightly outdated.
12730 2006-08-28 Wim Taymans <wim@fluendo.com>
12732 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12734 * gst/gstquery.c: (gst_query_new_segment):
12735 * tests/check/gst/gstquery.c: (GST_START_TEST):
12736 Initialize variables when creating a new segment query.
12739 2006-08-28 Wim Taymans <wim@fluendo.com>
12741 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12743 * gst/gstelement.c: (gst_element_get_bus):
12744 * tests/check/gst/gstelement.c: (GST_START_TEST):
12745 Check for NULL before _reffing the bus. Fixes #353122.
12747 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12749 * docs/manual/basics-bus.xml:
12750 Docs update: fix wrong callback return value explanation; add
12751 some lines about the implicit relationship between main loop
12752 and main context; remove duplicate main loop variable declaration.
12754 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12756 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12757 Don't leak caps in unit test; add a few more simple
12760 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12762 * docs/gst/gstreamer-sections.txt:
12763 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12764 (gst_caps_structure_is_subset), (gst_caps_merge),
12765 (gst_caps_merge_structure):
12767 * libs/gst/base/gstbasetransform.c:
12768 (gst_base_transform_transform_caps):
12769 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12770 implement caps merging (fixes #352580)
12772 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12774 * tools/Makefile.am:
12775 * tools/gst-plot-timeline.py:
12776 add debug-log plotting developer tool (#340674)
12778 2006-08-23 Wim Taymans <wim@fluendo.com>
12780 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12781 (gst_pad_stop_task):
12782 Improve debugging for task functions.
12784 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12785 (gst_task_start), (gst_task_pause), (gst_task_join):
12786 Make sure that the task function started and finished after a
12788 Don't try to push the task function on the threadpool multiple
12790 Improve the g_warning message with some useful suggestions
12791 about how to fix the problem.
12793 2006-08-23 Wim Taymans <wim@fluendo.com>
12795 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12796 Handle RESYNC correctly in _proxy_getcaps.
12798 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12800 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12801 (gst_xml_parse_memory), (gst_xml_get_element):
12802 Chain up to parent class in dispose function and also
12803 unref the elements in the toplevel_elements GList.
12804 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12805 Always return a reference in gst_xml_get_element() rather
12806 than only sometimes.
12808 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12809 Don't leak GstXml object.
12811 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12813 * docs/gst/gstreamer-sections.txt:
12814 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12817 * libs/gst/base/gstbasetransform.c:
12818 (gst_base_transform_transform_caps):
12819 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12822 2006-08-21 Edward Hervey <edward@fluendo.com>
12824 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12825 Implement GObject::dispose virtual method in GstXML so we can free the
12826 top_elements GList.
12828 2006-08-21 Wim Taymans <wim@fluendo.com>
12830 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12831 (gst_buffer_create_sub):
12832 Copy duration/offset_end/caps when creating a subbuffer of the
12834 Make the subbuffer read-only when we make the metadata writable for
12835 now. Fixes #351768.
12837 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12838 Added check for metadata copy when creating subbuffers.
12840 2006-08-21 Edward Hervey <edward@fluendo.com>
12842 * libs/gst/base/gstbasetransform.c:
12843 (gst_base_transform_buffer_alloc):
12844 Only call downstream buffer_alloc if transform element is passthrough
12845 or always_in_place. Closes #350449.
12847 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12850 ChangeLog surgery to add comments to previous changes
12852 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12857 * gst/gstpad.c: (gst_pad_set_active):
12858 Be more verbose in the log
12860 * libs/gst/base/gstbasetransform.c:
12861 (gst_base_transform_transform_caps):
12862 Simplify caps to get rid of duplicates, fixes #345444
12864 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12868 Use these optimizations only internally.
12870 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12872 * gst/gstvalue.c: (gst_value_compare_list),
12873 (gst_value_compare_fraction_range),
12874 (gst_value_intersect_fraction_fraction_range),
12875 (gst_value_intersect_fraction_range_fraction_range),
12876 (gst_value_subtract_fraction_fraction_range),
12877 (gst_value_subtract_fraction_range_fraction_range),
12878 (gst_value_get_compare_func), (gst_value_compare),
12879 (gst_value_compare_with_func):
12881 Saves the expensive lookup of the compare function in many cases
12884 2006-08-18 Edward Hervey <edward@fluendo.com>
12886 * tests/check/gst/gstinfo.c: (gst_info_suite):
12887 Disable test that require gstdebug if it wasn't built in core.
12889 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12891 * docs/random/ensonic/logging.txt:
12894 * gst/gstinfo.c: (gst_debug_log_default):
12895 reorder fields, save some columns, add optional color codes for log
12898 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12900 * docs/random/ensonic/logging.txt:
12901 add ideas about making the logs a bit more useful
12903 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12905 * docs/pwg/advanced-events.xml:
12906 * docs/pwg/titlepage.xml:
12907 Update for 0.10 API (#340627). Add myself
12910 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12912 * docs/libs/gstreamer-libs-docs.sgml:
12913 * docs/libs/gstreamer-libs-sections.txt:
12914 * libs/gst/check/gstbufferstraw.c:
12915 Make gstcheck stuff show up in docs (still needs to
12916 be documented properly though).
12918 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12920 * docs/gst/gstreamer-sections.txt:
12922 * gst/gst.c: (init_post):
12923 * gst/gst_private.h:
12924 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12926 * gst/gstquery.c: (gst_query_new_position),
12927 (gst_query_set_position), (gst_query_parse_position),
12928 (gst_query_new_duration), (gst_query_set_duration),
12929 (gst_query_parse_duration), (gst_query_new_convert),
12930 (gst_query_set_convert), (gst_query_parse_convert),
12931 (gst_query_new_segment), (gst_query_set_segment),
12932 (gst_query_parse_segment), (gst_query_new_seeking),
12933 (gst_query_set_seeking), (gst_query_parse_seeking):
12934 Add internal helpers for pre-registering quarks from static strings
12935 and using the quark values directly instead of looking them up when
12936 creating and parsing queries. Can be used for event construction too.
12939 2006-08-16 Wim Taymans <wim@fluendo.com>
12944 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12946 * gst/gstutils.c: (gst_util_set_value_from_string):
12947 Fix memleak (#351502).
12949 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12950 Add unit test for most of gst_util_set_value_from_string()
12951 (not that one would want to encourage use of this function).
12953 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12955 * libs/gst/check/gstcheck.h:
12956 Use const gchar * variables in fail_unless_equals_string
12957 macro to avoid compiler warnings (and don't use tabs for
12960 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12962 * tools/gst-launch.c: (print_tag):
12963 More space on the left for the tag names, to cater
12964 for the 'extended comment' tag (not touching the
12965 string for the first line since it's translated).
12967 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12969 * libs/gst/check/gstcheck.h:
12970 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12971 print something when they fail.
12973 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12975 * docs/gst/gstreamer-sections.txt:
12976 * gst/gsttaglist.c: (_gst_tag_initialize):
12977 * gst/gsttaglist.h:
12978 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12979 Also change merge function for GST_TAG_COMMENT to
12982 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12984 * gst/gstinfo.c: (gst_debug_print_object):
12985 Make GST_PTR_FORMAT print messages as well.
12987 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12988 (GST_START_TEST), (gst_info_suite):
12991 2006-08-14 Edward Hervey <edward@fluendo.com>
12993 * gst/gstelementfactory.c: (gst_element_register):
12994 If the GstElementClass doesn't have a GstElementDetails with all fields
12995 filled up correctly (longname, description AND author), then error out
12996 nicely instead of crashing.
12998 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13000 * gst/gststructure.c:
13001 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13004 Expand on the difference between arrays and lists as we use them.
13006 2006-08-14 Wim Taymans <wim@fluendo.com>
13008 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13009 If the parent state change function failed, don't assume we can safely
13010 stop the source, this will be done when the pads are deactivated.
13012 2006-08-14 Wim Taymans <wim@fluendo.com>
13015 * gst/gsttask.c: (gst_task_join):
13018 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13019 (gst_pad_stop_task):
13020 When pad (de)activation failed for some reason, restore the old
13021 activation mode and set the pad to flushing instead of assuming the
13022 pad is deactivated.
13023 If the _task_join() failed, reinstall the task on the pad so that it can
13024 be stopped later and return an error.
13026 2006-08-11 Andy Wingo <wingo@pobox.com>
13029 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13030 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13031 is only for users of API that don't want to see deprecated
13032 functions in the headers; people that want to compile out
13033 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13034 CFLAGS. Fixes the build of multifdsink, or will soon..
13036 2006-08-11 Wim Taymans <wim@fluendo.com>
13038 * docs/gst/gstreamer-sections.txt:
13039 Add GstClockClass vmethod docs.
13042 Mark #endif with comment for associated #if
13044 * gst/gstclock.c: (gst_clock_id_wait):
13046 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13047 most clock implementations.
13049 Flesh out docs about resolution methods.
13050 API: GstClockClass::wait_jitter
13052 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13053 (gst_system_clock_async_thread),
13054 (gst_system_clock_id_wait_jitter_unlocked),
13055 (gst_system_clock_id_wait_jitter):
13056 Use base class wait_jitter variant for improved performance
13057 due to less clock polling.
13059 2006-08-11 Edward Hervey <edward@fluendo.com>
13061 * gst/gst.c: (gst_init_check), (init_post):
13062 Set gst as being initialized before scanning/updating the registry,
13063 since there might be my python plugin loader that calls gst_init() and
13064 we don't want to loop back in.
13067 2006-08-11 Wim Taymans <wim@fluendo.com>
13069 * docs/design/part-qos.txt:
13070 Bring docs in line with the code. Mostly the sign of the jitter was
13071 wrong in the docs. Fixes #349943.
13074 Fix the docs for the jitter.
13076 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13077 (gst_event_parse_tag), (gst_event_new_buffer_size),
13078 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13079 (gst_event_new_seek), (gst_event_parse_seek),
13080 (gst_event_new_navigation):
13081 Make sure the GstStructure has no parent when creating custom
13083 Add some more argument checking so that we avoid 0.0 rates.
13084 Flesh out the docs for the QoS event some more.
13086 2006-08-11 Wim Taymans <wim@fluendo.com>
13088 * docs/gst/gstreamer-sections.txt:
13089 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13090 (ensure_current_registry_forking), (ensure_current_registry),
13091 (parse_one_option), (parse_goption_arg), (gst_deinit),
13092 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13095 Added API and command line option to disable registry forking in
13096 addition to the environment variable.
13097 Constify some static arrays.
13098 Added some more debug.
13099 Don't deinit twice.
13100 API: gst_registry_fork_is_enabled()
13101 API: gst_registry_fork_set_enabled()
13102 API: --gst-disable-registry-fork command line option
13105 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13107 * gst/gst.c: (gst_init):
13108 Fix typo in error message.
13110 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13112 * libs/gst/controller/gstcontroller.h:
13113 fix ABI size-correction
13115 * tests/check/libs/gdp.c: (gst_dp_suite):
13116 make tests that use deprecated API conditional
13118 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13120 * docs/libs/gstreamer-libs-sections.txt:
13121 * libs/gst/controller/gstcontroller.c:
13122 (_gst_controller_get_property), (_gst_controller_set_property),
13123 (_gst_controller_init), (_gst_controller_class_init):
13124 * libs/gst/controller/gstcontroller.h:
13125 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13126 (gst_object_set_control_rate):
13127 API: add gst_object_{s,g}et_control_rate(), add private data section,
13130 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13131 * libs/gst/dataprotocol/dataprotocol.h:
13132 add deprecation guards to make gtk-doc happy and allow disabling cruft
13134 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13136 * tests/check/Makefile.am:
13137 * tests/check/gst/.cvsignore:
13138 Let's enable the new unit test as well.
13140 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13143 * docs/gst/gstreamer-sections.txt:
13144 * gst/gstconfig.h.in:
13145 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13146 (_gst_info_printf_extension_ptr),
13147 (_gst_info_printf_extension_segment):
13148 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13149 register that lets us easily dump GstSegments into debug
13152 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13153 (info_segment_format_printf_extension), (gst_info_suite):
13154 Add simple unit test that logs a bunch of different segments (not
13155 valgrinded at the moment because of leaks in
13156 gst_debug_add_log_function).
13158 2006-08-09 Edward Hervey <edward@fluendo.com>
13160 * libs/gst/base/gstbasetransform.c:
13161 (gst_base_transform_buffer_alloc):
13162 Even if we can't figure out the proper format to request downstream,
13163 call buffer_alloc() downstream with the input parameters without setting
13164 the caps on the srcpad. This will force negotiation in the chain
13168 2006-08-08 Edward Hervey <edward@fluendo.com>
13170 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13171 Unlinking from a pad without a target is now a perfectly valid case
13172 which should NOT raise an assertion.
13173 This case would happen if a linked ghostpad its target set to NULL after
13174 it was previously linked.
13176 2006-08-08 Edward Hervey <edward@fluendo.com>
13178 * tests/check/libs/gdp.c:
13179 Also comment out the test (see below).
13181 2006-08-08 Edward Hervey <edward@fluendo.com>
13183 * tests/check/libs/gdp.c: (gst_dp_suite):
13184 Use the architecture information from config.h and not gcc macros
13185 in order to properly disable a test that fails on PPC64.
13187 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13189 * gst/gstelement.c: (gst_element_remove_pad):
13190 Don't crash printing the warning if the pad has no parent.
13192 2006-08-02 Wim Taymans <wim@fluendo.com>
13194 * libs/gst/dataprotocol/dataprotocol.c:
13195 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13196 (gst_dp_crc), (gst_dp_header_payload_length),
13197 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13198 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13199 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13200 (gst_dp_event_from_packet), (gst_dp_validate_header),
13201 (gst_dp_validate_payload):
13202 Make debug category static
13203 Constify the crc table.
13204 Do some more arg checking in public functions.
13205 Fix some docs and do some small cleanups.
13207 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13208 Add some more checks to see if GDP deals with bogus input.
13210 2006-07-31 Wim Taymans <wim@fluendo.com>
13212 * gst/gstvalue.c: (gst_value_compare_list):
13213 Fix GstValueList comparison code. Fixes #347293.
13215 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13216 Check to test GstValueList comparison.
13218 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13220 * gst/gstelementfactory.c: (gst_element_factory_create):
13221 Remove unnecessary ref/unref pair
13223 * gst/parse/grammar.y:
13224 Make sure to free the parse buffer on all code paths.
13225 Move a g_free up to the error handler where it's easier to see.
13227 * tests/check/gst/gstevent.c: (test_event):
13228 Extending timeout for downstream travelling events to 10 seconds to
13229 hopefully avoid intermittent failure on the buildbots.
13231 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13232 Don't manually set the state of the src element - it will happen as a
13233 natural consequence of the pipeline changing state, and that way it
13234 will do it in the right order too.
13236 2006-07-31 Wim Taymans <wim@fluendo.com>
13238 * libs/gst/base/gstbasetransform.c:
13239 (gst_base_transform_buffer_alloc):
13240 Use OBJECT_LOCK and refcounting to get the pad caps in the
13241 buffer_alloc function because the caps could change while we are
13242 busy with them. Fixes #349105
13244 2006-07-31 Wim Taymans <wim@fluendo.com>
13246 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13247 Protect _PAD_CAPS with OBJECT_LOCK.
13249 2006-07-31 Wim Taymans <wim@fluendo.com>
13251 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13252 (gst_pad_get_property), (gst_pad_activate_pull),
13253 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13254 (gst_pad_set_activate_function),
13255 (gst_pad_set_activatepull_function),
13256 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13257 (gst_pad_set_getrange_function),
13258 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13259 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13260 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13261 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13262 (gst_pad_set_acceptcaps_function),
13263 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13264 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13265 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13266 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13267 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13268 (gst_pad_configure_sink), (gst_pad_configure_src),
13269 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13270 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13271 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13272 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13273 (gst_pad_send_event):
13274 Use _DEBUG_OBJECT when it makes sense.
13275 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13276 Small cleanups and code reflows.
13277 Avoid caps refcounting in _accept_caps.
13278 Refactor alloc_buffer so that the code performed on the peer is in a
13279 separate function. Also if the pad does not implement a buffer alloc
13280 function, we should still check if the pad is flushing before falling
13281 back to the default allocator.
13283 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13285 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13286 Make all uses of identity and fakesink have silent=true to avoid
13287 serialising every passing data structure, which is breaking tests
13288 on FC4 for some unknown reason.
13290 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13292 * gst/parse/Makefile.am:
13293 * gst/parse/grammar.y:
13294 * gst/parse/parse.l:
13295 Reverted previous patch as it required to bump the flex dependency to
13296 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13298 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13300 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13302 * gst/parse/Makefile.am:
13303 * gst/parse/grammar.y:
13304 * gst/parse/parse.l:
13305 push & pop the state of the lexer for reentrant use case
13308 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13310 * libs/gst/base/gstbasesrc.h:
13311 Note in the docs that the ::newsegment vfunc is not actually used by
13314 2006-07-28 Wim Taymans <wim@fluendo.com>
13316 * libs/gst/base/gstcollectpads.c:
13317 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13318 (gst_collect_pads_clear), (gst_collect_pads_flush),
13319 (gst_collect_pads_event), (gst_collect_pads_chain):
13320 When flushing a pad, also clear the queued buffer so that we don't
13321 accidentally use it when we shouldn't.
13322 Fix leaks by inreffing incomming buffer.
13323 Flush out queued buffers in case of errors.
13326 2006-07-28 Wim Taymans <wim@fluendo.com>
13328 * docs/random/phonon-gst:
13329 Random notes about a Phonon backend.
13331 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13333 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13335 * tests/check/libs/gdp.c: (gst_dp_suite):
13336 Take a whack at fixing the ppc compile using a different define to
13337 disable the broken test.
13339 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13340 Remove excess g_print()
13342 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13344 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13345 Oops, meant to uncomment this line too to dampen the noise a bit.
13347 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13349 * gst/parse/grammar.y:
13350 * gst/parse/parse.l:
13351 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13352 (GST_START_TEST), (parse_suite):
13353 Fix some of the leaks exposed by extending the parse-launch testsuite,
13354 and move the 3 I can't figure out into a separate test that won't run
13355 the pipelines unless the appropriate line is uncommented.
13357 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13359 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13360 Requesting 0 bytes before the end of the file should result in
13361 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13364 2006-07-27 Wim Taymans <wim@fluendo.com>
13366 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13367 Fix useless assert, a uint is always positive.
13369 * gst/gststructure.c: (gst_structure_nth_field_name),
13370 (gst_structure_foreach), (gst_structure_map_in_place):
13371 Check input arguments for public functions to avoid obvious crashes.
13373 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13374 * plugins/elements/gstfakesink.h:
13375 Do less useless typechecking.
13377 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13379 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13380 Do not use mmap() by default since there are a number of error
13381 conditions that we would like to handle in a non-fatal way that
13382 will result in a SIGBUS if we use mmap(). Examples: external
13383 devices (USB harddrive, portable music player) being unplugged
13384 while in use; file on mounted CD/DVD that can't be read because
13385 the medium is partly damaged. Fixes #348455 and #348475.
13387 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13390 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13391 rates are a gdouble
13393 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13395 * gst/gstregistry.c:
13396 Move big documentation comment into class section header, so that it
13397 appears in the API docs.
13399 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13401 * docs/gst/gstreamer-sections.txt:
13402 Oops. Commit the docs additions too for new API.
13403 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13405 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13407 * gst/gststructure.c: (gst_structure_id_set),
13408 (gst_structure_id_set_valist):
13409 * gst/gststructure.h:
13410 Add API for setting values into structures without performing
13411 a quark lookup, if the appropriate quark is already known.
13413 API: gst_structure_id_set
13414 API: gst_structure_id_set_valist
13416 * gst/parse/grammar.y:
13417 * gst/parse/parse.l:
13418 Remove some dead code shown by the coverage information.
13419 Don't throw a critical g_warning when encountering a syntax error,
13420 just warn and let the normal error path handle it.
13422 * plugins/elements/gstelements.c:
13423 Bump the rank of filesink up to PRIMARY so that it is preferred over
13424 gnomevfssink for file:// sink uri's
13426 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13427 (GST_START_TEST), (run_delayed_test),
13428 (gst_parse_test_element_base_init),
13429 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13430 (gst_parse_test_element_change_state),
13431 (gst_register_parse_element), (parse_suite):
13432 Beef up the tests for parse syntax to check that more error cases
13433 fail as they are supposed to. Increases the test coverage a bit.
13435 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13437 * docs/manual/basics-elements.xml:
13438 Fix gst_element_link() example.
13441 Mention in API docs that one should usually gst_bin_add()
13442 elements to a bin or pipeline before doing the linking.
13444 2006-07-26 Wim Taymans <wim@fluendo.com>
13446 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13447 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13448 Avoid function call for known types by keeping the buffer and
13449 subbuffer GType global.
13451 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13452 Random silly optimisations in read() path.
13454 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13456 * tools/gst-launch.c: (main):
13457 If the top-level of the parse is a normal bin, it doesn't do the
13458 right logic to run as a top-level element, so place it inside a
13461 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13463 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13464 Remove superfluous g_object_notify() calls, GObject does
13465 that for us automatically.
13467 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13470 on Win32, use dllspec to export the debug category symbols
13472 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13474 * gst/gsttaglist.c: (_gst_tag_initialize):
13475 Allow more than one GST_TAG_IMAGE per taglist.
13477 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13479 * gst/gstminiobject.c:
13481 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13482 (gst_fd_src_create):
13483 log recurring events at LOG level
13484 add more debug for when the fd gets set
13486 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13488 * gst/gstparse.c: (gst_parse_launch):
13489 Also remove reentrance checks if flex is MT safe (#348179)
13490 Fix my empty ChangeLog entry below
13492 2006-07-21 Andy Wingo <wingo@pobox.com>
13494 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13496 * libs/gst/check/Makefile.am
13497 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13498 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13499 * libs/gst/check/gstbufferstraw.h:
13500 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13501 functions, thus proving I am still a GStreamer haxor. OK I wrote
13502 them a long time ago, but anyways.
13504 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13507 * gst/gstparse.c: (gst_parse_launch):
13508 Check for flex version and omit mutex if we have a MT save flex
13511 2006-07-21 Wim Taymans <wim@fluendo.com>
13513 * gst/gstparse.c: (gst_parse_launch):
13514 Protect recursive calls to _parse with a recursive mutex
13517 2006-07-21 Wim Taymans <wim@fluendo.com>
13519 * tests/check/gst/gstpad.c: (GST_START_TEST):
13522 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13524 * gst/gstparse.c: (gst_parse_launch):
13525 Do not hang on recursive usage of gst_parse_launch()
13527 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13529 * gst/gsttaglist.c:
13530 Add some more docs, comments and FIXME 0.11s here and there
13531 and also fix some typos.
13533 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13535 * gst/gstsegment.h:
13536 Convert tabs to spaces for better readability.
13538 2006-07-20 Edward Hervey <edward@fluendo.com>
13540 * tests/check/libs/gdp.c: (gst_dp_suite):
13541 the test_buffer test fails at line 140 on ppc64 at the following
13543 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13544 GST_BUFFER_FLAG_IN_CAPS),
13545 "GST_BUFFER_IN_CAPS flag should have been copied !");
13546 See bug #348114 for more details.
13548 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13550 * docs/pwg/advanced-scheduling.xml:
13552 Fix typos (#348000).
13554 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13556 * docs/pwg/intro-basics.xml:
13557 Fix wrong links (#347927).
13559 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13561 * gst/gstregistry.h:
13562 * gst/gstregistryxml.c: (load_feature),
13563 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13564 * win32/common/config.h:
13565 make --disable-index work (#342564)
13567 2006-07-18 Wim Taymans <wim@fluendo.com>
13569 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13573 The attached patch adds two missing defines to gsttrace.h when tracing
13574 is disabled. It also corrects one existing define.
13577 2006-07-17 Wim Taymans <wim@fluendo.com>
13579 * docs/gst/gstreamer-sections.txt:
13580 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13582 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13583 Add two functions to check and change the SIGSEGV behaviour
13584 when loading plugins.
13585 Don't mess with the SIGSEGV handler when we were told not to.
13587 API: gst_segtrap_is_enabled
13588 API: gst_segtrap_set_enabled
13590 2006-07-14 Wim Taymans <wim@fluendo.com>
13592 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13593 * tests/check/elements/filesrc.c: (GST_START_TEST):
13594 Revert fix for regression in #347408 after release.
13596 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13598 Patch by: Antoine Tremblay <hexa00 at gmail com>
13600 * gst/gstutils.c: (gst_element_unlink):
13601 Free iterator when done (#347311).
13603 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13604 And add a test case for this.
13606 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13609 Bump nano back to CVS
13611 === release 0.10.9 ===
13613 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13616 releasing 0.10.9, "On the road again"
13618 2006-07-13 Wim Taymans <wim@fluendo.com>
13620 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13621 * tests/check/elements/filesrc.c: (GST_START_TEST):
13622 Revert pull-0 fix for release. Disable check. Fixes #347408.
13624 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13626 * libs/gst/dataprotocol/dataprotocol.c:
13627 (gst_dp_event_from_packet_1_0):
13628 Fixes #347337: failure to deserialize event packets with
13629 empty payload (only event type)
13631 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13634 do not install a .c file in the header directory
13636 2006-07-13 Edward Hervey <edward@fluendo.com>
13638 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13639 GhostPad no longer implicitely use the padtemplates of the targets.
13642 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13644 * gst/gstvalue.c: (gst_value_compare_list),
13645 (gst_value_compare_array), (_gst_value_initialize):
13646 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13647 Make GstValueArray comparison be order dependent as designed.
13648 Add checks for value lists and value array comparisons.
13651 2006-07-11 Edward Hervey <edward@fluendo.com>
13653 * gst/gstbin.c: (activate_pads),
13654 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13655 (gst_bin_change_state_func):
13656 (de)activate src pads before calling state_change on the childs.
13657 This is to avoid the case where a src ghostpad is blocked (holding the
13658 stream lock), which would block the deactivation of the ghostpad's
13660 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13661 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13662 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13663 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13664 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13665 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13666 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13667 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13668 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13669 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13670 (gst_ghost_pad_class_init),
13671 (gst_ghost_pad_internal_do_activate_push),
13672 (gst_ghost_pad_internal_do_activate_pull),
13673 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13674 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13675 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13676 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13677 GhostPads now create their internal GstProxyPad at creation (and not
13678 when they're linked, as it was being done previously).
13679 The internal and target pads are linked straight away.
13680 The data will also travel through the other pad in order to make
13681 pad blocking and probes non-hackish (the probe/block now really happens
13682 on the GhostPad and not on the target).
13683 * gst/gstpad.c: (gst_pad_set_blocked_async),
13684 (gst_pad_link_prepare), (gst_pad_push_event):
13685 Remove previous ghostpad cruft.
13686 * gst/gstutils.c: (gst_pad_add_data_probe),
13687 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13688 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13689 (gst_pad_remove_buffer_probe):
13690 Remove previous ghost pad cruft.
13691 Added more detailed debug statements.
13692 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13693 Fix the testsuite for refcounting changes.
13694 The comments about who has references were correct, but the refcount
13695 being checked wasn't the same (!?!).
13699 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13701 * docs/gst/gstreamer-sections.txt:
13702 * gst/gstconfig.h.in:
13703 More docs for configuration options, add docs to gtk-doc.
13705 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13708 * gst/gstconfig.h.in:
13709 * win32/common/config.h:
13710 Fix build when disabling tracing (fixes #344016). Also start to document
13711 the defines that disable the sub-systems.
13713 2006-07-10 Edward Hervey <edward@fluendo.com>
13715 * gst/gst.c: (ensure_current_registry_forking):
13716 let's make valgrind happy...
13718 2006-07-09 Wim Taymans <wim@fluendo.com>
13720 * gst/gstelement.c: (activate_pads),
13721 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13722 Better pad activation code: Reset the collect value too on resync.
13725 2006-07-09 Wim Taymans <wim@fluendo.com>
13727 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13728 (gst_pad_activate_push):
13729 Use some more macros where it makes sense.
13730 Allow pad mode switching instead of asserting. When a pad
13731 is activated in one mode and we activate it in another,
13732 deactivate it first before activating it in a different mode.
13735 2006-07-08 Andy Wingo <wingo@pobox.com>
13737 * tools/gst-launch.c (main): Handle err == NULL.
13739 * gst/gst.c (init_post, ensure_current_registry)
13740 (ensure_current_registry_forking)
13741 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13742 factoring out the registry scanning into separate functions. Don't
13743 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13744 Better environment var name/interface suggestions accepted.
13746 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13748 * gst/gstobject.c: (gst_object_set_name_default),
13749 (gst_object_set_name):
13750 Random micro-optimisation: don't use a hash table
13751 with strings as keys and the usual strdup/strcmp
13752 involved, but rather just use the GQuark of the
13753 type name as key, since it needs to be looked up
13754 anyway to get the type name string.
13756 * tests/check/gst/gstobject.c: (GST_START_TEST):
13759 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13761 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13762 (gst_bin_iterate_all_by_interface):
13763 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13764 GTypes are gulongs and thus the top 4 bytes might be cut
13765 off on some platforms when doing GPOINTER_TO_INT, leading
13766 to invalid GTypes and bad things happening (see RH bug #179654).
13767 Also add a check to make sure the type passed in is really
13770 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13775 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13779 * gst-element-check.m4:
13780 * gst-element-check.m4.in:
13781 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13782 instead of the unversioned gst-inspect (#324176, #168659).
13784 2006-07-06 Wim Taymans <wim@fluendo.com>
13786 * gst/gstmessage.h:
13787 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13790 2006-07-06 Wim Taymans <wim@fluendo.com>
13792 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13793 (gst_base_src_wait), (gst_base_src_update_length),
13794 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13795 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13796 (gst_base_src_loop), (gst_base_src_start),
13797 (gst_base_src_activate_pull):
13799 blocksize == 0 now means the default blocksize when working in push
13801 Remove some pointless asserts in _wait function.
13802 Fix offset/length calculations and EOS handling. We can now pull 0
13803 bytes as well, which is allowed.
13804 use _check_get_range() to decide if we can operate in _pull based
13806 Fix refcounting leak when check_get_range function was not
13808 API GstBaseSrc::blocksize range can be 0 too now (default)
13810 * tests/check/elements/filesrc.c: (GST_START_TEST),
13812 Added check to test _get_range() behaviour.
13814 2006-07-06 Wim Taymans <wim@fluendo.com>
13816 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13817 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13818 (gst_pad_pull_range):
13820 Lots of comments and docs added to the pad functions.
13821 Flesh out the expected behaviour of the get_range() functions.
13823 2006-07-06 Wim Taymans <wim@fluendo.com>
13828 * gst/gstiterator.h:
13832 Remove comma at end of enumerator list.
13834 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13836 * win32/common/libgstbase.def:
13837 * win32/common/libgstdataprotocol.def:
13838 * win32/common/libsgtreamer.def:
13839 Add new exported functions.
13841 2006-07-05 Wim Taymans <wim@fluendo.com>
13843 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13844 Add some more docs here and there.
13846 2006-07-05 Wim Taymans <wim@fluendo.com>
13848 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13849 (gst_base_sink_loop), (gst_base_sink_get_position):
13850 When operating in pull mode update the offset so that we
13853 2006-07-05 Wim Taymans <wim@fluendo.com>
13855 * gst/gstregistryxml.c: (read_string):
13856 Avoid strdup. (will happen in libxml, but hey!)
13859 Add some more docs.
13861 2006-07-05 Wim Taymans <wim@fluendo.com>
13863 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13864 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13865 (gst_buffer_suite):
13866 No point in checking if the size of the subbuffer > 0, the
13867 code handles it correclty as demonstrated by unit test.
13868 Also add a unit test for the zero sized _new_and_alloc and
13869 _copy. Fixes #346663.
13871 2006-07-05 Wim Taymans <wim@fluendo.com>
13873 * libs/gst/base/gstbasetransform.c:
13874 (gst_base_transform_prepare_output_buffer),
13875 (gst_base_transform_buffer_alloc),
13876 (gst_base_transform_handle_buffer):
13877 Make sure the buffer we pass to transform_ip has a refcount of
13878 1 and thus is writable. Fixes #343196
13880 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13882 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13883 (gst_file_src_init), (gst_file_src_set_property),
13884 (gst_file_src_get_property), (gst_file_src_map_region):
13885 * plugins/elements/gstfilesrc.h:
13886 Add "sequential" property, off by default, to use madvise and hint
13887 to the kernel that sequential access is desired.
13888 Touch all retrieved pages by default to ensure they are pulled
13889 into memory. (Closes #345720)
13891 2006-07-03 Wim Taymans <wim@fluendo.com>
13893 * docs/design/part-block.txt:
13894 * docs/design/part-dynamic.txt:
13895 Small docs updates.
13897 2006-07-03 Wim Taymans <wim@fluendo.com>
13899 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13900 (gst_caps_unref), (gst_static_caps_get),
13901 (gst_caps_append_structure):
13902 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13903 Use GSlice when the glib we build against is >= 2.10
13905 2006-07-03 Wim Taymans <wim@fluendo.com>
13907 * gst/gstelement.c: (gst_element_pads_activate):
13908 Small cleanup in pad activation code.
13910 2006-07-03 Wim Taymans <wim@fluendo.com>
13912 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13914 * gst/gst-i18n-app.h:
13915 * gst/gst-i18n-lib.h:
13916 * tools/gst-inspect.c: (print_signal_info):
13917 The attached patch will make the inclusion of gettext.h unconditional in
13918 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13919 libintl.h in tools/gst-inspect.c.
13920 This allows use of --disable-nls again and fixes #344642.
13922 2006-07-03 Edward Hervey <edward@fluendo.com>
13924 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13925 Implement pad blocking on events according to part-block.txt.
13926 More comments on behaviour.
13927 * tests/check/gst/gstevent.c: (test_event):
13928 Send event to peer pad of blocked pad (else it will block).
13930 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13932 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13933 (gst_check_run_suite):
13934 if we get the wrong message, give us the types as string
13935 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13937 * tests/check/elements/filesrc.c: (GST_START_TEST):
13938 add a test for trying to open a non-existing file
13940 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13942 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13943 add a test for adding self
13945 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13947 * libs/gst/check/gstcheck.h:
13948 add some assert_ as alias for fail_unless_*
13949 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13950 increase test coverage
13952 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13955 include lcov.mak for lcov coverage generation
13956 * tools/Makefile.am:
13959 2006-07-02 Edward Hervey <edward@fluendo.com>
13961 * tests/check/elements/.cvsignore:
13964 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13967 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13968 * tests/check/Makefile.am:
13969 clean up gcov files
13971 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13973 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13974 remove gst_caps_simplify; it was not declared and not used
13975 and deprecated in 0.8
13977 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13979 * docs/faq/gst-uninstalled:
13980 don't put empty paths on PYTHONPATH
13981 * docs/gst/gstreamer-sections.txt:
13982 remove some symbols that are not there
13984 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13986 * gst/gstcaps.c: (gst_caps_compare_structures):
13988 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13989 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13992 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13994 * libs/gst/dataprotocol/Makefile.am:
13995 build dataprotocol test by linking to the lib, instead of
13996 compiling the source, so we get coverage
13997 * tests/check/Makefile.am:
13998 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13999 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14000 add a test for filesrc
14002 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14004 * tests/check/gst/gststructure.c: (GST_START_TEST),
14005 (gst_structure_suite):
14006 Push coverage from 59.04% to 70.00%
14008 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14010 * tests/check/Makefile.am:
14011 gst-inspect every element; this makes sure that we also get
14012 coverage on element's get/set functions
14014 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14017 set CFLAGS and friends to -O0 if gcov is being used
14020 * libs/gst/base/Makefile.am:
14021 * libs/gst/check/Makefile.am:
14022 * libs/gst/controller/Makefile.am:
14023 * libs/gst/dataprotocol/Makefile.am:
14024 * libs/gst/net/Makefile.am:
14025 * plugins/elements/Makefile.am:
14026 * plugins/indexers/Makefile.am:
14027 add makefile rules to generate gcov data and clean up
14028 * tests/check/Makefile.am:
14029 add a coverage target that generates an html overview
14032 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14034 * tests/check/elements/fakesink.c:
14035 * tests/check/elements/fakesrc.c:
14036 * tests/check/elements/fdsrc.c:
14037 * tests/check/elements/identity.c:
14038 * tests/check/generic/sinks.c: (gst_sinks_suite):
14039 * tests/check/generic/states.c:
14040 * tests/check/gst/gst.c:
14041 * tests/check/gst/gstabi.c:
14042 * tests/check/gst/gstbin.c:
14043 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14044 * tests/check/gst/gstbus.c: (gst_bus_suite):
14045 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14046 * tests/check/gst/gstelement.c:
14047 * tests/check/gst/gstevent.c: (gst_event_suite):
14048 * tests/check/gst/gstghostpad.c:
14049 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14050 * tests/check/gst/gstmessage.c: (gst_message_suite):
14051 * tests/check/gst/gstminiobject.c:
14052 * tests/check/gst/gstobject.c:
14053 * tests/check/gst/gstpad.c:
14054 * tests/check/gst/gstpipeline.c:
14055 * tests/check/gst/gstplugin.c:
14056 * tests/check/gst/gstquery.c: (gst_query_suite):
14057 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14058 * tests/check/gst/gststructure.c:
14059 * tests/check/gst/gstsystemclock.c:
14060 * tests/check/gst/gsttag.c:
14061 * tests/check/gst/gsttask.c: (gst_task_suite):
14062 * tests/check/gst/gstutils.c:
14063 * tests/check/gst/gstvalue.c:
14064 * tests/check/libs/adapter.c:
14065 * tests/check/libs/basesrc.c:
14066 * tests/check/libs/collectpads.c:
14067 * tests/check/libs/controller.c:
14068 * tests/check/libs/gdp.c: (gst_dp_suite):
14069 * tests/check/libs/gstnetclientclock.c:
14070 * tests/check/libs/gstnettimeprovider.c:
14071 * tests/check/libs/libsabi.c: (libsabi_suite):
14072 * tests/check/libs/typefindhelper.c:
14073 * tests/check/pipelines/cleanup.c:
14074 * tests/check/pipelines/parse-launch.c:
14075 * tests/check/pipelines/simple-launch-lines.c:
14076 * tests/check/pipelines/stress.c: (stress_suite):
14079 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14081 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14082 * libs/gst/check/gstcheck.h:
14083 create a macro and function so that the simple unit test
14084 case can be just one macro to create main()
14086 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14088 * gst/gstbin.c: (gst_bin_restore_thyself):
14089 * gst/gstxml.c: (gst_xml_make_element):
14090 Fix deserialisation from XML. Set parent manually
14091 instead of using gst_bin_add(), since gst_bin_add()
14092 will unlink all pads of the element being added.
14095 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14097 Patch by: Peter Kjellerstedt <pkj at axis com>
14099 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14100 Fix missing g_strdup() and double free when using the
14101 --gst-plugin-load command line option (#346097).
14103 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14106 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14108 * libs/gst/net/gstnetclientclock.c:
14109 * libs/gst/net/gstnettimeprovider.c:
14110 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14112 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14114 * docs/manual/advanced-dataaccess.xml:
14115 Fix buffer probe example compilation in
14118 2006-06-22 Edward Hervey <edward@fluendo.com>
14120 * gst/gstelement.c: (gst_element_pads_activate):
14121 We need to deactivate src pads first and then sink pads.
14122 The reason is the src pads might be blocking while holding the streaming
14123 lock, so we need to deactivate them first so that deactivating the sink
14124 pads doesn't block (since it will require the streaming lock).
14126 2006-06-22 Wim Taymans <wim@fluendo.com>
14128 * libs/gst/base/gstbasetransform.c:
14129 (gst_base_transform_buffer_alloc):
14130 Forgot to remove two unneeded unrefs.
14131 Simplify a check _is_equal allready checks the obvious case.
14133 2006-06-22 Wim Taymans <wim@fluendo.com>
14135 * docs/design/part-block.txt:
14136 Some docs about what pad_block should do.
14138 2006-06-22 Wim Taymans <wim@fluendo.com>
14140 * gst/gstcaps.c: (gst_caps_replace):
14141 Fix crasher when passed NULL. Doc clarification.
14142 Optimize for the trivial case.
14144 * gst/gstpipeline.c: (gst_pipeline_change_state):
14147 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14148 Small documentation cleanup.
14150 * libs/gst/base/gstbasetransform.c:
14151 (gst_base_transform_buffer_alloc):
14152 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14153 is what we need and it avoids a whole lot of redundant
14154 refcount operations.
14156 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14158 Patch by: Philip Jägenstedt <philip at lysator liu se>
14160 * docs/manual/advanced-dataaccess.xml:
14161 Fix 'Embedding static elements' section to use
14162 GST_PLUGIN_DEFINE_STATIC (#345607).
14164 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14166 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14167 Attempt to 'fix' spuriously failing test case: it seems like the
14168 timeout of half a second is simply too small when the system is under
14169 load otherwise, and the timeout doesn't really seem to serve any
14170 particular purpose here. Give the pipeline a few seconds to preroll
14171 first, and then give it another half a second to go from PAUSED to
14172 PLAYING and marshal the message into the main thread.
14174 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14176 * tools/gst-feedback-m.m:
14177 Don't only use unversioned tools, try versioned tools as well
14180 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14182 * gst/gstbus.c: (gst_bus_class_init):
14183 Fix some typos, make docs more explicit.
14185 2006-06-20 Wim Taymans <wim@fluendo.com>
14187 * tests/check/gst/gstghostpad.c: (block_callback),
14188 (GST_START_TEST), (gst_ghost_pad_suite):
14189 Added some more ghostpad tests, mainly blocking
14192 2006-06-16 Wim Taymans <wim@fluendo.com>
14194 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14195 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14196 (gst_file_sink_event), (gst_file_sink_render):
14197 * plugins/elements/gstfilesink.h:
14198 Check if we can seek in the file instead of assuming
14199 we always can. Post an error when we are asked to seek in a
14200 non-seekable file (like a fifo). Fixes #343312.
14203 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14205 * tools/gst-launch.1.in:
14206 Un-garble (fourcc) bit in filtered caps section.
14208 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14210 * docs/manual/advanced-autoplugging.xml:
14211 * docs/manual/basics-helloworld.xml:
14212 * docs/manual/highlevel-components.xml:
14213 Don't leak bus reference in sample code.
14215 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14218 Add default for new --enable-plugin-docs switch.
14221 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14224 * docs/Makefile.am:
14225 Use new ENABLE_PLUGIN_DOCS conditional.
14227 2006-06-14 Wim Taymans <wim@fluendo.com>
14229 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14230 Make it clear with a FIXME and a real define what the #if 0
14231 previously disabled.
14233 2006-06-14 Wim Taymans <wim@fluendo.com>
14235 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14236 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14237 * libs/gst/base/gstbasetransform.c:
14238 (gst_base_transform_sink_eventfunc):
14239 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14240 Don't randomly and silently reset a segment when the format
14241 changes as this is a bug somewhere upstream. Fixes #330379.
14243 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14245 Patch by: Wouter Paesen <wouter at kangaroot net>
14247 * libs/gst/controller/gstcontroller.c:
14248 (gst_controlled_property_new):
14249 Fix controlling of float properties (#344849).
14251 * tests/check/libs/controller.c:
14252 (gst_test_mono_source_get_property),
14253 (gst_test_mono_source_set_property),
14254 (gst_test_mono_source_class_init), (GST_START_TEST):
14255 While we're at it, add some float stuff to unit test.
14257 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14260 * docs/images/gdp-header.svg:
14262 * docs/libs/Makefile.am:
14263 * docs/libs/gdp-header.png:
14264 * libs/gst/dataprotocol/dataprotocol.c:
14265 add it to the API docs
14266 * docs/manual/intro-motivation.xml:
14269 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14271 * gst/gst.c: (scan_and_update_registry), (init_post):
14272 If the fork()'ed child process can't write the updated registry cache
14273 file to disk for some reason, make it exit with a failure exit code,
14274 so that the parent can then re-scan the plugins itself and update the
14275 registry structures in memory and work with that (rather than failing
14276 when creating elements because seemingly no plugins are available).
14277 Refactor registry scanning code into separate function for this and
14278 also separate fork() and non-fork() code paths. Fixes #344748.
14280 2006-06-13 Wim Taymans <wim@fluendo.com>
14282 * docs/manual/advanced-dataaccess.xml:
14283 Fix wrong PluginDesc. Fixes #344755.
14285 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14287 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14288 Fix silly bug that prevented us from creating
14289 ~/.gstreamer-0.10 and writing the registry in one
14290 go (the first call to g_mkstemp() would overwrite the
14291 placeholder in the template string, so the second call
14292 to g_mkstemp() after creating the missing directory
14293 would then error out with 'invalid argument').
14295 2006-06-13 Edward Hervey <edward@fluendo.com>
14297 * gst/gst.c: (init_post):
14300 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14302 * gst/glib-compat-private.h:
14303 * gst/glib-compat.c:
14304 * gst/glib-compat.h:
14305 * gst/gstvalue.c: (gst_value_serialize_flags):
14306 remove GLib 2.6 compatibility code
14308 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14310 * gst/parse/Makefile.am:
14311 Fix build with 'make -j N' even more (#340016).
14313 2006-06-12 Wim Taymans <wim@fluendo.com>
14315 * docs/gst/gstreamer-sections.txt:
14318 2006-06-12 Wim Taymans <wim@fluendo.com>
14320 * gst/gstsegment.c: (gst_segment_set_duration),
14321 (gst_segment_set_last_stop), (gst_segment_set_seek),
14322 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14323 (gst_segment_to_running_time), (gst_segment_clip):
14324 Use G_UNLIKELY to help the compiler a bit.
14326 2006-06-12 Wim Taymans <wim@fluendo.com>
14328 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14330 * gst/gstevent.c: (gst_event_get_type):
14331 * gst/gstmessage.c:
14332 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14334 constify quark registration strings. Fixes #344115
14335 Avoid unneeded type checking is _pad_push() by internally
14336 calling gst_pad_chain_unchecked().
14338 2006-06-12 Wim Taymans <wim@fluendo.com>
14340 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14341 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14342 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14343 (gst_buffer_is_span_fast), (gst_buffer_span):
14344 Init _type for consistency.
14345 Use _FLAGS macro to avoid type check.
14346 Avoid unneeded type checks in subbufer code.
14348 2006-06-12 Wim Taymans <wim@fluendo.com>
14350 * gst/gst.c: (gst_debug_help):
14351 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14352 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14353 (gst_plugin_feature_list_free):
14354 * gst/gstregistry.c: (gst_registry_add_plugin),
14355 (gst_registry_add_feature), (gst_registry_plugin_filter),
14356 (gst_registry_feature_filter), (gst_registry_find_plugin),
14357 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14358 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14359 * gst/gstregistryxml.c: (load_feature),
14360 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14361 * gst/gstminiobject.c: (gst_mini_object_unref),
14362 (gst_mini_object_replace), (gst_value_mini_object_free),
14363 (gst_value_mini_object_copy):
14364 Use _CAST macros to avoid unneeded type checking.
14365 Added some more G_UNLIKELY.
14367 2006-06-12 Wim Taymans <wim@fluendo.com>
14370 Avoid unneeded type checking.
14371 API: GST_BUFFER_IS_DISCONT
14373 * gst/gstminiobject.h:
14374 Avoid type check in flag accessor.
14376 * gst/gstelementfactory.h:
14378 * gst/gstpluginfeature.h:
14380 API: GST_ELEMENT_FACTORY_CAST
14381 API: GST_PLUGIN_CAST
14382 API: GST_PLUGIN_FEATURE_CAST
14384 2006-06-12 Wim Taymans <wim@fluendo.com>
14386 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14387 (gst_object_unref):
14388 Add G_UNLIKELY in type registration.
14389 Avoid type check in _ref/_unref since that is also
14392 2006-06-12 Wim Taymans <wim@fluendo.com>
14394 * gst/gsterror.c: (gst_g_error_get_type):
14395 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14396 (gst_static_pad_template_get_type):
14397 * gst/gsttaglist.c: (gst_tag_list_get_type):
14398 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14399 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14400 * gst/gsturi.c: (gst_uri_handler_get_type):
14401 * gst/gstvalue.c: (gst_date_get_type):
14402 * gst/gstxml.c: (gst_xml_get_type):
14403 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14404 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14405 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14406 Add G_UNLIKELY in type registration.
14408 2006-06-12 Wim Taymans <wim@fluendo.com>
14410 * tools/gst-inspect.c: (print_signal_info):
14411 Properly print enum values.
14413 2006-06-12 Wim Taymans <wim@fluendo.com>
14415 * gst/gstinfo.c: (gst_debug_set_active),
14416 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14418 Add some G_[UN]LIKELY.
14419 Maintain __gst_debug_min to avoid formatting the arguments of
14420 debug messages that will be dropped anyway to avoid a lot of
14421 overhead from the debugging system.
14423 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14426 * po/POTFILES.skip:
14427 add missing files containing translatable strings, tell intltool about
14430 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14432 * tests/check/libs/.cvsignore:
14433 add test-binary to ignore list
14435 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14437 * docs/libs/gstreamer-libs-docs.sgml:
14438 reorder (put dp into a chapter) and indent
14440 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14445 === release 0.10.8 ===
14447 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14450 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14452 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14454 * gst/gst.c: (init_post):
14455 move pid declaration to declaration block
14457 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14459 * gst/gst.c: (init_post):
14460 use _exit() instead of exit() in our forked child; this ensures
14461 that none of the registered exit handlers from whatever is using
14462 GStreamer get executed. This fixes gnome-mixer-applet failing
14463 to load, because ORBit would shut down.
14464 Spotted by: Edward Hervey <edward@fluendo.com>
14465 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14468 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14473 === release 0.10.7 ===
14475 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14478 releasing 0.10.7, "Soepeke, ik zie ou"
14480 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14503 * win32/common/config.h:
14504 0.10.6.2 prerelease
14506 2006-06-07 Wim Taymans <wim@fluendo.com>
14508 * gst/gstindex.c: (gst_index_gtype_resolver):
14509 * tools/gst-xmlinspect.c: (print_plugin_info):
14510 Fix leak spotted by coverity checker. Fixes #343827
14511 Fix another other leak found by paolo borelli.
14513 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14515 * libs/gst/dataprotocol/dataprotocol.c:
14516 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14517 (gst_dp_version_get_type), (gst_dp_init),
14518 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14519 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14520 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14521 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14522 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14523 (gst_dp_packetizer_free):
14524 * libs/gst/dataprotocol/dataprotocol.h:
14525 API: add a GstDPPacketizer object, and create/free functions
14526 API: add GstDPVersion enum
14527 Add 1.0 event function that uses the string serialization
14528 Serialize more useful buffer flags
14531 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14533 * tests/check/Makefile.am:
14534 * tests/check/gst/gstabi.c:
14535 * tests/check/gst/struct_ppc64.h:
14536 * tests/check/libs/libsabi.c:
14537 * tests/check/libs/struct_ppc64.h:
14538 add ppc64 structure sizes
14540 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14542 * tests/check/Makefile.am:
14543 * tests/check/gst/gstabi.c:
14544 * tests/check/gst/struct_x86_64.h:
14545 * tests/check/libs/libsabi.c:
14546 * tests/check/libs/struct_x86_64.h:
14547 generate and add structure size lists for x86_64
14549 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14551 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14552 * libs/gst/check/gstcheck.h:
14553 factor out the method from tests that checks size of structures,
14554 and add code to generate the header containing these sizes
14555 * tests/check/gst/gstabi.c: (GST_START_TEST):
14556 * tests/check/gst/struct_i386.h:
14557 * tests/check/libs/libsabi.c: (GST_START_TEST):
14558 * tests/check/libs/struct_i386.h:
14561 2006-06-06 Michael Smith <msmith@fluendo.com>
14563 * gst/gstsegment.h:
14564 Don't use c++-style comments, fixes #343929
14566 2006-06-05 Edward Hervey <edward@fluendo.com>
14569 plugin_paths is not used if we build without registry support.
14571 * gst/gstsegment.c: (gst_segment_copy):
14572 _copy() was always returning NULL...
14574 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14576 * libs/gst/dataprotocol/dataprotocol.c:
14577 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14578 (gst_dp_packet_from_event):
14579 factor out CRC code
14581 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14583 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14584 make sure we unset caps
14586 2006-06-02 Michael Smith <msmith@fluendo.com>
14588 * libs/gst/check/gstcheck.c: (gst_check_init),
14589 (gst_check_chain_func):
14590 * libs/gst/check/gstcheck.h:
14591 Add a cond/mutex to the check support lib, signal this whenever we
14592 add to the buffers list. This will allow tests to not busy-wait on
14595 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14597 * libs/gst/dataprotocol/dataprotocol.c:
14598 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14599 (gst_dp_packet_from_event):
14600 factor out some common header init code
14602 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14604 * docs/libs/gstreamer-libs-sections.txt:
14605 * docs/libs/tmpl/gstdataprotocol.sgml:
14606 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14607 * libs/gst/dataprotocol/dataprotocol.h:
14608 API: make gst_dp_crc() public
14610 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14612 * plugins/indexers/gstindexers.c: (plugin_init):
14613 conditionally register fileindexer (fixes #343598)
14615 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14617 * gst/gsttagsetter.h:
14618 Can't cast ifaces to a class
14620 * libs/gst/net/gstnetclientclock.h:
14621 * libs/gst/net/gstnettimeprovider.h:
14622 * plugins/elements/gstfakesink.h:
14623 * plugins/elements/gstfakesrc.h:
14624 * plugins/elements/gstfdsink.h:
14625 * plugins/elements/gstfdsrc.h:
14626 * plugins/elements/gstfilesink.h:
14627 * plugins/elements/gstfilesrc.h:
14628 * plugins/elements/gstidentity.h:
14629 * plugins/elements/gstqueue.h:
14630 * plugins/elements/gsttee.h:
14631 * plugins/indexers/gstfileindex.c:
14632 * plugins/indexers/gstmemindex.c:
14633 * tests/old/examples/plugins/example.h:
14634 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14636 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14638 * libs/gst/dataprotocol/dataprotocol.c:
14639 (gst_dp_header_from_buffer):
14640 make sure we zero the whole ABI-compatible area
14642 2006-06-01 Wim Taymans <wim@fluendo.com>
14644 Patch by: Alessandro Decina <alessandro at nnva dot org>
14646 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14647 Make sure the EOS flag is cleared from pads after a flush
14648 or stop. Fixes #343538.
14650 * tests/check/libs/collectpads.c: (GST_START_TEST),
14651 (gst_collect_pads_suite):
14652 Added test for collectpads reusage after EOS.
14654 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14657 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14658 * win32/common/libgstbase.def:
14659 export gst_collect_pads_set_flushing
14660 * win32/common/libgstreamer.def:
14661 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14662 gst_value_fraction_multiply
14663 * win32/vs6/gst_inspect.dsp:
14664 add a link to intl.lib
14666 2006-05-30 Wim Taymans <wim@fluendo.com>
14668 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14669 (gst_collect_pads_chain):
14670 Handle the case where a pad is removed from the collection
14671 that could cause the other pads to become collectable.
14673 2006-05-30 Wim Taymans <wim@fluendo.com>
14675 * gst/gstelement.c:
14676 Clarify the use of _release_request_pad() and
14677 _get_request_pad() a bit better.
14679 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14680 (gst_adapter_take_buffer):
14681 Fix some doc and comment typos.
14683 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14685 * docs/gst/gstreamer-sections.txt:
14686 * docs/libs/gstreamer-libs-sections.txt:
14687 add declared symbols
14689 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14691 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14692 Add debug that can be enabled using a #define at the top of the file,
14693 for dumping stats about how late/early we were when waking up from
14694 waiting on the clock.
14696 2006-05-30 Wim Taymans <wim@fluendo.com>
14698 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14699 When rebuilding the pad list, don't leak the previous list.
14701 2006-05-30 Wim Taymans <wim@fluendo.com>
14703 Patch by: Lutz Mueller <lutz at topfrose dot de>
14705 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14706 (gst_base_src_get_query_types), (gst_base_src_update_length):
14707 Publish supported query types.
14708 Update last_stop field in get_range mode so the position
14709 query works. Fixes #342321.
14711 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14713 * docs/gst/gstreamer-sections.txt:
14714 * gst/gsttaglist.c: (_gst_tag_initialize):
14715 * gst/gsttaglist.h:
14716 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14718 2006-05-30 Wim Taymans <wim@fluendo.com>
14720 Patch by: Alessandro Decina <alessandro at nnva dot org>
14722 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14723 Unlock mutex when removing an unknown pad.
14726 * tests/check/Makefile.am:
14727 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14728 (push_event), (setup), (teardown), (GST_START_TEST),
14729 (gst_collect_pads_suite), (main):
14730 Added collecpads check, disabled for now as check crashes for
14733 2006-05-29 Wim Taymans <wim@fluendo.com>
14735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14736 Don't leak pads lists.
14738 2006-05-29 Wim Taymans <wim@fluendo.com>
14740 * docs/libs/gstreamer-libs-sections.txt:
14741 * libs/gst/base/gstcollectpads.c:
14742 (gst_collect_pads_set_flushing_unlocked),
14743 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14744 (gst_collect_pads_stop):
14745 * libs/gst/base/gstcollectpads.h:
14746 API: gst_collect_pads_set_flushing()
14747 Added api to set the pads to flushing, useful for seeking
14748 code in elements using collectpads.
14749 Clear segment when receiving a flush.
14751 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14753 * gst/gst.c: (add_path_func), (init_post):
14754 Don't scan registry paths passed via --gst-plugin-path immediately
14755 (will crash, because absolutely nothing is set up and no types are
14756 registered etc.); do this later in init_post(). Fixes #343057.
14758 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14760 * gst/gst.c: (init_post):
14761 if we have fork, fork while reading/rebuilding the registry
14762 so the parent doesn't take the hit of having all plugins loaded
14763 in memory. Fixes #342777.
14765 Check if we have fork()
14766 * win32/common/config.h.in:
14769 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14771 * plugins/elements/gstelements.c:
14772 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14773 (gst_file_src_init), (gst_file_src_set_property),
14774 (gst_file_src_get_property), (gst_file_src_start):
14775 * plugins/elements/gstfilesrc.h:
14776 API: GstFileSrc::use-mmap
14778 Add a use-mmap property to enable easier testing of all code paths.
14779 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14780 in the absence of gnomevfssrc. (Closes #340501)
14782 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14784 * tools/gst-inspect.c:
14785 Add missing include, removes warning of ngettext not being defined on
14788 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14790 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14791 Handle NULL input and output pointers silently as a failed conversion,
14792 rather than g_warnings.
14794 2006-05-25 Wim Taymans <wim@fluendo.com>
14796 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14797 Initialize variable before using. Fixes #342820.
14799 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14801 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14802 Fix off-by-one bug that would only allow peeks of N-1 bytes
14803 from the start even if the buffer to typefind on contains
14804 in fact N bytes of data (makes vorbis typefinding from a
14805 vorbis identification header buffer work).
14807 * tests/check/Makefile.am:
14808 * tests/check/libs/.cvsignore:
14809 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14810 (gst_typefindhelper_suite), (main), (foobar_typefind),
14812 Add very basic unit test for gst_type_find_helper_for_buffer()
14813 that checks for the problem fixed above.
14815 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14817 * tools/gst-inspect.c: (print_interfaces),
14818 (print_element_properties_info), (print_element_list), (main):
14819 add more translatable strings
14821 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14823 Patch by: Julien Moutte <julien at moutte net>
14825 * docs/gst/gstreamer-sections.txt:
14826 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14828 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14829 (gst_fake_sink_preroll):
14830 * plugins/elements/gstfakesink.h:
14831 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14833 2006-05-23 Wim Taymans <wim@fluendo.com>
14835 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14837 Added _CUSTOM error and success GstFlowReturn that can be
14838 used be elements internally.
14839 Added macro to check for SUCCESS flowreturns.
14840 API: GST_FLOW_CUSTOM_SUCCESS
14841 API: GST_FLOW_CUSTOM_ERROR
14842 API: GST_FLOW_IS_SUCCESS
14844 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14845 Added check for GstFlowReturn sanity.
14847 2006-05-23 Wim Taymans <wim@fluendo.com>
14849 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14851 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14852 (gst_collect_pads_event):
14853 clear/reset segment info in FLUSH_STOP.
14856 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14858 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14859 (gst_collect_pads_check_collected):
14860 Flush queued buffer on _stop(), fixes playing again (#342454)
14862 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14864 * tests/check/gst/gststructure.c: (GST_START_TEST),
14865 (gst_structure_suite):
14866 add a test for a complete structure
14868 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14870 * docs/faq/developing.xml:
14871 * docs/faq/faq.xml:
14872 * docs/faq/troubleshooting.xml:
14873 * docs/faq/using.xml:
14874 Some minor FAQ updates that won't change the fact that
14875 our FAQ is badly structured, full of information hardly
14876 anyone new to GStreamer needs to know and lacking lots
14877 of information people constantly ask for.
14879 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14881 * gst/gstpad.c: (gst_pad_set_caps):
14882 Short-circuit gst_pad_set_caps if setting the existing
14883 caps pointer again, and avoid printing debug and
14884 reffing/unreffing the caps.
14886 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14887 There's actually no need to set the caps before pushing -
14888 the acceptcaps method will handle it anyway.
14890 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14892 * docs/gst/gstreamer-sections.txt:
14893 * win32/common/libgstreamer.def:
14894 * gst/gstutils.c: (gst_element_seek_simple):
14896 API: add gst_element_seek_simple() (#342238).
14898 2006-05-18 Edward Hervey <edward@fluendo.com>
14900 * gst/gsttypefind.c: (gst_type_find_get_type):
14901 * gst/gsttypefind.h:
14902 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14903 registered for GstTypeFind pointers. This allows wrapping the structure
14904 in bindings (i.e. gst-python).
14906 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14908 * gst/gsttagsetter.c:
14909 Docs additions and fixes (see #339918).
14911 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14913 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14914 The caps intersection algorithm can produce multiple copies of the
14915 caps. Until that is fixed, we need to simplify the result to be
14916 sure whether the allowed caps are fixed or not.
14918 * plugins/elements/gstqueue.c: (gst_queue_init),
14919 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14920 (gst_queue_push_one):
14921 Proxied buffer alloc should not set the caps on the source pad.
14922 When pushing buffers, we always accept the caps change that triggers.
14923 This prevents negotiation errors caused by caps changing mid-stream
14924 and then being refused on our source pad (because upstream is now
14925 refusing those caps).
14927 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14929 * tests/examples/helloworld/helloworld.c: (main):
14930 Must plug audioconvert and audioresample between decoder
14933 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14935 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14936 (load_feature), (load_plugin):
14937 Allow empty strings for some of the plugin fields so we don't
14938 drop valid plugin entries that were written out correctly
14941 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14943 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14944 Use g_remove and g_rename instead of remove and rename that don't
14945 handle utf8 characters. rename was failing for users who had specific
14946 characters in their name then the registry was built at each
14948 * win32/vs6/gst_inspect.dsp:
14949 * win32/vs6/gst_launch.dsp:
14950 * win32/vs6/libgstbase.dsp:
14951 * win32/vs6/libgstcoreelements.dsp:
14952 * win32/vs6/libgstreamer.dsp:
14953 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14954 build of libgstreamer and clean unused libraries in projects link
14957 2006-05-17 Edward Hervey <edward@fluendo.com>
14959 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14960 The queue is not responsible for pushing an EOS when receiving a fatal
14961 flow error. It's up to the real element driving the pipeline to do that.
14963 2006-05-16 Edward Hervey <edward@fluendo.com>
14965 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14966 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14967 buffer returned a fatal error. It should just send an EOS and stop
14969 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14970 when pushing buffers on the queue and will be able to handle the event.
14972 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14974 * docs/manual/basics-bins.xml:
14975 * docs/manual/basics-init.xml:
14976 Fix typos and minor errors in sample code (#341856).
14978 2006-05-16 Wim Taymans <wim@fluendo.com>
14980 * docs/design/part-qos.txt:
14981 Fix indexes in formulas to make more sense.
14983 2006-05-15 Wim Taymans <wim@fluendo.com>
14985 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14986 Don't report POSITION based on clock time if sync is
14987 disabled in a sink.
14989 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14992 Add cast to make compiler happy - refcount variable was a gint
14993 in GstObject but is a guint in GObject and g_atomic_int_get()
14996 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14998 * gst/parse/Makefile.am:
14999 chain commands using &&, which also makes parallel make work
15001 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15003 * docs/gst/gstreamer-sections.txt:
15006 * gst/gstmessage.h:
15009 === release 0.10.6 ===
15011 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15014 releasing 0.10.6, "Take the cannoli"
15016 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15018 * tools/gst-launch.c: (print_tag):
15019 Fix use of uninitialized variable in the hypothetical
15020 case that some broken plugin creates a GST_TAG_IMAGE
15021 tag containing a NULL buffer (#341667).
15023 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15025 * tools/gst-launch.c: (print_tag):
15026 Print something more intelligible for image tags when
15027 using the -t switch (#341556).
15029 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15034 define GST_MAJORMINOR so we have it available in win32/common/config.h
15035 Possibly remove it from our Makefile.am files later
15036 * win32/common/config.h:
15037 * win32/common/config.h.in:
15038 added GST_MAJORMINOR
15039 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15040 * win32/common/gstversion.h:
15043 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15046 Update win32 files listing.
15047 * win32/common/gstversion.h:
15048 Add GST_MAJORMINOR definition.
15049 * win32/common/libgstreamer.def:
15050 Add new exported functions.
15052 2006-05-12 Michael Smith <msmith@fluendo.com>
15054 * gst/gstplugin.c: (gst_plugin_load_file):
15055 If an so file has no plugin entry point, unload the module.
15057 2006-05-11 Wim Taymans <wim@fluendo.com>
15059 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15060 (gst_queue_set_property):
15061 Don't forget to signal the _chain or _loop function
15062 when the queue size or thresholds change since that might
15063 cause them to make progres again.
15065 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15067 * gst/gstclock.c: (gst_clock_class_init):
15068 * gst/gstindex.c: (gst_index_class_init):
15069 * gst/gstobject.c: (gst_object_class_init):
15070 * gst/gstpad.c: (gst_pad_class_init):
15071 * gst/gstpipeline.c: (gst_pipeline_class_init):
15072 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15073 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15074 * libs/gst/base/gstbasetransform.c:
15075 (gst_base_transform_class_init):
15076 * libs/gst/net/gstnetclientclock.c:
15077 (gst_net_client_clock_class_init):
15078 * libs/gst/net/gstnettimeprovider.c:
15079 (gst_net_time_provider_class_init):
15080 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15081 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15082 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15083 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15084 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15085 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15086 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15087 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15088 * plugins/elements/gsttee.c: (gst_tee_class_init):
15089 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15090 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15091 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15093 2006-05-11 Wim Taymans <wim@fluendo.com>
15095 * gst/gstbuffer.c: (_gst_buffer_initialize):
15096 Register subbufer along with the buffer type so that
15097 it does not accidentally gets registered from N
15098 different streaming threads in a non threadsafe way.
15100 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15104 * gst/gstmessage.h:
15105 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15106 gst_event_ref() and gst_message_ref() functions again
15107 (ugly hack, please do fix if there's a better way besides
15108 overrides.txt, which doesn't seem to work).
15110 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15112 * libs/gst/check/gstcheck.h:
15113 add an assert for setting state to avoid lots of repetitive code
15116 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15118 * gst/gstvalue.c: (gst_value_serialize_flags):
15119 fix a leak if no flags are set
15120 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15123 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15125 * docs/manual/basics-pads.xml:
15126 Expand a bit on caps and filtered links and update
15127 examples that were still using the no longer existing
15128 gst_pad_link_filtered() (#338206).
15130 2006-05-10 Wim Taymans <wim@fluendo.com>
15132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15133 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15134 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15135 (gst_collect_pads_stop):
15136 * libs/gst/base/gstcollectpads.h:
15137 No need to call _stop in _finalize.
15138 Iterate the main pad list in _finalize.
15139 Added some more debug.
15140 Free lists and data in the right order.
15141 Also free data whem doing _remove_pad when stopped for
15142 backward compatibility protect ::started with PAD_LOCK as
15145 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15147 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15148 (gst_structure_parse_value):
15150 rename a method so that it actually says what it does better
15152 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15154 * gst/gstevent.c: (_gst_event_initialize):
15155 * gst/gstformat.c: (_gst_format_initialize):
15156 make sure some essential types used by events are registered
15157 as part of gst_init()
15158 * gst/gstvalue.c: (gst_value_serialize_flags):
15159 if no flags are set, serialize them to a value that represents NONE
15160 so that deserializing them works
15161 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15162 add tests for serialization and deserialization of flags
15164 2006-05-10 Wim Taymans <wim@fluendo.com>
15166 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15167 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15168 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15169 (gst_collect_pads_event), (gst_collect_pads_chain):
15172 Catch and return errors from the collect function
15173 Refuse data on eos pads.
15175 2006-05-10 Edward Hervey <edward@fluendo.com>
15177 * gst/gstinterface.h:
15178 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15179 GInterface type checking.
15180 They were previously using non-defined macros.
15182 2006-05-09 Wim Taymans <wim@fluendo.com>
15184 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15185 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15186 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15187 (gst_collect_pads_start), (gst_collect_pads_stop),
15188 (gst_collect_pads_peek), (gst_collect_pads_pop),
15189 (gst_collect_pads_available), (gst_collect_pads_read),
15190 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15191 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15192 (gst_collect_pads_chain):
15193 * libs/gst/base/gstcollectpads.h:
15194 Clean up the mess that is collectpads, add comments and
15195 FIXMEs where needed.
15196 Maintain a separate pad list so we can add pads while
15197 collecting the other ones. For this we need a new separate
15199 Fix memory leak in finalize.
15200 Refactor some weird code to set/unset pad flushing flags, mark
15202 Don't crash in _available, _read, _flush when we're EOS.
15204 * tests/check/libs/.cvsignore:
15205 Ignore adapter check binary.
15207 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15209 * gst/gstindex.c: (gst_index_resolver_get_type):
15210 * plugins/elements/gstfakesink.c:
15211 (gst_fake_sink_state_error_get_type):
15212 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15213 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15214 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15215 Const-ify GEnumValue arrays.
15217 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15219 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15220 Add test case for flags + gst_buffer_make_metadata_writable().
15222 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15224 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15225 gst_buffer_make_metadata_writable() should maintain the
15226 buffer flags (those that make sense at least) (see #340859).
15228 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15230 * tools/gst-inspect.c:
15231 * tools/gst-launch.c:
15232 * tools/gst-typefind.c:
15233 * tools/gst-xmlinspect.c:
15235 Fix up includes: need to include stdlib.h in tools.h for exit().
15237 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15239 * gst/gsttaglist.c: (_gst_tag_initialize):
15240 * gst/gsttaglist.h:
15241 API: add GST_TAG_IMAGE tag (#340721).
15243 2006-05-08 Wim Taymans <wim@fluendo.com>
15246 Added some docs for the segment query.
15248 2006-05-08 Wim Taymans <wim@fluendo.com>
15250 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15251 (gst_base_src_loop), (gst_base_src_change_state):
15252 Always push non-flushing serialized events in the streaming
15255 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15257 * gst/gsterror.c: (_gst_stream_errors_init):
15258 Add a missing error string.
15260 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15262 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15263 Add applied_rate to the debug
15265 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15266 Copy applied_rate into the outgoing NEWSEGMENT event
15268 2006-05-08 Wim Taymans <wim@fluendo.com>
15270 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15272 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15273 (gst_base_sink_change_state):
15274 call ::unlock before taking the PREROLL_LOCK so we can safely
15275 handle elements that lock in ::render.
15278 2006-05-08 Edward Hervey <edward@fluendo.com>
15280 * autogen.sh: (CONFIGURE_DEF_OPT):
15281 Darwin's libtoolize is in fact called glibtoolize.
15282 Adding glibtoolize to the list of accepted names for libtoolize.
15284 2006-05-08 Wim Taymans <wim@fluendo.com>
15286 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15287 Unify error handling, don't post an error message
15288 when a push() returns EOS but perform our normal EOS
15289 handling code. Fixes #340772.
15291 2006-05-08 Wim Taymans <wim@fluendo.com>
15293 * docs/design/part-overview.txt:
15294 Make upsteam/downstream concepts more clear.
15295 Give an example of serialized/non-serialized events.
15297 * docs/design/part-events.txt:
15298 * docs/design/part-streams.txt:
15299 Mention applied_rate.
15301 * docs/design/part-trickmodes.txt:
15302 Mention applied rate, flesh out some more use cases.
15304 * gst/gstevent.c: (gst_event_new_new_segment),
15305 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15306 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15307 (gst_event_parse_tag), (gst_event_new_buffer_size),
15308 (gst_event_parse_buffer_size), (gst_event_new_qos),
15309 (gst_event_parse_qos), (gst_event_parse_seek),
15310 (gst_event_new_navigation):
15312 Add applied_rate field to NEWSEGMENT event.
15313 API: gst_event_new_new_segment_full()
15314 API: gst_event_parse_new_segment_full()
15316 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15317 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15318 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15319 * gst/gstsegment.h:
15320 Add applied_rate to GstSegment structure.
15321 Make calculation of stream_time and running_time more correct
15322 wrt rate/applied_rate.
15323 Add some more docs.
15324 API: GstSegment::applied_rate field
15325 API: gst_segment_set_newsegment_full();
15327 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15328 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15329 * libs/gst/base/gstbasetransform.c:
15330 (gst_base_transform_sink_eventfunc),
15331 (gst_base_transform_handle_buffer):
15332 Parse and use applied_rate in the GstSegment field.
15334 * tests/check/gst/gstevent.c: (GST_START_TEST):
15335 Add check for applied_rate field.
15337 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15338 (gstsegments_suite):
15339 Add more checks for various GstSegment operations.
15341 2006-05-08 Wim Taymans <wim@fluendo.com>
15343 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15344 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15345 (gst_base_sink_get_position), (gst_base_sink_change_state):
15346 Store the sync time of the buffer end position separatly in a
15347 new variable eos_rtime so we can properly sync the EOS event.
15349 Fix the docs for gst_base_sink_set_qos_enabled().
15350 Don't set segment start to invalid value when we receive a
15351 non TIME newsegment.
15352 get closer to handling position reporting for negative rates
15355 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15358 Docs about how to print caps for debug purposes.
15360 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15361 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15363 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15365 * gst/gstelement.c:
15366 use full enum names and preprend a '%' in docs strings to make recent
15367 gtk-doc turn that into a link
15369 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15371 * docs/manual/basics-bins.xml:
15372 * docs/manual/basics-bus.xml:
15373 * docs/manual/basics-pads.xml:
15374 Some typo fixes, some additions, some clarifications.
15376 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15378 * tools/gst-inspect.c: (main):
15379 * tools/gst-launch.c: (main):
15380 * tools/gst-run.c: (main):
15381 * tools/gst-typefind.c: (main):
15382 * tools/gst-xmlinspect.c: (main):
15383 Use the string passed to g_option_context_new() for
15384 what it's intended for - the program name is already
15387 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15389 * tools/Makefile.am:
15390 * tools/gst-inspect.c: (main):
15391 * tools/gst-launch.c: (main):
15392 * tools/gst-xmlinspect.c: (main):
15394 Add back --version command line option (#340460).
15396 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15397 Add --version option and use GOption for argument parsing; refactor a
15398 bit; accept directories as arguments and recurse into them; lastly,
15399 print a decent error message when things go wrong.
15401 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15403 * docs/manual/basics-bins.xml:
15404 Don't mention GstThread (#340611)
15405 * docs/manual/basics-elements.xml:
15406 Update link to GObject tutorial (#340607)
15408 2006-05-05 Wim Taymans <wim@fluendo.com>
15411 * gst/gstminiobject.c:
15412 Add note about refcounting and miniobject/buffer writeability
15413 to docs. Fixes #340604
15415 * gst/gstelementfactory.h:
15416 Added some explanation about @klass.
15418 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15420 * docs/manual/intro-motivation.xml:
15421 * docs/manual/manual.xml:
15422 Avoid CORBA & Bonobo references (#340598)
15424 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15426 * docs/manual/basics-bus.xml:
15427 * docs/manual/basics-pads.xml:
15428 Fix up some inaccuracies and omissions (#340609)
15430 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15432 * gst/gstghostpad.c:
15433 Small typo in docs (#340625)
15435 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15437 * gst/parse/Makefile.am:
15438 Make 'make -j' proof (see #340698).
15440 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15443 Require GLib-2.8 here as well.
15445 2006-05-05 Wim Taymans <wim@fluendo.com>
15447 * gst/glib-compat.c:
15448 * gst/gst.c: (init_pre):
15449 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15450 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15451 (gst_object_dispatch_properties_changed):
15453 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15454 * gst/gststructure.c: (gst_structure_set_valist):
15455 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15456 Remove pre glib2.8 compatibility, fixes #340508
15458 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15460 * gst/gsttaglist.h:
15461 Mention type of tags in doc blurbs.
15463 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15465 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15466 (gst_pad_configure_src), (gst_pad_push):
15467 Restore acceptcaps checking behaviour now that good plugins have
15470 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15472 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15479 * gst/gstmessage.c:
15483 * gst/parse/Makefile.am:
15484 * libs/gst/base/gstadapter.c:
15485 * libs/gst/base/gstbasesrc.c:
15486 * libs/gst/base/gstpushsrc.c:
15487 * libs/gst/base/gsttypefindhelper.c:
15488 * plugins/elements/gstfakesrc.c:
15489 * plugins/elements/gstidentity.c:
15490 Make sure gstprivate.h and/or config.h are
15491 always included first, otherwise some of our
15492 defines (like _FILE_OFFSET_BITS) might be
15493 redefined in the system headers. Fixes build
15494 on opensolaris (#340016).
15496 2006-05-04 Wim Taymans <wim@fluendo.com>
15498 * docs/libs/gstreamer-libs-sections.txt:
15499 API: addition: gst_adapter_take_buffer()
15501 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15502 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15503 (gst_adapter_available_fast):
15504 * libs/gst/base/gstadapter.h:
15505 Prepare for optimizing the hell out of this hugely inefficient
15507 Added gst_adapter_take_buffer() so we can at least start thinking
15508 about subbuffering and merging.
15509 Added some comments.
15511 * tests/check/Makefile.am:
15512 * tests/check/libs/adapter.c: (GST_START_TEST),
15513 (gst_adapter_suite), (main):
15514 Added GstAdapter check.
15516 2006-05-04 Wim Taymans <wim@fluendo.com>
15518 * docs/design/part-overview.txt:
15519 Fix some typos, add blurb about buffer flags.
15521 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15523 * docs/libs/gstreamer-libs-sections.txt:
15524 make sure GstBaseTransformClass shows up in the docs
15525 * libs/gst/base/gstbasetransform.c:
15526 * libs/gst/base/gstbasetransform.h:
15527 move docs so gtk-doc picks it up now
15529 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15531 * docs/libs/gstreamer-libs-sections.txt:
15532 add missing symbols to docs
15534 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15536 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15537 back out the newsegment handling change, see #340060 for ongoing
15540 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15542 * tools/gst-run.c: (get_candidates), (main):
15543 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15544 work); fix typo in error message. Fixes #340079.
15546 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15548 * common/Makefile.am:
15549 * docs/Makefile.am:
15550 * docs/faq/Makefile.am:
15551 * docs/gst/Makefile.am:
15552 * docs/libs/Makefile.am:
15553 * docs/manual/Makefile.am:
15554 * docs/plugins/Makefile.am:
15555 * docs/pwg/Makefile.am:
15556 * docs/slides/Makefile.am:
15558 * common/upload.mak:
15559 move upload.mak to common
15561 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15563 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15564 add more asserts on refcounts
15565 do more cleanup at end of tests
15566 fix test leaks showing in FC5
15568 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15570 * plugins/elements/gsttypefindelement.c:
15571 (gst_type_find_element_handle_event):
15572 reverted wrong change and reflowed code to avoid others falling into
15575 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15577 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15578 fix changelog entry about last collectpads change,
15579 add notes about proper fix
15581 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15584 * gst/gstregistry.c: (gst_registry_scan_path_level),
15585 (gst_registry_scan_path):
15586 * gst/gstregistry.h:
15587 only write out registry if it has changed, fixes #338339
15589 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15592 * gst/gstpipeline.c:
15593 * plugins/elements/gstcapsfilter.c:
15594 * plugins/elements/gstfakesink.c:
15595 * plugins/elements/gstfakesrc.c:
15596 * plugins/elements/gstfdsink.c:
15597 * plugins/elements/gstfdsrc.c:
15598 * plugins/elements/gstfilesink.c:
15599 * plugins/elements/gstfilesrc.c:
15600 * plugins/elements/gstidentity.c:
15601 * plugins/elements/gstqueue.c:
15602 * plugins/elements/gsttee.c:
15603 * plugins/elements/gsttypefindelement.c:
15604 (gst_type_find_element_handle_event):
15605 make GstElementDetails const
15607 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15609 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15611 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15612 more detailed debug and formatting cleanup,
15613 forward newsegments to src-pad (so that e.g. adder not eats them)
15615 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15617 * gst/gstutils.c: (gst_element_link_pads):
15618 cleanup double code
15620 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15622 * libs/gst/controller/gstcontroller.c:
15623 (gst_controller_sync_values):
15625 * tests/check/libs/controller.c: (GST_START_TEST),
15626 (gst_controller_suite):
15627 a new test for live value handling
15629 2006-04-28 Wim Taymans <wim@fluendo.com>
15631 * gst/gstutils.c: (push_and_ref):
15632 Added some more docs.
15633 Fix refcount issue whith gst_element_found_tags() helper
15634 function. Fixes #338335
15636 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15637 Added testsuite for gst_element_found_tags().
15639 2006-04-28 Michael Smith <msmith@fluendo.com>
15641 * gst/gstvalue.c: (gst_value_serialize_flags):
15642 Avoid NULL dereference when trying to serialize flags containing
15645 2006-04-28 Michael Smith <msmith@fluendo.com>
15647 * plugins/elements/gsttypefindelement.c:
15648 (gst_type_find_element_handle_event):
15649 If we get EOS before any data is accumulated, don't use
15650 uninitialised local variables.
15652 2006-04-28 Michael Smith <msmith@fluendo.com>
15654 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15655 (gst_dp_event_from_packet):
15656 Fixes in reading/writing events over GDP (not currently used?) -
15657 dereferencing NULL events for unknown/invalid event types, memory
15658 leak, and change g_warning to GST_WARNING.
15660 2006-04-28 Wim Taymans <wim@fluendo.com>
15662 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15663 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15664 (gst_base_sink_get_position), (gst_base_sink_change_state):
15665 When frame dropping is enabled, we should not ignore frames
15666 without a duration.
15667 Update some documentation.
15669 2006-04-28 Wim Taymans <wim@fluendo.com>
15671 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15672 (gst_base_src_send_event), (gst_base_src_change_state):
15673 Documentation updates.
15675 2006-04-28 Wim Taymans <wim@fluendo.com>
15677 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15678 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15679 handle EAGAIN, EINTR and short writes correctly. Also clean
15680 up some error cases, avoid a deadlock on bad file descriptors and
15681 use GST_DEBUG_OBJECT.
15684 2006-04-28 Wim Taymans <wim@fluendo.com>
15686 * gst/gstvalue.c: (gst_value_serialize_buffer),
15687 (gst_value_deserialize_buffer):
15688 Don't try to serialize a GValue with a NULL buffer.
15691 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15692 Added check for serialisation of NULL buffers.
15694 2006-04-28 Wim Taymans <wim@fluendo.com>
15696 * gst/gstminiobject.c: (gst_value_take_mini_object):
15697 Taking a NULL miniobject is valid, fix the case where
15698 we try to unref the NULL miniobject.
15700 2006-04-28 Wim Taymans <wim@fluendo.com>
15702 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15704 * gst/gstbin.c: (gst_bin_handle_message_func):
15706 Don't leak bin refcount when a state recalc is
15707 in progress and we delay another one #339808.
15709 2006-04-28 Wim Taymans <wim@fluendo.com>
15711 * docs/design/part-TODO.txt:
15712 Mention QoS as an ongoing work item.
15714 * docs/design/part-buffering.txt:
15715 New doc about buffering that needs to be fleshed out
15718 * docs/design/part-qos.txt:
15719 More QoS policy for decoders/demuxers/transforms
15721 * docs/design/part-trickmodes.txt:
15724 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15729 === release 0.10.5 ===
15731 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15734 releasing 0.10.5, "Fogo"
15736 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15738 patch by: Wim Taymans
15740 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15741 (gst_pad_configure_src), (gst_pad_push):
15742 * gst/gstpipeline.c: (gst_pipeline_init):
15743 Fix internal data flow errors. Fixes #338711.
15745 2006-04-12 Wim Taymans <wim@fluendo.com>
15747 * tests/check/gst/gstelement.c: (GST_START_TEST):
15748 Don't leak the factory.
15750 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15753 * win32/common/config.h:
15756 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15758 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15759 (gst_controller_unset_all):
15760 Free allocated GstTimedValues when freeing list nodes.
15761 Should fix leaks 'make check-valgrind' complains about.
15763 * win32/common/libgstcontroller.def:
15764 Add gst_controller_unset_all.
15766 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15768 * docs/libs/gstreamer-libs-sections.txt:
15769 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15770 (gst_controller_unset_all):
15771 * libs/gst/controller/gstcontroller.h:
15772 API: Added new method gst_controller_unset_all()
15773 fixed gst_controller_unset()
15774 * tests/check/libs/controller.c: (GST_START_TEST),
15775 (gst_controller_suite):
15776 Added two testcases for new and fixed method
15778 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15780 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15781 MSG_DONTWAIT is not defined on Cygwin, so work
15782 around that (fixes #317048).
15784 2006-04-11 Wim Taymans <wim@fluendo.com>
15786 * gst/gstelementfactory.c: (gst_element_register),
15787 (gst_element_factory_create), (gst_element_factory_make):
15790 Updated docs (Fixes #131079)
15792 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15795 * tests/check/gst/gstelement.c: (GST_START_TEST),
15796 (gst_element_suite):
15797 Added testcase for elementfactory class field.
15799 2006-04-10 Wim Taymans <wim@fluendo.com>
15801 * gst/gstsegment.c:
15802 Added some more docs.
15804 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15805 (gst_base_sink_reset_qos):
15806 Calculate more accurate rate values.
15808 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15810 * gst/gst_private.h:
15811 add a new #ifdef to use __declspec(dllimport) only for
15812 other modules and not for gstreamer core
15813 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15814 use gst_guint64_to_gdouble for conversion
15815 * win32/common/libgstreamer.def:
15816 add new exported functions
15817 * win32/vs6/gst_inspect.dsp:
15818 * win32/vs6/gst_launch.dsp:
15819 * win32/vs6/libgstbase.dsp:
15820 * win32/vs6/libgstcontroller.dsp:
15821 * win32/vs6/libgstcoreelements.dsp:
15822 * win32/vs6/libgstdataprotocol.dsp:
15823 * win32/vs6/libgstnet.dsp:
15824 update project files
15826 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15828 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15829 * gst/gstclock.c: (gst_clock_class_init):
15830 * gst/gstelement.c: (gst_element_class_init):
15831 * gst/gstindex.c: (gst_index_class_init):
15832 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15833 * gst/gstobject.c: (gst_object_class_init),
15834 (gst_signal_object_class_init):
15835 * gst/gstpad.c: (gst_pad_class_init):
15836 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15837 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15838 * gst/gstregistry.c: (gst_registry_class_init):
15839 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15840 * gst/gsttask.c: (gst_task_class_init):
15841 * gst/gstxml.c: (gst_xml_class_init):
15842 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15843 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15844 (gst_base_src_loop):
15845 * libs/gst/controller/gstcontroller.c:/
15846 (_gst_controller_class_init):
15847 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15848 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15849 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15850 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15851 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15852 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15854 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15856 * gst/gstpad.c: (gst_pad_link):
15857 Must set peer pads before calling the link function, otherwise
15858 a task started from a link function might get a flow-not-linked
15859 result when trying to push because the other thread where the
15860 linking happens hasn't had a chance to set the peers yet. This
15861 might happen for example when a queue gets linked to a downstream
15862 element, as queue starts a streaming task when its source pad
15863 gets linked. Happens in real life when playing back flac/musepack
15864 files in playbin (#332390).
15866 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15870 * libs/gst/base/gstadapter.h:
15871 * libs/gst/base/gstbasesink.h:
15872 * libs/gst/base/gstbasesrc.h:
15873 * libs/gst/base/gstbasetransform.h:
15874 * libs/gst/base/gstcollectpads.h:
15875 * libs/gst/base/gstpushsrc.h:
15876 Fix broken GObject macros
15878 2006-04-07 Wim Taymans <wim@fluendo.com>
15880 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15881 Initialize start and stop times, thanks valgrind.
15883 2006-04-07 Wim Taymans <wim@fluendo.com>
15885 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15886 Be a bit nicer to badly behaving upstream elements that expect
15887 us to deal with non TIME segments and timestamps (such as fakesrc
15890 2006-04-07 Wim Taymans <wim@fluendo.com>
15893 Small documentation clarification about the signal watch.
15895 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15896 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15897 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15898 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15899 (gst_base_sink_get_position_last),
15900 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15901 Convert and store timestamps in stream time and running time, the
15902 raw timestamps are not useful, also document this better.
15903 Use different window sizes for good and bad QoS observations so
15904 we react to badness a little quicker.
15905 Keep track of the amount of rendered and dropped buffers.
15906 Send QoS timestamps in running time.
15908 * libs/gst/base/gstbasetransform.c:
15909 (gst_base_transform_sink_eventfunc),
15910 (gst_base_transform_handle_buffer):
15911 Compare QoS timestamps against running time.
15913 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15916 Typo fixes in docs.
15918 2006-04-06 Michael Smith <msmith@fluendo.com>
15920 * gst/gstpad.c: (gst_pad_set_property):
15921 Use g_value_get_object() instead of g_value_dup_gst_object(),
15922 to avoid double-reffing the pad template (which we then sink,
15923 so this worked previously if (and only if) the pad template
15926 * gst/gstpadtemplate.c: (gst_pad_template_init),
15927 (gst_pad_template_pad_created):
15928 Never return floating references to pad templates, create
15929 them as initially-sunken.
15931 Document an extra function (and make this stop sinking our
15932 pad template, since that is now guaranteed to do nothing,
15933 since we created it sunken).
15935 * gst/gstghostpad.c:
15938 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15940 * gst/gstinfo.c: (__gst_in_valgrind):
15943 * plugins/elements/gsttypefindelement.c:
15944 (gst_type_find_element_chain):
15945 Don't leak buffer caps.
15947 2006-04-06 Michael Smith <msmith@fluendo.com>
15949 * gst/parse/grammar.y:
15950 Fix a leak in parse-launch for any source-or-sink named element
15953 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15954 Unref the pipeline if it exists after we've failed parsing.
15956 2006-04-05 Michael Smith <msmith@fluendo.com>
15958 * gst/gstpipeline.c: (gst_pipeline_init):
15959 When we create a pipeline bus, initially create it in flushing mode.
15960 Fixes leaks in at least one test, and makes a new pipeline work the
15961 same as one that has gone to READY and then back to NULL.
15963 * gst/gstelement.c:
15966 2006-04-05 Michael Smith <msmith@fluendo.com>
15968 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15969 Unref a pad we reffed.
15970 * tests/check/gst/gstutils.c: (GST_START_TEST):
15973 2006-04-05 Michael Smith <msmith@fluendo.com>
15975 * gst/gstquery.c: (gst_query_set_formats),
15976 (gst_query_set_formatsv):
15977 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15979 2006-04-05 Michael Smith <msmith@fluendo.com>
15981 * tests/check/generic/sinks.c: (GST_START_TEST):
15982 Fix a variety of memleaks in sinks check, which are only sometimes
15983 shown by running the tests under valgrind (weird?).
15985 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15987 * docs/version.entities.in:
15988 Fix the substituted entity name after thomas' changes on the
15991 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15993 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15996 2006-04-05 Andy Wingo <wingo@pobox.com>
15998 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16000 * libs/gst/base/gstbasetransform.c
16001 (gst_base_transform_sink_eventfunc): When resetting our segment on
16002 FLUSH_STOP, also update the flag saying we haven't seen a
16005 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16007 Patch by: Paolo Borelli <pborelli at katamail dot com>
16009 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16010 (gst_plugin_check_license):
16011 minor clean-ups: G_DEFINE_TYPE already takes care of the
16012 parent_class stuff, no need to do it twice. Mark array of
16013 license strings as constant. (#337103)
16015 2006-04-04 Michael Smith <msmith@fluendo.com>
16017 * tools/gst-inspect.c: (print_element_list):
16018 Free the right plugin list; fixes a memory leak.
16020 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16022 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16024 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16025 Don't error out on empty buffers (#336945).
16027 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16029 * docs/libs/gstreamer-libs-sections.txt:
16030 * gst/gsttaglist.c:
16031 * libs/gst/base/gstbasesink.c:
16032 * libs/gst/base/gstbasesink.h:
16033 * libs/gst/base/gstbasesrc.c:
16034 * libs/gst/base/gstbasesrc.h:
16035 Documentation updates. Make BaseSink and BaseSrc docs contain the
16036 class structure so that people can actually see the prototypes for
16037 virtual functions they're supposed to be overriding.
16039 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16041 * plugins/elements/gsttypefindelement.c:
16042 (gst_type_find_element_chain):
16043 More debug info; when skipping typefinding, send cached
16044 events in all cases.
16046 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16049 use new AS_VERSION and AS_NANO macros
16050 * gst/gst-i18n-lib.h:
16053 * gst/gstversion.h.in:
16054 * win32/common/config.h:
16055 * win32/common/config.h.in:
16058 2006-03-31 Michael Smith <msmith@fluendo.com>
16060 * plugins/elements/gsttypefindelement.c:
16061 (gst_type_find_element_chain):
16062 Do not typefind content if the buffers already have caps.
16063 Neccesary for icydemux (#333657), and the right thing to do anyway.
16065 2006-03-30 Wim Taymans <wim@fluendo.com>
16067 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16068 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16069 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16070 (gst_base_sink_record_qos_observation),
16071 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16072 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16073 (gst_base_sink_change_state):
16074 More QoS measurements as described in the design doc.
16075 Get rid of ringbuffer with observations, running average is
16076 more simple and equally good.
16077 Calculates valid proportion now.
16078 Added beginning of flood measurement.
16080 2006-03-29 Wim Taymans <wim@fluendo.com>
16082 * docs/design/part-qos.txt:
16084 Small documentation updates and additions.
16086 2006-03-29 Wim Taymans <wim@fluendo.com>
16088 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16089 (gst_base_src_send_event), (gst_base_src_loop),
16090 (gst_base_src_change_state):
16091 Perform the EOS logic when we reach the segment stop position.
16092 Fix compilation on gcc4.1
16094 2006-03-29 Wim Taymans <wim@fluendo.com>
16096 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16098 * plugins/elements/gstqueue.c: (gst_queue_init),
16099 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16100 (gst_queue_set_property):
16101 * plugins/elements/gstqueue.h:
16102 In queue, when EOS is received, if minimum threshold > max_size -
16103 current_level, there is chance that queue blocks forever in conditional
16104 item del wait. This is because the queue is not emptied completely due
16105 to minimum threshold. Here is another approach. Instead of setting
16106 cur_levels to max in EOS, just zero all minimum threshold levels. This
16107 should make sure that queue gives out all data. When going to READY
16108 (stop) state, just reset the original minimum threshold levels.
16111 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16113 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16114 (gst_type_find_element_handle_event),
16115 (gst_type_find_element_send_cached_events),
16116 (gst_type_find_element_change_state):
16117 * plugins/elements/gsttypefindelement.h:
16118 When typefinding is done in push mode, we should cache
16119 events we receive during typefinding instead of just
16120 dropping them (e.g. newsegment, custom events from
16121 dvdreadsrc etc.) and then send them out once we've
16122 determined the type of the stream (and decodebin
16123 has had a chance to plug in a decoder/demuxer).
16125 2006-03-27 Wim Taymans <wim@fluendo.com>
16127 * docs/design/part-qos.txt:
16130 2006-03-27 Wim Taymans <wim@fluendo.com>
16132 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16134 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16135 (gst_base_src_send_event), (gst_base_src_change_state):
16136 Handle element seek correctly when we are streaming.
16139 2006-03-24 Michael Smith <msmith@fluendo.com>
16141 * docs/faq/gst-uninstalled:
16142 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16143 allow you to correctly run intalled applications built against old
16144 core, using plugins that require updated core (e.g. running
16145 installed totem against a full uninstalled gstreamer stack)
16147 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16149 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16152 2006-03-24 Wim Taymans <wim@fluendo.com>
16154 * docs/gst/gstreamer-sections.txt:
16155 Rearrange the order of the methods so that related methods
16156 are grouped together in sections.
16158 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16160 * gst/gstelement.c:
16161 Little clarification in the docs
16163 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16167 * plugins/elements/gstidentity.c:
16168 * plugins/elements/gstqueue.c:
16169 * plugins/elements/gsttee.c:
16170 * plugins/elements/gsttypefindelement.c:
16171 GST_ELEMENT_DETAILS formatting
16173 2006-03-24 Wim Taymans <wim@fluendo.com>
16175 * libs/gst/base/gstbasesink.h:
16176 Only add fields, not insert or we break ABI.
16178 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16180 * win32/common/libgstbase.def:
16181 * win32/common/libgstreamer.def:
16182 Update, add recently added functions.
16184 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16186 * docs/gst/gstreamer-sections.txt:
16187 * gst/gstutils.c: (gst_pad_query_peer_position),
16188 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16190 API: add some new utility functions:
16191 - gst_pad_query_peer_position()
16192 - gst_pad_query_peer_duration()
16193 - gst_pad_query_peer_convert()
16195 2006-03-23 Wim Taymans <wim@fluendo.com>
16197 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16198 (gst_base_sink_init), (gst_base_sink_finalize),
16199 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16200 (gst_base_sink_set_property), (gst_base_sink_get_property),
16201 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16202 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16203 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16204 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16205 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16206 (gst_base_sink_preroll_object), (gst_base_sink_event),
16207 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16208 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16209 (gst_base_sink_query), (gst_base_sink_change_state):
16210 Decouple max-lateness and the fact that QoS messages are generated
16211 with a new property (qos).
16212 added API: GstBaseSink::async_play()
16213 Add vmethod so subclasses can be notified of ASYNC playing
16215 Collect timestamp start and stop to report better current
16216 position in EOS/PLAYING/PAUSED/READY/NULL.
16217 Refactor QoS/frame dropping and other measurements.
16218 API: GstBaseSrc::qos
16221 * libs/gst/base/gstbasesink.h:
16222 Added Private struct.
16223 API: gst_base_sink_set_qos_enabled()
16224 API: gst_base_sink_is_qos_enabled()
16226 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16228 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16229 If compiling against GLib-2.8 or newer, try to read the
16230 registry file using GMappedFile first before falling back
16231 to fopen() + fread() (#332151).
16233 2006-03-22 Wim Taymans <wim@fluendo.com>
16235 * gst/gstinfo.c: (gst_debug_set_active),
16236 (gst_debug_category_set_threshold):
16237 Disable debugging unless explicitly activated.
16240 2006-03-22 Wim Taymans <wim@fluendo.com>
16242 * gst/gstelement.c: (gst_element_set_locked_state),
16243 (gst_element_dispose):
16244 Cleanup the error case.
16246 * gst/gstobject.c: (gst_object_dispose):
16247 print a critical when some object was disposed with
16248 a parent, also revive the object since it might
16251 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16253 * tools/gst-launch.1.in:
16256 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16259 * tests/check/Makefile.am:
16260 disable some tests when we don't have a registry
16261 * tests/check/gst/gstutils.c: (gst_utils_suite):
16262 don't build the part that needs parsing
16264 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16267 * tests/examples/Makefile.am:
16268 fix --disable-parse build
16270 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16272 * tools/gst-feedback.1.in:
16273 Fix typo: s/feeback/feedback/ (#133494).
16275 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16277 * tools/Makefile.am:
16278 * tools/gst-launch.1.in:
16279 Add FILES section and correct entry about GST_REGISTRY_PATH
16280 environment variable (#133495; #133494).
16282 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16284 * tools/Makefile.am:
16285 * tools/gst-md5sum.1.in:
16286 * tools/gst-md5sum.c:
16287 Remove gst-md5sum and man page (the md5sink element
16288 required was removed ages ago)
16290 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16292 * gst/gststructure.c: (gst_structure_id_set_value):
16293 Make sure that string fields in structures/taglists
16294 contain valid UTF-8 - we don't want to pass rubbish to
16295 applications because of a buggy plugin (cp. #334167).
16297 2006-03-21 Edward Hervey <edward@fluendo.com>
16299 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16300 (gst_bin_handle_message_func):
16301 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16302 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16303 (gst_element_set_bus_func):
16304 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16305 * gst/gstminiobject.c: (gst_value_set_mini_object),
16306 (gst_value_take_mini_object):
16307 * gst/gstpad.c: (gst_pad_set_pad_template):
16308 * gst/gstpipeline.c: (gst_pipeline_dispose),
16309 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16310 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16311 (gst_collect_pads_chain):
16312 * libs/gst/net/gstnettimeprovider.c:
16313 (gst_net_time_provider_set_property):
16314 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16315 It's in fact all issues with gst_*object_replace().
16317 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16319 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16321 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16322 * pkgconfig/gstreamer-check.pc.in:
16323 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16325 2006-03-21 Edward Hervey <edward@fluendo.com>
16329 * gst/gstmessage.h:
16330 gst_[buffer|event|message]_ref() macros are replaced by a static
16331 inline functions because gcc-4.1 will about if the return value
16333 * tests/check/gst/gstevent.c: (event_probe):
16334 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16336 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16339 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16340 the type' case. (Closes: #335195 for now). In the future, when we
16341 depend on GLib 2.10, we could also intern the type name using
16342 g_intern_static_string()
16344 2006-03-20 Wim Taymans <wim@fluendo.com>
16346 * gst/gstbin.c: (gst_bin_handle_message_func),
16347 (bin_query_max_init), (bin_query_position_fold),
16348 (bin_query_position_done), (gst_bin_query):
16349 Position query should also take max of all streams.
16351 2006-03-20 Wim Taymans <wim@fluendo.com>
16353 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16354 (gst_fake_src_finalize):
16355 Fix leaks in fakesrc.
16357 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16358 Fix leaks in the testcase.
16360 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16362 * gst/gst_private.h:
16363 add win32 specific import decoration(__declspec(dllimport))
16364 for all extern GstDebugCategory * variables
16365 * win32/common/libgstbase.def:
16366 * win32/common/libgstcontroller.def:
16367 * win32/common/libgstreamer.def:
16368 Add some exports, remove empty lines
16369 * win32/common/libgstdataprotocol.def:
16370 * win32/common/libgstdataprotocol.dsp:
16371 * win32/common/libgstnet.def:
16372 * win32/common/libgstnet.dsp:
16373 new project files and exportation files added
16375 2006-03-19 Wim Taymans <wim@fluendo.com>
16377 * tests/check/libs/basesrc.c: (eos_event_counter):
16378 Use proper return value for probe.
16380 2006-03-17 Wim Taymans <wim@fluendo.com>
16382 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16384 Don't leak buffers, caps and pads on negotiation errors.
16386 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16388 * docs/faq/cvs.xml:
16389 * docs/faq/dependencies.xml:
16390 * docs/faq/developing.xml:
16391 * docs/faq/faq.xml:
16392 * docs/faq/general.xml:
16393 * docs/faq/getting.xml:
16394 * docs/faq/legal.xml:
16395 * docs/faq/troubleshooting.xml:
16396 * docs/faq/using.xml:
16397 Faq review and update.
16399 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16401 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16403 Don't pound the cpu to pieces by checking get_caps when accept_caps
16404 is called with the same caps as the pad already has.
16405 Use GST_DEBUG_OBJECT when outputting caps change information.
16407 2006-03-15 Wim Taymans <wim@fluendo.com>
16409 * gst/gstclock.c: (gst_clock_class_init):
16412 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16417 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16418 (gst_pad_accept_caps), (gst_pad_configure_sink),
16419 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16420 Make the default acceptcaps behaviour be to check the requested
16421 caps against the gst_pad_get_caps output.
16423 Ensure that gst_pad_accept_caps is used to check caps when a pad
16424 doesn't have a setcaps function, so that pads automatically refuse
16425 caps that they don't allow in their pad template. (Fixes #332986)
16427 When a buffer with attached caps is pushed, ensure that the source
16428 pad receives those caps even if the element didn't call
16429 gst_pad_set_caps first.
16431 2006-03-15 Wim Taymans <wim@fluendo.com>
16433 * libs/gst/base/gstadapter.c:
16436 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16438 * win32/common/libgstbase.def:
16439 * win32/common/libgstcontroller.def:
16440 * win32/common/libgstreamer.def:
16441 Add a whole bunch of missing functions (#334434).
16443 2006-03-14 Wim Taymans <wim@fluendo.com>
16445 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16446 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16447 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16448 Better debug info when we receive a segment event.
16449 Reorganize a bit so we can pass the get_times() results around.
16450 Use the segment format when calculating the running time.
16451 Don't do QoS is sync is disabled or we have no clock or the
16452 element does not want us to sync to the clock.
16453 Don't drop buffers if QoS is disabled for now.
16455 2006-03-14 Wim Taymans <wim@fluendo.com>
16457 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16458 Marked the stats property as unimplemented so people don't get
16460 Add debug message when regression goes wrong.
16461 Added some more docs.
16463 2006-03-14 Wim Taymans <wim@fluendo.com>
16465 * gst/gstsegment.c: (gst_segment_to_stream_time):
16466 Return correct return type in case of errors.
16468 2006-03-14 Wim Taymans <wim@fluendo.com>
16470 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16471 Don't segfault on invalid formats.
16473 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16475 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16476 Can't use gst_segment_to_running_time() when the segment
16477 is not in GST_TIME_FORMAT (like with filesink, for example).
16478 Stops flac encoding pipelines from spewing critical warnings
16481 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16483 * gst/gstpipeline.c: (gst_pipeline_class_init):
16484 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16486 * plugins/elements/gsttypefindelement.c:
16487 (gst_type_find_element_handle_event):
16488 Don't try to typefind empty streams.
16490 2006-03-14 Wim Taymans <wim@fluendo.com>
16492 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16493 (gst_base_sink_do_qos):
16494 Separate QoS calculation.
16495 Only drop buffers when lateness is bigger than the
16496 duration of the buffer.
16498 2006-03-13 Wim Taymans <wim@fluendo.com>
16500 * gst/gstpipeline.c: (gst_pipeline_set_property),
16501 (gst_pipeline_get_property), (do_pipeline_seek),
16502 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16503 (gst_pipeline_get_delay):
16504 Don't deadlock when reading properties.
16506 2006-03-13 Wim Taymans <wim@fluendo.com>
16508 * libs/gst/base/gstbasetransform.c:
16509 (gst_base_transform_class_init), (gst_base_transform_init),
16510 (gst_base_transform_sink_event),
16511 (gst_base_transform_sink_eventfunc),
16512 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16513 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16514 (gst_base_transform_set_property),
16515 (gst_base_transform_get_property),
16516 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16517 (gst_base_transform_set_qos_enabled),
16518 (gst_base_transform_is_qos_enabled):
16519 * libs/gst/base/gstbasetransform.h:
16520 Make basetransform virtual method for src events too.
16521 Handle QOS in basetransform.
16522 API: gst_base_transform_update_qos()
16523 API: gst_base_transform_set_qos_enabled()
16524 API: gst_base_transform_is_qos_enabled()
16526 2006-03-13 Wim Taymans <wim@fluendo.com>
16528 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16529 (gst_base_sink_do_sync):
16531 Use QOS debug category.
16533 2006-03-13 Wim Taymans <wim@fluendo.com>
16535 * plugins/elements/gstqueue.c:
16536 Very small doc update.
16538 2006-03-13 Wim Taymans <wim@fluendo.com>
16540 * gst/gst_private.h:
16541 * gst/gstinfo.c: (_gst_debug_init):
16542 Added QOS debug category
16544 2006-03-13 Wim Taymans <wim@fluendo.com>
16546 * docs/gst/gstreamer-sections.txt:
16547 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16549 * gst/gstbus.c: (gst_bus_class_init):
16552 * gst/gstelement.c: (gst_element_set_locked_state):
16553 * gst/gstsegment.c:
16554 Documentation updates.
16556 * gst/gstpipeline.c: (gst_pipeline_get_type),
16557 (gst_pipeline_class_init), (gst_pipeline_init),
16558 (gst_pipeline_dispose), (gst_pipeline_set_property),
16559 (gst_pipeline_get_property), (do_pipeline_seek),
16560 (gst_pipeline_send_event), (gst_pipeline_change_state),
16561 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16562 (gst_pipeline_get_delay):
16563 * gst/gstpipeline.h:
16564 Added methods for setting the delay.
16565 API: gst_pipeline_set_delay()
16566 API: gst_pipeline_get_delay()
16567 Add pipeline debug category
16570 Don't reset stream time when seek failed.
16572 2006-03-13 Wim Taymans <wim@fluendo.com>
16574 * docs/design/draft-klass.txt:
16575 * docs/design/part-clocks.txt:
16576 * docs/design/part-events.txt:
16577 * docs/design/part-gstbin.txt:
16578 * docs/design/part-gstpipeline.txt:
16579 * docs/design/part-messages.txt:
16580 * docs/design/part-negotiation.txt:
16581 * docs/design/part-overview.txt:
16582 * docs/design/part-preroll.txt:
16583 * docs/design/part-seeking.txt:
16584 * docs/design/part-states.txt:
16585 * docs/design/part-streams.txt:
16586 Documentation updates.
16588 2006-03-12 Julien MOUTTE <julien@moutte.net>
16590 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16591 us to leak strings...
16593 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16595 * libs/gst/net/gstnettimeprovider.c:
16597 * win32/common/config.h:
16600 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16602 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16605 Don't check for libgnomeui (leftover from old examples
16606 that aren't built or disted any longer) (#334303).
16608 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16610 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16611 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16612 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16613 there's no space left on the device.
16615 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16618 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16619 to cast the input to GstClockTime before comparing with
16620 another GstClockTime value.
16622 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16627 === release 0.10.4 ===
16629 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16632 releasing 0.10.4, "Light"
16634 2006-03-10 Michael Smith <msmith@fluendo.com>
16636 * libs/gst/dataprotocol/dataprotocol.c:
16637 Fix docs for dataprocotol to not get the return types completely
16638 wrong for a few functions.
16640 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16642 * docs/gst/gstreamer-sections.txt:
16643 * gst/gstpipeline.c: (gst_pipeline_class_init),
16644 (gst_pipeline_init), (gst_pipeline_set_property),
16645 (gst_pipeline_get_property), (gst_pipeline_change_state),
16646 (gst_pipeline_set_auto_flush_bus),
16647 (gst_pipeline_get_auto_flush_bus):
16648 * gst/gstpipeline.h:
16649 Add new API: gst_pipeline_set_auto_flush_bus() and
16650 gst_pipeline_get_auto_flush_bus() to disable automatic
16651 flushing of the pipeline's GstBus when going from READY
16652 to NULL state (#332045).
16654 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16656 * docs/gst/gstreamer-sections.txt:
16657 * gst/gsturi.c: (gst_uri_has_protocol):
16659 Add new API: gst_uri_has_protocol() (#333779).
16661 2006-03-09 Wim Taymans <wim@fluendo.com>
16663 * gst/gstclock.c: (gst_clock_entry_new),
16664 (gst_clock_id_compare_func), (gst_clock_id_wait),
16665 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16666 (gst_clock_init), (gst_clock_get_internal_time),
16667 (gst_clock_set_master), (do_linear_regression),
16668 (gst_clock_add_observation), (gst_clock_set_property):
16672 Fix a possible segfault when the window-size is made smaller.
16673 Calculate jitter before performing the clock wait. Ideally
16674 the clock implementation should calculate jitter but we need
16675 API breakage for that.
16677 * gst/gstsystemclock.c: (gst_system_clock_init):
16680 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16681 Remove leftover else
16683 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16684 (gst_systemclock_suite):
16685 Added check to test GST_CLOCK_DIFF.
16687 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16689 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16690 (gst_type_find_helper_get_range):
16691 If we are provided with the size, we should implement
16692 GstTypeFind::get_length, so that typefind functions who
16693 want to can actually peek at the middle of a file.
16695 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16697 * docs/manual/advanced-dataaccess.xml:
16698 Add some very very basic error checking.
16700 * docs/pwg/appendix-checklist.xml:
16701 Some updates to the list of things to check when writing an element.
16703 2006-03-08 Wim Taymans <wim@fluendo.com>
16705 * docs/design/part-element-transform.txt:
16706 Added some docs about the design of tranform elements.
16708 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16709 (gst_base_src_loop), (gst_base_src_change_state):
16710 Mark buffers with the DISCONT flag.
16712 2006-03-08 Michael Smith <msmith@fluendo.com>
16714 * gst/gstregistry.h:
16715 * gst/gstregistryxml.c: (gst_registry_save),
16716 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16717 (gst_registry_xml_save_pad_template),
16718 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16719 (gst_registry_xml_write_cache):
16720 Rewrite registry-saving to avoid race conditions and check for
16723 2006-03-08 Wim Taymans <wim@fluendo.com>
16725 * libs/gst/base/gstbasetransform.c:
16726 (gst_base_transform_transform_caps),
16727 (gst_base_transform_transform_size),
16728 (gst_base_transform_prepare_output_buffer),
16729 (gst_base_transform_get_unit_size),
16730 (gst_base_transform_buffer_alloc),
16731 (gst_base_transform_handle_buffer),
16732 (gst_base_transform_change_state):
16733 Cleanups, separate normal flow from errors, add sensible
16735 Don't try to renegotiate when allocating an output buffer.
16736 Also copy DISCONT buffer flag when copying a buffer.
16737 Reset the transform after we finish streaming, not during.
16739 2006-03-08 Wim Taymans <wim@fluendo.com>
16741 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16742 Use last buffer timestamp in qos message.
16744 2006-03-07 Wim Taymans <wim@fluendo.com>
16746 Patch by: Christophe Fergeau
16748 * docs/pwg/advanced-tagging.xml:
16749 * docs/pwg/building-pads.xml:
16752 2006-03-07 Wim Taymans <wim@fluendo.com>
16754 * docs/libs/gstreamer-libs-sections.txt:
16755 Added basesink new methods.
16759 Docs updates. Flesh out the QoS docs.
16761 * libs/gst/base/gstadapter.c:
16762 Small doc clarification about ownership and flushing.
16764 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16765 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16766 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16767 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16768 * libs/gst/base/gstbasesink.h:
16770 Added new methods to allow subclass to control max-lateness
16772 Generate very basic QoS events based on last sync observation.
16773 Updated docs, fix typo, added some QoS blurb.
16775 * libs/gst/base/gstbasesrc.c:
16776 Remove obsolete _get_state() calls from docs.
16778 2006-03-07 Wim Taymans <wim@fluendo.com>
16780 * docs/libs/gstreamer-libs-sections.txt:
16781 * libs/gst/base/gstbasetransform.h:
16782 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16783 Fix docs for GstBaseSrc.
16785 2006-03-07 Wim Taymans <wim@fluendo.com>
16787 * docs/gst/gstreamer-sections.txt:
16790 * libs/gst/base/gstbasetransform.h:
16791 Small documentation fixes.
16793 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16796 Document thread-unsafety of gst_value_register_foo_func()
16797 when used at the same time as gst_value_foo() (#322628).
16799 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16801 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16802 (gst_push_src_check_get_range):
16803 Push sources don't support pull mode by default.
16805 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16807 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16808 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16809 (gst_base_src_default_check_get_range):
16810 * libs/gst/base/gstbasesrc.h:
16811 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16812 provide default implementation, and rename
16813 gst_base_src_check_get_range() to
16814 gst_base_src_pad_check_get_range() for clarity.
16816 2006-03-06 Wim Taymans <wim@fluendo.com>
16818 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16819 Make property overridable.
16821 2006-03-06 Wim Taymans <wim@fluendo.com>
16823 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16824 (gst_base_sink_init), (gst_base_sink_set_property),
16825 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16826 * libs/gst/base/gstbasesink.h:
16827 API addition: Make max-lateness a property.
16829 2006-03-06 Wim Taymans <wim@fluendo.com>
16831 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16832 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16833 Don't ever draw a frame that is >10ms late.
16835 2006-03-06 Michael Smith <msmith@fluendo.com>
16837 * gst/gstmessage.c: (_gst_message_copy):
16838 When copying a message, set the parent_refcount of the enclosed
16839 structure to point at the copy, not the original message.
16841 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16843 Patch by: Christophe Fergeau
16846 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16847 usable in c++ code (#333417)
16849 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16852 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16854 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16856 * libs/gst/base/gstbasetransform.c:
16857 (gst_base_transform_transform_caps):
16858 Make sure caps are writable before passing them to
16861 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16864 Fix some minor docs errors.
16866 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16868 Patch by: Ross Burton <ross at burtonini dot com>
16870 * gst/gsterror.c: (_gst_resource_errors_init):
16872 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16874 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16877 Add a check and output a g_warning when GStreamer is built
16878 against GLib 2.6 but running against 2.8 or higher, and vice
16879 versa. (Closes: #323542)
16881 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16883 * gst/parse/parse.l:
16884 Commit patch for parse_launch syntax from #331255. Removes
16885 support for quoted strings and mimetypes when writing filtered
16886 caps. See the bug report for more details - I'm pretty sure this
16887 obscure feature is not in use by _anyone_ anywhere.
16889 With this simple change, the size of the gstreamer.so here
16890 drops from 2193KB to 1565KB.
16892 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16894 * plugins/elements/gsttypefindelement.h:
16895 * plugins/elements/gsttypefindelement.c:
16896 (gst_type_find_element_src_event), (start_typefinding),
16897 (stop_typefinding), (gst_type_find_element_handle_event),
16898 (gst_type_find_element_chain),
16899 (gst_type_find_element_chain_do_typefinding):
16900 Use gst_type_find_helper_for_buffer() for chain-based
16903 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16905 * plugins/elements/gsttypefindelement.c:
16906 (gst_type_find_element_class_init),
16907 (gst_type_find_element_set_property),
16908 (gst_type_find_element_get_property):
16909 Deprecate "maximum" property (not only was it only taken into
16910 account for typefinding in push-mode anyway, it also was never
16911 actually possible to set it in the first place because the
16912 property was registered with the numeric property ID for the
16913 "minimum" property). Register "maximum" property correctly,
16914 for the sake of future copy'n'pasters. Remove some cruft
16915 from property get/set functions.
16917 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16919 * plugins/elements/gsttypefindelement.c:
16920 (gst_type_find_element_activate):
16921 Use gst_type_find_helper_get_range() here, so we
16922 can honour the "minimum" property and also emit
16923 the signal with the correct probability of the found caps.
16925 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16927 * docs/libs/gstreamer-libs-sections.txt:
16928 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16929 (helper_find_suggest), (gst_type_find_helper_get_range),
16930 (gst_type_find_helper):
16931 * libs/gst/base/gsttypefindhelper.h:
16932 New API: gst_type_find_helper_get_range() (#333042).
16934 2006-03-02 Michael Smith <msmith@fluendo.com>
16936 * gst/gstregistryxml.c: (load_feature):
16937 Asserting on a failure to read part of the registry is Not Cool.
16938 Just log a warning and return NULL (which is already handled)
16940 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16942 * win32/common/libgstbase.def:
16943 added export of gst_type_find_helper_for_buffer
16944 * win32/common/libgstbase.def:
16945 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16946 gst_ghost_pad_get_target
16948 2006-02-28 Wim Taymans <wim@fluendo.com>
16950 * docs/design/draft-klass.txt:
16952 Added Connector to mark elements that are only used to
16953 allow pipeline connections.
16954 Moved Debug to extra feature since most of them are
16955 functionally something else.
16957 2006-02-28 Wim Taymans <wim@fluendo.com>
16959 * docs/design/draft-klass.txt:
16960 Some updates and clarifications.
16962 2006-02-28 Wim Taymans <wim@fluendo.com>
16964 * docs/design/draft-klass.txt:
16965 Proposal for klass field values.
16967 * docs/design/part-streams.txt:
16968 Start of a doc describing stream anatomy.
16970 2006-02-28 Wim Taymans <wim@fluendo.com>
16972 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16973 Help the compiler a bit with type registration.
16974 Use existing forward cod path instead of duplicating it when
16975 handling a message.
16977 * gst/gstbus.c: (gst_bus_get_type):
16978 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16979 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16980 * gst/gstclock.c: (gst_clock_get_type):
16981 * gst/gstelement.c: (gst_element_get_type),
16982 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16983 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16984 * gst/gstminiobject.c: (gst_mini_object_get_type):
16985 * gst/gstpad.c: (gst_pad_get_type):
16986 * gst/gstsegment.c: (gst_segment_get_type):
16987 * gst/gststructure.c: (gst_structure_get_type):
16988 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16989 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16991 Help compiler with type registration.
16993 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16996 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16998 * plugins/elements/gsttypefindelement.c:
16999 (gst_type_find_element_handle_event):
17000 When we get an EOS event and have not found a type yet
17001 (most likely because we had not yet accumulated
17002 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17003 type given the data we have so far. Fixes typefinding
17004 for very short streams again, most notably quicktime
17005 redirections as used on Apple's trailer site (#331701).
17007 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17009 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17010 (gst_type_find_helper):
17011 Try typefinding factories with the highest rank first.
17013 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17015 * docs/libs/gstreamer-libs-docs.sgml:
17016 * docs/libs/gstreamer-libs-sections.txt:
17017 * libs/gst/base/gsttypefindhelper.c:
17018 Add section for typefind helper and add documentation
17019 for the old and the new function.
17021 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17023 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17024 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17025 (gst_type_find_helper_for_buffer):
17026 * libs/gst/base/gsttypefindhelper.h:
17027 New API: gst_type_find_helper_for_buffer() (#332723).
17029 2006-02-27 Michael Smith <msmith@fluendo.com>
17031 Patch by: Loïc Minier
17034 * docs/Makefile.am:
17035 * docs/slides/Makefile.am:
17036 prevent CVS directories getting disted.
17038 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17040 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17041 Use the REFCOUNTING category for caps refcounting.
17043 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17045 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17046 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17048 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17050 * plugins/elements/gsttypefindelement.c:
17051 (gst_type_find_element_activate):
17052 Use gst_pad_check_pull_range() before _activate_pull()
17053 to avoid unnecessary open/close (see #331690).
17055 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17058 Docs enhancement: make it crystal clear what the
17059 gst_pad_add_*_probe() callbacks should look like.
17061 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17063 * libs/gst/base/gstbasesrc.c:
17064 Document how applications can stop recording from
17065 live sources (see #330996).
17067 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17069 * tests/check/Makefile.am:
17070 * tests/check/libs/basesrc.c: (eos_event_counter),
17071 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17072 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17073 (gst_basesrc_suite), (main):
17074 ... and add some tests for the base source EOS stuff.
17076 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17078 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17079 Test case originally showed the problem fixed below,
17080 but was then amended. Add checks back at the place
17081 where they used to be.
17083 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17085 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17086 (gst_base_src_init), (gst_base_src_loop),
17087 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17088 (gst_base_src_change_state):
17089 * libs/gst/base/gstbasesrc.h:
17090 Don't unconditionally send EOS when going from PAUSED to
17091 READY state, esp. make sure we don't send two EOS events
17092 in some cases (e.g. one when reaching EOS and one when
17093 going from PAUSED to READY). Also, we don't want to send
17094 EOS events when operating in pull mode. However, we do
17095 want to send an EOS event when shutting down a live
17096 source explicitly, for example (fixes #330996).
17098 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17100 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17101 Update src->read_position after a seek when not using mmap.
17102 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17104 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17110 Make things work with --disable-parse as they do with
17111 --disable-load-save - the symbols involved disappear, but the
17112 header is still installed and GST_DISABLE_PARSE is included via
17115 2006-02-20 Julien MOUTTE <julien@moutte.net>
17117 * libs/gst/base/gstbasetransform.c:
17118 (gst_base_transform_change_state): Fix a stupid bug. I was
17119 sure I compiled that.
17121 2006-02-20 Julien MOUTTE <julien@moutte.net>
17123 * gst/gstpad.c: (gst_pad_set_blocked_async):
17124 * gst/gstutils.c: (gst_pad_add_data_probe),
17125 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17126 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17127 (gst_pad_remove_buffer_probe): Make those function act on the
17128 ghostpad target when it's a ghostpad. (Closes #331727)
17130 2006-02-20 Julien MOUTTE <julien@moutte.net>
17132 * libs/gst/base/gstbasetransform.c:
17133 (gst_base_transform_change_state): Make basetransform reusable.
17136 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17138 * docs/random/release:
17139 Move the current documentation of how to do a release to the top
17142 * gst/gstbin.c: (gst_bin_class_init),
17143 (gst_bin_handle_message_func):
17144 Allow multiple state-recalculation threads. (Closes #328873)
17146 2006-02-19 Julien MOUTTE <julien@moutte.net>
17148 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17149 * gst/gstpad.c: (gst_pad_set_event_function),
17150 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17151 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17152 2 strings. You can't use the STR_NULL macro on that.
17154 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17156 * gst/gstpad.c: (gst_pad_set_event_function),
17157 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17158 (gst_pad_set_getcaps_function)
17159 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17160 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17161 So now, we can use --gst-debug-level=5 on Windows
17162 * win32/common/libgstcontroller.def:
17163 Added export of gst_controller_init
17164 * win32/vs6/libgstcontroller.dsp:
17165 Fixed Release post build configuration
17167 2006-02-17 Wim Taymans <wim@fluendo.com>
17169 * tests/check/gst/gstquery.c: (GST_START_TEST):
17170 Added another check.
17172 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17174 * plugins/elements/gsttypefindelement.c: (find_peek):
17175 We can do peeks at non-zero offsets, as long as they
17176 fall within the buffer we have.
17178 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17180 * tests/check/Makefile.am:
17181 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17182 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17183 (parse_suite), (main):
17184 Add testsuite for parse launch syntax
17186 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17188 * plugins/elements/gsttypefindelement.c:
17189 (gst_type_find_element_chain):
17190 When typefinding is unsuccessful in the chain function, don't
17191 error out immediately. Only error out with NO_CAPS_FOUND if
17192 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17193 otherwise simply wait for more data so we can try typefinding
17194 again with more data later. Also, don't attempt to typefind
17195 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17196 this should improve typefinding from network sources where the
17197 size of the first buffer can be somewhat random.
17199 2006-02-14 Wim Taymans <wim@fluendo.com>
17201 * docs/gst/gstreamer-sections.txt:
17202 * gst/gstpadtemplate.c:
17203 * gst/gstpadtemplate.h:
17204 Fix padtemplate docs, fixes #328805.
17206 2006-02-14 Wim Taymans <wim@fluendo.com>
17208 * tools/gst-launch.c: (main):
17209 NO_PREROLL is not an ERROR so don't send confusing messages
17212 2006-02-14 Wim Taymans <wim@fluendo.com>
17214 Patch by: Torsten Schoenfeld
17216 * gst/gstregistry.c: (gst_registry_get_default),
17217 (_gst_registry_cleanup):
17218 Protect default registry with lock and ref/sink it.
17221 2006-02-14 Wim Taymans <wim@fluendo.com>
17224 * gst/gstquery.c: (gst_query_list_add_format),
17225 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17226 (gst_query_parse_formats_nth):
17227 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17230 2006-02-14 Wim Taymans <wim@fluendo.com>
17232 * docs/gst/gstreamer-sections.txt:
17233 Reworked query docs.
17235 * gst/gstquery.c: (gst_query_new_formats),
17236 (gst_query_list_add_format), (gst_query_set_formats),
17237 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17238 (gst_query_parse_formats_nth):
17240 Flesh out formats query, added some new methods.
17241 Fix part of #324398.
17243 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17244 Added query creation tests.
17246 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17248 * gst/gstpad.c: (fixate_value):
17249 Add a default fixation for fraction lists.
17251 2006-02-13 Wim Taymans <wim@fluendo.com>
17253 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17254 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17257 Detect and warn for obvious deadlocks. fixes #320340
17258 Fix error case where lock was not released.
17260 * tests/check/Makefile.am:
17261 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17262 (task_func), (gst_element_suite), (main):
17265 2006-02-13 Wim Taymans <wim@fluendo.com>
17267 * docs/gst/gstreamer-sections.txt:
17269 Add new functions to docs.
17271 2006-02-13 Wim Taymans <wim@fluendo.com>
17273 * docs/design/part-TODO.txt:
17274 Updated TODO list, basesrc supports seeking to non-bytes
17277 * docs/design/part-element-sink.txt:
17280 * gst/gstbin.c: (bin_replace_message),
17281 (gst_bin_handle_message_func):
17282 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17283 * gst/gstevent.c: (gst_event_finalize):
17284 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17285 (gst_pad_send_event):
17286 Use shiny new _TYPE_NAME macros.
17288 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17289 Move debug statement up.
17291 * gst/gstelement.c: (gst_element_set_locked_state):
17292 Add some debugging.
17294 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17296 * docs/gst/gstreamer-sections.txt:
17297 * gst/gstmessage.h:
17299 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17300 macros (#330906). Also, document the already existing
17301 GST_QUERY_TYPE macro.
17303 2006-02-13 Wim Taymans <wim@fluendo.com>
17305 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17306 (event_probe), (GST_START_TEST):
17307 Only events up to the pipeline EOS are counted, there are
17308 some more when going to NULL currently which we don't care
17311 2006-02-13 Wim Taymans <wim@fluendo.com>
17313 * gst/gstpad.c: (gst_pad_send_event):
17314 Correctly check flushing and emit probes. fixes #330125
17316 2006-02-10 Andy Wingo <wingo@pobox.com>
17318 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17320 (gst_bus_init): Cache the location of the private data in the
17321 instance structure.
17322 (gst_bus_enable_sync_message_emission)
17323 (gst_bus_disable_sync_message_emission): Implement new public
17325 (gst_bus_post): Emit the sync-message signal if the user asked for
17328 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17329 location of the bus-private structure.
17330 (gst_bus_enable_sync_message_emission)
17331 (gst_bus_disable_sync_message_emission): API addition
17333 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17335 Patch by: Vincent Torri
17337 * docs/pwg/building-boiler.xml:
17338 PWG patch from #326800
17340 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17343 * docs/Makefile.am:
17344 * docs/design/Makefile.am:
17347 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17352 === release 0.10.3 ===
17354 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17357 releasing 0.10.3, "Like a virgin"
17359 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17362 2nd prerelease of 0.10.3
17363 Bump libtool versioning.
17365 2006-02-07 Andy Wingo <wingo@pobox.com>
17367 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17368 update last_stop if we're in TIME format and the timestamp is
17371 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17372 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17373 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17374 If we get a new newsegment with a different format, adapt
17377 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17378 of 0. Not a problem, really.
17380 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17383 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17388 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17391 project files updated to the default vs7 configuration
17392 * win32/common/libgstbase.def:
17393 * win32/common/libgstreamer.def:
17395 removed empty lines,
17396 sorted all exported symbols alphabetically
17397 * win32/common/dirent.c:
17398 * win32/common/dirent.h:
17399 * win32/common/gchar.h:
17400 use windows line end.
17402 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17404 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17405 Send EOS event when stopping.
17407 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17410 Tell folks what to do if the plugin-foobar.xml file
17411 hasn't been generated for a newly-added plugin.
17413 2006-02-05 Julien MOUTTE <julien@moutte.net>
17415 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17416 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17417 (gst_collect_pads_start), (gst_collect_pads_stop),
17418 (gst_collect_pads_event): Collectpads now holds a reference
17419 to the GstPad that was added. Indeed we don't want to look
17420 at pads that might just go away with no warning...
17422 2006-02-05 Julien MOUTTE <julien@moutte.net>
17424 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17425 (gst_collect_pads_start), (gst_collect_pads_stop),
17426 (gst_collect_pads_event), (gst_collect_pads_chain):
17427 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17428 Mark Nauwelaerts's patch on bug #328491.
17430 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17432 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17434 Add some simple tests for gst_parse_bin_from_description() and
17435 gst_bin_find_unconnected_pad() (#329069).
17437 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17439 * tools/gst-launch.c: (event_loop), (main):
17440 Catch errors during preroll (#320084).
17442 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17444 * plugins/elements/gsttypefindelement.c:
17445 (gst_type_find_element_activate):
17446 Post TYPE_NOT_FOUND error message when typefinding
17447 is unsuccessful in the activate function as well.
17449 2006-02-02 Wim Taymans <wim@fluendo.com>
17451 * docs/design/part-element-sink.txt:
17454 2006-02-02 Wim Taymans <wim@fluendo.com>
17456 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17457 (gst_base_sink_render_object),
17458 (gst_base_sink_queue_object_unlocked):
17459 Only keep track of prerollable items when we are
17461 Before rendering after preroll, always check if we
17463 Added some more debugging.
17465 2006-02-02 Wim Taymans <wim@fluendo.com>
17467 * gst/gstelement.c: (gst_element_continue_state),
17468 (gst_element_set_state_func), (gst_element_change_state):
17469 Fixed #326576, been running this for quite some time with
17470 no regressions at all.
17472 2006-02-02 Wim Taymans <wim@fluendo.com>
17475 Added more suppressions
17477 2006-02-02 Wim Taymans <wim@fluendo.com>
17479 * docs/design/part-element-sink.txt:
17482 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17483 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17484 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17485 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17486 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17487 (gst_base_sink_preroll_object),
17488 (gst_base_sink_queue_object_unlocked),
17489 (gst_base_sink_queue_object), (gst_base_sink_event),
17490 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17491 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17492 (gst_base_sink_get_position), (gst_base_sink_change_state):
17493 * libs/gst/base/gstbasesink.h:
17494 Totally refactored matching the design doc.
17495 Use two segments, one to clip incomming buffers and another to
17497 Handle queueing correctly, bypass the queue when playing.
17498 Make EOS cancelable.
17499 Handle errors correctly when operating in pull based mode.
17501 * tests/check/elements/fakesink.c: (GST_START_TEST),
17503 Added new check for sinks.
17505 2006-02-02 Wim Taymans <wim@fluendo.com>
17507 * gst/gstsegment.c: (gst_segment_clip):
17508 No reason to refuse to clip when start == -1
17510 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17513 * docs/manual/intro-basics.xml:
17514 * docs/manual/intro-preface.xml:
17515 * docs/manual/manual.xml:
17516 * docs/pwg/advanced-dparams.xml:
17517 * docs/pwg/intro-basics.xml:
17518 * docs/pwg/intro-preface.xml:
17519 * docs/pwg/pwg.xml:
17520 describe dparams (controller) for plugins
17521 unify docs a little more
17523 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17525 * docs/gst/gstreamer-sections.txt:
17526 * gst/gstutils.c: (element_find_unconnected_pad),
17527 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17529 Add new API: gst_parse_bin_from_description() and
17530 gst_bin_find_unconnected_pad() (#329069).
17532 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17534 * docs/manual/README:
17535 uncover a nasty detail of the docs build
17537 2006-01-31 Wim Taymans <wim@fluendo.com>
17539 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17540 Don't cache duration messages if we're not going to use or
17543 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17545 * docs/manual/advanced-dparams.xml:
17546 * docs/pwg/advanced-dparams.xml:
17550 * libs/gst/controller/lib.c: (gst_controller_init):
17553 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17555 * gst/gstelement.c: (gst_element_message_full):
17556 also show file/line/func if no additional debug was given
17558 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17560 * win32/vs7/grammar.vcproj:
17561 activate copy of autogenerated files for Release mode
17563 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17565 * win32/common/libgstreamer.def:
17566 export gst_value_compare
17568 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17570 * plugins/elements/Makefile.am:
17571 * plugins/elements/gstelements.c:
17572 * plugins/elements/gstfdsink.c: (_do_init),
17573 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17574 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17575 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17576 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17577 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17578 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17579 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17580 * plugins/elements/gstfdsink.h:
17581 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17583 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17585 * docs/manual/advanced-dparams.xml:
17586 describe controller
17587 * docs/manual/advanced-position.xml:
17588 * docs/manual/basics-init.xml:
17589 * docs/manual/manual.xml:
17590 * docs/manual/titlepage.xml:
17591 * docs/pwg/pwg.xml:
17592 * docs/pwg/titlepage.xml:
17593 cleanup xml (more to come)
17594 * libs/gst/controller/gstcontroller.c:
17597 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17599 * win32/vs6/grammar.dsp:
17600 add autogen of gstmarshal.c,h for Release mode
17602 2006-01-30 Wim Taymans <wim@fluendo.com>
17604 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17605 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17606 (gst_base_sink_handle_object), (gst_base_sink_event),
17607 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17608 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17609 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17610 (gst_base_sink_deactivate), (gst_base_sink_activate),
17611 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17612 (gst_base_sink_query), (gst_base_sink_change_state):
17613 Basesink cleanups, remove some old code.
17614 Handle the case where a subclass can preroll in the render
17615 method (mostly audiosinks).
17616 Handle more events.
17617 Remove some locks around variables that are now protected
17618 with the PREROLL_LOCK (clock_id, flushing, ..).
17619 Optimize position query some more, do correct locking.
17620 Remove old code to push queue in state change, this is not
17621 needed anymore since preroll blocks on all prerollable items
17623 Almost implemented as described in design doc.
17625 2006-01-30 Wim Taymans <wim@fluendo.com>
17627 * tests/check/gst/gstbin.c: (GST_START_TEST):
17628 Wait for refcount to settle down before checking.
17630 2006-01-30 Wim Taymans <wim@fluendo.com>
17632 * docs/design/part-element-sink.txt:
17633 Pseudo code overview of desired sink behaviour regarding
17636 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17637 * win32/vs6/grammar.dsp:
17638 fix some bugs in Release mode for autogenerated files
17640 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17641 * win32/common/libgstbase.def:
17642 * win32/common/libgstreamer.def:
17643 export some new symbols: gst_base_src_set_format,
17644 gst_iterator_next, gst_structure_set_valist
17646 2006-01-29 Julien MOUTTE <julien@moutte.net>
17648 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17649 Set pad functions unconditionally. Fixes #329105.
17651 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17653 add vs8 project files created by Sergey Scobich
17655 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17657 * gst/gstutils.c: (gst_element_unlink_pads):
17658 Don't leak pad references.
17660 * tests/check/elements/fakesink.c: (GST_START_TEST):
17661 * tests/check/generic/sinks.c: (GST_START_TEST):
17662 * tests/check/generic/states.c: (GST_START_TEST):
17663 * tests/check/gst/gstbin.c: (GST_START_TEST):
17664 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17665 * tests/check/gst/gstelement.c: (GST_START_TEST):
17666 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17667 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17668 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17669 Fix a bunch of leaks. Make generic/sinks.c
17670 use a bit less cpu by slowing the buffer rate
17671 between fakesrc and fakesink.
17673 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17675 * gst/gstelement.c: (gst_element_send_event):
17678 * gst/gstiterator.c:
17679 * gst/gstiterator.h:
17680 * gst/gstpad.c: (gst_pad_send_event):
17681 * gst/gststructure.c:
17685 * libs/gst/base/gstadapter.c:
17686 doc fixes, to link to function, just write gst_cool_function(), don't
17689 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17691 * plugins/elements/gsttee.c: (gst_tee_do_push),
17692 (gst_tee_handle_buffer):
17693 Always prefer an actual return value from a src
17694 pad in place of NOT_LINKED. This means we return
17695 WRONG_STATE when all src pads are WRONG_STATE
17696 instead of NOT_LINKED.
17698 Lock when replacing the last message to prevent
17699 racing with the get_property method.
17703 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17705 * tests/check/Makefile.am:
17706 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17708 Add a very simple check that should have caught the memleak I fixed
17709 last night (if not for the slice allocator hiding it)
17711 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17713 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17714 (gst_bin_remove_func), (gst_bin_handle_message_func),
17715 (bin_query_duration_fold), (bin_query_generic_fold):
17716 Clean up references to the clock provider when disposed or when
17717 handling a clock-lost message from it.
17719 Unref sinks when performing a query via gst_iterator_fold, as the
17720 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17722 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17723 (gst_clock_set_master):
17724 Drop our reference to the master clock, if any, when we are disposed.
17726 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17727 Chain up in dispose.
17729 2006-01-26 Wim Taymans <wim@fluendo.com>
17731 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17732 Add some debugging.
17734 2006-01-26 Julien MOUTTE <julien@moutte.net>
17736 * plugins/elements/gsttee.c: (gst_tee_do_push),
17737 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17738 handles pad being NOT_LINKED or in WRONG_STATE.
17740 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17745 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17748 remove obsolete entry
17750 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17752 * docs/gst/gstreamer-sections.txt:
17753 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17754 (gst_bin_iterate_sources), (gst_bin_send_event):
17756 * gst/gstelement.c: (gst_element_send_event):
17758 * gst/gstpad.c: (gst_pad_send_event):
17759 added code for downstream events, reviewed docs in gstevent.c
17761 2006-01-25 Julien MOUTTE <julien@moutte.net>
17763 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17764 We only query position using the clock in the playing state.
17765 Query peer in the other cases.
17766 * win32/common/config.h: Updates.
17768 2006-01-24 Wim Taymans <wim@fluendo.com>
17770 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17771 A clock entry that is scheduled for the exact time of the
17772 clock is still in time.
17774 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17775 (gst_base_sink_do_sync):
17776 Add some more debug info.
17778 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17781 Add new vs7 project files and solution.
17783 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17786 all files removed as they were out-dated.
17788 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17790 * docs/random/release:
17792 * gst/gstbin.c: (gst_bin_init):
17793 * gst/gstbus.c: (gst_bus_new):
17795 * gst/gstpipeline.c: (gst_pipeline_init):
17796 use gst_bus_new(), improve logging, fix docs
17797 * win32/common/config.h:
17798 update for cvs build
17800 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17803 up required version of automake to 1.7
17805 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17807 * win32/common/libgstreamer.def:
17808 export gst_buffer_is_metadata_writable
17810 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17812 * docs/gst/gstreamer-sections.txt:
17814 Add gst_event_replace() (#327001)
17816 2006-01-20 Wim Taymans <wim@fluendo.com>
17818 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17819 Make it actually compile too..
17821 2006-01-20 Wim Taymans <wim@fluendo.com>
17824 Clarify behaviour of _is_equal() when passing NULL parameters.
17826 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17827 (gst_pad_set_caps):
17828 Cleanups. Don't unref NULL caps.
17829 When setting the same caps, protect caps of the pad with
17831 Use full functionality of _is_equal() when comparing caps.
17833 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17835 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17836 Don't loop infinitely if there are no buffers to present. Partially
17837 fixes #327197, but collectpads is just broken for reusing elements
17838 to do multiple encodes atm.
17840 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17842 * tools/gst-inspect.c: (print_element_features):
17843 * tools/gst-xmlinspect.c: (main):
17844 URL_HANDLER is not a plugin feature we can search for in
17847 2006-01-19 Edward Hervey <edward@fluendo.com>
17849 * gst/gstelement.c: (gst_element_pads_activate):
17850 When activating, do src pads first, then sink pads.
17851 When de-activating, do sink pads first, then src pads.
17853 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17855 * docs/gst/gstreamer-sections.txt:
17856 Add gst_index_add_associationv to the docs
17858 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17863 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17864 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17865 Do some refactoring. Doesn't actually change functionality,
17866 but makes landing the DRAIN event easier later.
17868 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17870 * docs/pwg/advanced-scheduling.xml:
17871 Update from 0.9.x to 0.10 API and make example a bit
17874 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17876 * docs/gst/gstreamer-sections.txt:
17877 Add gst_buffer_(is|make)_metadata_writable methods.
17879 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17881 * docs/design/part-sparsestreams.txt:
17882 Update sparse streams doc, hopefully for greater clarity
17884 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17886 * docs/design/part-events.txt:
17887 Remove mention of FILLER events.
17890 * docs/design/part-sparsestreams.txt:
17891 Write some things about using NEWSEGMENT to keep sparse streams
17894 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17896 * gst/gstbin.c: (gst_bin_dispose):
17897 Guard gst_object_unref call against a NULL object (dispose
17898 can theoretically be called multiple times).
17900 2006-01-18 Wim Taymans <wim@fluendo.com>
17902 * gst/gstbin.c: (gst_bin_element_set_state):
17903 * gst/gstclock.c: (gst_clock_id_wait):
17904 Added some more debug info.
17906 * libs/gst/base/gstadapter.c:
17909 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17910 (gst_base_sink_do_sync), (gst_base_sink_chain):
17911 Added some comments.
17913 2006-01-18 Wim Taymans <wim@fluendo.com>
17915 * tests/check/Makefile.am:
17916 * tests/check/elements/fakesink.c: (chain_async_buffer),
17917 (chain_async), (chain_async_return), (GST_START_TEST),
17918 (fakesink_suite), (main):
17919 Added fakesink test that checks prerolling and clipping
17922 * tests/check/gst/gstutils.c: (GST_START_TEST):
17923 Make check run faster so that buildbots don't timeout.
17925 2006-01-18 Wim Taymans <wim@fluendo.com>
17927 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17928 (gst_base_sink_do_sync):
17930 When the sink finishes blocking on the preroll buffer, it can
17931 immediatly render it instead of rendering when the next buffer
17934 2006-01-18 Wim Taymans <wim@fluendo.com>
17936 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17937 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17938 (gst_base_sink_chain):
17940 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17941 Don't store _last_stop if the buffer is dropped.
17943 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17945 * plugins/elements/gsttypefindelement.c:
17946 (gst_type_find_element_class_init):
17947 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17948 object method handler that sets the caps on the pad and we want
17949 that to happen before we emit the signal (fixes e.g. feeding a
17950 plain text file to decodebin).
17952 2006-01-18 Christian Schaller <Christian@fluendo.com>
17954 * gst/gstplugin.c: Add MPL and Proprietary as license options
17956 2006-01-18 Andy Wingo <wingo@pobox.com>
17958 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17959 symbol was exported before, it appears this was just an oversight.
17961 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17963 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17964 prototype to gint. OK since this prototype was not in the header.
17966 2006-01-17 Andy Wingo <wingo@pobox.com>
17968 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17969 registry while we remove plugins.
17971 * tools/gst-inspect.c (print_element_info): Don't unref the
17972 factory arg, that should be the responsibility of whatever code
17973 received the ref. Fixes a double-free when called from
17974 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17975 (main): Unref the factory if we have one.
17976 (print_element_list): No change -- relies on the
17977 plugin_feature_list_free to free the list of features.
17979 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17981 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17982 (gst_buffer_make_metadata_writable):
17984 * libs/gst/base/gstbasetransform.c:
17985 (gst_base_transform_prepare_output_buf):
17986 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17987 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17988 Replace gst_buffer_(make|is)_metadata_writable patch now
17989 that the release is out.
17991 2006-01-17 Andy Wingo <wingo@pobox.com>
17993 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17994 in the present tense without reference to versions.
17996 * gst/gstregistry.c (gst_registry_add_plugin)
17997 (gst_registry_remove_plugin, gst_registry_remove_feature)
17998 (gst_registry_find_feature, gst_registry_get_feature_list)
17999 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18000 (gst_registry_lookup, gst_registry_scan_path)
18001 (_gst_registry_remove_cache_plugins)
18002 (gst_registry_get_feature_list_by_plugin): Add argument
18005 === release 0.10.2 ===
18007 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18010 releasing 0.10.2, "If man is five"
18012 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18016 * libs/gst/base/gstbasetransform.c:
18017 (gst_base_transform_prepare_output_buf):
18018 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18019 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18020 Back out patch until after the release.
18022 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18024 * gst/gstminiobject.c:
18025 Spelling fix in docs.
18026 * ChangeLog - remove conflict indicator
18028 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18030 Reviewed By: Andy Wingo
18032 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18033 (gst_buffer_make_metadata_writable):
18035 Add gst_buffer_(is|make)_metadata_writable as analogues of
18036 gst_buffer_(is|make)_writable.
18038 * libs/gst/base/gstbasetransform.c:
18039 (gst_base_transform_prepare_output_buf):
18040 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18041 Use name gst_buffer_(is|make)_metadata_writable functions.
18043 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18044 Test gst_buffer_(is|make)_metadata_writable
18048 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18050 * docs/manual/Makefile.am:
18051 don't do parallel make
18054 * win32/common/config.h.in:
18055 add generations for HOST_CPU and GST_MAJORMINOR
18056 * win32/common/config.h:
18057 commit generated result
18059 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18061 * docs/manual/appendix-integration.xml:
18062 Update GNOME integration section to use gst_init_get_option_group()
18063 instead of the old popt stuff (#322911). Also, GNOME applications
18064 should now use gconf*sink and gconf*src instead of the old gconf
18067 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18070 * docs/gst/gstreamer-docs.sgml:
18071 * docs/gst/gstreamer-sections.txt:
18072 * docs/libs/gstreamer-libs-sections.txt:
18073 add new API entries to the docs
18074 * libs/gst/controller/Makefile.am:
18075 * libs/gst/controller/gstcontroller.c:
18076 * libs/gst/controller/gstcontroller.h:
18077 * libs/gst/controller/gstcontrollerprivate.h:
18078 * libs/gst/controller/gsthelper.c:
18079 * libs/gst/controller/gstinterpolation.c:
18080 move private structs to private header
18082 gstreamer-0.7 -> gstreamer-0.10
18083 * tests/check/libs/struct_i386.h:
18084 remove private structs
18086 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18088 * plugins/indexers/Makefile.am:
18089 Fixes as part of #317048
18091 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18093 * plugins/indexers/Makefile.am:
18094 fix #316086 - compilation when mmap is missing
18096 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18098 * libs/gst/base/gstbasesink.c:
18099 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18100 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18101 * win32/common/config.h:
18102 added some defines GST_MAJORMINOR and HOST_CPU
18103 * win32/common/libgstbase.def:
18104 * win32/common/libgstreamer.def:
18105 added some exported functions.
18107 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18109 * libs/gst/controller/gstcontroller.c:
18110 (gst_controlled_property_set_interpolation_mode),
18111 (gst_controlled_property_new):
18112 * libs/gst/controller/gstcontroller.h:
18113 * libs/gst/controller/gstinterpolation.c:
18114 (interpolate_none_get_string_value_array):
18115 make G_TYPE_STRING controlable
18117 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18120 * tools/gst-feedback.1.in:
18121 * tools/gst-inspect.1.in:
18122 * tools/gst-launch.1.in:
18123 * tools/gst-md5sum.1.in:
18124 * tools/gst-typefind.1.in:
18125 * tools/gst-xmlinspect.1.in:
18126 * tools/gst-xmllaunch.1.in:
18127 cleanup man-pages, remove reference to gst-register, document env-vars
18129 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18131 * gst/gstbuffer.c: (gst_buffer_span):
18132 gst_buffer_span should copy the timestamp of the first buffer
18133 if they were both originally overlapping subbuffers of the
18134 same parent, using the same logic as the 'slow copy' case.
18136 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18138 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18139 Need to awaken ALL the pads when we pop a buffer, otherwise
18140 collectpads only works when there is 2 input streams.
18142 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18144 * docs/random/ensonic/media-device-daemon.txt:
18147 fix doc example, add clarification
18148 * tools/gst-launch.1.in:
18149 add initial info about GST_PLUGIN_PATH, needs more work
18151 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18153 * docs/manual/basics-bins.xml:
18154 * docs/manual/basics-elements.xml:
18155 * docs/manual/intro-basics.xml:
18156 Some more minor docs additions and updates.
18158 2006-01-11 Wim Taymans <wim@fluendo.com>
18160 * docs/manual/basics-bins.xml:
18161 * docs/manual/basics-elements.xml:
18162 Some small fixes as pointed out by Ser-ver on IRC.
18164 2006-01-10 Edward Hervey <edward@fluendo.com>
18166 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18167 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18168 the single-segment mode.
18170 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18172 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18174 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18175 (gst_base_src_perform_seek), (gst_base_src_send_event),
18176 (gst_base_src_set_property), (gst_base_src_get_property),
18177 (gst_base_src_loop), (gst_base_src_start),
18178 (gst_base_src_activate_push):
18179 * libs/gst/base/gstbasesrc.h:
18180 Name (private) union; makes Sun's Forte compiler happy (#324900).
18182 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18185 gst-register is gone.
18187 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18189 * gst/gstvalue.c: (_gst_value_initialize):
18190 make the G_TYPE_DATE instantiation work if debug is disabled
18192 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18194 * gst/gstmessage.c: (gst_message_parse_tag),
18195 (gst_message_parse_error), (gst_message_parse_warning):
18196 Don't crash when return location for error/warning debug
18197 string is NULL; add fact that return locations can be
18198 NULL to docs where appropriate.
18200 2006-01-05 Wim Taymans <wim@fluendo.com>
18202 * gst/gstplugin.c: (gst_plugin_load_file):
18203 Replace strdup by g_strdup.
18205 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18207 * docs/pwg/advanced-types.xml:
18210 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18212 submitted by: Abel Cheung
18216 Added Chinese (traditional) translation
18218 2006-01-04 Wim Taymans <wim@fluendo.com>
18220 * docs/manual/basics-pads.xml:
18221 * docs/plugins/Makefile.am:
18222 * docs/plugins/gstreamer-plugins-docs.sgml:
18223 * docs/plugins/gstreamer-plugins-sections.txt:
18224 * docs/pwg/advanced-clock.xml:
18225 * docs/pwg/advanced-scheduling.xml:
18226 * docs/pwg/advanced-types.xml:
18227 * plugins/elements/gstfdsink.c:
18228 * plugins/elements/gstfdsrc.c:
18229 * plugins/elements/gstfdsrc.h:
18230 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18231 * plugins/elements/gstidentity.h:
18232 * plugins/elements/gstqueue.h:
18233 * plugins/elements/gsttee.c:
18234 * plugins/elements/gsttee.h:
18235 * plugins/elements/gsttypefindelement.c:
18236 (gst_type_find_element_class_init):
18237 * plugins/elements/gsttypefindelement.h:
18238 Small updates to various docs.
18239 Added core plugins to docs.
18241 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18244 add a suppression for liboil's uninitialized variable
18246 2006-01-02 James Livingston <jrl at ids dot org dot au>
18248 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18251 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18252 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18253 compiler switch is being used (#325429).
18255 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18257 * gst/gstbin.c: (gst_bin_query):
18258 Disable duration query caching in bins until it gets
18259 fixed (see #324807).
18261 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18263 * tools/gst-inspect.c: (print_element_properties_info):
18264 Handle properties of POINTER and BOXED type.
18266 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18268 * gst/gst.c: (init_post):
18269 Init tags stuff and some other things before loading
18270 any static plugins (there may be other static plugins
18271 than just the GStreamer ones, and they may want to
18272 register their own tags or formats or whatever, and
18273 preferably without segfaulting).
18275 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18276 Print at least a warning in the debug logs if we drop a
18277 query just because we don't know how to adjust the value
18278 in the particular format.
18280 2005-12-24 David Schleef <ds@schleef.org>
18282 * tools/gstreamer-completion:
18283 Replacement for gst-complete written in sh and sed. Only
18284 completes names of features, but that's 90% of what I want
18285 it for. Properties are not available in registry.xml. (Maybe
18288 === release 0.10.1 ===
18290 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18293 releasing 0.10.1, "Nollaig chridheil"
18295 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18297 * docs/faq/cvs.xml:
18298 Add missing quote, should be make ERROR_CFLAGS="".
18300 2005-12-20 Wim Taymans <wim@fluendo.com>
18302 * docs/design/part-trickmodes.txt:
18303 More documentation on trickmodes.
18305 2005-12-20 Edward Hervey <edward@fluendo.com>
18307 * gst/gstcaps.c: (gst_static_caps_get_type):
18309 API addition: GST_TYPE_STATIC_CAPS
18310 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18311 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18312 * gst/gstpadtemplate.h:
18313 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18314 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18317 2005-12-18 Wim Taymans <wim@fluendo.com>
18319 * libs/gst/base/gstadapter.c:
18320 * libs/gst/base/gstadapter.h:
18321 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18322 (gst_base_sink_get_position):
18323 * libs/gst/base/gstbasesink.h:
18324 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18325 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18326 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18327 (gst_base_src_send_event), (gst_base_src_update_length),
18328 (gst_base_src_get_range), (gst_base_src_loop),
18329 (gst_base_src_start):
18330 * libs/gst/base/gstbasesrc.h:
18331 * libs/gst/base/gstbasetransform.h:
18332 * libs/gst/base/gstcollectpads.h:
18333 * libs/gst/base/gstpushsrc.c:
18334 * libs/gst/base/gstpushsrc.h:
18335 * libs/gst/dataprotocol/dataprotocol.c:
18336 * libs/gst/dataprotocol/dataprotocol.h:
18337 * libs/gst/net/gstnetclientclock.h:
18338 * libs/gst/net/gstnettimeprovider.h:
18339 Documentation updates.
18341 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18343 * docs/manual/basics-helloworld.xml:
18344 Remove superfluous closing bracket in helloworld example.
18346 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18348 * tools/gst-launch.1.in:
18349 Update gst-launch man page; add a section with useful
18350 environment variables. Fixes #323882.
18352 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18355 * gst/gst_private.h:
18356 change some char* into char[]
18358 2005-12-16 Wim Taymans <wim@fluendo.com>
18360 * gst/gstregistryxml.c: (load_feature):
18362 Don't use g_object_unref on GstObjects so that we avoid
18363 leaks on unsafe glibs.
18365 2005-12-16 Wim Taymans <wim@fluendo.com>
18367 * gst/gstbin.c: (gst_bin_recalc_state):
18370 2005-12-16 Wim Taymans <wim@fluendo.com>
18372 * common/check.mak:
18373 Added make forever target for check.
18375 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18377 * gst/gst.c: (init_post):
18378 make the registry cache file HOST_CPU-dependent
18380 2005-12-16 Andy Wingo <wingo@pobox.com>
18382 * plugins/elements/gstbufferstore.c
18383 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18386 * tests/check/gst/gstobject.c
18387 (test_fake_object_name_threaded_unique): Pay attention to
18388 g_list_sort return value.
18390 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18392 * tools/gst-feedback-m.m:
18393 Update for 0.9/0.10 (fixes #323870).
18395 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18397 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18398 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18400 * tests/check/gst/gstminiobject.c: (my_foo_init),
18401 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18402 (test_value_collection), (gst_mini_object_suite):
18403 Add test to ensure refcounts end up as expected when passing
18404 GstMiniObjects through g_object_get() and g_object_set().
18406 2005-12-14 Julien MOUTTE <julien@moutte.net>
18408 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18409 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18410 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18411 of collectpads. This version removes a lot of races without
18412 touching API/ABI. Yay !
18414 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18416 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18417 Don't allow activation of a srcpad in pull_range if it has no
18419 Change some debug statements to be a little clearer
18421 * plugins/elements/gsttypefindelement.c:
18422 (gst_type_find_handle_src_query):
18423 Check that we have a peer before executing queries thereupon.
18425 * tests/examples/metadata/read-metadata.c: (message_loop):
18426 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18427 immediately return us any available message with 0 timeout.
18429 2005-12-12 Michael Smith <msmith@fluendo.com>
18431 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18432 Don't unref factories after calling them.
18433 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18434 * plugins/elements/gsttypefindelement.c:
18435 (gst_type_find_element_chain):
18436 Free lists of factories after using them. Fixing typefinding memory
18439 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18441 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18442 (gst_plugin_feature_load):
18443 more meaningful debug output
18445 * tests/Makefile.am:
18446 * tests/old/examples/Makefile.am:
18447 make make distcheck happy again
18449 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18451 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18452 Catch the special case where we are operating chain-based,
18453 but the downstream peer pad has no chain function. Emit a
18454 custom error message in this case instead of letting the
18455 core generate one implying that this is some sort of core
18456 bug. It's not, it just means that whatever got plugged
18457 into the pipeline downstream when we announced the type
18458 can only operate pull-based, while our source can only
18459 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18460 Error string has not been marked for translation yet, as
18461 it probably needs some more work first.
18463 (gst_type_find_element_get_best_possibility):
18464 Add helper function to find the best of all available
18465 found possibilities that qualify given the min. threshold.
18467 (gst_type_find_element_handle_event):
18468 Fix the case where we get an EOS while still in TYPEFIND
18469 mode (we want to chose the best of all possible types,
18470 not just the first type that happens to be in our unsorted
18471 list of possible types).
18473 (gst_type_find_element_chain):
18474 Make sure we return GST_FLOW_ERROR when we errored out
18475 in stop_typefinding(); also, don't just find the best of
18476 all found type entries and then use the last examined
18477 type entry, but actually use the best entry.
18479 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18481 * tests/examples/typefind/typefind.c: (type_found):
18482 * tests/examples/xml/runxml.c: (xml_loaded):
18483 More gcc4 fixes and a mem leak fix.
18485 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18487 * tests/examples/xml/createxml.c: (object_saved):
18490 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18492 * tests/Makefile.am:
18493 enable the examples even more
18495 2005-12-12 Andy Wingo <wingo@pobox.com>
18497 * libs/gst/net/gstnettimeprovider.c
18498 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18499 (gst_net_time_provider_set_property)
18500 (gst_net_time_provider_get_property):
18501 API addition: Export "active" as a GObject property.
18502 (gst_net_time_provider_thread): Only respond to time queries if
18503 the time provider is active.
18505 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18506 NetTimeProvider, preserving binary compat.
18508 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18510 * tests/examples/controller/audio-example.c: (main):
18511 * tests/examples/launch/Makefile.am:
18512 convert comments again
18514 2005-12-12 Wim Taymans <wim@fluendo.com>
18516 * libs/gst/base/gstpushsrc.c:
18519 2005-12-12 Wim Taymans <wim@fluendo.com>
18521 * docs/libs/gstreamer-libs-sections.txt:
18522 Added new symbol to docs.
18524 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18525 (gst_base_src_init), (gst_base_src_set_format),
18526 (gst_base_src_default_query), (gst_base_src_query),
18527 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18528 (gst_base_src_perform_seek), (gst_base_src_send_event),
18529 (gst_base_src_default_event), (gst_base_src_event_handler),
18530 (gst_base_src_set_property), (gst_base_src_get_property),
18531 (gst_base_src_wait), (gst_base_src_do_sync),
18532 (gst_base_src_update_length), (gst_base_src_get_range),
18533 (gst_base_src_check_get_range), (gst_base_src_loop),
18534 (gst_base_src_default_negotiate), (gst_base_src_start),
18535 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18536 (gst_base_src_change_state):
18537 * libs/gst/base/gstbasesrc.h:
18538 Implement seeking to other formats than _BYTES.
18539 Implement more seeking methods correctly.
18541 Added query vmethod.
18542 Added do_seek vmethod to make life easier for subclasses
18544 API addition: gst_base_src_set_format()
18546 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18548 * tests/examples/Makefile.am:
18551 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18554 * docs/random/ensonic/media-device-daemon.txt:
18555 * tests/examples/controller/.cvsignore:
18556 * tests/examples/controller/Makefile.am:
18557 * tests/examples/controller/audio-example.c: (main):
18558 * tests/examples/helloworld/.cvsignore:
18559 * tests/examples/helloworld/Makefile.am:
18560 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18561 * tests/examples/launch/.cvsignore:
18562 * tests/examples/launch/Makefile.am:
18563 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18564 * tests/examples/metadata/.cvsignore:
18565 * tests/examples/metadata/Makefile.am:
18566 * tests/examples/metadata/read-metadata.c: (message_loop),
18567 (make_pipeline), (print_tag), (main):
18568 * tests/examples/queue/.cvsignore:
18569 * tests/examples/queue/Makefile.am:
18570 * tests/examples/queue/queue.c: (event_loop), (main):
18571 * tests/examples/typefind/.cvsignore:
18572 * tests/examples/typefind/Makefile.am:
18573 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18575 * tests/examples/xml/.cvsignore:
18576 * tests/examples/xml/Makefile.am:
18577 * tests/examples/xml/createxml.c: (object_saved), (main):
18578 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18579 * tests/old/examples/Makefile.am:
18580 * tests/old/examples/TODO:
18581 * tests/old/examples/controller/.cvsignore:
18582 * tests/old/examples/controller/Makefile.am:
18583 * tests/old/examples/controller/audio-example.c:
18584 * tests/old/examples/helloworld/.cvsignore:
18585 * tests/old/examples/helloworld/Makefile.am:
18586 * tests/old/examples/helloworld/helloworld.c:
18587 * tests/old/examples/launch/.cvsignore:
18588 * tests/old/examples/launch/Makefile.am:
18589 * tests/old/examples/launch/mp3parselaunch.c:
18590 * tests/old/examples/launch/mp3play:
18591 * tests/old/examples/manual/Makefile.am:
18592 * tests/old/examples/metadata/Makefile.am:
18593 * tests/old/examples/metadata/read-metadata.c:
18594 * tests/old/examples/queue/.cvsignore:
18595 * tests/old/examples/queue/Makefile.am:
18596 * tests/old/examples/queue/queue.c:
18597 * tests/old/examples/typefind/.cvsignore:
18598 * tests/old/examples/typefind/Makefile.am:
18599 * tests/old/examples/typefind/typefind.c:
18600 * tests/old/examples/xml/.cvsignore:
18601 * tests/old/examples/xml/Makefile.am:
18602 * tests/old/examples/xml/createxml.c:
18603 * tests/old/examples/xml/runxml.c:
18604 applied some simple fixing to some examples
18605 re-enabled the working examples
18607 2005-12-12 Wim Taymans <wim@fluendo.com>
18609 * gst/gstsegment.c: (gst_segment_init),
18610 (gst_segment_set_last_stop), (gst_segment_set_seek),
18611 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18612 (gst_segment_to_running_time):
18613 Added more documentation.
18614 Make sure the last_pos value is updated properly.
18615 Make sure to_stream_time and to_running_time don't
18616 operate on wrong values.
18618 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18621 2005-12-12 Michael Smith <msmith@fluendo.com>
18623 * plugins/elements/gsttypefindelement.c: (free_entry),
18624 (gst_type_find_element_chain):
18625 Now that we're not leaking factories, make sure we keep references
18626 to them while we need them.
18628 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18630 * tests/check/gst/struct_i386.h:
18631 ifdef out the XML structs
18633 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18635 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18636 floor is not needed, F is always positive; this obviates the
18637 need for adding -lm when building without libxml
18639 2005-12-12 Wim Taymans <wim@fluendo.com>
18641 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18642 Take current playback rate into account when reporting
18645 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18647 * docs/manual/mime-world.fig:
18648 Let's try this again, this time with a file that is
18649 actually in XFig format.
18651 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18653 * docs/manual/mime-world.fig:
18654 Add audioconvert element to diagram so that it
18655 matches the text and the code (fixes #319526).
18657 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18659 * docs/pwg/building-chainfn.xml:
18660 * docs/pwg/building-pads.xml:
18661 * docs/pwg/building-state.xml:
18662 * docs/pwg/other-source.xml:
18663 Update state change stuff for 0.10 (fixes #322969).
18665 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18667 * docs/manual/advanced-dataaccess.xml:
18668 * docs/manual/appendix-checklist.xml:
18669 * docs/manual/appendix-programs.xml:
18670 * docs/manual/basics-pads.xml:
18671 * docs/manual/highlevel-components.xml:
18672 * docs/manual/manual.xml:
18673 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18674 add converters in front of pipelines; remove curly
18675 brackets for threads stuff, they no longer exist; use
18676 GST_TYPE_FRACTION for framerates; update some pieces of
18677 code to 0.10, but there's plenty more to do.
18679 * docs/manual/appendix-porting.xml:
18680 Expand on asynchroneous state changes; s/0.9/0.10/;
18681 mention disappearance of gst_init_get_popt_table()
18684 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18686 * docs/faq/using.xml:
18687 Spider no longer exists, and neither does gst-launch-ext.
18688 Update examples to use decodebin and playbin and put
18689 converters in front of sinks (fixes #323726).
18691 2005-12-09 Michael Smith <msmith@fluendo.com>
18693 * plugins/elements/gsttypefindelement.c: (find_peek),
18694 (gst_type_find_element_chain):
18695 Fix leaking element factories in typefinding.
18696 Fix problem where we forgot about a probable type on non-seekable
18697 files, and thus later mis-typefound it.
18699 2005-12-09 Michael Smith <msmith@fluendo.com>
18701 * common/m4/gst-makecontext.m4:
18702 * common/m4/gst-mcsc.m4:
18704 * win32/common/config.h:
18705 * win32/common/config.h.in:
18706 Remove makecontext stuff; not used in 0.10 and causes problems on
18707 HPUX according to bug #322441
18709 2005-12-07 Wim Taymans <wim@fluendo.com>
18711 * tests/check/Makefile.am:
18712 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18714 * tests/check/libs/struct_i386.h:
18715 Added ABI check for libs
18717 2005-12-07 Wim Taymans <wim@fluendo.com>
18719 * tests/check/Makefile.am:
18720 And add the struct_i386.h to dist.
18722 2005-12-07 Wim Taymans <wim@fluendo.com>
18724 * tests/check/Makefile.am:
18725 * tests/check/gst/.cvsignore:
18726 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18728 * tests/check/gst/struct_i386.h:
18729 Added check for ABI compatibility.
18731 2005-12-07 Wim Taymans <wim@fluendo.com>
18733 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18734 (gst_fake_src_get_times), (gst_fake_src_create):
18735 Fix broken sync option, fixes #323259
18737 2005-12-07 Wim Taymans <wim@fluendo.com>
18742 * gst/gstcaps.c: (gst_caps_is_equal):
18743 Don't assert on NULL <--> X. Fixes #323260
18745 * gst/gstminiobject.c: (gst_mini_object_replace):
18746 If we're doing atomic operations, we might just as well use
18747 the proper way to get an atomic pointer.
18749 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18750 Clean up debugging.
18752 2005-12-07 Michael Smith <msmith@fluendo.com>
18754 * gst/parse/grammar.y:
18755 Remove handling of { } for threads.
18757 2005-12-06 David Schleef <ds@schleef.org>
18759 * libs/gst/base/gstbasetransform.c: speling fix.
18761 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18763 * docs/libs/tmpl/gstdataprotocol.sgml:
18764 * docs/random/omega/testing/gstobject.c:
18767 * gst/gstelement.c:
18768 * gst/gstelementfactory.c:
18771 * gst/gstghostpad.c:
18773 * gst/gstpadtemplate.c:
18774 * gst/gstregistryxml.c:
18775 * gst/gsttaglist.c:
18776 * gst/gsttagsetter.c:
18777 * gst/gsttypefind.c:
18779 * libs/gst/base/gstbasesrc.c:
18780 * libs/gst/net/gstnetclientclock.c:
18781 * libs/gst/net/gstnettimeprovider.c:
18782 * plugins/elements/gstfakesrc.c:
18783 * plugins/elements/gstfdsrc.c:
18784 * plugins/elements/gstfilesrc.c:
18785 * plugins/elements/gstidentity.c:
18786 * plugins/elements/gstqueue.c:
18787 * plugins/elements/gsttypefindelement.c:
18788 * plugins/indexers/gstfileindex.c:
18789 * plugins/indexers/gstmemindex.c:
18790 * tests/check/gst/gsttag.c:
18791 * tests/old/examples/cutter/cutter.c:
18792 * tests/old/examples/mixer/mixer.c:
18793 * tests/old/examples/xml/runxml.c: (main):
18794 * tests/old/testsuite/caps/normalisation.c:
18795 * tests/old/testsuite/debug/global.c:
18796 * tests/old/testsuite/parse/parse1.c:
18797 * tools/gst-xmlinspect.c:
18798 * win32/common/dirent.c:
18801 === release 0.10.0 ===
18803 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18806 releasing 0.10.0, "Maroilles"
18808 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18810 submitted by: Funda Wang <fundawang@linux.net.cn>
18814 added Chinese (Traditional) translation
18816 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18818 * docs/gst/gstreamer-sections.txt:
18819 * docs/libs/tmpl/gstdataprotocol.sgml:
18820 * docs/random/thomasvs/TODO:
18825 2005-12-05 Andy Wingo <wingo@pobox.com>
18827 patch by: Wim Taymans <wim@fluendo.com>
18829 * libs/gst/base/gstbasetransform.c
18830 (gst_base_transform_prepare_output_buf)
18831 (gst_base_transform_buffer_alloc):
18832 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18833 alloc_buffer_and_set_caps.
18835 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18836 set_caps on the source pad.
18837 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18838 alloc_buffer used to do. Fixes #322874.
18840 * docs/gst/gstreamer-sections.txt:
18841 * docs/design/part-negotiation.txt:
18842 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18845 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18847 patch by: Sebastien Moutte
18850 * win32/common/config.h.in:
18851 * win32/vs6/libgstcontroller.dsp:
18854 2005-12-05 Wim Taymans <wim@fluendo.com>
18856 * gst/gstcaps.c: (gst_caps_is_equal):
18857 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18858 (gst_fake_src_create):
18859 Back out previous code changes, leave doc updates, file bugs
18862 2005-12-05 Wim Taymans <wim@fluendo.com>
18864 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18865 (gst_fake_src_get_times), (gst_fake_src_create):
18866 * plugins/elements/gstfakesrc.h:
18867 Fix broken sync code.
18869 2005-12-05 Wim Taymans <wim@fluendo.com>
18871 * gst/gstcaps.c: (gst_caps_is_equal):
18872 Comparing NULL against !NULL yields different caps, not a
18875 2005-12-05 Wim Taymans <wim@fluendo.com>
18877 * gst/gstpipeline.c:
18878 Fix small typo in docs.
18880 2005-12-05 Andy Wingo <wingo@pobox.com>
18882 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18884 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18885 registries/plugins with a MAJORMINOR one.
18886 (plugin_desc): Rename library from gstcoreleements to
18887 staticelements. Fixes #323222.
18889 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18891 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18892 Change debug category to 'collectpads' from 'collect_pads'
18895 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18897 patch by: Sebastien Moutte
18899 * libs/gst/controller/gstinterpolation.c:
18900 use convert function for uint64/double
18901 * win32/vs6/libgstcontroller.dsp:
18904 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18906 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18907 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18909 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18910 add tests that seem to show that the guint64/gdouble conversions
18913 2005-12-02 Wim Taymans <wim@fluendo.com>
18915 * gst/gstregistry.c: (gst_registry_add_path):
18916 * gst/gstregistry.h:
18917 * gst/gstregistryxml.c:
18920 2005-12-02 Wim Taymans <wim@fluendo.com>
18922 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18923 (gst_util_uint64_scale_int):
18926 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18927 Add debug log line.
18929 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18932 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18935 * win32/common/config.h:
18936 * win32/vs6/gstreamer.dsw:
18937 * win32/vs6/libgstcoreelements.dsp:
18938 * win32/vs6/libgstelements.dsp:
18939 renamed core elements plugin
18941 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18943 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18945 do piece-wise major/minor comparison so 0.9 < 0.10
18946 also allow .exe extensions for tools
18948 2005-12-02 Michael Smith <msmith@fluendo.com>
18951 Escape a % to make gtkdoc happier; bug 322958.
18953 === release 0.9.7 ===
18955 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18958 releasing 0.9.7, "My Dog Has No Nose"
18960 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18962 * common/gst-xmlinspect.py:
18964 * docs/libs/tmpl/gstdataprotocol.sgml:
18965 * docs/random/release:
18984 * win32/common/config.h:
18985 * win32/common/config.h.in:
18986 * win32/vs6/gst_inspect.dsp:
18987 * win32/vs6/gst_launch.dsp:
18988 * win32/vs6/libgstbase.dsp:
18989 * win32/vs6/libgstelements.dsp:
18990 * win32/vs6/libgstreamer.dsp:
18991 * win32/vs7/GStreamer.vcproj:
18992 * win32/vs7/gst-inspect.vcproj:
18993 * win32/vs7/gst-launch.vcproj:
18994 * win32/vs7/libgstbase.vcproj:
18995 bump GST_MAJORMINOR to 0.10
18996 reset libtool version
18998 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19002 Added Bulgarian translation by (Alexander Shopov)
19004 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19006 * tests/check/gst/gstplugin.c:
19009 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19011 * common/gst-xmlinspect.py:
19012 * common/gtk-doc-plugins.mak:
19014 * docs/Makefile.am:
19015 * docs/gst/Makefile.am:
19016 * docs/gst/gstreamer-docs.sgml:
19017 * docs/gst/gstreamer-sections.txt:
19018 * docs/gst/gstreamer.types:
19019 * docs/gst/gstreamer.types.in:
19020 * docs/plugins/Makefile.am:
19021 * docs/plugins/gstreamer-plugins-docs.sgml:
19022 * docs/plugins/gstreamer-plugins-sections.txt:
19023 * docs/plugins/gstreamer-plugins.types:
19024 * docs/plugins/inspect.stamp:
19025 * docs/plugins/inspect/plugin-coreelements.xml:
19026 * docs/plugins/inspect/plugin-coreindexers.xml:
19027 * docs/plugins/scanobj-build.stamp:
19028 * gstreamer.spec.in:
19029 * plugins/elements/Makefile.am:
19030 * plugins/elements/gstelements.c:
19031 * plugins/elements/gstfakesink.c:
19032 * plugins/elements/gstfakesrc.c:
19033 * plugins/elements/gstfilesink.c:
19034 * plugins/elements/gstfilesrc.c:
19035 * plugins/elements/gstqueue.c:
19036 * plugins/indexers/Makefile.am:
19037 * plugins/indexers/gstindexers.c:
19038 document core plugins in a separate document just like all the
19040 rename these plugins to something starting with core
19042 2005-12-01 Andy Wingo <wingo@pobox.com>
19044 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19045 padding here before, but it missed the commit.
19047 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19049 * libs/gst/controller/gstinterpolation.c:
19050 whitespace prices have crashed, we should feel free to use some now
19051 use gst_guint64_to_gdouble
19053 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19055 * libs/gst/controller/gstcontroller.c:
19056 * libs/gst/controller/gsthelper.c:
19057 * libs/gst/controller/gstinterpolation.c:
19058 * libs/gst/controller/lib.c:
19059 wrap config.h include
19061 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19063 * docs/gst/gstreamer-sections.txt:
19066 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19068 * plugins/elements/gstelements.c:
19069 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19070 (gst_fd_sink__class_init), (gst_fd_sink__init),
19071 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19072 (gst_fd_sink__get_property):
19073 * plugins/elements/gstfdsink.h:
19074 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19075 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19076 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19077 (gst_fd_src_unlock), (gst_fd_src_set_property),
19078 (gst_fd_src_get_property), (gst_fd_src_create),
19079 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19080 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19081 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19082 (gst_fd_src_uri_handler_init):
19083 * plugins/elements/gstfdsrc.h:
19084 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19087 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19089 * docs/gst/Makefile.am:
19090 * docs/gst/gstreamer.types.in:
19094 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19100 * gst/gstregistry.h:
19101 * tests/benchmarks/complexity.c:
19102 * tests/benchmarks/mass-elements.c:
19103 * tests/check/Makefile.am:
19104 * tools/Makefile.am:
19105 * tools/gst-inspect.c:
19106 * tools/gst-xmlinspect.c:
19107 various fixes to make
19108 --disable-nls --disable-registry --disable-loadsave
19109 --disable-parse --disable-gst-debug
19110 work and get the core .so down to 360444 bytes after stripping
19112 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19117 * docs/random/thomasvs/TODO:
19118 * tests/Makefile.am:
19122 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19124 * win32/GStreamer.vcproj:
19127 * win32/Makefile.inspect:
19128 * win32/Makefile.launch:
19129 * win32/Makefile.register:
19130 * win32/README.txt:
19131 * win32/gst-inspect.vcproj:
19132 * win32/gst-launch.vcproj:
19133 * win32/gst-register.vcproj:
19134 * win32/gstelements.vcproj:
19135 * win32/gstgetbits.def:
19136 * win32/gstgetbits.vcproj:
19137 * win32/gstreamer-dbg.def:
19138 * win32/gstreamer.def:
19139 * win32/libgstbase.def:
19140 * win32/libgstbase.vcproj:
19141 * win32/link_oldruntime.c:
19145 * win32/msvc71.sln:
19146 move even more stuff, win32/ is nice and clean now
19148 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19150 * libs/gst/control/.cvsignore:
19155 * win32/gstbytestream.def:
19156 * win32/gstbytestream.vcproj:
19157 * win32/gstconfig.h:
19158 * win32/gstenumtypes.c:
19159 * win32/gstenumtypes.h:
19160 * win32/gstoptimalscheduler.vcproj:
19161 * win32/gstversion.h:
19163 * win32/testsuite/bins.vcproj:
19164 * win32/testsuite/bytestream.vcproj:
19165 * win32/testsuite/caps.vcproj:
19166 * win32/testsuite/cleanup.vcproj:
19167 * win32/testsuite/clock.vcproj:
19168 * win32/testsuite/debug.vcproj:
19169 * win32/testsuite/dlopen.vcproj:
19170 * win32/testsuite/dynparams.vcproj:
19171 * win32/testsuite/elements.vcproj:
19172 * win32/testsuite/ghostpads.vcproj:
19173 * win32/testsuite/indexers.vcproj:
19174 * win32/testsuite/negotiation.vcproj:
19175 * win32/testsuite/parse.vcproj:
19176 * win32/testsuite/plugin.vcproj:
19177 * win32/testsuite/refcounting.vcproj:
19178 * win32/testsuite/schedulers.vcproj:
19179 * win32/testsuite/states.vcproj:
19180 * win32/testsuite/tags.vcproj:
19181 * win32/testsuite/threads.vcproj:
19182 remove old win32 stuff that isn't maintained and should be
19185 2005-11-30 Andy Wingo <wingo@pobox.com>
19187 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19188 loading the gst.interfaces python module bork.
19190 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19191 available since GLib 2.2. Fixes #318031.
19193 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * check/.cvsignore:
19197 * check/Makefile.am:
19198 * check/elements/.cvsignore:
19199 * check/elements/fakesrc.c:
19200 * check/elements/fdsrc.c:
19201 * check/elements/identity.c:
19202 * check/generic/.cvsignore:
19203 * check/generic/states.c:
19204 * check/gst-libs/.cvsignore:
19205 * check/gst-libs/controller.c:
19206 * check/gst-libs/gdp.c:
19207 * check/gst/.cvsignore:
19208 * check/gst/capslist.h:
19210 * check/gst/gstbin.c:
19211 * check/gst/gstbuffer.c:
19212 * check/gst/gstbus.c:
19213 * check/gst/gstcaps.c:
19214 * check/gst/gstelement.c:
19215 * check/gst/gstevent.c:
19216 * check/gst/gstghostpad.c:
19217 * check/gst/gstiterator.c:
19218 * check/gst/gstmessage.c:
19219 * check/gst/gstminiobject.c:
19220 * check/gst/gstobject.c:
19221 * check/gst/gstpad.c:
19222 * check/gst/gstpipeline.c:
19223 * check/gst/gstplugin.c:
19224 * check/gst/gstsegment.c:
19225 * check/gst/gststructure.c:
19226 * check/gst/gstsystemclock.c:
19227 * check/gst/gsttag.c:
19228 * check/gst/gstutils.c:
19229 * check/gst/gstvalue.c:
19230 * check/net/.cvsignore:
19231 * check/net/gstnetclientclock.c:
19232 * check/net/gstnettimeprovider.c:
19233 * check/pipelines/.cvsignore:
19234 * check/pipelines/cleanup.c:
19235 * check/pipelines/simple_launch_lines.c:
19236 * check/pipelines/stress.c:
19237 * check/states/.cvsignore:
19238 * check/states/sinks.c:
19240 * examples/Makefile.am:
19241 * examples/appreader/.cvsignore:
19242 * examples/appreader/Makefile.am:
19243 * examples/appreader/appreader.c:
19244 * examples/controller/.cvsignore:
19245 * examples/controller/Makefile.am:
19246 * examples/controller/audio-example.c:
19247 * examples/cutter/.cvsignore:
19248 * examples/cutter/Makefile.am:
19249 * examples/cutter/cutter.c:
19250 * examples/cutter/cutter.h:
19251 * examples/events/Makefile.am:
19252 * examples/events/seek.c:
19253 * examples/helloworld/.cvsignore:
19254 * examples/helloworld/Makefile.am:
19255 * examples/helloworld/helloworld.c:
19256 * examples/helloworld2/.cvsignore:
19257 * examples/helloworld2/Makefile.am:
19258 * examples/helloworld2/helloworld2.c:
19259 * examples/launch/.cvsignore:
19260 * examples/launch/Makefile.am:
19261 * examples/launch/mp3parselaunch.c:
19262 * examples/launch/mp3play:
19263 * examples/manual/.cvsignore:
19264 * examples/manual/Makefile.am:
19265 * examples/manual/extract.pl:
19266 * examples/metadata/Makefile.am:
19267 * examples/metadata/read-metadata.c:
19268 * examples/mixer/.cvsignore:
19269 * examples/mixer/Makefile.am:
19270 * examples/mixer/mixer.c:
19271 * examples/mixer/mixer.h:
19272 * examples/pingpong/.cvsignore:
19273 * examples/pingpong/Makefile.am:
19274 * examples/pingpong/pingpong.c:
19275 * examples/plugins/.cvsignore:
19276 * examples/plugins/Makefile.am:
19277 * examples/plugins/example.c:
19278 * examples/plugins/example.h:
19279 * examples/pwg/.cvsignore:
19280 * examples/pwg/Makefile.am:
19281 * examples/pwg/extract.pl:
19282 * examples/queue/.cvsignore:
19283 * examples/queue/Makefile.am:
19284 * examples/queue/queue.c:
19285 * examples/queue2/.cvsignore:
19286 * examples/queue2/Makefile.am:
19287 * examples/queue2/queue2.c:
19288 * examples/queue3/.cvsignore:
19289 * examples/queue3/Makefile.am:
19290 * examples/queue3/queue3.c:
19291 * examples/queue4/.cvsignore:
19292 * examples/queue4/Makefile.am:
19293 * examples/queue4/queue4.c:
19294 * examples/retag/.cvsignore:
19295 * examples/retag/Makefile.am:
19296 * examples/retag/retag.c:
19297 * examples/retag/transcode.c:
19298 * examples/thread/.cvsignore:
19299 * examples/thread/Makefile.am:
19300 * examples/thread/thread.c:
19301 * examples/typefind/.cvsignore:
19302 * examples/typefind/Makefile.am:
19303 * examples/typefind/typefind.c:
19304 * examples/xml/.cvsignore:
19305 * examples/xml/Makefile.am:
19306 * examples/xml/createxml.c:
19307 * examples/xml/runxml.c:
19308 * tests/Makefile.am:
19309 * tests/check/Makefile.am:
19310 * testsuite/.cvsignore:
19311 * testsuite/Makefile.am:
19313 * testsuite/caps/.cvsignore:
19314 * testsuite/caps/Makefile.am:
19315 * testsuite/caps/app_fixate.c:
19316 * testsuite/caps/audioscale.c:
19317 * testsuite/caps/caps.c:
19318 * testsuite/caps/caps.h:
19319 * testsuite/caps/caps_strings:
19320 * testsuite/caps/compatibility.c:
19321 * testsuite/caps/deserialize.c:
19322 * testsuite/caps/enumcaps.c:
19323 * testsuite/caps/eratosthenes.c:
19324 * testsuite/caps/filtercaps.c:
19325 * testsuite/caps/fixed.c:
19326 * testsuite/caps/fraction-convert.c:
19327 * testsuite/caps/fraction-multiply-and-zero.c:
19328 * testsuite/caps/intersect2.c:
19329 * testsuite/caps/intersection.c:
19330 * testsuite/caps/normalisation.c:
19331 * testsuite/caps/random.c:
19332 * testsuite/caps/renegotiate.c:
19333 * testsuite/caps/sets.c:
19334 * testsuite/caps/simplify.c:
19335 * testsuite/caps/string-conversions.c:
19336 * testsuite/caps/structure.c:
19337 * testsuite/caps/subtract.c:
19338 * testsuite/caps/union.c:
19339 * testsuite/debug/.cvsignore:
19340 * testsuite/debug/Makefile.am:
19341 * testsuite/debug/category.c:
19342 * testsuite/debug/commandline.c:
19343 * testsuite/debug/global.c:
19344 * testsuite/debug/output.c:
19345 * testsuite/debug/printf_extension.c:
19346 * testsuite/dlopen/.cvsignore:
19347 * testsuite/dlopen/Makefile.am:
19348 * testsuite/dlopen/dlopen_gst.c:
19349 * testsuite/dlopen/loadgst.c:
19350 * testsuite/elements/.cvsignore:
19351 * testsuite/elements/Makefile.am:
19352 * testsuite/elements/gst-inspect-check.in:
19353 * testsuite/elements/struct_i386.h:
19354 * testsuite/elements/struct_size.c:
19355 * testsuite/indexers/.cvsignore:
19356 * testsuite/indexers/Makefile.am:
19357 * testsuite/indexers/cache1.c:
19358 * testsuite/indexers/indexdump.c:
19359 * testsuite/parse/.cvsignore:
19360 * testsuite/parse/Makefile.am:
19361 * testsuite/parse/parse1.c:
19362 * testsuite/parse/parse2.c:
19363 * testsuite/plugin/.cvsignore:
19364 * testsuite/plugin/Makefile.am:
19365 * testsuite/plugin/README:
19366 * testsuite/plugin/dynamic.c:
19367 * testsuite/plugin/linked.c:
19368 * testsuite/plugin/loading.c:
19369 * testsuite/plugin/registry.c:
19370 * testsuite/plugin/static.c:
19371 * testsuite/plugin/static2.c:
19372 * testsuite/plugin/testplugin.c:
19373 * testsuite/plugin/testplugin2.c:
19374 * testsuite/plugin/testplugin2_s.c:
19375 * testsuite/plugin/testplugin_s.c:
19376 * testsuite/refcounting/.cvsignore:
19377 * testsuite/refcounting/Makefile.am:
19378 * testsuite/refcounting/bin.c:
19379 * testsuite/refcounting/element.c:
19380 * testsuite/refcounting/element_pad.c:
19381 * testsuite/refcounting/mainloop.c:
19382 * testsuite/refcounting/mem.c:
19383 * testsuite/refcounting/mem.h:
19384 * testsuite/refcounting/object.c:
19385 * testsuite/refcounting/pad.c:
19386 * testsuite/refcounting/sched.c:
19387 * testsuite/refcounting/thread.c:
19388 * testsuite/states/.cvsignore:
19389 * testsuite/states/Makefile.am:
19390 * testsuite/states/bin.c:
19391 * testsuite/states/locked.c:
19392 * testsuite/states/parent.c:
19393 * testsuite/threads/.cvsignore:
19394 * testsuite/threads/159566.c:
19395 * testsuite/threads/159852.c:
19396 * testsuite/threads/Makefile.am:
19397 * testsuite/threads/queue.c:
19398 * testsuite/threads/signals.c:
19399 * testsuite/threads/staticrec.c:
19400 * testsuite/threads/thread.c:
19401 * testsuite/threads/threadb.c:
19402 * testsuite/threads/threadc.c:
19403 * testsuite/threads/threadd.c:
19404 * testsuite/threads/threade.c:
19405 * testsuite/threads/threadf.c:
19406 * testsuite/threads/threadg.c:
19407 * testsuite/threads/threadh.c:
19408 * testsuite/threads/threadi.c:
19409 move all of these under tests
19411 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19414 * tests/Makefile.am:
19417 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19419 * docs/gst/gstreamer-sections.txt:
19420 * tests/sched/.cvsignore:
19421 * tests/sched/Makefile.am:
19422 * tests/sched/cases/(fs-fs).xml:
19423 * tests/sched/cases/(fs-i-fs).xml:
19424 * tests/sched/cases/(fs-i-i-fs).xml:
19425 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19426 * tests/sched/dynamic-pipeline.c:
19427 * tests/sched/interrupt1.c:
19428 * tests/sched/interrupt2.c:
19429 * tests/sched/interrupt3.c:
19430 * tests/sched/runtestcases:
19431 * tests/sched/runxml.c:
19432 * tests/sched/sched-stress.c:
19433 * tests/sched/sort.c:
19434 * tests/sched/testcases:
19435 * tests/sched/testcases1.tc:
19436 * tests/seeking/.cvsignore:
19437 * tests/seeking/Makefile.am:
19438 * tests/seeking/seeking1.c:
19439 * tests/threadstate/.cvsignore:
19440 * tests/threadstate/Makefile.am:
19441 * tests/threadstate/test1.c:
19442 * tests/threadstate/test2.c:
19443 * tests/threadstate/threadstate1.c:
19444 * tests/threadstate/threadstate2.c:
19445 * tests/threadstate/threadstate3.c:
19446 * tests/threadstate/threadstate4.c:
19447 * tests/threadstate/threadstate5.c:
19448 remove obsolete tests
19450 * tests/bench-complexity.scm:
19451 * tests/bench-mass_elements.scm:
19452 * tests/complexity.c:
19453 * tests/complexity.gnuplot:
19454 * tests/instantiate/.cvsignore:
19455 * tests/instantiate/Makefile.am:
19456 * tests/instantiate/caps.c:
19457 * tests/mass_elements.c:
19458 * tests/network-clock-utils.scm:
19459 * tests/network-clock.scm:
19461 First pass at cleaning up tests/ dir before moving the rest
19462 Combined with CVS surgery
19464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19467 queue has moved, update
19469 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19471 * docs/gst/gstreamer-sections.txt:
19472 remove double entries from the docs
19473 * gst/gst_private.h:
19474 * gst/gstinfo.c: (_gst_debug_init):
19475 remove the THREAD debug category
19479 * docs/gst/gstreamer.types:
19480 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19481 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19482 completely move queue and fix up debugging categories
19484 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19486 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19487 make initialization portable, using LL is not
19489 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19491 * win32/common/gstconfig.h:
19494 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19496 * win32/common/libgstreamer.def:
19497 rename symbols; sort base section
19499 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19501 * gst/gstclock.c: (do_linear_regression):
19502 remove crack non-portable handrolled DEBUG macro
19504 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19506 * docs/random/release:
19508 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19509 (gst_object_flags_get_type), (register_gst_bin_flags),
19510 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19511 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19512 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19513 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19514 (gst_caps_flags_get_type), (register_gst_clock_return),
19515 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19516 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19517 (gst_clock_flags_get_type), (register_gst_state),
19518 (gst_state_get_type), (register_gst_state_change_return),
19519 (gst_state_change_return_get_type), (register_gst_state_change),
19520 (gst_state_change_get_type), (register_gst_element_flags),
19521 (gst_element_flags_get_type), (register_gst_core_error),
19522 (gst_core_error_get_type), (register_gst_library_error),
19523 (gst_library_error_get_type), (register_gst_resource_error),
19524 (gst_resource_error_get_type), (register_gst_stream_error),
19525 (gst_stream_error_get_type), (register_gst_event_type_flags),
19526 (gst_event_type_flags_get_type), (register_gst_event_type),
19527 (gst_event_type_get_type), (register_gst_seek_type),
19528 (gst_seek_type_get_type), (register_gst_seek_flags),
19529 (gst_seek_flags_get_type), (register_gst_format),
19530 (gst_format_get_type), (register_gst_index_certainty),
19531 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19532 (gst_index_entry_type_get_type),
19533 (register_gst_index_lookup_method),
19534 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19535 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19536 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19537 (gst_index_flags_get_type), (register_gst_debug_level),
19538 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19539 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19540 (gst_iterator_result_get_type), (register_gst_iterator_item),
19541 (gst_iterator_item_get_type), (register_gst_message_type),
19542 (gst_message_type_get_type), (register_gst_mini_object_flags),
19543 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19544 (gst_pad_link_return_get_type), (register_gst_flow_return),
19545 (gst_flow_return_get_type), (register_gst_activate_mode),
19546 (gst_activate_mode_get_type), (register_gst_pad_direction),
19547 (gst_pad_direction_get_type), (register_gst_pad_flags),
19548 (gst_pad_flags_get_type), (register_gst_pad_presence),
19549 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19550 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19551 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19552 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19553 (gst_plugin_flags_get_type), (register_gst_rank),
19554 (gst_rank_get_type), (register_gst_query_type),
19555 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19556 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19557 (gst_tag_flag_get_type), (register_gst_task_state),
19558 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19559 (gst_alloc_trace_flags_get_type),
19560 (register_gst_type_find_probability),
19561 (gst_type_find_probability_get_type), (register_gst_uri_type),
19562 (gst_uri_type_get_type), (register_gst_parse_error),
19563 (gst_parse_error_get_type):
19564 * win32/common/gstenumtypes.h:
19565 * win32/common/gstversion.h:
19566 update visual studio generated files
19568 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19570 * win32/vs6/libgstbase.dsp:
19571 * win32/vs6/libgstelements.dsp:
19572 update project files for new locations
19574 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19579 reinstate and update
19584 * docs/random/LICENSE:
19587 2005-11-30 Edward Hervey <edward@fluendo.com>
19589 * gst/gsttypefind.c: (gst_type_find_register):
19590 * gst/gsttypefind.h:
19591 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19592 (gst_type_find_factory_dispose):
19593 * gst/gsttypefindfactory.h:
19594 Fix memory leak in GstTypeFindFactory.
19596 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19599 * plugins/elements/Makefile.am:
19600 * plugins/elements/gstelements.c:
19601 * plugins/elements/gstqueue.c:
19602 move queue from core to the elements plugin
19604 2005-11-29 Andy Wingo <wingo@pobox.com>
19606 * libs/gst/base/gstbasetransform.h:
19607 * libs/gst/base/gstbasesrc.h:
19608 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19610 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19611 of pointers by which to pad very extensible base classes (like the
19612 ones in libs/gst/base).
19614 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19616 * docs/gst/gstreamer-docs.sgml:
19617 * docs/gst/gstreamer-sections.txt:
19618 * docs/libs/gstreamer-libs-docs.sgml:
19619 * docs/libs/gstreamer-libs-sections.txt:
19620 moving documentation from core to lib
19622 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19624 * check/Makefile.am:
19626 * docs/gst/Makefile.am:
19628 * gst/base/.cvsignore:
19629 * gst/base/Makefile.am:
19631 * gst/base/gstadapter.c:
19632 * gst/base/gstadapter.h:
19633 * gst/base/gstbasesink.c:
19634 * gst/base/gstbasesink.h:
19635 * gst/base/gstbasesrc.c:
19636 * gst/base/gstbasesrc.h:
19637 * gst/base/gstbasetransform.c:
19638 * gst/base/gstbasetransform.h:
19639 * gst/base/gstcollectpads.c:
19640 * gst/base/gstcollectpads.h:
19641 * gst/base/gstpushsrc.c:
19642 * gst/base/gstpushsrc.h:
19643 * gst/base/gsttypefindhelper.c:
19644 * gst/base/gsttypefindhelper.h:
19645 * gst/check/Makefile.am:
19646 * gst/check/gstcheck.c:
19647 * gst/check/gstcheck.h:
19648 * gst/net/Makefile.am:
19649 * gst/net/gstnet.h:
19650 * gst/net/gstnetclientclock.c:
19651 * gst/net/gstnetclientclock.h:
19652 * gst/net/gstnettimepacket.c:
19653 * gst/net/gstnettimepacket.h:
19654 * gst/net/gstnettimeprovider.c:
19655 * gst/net/gstnettimeprovider.h:
19656 * libs/gst/Makefile.am:
19657 * libs/gst/base/Makefile.am:
19658 * libs/gst/base/gstbasetransform.c:
19659 * libs/gst/check/Makefile.am:
19660 * plugins/elements/Makefile.am:
19662 CVS surgery + support to move base, check, and net out of gst
19665 2005-11-29 Andy Wingo <wingo@pobox.com>
19667 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19669 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19672 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19674 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19676 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19678 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19679 padding; reduces object size by about 30%. We don't expect
19680 anything else to go into gstobject.
19682 * gst/gstminiobject.h (struct _GstMiniObject)
19683 (struct _GstMiniObjectClass): Only one pointer of padding; the
19684 payload is only a pointer and two ints anyway. For the class there
19685 are only two methods as well.
19687 * gst/gstelement.h (struct _GstElementClass): Removed
19688 the state_changed signal callback, it is not used.
19690 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19692 * docs/gst/gstreamer.types:
19693 fix includes, though they are a little dinky
19695 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19697 * check/Makefile.am:
19698 look in the right place for elements, a lot more chance of
19701 remove indexers and elements subdirs
19702 * plugins/Makefile.am:
19703 make indexers conditional
19705 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19709 * plugins/elements/Makefile.am:
19710 * plugins/elements/gstcapsfilter.c:
19711 * plugins/elements/gstfilesink.c:
19712 * plugins/elements/gstfilesrc.c:
19713 * plugins/elements/gstidentity.c:
19714 * plugins/indexers/Makefile.am:
19715 do CVS surgery and related build fixery to move elements
19716 and indexers in a new gstreamer/plugins directory, out of the
19719 2005-11-29 Andy Wingo <wingo@pobox.com>
19721 * check/Makefile.am:
19722 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19723 * pkgconfig/gstreamer-net.pc.in:
19724 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19727 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19729 * tools/Makefile.am:
19730 * tools/gst-complete.1.in:
19731 * tools/gst-complete.c:
19732 * tools/gst-compprep.1.in:
19733 * tools/gst-compprep.c:
19734 removing -compprep and -complete
19736 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19738 * gst/gstevent.c: (gst_event_new_new_segment),
19739 (gst_event_parse_new_segment):
19741 fix #320529 - clean up new_segment API and structure.
19742 Let's hope everyone was using the methods, and not the structure.
19744 2005-11-29 Edward Hervey <edward@fluendo.com>
19746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19747 (gst_base_sink_event), (gst_base_sink_do_sync),
19748 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19749 Properly handle non GST_FORMAT_TIME segment
19750 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19751 Properly handle non GST_FORMAT_TIME segment
19752 * gst/gstsegment.c:
19753 This function is valid if the accumulator is 0 and the format
19754 is different from the requested format.
19756 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19758 * docs/gst/gstreamer-sections.txt:
19759 Add gst_query_new_seeking and gst_query_parse_seeking to the
19762 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19764 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19765 Treat a pad alloc with new caps the same as if we were not
19766 negotiated, in order to allow a changing upstream output
19767 to produce a new format of data.
19769 2005-11-29 Edward Hervey <edward@fluendo.com>
19771 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19772 (gst_base_transform_event), (gst_base_transform_eventfunc):
19773 The event virtual method is now properly implemented, with a default
19775 Sub classes should call the parent_class event method. They should
19776 return FALSE if they had a problem handling the given event, or don't
19777 want GstBaseTransform to send that even downstream
19778 * gst/elements/gstidentity.c: (gst_identity_class_init),
19779 (gst_identity_init), (gst_identity_event),
19780 (gst_identity_transform_ip), (gst_identity_set_property),
19781 (gst_identity_get_property):
19782 * gst/elements/gstidentity.h:
19783 Added the single-segment boolean property.
19784 If set to TRUE, it will output a single segment of data, starting from
19785 0, will eat up all incoming newsegment, and modify the timestamp of the
19786 buffers accordingly
19788 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19790 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19791 Don't ref NULL target pad (#322751). Improve docs.
19793 2005-11-29 Michael Smith <msmith@fluendo.com>
19795 * gst/gstregistryxml.c: (load_plugin):
19796 Don't crash if we failed to load a feature from a plugin.
19798 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19800 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19802 use more check API and less GLib API
19804 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19807 don't run checks if we don't have check
19808 * common/check.mak:
19809 remove the registry when running make torture
19810 * docs/gst/gstreamer-sections.txt:
19811 remove second multiply
19812 * gst/gstqueue.c: (gst_queue_loop):
19813 fix a compile warning when disabling debug
19815 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19818 Hey! Let's print the pad name if the pointer != NULL instead
19819 of when it == NULL :-)
19821 2005-11-28 Wim Taymans <wim@fluendo.com>
19823 * check/gst/gstutils.c: (GST_START_TEST):
19824 Updated check, add some scaling accuracy checking code.
19826 * gst/gstutils.c: (gst_util_div128_64),
19827 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19828 (gst_util_uint64_scale_int):
19829 Fix 6 times faster division code. Optimize for common
19830 1/1 and less common X/1 cases.
19832 2005-11-28 Wim Taymans <wim@fluendo.com>
19834 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19837 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19838 (do_linear_regression), (gst_clock_add_observation):
19840 Release lock when the clock cannot be slaved.
19841 Catch the case where the regression returned an invalid denominator.
19843 * gst/gstutils.c: (gst_util_div128_64_iterate),
19844 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19845 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19846 Add protentially more performant non-iterative 128/64 divide function
19847 that unfortunatly does not work yet.
19848 Shortcut the trivial 0/X = 0 case.
19849 Remove the warnings on overflow.
19851 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19853 * gst/gstplugin.c: (gst_plugin_register_func):
19854 everything causing a plugin not to load should be at least a WARNING
19856 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19858 * docs/random/ensonic/dparams.txt:
19859 some TODOs for the next dev cycle
19860 * libs/gst/controller/gstcontroller.c:
19861 (gst_controlled_property_set_interpolation_mode),
19862 (gst_controlled_property_new):
19863 * libs/gst/controller/gstcontroller.h:
19864 use base type to assign acccessor functions
19866 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19868 * check/Makefile.am:
19869 Oops, that should have been top_srcdir
19871 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19873 * check/Makefile.am:
19874 * check/elements/fdsrc.c: (GST_START_TEST):
19875 Use a cmdline define to specify the location of a file to use for
19876 testing, to avoid breaking distcheck.
19878 2005-11-28 Andy Wingo <wingo@pobox.com>
19880 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19882 2005-11-28 Edward Hervey <edward@fluendo.com>
19884 * tools/gst-launch.c: (main):
19885 Clarify the output strings, makes it easier to translate.
19888 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19891 don't try and build net if we don't even have <sys/socket.h>
19893 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19895 * check/Makefile.am:
19896 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19897 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19898 Add tests for fdsrc seekability
19900 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19901 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19902 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19903 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19904 * gst/elements/gstfdsrc.h:
19905 fdsrc should not be a 'live' source.
19906 Implement seeking on seekable fd's.
19908 * gst/gstquery.c: (gst_query_new_seeking),
19909 (gst_query_parse_seeking):
19911 Implement SEEKING query functions:
19912 *_new_seeking and *_parse_seeking
19914 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19916 * gst/gstelement.c: (gst_element_dispose):
19919 * gst/gstiterator.c:
19920 * gst/gststructure.c:
19923 * libs/gst/controller/gstcontroller.c:
19924 (gst_controlled_property_set_interpolation_mode):
19925 * libs/gst/controller/gstcontroller.h:
19926 * libs/gst/controller/gstinterpolation.c:
19927 (interpolate_none_get_enum_value_array):
19928 support controlling enums
19930 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19933 Improve documentation for gst_value_union().
19936 Change return value for union, intersect and subtract functions
19937 from gint to gboolean.
19939 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19941 * gst/gstvalue.c: (gst_value_serialize_any_list),
19942 (gst_value_transform_any_list_string),
19943 (gst_value_deserialize_list), (gst_value_deserialize_array),
19944 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19945 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19946 (gst_value_set_fraction_range_full),
19947 (gst_value_deserialize_fraction_range),
19948 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19949 (gst_value_deserialize_boolean),
19950 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19951 (gst_value_serialize_float), (gst_value_deserialize_float),
19952 (gst_string_wrap), (gst_value_deserialize_string),
19953 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19954 (gst_value_union_int_range_int_range),
19955 (gst_value_intersect_int_range_int_range),
19956 (gst_value_intersect_double_range_double_range),
19957 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19958 (gst_value_subtract_int_range_int_range),
19959 (gst_value_subtract_double_double_range),
19960 (gst_value_subtract_double_range_double_range),
19961 (gst_value_deserialize_fraction):
19963 Use gint, gdouble and gchar in our API instead of int, double and
19964 char (and make usage in gstvalue.c more consistent).
19966 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19968 * check/Makefile.am:
19969 * libs/gst/controller/Makefile.am:
19970 * libs/gst/dataprotocol/Makefile.am:
19971 fix up Makefile.am and remove GST_ENABLE_NEW
19973 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19977 * gst/base/Makefile.am:
19978 * gst/check/Makefile.am:
19979 * gst/elements/Makefile.am:
19980 * gst/net/Makefile.am:
19981 update LDFLAGS use some more
19983 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19985 * common/m4/gst-doc.m4:
19988 2005-11-26 Edward Hervey <edward@fluendo.com>
19990 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19991 This shouldn't issue a g_warning since it returns NULL if it
19992 couldn't find the plugin, and all functions using this behave
19993 properly on a NULL return. Switching to a GST_WARNING.
19995 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19997 * gst/gstbin.c: (gst_bin_handle_message_func):
19998 Don't leak clock messages.
20000 2005-11-25 Wim Taymans <wim@fluendo.com>
20002 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20003 (gst_util_uint64_scale_int):
20004 Optimisations, remove unneeded vars.
20006 2005-11-25 Wim Taymans <wim@fluendo.com>
20008 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20009 Added more checks for the high precision uint64 cases.
20011 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20012 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20013 Implement high precision (guint64 * guint64) / guint64.
20015 2005-11-24 Wim Taymans <wim@fluendo.com>
20017 * gst/base/gstbasesrc.c: (gst_base_src_query):
20018 Fix wrong percentage query.
20020 * gst/gstutils.c: (gst_util_uint64_scale),
20021 (gst_util_uint64_scale_int):
20022 Add some more common cases that can be handled
20023 efficiently to _scale.
20025 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20027 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20028 (gst_mini_object_suite):
20029 don't use check calls from threads; check probably isn't
20030 threadsafe and using a lock to make it threadsafe would
20031 defeat the purpose of this check
20032 * gst/check/gstcheck.c:
20033 * gst/check/gstcheck.h:
20034 use GST_DEBUG some more
20036 2005-11-24 Wim Taymans <wim@fluendo.com>
20038 * gst/gstutils.c: (gst_util_uint64_scale),
20039 (gst_util_uint64_scale_int):
20040 Chain trivial case to _scale_int.
20042 2005-11-24 Wim Taymans <wim@fluendo.com>
20044 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20045 Added test for scaling.
20050 * gst/gstutils.c: (gst_util_uint64_scale_int):
20051 Implemented high precision scaling code.
20053 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20056 do not crash on pad==NULL
20058 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20060 Patch by: Stefan Kost
20062 * common/gtk-doc.mak:
20063 * docs/gst/Makefile.am:
20064 * docs/libs/Makefile.am:
20065 Fix distcheck issues for the libraries docs build
20068 2005-11-24 Michael Smith <msmith@fluendo.com>
20070 * docs/manual/basics-helloworld.xml:
20071 Fix bug #315027: memory leak in example code in docs.
20073 2005-11-24 Michael Smith <msmith@fluendo.com>
20075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20076 Unlock the PREROLL_LOCK in a failure case.
20078 2005-11-24 Wim Taymans <wim@fluendo.com>
20080 * docs/gst/gstreamer-sections.txt:
20081 * gst/base/gstadapter.h:
20082 * gst/base/gstbasesink.h:
20083 * gst/base/gstbasesrc.h:
20084 * gst/base/gstbasetransform.h:
20085 * gst/base/gstpushsrc.h:
20086 * gst/elements/gstfakesink.h:
20087 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20088 * gst/elements/gstfakesrc.h:
20089 * gst/elements/gstfilesink.h:
20090 * gst/elements/gstfilesrc.h:
20093 * gst/gstbuffer.c: (_gst_buffer_copy):
20096 * gst/gstchildproxy.c:
20098 * gst/gstelement.c:
20099 * gst/gstelementfactory.c:
20100 * gst/gstelementfactory.h:
20102 * gst/gstghostpad.h:
20104 * gst/gstinterface.h:
20105 * gst/gstminiobject.c:
20106 * gst/gstminiobject.h:
20109 * gst/gstpadtemplate.h:
20110 * gst/gstpipeline.h:
20111 * gst/gstpluginfeature.h:
20114 * gst/gsttaglist.c:
20115 * gst/gsttaglist.h:
20116 * gst/gsttagsetter.c:
20117 * gst/gsttagsetter.h:
20120 * gst/gsttypefind.h:
20123 * gst/net/gstnetclientclock.c:
20124 * gst/net/gstnetclientclock.h:
20125 * gst/net/gstnettimepacket.c:
20126 * gst/net/gstnettimeprovider.c:
20127 * gst/net/gstnettimeprovider.h:
20130 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20132 * configure.ac: back to HEAD
20134 === release 0.9.6 ===
20136 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20139 releasing 0.9.6, "Always On Time"
20141 2005-11-23 Wim Taymans <wim@fluendo.com>
20143 * docs/gst/gstreamer-sections.txt:
20144 * gst/glib-compat.c:
20145 * gst/gsttagsetter.c:
20147 * gst/net/gstnetclientclock.c:
20148 * gst/net/gstnettimepacket.h:
20151 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20153 * docs/faq/using.xml:
20154 * docs/libs/tmpl/gstcontrol.sgml:
20155 * docs/manual/advanced-dparams.xml:
20156 * docs/manual/appendix-checklist.xml:
20157 * docs/manual/basics-elements.xml:
20158 * docs/pwg/other-source.xml:
20159 * docs/random/moving-plugins:
20161 * tools/gst-launch.1.in:
20162 remove mentions of sinesrc
20164 2005-11-23 Michael Smith <msmith@fluendo.com>
20166 * docs/gst/gstreamer-sections.txt:
20167 Update for new API and API changes.
20169 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20171 Documentation typo fix.
20172 * gst/net/gstnettimepacket.c:
20173 Documentation fixes for arguments.
20175 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20177 * gst/gststructure.c: (gst_structure_get_fraction),
20178 (gst_structure_parse_value),
20179 (gst_structure_fixate_field_nearest_fraction):
20180 * gst/gststructure.h:
20181 * gst/gstutils.c: (gst_util_uint64_scale_int):
20183 * scripts/update-funcnames:
20185 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20186 Make gst_structure_fixate_field_nearest_fraction take a numerator
20187 and denominator argument instead of a GValue
20188 add gst_structure_get_fraction helper function.
20190 2005-11-23 Wim Taymans <wim@fluendo.com>
20192 * docs/design/part-TODO.txt:
20195 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20196 * gst/net/gstnetclientclock.h:
20197 Use parent fields for timeout and window_size.
20199 2005-11-23 Andy Wingo <wingo@pobox.com>
20201 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20202 rate_num/rate_denom change.
20204 * gst/net/gstnetclientclock.c
20205 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20206 OBJECT_LOCK. Don't call add_observation with the lock.
20208 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20210 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20212 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20213 deal with rate as a fraction whose numerator and denominator are
20214 GstClockTime values.
20215 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20216 master; the other fields are protected by the SLAVE_LOCK.
20217 (do_linear_regression): Note that this must be called with the
20219 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20220 OBJECT_LOCK. Call set_calibration instead of touching the
20221 variables directly.
20222 (gst_clock_set_property, gst_clock_get_property): Protect
20223 master/slave parameters with the SLAVE_LOCK.
20225 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20226 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20227 note that all of the instance variables that add_observation and
20228 the set_master functions use are protected by that lock and not
20230 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20232 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20233 the caller to take the object lock.
20235 2005-11-23 Wim Taymans <wim@fluendo.com>
20237 * gst/gsterror.c: (_gst_core_errors_init):
20239 Add error for clock stuff.
20241 * gst/gstpipeline.c: (gst_pipeline_change_state),
20242 (gst_pipeline_set_clock):
20243 Post clock error when clock cannot be used in a pipeline.
20245 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20247 * docs/gst/gstreamer-sections.txt:
20248 make two symbols from gstinfo private for the docs
20249 * gst/base/gstcollectpads.h:
20251 fix doc typos, update docs
20253 2005-11-22 Wim Taymans <wim@fluendo.com>
20255 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20256 (gst_base_sink_wait), (gst_base_sink_do_sync),
20257 (gst_base_sink_handle_event):
20258 * gst/base/gstbasesink.h:
20259 No need to store the clock, the parent element class already
20262 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20263 Updates for clock_set returning a gboolean
20265 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20266 (gst_clock_id_wait_async), (gst_clock_class_init),
20267 (gst_clock_init), (gst_clock_finalize),
20268 (gst_clock_get_internal_time), (gst_clock_get_time),
20269 (gst_clock_slave_callback), (gst_clock_set_master),
20270 (gst_clock_get_master), (do_linear_regression),
20271 (gst_clock_add_observation), (gst_clock_set_property),
20272 (gst_clock_get_property):
20274 Implement master/slave. When setting a clock as a slave, a
20275 periodic timeout is scheduled to sample master and slave times.
20276 Then the slave clock is recalibrated to match offset and rate
20277 of the master clock.
20278 Update logging a bit.
20279 Add flag so that a clock can state that is cannot be slaved to
20282 * gst/gstelement.c: (gst_element_set_clock):
20283 * gst/gstelement.h:
20284 The set clock returns a gboolean for when an element cannot
20285 deal with the selected clock in the pipeline.
20287 * gst/gstpipeline.c: (gst_pipeline_change_state),
20288 (gst_pipeline_set_clock):
20289 * gst/gstpipeline.h:
20290 Handle the case where the selected clock cannot be set on
20293 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20294 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20295 (gst_net_client_clock_set_property),
20296 (gst_net_client_clock_get_property),
20297 (gst_net_client_clock_observe_times):
20298 * gst/net/gstnetclientclock.h:
20299 Use regression code in GstClock parent, remove duplicated
20302 2005-11-22 Michael Smith <msmith@fluendo.com>
20304 * gst/gstutils.c: (gst_util_clock_time_scale):
20306 * docs/gst/gstreamer-sections.txt:
20307 Rename method to have extra underscore.
20309 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20311 * gst/elements/Makefile.am:
20312 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20313 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20314 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20315 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20316 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20317 * gst/elements/gstfakesrc.h:
20318 * gst/gstqueue.c: (queue_leaky_get_type):
20319 correctly fix GEnumValues so that nick is the short lowercase
20321 * tools/gst-inspect.c: (print_element_properties_info):
20322 also show the nick, since it's useful to use from parse_launch
20326 2005-11-22 Michael Smith <msmith@fluendo.com>
20328 * gst/gstutils.c: (gst_util_clocktime_scale):
20330 * docs/gst/gstreamer-sections.txt:
20331 Add util method for scaling a clocktime by a fraction. Useful
20332 implementation is left as an exercise for the reader.
20334 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20336 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20337 If needed, allocate storage in the destination value during
20340 2005-11-22 Edward Hervey <edward@fluendo.com>
20342 * docs/gst/gstreamer-sections.txt:
20345 * gst/gsturitype.c:
20346 * gst/gsturitype.h:
20347 * gst/gstutils.c: (gst_util_set_object_arg):
20348 * tools/gst-compprep.c: (main):
20349 * tools/gst-inspect.c: (print_element_properties_info):
20350 Removed GstURI, closes bug #321061
20352 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20354 * check/gst/gststructure.c: (GST_START_TEST):
20355 * gst/gststructure.c: (gst_structure_parse_value):
20356 Oops, broke automatic string type parsing.
20357 Add a test to catch it in future.
20359 2005-11-22 Andy Wingo <wingo@pobox.com>
20361 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20362 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20363 Actually rename the function implementations. Grr.
20365 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20367 * check/gst/capslist.h:
20369 * check/gst/gststructure.c: (GST_START_TEST),
20370 (gst_structure_suite):
20371 Test automatic value type detection in gst_structure_from_string.
20372 * gst/gststructure.c: (gst_structure_parse_value):
20373 Add fraction as a type we try and guess automatically in
20374 caps/structure strings.
20376 2005-11-22 Andy Wingo <wingo@pobox.com>
20378 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20380 * gst/gsttagsetter.h:
20381 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20382 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20383 (gst_tag_setter_add_tag_valist)
20384 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20385 _add_values, _add_valist, and _add_valist_values. Since this is an
20386 interface the function suffixes should be more explicit so
20387 language binding don't end up with element.add_valist ->
20388 gst_tag_setter_add_valist, for example. Fixes #322069.
20390 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20392 * check/gst/gstcaps.c: (GST_START_TEST):
20393 Extend caps string tests to check that a caps to string
20394 conversion is reversible and produces the same caps.
20396 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20397 Output "fraction" as the generic type fraction range, so caps
20398 serialisation and deserialisation works.
20399 * check/gst/capslist.h:
20400 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20401 Support 'MIN' and 'MAX' for deserialising fractions.
20403 2005-11-22 Andy Wingo <wingo@pobox.com>
20405 * gst/gstevent.h (gst_event_new_new_segment)
20406 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20407 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20408 Renamed from *_newsegment, *_buffersize, *_notarget.
20410 * scripts/update-funcnames: New script, performs the changes
20413 2005-11-22 Wim Taymans <wim@fluendo.com>
20415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20416 Make sure the GstFlowReturn is returned.
20418 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20419 (gst_bus_add_signal_watch):
20421 add gst_bus_add_signal_watch_full.
20423 * gst/gstplugin.c: (gst_plugin_load_file):
20424 Small style cleanup.
20426 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20428 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20429 Block the fakesrc srcpad when we send an event, to avoid
20430 contention on the stream_lock causing random test failures.
20432 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20434 * check/gst/gstvalue.c: (GST_START_TEST):
20435 * gst/gstvalue.c: (gst_value_fraction_subtract):
20438 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20441 include "gstchildproxy.h"
20442 * gst/gstchildproxy.h:
20443 * libs/gst/controller/gstcontroller.h:
20444 use G_GNUC_NULL_TERMINATED
20446 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20448 * check/gst/capslist.h:
20449 * check/gst/gstcaps.c: (GST_START_TEST):
20450 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20451 * gst/gststructure.c: (gst_structure_parse_range),
20452 (gst_structure_fixate_field_nearest_fraction):
20453 * gst/gststructure.h:
20454 * gst/gstvalue.c: (gst_value_init_fraction_range),
20455 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20456 (gst_value_collect_fraction_range),
20457 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20458 (gst_value_set_fraction_range_full),
20459 (gst_value_get_fraction_range_min),
20460 (gst_value_get_fraction_range_max),
20461 (gst_value_serialize_fraction_range),
20462 (gst_value_transform_fraction_range_string),
20463 (gst_value_compare_fraction_range),
20464 (gst_value_deserialize_fraction_range),
20465 (gst_value_intersect_fraction_fraction_range),
20466 (gst_value_intersect_fraction_range_fraction_range),
20467 (gst_value_subtract_fraction_fraction_range),
20468 (gst_value_subtract_fraction_range_fraction),
20469 (gst_value_subtract_fraction_range_fraction_range),
20470 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20471 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20472 (gst_value_transform_string_fraction), (_gst_value_initialize):
20474 Implement fraction ranges and extend GstFraction to support
20475 arithmetic subtraction, as well as deserialization from integer
20476 strings such as "100"
20477 Add a testsuite as for int and double range set operations
20479 2005-11-21 Andy Wingo <wingo@pobox.com>
20481 * gst/gsttaglist.h:
20483 * gst/gststructure.h: Add glib-compat.h.
20485 2005-11-21 Wim Taymans <wim@fluendo.com>
20487 * gst/gstbin.c: (gst_bin_change_state_func):
20490 2005-11-21 Wim Taymans <wim@fluendo.com>
20492 * gst/gstsegment.h:
20493 And add a nice define too.
20495 2005-11-21 Wim Taymans <wim@fluendo.com>
20497 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20498 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20499 (gst_segment_set_duration), (gst_segment_set_last_stop),
20500 (gst_segment_set_seek), (gst_segment_set_newsegment),
20501 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20502 (gst_segment_clip):
20503 * gst/gstsegment.h:
20504 Make binding friendly.
20506 2005-11-21 Andy Wingo <wingo@pobox.com>
20508 * gst/gsttagsetter.h:
20509 * gst/gsttaglist.h:
20510 * gst/gststructure.h:
20512 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20515 * gst/gsterror.c (_gst_core_errors_init):
20516 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20519 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20520 (noinst_HEADERS): noinst the -private.
20522 2005-11-21 Michael Smith <msmith@fluendo.com>
20525 * gst/gstregistry.h:
20526 Remove unimplemented declarations for which we can see no sensible
20529 2005-11-21 Andy Wingo <wingo@pobox.com>
20531 * gst/gst.h: Include glib-compat.h.
20533 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20535 * gst/glib-compat.c: Include the public and the private header.
20537 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20541 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20543 * check/gst/gstevent.c (create_custom_events): Check that
20544 FLUSH_STOP is serialized.
20546 * check/elements/identity.c (event_func):
20547 * check/elements/fakesrc.c (event_func): No stream lock, the core
20550 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20551 stream lock taking, yay.
20553 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20554 ensure that core takes the stream lock.
20556 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20559 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20560 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20561 it already. For the flush start we do take it though so we get the
20562 right preroll state change messages.
20564 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20565 the stream lock here, the core does it for us.
20567 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20568 GST_STREAM_GET_LOCK.
20569 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20570 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20571 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20572 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20573 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20574 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20576 * gst/gstpad.c: Update for stream lock name change.
20578 * gst/base/gstbasesink.c: Update for preroll lock name change.
20580 2005-11-21 Wim Taymans <wim@fluendo.com>
20582 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20583 (gst_clock_get_master):
20585 * gst/gstsystemclock.c: (gst_system_clock_init):
20586 Convert Clock flags to object flags.
20587 Added methods to manage master/slave clocks.
20589 2005-11-21 Wim Taymans <wim@fluendo.com>
20591 * check/gst/gstsegment.c: (GST_START_TEST):
20592 * docs/design/part-TODO.txt:
20593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20594 (gst_base_sink_event), (gst_base_sink_do_sync),
20595 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20596 (gst_base_sink_query), (gst_base_sink_change_state):
20597 * gst/base/gstbasesink.h:
20598 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20599 (gst_base_src_default_newsegment),
20600 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20601 (gst_base_src_get_range), (gst_base_src_loop),
20602 (gst_base_src_change_state):
20603 * gst/base/gstbasesrc.h:
20604 * gst/base/gstbasetransform.c:
20605 (gst_base_transform_prepare_output_buf),
20606 (gst_base_transform_event), (gst_base_transform_change_state):
20607 * gst/base/gstbasetransform.h:
20608 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20609 (gst_collect_pads_event):
20610 * gst/base/gstcollectpads.h:
20611 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20612 (gst_fake_src_create):
20613 * gst/elements/gstfakesrc.h:
20614 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20615 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20616 (gst_segment_set_last_stop), (gst_segment_set_seek),
20617 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20618 (gst_segment_to_running_time), (gst_segment_clip):
20619 * gst/gstsegment.h:
20620 More segment updates, replace code in plugins with segment
20623 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20625 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20626 Don't ignore sscanf results
20628 2005-11-21 Andy Wingo <wingo@pobox.com>
20630 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20633 * *.c: Ran scripts/update-macros. Oh yes.
20635 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20636 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20639 * scripts/update-macros: New script. Run it on your files to
20640 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20643 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20645 * docs/gst/Makefile.am:
20646 * docs/gst/gstreamer-docs.sgml:
20647 * docs/gst/gstreamer-sections.txt:
20648 * docs/gst/gstreamer.types:
20650 more docs fixes, add new api to the docs
20652 2005-11-21 Andy Wingo <wingo@pobox.com>
20654 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20655 state_broadcast call.
20657 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20659 2005-11-21 Julien MOUTTE <julien@moutte.net>
20661 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20662 function calls for arrays.
20664 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20666 * docs/random/ensonic/media-device-daemon.txt:
20667 wild idea, can this be done?
20668 * docs/gst/gstreamer-sections.txt:
20673 * gst/gstpluginfeature.c:
20677 doc fixes and additions
20679 2005-11-21 Andy Wingo <wingo@pobox.com>
20681 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20682 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20683 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20684 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20685 private to the basesrc implementation.
20687 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20688 behalf of event function if necessary. It should no longer be
20689 necessary to take the stream lock in pad's event functions. Fixes
20692 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20693 * docs/gst/gstreamer-sections.txt:
20694 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20695 (gst_structure_fixate_field_nearest_double),
20696 (gst_structure_fixate_field_boolean):
20697 * gst/gststructure.h:
20698 * win32/common/libgstreamer.def:
20699 * win32/gstreamer.def:
20701 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20704 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20706 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20707 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20708 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20709 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20710 (gst_fdsrc_uri_handler_init):
20711 * gst/elements/gstfdsrc.h:
20712 Port fd:// URI handler from 0.8 to fdsrc
20714 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20716 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20717 (gst_value_serialize_fourcc):
20719 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20720 consistent with our other format defines (#320324).
20722 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20724 * gst/gstvalue.c: (gst_value_is_fixed):
20725 Revert previous commit. Value lists are by definition
20726 not fixed, as they are a list of possible values.
20728 2005-11-21 Andy Wingo <wingo@pobox.com>
20730 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20731 during the stable series if we need it. Fixes #319178.
20733 * gst/gstevent.c (gst_event_new_filler): Removed.
20735 * check/gst/gstevent.c: Update comment about filler events.
20737 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20739 * gst/gstvalue.c: (gst_value_is_fixed):
20740 Should handle both value arrays and value lists.
20742 2005-11-21 Andy Wingo <wingo@pobox.com>
20744 patch by: Alessandro Dessina <alessandro nnva org>
20746 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20747 functions to access arrays. Fixes #321962.
20749 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20751 * docs/gst/gstreamer.types:
20752 gst_collectpads_get_type => gst_collect_pads_get_type.
20754 * gst/base/gstbasetransform.c:
20755 Remove unused SIGNAL_HANDOFF enum.
20757 2005-11-21 Andy Wingo <wingo@pobox.com>
20759 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20760 the event type (upstream, downstream, serialized). Renamed
20761 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20762 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20763 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20765 * gst/gstevent.c: Update for new CUSTOM event names.
20767 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20770 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20773 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20775 * docs/gst/gstreamer-sections.txt:
20776 * win32/common/libgstbase.def:
20777 * win32/libgstbase.def:
20778 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20779 (gst_collect_pads_class_init), (gst_collect_pads_init),
20780 (gst_collect_pads_finalize), (gst_collect_pads_new),
20781 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20782 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20783 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20784 (gst_collect_pads_start), (gst_collect_pads_stop),
20785 (gst_collect_pads_peek), (gst_collect_pads_pop),
20786 (gst_collect_pads_available), (gst_collect_pads_read),
20787 (gst_collect_pads_flush), (gst_collect_pads_event),
20788 (gst_collect_pads_chain):
20789 * gst/base/gstcollectpads.h:
20790 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20791 unimplemented functions as unimplemented. Add padding to
20792 GstCollectData. (#320766, #320423)
20794 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20796 * gst/gstmessage.c:
20797 Improve docs for DURATION message (usage of duration parameter)
20800 2005-11-20 Wim Taymans <wim@fluendo.com>
20802 * check/Makefile.am:
20803 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20807 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20808 (gst_segment_set_seek), (gst_segment_set_newsegment),
20809 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20810 (gst_segment_clip):
20811 * gst/gstsegment.h:
20812 Added segment helper structure and methods. Not fully implemented
20814 Added segment check.
20816 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20818 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20819 Add a deserialisation test for fractions
20820 * examples/metadata/read-metadata.c: (message_loop),
20821 (make_pipeline), (main):
20822 Fix up metadata reading sample.
20823 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20825 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20826 Don't try and fixate empty caps
20827 * gst/gst_private.h:
20828 Wrap in G_BEGIN_DECLS/G_END_DECLS
20829 * gst/gstvalue.c: (gst_value_collect_fraction),
20830 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20831 (gst_value_transform_string_fraction),
20832 (gst_value_compare_fraction):
20833 Add some extra guards to ensure that we don't end up
20834 with an invalid denominator of 0 in a gstfraction and
20835 that fractions always get reduced.
20837 2005-11-20 Wim Taymans <wim@fluendo.com>
20839 * docs/gst/gstreamer-sections.txt:
20841 * gst/gstelement.c:
20850 2005-11-20 Wim Taymans <wim@fluendo.com>
20852 * docs/design/part-TODO.txt:
20854 Make a proper enum of the flag.
20856 2005-11-19 Wim Taymans <wim@fluendo.com>
20858 * docs/design/part-TODO.txt:
20859 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20860 (gst_format_to_quark), (gst_format_register):
20862 * gst/gstquery.c: (_gst_query_initialize),
20863 (gst_query_type_get_name), (gst_query_type_to_quark),
20864 (gst_query_type_register):
20866 Add type to quark and type to string conversions.
20868 2005-11-19 Andy Wingo <wingo@pobox.com>
20870 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20873 2005-11-19 Wim Taymans <wim@fluendo.com>
20875 * docs/design/part-TODO.txt:
20876 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20877 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20878 (gst_bin_handle_message_func):
20880 Make message handling overridable.
20882 2005-11-19 Andy Wingo <wingo@pobox.com>
20884 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20887 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20889 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20890 is a GstClockTime. Fixes #321710.
20892 * gst/gstclock.h (GstClock): Remove offset property. Add
20893 internal_calibration and external_calibration. Fix padding. Pad
20894 also by GstClockTime so we don't run into problems.
20896 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20897 (gst_clock_get_rate_offset): Remove.
20898 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20901 * gst/gstutils.c (g_static_rec_cond_wait)
20902 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20904 * gst/gstbin.c: Remove terrible continue_state prototype.
20906 * gst/gstelement.h (gst_element_continue_state): Make public.
20908 * gst/gstelement.h:
20909 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20910 by continue_state. Fixes #319389.
20912 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20913 Really fixes #168438. However I don't see anywhere where the
20914 filter function is called... stupid GStreamer...
20916 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20917 don't have a dispose function, so it won't get called when the
20918 object is unreffed, but oh well!
20920 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20921 allows a destroy function to be set so user_data can be freed.
20923 (gst_index_set_filter): Call gst_index_set_filter_full.
20925 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20927 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20928 string should produce an error, given the lack of a way to
20929 represent NULL strings. Fixes #165650.
20932 * gst/gstvalue.c (gst_value_array_append_value)
20933 (gst_value_array_prepend_value, gst_value_array_get_size)
20934 (gst_value_array_get_value): New API, copied from
20935 gst_value_list_*, only operates on arrays.
20936 (gst_value_list_append_value, gst_value_list_prepend_value)
20937 (gst_value_list_concat, gst_value_list_get_size)
20938 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20940 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20941 init_list, because it works on both.
20942 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20943 (gst_value_copy_list_or_array): Renamed from copy_list.
20944 (gst_value_free_list_or_array): Renamed from free_list.
20945 (gst_value_collect_list_or_array): Renamed from collect_list.
20946 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20947 (gst_value_list_or_array_peek_pointer): Renamed from
20949 (_gst_value_array_value_table, _gst_value_list_value_table):
20950 Update value table functions.
20951 (gst_value_compare_list_or_array): Renamed from compare_list.
20953 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20956 * gst/gsttaglist.c:
20957 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20958 GstTagList*. Fixes #143472.
20960 * gst/gststructure.h: Clarify what the foreach/map functions can
20961 or can't do to their arguments.
20963 2005-11-18 Wim Taymans <wim@fluendo.com>
20965 * gst/gstclock.c: (gst_clock_set_calibration),
20966 (gst_clock_get_calibration):
20968 Calibration can be set with internal time equal to current
20971 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20977 2005-11-18 Andy Wingo <wingo@pobox.com>
20980 * pkgconfig/gstreamer-net.pc.in:
20981 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20982 * pkgconfig/Makefile.am: Add net pkgconfig files.
20984 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20987 * gst/gstghostpad.c:
20993 2005-11-18 Andy Wingo <wingo@pobox.com>
20995 * gst/net/gstnetclientclock.c: Turn off debugging.
20997 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20998 times connverge somewhat. Can't make a real test.
21000 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21001 integer arithmetic. Return the minimum of the domain, which can be
21002 set as "internal" for gst_clock_set_calibration.
21003 (gst_net_client_clock_observe_times): Call _set_calibration.
21004 (gst_net_client_clock_new): Call _set_calibration instead of
21007 * check/net/gstnetclientclock.c (test_functioning): Use the right
21011 * gst/gstclock.c (gst_clock_get_calibration)
21012 (gst_clock_set_calibration): New functions, obsolete the ones I
21013 added yesterday. Doh. Precision issues mean we have to extrapolate
21014 from a point in the more recent past than 1970.
21015 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21017 (gst_clock_adjust_unlocked): Use the right calibration data.
21019 2005-11-18 Edward Hervey <edward@fluendo.com>
21021 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21022 Also reset the ->current_* values in READY->PAUSED
21024 2005-11-18 Andy Wingo <wingo@pobox.com>
21026 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21027 Whoops, check the right fd. Also add some debugging.
21028 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21029 (do_linear_regression): Add a crapload of debugging. Subtract off
21030 the minimum values from the input series to discard unneeded bits.
21031 Use only int arithmetic. There is still double arithmetic when
21032 calculating the intercept that needs fixing. Return boolean to
21033 indicate success; FALSE would mean the domain or range is too
21034 great. Still needs fixes.
21036 2005-11-18 Wim Taymans <wim@fluendo.com>
21038 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21039 For the current position in stream time, we need to subtract
21042 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21043 Release lock before calling the callback function of async
21046 2005-11-18 Andy Wingo <wingo@pobox.com>
21048 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21049 Port goes all the way to MAXUINT16.
21051 * gst/net/gstnettimeprovider.c: Make the port range the same as
21052 for the kernel: 0 assigns, otherwise ports are less than
21055 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21058 * check/net/gstnetclientclock.c (test_functioning): Add the start
21061 2005-11-18 Wim Taymans <wim@fluendo.com>
21063 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21064 (gst_bin_remove_func), (bin_bus_handler):
21066 Removing a clock provider from a bin, triggers a clock lost message
21067 so that a new clock will be selected.
21068 Adding a clock to a bin triggers a clock provider message.
21069 Make sure we reselect a clock when we received a clock lost message.
21070 Keep a reference to the element that provided the clock.
21072 2005-11-18 Andy Wingo <wingo@pobox.com>
21074 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21075 the clock initially so it produces values around the base time.
21076 (gst_net_client_clock_class_init): Typo fix.
21077 (gst_net_client_clock_thread): Add note on when the socket gets
21080 2005-11-17 Wim Taymans <wim@fluendo.com>
21082 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21083 Free remote and local time arrays.
21085 2005-11-17 Wim Taymans <wim@fluendo.com>
21087 * gst/net/gstnetclientclock.c: (do_linear_regression),
21088 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21089 Fix compilation, uninitialized vars and a forgotten continue.
21091 2005-11-17 Andy Wingo <wingo@pobox.com>
21093 * check/Makefile.am (check_PROGRAMS):
21094 * check/net/gstnetclientclock.c: Add a most minimal test for the
21095 net client clock. More to come later.
21097 * gst/net/gstnet.h:
21098 * gst/net/Makefile.am: Add netclientclock.
21100 * gst/net/gstnetclientclock.h:
21101 * gst/net/gstnetclientclock.c: New files, implement an untested
21102 GstClock that takes its time from a network time provider.
21103 Implements the algorithm in network-clock.scm.
21105 * tests/network-clock.scm (*window-size*): Rename from
21107 * tests/network-clock.scm (network-time):
21108 * tests/network-clock-utils.scm (q-push): Update callers.
21110 2005-11-17 Wim Taymans <wim@fluendo.com>
21112 * gst/gstbin.c: (gst_bin_provide_clock_func),
21113 (gst_bin_sort_iterator_new):
21114 And unref the child too..
21116 2005-11-17 Wim Taymans <wim@fluendo.com>
21118 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21119 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21120 Refactor the sort iterator so it can be used while holding the
21122 Make clock selection select a clock closest to the source.
21124 2005-11-17 Michael Smith <msmith@fluendo.com>
21126 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21127 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21129 Anonymous structs are a gcc (and some other compilers) extension, so
21130 don't use them. Since this is only for ABI-compatibility, and our
21131 API/ABI freeze is over in a few days, this whole thing will only
21132 last a few days, so don't bother trying to think up a meaningful
21133 name for the struct.
21135 2005-11-17 Andy Wingo <wingo@pobox.com>
21137 * gst/gstclock.h (GstClock): Add rate and offset properties,
21138 preserving ABI stability. Add rate/offset accessors. Will file bug
21139 for the freeze break.
21141 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21142 and offset, trying to keep precision and avoiding
21143 underflow/overflow.
21144 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21145 functions. Make gst_clock_set_time_adjust obsolete.
21146 (gst_clock_set_time_adjust): Note that this function is obsolete.
21147 Will file bug soon.
21149 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21150 greppable by using GST_PADDING-1+1.
21152 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21154 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21156 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21157 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21159 * gst/gstpadtemplate.h:
21160 * gst/gstpluginfeature.h:
21161 Don't use c++ style comments in headers (#321638).
21163 2005-11-16 Andy Wingo <wingo@pobox.com>
21165 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21168 * check/net/gstnettimeprovider.c: Check to see that the time
21169 provider actually provides times. Works, yo!
21171 2005-11-16 Wim Taymans <wim@fluendo.com>
21173 * check/Makefile.am:
21176 * check/elements/fakesrc.c: (GST_START_TEST):
21177 Set element to NULL before disposing it.
21179 2005-11-16 Andy Wingo <wingo@pobox.com>
21181 * gst/net/Makefile.am:
21182 * gst/net/gstnet.h:
21183 * gst/net/gstnettimeprovider.c:
21184 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21185 provider, include it from gstnet.h, and add it to the build.
21187 * gst/net/gstnettimepacket.h:
21188 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21189 sending and receiving.
21191 2005-11-16 Wim Taymans <wim@fluendo.com>
21193 * check/Makefile.am:
21194 Enable valgrind check.
21196 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21197 (gst_fake_src_alloc_buffer):
21200 2005-11-16 Wim Taymans <wim@fluendo.com>
21202 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21203 Call parent finalize too.
21205 2005-11-16 Wim Taymans <wim@fluendo.com>
21207 * check/Makefile.am:
21208 Enable valgrind check that should work fine now.
21210 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21211 * gst/gstqueue.c: (gst_queue_init):
21212 Fix memleaks in pad allocation.
21214 2005-11-16 Andy Wingo <wingo@pobox.com>
21216 * gst/net/Makefile.am:
21217 * gst/net/gstnet.h: New part of core to hold network elements and
21218 objects. Put in core because it exposes API that applications want
21219 to use. The library is named libgstnet-tempname right now because
21220 of the existing libgstnet in gst-plugins-base. Solution is
21221 probably to rename the one in plugins-base; will file a bug for
21224 * gst/net/gstnettimeprovider.c:
21225 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21226 get_time call over the network.
21229 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21231 * check/Makefile.am:
21232 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21233 get additions shortly.
21235 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21237 * gst/gstpad.c: (gst_pad_new_from_static_template):
21239 add gst_pad_new_from_static_template functions
21240 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21241 (gst_check_setup_sink_pad):
21242 * gst/elements/gsttee.c: (gst_tee_init):
21245 2005-11-16 Wim Taymans <wim@fluendo.com>
21247 * gst/gstpad.c: (gst_pad_pause_task):
21248 Removed warning, it's not really an error either.
21250 2005-11-16 Wim Taymans <wim@fluendo.com>
21252 * gst/base/gstbasetransform.c:
21253 (gst_base_transform_prepare_output_buf),
21254 (gst_base_transform_event):
21255 Check if the caps are NULL, this can happen if the element
21256 is shutting down and the pad caps are set to NULL.
21258 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21260 * gst/elements/gsttee.c: (gst_tee_init):
21261 fix pad template leak in tee
21263 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21265 * gst/glib-compat.c: (g_value_dup_gst_object):
21266 * gst/glib-compat.h:
21267 * gst/gstpad.c: (gst_pad_set_property):
21268 use gst_object_ref when setting the pad template; this will
21269 trigger the pad template leaks on GLib 2.6 and the slaves
21271 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21273 * gst/glib-compat.c: (gst_flags_get_first_value):
21274 * gst/glib-compat.h:
21275 * gst/gstregistryxml.c:
21276 remove functions copied from GLib 2.6
21278 2005-11-16 Michael Smith <msmith@fluendo.com>
21281 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21282 do, but only breaks with newer valgrind versions. We're not a
21283 valgrind tool, we have no link-time dependencies on libcoregrind.
21285 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21287 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21289 * gst/gstmessage.h:
21292 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21294 * gst/base/gstbasesrc.c: (gst_base_src_init):
21295 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21296 * gst/gstqueue.c: (gst_queue_init):
21297 * gst/gstregistryxml.c: (load_feature):
21298 Revert all these unrefs, they don't even pass make check !
21300 2005-11-15 Johan Dahlin <johan@gnome.org>
21302 * gst/base/gstbasesrc.c: (gst_base_src_init):
21303 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21304 * gst/gstqueue.c: (gst_queue_init):
21305 Free pad templates, fixes a couple of leaks.
21307 2005-11-15 Daniel Fischer <dan at f3c dot com>
21309 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21311 * gst/gstpad.c: (gst_pad_get_property):
21312 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21313 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21316 2005-11-15 Wim Taymans <wim@fluendo.com>
21321 2005-11-15 Andy Wingo <wingo@pobox.com>
21323 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21325 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21326 using GST_CLOCK_TIME_NONE to disable base time management.
21327 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21328 time if it was NONE before.
21329 (gst_pipeline_change_state): Only munge the base time if
21330 stream_time != GST_CLOCK_TIME_NONE.
21332 * check/gst/gstpipeline.c (test_base_time): Punt around the
21333 problem of the probe not being called, because that's not the
21334 issue I'm looking at. Add a check that setting stream_time to NONE
21335 disables base time management.
21337 2005-11-15 Wim Taymans <wim@fluendo.com>
21339 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21340 segment_stop == -1 at startup.
21342 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21343 (gst_base_transform_change_state):
21344 Init segment values at start.
21346 2005-11-15 Wim Taymans <wim@fluendo.com>
21348 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21349 0 segment values are 0 in any format.
21351 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21352 * gst/base/gstbasetransform.h:
21353 Parse newsegment correctly in basetransform
21355 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21356 Sync to clock using updated segment values.
21358 2005-11-15 Andy Wingo <wingo@pobox.com>
21360 * check/gst/gstpipeline.c (test_base_time): Add check that the
21361 base time and stream time are reset correctly.
21363 2005-11-15 Wim Taymans <wim@fluendo.com>
21365 * docs/design/part-TODO.txt:
21366 Some more TODO items.
21368 2005-11-15 Andy Wingo <wingo@pobox.com>
21370 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21371 error if the user selected "no clock" as the clocking method.
21373 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21374 timestamps with live capture.
21376 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21377 is 0 but we are a live source, timestamp the buffers using the
21380 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21382 * docs/gst/gstreamer-sections.txt:
21384 * gst/gstghostpad.c:
21389 2005-11-14 Wim Taymans <wim@fluendo.com>
21392 add suppressions from Wim's Debian machine
21394 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21397 add suppressions from Andy's AMD64 Ubuntu machine
21399 2005-11-14 Andy Wingo <wingo@pobox.com>
21401 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21402 STATE_LOCK not necessary. Fixes #311489.
21404 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21407 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21408 this function is not implemented.
21410 2005-11-14 Julien MOUTTE <julien@moutte.net>
21412 * gst/base/gstbasetransform.c:
21413 (gst_base_transform_prepare_output_buf):
21414 Ref the source pad caps while we need them.
21417 2005-11-11 Wim Taymans <wim@fluendo.com>
21419 * docs/gst/gstreamer-sections.txt:
21420 Added some docs for GstCollectData.
21422 * gst/base/gstadapter.c:
21423 Some small code example fix.
21425 * gst/base/gstcollectpads.c:
21426 * gst/base/gstcollectpads.h:
21427 Document some more.
21429 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21431 * configure.ac: back to HEAD
21433 === release 0.9.5 ===
21435 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21438 releasing 0.9.5, "Bike Lunch Day"
21440 2005-11-11 Wim Taymans <wim@fluendo.com>
21442 * gst/gstbuffer.c: (_gst_buffer_copy):
21445 * gst/gstcaps.c: (gst_caps_is_equal):
21447 Make _is_equal fast in the trivial cases.
21449 * gst/gstminiobject.c:
21450 * gst/gstminiobject.h:
21451 More docs. Spifify .h file.
21456 2005-11-11 Wim Taymans <wim@fluendo.com>
21458 * gst/base/gstbasetransform.c:
21459 (gst_base_transform_prepare_output_buf),
21460 (gst_base_transform_handle_buffer):
21462 If we're processing a buffer and need to allocate an output
21463 buffer, we cannot accept a format change. If we did get a
21464 format change, we have to alloc a buffer ourselves of the
21467 2005-11-11 Wim Taymans <wim@fluendo.com>
21469 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21470 While checking the flag for reentrancy in the gstcaps function
21471 is nice to detect recursive invocations, it also makes it
21472 impossible to call getcaps from multiple threads, which must be
21473 possible. So, checking for recursive calls has to go.
21475 2005-11-11 Michael Smith <msmith@fluendo.com>
21477 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21478 Don't sync on buffers that fall partially outside our current
21479 segment. Prevents an assertion failure/abort playing some files.
21481 2005-11-10 Andy Wingo <wingo@pobox.com>
21483 * check/gst/gstbin.c (test_message_state_changed_children): Style
21486 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21487 gst_bus_poll with the signal watch. Ensures that poll and a signal
21488 watch see the same messages.
21490 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21491 a poll and a watch at the same time get the same messages.
21493 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21495 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21496 * gst/gstcaps.c: (gst_caps_intersect):
21497 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21498 and it's not needed.
21500 2005-11-10 Wim Taymans <wim@fluendo.com>
21502 * docs/design/part-TODO.txt:
21505 2005-11-10 Wim Taymans <wim@fluendo.com>
21507 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21508 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21509 (gst_base_src_do_sync), (gst_base_src_get_range):
21510 Implement clock sync in base class.
21512 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21514 patch by: Tim-Philipp Müller <tim at centricular dot net>
21516 * gst/gststructure.c: (gst_structure_parse_field),
21517 (gst_structure_from_string):
21518 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21519 so that gst_parse_launch() can deal with spaces in filtered link
21520 caps (fixes #164479)
21521 * check/gst/capslist.h:
21522 * check/gst/gststructure.c: (GST_START_TEST):
21523 add unit tests for this change
21525 2005-11-10 Wim Taymans <wim@fluendo.com>
21527 * docs/gst/gstreamer-sections.txt:
21528 * gst/gstelement.c:
21529 * gst/gstelement.h:
21530 Fix docs, move some STATE macros to private.
21532 2005-11-10 Wim Taymans <wim@fluendo.com>
21534 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21535 Added check for bug #317341
21539 Some more spiffifying.
21541 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21542 Call peer linkfunction if we are a source pad. Totally fixes
21546 Update docs, source pads should call the peer linkfunction
21547 so they can atomically perform the pad link.
21549 2005-11-09 Wim Taymans <wim@fluendo.com>
21553 Uber-spiffy-spiffify some more.
21555 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21557 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21558 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21559 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21560 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21561 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21562 * gst/gstpad.c: (gst_pad_init):
21563 Use GST_DEBUG_FUNCPTR() more extensively.
21565 2005-11-09 Wim Taymans <wim@fluendo.com>
21567 * gst/gstobject.c: (gst_object_class_init):
21569 Documentation fixes.
21571 2005-11-09 Edward Hervey <edward@fluendo.com>
21573 * gst/gsttypefindfactory.c:
21576 2005-11-09 Edward Hervey <edward@fluendo.com>
21578 * gst/base/gsttypefindhelper.c:
21579 * gst/gsttypefind.c:
21580 * gst/gsttypefind.h:
21583 2005-11-09 Wim Taymans <wim@fluendo.com>
21585 * gst/gstiterator.c:
21592 2005-11-09 Wim Taymans <wim@fluendo.com>
21598 2005-11-09 Wim Taymans <wim@fluendo.com>
21600 * docs/gst/gstreamer-sections.txt:
21601 Moved the message async delivery private lock and cond
21602 to the private section.
21604 * gst/gstmessage.c:
21605 * gst/gstmessage.h:
21608 2005-11-09 Edward Hervey <edward@fluendo.com>
21610 * docs/gst/gstreamer-sections.txt:
21613 Document GstURIHandler
21615 2005-11-09 Wim Taymans <wim@fluendo.com>
21617 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21618 (gst_iterator_find_custom):
21619 * gst/gstiterator.h:
21622 2005-11-09 Wim Taymans <wim@fluendo.com>
21625 Document another field.
21627 * gst/gststructure.c:
21628 * gst/gststructure.h:
21631 2005-11-09 Wim Taymans <wim@fluendo.com>
21634 Documented structs.
21636 2005-11-09 Wim Taymans <wim@fluendo.com>
21638 * docs/gst/gstreamer-sections.txt:
21639 Added some new macros.
21646 2005-11-09 Wim Taymans <wim@fluendo.com>
21648 * docs/design/part-TODO.txt:
21649 Some more items for the TODO
21655 2005-11-09 Andy Wingo <wingo@pobox.com>
21657 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21658 to work on something else now tho...
21660 * gst/base/gstadapter.c: More adapter docs.
21662 * gst/elements/gstfilesink.c (gst_file_sink_start)
21663 (gst_file_sink_stop): New functions, replace the state change
21665 (gst_file_sink_class_init): Hook up the start and stop functions.
21666 (gst_file_sink_base_init): Don't set the state change handler any
21667 more. It was a bit ugly too, being set from here...
21668 (gst_file_sink_get_property, gst_file_sink_set_property):
21670 (gst_file_sink_set_location): More robust check that doesn't call
21671 GST_STATE. Ugggggg.
21673 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21675 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21676 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21678 2005-11-08 Wim Taymans <wim@fluendo.com>
21680 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21681 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21682 (gst_base_sink_chain), (gst_base_sink_change_state):
21683 * gst/base/gstbasesink.h:
21684 * gst/base/gstbasesrc.h:
21685 * gst/gstelement.h:
21687 Avoid excessive typechecking in macros.
21689 * gst/gstminiobject.c: (gst_mini_object_get_type),
21690 (gst_mini_object_init), (gst_mini_object_new),
21691 (gst_mini_object_free):
21692 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21693 (gst_object_finalize):
21694 Remove cruft code, optimize alloc_trace.
21696 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21698 * docs/faq/gst-uninstalled:
21699 fix up PS1 for systems that try to reset it
21701 2005-11-07 Wim Taymans <wim@fluendo.com>
21703 * gst/base/gstbasesrc.c: (gst_base_src_init),
21704 (gst_base_src_get_range):
21705 Set the segment_end to -1 initially. Fixed typefind.
21707 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21709 * gst/base/gstadapter.c:
21710 Debug category should be 'adapter', not 'GstAdapter'.
21712 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21713 (gst_collectpads_class_init), (gst_collectpads_init),
21714 (gst_collectpads_peek), (gst_collectpads_pop),
21715 (gst_collectpads_event), (gst_collectpads_chain):
21716 Add debug category and some debugging output. Use boilerplate
21717 macros. Remove some extraneous words from docs.
21719 2005-11-05 Andy Wingo <wingo@pobox.com>
21721 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21724 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21726 * docs/gst/gstreamer-sections.txt:
21729 * gst/gstminiobject.h:
21734 2005-11-04 Wim Taymans <wim@fluendo.com>
21736 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21737 Small update to stop at the configured segment_end
21740 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21742 * gst/gstregistry.c:
21743 * gst/gstregistry.h:
21746 2005-11-04 Edward Hervey <edward@fluendo.com>
21748 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21749 Check if we are doing a segment seek and have arrived at the
21750 end of that segment.
21752 2005-11-04 Wim Taymans <wim@fluendo.com>
21754 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21755 Don't leak a mutex unlock in case of an error.
21760 2005-11-04 Wim Taymans <wim@fluendo.com>
21762 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21764 Get the context to wake up only once.
21766 2005-11-03 Wim Taymans <wim@fluendo.com>
21768 * check/states/sinks.c: (GST_START_TEST):
21769 Uncomment fixed check.
21771 * docs/design/part-TODO.txt:
21774 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21775 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21776 (gst_base_sink_get_position):
21777 If we are going to PLAYING, post the right pending state
21778 when we post the intermediate paused message.
21780 * gst/gstelement.c: (gst_element_continue_state),
21781 (gst_element_set_state_func), (gst_element_change_state):
21782 Don't post state changes that were between the same state
21783 and were not ASYNC.
21785 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21787 * docs/gst/gstreamer-sections.txt:
21790 * gst/gstminiobject.h:
21793 more docs and doc style fixes
21795 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21797 * docs/gst/gstreamer-sections.txt:
21798 * gst/gstelement.c:
21799 * gst/gstminiobject.c:
21802 2005-11-03 Andy Wingo <wingo@pobox.com>
21804 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21805 state-changed messages actually have the right order and the right
21808 2005-11-03 Wim Taymans <wim@fluendo.com>
21810 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21811 Added some more checks. Specifically the case where NO_PREROLL
21812 elements are in the pipeline.
21814 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21815 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21816 (gst_base_sink_get_position):
21817 Post READY->PAUSED state change messages too.
21818 Fix bug where VOID was posted as pending state...
21820 * gst/gstbin.c: (gst_bin_recalc_state):
21821 use _element_continue_state() to continue the state change.
21823 * gst/gstelement.c: (gst_element_continue_state),
21824 (gst_element_commit_state), (gst_element_set_state_func),
21825 (gst_element_change_state), (gst_element_change_state_func):
21826 Lots of state change cleanups, assign the STATE_RETURN in
21827 a new continue_state() function that also propagates the
21828 last return value from a state change to the app.
21829 Update some debug statements with proper category.
21831 2005-11-03 Wim Taymans <wim@fluendo.com>
21833 * docs/design/part-events.txt:
21834 * docs/design/part-gstpipeline.txt:
21835 * docs/design/part-messages.txt:
21836 * docs/design/part-overview.txt:
21837 * docs/design/part-seeking.txt:
21838 * docs/design/part-states.txt:
21839 * docs/design/part-trickmodes.txt:
21840 * docs/manual/advanced-position.xml:
21841 Small docs updates.
21844 People think !! is ugly, this looks better.
21846 * gst/gstpad.c: (gst_pad_set_blocked_async):
21847 Remove !! since it's fixed elsewhere now.
21849 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21851 * gst/gstminiobject.h:
21853 Add !! to _FLAG_IS_SET macros to make the result boolean.
21855 2005-11-03 Edward Hervey <edward@fluendo.com>
21857 * gst/gstpad.c: (gst_pad_set_blocked_async):
21858 comparing a flag and a gboolean rarely returns coherent results...
21859 Added two characters (!!) to make that work correctly.
21861 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21863 * gst/gstbus.c: (gst_bus_class_init):
21866 * gst/gstqueue.c: (gst_queue_loop):
21867 Don't assume a miniobject that isn't a buffer is an
21868 event (it could be that there is a refcounting
21869 problem somewhere and the pointer is stale and
21870 refers to an already destroyed miniobject).
21872 2005-11-03 Julien MOUTTE <julien@moutte.net>
21874 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21876 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21878 * docs/manual/advanced-position.xml:
21879 Update seek example and explanations to current 0.9 API.
21881 * gst/elements/gsttypefindelement.c:
21882 (gst_type_find_element_activate):
21883 Remove FIXME comment now that the found caps
21886 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21888 * gst/gstregistryxml.c: (load_feature):
21889 Add another GST_STR_NULL instance
21891 2005-11-02 Edward Hervey <edward@fluendo.com>
21893 * gst/gstpad.c: (handle_pad_block):
21894 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21896 2005-11-02 Wim Taymans <wim@fluendo.com>
21901 * gst/gstelement.c: (gst_element_commit_state):
21902 Remove unused value.
21904 * gst/gstiterator.c:
21905 Mention that the returned element is reffed in the docs.
21907 2005-11-02 Wim Taymans <wim@fluendo.com>
21909 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21910 (gst_pad_push), (gst_pad_push_event):
21911 Unlock blocked pads when they are flushed.
21913 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21916 * docs/gst/gstreamer-sections.txt:
21919 * gst/gstregistry.c: (gst_registry_scan_path_level):
21920 fix for a nasty little missed situation where an installed plug-in
21921 which was in the cache did not get overridden by an uninstalled one
21922 which was earlier in the plugin path because the newly created plugin
21923 for the uninstalled one (not in the registry) didn't get its
21924 ->registered set to TRUE
21926 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21928 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21929 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21930 (gst_collectpads_is_active), (gst_collectpads_collect),
21931 (gst_collectpads_collect_range), (gst_collectpads_start),
21932 (gst_collectpads_stop), (gst_collectpads_peek),
21933 (gst_collectpads_pop), (gst_collectpads_available),
21934 (gst_collectpads_read), (gst_collectpads_flush):
21935 Guard public API with assertions.
21938 Fix docs for gst_pad_set_link_function().
21940 2005-11-02 Johan Dahlin <johan@gnome.org>
21942 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21943 Unref found_caps after we used it.
21945 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21947 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21948 Don't try to ref NULL.
21950 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21952 * win32/common/config.h.in:
21953 provide a GST_FUNCTION that just gives a string for now
21955 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21957 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21958 (gst_object_flags_get_type), (register_gst_bin_flags),
21959 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21960 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21961 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21962 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21963 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21964 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21965 (gst_clock_flags_get_type), (register_gst_state),
21966 (gst_state_get_type), (register_gst_state_change_return),
21967 (gst_state_change_return_get_type), (register_gst_state_change),
21968 (gst_state_change_get_type), (register_gst_element_flags),
21969 (gst_element_flags_get_type), (register_gst_core_error),
21970 (gst_core_error_get_type), (register_gst_library_error),
21971 (gst_library_error_get_type), (register_gst_resource_error),
21972 (gst_resource_error_get_type), (register_gst_stream_error),
21973 (gst_stream_error_get_type), (register_gst_event_type),
21974 (gst_event_type_get_type), (register_gst_seek_type),
21975 (gst_seek_type_get_type), (register_gst_seek_flags),
21976 (gst_seek_flags_get_type), (register_gst_format),
21977 (gst_format_get_type), (register_gst_index_certainty),
21978 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21979 (gst_index_entry_type_get_type),
21980 (register_gst_index_lookup_method),
21981 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21982 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21983 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21984 (gst_index_flags_get_type), (register_gst_debug_level),
21985 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21986 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21987 (gst_iterator_result_get_type), (register_gst_iterator_item),
21988 (gst_iterator_item_get_type), (register_gst_message_type),
21989 (gst_message_type_get_type), (register_gst_mini_object_flags),
21990 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21991 (gst_pad_link_return_get_type), (register_gst_flow_return),
21992 (gst_flow_return_get_type), (register_gst_activate_mode),
21993 (gst_activate_mode_get_type), (register_gst_pad_direction),
21994 (gst_pad_direction_get_type), (register_gst_pad_flags),
21995 (gst_pad_flags_get_type), (register_gst_pad_presence),
21996 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21997 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21998 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21999 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22000 (gst_plugin_flags_get_type), (register_gst_rank),
22001 (gst_rank_get_type), (register_gst_query_type),
22002 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22003 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22004 (gst_tag_flag_get_type), (register_gst_task_state),
22005 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22006 (gst_alloc_trace_flags_get_type),
22007 (register_gst_type_find_probability),
22008 (gst_type_find_probability_get_type), (register_gst_uri_type),
22009 (gst_uri_type_get_type), (register_gst_parse_error),
22010 (gst_parse_error_get_type):
22011 * win32/common/gstversion.h:
22012 update win32 copies
22014 2005-11-01 Luca Ognibene <luogni@tin.it>
22017 fix docs. popt is dead, long live GOption.
22019 2005-10-31 Wim Taymans <wim@fluendo.com>
22024 2005-10-31 Andy Wingo <wingo@pobox.com>
22028 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22030 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22031 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22032 the possibility of deadlocks here if code calling notify() or
22033 set() has a lock that can be taken in another notify handler (ABBA
22034 with class lock and e.g. python GIL state lock).
22036 2005-10-28 Julien MOUTTE <julien@moutte.net>
22038 * gst/gstbus.c: Doc updates.
22040 2005-10-28 Wim Taymans <wim@fluendo.com>
22042 * docs/design/part-TODO.txt:
22043 * gst/gstiterator.c:
22044 * gst/gstsystemclock.c:
22045 * gst/gstsystemclock.h:
22048 2005-10-28 Edward Hervey <edward@fluendo.com>
22050 * docs/gst/gstreamer-docs.sgml:
22051 * docs/gst/gstreamer-sections.txt:
22052 the GstURIType documentation page is private, it only defines GstURIType
22053 which should be defined in the GstURIHandler page
22055 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22057 * gst/gstbin.c: (gst_bin_class_init):
22060 Documentation updates.
22062 2005-10-28 Wim Taymans <wim@fluendo.com>
22064 * docs/gst/gstreamer-sections.txt:
22067 Documented the clocks.
22069 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22071 * docs/gst/gstreamer-sections.txt:
22072 move some macros to private sections
22073 * gst/gstminiobject.c:
22074 * gst/gstminiobject.h:
22075 add descriptions provided by ds and some more
22077 mark macro as to be removed
22079 2005-10-28 Wim Taymans <wim@fluendo.com>
22081 * docs/design/part-TODO.txt:
22082 Add an item to TODO.
22084 * gst/gstiterator.c: (gst_iterator_fold),
22085 (gst_iterator_find_custom):
22086 * gst/gstiterator.h:
22089 2005-10-28 Wim Taymans <wim@fluendo.com>
22091 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22092 (gst_base_transform_init):
22095 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22096 An EOS event marks the queue as completely filled.
22098 2005-10-27 Wim Taymans <wim@fluendo.com>
22100 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22101 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22102 Some more debugging.
22104 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22105 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22106 (gst_base_transform_event), (gst_base_transform_getrange),
22107 (gst_base_transform_chain):
22108 * gst/base/gstbasetransform.h:
22110 Protect transform and concurrent buffer alloc with a new lock.
22111 Try not to break ABI/API.
22113 2005-10-27 Wim Taymans <wim@fluendo.com>
22115 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22116 (gst_base_src_init), (gst_base_src_query),
22117 (gst_base_src_default_newsegment),
22118 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22119 (gst_base_src_send_event), (gst_base_src_event_handler),
22120 (gst_base_src_pad_get_range), (gst_base_src_loop),
22121 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22122 (gst_base_src_start), (gst_base_src_deactivate),
22123 (gst_base_src_activate_push), (gst_base_src_change_state):
22124 Move some stuff around and cleanup things.
22126 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22128 * gst/base/gstbasesrc.c: (gst_base_src_query):
22129 Add missing break statements.
22131 2005-10-27 Wim Taymans <wim@fluendo.com>
22133 * check/gst/gstbin.c: (GST_START_TEST):
22134 An extra refcount is taken in basesrc.
22136 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22137 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22138 (gst_base_src_loop):
22139 Small cleanups, check for flushing after being unlocked from the
22140 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22141 Don't send out EOS when going to READY.
22143 2005-10-27 Wim Taymans <wim@fluendo.com>
22145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22146 (gst_base_sink_get_position):
22149 * gst/gstbin.c: (message_check), (bin_replace_message),
22150 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22151 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22152 (bin_query_duration_init), (bin_query_duration_fold),
22153 (bin_query_duration_done), (bin_query_generic_fold),
22155 * tools/gst-launch.c: (main):
22158 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22160 * examples/controller/audio-example.c: (main):
22161 * examples/queue/queue.c: (event_loop):
22162 * gst/base/gstbasetransform.h:
22163 * gst/gstelement.c: (gst_element_send_event):
22165 * gst/gstpad.c: (gst_pad_send_event):
22168 changing log priority in error situations
22170 2005-10-25 Wim Taymans <wim@fluendo.com>
22172 * gst/gstbin.c: (message_check), (bin_replace_message),
22173 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22174 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22175 (bin_query_duration_init), (bin_query_duration_fold),
22176 (bin_query_duration_done), (bin_query_generic_fold),
22178 Some doc and debug updates.
22179 Cache previously requested query DURATION for speed. invalidate
22180 cached duration if element posts a DURATION message.
22182 2005-10-25 Wim Taymans <wim@fluendo.com>
22184 * docs/design/part-TODO.txt:
22187 * gst/gstbin.c: (message_check), (bin_replace_message),
22188 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22189 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22190 (bin_query_duration_init), (bin_query_duration_fold),
22191 (bin_query_duration_done), (bin_query_generic_fold),
22193 Handle SEGMENT_START/DONE messages correctly.
22194 More evolved query algorithm that handles duration queries
22197 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22198 (gst_element_get_state_func), (gst_element_abort_state),
22199 (gst_element_commit_state), (gst_element_lost_state):
22200 Some more debugging.
22202 * gst/gstmessage.h:
22205 2005-10-25 Wim Taymans <wim@fluendo.com>
22207 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22208 Don't use invalid stream_time.
22210 * gst/gstevent.c: (gst_event_new_newsegment):
22211 stream_time in newsegment cannot be undefined.
22213 2005-10-24 Wim Taymans <wim@fluendo.com>
22218 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22220 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22222 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22224 * docs/libs/tmpl/gstdparam.sgml:
22225 * docs/libs/tmpl/gstdplinint.sgml:
22226 * docs/libs/tmpl/gstdpman.sgml:
22227 * docs/libs/tmpl/gstdpsmooth.sgml:
22228 * docs/libs/tmpl/gstunitconvert.sgml:
22231 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22236 === release 0.9.4 ===
22238 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22241 releasing 0.9.4, "Tyrannosaurus Rex"
22243 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22245 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22246 (gst_file_sink_get_current_offset):
22247 Use fseeko() and ftello() if available. When falling back on
22248 lseek() to get the current offset, fflush() first to make sure
22249 everything is up-to-date and we get the right offset.
22251 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22253 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22254 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22255 * gst/gsterror.c: (_gst_stream_errors_init):
22257 * gst/gstqueue.c: (gst_queue_loop):
22259 remove prematurely added error category and clean up the instances
22261 2005-10-21 Wim Taymans <wim@fluendo.com>
22263 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22264 (gst_base_sink_get_position), (gst_base_sink_query),
22265 (gst_base_sink_change_state):
22266 Simply set the right flag when going to playing, that's all
22267 we need to do instead of calling a function inside the object
22268 lock (that could take the lock as well and deadlock)
22270 2005-10-21 Wim Taymans <wim@fluendo.com>
22272 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22273 (gst_base_src_loop):
22274 Don't warn, the peer element knows what to do best when
22275 the seek failed, it might try something else.
22277 2005-10-21 Wim Taymans <wim@fluendo.com>
22279 * gst/base/gstbasesrc.c: (gst_base_src_init),
22280 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22283 2005-10-21 Wim Taymans <wim@fluendo.com>
22285 * docs/design/part-segments.txt:
22288 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22289 Correctly set caps, even on the subbufer.
22291 2005-10-21 Wim Taymans <wim@fluendo.com>
22293 * docs/gst/gstreamer-docs.sgml:
22294 * docs/gst/gstreamer-sections.txt:
22295 * gst/gstelement.h:
22298 * gst/gstmessage.h:
22301 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22305 And 2% more doc coverage.
22307 2005-10-21 Andy Wingo <wingo@pobox.com>
22309 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22310 position reporting.
22312 2005-10-20 Wim Taymans <wim@fluendo.com>
22314 * gst/gsterror.c: (gst_error_get_message):
22317 * gst/gststructure.c:
22322 2005-10-20 Wim Taymans <wim@fluendo.com>
22327 Another 1% more coverage.
22329 2005-10-20 Wim Taymans <wim@fluendo.com>
22331 * docs/gst/gstreamer-sections.txt:
22332 * gst/gstelement.c: (gst_element_get_state_func),
22333 (gst_element_abort_state), (gst_element_commit_state),
22334 (gst_element_lost_state):
22336 * gst/gstquery.c: (gst_query_set_position),
22337 (gst_query_parse_position), (gst_query_set_duration),
22338 (gst_query_parse_duration), (gst_query_new_convert):
22340 Yay! 1% more docs coverage.
22342 2005-10-20 Wim Taymans <wim@fluendo.com>
22345 * gst/gstquery.c: (gst_query_set_position),
22346 (gst_query_parse_position), (gst_query_set_duration),
22347 (gst_query_parse_duration), (gst_query_new_convert):
22349 * gst/gstutils.c: (gst_element_query_convert):
22351 Docs and consistency fixes.
22353 2005-10-20 Wim Taymans <wim@fluendo.com>
22359 2005-10-20 Wim Taymans <wim@fluendo.com>
22361 * gst/gstbin.c: (message_check), (bin_replace_message),
22362 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22363 (update_degree), (gst_bin_sort_iterator_next),
22364 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22365 Reworked the message handling a bit, cache the messages instead of
22366 only the senders. alows us to do more in the future.
22368 2005-10-20 Wim Taymans <wim@fluendo.com>
22370 * docs/design/part-TODO.txt:
22373 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22374 (gst_base_sink_query):
22375 Don't use clock time to report position when in EOS.
22377 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22379 * tools/gst-inspect.c: (print_interfaces),
22380 (print_element_properties_info), (print_element_info):
22381 Fix interface output with gst-inspect -a; don't print
22382 newlines after double/float properties.
22384 2005-10-20 Wim Taymans <wim@fluendo.com>
22386 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22387 (gst_base_sink_query):
22388 Speed up current position calculation.
22390 * gst/base/gstbasesrc.c: (gst_base_src_query),
22391 (gst_base_src_default_newsegment):
22392 Correctly set stream position in newsegment.
22394 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22395 (update_degree), (gst_bin_sort_iterator_next),
22396 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22397 * gst/gstmessage.c: (gst_message_new_custom):
22398 Clean up debugging info
22400 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22401 (gst_queue_loop), (gst_queue_handle_src_query):
22404 2005-10-19 Wim Taymans <wim@fluendo.com>
22406 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22407 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22408 Fix query handling again.
22410 2005-10-19 Wim Taymans <wim@fluendo.com>
22412 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22413 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22414 * gst/base/gstbasesrc.c: (gst_base_src_query):
22415 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22416 * gst/elements/gsttypefindelement.c:
22417 (gst_type_find_handle_src_query), (find_element_get_length),
22418 (gst_type_find_element_activate):
22421 * gst/gstquery.c: (gst_query_new_position),
22422 (gst_query_set_position), (gst_query_parse_position),
22423 (gst_query_new_duration), (gst_query_set_duration),
22424 (gst_query_parse_duration), (gst_query_set_segment),
22425 (gst_query_parse_segment):
22427 Bundling query position/duration is not a good idea since duration
22428 does not change much and we don't want to recalculate it for every
22429 position query, so they are separated again..
22430 Base value in segment query is not needed.
22432 * gst/gstqueue.c: (gst_queue_handle_src_query):
22433 * gst/gstutils.c: (gst_element_query_position),
22434 (gst_element_query_duration), (gst_pad_query_position),
22435 (gst_pad_query_duration):
22437 Updates for query API change.
22438 Added some docs here and there.
22440 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22442 * check/gst/gstbin.c: (GST_START_TEST):
22443 * check/gst/gstghostpad.c: (GST_START_TEST):
22444 * check/pipelines/cleanup.c: (GST_START_TEST):
22445 wait on thread to die so we can check refcount correctly
22447 2005-10-18 Wim Taymans <wim@fluendo.com>
22449 * check/pipelines/stress.c: (GST_START_TEST):
22450 Make check a little more time consuming.
22452 2005-10-18 Wim Taymans <wim@fluendo.com>
22454 * check/Makefile.am:
22455 * check/pipelines/stress.c: (GST_START_TEST),
22456 (simple_launch_lines_suite), (main):
22457 Small state change torture test.
22459 * docs/design/part-states.txt:
22460 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22461 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22462 (gst_base_sink_change_state):
22463 Never take state lock from streaming thread, clean up ugly
22464 hacks. Unfortunatly core does not yet support nice ways to
22465 async commit state.
22467 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22469 Start state recalc if a STATE_DIRTY message is posted, but only
22470 on the toplevel bin.
22472 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22473 (gst_element_get_state_func), (gst_element_abort_state),
22474 (gst_element_commit_state), (gst_element_lost_state),
22475 (gst_element_set_state_func), (gst_element_change_state):
22476 * gst/gstelement.h:
22477 State variables are now protected with the LOCK, the state
22478 lock is only used to serialize _set_state().
22480 2005-10-18 Wim Taymans <wim@fluendo.com>
22482 * check/gst/gstbin.c: (GST_START_TEST):
22483 * check/gst/gstmessage.c: (GST_START_TEST):
22484 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22485 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22487 * gst/gstelement.c: (gst_element_abort_state),
22488 (gst_element_commit_state), (gst_element_lost_state):
22489 * gst/gstmessage.c: (gst_message_new_state_changed),
22490 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22491 (gst_message_new_segment_done), (gst_message_new_duration),
22492 (gst_message_parse_state_changed),
22493 (gst_message_parse_segment_start),
22494 (gst_message_parse_segment_done), (gst_message_parse_duration):
22495 * gst/gstmessage.h:
22496 * tools/gst-launch.c: (event_loop):
22497 Seriously, this is better than a previous commit as we only need
22498 to notify the fact that an element changed state in a streaming
22499 thread, marking the state of the parents dirty, hence the
22500 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22503 2005-10-18 Wim Taymans <wim@fluendo.com>
22505 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22506 (gst_bin_recalc_func):
22507 * gst/gstelement.c: (gst_element_set_clock),
22508 (gst_element_abort_state), (gst_element_lost_state):
22509 Cleanups, prepare for state change fixes.
22511 2005-10-18 Wim Taymans <wim@fluendo.com>
22514 * gst/gstelement.c: (gst_element_class_init),
22515 (gst_element_set_state), (gst_element_set_state_func):
22516 * gst/gstelement.h:
22517 Pending ABI changes.
22518 GThreadPool in GstBinClass to monitor async state changes.
22519 state_cookie in GstElement to detect concurrent gst/set state.
22520 set_state is now virtual too in case a very complicated element
22521 has to be constructed.
22523 2005-10-18 Wim Taymans <wim@fluendo.com>
22525 * check/gst/gstbin.c: (GST_START_TEST):
22526 * check/gst/gstmessage.c: (GST_START_TEST):
22527 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22528 * gst/gstbin.c: (bin_bus_handler):
22529 * gst/gstelement.c: (gst_element_commit_state),
22530 (gst_element_lost_state):
22531 * gst/gstmessage.c: (gst_message_new_state_changed),
22532 (gst_message_new_segment_start), (gst_message_new_segment_done),
22533 (gst_message_new_duration), (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 Make messages future proof.
22539 state-change gets a flag if it was a message comming from the
22541 segment-start/stop can also be specified in other formats.
22542 A message to notify an app that a pipeline changed playback
22544 Also fix a GstMessage leak in -launch
22546 2005-10-18 Andy Wingo <wingo@pobox.com>
22548 * gst/gstelement.c (gst_element_dispose): More helpful message.
22550 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22552 reviewed by: <delete if not using a buddy>
22554 * common/gtk-doc.mak:
22556 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22558 * gst/gstregistry.c: (gst_registry_scan_path_level):
22559 unref a plug-in we get that was already initialized
22561 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22563 * docs/gst/gstreamer-sections.txt:
22564 * docs/libs/gstreamer-libs-sections.txt:
22565 * gst/gstelement.h:
22566 add new api entries
22567 hide internal macro
22569 2005-10-17 Andy Wingo <wingo@pobox.com>
22571 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22574 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22576 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22578 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22579 (gst_element_get_state_func): Better debug message.
22580 (gst_element_commit_state): s/INFO/DEBUG/.
22581 (gst_element_lost_state, gst_element_change_state):
22583 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22584 (gst_message_new_custom): s/INFO/LOG/.
22586 2005-10-17 Michael Smith <msmith@fluendo.com>
22588 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22589 Check if end time is valid using end time, not start time.
22591 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22593 * check/gst-libs/controller.c: (GST_START_TEST),
22594 (gst_controller_suite):
22595 * libs/gst/controller/gstcontroller.c:
22596 (gst_controlled_property_set_interpolation_mode):
22597 * libs/gst/controller/gstcontroller.h:
22598 * libs/gst/controller/gstinterpolation.c:
22599 * testsuite/controller/.cvsignore:
22600 * testsuite/controller/Makefile.am:
22601 * testsuite/controller/interpolator.c:
22602 merge controller testsuites
22604 remove mem-chunk from docs
22606 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22608 * gst/gstmemchunk.c:
22609 * gst/gstmemchunk.h:
22610 * gst/gsttrashstack.c:
22611 * gst/gsttrashstack.h:
22612 out. get out. you're fired. to the Attic !
22614 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22616 * gst/gstcaps.c: (gst_caps_intersect):
22617 fix signedness issues in a (hopefully) correct way
22618 * gst/gstelement.c: (gst_element_pads_activate):
22620 * gst/gstobject.c: (gst_object_set_parent):
22623 2005-10-17 Julien MOUTTE <julien@moutte.net>
22625 * gst/gstvalue.h: Fix prototypes.
22627 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22629 * docs/gst/gstreamer-sections.txt:
22630 * gst/gst.c: (gst_version_string):
22632 * gst/gstversion.h.in:
22633 * win32/common/libgstreamer.def:
22634 add gst_version_string ()
22636 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22640 * gst/gst.c: (init_post):
22641 * win32/common/config.h.in:
22643 * gst/gstcaps.c: (gst_caps_intersect):
22644 use gint64, the range could be bigger than a guint
22646 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22649 document potential problem in 2038
22651 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22653 * gst/gstcaps.c: (gst_caps_intersect):
22654 Fix guint j diving under 0
22656 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22659 * win32/common/config.h:
22660 * win32/common/config.h.in:
22661 check for process.h, declares getpid() on Windows
22663 include process.h if we have it
22664 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22665 * gst/gstmemchunk.h:
22666 fix signedness issues
22667 * win32/common/libgstreamer.def:
22670 2005-10-16 Julien MOUTTE <julien@moutte.net>
22672 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22673 fix. Because of unsigned ints, caps intersection was going nuts and
22674 trying to access structures with G_MAXUINT index. That fixes
22675 videotestsrc ! ffmpegcolorspace ! fakesink
22676 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22679 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22682 use the gettext macro
22683 * gst/elements/gstelements.c:
22685 * gst/indexers/gstindexers.c:
22686 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22687 * win32/common/config.h:
22689 * win32/common/config.h.in:
22690 add the template to generate config.h
22691 * win32/common/gstenumtypes.c:
22692 * win32/common/gstversion.h:
22695 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22697 * gst/gst.c: (gst_version):
22698 * gst/gstversion.h.in:
22701 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22704 Oops, add missing closing bracket.
22706 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22709 use common m4's for argument checking
22711 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22713 * docs/gst/gstreamer-sections.txt:
22715 Add GST_EVENT_TYPE_NAME() macro.
22717 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22720 * gst/gstpluginfeature.c:
22722 privatize more symbols
22724 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22727 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22728 everything that uses GStreamer API should have the includes
22730 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22732 * docs/gst/gstreamer-sections.txt:
22733 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22735 give each value a _get_type, removes the DATA exports
22737 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22741 remove _gst_registry_auto_load, not used anymore
22742 * gst/gstbin.c: (gst_bin_get_type):
22744 * gst/gstelement.c: (gst_element_get_type):
22745 * gst/gstelement.h:
22746 * gst/gstobject.c: (gst_object_get_type):
22748 * gst/gstpad.c: (gst_pad_get_type):
22750 make _get_type functions similar, fixes data export from library
22752 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22755 correctly make conditionals
22756 * gst/elements/Makefile.am:
22757 * gst/elements/gstelements.c:
22758 fix typo causing fdsrc not to build
22760 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22762 * testsuite/Makefile.am:
22763 * testsuite/bytestream/.cvsignore:
22764 * testsuite/bytestream/Makefile.am:
22765 * testsuite/bytestream/filepadsink.c:
22766 * testsuite/bytestream/gstbstest.c:
22767 * testsuite/bytestream/test1.c:
22768 * testsuite/bytestream/testfile1:
22769 * testsuite/caps/normalisation.c:
22770 * testsuite/caps/random.c: (main):
22771 * testsuite/cleanup/.cvsignore:
22772 * testsuite/cleanup/Makefile.am:
22773 * testsuite/cleanup/cleanup1.c:
22774 * testsuite/cleanup/cleanup2.c:
22775 * testsuite/cleanup/cleanup3.c:
22776 * testsuite/cleanup/cleanup4.c:
22777 * testsuite/cleanup/cleanup5.c:
22778 * testsuite/controller/interpolator.c:
22779 * testsuite/debug/printf_extension.c: (main):
22780 * testsuite/elements/tee.c:
22781 * testsuite/negotiation/.cvsignore:
22782 * testsuite/negotiation/Makefile.am:
22783 * testsuite/negotiation/pad_link.c:
22784 * testsuite/pad/Makefile.am:
22785 * testsuite/pad/chainnopull.c:
22786 * testsuite/pad/getnopush.c:
22787 * testsuite/pad/link.c:
22788 * testsuite/refcounting/sched.c: (create_pipeline):
22789 * testsuite/registry/Makefile.am:
22790 * testsuite/registry/gst-print-formats.c:
22791 * testsuite/schedulers/.cvsignore:
22792 * testsuite/schedulers/142183-2.c:
22793 * testsuite/schedulers/142183.c:
22794 * testsuite/schedulers/143777-2.c:
22795 * testsuite/schedulers/143777.c:
22796 * testsuite/schedulers/147713.c:
22797 * testsuite/schedulers/147819.c:
22798 * testsuite/schedulers/147894-2.c:
22799 * testsuite/schedulers/147894.c:
22800 * testsuite/schedulers/Makefile.am:
22801 * testsuite/schedulers/group_link.c:
22802 * testsuite/schedulers/queue_link.c:
22803 * testsuite/schedulers/relink.c:
22804 * testsuite/schedulers/unlink.c:
22805 * testsuite/schedulers/unref.c:
22806 * testsuite/schedulers/useless_iteration.c:
22807 * testsuite/states/bin.c:
22808 clean out/remove some stuff from the testsuite directories
22810 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22813 check for some headers
22814 * gst/elements/Makefile.am:
22815 * gst/elements/gstelements.c:
22816 don't compile fdsrc without sys/socket.h
22817 * gst/indexers/Makefile.am:
22818 * gst/indexers/gstindexers.c: (plugin_init):
22819 don't compile fileindex without mmap
22821 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22828 * check/Makefile.am:
22829 * docs/gst/Makefile.am:
22830 * examples/helloworld/Makefile.am:
22832 * gst/base/Makefile.am:
22833 * gst/check/Makefile.am:
22834 * gst/elements/Makefile.am:
22835 * gst/indexers/Makefile.am:
22836 * gst/parse/Makefile.am:
22837 * libs/gst/controller/Makefile.am:
22838 * libs/gst/dataprotocol/Makefile.am:
22839 * examples/helloworld/helloworld.c: (event_loop):
22840 compile fixes, though it's not being compiled currently
22842 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22844 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22845 Add some simple tests for the new taglist date API.
22847 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22849 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22850 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22851 Beautify 'last-message' output: print 'none' for buffer timestamps
22852 and durations if none is set; improve alignment with next messages.
22854 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22856 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22857 * gst/gstpluginfeature.h:
22858 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22859 * gst/gstregistry.h:
22860 * docs/gst/gstreamer-sections.txt:
22861 Add new API to check plugin feature version requirements.
22863 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22864 Some basic tests for the above.
22866 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22868 * gst/gststructure.c: (gst_structure_to_string):
22869 guard against NULL printf - happens when for example
22870 a message structure with GstClock gets serialized
22872 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22874 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22875 Fix presumable copy'n'pasto.
22877 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22879 * gst/elements/gstfakesrc.h:
22880 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22881 * gst/elements/gsttypefindelement.c:
22882 fix some signedness
22883 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22884 I wonder if this could actually write +2GB files before
22886 2005-10-13 Andy Wingo <wingo@pobox.com>
22888 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22889 Fix Timmeke Waymans bug.
22890 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22891 string of the proper length to gst_caps_from_string. There's a
22892 potential for, before this fix, that this could cause someone
22893 connecting over the network to cause a segfault if the payload is
22894 not NUL-terminated.
22896 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22898 * docs/design/draft-push-pull.txt:
22899 * docs/design/part-overview.txt:
22900 * docs/random/TODO-pre-0.9:
22901 * docs/random/old/ChangeLog.gstreamer:
22902 * gst/base/gstpushsrc.c:
22906 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22908 * gst/glib-compat.c: (gst_flags_get_first_value):
22909 * gst/glib-compat.h:
22910 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22911 (gst_value_compare_double), (gst_value_serialize_flags):
22912 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22915 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22918 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22920 * tools/gst-launch.c: (event_loop):
22921 print out clock nicely
22923 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22925 * docs/gst/gstreamer-sections.txt:
22926 * gst/gsttaglist.h:
22927 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22928 (gst_tag_list_get_date_index):
22929 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22930 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22932 2005-10-13 Julien MOUTTE <julien@moutte.net>
22934 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22935 (gst_collectpads_chain):
22936 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22939 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22941 * docs/gst/gstreamer-sections.txt:
22944 * tools/gst-inspect.c: (main):
22945 * tools/gst-launch.c: (main):
22946 * tools/gst-run.c: (main):
22947 * tools/gst-xmlinspect.c: (main):
22948 fix GOption context leaks
22951 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22955 * win32/common/config.h:
22957 * win32/vs6/grammar.dsp:
22958 * win32/vs6/libgstelements.dsp:
22959 * win32/vs6/libgstreamer.dsp:
22962 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22965 * gst/base/gstbasesrc.c: (gst_base_src_query):
22966 fix more guint64<->gdouble conversions
22968 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22971 add win32-update target
22972 * win32/common/gstconfig.h:
22973 * win32/common/gstenumtypes.c:
22974 * win32/common/gstenumtypes.h:
22975 * win32/common/gstversion.h:
22976 add files that visual studio can't generate
22978 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22981 add a win32-update target
22984 2005-10-12 Wim Taymans <wim@fluendo.com>
22986 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22987 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22988 * gst/gstelement.c: (gst_element_commit_state),
22989 (gst_element_set_state):
22990 Protect flags with proper lock.
22991 unref provided cached clock in dispose.
22993 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22996 * gst/gstminiobject.h:
22998 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22999 removed unused flags from miniobject
23002 2005-10-12 Wim Taymans <wim@fluendo.com>
23004 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23005 (gst_file_sink_event), (gst_file_sink_render):
23006 Flush before seeking.
23008 2005-10-12 Andy Wingo <wingo@pobox.com>
23010 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23011 always been the case.
23013 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23015 * check/gst/gstbin.c: (GST_START_TEST):
23016 * docs/gst/gstreamer-sections.txt:
23017 * gst/base/gstbasesink.c: (gst_base_sink_init):
23018 * gst/base/gstbasesrc.c: (gst_base_src_init),
23019 (gst_base_src_get_range), (gst_base_src_check_get_range),
23020 (gst_base_src_start), (gst_base_src_stop):
23021 * gst/base/gstbasesrc.h:
23022 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23023 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23024 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23028 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23030 * gst/gstelement.c: (gst_element_is_locked_state),
23031 (gst_element_set_locked_state), (gst_element_commit_state),
23032 (gst_element_set_state):
23033 * gst/gstelement.h:
23034 * gst/gstindex.c: (gst_index_init):
23036 * gst/gstminiobject.h:
23037 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23038 (gst_object_set_parent):
23040 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23041 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23043 * gst/gstpadtemplate.h:
23044 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23045 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23046 * gst/gstpipeline.h:
23047 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23048 (gst_file_index_commit):
23049 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23050 * testsuite/pad/link.c: (gst_test_src_init),
23051 (gst_test_filter_init), (gst_test_sink_init):
23052 * testsuite/states/locked.c: (main):
23053 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23054 moved bitshift from macro to enum definition
23056 2005-10-12 Wim Taymans <wim@fluendo.com>
23058 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23059 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23060 (gst_file_sink_render):
23061 Some more debugging info.
23063 2005-10-12 Wim Taymans <wim@fluendo.com>
23065 * docs/design/part-states.txt:
23066 * tools/gst-launch.c: (main):
23068 Revert non-intentional change.
23070 2005-10-12 Wim Taymans <wim@fluendo.com>
23072 * check/gst/gstbin.c: (GST_START_TEST):
23073 * check/gst/gstelement.c: (GST_START_TEST):
23074 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23075 * check/gst/gstghostpad.c: (GST_START_TEST):
23076 * check/gst/gstpipeline.c: (GST_START_TEST):
23077 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23078 * check/states/sinks.c: (GST_START_TEST):
23079 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23080 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23081 (gst_bin_remove_func), (gst_bin_get_state_func),
23082 (gst_bin_recalc_state), (gst_bin_change_state_func),
23084 * gst/gstelement.c: (gst_element_get_state_func),
23085 (gst_element_get_state), (gst_element_abort_state),
23086 (gst_element_commit_state), (gst_element_set_state),
23087 (gst_element_change_state), (gst_element_change_state_func):
23088 * gst/gstelement.h:
23089 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23090 (gst_pipeline_provide_clock_func):
23091 * gst/gstutils.c: (gst_element_link_pads_filtered):
23092 * tools/gst-launch.c: (main):
23093 * tools/gst-typefind.c: (main):
23094 Use GstClockTime in _get_state() instead of GTimeVal.
23095 Remove old code in gstutils.c
23097 2005-10-12 Andy Wingo <wingo@pobox.com>
23099 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23102 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23103 there is no task. Shouldn't affect any code, as nothing in our
23104 plugins checks this return value.
23105 (gst_pad_stop_task): Also take the stream lock if the pad has no
23106 task. Docs updated.
23108 2005-10-12 Wim Taymans <wim@fluendo.com>
23110 * gst/gstpad.c: (pre_activate), (post_activate),
23111 (gst_pad_activate_pull), (gst_pad_activate_push):
23112 Cleanup activation code. Reset old state if
23115 2005-10-12 Wim Taymans <wim@fluendo.com>
23117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23118 (gst_base_sink_change_state):
23119 No need to prerol after receiving EOS.
23121 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23122 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23123 * gst/elements/gstidentity.c: (gst_identity_event):
23124 Print events more verbosely.
23126 2005-10-12 Wim Taymans <wim@fluendo.com>
23128 * check/Makefile.am:
23129 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23130 * check/states/sinks2.c:
23131 Moved sinks2 testcode in sinks check.
23133 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23134 (gst_bin_remove_func), (gst_bin_recalc_state),
23135 (gst_bin_change_state_func), (bin_bus_handler):
23136 Fix potential race condition when _get_state() iterated over an
23137 ASYNC element right before it posted a state completion.
23140 Do proper cast here.
23142 * gst/gstevent.c: (gst_event_new_newsegment),
23143 (gst_event_parse_newsegment):
23144 A playback rate of 0.0 is not allowed.
23146 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23148 * win32/common/config.h:
23149 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23150 (_trewinddir), (_ttelldir), (_tseekdir):
23151 * win32/common/dirent.h:
23152 * win32/common/gtchar.h:
23153 * win32/common/libgstbase.def:
23154 * win32/common/libgstreamer.def:
23155 * win32/vs6/grammar.dsp:
23156 * win32/vs6/gst_inspect.dsp:
23157 * win32/vs6/gst_launch.dsp:
23158 * win32/vs6/gstreamer.dsw:
23159 * win32/vs6/libgstbase.dsp:
23160 * win32/vs6/libgstelements.dsp:
23161 * win32/vs6/libgstreamer.dsp:
23162 Visual Studio 6 project files, and a new common directory.
23165 2005-10-11 Wim Taymans <wim@fluendo.com>
23167 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23168 (gst_base_sink_do_sync), (gst_base_sink_query),
23169 (gst_base_sink_change_state):
23170 * gst/base/gstbasesink.h:
23171 Correctly parse newsegment info.
23173 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23175 * gst/gst.c: (init_post):
23176 split plugin paths correctly
23178 2005-10-11 Wim Taymans <wim@fluendo.com>
23180 * check/gst/gstevent.c: (GST_START_TEST):
23181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23182 (gst_base_sink_change_state):
23183 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23184 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23185 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23186 * gst/gstevent.c: (gst_event_new_newsegment),
23187 (gst_event_parse_newsegment):
23189 Added extra flag to newsegment for future API freeze.
23190 Updated check and base elements.
23192 2005-10-11 Julien MOUTTE <julien@moutte.net>
23194 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23195 (gst_collectpads_add_pad), (gst_collectpads_pop),
23196 (gst_collectpads_event), (gst_collectpads_chain):
23197 * gst/base/gstcollectpads.h: Handle EOS correctly.
23199 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23201 * tools/gst-launch.c: (main):
23202 more null protecting
23204 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23206 * gst/gst-i18n-lib.h:
23207 check for ENABLE_NLS, not GETTEXT_PACKAGE
23208 * gst/gstregistry.c: (gst_registry_add_plugin),
23209 (gst_registry_scan_path_level),
23210 (_gst_registry_remove_cache_plugins):
23211 protect possibly NULL strings
23212 * gst/parse/types.h:
23213 config.h already included before
23214 * tools/gst-inspect.c: (main):
23215 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23216 check for ENABLE_NLS, not GETTEXT_PACKAGE
23217 * tools/gst-launch.c: (main):
23218 check for ENABLE_NLS, not GETTEXT_PACKAGE
23220 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23223 if we don't have glib, fail before testing 2.8
23224 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23225 fix a leak, should fix plugins-base testsuite
23227 2005-10-11 Andy Wingo <wingo@pobox.com>
23229 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23230 take the mode we're going to as an arg. Go head and set the mode
23231 and flushing flags now, so that if the activate function starts a
23232 thread all the flags will be in the right state.
23233 (post_activate): Renamed also. Just handle making sure streaming
23234 finishes for the deactivation case, and setting the deactivated
23236 (gst_pad_set_active): Complain loudly if deactivation fails.
23237 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23238 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23239 remove the terrible hack.
23241 2005-10-11 Wim Taymans <wim@fluendo.com>
23243 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23244 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23245 (gst_bin_recalc_state), (gst_bin_change_state_func),
23246 (gst_bin_dispose), (bin_bus_handler):
23248 Prepare to make current EOS message queue more generic.
23251 * gst/gstevent.c: (gst_event_new_newsegment),
23252 (gst_event_parse_newsegment):
23254 Rename base to stream_time.
23256 * gst/gstmessage.h:
23259 2005-10-11 Wim Taymans <wim@fluendo.com>
23261 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23262 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23263 (gst_bin_change_state_func), (bin_bus_handler):
23265 Work on proper clock selection.
23267 2005-10-11 Edward Hervey <edward@fluendo.com>
23269 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23270 * libs/gst/controller/gstcontroller.h:
23271 Added GList* version of _remove_properties() in order to be able to wrap
23274 2005-10-11 Wim Taymans <wim@fluendo.com>
23276 * docs/design/part-states.txt:
23279 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23280 (gst_bin_change_state_func), (bin_bus_handler):
23281 Doc updates. Don't distribute the same clock over and over again.
23287 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23288 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23289 (gst_pad_send_event):
23291 Make probe emission threadsafe again.
23292 Register quarks and move _get_name() from utils.
23295 * gst/gstpipeline.c: (gst_pipeline_class_init),
23296 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23297 Only redistribute the clock of it changed.
23299 * gst/gstsystemclock.h:
23304 Moved the _flow_get_name() to GstPad.
23306 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23308 * check/gst-libs/gdp.c: (GST_START_TEST):
23309 * check/gst/gstcaps.c: (GST_START_TEST):
23310 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23311 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23312 (gst_dp_packet_from_caps):
23313 fix more valgrind warnings before turning up the heat
23315 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23317 * gst/parse/grammar.y:
23318 some cleanup before the hacking
23320 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23322 * gst/base/gstbasesrc.c: (gst_base_src_query):
23324 * gst/gstutils.c: (gst_guint64_to_gdouble),
23325 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23327 externalize, basesrc uses it
23328 obviously the implementation needs testing
23330 2005-10-10 Wim Taymans <wim@fluendo.com>
23332 * tests/sched/Makefile.am:
23333 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23334 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23336 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23338 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23339 apparently converting from guint64 to double is not implemented
23342 2005-10-10 Wim Taymans <wim@fluendo.com>
23344 * check/Makefile.am:
23345 * check/generic/states.c: (GST_START_TEST):
23346 * check/gst/gstbin.c: (GST_START_TEST):
23347 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23348 * check/states/sinks.c: (GST_START_TEST):
23349 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23351 Check fixes, use API as stated in design docs, remove hacks.
23353 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23354 (gst_base_sink_change_state):
23355 Catch stopping our task while we're shutting down.
23357 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23358 (gst_bin_remove_func), (gst_bin_get_state_func),
23359 (gst_bin_recalc_state), (gst_bin_change_state_func),
23362 * gst/gstelement.c: (gst_element_init),
23363 (gst_element_get_state_func), (gst_element_abort_state),
23364 (gst_element_commit_state), (gst_element_lost_state),
23365 (gst_element_set_state), (gst_element_change_state),
23366 (gst_element_change_state_func):
23367 * gst/gstelement.h:
23368 New state change algorithm (see #318116)
23370 * gst/gstpipeline.c: (gst_pipeline_class_init),
23371 (gst_pipeline_init), (gst_pipeline_set_property),
23372 (gst_pipeline_get_property), (do_pipeline_seek),
23373 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23374 * gst/gstpipeline.h:
23375 Remove crude state change hacks.
23378 Remove crude hacks.
23380 * tools/gst-launch.c: (main):
23381 Fixes for state change. Needs some more work to fully use the
23384 2005-10-10 Andy Wingo <wingo@pobox.com>
23386 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23388 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23389 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23392 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23394 * gst/gstiterator.c: (gst_iterator_new):
23395 Fix my previous commit: GTypes passed to gst_iterator_new()
23396 can be fundamental types.
23398 2005-10-10 Wim Taymans <wim@fluendo.com>
23400 * gst/gstelement.c: (gst_element_iterate_pad_list),
23401 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23402 (gst_element_iterate_sink_pads):
23403 Use src/sink pads lists for the respective iterators instead
23406 2005-10-10 Andy Wingo <wingo@pobox.com>
23408 Merged in popt removal + GOption addition patch from Ronald, bug
23411 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23412 GstElement macros around, remove popt-related symbols, add goption
23415 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23417 * docs/gst/Makefile.am:
23418 * docs/libs/Makefile.am: No POPT_CFLAGS.
23420 * examples/manual/Makefile.am:
23421 * docs/manual/basics-init.xml: Doc updates with an example.
23423 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23424 (gst_init), (parse_one_option), (parse_goption_arg):
23425 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23426 bit of hand merging and debugging to get the GOption stuff working
23429 * tests/Makefile.am:
23430 * tools/Makefile.am:
23431 * tools/gst-inspect.c: (main):
23432 * tools/gst-launch.c: (main):
23433 * tools/gst-run.c: (main):
23434 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23436 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23438 * gst/gstiterator.c: (gst_iterator_new):
23439 Add assertions to make sure passed GType is likely to really
23440 be a GType (as the compiler won't catch it if the size and
23441 GType arguments get mixed up, see #318447).
23443 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23445 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23447 * gst/gstbin.c: (gst_bin_iterate_sorted):
23448 Pass GType and size arguments to gst_iterator_new() in the right
23449 order (maybe we should make _new() take the GType as first argument
23450 just like _new_list()?) (#318447).
23453 2005-10-10 Wim Taymans <wim@fluendo.com>
23455 * gst/gstelement.c: (gst_element_finalize):
23456 And free the GStaticRecMutex too
23458 2005-10-10 Andy Wingo <wingo@pobox.com>
23460 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23461 Allocate and free the mutex properly.
23463 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23465 (GstElement): The state_lock is now recursive. Rebuild your
23466 plugins, suckers. Old macros adapted.
23468 * docs/gst/gstreamer-sections.txt: Doc updates.
23471 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23472 (g_static_rec_cond_wait): Ported from state changes patch, while
23473 we wait on bug #317802 to be solved in a well-distributed GLib.
23475 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23476 gst_element_change_state, variable name changes.
23477 (gst_element_change_state): Split out of gst_element_set_state in
23478 preparation for the state change merge. Doesn't pay attention to
23479 the 'transition' argument.
23480 (gst_element_set_state): Updates, hopefully purely cosmetic.
23481 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23482 state change patch.
23483 (gst_element_get_state_func): Renamed from get_state, cosmetic
23486 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23488 * gst/elements/gstelements.c:
23489 * win32/GStreamer.vcproj:
23491 * win32/dirent.c: (_tseekdir):
23492 * win32/gst-inspect.vcproj:
23493 * win32/gst-launch.vcproj:
23494 * win32/gstconfig.h:
23495 * win32/gstelements.vcproj:
23496 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23497 * win32/gstreamer.def:
23498 * win32/msvc71.sln:
23499 updates for the win32 build (patch from Sebastien Moutte)
23501 2005-10-10 Andy Wingo <wingo@pobox.com>
23503 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23504 gst_bin_get_state, cleaned up (but no logic changes).
23505 (bin_element_is_sink): Comment updates.
23506 (sink_iterator_filter): Remove needless cast.
23507 (gst_bin_iterate_sinks): Doc update.
23508 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23509 cleaned up (but no logic changes).
23511 * check/states/sinks.c (test_src_sink): Cleanups from the state
23513 (test_livesrc_sink): Sync on the state.
23515 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23516 the state change patch.
23518 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23521 * check/gst/gstbin.c: Merge in some style fixes and additional
23522 checks from Wim's state change patch.
23524 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23526 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23527 (gst_type_find_helper):
23528 Check whether we have the requested data already in our list of
23529 cached buffers before pulling a new buffer; also make the buffer
23530 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23532 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23537 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23538 don't use long long, it's not portable. Replacing with
23539 gint64 seems to work; let's hope no skeletons fall out of the closet.
23541 2005-10-10 Andy Wingo <wingo@pobox.com>
23543 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23545 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23547 * docs/gst/gstreamer-sections.txt:
23552 * gst/gstmessage.c: (gst_message_parse_state_changed):
23555 more docs, fix compilation
23557 2005-10-09 Philippe Khalaf <burger@speedy.org>
23558 * gst/gstmessage.c:
23559 Fixed a few forgotten variables on previous commit
23561 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23563 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23564 Fix evil typefind crasher: getrange() might return a short
23565 buffer at the end of a file, but gst_type_find_peek() must
23566 either return the full data as requested or NULL, but
23567 never a short buffer.
23569 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23571 * gst/gstmessage.c: (gst_message_new_state_changed),
23572 (gst_message_parse_state_changed):
23573 * gst/gstmessage.h:
23574 don't use "new", it's a C++ keyword
23576 2005-10-08 Wim Taymans <wim@fluendo.com>
23578 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23579 * gst/gstelement.c: (gst_element_post_message):
23580 * gst/gstpipeline.c: (gst_pipeline_change_state):
23581 Small docs and debug updates.
23583 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23585 * docs/gst/gstreamer-sections.txt:
23586 * gst/gstelementfactory.c:
23588 * gst/gsttaglist.c:
23591 2005-10-08 Wim Taymans <wim@fluendo.com>
23593 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23594 (gst_bin_dispose), (bin_bus_handler):
23595 Fix typos, add comments.
23596 Clear EOS list when going to PAUSED from any direction and do it
23597 in a threadsafe way.
23598 Get base time in a threadsafe way too.
23599 Fix confusing debug in the change_state function.
23600 Various other small cleanups.
23602 * gst/gstelement.c: (gst_element_post_message):
23603 Fix very verbose bus posting code.
23605 * gst/gstpipeline.c: (gst_pipeline_class_init),
23606 (gst_pipeline_set_property), (gst_pipeline_get_property),
23607 (gst_pipeline_change_state):
23608 Small ARG_ -> PROP_ cleanup
23610 2005-10-08 Wim Taymans <wim@fluendo.com>
23612 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23613 Do a less CPU demanding EOS check because we can.
23615 2005-10-08 Wim Taymans <wim@fluendo.com>
23617 * libs/gst/dataprotocol/dataprotocol.c:
23618 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23619 (gst_dp_packet_from_event):
23620 * libs/gst/dataprotocol/dataprotocol.h:
23621 * libs/gst/dataprotocol/dp-private.h:
23622 It's about time we bump the version number.
23623 Since event types don't fit in the guint8 anymore describing
23624 the payload type, make payload type 16 bits wide.
23626 2005-10-08 Wim Taymans <wim@fluendo.com>
23628 * docs/design/part-TODO.txt:
23629 * docs/design/part-clocks.txt:
23630 * docs/design/part-events.txt:
23631 * docs/design/part-gstbin.txt:
23632 * docs/design/part-gstelement.txt:
23633 * docs/design/part-gstpipeline.txt:
23634 * docs/design/part-live-source.txt:
23635 * docs/design/part-messages.txt:
23636 * docs/design/part-overview.txt:
23637 * docs/design/part-states.txt:
23640 2005-10-08 Wim Taymans <wim@fluendo.com>
23644 Fix event quark registration.
23645 Add some space between events so we can insert them in the
23648 2005-10-08 Wim Taymans <wim@fluendo.com>
23650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23651 (gst_base_sink_handle_buffer):
23652 Better log message.
23655 * gst/gstelement.h:
23658 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23659 (gst_queue_set_property), (gst_queue_get_property):
23661 Remove old unused properties.
23663 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23664 * docs/gst/gstreamer-sections.txt:
23665 * gst/gstmessage.c:
23666 * gst/gstmessage.h:
23667 * gst/gstminiobject.c:
23668 * gst/gstminiobject.h:
23672 lots of new docs and doc fixes
23674 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23676 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23678 * gst/gstregistry.c: (gst_registry_lookup_locked),
23679 (gst_registry_scan_path_level):
23680 * gst/gstregistryxml.c: (load_plugin):
23681 Only ever load one plugin for a given plugin basename.
23682 This ensures correct overriding of GST_PLUGIN_PATH over
23683 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23684 system installed plugins.
23686 2005-10-08 Wim Taymans <wim@fluendo.com>
23688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23689 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23690 Prepare for doing QOS.
23692 2005-10-08 Wim Taymans <wim@fluendo.com>
23694 * check/gst/gstbin.c: (GST_START_TEST):
23695 * check/pipelines/cleanup.c: (GST_START_TEST):
23696 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23697 Allow new clock message too.
23699 2005-10-08 Wim Taymans <wim@fluendo.com>
23701 * gst/gstmessage.c: (gst_message_new_error),
23702 (gst_message_new_warning), (gst_message_new_tag),
23703 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23704 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23705 (gst_message_new_segment_start), (gst_message_new_segment_done),
23706 (gst_message_parse_state_changed),
23707 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23708 (gst_message_parse_new_clock):
23709 * gst/gstmessage.h:
23710 Also carry the clock in question.
23712 2005-10-08 Wim Taymans <wim@fluendo.com>
23714 * gst/gstmessage.c: (gst_message_new_custom),
23715 (gst_message_new_eos), (gst_message_new_error),
23716 (gst_message_new_warning), (gst_message_new_tag),
23717 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23718 (gst_message_new_new_clock), (gst_message_new_segment_start),
23719 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23720 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23721 * gst/gstmessage.h:
23723 Added clock related messages.
23725 * gst/gstpipeline.c: (gst_pipeline_change_state):
23726 Post message when the clock changed.
23728 * tools/gst-launch.c: (event_loop):
23731 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23733 * tools/gst-inspect.c: (print_element_properties_info):
23734 Can't pass NULL strings to g_print() on windows.
23736 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23738 * docs/Makefile.am:
23739 * docs/gst/Makefile.am:
23740 * docs/gst/gstreamer-docs.sgml:
23741 * docs/gst/running.xml:
23742 * docs/version.entities.in:
23743 add a chapter on running GStreamer.
23744 document GST_DEBUG and GST_PLUGIN* env vars
23746 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23751 remove PLUGINS_BUILDDIR stuff
23752 * gst/gst.c: (init_post):
23753 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23755 remove, it was condescending and not needed
23757 2005-10-08 Wim Taymans <wim@fluendo.com>
23759 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23760 (gst_base_sink_handle_object), (gst_base_sink_event),
23761 (gst_base_sink_wait), (gst_base_sink_handle_event),
23762 (gst_base_sink_change_state):
23763 * gst/base/gstbasesink.h:
23764 Repost EOS message while going to PLAYING if still EOS.
23765 Make sure that when receiving a FLUSH_START we don't attempt
23766 to sync on the clock anymore.
23768 2005-10-08 Wim Taymans <wim@fluendo.com>
23770 * tools/gst-launch.c: (event_loop):
23771 Better message printout.
23773 2005-10-08 Wim Taymans <wim@fluendo.com>
23775 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23776 (gst_bin_child_proxy_get_children_count):
23777 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23778 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23779 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23780 (gst_child_proxy_set_valist):
23781 * gst/parse/grammar.y:
23782 Make ChildProxy threadsafe and fix mem leaks.
23784 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23786 * gst/gst.c: (init_post):
23787 debug the GST_PLUGIN_ env vars
23789 2005-10-08 Wim Taymans <wim@fluendo.com>
23791 * check/gst/gstbin.c: (GST_START_TEST):
23792 * check/gst/gstmessage.c: (GST_START_TEST):
23793 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23794 * gst/gstelement.c: (gst_element_commit_state),
23795 (gst_element_lost_state):
23796 * gst/gstmessage.c: (gst_message_new_state_changed),
23797 (gst_message_parse_state_changed):
23798 * gst/gstmessage.h:
23799 * tools/gst-launch.c: (event_loop):
23800 Added extra field to STATE_CHANGE message with the pending
23801 state, which will be different from the new state soon.
23803 2005-10-08 Wim Taymans <wim@fluendo.com>
23805 * gst/gstbus.c: (gst_bus_pop):
23807 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23808 Small cleanups and doc updates.
23810 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23812 * gst/gst.c: (init_pre):
23813 * gst/gstbin.c: (gst_bin_add_func):
23814 log distributing clocks and base time
23815 * gst/gstregistry.c: (gst_registry_add_plugin),
23816 (gst_registry_scan_path_level), (gst_registry_scan_path):
23817 clean up the debugging output a little
23818 * gst/gstutils.c: (gst_element_state_get_name):
23819 warn about a memleak (I've actually seen this be used, though
23820 it was probably a bug)
23822 2005-10-07 Wim Taymans <wim@fluendo.com>
23824 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23825 (gst_base_src_init), (gst_base_src_default_newsegment),
23826 (gst_base_src_newsegment), (gst_base_src_do_seek),
23827 (gst_base_src_loop), (gst_base_src_start):
23828 * gst/base/gstbasesrc.h:
23829 Make the newsegment event customizable by subclasses.
23831 2005-10-07 Wim Taymans <wim@fluendo.com>
23833 * gst/gstevent.c: (gst_event_new_buffersize),
23834 (gst_event_parse_buffersize):
23836 New event for future idea.
23838 2005-10-07 Andy Wingo <wingo@pobox.com>
23840 * gst/gstelement.c (gst_element_post_message): Doc update.
23842 * docs/gst/gstreamer-sections.txt: Update.
23844 * gst/gstmessage.c (gst_message_new_application): Made into a
23845 function like honest API calls.
23846 (gst_message_new_element): New message type.
23848 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23850 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23851 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23854 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23855 NO_PREROLL from gst_element_change_state to fall through.
23857 2005-10-07 Wim Taymans <wim@fluendo.com>
23859 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23860 (gst_ghost_pad_do_activate_push):
23861 Activating a ghostpad with no internal pad in push mode
23864 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23867 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23868 Fixes compilation on Windows.
23870 2005-10-07 Michael Smith <msmith@fluendo.com>
23872 * tools/gst-inspect.c:
23873 Print out feature and plugin count at the end when printing out
23876 2005-10-04 Michael Smith <msmith@fluendo.com>
23878 * gst/gsterror.c: (_gst_stream_errors_init):
23879 Add another error string used in a few existing plugins.
23882 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23883 * tools/gst-inspect.c: (print_element_info):
23884 When a feature disappears from a plugin (and the feature exists in
23885 the cached registry file), things went horribly wrong. This isn't a
23886 complete fix, we should actually be removing the 'missing' features
23887 from the features list when we load the actual plugin. That's not
23890 2005-10-04 Johan Dahlin <johan@gnome.org>
23892 * check/gst/gstiterator.c: (GST_START_TEST):
23893 * gst/gstbin.c: (gst_bin_iterate_elements),
23894 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23895 * gst/gstelement.c: (gst_element_iterate_pads):
23896 * gst/gstformat.c: (gst_format_iterate_definitions):
23897 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23898 (gst_iterator_new_list), (gst_iterator_filter):
23899 * gst/gstiterator.h:
23900 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23901 Add a GType to GstIterator, update callsites and tests.
23903 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23905 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23906 give events a chance to be handled by event probes when the pad
23909 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23911 * gst/gstevent.c: (gst_event_type_get_name),
23912 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23914 add string representations for event types
23916 2005-10-06 Wim Taymans <wim@fluendo.com>
23918 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23919 Don't use NULL pointers.
23921 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23923 * gst/gst_private.h:
23925 * gst/gstelement.c:
23927 * gst/gstpluginfeature.c:
23928 widen the debug category in output to fit the biggest one we have
23929 add a bus category and use it
23930 play with the colors
23931 fix up some categories
23933 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23935 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23936 add push activation of sink ghost pads.
23937 Andye, please verify
23939 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23941 * gst/gstutils.c: (gst_element_link_pads):
23942 fix a bug in the case where neither element has a pad
23943 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23944 add a test for that case
23946 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23948 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23949 emit have-data before checking for peers. This allows
23950 for probe handlers to connect elements. This helps autopluggers.
23951 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23953 add six checks, linked/unlinked with no/true/false probe
23955 2005-10-04 Wim Taymans <wim@fluendo.com>
23957 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23958 (gst_fake_sink_event), (gst_fake_sink_preroll),
23959 (gst_fake_sink_render), (gst_fake_sink_change_state):
23960 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23961 (gst_fake_src_get_property), (gst_fake_src_create),
23962 (gst_fake_src_stop):
23963 * gst/elements/gstidentity.c: (gst_identity_stop):
23964 Protect last_message with lock.
23966 2005-10-04 Edward Hervey <edward@fluendo.com>
23969 Added precision in the comments for GST_FORMAT_DEFAULT
23971 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23973 * tools/gst-launch.c: (main):
23974 Don't try to run erroneous pipelines.
23976 2005-10-04 Julien MOUTTE <julien@moutte.net>
23978 * gst/gstbus.c: We don't need this header.
23980 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23983 back to development
23985 === release 0.9.3 ===
23987 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23991 Releasing 0.9.3, "Unregistered"
23993 2005-10-03 Andy Wingo <wingo@pobox.com>
23995 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23996 whereby calling a pad's activatepush() function can start a thread
23997 that starts to push or pull before the pad gets the FLUSHING flag
23998 unset. Hack around it by holding the stream lock until the flag is
23999 set. Need to replace this with a proper solution. Together with
24000 the ghost pad fixes, this fixes mp3 playing/tagreading.
24002 * docs/design/part-gstghostpad.txt: Add a note about activation of
24003 proxy pads outside of ghost pads.
24005 * gst/gstghostpad.c: Implement the ghost pad activation design.
24007 2005-10-02 Andy Wingo <wingo@pobox.com>
24009 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24010 It is volatile, after all.
24012 * docs/design/part-gstghostpad.txt: Flesh out activation with
24015 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24018 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24021 Fix (unused) AM_CONDITIONAL tests.
24023 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24025 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24027 * gst/gstutils.c: (gst_pad_query_convert):
24028 Add assertion that makes sure src_val is >=0, just like
24029 gst_query_new_convert() has. (#315895)
24031 2005-09-30 Edward Hervey <edward@fluendo.com>
24033 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24034 Let's not iterate pads we're not interested in, it avoids getting
24035 sky-high refcounts on sinkpad.
24037 2005-09-30 Wim Taymans <wim@fluendo.com>
24039 * gst/gstelement.c: (gst_element_set_state),
24040 (gst_element_change_state):
24041 Small tweak, element in ASYNC remains ASYNC.
24043 2005-09-30 Wim Taymans <wim@fluendo.com>
24045 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24046 Only error is an error.
24048 * gst/gstbin.c: (gst_bin_change_state):
24051 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24052 Also call pad_block in pad alloc.
24054 * gst/gstutils.c: (gst_flow_get_name):
24057 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24059 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24060 (gst_base_src_get_range):
24061 Fix documentation typos. Add some more debug info.
24063 2005-09-29 David Schleef <ds@schleef.org>
24065 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24066 more end-user friendly.
24067 * tools/gst-inspect.c: (main): Check if command-line argument is
24068 a file and attempt to load that file as a plugin.
24070 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24072 * check/gst/gstbin.c:
24073 * check/states/sinks.c:
24074 fix tests for the new warning
24075 * check/gst/gstpipeline.c:
24076 add a test for pipeline and bus interaction
24077 * gst/gstelement.c:
24078 elements should be NULL if they get disposed; add a warning if not
24080 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24083 for 2.6 refcounting, make debug log more correct by printing
24084 the actual refcounts at the time of swap (Wim)
24086 2005-09-29 Andy Wingo <wingo@pobox.com>
24088 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24089 removes signal watches previously added via
24090 gst_bus_add_signal_watch.
24091 (gst_bus_add_signal_watch): Don't return the source id, just store
24092 it on the bus if there wasn't an id already.
24094 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24095 add_signal_watch and remove_signal_watch.
24097 2005-09-29 Edward Hervey <edward@fluendo.com>
24099 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24100 Better if we actually iterate the list :)
24102 2005-09-29 Wim Taymans <wim@fluendo.com>
24104 * check/gst/gstbin.c: (GST_START_TEST):
24105 Change for new bus API.
24107 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24108 (send_messages), (GST_START_TEST), (gstbus_suite):
24109 Change for new bus signal API.
24111 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24112 (gst_bus_source_prepare), (gst_bus_source_check),
24113 (gst_bus_create_watch), (gst_bus_add_watch_full),
24114 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24115 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24117 Remove support for multiple GSources operating on different
24118 message types as it is too complex and unneeded when using
24120 Added support for receiving signals from the bus.
24122 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24124 * docs/libs/tmpl/gstdataprotocol.sgml:
24125 * docs/manual/advanced-dataaccess.xml:
24126 * gst/elements/gstcapsfilter.c:
24128 rename filter-caps to caps property
24130 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24132 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24133 More robust fraction string parsing.
24135 * docs/pwg/appendix-porting.xml:
24136 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24138 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24140 * gst/gstcaps.c: (gst_caps_do_simplify):
24141 Thou shalt not free a structure and then continue using it
24142 in the next loop iteration.
24144 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24146 Add test case for caps simplification.
24148 2005-09-29 Wim Taymans <wim@fluendo.com>
24150 * check/gst/gstbin.c: (GST_START_TEST):
24153 2005-09-29 Wim Taymans <wim@fluendo.com>
24155 * check/gst/gstbin.c: (GST_START_TEST):
24158 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24159 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24160 (find_element), (gst_bin_sort_iterator_next),
24161 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24162 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24163 (gst_bin_change_state), (gst_bin_dispose):
24164 A bin does not have a bus, it gets the bus from the parent.
24166 * gst/gstelement.c: (gst_element_requires_clock),
24167 (gst_element_provides_clock), (gst_element_is_indexable),
24168 (gst_element_is_locked_state), (gst_element_change_state),
24169 (gst_element_set_bus_func):
24172 * gst/gstpipeline.c: (gst_pipeline_class_init),
24173 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24174 The pipeline provides a bus.
24176 2005-09-28 Johan Dahlin <johan@gnome.org>
24178 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24179 gst_structure_get_enum instead of gst_structure_get_int
24181 * gst/gststructure.c (gst_structure_get_enum): Impl.
24183 * gst/gststructure.h (gst_structure_get_enum): Add
24185 * docs/gst/gstreamer-sections.txt: Ditto
24187 * gst/gstmessage.c (gst_message_new_state_changed): Use
24188 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24189 which does introspection.
24190 Reviewed by Christian Schaller
24192 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24194 * gst/gstinfo.c: (gst_debug_log_default):
24195 don't do dummy g_strdup()s
24196 * libs/gst/controller/gstcontroller.c:
24197 (on_object_controlled_property_changed),
24198 (gst_controlled_property_new), (gst_controller_new_valist),
24199 (gst_controller_new_list),
24200 (gst_controller_remove_properties_valist), (gst_controller_set),
24201 (gst_controller_get), (gst_controller_sync_values),
24202 (gst_controller_get_value_array), (_gst_controller_class_init),
24203 (gst_controller_get_type):
24204 * libs/gst/controller/gstcontroller.h:
24205 * libs/gst/controller/gstinterpolation.c:
24206 (gst_controlled_property_find_timed_value_node):
24207 convert // to /**/ comments
24209 2005-09-28 Wim Taymans <wim@fluendo.com>
24211 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24212 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24213 (gst_bus_sync_signal_handler):
24215 Added async-message and sync-message signals to the bus.
24216 Added helper BusFunc to emit signals for all posted messages.
24218 * gst/gstmessage.c: (gst_message_type_get_name),
24219 (gst_message_type_to_quark), (gst_message_get_type):
24220 * gst/gstmessage.h:
24221 Register quarks for message names.
24223 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24225 * docs/libs/gstreamer-libs-sections.txt:
24226 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24227 (gst_controller_new_list):
24228 * libs/gst/controller/gstcontroller.h:
24229 added another constructor for language bindings
24231 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24233 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24237 * gst/gstinfo.c: (_gst_debug_init):
24238 slightly more readable color for refcount debugging
24240 2005-09-28 Wim Taymans <wim@fluendo.com>
24242 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24243 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24244 (find_element), (gst_bin_sort_iterator_next),
24245 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24246 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24247 (gst_bin_change_state), (gst_bin_dispose):
24248 Small doc fixes. get_clock -> provide_clock.
24250 * gst/gstelement.c: (gst_element_class_init),
24251 (gst_element_provides_clock), (gst_element_provide_clock),
24252 (gst_element_get_clock), (gst_element_commit_state),
24253 (gst_element_lost_state):
24254 * gst/gstelement.h:
24255 Make get/set_clock() symetric. Add provide_clock vmethod since
24256 that is actually what this function does.
24258 * gst/gstpipeline.c: (gst_pipeline_class_init),
24259 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24260 (gst_pipeline_get_clock):
24261 get_clock -> provide_clock.
24263 2005-09-28 Andy Wingo <wingo@pobox.com>
24265 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24266 lieu of real docs...
24268 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24270 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24272 * gst/elements/gstcapsfilter.c:
24273 * gst/elements/gstfakesink.c:
24274 * gst/elements/gstfakesrc.c:
24275 * gst/elements/gstfdsink.c:
24276 * gst/elements/gstfdsrc.c:
24277 * gst/elements/gstfilesink.c:
24278 * gst/elements/gstfilesrc.c:
24279 * gst/elements/gstidentity.c:
24280 * gst/elements/gsttee.c:
24281 * gst/elements/gsttypefindelement.c:
24282 Make element details static.
24284 2005-09-28 Wim Taymans <wim@fluendo.com>
24286 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24287 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24288 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24289 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24290 (gst_bin_change_state), (gst_bin_dispose):
24291 Some documentation updates.
24292 Clean up dispose handlers.
24294 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24295 * gst/gstpad.c: (gst_pad_dispose):
24296 Clean up dispose handler.
24298 * gst/gstpipeline.c: (gst_pipeline_change_state):
24299 Removed spurious UNLOCK.
24301 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24303 * docs/gst/gstreamer-sections.txt:
24304 * gst/base/gstbasesrc.h:
24305 * gst/gstelement.h:
24309 * gst/gstpipeline.c:
24310 * gst/gstpipeline.h:
24313 added two new functions to the docs
24314 documents all undocumented GstXXXFlags
24315 completed some incomplete docs
24317 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24319 * gst/gstbin.c: (gst_bin_dispose):
24320 * gst/gstelement.c: (gst_element_dispose):
24321 remove now useless and leaky resurrection code in dispose
24322 * gst/base/gstbasesrc.c: (gst_base_src_init):
24323 * gst/gstelementfactory.c: (gst_element_factory_create):
24324 * gst/gstobject.c: (gst_object_set_parent):
24327 2005-09-27 Wim Taymans <wim@fluendo.com>
24329 * docs/design/part-TODO.txt:
24332 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24333 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24334 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24335 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24336 (gst_bin_change_state):
24337 * gst/gstelement.h:
24338 Remove element variable, we keep element info in the iterator now.
24340 2005-09-27 Andy Wingo <wingo@pobox.com>
24342 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24345 2005-09-27 Wim Taymans <wim@fluendo.com>
24347 * check/gst/gstbin.c: (GST_START_TEST):
24348 Enable check that works now.
24350 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24351 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24352 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24353 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24354 (gst_bin_change_state):
24356 Redid the state change algorithm using a topological sort algo.
24357 Handles all cases correctly.
24358 Exposed iterator for state change order.
24360 * gst/gstelement.h:
24361 Temp storage for state changes. Need to get rid of this soon.
24363 2005-09-27 Wim Taymans <wim@fluendo.com>
24365 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24366 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24367 (link_fold_func), (gst_pad_proxy_setcaps):
24368 Leak fixes, the fold functions need to unref the passed object and
24369 _get_parent_*() returns ref to parent.
24371 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24373 * check/gst/gstbuffer.c: (test_make_writable):
24374 Plug leak in test case and fix 'make check-valgrind'
24376 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24378 * gst/gstbuffer.c: (gst_subbuffer_init):
24379 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24380 works correctly in all circumstances (we could have just copied
24381 the parent buffer's readonly flag, but conceptually it seems
24382 cleaner to mark all subbuffers as read-only). (based on patch
24383 by Alessandro Decina, #314710).
24385 * check/gst/gstbuffer.c: (create_read_only_buffer),
24386 (test_make_writable), (test_subbuffer_make_writable),
24388 Add some tests for gst_buffer_make_writable().
24390 2005-09-27 Wim Taymans <wim@fluendo.com>
24392 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24393 use gst_object_has_ancestor().
24395 * gst/gstobject.c: (gst_object_has_ancestor):
24397 gst_object_has_ancestor() copied from gstbin.c as it is a
24400 * tests/instantiate/create.c: (create_all_elements):
24401 * tests/lat.c: (handoff_src), (handoff_sink):
24402 * tests/sched/runxml.c: (main):
24403 * tests/seeking/seeking1.c: (main):
24404 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24406 Fix compilation of some tests.
24408 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24411 Remove comment. GST_TYPE_G_ERROR is here to stay,
24412 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24413 (#316961, #300610).
24415 2005-09-26 Wim Taymans <wim@fluendo.com>
24417 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24418 Added check that shows error in state change order.
24420 2005-09-26 Wim Taymans <wim@fluendo.com>
24422 * gst/gstbin.c: (gst_bin_change_state):
24423 Make state change function use 3 queues again, we were
24424 adding elements in the wrong order.
24426 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24429 * gst/gstpad.c: (gst_pad_dispose):
24430 Added some debug info first.
24432 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24434 * docs/design/draft-push-pull.txt:
24435 * docs/design/part-events.txt:
24436 * docs/design/part-overview.txt:
24437 * docs/design/part-scheduling.txt:
24438 Replace all _pull_region() with _pull_range()
24440 2005-09-26 Andy Wingo <wingo@pobox.com>
24442 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24444 * check/gst-libs/controller.c: Update for controller api change.
24447 * tests/Makefile.am:
24448 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24449 over by GLib bug 118439.
24451 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24452 routines to a function.
24454 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24456 * libs/gst/controller/gsthelper.c:
24457 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24458 (gst_object_sync_values): Renamed from sink_values. Ugh.
24460 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24462 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24463 Renamed from controller_key, as it is exported.
24465 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24467 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24472 * gst/gstpadtemplate.h:
24475 * gst/gstqueryutils.c:
24476 * gst/gstqueryutils.h:
24477 remove queryutils headers after moving the two used functions
24478 to gstquery. also fixes build problem for gstsiddec
24480 2005-09-26 Michael Smith <msmith@fluendo.com>
24482 * tools/gst-launch.1.in:
24483 Correct documentation in manpage of debug syntax
24485 2005-09-26 Wim Taymans <wim@fluendo.com>
24487 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24488 (gst_base_src_is_seekable), (gst_base_src_change_state):
24489 Some more debugging info.
24491 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24493 * docs/gst/gstreamer-sections.txt:
24494 * gst/base/gstbasetransform.h:
24498 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24500 * docs/gst/.cvsignore:
24501 * docs/gst/tmpl/.cvsignore:
24502 * docs/gst/tmpl/gstpipeline.sgml:
24503 * docs/gst/tmpl/gstplugin.sgml:
24504 * gst/gstpipeline.c:
24507 inlined the last two docs files
24508 removed the tmpl directory from cvs (no more conflicts here!)
24510 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24512 * docs/gst/gstreamer-sections.txt:
24513 * docs/gst/tmpl/.cvsignore:
24514 * docs/gst/tmpl/gstpad.sgml:
24515 * docs/gst/tmpl/gstpadtemplate.sgml:
24517 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24518 (gst_pad_finalize), (gst_pad_set_pad_template):
24520 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24521 (gst_pad_template_class_init), (gst_pad_template_init),
24522 (gst_pad_template_dispose), (name_is_valid),
24523 (gst_static_pad_template_get), (gst_pad_template_new),
24524 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24525 (gst_pad_template_pad_created):
24526 * gst/gstpadtemplate.h:
24527 inlined two more docs
24528 factored gstpadtemplate out of gstpad
24530 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24532 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24533 (test_children_state_change_order_semi_sink):
24534 Fix test case: we can't rely on a fixed state change order when
24535 going from READY => PAUSED because the sink might commit its
24536 new state first when the first buffer created by the source
24537 reaches the sink before the source has finished its change state.
24538 (Test case still fails at times, see #316856, comment 5 onwards)
24540 2005-09-24 Wim Taymans <wim@fluendo.com>
24542 * docs/design/part-events.txt:
24543 * docs/design/part-gstbus.txt:
24544 * docs/design/part-gstpipeline.txt:
24545 * docs/design/part-messages.txt:
24546 * docs/design/part-overview.txt:
24547 * docs/design/part-segments.txt:
24551 * gst/gstelement.c:
24554 * gst/gstiterator.c:
24555 Various documentation updates.
24557 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24560 Well, that's embarassing. Luckily we weren't using
24561 GST_CLOCK_DIFF anywhere.
24563 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24565 * common/gtk-doc.mak:
24566 don't fail on building XML, FC4 slave shows a bunch of doc
24567 missing bits that I don't get
24569 * gst/gstpipeline.c:
24570 * gst/gststructure.c:
24573 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24575 * docs/design/part-gstbin.txt:
24576 * docs/design/part-gstbus.txt:
24578 Add blurb about how the bus goes into flushing mode and
24579 drops all messages when its bin goes from READY into NULL
24582 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24584 * docs/gst/gstreamer-sections.txt:
24585 * gst/gststructure.c: (gst_structure_get_clock_time):
24586 * gst/gststructure.h:
24587 add a method to get a GstClockTime out of a structure
24589 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24591 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24592 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24593 Added test to check state change order in bins (can still be made
24594 to fail here under heavy disk load; bails out with 'Push on pad
24595 fakesink:sink0, but it was not activated in push mode').
24597 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24598 Fix state change order when there is only a semi sink (#316856)
24600 * gst/gstbus.c: (gst_bus_class_init):
24601 Use _class_peek_parent(), not _class_ref(); fix docs to say
24602 'default main context' instead of 'mainloop' where that is
24605 * gst/gstelement.c: (gst_element_commit_state),
24606 (gst_element_set_state):
24607 Fix typos in debug messages
24609 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24612 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24613 * gst/gstpluginfeature.c:
24615 various doc updates
24616 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24617 change an assert into an error until it gets fixed properly
24619 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24621 * docs/gst/gstreamer-sections.txt:
24622 * docs/gst/tmpl/.cvsignore:
24623 * docs/gst/tmpl/gstelement.sgml:
24624 * docs/gst/tmpl/gstinfo.sgml:
24625 * docs/gst/tmpl/gstobject.sgml:
24626 * gst/gstelement.c:
24627 * gst/gstelement.h:
24630 * gst/gstobject.c: (gst_object_class_init):
24632 inlined 3 more biiiig doc files and added some missing docs on the fly
24634 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24636 * check/gst/.cvsignore:
24637 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24638 * gst/gstregistryxml.c: (load_plugin),
24639 (gst_registry_xml_save_plugin):
24640 put back source in registry. add checks for find_plugin.
24641 * testsuite/states/bin.c: (assert_state), (empty_bin),
24642 (test_adding_one_element), (main):
24643 * testsuite/states/locked.c: (main):
24644 some compile/run fixes
24646 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24648 * check/gst/gstvalue.c: (GST_START_TEST):
24649 fix leaks in the test itself
24651 2005-09-22 Wim Taymans <wim@fluendo.com>
24653 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24654 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24655 (gst_base_sink_query):
24656 Prepare for more accurate position reporting and query
24659 * gst/gstelement.c: (gst_element_send_event),
24660 (gst_element_set_state):
24663 2005-09-22 Wim Taymans <wim@fluendo.com>
24665 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24666 (gst_query_parse_segment):
24668 More documentation.
24669 Add segment query for future use.
24671 2005-09-22 Wim Taymans <wim@fluendo.com>
24673 * gst/gstbin.c: (gst_bin_add_func):
24674 Some more debug info.
24676 * gst/gstelement.c: (gst_element_send_event):
24677 Simplify send_event
24679 * gst/gstelement.h:
24680 Don't know how flags got broken.
24685 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24687 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24688 Add simplistic test suite for GST_TYPE_DATE serialisation and
24691 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24693 * docs/gst/gstreamer-sections.txt:
24694 * gst/gststructure.c: (gst_structure_set_valist),
24695 (gst_structure_get_date):
24696 * gst/gststructure.h:
24697 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24698 (gst_date_copy), (gst_value_compare_date),
24699 (gst_value_serialize_date), (gst_value_deserialize_date),
24700 (gst_value_transform_date_string),
24701 (gst_value_transform_string_date), (_gst_value_initialize):
24703 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24704 bunch of utility functions along with a hack that checks that
24705 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24706 is required. Part of the grand scheme in #170777.
24708 2005-09-22 Andy Wingo <wingo@pobox.com>
24710 * gst/gstconfig.h.in: Psych out gtk-doc.
24712 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24714 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24716 * tools/gst-inspect.c (print_element_list): Plug some
24717 inconsequential leaks.
24719 * gst/gstregistry.c (gst_registry_get_default): Doc.
24721 * check/gst/gstplugin.c:
24722 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24723 * gst/gstelementfactory.c (gst_element_factory_create):
24724 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24727 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24728 (gst_plugin_feature_load): Doc, don't eat refs.
24730 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24731 (gst_plugin_list_free): Doc.
24732 (gst_plugin_load_file): Doc updates.
24734 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24735 accessors returning refcounted objects, return a ref.
24737 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24738 accessor for caps. IDEMPOTENCE. Oh yes.
24740 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24742 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24744 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24745 (_gst_debug_register_funcptr):
24746 Add mutex to serialise access to the hash table with
24747 the function pointer => function name string mapping;
24748 make that hash table static scope (#316809).
24750 * gst/registries/.cvsignore:
24751 Remove left-over file.
24753 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24755 * docs/pwg/appendix-porting.xml:
24756 And something about newsegment events and caps-on-buffers to
24757 the porting guide (feel free to improve).
24759 2005-09-21 Andy Wingo <wingo@pobox.com>
24761 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24762 data and event probes on the same pad.
24763 (test_buffer_probe_once): Test that removing probes from within
24764 the probe functions works.
24766 2005-09-21 Andy Wingo <wingo@pobox.com>
24768 * check/gst/gstutils.c: New file.
24769 (test_buffer_probe_n_times): A simple buffer probe test. More to
24772 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24773 have-data::buffer, not have-data.
24774 (gst_pad_add_event_probe): Likewise for have-data::event.
24775 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24776 peer' isn't quite right yet though.
24777 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24778 (gst_pad_remove_data_probe): Change to take the guint handler_id
24779 as their arg, not the function+data, which is more glib-like.
24781 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24782 the signal emission to indicate if the data is a buffer or an
24784 (gst_pad_get_type): Initialize buffer and event quarks.
24785 (gst_pad_class_init): have-data is now a detailed signal, yes it
24788 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24790 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24791 * gst/gstutils.c: (gst_util_set_value_from_string),
24792 (gst_util_set_object_arg):
24793 Don't put functional code in g_return_if_fail() or
24794 g_return_val_if_fail() statements, otherwise things will
24795 break when G_DISABLE_CHECKS is defined during compilation.
24797 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24799 * docs/gst/tmpl/.cvsignore:
24800 * docs/gst/tmpl/gstvalue.sgml:
24803 inlied another one and added some obvious docs
24805 2005-09-21 Wim Taymans <wim@fluendo.com>
24807 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24808 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24809 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24810 (gst_fdsrc_get_property), (gst_fdsrc_create):
24811 * gst/elements/gstfdsrc.h:
24812 Properly implement fdsrc. Removed signal and timeout,
24813 better implemented somewhere else.
24815 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24817 * docs/gst/tmpl/.cvsignore:
24818 * docs/gst/tmpl/gstimplementsinterface.sgml:
24819 * gst/gstinterface.c:
24822 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24824 * docs/gst/gstreamer-sections.txt:
24825 * docs/gst/tmpl/.cvsignore:
24826 * docs/gst/tmpl/gstenumtypes.sgml:
24827 remove obsolete doc file
24829 2005-09-21 David Schleef <ds@schleef.org>
24831 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24832 little beer, fix a little leak.
24834 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24836 * docs/gst/gstreamer-docs.sgml:
24837 * docs/gst/gstreamer-sections.txt:
24838 * docs/gst/tmpl/.cvsignore:
24842 * gst/gstelement.h:
24843 * gst/gstindex.c: (gst_index_class_init):
24845 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24846 (gst_index_factory_class_init), (gst_index_factory_init),
24847 (gst_index_factory_finalize), (gst_index_factory_new),
24848 (gst_index_factory_destroy), (gst_index_factory_find),
24849 (gst_index_factory_create), (gst_index_factory_make):
24850 * gst/gstindexfactory.h:
24851 * gst/gstpluginfeature.c:
24852 * gst/gstpluginfeature.h:
24853 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24854 more docs inlined, splitted gstindex.{c,h}
24856 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24858 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24861 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24863 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24864 Set sync to FALSE by default.
24866 2005-09-20 Wim Taymans <wim@fluendo.com>
24868 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24869 (gst_base_sink_init):
24870 Make sync property settable from subclass.
24872 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24873 (gst_fake_sink_change_state):
24874 Set sync to FALSE by default.
24876 2005-09-20 Wim Taymans <wim@fluendo.com>
24878 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24879 * tools/gst-launch.c: (main):
24880 The timeout handler should have lower priority than the source
24881 so we don't timeout before popping a message with 0 timeout.
24882 Dump error messages after failed state change.
24884 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24886 * tools/gst-inspect.c: (print_element_properties_info):
24889 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24891 * check/gst/gstevent.c:
24892 * gst/elements/gstfakesink.c:
24893 * gst/elements/gstfakesink.h:
24894 remove the sync property from fakesink.
24895 has the side effect of setting sync TRUE
24896 for fakesink, which is a change. Anyone who knows how
24897 to fix this nicely in a GObject-y way, feel free.
24899 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24901 * docs/gst/gstreamer-docs.sgml:
24902 remove probe refsection
24904 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24906 * check/Makefile.am:
24907 disable valgrinding the controller test again
24908 * docs/gst/gstreamer-sections.txt:
24909 update for api-changes
24911 2005-09-20 Wim Taymans <wim@fluendo.com>
24913 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24914 (gst_base_sink_set_property), (gst_base_sink_get_property),
24915 (gst_base_sink_do_sync):
24916 * gst/base/gstbasesink.h:
24917 Added sync property to basesink to disable clock sync.
24919 2005-09-20 Andy Wingo <wingo@pobox.com>
24921 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24922 eating the caller's refcount.
24924 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24925 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24928 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24929 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24930 of GLib 2.8 public, so we can know which refcount to check in
24933 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24934 (gst_object_init): Only set the gst refcount if we're going ahead
24935 with the refcount hack.
24937 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24939 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24940 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24941 more leaks plumbed, added more debug-logging
24945 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24947 * gst/gstmessage.c:
24948 remove include of gstmemchunk.h
24950 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24952 * gst/gstclock.c: (_gst_clock_id_free):
24953 Commit from the Political Party For More Atomic CVS Commits,
24954 so that people don't waste too much of their day fishing
24955 out obvious leaks out of massive commits.
24956 Oh, and fix a pretty damn obvious leak in the memchunk
24959 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24961 * check/Makefile.am:
24962 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24963 plug mem-leak, re-add to valgrindable tests
24965 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24968 unbreak the build for those who have chronic arthritis
24969 and typing "make check" is just too taxing on the hands
24971 2005-09-20 Andy Wingo <wingo@pobox.com>
24973 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24974 really want it out, you should fix plugins at the same time.
24976 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24979 * docs/gst/gstreamer-sections.txt:
24981 added missing symbols to api docs
24982 disable ref-count hack if we have glib >= 2.8
24984 2005-09-19 David Schleef <ds@schleef.org>
24986 * docs/gst/Makefile.am: Ignore a few more internal headers
24987 * docs/gst/gstreamer-docs.sgml: Remove old sections
24988 * docs/gst/gstreamer-sections.txt: Remove old sections
24989 * docs/gst/tmpl/gstobject.sgml: update
24990 * docs/gst/tmpl/gstplugin.sgml: update
24991 * docs/gst/tmpl/gstpluginfeature.sgml: update
24992 * docs/random/ds/0.9-suggested-changes: update.
24993 * gst/Makefile.am: remove memchunk and trashstack, since they're
24995 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24996 * gst/gst.h: don't include some headers
24997 * gst/gstchildproxy.c: add gstmarshal.h
24998 * gst/gstclock.c: Don't use memchunks
24999 * gst/gstminiobject.c: Add some docs
25000 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25001 * gst/gstobject.h: same
25002 * gst/gstplugin.c: include gstmacros.h
25003 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25004 * gst/gstquery.c: don't use memchunks
25005 * gst/gstregistry.c: rename gst_registry_deinit()
25006 * gst/gstregistry.h: same
25008 2005-09-19 David Schleef <ds@schleef.org>
25010 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25011 * docs/libs/gstreamer-libs-sections.txt:
25012 * docs/libs/tmpl/gstgetbits.sgml:
25013 * docs/libs/tmpl/gstputbits.sgml:
25015 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25017 * win32/gstenumtypes.c:
25018 * win32/gstenumtypes.h:
25021 2005-09-19 Wim Taymans <wim@fluendo.com>
25023 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25024 Automatically PAUSE and RESUME a pipeline when a flushing seek
25027 2005-09-19 Andy Wingo <wingo@pobox.com>
25029 * gst/gstregistry.h: Spacing fixen.
25031 2005-09-19 Wim Taymans <wim@fluendo.com>
25033 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25034 Handle state change failure more correctly.
25036 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25038 * check/Makefile.am:
25039 * check/pipelines/cleanup.c: (run_pipeline):
25040 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25042 enable cleanup again after fixing the leak
25044 some more info on docs
25046 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25048 * check/Makefile.am:
25049 re-enable tests now that leaks are plugged
25051 * check/gst/gstbin.c:
25052 * check/gst/gstpipeline.c:
25053 add some more tests while fixing leaks
25054 * common/check.mak:
25055 make sure binaries are uptodate when valgrinding/gdbing
25057 * gst/gstelementfactory.c:
25058 remove a ref too many, and add a FIXME for when we get
25059 round to disposing of classes
25061 fix the refcounting when loading a plugin from a file and
25062 the code pretends that the pointer is the same even though
25063 of course it can change
25064 * gst/gstpluginfeature.c:
25065 unref plugins marked cached (a bit confusing as a name)
25066 as the docs state should be done
25067 various doc additions to explain refcounting
25068 * gst/gstregistry.c:
25069 * gst/gstregistryxml.c:
25072 2005-09-19 Wim Taymans <wim@fluendo.com>
25074 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25075 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25076 (send_messages), (GST_START_TEST), (gstbus_suite):
25077 * check/gst/gstpipeline.c: (GST_START_TEST):
25078 * check/pipelines/cleanup.c: (run_pipeline):
25079 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25081 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25082 (gst_bus_source_check), (gst_bus_source_dispatch),
25083 (gst_bus_create_watch), (gst_bus_add_watch_full),
25084 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25086 * tools/gst-launch.c: (event_loop):
25087 * tools/gst-md5sum.c: (event_loop):
25088 GstBusHandler -> GstBusFunc, return value has the same meaning as
25089 any other GSource (FALSE == remove source).
25090 _add_watch() and _add_watch_full() now take a MessageType mask to
25091 only handle specific types of messages.
25092 _poll() returns the GstMessage instead of the message type to avoid
25094 _have_pending() takes a MessageType mask now too.
25095 Added testsuite for multiple bus watches.
25096 Fix testsuites and applications for new bus API.
25098 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25100 * check/Makefile.am:
25101 mark a bunch of the tests as to fix until we fix them
25103 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25105 * common/check.mak:
25106 use GST_PLUGIN settings for valgrind tests as well, so we're
25107 valgrinding the correct thing
25108 * gst/gst.c: (init_post):
25111 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25113 * gst/gst.c: (init_post), (gst_deinit):
25114 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25115 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25116 * gst/gstindex.c: (gst_index_factory_class_init),
25117 (gst_index_factory_finalize):
25118 * gst/gstobject.c: (gst_object_dispose):
25119 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25120 (gst_plugin_load_file), (gst_plugin_desc_free):
25121 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25122 (gst_plugin_feature_finalize):
25123 * gst/gstregistry.c: (gst_registry_class_init),
25124 (gst_registry_init), (gst_registry_finalize),
25125 (gst_registry_get_default), (gst_registry_deinit):
25126 * gst/gstregistry.h:
25127 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25128 various cleanups and memleak plugging. make valgrind is happy now.
25130 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25132 * common/check.mak:
25133 add a check-valgrind target
25135 2005-09-18 David Schleef <ds@schleef.org>
25137 * tools/gst-inspect.c: Revert the GOption code.
25139 2005-09-17 David Schleef <ds@schleef.org>
25141 * check/Makefile.am: Fix environment variables.
25142 * check/gst/gstplugin.c: Fix for API changes.
25143 * tools/gst-inspect.c: Fix for API changes.
25144 * tools/gst-xmlinspect.c: Fix for API changes.
25145 * gst/gstelementfactory.c:
25148 * gst/gstpluginfeature.c:
25149 * gst/gstpluginfeature.h:
25150 * gst/gstregistry.c:
25151 * gst/gstregistry.h:
25152 * gst/gstregistryxml.c:
25153 * gst/gsttypefind.c:
25154 * gst/gsttypefindfactory.c:
25155 * gst/indexers/gstfileindex.c:
25156 * gst/indexers/gstmemindex.c:
25157 * gst/schedulers/Makefile.am:
25158 Change registry to keep track of both plugins and features,
25159 removing the feature tracking from plugins themselves.
25161 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25163 * check/Makefile.am:
25164 * tools/gst-register.1.in:
25165 remove gst-register
25167 2005-09-15 David Schleef <ds@schleef.org>
25169 * check/gst/gstplugin.c:
25170 * gst/gstelementfactory.c:
25172 * gst/gstpluginfeature.c:
25173 * gst/gstregistry.c:
25174 Getting tired of debugging. Disabled all the unreffing of
25175 plugins and features, which fixes the segfaults, but of
25176 course leaks like crazy. At least playbin works.
25178 2005-09-15 David Schleef <ds@schleef.org>
25180 * check/gst/gstplugin.c: (register_check_elements),
25181 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25183 * gst/elements/gsttypefindelement.c: Fix refcounting.
25184 * gst/gsttypefind.c:
25185 * gst/gsttypefindfactory.c:
25186 * gst/gsttypefindfactory.h:
25188 2005-09-15 David Schleef <ds@schleef.org>
25190 * gst/gstindex.c: get refcounting correct.
25191 * gst/gstregistry.c: Handle the case where a feature/plugin is
25194 2005-09-15 David Schleef <ds@schleef.org>
25196 * check/Makefile.am:
25197 * check/gst/gstplugin.c: Add test
25198 * gst/gstplugin.c: Fix problems noticed by testsuite
25200 * gst/gstregistry.c:
25201 * gst/gstregistry.h:
25203 2005-09-15 David Schleef <ds@schleef.org>
25205 * gst/gstplugin.c: Implement semi-decent recounting and locking
25206 in plugins and plugin features.
25208 * gst/gstpluginfeature.c:
25209 * gst/gstpluginfeature.h:
25210 * gst/gstregistry.c:
25212 2005-09-15 Michael Smith <msmith@fluendo.com>
25214 * gst/gstregistry.c: (gst_registry_get_feature_list):
25215 Implement this. Makes oggdemux work; decodebin still broken.
25217 2005-09-14 David Schleef <ds@schleef.org>
25219 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25221 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25222 * gst/check/Makefile.am:
25223 * libs/gst/controller/Makefile.am:
25224 * libs/gst/dataprotocol/Makefile.am:
25226 2005-09-14 David Schleef <ds@schleef.org>
25228 * configure.ac: Remove getbits library. Nothing uses it, and
25229 it should be in something like liboil if someone did want
25231 * libs/gst/Makefile.am:
25232 * libs/gst/getbits/Makefile.am:
25233 * libs/gst/getbits/gbtest.c:
25234 * libs/gst/getbits/getbits.c:
25235 * libs/gst/getbits/getbits.h:
25236 * libs/gst/getbits/gstgetbits_generic.c:
25237 * libs/gst/getbits/gstgetbits_i386.s:
25238 * libs/gst/getbits/gstgetbits_inl.h:
25240 2005-09-14 David Schleef <ds@schleef.org>
25242 * gst/Makefile.am: Dist glib-compat.h
25244 2005-09-14 David Schleef <ds@schleef.org>
25246 * configure.ac: Remove gst/registries, since it's no longer used.
25247 * gst/registries/Makefile.am:
25248 * gst/registries/gstlibxmlregistry.c:
25249 * gst/registries/gstlibxmlregistry.h:
25250 * gst/registries/gstxmlregistry.c:
25251 * gst/registries/gstxmlregistry.h:
25252 * gst/registries/registrytest.c:
25254 2005-09-14 David Schleef <ds@schleef.org>
25256 * gst/glib-compat.h:
25257 * gst/gstregistryxml.c:
25258 Convergence is near. Seriously.
25260 2005-09-14 David Schleef <ds@schleef.org>
25262 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25263 * gst/glib-compat.h:
25264 Attempt #4 to appease the buildbots.
25266 2005-09-14 David Schleef <ds@schleef.org>
25268 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25271 2005-09-14 David Schleef <ds@schleef.org>
25273 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25276 2005-09-14 David Schleef <ds@schleef.org>
25278 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25281 2005-09-14 David Schleef <ds@schleef.org>
25283 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25284 * gst/glib-compat.h: Add some functions that are in newer versions
25285 of glib than we care to require.
25286 * gst/gstregistryxml.c: Use them.
25288 2005-09-14 David Schleef <ds@schleef.org>
25290 * po/POTFILES.in: remove gst-register.c
25292 2005-09-14 David Schleef <ds@schleef.org>
25294 * docs/gst/gstreamer-docs.sgml:
25295 * docs/gst/gstreamer-sections.txt:
25296 * docs/gst/gstreamer.types:
25297 * docs/gst/tmpl/gstelement.sgml:
25298 * docs/gst/tmpl/gstplugin.sgml:
25299 * docs/gst/tmpl/gstpluginfeature.sgml:
25300 Documentation updates for registry changes.
25302 2005-09-14 David Schleef <ds@schleef.org>
25304 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25305 because we don't require glib-2.8.
25307 2005-09-14 David Schleef <ds@schleef.org>
25309 * gst/gstregistryxml.c: Added. Essentially moved out of the
25310 registries directory.
25312 2005-09-14 David Schleef <ds@schleef.org>
25314 * check/Makefile.am:
25315 * check/generic/states.c:
25319 * gst/gst_private.h:
25320 * gst/gstelementfactory.c:
25325 * gst/gstpluginfeature.c:
25326 * gst/gstpluginfeature.h:
25327 * gst/gstregistry.c:
25328 * gst/gstregistry.h:
25329 * gst/gstregistrypool.c: remove
25330 * gst/gstregistrypool.h: remove
25331 * gst/gsttypefind.c:
25332 * gst/gsttypefindfactory.c:
25334 * tools/Makefile.am:
25335 * tools/gst-compprep.c:
25336 * tools/gst-inspect.c:
25337 * tools/gst-register.c: remove
25338 * tools/gst-xmlinspect.c:
25339 Registry rewrite. Changes registry from being a file created
25340 by a tool into a simple cache file created automatically by
25341 libgstreamer. Removed gst-register (because it's no longer
25342 needed). Remove registry pools, because we only have one
25343 registry implementation (XML). Fix up other subsystems as
25346 2005-09-13 Michael Smith <msmith@fluendo.com>
25348 * gst/gstconfig.h.in:
25349 Don't Use windows linking attributes for MinGW. Fixes #316157
25351 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25353 * gst/gstutils.c: (set_state_async_thread_func),
25354 (gst_element_set_state_async):
25355 Apparently people think it's better if this function doesn't
25356 try to set the state to whatever state was asked for on the first
25357 call to this function for any object. Seriously.
25359 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25361 * check/gst/gstpipeline.c: (GST_START_TEST):
25362 * docs/gst/gstreamer-sections.txt:
25363 * gst/gstutils.c: (set_state_async_thread_func),
25364 (gst_element_set_state_async):
25366 add a "gst_element_set_state_async" method that
25367 sets the state and starts a thread to make sure the state
25368 change completes as best as it can
25370 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25372 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25373 codify design+behaviour in testsuite after discussion
25375 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25377 * docs/gst/tmpl/gstelement.sgml:
25378 * docs/manual/appendix-quotes.xml:
25380 * gst/gstelement.c: (gst_element_set_state):
25383 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25385 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25386 (gst_base_transform_prepare_output_buf),
25387 (gst_base_transform_handle_buffer):
25388 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25389 (gst_capsfilter_prepare_buf):
25390 Remove the requirement for sub-classes to call the parent
25391 implementation of prepare_output_buffer with a wrapper function.
25393 * gst/gsttaglist.h:
25394 * gst/gsttagsetter.h:
25395 Fix #define wrapper
25397 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25399 * docs/gst/gstreamer-sections.txt:
25402 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25404 * docs/gst/gstreamer-sections.txt:
25405 * docs/gst/tmpl/gstelement.sgml:
25406 * docs/gst/tmpl/gstplugin.sgml:
25407 * gst/gstminiobject.c:
25409 docs now stop throwing warnings
25411 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25413 * docs/gst/gstreamer-sections.txt:
25414 * docs/gst/gstreamer.types:
25415 * docs/gst/tmpl/gstpad.sgml:
25416 * docs/gst/tmpl/gsttypes.sgml:
25417 * gst/base/gstadapter.h:
25418 * gst/base/gstbasesink.h:
25419 * gst/base/gstbasesrc.h:
25425 * gst/gstelement.h:
25427 * gst/gstmessage.h:
25429 * gst/gststructure.c:
25430 * gst/registries/gstlibxmlregistry.h:
25431 various documentation fixes
25433 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25435 * docs/gst/gstreamer-sections.txt:
25436 * docs/gst/tmpl/gstvalue.sgml:
25437 rearrange gstvalue section
25438 * gst/gstutils.c: (gst_element_state_get_name):
25440 * gst/gstvalue.c: (_gst_value_initialize):
25444 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25446 * check/gst-libs/controller.c:
25447 Header include fix.
25448 * gst/base/gstbasetransform.c:
25449 (gst_base_transform_default_prepare_buf),
25450 (gst_base_transform_handle_buffer):
25451 * gst/base/gstbasetransform.h:
25452 Some more basetransform changes and fixes to enable sub-classes
25453 that modify buffer metadata only.
25454 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25455 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25456 (gst_capsfilter_prepare_buf):
25457 If the output pad has fixed allowed caps and input buffers
25458 don't have any, set the fixed caps on outgoing buffers.
25460 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25461 * check/elements/identity.c: (GST_START_TEST):
25462 Make the error a little clearer when the test fails because
25463 identity made a copy of the buffer.
25464 * docs/gst/gstreamer-sections.txt:
25465 New symbols in gstbasetransform.h
25466 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25467 (gst_base_transform_init), (gst_base_transform_transform_size),
25468 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25469 (gst_base_transform_default_prepare_buf),
25470 (gst_base_transform_get_unit_size),
25471 (gst_base_transform_buffer_alloc),
25472 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25473 (gst_base_transform_change_state),
25474 (gst_base_transform_set_passthrough),
25475 (gst_base_transform_set_in_place),
25476 (gst_base_transform_is_in_place):
25477 * gst/base/gstbasetransform.h:
25478 Change BaseTransform to separate in_place operate from same_caps
25479 output. in_place implies that the element can perform the transform
25480 on incoming buffers in-place, even if the caps on the output are
25482 Sub-class elements can now implement special buffer allocation
25483 methods for outgoing buffers if they wish to.
25484 Big documentation addition.
25485 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25486 * gst/elements/gstelements.c:
25487 Changes for basetransform modifications.
25488 * gst/elements/Makefile.am:
25489 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25490 Compile fix. Extra debug output.
25492 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25494 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25496 add tests for valid pad naming
25497 * gst/check/gstcheck.c: (gst_check_log_message_func),
25498 (gst_check_log_critical_func):
25500 remove printing of code, it is fragile when the code contains
25501 % and the line number is enough info
25502 * gst/check/gstcheck.h:
25503 * gst/gstpad.c: (gst_pad_template_new):
25506 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25509 say what CHECK flags we use
25510 * docs/libs/gstreamer-libs.types:
25511 * libs/gst/controller/Makefile.am:
25512 * libs/gst/controller/gst-controller.c:
25513 * libs/gst/controller/gst-controller.h:
25514 * libs/gst/controller/gst-helper.c:
25515 * libs/gst/controller/gst-interpolation.c:
25516 * libs/gst/controller/gstcontroller.c:
25517 * libs/gst/controller/gsthelper.c:
25518 * libs/gst/controller/gstinterpolation.c:
25519 * tools/gst-inspect.c: (print_plugin_info):
25520 we don't use dashes in header names
25522 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25524 * check/Makefile.am:
25525 * check/gst/.cvsignore:
25526 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25527 (gst_pipeline_suite), (main):
25528 adding a test for pipelines and state changes
25529 * gst/gstutils.c: (get_state_func):
25531 * gstreamer.spec.in:
25534 2005-09-08 Michael Smith <msmith@fluendo.com>
25536 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25537 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25538 (gst_file_src_is_seekable), (gst_file_src_get_size),
25539 (gst_file_src_start):
25540 * gst/elements/gstfilesrc.h:
25541 Various fixes for unseekable, unmmapable, and non-normal files, so
25542 that fallback to read() rather than mmap() works.
25543 * gst/gstevent.c: (gst_event_new_newsegment):
25544 Allow newsegment events with segment_start == segment_end, as will
25545 correctly happen if you use filesrc on a zero-size file, for
25548 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25550 * gst/gstplugin.c: (gst_plugin_load_file):
25551 Call g_module_close when we don't load the module
25553 * gst/registries/gstlibxmlregistry.c:
25554 (gst_xml_registry_get_property):
25555 Port leak fix from 0.8
25557 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25559 * docs/gst/gstreamer-docs.sgml:
25560 * docs/gst/tmpl/.cvsignore:
25561 * docs/gst/tmpl/gsttrace.sgml:
25562 * docs/gst/tmpl/gsttrashstack.sgml:
25565 * gst/gstelement.h:
25567 * gst/gstmessage.c:
25568 * gst/gstmessage.h:
25571 * gst/gsttaginterface.c:
25572 * gst/gsttaginterface.h:
25573 * gst/gsttaglist.c:
25574 * gst/gsttaglist.h:
25575 * gst/gsttagsetter.c:
25576 * gst/gsttagsetter.h:
25579 * gst/gsttrashstack.c:
25580 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25581 inlined docs for gsttrace, gsttrashstack
25583 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25586 * gst/elements/gstbufferstore.h:
25587 * gst/elements/gsttypefindelement.c:
25588 * gst/elements/gsttypefindelement.h:
25590 * gst/gsttypefind.c:
25591 * gst/gsttypefind.h:
25592 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25593 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25594 (gst_type_find_factory_dispose),
25595 (gst_type_find_factory_unload_thyself),
25596 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25597 (gst_type_find_factory_get_caps),
25598 (gst_type_find_factory_get_extensions),
25599 (gst_type_find_factory_call_function):
25600 * gst/gsttypefindfactory.h:
25601 * gst/registries/gstlibxmlregistry.c:
25602 * gst/registries/gstxmlregistry.c:
25603 splitted gsttypefind into gsttypefind, gsttypefindfactory
25605 2005-09-07 Andy Wingo <wingo@pobox.com>
25607 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25608 condition whereby the pad's task function is entered before the
25609 pad_mode variable was set.
25611 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25613 * gst/gstpad.c: (gst_pad_alloc_buffer):
25614 Catch misbehaving pad_alloc functions that don't
25615 set up caps and do it for them.
25617 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25619 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25620 test for pipe!=NULL
25621 * docs/gst/tmpl/.cvsignore:
25622 * docs/gst/tmpl/gstmemchunk.sgml:
25623 * docs/gst/tmpl/gstparse.sgml:
25624 * docs/gst/tmpl/gsttaglist.sgml:
25625 * docs/gst/tmpl/gsttagsetter.sgml:
25626 * docs/gst/tmpl/gsttypefind.sgml:
25627 * docs/gst/tmpl/gsttypefindfactory.sgml:
25628 * gst/gstmemchunk.c:
25631 * gst/gsttaginterface.c:
25632 * gst/gsttypefind.c:
25633 * gst/gsttypefind.h:
25636 === release 0.9.2 ===
25638 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25643 releasing 0.9.2, "South"
25645 2005-09-05 Andy Wingo <wingo@pobox.com>
25647 * gst/registries/gstxmlregistry.h:
25648 * gst/registries/gstxmlregistry.c: Um... resurrect...
25650 * gst/registries/gstxmlregistry.h:
25651 * gst/registries/gstxmlregistry.c: and update to newer API.
25652 Incidentally they should be a bit faster now that they don't have
25655 2005-09-05 Andy Wingo <wingo@pobox.com>
25657 * gst/registries/gstxmlregistry.h:
25658 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25659 replaced by the libxml registry a while back
25661 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25663 * docs/gst/tmpl/gstplugin.sgml:
25664 * gst/elements/gstelements.c:
25666 * gst/gstplugin.c: (gst_plugin_register_func),
25667 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25668 (gst_plugin_get_source):
25670 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25671 (gst_xml_registry_save_plugin):
25672 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25673 (gst_xml_registry_save_plugin):
25674 * tools/gst-inspect.c: (print_plugin_info):
25675 add a "source" plugin description field, to represent the source
25676 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25677 will set it to PACKAGE, which is automake's idea of the name of
25678 the source project.
25680 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25685 * docs/Makefile.am:
25686 * docs/faq/Makefile.am:
25687 * docs/gst/tmpl/gstelement.sgml:
25688 * docs/gst/tmpl/gsttypes.sgml:
25689 * docs/htmlinstall.mak:
25690 * docs/manual/Makefile.am:
25691 * docs/pwg/Makefile.am:
25692 reorganize doc build a little
25693 split out docbook and gtk-doc stuff
25694 have two separate --enable's and enable them through autogen
25695 but disable by default in configure (to be similar to other
25697 * gstreamer.spec.in:
25698 clean up docs install
25716 translation updates
25718 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25720 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25723 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25724 (gst_fake_sink_change_state):
25725 Make state change function thread-safe.
25727 * gst/gstpad.c: (gst_pad_alloc_buffer):
25728 Set offset on generic buffer allocated by fallback.
25730 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25732 * docs/gst/gstreamer-sections.txt:
25733 * docs/gst/tmpl/gstelement.sgml:
25735 * libs/gst/controller/gst-controller.c:
25736 (gst_controlled_property_set_interpolation_mode),
25737 (gst_controlled_property_new),
25738 (gst_controller_find_controlled_property):
25739 run the wingo-magic script against the docs
25741 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25743 * docs/gst/gstreamer-docs.sgml:
25744 * docs/gst/gstreamer-sections.txt:
25745 * docs/gst/tmpl/.cvsignore:
25746 * docs/gst/tmpl/gstelementdetails.sgml:
25747 * docs/gst/tmpl/gstelementfactory.sgml:
25750 * gst/gstelementfactory.c:
25751 * gst/gstelementfactory.h:
25752 merged elementdetails docs into elementfactory docs
25755 2005-09-02 Andy Wingo <wingo@pobox.com>
25757 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25758 consider this enum an enum and not a flags.
25760 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25762 * docs/gst/gstreamer-docs.sgml:
25763 * docs/gst/tmpl/.cvsignore:
25764 * docs/gst/tmpl/gstghostpad.sgml:
25765 * docs/gst/tmpl/gstiterator.sgml:
25766 * docs/gst/tmpl/gstmacros.sgml:
25767 * docs/gst/tmpl/gstrealpad.sgml:
25768 * docs/gst/tmpl/gstregistry.sgml:
25769 * docs/gst/tmpl/gstregistrypool.sgml:
25770 * docs/gst/tmpl/gststructure.sgml:
25771 * docs/gst/tmpl/gstsystemclock.sgml:
25772 * docs/gst/tmpl/gsttrace.sgml:
25773 * gst/gstghostpad.c:
25775 * gst/gstmemchunk.c:
25776 * gst/gstmemchunk.h:
25778 * gst/gstregistry.c:
25779 * gst/gstregistrypool.c:
25780 * gst/gststructure.c:
25781 * gst/gstsystemclock.c:
25784 2005-09-02 Andy Wingo <wingo@pobox.com>
25786 * gst/gstelement.h (GstState): Renamed from GstElementState,
25787 changed to be a normal enum instead of flags.
25788 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25789 munged to be GST_STATE_CHANGE_*.
25790 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25791 work with the new state representation.
25792 (GstStateChange): New enumeration of possible state transitions.
25793 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25794 (GstElementClass::change_state): Pass the GstStateChange along as
25795 an argument. Helps language bindings, so they don't have to use
25796 tricky lock-needing macros like GST_STATE_CHANGE ().
25798 * scripts/update-states (file): New script. Run it on a file to
25799 update it for state naming and API changes. Updates files in
25802 * All files updated for the new API.
25804 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25806 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25807 * gst/gstutils.c: (gst_util_set_value_from_string),
25808 (gst_util_set_object_arg):
25809 fix a bunch of unchecked return values
25810 * tools/gst-complete.c: (main):
25811 * gstreamer.spec.in:
25814 2005-09-01 Wim Taymans <wim@fluendo.com>
25816 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25817 (gst_base_sink_event), (gst_base_sink_do_sync),
25818 (gst_base_sink_handle_event):
25819 * gst/base/gstbasesink.h:
25820 Handle newsegments more correctly.
25825 * gst/gstevent.c: (gst_event_new_newsegment):
25826 A newsegment cannot have a start_time of -1
25828 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25830 * win32/gstenumtypes.c:
25831 * win32/gstenumtypes.h:
25834 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25836 * libs/gst/controller/gst-controller.c:
25837 (gst_controlled_property_set_interpolation_mode),
25838 (gst_controlled_property_new):
25839 fixed boolean again
25841 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25843 * docs/faq/gst-uninstalled:
25848 * gst/gstutils.c: (gst_element_link_filtered):
25850 add gst_element_link_filtered
25852 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25854 * docs/gst/gstreamer-docs.sgml:
25855 * docs/gst/gstreamer-sections.txt:
25856 * docs/gst/tmpl/.cvsignore:
25857 * docs/gst/tmpl/gsterror.sgml:
25858 * docs/gst/tmpl/gstfilter.sgml:
25859 * docs/gst/tmpl/gsturihandler.sgml:
25860 * docs/gst/tmpl/gsturitype.sgml:
25861 * docs/gst/tmpl/gstutils.sgml:
25862 * docs/gst/tmpl/gstxml.sgml:
25867 * gst/gsturitype.c:
25870 inlined more docs, fixed double id-ref
25872 2005-08-31 Wim Taymans <wim@fluendo.com>
25874 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25875 (gst_base_transform_handle_buffer):
25876 Passthrough elements don't need the caps as they don't care.
25878 2005-08-31 Wim Taymans <wim@fluendo.com>
25880 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25881 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25882 Don't leak refcounts on buffers.
25884 2005-08-31 Wim Taymans <wim@fluendo.com>
25886 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25887 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25888 (gst_base_transform_chain), (gst_base_transform_change_state):
25889 * gst/base/gstbasetransform.h:
25890 Handle the case where we are not negotiated more gracefully.
25892 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25894 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25895 (gst_file_src_map_region):
25896 Set READONLY flag on mmap'ed buffers, otherwise
25897 gst_buffer_make_writable() won't work properly (#314708).
25899 2005-08-31 Wim Taymans <wim@fluendo.com>
25901 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25902 passthrough elements can even do inplace on non writable
25903 buffers (as they don't touch them).
25905 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25907 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25908 (gst_test_mono_source_set_property),
25909 (gst_test_mono_source_class_init), (GST_START_TEST),
25910 (gst_controller_suite):
25911 more tests (hehe I have the most)
25913 describe popping messages whenusing mulltiple sources
25914 * libs/gst/controller/gst-controller.c:
25915 (gst_controlled_property_set_interpolation_mode),
25916 (gst_controlled_property_new):
25917 * libs/gst/controller/gst-controller.h:
25918 * libs/gst/controller/gst-interpolation.c:
25919 implement boolean properties
25921 2005-08-31 Wim Taymans <wim@fluendo.com>
25923 * gst/gstminiobject.c: (gst_mini_object_ref):
25924 Cannot assert that the refcount has to be positive
25925 since a disposed object can be resurrected.
25927 2005-08-31 Wim Taymans <wim@fluendo.com>
25929 * gst/gstpad.c: (gst_pad_init):
25930 Revert change, need to first fix badly behaving
25933 2005-08-30 Wim Taymans <wim@fluendo.com>
25935 * check/elements/fakesrc.c: (setup_fakesrc):
25936 * check/elements/identity.c: (setup_identity):
25937 Activate pads before using them.
25939 2005-08-30 Wim Taymans <wim@fluendo.com>
25941 * gst/base/gstadapter.c: (gst_adapter_flush):
25942 Flushing out 0 bytes is ok for this function.
25944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25945 no newsegment gives a warning and sets the start/stop to
25948 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25949 (gst_base_transform_set_passthrough):
25952 * gst/gstminiobject.c: (gst_mini_object_ref):
25953 Check refcount here too.
25955 * gst/gstpad.c: (gst_pad_init):
25956 Pads are initially flushing and refusing data.
25958 * gst/gstutils.c: (gst_element_link_pads_filtered):
25959 When adding a capsfilter element make sure it has the
25960 same state as the parent bin.
25962 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25964 * docs/gst/tmpl/.cvsignore:
25965 * docs/gst/tmpl/gstformat.sgml:
25966 * docs/gst/tmpl/gstversion.sgml:
25970 * gst/gstversion.h.in:
25971 more docs and two more inlined
25973 2005-08-30 Wim Taymans <wim@fluendo.com>
25975 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25976 Don't sync to clock.
25978 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25980 * docs/gst/gstreamer-sections.txt:
25981 ultral33t func10ns deserve to appear in the docs actually
25982 * docs/gst/tmpl/.cvsignore:
25983 * docs/gst/tmpl/gstcompat.sgml:
25984 * docs/gst/tmpl/gstconfig.sgml:
25985 * gst/check/gstcheck.c:
25987 * gst/gstconfig.h.in:
25990 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25992 * docs/gst/tmpl/.cvsignore:
25993 * docs/gst/tmpl/gstquery.sgml:
25994 * docs/gst/tmpl/gstutils.sgml:
25997 inlined and extended docs
25999 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26001 * check/gst-libs/controller.c: (GST_START_TEST),
26002 (gst_controller_suite):
26004 * docs/gst/tmpl/gstutils.sgml:
26005 * docs/libs/gstreamer-libs-sections.txt:
26006 * docs/libs/tmpl/gstdataprotocol.sgml:
26008 * examples/controller/audio-example.c: (main):
26009 controller example works now
26012 * tools/gst-inspect.c: (print_element_properties_info):
26013 show param spec flags
26015 2005-08-29 Andy Wingo <wingo@pobox.com>
26017 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26019 2005-08-28 Andy Wingo <wingo@pobox.com>
26021 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26022 as having two arguments instead of just one. Allows superclasses
26023 to access information on subclasses -- see the terrible for() loop
26024 in gtype.c:g_type_create_instance for the reason why. All callers
26027 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26029 * docs/design/part-messages.txt:
26031 * docs/gst/tmpl/.cvsignore:
26032 * docs/gst/tmpl/gstcaps.sgml:
26033 * docs/gst/tmpl/gstclock.sgml:
26039 * gst/gstmessage.c:
26040 added descriptions for bus and message
26041 inline caps and clock docs
26043 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26045 * gst/gstmessage.c:
26046 * gst/gstmessage.h:
26049 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26051 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26054 2005-08-26 Andy Wingo <wingo@pobox.com>
26056 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26057 element_set_state's return val.
26058 (test_2_elements): Add test that's been disabled for months.
26060 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26061 can-activate-pull properties.
26063 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26064 can-activate-pull properties. Implement is_seekable so fakesrc can
26065 operate in pull mode.
26067 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26069 (gst_base_sink_activate, gst_base_sink_activate_pull)
26070 (gst_base_sink_activate_push): Make activation mode choosing work.
26072 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26073 is right. Make pull mode work. Post an eos before pausing in pull
26075 (gst_base_sink_change_state): Pay attention to the core's
26076 change_state() return val.
26078 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26079 has-getrange properties. Cleanups.
26081 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26082 has_getrange and replace with can_activate_pull and
26085 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26086 locking comments. Remove has_loop, has_chain and replace with
26087 can_activate_pull and can_activate_push.
26089 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26092 * examples/Makefile.am:
26093 * examples/metadata/Makefile.am:
26094 * examples/metadata/read-metadata.c: (message_loop),
26095 (have_pad_handler), (make_pipeline), (print_tag), (main):
26096 Add metadata reading example that loops over a list of filenames,
26097 dumping any tags found.
26099 * gst/gstbus.c: (gst_bus_dispose):
26100 * gst/gstelement.c: (gst_element_dispose):
26101 Release a few potentially-held references in dispose.
26103 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26105 * docs/gst/tmpl/gstminiobject.sgml:
26106 do *not* add tmpl/*.sgml files to CVS!
26108 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26110 * libs/gst/bytestream/.cvsignore:
26111 * libs/gst/bytestream/Makefile.am:
26112 * libs/gst/bytestream/adapter.c:
26113 * libs/gst/bytestream/adapter.h:
26114 * libs/gst/bytestream/bytestream.c:
26115 * libs/gst/bytestream/bytestream.h:
26116 * libs/gst/bytestream/filepad.c:
26117 * libs/gst/bytestream/filepad.h:
26118 removing obsolete files
26120 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26122 * docs/gst/gstreamer-docs.sgml:
26123 * docs/libs/gstreamer-libs-docs.sgml:
26124 disabed additional index entries again, as this makes docs-gen just
26125 slow and they aren't useful yet
26126 * docs/libs/gstreamer-libs-sections.txt:
26127 little -section.txt cleanup for libs
26129 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26132 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26133 fix up some debugging
26134 (gst_base_transform_get_unit_size),
26135 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26136 (gst_base_transform_handle_buffer):
26137 * gst/base/gstbasetransform.h:
26138 handle and store timed NEWSEGMENT events so that subclasses that
26139 calculate time by counting samples have a segment_start time they
26140 need to add to their timestamps - see audioresample
26142 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26145 removed ';' from the end of macro defs
26146 * docs/gst/gstreamer-docs.sgml:
26147 * docs/gst/gstreamer-sections.txt:
26148 * docs/gst/tmpl/.cvsignore:
26150 * gst/gstelement.c: (gst_element_class_init),
26151 (gst_element_set_state), (activate_pads),
26152 (gst_element_save_thyself):
26153 * gst/gstevent.c: (gst_event_new_newsegment):
26155 * gst/gstiterator.c:
26156 * gst/gstiterator.h:
26159 * gst/gstutils.c: (gst_pad_query_convert):
26161 fixed parameter name mismatches between source, header and docs
26162 added some more docs, resolved the last batch of unused elements in
26163 docs (now someone needs to doc them)
26165 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26167 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26168 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26169 don't walk through the plugins backwards. Where is all this
26170 reversed logic coming from ?
26172 2005-08-25 Wim Taymans <wim@fluendo.com>
26174 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26175 (gst_base_transform_transform_size),
26176 (gst_base_transform_configure_caps),
26177 (gst_base_transform_get_unit_size),
26178 (gst_base_transform_buffer_alloc),
26179 (gst_base_transform_change_state):
26180 * gst/base/gstbasetransform.h:
26181 Cache caps unit_size.
26182 Make sure we cannot negotiate up and downstream at the
26185 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26187 * gst/gst.c: (init_pre), (init_post):
26188 register the installed plugin path after the env var
26189 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26190 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26191 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26192 directories, so the tests can prefer uninstalled over installed
26194 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26196 * gst/base/gstbasetransform.h:
26201 2005-08-25 Wim Taymans <wim@fluendo.com>
26203 * gst/gstbin.c: (bin_bus_handler):
26204 Be a bit more conservative about the posted message.
26206 * gst/gstbus.c: (gst_bus_post):
26207 Some cleanups, warn wrong return values.
26209 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26211 * check/gst/gstbin.c: (GST_START_TEST):
26212 * gst/gstbin.c: (bin_bus_handler):
26213 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26214 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26215 (gst_message_new_warning), (gst_message_new_tag),
26216 (gst_message_new_state_changed), (gst_message_new_segment_start),
26217 (gst_message_new_segment_done), (gst_message_new_custom):
26218 * gst/gstmessage.h:
26219 * tools/gst-launch.c: (event_loop):
26220 * tools/gst-md5sum.c: (event_loop):
26221 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26223 2005-08-25 Wim Taymans <wim@fluendo.com>
26225 * check/generic/states.c: (GST_START_TEST):
26226 Cleanup can be done at the end.
26228 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26229 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26230 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26231 Oh boy.. Thanks for finding this, Thomas.
26233 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26235 * docs/gst/gstreamer.types:
26236 added missing types
26238 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26240 * docs/gst/gstreamer-docs.sgml:
26241 * docs/gst/gstreamer-sections.txt:
26242 * docs/gst/tmpl/.cvsignore:
26244 * gst/gstiterator.c:
26246 * gst/registries/gstxmlregistry.h:
26247 added missing classes and symbols (123 more to go)
26248 removed removed symbols from section file
26249 fixed many doc-comments
26251 2005-08-24 Wim Taymans <wim@fluendo.com>
26253 * check/generic/states.c: (GST_START_TEST):
26254 Make sure all tasks are stopped.
26256 * check/gst/gstbin.c: (GST_START_TEST):
26257 Unref after usage for proper valgrinding.
26259 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26260 Really wait for the task to stop before destroying the
26263 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26264 (gst_queue_src_activate_push):
26265 Small cleanups. Don't stop the task when we did not start
26268 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26269 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26270 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26273 Protect the stream lock with the object lock.
26274 Disallow setting the stream lock when running.
26275 Add cleanup_all to wait for the threadpool to finish.
26276 Remove code to autoallocate a mutex if none was provided.
26277 Add _join() to wait for a task to stop.
26278 Protect the thread pool with a global lock.
26280 2005-08-24 Wim Taymans <wim@fluendo.com>
26282 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26283 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26284 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26285 * gst/base/gstbasesink.h:
26286 Handle newsegment events correctly.
26287 Drop buffers out of the segment range.
26289 2005-08-22 Andy Wingo <wingo@pobox.com>
26291 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26292 macro, implements an interface and gstimplementsinterface for a
26295 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26297 * check/Makefile.am:
26298 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26299 add a test that does a bunch of state changes on elements
26300 needs some fixing for valgrind
26301 * check/states/sinks.c: (gst_object_suite):
26304 add prototype for gst_caps_is_equal_fixed
26306 * gst/gstregistrypool.c:
26309 2005-08-24 Andy Wingo <wingo@pobox.com>
26311 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26312 convert a negative value. Doesn't make much sense. Mostly this is
26313 here to force callers to ensure -1 maps to -1.
26315 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26317 * docs/pwg/advanced-types.xml:
26318 Well done to Michael for catching my deliberate introduction
26319 of this spelling mistake.
26320 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26321 * gst/gstelement.h:
26322 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26323 unlink pads before removing the element from the bin.
26325 2005-08-24 Andy Wingo <wingo@pobox.com>
26327 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26328 the same thing as GST_DEBUG=*:4.
26329 (parse_debug_level, parse_debug_category): New helper parsers.
26331 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26333 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26334 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26335 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26336 (gst_base_transform_buffer_alloc),
26337 (gst_base_transform_handle_buffer):
26338 use gboolean return values and pointers to size so we can use the
26339 full GST_BUFFER_SIZE range (guint) for buffer sizes
26340 use GstPadDirection for transform_caps
26341 * gst/base/gstbasetransform.h:
26342 rename get_size to get_unit_size since that's what it is
26343 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26344 use GstPadDirection for transform_caps
26345 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26347 cleanup and debugging
26349 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26351 * gst/gstelement.c: (gst_element_class_init),
26352 (gst_element_set_state), (activate_pads),
26353 (gst_element_save_thyself):
26354 * tools/gst-compprep.c: (main):
26355 * tools/gst-inspect.c: (print_element_properties_info):
26356 * tools/gst-xmlinspect.c: (print_element_properties):
26357 Fixed long standing mem-leak
26359 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26361 * check/gst/gstbin.c: (GST_START_TEST):
26362 * gst/gstbin.c: (bin_bus_handler):
26363 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26364 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26365 (gst_message_new_warning), (gst_message_new_tag),
26366 (gst_message_new_state_changed), (gst_message_new_segment_start),
26367 (gst_message_new_segment_done), (gst_message_new_custom):
26368 * gst/gstmessage.h:
26369 * tools/gst-launch.c: (event_loop):
26370 * tools/gst-md5sum.c: (event_loop):
26371 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26372 that applications can sensibly post custom messages with references
26373 to their own objects.
26375 2005-08-24 Andy Wingo <wingo@pobox.com>
26377 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26380 2005-08-24 Wim Taymans <wim@fluendo.com>
26382 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26383 (gst_base_transform_transform_caps),
26384 (gst_base_transform_transform_size),
26385 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26386 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26387 (gst_base_transform_handle_buffer):
26388 * gst/base/gstbasetransform.h:
26389 Many fixes and new features added by Thomas. Can now also do
26390 transforms with variable sizes and a custom fixate_caps function.
26392 2005-08-24 Wim Taymans <wim@fluendo.com>
26394 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26398 Cast to ClockTime before formatting to time.
26403 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26405 * check/gst-libs/controller.c: (GST_START_TEST),
26406 (gst_controller_suite):
26407 * docs/gst/tmpl/gstcaps.sgml:
26408 * docs/gst/tmpl/gstghostpad.sgml:
26409 * docs/gst/tmpl/gstquery.sgml:
26410 * docs/gst/tmpl/gstutils.sgml:
26411 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26412 (gst_object_sink_values), (gst_object_get_value_arrays),
26413 (gst_object_get_value_array):
26414 gracefully handle helper method calls to objects that are not beeing
26415 controlled, added test case for that
26417 2005-08-23 Wim Taymans <wim@fluendo.com>
26419 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26420 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26421 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26422 (gst_event_parse_qos), (gst_event_new_seek),
26423 (gst_event_parse_seek):
26425 Some more debugging output and doc cleanups.
26427 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26428 Fix possible deadlock.
26430 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26432 * docs/gst/gstreamer-docs.sgml:
26433 * docs/gst/gstreamer-sections.txt:
26434 * docs/gst/gstreamer.types:
26435 * docs/gst/tmpl/.cvsignore:
26438 * gst/gstelement.c:
26440 added 100 symbols from gstreamer-unused.txt to the right sections
26441 fixed more broken comments
26442 added GstBus to docs
26444 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26446 * docs/gst/gstreamer-sections.txt:
26447 * docs/gst/tmpl/.cvsignore:
26448 * docs/gst/tmpl/gstbin.sgml:
26449 * docs/gst/tmpl/gstbuffer.sgml:
26450 * gst/base/gstbasesrc.c:
26451 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26454 * tools/gst-launch.1.in:
26455 inlined more doc comments, added missing comments and fixed comments
26458 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26460 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26464 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26466 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26467 * gst/gststructure.h:
26468 add a fixate function for booleans; add a FIXME that these func
26469 names should probably be gst_structure_fixate_*
26471 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26473 * docs/gst/gstreamer-docs.sgml:
26474 * docs/gst/gstreamer-sections.txt:
26476 * gst/gstbin.c: (gst_bin_get_type),
26477 (gst_bin_child_proxy_get_child_by_index),
26478 (gst_bin_child_proxy_get_children_count),
26479 (gst_bin_child_proxy_init):
26480 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26481 (gst_child_proxy_get_child_by_index),
26482 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26483 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26484 (gst_child_proxy_get), (gst_child_proxy_set_property),
26485 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26486 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26487 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26488 * gst/gstchildproxy.h:
26489 * gst/parse/grammar.y:
26490 * tools/gst-inspect.c: (print_interfaces),
26491 (print_element_properties_info), (print_element_info):
26492 ported gstchildproxy over from 0.8
26493 ported gst-inspect fixes and enhancements over from 0.8
26495 2005-08-22 Wim Taymans <wim@fluendo.com>
26497 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26498 (gst_base_transform_handle_buffer):
26499 Also call the transform function if we have ANY caps.
26501 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26504 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26506 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26507 Don't pretend to handle seek events if the source is not seekable
26509 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26512 Remove extra parameter to debug output
26514 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26515 (gst_base_src_do_seek), (gst_base_src_activate_push):
26516 Fix seek event handling.
26518 * gst/gstpipeline.c: (gst_pipeline_change_state):
26519 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26520 (gst_queue_src_activate_push):
26521 Don't start the src pad task on FLUSH_STOP if the pad
26525 2005-08-22 Wim Taymans <wim@fluendo.com>
26527 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26528 Added check for gst_static_caps_get() refcounting.
26530 2005-08-22 Wim Taymans <wim@fluendo.com>
26532 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26533 Make _static_caps_get() refcounting sane.
26535 * gst/gstelement.c: (gst_element_set_state):
26536 Add g_return_val_if_fail() to protect against segfaults.
26538 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26540 * docs/gst/tmpl/gstevent.sgml:
26543 inlined remaining docs, added missing doc comments
26545 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26547 * check/gst/gstbin.c: (GST_START_TEST):
26548 since we don't know when preroll is done, use refcount range
26550 * gst/check/gstcheck.h:
26551 add macro for checking refcount range
26553 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26555 * check/Makefile.am:
26556 clean up environment for when registry gets built versus
26557 when actual tests are run; valgrind seems to not report
26558 leaks if GST_PLUGIN_PATH is set to some specific values
26559 * check/gst/gstbin.c: (GST_START_TEST):
26560 add more refcounting checks; maybe this exposes a
26562 * common/check.mak:
26563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26564 * gst/check/gstcheck.h:
26565 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26566 (gst_bin_change_state):
26567 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26568 add/fix debugging/whitespace
26570 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26572 * check/gst/gstevent.c: (event_probe), (test_event),
26574 Er, don't call gst_bin_watch_for_state_change you idiot.
26576 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26578 * check/Makefile.am:
26579 Use CHECK_CFLAGS and CHECK_LIBS
26580 * check/gst/gstevent.c: (event_probe), (test_event),
26583 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26584 (gst_base_src_start), (gst_base_src_stop),
26585 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26586 (gst_base_src_change_state):
26587 Sprinkle gst_base_src_stop liberally around error paths to fix
26588 problems reusing a source after failed state changes.
26589 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26590 (helper_find_suggest), (gst_type_find_helper):
26591 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26593 * docs/gst/tmpl/gstevent.sgml:
26594 Migrate part of the docs from the SGML file. Wait for ensonic to
26595 tell me how I did it wrong ;)
26596 * tools/gst-typefind.c: (main):
26597 Extra robustness to state changes between files.
26599 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26601 * check/Makefile.am:
26602 don't valgrind the controller test - it's leaking - Stefan, HELP
26603 * gst/check/gstcheck.c: (gst_check_message_error),
26604 (gst_check_chain_func), (gst_check_setup_element),
26605 (gst_check_teardown_element), (gst_check_setup_src_pad),
26606 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26607 (gst_check_teardown_sink_pad):
26608 * gst/check/gstcheck.h:
26609 add a bunch of methods to set up elements, and src and sink pads
26610 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26611 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26614 * gst/gstmessage.c:
26616 whitespace/doc fixes
26618 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26620 * gst/gstelement.h:
26621 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26622 be handled by the application and not always printed as well
26624 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26626 * check/Makefile.am:
26628 * gst/check/gstcheck.c: (gst_check_message_error):
26629 * gst/check/gstcheck.h:
26630 add a fail_unless_equals_int
26631 add fail_unless for error messages
26633 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26635 * check/Makefile.am:
26637 * common/Makefile.am:
26638 * common/check.mak:
26640 factor out some of the common stuff so we can use it
26642 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26644 * check/Makefile.am:
26645 * check/gst/gstiterator.c: (GST_START_TEST):
26646 * check/gst/gstsystemclock.c: (GST_START_TEST),
26647 (gst_systemclock_suite):
26648 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26650 valgrind more tests
26652 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26654 * check/elements/.cvsignore:
26655 * check/elements/gstfakesrc.c:
26656 rename to name of element
26657 * check/elements/identity.c: (chain_func), (event_func),
26658 (setup_identity), (cleanup_identity), (GST_START_TEST),
26659 (identity_suite), (main):
26660 add a test for identity
26661 * check/Makefile.am:
26662 * pkgconfig/Makefile.am:
26663 * pkgconfig/gstreamer-check.pc.in:
26664 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26668 move the check stuff to a library that gets installed
26669 * check/gst-libs/controller.c: (GST_START_TEST):
26670 * check/gst-libs/gdp.c:
26671 * check/gst/gst.c: (GST_START_TEST):
26672 * check/gst/gstbin.c:
26673 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26674 * check/gst/gstbus.c:
26675 * check/gst/gstcaps.c: (GST_START_TEST):
26676 * check/gst/gstelement.c:
26677 * check/gst/gstghostpad.c:
26678 * check/gst/gstiterator.c:
26679 * check/gst/gstmessage.c:
26680 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26681 * check/gst/gstobject.c:
26682 * check/gst/gstpad.c: (GST_START_TEST):
26683 * check/gst/gststructure.c: (GST_START_TEST):
26684 * check/gst/gstsystemclock.c: (GST_START_TEST),
26685 (gst_systemclock_suite):
26686 * check/gst/gsttag.c: (gst_tag_suite):
26687 * check/gst/gstvalue.c:
26688 * check/pipelines/cleanup.c:
26689 * check/pipelines/simple_launch_lines.c:
26690 * check/states/sinks.c:
26691 change include statement
26693 * docs/gst/gstreamer-sections.txt:
26694 * docs/gst/tmpl/gstpad.sgml:
26695 document more pad stuff
26696 * gst/gstminiobject.c: (gst_mini_object_ref),
26697 (gst_mini_object_unref):
26700 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26702 * docs/gst/tmpl/gst.sgml:
26704 eliminate another tmpl file, fix spelling in the long-description
26706 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26708 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26709 (test_event), (timediff), (gstevents_suite):
26710 Should fix build on 64-bit arch's
26712 2005-08-18 Andy Wingo <wingo@pobox.com>
26714 Make sure that when a pipeline goes to PLAYING, that data has
26715 actually hit the sink.
26717 * check/states/sinks.c (test_sink): A sink that doesn't get any
26718 data shouldn't return SUCCESS for going to either PLAYING or
26719 PAUSED. Test also the return values on the way back down.
26721 * gst/gstelement.c (gst_element_set_state): When changing the
26722 state of an element currently changing state asynchronously, go to
26723 lost-state after commiting the pending state. Makes future calls
26724 to get_state continue to return ASYNC.
26726 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26727 ASYNC when going to PLAYING if we still don't have preroll, as can
26728 happen with live sources.
26730 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26732 * docs/pwg/advanced-types.xml:
26733 Hack long paragraph into 2 chunks as a workaround for buggy
26734 jadetex version in sid and breezy that loops infinitely and
26737 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26739 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26740 (test_event), (timediff), (gstevents_suite):
26741 Provide more error margin in clock measurements to allow for
26742 g_get_current_time inaccuracies.
26744 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26746 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26747 (test_event), (timediff), (gstevents_suite):
26748 Fix error message output so I might be able to tell why the
26749 test works here but fails on the build farm.
26751 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26753 * check/Makefile.am:
26754 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26755 (test_event), (timediff), (gstevents_suite), (main):
26758 * docs/design/part-seeking.txt:
26759 Spelling correction
26761 * docs/gst/tmpl/gstevent.sgml:
26762 * docs/gst/tmpl/gstfakesrc.sgml:
26765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26766 Treat a buffer-without-newsegment the same as a receiving
26767 a newsegment not in time format, and disable syncing to the clock
26770 * gst/gstbus.c: (gst_bus_set_sync_handler):
26771 Assert if anyone tries to replace the existing sync_handler for bus,
26772 as only the owner should be setting it.
26775 Have a fixed set of custom event enums with events identified by
26776 their structure name (as in 0.8), rather than a free-for-all
26777 allowing collisions between enum values from different plugins.
26779 * gst/gstpad.c: (gst_pad_class_init):
26782 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26783 Handle out-of-band downstream events from the sending thread.
26785 2005-08-17 Andy Wingo <wingo@pobox.com>
26787 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26788 play-timeout==0 to mean no timeout at all. In that case, don't
26789 bother with a get_state or a warning, just return directly, even
26792 * gst/base/gstbasetransform.c: Debug changes.
26795 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26796 ensure bins post state change messages. A bit of a hack but I can't
26797 think of a way to avoid it.
26799 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26801 2005-08-16 Andy Wingo <wingo@pobox.com>
26803 * gst/base/gstadapter.h:
26804 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26805 peek() but you own the data. Not terribly efficient atm.
26807 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26809 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26810 (gst_element_found_tags):
26812 Add two utility functions for tag handling.
26814 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26816 * docs/manual/advanced-dataaccess.xml:
26817 * docs/manual/basics-helloworld.xml:
26818 Fix docs to use _bin_add() before _link(), which fixes the examples
26819 with recent core versions (reported by Madhan Raj M
26820 <raj_madan@rediffmail.com>, #313199).
26822 2005-08-16 Wim Taymans <wim@fluendo.com>
26824 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26825 Added subtract checks.
26827 * docs/design/part-events.txt:
26828 Some more docs about newsegment
26830 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26833 * gst/gstcaps.c: (gst_caps_to_string):
26834 Add comments, cleanups.
26836 * gst/gstelement.c: (gst_element_save_thyself):
26839 * gst/gstvalue.c: (gst_value_collect_int_range),
26840 (gst_string_unwrap), (gst_value_union_int_int_range),
26841 (gst_value_union_int_range_int_range),
26842 (gst_value_intersect_int_int_range),
26843 (gst_value_intersect_int_range_int_range),
26844 (gst_value_intersect_double_double_range),
26845 (gst_value_intersect_double_range_double_range),
26846 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26847 (gst_value_subtract_int_range_int),
26848 (gst_value_subtract_double_range_double),
26849 (gst_value_subtract_double_range_double_range),
26850 (gst_value_subtract_from_list), (gst_value_subtract_list),
26851 (gst_value_can_compare), (gst_value_compare_fraction):
26852 Cleanups, add comments, remove unneeded asserts.
26854 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26856 * tools/gst-launch.c: (event_loop):
26857 don't convert NULL structures to strings
26859 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26861 * docs/gst/gstreamer-sections.txt:
26862 made some defines private
26863 * docs/gst/tmpl/gstconfig.sgml:
26864 * docs/gst/tmpl/gstqueue.sgml:
26865 * docs/gst/tmpl/gsttaglist.sgml:
26866 * docs/gst/tmpl/gsttypes.sgml:
26867 * docs/gst/tmpl/gstutils.sgml:
26868 * docs/pwg/appendix-porting.xml:
26869 * gst/base/gstbasesink.h:
26870 * gst/base/gstbasesrc.c:
26871 * gst/base/gstbasesrc.h:
26872 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26873 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26874 * gst/gstelement.c: (gst_element_class_init):
26875 * gst/gstpad.c: (gst_pad_class_init):
26876 * gst/gstqueue.c: (gst_queue_class_init):
26877 * gst/gstxml.c: (gst_xml_class_init):
26878 documented all undocumented signal inline
26879 * libs/gst/controller/gst-controller.h:
26882 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26884 * docs/pwg/appendix-porting.xml:
26885 Document _set_link_function -> _set_setcaps_function.
26887 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26889 * check/Makefile.am:
26890 add a .check target for running the check
26891 * check/gst-libs/controller.c: (GST_START_TEST):
26893 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26894 complete checks for gstbuffer; would be nice if I could get the
26895 gcov stuff to work so I can see if I actually completed gstbuffer.c
26896 * check/gstcheck.h:
26897 add ASSERT_BUFFER_REFCOUNT
26899 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26901 * docs/gst/gstreamer-sections.txt:
26902 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26904 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26905 spew out a warning if a tag that is already registered
26906 is re-registered, unless it is re-registered with a
26907 different type (#308438).
26909 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26911 * docs/pwg/appendix-porting.xml:
26912 * docs/pwg/building-state.xml:
26913 Add some paragraphs about state changes in 0.9 to the PWG
26914 and the porting guide, in particular about the new meaning
26915 of GST_STATE_PAUSED and how to write state change functions
26916 with concurrent access by multiple threads in mind.
26918 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26920 * docs/gst/gstreamer-docs.sgml:
26921 * docs/libs/gstreamer-libs-docs.sgml:
26922 added deprecation and since indexes
26923 * libs/gst/controller/gst-controller.c:
26924 * libs/gst/controller/gst-helper.c:
26928 2005-08-11 Wim Taymans <wim@fluendo.com>
26930 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26931 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26932 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26933 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26934 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26935 (gst_ghost_pad_set_target):
26936 Actually implement (re)setting the target on a ghostpad
26937 as described in the docs.
26939 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26941 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26942 Check whether GST_DEBUG_NO_COLOR environment variable is
26943 set and disable coloured debug output if that is the case.
26945 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26947 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26948 (gst_type_find_helper):
26949 The memory returned by gst_type_find_peek() needs to
26950 stay valid until the end of a typefind function, and
26951 typefind functions may keep results from different
26952 offsets around, so we can't just unref the buffer from
26953 the previous _peek(), but have to save all buffers
26954 returned by _peek() until typefinding is done and only
26957 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26959 * docs/gst/gstreamer-sections.txt:
26961 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26963 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26965 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26966 Fix a pretty good memleak.
26968 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26970 * gst/gstiterator.h:
26971 Fix wrong include and 'make distcheck'.
26973 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26975 * gst/gstbin.c: (bin_bus_handler):
26976 Use gst_element_post_message() instead.
26978 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26980 * gst/base/gstadapter.h:
26981 * gst/base/gstbasesink.h:
26982 * gst/base/gstbasesrc.h:
26983 * gst/base/gstbasetransform.h:
26984 * gst/base/gstcollectpads.h:
26985 * gst/base/gstpushsrc.h:
26986 * gst/gstiterator.h:
26987 Add padding to our base elements' class and instance structs and
26988 to GstIterator (you will need to rebuild all plugins and apps!)
26990 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26992 * gst/gstbin.c: (bin_bus_handler):
26993 Make default message forwarding from child->bus to bin->bus
26994 threadsafe and make it not emit warnings if the parent has no bus.
26996 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26998 * gst/gstelement.c: (activate_pads):
26999 On paused->ready, set pad->caps to NULL, as is the documented
27000 behaviour in this state change. Fixes playback of series of
27001 media files when visualization is enabled in Totem.
27003 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27005 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27006 Allow NULL as filter-caps (which means "any").
27008 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27010 * docs/libs/gstreamer-libs-sections.txt:
27011 * libs/gst/controller/gst-controller.c:
27012 * libs/gst/controller/gst-controller.h:
27013 * libs/gst/controller/gst-helper.c:
27014 adding more entries to the docs and fix small doc-bugs
27016 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27018 * docs/gst/gstreamer-docs.sgml:
27019 * docs/gst/gstreamer-sections.txt:
27020 * docs/gst/gstreamer.types:
27021 * docs/gst/tmpl/gstbasesink.sgml:
27022 * docs/gst/tmpl/gstbasesrc.sgml:
27023 * docs/gst/tmpl/gstbasetransform.sgml:
27024 * docs/gst/tmpl/gstfakesrc.sgml:
27025 * gst/base/gstcollectpads.c:
27026 * gst/base/gstcollectpads.h:
27027 * libs/gst/controller/gst-controller.c:
27028 * libs/gst/controller/gst-controller.h:
27029 * libs/gst/controller/gst-helper.c:
27030 * libs/gst/controller/gst-interpolation.c:
27031 * libs/gst/controller/lib.c:
27032 added long/short desc for controller docs
27033 added collectpads base class docs
27034 added correct includes to base-class docs
27036 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27038 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27039 (gst_test_mono_source_set_property),
27040 (gst_test_mono_source_class_init), (GST_START_TEST),
27041 (gst_controller_suite):
27042 * docs/gst/gstreamer-docs.sgml:
27043 * docs/gst/gstreamer-sections.txt:
27044 * docs/gst/gstreamer.types:
27045 * docs/libs/gstreamer-libs-docs.sgml:
27046 * docs/libs/gstreamer-libs-sections.txt:
27047 * gst/base/gstadapter.c:
27048 * libs/gst/controller/gst-controller.c:
27049 (gst_controlled_property_new), (gst_controlled_property_free),
27050 (gst_controller_new_valist),
27051 (gst_controller_remove_properties_valist),
27052 (gst_controller_sink_values), (_gst_controller_finalize):
27053 * libs/gst/controller/gst-controller.h:
27054 * libs/gst/controller/gst-helper.c:
27055 (gst_object_control_properties), (gst_object_uncontrol_properties),
27056 (gst_object_get_controller), (gst_object_set_controller),
27057 (gst_object_sink_values), (gst_object_get_value_arrays),
27058 (gst_object_get_value_array):
27059 more tests (and fixes) for the controller
27060 more docs for the controller
27061 integrated companies docs for the adapter
27063 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27065 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27066 (GST_START_TEST), (fakesrc_suite):
27067 add tests for sizetype
27069 2005-08-04 Andy Wingo <wingo@pobox.com>
27071 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27072 fixes buffer_alloc proxying among other things.
27074 * gst/base/gstbasetransform.c:
27075 * gst/base/gstbasetransform.h:
27076 Revert patch to gstbasetransform from 7-28 removing
27079 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27080 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27081 Semantics changed, should return not the size of the output buffer
27082 but the byte size of a buffer with a given caps.
27084 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27086 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27087 out) are not the pad caps until setcaps finishes.
27088 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27089 not-in-place case as well. Deal with changing from in-place to
27090 not-in-place within calling pad_alloc_buffer. Still a bit
27091 concerned about the overhead here...
27093 2005-08-03 Andy Wingo <wingo@pobox.com>
27095 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27096 fixating is an error.
27098 2005-08-04 Edward Hervey <edward@fluendo.com>
27100 * gst/base/gstadapter.h:
27101 Added gst_adapter_get_type() to the header
27103 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27105 * check/Makefile.am:
27106 * check/gst-libs/controller.c:
27107 * libs/gst/controller/gst-controller.c:
27108 (gst_controller_new_valist):
27109 added check test suite for the controller
27110 * gst/base/gstpushsrc.c:
27113 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27115 * docs/gst/Makefile.am:
27116 * docs/gst/gstreamer-docs.sgml:
27117 * docs/gst/gstreamer-sections.txt:
27118 * docs/gst/gstreamer.types:
27119 * docs/gst/tmpl/gstfakesrc.sgml:
27121 * gst/base/gstbasesink.c:
27122 * gst/base/gstbasesink.h:
27123 * gst/base/gstbasesrc.c:
27124 * gst/base/gstbasesrc.h:
27125 * gst/base/gstbasetransform.c:
27126 * gst/base/gstpushsrc.c:
27127 * gst/base/gstpushsrc.h:
27128 add short/long description docs to base classes
27129 add pushsrc to the docs
27130 remove consolidated doc fragments
27132 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27135 * docs/libs/Makefile.am:
27136 * docs/libs/gstreamer-libs-docs.sgml:
27137 * docs/libs/gstreamer-libs-sections.txt:
27138 * docs/libs/gstreamer-libs.types:
27139 * examples/Makefile.am:
27140 * examples/controller/.cvsignore:
27141 * examples/controller/Makefile.am:
27142 * examples/controller/audio-example.c: (main):
27143 * libs/gst/Makefile.am:
27144 * libs/gst/controller/.cvsignore:
27145 * libs/gst/controller/Makefile.am:
27146 * libs/gst/controller/gst-controller.c:
27147 (on_object_controlled_property_changed), (gst_timed_value_compare),
27148 (gst_timed_value_find),
27149 (gst_controlled_property_set_interpolation_mode),
27150 (gst_controlled_property_new), (gst_controlled_property_free),
27151 (gst_controller_find_controlled_property),
27152 (gst_controller_new_valist), (gst_controller_new),
27153 (gst_controller_remove_properties_valist),
27154 (gst_controller_remove_properties), (gst_controller_set),
27155 (gst_controller_set_from_list), (gst_controller_unset),
27156 (gst_controller_get), (gst_controller_get_all),
27157 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27158 (gst_controller_get_value_array),
27159 (gst_controller_set_interpolation_mode),
27160 (_gst_controller_finalize), (_gst_controller_init),
27161 (_gst_controller_class_init), (gst_controller_get_type):
27162 * libs/gst/controller/gst-controller.h:
27163 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27164 (g_object_uncontrol_properties), (g_object_get_controller),
27165 (g_object_set_controller), (g_object_sink_values),
27166 (g_object_get_value_arrays), (g_object_get_value_array):
27167 * libs/gst/controller/gst-interpolation.c:
27168 (gst_controlled_property_find_timed_value_node),
27169 (interpolate_none_get), (interpolate_trigger_get),
27170 (interpolate_trigger_get_value_array):
27171 * libs/gst/controller/lib.c: (gst_controller_init):
27172 * pkgconfig/Makefile.am:
27173 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27174 * pkgconfig/gstreamer-control.pc.in:
27175 * testsuite/Makefile.am:
27176 * testsuite/controller/.cvsignore:
27177 * testsuite/controller/Makefile.am:
27178 * testsuite/controller/interpolator.c: (main):
27179 added controller code
27180 removed dparam pc files
27182 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27183 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27184 (gst_collectpads_stop):
27185 Broadcast the condition when shutting down, to make sure we wake all
27186 threads up. Shut down pads on finalize, for safety.
27188 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27189 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27190 (gst_base_transform_handle_buffer),
27191 (gst_base_transform_change_state):
27192 Handle PAUSED->READY->PAUSED transition after negotiation
27194 * gst/gstmessage.c: (gst_message_init):
27195 Extra piece of debug for new messages.
27197 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27200 * docs/gst/tmpl/gstbasesrc.sgml:
27201 * docs/gst/tmpl/gstelement.sgml:
27202 * docs/gst/tmpl/gstevent.sgml:
27203 * docs/gst/tmpl/gstfakesrc.sgml:
27204 * docs/gst/tmpl/gstformat.sgml:
27205 * docs/gst/tmpl/gstghostpad.sgml:
27206 * docs/gst/tmpl/gstpad.sgml:
27207 * docs/gst/tmpl/gstquery.sgml:
27208 * docs/gst/tmpl/gststructure.sgml:
27209 * docs/gst/tmpl/gsttaglist.sgml:
27210 * docs/gst/tmpl/gstvalue.sgml:
27211 * docs/libs/gstreamer-libs-docs.sgml:
27212 * docs/libs/gstreamer-libs-sections.txt:
27213 * docs/libs/gstreamer-libs.types:
27214 * libs/gst/Makefile.am:
27215 * libs/gst/control/.cvsignore:
27216 * libs/gst/control/Makefile.am:
27217 * libs/gst/control/control.c:
27218 * libs/gst/control/control.h:
27219 * libs/gst/control/dparam.c:
27220 * libs/gst/control/dparam.h:
27221 * libs/gst/control/dparam_smooth.c:
27222 * libs/gst/control/dparam_smooth.h:
27223 * libs/gst/control/dparamcommon.h:
27224 * libs/gst/control/dparammanager.c:
27225 * libs/gst/control/dparammanager.h:
27226 * libs/gst/control/dplinearinterp.c:
27227 * libs/gst/control/dplinearinterp.h:
27228 * libs/gst/control/unitconvert.c:
27229 * libs/gst/control/unitconvert.h:
27230 * testsuite/Makefile.am:
27231 * testsuite/dynparams/.cvsignore:
27232 * testsuite/dynparams/Makefile.am:
27233 * testsuite/dynparams/dparamstest.c:
27234 * tools/Makefile.am:
27235 * tools/gst-inspect.c: (print_element_info), (main):
27236 * tools/gst-xmlinspect.c: (print_element_info), (main):
27237 deactivate and remove dparams (libgstcontrol)
27239 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27241 * gst/elements/gsttypefindelement.c:
27242 (gst_type_find_element_have_type), (gst_type_find_element_init),
27243 (stop_typefinding), (gst_type_find_element_handle_event),
27244 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27245 * gst/elements/gsttypefindelement.h:
27246 Set caps on all outgoing buffers, not just the first one.
27248 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27250 * gst/elements/gsttypefindelement.c:
27251 (gst_type_find_element_have_type),
27252 (gst_type_find_element_check_set_buffer_caps),
27253 (gst_type_find_element_init), (stop_typefinding),
27254 (gst_type_find_element_handle_event),
27255 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27256 * gst/elements/gsttypefindelement.h:
27257 Set caps on first outgoing buffer when we've found the type.
27259 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27261 * docs/gst/gstreamer-docs.sgml:
27262 * docs/gst/gstreamer-sections.txt:
27263 * docs/gst/tmpl/gstscheduler.sgml:
27264 * docs/gst/tmpl/gstschedulerfactory.sgml:
27265 Remove some old cruft from docs.
27267 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27270 Fix inline docs for GstPadLinkReturn.
27272 * gst/gststructure.c: (gst_structure_has_name):
27273 * gst/gststructure.h:
27274 * docs/gst/gstreamer-sections.txt:
27275 New API: gst_structure_has_name().
27277 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27280 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27281 and _LARGEFILE_SOURCE in config.h as required. Do not
27282 export those flags in our .pc files any longer (#142209).
27284 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27286 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27287 (gst_file_sink_do_seek), (gst_file_sink_event),
27288 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27289 Redo seek/tell calls with large file support in mind; add some
27290 debugging messages; add log message that tells us when large
27291 file support is unavailable or not enabled for some reason.
27293 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27294 Add log message that tells us when large file support
27295 is unavailable or not enabled for some reason.
27297 2005-07-29 Wim Taymans <wim@fluendo.com>
27299 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27300 Added test for removing an element with ghostpad from a bin.
27301 Fixed test as current implementation does the right thing.
27303 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27304 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27305 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27306 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27307 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27308 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27309 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27310 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27311 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27312 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27313 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27314 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27315 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27316 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27317 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27318 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27319 * gst/gstghostpad.h:
27320 Clean up ghostpads, remove properties for internal stuff.
27323 Prepare for switching targets, not all use cases work yet.
27325 2005-07-29 Wim Taymans <wim@fluendo.com>
27327 * docs/design/part-gstghostpad.txt:
27330 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27331 (gst_bin_remove_func):
27332 Unlinking pads while holding the bin LOCK is not a good
27335 * gst/gstpad.c: (gst_pad_class_init),
27336 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27337 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27338 No prob setting template after creating the pad.
27340 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27342 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27343 (gst_bus_peek), (gst_bus_source_dispatch),
27344 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27345 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27346 gst_bus_poll may be called from other threads. Handle
27347 this nicely by not making poll_data disappear off the
27348 stack once gst_bus_poll returns.
27349 gst_bus_peek now increments the refcount on the returned
27352 2005-07-29 Wim Taymans <wim@fluendo.com>
27354 * docs/design/part-gstghostpad.txt:
27355 Overview of current GhostPad datastructures and use
27356 cases for changing the target.
27358 2005-07-28 Wim Taymans <wim@fluendo.com>
27360 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27361 Added checks for hierarchy consistency whan adding linked
27364 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27365 Added check to test element scheduling without bin/pipeline.
27367 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27368 First add elements to bin, then link.
27370 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27371 (gst_bin_remove_func):
27372 Unlink pads from elements added/removed from bin to maintain
27373 hierarchy consistency.
27375 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27377 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27378 (gst_base_transform_handle_buffer):
27379 * gst/base/gstbasetransform.h:
27380 Remove broken delay_configure (fixes renegotiation of software
27381 scaling pipelines); remove some leftover printf()s.
27383 2005-07-28 Wim Taymans <wim@fluendo.com>
27385 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27386 Added some more tests for wrong hierarchy
27388 * docs/design/part-overview.txt:
27391 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27394 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27395 (gst_element_dispose):
27396 Some more cleanups.
27398 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27399 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27400 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27401 (gst_pad_set_caps), (gst_pad_send_event):
27402 Check for correct hierarchy when linking pads. Moving to
27403 strict requirement for ghostpads when linking elements in
27407 Clean ups. Added WRONG_HIERARCHY return value.
27409 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27411 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27412 Better debug if no transform is possible.
27414 2005-07-27 Wim Taymans <wim@fluendo.com>
27416 * docs/random/wtay/network-transp:
27417 Some old doc I had.
27419 2005-07-27 Wim Taymans <wim@fluendo.com>
27421 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27422 (gst_dp_event_from_packet):
27423 Fix serialization of seek events.
27425 2005-07-27 Wim Taymans <wim@fluendo.com>
27427 * check/gst-libs/gdp.c: (GST_START_TEST):
27428 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27429 Fix compilation and fix event serialization.
27431 2005-07-27 Wim Taymans <wim@fluendo.com>
27434 * docs/design/part-TODO.txt:
27435 * docs/design/part-events.txt:
27438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27439 (gst_base_sink_event), (gst_base_sink_do_sync),
27440 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27441 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27442 (gst_base_src_do_seek), (gst_base_src_event_handler),
27443 (gst_base_src_loop):
27444 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27445 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27446 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27447 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27448 (gst_base_transform_set_passthrough),
27449 (gst_base_transform_is_passthrough):
27450 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27451 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27457 * gst/gstelement.c: (gst_element_seek):
27458 * gst/gstelement.h:
27459 Update gst_element_seek.
27461 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27462 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27463 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27464 (gst_event_new_eos), (gst_event_new_newsegment),
27465 (gst_event_parse_newsegment), (gst_event_new_tag),
27466 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27467 (gst_event_parse_qos), (gst_event_new_seek),
27468 (gst_event_parse_seek), (gst_event_new_navigation):
27470 Make GstEvent use GstStructure. Add parsing code, make sure the
27471 API is sufficiently generic.
27472 Mark possible directions of events and serialization.
27474 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27475 (_gst_message_copy), (gst_message_new_segment_start),
27476 (gst_message_new_segment_done), (gst_message_new_custom),
27477 (gst_message_parse_segment_start),
27478 (gst_message_parse_segment_done):
27481 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27482 (gst_pad_set_caps), (gst_pad_send_event):
27483 Update for new events.
27484 Catch events sent in wrong directions.
27486 * gst/gstqueue.c: (gst_queue_link_src),
27487 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27488 (gst_queue_handle_src_query):
27493 Remove event code from this file.
27495 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27496 (gst_dp_event_from_packet):
27499 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27501 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27502 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27503 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27504 Make debugging actually useful.
27506 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27508 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27509 (gst_pad_fixate_caps):
27510 Implement default fixation once again, so that gst_pad_fixate()
27511 actually does anything at all. This probably needs to be some
27512 sort of a last resort, and use profile-based fixation first, but
27513 since that doesn't exist yet, this is the best we have. Fixes
27514 visualization in Totem.
27516 2005-07-22 Wim Taymans <wim@fluendo.com>
27518 * docs/design/part-events.txt:
27521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27522 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27523 (gst_base_sink_activate_pull):
27524 Some more comments.
27526 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27527 (gst_fake_src_create):
27528 Fix handoff marshall.
27530 * gst/elements/gstidentity.c: (gst_identity_class_init),
27531 (gst_identity_transform_ip):
27532 We're a real inplace element.
27534 * gst/gstbus.c: (gst_bus_post):
27535 Added some comments.
27537 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27538 * tests/muxing/case1.c: (main):
27539 * tests/sched/dynamic-pipeline.c: (main):
27540 * tests/sched/interrupt1.c: (main):
27541 * tests/sched/interrupt2.c: (main):
27542 * tests/sched/interrupt3.c: (main):
27543 * tests/sched/runxml.c: (main):
27544 * tests/sched/sched-stress.c: (main):
27545 * tests/seeking/seeking1.c: (event_received), (main):
27546 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27548 * tests/threadstate/threadstate3.c: (main):
27549 * tests/threadstate/threadstate4.c: (main):
27550 * tests/threadstate/threadstate5.c: (main):
27553 2005-07-21 Wim Taymans <wim@fluendo.com>
27555 * docs/design/part-seeking.txt:
27556 Some small additions.
27558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27559 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27560 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27561 * gst/base/gstbasesink.h:
27562 discont values are gint64, handle the math correctly.
27564 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27565 Make the basesrc report error if the source pad is not linked.
27567 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27568 (gst_queue_loop), (gst_queue_handle_src_query),
27569 (gst_queue_src_activate_push):
27570 Make queue collect data even if the srcpad is not linked.
27571 Start pushing out data as soon as it is linked.
27573 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27575 Added gst_flow_get_name() to ease error reporting.
27577 2005-07-20 Wim Taymans <wim@fluendo.com>
27579 * gst/gstmessage.c: (gst_message_new_segment_start),
27580 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27581 (gst_message_parse_segment_done):
27582 * gst/gstmessage.h:
27583 Added a bunch of messages for advanced seeking.
27585 * gst/parse/grammar.y:
27586 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27587 (gst_dpman_state_changed):
27588 Fix some new-pad -> pad-added signals
27590 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27592 * docs/manual/appendix-porting.xml:
27593 * docs/pwg/appendix-porting.xml:
27594 Document new-pad/state-change signal renames and the FixedList
27597 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27599 * docs/manual/advanced-autoplugging.xml:
27600 * docs/manual/basics-helloworld.xml:
27601 * docs/manual/basics-pads.xml:
27602 * docs/random/ds/0.9-suggested-changes:
27603 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27604 * gst/gstelement.h:
27608 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27609 (gst_structure_parse_array), (gst_structure_parse_value):
27610 * gst/gstvalue.c: (gst_type_is_fixed),
27611 (gst_value_list_prepend_value), (gst_value_list_append_value),
27612 (gst_value_list_get_size), (gst_value_list_get_value),
27613 (gst_value_transform_array_string), (gst_value_serialize_array),
27614 (gst_value_deserialize_array), (gst_value_intersect_array),
27615 (gst_value_is_fixed), (_gst_value_initialize):
27617 GstElement::new-pad -> pad-added, GstElement::state-change ->
27618 state-changed, GstValueFixedList -> GstValueArray, add format and
27619 flags as their own arguments in gst_element_seek() (should improve
27620 "bindeability"), remove function generators since they don't work
27621 under a whole bunch of compilers (they were deprecated already
27624 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27626 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27627 (_gst_debug_register_funcptr):
27629 Fix illegal cast on some platforms (#309253).
27631 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27633 * gst/gstmessage.c: (gst_message_new_custom):
27634 * gst/gstmessage.h:
27635 Add _new_custom, make _new_application a macro to _new_custom.
27637 2005-07-20 Wim Taymans <wim@fluendo.com>
27639 * gst/base/gstbasesrc.c: (gst_base_src_init),
27640 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27641 * gst/base/gstbasesrc.h:
27642 Add a gboolean to decide when to push out a discont.
27644 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27645 (gst_queue_loop), (gst_queue_handle_src_query),
27646 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27647 (gst_queue_set_property), (gst_queue_get_property):
27650 * tests/threadstate/threadstate1.c: (main):
27651 Make a thread test compile and run... very silly..
27654 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27656 * docs/manual/appendix-porting.xml:
27657 Mention removal of libgstgconf-0.9.la and existence of gconf
27660 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27662 * docs/pwg/advanced-clock.xml:
27663 * docs/pwg/appendix-porting.xml:
27664 * docs/pwg/intro-preface.xml:
27665 * docs/pwg/other-base.xml:
27666 * docs/pwg/other-manager.xml:
27667 * docs/pwg/other-nton.xml:
27668 * docs/pwg/other-ntoone.xml:
27669 * docs/pwg/other-oneton.xml:
27670 * docs/pwg/pwg.xml:
27671 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27672 demuxer), remove n-to-n (was never written), fix some code examples
27673 and links and update the porting section to include all this.
27675 2005-07-19 Wim Taymans <wim@fluendo.com>
27677 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27678 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27679 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27680 (gst_queue_src_activate_push), (gst_queue_change_state),
27681 (gst_queue_get_property):
27683 Propagate GstFlowReturn more intelligently upstream and output
27684 an ERROR/EOS when streaming stopped due to fatal error.
27686 2005-07-19 Wim Taymans <wim@fluendo.com>
27688 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27689 Don't block forever for the state change to complete, the
27690 pipeline already did with a sensible timeout.
27692 2005-07-19 Wim Taymans <wim@fluendo.com>
27694 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27695 Make sure we never call the create function is we
27698 2005-07-19 Andy Wingo <wingo@pobox.com>
27700 * gst/parse/parse.l: Attempt to solve bug #172815.
27702 2005-07-19 Wim Taymans <wim@fluendo.com>
27704 * docs/design/part-clocks.txt:
27705 * docs/design/part-events.txt:
27706 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27707 Small docs updates.
27708 Only update the seeking values when we are not
27711 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27713 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27714 Oops, ignore the result of gst_pad_push_event here.
27716 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27718 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27719 (gst_base_src_activate_push):
27720 Send discont event from the loop function, as pads
27721 aren't activated yet in the activate_push handler.
27723 * gst/gstbin.c: (bin_bus_handler):
27724 Don't leak element name.
27726 2005-07-18 Andy Wingo <wingo@pobox.com>
27728 * configure.ac: Use AS_LIBTOOL_TAGS.
27730 2005-07-18 Wim Taymans <wim@fluendo.com>
27732 * docs/gst/gstreamer.types:
27733 Remove deleted types.
27735 2005-07-18 Wim Taymans <wim@fluendo.com>
27737 * check/elements/gstfakesrc.c: (GST_START_TEST):
27740 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27741 (init_popt_callback):
27743 * gst/gst_private.h:
27744 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27745 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27748 * gst/gstconfig.h.in:
27749 * gst/gstelement.c: (gst_element_class_init),
27750 (gst_element_set_base_time), (gst_element_get_base_time),
27751 (iterator_fold_with_resync), (gst_element_change_state),
27752 (gst_element_dispose), (gst_element_get_bus):
27753 * gst/gstelement.h:
27754 * gst/gstelementfactory.h:
27755 * gst/gsterror.c: (_gst_core_errors_init):
27758 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27760 * gst/gstinfo.c: (_gst_debug_init):
27761 * gst/gstmessage.c: (_gst_message_copy):
27762 * gst/gstmessage.h:
27763 * gst/gstminiobject.h:
27766 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27767 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27770 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27771 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27772 (gst_pipeline_get_last_stream_time):
27773 * gst/gstpipeline.h:
27774 * gst/gstpluginfeature.h:
27776 * gst/gstscheduler.c:
27777 * gst/gstscheduler.h:
27778 * gst/gststructure.h:
27779 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27780 (gst_task_finalize), (gst_task_func), (gst_task_create),
27781 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27782 (gst_task_stop), (gst_task_pause):
27784 * gst/gsttypefind.h:
27786 * gst/registries/gstlibxmlregistry.c: (load_feature),
27787 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27788 * gst/registries/gstxmlregistry.c:
27789 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27790 * gst/schedulers/threadscheduler.c:
27791 * libs/gst/control/dparammanager.h:
27792 * tools/gst-inspect.c: (print_element_list),
27793 (print_plugin_features), (print_element_features):
27794 * tools/gst-xmlinspect.c: (print_element_list),
27795 (print_plugin_info), (main):
27796 Removed plugable schedulers.
27797 Removed Scheduler/Manager from elements.
27798 Removed gsttypes.h, rearranged includes.
27799 Removed dependency pad<->element, element<>pipeline, and
27800 various others, fix includes.
27801 implement gst_pad_get_parent() with gst_object_get_parent()
27802 Make GstTask sefcontained.
27803 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27805 Fix endless loop in iterator_fold_with_resync.
27808 2005-07-18 Wim Taymans <wim@fluendo.com>
27814 2005-07-18 Wim Taymans <wim@fluendo.com>
27817 No more cothreads.h
27819 2005-07-18 Wim Taymans <wim@fluendo.com>
27823 Let's remove these.
27825 2005-07-18 Wim Taymans <wim@fluendo.com>
27827 * docs/design/part-dynamic.txt:
27828 * docs/design/part-events.txt:
27829 * docs/design/part-seeking.txt:
27830 Some more docs in the works.
27832 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27833 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27834 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27835 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27836 (gst_base_transform_handle_buffer),
27837 (gst_base_transform_sink_activate_push),
27838 (gst_base_transform_src_activate_pull),
27839 (gst_base_transform_set_passthrough),
27840 (gst_base_transform_is_passthrough):
27843 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27846 * gst/gstevent.c: (gst_event_finalize):
27849 * gst/gstutils.c: (gst_element_unlink),
27850 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27851 (gst_pad_proxy_setcaps):
27853 Add _get_parent_element() to get a pads parent as an element.
27855 2005-07-18 Wim Taymans <wim@fluendo.com>
27857 * check/gst/gstbin.c: (GST_START_TEST):
27860 2005-07-18 Wim Taymans <wim@fluendo.com>
27862 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27863 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27864 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27865 (gst_base_sink_event), (gst_base_sink_do_sync),
27866 (gst_base_sink_chain), (gst_base_sink_loop),
27867 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27868 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27870 Fix logic for returning ASYNC when not prerolled.
27872 2005-07-18 Wim Taymans <wim@fluendo.com>
27874 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27875 Fix nasty refcount bug.
27877 2005-07-16 Philippe Khalaf <burger@speedy.org>
27879 * gst/elements/gstfdsrc.c:
27880 * gst/elements/gstfdsrc.h:
27881 * gst/elements/gstelements.c:
27882 * gst/elements/Makefile.am:
27883 Ported fdsrc to 0.9.
27885 2005-07-16 Wim Taymans <wim@fluendo.com>
27887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27888 (gst_base_sink_do_sync):
27891 2005-07-16 Wim Taymans <wim@fluendo.com>
27893 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27894 (gst_base_sink_event), (gst_base_sink_get_times),
27895 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27896 * gst/base/gstbasesink.h:
27897 Store and use discont values when syncing buffers as described
27900 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27901 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27902 (gst_base_src_activate_push):
27903 Push discont event when starting.
27905 * gst/elements/gstidentity.c: (gst_identity_transform):
27908 * gst/gstbin.c: (gst_bin_change_state):
27909 Small cleanups in base_time distribution.
27911 * gst/gstelement.c: (gst_element_set_base_time),
27912 (gst_element_get_base_time), (gst_element_change_state):
27913 * gst/gstelement.h:
27914 Added methods for the base_time of the element.
27917 * gst/gstpipeline.c: (gst_pipeline_send_event),
27918 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27919 (gst_pipeline_get_last_stream_time):
27920 * gst/gstpipeline.h:
27922 Handle seeking as described in design doc, remove stream_time
27924 Cleanups clock and stream_time selection code. Added accessors
27925 for the stream_time.
27928 2005-07-16 Andy Wingo <wingo@pobox.com>
27930 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27933 2005-07-16 Wim Taymans <wim@fluendo.com>
27935 * check/gst/gstbin.c: (GST_START_TEST):
27936 Make elements silent as the deep_notify refs the
27937 parent, which might make the test fail.
27939 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27940 Don't hold the lock for too long.
27942 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27944 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27945 Don't unref the caps we passed to gst_caps_make_writable() after
27946 passing them. gst_caps_make_writable() will do that for us.
27948 2005-07-15 Andy Wingo <wingo@pobox.com>
27950 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27953 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27954 own marshalling function for the handoff signal. Properly type the
27955 buffer as a buffer. Fixes some warnings. Should do a more general
27957 (gst_identity_class_init): Plug into the right marshaller.
27959 2005-07-15 Wim Taymans <wim@fluendo.com>
27961 * docs/design/part-TODO.txt:
27962 * docs/design/part-clocks.txt:
27963 * docs/design/part-element-sink.txt:
27964 * docs/design/part-events.txt:
27965 * docs/design/part-gstpipeline.txt:
27966 Updated docs, mostly DISCONT related.
27968 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27970 * docs/pwg/building-pads.xml:
27971 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27973 2005-07-15 Andy Wingo <wingo@pobox.com>
27975 * tools/gst-typefind.c: Update, add copyright block.
27977 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27978 Normalize and truncate caps before fixation.
27981 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27982 discards all but the first structure from its argument.
27984 2005-07-15 Wim Taymans <wim@fluendo.com>
27986 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27987 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27988 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27989 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27990 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27991 (gst_base_transform_chain), (gst_base_transform_change_state),
27992 (gst_base_transform_set_passthrough),
27993 (gst_base_transform_is_passthrough):
27994 * gst/base/gstbasetransform.h:
27995 Make passthrough work using the bufferpools.
27996 Changed API a bit, subclasses have to write into a buffer
27997 provided by the base class.
27998 More debug info in nego functions.
28000 * gst/elements/gstidentity.c: (gst_identity_init),
28001 (gst_identity_transform):
28002 Port to new base class.
28004 2005-07-15 Wim Taymans <wim@fluendo.com>
28006 * gst/gstmessage.c: (gst_message_new_state_changed):
28007 * tools/gst-launch.c: (event_loop), (main):
28008 Totally dump messages in -launch with the -m option.
28009 Fix message name for State messages,
28011 2005-07-14 Wim Taymans <wim@fluendo.com>
28013 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28014 Post error messages on errors.
28016 2005-07-14 Wim Taymans <wim@fluendo.com>
28018 * gst/gstcaps.c: (gst_caps_do_simplify):
28022 Define error for stream stopped.
28024 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28025 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28026 Do proper return values.
28028 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28029 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28030 (gst_pad_get_range):
28031 Better return values.
28034 Reorganise return values, add macro to check for fatal errors.
28036 * gst/gstqueue.c: (gst_queue_chain):
28037 Return proper GstFlowReturn values,
28039 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28041 * docs/gst/gstreamer-sections.txt:
28042 * docs/gst/gstreamer.types:
28043 * docs/gst/tmpl/gst.sgml:
28044 * docs/gst/tmpl/gstbasesink.sgml:
28045 * docs/gst/tmpl/gstbasesrc.sgml:
28046 * docs/gst/tmpl/gstbasetransform.sgml:
28047 * docs/gst/tmpl/gstbin.sgml:
28048 * docs/gst/tmpl/gstbuffer.sgml:
28049 * docs/gst/tmpl/gstcaps.sgml:
28050 * docs/gst/tmpl/gstclock.sgml:
28051 * docs/gst/tmpl/gstcompat.sgml:
28052 * docs/gst/tmpl/gstconfig.sgml:
28053 * docs/gst/tmpl/gstelement.sgml:
28054 * docs/gst/tmpl/gstelementdetails.sgml:
28055 * docs/gst/tmpl/gstelementfactory.sgml:
28056 * docs/gst/tmpl/gstenumtypes.sgml:
28057 * docs/gst/tmpl/gsterror.sgml:
28058 * docs/gst/tmpl/gstevent.sgml:
28059 * docs/gst/tmpl/gstfakesink.sgml:
28060 * docs/gst/tmpl/gstfakesrc.sgml:
28061 * docs/gst/tmpl/gstfilesink.sgml:
28062 * docs/gst/tmpl/gstfilesrc.sgml:
28063 * docs/gst/tmpl/gstfilter.sgml:
28064 * docs/gst/tmpl/gstformat.sgml:
28065 * docs/gst/tmpl/gstghostpad.sgml:
28066 * docs/gst/tmpl/gstimplementsinterface.sgml:
28067 * docs/gst/tmpl/gstindex.sgml:
28068 * docs/gst/tmpl/gstindexfactory.sgml:
28069 * docs/gst/tmpl/gstinfo.sgml:
28070 * docs/gst/tmpl/gstiterator.sgml:
28071 * docs/gst/tmpl/gstmacros.sgml:
28072 * docs/gst/tmpl/gstmemchunk.sgml:
28073 * docs/gst/tmpl/gstminiobject.sgml:
28074 * docs/gst/tmpl/gstobject.sgml:
28075 * docs/gst/tmpl/gstpad.sgml:
28076 * docs/gst/tmpl/gstpadtemplate.sgml:
28077 * docs/gst/tmpl/gstparse.sgml:
28078 * docs/gst/tmpl/gstpipeline.sgml:
28079 * docs/gst/tmpl/gstplugin.sgml:
28080 * docs/gst/tmpl/gstpluginfeature.sgml:
28081 * docs/gst/tmpl/gstquery.sgml:
28082 * docs/gst/tmpl/gstqueue.sgml:
28083 * docs/gst/tmpl/gstregistry.sgml:
28084 * docs/gst/tmpl/gstregistrypool.sgml:
28085 * docs/gst/tmpl/gstscheduler.sgml:
28086 * docs/gst/tmpl/gstschedulerfactory.sgml:
28087 * docs/gst/tmpl/gststructure.sgml:
28088 * docs/gst/tmpl/gstsystemclock.sgml:
28089 * docs/gst/tmpl/gsttaglist.sgml:
28090 * docs/gst/tmpl/gsttagsetter.sgml:
28091 * docs/gst/tmpl/gsttrace.sgml:
28092 * docs/gst/tmpl/gsttrashstack.sgml:
28093 * docs/gst/tmpl/gsttypefind.sgml:
28094 * docs/gst/tmpl/gsttypefindfactory.sgml:
28095 * docs/gst/tmpl/gsttypes.sgml:
28096 * docs/gst/tmpl/gsturihandler.sgml:
28097 * docs/gst/tmpl/gsturitype.sgml:
28098 * docs/gst/tmpl/gstutils.sgml:
28099 * docs/gst/tmpl/gstvalue.sgml:
28100 * docs/gst/tmpl/gstversion.sgml:
28101 * docs/gst/tmpl/gstxml.sgml:
28102 * docs/libs/tmpl/gstcontrol.sgml:
28103 * docs/libs/tmpl/gstdataprotocol.sgml:
28104 * docs/libs/tmpl/gstdparam.sgml:
28105 * docs/libs/tmpl/gstdplinint.sgml:
28106 * docs/libs/tmpl/gstdpman.sgml:
28107 * docs/libs/tmpl/gstdpsmooth.sgml:
28108 * docs/libs/tmpl/gstgetbits.sgml:
28109 * docs/libs/tmpl/gstunitconvert.sgml:
28110 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28111 (gst_push_src_base_init), (gst_push_src_class_init),
28112 (gst_push_src_init), (gst_push_src_create):
28113 * gst/base/gstpushsrc.h:
28114 * gst/elements/gstelements.c:
28115 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28116 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28117 (gst_fake_sink_init), (gst_fake_sink_set_property),
28118 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28119 (gst_fake_sink_event), (gst_fake_sink_preroll),
28120 (gst_fake_sink_render), (gst_fake_sink_change_state):
28121 * gst/elements/gstfakesink.h:
28122 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28123 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28124 (gst_fake_src_base_init), (gst_fake_src_class_init),
28125 (gst_fake_src_init), (gst_fake_src_event_handler),
28126 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28127 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28128 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28129 (gst_fake_src_create_buffer), (gst_fake_src_create),
28130 (gst_fake_src_start), (gst_fake_src_stop):
28131 * gst/elements/gstfakesrc.h:
28132 * gst/elements/gstfilesink.c: (_do_init),
28133 (gst_file_sink_base_init), (gst_file_sink_class_init),
28134 (gst_file_sink_init), (gst_file_sink_dispose),
28135 (gst_file_sink_set_location), (gst_file_sink_set_property),
28136 (gst_file_sink_get_property), (gst_file_sink_open_file),
28137 (gst_file_sink_close_file), (gst_file_sink_query),
28138 (gst_file_sink_event), (gst_file_sink_render),
28139 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28140 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28141 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28142 * gst/elements/gstfilesink.h:
28143 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28144 (gst_file_src_class_init), (gst_file_src_init),
28145 (gst_file_src_finalize), (gst_file_src_set_location),
28146 (gst_file_src_set_property), (gst_file_src_get_property),
28147 (gst_file_src_map_region), (gst_file_src_map_small_region),
28148 (gst_file_src_create_mmap), (gst_file_src_create_read),
28149 (gst_file_src_create), (gst_file_src_is_seekable),
28150 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28151 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28152 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28153 (gst_file_src_uri_handler_init):
28154 * gst/elements/gstfilesrc.h:
28155 more autistic cleanliness in functions/names/defines
28157 2005-07-13 Andy Wingo <wingo@pobox.com>
28159 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28160 source couldn't negotiate.
28162 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28166 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28167 function. I am channeling Hades. Put your boots on suckers!!!
28169 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28171 * testsuite/caps/Makefile.am:
28172 * testsuite/caps/value_compare.c:
28173 * testsuite/caps/value_intersect.c:
28174 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28175 move two testsuite apps over to the check dir
28177 2005-07-12 Wim Taymans <wim@fluendo.com>
28179 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28180 Added more debug info in the negotiate process.
28182 * gst/gstmessage.h:
28183 Prepare for segment playback.
28185 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28191 * tools/gst-launch.c: (main):
28192 NULL pipeline on errors.
28194 2005-07-12 Andy Wingo <wingo@pobox.com>
28196 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28197 not it comes from a malloc region. Make sure our copy gets freed.
28199 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28201 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28202 * check/gst/gstmessage.c: (GST_START_TEST):
28203 * check/gst/gststructure.c: (GST_START_TEST),
28204 (gst_structure_suite), (main):
28206 * gst/gstelement.c: (gst_element_message_full):
28207 clean up GError and debug string now that they get copied
28208 * gst/gstmessage.c: (gst_message_new_error),
28209 (gst_message_new_warning), (gst_message_parse_error),
28210 (gst_message_parse_warning):
28211 use GST_TYPE_G_ERROR for structure_new, and take copies of
28212 arguments, so that we don't mess up refcounting
28214 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28216 * check/Makefile.am:
28217 add per-test valgrind targets
28218 * check/gst-libs/gdp.c: (GST_START_TEST),
28219 (gst_data_protocol_suite), (main):
28222 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28224 * check/Makefile.am:
28225 instate more valgrindable tests
28226 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28227 (GST_START_TEST), (fakesrc_suite):
28228 * check/gst/gstpad.c: (GST_START_TEST):
28229 * check/gst/gststructure.c: (GST_START_TEST):
28231 * docs/gst/tmpl/gstminiobject.sgml:
28232 * gst/gstpad.c: (gst_pad_finalize):
28233 fix the static mutex leak
28235 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28237 * check/Makefile.am:
28238 add two more tests for valgrinding
28239 * check/gst/gstvalue.c: (GST_START_TEST):
28240 test refcount of deserialized buffer, found a leak
28241 * docs/gst/gstreamer-docs.sgml:
28242 * docs/gst/gstreamer-sections.txt:
28243 * docs/gst/gstreamer.types:
28244 * docs/gst/tmpl/gstminiobject.sgml:
28245 add miniobject to docs
28246 * gst/gstminiobject.c:
28248 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28249 (gst_string_unwrap):
28250 fix a hard-to-find invalid write for one of the tests
28251 fix a leak for deserialized buffers
28253 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28255 * docs/pwg/advanced-events.xml:
28256 * docs/pwg/advanced-request.xml:
28257 * docs/pwg/advanced-scheduling.xml:
28258 * docs/pwg/appendix-porting.xml:
28259 * docs/pwg/building-boiler.xml:
28260 * docs/pwg/intro-preface.xml:
28261 * docs/pwg/other-ntoone.xml:
28262 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28263 of example code and explanation for pad activation, loop() and
28264 getrange() functions and a bit more. Remove old comments pointing
28266 * examples/pwg/Makefile.am:
28267 Add loop/getrange examples.
28269 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28272 check for valgrind binary + some fixes
28274 valgrind suppressions for the tests
28275 * check/Makefile.am:
28276 add a valgrind: target that valgrinds the unit tests
28277 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28278 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28279 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28280 * check/gst/gstghostpad.c:
28282 * check/gst/gstdata.c:
28284 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28285 (thread_unref), (gst_mini_object_suite), (main):
28287 * gst/gst.c: (gst_deinit):
28289 add a method to clean up.
28290 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28291 (gst_system_clock_obtain):
28292 allow for disposing the system clock.
28293 * tools/gst-launch.c: (main):
28296 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28298 * docs/gst/tmpl/gstbasesrc.sgml:
28299 * docs/gst/tmpl/gstfakesrc.sgml:
28300 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28301 (gst_base_src_init), (gst_base_src_set_property),
28302 (gst_base_src_get_property), (gst_base_src_get_range),
28303 (gst_base_src_start):
28304 * gst/base/gstbasesrc.h:
28305 add num-buffers property
28306 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28307 (gst_fakesrc_init), (gst_fakesrc_set_property),
28308 (gst_fakesrc_get_property), (gst_fakesrc_create),
28309 (gst_fakesrc_start):
28310 remove num-buffers property
28312 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28314 * docs/gst/gstreamer-sections.txt:
28315 * docs/gst/tmpl/gstbasesink.sgml:
28316 * docs/gst/tmpl/gstbasesrc.sgml:
28317 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28318 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28319 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28320 (gst_base_sink_set_property), (gst_base_sink_get_property),
28321 (gst_base_sink_handle_object), (gst_base_sink_event),
28322 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28323 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28324 (gst_base_sink_loop), (gst_base_sink_deactivate),
28325 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28326 (gst_base_sink_change_state):
28327 * gst/base/gstbasesink.h:
28328 * gst/base/gstbasesrc.h:
28329 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28330 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28331 (gst_filesink_init):
28332 more macro splitting
28334 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28336 * gst/gstelement.c: (gst_element_get_bus):
28338 * tools/gst-launch.c: (check_intr), (event_loop):
28341 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28343 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28346 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28348 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28349 (gst_base_src_finalize):
28350 add finalize method and clean up properly
28351 * gst/gstpipeline.c: (gst_pipeline_dispose):
28354 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28356 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28358 add more things to check
28359 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28360 * gst/gstelement.c:
28363 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28365 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28366 (GST_START_TEST), (fakesrc_suite):
28367 * check/gst-libs/gdp.c: (GST_START_TEST):
28368 * check/gst/gst.c: (GST_START_TEST):
28369 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28370 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28371 * check/gst/gstbus.c: (GST_START_TEST):
28372 * check/gst/gstcaps.c: (GST_START_TEST):
28373 * check/gst/gstdata.c: (GST_START_TEST):
28374 * check/gst/gstelement.c: (GST_START_TEST):
28375 * check/gst/gstghostpad.c: (GST_START_TEST):
28376 * check/gst/gstiterator.c: (GST_START_TEST):
28377 * check/gst/gstmessage.c: (GST_START_TEST):
28378 * check/gst/gstobject.c: (GST_START_TEST):
28379 * check/gst/gstpad.c: (GST_START_TEST):
28380 * check/gst/gststructure.c: (GST_START_TEST):
28381 * check/gst/gstsystemclock.c: (GST_START_TEST),
28382 (gst_systemclock_suite):
28383 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28384 * check/gst/gstvalue.c: (GST_START_TEST):
28385 * check/pipelines/cleanup.c: (GST_START_TEST):
28386 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28387 * check/states/sinks.c: (GST_START_TEST):
28388 * check/gstcheck.c: (gst_check_init):
28389 * check/gstcheck.h:
28390 add debugging category
28391 use GST_START_TEST now, so we add a debug line
28393 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28395 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28396 add test for state change message on a bin
28397 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28399 * gst/gstbin.c: (gst_bin_init):
28400 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28401 * gst/gstelement.c: (gst_element_post_message),
28402 (gst_element_set_state):
28403 * gst/gstelementfactory.c: (gst_element_factory_create):
28404 * gst/gstmessage.c: (gst_message_new):
28405 * gst/gstscheduler.c:
28406 various debugging additions and cleanups
28408 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28410 * check/Makefile.am:
28411 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28413 adding tests for elements
28414 * gst/gstelement.c: (gst_element_dispose):
28416 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28418 * gst/registries/gstlibxmlregistry.c: (load_feature):
28419 plug more leaks. A simple gst_init() now is leakfree, yay.
28421 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28423 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28424 (gst_xml_registry_load):
28425 plug another memleak
28427 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28430 use GST_SET_ERROR_CFLAGS
28431 * docs/faq/cvs.xml:
28432 change to ERROR_CFLAGS
28434 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28437 make GST_ERROR_CFLAGS overridable and re-enable Werror
28438 * docs/faq/cvs.xml:
28439 add a note about error CFLAGS
28440 * docs/gst/tmpl/gstfakesrc.sgml:
28441 * gst/elements/gstfakesrc.c:
28442 comment out some unused code
28443 * gst/gst.c: (split_and_iterate):
28444 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28448 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28450 * common/Makefile.am:
28451 * common/gtk-doc.mak:
28452 * docs/gst/Makefile.am:
28453 factor out gtk-doc.mak
28455 2005-07-07 Wim Taymans <wim@fluendo.com>
28457 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28458 (gst_thread_scheduler_dispose):
28459 Unlock the STREAM_LOCK completely.
28461 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28463 * check/Makefile.am:
28464 * check/elements/.cvsignore:
28465 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28466 (START_TEST), (fakesrc_suite), (main):
28467 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28468 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28469 (gst_fakesrc_create), (gst_fakesrc_start):
28470 * gst/elements/gstfakesrc.h:
28471 adding a first element test
28473 2005-07-07 Andy Wingo <wingo@pobox.com>
28475 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28478 2005-07-07 Wim Taymans <wim@fluendo.com>
28484 2005-07-07 Wim Taymans <wim@fluendo.com>
28486 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28487 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28488 Allow subclasses to implement their own negotiation.
28490 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28492 * docs/design/part-gstbin.txt:
28493 * docs/design/part-gstpipeline.txt:
28494 Update design notes to reflect the movement of
28495 responsibility for bus handling from GstPipeline to
28498 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28501 Remove unnecessary queue2/3/4 examples.
28503 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28505 * examples/Makefile.am:
28506 * examples/helloworld/helloworld.c: (event_loop), (main):
28507 * examples/queue/queue.c: (event_loop), (main):
28508 * examples/queue2/queue2.c: (main):
28509 Update a couple of the examples to work again.
28511 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28512 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28513 Spelling corrections and extra debug.
28515 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28516 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28517 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28519 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28520 (gst_pipeline_change_state):
28521 * gst/gstpipeline.h:
28522 Move the bus handler for children to the GstBin, and create a
28523 separate bus for receiving messages from children to the one the
28524 bus sends 'upwards' on.
28526 2005-07-06 Wim Taymans <wim@fluendo.com>
28529 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28530 (gst_base_sink_handle_object), (gst_base_sink_loop),
28531 (gst_base_sink_change_state):
28532 * gst/base/gstbasesink.h:
28533 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28534 (gst_base_src_init), (gst_base_src_setcaps),
28535 (gst_base_src_getcaps), (gst_base_src_loop),
28536 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28537 (gst_base_src_start), (gst_base_src_change_state):
28538 * gst/base/gstbasesrc.h:
28539 Make basesrc negotiate.
28540 Handle the case where preroll fails in basesink.
28543 2005-07-06 Wim Taymans <wim@fluendo.com>
28545 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28546 Implement the fixate function.
28547 Clean up acceptcaps.
28549 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28551 * docs/pwg/building-filterfactory.xml:
28552 * docs/pwg/pwg.xml:
28553 Remove never-written filter-factory chapter; I'll add the various
28554 base classes to part 4 ("other element types") later on.
28556 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28558 * docs/pwg/advanced-negotiation.xml:
28559 * docs/pwg/building-boiler.xml:
28560 * docs/pwg/building-pads.xml:
28561 * docs/pwg/pwg.xml:
28562 * examples/pwg/Makefile.am:
28563 Add a chapter on caps negotiation, simplify the original code
28564 samples a bit w.r.t. caps negotiation, add link to the advanced
28565 section. Add a bunch of examples showing different use cases of
28566 different types of caps negotiation. Upstream renegotiation isn't
28567 fully documented yet since nobody knows how that works.
28569 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28571 * check/gst/gstpad.c:
28572 * check/gstcheck.c:
28573 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28574 if pad has no parent, return NULL as list of internal links
28576 2005-07-05 Andy Wingo <wingo@pobox.com>
28578 * gst/elements/gstfilesrc.c:
28579 * gst/elements/gstfakesrc.c:
28580 * gst/base/gstpushsrc.c:
28581 * gst/base/gstbasesrc.h:
28582 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28584 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28587 better report generation target (lcov needs a patch)
28589 2005-07-05 Andy Wingo <wingo@pobox.com>
28591 * gst/elements, testsuite: Null if we got it...
28593 2005-07-05 Wim Taymans <wim@fluendo.com>
28596 * libs/gst/dataprotocol/Makefile.am:
28597 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28598 * libs/gst/dataprotocol/dataprotocol.h:
28599 * pkgconfig/Makefile.am:
28600 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28601 * pkgconfig/gstreamer-dataprotocol.pc.in:
28602 Ported dataprotol to 0.9.
28603 Added pkgconfig files.
28605 2005-07-05 Andy Wingo <wingo@pobox.com>
28607 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28608 Default to returning TRUE for the case when tranform_caps returns
28609 a fixed caps, like for identity or volume.
28611 * check/gst/gstbus.c (pound_bus_with_messages):
28612 * check/gst/gstmessage.c (START_TEST):
28613 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28614 message API change.
28616 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28617 logic weaks here: always run transform_caps, trying passthrough
28618 operation only if the original caps intersects with the transform.
28620 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28621 source and sink caps.
28623 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28624 Intersect the peer caps with the pad template before going into
28626 (gst_base_transform_transform_caps): More debugging.
28628 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28631 2005-07-04 Edward Hervey <edward@fluendo.com>
28635 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28638 2005-07-04 Andy Wingo <wingo@pobox.com>
28640 * check/gst/gstpad.c: Only set explicit caps on pads.
28642 2005-07-01 Andy Wingo <wingo@pobox.com>
28644 * tests/network-clock.scm: Commentary update.
28646 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28647 Didn't really make sense, not implementable with basetransform,
28649 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28650 attempt at implementing the sync property, needs an unlock method.
28652 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28653 New func, by default returns the same caps (the identity
28655 (gst_base_transform_getcaps): Uses transform_caps to return
28656 something sensible.
28657 (gst_base_transform_setcaps): Complicated logic to get caps on
28658 both pads, even if they are different, and to call set_caps once
28659 for every time both pads get their caps set.
28660 (gst_base_transform_handle_buffer): Give the ref to the transform
28661 function. Allows in-place modification of the buffer.
28663 * gst/base/gstbasetransform.h (transform_caps): New class method.
28664 Given caps on one side, what can I do on the other.
28665 (set_caps): Take two caps, one for each side of the element.
28668 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28669 caps in place. This is safe because we can check the mutability of
28670 the caps, and a good idea because fixate functions are just called
28671 as a matter of last resort. (Not actually implemented.)
28672 (gst_pad_set_caps): If the caps we're setting is actually the same
28673 as the existing pad caps, just update the pointer without calling
28674 setcaps. Assert that caps is either NULL or fixed, as per the
28677 * gst/gstghostpad.c: Update for fixate changes.
28679 2005-07-02 Andy Wingo <wingo@pobox.com>
28682 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28683 two refcounts makes it immutable, which is enough. Doc more.
28685 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28687 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28688 Put the mini_object into GValue as a mini_object,
28689 not a gpointer, since that's how we declared
28692 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28694 * examples/pwg/Makefile.am:
28695 Fix buildbot again.
28697 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28699 * docs/pwg/building-testapp.xml:
28701 * examples/pwg/Makefile.am:
28704 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28707 * examples/Makefile.am:
28708 * examples/pwg/Makefile.am:
28709 * examples/pwg/extract.pl:
28710 Enable building the PWG examples.
28711 * docs/pwg/advanced-interfaces.xml:
28712 Add URI interface stub.
28713 * docs/pwg/advanced-types.xml:
28714 * docs/pwg/other-autoplugger.xml:
28715 * docs/pwg/appendix-porting.xml:
28716 * docs/pwg/pwg.xml:
28717 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28718 * docs/pwg/building-boiler.xml:
28719 * docs/pwg/building-chainfn.xml:
28720 * docs/pwg/building-pads.xml:
28721 * docs/pwg/building-props.xml:
28722 * docs/pwg/building-state.xml:
28723 * docs/pwg/building-testapp.xml:
28724 Update the building-*.xml parts for 0.9 changes. All examples
28725 code blocks compile in examples/pwg/*.
28727 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28729 * docs/manual/advanced-autoplugging.xml:
28730 * docs/manual/appendix-checklist.xml:
28731 * docs/manual/appendix-integration.xml:
28732 * docs/manual/highlevel-components.xml:
28733 Fix playbin/decodebin examples, update docs a bit, mention bus
28734 instead of signals in various places, mention kmplayer and
28735 kaffeine since they have a working GStreamer backend in the KDE
28738 2005-06-30 Wim Taymans <wim@fluendo.com>
28741 * docs/design/draft-ghostpads.txt:
28742 * docs/design/draft-push-pull.txt:
28743 * docs/design/draft-query.txt:
28744 * docs/design/part-TODO.txt:
28745 * docs/design/part-query.txt:
28746 Added CHANGES-0.9 doc, updated status of other docs.
28751 2005-06-30 Wim Taymans <wim@fluendo.com>
28753 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28754 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28755 (gst_base_sink_change_state):
28756 * gst/base/gstbasesink.h:
28757 Some tweaks, only EOS and a buffer complete a preroll.
28759 2005-06-30 Andy Wingo <wingo@pobox.com>
28761 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28762 activate_push down to the internal pad as well.
28764 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28766 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28768 * gst/gsttaginterface.c:
28769 Some documentation fixes (#307394 and #307397).
28771 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28773 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28775 * gst/gstvalue.c: (gst_value_intersect_list):
28776 Fix memleak (#309125).
28778 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28780 * docs/manual/advanced-dataaccess.xml:
28781 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28782 * docs/manual/basics-pads.xml:
28783 Add reference for filtered caps to above chapter.
28785 2005-06-30 Wim Taymans <wim@fluendo.com>
28787 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28788 (gst_bin_change_state):
28790 Lame attempt at making the state change function a bit
28793 2005-06-30 Wim Taymans <wim@fluendo.com>
28795 * docs/design/part-clocks.txt:
28796 * docs/design/part-element-sink.txt:
28797 * docs/design/part-events.txt:
28798 * docs/design/part-preroll.txt:
28799 * docs/design/part-states.txt:
28800 Some more tweeks and additions to the docs.
28802 2005-06-30 Wim Taymans <wim@fluendo.com>
28804 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28805 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28806 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28807 (gst_pad_check_pull_range), (gst_pad_get_range),
28808 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28810 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28811 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28812 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28813 (gst_pad_remove_buffer_probe):
28814 Removed atomic operations, use existing LOCK.
28815 Move exception handling out of main code path.
28817 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28819 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28820 (silly_return_true_function), (gst_pad_class_init),
28821 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28822 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28823 (gst_pad_send_event):
28824 Fix accumulator, add default value by using _emitv() instead
28825 of _emit() for signal emission.
28827 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28829 * docs/manual/advanced-dataaccess.xml:
28830 * examples/manual/Makefile.am:
28832 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28835 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28837 * gst/elements/gstfilesink.c: (gst_filesink_render):
28838 Simplify code so that we don't have to handle short
28839 writes and return GST_FLOW_ERROR if an error occured.
28841 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28843 * docs/gst/gstreamer-docs.sgml:
28844 Remove probes more.
28846 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28848 * docs/gst/gstreamer-sections.txt:
28849 * docs/gst/tmpl/gstpad.sgml:
28850 * docs/gst/tmpl/gstprobe.sgml:
28852 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28853 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28854 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28855 (gst_pad_push_event), (gst_pad_send_event):
28857 * gst/gstutils.c: (gst_pad_add_data_probe),
28858 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28859 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28860 (gst_pad_remove_buffer_probe):
28862 Remove old probes, add new g-signal-based probes and some utility
28865 2005-06-29 Edward Hervey <edward@fluendo.com>
28867 * gst/gstelementfactory.c:
28870 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28871 the definition to the header file.
28873 2005-06-29 Andy Wingo <wingo@pobox.com>
28875 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28876 plugins from the source directory.
28878 2005-06-29 Wim Taymans <wim@fluendo.com>
28880 * docs/gst/tmpl/gstbuffer.sgml:
28881 * docs/gst/tmpl/gstclock.sgml:
28882 Some fixings for blantently wrong text.
28884 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28886 * check/Makefile.am:
28887 * gst/gst.c: (add_path_func), (init_pre):
28888 * gst/gstregistry.c: (gst_registry_add_path):
28889 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28890 only scan the GST_PLUGIN_PATH locations, and not add
28893 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28895 * docs/gst/gstreamer-sections.txt:
28896 * docs/gst/tmpl/gstbasesrc.sgml:
28897 * gst/gstelement.c:
28898 * gst/gstelement.h:
28903 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28905 * docs/manual/advanced-autoplugging.xml:
28906 Fix autoplugging example.
28908 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28910 * docs/manual/advanced-autoplugging.xml:
28911 * docs/manual/mime-world.fig:
28912 Try to get autoplugging working, fix type detection. Fix text
28913 in hello-world image.
28915 2005-06-29 Wim Taymans <wim@fluendo.com>
28917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28918 (gst_base_sink_change_state):
28922 map SIGNAL and BROADCAST to the right function.
28925 Remove redundant braces.
28927 * gst/gstpad.c: (gst_pad_set_caps):
28928 Don't call setcaps function when reseting caps to NULL.
28930 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28931 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28932 (gst_system_clock_id_unschedule):
28933 Use BROADCAST as this is what we do.
28935 2005-06-29 Wim Taymans <wim@fluendo.com>
28937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28938 We are actually prerolling before commiting the state
28941 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28943 * docs/manual/advanced-clocks.xml:
28944 * docs/manual/advanced-interfaces.xml:
28945 * docs/manual/advanced-metadata.xml:
28946 * docs/manual/advanced-position.xml:
28947 * docs/manual/advanced-schedulers.xml:
28948 * docs/manual/advanced-threads.xml:
28949 * docs/manual/appendix-porting.xml:
28950 * docs/manual/basics-bins.xml:
28951 * docs/manual/basics-bus.xml:
28952 * docs/manual/basics-elements.xml:
28953 * docs/manual/basics-helloworld.xml:
28954 * docs/manual/basics-pads.xml:
28955 * docs/manual/highlevel-components.xml:
28956 * docs/manual/manual.xml:
28957 * docs/manual/thread.fig:
28958 Update (until threads/scheduling) Application Development Manual;
28959 remove GstThread, add GstBus, add simple porting checklist, add
28960 documentation for tag writing, clocks, make all examples until this
28961 part compile and run.
28962 * examples/manual/Makefile.am:
28963 Update from changes to Application Development Manual; add bus
28964 example, remove thread example.
28966 2005-06-28 Wim Taymans <wim@fluendo.com>
28968 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28969 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28970 (gst_bus_source_dispatch):
28971 Add debugging messages.
28972 Make internal methods static.
28973 Handle the case where the bus is flushed in the handler.
28975 * gst/gstelement.c: (gst_element_get_bus):
28976 Fix refcount in _get_bus();
28978 * gst/gstpipeline.c: (gst_pipeline_change_state),
28979 (gst_pipeline_get_clock_func):
28980 Clock refcounting fixes.
28981 Handle the case where preroll timed out more gracefully.
28983 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28984 Clean up the internal thread in dispose. This is needed
28985 for subclasses that actually get disposed.
28987 * gst/schedulers/threadscheduler.c:
28988 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28989 (gst_thread_scheduler_dispose):
28990 Free thread pool in dispose.
28992 2005-06-28 Andy Wingo <wingo@pobox.com>
28994 * tests/network-clock-utils.scm (debug, print-event): New utils.
28996 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28997 (*packet-loss*): Unified loss probability.
28998 (network-time): Report out-of-band events.
29000 * tests/plot-data: Add support for out-of-band events. Hack it
29001 into this script instead of passing it down the pipe; should fix
29004 2005-06-28 Wim Taymans <wim@fluendo.com>
29006 * docs/gst/gstreamer.types:
29007 * docs/gst/tmpl/gstbasesrc.sgml:
29008 * docs/gst/tmpl/gstpad.sgml:
29011 2005-06-28 Wim Taymans <wim@fluendo.com>
29013 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29014 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29015 (gst_proxy_pad_do_fixatecaps):
29016 Correctly proxy the check_pull_range function.
29018 2005-06-28 Andy Wingo <wingo@pobox.com>
29020 * tests/network-clock.scm: Removed need for slib.
29022 2005-06-28 Wim Taymans <wim@fluendo.com>
29024 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29025 (gst_basesink_preroll_queue_flush):
29026 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29027 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29028 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29029 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29030 (gst_proxy_pad_set_property):
29033 * gst/gstqueue.c: (gst_queue_init):
29034 The deprecated pad loop function is removed now.
29036 2005-06-28 Andy Wingo <wingo@pobox.com>
29038 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29039 New parameters, simulate network packet loss.
29041 * tests/network-clock-utils.scm: Initialize the RNG.
29043 2005-06-28 Wim Taymans <wim@fluendo.com>
29045 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29046 (gst_basesink_event), (gst_basesink_deactivate):
29047 Flushing the preroll queue always needs to unlock the waiters.
29049 2005-06-28 Edward Hervey <edward@fluendo.com>
29051 * gst/gstpipeline.c: (gst_pipeline_send_event):
29052 Wheen a seek was successful on a pipeline, set the stream_time to the
29053 seek offset in order to have a synchronized stream_time.
29055 2005-06-28 Wim Taymans <wim@fluendo.com>
29057 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29058 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29059 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29060 (gst_proxy_pad_do_fixatecaps):
29061 Call wrapper function instead of just calling the function
29062 pointers. This takes care of any locking and whatmore.
29064 2005-06-28 Wim Taymans <wim@fluendo.com>
29066 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29067 (gst_pad_pull_range):
29069 CONNECTED -> LINKED.
29071 2005-06-28 Andy Wingo <wingo@pobox.com>
29073 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29074 source-munging commit!!!
29076 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29077 (gst_object_sink): Take gpointer arguments, not GstObject --
29078 avoids casts. Like GLib.
29080 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29083 2005-06-27 Andy Wingo <wingo@pobox.com>
29085 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29088 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29089 returns a sorted copy of the trace list.
29090 (gst_alloc_trace_print_live): New API, only prints traces with
29091 live objects. Sort the list.
29092 (gst_alloc_trace_print_all): Sort the list.
29093 (gst_alloc_trace_print): Align columns.
29095 * gst/elements/gstttypefindelement.c:
29096 * gst/elements/gsttee.c:
29097 * gst/base/gstbasesrc.c:
29098 * gst/base/gstbasesink.c:
29099 * gst/base/gstbasetransform.c:
29100 * gst/gstqueue.c: Adapt for pad activation changes.
29102 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29104 (gst_pipeline_dispose): Drop ref on sched.
29106 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29107 (gst_pad_activate_default): Push mode by default.
29108 (pre_activate_switch, post_activate_switch): New stubs, things to
29109 do before and after switching activation modes on pads.
29110 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29111 the pad's activate function to choose which mode to activate.
29112 Shortcut on deactivation and call the right function directly.
29113 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29115 (gst_pad_activate_push): New API, same for push mode.
29116 (gst_pad_set_activate_function)
29117 (gst_pad_set_activatepull_function)
29118 (gst_pad_set_activatepush_function): Setters for new API.
29120 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29121 Trace all miniobjects.
29122 (gst_mini_object_make_writable): Unref the arg if we copy, like
29123 gst_caps_make_writable.
29125 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29127 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29128 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29129 Adapt for new pad API.
29131 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29133 * gst/gstelement.h:
29134 * gst/gstelement.c (gst_element_iterate_src_pads)
29135 (gst_element_iterate_sink_pads): New API functions.
29137 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29138 should fold into gstiterator.c in some form.
29139 (gst_element_pads_activate): Simplified via use of fold and
29140 delegation of decisions to gstpad->activate.
29142 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29145 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29146 class once in init, like gstmessage. Didn't run into this issue
29147 but it seems correct. Don't initialize a trace, gstminiobject does
29150 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29151 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29153 (assert_live_count): New util function, uses alloc traces to check
29156 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29157 To be modified when unlink drops the internal pad.
29159 2005-06-27 Wim Taymans <wim@fluendo.com>
29161 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29162 (gst_bin_change_state):
29163 Cleanup the get_state() function a little, make sure it
29164 iterates the same set of elements.
29165 Added stub iterate_state_order().
29167 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29169 * docs/gst/gstreamer-docs.sgml:
29170 * docs/gst/gstreamer-sections.txt:
29171 * docs/gst/gstreamer.types:
29172 * docs/gst/tmpl/gstbasesink.sgml:
29173 * docs/gst/tmpl/gstbasesrc.sgml:
29174 * docs/gst/tmpl/gstbasetransform.sgml:
29175 * docs/gst/tmpl/gstelement.sgml:
29176 * docs/gst/tmpl/gstiterator.sgml:
29177 * gst/base/gstbasesrc.c:
29178 * gst/base/gstbasesrc.h:
29179 * gst/base/gstbasetransform.h:
29180 * gst/gstelement.c:
29181 * gst/gstiterator.h:
29182 adding basetransform and iterator docs
29184 2005-06-27 Andy Wingo <wingo@pobox.com>
29186 * docs/design/part-activation.txt: Notes on how activation should
29187 work -- not quite implemented yet.
29189 2005-06-25 Wim Taymans <wim@fluendo.com>
29191 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29192 At least get the chain function correct, needs more
29195 2005-06-25 Wim Taymans <wim@fluendo.com>
29197 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29198 (gst_basesink_handle_object), (gst_basesink_event),
29199 (gst_basesink_do_sync), (gst_basesink_handle_event),
29200 (gst_basesink_change_state):
29202 Right, two problems here: ghostpads don't take locks and
29203 glib _rec_mutex_lock_full() with depth==0 still locks.
29204 Catch illegal locking and g_warn them.
29206 2005-06-25 Wim Taymans <wim@fluendo.com>
29208 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29209 Have to check for completion now...
29211 2005-06-25 Wim Taymans <wim@fluendo.com>
29213 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29214 (gst_basesink_handle_object), (gst_basesink_event),
29215 (gst_basesink_do_sync), (gst_basesink_handle_event),
29216 (gst_basesink_change_state):
29218 Unlock STREAM_LOCK whatever the recursion was.
29220 2005-06-25 Wim Taymans <wim@fluendo.com>
29222 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29223 (gst_basesink_preroll_queue_empty),
29224 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29225 (gst_basesink_event), (gst_basesink_do_sync),
29226 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29227 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29228 (gst_basesink_change_state):
29229 Reworked the base sink, handle event and buffer serialisation
29230 correctly and removed possible deadlock.
29231 Handle EOS correctly.
29233 2005-06-25 Wim Taymans <wim@fluendo.com>
29235 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29236 (gst_pipeline_change_state):
29237 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29238 Allow elements to post EOS in the state change function.
29239 Fix up -launch, make it exit the poll loop when the
29240 pipeline actually changed state.
29241 Fix up warning parsing in -launch.
29243 2005-06-25 Wim Taymans <wim@fluendo.com>
29245 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29246 (gst_tee_sink_activate):
29247 Core takes STREAM_LOCK for us now.
29249 2005-06-25 Wim Taymans <wim@fluendo.com>
29251 * gst/gstelement.c: (gst_element_get_state_func),
29252 (gst_element_set_state):
29253 * gst/gstelement.h:
29254 * gst/gstmessage.c: (gst_message_parse_error),
29255 (gst_message_parse_warning):
29256 Keep track of current target state while performing a state
29257 change so that subclasses can do something interesting.
29258 Fix parsing of warning/error messages when GError is NULL.
29260 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29262 * docs/gst/Makefile.am:
29263 * docs/gst/gstreamer-docs.sgml:
29264 * docs/gst/gstreamer-sections.txt:
29265 * docs/gst/gstreamer.types:
29266 * docs/gst/tmpl/gstbasesink.sgml:
29267 * docs/gst/tmpl/gstbasesrc.sgml:
29268 * docs/gst/tmpl/gstbin.sgml:
29269 * docs/gst/tmpl/gstcompat.sgml:
29270 * docs/gst/tmpl/gstfakesink.sgml:
29271 * docs/gst/tmpl/gstfakesrc.sgml:
29272 * docs/gst/tmpl/gstfilesink.sgml:
29273 * docs/gst/tmpl/gstfilesrc.sgml:
29274 * docs/gst/tmpl/gstindex.sgml:
29275 * docs/manual/appendix-quotes.xml:
29276 * gst/base/gstbasesrc.h:
29277 * gst/elements/gstfakesrc.h:
29278 * gst/gstmessage.h:
29279 start pulling in base classes and elements in our docs
29281 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29283 * docs/gst/Makefile.am:
29284 * docs/libs/Makefile.am:
29285 fixed make distcheck with gtk-doc 1.3
29287 2005-06-23 Wim Taymans <wim@fluendo.com>
29289 * gst/gstelement.c: (gst_element_get_state_func),
29290 (gst_element_set_state), (gst_element_change_state):
29291 When the state did not change, also report NO_PREROLL
29294 2005-06-23 Wim Taymans <wim@fluendo.com>
29296 * gst/gstpad.c: (gst_pad_event_default):
29297 * gst/gstqueue.c: (gst_queue_loop):
29298 No unsafe task pausing please.
29300 2005-06-23 Wim Taymans <wim@fluendo.com>
29302 * gst/schedulers/threadscheduler.c:
29303 (gst_thread_scheduler_task_start),
29304 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29305 Ref the task before pushing it on the threadpool. This
29306 makes sure that we have a ref when the threadfunction is
29309 2005-06-23 Andy Wingo <wingo@pobox.com>
29311 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29312 offset is greater than the file's size.
29314 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29315 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29316 * gst/gstobject.c (gst_object_class_init): Make the class lock
29317 recursive. Wim won't let me drop deep_notify. Decodebin works
29318 again, whoopdy doo.
29320 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29321 internal pad, and hacks accordingly. Doesn't do it on the target
29322 pad because we change its caps. Probably catches all cases of
29324 (gst_ghost_pad_set_property): Connect to notify::caps as
29327 * tests/network-clock.scm (plot-simulation): Pipe data to the
29328 elite python skript.
29330 * tests/network-clock-utils.scm (define-parameter): New macro,
29331 defines a parameter that can be set via the command line.
29332 (set-parameter!, parse-parameter-arguments): Command line args
29335 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29338 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29340 * gst/elements/gsttypefindelement.c:
29341 (gst_type_find_element_handle_event):
29342 Don't restart typefinding on a discont.
29343 * gst/gstelement.c: (gst_element_set_state):
29344 Debug spelling fix.
29345 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29346 Allow changing mode of an active pad.
29347 Debug output fixes.
29348 * gst/registries/gstlibxmlregistry.c: (load_feature):
29349 Don't cast a static pad template to a normal pad template.
29351 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29353 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29354 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29355 remove gst_strtoll completely, since it didn't actually do
29356 anything more than what g_ascii_strtoull already does.
29357 check for range errors when deserializing
29358 do a cast for the unsigned cases; but further fixing needs
29359 a decision on what the interpretation of "(int)" and
29360 deserialization should be for values that fall outside the
29361 type's boundaries (ie, refuse, or interpret as casting)
29363 2005-06-23 Wim Taymans <wim@fluendo.com>
29365 * check/Makefile.am:
29366 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29367 * docs/design/part-live-source.txt:
29368 * docs/design/part-states.txt:
29369 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29370 (gst_basesrc_set_live), (gst_basesrc_is_live),
29371 (gst_basesrc_get_range), (gst_basesrc_activate),
29372 (gst_basesrc_change_state):
29373 * gst/base/gstbasesrc.h:
29374 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29375 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29376 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29377 * gst/gstelement.c: (gst_element_get_state_func),
29378 (gst_element_set_state):
29379 * gst/gstelement.h:
29381 * tools/gst-launch.c: (event_loop), (main):
29382 Added support for live sources and other elements that
29384 Updated design docs, added live-source design doc.
29385 Implemented live source functionality in basesrc
29386 Fix error condition in _bin_get_state()
29387 Implement live source handling in -launch.
29388 Added check for live sources.
29389 Fixed case in GstBin where elements were changed state
29393 2005-06-23 Andy Wingo <wingo@pobox.com>
29395 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29396 borken refcounting.
29398 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29399 gst_caps_replace takes care of this for us.
29401 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29402 gst_pad_set_caps on the target, not just its setcaps() function.
29404 * tests/network-clock.scm:
29405 * tests/network-clock-utils.scm: A network clock simulator.
29406 Something of an algorithmic testbed before doing something in C.
29408 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29410 * check/Makefile.am:
29411 * check/gst/capslist.h:
29412 copy over from 0.8, and add two with bitmasks specified with
29414 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29415 add test to parse everything from capslist.h
29416 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29418 add test for structure deserialization
29419 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29420 add tests for deserialization of strings to int types
29421 * gst/gststructure.c: (gst_structure_nth_field_name):
29422 * gst/gststructure.h:
29423 add a way to get the name of a field referenced by index
29424 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29425 instead of checking if the resulting long long lies between
29426 min and max, we check if the long long would fit into
29427 a number of bytes for the final type.
29428 This fixes cases where a string represents 2^32 - 1, which
29429 when cast to int would be the (valid) -1, but is bigger than
29432 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29434 * gst/parse/grammar.y:
29435 add a log line for type deserialization
29437 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29439 * check/gst/gstvalue.c: (START_TEST):
29440 * gst/gstvalue.c: (gst_value_deserialize):
29441 return long long, not int, so gint64 deserialization actually
29442 works. Is there any flag that makes the compiler check this ?
29445 2005-06-22 Wim Taymans <wim@fluendo.com>
29448 Added convenience macros for setting buffers in GValue.
29450 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29452 * check/gst/.cvsignore:
29453 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29454 add a test deserializing int64, and comment part out because
29457 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29459 * check/Makefile.am:
29460 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29461 * testsuite/Makefile.am:
29462 * testsuite/caps/Makefile.am:
29463 * testsuite/caps/value_serialize.c:
29464 * testsuite/test_gst_init.c:
29465 move a value_serialize test over
29467 2005-06-20 Wim Taymans <wim@fluendo.com>
29472 * gst/gstvalue.c: (gst_value_compare_buffer),
29473 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29474 (gst_value_compare_flags), (gst_value_serialize_flags),
29475 (gst_value_deserialize_flags), (_gst_value_initialize):
29476 Fix serialisation of buffers, they are not boxed types anymore
29478 2005-06-20 Wim Taymans <wim@fluendo.com>
29480 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29481 Testcase to show error in buffer-on-caps serialisation.
29483 2005-06-20 Andy Wingo <wingo@pobox.com>
29485 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29486 will be adding to later.
29488 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29489 if its socks fill with rocks.
29490 (gst_system_clock_obtain): Set the name on object construction.
29491 Avoid double-checked locking.
29493 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29495 * gst/gsturi.c: (gst_element_make_from_uri):
29496 Fix potential endless loop.
29498 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29500 * check/Makefile.am:
29502 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29504 move over from testsuite dir and clean up
29507 * testsuite/Makefile.am:
29508 * testsuite/tags/.cvsignore:
29509 * testsuite/tags/Makefile.am:
29510 * testsuite/tags/merge.c:
29511 remove testsuite/tags
29513 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29515 * docs/gst/gstreamer-sections.txt:
29516 * docs/gst/tmpl/gstenumtypes.sgml:
29517 * win32/gstenumtypes.c:
29518 clean up documentation build a little
29520 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29522 * check/gstcheck.h:
29523 add macros for checking refcounts on objects and caps
29524 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29525 add some more unit tests
29526 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29527 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29528 fix leaked refcounts (I hope :)) so unittest works
29532 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29534 * configure.ac: back to HEAD
29536 === release 0.9.1 ===
29538 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29544 2005-06-17 Andy Wingo <wingo@pobox.com>
29546 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29547 assert; it's always possible that the pad gets deactivated in
29548 between the checks in gstpad.c and the implementation. Rely on
29549 finish_preroll() to return a FLUSHING or similar instead of on the
29552 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29553 clock and post an EOS message if we come out of finish_preroll in
29556 2005-06-16 David Schleef <ds@schleef.org>
29558 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29559 (gst_capsfilter_set_property): Allow NULL as possible value
29560 for filter_caps property, indicating GST_CAPS_ANY.
29562 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29564 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29566 * gst/schedulers/Makefile.am:
29568 * gstreamer.spec.in:
29571 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29573 * gstreamer.spec.in:
29576 2005-06-08 Andy Wingo <wingo@pobox.com>
29578 * gst/gstutils.c: RPAD fixes all around.
29579 (gst_element_link_pads): Refcounting fixes.
29581 * tools/gst-inspect.c:
29582 * tools/gst-xmlinspect.c:
29584 * gst/base/gsttypefindhelper.c:
29585 * gst/base/gstbasesink.c:
29586 * gst/gstqueue.c: RPAD fixes.
29588 * gst/gstghostpad.h:
29589 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29590 pads. The tricky thing is they provide both source and sink
29591 interfaces, since they proxy the internal pad for the external
29592 pad, and vice versa. Implement with lower-level ProxyPad objects,
29593 with the interior proxy pad as a child of the exterior ghost pad.
29594 Should write a doc on this.
29596 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29597 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29600 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29601 pads are real pads. No ghost pads in this file. Not documenting
29602 the myriad s/RPAD/PAD/ and REALIZE fixes.
29603 (gst_pad_class_init): Add properties for "direction" and
29604 "template". Both are construct-only, so they can't change during
29605 the life of the pad. Fixes properly deriving from GstPad.
29606 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29607 derived objects, just set properties when creating the objects via
29609 (gst_pad_get_parent): Implement as a function, return NULL if the
29610 parent is not an element.
29611 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29612 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29614 * gst/gstobject.c (gst_object_class_init): Make name a construct
29615 property. Don't set it in the object init.
29617 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29618 with UNKNOWN direction.
29619 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29620 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29621 (gst_element_remove_pad): Remove ghost-pad special cases.
29622 (gst_element_pads_activate): Remove rpad cruft.
29624 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29625 catch the pad's-parent-not-an-element case.
29627 * gst/gst.h: Include gstghostpad.h.
29629 * gst/gst.c (init_post): No more real, ghost pads.
29631 * gst/Makefile.am: Add gstghostpad.[ch].
29633 * check/Makefile.am:
29634 * check/gst/gstbin.c:
29635 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29636 into a bin creates ghost pads, and that the refcounts are right.
29637 Partly moved from gstbin.c.
29639 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29641 * check/gst-libs/.cvsignore:
29642 * check/gst/.cvsignore:
29643 * check/pipelines/.cvsignore:
29645 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29646 (START_TEST), (cleanup_suite), (main):
29647 add some tests related to cleanup after running pipelines
29649 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29651 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29652 add a testsuite for GstBuffer
29654 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29656 * gst/gstminiobject.h:
29657 add defines for accessing the refcount
29659 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29661 * Makefile.am: added support for html unit test coverage reports
29663 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29665 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29666 Free existing caps if the capsfilter changes. Add a FIXME about
29667 setting those caps on the pads.
29669 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29670 Before adding a ghost pad to a parent bin, check that there isn't
29671 already one for the element on the bin. Prevents infinite recursion
29672 when using decodebin in parse pipelines. Andy says he'll rewrite the
29673 way this works anyway, so ignore the hack.
29675 2005-06-02 Andy Wingo <wingo@pobox.com>
29677 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29678 file size, pass it on to the type find helper.
29680 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29681 segment_start and segment_end properly according to the seek
29682 method. Segment_end is still a bit flaky because offset can be
29683 negative for CUR and END cases, but it takes -1 as an "unset"
29686 2005-06-02 Wim Taymans <wim@fluendo.com>
29688 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29689 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29690 (gst_basesink_activate):
29691 * gst/base/gstbasesink.h:
29692 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29693 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29694 (gst_pad_query), (gst_pad_start_task):
29696 * gst/gstqueue.c: (gst_queue_bufferalloc),
29697 (gst_queue_handle_sink_event), (gst_queue_chain):
29698 Bufferalloc: return GstFlowReturn to more accuratly report
29699 why allocation failed.
29701 2005-06-02 Wim Taymans <wim@fluendo.com>
29703 * gst/gstpipeline.c: (gst_pipeline_send_event):
29704 Take snapshot of state without blocking.
29706 2005-06-02 Wim Taymans <wim@fluendo.com>
29708 * docs/design/part-TODO.txt:
29709 * docs/design/part-caps.txt:
29710 * docs/design/part-clocks.txt:
29711 * docs/design/part-negotiation.txt:
29712 * docs/design/part-preroll.txt:
29715 2005-05-30 Wim Taymans <wim@fluendo.com>
29717 * gst/elements/gstidentity.c: (gst_identity_event),
29718 (gst_identity_transform), (gst_identity_get_property):
29719 Protect last_message property as it is accessed from
29722 2005-05-30 Wim Taymans <wim@fluendo.com>
29724 * gst/gstelement.c: (gst_element_init),
29725 (gst_element_pads_activate), (gst_element_change_state):
29726 Slicker pad activation code.
29728 2005-05-30 Wim Taymans <wim@fluendo.com>
29731 * gst/gstelement.h:
29732 * gst/gstelementfactory.h:
29734 Move elementfactory methods to separate .h file.
29736 2005-05-30 Wim Taymans <wim@fluendo.com>
29738 * docs/design/part-overview.txt:
29739 * gst/gstsystemclock.h:
29740 Small typo fixes, doc updates.
29742 2005-05-30 Wim Taymans <wim@fluendo.com>
29744 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29745 (init_popt_callback):
29746 Remove cpu-opt flag.
29748 2005-05-30 Wim Taymans <wim@fluendo.com>
29750 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29751 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29753 Avoid typechecking in places where not needed.
29754 Added accessor for malloc_data.
29756 2005-05-30 Wim Taymans <wim@fluendo.com>
29758 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29759 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29760 (gst_pad_configure_sink), (gst_pad_configure_src),
29761 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29762 (gst_pad_start_task):
29763 Propagate errors from _set_caps() in configure_src/sink
29764 functions instead of returning TRUE.
29765 FLUSH events can travel up and downstream
29768 2005-05-30 Wim Taymans <wim@fluendo.com>
29770 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29771 (gst_basesink_activate):
29772 Handle EOS in preroll.
29774 2005-05-30 Wim Taymans <wim@fluendo.com>
29776 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29777 (gst_queue_loop), (gst_queue_handle_src_event):
29778 Remove old pieces of code
29779 Flushing the queue in an upstream event is a very bad idea.
29781 2005-05-26 Andy Wingo <wingo@pobox.com>
29783 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29784 gst_value_set_mini_object so as to add a ref on the object (which
29785 will be removed when the value is unset).
29787 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29788 arg type in ::handoff.
29790 * gst/gstelement.c (gst_element_change_state): Also deactivate
29791 pads in READY->NULL, just in case the element didn't make it to
29792 PAUSED. Wingo tested, Wim approved.
29794 2005-05-26 Wim Taymans <wim@fluendo.com>
29796 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29797 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29798 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29799 A flushing pad cannot be used to alloc_buffer from.
29801 2005-05-26 Wim Taymans <wim@fluendo.com>
29803 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29804 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29805 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29806 (gst_bus_create_watch), (gst_bus_add_watch_full):
29808 Implement a real GSource and use g_main_context_wakeup() to
29809 signal new messages instead of the socketpair.
29811 2005-05-25 Wim Taymans <wim@fluendo.com>
29813 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29814 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29815 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29816 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29817 (gst_pad_send_event), (gst_pad_start_task):
29818 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29819 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29820 (gst_queue_sink_activate), (gst_queue_src_activate),
29821 (gst_queue_change_state):
29823 Fix state changes for non sinks. We now change sinks, then elements
29824 with unconnected srcpads, then the rest.
29825 More efficient queue unlocking in flush and state changes.
29826 Set the pad activate mode even if it does not have an activate
29829 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29831 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29832 Don't go in pull mode for non-seekable sources.
29833 * gst/elements/gsttypefindelement.h:
29834 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29835 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29836 (free_entry), (stop_typefinding),
29837 (gst_type_find_element_handle_event), (find_peek),
29838 (gst_type_find_element_chain), (do_pull_typefind),
29839 (gst_type_find_element_change_state):
29840 Allow typefinding (w/o seeking) in push-mode, simplified version
29841 of what was in 0.8.
29842 * gst/gstutils.c: (gst_buffer_join):
29844 gst_buffer_join() from 0.8.
29846 2005-05-25 Wim Taymans <wim@fluendo.com>
29848 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29849 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29850 (gst_pad_send_event), (gst_pad_start_task):
29851 Disable attempt at mode switching until it is figured out.
29853 2005-05-25 Wim Taymans <wim@fluendo.com>
29855 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29856 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29857 (gst_basesink_finish_preroll), (gst_basesink_chain),
29858 (gst_basesink_loop), (gst_basesink_activate),
29859 (gst_basesink_change_state):
29860 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29861 (gst_basesrc_get_range), (gst_basesrc_loop),
29862 (gst_basesrc_activate):
29863 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29864 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29865 (gst_real_pad_init), (gst_real_pad_set_property),
29866 (gst_real_pad_get_property), (gst_pad_set_active),
29867 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29868 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29869 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29870 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29871 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29872 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29873 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29874 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29875 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29876 (gst_pad_stop_task):
29878 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29879 (gst_queue_loop), (gst_queue_src_activate):
29880 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29881 (gst_task_get_state):
29883 * gst/schedulers/threadscheduler.c:
29884 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29885 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29887 Remove ACTIVE pad flag, use FLUSHING everywhere
29888 Added _pad_chain(), _pad_get_range() to call chain/getrange
29890 Add locks around IS_FLUSHING when reading.
29891 Take STREAM lock in chain(), get_range() functions so plugins
29892 don't need to take it anymore.
29896 2005-05-25 Wim Taymans <wim@fluendo.com>
29898 * tools/gst-launch.c: (event_loop):
29899 Unref message after using its contents instead of
29902 2005-05-24 Wim Taymans <wim@fluendo.com>
29904 * docs/design/draft-ghostpads.txt:
29905 * docs/design/draft-push-pull.txt:
29906 * docs/design/draft-query.txt:
29907 * docs/design/part-overview.txt:
29908 Docs updates, added general overview doc.
29910 2005-05-21 David Schleef <ds@schleef.org>
29912 * docs/gst/tmpl/old/GstBin.sgml:
29913 * docs/gst/tmpl/old/GstBuffer.sgml:
29914 * docs/gst/tmpl/old/GstCaps.sgml:
29915 * docs/gst/tmpl/old/GstClock.sgml:
29916 * docs/gst/tmpl/old/GstCompat.sgml:
29917 * docs/gst/tmpl/old/GstData.sgml:
29918 * docs/gst/tmpl/old/GstElement.sgml:
29919 * docs/gst/tmpl/old/GstEvent.sgml:
29920 * docs/gst/tmpl/old/GstIndex.sgml:
29921 * docs/gst/tmpl/old/GstStructure.sgml:
29922 * docs/gst/tmpl/old/GstTag.sgml:
29923 * docs/gst/tmpl/old/cothreads.sgml:
29924 * docs/gst/tmpl/old/cothreads_compat.sgml:
29925 * docs/gst/tmpl/old/gettext.sgml:
29926 * docs/gst/tmpl/old/gobject2gtk.sgml:
29927 * docs/gst/tmpl/old/grammar.tab.sgml:
29928 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29929 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29930 * docs/gst/tmpl/old/gst_private.sgml:
29931 * docs/gst/tmpl/old/gstaggregator.sgml:
29932 * docs/gst/tmpl/old/gstarch.sgml:
29933 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29934 * docs/gst/tmpl/old/gstbufferstore.sgml:
29935 * docs/gst/tmpl/old/gstdata_private.sgml:
29936 * docs/gst/tmpl/old/gstdisksink.sgml:
29937 * docs/gst/tmpl/old/gstdisksrc.sgml:
29938 * docs/gst/tmpl/old/gstelementfactory.sgml:
29939 * docs/gst/tmpl/old/gstextratypes.sgml:
29940 * docs/gst/tmpl/old/gstfakesink.sgml:
29941 * docs/gst/tmpl/old/gstfakesrc.sgml:
29942 * docs/gst/tmpl/old/gstfdsink.sgml:
29943 * docs/gst/tmpl/old/gstfdsrc.sgml:
29944 * docs/gst/tmpl/old/gstfilesink.sgml:
29945 * docs/gst/tmpl/old/gstfilesrc.sgml:
29946 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29947 * docs/gst/tmpl/old/gstidentity.sgml:
29948 * docs/gst/tmpl/old/gstindexfactory.sgml:
29949 * docs/gst/tmpl/old/gstmarshal.sgml:
29950 * docs/gst/tmpl/old/gstmd5sink.sgml:
29951 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29952 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29953 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29954 * docs/gst/tmpl/old/gstpipefilter.sgml:
29955 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29956 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29957 * docs/gst/tmpl/old/gstshaper.sgml:
29958 * docs/gst/tmpl/old/gstspider.sgml:
29959 * docs/gst/tmpl/old/gstspideridentity.sgml:
29960 * docs/gst/tmpl/old/gststatistics.sgml:
29961 * docs/gst/tmpl/old/gsttee.sgml:
29962 * docs/gst/tmpl/old/gsttimecache.sgml:
29963 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29964 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29965 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29966 * docs/gst/tmpl/old/types.sgml:
29967 I didn't intend to add these or check them in.
29969 2005-05-19 David Schleef <ds@schleef.org>
29971 * configure.ac: Use -no-common everywhere. In a sane world, it
29972 would be the default in libtool, because without it, you can't
29973 build DLLs on Windows.
29974 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29975 * docs/gst/gstreamer-sections.txt:
29976 * docs/gst/tmpl/gstcpu.sgml:
29977 * docs/gst/tmpl/gstdata.sgml:
29978 * docs/gst/tmpl/gstthread.sgml:
29980 2005-05-19 David Schleef <ds@schleef.org>
29982 * gst/gstminiobject.c: (gst_value_set_mini_object),
29983 (gst_value_take_mini_object), (gst_value_get_mini_object):
29984 * gst/gstminiobject.h: Add GValue set/get functions.
29986 2005-05-19 Wim Taymans <wim@fluendo.com>
29988 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29989 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29990 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29992 * gst/gstbus.c: (gst_bus_post):
29993 * gst/gstelement.c: (gst_element_get_random_pad):
29994 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29995 Make subbufer unref the parent in finalize.
29996 some more debugging info.
29999 2005-05-19 Wim Taymans <wim@fluendo.com>
30001 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30002 (gst_basesink_init), (gst_basesink_finalize),
30003 (gst_basesink_activate), (gst_basesink_change_state):
30004 Don't free preroll queue too early.
30006 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30010 Hi, I'm outdated. Please shoot me.
30012 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30014 * gst/gstpipeline.c: (gst_pipeline_send_event):
30015 Do not access variables after they have been deleted.
30017 2005-05-19 Wim Taymans <wim@fluendo.com>
30019 * tools/gst-inspect.c: (print_plugin_features):
30020 A plugin feature does unfortunatly not use the
30023 2005-05-18 Wim Taymans <wim@fluendo.com>
30025 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30026 Port _span() functions to new subbuffers.
30028 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30030 * gst/gstbin.c: (gst_bin_add_func):
30031 Fix clock settery in bins when adding kids after the clock has
30034 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30036 * gst/elements/gstidentity.c: (gst_identity_class_init):
30037 Workaround until signals support GstMiniObject.
30039 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30042 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30044 2005-05-18 Wim Taymans <wim@fluendo.com>
30046 * gst/base/Makefile.am:
30047 * gst/base/gstadapter.c: (gst_adapter_base_init),
30048 (gst_adapter_class_init), (gst_adapter_init),
30049 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30050 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30051 (gst_adapter_flush), (gst_adapter_available),
30052 (gst_adapter_available_fast):
30053 * gst/base/gstadapter.h:
30054 Ported and added adapter to the base classes.
30056 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30059 * gst/gstmessage.c:
30060 Make sure the class is reffed/unreffed once before threads can be
30061 used. Fixes #304551.
30063 2005-05-17 Wim Taymans <wim@fluendo.com>
30065 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30066 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30067 * gst/gstminiobject.c: (gst_mini_object_get_type),
30068 (gst_mini_object_free):
30069 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30070 (gst_pad_push), (gst_pad_push_event):
30071 * gst/gstqueue.c: (gst_queue_change_state):
30072 Don't queue buffers in basesink when we are flushing.
30073 Unref buffer when flushing in basesink.
30074 Flush queue when going to READY
30075 Unref buffer when _push() returns an error.
30076 Don't free MiniObject instance when refcount is incremented
30077 in _finalize() so that we can recover objects.
30079 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30081 * docs/manual/advanced-schedulers.xml:
30082 * docs/manual/appendix-checklist.xml:
30083 * docs/pwg/advanced-clock.xml:
30084 * docs/pwg/advanced-interfaces.xml:
30085 * docs/pwg/advanced-request.xml:
30086 * docs/pwg/advanced-types.xml:
30087 * docs/pwg/intro-preface.xml:
30088 * examples/plugins/example.c: (gst_example_get_type),
30089 (gst_example_class_init), (gst_example_chain),
30090 (gst_example_set_property), (gst_example_get_property),
30091 (gst_example_change_state), (plugin_init):
30092 * examples/plugins/example.h:
30095 2005-05-17 Wim Taymans <wim@fluendo.com>
30097 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30098 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30099 * gst/gstqueue.c: (gst_queue_change_state):
30100 Clear queue when going to READY.
30101 Remove IN_SETCAPS flag too.
30103 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30105 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30106 Remove implicit cast from gboolean to GstElementStateReturn;
30107 make sure we still return failure in paused => ready case if
30108 the parent class fails to change state and our own stop
30111 2005-05-17 Wim Taymans <wim@fluendo.com>
30113 * tools/gst-launch.c: (event_loop):
30114 Message was unreffed too soon.
30116 2005-05-16 Andy Wingo <wingo@pobox.com>
30118 * gst/gstbin.c (sink_iterator_filter): Err... um...
30120 * check/gst/gstbin.c (test_ghost_pads): New test for the
30121 ghosting-if-elements-not-in-same-bin behavior.
30123 2005-05-16 David Schleef <ds@schleef.org>
30125 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30126 accessing refcount directly.
30128 2005-05-15 David Schleef <ds@schleef.org>
30130 * check/Makefile.am: remove GstData checks
30131 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30132 * gst/Makefile.am: add miniobject, remove data
30133 * gst/gst.h: add miniobject, remove data
30134 * gst/gstdata.c: remove
30135 * gst/gstdata.h: remove
30136 * gst/gstdata_private.h: remove
30137 * gst/gsttypes.h: remove GstEvent and GstMessage
30138 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30139 * gst/gstmarshal.list: change BOXED -> OBJECT
30141 Implement GstMiniObject.
30142 * gst/gstminiobject.c:
30143 * gst/gstminiobject.h:
30145 Modify to be subclasses of GstMiniObject.
30146 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30147 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30148 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30149 (gst_subbuffer_get_type), (gst_subbuffer_init),
30150 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30153 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30154 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30155 (_gst_event_copy), (gst_event_new):
30157 * gst/gstmessage.c: (_gst_message_initialize),
30158 (gst_message_get_type), (gst_message_class_init),
30159 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30160 (gst_message_new), (gst_message_new_error),
30161 (gst_message_new_warning), (gst_message_new_tag),
30162 (gst_message_new_state_changed), (gst_message_new_application):
30163 * gst/gstmessage.h:
30164 * gst/gstprobe.c: (gst_probe_perform),
30165 (gst_probe_dispatcher_dispatch):
30167 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30168 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30169 (_gst_query_copy), (gst_query_new):
30171 Update elements for GstData -> GstMiniObject changes
30173 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30174 (gst_queue_chain), (gst_queue_loop):
30175 * gst/elements/gstbufferstore.c:
30176 (gst_buffer_store_add_buffer_func),
30177 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30178 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30179 (gst_fakesink_render):
30180 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30181 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30182 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30183 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30184 (gst_filesrc_create_read):
30185 * gst/elements/gstidentity.c: (gst_identity_class_init):
30186 * gst/elements/gsttypefindelement.c:
30187 (gst_type_find_element_src_event), (free_entry_buffers),
30188 (gst_type_find_element_handle_event):
30189 * libs/gst/dataprotocol/dataprotocol.c:
30190 (gst_dp_header_from_buffer):
30191 * libs/gst/dataprotocol/dataprotocol.h:
30192 * libs/gst/dataprotocol/dp-private.h:
30194 2005-05-15 David Schleef <ds@schleef.org>
30196 * gst/elements/gstelements.c: Don't include headers that were
30199 2005-05-15 David Schleef <ds@schleef.org>
30201 * gst/elements/Makefile.am: Remove some elements that don't
30202 need to be in the core (or even exist at all).
30203 * gst/elements/gstaggregator.c:
30204 * gst/elements/gstaggregator.h:
30205 * gst/elements/gstmd5sink.c:
30206 * gst/elements/gstmd5sink.h:
30207 * gst/elements/gstmultifilesrc.c:
30208 * gst/elements/gstmultifilesrc.h:
30209 * gst/elements/gstpipefilter.c:
30210 * gst/elements/gstpipefilter.h:
30211 * gst/elements/gstshaper.c:
30212 * gst/elements/gstshaper.h:
30213 * gst/elements/gststatistics.c:
30214 * gst/elements/gststatistics.h:
30215 * po/POTFILES.in: Remove above files.
30217 2005-05-14 Andy Wingo <wingo@pobox.com>
30219 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30220 so as to get the refs right.
30221 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30222 unreffing objects that don't pass the filter.
30224 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30225 gst_element_set_bus.
30226 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30227 normal cases, this will destroy the bus.
30229 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30232 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30235 2005-05-13 Andy Wingo <wingo@pobox.com>
30237 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30238 gst_pad_link, call pad_link_maybe_ghosting,
30239 (pad_link_maybe_ghosting): Links pads, making sure that the
30240 elements being linked are in the same bin.
30241 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30242 Helpers for pad_link_maybe_ghosting.
30244 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30247 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30249 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30251 * docs/design/part-element-source.txt:
30254 2005-05-12 Wim Taymans <wim@fluendo.com>
30256 * gst/base/gstbasesink.c: (gst_basesink_init),
30257 (gst_basesink_activate):
30258 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30259 (gst_basesrc_is_seekable):
30260 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30261 (bin_element_is_sink), (gst_bin_change_state):
30262 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30263 * gst/gstelement.h:
30264 Identify sinks by their flag to avoid overly complicated
30266 Do state changes even for elements not reachable from the
30268 BaseSink is a sink now :)
30269 Some more debugging info in the basesrc.
30272 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30274 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30275 Implement _query on a bin, similar to _send_event.
30277 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30279 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30280 Discont event offset format should be GST_FORMAT_BYTES,
30281 not GST_FORMAT_TIME.
30283 2005-05-12 Wim Taymans <wim@fluendo.com>
30285 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30286 Same fix as Ronald's but without the signal.
30288 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30290 * gst/gstutils.c: (gst_element_query_position):
30291 No, an element is not a pad.
30293 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30295 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30296 (gst_bin_get_state):
30297 If a child is removed from a bin while we remove the child from
30298 the bin and while we're retrieving its state, signal this to the
30299 get_state function so we abort the wait (instead of waiting for
30300 a timeout) and can immediately re-iterate over all other elements.
30302 2005-05-12 Wim Taymans <wim@fluendo.com>
30304 * gst/base/Makefile.am:
30305 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30306 (gst_basesrc_start):
30307 * gst/base/gstbasesrc.h:
30308 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30309 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30310 (gst_pushsrc_init), (gst_pushsrc_create):
30311 * gst/base/gstpushsrc.h:
30312 Added is_seekable to BaseSrc
30313 Added simple PushSrc.
30315 2005-05-11 Wim Taymans <wim@fluendo.com>
30317 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30318 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30319 (gst_element_link_pads), (gst_element_query_position),
30320 (gst_element_query_convert), (intersect_caps_func),
30321 (gst_pad_query_position), (gst_pad_query_convert):
30322 Fix refcounting in utils function.
30323 No point in trying to activate a pad when it's added, it could
30324 be added from the state change function and then we deadlock, the
30325 element has to decide what to do.
30327 2005-05-10 Andy Wingo <wingo@pobox.com>
30329 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30330 *all* the arguments.
30332 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30333 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30334 lock (according to the docs -- if this is wrong change the docs).
30336 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30337 flush messages in the NULL state.
30339 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30340 message immediately and return.
30341 (gst_bus_set_flushing): New function. If a bus is flushing, it
30342 flushes out any queued messages and immediately unrefs new
30343 messages. This is so when an element goes to NULL, all of the
30344 unhandled messages coming from it can be freed, and their
30345 references to the element dropped. In other words: message source
30346 ref considered harmful :P
30348 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30349 we're finished with it.
30351 * gst/gstmessage.c (gst_message_new_state_changed):
30353 2005-05-10 Wim Taymans <wim@fluendo.com>
30355 * gst/gstvalue.c: (gst_value_compare_flags),
30356 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30357 (_gst_value_initialize):
30358 Added flags serialize/deserialize/compare code.
30360 2005-05-09 Andy Wingo <wingo@pobox.com>
30362 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30363 Intersect the peer's caps with our caps.
30365 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30367 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30368 * gst/elements/gsttypefindelement.c: (find_peek):
30369 Handle negative offsets better. Fixes decodebin.
30371 2005-05-09 Wim Taymans <wim@fluendo.com>
30373 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30374 (gst_base_transform_event):
30375 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30376 Implement accept_caps.
30377 Fix silly lock/unlock mismatch in base class.
30379 2005-05-09 Wim Taymans <wim@fluendo.com>
30381 * docs/design/draft-push-pull.txt:
30382 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30383 * gst/elements/gstfilesink.c: (gst_filesink_init),
30384 (gst_filesink_query):
30385 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30386 (gst_type_find_handle_src_query), (find_element_get_length):
30387 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30388 * gst/gstelement.h:
30389 * gst/gstmessage.c:
30390 * gst/gstmessage.h:
30391 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30392 (gst_real_pad_get_caps_unlocked),
30393 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30394 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30395 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30396 (gst_real_pad_dispose), (gst_real_pad_finalize),
30397 (gst_pad_load_and_link), (gst_pad_save_thyself),
30398 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30399 (gst_pad_check_pull_range), (gst_pad_pull_range),
30400 (gst_pad_template_get_type), (gst_pad_template_class_init),
30401 (gst_pad_template_init), (gst_pad_template_dispose),
30402 (name_is_valid), (gst_static_pad_template_get),
30403 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30404 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30405 (gst_pad_get_element_private), (gst_pad_start_task),
30406 (gst_pad_pause_task), (gst_pad_stop_task),
30407 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30408 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30409 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30410 (gst_ghost_pad_new):
30412 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30413 (gst_query_new_position), (gst_query_set_position),
30414 (gst_query_parse_position), (gst_query_new_convert),
30415 (gst_query_set_convert), (gst_query_parse_convert):
30417 * gst/gstqueryutils.c:
30418 * gst/gstqueryutils.h:
30419 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30420 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30421 (gst_queue_handle_src_query):
30422 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30423 (gst_element_query_position), (gst_element_query_convert),
30424 (intersect_caps_func), (gst_pad_query_position),
30425 (gst_pad_query_convert):
30427 * tools/gst-inspect.c: (print_pad_info):
30428 * tools/gst-xmlinspect.c: (print_element_info):
30429 Remove old query functions. Ported old code.
30430 Added position/convert helper functions to gstutils.
30431 Reordered gstpad.c code, grouping relevant things.
30432 Remove gst_message_new(), always need to speficy a specific
30436 2005-05-09 Andy Wingo <wingo@pobox.com>
30438 * gst/gstiterator.h: Add some includes.
30440 * gst/gstqueryutils.h: Include more headers.
30443 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30444 some uses of gst_pad_query.
30446 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30447 NULL out parameters.
30448 (gst_query_new_position): New proc, allocates a new position
30451 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30452 gstqueryutils.c to the build.
30454 * gst/gststructure.c (gst_structure_set_valist): Implement with
30455 the generic G_VALUE_COLLECT.
30457 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30459 * gst/Makefile.am: (gst_headers):
30460 Added gstqueryutils.h to the list of headers to install, that was
30461 a 'nachty' move wingo :)
30463 2005-05-06 Andy Wingo <wingo@pobox.com>
30466 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30467 GstData, init a memchunk.
30468 (standard_definitions): Add a few query types, deprecate a few.
30469 (gst_query_get_type): New proc.
30470 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30472 (gst_query_new_application, gst_query_get_structure): New public
30475 * docs/design/draft-query.txt: Removed LINKS from the query types,
30476 because all the rest can be dispatched to other pads -- seemed
30477 ugly to have a query that couldn't be dispatched. internal_links
30478 is fine as a pad method.
30480 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30481 in gstpad.c, but maintain binary compatibility for the moment.
30482 Will fix before 0.9 is out.
30484 * gst/gstqueryutils.c:
30485 * gst/gstqueryutils.h: New files, implement 3 methods for each
30486 query type: parse_query, parse_response, and set. Probably need an
30489 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30491 * gst/elements/gstfilesink.c (gst_filesink_query2):
30492 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30493 query_types, and formats methods.
30495 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30496 (gst_pad_set_query2_function): New functions.
30497 (gst_real_pad_init): Set query2_default as the default query2
30498 function. Basically just dispatches to internally linked pads.
30502 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30503 without using the atomic operations. Only one thread can possibly
30504 be accessing the data at this point. Changed so as to avoid
30505 gst_atomic operations.
30507 2005-05-06 Wim Taymans <wim@fluendo.com>
30509 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30510 Also set caps if we use the fallback buffer alloc.
30512 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30514 * docs/gst/Makefile.am:
30515 * docs/gst/gstreamer-docs.sgml:
30516 * docs/gst/gstreamer-sections.txt:
30517 * docs/gst/tmpl/gstatomic.sgml:
30518 * docs/gst/tmpl/gstmemchunk.sgml:
30519 * testsuite/elements/struct_i386.h:
30520 * win32/GStreamer.vcproj:
30522 Purge GstAtomic stuff from docs and win32 makefiles as well
30524 2005-05-06 Wim Taymans <wim@fluendo.com>
30526 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30527 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30528 * gst/gstpad.c: (gst_pad_peer_get_caps):
30529 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30530 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30531 (gst_queue_src_activate), (gst_queue_change_state):
30533 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30534 (intersect_caps_func):
30535 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30536 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30537 Some fixes for the peer_get_caps() change.
30539 2005-05-06 Wim Taymans <wim@fluendo.com>
30541 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30542 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30543 (gst_basesink_activate):
30544 Actually do something with error codes returned from the push
30547 2005-05-06 Wim Taymans <wim@fluendo.com>
30549 * docs/design/part-element-sink.txt:
30550 * docs/design/part-element-source.txt:
30551 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30552 (gst_basesink_event), (gst_basesink_activate):
30553 * gst/base/gstbasesink.h:
30554 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30555 (gst_basesrc_activate):
30556 * gst/base/gstbasesrc.h:
30557 * gst/gstelement.c: (gst_element_pads_activate):
30558 Some more documentation.
30559 Fixed scheduling decision in _pads_activate().
30561 2005-05-05 Andy Wingo <wingo@pobox.com>
30563 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30566 2005-05-05 Wim Taymans <wim@fluendo.com>
30568 * gst/base/Makefile.am:
30569 * gst/base/gstbasesink.h:
30570 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30571 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30572 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30573 (gst_collectpads_class_init), (gst_collectpads_init),
30574 (gst_collectpads_finalize), (gst_collectpads_new),
30575 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30576 (find_pad), (gst_collectpads_remove_pad),
30577 (gst_collectpads_is_active), (gst_collectpads_collect),
30578 (gst_collectpads_collect_range), (gst_collectpads_start),
30579 (gst_collectpads_stop), (gst_collectpads_peek),
30580 (gst_collectpads_pop), (gst_collectpads_available),
30581 (gst_collectpads_read), (gst_collectpads_flush),
30582 (gst_collectpads_chain):
30583 * gst/base/gstcollectpads.h:
30584 * gst/elements/Makefile.am:
30585 * gst/elements/gstelements.c:
30586 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30587 (gst_fakesink_get_times), (gst_fakesink_event),
30588 (gst_fakesink_preroll), (gst_fakesink_render):
30589 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30590 (gst_filesink_init), (gst_filesink_set_location),
30591 (gst_filesink_open_file), (gst_filesink_close_file),
30592 (gst_filesink_pad_query), (gst_filesink_event),
30593 (gst_filesink_render), (gst_filesink_change_state):
30594 * gst/elements/gstfilesink.h:
30595 Added object to help in making collect pad based elements.
30597 Make event function in sink baseclass return gboolean.
30599 2005-05-05 Wim Taymans <wim@fluendo.com>
30601 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30602 (gst_bin_get_by_name):
30604 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30605 (gst_clock_finalize):
30606 * gst/gstdata.c: (gst_data_replace):
30608 * gst/gstelement.c: (gst_element_request_pad),
30609 (gst_element_pads_activate):
30610 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30611 (gst_object_unref):
30612 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30613 (gst_pad_set_checkgetrange_function),
30614 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30615 (gst_pad_check_pull_range), (gst_pad_pull_range),
30616 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30617 (gst_pad_pause_task), (gst_pad_stop_task):
30618 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30619 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30620 Fix name lookup in GstBin.
30621 Added _data_replace() function and _buffer_replace()
30622 Use finalize method to clean up clock.
30623 Fix refcounting on request pads.
30624 Fix pad schedule mode error.
30625 Some more object refcounting debug info,
30628 2005-05-04 Andy Wingo <wingo@pobox.com>
30630 * check/Makefile.am:
30631 * docs/gst/tmpl/gstatomic.sgml:
30632 * docs/gst/tmpl/gstplugin.sgml:
30633 * gst/base/gstbasesink.c: (gst_basesink_activate):
30634 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30635 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30636 (gst_basesrc_query), (gst_basesrc_set_property),
30637 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30638 (gst_basesrc_activate):
30639 * gst/base/gstbasesrc.h:
30640 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30641 (gst_base_transform_src_activate):
30642 * gst/elements/gstelements.c:
30643 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30644 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30645 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30646 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30647 (gst_type_find_element_checkgetrange),
30648 (gst_type_find_element_activate):
30649 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30650 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30651 (gst_caps_load_thyself):
30652 * gst/gstelement.c: (gst_element_pads_activate),
30653 (gst_element_save_thyself), (gst_element_restore_thyself):
30654 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30655 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30657 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30658 (gst_xml_parse_file), (gst_xml_parse_memory),
30659 (gst_xml_get_element), (gst_xml_make_element):
30660 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30661 (_file_index_id_save_xml), (gst_file_index_commit):
30662 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30663 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30665 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30666 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30667 * tools/gst-complete.c: (main):
30668 * tools/gst-compprep.c: (main):
30669 * tools/gst-inspect.c: (print_element_properties_info):
30670 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30671 * tools/gst-xmlinspect.c: (print_element_properties):
30674 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30676 * gst/gstplugin.c: (gst_plugin_check_module),
30677 (gst_plugin_check_file), (gst_plugin_load_file):
30678 apply patch from #172526 to make register work on MacOSX
30680 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30682 * docs/gst/tmpl/gstconfig.sgml:
30683 * gst/gstconfig.h.in:
30684 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30685 * testsuite/debug/printf_extension.c: (main):
30686 Do not use GST_PTR_FORMAT on pointers to types with
30687 sizeof < sizeof(gpointer). Fixes test on 64-bit
30688 * testsuite/elements/property.h:
30689 use correct printf format
30691 2005-05-02 Wim Taymans <wim@fluendo.com>
30693 * docs/design/draft-push-pull.txt:
30694 * docs/design/draft-query.txt:
30695 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30696 (gst_basesrc_start):
30697 Added draft for new query API.
30698 Added draft for better selecting scheduling methods.
30699 Make basesrc ignore length if the subclass does not support
30702 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30705 possible fixes for automake-1.5 - _LIBADD is reserved
30707 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30709 * docs/faq/Makefile.am:
30710 * docs/manual/Makefile.am:
30711 * docs/manuals.mak:
30712 * docs/pwg/Makefile.am:
30714 possible fixes for automake-1.5
30716 2005-04-28 Wim Taymans <wim@fluendo.com>
30718 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30719 (gst_basesink_pad_getcaps), (gst_basesink_init),
30720 (gst_basesink_do_sync):
30721 * gst/gstclock.c: (gst_clock_entry_new):
30722 * gst/gstevent.c: (gst_event_discont_get_value):
30723 * gst/gstpipeline.c: (pipeline_bus_handler),
30724 (gst_pipeline_change_state):
30725 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30726 Better debugging of clocking info.
30727 Allow NULL values when getting discont values.
30729 2005-04-27 Wim Taymans <wim@fluendo.com>
30731 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30732 * check/gst/gstpad.c: (gst_pad_suite):
30733 Increase timeout for checks.
30735 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30737 * check/Makefile.am:
30738 fix the broken rule for cleanup. Apparently this rule is
30739 only needed on FC2, so maybe this warrants further autotool
30742 2005-04-26 Wim Taymans <wim@fluendo.com>
30744 * gst/gsttrashstack.h:
30745 Ooohh. a nasty one! After having a failed pop() from the stack,
30746 it's possible that the stack is empty. In that case, don't
30747 follow the NULL pointer.
30749 2005-04-25 Wim Taymans <wim@fluendo.com>
30751 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30752 (gst_pad_set_checkgetrange_function),
30753 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30754 (gst_pad_check_pull_range), (gst_pad_pull_range),
30755 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30756 (gst_pad_pause_task), (gst_pad_stop_task):
30757 * gst/gstplugin.c: (gst_plugin_load):
30759 Remove gst_library_load as it does more harm than good with
30760 the new g_module flags.
30761 Revert bogus caps template check in pad linking, pad caps
30762 are important when linking not the template, which is more
30763 general than the current caps.
30765 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30767 * gst/autoplug/.cvsignore:
30768 * gst/autoplug/Makefile.am:
30769 * gst/autoplug/gstsearchfuncs.c:
30770 * gst/autoplug/gstsearchfuncs.h:
30771 * gst/autoplug/gstspider.c:
30772 * gst/autoplug/gstspider.h:
30773 * gst/autoplug/gstspideridentity.c:
30774 * gst/autoplug/gstspideridentity.h:
30775 * gst/autoplug/spidertest.c:
30778 2005-04-25 Wim Taymans <wim@fluendo.com>
30780 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30781 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30782 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30783 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30785 Added stubs for unimplemented functions.
30787 2005-04-24 David Schleef <ds@schleef.org>
30789 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30792 2005-04-24 David Schleef <ds@schleef.org>
30794 Convert everything from GstAtomicInt to g_atomic_int_*, and
30799 * gst/gstatomic_impl.h:
30807 * gst/gstdata_private.h:
30811 * gst/gstmessage.c:
30814 * gst/gststructure.c:
30815 * gst/gststructure.h:
30816 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30819 2005-04-24 David Schleef <ds@schleef.org>
30821 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30822 make the regressions tests work. Remove some code that is no
30824 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30825 Disable warning for pads without templates.
30827 2005-04-24 David Schleef <ds@schleef.org>
30829 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30830 functions that handle filtered links.
30831 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30833 * gst/gstutils.c: Fix/remove utility functions that handle
30836 * gst/gstvalue.c: Add serialization/deserialization of caps
30837 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30838 requires fixing so that the filter caps notation creates
30839 a capsfilter element and sets the filter_caps property. I
30840 think everyone probably wants to keep the shorthand notation.
30841 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30842 * docs/gst/tmpl/gstpad.sgml:
30844 * gst/elements/gstelements.c: Register capsfilter element.
30845 * gst/Makefile.am: fix spacing
30846 * docs/random/ds/0.9-suggested-changes: random
30848 2005-04-23 David Schleef <ds@schleef.org>
30850 * gst/elements/Makefile.am:
30851 * gst/elements/gstcapsfilter.c: New element that acts like an
30852 identity, but filters caps. Will eventually replace filtered
30853 caps in pad linking.
30854 * gst/gstutils.c: (gst_element_create_all_pads): New function
30855 to create all the ALWAYS pads that are registered with an
30856 element class. This functionality should eventually be
30857 merged in with GstElement initialization.
30859 * testsuite/trigger/README: part of trigger test code that should
30860 have been checked in a long time ago.
30862 2005-04-23 David Schleef <ds@schleef.org>
30864 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30865 needed with new versions of libtool (nobody will confirm this),
30866 and hard to carry around.
30867 * gst/autoplug/Makefile.am:
30868 * gst/base/Makefile.am:
30869 * gst/elements/Makefile.am:
30870 * gst/indexers/Makefile.am:
30871 * gst/schedulers/Makefile.am:
30872 * libs/gst/bytestream/Makefile.am:
30873 * libs/gst/control/Makefile.am:
30874 * libs/gst/dataprotocol/Makefile.am:
30875 * libs/gst/getbits/Makefile.am:
30877 2005-04-21 Wim Taymans <wim@fluendo.com>
30879 * docs/design/draft-push-pull.txt:
30880 * docs/design/part-MT-refcounting.txt:
30881 * docs/design/part-TODO.txt:
30882 * docs/design/part-caps.txt:
30883 * docs/design/part-events.txt:
30884 * docs/design/part-gstbus.txt:
30885 * docs/design/part-gstpipeline.txt:
30886 * docs/design/part-messages.txt:
30887 * docs/design/part-push-pull.txt:
30888 * docs/design/part-query.txt:
30891 2005-04-21 Wim Taymans <wim@fluendo.com>
30893 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30894 (gst_message_new), (gst_message_new_error),
30895 (gst_message_new_warning), (gst_message_new_tag),
30896 (gst_message_new_state_changed), (gst_message_new_application),
30897 (gst_message_get_structure):
30898 * gst/gstmessage.h:
30899 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30900 (gst_structure_copy_conditional):
30901 Use parent refcount in GstMessage to ensure GstStructure
30903 Cleaned up headers a bit.
30906 2005-04-20 Wim Taymans <wim@fluendo.com>
30908 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30909 (gst_basesink_pad_getcaps), (gst_basesink_init),
30910 (gst_basesink_chain_unlocked):
30911 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30912 (gst_type_find_helper):
30913 * gst/elements/gsttypefindelement.c:
30914 (gst_type_find_element_have_type), (gst_type_find_element_init),
30915 (stop_typefinding), (gst_type_find_element_handle_event),
30916 (find_suggest), (gst_type_find_element_chain),
30917 (gst_type_find_element_checkgetrange),
30918 (gst_type_find_element_getrange), (do_typefind),
30919 (gst_type_find_element_activate):
30920 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30921 (gst_buffer_default_free), (gst_buffer_default_copy),
30922 (gst_buffer_set_caps):
30923 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30924 (gst_caps_replace):
30925 * gst/gstmessage.c: (gst_message_new),
30926 (gst_message_new_state_changed):
30927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30928 (gst_pad_set_checkgetrange_function),
30929 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30930 (gst_pad_set_caps), (gst_pad_check_pull_range),
30931 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30933 * gst/gsttypefind.c: (gst_type_find_register):
30934 Make gst_caps_replace() work like other _replace() functions.
30935 Use _caps_replace() where possible.
30936 Make sure _message_new() initialises its field.
30937 Add gst_static_pad_template_get_caps()
30940 2005-04-18 Andy Wingo <wingo@pobox.com>
30942 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30943 on the peer, not the pad. I think that was a typo. Pass an extra
30944 arg to see if random access is possible. Activate the pads as
30945 PULL_RANGE if possible.
30947 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30949 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30950 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30953 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30955 * docs/faq/using.xml:
30956 Add note on gstreamer-properties (#154996).
30958 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30960 * docs/random/bbb/optional-properties:
30961 Some analysis on optional properties.
30963 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30965 * docs/gst/tmpl/gstelementfactory.sgml:
30966 * gst/gstelement.h:
30967 * gst/gstelementfactory.c: (gst_element_factory_init),
30968 (gst_element_factory_cleanup), (gst_element_register),
30969 (__gst_element_factory_add_static_pad_template),
30970 (gst_element_factory_get_static_pad_templates),
30971 (gst_element_factory_can_src_caps),
30972 (gst_element_factory_can_sink_caps):
30973 * gst/registries/Makefile.am:
30974 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30975 (gst_xml_registry_class_init), (gst_xml_registry_init),
30976 (gst_xml_registry_new), (gst_xml_registry_set_property),
30977 (gst_xml_registry_get_property), (get_time), (make_dir),
30978 (gst_xml_registry_get_perms_func),
30979 (plugin_times_older_than_recurse), (plugin_times_older_than),
30980 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30981 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30982 (add_to_char_array), (read_string), (read_uint), (read_enum),
30983 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30984 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30985 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30986 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30987 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30988 (gst_xml_registry_rebuild):
30989 * gst/registries/gstlibxmlregistry.h:
30990 * tools/gst-compprep.c: (main):
30991 * tools/gst-inspect.c: (print_pad_templates_info):
30992 * tools/gst-xmlinspect.c: (print_element_info):
30993 Use libxml2 for registry parsing, use staticpadtemplates in
30994 elementfactories. Makes gst_init() +/- 10x faster.
30996 2005-04-12 Wim Taymans <wim@fluendo.com>
30998 * gst/base/Makefile.am:
30999 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31000 (gst_basesink_pad_getcaps), (gst_basesink_init),
31001 (gst_basesink_event), (gst_basesink_change_state):
31002 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31003 (gst_basesrc_init), (gst_basesrc_query),
31004 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31005 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31006 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31007 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31008 (gst_basesrc_stop), (gst_basesrc_activate),
31009 (gst_basesrc_change_state):
31010 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31011 (helper_find_suggest), (gst_type_find_helper):
31012 * gst/base/gsttypefindhelper.h:
31013 * gst/elements/Makefile.am:
31014 * gst/elements/gstelements.c:
31015 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31016 (gst_fakesink_get_times), (gst_fakesink_event),
31017 (gst_fakesink_preroll), (gst_fakesink_render):
31018 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31019 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31020 (gst_fakesrc_get_property), (gst_fakesrc_create),
31021 (gst_fakesrc_start), (gst_fakesrc_stop):
31022 * gst/elements/gstfakesrc.h:
31023 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31024 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31025 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31026 (gst_filesrc_create_read), (gst_filesrc_create),
31027 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31028 (gst_filesrc_start):
31029 * gst/elements/gsttypefindelement.c:
31030 (gst_type_find_element_have_type), (gst_type_find_element_init),
31031 (start_typefinding), (stop_typefinding), (push_buffer_store),
31032 (gst_type_find_element_handle_event),
31033 (gst_type_find_element_chain),
31034 (gst_type_find_element_checkgetrange),
31035 (gst_type_find_element_getrange), (do_typefind),
31036 (gst_type_find_element_activate),
31037 (gst_type_find_element_change_state):
31038 * gst/elements/gsttypefindelement.h:
31039 * gst/gstpipeline.c: (pipeline_bus_handler):
31040 Added typefind helper.
31041 Small preroll fix in the base sink.
31042 Disable typefind code in basesrc.
31043 Crude port of typefindelement.
31047 2005-04-11 Wim Taymans <wim@fluendo.com>
31049 * check/gst/gstbus.c: (gstbus_suite):
31050 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31051 * check/gstcheck.h:
31052 Fix up the timeout so that the test does not fail.
31054 2005-04-06 Wim Taymans <wim@fluendo.com>
31057 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31058 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31059 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31060 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31061 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31062 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31063 (gst_basesrc_stop), (gst_basesrc_activate),
31064 (gst_basesrc_change_state), (basesrc_find_peek),
31065 (basesrc_find_suggest), (gst_basesrc_type_find):
31066 * gst/base/gstbasesrc.h:
31067 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31068 (gst_filesrc_class_init), (gst_filesrc_init),
31069 (gst_filesrc_finalize), (gst_filesrc_set_location),
31070 (gst_filesrc_set_property), (gst_filesrc_get_property),
31071 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31072 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31073 (gst_filesrc_create_read), (gst_filesrc_create),
31074 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31075 * gst/elements/gstfilesrc.h:
31076 * gst/gstelement.c: (gst_element_get_state_func),
31077 (gst_element_lost_state), (gst_element_pads_activate):
31078 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31079 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31080 (gst_pad_pull_range):
31082 More work on the generic source base class, implement seeking,
31084 Make filesrc extend the base source class.
31085 Added gst_pad_set_checkgetrange_function to GstPad.
31087 2005-04-06 Andy Wingo <wingo@pobox.com>
31089 * pkgconfig/gstreamer-base.pc.in:
31090 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31092 * pkgconfig/Makefile.am:
31093 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31095 2005-04-04 Wim Taymans <wim@fluendo.com>
31097 * gst/base/Makefile.am:
31099 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31100 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31101 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31102 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31103 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31104 (gst_basesrc_base_init), (gst_basesrc_class_init),
31105 (gst_basesrc_init), (gst_basesrc_get_formats),
31106 (gst_basesrc_get_query_types), (gst_basesrc_query),
31107 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31108 (gst_basesrc_set_property), (gst_basesrc_get_property),
31109 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31110 (gst_basesrc_loop), (gst_basesrc_activate),
31111 (gst_basesrc_change_state):
31112 * gst/base/gstbasesrc.h:
31113 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31114 (gst_fakesrc_class_init), (gst_fakesrc_init),
31115 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31116 (gst_fakesrc_get_property), (gst_fakesrc_create):
31117 * gst/elements/gstfakesrc.h:
31118 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31119 (gst_filesrc_open_file), (gst_filesrc_loop),
31120 (gst_filesrc_activate), (filesrc_find_peek),
31121 (gst_filesrc_type_find):
31122 Made base source class, make fakesrc extend it.
31123 Add comments to basesink class.
31124 Some filesrc cleanup.
31126 2005-03-31 David Schleef <ds@schleef.org>
31128 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31129 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31130 expected to link against libgstreamer.
31131 * gst/base/Makefile.am: link against libgstreamer
31132 * gst/elements/Makefile.am: same
31134 2005-03-31 Andy Wingo <wingo@pobox.com>
31136 * tests/instantiate/Makefile.am:
31137 * tests/instantiate/caps.c: Add test to test speed of caps copy
31140 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31141 GMemChunk to be fair.
31143 * gst/gsttrashstack.h: Remove warning about using the fallback
31144 trash stack implementation, it's still faster than malloc.
31146 2005-03-30 Andy Wingo <wingo@pobox.com>
31148 * tests/complexity.c: Add a copyright.
31150 2005-03-31 Wim Taymans <wim@fluendo.com>
31152 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31153 (gst_base_transform_class_init), (gst_base_transform_init),
31154 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31155 (gst_base_transform_get_property),
31156 (gst_base_transform_sink_activate),
31157 (gst_base_transform_src_activate),
31158 (gst_base_transform_change_state):
31159 * gst/base/gstbasetransform.h:
31160 * gst/elements/gstidentity.c: (gst_identity_class_init),
31161 (gst_identity_event), (gst_identity_check_perfect),
31162 (gst_identity_transform), (gst_identity_start),
31163 (gst_identity_stop):
31164 Added start/stop methods to transform base class so subclasses
31165 don't need to deal with state changes even.
31167 2005-03-31 Wim Taymans <wim@fluendo.com>
31169 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31170 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31172 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31173 (gst_pad_pull_range):
31174 Added rate to the discont event to prepare for variable speed
31175 and reverse playback.
31177 2005-03-29 David Schleef <ds@schleef.org>
31180 * testsuite/trigger/Makefile.am:
31181 * testsuite/trigger/trigger.c: A little example program to show
31182 how trigger-based elements can work.
31184 2005-03-29 Wim Taymans <wim@fluendo.com>
31186 * gst/base/Makefile.am:
31188 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31189 (gst_basesink_base_init), (gst_basesink_class_init),
31190 (gst_basesink_pad_getcaps), (gst_basesink_init),
31191 (gst_basesink_activate), (gst_basesink_change_state):
31192 * gst/base/gstbasesink.h:
31193 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31194 (gst_base_transform_base_init), (gst_base_transform_finalize),
31195 (gst_base_transform_class_init), (gst_base_transform_init),
31196 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31197 (gst_base_transform_event), (gst_base_transform_getrange),
31198 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31199 (gst_base_transform_set_property),
31200 (gst_base_transform_get_property),
31201 (gst_base_transform_sink_activate),
31202 (gst_base_transform_src_activate),
31203 (gst_base_transform_change_state):
31204 * gst/base/gstbasetransform.h:
31205 * gst/elements/gstidentity.c: (gst_identity_finalize),
31206 (gst_identity_class_init), (gst_identity_init),
31207 (gst_identity_event), (gst_identity_check_perfect),
31208 (gst_identity_transform), (gst_identity_set_property),
31209 (gst_identity_get_property), (gst_identity_change_state):
31210 * gst/elements/gstidentity.h:
31211 * gst/gstelement.c: (gst_element_get_state_func),
31212 (gst_element_lost_state), (gst_element_pads_activate):
31213 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31214 (gst_pad_check_pull_range), (gst_pad_pull_range):
31216 Simplify pad activation.
31217 Added function to check if pull_range can be performed.
31218 Error out when pulling inactive or flushing pads.
31219 Removed const from refcounted types as it does not make sense.
31220 Simplify pad templates in basesink
31221 Added base class for simple 1-to-1 transforms.
31222 Make identity subclass the base transform.
31224 2005-03-29 Andy Wingo <wingo@pobox.com>
31226 * docs/libs/gstreamer-libs-overrides.txt:
31227 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31228 really don't understand what's going on, but like whatever. I want
31231 * docs/gst/Makefile.am:
31232 * docs/libs/Makefile.am: Dist the overrides files.
31234 * check/Makefile.am (clean-local): Remove .libs directories.
31236 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31237 elements to EXTRA_DIST, so po/ files are happy.
31239 * po/POTFILES.in: Er, remove it here.
31241 * po/POTFILES: Remove gstspider.c.
31243 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31245 * docs/libs/gstreamer-libs-docs.sgml:
31246 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31249 * tests/complexity.c (main): Set the length of the preroll queue
31250 on the sinks to prevent a lockup.
31252 * libs/gst/dataprotocol/Makefile.am:
31253 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31254 the same as the one in check/gst-libs/gdp.c.
31256 * po/, docs/gst/: Commit automatic changes to docs and po files.
31258 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31259 the versioned libgstbase.
31261 * check/Makefile.am: Depend on an unversioned gst-register, seems
31262 to make autoconf happier.
31264 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31266 2005-03-28 Wim Taymans <wim@fluendo.com>
31269 * docs/design/part-gstelement.txt:
31270 * docs/design/part-negotiation.txt:
31271 * docs/design/part-preroll.txt:
31272 * docs/design/part-scheduling.txt:
31273 * docs/design/part-states.txt:
31275 * gst/base/Makefile.am:
31277 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31278 (gst_basesink_base_init), (gst_basesink_class_init),
31279 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31280 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31281 (gst_basesink_set_pad_functions),
31282 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31283 (gst_basesink_set_property), (gst_basesink_get_property),
31284 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31285 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31286 (gst_basesink_preroll_queue_push),
31287 (gst_basesink_preroll_queue_empty),
31288 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31289 (gst_basesink_event), (gst_basesink_get_times),
31290 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31291 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31292 (gst_basesink_loop), (gst_basesink_activate),
31293 (gst_basesink_change_state):
31294 * gst/base/gstbasesink.h:
31295 * gst/elements/Makefile.am:
31296 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31297 (gst_fakesink_class_init), (gst_fakesink_init),
31298 (gst_fakesink_set_property), (gst_fakesink_get_property),
31299 (gst_fakesink_get_times), (gst_fakesink_event),
31300 (gst_fakesink_preroll), (gst_fakesink_render),
31301 (gst_fakesink_change_state):
31302 * gst/elements/gstfakesink.h:
31303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31304 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31305 * gst/gstelement.c: (gst_element_add_pad),
31306 (gst_element_get_state_func), (gst_element_abort_state),
31307 (gst_element_commit_state), (gst_element_lost_state),
31308 (gst_element_set_state), (gst_element_pads_activate):
31309 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31310 * gst/gstpipeline.c: (gst_pipeline_send_event),
31311 (gst_pipeline_change_state):
31312 Added state change code.
31313 Added/updated docs.
31314 Added sink base class, make fakesink extend the base class.
31315 Small cleanups in GstPipeline.
31317 2005-03-26 David Schleef <ds@schleef.org>
31319 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31320 is broken and should be implemented in a different library.
31321 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31322 * gst/gst.h: remove gstcpu.h
31323 * gst/gstcpu.c: remove
31324 * gst/gstcpu.h: remove
31325 * gst/Makefile.am.future: Remove this file. It's ancient.
31327 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31329 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31330 (gst_bin_send_event):
31331 Add default event/set_manager handlers. The set_manager handler
31332 takes care that the manager is distributed over kids that were
31333 already in the bin before the manager was set. The event handler
31334 is a utility virtual function that sends the event over all sinks,
31335 so that gst_element_send_event (bin, event); has the expected
31337 * gst/gstpad.c: (gst_pad_event_default):
31338 Re-install default event handling for discontinuities, so that
31339 seeking works without requiring hacks in applications or extra
31341 * gst/gstpipeline.c: (gst_pipeline_class_init),
31342 (gst_pipeline_send_event):
31343 Half hack, half utility: set a pipeline to PAUSED for seek events,
31344 since that is the only way we can guarantee a/v sync. Means that
31345 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31346 and it "just works".
31348 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31350 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31351 Lock/unlock mismatch.
31353 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31355 * docs/faq/gst-uninstalled:
31356 add gst-plugins-base
31357 * docs/gst/Makefile.am:
31358 don't error out until docs are fixed
31359 * docs/gst/gstreamer.types:
31362 2005-03-22 Wim Taymans <wim@fluendo.com>
31364 * check/Makefile.am:
31365 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31366 * gst/gststructure.c: (gst_structure_set_valist),
31367 (gst_structure_copy_conditional):
31368 Activated more tests.
31369 Added message test.
31370 Added G_TYPE_POINTER to GstStructure.
31373 2005-03-22 Wim Taymans <wim@fluendo.com>
31375 * docs/design/part-TODO.txt:
31376 * docs/design/part-events.txt:
31377 * docs/design/part-gstbin.txt:
31378 * docs/design/part-gstbus.txt:
31379 * docs/design/part-gstpipeline.txt:
31380 * docs/design/part-messages.txt:
31382 * gst/gstmessage.c:
31385 2005-03-21 Wim Taymans <wim@fluendo.com>
31387 * gst/gstbus.c: (gst_bus_post):
31388 Fix copy-and-paste error.
31390 2005-03-21 Wim Taymans <wim@fluendo.com>
31392 * check/Makefile.am:
31394 * gst/elements/Makefile.am:
31395 * gst/elements/gstelements.c:
31396 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31397 (gst_fakesink_event), (gst_fakesink_chain):
31398 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31399 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31400 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31401 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31402 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31403 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31404 (gst_fakesrc_loop), (gst_fakesrc_activate),
31405 (gst_fakesrc_change_state):
31406 * gst/elements/gstfakesrc.h:
31407 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31408 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31409 (gst_filesrc_open_file), (gst_filesrc_loop),
31410 (gst_filesrc_activate), (gst_filesrc_change_state),
31411 (filesrc_find_peek), (filesrc_find_suggest),
31412 (gst_filesrc_type_find):
31413 * gst/elements/gstidentity.c: (gst_identity_finalize),
31414 (gst_identity_class_init), (gst_identity_init),
31415 (gst_identity_proxy_getcaps), (identity_queue_push),
31416 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31417 (gst_identity_getrange), (gst_identity_chain),
31418 (gst_identity_sink_loop), (gst_identity_src_loop),
31419 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31420 (gst_identity_set_property), (gst_identity_get_property),
31421 (gst_identity_change_state):
31422 * gst/elements/gstidentity.h:
31423 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31424 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31425 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31426 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31427 (gst_tee_sink_activate):
31428 * gst/elements/gsttee.h:
31429 * gst/gst.c: (gst_register_core_elements), (init_post):
31431 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31432 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31433 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31434 (gst_bin_change_state):
31436 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31437 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31438 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31439 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31440 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31441 (bus_watch_callback), (bus_watch_destroy),
31442 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31443 (poll_timeout), (gst_bus_poll):
31447 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31448 (gst_element_post_message), (gst_element_message_full),
31449 (gst_element_get_state_func), (gst_element_get_state),
31450 (gst_element_abort_state), (gst_element_commit_state),
31451 (gst_element_lost_state), (gst_element_set_state),
31452 (gst_element_pads_activate), (gst_element_change_state),
31453 (gst_element_dispose), (gst_element_set_manager_func),
31454 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31455 (gst_element_set_manager), (gst_element_get_manager),
31456 (gst_element_set_bus), (gst_element_get_bus),
31457 (gst_element_set_scheduler), (gst_element_get_scheduler):
31458 * gst/gstelement.h:
31459 * gst/gstevent.c: (gst_event_new_segment_seek),
31460 (gst_event_new_flush):
31462 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31463 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31464 (gst_message_new_eos), (gst_message_new_error),
31465 (gst_message_new_warning), (gst_message_new_tag),
31466 (gst_message_new_state_changed), (gst_message_new_application),
31467 (gst_message_get_structure), (gst_message_parse_tag),
31468 (gst_message_parse_state_changed), (gst_message_parse_error),
31469 (gst_message_parse_warning):
31470 * gst/gstmessage.h:
31471 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31472 (gst_real_pad_set_property), (gst_pad_set_active),
31473 (gst_pad_is_active), (gst_pad_set_blocked_async),
31474 (gst_pad_set_blocked), (gst_pad_is_blocked),
31475 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31476 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31477 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31478 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31479 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31480 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31481 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31482 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31483 (gst_pad_set_caps), (gst_pad_configure_sink),
31484 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31485 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31486 (gst_real_pad_dispose), (gst_real_pad_finalize),
31487 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31488 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31489 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31491 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31492 (pipeline_bus_handler), (gst_pipeline_change_state),
31493 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31494 * gst/gstpipeline.h:
31496 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31497 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31498 (gst_queue_link_src), (gst_queue_bufferalloc),
31499 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31500 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31501 (gst_queue_loop), (gst_queue_handle_src_event),
31502 (gst_queue_handle_src_query), (gst_queue_src_activate),
31503 (gst_queue_change_state):
31505 * gst/gstscheduler.c: (gst_scheduler_init),
31506 (gst_scheduler_dispose), (gst_scheduler_create_task),
31507 (gst_scheduler_factory_create):
31508 * gst/gstscheduler.h:
31509 * gst/gststructure.c: (gst_structure_get_type),
31510 (gst_structure_copy_conditional):
31511 * gst/gststructure.h:
31512 * gst/gsttaginterface.h:
31513 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31514 (gst_task_init), (gst_task_dispose), (gst_task_create),
31515 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31521 * gst/schedulers/Makefile.am:
31522 * gst/schedulers/cothreads_compat.h:
31523 * gst/schedulers/entryscheduler.c:
31524 * gst/schedulers/faircothreads.c:
31525 * gst/schedulers/faircothreads.h:
31526 * gst/schedulers/fairscheduler.c:
31527 * gst/schedulers/gstbasicscheduler.c:
31528 * gst/schedulers/gstoptimalscheduler.c:
31529 * gst/schedulers/gthread-cothreads.h:
31530 * gst/schedulers/threadscheduler.c:
31531 (gst_thread_scheduler_task_get_type),
31532 (gst_thread_scheduler_task_class_init),
31533 (gst_thread_scheduler_task_init),
31534 (gst_thread_scheduler_task_start),
31535 (gst_thread_scheduler_task_stop),
31536 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31537 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31538 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31539 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31541 * libs/gst/Makefile.am:
31542 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31543 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31544 (gst_file_pad_parent_set):
31545 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31546 (gst_dp_event_from_packet):
31547 * tests/complexity.c: (main):
31548 * tests/mass_elements.c: (main):
31549 * testsuite/states/locked.c: (message_received), (main):
31550 * testsuite/states/parent.c: (main):
31551 * tools/gst-inspect.c: (print_element_flag_info),
31552 (print_implementation_info), (print_pad_info):
31553 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31555 * tools/gst-md5sum.c: (event_loop), (main):
31556 * tools/gst-typefind.c: (main):
31557 * tools/gst-xmlinspect.c: (print_element_info):
31559 Added GstBus for mainloop integration.
31560 Added GstMessage for sending notifications on the bus.
31561 Added GstTask as an abstraction for pipeline entry points.
31563 Removed Schedulers.
31564 Simplified GstQueue for multithreaded core.
31565 Made _link threadsafe, removed old capsnego.
31566 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31567 Added pad blocking functions.
31568 Reworked scheduling functions in GstPad to prepare for
31569 scheduling updates soon.
31570 Moved events out of data stream.
31571 Simplified GstEvent types.
31572 Added return values to push/pull.
31573 Removed clocking from GstElement.
31574 Added prototypes for state change function for next merge.
31575 Removed iterate from bins and state change management.
31576 Fixed some elements, disabled others for now.
31577 Fixed -inspect and -launch.
31578 Added check for GstBus.
31580 2005-03-10 Wim Taymans <wim@fluendo.com>
31582 * docs/design/part-MT-refcounting.txt:
31583 * docs/design/part-clocks.txt:
31584 * docs/design/part-gstelement.txt:
31585 * docs/design/part-gstobject.txt:
31586 * docs/design/part-standards.txt:
31587 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31588 (gst_bin_remove_func), (gst_bin_remove):
31592 * testsuite/clock/clock1.c: (main):
31593 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31595 * testsuite/dlopen/loadgst.c: (do_test):
31596 * testsuite/refcounting/bin.c: (add_remove_test1),
31597 (add_remove_test2), (main):
31598 * testsuite/refcounting/element.c: (main):
31599 * testsuite/refcounting/element_pad.c: (main):
31600 * testsuite/refcounting/pad.c: (main):
31601 * tools/gst-launch.c: (sigint_handler_sighandler):
31602 * tools/gst-typefind.c: (main):
31604 Added doc about clock.
31605 removed gst_bin_iterate_recurse_up(), marked methods
31607 Fix more testsuites.
31609 2005-03-09 Wim Taymans <wim@fluendo.com>
31611 * gst/gstpad.c: (gst_pad_get_direction),
31612 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31613 (gst_pad_collect_valist):
31614 * testsuite/bins/interface.c: (main):
31615 * testsuite/caps/audioscale.c: (test_caps):
31616 * testsuite/caps/caps.c: (test1), (test2), (test3):
31617 * testsuite/caps/deserialize.c: (main):
31618 * testsuite/caps/enumcaps.c: (main):
31619 * testsuite/caps/filtercaps.c: (main):
31620 * testsuite/caps/intersect2.c: (main):
31621 * testsuite/caps/random.c: (main):
31622 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31623 * testsuite/caps/sets.c: (check_caps):
31624 * testsuite/caps/simplify.c: (check_caps), (main):
31625 * testsuite/caps/subtract.c: (check_caps):
31626 Fix _pad_get_direction wrt ghostpads.
31627 Fix caps testsuite.
31629 2005-03-09 Wim Taymans <wim@fluendo.com>
31631 * check/Makefile.am:
31632 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31633 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31634 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31635 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31636 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31637 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31638 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31639 (bin_element_is_sink), (gst_bin_iterate_sinks),
31640 (gst_bin_iterate_all_by_interface):
31642 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31643 (gst_element_change_state), (gst_element_dispose),
31644 (gst_element_finalize), (gst_element_set_loop_function):
31645 * gst/gstelement.h:
31646 * gst/gstiterator.c: (find_custom_fold_func):
31647 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31648 (gst_pad_collectv), (gst_pad_collect_valist),
31649 (gst_pad_template_new):
31650 * gst/gstpipeline.c: (gst_pipeline_class_init),
31651 (gst_pipeline_dispose), (gst_pipeline_set_property),
31652 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31653 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31654 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31656 * gst/schedulers/entryscheduler.c:
31657 * gst/schedulers/gstbasicscheduler.c:
31658 (gst_basic_scheduler_cothreaded_chain),
31659 (gst_basic_scheduler_chain_add_element):
31660 * testsuite/bins/interface.c: (main):
31662 Added GstSystemClock test.
31663 Implemented clock distribution code in GstBin.
31664 Implemented iterate sinks method for future use.
31665 Rearranged gstelement.h
31666 Fix GstIterator comparison bug.
31667 Moved some code to GstPipeline, mostly clocking related.
31669 2005-03-09 Wim Taymans <wim@fluendo.com>
31672 * gst/gst_private.h:
31673 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31674 (gst_bin_remove_func), (gst_bin_remove),
31675 (gst_bin_get_by_name_recurse_up):
31676 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31677 (gst_clock_id_compare_func), (gst_clock_id_wait),
31678 (gst_clock_id_wait_async), (gst_clock_init),
31679 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31680 * gst/gstelement.h:
31681 * gst/gstinfo.c: (_gst_debug_init):
31683 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31684 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31686 Bump version number, we're now 0.9.0
31687 Add future debugging category.
31688 Fix NULL _unref() in _get_by_name_recurse_up
31689 Rearrange gstpad.h.
31692 2005-03-08 Wim Taymans <wim@fluendo.com>
31694 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31695 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31696 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31697 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31698 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31699 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31700 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31701 * gst/elements/gstidentity.c: (gst_identity_class_init):
31702 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31703 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31704 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31705 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31706 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31708 * gst/gstelement.c: (gst_element_class_init),
31709 (gst_element_base_class_init), (gst_element_init),
31710 (gst_element_get_random_pad), (gst_element_wait_state_change),
31711 (gst_element_change_state), (gst_element_dispose),
31712 (gst_element_finalize), (gst_element_set_loop_function):
31713 * gst/gstelement.h:
31714 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31715 * gst/gstthread.c: (gst_thread_class_init),
31716 (gst_thread_release_children_locks), (gst_thread_change_state):
31717 * gst/schedulers/gstbasicscheduler.c:
31718 (gst_basic_scheduler_loopfunc_wrapper),
31719 (gst_basic_scheduler_chain_wrapper),
31720 (gst_basic_scheduler_src_wrapper),
31721 (gst_basic_scheduler_remove_element):
31722 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31723 Remove threadsafe properties. Fix elements because GObject
31724 complains when installing a property before declaring a
31725 set/get_property handler.
31726 Rearrange gstelement.h file, use STATE macros for state locks.
31727 Free mutexes in the finalize method instead of dispose.
31729 2005-03-08 Wim Taymans <wim@fluendo.com>
31731 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31732 * gst/gstthread.c: (gst_thread_release_children_locks):
31733 Added parentage check.
31734 Fix build og GstThread again.
31736 2005-03-08 Wim Taymans <wim@fluendo.com>
31738 * docs/design/part-MT-refcounting.txt:
31739 * docs/design/part-conventions.txt:
31740 * docs/design/part-gstobject.txt:
31741 * docs/design/part-relations.txt:
31742 * docs/design/part-standards.txt:
31743 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31744 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31745 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31746 (gst_bin_iterate_all_by_interface):
31749 * gst/gstelement.c: (gst_element_class_init),
31750 (gst_element_change_state), (gst_element_set_loop_function):
31751 * gst/gstelement.h:
31752 * gst/gstiterator.c:
31753 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31754 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31755 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31756 (gst_object_set_parent), (gst_object_unparent),
31757 (gst_object_check_uniqueness):
31759 Docs updates, clean up some headers.
31761 2005-03-07 Wim Taymans <wim@fluendo.com>
31763 * check/.cvsignore:
31764 * check/Makefile.am:
31765 * check/gst-libs/.cvsignore:
31766 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31767 * check/gst/.cvsignore:
31768 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31769 (START_TEST), (gstbus_suite), (main):
31770 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31771 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31772 (gst_data_suite), (main):
31773 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31774 (add_fold_func), (gstiterator_suite), (main):
31775 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31776 (thread_name_object), (thread_name_object_default),
31777 (gst_object_name_compare), (gst_object_suite), (main):
31778 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31779 (gst_pad_suite), (main):
31780 * check/gstcheck.c: (gst_check_log_message_func),
31781 (gst_check_log_critical_func), (gst_check_init):
31782 * check/gstcheck.h:
31783 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31784 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31787 2005-03-07 Wim Taymans <wim@fluendo.com>
31789 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31790 (gst_list_iterator_next), (gst_list_iterator_resync),
31791 (gst_list_iterator_free), (gst_iterator_new_list),
31792 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31793 (gst_iterator_free), (gst_iterator_push), (filter_next),
31794 (filter_resync), (filter_uninit), (filter_free),
31795 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31796 (gst_iterator_foreach), (find_custom_fold_func),
31797 (gst_iterator_find_custom):
31798 * gst/gstiterator.h:
31799 Added missing files.
31801 2005-03-07 Wim Taymans <wim@fluendo.com>
31805 * docs/design/part-MT-refcounting.txt:
31806 * docs/design/part-conventions.txt:
31807 * docs/design/part-gstobject.txt:
31808 * docs/design/part-relations.txt:
31809 * examples/mixer/mixer.c: (main):
31810 * examples/thread/thread.c: (eos), (main):
31812 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31813 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31814 (gst_spider_plug_from_srcpad):
31815 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31816 (gst_spider_identity_change_state),
31817 (gst_spider_identity_sink_loop_type_finding):
31818 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31819 * gst/elements/gstidentity.c: (gst_identity_init):
31820 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31821 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31822 * gst/elements/gsttypefindelement.c: (free_entry):
31825 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31826 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31827 (gst_bin_set_index), (gst_bin_set_element_sched),
31828 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31829 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31830 (gst_bin_iterate_elements), (iterate_child_recurse),
31831 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31832 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31833 (compare_interface), (gst_bin_get_by_interface),
31834 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31836 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31837 (gst_buffer_default_free), (gst_buffer_default_copy),
31838 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31839 (gst_buffer_create_sub):
31841 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31842 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31843 (gst_caps_unref), (gst_static_caps_get),
31844 (gst_caps_remove_and_get_structure), (gst_caps_append),
31845 (gst_caps_append_structure), (gst_caps_remove_structure),
31846 (gst_caps_copy_nth), (gst_caps_set_simple),
31847 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31848 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31849 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31850 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31851 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31852 (gst_caps_structure_figure_out_union),
31853 (gst_caps_switch_structures), (gst_caps_do_simplify),
31854 (gst_caps_replace), (gst_caps_from_string),
31855 (gst_caps_copy_conditional):
31857 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31858 (_gst_clock_id_free), (gst_clock_id_unref),
31859 (gst_clock_id_compare_func), (gst_clock_id_wait),
31860 (gst_clock_id_wait_async), (gst_clock_class_init),
31861 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31862 (gst_clock_get_time), (gst_clock_set_time_adjust),
31863 (gst_clock_set_property), (gst_clock_get_property):
31866 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31867 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31869 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31870 (gst_element_requires_clock), (gst_element_provides_clock),
31871 (gst_element_set_clock), (gst_element_clock_wait),
31872 (gst_element_wait), (gst_element_set_time_delay),
31873 (gst_element_is_indexable), (gst_element_add_pad),
31874 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31875 (pad_compare_name), (gst_element_get_static_pad),
31876 (gst_element_request_pad), (gst_element_get_request_pad),
31877 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31878 (gst_element_class_get_pad_template_list),
31879 (gst_element_class_get_pad_template), (gst_element_error_func),
31880 (gst_element_get_random_pad), (gst_element_get_event_masks),
31881 (gst_element_send_event), (gst_element_seek),
31882 (gst_element_get_query_types), (gst_element_query),
31883 (gst_element_get_formats), (gst_element_convert),
31884 (gst_element_is_locked_state), (gst_element_set_locked_state),
31885 (gst_element_sync_state_with_parent), (gst_element_change_state),
31886 (gst_element_finalize), (gst_element_yield),
31887 (gst_element_interrupt), (gst_element_set_scheduler),
31888 (gst_element_get_scheduler), (gst_element_set_loop_function):
31889 * gst/gstelement.h:
31891 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31892 (gst_format_get_by_nick), (gst_format_get_details),
31893 (gst_format_iterate_definitions):
31895 * gst/gstindex.c: (gst_index_gtype_resolver):
31898 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31899 (gst_mem_chunk_free):
31900 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31901 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31902 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31903 (gst_object_dispatch_properties_changed),
31904 (gst_object_set_name_default), (gst_object_set_name),
31905 (gst_object_get_name), (gst_object_set_name_prefix),
31906 (gst_object_get_name_prefix), (gst_object_set_parent),
31907 (gst_object_get_parent), (gst_object_unparent),
31908 (gst_object_check_uniqueness), (gst_object_save_thyself),
31909 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31910 (gst_object_set_property), (gst_object_get_property),
31911 (gst_object_get_path_string):
31913 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31914 (gst_real_pad_init), (gst_real_pad_get_property),
31915 (gst_pad_custom_new), (gst_pad_get_direction),
31916 (gst_pad_set_active), (gst_pad_is_active),
31917 (gst_pad_set_event_function), (gst_pad_is_linked),
31918 (gst_pad_link_free), (gst_pad_link_intersect),
31919 (gst_pad_link_fixate), (gst_pad_set_caps),
31920 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31921 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31922 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31923 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31924 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31925 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31926 (gst_pad_realize), (gst_pad_get_allowed_caps),
31927 (gst_real_pad_dispose), (gst_real_pad_finalize),
31928 (gst_pad_collectv), (gst_pad_collect_valist),
31929 (gst_pad_template_dispose), (gst_pad_template_new),
31930 (gst_pad_get_internal_links):
31932 * gst/gstpipeline.c: (gst_pipeline_dispose),
31933 (gst_pipeline_change_state):
31934 * gst/gstpipeline.h:
31936 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31937 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31938 * gst/gstpluginfeature.h:
31939 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31940 * gst/gstquery.c: (_gst_query_type_initialize),
31941 (gst_query_type_register), (gst_query_type_get_by_nick),
31942 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31944 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31945 * gst/gstscheduler.c: (gst_scheduler_add_element),
31946 (gst_scheduler_factory_create):
31947 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31948 (gst_structure_free), (gst_structure_set_name),
31949 (gst_structure_id_set_value), (gst_structure_set_value),
31950 (gst_structure_set_valist), (gst_structure_remove_field),
31951 (gst_structure_remove_fields),
31952 (gst_structure_remove_fields_valist),
31953 (gst_structure_remove_all_fields), (gst_structure_foreach),
31954 (gst_structure_map_in_place),
31955 (gst_caps_structure_fixate_field_nearest_int),
31956 (gst_caps_structure_fixate_field_nearest_double):
31957 * gst/gststructure.h:
31958 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31959 (gst_system_clock_init), (gst_system_clock_dispose),
31960 (gst_system_clock_async_thread),
31961 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31962 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31963 * gst/gstsystemclock.h:
31964 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31965 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31966 * gst/gsttaginterface.c:
31967 * gst/gstthread.c: (gst_thread_dispose),
31968 (gst_thread_release_children_locks), (gst_thread_change_state),
31969 (gst_thread_main_loop):
31970 * gst/gsttrashstack.h:
31971 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31973 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31974 (gst_element_request_pad), (gst_element_get_pad_from_template),
31975 (gst_element_request_compatible_pad),
31976 (gst_element_get_compatible_pad_filtered),
31977 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31978 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31979 (gst_element_link_many), (gst_element_link),
31980 (gst_element_link_pads), (gst_element_unlink_pads),
31981 (gst_element_unlink_many), (gst_element_unlink),
31982 (gst_pad_can_link_filtered), (gst_pad_can_link),
31983 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31984 (gst_object_default_error), (gst_bin_add_many),
31985 (gst_bin_remove_many), (gst_element_populate_std_props),
31986 (gst_element_class_install_std_props), (gst_buffer_merge),
31987 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31988 (link_fold_func), (gst_pad_proxy_setcaps):
31990 * gst/gstvalue.c: (gst_value_deserialize_string):
31991 * gst/parse/grammar.y:
31992 * gst/schedulers/gstbasicscheduler.c:
31993 (gst_basic_scheduler_cothreaded_chain),
31994 (gst_basic_scheduler_chain_recursive_add),
31995 (gst_basic_scheduler_pad_link):
31996 * gst/schedulers/gstoptimalscheduler.c:
31997 (get_group_schedule_function),
31998 (gst_opt_scheduler_state_transition),
31999 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32000 * libs/gst/bytestream/bytestream.c:
32001 * libs/gst/dataprotocol/dataprotocol.c:
32002 (gst_dp_header_from_buffer):
32005 * tests/threadstate/threadstate2.c: (eos):
32006 * tools/gst-compprep.c: (main):
32007 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32008 (print_pad_info), (print_children_info):
32009 * tools/gst-launch.c: (idle_func), (main):
32010 * tools/gst-md5sum.c: (idle_func), (main):
32011 * tools/gst-xmlinspect.c: (print_element_info):
32012 First THREADED backport attempt, focusing on adding locks and
32013 making sure the API is threadsafe. Needs more work. More docs
32016 2005-02-24 Andy Wingo <wingo@pobox.com>
32018 * tests/bench-complexity.scm:
32019 * tests/complexity.gnuplot: New files, good for running complexity
32022 * tests/Makefile.am:
32023 * tests/complexity.c: New test, sets up N elements, at each level
32024 teeing into M streams per element. Eeeenteresting.
32026 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32027 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32028 running bench-mass_elements.scm.
32030 * tests/bench-mass_elements.scm: New script, runs mass_elements
32031 for various numbers of identities, outputting the results to a
32032 file. Requires guile 1.6. Just for testing.
32034 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32036 * gst/schedulers/fairscheduler.c:
32037 compile with debug disabled
32039 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32042 hunting season on 0.9 is now OPEN