1 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
3 * docs/faq/general.xml:
6 2008-12-16 Stefan Kost <ensonic@users.sf.net>
8 * docs/gst/gstreamer-sections.txt:
11 Rename api added in previous commit and add since tag to docs.
12 API: gst_tag_setter_reset_tags()
14 2008-12-16 Stefan Kost <ensonic@users.sf.net>
16 * docs/gst/gstreamer-sections.txt:
19 Add function to reset tagsetter for element reuse.
21 2008-12-16 Stefan Kost <ensonic@users.sf.net>
24 Avoid copy of empty taglist.
26 2008-12-16 Stefan Kost <ensonic@users.sf.net>
29 * tests/check/gst/gsttag.c:
30 More complete unit tests. Fix handling of empty taglists (they were
33 2008-12-15 Stefan Kost <ensonic@users.sf.net>
37 Update GstTagSetter and GstTagMergeMode documentation. Mention
38 that tags can come from events and from application. Fix example.
40 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
42 * docs/design/part-TODO.txt:
43 Remove the seqnum entry that we implemented in 0.10 already.
44 Add entry about removing the format return value for queries.
46 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
48 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
49 (gst_base_sink_init), (gst_base_sink_set_property),
50 (gst_base_sink_get_property):
51 Expose the render-delay as a property so things like appsink can use it
52 to tweak the synchronisation.
54 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
56 * libs/gst/check/gstcheck.h: Allow check tests to use
57 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
58 CK_FORK=no to be used with multiple check test that use threads.
60 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
62 * gst/gstutils.c: (gst_element_get_compatible_pad):
63 Fix a caps memory leak introduced by the last change.
65 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
67 * gst/gstutils.c: (gst_element_get_compatible_pad):
68 Check if the caps of the pads are compatible before returning
69 a pad and claiming it is compatible. This, among other things,
70 fixes a bug with gst-launch where an incompatible pad is chosen
71 and linking fails. Fixes bug #544003.
73 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
75 * libs/gst/check/gstcheck.c: (gst_check_init):
76 Revert accidentially commited patch for bug #404631 which
77 tries to print a backtrace if a testcase is terminated by
78 a signal. This code was never activated as the corresponding
79 configure.ac change wasn't committed.
81 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
83 * tests/check/libs/controller.c: (GST_START_TEST):
84 This test should return TRUE now as syncing an uncontrolled
85 object will succeed now (there's nothing to sync).
87 2008-12-09 Stefan Kost <ensonic@users.sf.net>
89 * libs/gst/controller/gstcontroller.c:
90 Aggregate return value for gst_controller_sync_values(). More info in
91 logging. Always set values on first sync-call.
93 * libs/gst/controller/gstcontrolsource.c:
96 * libs/gst/controller/gsthelper.c:
97 Fix return code and comment.
99 2008-12-09 Stefan Kost <ensonic@users.sf.net>
101 * tools/gst-launch.1.in:
102 Fix description of how to specify a type in caps. Fixes #553873.
103 Also ranges and list contain values and not property-assignments.
105 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
107 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
108 Check for changed pads-list before checking the last returned
109 GstFlowReturn because the pad could have been removed and we
110 need to ignore the value in that case.
112 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
114 * libs/gst/base/gstbasetransform.c:
115 (gst_base_transform_prepare_output_buffer),
116 (gst_base_transform_getrange), (gst_base_transform_chain):
117 * libs/gst/base/gstbasetransform.h:
118 Add vmethod that is called before we start the transform and which can
119 be used to configure the transform, such as dynamic properties.
121 2008-12-05 David Schleef <ds@schleef.org>
124 Search for plugins on win32 based on the location of the
125 gstreamer DLL. Fixes #548786
127 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
130 Apparently AC_CONFIG_MACRO_DIR breaks when using more
131 than one macro directory, reverting last change.
133 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
136 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
139 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
141 Patch by: Cygwin Ports maintainer
142 <yselkowitz at users dot sourceforge dot net>
146 Require gettext 0.17 because older versions don't mix with libtool
147 2.2. At build time an older gettext version will still work.
150 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
152 Patch by: 이문형 <iwings at gmail dot com>
154 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
155 Adds support for FD_CONNECT event (win32). See #562258.
157 2008-11-24 Stefan Kost <ensonic@users.sf.net>
159 * libs/gst/base/gstbasesink.c:
160 Turn comment into gtk-doc comment.
162 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
164 * libs/gst/base/gstbasetransform.c:
165 (gst_base_transform_acceptcaps):
166 Revert quick accepcaps attempt, it's not fully equivalent to the old
167 behaviour and thus causes regressions.
169 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
171 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
174 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
176 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
178 * gst/gstregistry.c: (gst_registry_scan_path_level):
179 Reduce the number of stat() calls for every file from three times
180 to one time. Fixes bug #560360.
182 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
184 * libs/gst/base/gstbasetransform.c:
185 (gst_base_transform_acceptcaps):
186 Rename a variable to make the code clearer.
188 2008-11-21 Stefan Kost <ensonic@users.sf.net>
190 * plugins/elements/gstidentity.c:
191 Don't warning on offset==-1. Taken from _check_imperfect_offset().
193 2008-11-21 Michael Smith <msmith@songbirdnest.com>
195 * plugins/elements/gstfilesrc.c:
196 Check for localhost in URI was backwards, fix it. Fixes unit test.
198 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
200 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
201 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
202 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
203 Add beginnings of a more optimized acceptcaps function than the default
206 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
208 * gst/gstpad.c: (gst_pad_accept_caps):
209 Avoid getting the acceptcaps function too early.
211 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
213 * tools/gst-launch.c: (event_loop):
214 Make gst-launch handle LATENCY messages and make it recalculate the
217 2008-11-20 Michael Smith <msmith@songbirdnest.com>
219 * plugins/elements/gstfilesrc.c:
220 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
221 out own slightly incorrect version. Fixes use of some paths on
224 2008-11-20 Michael Smith <msmith@songbirdnest.com>
226 * gst/gstregistrybinary.c:
227 In win32 codepath, if we fail to write the registry, create the
228 directory for it and try again, matching the behaviour in non-win32
231 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
233 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
234 Changing the render delay changes the latency and so we must post a
237 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
241 Add GstQueryType for custom queries instead of having to use the
242 not-so-very-convenient registration infrastructure to register new
245 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
247 Patch by: Andrew Feren <acferen at yahoo dot com>
249 * gst/gstobject.c: (gst_object_default_deep_notify):
250 Unref the GEnumClass after usage again. Fixes bug #561501.
252 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
254 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
255 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
256 (gst_bin_change_state_func):
258 Add do-latency signal with the old default fallback implementation. This
259 allows for custom latency calculations for when the default is not
261 API: GstBin::do-latency signal.
263 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
265 * win32/common/libgstreamer.def:
266 Add new symbols to .def file.
268 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
270 * docs/gst/gstreamer-sections.txt:
271 * gst/gstbin.c: (gst_bin_recalculate_latency),
272 (gst_bin_change_state_func):
274 Add method to recalculate and redistribute the latency on a bin.
275 API: gst_bin_recalculate_latency().
277 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
280 Document the free_func.
282 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
284 * libs/gst/controller/gstinterpolation.c:
285 * libs/gst/controller/gstlfocontrolsource.c:
286 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
287 as it is mapped to a cast on non-win32 platforms.
289 2008-11-17 Stefan Kost <ensonic@users.sf.net>
291 * libs/gst/controller/gstcontroller.c:
292 * libs/gst/controller/gstcontrollerprivate.h:
293 Keep last-value and only call set_property if value has changed. This
294 supresses all the g_object_notifies we would trigger otherwise. It
295 also allows the user to chage the value while there is no controller
298 2008-11-17 Stefan Kost <ensonic@users.sf.net>
301 Don't crash if either of the string GValues is empty.
303 2008-11-17 Andy Wingo <wingo@pobox.com>
305 * tools/gst-inspect.c (print_all_uri_handlers): New function,
306 prints a summary of what URI schemes are supported by what
308 (main): Plumb in support for --uri-handlers or -u, and fix the
309 argc check for -a and -u.
311 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
314 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
315 conversion functions.
317 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
319 * gst/gstbuffer.c: (gst_buffer_finalize):
320 Avoid costly typechecking for trivially correct pointers.
322 * gst/gstpoll.c: (gst_poll_wait):
323 Add some G_LIKELY here and there.
325 * libs/gst/base/gstadapter.c: (gst_adapter_push):
328 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
330 * docs/random/wtay/poll-timeout:
333 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
335 * tests/old/testsuite/caps/intersection.c: (main):
336 * tests/old/testsuite/plugin/loading.c: (main):
337 Remove references to deprecated API g_mem_chunk*.
340 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
342 * tools/gst-inspect.c: (main):
343 Add --plugin option. Fixes #560301.
345 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
347 * docs/random/wtay/poll-timeout:
348 Quick braindump for a possible (not totally verified) atomic case.
350 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
352 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
353 (gst_registry_binary_initialize_magic),
354 (gst_registry_binary_write_cache),
355 (gst_registry_binary_check_magic):
356 * gst/gstregistrybinary.h:
357 Don't write and check a CRC for the binary registry file. It's
358 guaranteed that the registry is completely written (it's first written
359 to a temporary file and then moved) and if the registry was corrupted
360 by some hardware failure we would have bigger problems.
362 Bump binary registry version to 0.10.21.1 for this as it's an
363 incompatible change and to ensure that the registry gets rebuild
366 This saves some milliseconds for reading/writing the registry.
369 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
371 * docs/random/wtay/poll-timeout:
372 Some pseudo code for how we could implement clock timeouts with GstPoll.
374 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
376 * plugins/elements/gstfilesink.c:
377 Update Author string to match others.
379 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
381 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
382 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
383 being fixed and inline the trivial check.
385 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
387 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
388 (gst_caps_merge_structure), (gst_caps_get_structure),
389 (gst_caps_copy_nth), (gst_caps_set_simple),
390 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
391 (gst_caps_is_equal_fixed), (gst_caps_intersect),
392 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
393 (gst_caps_to_string):
394 Callgrind micro optimisations.
395 Avoid array bounds checks and force inline of trivial function.
397 * gst/gstobject.c: (gst_object_set_name_default):
398 -1 is equivalent to letting glib to the strlen but then there is more
399 room for optimisations and it's not our fault.
401 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
402 no need to clear the array, we're cool.
404 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
405 The most common _is_fixed() check is done on fundamental glib base
406 types so we check this first instead of doing a huge amount of
407 useless GST_TYPE_ARRAY calls.
409 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
412 Add a SKIP seek flag for use with advanced trickmodes.
413 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
415 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
417 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
418 No need to memset, we can clear the value ourselves.
420 * gst/gstvalue.c: (gst_type_is_fixed),
421 (gst_value_get_compare_func):
422 Some optimisations from a few callgrind sessions:
423 When checking if a type is fixed, check for trivial fundamental types
424 first before checking types for which we need to get the type followed
425 by the heavy duty type checks, this reduces the amount of
426 g_type_fundamental() calls a lot.
427 When getting the compare function, first check for our registered types.
428 If that fails, do the heavy duty g_type_is_a() checks, reduces the
429 amount of g_type_is_a() considerably.
431 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
433 * docs/design/part-TODO.txt:
434 Mumble something about removing GstXML.
436 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
438 * gst/gstbin.c: (gst_bin_handle_message_func):
439 Get the seqnum before we dispose the message.
441 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
443 * docs/design/part-TODO.txt:
444 Refer to the framestepping document.
446 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
448 * gst/gstbin.c: (bin_handle_async_start),
449 (gst_bin_handle_message_func), (gst_bin_query):
450 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
451 (gst_base_sink_event), (gst_base_sink_change_state):
452 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
453 (gst_base_src_loop), (gst_base_src_change_state):
454 Copy seqnums from events to messages so that they can all be related
457 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
459 * tools/gst-launch.c: (event_loop):
460 Print the message seqnums.
462 2008-11-04 Andy Wingo <wingo@pobox.com>
464 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
466 2008-11-04 Andy Wingo <wingo@pobox.com>
468 Add sequence numbers to events and messages. See #559250.
470 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
474 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
475 events with a new sequence number, and copy it when copying.
476 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
477 an event's sequence number.
480 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
481 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
484 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
486 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
488 * docs/manual/advanced-position.xml:
489 * docs/manual/basics-bins.xml:
490 * docs/manual/basics-bus.xml:
491 * docs/manual/basics-pads.xml:
492 * docs/manual/intro-gstreamer.xml:
493 * docs/manual/intro-preface.xml:
494 Some Application Development Manual fixes thanks to
495 Andrew Feren. Fixes #558459.
497 2008-11-03 Stefan Kost <ensonic@users.sf.net>
499 * gst/gstregistrybinary.c:
500 Don't bother with the GTimer if we don't output the results.
502 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
504 Patch by: David Schleef <ds@schleef.org>
506 * libs/gst/net/Makefile.am:
507 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
509 2008-10-31 Stefan Kost <ensonic@users.sf.net>
511 * gst/gstregistrybinary.c:
512 Oh my, studip, stupid me. Remove double stat() call.
514 2008-10-31 Stefan Kost <ensonic@users.sf.net>
517 Use g_unlink instead of unlink.
519 * gst/gststructure.c:
528 Formatting & whitespaces.
530 2008-10-31 Stefan Kost <ensonic@users.sf.net>
532 * plugins/elements/gstidentity.c:
533 Doc typo. Use return value of parent_class->event.
535 * plugins/elements/gsttypefindelement.c:
536 Chain up at the end for consistency.
538 2008-10-30 Stefan Kost <ensonic@users.sf.net>
541 * docs/gst/gstreamer-docs.sgml:
542 * docs/gst/gstreamer-sections.txt:
543 * docs/gst/running.xml:
544 * docs/libs/gstreamer-libs-docs.sgml:
545 Change to xinclude based build - its faster and easier to maintain.
547 2008-10-30 Stefan Kost <ensonic@users.sf.net>
549 * gst/gstregistrybinary.c:
550 * gst/gstregistryxml.c:
551 Use g_unlink() as none of these are directories.
553 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
555 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
558 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
560 * libs/gst/base/gstbasetransform.c:
561 (gst_base_transform_find_transform), (gst_base_transform_getrange):
562 If we have a fixate function, call it even if we already have fixed caps
563 because the subclass might add some caps. Makes audioconvert add a
564 default channel layout.
566 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
568 * libs/gst/base/gstbasetransform.c:
569 (gst_base_transform_prepare_output_buffer),
570 (gst_base_transform_getrange):
571 Clear the output buffer variable.
572 Cleanups to the error path in the getrange function.
575 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
577 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
578 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
579 Use gst_buffer_try_new_and_alloc() and handle errors instead of
580 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
583 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
585 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
586 Set the last_stop to a more meaningful position when configuring the
587 segment. ie. the start/stop of the segment or clipped against the
588 updated segment boundaries.
590 * tests/check/gst/gstsegment.c: (GST_START_TEST):
591 Add some unit tests for the last_stop.
593 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
595 * libs/gst/base/gstbytereader.c:
596 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
599 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
601 * docs/gst/gstreamer-sections.txt:
603 API: Move float endianness conversion macros from libgstfloatcast
604 to core as it's useful in general, even in core. Fixes bug #555196.
605 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
606 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
607 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
609 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
610 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
611 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
612 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
614 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
616 * docs/libs/gstreamer-libs-sections.txt:
617 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
618 (gst_byte_reader_peek_data):
619 * libs/gst/base/gstbytereader.h:
620 * win32/common/libgstbase.def:
621 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
622 to get a pointer to the data at the current position and have
625 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
628 Fix a bug in the output of the configure script summary
629 when --gst-disable-registry is supplied
631 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
633 * libs/gst/base/gstbitreader.c:
634 * libs/gst/base/gstbytereader.c:
635 Fix the names of 2 functions in the docs strings.
637 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
639 * libs/gst/base/gstbasetransform.c:
640 (gst_base_transform_prepare_output_buffer),
641 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
642 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
643 refcount problems as seen in banshee and maybe also in farsight2.
644 Remove atomic int now that we need to take the lock anyways.
646 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
648 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
649 (gst_base_sink_default_prepare_seek_segment),
650 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
651 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
652 (gst_base_sink_query):
653 Implement more seeking in pull mode.
654 Use pad convert functions to convert position to the requested format.
655 Fix position/duration reporting in pull mode.
656 Implement position and duration reporting in other formats than time.
658 * libs/gst/base/gstbasesink.h:
659 Add member to keep track of when the segment is playing.
661 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
663 * gst/gstpad.c: (gst_pad_configure_src):
664 When we use gst_pad_alloc_buffer() without wanting to set the caps we
665 also don't need to check if the caps are compatible because the caller
666 presumably is going to perform its own custom checks. Fixes some cases
667 where basetransform elements would error out when it was not needed.
669 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
671 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
674 * libs/gst/base/gstbasetransform.c:
675 (gst_base_transform_handle_buffer),
676 (gst_base_transform_reconfigure):
679 * win32/common/libgstbase.def:
682 2008-10-19 Stefan Kost <ensonic@users.sf.net>
684 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
685 Remove duplicated assignment and log a message in failure case.
687 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
689 Patch by: Dig Ge <dig.ge.cn at gmail com>
691 * tests/examples/helloworld/helloworld.c: (main):
692 Fix copy'n'paste bug in hello world example (#556900).
694 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
696 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
697 (gst_base_sink_query):
698 Query the total number of bytes when activating the pad in pull mode.
699 Implement duration query in pull mode by using the installed pad convert
700 function to convert from bytes to the requested format.
702 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
704 * docs/libs/gstreamer-libs-sections.txt:
705 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
706 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
707 (gst_base_sink_event), (gst_base_sink_perform_seek),
708 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
709 (gst_base_sink_send_event), (gst_base_sink_change_state):
710 * libs/gst/base/gstbasesink.h:
711 Add method to commit the state in subclasses.
712 Refactor the flush_start and flush_stop code because we need it for
713 flushing while seeking too.
714 Implement the beginnings of seeking in pull mode.
715 Use the segment last_stop field for the pulling offset.
716 Fix the pause method in pull mode.
717 Configure the segment to BYTES for pull mode.
718 API: GstBaseSink::gst_base_sink_do_preroll()
720 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
722 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
725 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
727 * gst/gstquark.c: (_priv_gst_quarks_initialize):
728 Fix printf format warning.
730 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
732 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
733 Fix flow aggregation of tee. Error out immediately for all flow returns
734 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
735 and return OK if at least one pad is linked.
737 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
738 and otherwise returned the flow return of the last pad, which is wrong.
740 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
741 (GST_START_TEST), (tee_suite):
742 Add unit tests for the flow aggregation.
744 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
746 * docs/design/part-TODO.txt:
747 Remove item from the todo list because it was fixed with the latency
748 state change rewrites.
750 * docs/design/part-seeking.txt:
751 * docs/design/part-segments.txt:
754 * gst/gstevent.c: (gst_event_new_new_segment_full),
755 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
756 (gst_event_parse_buffer_size), (gst_event_new_qos),
757 (gst_event_parse_qos), (gst_event_new_seek),
758 (gst_event_parse_seek), (gst_event_new_latency),
759 (gst_event_parse_latency):
760 Use quarks to construct and parse events.
762 * gst/gstquark.c: (_priv_gst_quarks_initialize):
764 Add some more quarks to the table.
765 Emit a warning when the quark tables are not in sync.
767 * tests/check/gst/gstbus.c: (GST_START_TEST):
770 2008-10-13 Stefan Kost <ensonic@users.sf.net>
772 * plugins/elements/Makefile.am:
773 * plugins/indexers/Makefile.am:
774 Don't install static libs for plugins. Fixes #550851 for core.
776 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
778 * gst/gstbus.c: (gst_bus_source_finalize),
779 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
780 (gst_bus_enable_sync_message_emission),
781 (gst_bus_disable_sync_message_emission),
782 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
783 Fix deadlock, g_source_get_id() cannot be called in finalize.
784 Keep track of the watch source by keeping a pointer to the source object
786 Use the bus lock to protect access to the pointer to the current
789 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
791 Base on Patch by: Olivier Crete <tester at tester dot ca>
793 * gst/gstbus.c: (gst_bus_source_finalize),
794 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
795 Only allow one bus watch to be set at a time. This is necessary
796 because the dispatcher pops the message from the bus and the second
797 watcher will then get NULL or the next message (and the first won't
798 get this next message then, etc). If more than one "watcher" is
799 required signal watches should be used. Fixes bug #526044.
801 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
803 * tools/gst-launch.c:
804 Change the printing of the 'buffering...' output to avoid putting
805 a \r in a translateable string (flagged by the TP).
807 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
810 Clarify that the save_thyself() and restore_thyself() virtual
811 functions of GstObject need to be overriden, not
812 gst_object_(save|restore)_thyself() which is impossible.
815 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
817 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
818 Revert a patch from 21 months ago that broke caps negotiation in pull
819 mode. Basically, having a buffer pass over a pad will trigger the
820 setcaps function when caps change, just like in push mode.
822 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
824 * docs/design/part-negotiation.txt:
825 Update the docs some more.
827 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
828 If we pull a buffer with non-trivial caps, suggest those caps with the
831 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
833 * docs/design/part-TODO.txt:
834 Add another limitation of pad-blocking with segment seeks not pushing
837 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
839 * win32/common/libgstbase.def:
840 * win32/common/libgstreamer.def:
841 Add new symbols to the win32 defs files
843 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
845 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
846 (gst_bin_handle_message_func):
847 The message src can be NULL, don't try to print the object names in that
850 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
851 Add some more debug info.
853 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
856 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
859 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
861 * docs/design/part-negotiation.txt:
864 * docs/libs/gstreamer-libs-sections.txt:
865 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
866 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
867 (gst_base_sink_init), (gst_base_sink_set_blocksize),
868 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
869 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
870 (gst_base_sink_loop), (gst_base_sink_pad_activate),
871 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
872 (gst_base_sink_change_state):
873 * libs/gst/base/gstbasesink.h:
874 Add blocksize property and methods to control the amount of data
876 Negotiate first before activating upstream in pull mode so that they can
877 negotiate themselves.
878 When we operate in pull mode, we only accept the caps that we
880 Make the sink go ASYNC to PAUSED, like all other sinks.
881 API: GstBaseSink::gst_base_sink_set_blocksize()
882 API: GstBaseSink::gst_base_sink_get_blocksize()
883 API: GstBaseSink::blocksize
885 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
886 (gst_base_src_set_live), (gst_base_src_is_live),
887 (gst_base_src_set_format), (gst_base_src_query_latency),
888 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
889 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
890 (gst_base_src_set_property), (gst_base_src_get_property):
891 * libs/gst/base/gstbasesrc.h:
892 Add typechecking in public API functions.
893 Add methods to control the blocksize in subclasses.
894 API: GstBaseSrc::gst_base_src_set_blocksize()
895 API: GstBaseSrc::gst_base_src_get_blocksize()
897 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
899 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
900 (buffer_probe), (event_probe), (GST_START_TEST):
901 We now see 3 events go through our pad, since basesink now sends
902 upstream latency events.
904 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
906 * gst/gstpipeline.c: (gst_pipeline_change_state):
907 Release the object lock before trying to flush the bus.
909 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
911 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
912 Forward LATENCY events upstreams so that elements know about the total
913 pipeline latency. Fixes #555307.
915 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
917 * plugins/elements/gstqueue.c:
918 Allow through queries when we don't know how
919 to adjust them (not TIME or BYTES), as otherwise it's
920 not possible to query the current position in order
921 to seek in other formats at all.
923 2008-10-08 Andy Wingo <wingo@pobox.com>
925 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
927 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
931 Unbreak -good build, private is a reserved c++ keyword.
933 2008-10-08 Andy Wingo <wingo@pobox.com>
935 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
936 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
937 removal: re-add GST_GHOST_PAD_CAST to the header.
939 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
940 (GstGhostPadClass): Publically expose these structures so as to
941 allow easy subclassing from C. Hide the member data behind a
942 private opaque data pointer.
944 * gst/gstghostpad.c: Adapt to store instance data in the type
945 instance's private data region, not in the public struct.
947 2008-10-08 Andy Wingo <wingo@pobox.com>
949 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
950 template via g_object_get(), be sure to unref it.
952 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
954 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
956 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
957 If we can't get a cache file don't try to save something to it.
958 Dereferencing NULL pointers usually isn't a good idea.
960 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
962 * tests/check/Makefile.am:
963 * tests/check/gst/gstabi.c:
964 * tests/check/gst/struct_sparc.h:
965 * tests/check/libs/libsabi.c:
966 * tests/check/libs/struct_sparc.h:
969 * tests/check/gst/gstvalue.c: (GST_START_TEST):
970 Cast signed integer to unsigned to avoid a compiler warning.
972 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
974 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
975 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
976 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
977 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
978 (gst_byte_reader_peek_int24_be):
979 Use new GST_READ_UINT24_(LE|BE) macros.
981 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
983 * docs/gst/gstreamer-sections.txt:
985 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
986 as it's too easy to break the ISO C strict aliasing rules with simple
987 casts to the corresponding type and this would introduce hard to debug
988 bugs. Fixes bug #545714.
990 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
992 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
994 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
995 * gst/gstghostpad.c: (gst_ghost_pad_construct):
996 Add 'Since' bits to gtk-doc chunks for new API.
998 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1000 * docs/gst/gstreamer-sections.txt:
1003 2008-10-06 Andy Wingo <wingo@pobox.com>
1005 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1006 that will be called on the malloc_data to free it. Basically a way
1007 to avoid subclassing when all you need is a different free
1008 function, i.e. free() instead of g_free().
1010 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1011 calling the free function.
1012 (gst_buffer_init): Initialize the free function to g_free.
1014 2008-10-06 Andy Wingo <wingo@pobox.com>
1016 * gst/gstghostpad.h:
1017 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1018 finishes the initialization of ghost pad. Useful for language
1019 bindings and subclassers of GstGhostPad. Fixes #539108.
1020 (gst_ghost_pad_new_full): Use the new constructor.
1022 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1024 Base on Patch by: Olivier Crete <tester at tester dot ca>
1026 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1027 (gst_bin_remove_func), (update_degree),
1028 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1029 Keep track of pads that are being linked/unlinked and resync the state
1032 * gst/gstpad.c: (gst_pad_get_direction),
1033 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1034 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1035 (gst_pad_link_prepare), (gst_pad_link),
1036 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1037 (gst_pad_check_pull_range), (gst_pad_get_range),
1038 (gst_pad_pull_range):
1039 Some code cleanups, use macros to check pad direction.
1040 Don't need to take the lock on the pad direction.
1041 Post structure change when pads are linked/unlinked.
1042 Change some checks into _return_if_fail().
1044 * tests/check/gst/gstbin.c:
1045 (test_link_structure_change_state_changed_sync_cb),
1046 (GST_START_TEST), (gst_bin_suite):
1047 Add testcase for pad link/unlinke resync during a state change.
1050 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1052 * docs/gst/gstreamer-sections.txt:
1053 * gst/gstmessage.c: (gst_message_new_structure_change),
1054 (gst_message_parse_structure_change):
1056 Implement STRUCTURE_CHANGED messages. These messages will be used to
1057 signal the parent bin of link/unlink operations that could require a
1058 resync when doing a state change. See ##510354.
1059 API: gst_message_new_structure_change()
1060 API: gst_message_parse_structure_change()
1062 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1066 Add some more quarks for new message. See #510354.
1068 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1070 * docs/libs/gstreamer-libs-docs.sgml:
1071 * docs/libs/gstreamer-libs-sections.txt:
1072 * libs/gst/base/Makefile.am:
1073 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1074 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1075 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1076 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1077 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1078 (gst_bit_reader_skip_to_byte):
1079 * libs/gst/base/gstbitreader.h:
1080 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1081 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1082 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1083 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1084 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1085 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1086 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1087 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1088 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1089 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1090 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1091 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1092 * libs/gst/base/gstbytereader.h:
1093 * tests/check/Makefile.am:
1094 * tests/check/libs/bitreader.c: (GST_START_TEST),
1095 (gst_bit_reader_suite):
1096 * tests/check/libs/bytereader.c: (GST_START_TEST),
1097 (gst_byte_reader_suite):
1098 API: Add bit reader and byte reader classes, including documentation
1099 and an extensive unit test suite. Fixes bug #553554.
1101 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1103 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1104 (gst_base_sink_query):
1105 Improve position reporting while flushing and other intermediate state
1106 changes. Fixes #553874.
1108 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1110 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1112 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1113 Original patch by : Simon Descaries
1114 Fix small refount leak in caps compatibility check.
1117 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1119 * docs/pwg/advanced-request.xml:
1120 Fix 0.8 api usage in example. Fixes #554561
1122 * docs/pwg/appendix-porting.xml:
1123 Change 0.9 to 0.10 here.
1125 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1127 * docs/manual/basics-data.xml:
1128 Change "event-event interaction" to "element-element interaction".
1129 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1132 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1135 Back to development -> 0.10.21.1
1137 === release 0.10.21 ===
1139 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1142 releasing 0.10.21, "Take These Things From Me"
1144 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1147 0.10.20.4 pre-release
1149 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1151 * libs/gst/base/gstbasetransform.c:
1152 * plugins/elements/gstcapsfilter.c:
1153 * tests/check/Makefile.am:
1154 * tests/check/elements/.cvsignore:
1155 * tests/check/elements/capsfilter.c:
1156 Fix assertion in basetransform when the subclass chooses not to
1157 allocate a buffer in prepare_buffer(), and make capsfilter error out
1158 cleanly if requested to apply caps that don't completely specify the
1159 buffer. Fixes #551509
1161 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1163 * libs/gst/base/gstbasetransform.c:
1164 (gst_base_transform_prepare_output_buffer):
1165 Take new caps ref because our old one might have been gone when the
1166 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1168 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1171 Do not probe availability of check unit test library when cross
1172 compiling, as test would not work anyway. Also cleanup verbose output
1173 of the check test. Fixes #551952.
1175 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1177 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1179 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1180 Avoid leaking the parent ref when we fail changing the state of the
1181 element using gst_element_sync_state_with_parent(). Fixes #551978.
1183 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1185 * docs/manual/intro-motivation.xml::
1186 Remove some bits that no longer apply, update others (#551642).
1188 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1191 0.10.20.2 pre-release
1199 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1201 * win32/common/config.h.in:
1202 Add GST_DATADIR, hard-code cpu to x86.
1204 * win32/common/libgstreamer.def:
1207 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1210 Fix Since: markers for new geo tags.
1212 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1215 Fix actual tag name define after renaming from altitude to elevation.
1217 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1219 * gst/gstpad.c: (add_unref_pad_to_list),
1220 (gst_pad_get_internal_links_default):
1221 Add fallback when calling the deprecated function on an element that
1222 implements the new internal_link handler.
1224 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1226 * docs/gst/gstreamer-sections.txt:
1229 Add new tags for geo location and clarify purpose of existing location
1232 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1234 Patch by: Olivier Crete <tester at tester dot ca>
1236 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1237 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1238 Use thread-safe internal links iterator. Fixes #549504.
1240 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1242 Based on patch by: Olivier Crete <tester at tester dot ca>
1244 * docs/gst/gstreamer-sections.txt:
1245 * win32/common/libgstreamer.def:
1246 * gst/gstpad.c: (gst_pad_init),
1247 (gst_pad_set_iterate_internal_links_function),
1248 (int_link_iter_data_free), (iterate_pad),
1249 (gst_pad_iterate_internal_links_default),
1250 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1252 Add threadsafe replacement functions for getting internal links of an
1253 element. Deprecate the old internal links functions.
1254 API:GstPad::gst_pad_set_iterate_internal_links_function()
1255 API:GstPad::GstPadIterIntLinkFunction
1256 API:GstPad::gst_pad_iterate_internal_links()
1257 API:GstPad::gst_pad_iterate_internal_links_default()
1259 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1260 (gst_proxy_pad_init):
1261 Implement threadsafe internal links.
1263 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1264 Unit test for internal links on tee. See #549504.
1266 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1268 * tests/check/Makefile.am:
1269 libs/transform1 test requires libs/test_transform.c
1271 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1273 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1274 Die evil deadlock, die !
1276 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1278 * gst/gstutils.c: (gst_element_get_compatible_pad):
1279 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1280 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1281 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1282 not steal the refcount of the given caps as stated.
1284 REVERT THIS COMMIT ONCE FIXED !
1285 REVERT THIS COMMIT ONCE FIXED !
1286 REVERT THIS COMMIT ONCE FIXED !
1287 REVERT THIS COMMIT ONCE FIXED !
1288 REVERT THIS COMMIT ONCE FIXED !
1289 REVERT THIS COMMIT ONCE FIXED !
1291 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1293 * gst/gstiterator.c:
1294 * gst/gstiterator.h:
1295 After 3 years it's about time to revise the documentation of the
1298 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1300 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1301 Make the internal links function less thread-unsafe and add some
1302 comments, dunno why.
1304 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1306 * gst/gst_private.h:
1307 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1308 build with --disable-gst-debug.
1310 2008-08-28 David Schleef <ds@schleef.org>
1312 * gst/gstpadtemplate.c: Revert last change, since it breaks
1313 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1314 but shouldn't be enabled until we've released fixed versions
1315 of -good and -ffmpeg.
1317 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1320 Put the gst_object_get_name() back in.
1322 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1324 * gst/gstpadtemplate.c:
1325 The old behaviour was that gst_pad_template_new() takes ownership of
1326 the caps. As we now call g_object_new() which calls g_object_set() and
1327 which copies the caps, we have to unref them to not leak them. Fixes
1328 make valgrid for me.
1330 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1333 Don't segfault on input like "tel:+1-123-555-1234".
1335 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1338 Due to popular request also include ObjectType in
1339 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1341 2008-08-26 David Schleef <ds@schleef.org>
1343 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1344 src_val must be positive, because that's not a requirement.
1345 This causes problems with converting negative granulepos
1347 * gst/gstquery.c: Same, gst_query_new_convert().
1349 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1351 * gst/gstclock.c: (gst_clock_add_observation):
1352 Add some more debugging to the clock slaving code.
1354 * win32/common/libgstbase.def:
1355 Add new basetransform method.
1357 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1359 * gst/gstbin.c: (gst_bin_element_set_state):
1360 Take the (recursive) state lock between getting the locked state of an
1361 element and changing the element state. This allows the application to
1362 lock an element's state and then change its state without races.
1364 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1366 * gst/gstbin.c: (gst_bin_element_set_state):
1367 When an element is in the locked state we still want to update the
1368 base_time of the element.
1370 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1372 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1373 Use the result from gst_pad_set_caps() instead of assuming the element
1374 always accepted the caps computed by the default negotiate function.
1376 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1378 * docs/libs/gstreamer-libs-sections.txt:
1379 * libs/gst/base/gstbasetransform.c:
1380 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1381 (gst_base_transform_chain), (gst_base_transform_suggest),
1382 (gst_base_transform_reconfigure):
1383 * libs/gst/base/gstbasetransform.h:
1384 Implement method for reconfiguring basetransform.
1385 API: GstBaseTransform::gst_base_transform_reconfigure()
1387 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1389 patch by: Murray Cumming <murrayc@murrayc.com>
1392 Mention that this is just like gst_buffer_merge() but with extra
1393 unreffing for C coders. Advise language bindings not to wrap it.
1396 Also fix file comment.
1398 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1400 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1402 * plugins/elements/gstfakesink.c:
1403 * plugins/elements/gstfakesrc.c:
1404 Call super::event() when not handling it. Fixes #544855.
1406 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1408 Patch by: Alessandro Decina <alessandro@nnva.org>
1409 * plugins/elements/gstfilesrc.c:
1410 Use 64 bit variants of stat functions on win32, to enable support
1411 of large files there.
1414 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1416 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1417 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1418 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1419 (gst_base_sink_get_position), (gst_base_sink_change_state):
1420 Improve position reporting in the flushing state.
1421 Also report the position when we are not yet prerolled but we
1422 have a newsegment event. Fixes #543444.
1423 Improve the pull-based negotiation code.
1425 * tests/check/elements/fakesink.c: (GST_START_TEST),
1427 Add testcase for position reporting while flushing in PAUSED and
1430 * tests/check/generic/sinks.c: (GST_START_TEST):
1431 Update unit-test, we can now query the position as soon as we receive a
1434 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1436 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1438 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1439 When the subclass event handler releases the PREROLL_LOCK, we could be
1440 in the flushing state and we have to ignore the event. Fixes #548394.
1442 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1444 * tools/gst-launch.1.in:
1445 Document GST_REGISTRY_UPDATE environment variable.
1447 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1449 * libs/gst/base/gstbasetransform.c:
1450 (gst_base_transform_prepare_output_buffer):
1451 If the element is configured in passthrough mode but the
1452 prepare_output_buffer gave us a new output buffer, discard that buffer
1453 and reuse the input buffer.
1455 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1457 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1459 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1460 (gst_tee_request_new_pad), (gst_tee_release_pad),
1461 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1462 * plugins/elements/gsttee.h:
1463 Protect pad_alloc with a new lock so that we can be sure that nothing is
1464 performing a pad_alloc when removing the pad. Fixes #547835.
1466 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1467 (buffer_alloc_harness_teardown), (app_thread_func),
1468 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1469 Added testcase for shutdown race.
1471 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1476 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1478 * libs/gst/base/gstbasetransform.c:
1479 (gst_base_transform_prepare_output_buffer),
1480 (gst_base_transform_buffer_alloc):
1481 Go over the buffer_alloc function again and make sure we always end up
1482 allocating a buffer.
1484 Avoid doing pad alloc when we have a pending suggestion because we
1485 cannot yet deal with changing caps in that case. Fixes #547728
1487 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1489 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1491 * docs/manual/advanced-clocks.xml:
1492 * docs/manual/clocks.png:
1493 * docs/manual/diagrams-clocks.svg:
1494 Add one more image showing different times together with a describing
1495 paragraph. Fixes #547729.
1497 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1499 * win32/common/libgstbase.def:
1502 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1504 * libs/gst/base/gstbasetransform.c:
1505 (gst_base_transform_transform_caps),
1506 (gst_base_transform_prepare_output_buffer),
1507 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1508 Don't overwrite the outsize when calculating the expected size of a new
1509 buffer because we still need it in case we cannot process the new
1511 When converting the size of the new buffer to an upstream size, actually
1512 use the expected size of the buffer, not some other random value.
1513 Use an atomic int to signal that a new upstream caps suggestion is
1515 When we can convert the current buffer to a new format, check if the
1516 buffer size is of the expected size and allocate a new buffer of the
1517 expected size when this is not the case. Fixes #546883.
1519 * tests/check/libs/transform1.c: (GST_START_TEST):
1520 remove ifdeffed code from the unit test.
1522 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1524 * pkgconfig/gstreamer-uninstalled.pc.in:
1525 * pkgconfig/gstreamer.pc.in:
1526 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1527 called gstcontroller-0.10.
1529 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1531 * gst/gstchildproxy.h:
1533 Remove double interface from doc-string.
1535 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1537 * libs/gst/base/gstbasesrc.c:
1538 * libs/gst/base/gstbasetransform.c:
1539 Fix headings in docs and gtk-doc warnings.
1541 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1543 * gst/gstregistrybinary.c:
1544 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1548 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1550 * libs/gst/base/gstbasetransform.c:
1551 (gst_base_transform_buffer_alloc):
1552 Fix a "may be used unitialized" warning.
1554 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1556 * docs/gst/gstreamer-sections.txt:
1558 Document preset-iface vmethods.
1560 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1562 * docs/manual/advanced-interfaces.xml:
1563 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1564 only used to discover devices.
1566 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1568 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1570 * gst/gst.c: (init_pre):
1571 Make sure gettext returns translations in UTF-8 encoding rather
1572 than in the current locale encoding (#546822).
1574 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1576 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1579 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1580 Improve unit test subset tests and add a testcase for the subset failure
1583 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1584 Improve subtraction unit test.
1586 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1588 * plugins/elements/gsttee.c:
1589 Unlock, instead of locking again.
1591 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1594 Clarify the docs a bit more.
1596 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1598 * tests/examples/metadata/read-metadata.c:
1599 Don't leak old taglist.
1601 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1603 Patch by: Olivier Crete <tester at tester dot ca>
1605 * gst/gststructure.c:
1606 (gst_structure_fixate_field_nearest_fraction):
1607 Avoid overflows in fixation code when dealing with MAXINT values, which
1608 v4l2src seems to do.
1611 * tests/check/gst/gststructure.c: (GST_START_TEST):
1612 Make a unit test to check the fix.
1614 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1616 * plugins/elements/gstcapsfilter.c: (copy_func),
1617 (gst_capsfilter_set_property):
1618 Use new caps suggestion feature of basetransform to request a caps
1619 negotiation upstream.
1621 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1623 * docs/libs/gstreamer-libs-sections.txt:
1625 API: GstBaseTransform::gst_base_transform_suggest()
1627 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1628 (gst_base_transform_init), (gst_base_transform_transform_caps),
1629 (gst_base_transform_transform_size),
1630 (gst_base_transform_configure_caps),
1631 (gst_base_transform_can_transform),
1632 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1633 (gst_base_transform_prepare_output_buffer),
1634 (gst_base_transform_buffer_alloc),
1635 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1636 (gst_base_transform_chain), (gst_base_transform_activate),
1637 (gst_base_transform_set_passthrough),
1638 (gst_base_transform_is_passthrough),
1639 (gst_base_transform_set_in_place),
1640 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1641 (gst_base_transform_set_qos_enabled),
1642 (gst_base_transform_is_qos_enabled),
1643 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1644 (gst_base_transform_reconfigure):
1645 * libs/gst/base/gstbasetransform.h:
1646 Rewrite of basetransform to perform negotiation outside of the
1647 buffer_alloc functions. Fixes #545853.
1649 * tests/check/libs/transform1.c: (GST_START_TEST),
1653 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1655 * tests/check/gst/gstpreset.c:
1656 Only run preset tests when $HOME is writable. Preliminary fix for
1659 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1661 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1662 (gst_bin_change_state_func), (bin_handle_async_done),
1663 (gst_bin_handle_message_func):
1664 Fix race for bins that simulate ASYNC state changes by inserting
1665 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1666 pending ASYNC messages even when the bin does not have ASYNC children.
1667 We note detect this behaviour because we will receive an ASYNC message
1668 that is originating from the bin itself.
1669 Fixes races with decodebin2 state changes.
1671 * tests/check/gst/gstbin.c: (GST_START_TEST):
1672 Add some more debug.
1674 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1676 * gst/gsttaglist.c: (_gst_tag_initialize):
1679 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1682 Argh. actually save the text before committing. Now adds
1683 gst_tag_merge_strings_with_comma() to gst_tag_register().
1685 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1689 Do as tim pointed out and actually register the new tag. Also improve
1690 te docs and use gst_tag_merge_strings_with_comma() method to allow
1691 retriving all keywords merged in one list.
1693 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1696 * docs/gst/gstreamer.types:
1697 Revert 'accidential' change of the configure option removal. We still
1698 need to generate the types file in configure --disable-load-save.
1700 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1702 * docs/gst/gstreamer-sections.txt:
1704 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1706 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1708 * gst/gstpadtemplate.c:
1709 (gst_pad_template_class_init), (gst_static_pad_template_get),
1710 (gst_pad_template_new), (gst_pad_template_pad_created),
1711 (gst_pad_template_set_property), (gst_pad_template_get_property):
1712 Add "name-template", "direction", "presence" and "caps" properties,
1713 so that gst_pad_template_new() is just a thin wrapper around
1714 g_object_new(), which is better for bindings. (Fixes: #539772)
1716 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1719 Be more liberal in what URIs we accept.
1720 Do not unescape bits of the URI for no apparent reason before passing to
1721 the element. Fixes #545352.
1723 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1725 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1728 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1730 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1733 * docs/gst/gstreamer-sections.txt:
1734 * docs/gst/gstreamer.types:
1735 * docs/gst/gstreamer.types.in:
1738 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1739 * gst/gstconfig.h.in:
1740 * gst/gstelement.c: (gst_element_get_index):
1741 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1742 (gst_registry_binary_load_feature),
1743 (gst_registry_binary_read_cache):
1744 * gst/gstregistryxml.c: (load_feature),
1745 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1746 * plugins/Makefile.am:
1748 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1749 (print_plugin_features), (print_element_features):
1750 * tools/gst-xmlinspect.c: (print_event_masks),
1751 (print_element_info):
1752 * win32/common/gstconfig.h:
1753 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1755 Disabling the indexers and URI handler code will only reduce the
1756 required amount of memory by a very small amount but on the other hand
1757 requires much more maintaince work. Apart from that many places of
1758 code are broken when disabling them.
1760 Disabling the enum types doesn't reduce the required amount of memory
1761 by more than a few bytes and makes it hard to fix bugs like #539772,
1762 i.e. use the enums as GObject properties.
1764 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1766 * docs/design/part-TODO.txt:
1767 Add some thoughts and problems with upstream renegotiation.
1769 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1771 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1772 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1773 Remove silly redundant debug.
1774 Add some more debug info.
1775 Clarify the docs regarding new caps received from pad_alloc.
1777 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1779 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1780 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1781 Make setting the caps more threadsafe.
1783 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1785 * docs/design/part-element-transform.txt:
1788 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1790 * plugins/elements/gstqueue.c: (gst_queue_init),
1791 (gst_queue_acceptcaps):
1792 Add and use a custom acceptcaps function instead of falling back to the
1793 potentially less optimized default implementation.
1795 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1797 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1798 Only sanity-check the buffer size if requested_caps == buffer_caps
1799 (ie. don't take pad caps into account, they're not relevant here)
1801 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1803 * plugins/elements/gsttee.c:
1804 * plugins/elements/gsttee.h:
1805 Reverting as not everything is clear yet. Needs some general design
1808 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1811 ChangeLog surgery for tee commit.
1813 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1815 * docs/gst/gstreamer-sections.txt:
1816 Cleanup section-file.
1818 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1820 * plugins/elements/gsttee.c:
1821 * plugins/elements/gsttee.h:
1822 Relay tag events in tee. Fixes parts of #474016.
1823 Downgrades 3 reoccurring debugs to log.
1825 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1828 * libs/gst/Makefile.am:
1829 Build the net library if we have winsock2.
1831 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1833 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1835 * docs/manual/advanced-threads.xml:
1836 * docs/manual/diagrams-pipelines.svg:
1837 * docs/manual/hello-world.png:
1838 * docs/manual/linked-elements.png:
1839 * docs/manual/mime-world.png:
1840 * docs/manual/queue.png:
1841 * docs/manual/thread-buffering.png:
1842 * docs/manual/thread-synchronizing.png:
1843 Replace one diagram with two separate ones and updates others.
1846 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1849 Fix link in documentation.
1851 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1854 Fix confusing documentation.
1856 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1858 * libs/gst/base/gstbasesrc.h:
1859 revert the changes to the header file for the ABI.
1861 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1863 * libs/gst/base/gstbasesrc.c:
1864 * libs/gst/base/gstbasesrc.h:
1865 Don't cache the seekable status.
1868 2008-07-24 Rene Stadler <mail@renestadler.de>
1870 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1871 code to close the pipeline graph. This prevents the program from
1872 printing internal data flow errors.
1874 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1876 * docs/manual/basics-bus.xml:
1877 Correct typo. Fixes bug #544320.
1879 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1882 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1883 Add check (taken from -base) for winsock, adds WIN32_LIBS
1885 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1887 Define GST_EXPORTS when building libgstreamer (only used on win32)
1888 * gst/gst_private.h:
1890 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1891 for symbols that we need to export in both these files.
1893 Include gst_private.h higher up to avoid some compile problems on win32.
1895 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1900 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1903 Previous commit was wrong NULL caps does not exist
1904 and indicate an error, so also add a FIXME to
1905 gst_caps_is_equal where NULL caps are accepted.
1907 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1910 Allow passing of NULL to gst_caps_union
1912 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1914 * gst/gstghostpad.c:
1915 Add in doc that gst_ghost_pad_set_target can accept
1916 NULL to clear target
1918 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1921 * gst/gstregistry.c:
1922 GstRegistryPool doesn't exist; don't refer to it in docs.
1923 Don't refer to functions that don't exist in docs, it's
1926 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1929 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1931 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1933 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1935 * docs/pwg/building-testapp.xml:
1936 Don't use an undeclared variable in the example program.
1939 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1941 * gst/gstdebugutils.c:
1942 Squeeze ghost-pad links and remove <> from classname labels to save
1943 more horizontal space.
1945 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1947 * gst/gstdebugutils.c:
1948 Give request and sometimes pads a different shpe style. Condense the
1949 graphs a little more.
1951 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1954 Don't require flex and bison if the parser is disabled.
1956 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1958 * libs/gst/controller/gstinterpolationcontrolsource.c:
1959 (_list_find_sorted_custom):
1960 Don't use declarations after statements.
1962 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1964 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1965 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1966 of the the child-added / -removed signals as GstChildProxy
1967 only supports GstObjects.
1969 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1971 * gst/gstdebugutils.c:
1974 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1976 Patch by: Alessandro Decina <alessandro at nnva dot org>
1979 Fix "ignored return value" compiler warning with newer glibc.
1981 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1983 * gst/gstchildproxy.c:
1984 Fix copy&paste error in gst_child_proxy_removed() documentation.
1986 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1988 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1989 Print error debug message if plugin description fields that should
1992 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1993 Don't crash if the string to serialise is NULL (it really should
1994 not be, but apparently this used to work with the xml registry ...).
1996 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1998 * tools/gst-plot-timeline.py:
1999 Fix parsing of log messages
2001 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2003 * win32/common/libgstbase.def::
2004 Sort alphabetically so make check-exports doesn't barf.
2006 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2009 Use gst_format_get_name() to improve debug output.
2012 Remove #ifdef'ed code. Add TODO comment.
2015 Add debug output to ease spotting format != segment.format assertions.
2017 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2019 * tests/check/libs/gdp.c: (gst_dp_suite):
2020 Also enable the GDP unit test again on PPC now that the bug
2023 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2025 * libs/gst/dataprotocol/dataprotocol.c:
2026 Don't write to the same region of memory as a uint64 and uint16
2027 as this breaks strict aliasing rules and apparantly breaks on PPC
2028 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2030 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2032 * libs/gst/controller/gstinterpolationcontrolsource.c:
2033 Optimize list handling. Use own find function. Exploit that fact that
2034 the list is sorted. Also pass back the node before, so that we can
2035 insert quickly. Have a fast path for append.
2037 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2039 * docs/design/draft-framestep.txt:
2040 * docs/design/part-negotiation.txt:
2043 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2046 Show configuration sumary after configure run. Based on patch by
2047 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2049 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2051 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2053 * docs/manual/advanced-autoplugging.xml:
2054 * docs/manual/advanced-threads.xml:
2055 * docs/manual/basics-bins.xml:
2056 * docs/manual/basics-elements.xml:
2057 * docs/manual/basics-helloworld.xml:
2058 * docs/manual/basics-pads.xml:
2059 Add scale factor for pdf output.
2061 * docs/manual/intro-basics.xml:
2062 Switched sections "pads" and "bins" and added a pipeline diagram.
2064 * docs/manual/intro-gstreamer.xml:
2065 Added more info on gstreamer.
2067 * docs/manual/intro-motivation.xml:
2068 Commented out the whole section "current problem", which sounds
2069 historical and somehow osolete; it could be turned in a positive
2070 way and reused to improve the design principles.
2072 * docs/manual/intro-preface.xml:
2073 - Update URLs to library.gnome.org.
2074 - Do not mention GTK+ in preliminary reading (irrelevant).
2075 - Mention Plugin Writer's Manual and further reading only in the
2077 - Added a list of most relevant GObject/glib topics.
2079 * docs/manual/Makefile.am:
2080 * docs/manual/bin-element-ghost.fig:
2081 * docs/manual/bin-element-ghost.png:
2082 * docs/manual/bin-element-noghost.fig:
2083 * docs/manual/bin-element-noghost.png:
2084 * docs/manual/bin-element.fig:
2085 * docs/manual/bin-element.png:
2086 * docs/manual/filter-element-multi.fig:
2087 * docs/manual/filter-element-multi.png:
2088 * docs/manual/filter-element.fig:
2089 * docs/manual/filter-element.png:
2090 * docs/manual/gstreamer-overview.png:
2091 * docs/manual/hello-world.fig:
2092 * docs/manual/hello-world.png:
2093 * docs/manual/linked-elements.fig:
2094 * docs/manual/linked-elements.png:
2095 * docs/manual/mime-world.fig:
2096 * docs/manual/mime-world.png:
2097 * docs/manual/queue.fig:
2098 * docs/manual/queue.png:
2099 * docs/manual/simple-player.png:
2100 * docs/manual/sink-element.fig:
2101 * docs/manual/sink-element.png:
2102 * docs/manual/src-element.fig:
2103 * docs/manual/src-element.png:
2104 * docs/manual/diagrams-general.svg:
2105 * docs/manual/diagrams-pipelines.svg:
2106 Removed .fig, added .png counterpart.
2110 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2112 * plugins/elements/gstmultiqueue.c:
2113 * plugins/elements/gstmultiqueue.h:
2114 revert extra-size-buffers stuff, caused some race conditions
2115 and extra-size-buffers is not used anymore. Docs needs some updates
2117 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2119 * win32/common/config.h:
2120 * win32/common/gstenumtypes.c:
2121 * win32/common/gstenumtypes.h:
2122 * win32/common/gstversion.h:
2125 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2127 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2128 (GST_DEBUG_BIN_TO_DOT_FILE):
2129 Add missing Since' markers to gtk-doc blurbs.
2131 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2133 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2134 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2135 (set_caps_1), (set_caps_ct1), (transform_ct1),
2136 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2137 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2138 (transform_size_ct2), (buffer_alloc_ct2):
2139 Add some more tests with switching caps in buffer_alloc.
2141 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2143 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2144 (gst_test_trans_class_init), (result_sink_chain),
2145 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2146 (gst_test_trans_push), (gst_test_trans_pop):
2147 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2148 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2149 (set_caps_1), (set_caps_ct1), (transform_ct1),
2150 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2151 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2152 (transform_size_ct2), (buffer_alloc_ct2),
2153 (gst_basetransform_suite):
2154 More tests, prepare for tests with switching caps in buffer_alloc.
2156 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2158 * plugins/elements/gstmultiqueue.c:
2159 * plugins/elements/gstmultiqueue.h:
2160 Fix dead-lock in underrun_cb
2162 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2164 * docs/design/part-states.txt:
2165 Fix device open/close docs.
2167 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2170 Mention bugnumber for last commit.
2172 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2174 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2176 * docs/manual/manual.xml:
2177 - Reorganised the previous "introduction" bundle into Foreword,
2178 Introduction, and About GStreamer. The two first are <preface>
2179 docbook elements. The later is the first part of the book.
2180 - added intro-gstreamer.xml (content partially from
2182 - moved appendix-win32.xml into appendix-integration.xml
2184 * docs/manual/intro-preface.xml: gstreamer section moved...
2185 * docs/manual/intro-gstreamer.xml: ...here. new file.
2187 * docs/manual/appendix-win32.xml: removed file. Content moved...
2188 * docs/manual/appendix-integration.xml: ...here.
2190 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2191 * docs/manual/appendix-checklist.xml: ...here.
2195 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2197 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2199 * docs/manual/basics-helloworld.xml:
2200 * docs/manual/hello-world.fig:
2201 - Explicitely include glib.h.
2202 - Do not use global variables.
2203 - Use g_printerr() instead of g_print().
2204 - Minor formating/renaming to increase readibility.
2205 - Renamed new_pad() to on_pad_added()
2206 - Improved explenatory comments.
2207 - renamed ogg parser to ogg demuxer
2208 - Use "autoaudiosink" instead of "alsasink".
2211 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2214 Remove cvs conflict marker.
2216 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2219 Document that for plgin-docs we extraxt he short-desc from the element
2222 * docs/design/part-states.txt:
2223 Tell that devices should be closed in PAUSED -> READY.
2225 * docs/manual/README:
2226 Document how tests in the manual are handled.
2231 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2233 * gst/gstbin.c: (bin_query_latency_fold):
2234 Only care about latency min and max when the sink is actually a live
2237 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2239 * docs/design/part-block.txt:
2242 * docs/design/part-element-transform.txt:
2243 Add notes about why transform needs to know input/output sizes.
2244 Add some issues that need to be solved.
2245 Add some more use cases.
2247 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2248 (gst_test_trans_class_init), (result_sink_chain),
2249 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2250 (gst_test_trans_push), (gst_test_trans_pop):
2251 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2252 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2253 (set_caps_1), (set_caps_ct1), (transform_ct1),
2254 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2255 (gst_basetransform_suite):
2256 Add suport for different pad templates and buffer-alloc.
2257 Add more checks for caps and buffer-alloc.
2258 Add checks for proxy buffer alloc.
2259 Add unit test for copy transform.
2261 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2263 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2265 * docs/manual/appendix-integration.xml:
2266 * docs/manual/appendix-licensing.xml:
2267 * docs/manual/basics-elements.xml:
2268 * docs/manual/basics-helloworld.xml:
2269 * docs/manual/basics-pads.xml:
2270 * docs/manual/highlevel-components.xml:
2271 * docs/manual/highlevel-xml.xml:
2272 * docs/manual/intro-basics.xml:
2273 * docs/manual/intro-preface.xml:
2274 Typo and formatting fixes (#538594).
2276 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2278 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2279 Fix some memory leaks and uses of object instances that we don't
2282 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2284 * plugins/elements/gstmultiqueue.c:
2285 Add functionality to extra-size-buffers property.
2287 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2289 * plugins/elements/gstmultiqueue.c:
2290 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2291 activate the pads if they are added in STATE_NULL.
2293 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2295 * docs/libs/gstreamer-libs-sections.txt:
2297 * libs/gst/check/gstcheck.c:
2298 * libs/gst/check/gstcheck.h:
2299 API: gst_check_teardown_pad_by_name
2301 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2303 * libs/gst/check/gstcheck.c:
2304 * libs/gst/check/gstcheck.h:
2305 Also setup request pads and allow setup pads by name (#537812)
2306 API: gst_check_setup_src_pad_by_name
2307 API: gst_check_setup_sink_pad_by_name
2309 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2311 * tests/check/gst/gstbuffer.c:
2312 * tests/check/pipelines/parse-launch.c:
2313 Use HAVE_VALGRIND_H some more.
2315 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2317 * scripts/cvs-update.sh:
2318 Pass arguments to make.
2319 Run autoregen.sh if Makefile is not there.
2321 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2325 Don't assume that <valgrind/valgrind.h> exists just because
2326 the binary is there.
2328 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2330 * tests/check/Makefile.am:
2331 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2332 (gst_test_trans_class_init), (gst_test_trans_init),
2333 (gst_test_trans_set_data), (result_sink_chain),
2334 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2335 (gst_test_trans_pop):
2336 * tests/check/libs/transform1.c: (GST_START_TEST),
2337 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2338 Add some test basetransform element and the beginnings of various
2341 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2343 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2344 Increase code readability.
2345 Don't try to compare buffer offsets when ther are invalid.
2347 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2349 * docs/design/Makefile.am:
2350 Dist some more design docs.
2352 * docs/random/moving-plugins:
2353 Small addition: good plugins mustn't have functional code
2354 within assertion macros.
2356 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2358 * docs/design/draft-framestep.txt:
2359 Some ideas about a framestep API
2361 * docs/design/part-element-transform.txt:
2362 Start design and use cases for basetransform in order to get it
2365 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2368 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2369 be in UTF-8 encoding.
2371 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2374 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2376 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2378 * plugins/elements/gstcapsfilter.c:
2379 * plugins/elements/gstfakesink.c:
2380 * plugins/elements/gstfakesrc.c:
2381 * plugins/elements/gstfdsink.c:
2382 * plugins/elements/gstfdsrc.c:
2383 * plugins/elements/gstfilesink.c:
2384 * plugins/elements/gstfilesrc.c:
2385 * plugins/elements/gstidentity.c:
2386 * plugins/elements/gstmultiqueue.c:
2387 * plugins/elements/gstqueue.c:
2388 * plugins/elements/gsttee.c:
2389 * plugins/elements/gsttypefindelement.c:
2390 Remove short_description. Add basic docs for gsttypefindelement.
2391 Simplify markup for fakesrc/fdsrc.
2393 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2395 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2398 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2400 Patch by: Joel Larsson <tilljoel at gmail dot com>
2402 * docs/plugins/gstreamer-plugins.args:
2403 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2404 (gst_fd_src_init), (gst_fd_src_update_fd),
2405 (gst_fd_src_set_property), (gst_fd_src_get_property),
2406 (gst_fd_src_create):
2407 * plugins/elements/gstfdsrc.h:
2408 Add timeout property like udpsrc. Fixes #538628.
2409 Add some more docs and example pipelines.
2411 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2413 * docs/libs/gstreamer-libs-sections.txt:
2414 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2415 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2416 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2417 (gst_base_sink_do_sync):
2418 * libs/gst/base/gstbasesink.h:
2419 * win32/common/libgstbase.def:
2420 Add method to allow sinks to specify additional delay between the sync
2421 times and the actual rendering of the data.
2422 API: gst_base_sink_set_render_delay()
2423 API: gst_base_sink_get_render_delay()
2425 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2428 Bump version number back to dev -> 0.10.20.1
2430 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2432 * docs/gst/gstreamer-sections.txt:
2433 * gst/gsttaglist.c: (_gst_tag_initialize):
2435 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2438 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2440 * libs/gst/controller/gstcontroller.c:
2441 Revert one change, that make ret value possible uninitialized.
2443 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2445 * libs/gst/controller/gstcontroller.c:
2446 Use freeze/thaw notify to sync notify emission a bit (its also more
2447 efficient). Move debug output to LOG (is called a lot in a loop).
2448 Always unset g_values if the have been initialized.
2450 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2452 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2453 (gst_base_sink_wait_eos), (gst_base_sink_event):
2454 If we have not seen a buffer before EOS, use the segment values to
2455 report the current position instead of invalid positions.
2457 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2459 * docs/plugins/tmpl/.cvsignore:
2460 * tests/check/gst/.cvsignore:
2463 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2465 * libs/gst/controller/gstinterpolation.c:
2466 * libs/gst/controller/gstinterpolationcontrolsource.c:
2467 * tests/check/libs/controller.c:
2468 Rewrite handling of default values. Fix overflow with unsigned types
2469 in linear interpolation. Remove now obsolete _first_value() function.
2470 Add more tests. Fixes #538201.
2472 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2474 * libs/gst/base/gstbasetransform.c:
2475 (gst_base_transform_class_init), (gst_base_transform_init),
2476 (gst_base_transform_transform_caps),
2477 (gst_base_transform_prepare_output_buffer):
2479 When a buffer is writable, its metadata is also writable so we don't
2480 need to subbuffer (which then makes the buffer not-writable anymore).
2482 === release 0.10.20 ===
2484 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2487 releasing 0.10.20, "You Crazy Diamond"
2489 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2492 0.10.19.3 pre-release
2494 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2498 Rename DATADIR to GST_DATADIR to avoid build problems
2499 on win32. Patch By: David Schleef <ds@schleef.org>
2502 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2505 Explicitely link with -ldl if dladdr() is found there. Before it was
2506 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2507 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2509 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2511 * gst/gsterror.c: (_gst_stream_errors_init):
2512 Fix typo (spotted by Fabricio Godoy, #536723).
2514 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2517 0.10.19.2 pre-release
2519 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2521 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2522 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2524 Make sure we don't generate invalid QoS messages.
2526 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2528 * gst/gstevent.c: (gst_event_new_qos):
2529 Add some assert and docs for invalid input to the qos function.
2531 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2533 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2534 (gst_base_sink_get_position):
2535 The reported position must always be smaller than the last seen
2536 timestamps (or timestamp + duration for reverse).
2538 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2540 Patch by: Rob Bradford <rob at robster dot org dot uk>
2542 * gst/gstregistry.c: (gst_registry_scan_path_level):
2543 Don't recurse into .debug directories as some distros install
2544 the debugging symbols next to the plugins in .debug directories
2545 and dlopen() crashes on them sometimes. Fixes bug #508070.
2547 Add FIXME for 0.11 to not recurse into directories at all because
2548 it's very inconsistent to the behaviour of other PATH environment
2551 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2553 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2554 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2555 Fix position query range checks in reverse playback.
2557 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2561 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2562 clear of the reference to the resulting pad must be released later
2563 or not, resulting in possible leaks. Fixes bug #533865.
2565 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2567 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2569 * gst/gstelementfactory.c:
2570 Small doc fix. Fixes #535285.
2572 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2574 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2576 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2577 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2578 (gst_base_src_loop), (gst_base_src_set_flushing),
2579 (gst_base_src_change_state):
2580 Make sending an EOS event to the basesrc non-blocking even if the
2581 implementation does blocking waits in the create function. This is done
2582 by unlocking the create function when EOS is sent.
2585 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2587 * tools/gst-inspect.c: (print_element_properties_info):
2588 If possible print the element type of GValueArray properties.
2590 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2592 * gst/gstiterator.c:
2593 Remove an unused field from the private GstListIterator struct.
2595 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2597 * libs/gst/controller/gstcontroller.c:
2598 Add parameter guards.
2600 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2602 * tests/check/gst/gstpipeline.c:
2603 Revert test change and add comment why it should not work.
2605 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2607 * tests/check/gst/gstpipeline.c:
2608 Extending the test a little to verify that we also get the NULL state-
2611 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2613 * gst/gstpreset.c: (gst_preset_default_get_meta),
2614 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2615 (gst_preset_load_preset), (gst_preset_save_preset),
2616 (gst_preset_rename_preset), (gst_preset_delete_preset),
2617 (gst_preset_set_meta):
2618 Add Since: markers to docs blurbs.
2620 * win32/common/libgstreamer.def:
2621 Add recently-added API.
2623 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2625 Patch by: Stefan Kost <ensonic@users.sf.net>
2628 Add DATADIR for storing presets.
2630 * docs/gst/gstreamer-docs.sgml:
2631 * docs/gst/gstreamer-sections.txt:
2632 * docs/gst/gstreamer.types.in:
2633 Add GstPreset to docs.
2637 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2638 (preset_open_and_parse_header), (preset_parse_version),
2639 (preset_merge), (preset_get_keyfile),
2640 (gst_preset_default_get_preset_names),
2641 (gst_preset_default_get_property_names),
2642 (gst_preset_default_load_preset),
2643 (gst_preset_default_save_presets_file),
2644 (gst_preset_default_save_preset),
2645 (gst_preset_default_rename_preset),
2646 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2647 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2648 (gst_preset_default_reset), (gst_preset_get_preset_names),
2649 (gst_preset_get_property_names), (gst_preset_load_preset),
2650 (gst_preset_save_preset), (gst_preset_rename_preset),
2651 (gst_preset_delete_preset), (gst_preset_set_meta),
2652 (gst_preset_get_meta), (gst_preset_class_init),
2653 (gst_preset_base_init), (gst_preset_get_type):
2655 Add GstPreset to core. Fixes #396779
2657 * tests/check/Makefile.am:
2658 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2659 (gst_preset_test_set_property), (gst_preset_test_class_init),
2660 (gst_preset_test_base_init), (gst_preset_test_get_type),
2661 (gst_preset_test_plugin_init), (GST_START_TEST),
2662 (remove_preset_file), (test_setup), (test_teardown),
2664 Add GstPreset unit tests.
2666 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2668 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2669 The default event function on a sinkpad should return TRUE when
2670 there are no internal links but should collect the return values from
2671 the internal links otherwise.
2673 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2675 * plugins/elements/gsttypefindelement.c:
2676 (gst_type_find_element_src_event),
2677 (gst_type_find_element_handle_event):
2678 Use faster and safer _pad_push_event().
2680 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2682 * docs/gst/gstreamer-sections.txt:
2683 * gst/gstutils.c: (element_find_unlinked_pad),
2684 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2686 API: add gst_bin_find_unlinked_pad()
2687 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2689 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2695 Fixed a bunch of typos.
2697 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2700 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2701 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2702 (gst_parse_bin_from_description_full):
2704 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2706 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2708 * docs/pwg/advanced-tagging.xml:
2709 Small docs update, can't be bothered to rewrite the nonsensical
2712 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2715 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2717 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2719 * gst/parse/grammar.y:
2720 Remove unneeded casts.
2722 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2724 * gst/parse/grammar.y:
2725 * tests/check/pipelines/parse-launch.c:
2726 Get all missing elements from a parse launch string if possible
2727 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2729 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2731 * tests/check/Makefile.am:
2732 * tests/check/pipelines/parse-launch.c:
2733 Add some unit tests for the new gst_parse_launch*_full() API.
2734 (Exposes a previously-existing memory leak in the error code
2735 path, so adding to VALGRIND_TO_FIX for now).
2737 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2739 * docs/gst/gstreamer-sections.txt:
2740 * gst/gst.c: (init_post):
2741 * gst/gst_private.h: (_GstParseContext):
2742 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2743 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2744 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2745 (gst_parse_launch_full):
2746 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2747 (GstParseFlags), (GstParseContext):
2748 * gst/gstutils.c: (gst_parse_bin_from_description),
2749 (gst_parse_bin_from_description_full):
2751 * gst/parse/grammar.y:
2752 * gst/parse/types.h:
2753 * win32/common/libgstreamer.def:
2754 Add new gst_parse_*_full API (#528178):
2755 API: gst_parse_launch_full()
2756 API: gst_parse_launchv_full()
2757 API: gst_parse_bin_from_description_full()
2758 API: gst_parse_context_new()
2759 API: gst_parse_context_free()
2760 API: gst_parse_context_get_missing_elements()
2762 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2764 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2766 * docs/faq/gst-uninstalled:
2767 Also support ffmpeg in gst-uninstalled.
2769 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2772 After discussion on IRC use the binary registry as default
2773 but allow to disable it with --disable-binary-registry.
2775 * win32/common/libgstreamer.def:
2776 Add the two new symbols for the binary registry.
2778 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2780 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2781 * gst/gstutils.c: (gst_parse_bin_from_description):
2782 * gst/parse/grammar.y: (graph):
2783 More guards against bad input; typo fix; some minor clean-ups.
2785 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2787 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2789 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2790 If nothing else can be used, use the last buffer's start time as
2791 the segment's last stop. Fixes bug #534258.
2793 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2795 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2796 Move size sanity check to the right place: downstream may return
2797 a buffer with a smaller size if the buffer caps are different than
2798 the requested ones, as may happen when doing reverse negotiation.
2800 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2802 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2803 (gst_file_sink_render):
2804 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2805 (gst_file_src_start):
2806 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2809 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2811 * gst/gstpad.c: (gst_pad_load_and_link):
2812 * gst/gstutils.c: (gst_element_link_pads),
2813 (gst_element_unlink_pads):
2814 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2815 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2816 (gst_check_teardown_sink_pad),
2817 (gst_check_element_push_buffer_list):
2818 * tests/check/elements/fakesink.c: (GST_START_TEST):
2819 * tests/check/elements/filesink.c:
2820 * tests/check/elements/filesrc.c: (GST_START_TEST):
2821 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2822 (mq_sinkpad_to_srcpad):
2823 * tests/check/elements/tee.c: (GST_START_TEST):
2824 * tests/check/generic/sinks.c: (GST_START_TEST):
2825 * tests/check/gst/gstbin.c: (GST_START_TEST):
2826 * tests/check/gst/gstevent.c: (GST_START_TEST):
2827 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2828 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2829 * tests/check/gst/gstquery.c: (GST_START_TEST):
2830 * tests/check/gst/gstutils.c: (GST_START_TEST):
2831 * tests/check/libs/basesrc.c: (GST_START_TEST):
2832 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2833 (gst_parse_test_element_change_state):
2834 Don't use gst_element_get_pad().
2836 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2839 Fix installing plugin documentation when gtk-doc is disabled.
2841 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2843 * docs/manual/advanced-autoplugging.xml:
2844 * docs/manual/basics-helloworld.xml:
2845 * docs/manual/basics-pads.xml:
2846 * docs/manual/highlevel-components.xml:
2847 Avoid using a bad function in the example code.
2849 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2851 * gst/gstclock.c: (gst_clock_set_calibration):
2852 Fix debug of the new clock rate.
2854 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2856 * win32/common/libgstbase.def:
2857 Add gst_base_sink_wait_clock() to the exported symbols.
2859 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2861 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2863 * libs/gst/base/gstbasetransform.c:
2864 (gst_base_transform_sink_event):
2865 Unref events that the GstBaseTransform::event vfunc didn't want to
2866 have forwarded by the base class. Closes a leak in identity.
2869 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2871 * docs/libs/gstreamer-libs-sections.txt:
2872 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2873 * libs/gst/base/gstbasesink.h:
2874 Expose a method that was previously used internally to synchronize
2875 against the clock because it can be useful for subclasses too.
2876 API: GstBaseSink::gst_base_sink_wait_clock()
2878 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2880 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2881 Add sanity check to make sure we don't get smaller buffers
2882 than requested (and fallback to normal buffer alloc if we do).
2884 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2886 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2887 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2888 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2889 Refactor adjusting the running_time with latency and offset into a
2891 When doing clipping, we still want to use the subclass get_times method,
2892 just in case the DURATION or TIMESTAMP are not set.
2894 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2896 * docs/gst/gstreamer-sections.txt:
2897 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2898 * gst/gsttypefind.h:
2899 * win32/common/libgstreamer.def:
2900 API: add gst_type_find_suggest_simple(), #533740.
2902 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2904 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2905 Use right error code when typefinding fails, so we can use
2906 the default (translated) error messages.
2908 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2910 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2911 (gst_base_src_start):
2912 When the subclass did not set caps on outgoing buffers, configure the
2913 caps we negotiated on the source pad.
2914 When the typefind helper does not find caps, error out properly instead
2915 of doing things with NULL caps.
2917 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2919 * gst/gsttypefind.h:
2920 Tabs to spaces, oh yes!
2922 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2924 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2925 Add David's and Benjamin's tests for array intersection to the
2926 unit test suite (#147931).
2928 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2931 Document that gst_event_new_tag() and gst_event_new_navigation()
2932 take ownership of the taglist/structure passed to them. (#533635).
2934 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2937 Don't descend into the plugins dir if plugin docs building
2941 Add a note about the new type:GTypeName syntax for the plugin
2942 documentation .types file.
2944 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2946 * gst/gstmessage.c: (gst_message_new_error),
2947 (gst_message_new_warning), (gst_message_new_info):
2949 Mark the debug string parameters as const. Fixes bug #533490.
2951 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2953 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2954 Sort buffer cache list by end offsets. This makes sure that we don't
2955 stop to search for a cached buffer that contains the requested data
2957 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2958 more efficient. Fixes bug #459862.
2960 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2963 Explain why we copy the list.
2965 * gst/gstpipeline.c:
2969 Add one debug-log statement to help tracing probelms with linking pads.
2971 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2973 * tests/check/gst/gstinfo.c:
2974 Add a test for removing the default log handler. Seems to fail under
2977 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2979 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2980 Release pad lock before calling out to avoid a possible deadlock.
2982 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2984 * gst/parse/grammar.y:
2985 Remove unneeded value unset.
2987 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2988 Add unit test for de/serialization of caps.
2990 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2992 * plugins/elements/gstfakesink.c:
2993 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2994 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2995 (gst_fake_src_class_init):
2996 Use custom marshalers that take GstMiniObject as first parameter.
2997 Using OBJECT as parameter while a GstMiniObject is given will lead
2998 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3000 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3002 * plugins/elements/gsttypefindelement.c:
3003 (gst_type_find_element_handle_event),
3004 (gst_type_find_element_send_cached_events),
3005 (gst_type_find_element_change_state):
3006 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3009 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3011 * plugins/elements/gsttypefindelement.c:
3012 (gst_type_find_handle_src_query), (stop_typefinding),
3013 (gst_type_find_element_handle_event),
3014 (gst_type_find_element_send_cached_events),
3015 (gst_type_find_element_change_state):
3016 Forward FLUSH_START events immediately and clean up instead of
3019 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3021 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3023 * libs/gst/base/gstbasetransform.c:
3024 (gst_base_transform_buffer_alloc):
3025 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3026 fall back to default negotiation in the chain function if the caps
3027 are different from what was requested. Fixes bug #526768.
3029 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3032 * tests/check/gst/gstsegment.c:
3033 No, let's not use g_slice_{dup|copy} here, since they only exist
3034 since GLib 2.14 and we still depend only on >= 2.12. Also add
3035 unit test for gst_segment_copy().
3037 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3039 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3040 Try to fix 'dereferencing type-punned pointer will break strict
3041 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3042 changed the default GType typedef from gulong to gsize at some point,
3043 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3044 g_once_* functions all take a gsize * though, so work around the type
3045 mismatch for C++ by doing everything in gsize and casting to GType
3048 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3050 * plugins/elements/gstmultiqueue.c:
3051 Add documentation for the signals to push our core plugin docs
3052 coverage back up to 100%.
3054 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3056 * gst/gstinfo.h (GST_FUNCTION):
3057 Reverted GST_FUNCTION to the old version as we don't want the
3058 full signature in C++ code. Also added support for MSVC.
3060 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3063 Intern the type name string, similar to what G_DEFINE_TYPE does.
3065 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3068 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3070 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3072 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3074 * libs/gst/base/gstbasetransform.c:
3075 (gst_base_transform_buffer_alloc):
3076 Don't passthrough buffer allocation too easily if the caps change.
3077 This breaks when working in passthrough mode and upstream changes
3078 it's caps. Fixes bug #526768.
3080 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3082 * gst/gstinfo.c (gst_debug_log_valist):
3083 Improved the __FILE__ part of debug output for MSVC.
3085 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3087 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3088 Declaration after statement fix for compilers like MSVC.
3090 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3092 * win32/common/config.h.in:
3093 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3094 use the real thing than having "???" unconditionally.
3096 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3098 * gst/gstinfo.h (GST_FUNCTION):
3099 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3101 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3103 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3106 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3107 (gst_base_sink_set_flushing):
3108 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3111 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3113 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3114 (gst_fake_src_init), (gst_fake_src_set_property),
3115 (gst_fake_src_get_property), (gst_fake_src_start):
3116 * plugins/elements/gstfakesrc.h:
3117 Added format property to control the format of the newsegment events.
3118 API: GstFakeSrc:format
3120 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3122 * win32/common/libgstreamer.def:
3123 Add gst_pad_has_name() to the exported symbols.
3125 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3127 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3128 * libs/gst/base/gstbasetransform.c:
3129 (gst_base_transform_prepare_output_buffer):
3130 Don't allow negative sizes when allocating new buffers.
3133 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3135 Patch by: Sjoerd Simons <sjoerd at luon net>
3137 * gst/gstbus.c: (gst_bus_source_dispatch):
3138 Don't print a warning if the queue is empty when we try to pop
3139 here. That could happen if another thread or callback set the
3140 bus to flushing between the source's check/prepare and the
3141 dispatch being called (#531538).
3143 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3145 * plugins/elements/gstmultiqueue.c:
3148 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3150 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3151 Add unit test for deserializing uint64s and check some really large
3152 numbers in the int64 test.
3154 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3156 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3157 (print_interfaces), (print_element_properties_info),
3158 (print_signal_info):
3159 Use "%s" as format string instead of printing strings directly.
3161 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3163 * gst/gstclock.c: (gst_clock_set_calibration):
3164 Make some checks actually useful.
3166 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3167 Remove some unused code. Unsigned integers tend to be >= 0.
3169 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3171 * gst/gstminiobject.c: (gst_value_get_mini_object):
3172 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3173 function was not in the unscheduled 0.10.19 release.
3175 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3177 * gst/gstregistry.c: (gst_registry_scan_path_level):
3178 Only print one log message per non-plugin file.
3180 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3182 * gst/gstinfo.c: (gst_debug_log_default):
3183 Fix alignment of debug log columns on 64-bit.
3185 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3187 * docs/libs/Makefile.am:
3188 * docs/libs/gstreamer-libs-sections.txt:
3189 Ignore private controller headers for docs.
3191 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3193 * libs/gst/controller/gstcontrollerprivate.h:
3194 * libs/gst/controller/gsthelper.c:
3195 * libs/gst/controller/gstinterpolation.c:
3196 * libs/gst/controller/gstinterpolationcontrolsource.c:
3197 (gst_interpolation_control_source_set_interpolation_mode):
3198 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3199 * libs/gst/controller/lib.c:
3200 Move some private declarations into private headers.
3202 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3204 * gst/gstdebugutils.c: (debug_dump_element_pad):
3205 Remove some code that is unused after Stefan's refactoring and uses
3206 uninitialized variables now, resulting in a compiler warning.
3208 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3210 * gst/gstregistry.c: (gst_registry_scan_path_level):
3211 Run g_str_has_suffix() only on the file name, not the
3214 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3216 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3217 Since we're not called only from the chain function any longer,
3218 we can't assume that there's always data in the queue, so move
3219 the is_full check to the beginning of the loop (otherwise we'd
3220 hit the assert when changing the limit properties while the
3221 queue is empty or not running yet).
3222 Also, only set a discont if items were actually removed from
3225 * tests/check/elements/queue.c: (test_leaky_downstream):
3226 Test case for the above.
3228 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3230 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3232 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3233 (gst_queue_chain), (queue_capacity_change),
3234 (gst_queue_set_property):
3235 When changing thr max capacity of a leaky queue, immediatly drop buffers
3236 instead of waiting for a push on the sinkpad. Fixes #530637.
3238 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3240 * gst/gstdebugutils.c:
3241 Refactor code and fix handling of ghostpads and their proxypads.
3243 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3245 * docs/gst/gstreamer-sections.txt:
3246 * gst/gstevent.c: (gst_event_has_name):
3248 * tests/check/gst/gstevent.c: (GST_START_TEST):
3249 Add method to conveniently check the name of a custom event with
3250 gst_event_has_name().
3251 Reformat the event docs so that related methods are put together instead
3252 of the default alphabetical sort.
3253 Update unit test with new method.
3254 API: GstEvent::gst_event_has_name()
3256 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3258 * libs/gst/check/Makefile.am:
3259 Don't add an explicit link to libgstreamer-0.10.la; it's already
3260 included in GST_OBJ_LIBS.
3262 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3265 Register GstClock type from a type-safe context. Fixes bug #530317.
3267 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3269 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3271 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3273 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3275 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3277 Use the GLib stuff to create a private structure.
3278 Add some locking around some dispose methods to make them a little
3279 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3281 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3283 * libs/gst/base/gstbasesink.h:
3284 * libs/gst/base/gstbasesrc.h:
3285 * libs/gst/base/gstbasetransform.h:
3286 * libs/gst/base/gstcollectpads.h:
3287 Fix doc typos and unify caps a bit.
3289 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3291 * tools/gst-launch.1.in:
3292 Forgot to also add the envvar docs here.
3294 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3296 * gst/gst.c: (init_post), (gst_deinit):
3297 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3298 (test_concurrent_create), (gst_pipeline_suite):
3299 Ref some more classes in gst_init() to work around thread-safety
3300 issues in pre-2.16 GLibs, and add basic unit test.
3302 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3304 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3305 (gst_base_sink_send_event):
3306 Rearrange the latency query code. We always want to do the upstream
3307 query, even if we are not live so that the upstream elements can get the
3308 latency results too. If we fail doing the query and we are live, we
3309 return TRUE afterwards.
3311 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3313 patch by: Jason Zhao <e3423c@motorola.com>
3315 * docs/gst/running.xml:
3317 Enable/disable scan_and_update_registry() based on commandline switch
3318 or environment variable. Fixes #520468.
3321 Fix typo in my previous commit.
3323 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3325 * gst/gstregistrybinary.c:
3326 Add a warning if we hit unhandled factories when saving.
3327 More debug logging detail, but move to LOG category.
3329 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3331 * gst/gstregistry.c:
3332 Tell the *truth* when improving the documentation.
3334 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3336 * gst/gstelementfactory.c: (gst_element_factory_make):
3337 Unref the factory after it was used the last time, not before.
3339 * gst/gstindexfactory.c: (gst_index_factory_make):
3340 Improve debugging a bit and don't leak a ref to the index factory with
3343 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3345 * gst/gstregistry.c:
3346 Improve the documentation.
3348 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3351 The glib macro seems to be borked. Use g_slice_copy directly and cast
3352 in the hope that this fixes the warning on 64bit.
3354 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3357 Document the new function. Use g_slice_dup() (no need for
3358 gst_segment_init()).
3360 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3362 * docs/gst/gstreamer-sections.txt:
3363 Move GParamSepc macros to standart section.
3366 Dn't document _get_type - its in private section in docs anyway and
3367 this doc-blob was incomplete.
3370 Fix wrong symbol names in docs.
3373 Add once doc sentence.
3375 * tests/check/gst/.cvsignore:
3378 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3380 * docs/gst/Makefile.am:
3381 And remove those libs here.
3383 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3385 * docs/libs/Makefile.am:
3386 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3388 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3390 Patch by: Olivier Crete <tester at tester dot ca>
3392 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3393 Add the min-threshold to the min latency if possible. Fixes #529148.
3395 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3397 * docs/gst/gstreamer.types.in:
3398 Stupid editor, I removed that line as it should go in yet.
3400 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3402 * docs/gst/gstreamer.types.in:
3403 * docs/libs/gstreamer-libs.types:
3404 Remove library types fro core docs and have them in libs docs.
3405 Reformat and cleanup. Add comment for miniobject types.
3407 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3409 * gst/gsturi.c: (gst_uri_get_protocol):
3410 Fix leak: g_strdown operates on the string in place, while
3411 g_ascii_strdown() returns a newly-allocated string.
3413 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3415 * tools/gst-inspect.c: (print_uri_handler_info),
3416 (print_element_info):
3417 Print the URI protocols and the URI type supported by the element.
3419 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3422 Use g_value_take_string() instead of the deprecated
3423 g_value_set_string_take_ownership().
3425 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3427 * gst/gstregistrybinary.c: (_gst_crc32):
3428 Return the old CRC instead of 0 if we give a NULL buffer
3429 or a buffer with a length of 0.
3431 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3433 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3434 (gst_uri_get_protocol), (gst_uri_has_protocol),
3435 (gst_uri_construct), (gst_uri_handler_set_uri):
3436 A valid URI scheme can also include '+', '-' and '.' additional
3437 to alphanumeric characters as per RFC 3986 Section 3.1.
3439 Handle URI schemes case insensitive in all places and convert
3440 to lower-case when constructing an URI or setting an URI with
3441 the GstURIHandler interface. Fixes bug #528868.
3442 All elements can still assume (as before) that they will
3443 get passed URIs with a lower-case URI scheme by the GstURIHandler
3446 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3448 * gst/gstcaps.c: (gst_static_caps_get):
3449 * gst/gstclock.c: (gst_clock_entry_new):
3450 Don't use g_atomic_set_int where it's not needed.
3452 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3454 * gst/gstvalue.c: (gst_value_deserialize_caps):
3455 * gst/parse/grammar.y:
3458 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3460 * gst/gstutils.c: (gst_atomic_int_set):
3461 Use g_atomic_int_set() here too instead of assignment +
3464 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3468 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3469 now that we depend on new enough GLib.
3471 * gst/gstcaps.c: (gst_static_caps_get):
3472 * gst/gstclock.c: (gst_clock_entry_new):
3473 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3474 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3475 (gst_debug_category_set_threshold):
3476 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3477 (gst_base_sink_set_qos_enabled):
3478 * libs/gst/net/gstnettimeprovider.c:
3479 (gst_net_time_provider_set_property):
3480 Use g_atomic_int_set() instead of gst_atomic_int_set().
3482 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3485 Also use G_GINT64_CONSTANT for the queries.
3487 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3490 Use G_GINT64_CONSTANT in varargs function.
3492 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3494 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3495 Initialize the registry magic with zeroes.
3497 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3499 * gst/gstregistrybinary.c: (_gst_crc32),
3500 (gst_registry_binary_write),
3501 (gst_registry_binary_initialize_magic),
3502 (gst_registry_binary_write_cache),
3503 (gst_registry_binary_check_magic),
3504 (gst_registry_binary_read_cache):
3505 * gst/gstregistrybinary.h:
3506 Add crc32 checksum to the binary registry file and check this before
3507 accepting a registry file.
3509 Also free the data list when writing to the registry file fails.
3511 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3513 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3514 (gst_registry_binary_load_feature),
3515 (gst_registry_binary_load_plugin):
3516 If an element supports the Uri interface, returns a valid pointer
3517 to the supported URI protocols but this pointer contains nothing
3518 don't try to save that as it will corrupt the registry.
3520 Don't unref the plugin if we added it to the registry already but
3521 fail to load a feature as gst_registry_add_plugin() takes ownership
3524 Improve debugging a bit.
3526 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3529 Clarify some tag item docs after discussion on irc.
3531 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3533 * docs/gst/gstreamer-docs.sgml:
3534 Remove commented out plugins (they have their own docs). Update
3537 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3539 * docs/gst/gstreamer-docs.sgml:
3540 * docs/gst/gstreamer-sections.txt:
3541 * gst/gstparamspecs.c:
3542 * gst/gstparamspecs.h:
3543 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3544 docs to own section.
3547 This now only documents GValue.
3549 * docs/libs/gstreamer-libs-sections.txt:
3550 * libs/gst/controller/gstcontroller.h:
3551 Remove GST_PARAM_CONTROLLABLE.
3553 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3556 Correct file path. Tell about how to use -overrides.txt.
3557 * docs/design/draft-tagreading.txt:
3558 Small design update.
3560 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3562 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3563 (gst_registry_binary_load_plugin):
3564 Fix a typo in a debug message and revert change from yesterday as
3565 gst_registry_add_plugin() will only fail if something is really wrong
3566 already and we can't survive it anyway.
3568 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3570 * gst/gst.c: (init_post), (gst_deinit):
3571 Pre-register GstGError GType from a thread-safe context
3572 (fixes #527967); unref enum type classes in deinit.
3574 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3576 Patch by: Rene Stadler <mail at renestadler de>
3578 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3579 Merging an empty list with another list in KEEP_ALL mode should
3580 yield an empty list as result and not the second list (#512578).
3582 * tests/check/gst/gsttagsetter.c:
3583 Add unit test for tag merge modes and the aforementioned bug.
3585 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3587 Patch by: Rene Stadler <mail at renestadler de>
3590 Fix description to match the order in the table (#512577).
3592 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3594 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3596 * libs/gst/net/gstnettimepacket.h:
3597 * docs/libs/gstreamer-libs-sections.txt:
3598 Define socklen_t as int if it's not defined yet. Fixes compilation
3599 with MSVC6 and other versions where socklen_t is not defined in
3600 the windows headers (#518022).
3602 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3604 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3605 If gst_registry_add_plugin() fails our reference to the plugin is
3606 invalid so don't try to use it anymore and instead error out.
3608 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3610 * tools/gst-xmlinspect.c: (print_element_info), (main):
3611 De-cruft a bit. If no argument is specified, print all elements in
3612 XML syntax rather than a freestyle list of elements like gst-inspect.
3613 Also, don't print XML header chunk unless we actually have something
3614 to print (ie. don't print it before an error message); print error
3615 message to stderr not stdout. Remove support for printing plugin
3616 info (it would just output something freestyle along the lines of
3617 gst-inspect so far), which fixes #514507. Also add license header.
3619 2008-04-11 Julien Moutte <julien@fluendo.com>
3622 * configure.ac: Merge platform specific defines, introduce a new
3623 define on OS X to remember that forking when updating registry is
3625 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3627 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3629 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3630 condition that leads to absolutely no plugins being registered on
3633 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3635 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3637 * gst/gstutils.c: (gst_pad_add_data_probe),
3638 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3639 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3640 (gst_pad_add_buffer_probe_full):
3642 * docs/gst/gstreamer-sections.txt:
3643 * win32/common/libgstreamer.def:
3644 Add gst_pad_add_*_probe_full() functions with a notify callback that
3645 lets the caller free the data it passes to the probe functions. This
3646 is useful for bindings such as gst-python or gstreamermm (#526814).
3647 API: gst_pad_add_data_probe_full
3648 API: gst_pad_add_buffer_probe_full
3649 API: gst_pad_add_event_probe_full
3651 * tests/check/gst/gstutils.c:
3652 Add minimal unit test to make sure freeing the data actually works
3655 * tests/benchmarks/.cvsignore:
3656 Random cvsignore addendum.
3658 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3660 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3661 (GST_DEBUG_BIN_TO_DOT_FILE):
3662 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3663 to it in the docs (since these are macros the types of the arguments
3664 won't be shown in the docs otherwise).
3666 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3669 Do not abort on out of memory for pad_alloc_buffer.
3671 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3673 * libs/gst/check/gstcheck.c:
3674 Remove blank line between symbol name ad parameters to fix gtkdoc
3677 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3679 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3681 * docs/gst/gstreamer-sections.txt:
3684 * win32/common/libgstreamer.def:
3685 Expose gst_segment_copy() to make things easier for the c++ bindings.
3687 API: gst_segment_copy()
3689 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3691 * gst/gst.c: (gst_init_get_option_group), (init_post):
3692 Fix const position; ref GType classes for enum types to work
3693 around thread-safety issues in GLib versions < 2.16.
3695 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3697 * docs/design/part-buffering.txt:
3698 Fix some typos and set the estimated total for push mode to -1.
3700 * gst/gstquery.c: (gst_query_new_buffering):
3701 Set buffering-left to 0 as we're not buffering by default.
3703 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3704 Implement BUFFERING query.
3706 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3708 Based on patch by: Milosz Derezynski <internalerror gmail com>
3710 * gst/gsterror.c: (_gst_stream_errors_init):
3712 Add two new error codes for encrypted content. Fixes #524659.
3713 API: GST_STREAM_ERROR_DECRYPT
3714 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3716 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3721 * win32/common/libgstreamer.def:
3724 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3726 * plugins/elements/gstidentity.c: (gst_identity_event),
3727 (gst_identity_start):
3728 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3729 event after processing some data. Fixes bug #526042.
3731 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3733 * docs/gst/gstreamer-sections.txt:
3734 * gst/gstquery.c: (gst_query_parse_latency),
3735 (gst_query_set_buffering_percent),
3736 (gst_query_parse_buffering_percent),
3737 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3739 Rename _avail -> _range
3740 API: gst_query_set_buffering_range
3741 API: gst_query_parse_buffering_range
3743 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3745 * docs/design/part-buffering.txt:
3748 * gst/gstquery.c: (gst_query_parse_latency),
3749 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3750 (gst_query_parse_buffering_percent):
3752 Add busy field and quark for the buffering query so that the app can
3753 only use the query to see if buffering is in progress.
3755 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3757 * docs/gst/gstreamer-sections.txt:
3758 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3759 (gst_message_parse_buffering_stats):
3761 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3762 (gst_query_parse_latency), (gst_query_new_buffering),
3763 (gst_query_set_buffering_percent),
3764 (gst_query_parse_buffering_percent),
3765 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3766 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3768 Reorder the message docs and headers for clarity.
3769 Add aditional buffering stats API for messages.
3770 Add buffering query.
3771 Convert some leftover queries to use GstQuark.
3772 API: gst_message_set_buffering_stats
3773 API: gst_message_parse_buffering_stats
3774 API: GST_QUERY_BUFFERING
3775 API: GstBufferingMode
3776 API: gst_query_new_buffering
3777 API: gst_query_set_buffering_percent
3778 API: gst_query_parse_buffering_percent
3779 API: gst_query_set_buffering_stats
3780 API: gst_query_parse_buffering_stats
3782 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3784 * gst/gstmessage.c: (gst_message_new_error),
3785 (gst_message_new_warning), (gst_message_new_info),
3786 (gst_message_new_buffering), (gst_message_new_state_changed),
3787 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3788 (gst_message_new_new_clock), (gst_message_new_segment_start),
3789 (gst_message_new_segment_done), (gst_message_new_duration),
3790 (gst_message_new_async_start), (gst_message_parse_buffering),
3791 (gst_message_parse_state_changed),
3792 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3793 (gst_message_parse_new_clock), (gst_message_parse_error),
3794 (gst_message_parse_warning), (gst_message_parse_info),
3795 (gst_message_parse_segment_start),
3796 (gst_message_parse_segment_done), (gst_message_parse_duration),
3797 (gst_message_parse_async_start):
3798 Use GstQuark for messages.
3800 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3802 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3804 Add some more quarks needed for messages and queries.
3806 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3808 * docs/design/part-buffering.txt:
3809 Remove the "none" buffering mode, STREAM is a good default.
3810 Move estimated-time to the avail query, that's when it will be needed.
3811 Other small typo fixes and updates.
3813 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3815 * gst/gstindex.c: (gst_index_resolver_get_type):
3816 Don't put descriptions into the nick field of a GEnumValue: it's not
3817 meant for that and some language bindings rely on the nick field to
3818 construct constants and the like. Fixes #526705.
3820 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3825 Merge other changes from 0.10.19 release branch.
3827 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3829 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3832 Actually build dlls when cross-compiling with mingw32.
3835 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3837 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3840 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3842 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3844 * docs/design/draft-latency.txt:
3847 * docs/design/part-buffering.txt:
3848 Update design docs with more buffering ideas.
3850 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3853 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3855 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3858 Revert part that belongs to the preset patch.
3860 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3863 Add qoutes to the define. Fixes # 525961.
3865 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3867 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3868 (gst_file_index_load), (gst_file_index_add_id),
3869 (gst_file_index_get_assoc_entry):
3870 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3871 (gst_mem_index_free_id), (gst_mem_index_add_id),
3872 (gst_mem_index_index_format):
3873 Use GSlice when possible.
3875 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3877 * libs/gst/controller/gstinterpolationcontrolsource.c:
3878 (gst_control_point_free),
3879 (gst_interpolation_control_source_set_internal):
3880 Use GSlice for allocating the control points.
3882 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3884 * plugins/elements/gsttypefindelement.c:
3885 (gst_type_find_element_class_init),
3886 (gst_type_find_element_set_property),
3887 (gst_type_find_element_get_property),
3888 (gst_type_find_element_activate):
3889 * plugins/elements/gsttypefindelement.h:
3891 Fix pad leak when peer query fails.
3892 We can still typefind when the peer returns -1.
3893 Add property to force caps and bypass typefinding. This will be used in
3897 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3902 * gst/glib-compat-private.h:
3903 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3904 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3905 Unconditionally use GSlice for allocation.
3907 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3908 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3909 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3910 (gst_structure_free):
3911 Use GSlice for allocation.
3913 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3915 * gst/parse/Makefile.am:
3916 * gst/parse/grammar.tab.pre.c:
3917 * gst/parse/grammar.tab.pre.h:
3918 * gst/parse/lex._gst_parse_yy.pre.c:
3919 Require a new enough flex and bison and remove the parser hacks to use
3920 a pre-regenerated version.
3922 2008-04-01 Julien Moutte <julien@fluendo.com>
3924 patch by: Jason Zhao <E3423C@motorola.com>
3926 * configure.ac: Add a configure switch to disable option parsing
3930 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3933 * gst/gstregistry.c:
3934 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3935 and handle this case.
3938 Add a comment here describing, why we stat each plugin and not try to
3941 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3943 * libs/gst/base/gstbasetransform.c:
3944 (gst_base_transform_prepare_output_buffer):
3945 Also unset the GAP flag on buffers if we're working inplace but
3946 the element is not GAP-aware.
3948 Mark a comment as FIXME 0.11.
3950 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3953 Fix type in log message and add one to ease seeing how long registry
3954 cache verification takes.
3956 * gst/gstregistry.c:
3957 Only test plugin filenames against G_MODULE_SUFFIX.
3959 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3961 * gst/gstdebugutils.c:
3962 Improve handling ghost/proxy pads.
3964 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3966 * docs/gst/gstreamer-sections.txt:
3969 Expose macro to docs and fix link to it.
3971 2008-03-27 Michael Smith <msmith@fluendo.com>
3973 * libs/gst/dataprotocol/dataprotocol.c:
3974 (gst_dp_packet_from_event_1_0):
3975 When calculating GDP body CRC, use the correct pointer.
3976 Fixes part of #522401.
3978 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3980 Patch by: Mark Nauwelaerts <manauw at skynet be>
3982 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3983 (gst_identity_init), (gst_identity_prepare_output_buffer):
3984 Identity is not always a passthrough element, it can modify the buffer
3985 timestamps when it has a datarate and operates in single-segment mode.
3986 We therefore make it an in_place filter with a custom buffer prepare
3987 function that conditionally makes the input buffer metadata writable
3988 when needed. Fixes #523985.
3990 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3992 Patch by: Mark Nauwelaerts <manauw at skynet be>
3995 * libs/gst/base/gstbasesrc.h:
3996 * libs/gst/base/gstbasetransform.c:
3997 * libs/gst/check/gstcheck.c:
3998 Small documentation fixes. Fixes #523978.
4000 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4002 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4003 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4004 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4006 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4008 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4009 (single_queue_underrun_cb):
4010 When trying to make room in the queue, bump the max allowed buffers
4011 bigger than the current amount of buffers in the queue. this fixes some
4012 nasty deadlocks in multiqueue when dynamically changing the limits of
4015 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4017 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4019 * gst/gstcaps.c: (gst_caps_set_simple),
4020 (gst_caps_set_simple_valist), (gst_caps_intersect):
4022 Constify the field gchar * params in set_simple and friends.
4025 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4027 * gst/gstvalue.c: (gst_value_transform_object_string):
4028 Transform a GstObject to a more meaningfull string that includes the
4029 object type in addition to its name.
4031 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4034 ChangeLog surgery to add bugnumber to commit.
4036 2008-03-23 Rene Stadler <mail@renestadler.de>
4038 * libs/gst/base/gstbasetransform.c:
4039 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4041 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4043 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4044 Rename constant everywhere and don't forget one occurence.
4046 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4048 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4049 Align memory to the pointer size even if the architecture allows
4050 unaligned memory access. Unaligned memory access usually comes with
4051 performance penality.
4053 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4055 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4056 (gst_registry_binary_check_magic),
4057 (gst_registry_binary_load_pad_template),
4058 (gst_registry_binary_load_feature),
4059 (gst_registry_binary_load_plugin):
4060 Align memory to the pointer size instead of always 32 bit. Fixes
4061 unaligned memory accesses on ia64 and friends.
4063 * gst/gstregistrybinary.h:
4064 Bump binary registry format version for this as it changes the
4065 format on those architectures that don't have unaligned access
4066 and 64 bit pointers.
4068 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4070 * docs/pwg/advanced-dparams.xml:
4071 * docs/pwg/building-props.xml:
4072 * docs/pwg/other-source.xml:
4073 * gst/glib-compat.h:
4074 * gst/gstbin.c: (gst_bin_class_init):
4075 * gst/gstclock.c: (gst_clock_class_init):
4076 * gst/gstindex.c: (gst_index_class_init):
4077 * gst/gstobject.c: (gst_object_class_init):
4078 * gst/gstpad.c: (gst_pad_class_init):
4079 * gst/gstpipeline.c: (gst_pipeline_class_init):
4080 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4081 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4082 * libs/gst/base/gstbasetransform.c:
4083 (gst_base_transform_class_init):
4084 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4085 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4086 (_gst_check_fault_handler_sighandler),
4087 (_gst_check_fault_handler_setup), (gst_check_init):
4088 * libs/gst/controller/gstcontroller.c:
4089 (_gst_controller_class_init):
4090 * libs/gst/controller/gstlfocontrolsource.c:
4091 (gst_lfo_control_source_class_init):
4092 * libs/gst/net/gstnetclientclock.c:
4093 (gst_net_client_clock_class_init):
4094 * libs/gst/net/gstnettimeprovider.c:
4095 (gst_net_time_provider_class_init):
4096 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4097 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4098 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4099 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4100 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4101 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4102 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4103 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4104 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4105 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4106 * plugins/elements/gsttee.c: (gst_tee_class_init):
4107 * plugins/elements/gsttypefindelement.c:
4108 (gst_type_find_element_class_init):
4109 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4110 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4111 use it everywhere for GParamSpecs that use static strings (i.e. all).
4112 This gives us less memory usage, fewer allocations and thus less
4113 memory defragmentation. Fixes bug #523806.
4115 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4117 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4118 (gst_param_spec_mini_object):
4119 * gst/gstminiobject.h:
4120 * win32/common/libgstreamer.def:
4121 * docs/gst/gstreamer-sections.txt:
4122 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4123 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4124 GstParamSpecMiniObject into a public header for this.
4126 This make GstMiniObject a bit more consistent with GObject and makes
4127 it possible to extend the param specs.
4129 gst_value_dup_mini_object is mainly useful for set_property methods.
4133 * tools/gst-inspect.c: (print_element_properties_info):
4134 Print something useful for GstMiniObject properties and not just
4137 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4139 * docs/gst/gstreamer-sections.txt:
4140 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4141 (gst_registry_binary_check_magic):
4142 * gst/gstregistrybinary.h:
4143 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4144 and add it to the (private part) of the docs to fix the build.
4146 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4148 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4149 (gst_registry_binary_check_magic),
4150 (gst_registry_binary_read_cache):
4151 * gst/gstregistrybinary.h:
4152 Don't use GST_MAJORMINOR for the binary registry version. Instead
4153 hardcode a value that must be changed whenever the format changes
4154 in an incompatible way.
4155 Also don't GST_ERROR when there is a version mismatch, just
4156 regenerate the registry silently.
4158 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4161 Back to development - 0.10.18.1
4163 === release 0.10.18 ===
4165 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4168 releasing 0.10.18, "So far away"
4170 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4173 * win32/common/config.h:
4174 0.10.17.4 pre-release
4176 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4178 Patch by: Ole André Vadla Ravnås
4179 <ole dot andre dot ravnas at tandberg dot com>
4181 * docs/gst/gstreamer-sections.txt:
4182 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4183 (gst_poll_update_winsock_event_mask),
4184 (gst_poll_prepare_winsock_active_sets),
4185 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4186 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4187 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4188 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4189 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4191 * win32/common/libgstreamer.def:
4192 Add new function gst_poll_fd_ignored() for improved Windows
4194 Various minor fixes and cleanups. See #520808.
4196 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4198 * gst/gstindex.c: (gst_index_entry_free):
4200 Don't free key strings which we don't own. Fixes crash in
4201 gst_index_entry_free() (#522741).
4203 * tests/check/Makefile.am:
4204 * tests/check/gst/.cvsignore:
4205 * tests/check/gst/gstindex.c: (test_index_entries),
4206 (gst_index_suite), (gst_index):
4207 Add unit test for the above.
4209 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4211 * win32/common/libgstreamer.def:
4212 Remove symbols that were removed recently. Fixes bug #521740.
4214 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4217 * win32/common/config.h:
4218 0.10.17.3 pre-release
4220 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4222 Patch by: Ole André Vadla Ravnås
4223 <ole dot andre dot ravnas at tandberg dot com>
4225 * docs/gst/gstreamer-sections.txt:
4226 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4227 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4228 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4229 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4230 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4231 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4232 (gst_poll_fd_can_write), (gst_poll_wait),
4233 (gst_poll_set_controllable), (gst_poll_restart),
4234 (gst_poll_set_flushing):
4236 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4237 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4238 (gst_net_time_provider_new):
4239 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4240 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4241 * tests/benchmarks/gstpollstress.c: (main):
4242 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4243 Remove GstPollMode from the API, it does not make sense to let the
4244 application control this.
4245 Add support for Win32.
4246 Fix the testsuite. Fixes #520671.
4248 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4250 Patch by: Ole André Vadla Ravnås
4251 <ole dot andre dot ravnas at tandberg dot com>
4253 * gst/gstregistrybinary.c:
4254 Include io.h for write() and close() when building with MSVC. Fixes
4257 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4260 * gst/gst_private.h:
4261 * gst/gstconfig.h.in:
4262 * gst/gstregistry.h:
4263 * gst/gstregistrybinary.c:
4264 * win32/common/gstconfig.h:
4265 Move registry backend API to private headers where we can. Add
4266 fixme-0.11 comments for the others. Add stubs for the xml backend when
4267 using the binary to ensure they functions exists (they should not be
4268 used though). Fixes #520756.
4270 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4273 * win32/common/config.h:
4276 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4278 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4279 (gst_registry_binary_read_cache):
4280 * gst/gstregistryxml.c: (gst_registry_save):
4281 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4282 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4283 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4284 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4285 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4288 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4290 * gst/gstminiobject.c:
4291 Import gst_private.h before any other header that might include other
4292 glib headers. This fixes the build on windows using native compilers.
4294 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4296 * win32/common/gstconfig.h:
4297 Add here too, just for completeness.
4299 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4302 * gst/gstconfig.h.in:
4303 * gst/gstregistry.h:
4304 Fix broken use of config.h-defined preprocessor directive in a public
4305 header file. Add a corresponding define to gstconfig.h, since we can't
4306 really remove those function declarations from the header file now
4307 (or can we? and why are they there in the first place?).
4309 2008-03-03 Andy Wingo <wingo@pobox.com>
4311 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4314 * gst/gststructure.c (gst_structure_from_string): Warn if
4315 structure_from_string didn't consume the whole string, but the
4316 caller did not provide an end pointer.
4318 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4320 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4322 * gst/gstregistryxml.c: (read_string), (load_feature):
4323 Strings allocated by libxml2 should be freed with xmlFree(), not
4324 with g_free(). Fixes issues on windows in certain contexts (#519698).
4326 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4328 * gst/gstinterface.c: (gst_element_implements_interface):
4329 Don't crash if the element supports the interface queried, but does
4330 not implement GstImplementsInterface. Fixes #519584.
4332 * tests/check/Makefile.am:
4333 * tests/check/gst/.cvsignore:
4334 * tests/check/gst/gstinterface.c:
4335 Add unit test for the above.
4337 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4339 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4342 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4344 * gst/gstsegment.c: (gst_segment_set_seek),
4345 (gst_segment_to_stream_time):
4346 Improve some comment.
4347 Update variables where it makes more sense.
4349 2008-02-29 Rene Stadler <mail@renestadler.de>
4351 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4352 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4353 URIHandlers implemented using language bindings.
4355 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4357 * gst/gstelementfactory.h:
4358 * tests/check/elements/fakesink.c:
4359 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4360 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4361 * tests/check/elements/filesink.c: (setup_filesink):
4362 * tests/check/elements/filesrc.c: (setup_filesrc):
4363 * tests/check/elements/identity.c: (setup_identity):
4364 * tests/check/elements/tee.c:
4365 * tests/check/generic/sinks.c:
4366 * tests/check/generic/states.c: (setup), (teardown):
4367 * tests/check/gst/gst.c:
4368 * tests/check/gst/gstabi.c:
4369 * tests/check/gst/gstbin.c:
4370 * tests/check/gst/gstbus.c: (pull_messages):
4371 * tests/check/gst/gstcaps.c:
4372 * tests/check/gst/gstelement.c:
4373 * tests/check/gst/gstevent.c:
4374 * tests/check/gst/gstghostpad.c:
4375 * tests/check/gst/gstiterator.c:
4376 * tests/check/gst/gstmessage.c:
4377 * tests/check/gst/gstminiobject.c: (my_foo_init):
4378 * tests/check/gst/gstobject.c: (thread_name_object),
4380 * tests/check/gst/gstpad.c:
4381 * tests/check/gst/gstplugin.c:
4382 * tests/check/gst/gstpoll.c:
4383 * tests/check/gst/gstquery.c:
4384 * tests/check/gst/gstsegment.c:
4385 * tests/check/gst/gststructure.c:
4386 * tests/check/gst/gstsystemclock.c:
4387 * tests/check/gst/gsttask.c:
4388 * tests/check/gst/gstutils.c:
4389 * tests/check/gst/gstvalue.c:
4390 * tests/check/gst/struct_hppa.h:
4391 * tests/check/gst/struct_i386.h:
4392 * tests/check/gst/struct_ppc32.h:
4393 * tests/check/gst/struct_ppc64.h:
4394 * tests/check/gst/struct_x86_64.h:
4395 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4396 * tests/check/libs/basesrc.c:
4397 * tests/check/libs/controller.c: (GST_START_TEST):
4398 * tests/check/libs/gdp.c:
4399 * tests/check/libs/gstnetclientclock.c:
4400 * tests/check/libs/gstnettimeprovider.c:
4401 * tests/check/libs/libsabi.c:
4402 * tests/check/libs/struct_hppa.h:
4403 * tests/check/libs/struct_i386.h:
4404 * tests/check/libs/struct_ppc32.h:
4405 * tests/check/libs/struct_ppc64.h:
4406 * tests/check/libs/struct_x86_64.h:
4407 * tests/check/pipelines/cleanup.c:
4408 * tests/check/pipelines/simple-launch-lines.c:
4409 * tests/check/pipelines/stress.c:
4410 And correct even more valid sparse warnings.
4412 * win32/common/libgstreamer.def:
4413 Add gst_poll_fd_init to the list of symbols.
4415 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4417 * gst/gstconfig.h.in:
4418 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4419 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4420 (gst_check_log_critical_func), (gst_check_drop_buffers),
4421 (gst_check_element_push_buffer_list):
4422 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4423 (gst_controller_get_type):
4424 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4425 (gst_object_get_controller), (gst_object_get_control_source):
4426 * libs/gst/controller/gstinterpolationcontrolsource.c:
4427 (gst_interpolation_control_source_new):
4428 * libs/gst/controller/gstlfocontrolsource.c:
4429 (gst_lfo_control_source_new):
4430 * libs/gst/dataprotocol/dataprotocol.c:
4431 (gst_dp_event_from_packet_0_2):
4432 * plugins/elements/gstfdsrc.c:
4433 * plugins/elements/gstmultiqueue.c:
4434 * plugins/elements/gsttee.c:
4435 * plugins/elements/gsttypefindelement.c:
4436 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4437 (gst_file_index_add_association):
4438 * plugins/indexers/gstmemindex.c:
4439 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4440 * tests/check/elements/queue.c: (setup_queue):
4441 * tests/check/gst/gstpipeline.c:
4442 * tests/check/libs/collectpads.c: (setup), (teardown),
4443 (gst_collect_pads_suite):
4444 * tests/examples/adapter/adapter_test.c:
4445 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4446 * tests/examples/xml/createxml.c:
4447 * tests/examples/xml/runxml.c:
4448 * tools/gst-inspect.c:
4450 Correct all relevant warnings found by the sparse semantic code
4451 analyzer. This include marking several symbols static, using
4452 NULL instead of 0 for pointers, not using variable sized arrays
4453 on the stack, moving variable declarations to the beginning of
4454 a block and using "foo (void)" instead of "foo ()" for declarations.
4456 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4458 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4459 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4460 Don't reset GstPollFDs, this is not necessary at all.
4462 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4463 (delayed_restart), (delayed_control):
4464 Use GST_POLL_FD_INIT.
4466 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4468 * gst/gstpoll.c: (gst_poll_fd_init):
4472 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4473 Use some more init macros.
4475 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4477 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4478 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4479 Use init macros and functions.
4481 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4483 * docs/gst/gstreamer-sections.txt:
4484 * gst/gstpoll.c: (gst_poll_fd_init):
4486 Add INIT macro and _init method for initializing the GstPollFD.
4488 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4490 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4491 (gst_fd_sink_update_fd):
4492 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4493 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4494 (delayed_restart), (delayed_control):
4495 Initialize some uninitialized variables as spotted by valgrind.
4497 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4499 * tests/benchmarks/Makefile.am:
4500 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4502 Add poll stress test.
4504 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4506 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4508 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4509 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4510 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4511 * plugins/elements/gstfdsink.h:
4512 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4513 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4514 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4515 (gst_fd_src_uri_set_uri):
4516 * plugins/elements/gstfdsrc.h:
4517 Port to GstPoll. See #505417.
4519 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4521 * win32/common/libgstreamer.def:
4522 Add new gst_poll_ symbols to win32 defs.
4524 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4526 * docs/libs/gstreamer-libs-sections.txt:
4527 * libs/gst/net/gstnetclientclock.c:
4528 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4529 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4530 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4531 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4532 * libs/gst/net/gstnetclientclock.h:
4533 * libs/gst/net/gstnettimeprovider.c:
4534 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4535 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4536 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4537 (gst_net_time_provider_new):
4538 * libs/gst/net/gstnettimeprovider.h:
4539 Use a private stuct to not break ABI.
4541 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4543 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4545 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4546 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4547 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4548 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4549 * libs/gst/net/gstnetclientclock.h:
4550 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4551 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4552 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4553 (gst_net_time_provider_new):
4554 * libs/gst/net/gstnettimeprovider.h:
4555 Massive code removal and cleanups because of GstPoll.
4558 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4561 Add checks for poll, ppoll and pselect.
4563 * docs/gst/gstreamer-docs.sgml:
4564 * docs/gst/gstreamer-sections.txt:
4565 Add docs for GstPoll.
4569 * gst/gstpoll.c: (find_index), (selectable_fds),
4570 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4571 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4572 (gst_poll_set_mode), (gst_poll_get_mode),
4573 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4574 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4575 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4576 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4577 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4578 (gst_poll_fd_can_write), (gst_poll_wait),
4579 (gst_poll_set_controllable), (gst_poll_restart),
4580 (gst_poll_set_flushing):
4582 Add generic poll abstraction. We ideally don't want to have this in core
4583 here but in glib intead...
4584 This code will be used in various network elements and ultimately for
4585 the nanosecond precision monotonic clock (that's why it's here in core).
4586 It'll allow us to implement cancelable socket operations for windows too.
4588 * tests/check/Makefile.am:
4589 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4590 (delayed_stop), (delayed_restart), (delayed_flush),
4591 (delayed_control), (gst_poll_suite):
4592 Add GstPoll unit test.
4594 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4597 Improve documentation of gst_filter_run(). Fixes #518627.
4599 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4602 Add a few lines about the new 'check-inspected-versions' target.
4604 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4606 * tests/check/gst/gstevent.c:
4607 Add qos to the event test. Rename tcase/tsuite; is not only about
4610 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4612 * plugins/elements/gstqueue.c:
4613 Ensure that buffer metadata is writeable, before modifying. Spotted by
4616 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4618 * plugins/elements/gstqueue.c:
4619 * plugins/elements/gstqueue.h:
4620 When dropping buffers in leaky modes, mark next buffers we sent as
4623 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4625 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4626 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4628 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4630 * plugins/elements/Makefile.am:
4631 * plugins/elements/gstbufferstore.c:
4632 * plugins/elements/gstbufferstore.h:
4633 * plugins/elements/gsttypefindelement.h:
4634 Remove GstBufferStore, no idea why we were still building it.
4635 It's not used anywhere and superseded by GstAdapter.
4637 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4638 (gst_file_src_create_mmap):
4639 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4640 Printf format fixes for 64-bit integers.
4642 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4645 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4646 We're not in 0.8 times anymore.
4648 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4650 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4651 (gst_check_element_push_buffer_list):
4652 * libs/gst/check/gstcheck.h:
4653 Make the declaration in the header for
4654 gst_check_element_push_buffer_list match the implementation.
4656 Fix up spelling, grammar and wording of the documentation in a few
4657 places, and add the Since keyword to new API functions.
4658 Use g_list_delete_link instead of g_list_remove in
4659 gst_check_drop_buffers, since it's immeasurably more efficient.
4661 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4662 Use new gst_check_drop_buffers function where appropriate.
4664 * win32/common/libgstbase.def:
4665 * win32/common/libgstreamer.def:
4666 Add new symbols gst_collect_pads_take_buffer,
4667 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4670 Changelog surgery to add API keyword to new gst_check API.
4672 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4674 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4675 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4676 Update pre-generated flex files with flex 2.3.34.
4678 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4680 * gst/gstminiobject.c:
4681 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4682 friendly to subclasses and not require them to know all internals
4683 of their parent class.
4685 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4687 * docs/libs/gstreamer-libs-sections.txt:
4688 * libs/gst/base/gstcollectpads.c:
4689 * libs/gst/base/gstcollectpads.h:
4690 Add sub-buffer functions to collectpads. Fixes #516187.
4691 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4693 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4696 Copy selected buffer-flags when creating subbuffers.
4699 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4701 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4702 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4703 * gst/gstmessage.c: (gst_message_class_init),
4704 (gst_message_finalize):
4705 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4706 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4707 (gst_mmap_buffer_finalize):
4708 Properly chain up finalize functions to the parent class.
4710 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4712 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4714 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4715 (gst_index_set_resolver_full):
4717 Add new function with option to dispose of user_data in resolver.
4718 Actually call the dispose function when finalizing the object and not
4719 just when changing the resolver/filter.
4720 API: GstIndex::gst_index_set_resolver_full()
4722 * docs/gst/gstreamer-sections.txt:
4723 Add new function to docs. Fixes #515469.
4725 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4727 * gst/gstindex.c: (gst_index_finalize):
4728 Chain up finalize to the parent class. Fixes leaking the GstObject
4729 name and other things.
4731 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4734 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4735 pre-releases or releases.
4737 * docs/faq/gst-uninstalled:
4740 * docs/random/release:
4741 Change one of the steps - we only upload core & base to Gnome FTP
4743 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4745 * gst/gstconfig.h.in:
4746 Add 'id' for example.
4750 * plugins/elements/gstfdsink.c:
4751 Link to signals. Doc and comment fixes.
4753 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4755 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4756 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4757 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4758 unused and unimplemented; finally, it is plugin features, not
4759 plugins, that have ranks.
4761 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4763 * gst/gstpluginfeature.h:
4764 Clarify GstRank range docs.
4766 2008-02-05 David Schleef <ds@schleef.org>
4768 * gst/gst.c: Add a separate gst_deinitialized that prevents
4769 gst_init() from being called after gst_deinit(). Fixes #509559
4771 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4773 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4774 (gst_bin_class_init):
4775 * gst/gstelement.c: (gst_element_base_class_init),
4776 (gst_element_class_add_pad_template):
4777 * gst/gstpadtemplate.c: (gst_pad_template_init):
4778 * gst/gstpipeline.c: (gst_pipeline_get_type),
4779 (gst_pipeline_base_init), (gst_pipeline_class_init):
4780 * libs/gst/base/gstbasesink.c:
4781 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4782 (gst_base_src_base_init), (gst_base_src_class_init):
4783 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4784 (gst_capsfilter_class_init):
4785 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4786 (gst_fake_sink_class_init):
4787 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4788 (gst_fake_src_class_init):
4789 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4790 (gst_fd_sink_class_init):
4791 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4792 (gst_fd_src_class_init):
4793 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4794 (gst_file_sink_class_init):
4795 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4796 (gst_file_src_class_init):
4797 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4798 (gst_identity_class_init):
4799 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4800 (gst_multi_queue_class_init):
4801 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4802 (gst_queue_class_init):
4803 * plugins/elements/gsttee.c: (gst_tee_base_init),
4804 (gst_tee_class_init):
4805 * plugins/elements/gsttypefindelement.c:
4806 (gst_type_find_element_base_init),
4807 (gst_type_find_element_class_init):
4808 * tests/check/gst/gstelement.c: (gst_element_suite):
4809 Revert previous changes to the behaviour of GstPadTemplates, etc
4810 and the possiblity to call them in class_init as it breaks too
4811 many elements. Reopens bug #491501.
4813 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4816 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4818 * tools/gst-launch.c:
4819 Dump one graph per pipeline state-change and state change name
4820 (if GST_DEBUG_DUMP_DOT_DIR is set).
4822 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4825 * tests/check/gst/gstpad.c:
4826 Be sure that we have a new copy of the caps and not
4827 reffed caps from a template
4829 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4831 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4832 * gst/gstpipeline.c: (gst_pipeline_get_type),
4833 (gst_pipeline_class_init):
4834 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4835 (gst_base_sink_class_init):
4836 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4837 (gst_base_src_class_init):
4838 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4839 (gst_base_transform_class_init):
4840 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4841 (gst_collect_pads_class_init):
4842 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4843 * libs/gst/net/gstnettimeprovider.c:
4844 (gst_net_time_provider_base_init),
4845 (gst_net_time_provider_class_init):
4846 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4847 (gst_capsfilter_class_init):
4848 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4849 (gst_fake_sink_class_init):
4850 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4851 (gst_fake_src_class_init):
4852 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4853 (gst_fd_sink_class_init):
4854 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4855 (gst_fd_src_class_init):
4856 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4857 (gst_file_sink_class_init):
4858 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4859 (gst_file_src_class_init):
4860 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4861 (gst_identity_class_init):
4862 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4863 (gst_multi_queue_class_init):
4864 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4865 (gst_queue_class_init):
4866 * plugins/elements/gsttee.c: (gst_tee_base_init),
4867 (gst_tee_class_init):
4868 * plugins/elements/gsttypefindelement.c:
4869 (gst_type_find_element_base_init),
4870 (gst_type_find_element_class_init):
4871 Don't use base_init where not absolutely necessary. For example it's
4872 not necessary anymore for adding pad templates or setting element
4875 Leave empty base_init functions in several places as GST_BOILERPLATE
4876 still defines and uses them.
4878 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4880 * gst/gstelement.c: (gst_element_base_class_init),
4881 (gst_element_class_add_pad_template):
4882 * gst/gstpadtemplate.c:
4883 Make it possible (and recommended) to set element details and add
4884 pad templates in the class_init functions by copying the details/pad
4885 templates in GstElement's base_init.
4887 Also make it possible to replace existing pad templates by adding
4888 a new one with the same name. This was done in a hackish fashion
4889 in same elements before already.
4891 Don't reference pad templates that are added a second time. A
4892 new pad template has a refcount of one and is not floating anymore
4893 and to be owned by the element's class. Make this more explicit by
4894 mentioning it in the docs of gst_element_class_add_pad_template().
4896 These changes are backwards compatible. Fixes bug #491501.
4898 * tests/check/gst/gstelement.c:
4899 Add unit test for setting element details, adding pad templates and
4900 replacing them in a subclass.
4902 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4904 * tools/gst-inspect.c: (print_interfaces),
4905 (print_element_properties_info), (print_pad_info),
4906 (print_signal_info), (print_element_info):
4907 Fix a few memory leaks.
4909 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4911 * docs/libs/gstreamer-libs-sections.txt:
4912 * libs/gst/check/gstcheck.c:
4913 * libs/gst/check/gstcheck.h:
4914 Add more functions for unit testing: gst_check_drop_buffers,
4915 gst_check_caps_equal, gst_check_element_push_buffer_list,
4916 gst_check_element_push_buffer
4917 API: gst_check_drop_buffers
4918 API: gst_check_caps_equal
4919 API: gst_check_element_push_buffer_list
4920 API: gst_check_element_push_buffer
4922 2008-02-01 Julien Moutte <julien@fluendo.com>
4924 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4925 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4926 (gst_index_finalize), (gst_index_entry_free),
4927 (gst_index_add_association): Fix memory leaks.
4928 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4929 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4930 (gst_mem_index_free_format), (gst_mem_index_free_id),
4931 (gst_mem_index_finalize): Fix memory leaks.
4932 * win32/common/config.h: Updated to CVS HEAD.
4934 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4937 Some more details about how the plugin docs works.
4939 * docs/plugins/gstreamer-plugins-sections.txt:
4942 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4944 * gst/parse/grammar.tab.pre.c:
4945 * gst/parse/grammar.tab.pre.h:
4946 * gst/parse/grammar.y:
4947 * gst/parse/lex._gst_parse_yy.pre.c:
4948 Add delayed set-property. This allows to set properties on dynamicaly
4949 created objects (pads in videomxer). Fixes #509391.
4951 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4954 Check if caps are not NULL (fix bug #510194)
4956 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4958 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4959 (gst_base_sink_get_position_paused):
4960 Add fixme regarding EOS in pull mode.
4961 Fix position reporting in PAUSED for negative rates.
4963 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4965 * gst/gstminiobject.c: (gst_mini_object_replace):
4966 When replacing a miniobject, do a quick equality check first so that we
4967 can avoid a ref/unref pair.
4969 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4971 * docs/design/part-synchronisation.txt:
4974 * docs/plugins/Makefile.am:
4975 * docs/plugins/gstreamer-plugins-docs.sgml:
4976 * docs/plugins/gstreamer-plugins-sections.txt:
4977 * plugins/elements/gstmultiqueue.c:
4978 Add multiqueue to the docs.
4980 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4985 === release 0.10.17 ===
4987 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4990 releasing 0.10.17, "Due Negligence"
4992 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4995 Revert caps != NULL check temporarily for 0.10.17 release.
4997 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5000 Check if caps are not NULL (fix bug #510194)
5002 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5005 Fix compilation on systems that have posix timers but no
5008 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5011 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5013 * tools/gst-inspect.c:
5014 Revert previous commit in preparation for an impromptu 0.10.17 release
5016 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5018 * tools/gst-inspect.c: (print_interfaces),
5019 (print_element_properties_info), (print_pad_info),
5020 (print_signal_info), (print_element_info):
5021 Fix a few memory leaks.
5023 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5028 === release 0.10.16 ===
5030 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5033 releasing 0.10.16, "Special Dispensation"
5035 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5038 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5039 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5040 not fail when trying to crosscompile on OpenEmbedded (#511750).
5042 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5045 Use $(MAKE) instead of make to fix the build if GNU make is
5046 called different. Fixes bug #510747.
5048 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5050 * gst/gstplugin.c: (_gst_plugin_initialize):
5051 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5052 again, which I broke two commits ago when changing the API
5053 of gst_plugin_register_static(): the g_list_foreach() in
5054 _gst_plugin_register_static still assumed the old function
5055 signature and would therefore fail (re-fixes #510187).
5057 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5058 (_gst_plugin_register_static), (gst_plugin_register_static):
5059 Revert the (technically correct) change to call g_thread_init() from
5060 the pre-main() constructor. This will break programs which call
5061 g_thread_init() without an if (!g_thread_supported()) guard in their
5062 main function. We could just blame it on GLib or the application, but
5063 it's probably best to just avoid this altogether and simply not use
5064 any GLib functions here and use plain old malloc() with a simple
5065 array to store the plugins to register later when gst_init() is
5066 finally called (re-fixes #510187).
5068 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5069 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5070 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5071 (GST_START_TEST), (gst_plugin_suite):
5072 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5075 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5077 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5078 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5079 This makes gtk-doc complain, but results in slightly better
5080 compiler errors. The old _gst_plugin_register_static() is
5081 still guarded, so there'll be a compiler warning about that
5082 instead. Fixes #510187 too.
5084 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5086 * gst/gst.c: (init_post):
5087 * gst/gstplugin.c: (_gst_plugin_register_static),
5088 (gst_plugin_register_static), (_gst_plugin_initialize):
5089 * gst/gstplugin.h: (GstPluginFilter):
5090 Change API of gst_plugin_register_static() to not take
5091 a GstPluginDesc, but rather just take all the arguments
5092 in a GstPluginDesc directly. This is more intuitive and
5093 avoids certain mistakes when porting code from
5094 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5097 * tests/check/gst/gstplugin.c:
5098 Fix up for changed API.
5100 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5102 * docs/faq/legal.xml:
5103 Update FAQ, Totem actually has an exception these days.
5105 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5107 * win32/common/libgstreamer.def:
5108 Add new API declarations
5110 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5112 * gst/gstminiobject.c:
5113 Spelling fixes for the API docs.
5115 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5117 * libs/gst/base/gstbasetransform.c:
5118 Fix long property description for QoS.
5120 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5123 _gst_trace_on is already provided by gsttrace.h, no need to declare
5126 * docs/libs/gstreamer-libs-sections.txt:
5127 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5128 and remove strange tcase_add_test which is outputting a warning.
5130 * libs/gst/check/gstcheck.c:
5131 * libs/gst/check/gstcheck.h:
5132 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5133 and define them in gstcheck.c instead of having every .c file whcih
5134 includes gstcheck.h be defining its own copy and relying on symbol
5135 interposing to marry them all, which doesn't work on Solaris.
5137 * tests/check/elements/identity.c: (GST_START_TEST):
5138 Don't define 'buffers' locally, it comes from libgstcheck.
5140 * tests/check/generic/sinks.c: (send_buffer):
5141 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5143 * tests/check/gst/gststructure.c: (GST_START_TEST):
5144 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5145 * tests/check/gst/gstutils.c: (GST_START_TEST):
5146 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5147 Add a bunch of casts to make various constants fit the types
5148 they're being assigned to.
5150 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5152 * gst/gstchildproxy.c:
5153 Improve docs and add some ideas for making this more general-purpose.
5155 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5157 * gst/gst_private.h: (GST_CAT_TYPES):
5158 Add GST_CAT_TYPES, for consistency, and so that the other
5159 debug categories don't make fun of it. Spotted by Saur on IRC.
5161 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5163 * gst/parse/Makefile.am:
5164 Move types.h from EXTRA_DIST to noinst_HEADERS.
5166 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5169 Add -Wno-portability to the automake parameters to stop warnings
5170 about GNU make extensions being used. We require GNU make in almost
5171 every Makefile anyway.
5174 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5175 at the same time is required for per target flags.
5177 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5180 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5181 __GNUC__ is defined before using it.
5183 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5185 * docs/gst/gstreamer-sections.txt:
5186 * gst/gst.c: (init_post):
5187 * gst/gstplugin.c: (_gst_plugin_register_static),
5188 (gst_plugin_register_static), (_gst_plugin_initialize),
5189 (gst_plugin_register_func):
5190 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5191 API: add gst_plugin_register_static() and deprecate
5192 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5194 Also, in _gst_plugin_register_static(), make sure to call
5195 g_thread_init() before calling GLib functions such as
5196 g_list_append() if we're not initialised yet, since that
5197 may lead to random crashes with older GSlice/GLib versions.
5199 * tests/check/gst/gstplugin.c:
5200 Adapt unit test to above changes.
5202 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5204 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5205 * gst/gstcaps.c: (gst_caps_to_string):
5206 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5207 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5208 Yet another gratuitous GString micro-optimisation: add a (private)
5209 function that serialises a structure appending to an existing
5210 GString, so that when we serialise caps we don't need to alloc+free
5211 a throwaway GString for each structure (each of which also entailing
5212 multiple reallocs on the way); also use g_string_sized_new() in
5213 various places with an approximate string length to avoid reallocs
5214 within GString. See #500143.
5216 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5218 * gst/gststructure.c: (gst_structure_id_set_value):
5219 Always check UTF-8 conformance of structure strings and not only
5220 if the debugging system is enabled; reasoning: the behaviour of
5221 the actual code shouldn't really change depending on whether the
5222 debugging system is enabled or not (#508291).
5224 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5227 Remove old coverage target in favour of "make lcov".
5229 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5231 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5232 (gst_base_src_loop):
5233 The start segment for reverse playback goes from start to last_stop.
5235 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5237 Patch by: Peter Kjellerstedt <pkj axis com>
5240 Cast the results from the timeval/spec_to_time macros to what the
5241 docs say it casts to, a GstClockTime. fixes #508175.
5243 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5246 Update some comments.
5248 * tools/gst-inspect.c: (print_element_properties_info):
5249 Improve printing of flags.
5251 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5253 * libs/gst/base/gstbasetransform.c:
5254 (gst_base_transform_transform_size):
5255 Print element name with g_warning() if there's a problem
5258 2008-01-07 David Schleef <ds@schleef.org>
5260 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5262 * libs/gst/controller/gstcontroller.h:
5263 * libs/gst/controller/gstcontrolsource.h:
5264 * libs/gst/controller/gstinterpolationcontrolsource.h:
5265 * libs/gst/controller/gstlfocontrolsource.h:
5266 * libs/gst/dataprotocol/dataprotocol.h:
5267 Fix empty prototypes. Fixes bug #507957.
5269 2008-01-07 David Schleef <ds@schleef.org>
5271 * docs/faq/dependencies.xml: Fix typo.
5273 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5275 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5276 (gst_base_src_loop):
5277 Don't update the last_stop position in do_seek, that's the position we
5279 Read backwards when we have a negative rate.
5281 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5282 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5284 Add check for reverse reading.
5286 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5288 Patch by: Alexis Ballier <aballier at gentoo org>
5290 * tests/check/gst/gstabi.c:
5291 * tests/check/gst/struct_ppc64.h:
5292 * tests/check/libs/libsabi.c:
5293 * tests/check/libs/struct_ppc64.h:
5294 Decide which header to include based on the userland ABI target
5295 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5296 for 64-bit userland (#503590). Might need something similar for
5299 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5301 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5302 Log the reason why fopen fails in addition to the fact that it failed.
5304 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5306 * gst/parse/parse.l:
5307 Use "%option never-interactive" to prevent useless calls to isatty()
5308 on every input when parsing. Also use "%option noinput" to not define
5309 the static input/yyinput functions which we don't use anyway. This
5310 removes a compiler warning with gcc 4.3 and saves some bytes in the
5313 * gst/parse/lex._gst_parse_yy.pre.c:
5314 Regenerated for the above change.
5316 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5318 * gst/gstpad.c: (fixate_value):
5319 Don't crash when trying to fixate and empty list.
5322 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5324 * docs/faq/gst-uninstalled:
5325 Clarify the comments to make the usage of this script and what it
5326 does easier to understand.
5328 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5330 * tools/gst-plot-timeline.py:
5331 Add more options to gst-plot-timeline
5333 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5335 * docs/design/part-synchronisation.txt:
5336 Some more info on how the stream_time in GstBaseSink is done.
5338 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5340 * tests/check/generic/sinks.c: (gst_sinks_suite):
5341 Put back the tcase_set_timeout(), apparently it's needed after
5342 all; fix it up in a way that makes things work with valgrind too.
5344 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5346 * gst/gstdebugutils.c:
5347 Add warning when failed to open file for writing.
5349 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5351 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5353 * gst/gstvalue.c: (gst_value_is_fixed):
5354 Optimisation: bail out of the loop as early as possible (#500143).
5356 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5358 * gst/gstcaps.c: (gst_caps_to_string):
5359 * gst/gstinfo.c: (gst_debug_construct_term_color):
5360 * gst/gstparse.c: (gst_parse_launchv):
5361 * gst/gstutils.c: (gst_util_dump_mem):
5362 * gst/gstvalue.c: (gst_value_serialize_any_list),
5363 (gst_value_transform_any_list_string):
5364 Bunch of gratuitous nano-optimisations.
5366 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5368 * tests/check/generic/sinks.c: (async_done_func),
5369 (async_done_eos_func):
5370 Fix leak in unit test (bus sync handler must unref the message
5371 if it returns GST_BUS_DROP). Don't fiddle with the default test
5372 timeout, this is smaller than the current preconfigured value
5373 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5374 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5376 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5378 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5381 Check for stdio_ext.h for the filesink changes.
5383 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5384 (gst_file_sink_class_init), (gst_file_sink_init),
5385 (gst_file_sink_dispose), (gst_file_sink_set_property),
5386 (gst_file_sink_get_property), (gst_file_sink_open_file),
5387 (gst_file_sink_close_file):
5388 * plugins/elements/gstfilesink.h:
5389 Add two properties to control the buffering mode and size.
5390 API: GstFileSink::buffer-mode
5391 API: GstFileSink::buffer-size
5394 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5396 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5397 Add some more docs to explain why a FIXME was wrongly added.
5399 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5402 Fix typo in the gst_object_{ref,unref} documentation.
5404 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5406 * tests/check/libs/controller.c:
5407 * tests/check/libs/typefindhelper.c:
5408 * tests/check/pipelines/parse-launch.c:
5409 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5410 going to be deprecated (see #498924).
5412 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5414 * gst/gsttypefind.c: (gst_type_find_register):
5415 Make gst_type_find_register work for static typefind functions,
5416 ie. allow passing plugin == NULL (prerequisite for #498924).
5418 * gst/gstelementfactory.c: (gst_element_register):
5419 Small docs addition.
5421 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5423 * gst/gstpad.c: (gst_pad_dispose):
5424 Really unlink the peer pad instead of setting the peer pointer to NULL
5425 when we dispose the pad.
5426 This correctly calls the unlink functions and makes sure that the peer
5427 does not have a handle to invalid memory. See #504671.
5429 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5430 Add testsuite for above case.
5432 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5434 Patch by: Peter Kjellerstedt <pkj axis com>
5436 * libs/gst/check/gstcheck.h:
5437 Fix detection of the check version we're compiling against (would
5438 otherwise break if check goes v0.10.0); correctly report the
5439 name of the failed test again in case of failure, instead of
5440 just 'tf' (fixes #504499).
5442 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5444 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5445 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5446 (gst_base_src_loop), (gst_base_src_set_flushing),
5447 (gst_base_src_change_state):
5448 Allow sending EOS to the source to make it send out an EOS event from
5449 the streaming thread.
5450 Update docs and deprecate the old NULL/READY shutdown method.
5452 * tests/check/libs/basesrc.c: (GST_START_TEST),
5453 (gst_basesrc_suite):
5454 Add unit test for controlled shutdown.
5456 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5458 * docs/design/part-synchronisation.txt:
5461 * gst/gstsegment.c: (gst_segment_set_seek),
5462 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5463 (gst_segment_to_running_time):
5464 The seek format can be different from the segment format when the start
5465 and stop values are not to be updated, when we only do a rate change for
5468 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5469 (gst_segment_suite):
5470 Add a testcase for the rate-only seeks, checking that the format is
5471 correctly ignored when start and stop are not updated.
5473 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5475 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5477 * win32/vs8/grammar.vcproj:
5478 * win32/vs8/libgstcontroller.vcproj:
5479 * win32/vs8/libgstreamer.vcproj:
5480 Fix compilation with VS8 and include some missing files.
5482 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5485 Small docs addition: mention that the strings returned by
5486 gst_tag_list_get_string*() are in UTF-8 encoding.
5488 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5491 The check-exports stuff moved to common/win32.mak, so include that.
5493 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5495 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5496 (gst_base_src_perform_seek), (gst_base_src_get_range),
5497 (gst_base_src_set_playing), (gst_base_src_change_state):
5498 Make _wait_playing() not check any variables so that we can call this
5499 function from subclasses. Move the checks elsewhere similar to
5500 _wait_preroll() in basesink.
5502 Only signal the LIVE cond when we are going back to PLAYING.
5504 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5506 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5507 Use g_remove() and g_rename(). Check result of g_rename(), and
5508 don't leak the open file descriptor if we error out when writing.
5510 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5511 Must check the return value of close() after writing out the new
5512 registry file. Sometimes write problems such as out-of-diskspace
5513 are only reported when the file is closed and not already during
5514 the write. This may have caused partial/broken registry files in
5515 some rare circumstances. Should fix #503675.
5517 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5519 * docs/gst/.cvsignore:
5520 * docs/libs/.cvsignore:
5521 * docs/plugins/.cvsignore:
5522 Ignore files generated by new common/* modifications
5524 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5526 * win32/common/libgstbase.def:
5527 Yes, you can also have a <TAB> if you want.
5529 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5531 * win32/common/libgstbase.def:
5532 Add new basetransform API to win export file.
5534 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5536 * tests/check/gst/gstbin.c:
5537 Adjust the test to the refcount change two days ago.
5539 2007-12-14 David Schleef <ds@schleef.org>
5541 * docs/faq/getting.xml: Fix typo.
5543 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5545 * docs/libs/gstreamer-libs-sections.txt:
5546 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5547 (gst_base_transform_prepare_output_buffer),
5548 (gst_base_transform_set_gap_aware):
5549 * libs/gst/base/gstbasetransform.h:
5550 API: Add gst_base_transform_set_gap_aware() to control whether
5551 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5552 get buffers with this flag at all. Fixes #503231.
5554 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5556 * libs/gst/base/gstbasesink.c:
5557 * libs/gst/base/gstbasesrc.c:
5558 * libs/gst/base/gstbasetransform.c:
5559 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5560 thread. Correct log message in gstbasesrc.c.
5562 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5564 * gst/gstutils.c: (element_find_unconnected_pad):
5565 Fix possible compiler warning (#503417).
5567 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5569 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5570 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5572 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5574 * tools/gst-inspect.c: (print_element_properties_info):
5575 Add support for GstFraction properties.
5577 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5580 Add check-exports target and run it as part of 'make check'
5581 (see #499140 and #493983).
5583 * gst/gst_private.h:
5584 * gst/gstelementfactory.h:
5585 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5586 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5587 (_priv_gst_in_valgrind):
5588 * gst/gstinfo.h: (GstLogFunction):
5589 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5590 (gst_type_find_register):
5591 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5592 (gst_type_find_factory_get_type):
5593 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5594 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5595 (gst_controller_new_valist), (gst_controller_new_list),
5596 (_gst_controller_dispose), (_gst_controller_class_init):
5597 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5598 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5599 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5600 (gst_object_get_controller), (gst_object_set_controller),
5601 (gst_object_suggest_next_sync), (gst_object_sync_values),
5602 (gst_object_set_control_source), (gst_object_get_control_source),
5603 (gst_object_get_value_arrays), (gst_object_get_value_array),
5604 (gst_object_get_control_rate), (gst_object_set_control_rate):
5605 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5606 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5607 Make some functions that should be static static; rename some
5608 private symbols so that they don't get exported; add some FIXME
5609 comments so we can move accidentally exported functions into
5610 our private section in 0.11.
5612 * win32/common/libgstreamer.def:
5613 Add gst_utils_get_timestamp().
5615 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5619 Add more missing "Since:" tags to docs.
5621 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5624 Add mising "Since:" to docs.
5626 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5629 Include "glib-compat-private.h" to fix the build on system with
5630 glib < 2.10. Fixes #503131.
5632 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5636 Actually its not PURE as it gets the time from elsewhere.
5638 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5640 * docs/gst/gstreamer-sections.txt:
5642 * gst/gstdebugutils.c:
5646 * libs/gst/base/gstbasesink.c:
5647 * tools/gst-launch.c:
5648 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5649 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5650 Thanks Tim for spotting.
5651 API: gst_util_get_timestamp
5653 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5656 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5658 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5660 * gst/gststructure.c: (gst_structure_validate_name),
5661 (gst_structure_new_valist), (gst_structure_parse_value),
5662 (gst_structure_from_string):
5663 Don't crash in _from_string() if the structure name is not valid
5664 (fixes #501560). Allow structure names to start with a number
5665 again (this apparently broke the ubuntu codec installer).
5667 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5669 Add unit test for the crash; update unit tests for new behaviour.
5671 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5674 Clarify gst_element_get_compatible_pad() documentation.
5677 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5679 * tests/check/Makefile.am:
5680 Don't forget to dist {gst,libs}/struct_hppa.h.
5682 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5684 * libs/gst/base/gstbasesink.c:
5685 Use new API to get elapsed time.
5687 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5689 * gst/gstdebugutils.c:
5691 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5693 * tools/gst-launch.c:
5694 Use new API to get elapsed time.
5696 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5698 * docs/gst/gstreamer-sections.txt:
5700 * gst/gstdebugutils.c:
5702 Rename new API + ChangeLog surgery to remove old name from last entry..
5704 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5706 * docs/gst/gstreamer-sections.txt:
5708 * gst/gstdebugutils.c:
5710 Now hide the different clock stuff behind a macro.
5712 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5715 * gst/gstdebugutils.c:
5717 Apply the posix-timer check from #361155. Conditionally use the posix
5718 timer for logging. This gives better timestamp precission, less
5719 overhead and no ntp jitter.
5721 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5723 * gst/gstminiobject.c: (gst_mini_object_get_type),
5724 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5725 (gst_mini_object_finalize), (gst_mini_object_copy),
5726 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5727 (gst_mini_object_replace), (param_mini_object_validate),
5728 (gst_param_spec_mini_object_get_type):
5729 Some cleanup and checking against invalid function parameters.
5731 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5733 * docs/gst/gstreamer-sections.txt:
5735 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5736 (gst_systemclock_suite):
5737 Start merging in the easy bits of #361155, the monotonic clock patch.
5738 This one adds a few handy macros with docs and a testsuite.
5740 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5742 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5743 Be a bit smarter when seeking, like, don't try to do a seek when it's
5744 not needed. This avoids errors when the file is not seekable.
5747 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5749 * docs/gst/gstreamer-docs.sgml:
5750 * docs/gst/gstreamer-sections.txt:
5751 * docs/gst/gstreamer.types.in:
5756 * plugins/elements/gstqueue.c:
5757 Due to popular request remove preset interface again. :-(.
5759 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5761 * tools/gst-inspect.c:
5762 Print 'default value' for enums and flags too.
5764 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5766 * docs/random/ensonic/profiling.txt:
5770 Fix typo and give better log output.
5772 * gst/gstdebugutils.c:
5773 * gst/gstdebugutils.h:
5774 More ideas, make graphs a bit smaller and fix param name in macro.
5776 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5779 Try harder to use the return value from fgets().
5781 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5784 For theses two fgets we handle the error below.
5786 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5788 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5789 Only send upstream events upstream. Fixes #498746.
5791 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5793 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5795 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5796 (gst_identity_init), (gst_identity_transform_ip),
5797 (gst_identity_set_property), (gst_identity_get_property):
5798 * plugins/elements/gstidentity.h:
5799 Add property to disable handoff signal emission. Fixes #498694.
5800 API: GstIdentity::signal-handoffs
5802 2007-11-21 Julien Moutte <julien@fluendo.com>
5804 * docs/faq/gst-uninstalled: Yet another missing library for the
5805 uninstalled script (fft)
5807 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5809 * docs/faq/developing.xml:
5810 Add a question about how to submit new translations.
5812 * docs/random/release:
5813 Update the contact email address for the Translation Project
5815 * plugins/elements/gstfdsrc.c:
5816 The parent_class for fdsrc is pushsrc, not GstElement.
5818 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5821 Plug a leak and fix saving.
5823 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5825 * docs/gst/gstreamer-sections.txt:
5826 Add new gst_preset__get_property_names() function to the docs
5829 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5833 Change _get_preset_names API to return a strv with copies. Add
5834 _get_property_names to allow implementations to filter and provide
5835 good default implementation.
5837 2007-11-20 Julien MOUTTE <julien@moutte.net>
5839 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5842 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5845 More cleanups, docs, and TODOs from comments that now slowly come in.
5847 2007-11-19 Julien MOUTTE <julien@moutte.net>
5849 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5852 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5855 Fix bogus warning and make the property type specific code more
5858 2007-11-19 Julien MOUTTE <julien@moutte.net>
5860 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5863 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5865 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5866 (gst_bin_add_func), (gst_bin_remove_func),
5867 (gst_bin_change_state_func), (gst_bin_continue_func):
5868 Change email, cleanups add some more debug and comments.
5869 Also set bus and clock on new elements when the pipeline was in error.
5871 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5874 * gst/gstdebugutils.c:
5875 Fix build with --disable-gst-debug. Fixes #497859.
5876 Spotted by Sameer Naik.
5878 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5881 Little documentation improvment.
5884 More TODO cleanups. Remove c++ comments.
5886 * libs/gst/controller/gstcontroller.c:
5887 Add TODO and use quark from static string.
5889 * tests/check/gst/gstmessage.c:
5890 * tests/check/gst/gststructure.c:
5891 Use quark from static string.
5893 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5896 Add some comments and TODOs.
5899 Add padding for future changes.
5901 * plugins/elements/gstqueue.c:
5902 Implement the iface.
5904 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5906 * docs/gst/gstreamer-docs.sgml:
5907 * docs/gst/gstreamer-sections.txt:
5908 * docs/gst/gstreamer.types.in:
5913 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5915 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5921 === release 0.10.15 ===
5923 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5926 releasing 0.10.15, "October"
5928 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5930 * win32/vs6/libgstreamer.dsp:
5931 Convert line endings back to DOS.
5933 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5935 * docs/design/draft-tagreading.txt:
5936 * docs/random/ensonic/profiling.txt:
5937 Update fast tagreading draft and performance profiling ideas.
5939 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5941 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5942 Don't hold the object lock when unreffing a buffer because it could
5943 cause a deadlock when the finalize function wants to grab the object
5944 lock too. Fixes #495133.
5946 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5948 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5949 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5950 Also accumulate time correctly when doing reverse playback. Fixes
5952 When converting to running and stream time, use default values for
5953 start/stop/time/accum when comparing different formats. Fixes #494245.
5955 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5956 Do running/stream time in TIME format.
5958 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5959 (gst_segment_suite):
5960 2 new unit tests for segment accumulation.
5962 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5964 * gst/gst.c: (init_pre):
5965 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5966 (_gst_debug_bin_to_dot_file):
5967 Move getenv() back into gst_init, so everyone can live happily
5968 ever after. Make sure the symbol isn't exported though.
5970 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5972 Patch by: Sebastien Moutte <sebastien moutte net>
5974 * win32/common/gstenumtypes.c:
5975 * win32/common/gstenumtypes.h:
5978 * win32/vs6/libgstreamer.dsp:
5979 Update vs6 project files (#494343).
5981 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5983 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5984 (gst_base_src_perform_seek), (gst_base_src_default_event),
5985 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5986 (gst_base_src_activate_pull):
5987 Unify flushing code, remove some old unlock code that is no longer used.
5988 Take the streaming lock when seeking to avoid races. Fixes #492729.
5989 Added some more comments.
5991 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5993 * gst/gst.c: (_gst_disable_segtrap):
5994 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5995 we can use gst_segtrap_is_enabled() there now that we have that API.
5996 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5997 to do the getenv here (and export the variable).
5999 * gst/gstdebugutils.c: (debug_dump_element),
6000 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6001 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6003 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6004 (gst_debug_log_default):
6005 Rename _gst_info_start_time to priv_gst_info_start_time so it
6006 doesn't get exported (was never in any header).
6008 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6009 (gst_plugin_loading_mutex):
6010 Make static mutex gst_plugin_loading_mutex really static (was never
6011 in any header), and use gst_segtrap_is_enabled() instead of
6012 _gst_disable_segtrap.
6014 * gst/gsttrace.c: (_gst_trace_default):
6015 Make local _gst_trace_default static (was never in any header).
6017 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6019 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6021 * win32/common/libgstbase.def:
6022 * win32/common/libgstcontroller.def:
6023 * win32/common/libgstdataprotocol.def:
6024 * win32/common/libgstnet.def:
6025 * win32/common/libgstreamer.def:
6026 Add more missing symbols, remove some duplicates, and sort
6027 as the 'sort' command sorts it (partially fixes #493983).
6029 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6031 * gst/gstelement.c: (gst_element_set_state_func):
6032 Only change the state cookie if a different state was set on the
6033 element. See #492729.
6035 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6038 Remove unused and uninitialised type variables that were still
6039 exported for some reason (they were never in any header files
6042 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6044 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6045 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6046 (gst_base_sink_event), (gst_base_sink_get_position_last),
6047 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6048 (gst_base_sink_change_state):
6049 Don't try to report a 0 position when we don't know, return -1 and FALSE
6050 instead. This mostly happens when we are prerolling.
6051 Make sure we can report the right position before we post the ASYNC_DONE
6052 message so that a message handler can query position without races.
6054 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6055 (async_done_handoff), (async_done_func), (send_buffer),
6056 (async_done_eos_func), (gst_sinks_suite):
6057 Add two tests for the above.
6059 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6062 Update with new email address.
6064 * docs/design/part-TODO.txt:
6065 Add some more info about future pad-block and negotiation changes.
6067 * docs/design/part-buffering.txt:
6068 Add some ideas about buffering reporting.
6070 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6072 * tests/check/gst/gstobject.c:
6073 Disable silly racy test that always fails on this combination of CPU
6076 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6078 Patch by: Murray Cumming <murrayc@murrayc.com>
6081 Corrected the registration of the parent-set and parent-unset
6082 signals: The parameter is a GstObject, not a GObject (#493134).
6084 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6086 * gst/gst_private.h:
6095 Move declaration of private _gst_foo_initialize() functions into
6096 our private header file where they should have been all along.
6098 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6100 * docs/plugins/gstreamer-plugins-sections.txt:
6101 * gst/gstdebugutils.h:
6103 * plugins/elements/gstqueue.c:
6104 gtk-doc fixes; trailing-comma-in-enum fix.
6106 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/gst.c: (gst_deinit):
6109 Clean up on deinit (not the external ones though, doesn't seem to be
6110 needed for some reason).
6112 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6114 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6115 Remove __declspec(dllimport) for MSVC that was copied over into core
6116 from a plugin, obviously without ever having been tested (note the
6117 single underscore in _declspec in the initial commit), and that doesn't
6118 really make sense. See #492077.
6120 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6122 * gst/gst.c: (init_post):
6123 * gst/gstevent.c: (_gst_event_initialize):
6124 * gst/gstquery.c: (_gst_query_initialize):
6125 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6126 g_type_class_ref() other types as well, see #349410 and #64764.
6128 * gst/gstbuffer.c: (_gst_buffer_initialize):
6129 * gst/gstmessage.c: (_gst_message_initialize):
6130 Simplify existing g_type_class_ref().
6132 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6134 * gst/gstformat.c: (_gst_format_initialize):
6135 g_type_class_ref() our GstFormat type to make sure we avoid the
6136 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6137 bug #64764. Should fix intermittent tee unit test failures (#474823).
6139 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6141 * tests/check/elements/tee.c: (test_num_buffers):
6142 Simplify, simplify, simplify - or not. Rewrite unit test
6143 not to use gst_parse_launch(); allow N sub-streams. Increasing
6144 the number of sub-streams seems to reproduce #474823 more easily.
6146 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6148 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6151 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6152 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6153 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6154 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6155 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6156 so use _pipe() directly (#492077).
6158 * win32/common/dirent.c: (_treaddir):
6159 Add a couple of casts to make it build without warnings with MSVC.
6161 * win32/common/libgstreamer.def:
6162 Add some more symbols that need to be exported.
6164 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6166 * tests/examples/metadata/read-metadata.c: (message_loop):
6167 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6168 arriving in a second or third tag message are added to
6169 the tag list as well.
6171 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6173 * libs/gst/base/gstbasesrc.c:
6174 Its "Since:" and not "@Since:". And remove an superflous cast.
6176 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6178 * docs/libs/gstreamer-libs-sections.txt:
6179 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6180 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6181 (gst_base_sink_get_property), (gst_base_sink_render_object),
6182 (gst_base_sink_preroll_object),
6183 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6184 (gst_base_sink_change_state):
6185 * libs/gst/base/gstbasesink.h:
6186 Add a new last-buffer property that contains the last buffer used in
6187 basesink for preroll or rendering. useful for making snapshots.
6188 API: gst_base_sink_get_last_buffer()
6189 API: GstBaseSink::last-buffer
6191 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6193 * docs/gst/running.xml:
6195 * gst/gstdebugutils.c:
6196 * gst/gstdebugutils.h:
6197 * tools/gst-launch.c:
6198 Improve bin graph dumping, by using the envvar to specify a path.
6199 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6201 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6203 * plugins/elements/gsttypefindelement.c:
6204 (gst_type_find_element_handle_event),
6205 (gst_type_find_element_activate):
6206 Post special error message if we can't determine the type of a stream
6209 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6211 * docs/gst/running.xml:
6212 * gst/gstdebugutils.c:
6213 Document new env-var. Add one log-line after dumpng a graph.
6215 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6218 Ugly hack to put the (recently removed and non-portable, apparently)
6219 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6220 GNU ld, because without that 'make check' fails miserably on my debian
6221 stable box. Someone with more knowledge of linker intricacies and
6222 portability issues than me fix this properly please.
6224 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6226 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6227 Reset last seen position after flushing so that we don't report the old
6230 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6232 * gst/gstelementfactory.c: (gst_element_register):
6234 Patch from Alessandro Decina adding get_type_full and
6235 get_protocols_full private vfuncs to the URIHandler interface
6236 to allow bindings to support creating URI handlers.
6237 Partially fixes: #339279
6238 API: GstURIHandlerInterface::get_type_full
6239 API: GstURIHandlerInterface::get_protocols_full
6241 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6243 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6244 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6245 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6246 Make it so that pads are considered linked until a buffer is pushed
6247 and discovered otherwise. This avoids problems with decodebin2 hanging
6248 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6251 Make sure we lock the multiqueue when updating the max-size properties.
6253 Fix a crash on Solaris in a debug statement in get_request_pad that
6254 passes a NULL string to GST_DEBUG.
6256 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6257 (run_output_order_test):
6258 Fix the test to allow the first buffer on not-linked pads to come out
6259 of sequence while multiqueue discovers that they are not-linked.
6261 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6264 * libs/gst/check/Makefile.am:
6265 Use a custom export symbol regex for libgstcheck, as it needs
6266 to export symbols that don't match the standard GStreamer gst_*
6267 pattern, and --export-dynamic is not portable (only works on
6270 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6271 (gst_check_setup_sink_pad):
6272 Make sure to pass a message parameter to the fail_* macros.
6274 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6275 Fix some compiler warnings.
6277 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6279 * tests/check/gst/gststructure.c: (test_to_string):
6280 Disable test that checks that white spaces are not allowed
6281 in structure names or field names, since we need to
6282 support that for now for backwards compatibility reasons.
6284 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6286 * docs/gst/gstreamer-sections.txt:
6289 API: add GST_TAG_ARTIST_SORTNAME
6290 API: add GST_TAG_ALBUM_SORTNAME
6291 API: add GST_TAG_TITLE_SORTNAME
6292 Add tag variants for sorting (#414539).
6294 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6296 * gst/gststructure.c:
6297 Also allow white space for names so we don't break
6298 backwards compatibility.
6300 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6302 * docs/design/part-TODO.txt:
6303 * docs/design/part-segments.txt:
6304 * docs/design/part-streams.txt:
6307 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6309 * docs/gst/gstreamer-sections.txt:
6310 Fixed documentation from my previous commit (added new API add
6311 gst_value_set_structure(), add gst_value_get_structure() and
6312 GST_VALUE_HOLDS_STRUCTURE).
6314 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6316 * gst/gstdebugutils.c:
6317 Reflow code to fix uninitialized variable warning.
6319 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6321 * gst/gstcaps.c: (gst_caps_to_string),
6322 (gst_caps_from_string_inplace):
6323 * gst/gststructure.c: (gst_structure_get_abbrs),
6324 (gst_structure_to_string), (gst_structure_from_string):
6325 * gst/gstvalue.c: (gst_value_set_structure),
6326 (gst_value_get_structure), (gst_value_serialize_structure),
6327 (gst_value_deserialize_structure), (_gst_value_initialize):
6329 * tests/check/gst/gststructure.c: (GST_START_TEST),
6330 (gst_structure_suite):
6331 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6332 Added GstStructure to gst_value_table and its related functions.
6333 Changed gst_structure_to_string to print ';' in the end.
6334 Changed gst_caps_to_string to not print ';' beteween its
6335 fields (structures) anymore and remove the lastes ';' from latest
6336 structure. Now it is possible to have nested structures.
6337 In addition, backward compatibilty is assured by accepting '\0' as
6338 end delimiter. Fixes: #487969.
6339 API: add gst_value_set_structure()
6340 API: add gst_value_get_structure()
6341 API: add GST_VALUE_HOLDS_STRUCTURE
6343 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6346 When no GSource callback has been set up, tell developer
6347 to use a function that actually exists.
6349 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6351 * docs/gst/gstreamer-sections.txt:
6355 * gst/gstdebugutils.c:
6356 * gst/gstdebugutils.h:
6359 * tools/gst-launch.c:
6360 Allow dumping pipelines as dot graphs. Fixes #456573.
6362 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6364 * gst/gststructure.c:
6365 Allow '+' as well, it can be part of media or mime types
6366 such as image/svg+xml.
6368 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6370 * docs/gst/gstreamer-sections.txt:
6373 API: add gst_bus_pop_filtered
6374 API: add gst_bus_timed_pop_filtered
6375 Two new functions for waiting for specific message types on the
6376 bus for a specified amount of time without iterating any main
6377 loops or main contexts.
6379 * tests/check/gst/gstbus.c:
6380 Some tests for the new functions.
6382 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6384 * docs/libs/gstreamer-libs-sections.txt:
6385 Make gtk-doc ignore stuff it should ignore.
6387 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6389 * libs/gst/check/gstcheck.c:
6390 * libs/gst/check/gstcheck.h:
6391 Allow runtime selection of unit tests to run via the GST_CHECKS
6392 environment variable (test case function names, comma-separated).
6394 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6396 * gst/gststructure.c:
6397 * tests/check/gst/gststructure.c:
6398 Revert serialisation change and constrain structure-names after
6399 consensus on irc. Update api documentation to reflect the change.
6401 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6403 * gst/gststructure.c:
6404 Improve serialization and fix tests.
6406 * tests/check/gst/gststructure.c:
6407 Add another test that covers why I actually did the previous structure
6410 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6412 * tools/gst-inspect.c: (print_element_info):
6413 Don't crash when inspecting an element.
6415 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6417 * tests/check/gst/gststructure.c:
6418 Add unit test for escaping of structure name when serialising
6419 and deserialising to/from strings.
6421 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6423 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6424 (gst_single_queue_new):
6425 * plugins/elements/gstqueue.c: (gst_queue_init),
6426 (gst_queue_push_one):
6427 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6428 upstream is tricked into thinking it can suggest a format downstream
6429 while downstream does not support that format. The real problem is that
6430 core calls acceptcaps when pushing a buffer with new caps, for which we
6431 do a little workaround by setting the caps on the srcpad ourselves
6432 before pushing the buffer (until this is figured out). Fixes #486758.
6434 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6436 * gst/gststructure.c:
6438 Add some more comments and debug output. Quote structure name to fix
6439 deserialisation of some strings.
6441 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6444 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6445 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6447 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6449 * tools/gst-inspect.c:
6450 Save approx. 400 1 byte allocs when printing. Use API to acces element
6456 * tools/gst-xmlinspect.c:
6457 Use API to acces element details.
6459 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6462 Fix some spelling errors.
6464 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6466 * gst/gstbin.c: (bin_handle_async_done):
6467 Correctly set the next state if all of our async children commited their
6468 state. This makes sure we can actually cancel the state change in
6469 progress. Fixes a regression in Rhythmbox when seeking.
6471 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6474 Don't shadow local variable.
6477 Don't shadow global function name.
6479 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6481 * gst/gstelementfactory.c:
6482 * gst/gstpluginfeature.c:
6483 * gst/gstpluginfeature.h:
6484 * gst/gstregistrybinary.c:
6485 * gst/gstregistryxml.c:
6486 * gst/gsttypefind.c:
6487 Use already-interned string for the private GstPluginFeature
6490 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6492 * docs/libs/gstreamer-libs-sections.txt:
6493 Add new API to docs; fixes the build.
6495 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6497 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6499 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6500 (gst_base_sink_event):
6501 * libs/gst/base/gstbasesink.h:
6502 Add function to wait for EOS, subclasses can use this to correctly wait
6503 for devices to drain before performing the EOS logic. Fixes #485343.
6504 API: gst_base_sink_wait_eos()
6506 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6509 Cast description string constants in GST_PLUGIN_DEFINE macros
6510 to a (gchar*) to make C++ code using these macros compile
6511 without warning with g++-4.2 (see #462737). Even if slightly
6512 ugly, this seems preferable to putting the description strings
6513 into the GLib quark table or making the structure member a
6514 const gchar * and doing casts in core code that allocs and
6515 frees these strings, or requiring a cast in the C++ code.
6517 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6520 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6521 to print the entire class/function signature into the log
6522 file for C++ code. This only affects C++ code, for C code
6523 everything remains the same.
6525 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6527 * gst/gstbin.c: (remove_from_queue):
6528 Work around a problem with pipelines containing (semi)loops until a
6529 proper, more complicated solution is ready. See #475455.
6531 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6535 * gst/gstregistrybinary.c:
6536 * gst/gstregistryxml.c:
6537 Put more strings into the GLib quark table. No need to keep
6538 a hundred-something copies of identical version strings,
6539 license strings, package name strings and package origin
6542 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6544 * docs/manual/advanced-dataaccess.xml:
6545 Don't imply that it's okay to unconditionally change
6546 buffer data or buffer metadata in a pad probe callback,
6547 and a bunch of other comments. Fixes #430031.
6549 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6551 * win32/common/gstenumtypes.c:
6552 * win32/common/gstenumtypes.h:
6553 * win32/common/gstversion.h:
6554 Update generated files.
6556 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6558 * docs/manual/advanced-autoplugging.xml:
6559 Prefix section with broken code with a warning (see #342432).
6561 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6563 * docs/manual/appendix-integration.xml:
6564 * docs/manual/basics-init.xml:
6565 Call g_thread_init() before g_option_context_new() to
6566 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6568 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6570 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6571 (gst_base_sink_queue_object_unlocked),
6572 (gst_base_sink_queue_object), (gst_base_sink_event),
6573 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6574 When we received EOS and are waiting for when to post the EOS message,
6575 our state is prerolled and we should not return ASYNC.
6576 Reorganize some code paths to implement this behavior.
6578 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6580 Add unit test to verify above EOS fix.
6582 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6584 * plugins/elements/gsttypefindelement.c:
6585 (gst_type_find_element_have_type), (gst_type_find_element_init),
6586 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6587 Move detecting the input caps of the sinkpad to the setcaps function.
6588 This allows us to update the output caps when we receive new input caps
6589 instead of always using the first detected caps.
6591 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6593 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6594 (gst_base_sink_get_position):
6595 Don't try to preroll non-async elements after a flush.
6596 Subtract latency form clock times when reporting position.
6598 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6600 * gst/gstpad.c: (gst_pad_pause_task):
6602 Small comment and documentation update.
6604 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6606 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6607 (gst_base_src_set_live), (gst_base_src_is_live),
6608 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6609 (gst_base_src_default_event), (gst_base_src_wait),
6610 (gst_base_src_do_sync), (gst_base_src_get_range),
6611 (gst_base_src_pad_get_range), (gst_base_src_loop),
6612 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6613 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6614 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6615 (gst_base_src_change_state):
6616 Rework the locking of basesrc in a similar fashion to basesink. We
6617 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6618 us to handle live sources and semi live ones much better.
6620 Fix unlocking when seeking, shutting down and pausing in live sources.
6622 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6624 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6625 Fix compilation again.
6627 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6630 Use meaningful categories for the logs to clean the default one.
6632 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6634 * tests/check/pipelines/cleanup.c:
6635 Print message name and not just number.
6637 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6639 * docs/design/draft-tagreading.txt:
6640 Add some more thoughts.
6642 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6644 * tests/check/pipelines/simple-launch-lines.c:
6645 Print message name and not just number.
6647 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6649 * libs/gst/base/gsttypefindhelper.c:
6650 Speedup typefinding. This is work in progress (see #459862).
6652 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6655 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6656 Spotted by Josep Torra Valles <josep@fluendo.com>.
6658 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6661 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6662 field has moved to GstObject.
6664 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6666 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6667 (gst_base_src_get_range), (gst_base_src_change_state):
6668 Call unlock for live sources so that they can't get stuck in _create and
6669 produce a buffer before they are set back to PLAYING.
6671 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6673 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6674 (gst_queue_locked_dequeue):
6675 Comment the segment-related code... in the PROPER function.
6676 See #482147 and my commit from yesterday.
6678 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6680 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6681 Also initialize the counter that calculates the first timestamp on a
6682 buffer correctly for non-live sources.
6684 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6686 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6687 Disable code that's breaking the current-time-level reporting.
6690 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6692 * docs/gst/gstreamer-sections.txt:
6693 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6694 as they shouldn't show up. Fixes the docs build.
6696 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6699 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6700 Define M_PI which is used in files which are including gstinfo.h.
6701 VS6 includes doesn't define it.
6702 * win32/common/libgstbase.def:
6703 * win32/common/libgstcontroller.def:
6704 * win32/common/libgstreamer.def:
6705 Add new exported functions and variables.
6706 * win32/vs6/libgstcontroller.dsp:
6707 * win32/vs6/libgstreamer.dsp:
6708 Update the list of files to build.
6710 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6712 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6714 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6715 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6716 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6717 Improve debugging. Fixes #480858.
6719 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6721 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6723 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6724 First patch of code cleanups, use the macros and right arguments in the
6725 macros to signal and lock the queue. See #480858.
6727 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6729 * gst/gstbus.c: (poll_func):
6730 Improve debugging when dealing with _poll().
6732 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6734 * gst/gstregistryxml.c:
6735 Fix memory leak I introduced a few days ago.
6737 2007-09-26 Michael Smith <msmith@fluendo.com>
6739 * gst/gstbuffer.c: (gst_buffer_finalize):
6740 Make it once again possible to free GstBuffers in the default
6742 The poisoning scribbles on parts of the miniobject we need in
6746 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6748 * docs/gst/gstreamer-sections.txt:
6751 API: add GST_TAG_COMPOSER, fixes #459809.
6753 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6757 Add the 3-clause BSD license and the MIT/X11 license to the license
6758 list. Fixes #479784.
6760 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6762 * docs/faq/getting.xml:
6763 Add Q+A about different GStreamer versions (#364056).
6765 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6767 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6768 (gst_base_sink_event), (gst_base_sink_change_state):
6769 Return correct gboolean from query function.
6771 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6773 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6774 (gst_base_sink_event), (gst_base_sink_query),
6775 (gst_base_sink_change_state):
6776 Simplify latency query.
6777 When not synchronizing, we can report latency without querying the peer
6780 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6784 Fix small typos in the docs.
6786 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6788 * docs/design/draft-latency.txt:
6789 * docs/design/draft-push-pull.txt:
6790 * docs/design/draft-tagreading.txt:
6791 * docs/design/part-MT-refcounting.txt:
6792 * docs/design/part-activation.txt:
6793 * docs/design/part-block.txt:
6794 * docs/design/part-element-source.txt:
6795 * docs/design/part-events.txt:
6796 * docs/design/part-gstbin.txt:
6797 * docs/design/part-gstelement.txt:
6798 * docs/design/part-gstobject.txt:
6799 * docs/design/part-gstpipeline.txt:
6800 * docs/design/part-messages.txt:
6801 * docs/design/part-preroll.txt:
6802 * docs/design/part-push-pull.txt:
6803 * docs/design/part-qos.txt:
6804 * docs/design/part-query.txt:
6805 * docs/design/part-scheduling.txt:
6806 * docs/design/part-seeking.txt:
6807 * docs/design/part-segments.txt:
6808 * docs/design/part-states.txt:
6809 Documentation updates and typo fixes.
6811 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6813 * plugins/elements/gstfakesink.c:
6814 Add some debug text to error message to indicate that
6815 we errored out on request.
6817 * tools/gst-launch.c:
6818 When the state change to PLAYING fails, check for an
6819 error message on the bus and print it.
6821 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6823 translated by: Jorge González González <aloriel@gmail.com>
6827 Added Spanish translation.
6829 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6831 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6832 Fix printf arguments.
6834 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6836 * tests/check/generic/states.c:
6837 Improved state change unit test.
6839 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6842 Move priv to the right place.
6844 * gst/gstsystemclock.c:
6845 Add FIXME: and improve log.
6847 * tests/check/Makefile.am:
6848 * tests/examples/manual/Makefile.am:
6849 Work with all types of registries.
6851 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6853 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6854 Don't unref the event after pushing it. Fixes #478401.
6856 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6859 * tests/examples/manual/.cvsignore:
6860 Ignore registries in any format.
6862 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6864 * gst/glib-compat-private.h:
6865 Add compatibility macro for g_intern_string() for
6866 GLib-2.8 (any reason we can't just bump the
6867 requirement to at least 2.10?)
6869 * gst/gstpadtemplate.h:
6870 * gst/gstelementfactory.c:
6871 * gst/gstregistryxml.c:
6872 * gst/gstregistrybinary.c:
6873 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6874 up the internal code accordingly. This shouldn't be a problem, since
6875 there is no reason external code could ever assume the string in such
6876 a structure is dynamically allocated unless it did that itself; the
6877 use of g_strdup() is private to element factories. The new code also
6878 saves some memory by putting pad template name strings into the GLib
6879 quark table instead of allocating them dynamically.
6880 Declaring this field constant fixes warnings with g++-4.2 when using
6881 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6883 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6885 * gst/gstelementfactory.c:
6886 Release static caps. Fixes #475723.
6888 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6892 Make some internal API take const gchar * instead of just
6893 gchar * to avoid compiler warnings with g++-4.2.2 when
6894 passing string constants (partially fixes #478092).
6896 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6898 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6899 A latency query fails when one of the sinks fail.
6901 * gst/gstelement.c: (gst_element_set_base_time):
6904 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6906 * gst/gstbin.c: (gst_bin_continue_func):
6907 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6909 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6911 Fix minor compilation warnings shown with Forte.
6913 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6915 * plugins/elements/gstqueue.c: (apply_buffer),
6916 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6917 Measure queue level based on the diff between head and tail timestamps
6918 even when pushing the first buffer.
6920 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6922 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6923 (gst_base_sink_event), (gst_base_sink_change_state):
6924 Sinks that don't preroll can always be queried for the latency.
6925 Don't post ASYNC start when we are not async.
6927 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6929 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6930 (gst_queue_handle_sink_event), (gst_queue_chain),
6931 (gst_queue_push_one), (gst_queue_handle_src_query),
6932 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6933 * plugins/elements/gstqueue.h:
6934 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6935 push more buffers but allow pushing of EOS and NEWSEGMENT.
6936 Add some more debug info here and there. Fixes #476514.
6938 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6940 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6941 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6942 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6943 (gst_base_sink_set_flushing), (gst_base_sink_query),
6944 (gst_base_sink_change_state):
6945 Latency query is allowed after we are prerolled. Introduce a new flag
6946 for this and stop abusing other variables.
6948 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6950 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6951 Push OOB events downstream when we get them in send_event. This allows
6952 the application to insert events in the pipeline.
6953 Add some more comments.
6955 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6957 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6958 (do_bin_latency), (gst_bin_change_state_func):
6959 * gst/gstpipeline.c: (gst_pipeline_change_state):
6960 Move latency query from GstPipeline to GstBin so that we can also
6961 use it when async-handling is enabled on bins.
6963 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6965 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6966 (gst_base_src_do_sync), (gst_base_src_change_state):
6968 Clean up the timestamping and syncing code for pseudo live sources.
6970 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6972 Patch by: Steve Fink <sphink gmail com>
6974 * docs/manual/appendix-checklist.xml:
6975 Mention less -R switch in the section about debug output (#474055).
6977 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6979 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6980 Queue can latency to the pipeline up to the configured max size in time.
6981 Report this fact in the latency query.
6983 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6985 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6987 * libs/gst/controller/gstinterpolation.c:
6988 * libs/gst/controller/gstlfocontrolsource.c:
6989 Use gst_guint64_to_gdouble() when converting from a uint64 or
6990 GstClockTime to double to fix the build on win32. Fixes #474371.
6992 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6994 * gst/gstbuffer.c: (gst_buffer_finalize):
6995 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6996 When finalizing a buffer the complete struct is filled with 0xff,
6997 thus making a use of the buffer after the final unref impossible.
6999 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7001 * tests/check/libs/controller.c: (GST_START_TEST):
7002 Use fail_unless_equals_int(a, b) instead of
7003 fail_unless_equals (a == b) to get better output on failures.
7005 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7007 * tests/check/gst/gsturi.c:
7008 Also check for the other file URI variant on win32.
7010 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7012 * gst/gsturi.c: (gst_uri_get_location):
7013 If there's no hostname, we want to return 'c:/foo/bar.txt'
7014 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7016 * tests/check/gst/gsturi.c:
7017 Unit test for the above and a few more things.
7019 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7021 * docs/design/part-live-source.txt:
7022 Add docs on how live sources should timestamp.
7024 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7025 Add some more debug info.
7026 For subclasses that are live and like to sync, add aditional startup
7027 latency to sync time and timestamps so that we timstamp according to the
7030 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7033 Also do a g_type_class_ref() for the subbuffer type in
7036 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7038 * docs/gst/gstreamer-sections.txt:
7039 * gst/gstpad.c: (gst_pad_peer_query):
7041 Add function to perform a query on the peer of a pad.
7042 API: gst_pad_peer_query()
7044 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7046 * tests/check/gst/gstsystemclock.c:
7047 Cleanup the test a little (use gst-logging and not g_message). Improve
7048 test to check if a wait reached the target.
7050 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7052 * docs/libs/gstreamer-libs-sections.txt:
7053 Add new API to docs and fix the build.
7055 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7057 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7058 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7059 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7060 (gst_base_src_get_property), (gst_base_src_do_sync):
7061 * libs/gst/base/gstbasesrc.h:
7062 Add property to make the basesrc timestamp buffers based on the current
7064 API: GstBaseSrc::do-timestamp
7065 API: gst_base_src_set_do_timestamp()
7066 API: gst_base_src_get_do_timestamp()
7068 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7070 * docs/random/release:
7071 Really make sure translations are up-to-date before
7072 a release (#465010).
7074 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7076 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7077 Always destroy the timer, also in error cases.
7079 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7081 * docs/manual/highlevel-xml.xml:
7082 Fix XML example code. Fixes #472714.
7084 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7086 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7087 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7088 (gst_base_sink_query):
7089 Protect eos and have_preroll with the OBJECT lock so we don't need to
7090 take the PREROLL lock when querying the latency. Fixes #473846.
7092 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7095 Give some log-messages a category.
7097 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7099 * gst/gststructure.c:
7100 (gst_structure_fixate_field_nearest_fraction):
7101 Fix fraction list fixation code. Take the fraction with the smallest
7102 difference with the target instead of the first one in the list.
7104 * tests/check/gst/gststructure.c: (GST_START_TEST),
7105 (gst_structure_suite):
7106 Added test to verify correct fraction list fixation behaviour.
7108 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7110 * win32/common/libgstreamer.def:
7111 Export gst_bus_add_signal_watch too.
7113 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7115 * docs/libs/gstreamer-libs-sections.txt:
7116 Add new methods to docs.
7118 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7119 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7120 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7121 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7122 * libs/gst/base/gstbasesink.h:
7123 Add ts-offset property to fine-tune the synchronisation.
7124 API: GstBaseSink::ts-offset property
7125 API: gst_base_sink_set_ts_offset()
7126 API: gst_base_sink_get_ts_offset()
7128 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7130 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7131 (gst_base_sink_init), (gst_base_sink_set_sync),
7132 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7133 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7134 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7135 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7136 (gst_base_sink_get_property), (gst_base_sink_change_state):
7137 * libs/gst/base/gstbasesink.h:
7138 Add async property to instruct the sink never to inform the parent about
7139 ASYNC state changes, update docs.
7140 Check argument with g_return_* for the public functions.
7141 API: GstBaseSink::async property
7142 API: gst_base_sink_set_async_enabled()
7143 API: gst_base_sink_is_async_enabled()
7145 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7147 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7150 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7151 (gst_base_src_default_query), (gst_base_src_wait),
7152 (gst_base_src_do_sync), (gst_base_src_change_state):
7153 Rearrange some code so that we can add support for measuring the
7156 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7158 * docs/random/ensonic/dynlink.txt:
7159 More thoughs on this.
7161 * plugins/elements/gstcapsfilter.c:
7162 Add bugzilla ticket number to FIXME comment.
7164 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7166 * docs/design/part-TODO.txt:
7167 * docs/design/part-block.txt:
7170 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7173 Revert patch which uses $(gst_headers) instead of $^ because it
7176 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7178 * tests/check/gst/gstbin.c: (GST_START_TEST):
7179 Fix leaks in the new unit test.
7181 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7184 Don't use GST_INFO before the debug system is actually initialised
7185 (shouldn't do any harm, but won't print anything either, so we can
7186 just as well remove it).
7189 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7190 compilers that don't support variadic macros (such as MSVC), should
7191 check for debug_level <= __gst_debug_min as well, since that's the
7192 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7193 inline helper functions. Should improve performance a bit, but also
7194 makes sure uses of GST_INFO et.al are ignored if the debugging
7195 system isn't initialised yet (instead of printing an assertion
7198 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7200 patch by: David Nečas <yeti@physics.muni.cz>
7203 Replace some non portable makefile constructs.
7205 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7207 * common/gtk-doc-plugins.mak:
7208 Grrrrr. Don't remove the types file on make clean.
7210 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7212 * tools/gst-launch.1.in:
7213 Add colorspace to example pipeline. Fixes #458274.
7215 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7217 * docs/random/release:
7218 The release manager should run 'make download-po' before making a
7219 release to make sure translations are up-to-date.
7225 Add some new translations.
7227 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7229 * tools/gst-launch.c: (event_loop), (main):
7230 Don´t try to do any state management when a live pipeline posts
7232 Also make the buffering string translatable.
7234 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7236 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7237 (bin_handle_async_start), (gst_bin_handle_message_func):
7239 When adding elements, insert messages into the bus of the newly added
7240 element and make sure the element is the source of the message. This
7241 allows the parent bin to intercept the message and do the
7242 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7243 messages to the app (which is not allowed).
7246 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7247 Fix testsuite so that is does not work around messages that should not
7248 have been posted in the first place.
7250 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7252 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7253 (update_degree), (gst_bin_sort_iterator_next):
7254 Fix annoying bug in the sorted iterator where a sink that is not really
7255 a sink (when it has downstream links) screwed up the iterator.
7257 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7258 Unit test to verify the fix.
7260 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7263 Add some more docs for the messages.
7265 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7266 (gst_base_sink_query):
7267 Add some more debugging.
7269 * tools/gst-launch.c: (event_loop):
7270 When interrupting, don't try to set pipeline to PAUSED twice.
7272 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7275 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7276 (bin_handle_async_start), (gst_bin_handle_message_func):
7277 Move ASYNC_START message posting to where it belongs, similar to
7279 Don't post ASYNC_START when we are in error.
7280 Post ASYNC_START when we added an async element to a bin.
7282 2007-08-14 Julien MOUTTE <julien@moutte.net>
7284 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7285 generation from vargs. Fixes #466595.
7287 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7289 * gst/gstbin.c: (gst_bin_element_set_state):
7290 Always change the state of a NO_PREROLL element even if it has ASYNC
7291 elements inside (in case of a bin).
7293 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7294 Unit test for this case.
7296 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7298 * libs/gst/check/gstbufferstraw.c:
7299 * libs/gst/check/gstcheck.h:
7300 * libs/gst/controller/gstcontroller.c:
7301 * libs/gst/controller/gstcontrolsource.h:
7302 * libs/gst/controller/gstlfocontrolsource.h:
7303 * plugins/elements/gstcapsfilter.h:
7304 * plugins/elements/gstfdsink.h:
7305 * plugins/elements/gstfdsrc.h:
7306 Add more missing docs.
7308 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7310 * gst/gststructure.c:
7311 Add Since tag to docs.
7313 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7315 * docs/gst/gstreamer-sections.txt:
7316 * gst/gststructure.c: (gst_structure_get_uint):
7317 * gst/gststructure.h:
7318 Add function to get uint from a structure.
7319 API: gst_structure_get_uint()
7321 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7323 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7324 (gst_caps_intersect):
7325 Fix proper check for simple caps.
7327 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7329 * docs/gst/Makefile.am:
7330 * docs/libs/Makefile.am:
7331 Remove cruft and do some cleanups.
7333 * docs/gst/gstreamer-docs.sgml:
7334 * docs/libs/gstreamer-libs-docs.sgml:
7335 Prepare for comming gtkdoc features (rebase against online docs).
7337 2007-08-10 Michael Smith <msmith@fluendo.com>
7339 * docs/gst/gstreamer-sections.txt:
7340 Add gst_registry_add_path to docs.
7342 2007-08-10 Michael Smith <msmith@fluendo.com>
7344 * gst/gstregistry.h:
7345 Add gst_registry_add_path, which was missing from this header.
7347 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7349 * libs/gst/controller/gstlfocontrolsource.c:
7352 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7354 * libs/gst/base/gstbasesink.c:
7355 Don't send an async_start message during downwards state change if
7356 target state is less than READY
7358 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7360 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7364 Added Hungarian translation.
7366 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7373 Updated translations.
7375 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7377 * libs/gst/controller/Makefile.am:
7378 Dist gstlfocontrolsourceprivate.h
7380 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7382 * docs/libs/gstreamer-libs.types:
7383 Don't register the enum type gst_lfo_waveform_get_type() in the
7384 .types file - only GObject derived types belong.
7386 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7388 Patch by: <arenevier at fdn dot fr>
7391 Remove comma from last element in enum to avoid compile errors when
7392 using -pendantic. Fixes #464366.
7394 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7396 * docs/design/part-TODO.txt:
7397 Add some more TODO items
7399 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7402 * gst/gstcaps.c: (gst_caps_intersect):
7403 Optimize trivial intersection case between identical caps pointers.
7405 * gst/gstelement.c: (gst_element_continue_state),
7406 (gst_element_set_state_func):
7408 Fix spelling and grammar mistakes.
7410 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7414 Update POTFILES. Fixes #461599.
7416 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7419 Fix confusing typo in debug output.
7421 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7423 reviewed by: Stefan Kost <ensonic@users.sf.net>
7425 * libs/gst/controller/Makefile.am:
7426 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7427 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7428 (gst_lfo_control_source_new),
7429 (gst_lfo_control_source_set_waveform),
7430 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7431 (gst_lfo_control_source_finalize),
7432 (gst_lfo_control_source_dispose),
7433 (gst_lfo_control_source_set_property),
7434 (gst_lfo_control_source_get_property),
7435 (gst_lfo_control_source_class_init):
7436 * libs/gst/controller/gstlfocontrolsource.h:
7437 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7438 API: Add GstLFOControlSource, a control source that gives values
7439 for specific timestamps based on several periodic waveforms.
7442 * tests/check/libs/controller.c: (GST_START_TEST),
7443 (gst_controller_suite):
7444 * docs/libs/gstreamer-libs-docs.sgml:
7445 * docs/libs/gstreamer-libs-sections.txt:
7446 * docs/libs/gstreamer-libs.types:
7447 Add documentation and unit tests for GstLFOControlSource.
7449 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7454 === release 0.10.14 ===
7456 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7459 releasing 0.10.14, "Breathing Vacuum"
7461 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7463 * gst/gstelement.c: (gst_element_class_set_details_simple):
7465 Make strings passed to gst_element_class_set_details_simple()
7466 constant, as they should be (#462752).
7468 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7470 * gst/gstbin.c: (gst_bin_change_state_func),
7471 (bin_handle_async_done), (gst_bin_handle_message_func):
7472 Don't forget about the fact that some element went ASYNC even after a
7473 resync. This makes us post the ASYNC_DONE message correctly.
7476 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7478 * gst/gstregistry.c: (gst_registry_add_feature):
7479 When replacing an existing feature in the registry, make sure to
7480 continue holding a reference until we've replaced the name string
7481 within our feature hash table. Make sure to use g_hash_table_replace
7482 instead of g_hash_table_insert to ensure the new name string is used
7483 as a key instead of the old one that we're about to free.
7486 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7488 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7489 (gst_plugin_feature_set_name):
7490 Revert patch from #459466 until after the release and we can work
7491 out exactly what the problem is (if any).
7493 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7495 * docs/gst/gstreamer-sections.txt:
7498 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7500 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7502 * docs/libs/Makefile.am:
7503 Include our build-prefix libs and includes before the generic ones to
7504 avoid linking against the installed libs when we want the build-tree
7507 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7509 Patch by: Steve Fink <sphink gmail com>
7511 * docs/pwg/building-testapp.xml:
7512 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7513 if people try to build or install the example from the plugin
7514 template against a GStreamer from package using the configure
7517 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7519 Patch by: Steve Fink <sphink gmail com>
7521 * tools/gst-inspect.1.in:
7522 Document --print-all and --print-plugin-auto-install-info command
7523 line options in man page.
7525 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7527 * docs/gst/gstreamer-sections.txt:
7528 Add docs for new api function.
7530 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7532 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7533 * gst/gstelementfactory.h:
7534 API: gst_element_factory_has_interface()
7535 Added method to check if an element factory implements a named
7538 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7541 * docs/gst/gstreamer.types.in:
7542 Another conditional doc check.
7545 * gst/gstparamspecs.h:
7546 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7551 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7553 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7554 (gst_registry_binary_load_feature),
7555 (gst_registry_binary_load_plugin),
7556 (gst_registry_binary_read_cache):
7557 Print error just once and with additional info.
7559 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7561 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7562 (helper_find_suggest), (helper_find_get_length),
7563 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7564 (gst_type_find_helper_for_buffer):
7565 Cleanup the typefindhelper code and add private doc comments.
7567 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7569 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7570 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7571 Fix capsfilter for cases where the caps set on capsfilter will provide
7572 additional information.
7575 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7577 * gst/gsttypefindfactory.c:
7578 Fix docs that recommened wrong function to use.
7580 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7582 * tools/gst-inspect.c: (print_plugin_features):
7583 Also give media-type for typefinders in element output.
7585 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7587 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7588 (gst_registry_remove_features_for_plugin_unlocked),
7589 (gst_registry_add_feature), (gst_registry_remove_feature),
7590 (gst_registry_lookup_feature_locked):
7591 * gst/gstregistry.h:
7592 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7595 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7597 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7598 (gst_plugin_feature_set_name):
7599 Avoid double memory usage for pluginfeature names. Fixes #459466.
7601 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7604 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7605 driving the pipeline may need to explicitly check for NOT_LINKED as
7606 well, since IS_FATAL doesn't cover that.
7608 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7610 * docs/pwg/advanced-types.xml:
7611 Fix typo and duplicate entry in video formats list.
7613 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7615 * libs/gst/controller/gstinterpolation.c:
7616 Also round to the nearest int when using cubic interpolation.
7618 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7620 * libs/gst/controller/gstinterpolation.c:
7621 When linearly interpolating integer types, round to the nearest int
7622 by adding 0.5. Don't do it for float/double types.
7623 Fixes the failing controller test on my machine, which is somehow
7624 rounding differently than on the buildbots.
7626 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7628 * tools/gst-plot-timeline.py:
7629 Better log parsing (categories can have -). Adjust text vs. lines, so
7630 that they span the same y-range.
7632 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7634 * docs/random/ensonic/audiobaseclasses.txt:
7635 * docs/random/ensonic/dynlink.txt:
7636 * docs/random/ensonic/profiling.txt:
7639 * docs/random/moving-plugins:
7640 Add note to use g_assert type macros.
7642 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7645 * libs/gst/check/Makefile.am:
7646 Add libm check as we use in for plugins.
7648 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7650 * gst/gstbin.c: (gst_bin_continue_func):
7651 Check that the state_cookie hasn't changed since the continue_func
7652 was scheduled. Avoids problems where the state changes back to
7653 something it shouldn't be because it was changed in the meantime.
7655 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7657 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7658 (gst_registry_binary_save_string),
7659 (gst_registry_binary_save_pad_template),
7660 (gst_registry_binary_save_feature),
7661 (gst_registry_binary_save_plugin),
7662 (gst_registry_binary_load_feature),
7663 (gst_registry_binary_load_plugin),
7664 (gst_registry_binary_read_cache):
7665 Fix memory leak. Be less verbose in the log.
7667 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7669 * tests/check/elements/.cvsignore:
7670 Add file to cvsignore as commanded.
7672 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7674 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7675 (mq_dummypad_event), (run_output_order_test):
7676 Use a GStaticMutex to protect all cases where libcheck
7677 fail_if/fail_unless macros might be called from multiple threads
7678 simultaneously to avoid errors like:
7679 "check_pack.c:107: :-1081725400:Bad message type arg"
7681 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7683 * tests/check/pipelines/stress.c: (GST_START_TEST):
7684 Make sure we set the pipeline back to the NULL state before
7685 dropping our final reference.
7687 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7689 * tests/check/elements/tee.c: (GST_START_TEST):
7690 Make the tee stress-test a little less stressful so it doesn't just
7691 time out on slow-machines, and remove a small race when it's starting
7692 up by adding a get_state() call.
7694 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7697 Avoid reading registry twice on startup. Fixes #457322.
7699 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7701 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7702 * pkgconfig/gstreamer-check.pc.in:
7703 Substitute the CFLAGS for libcheck into our .pc file too so that
7704 dependent modules will pick it up properly if libcheck is installed
7705 into some other prefix.
7707 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7710 Revert the pkg-config check for libcheck, since it pulls in the
7711 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7712 a proper solution, either from the check project, or something else.
7714 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7717 Use pkg-config to locate check.
7719 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7726 Add deprecation guards.
7728 * libs/gst/base/gstcollectpads.h:
7729 Don't document object (this is implicitly private).
7731 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7733 * gst/gststructure.c: (gst_structure_parse_value):
7734 When deserialising foo=bar without a type cast, check if it's a
7735 boolean before falling back to a string type, otherwise things like
7736 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7737 because the filtercaps end up having a signed=(string)true field,
7738 which causes problems later when intersection caps.
7740 * tests/check/gst/gststructure.c: (GST_START_TEST):
7741 Add a unit test for this.
7743 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7745 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7747 * libs/gst/controller/Makefile.am:
7748 * libs/gst/controller/gstcontroller.c:
7749 (gst_controlled_property_add_interpolation_control_source),
7750 (gst_controlled_property_new), (gst_controlled_property_free),
7751 (gst_controller_find_controlled_property),
7752 (gst_controller_new_valist), (gst_controller_new_list),
7753 (gst_controller_new), (gst_controller_remove_properties_valist),
7754 (gst_controller_remove_properties_list),
7755 (gst_controller_remove_properties),
7756 (gst_controller_set_property_disabled),
7757 (gst_controller_set_disabled), (gst_controller_set_control_source),
7758 (gst_controller_get_control_source), (gst_controller_get),
7759 (gst_controller_sync_values), (gst_controller_get_value_array),
7760 (_gst_controller_dispose), (gst_controller_get_type),
7761 (gst_controlled_property_set_interpolation_mode),
7762 (gst_controller_set), (gst_controller_set_from_list),
7763 (gst_controller_unset), (gst_controller_unset_all),
7764 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7765 * libs/gst/controller/gstcontroller.h:
7766 * libs/gst/controller/gstcontrollerprivate.h:
7767 * libs/gst/controller/gstcontrolsource.c:
7768 (gst_control_source_class_init), (gst_control_source_init),
7769 (gst_control_source_get_value),
7770 (gst_control_source_get_value_array), (gst_control_source_bind):
7771 * libs/gst/controller/gstcontrolsource.h:
7772 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7773 (gst_object_get_control_source):
7774 * libs/gst/controller/gstinterpolation.c:
7775 (gst_interpolation_control_source_find_control_point_node),
7776 (gst_interpolation_control_source_get_first_value),
7777 (_interpolate_none_get), (interpolate_none_get),
7778 (interpolate_none_get_boolean_value_array),
7779 (interpolate_none_get_enum_value_array),
7780 (interpolate_none_get_string_value_array),
7781 (_interpolate_trigger_get), (interpolate_trigger_get),
7782 (interpolate_trigger_get_boolean_value_array),
7783 (interpolate_trigger_get_enum_value_array),
7784 (interpolate_trigger_get_string_value_array):
7785 * libs/gst/controller/gstinterpolationcontrolsource.c:
7786 (gst_control_point_free), (gst_interpolation_control_source_reset),
7787 (gst_interpolation_control_source_new),
7788 (gst_interpolation_control_source_set_interpolation_mode),
7789 (gst_interpolation_control_source_bind),
7790 (gst_control_point_compare), (gst_control_point_find),
7791 (gst_interpolation_control_source_set_internal),
7792 (gst_interpolation_control_source_set),
7793 (gst_interpolation_control_source_set_from_list),
7794 (gst_interpolation_control_source_unset),
7795 (gst_interpolation_control_source_unset_all),
7796 (gst_interpolation_control_source_get_all),
7797 (gst_interpolation_control_source_get_count),
7798 (gst_interpolation_control_source_init),
7799 (gst_interpolation_control_source_finalize),
7800 (gst_interpolation_control_source_dispose),
7801 (gst_interpolation_control_source_class_init):
7802 * libs/gst/controller/gstinterpolationcontrolsource.h:
7803 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7804 API: Refactor GstController into the core controller which can take
7805 a GstControlSource for providing actual values for timestamps.
7806 Implement a interpolation control source and use this for backward
7807 compatibility, deprecate a bunch of functions that are now handled
7808 by GstControlSource or GstInterpolationControlSource.
7809 Make it possible to disable the controller completely or only for
7810 specific properties. Fixes #450711.
7811 * docs/libs/gstreamer-libs-docs.sgml:
7812 * docs/libs/gstreamer-libs-sections.txt:
7813 * docs/libs/gstreamer-libs.types:
7814 Add new functions and classes to the docs.
7815 * tests/check/libs/controller.c: (GST_START_TEST),
7816 (gst_controller_suite):
7817 * tests/examples/controller/audio-example.c: (main):
7818 Port unit test and example to the new API and add some new
7821 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7823 Patch by: Mark Nauwelaerts <manauw at skynet be>
7825 * plugins/elements/gstmultiqueue.c:
7826 (gst_multi_queue_get_internal_links), (apply_buffer),
7827 (single_queue_overrun_cb), (gst_single_queue_new):
7828 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7829 the pipeline layout can be tracked correctly. Fixes #453732.
7831 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7833 * docs/gst/Makefile.am:
7834 * docs/libs/Makefile.am:
7835 * docs/plugins/Makefile.am:
7836 Simplify --extra-dir as gtkdoc scans recursively.
7838 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7840 * tools/gst-launch.c: (main):
7841 When we got an error, there is no point in waiting for preroll when
7844 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7846 * plugins/elements/gsttee.c: (gst_tee_base_init),
7847 (gst_tee_request_new_pad), (gst_tee_release_pad),
7848 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7849 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7851 Be a lot smarter when deciding what srcpad to use for proxying
7852 the buffer_alloc. Also handle pad added/removed when doing so.
7854 Keep track of what pads we already pushed on in case we have pads
7855 added/removed while pushing. Fixes #374639
7857 * tests/check/Makefile.am:
7858 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7860 Added unit test for pad resync.
7862 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7866 Updated translations.
7868 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7870 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7874 Added new Finnish translation.
7876 2007-06-28 Wim Taymans <wim@fluendo.com>
7878 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7879 (single_queue_overrun_cb):
7880 When figuring out when a queue is filled, use our internal time estimate
7881 based on segments, just like check_full does.
7883 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7885 * gst/gstminiobject.c: (gst_mini_object_get_type):
7886 Remove 3 do-nothing methods.
7888 2007-06-27 Wim Taymans <wim@fluendo.com>
7890 Patch by: Tim Angus <tim at ngus dot net>
7892 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7893 (gst_capsfilter_set_property):
7894 Take a reference instead of a copy when setting "caps".
7895 Fix documentation to clarify this behaviour. Fixes #449414.
7897 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7899 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7900 * gst/gstplugin.c: (gst_plugin_init):
7901 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7902 * gst/gstquery.c: (gst_query_get_type):
7903 * gst/gstregistry.c: (gst_registry_init):
7904 * gst/gsturi.c: (gst_uri_handler_base_init):
7905 Remove empty instance_init() functions to save relocs and lessen the
7906 noise. Remove some of the function prototypes that are doubled by
7909 2007-06-27 Wim Taymans <wim@fluendo.com>
7911 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7913 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7914 Add peer and direction in the XML serialisation of ghostpads.
7917 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7920 Preserve useful information, thanks Tim.
7922 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7924 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7925 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7926 (gst_single_queue_push_one), (gst_multi_queue_loop),
7927 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7928 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7929 (compute_high_id), (gst_single_queue_new):
7930 * plugins/elements/gstmultiqueue.h:
7931 Take the multiqueue lock when updating the fill level so we don't get
7934 After applying a buffer or event on the src pad segment, make sure to
7935 call gst_data_queue_limits_changed() to get the data queue to unblock
7936 and check the filled state again.
7938 Rework the not-linked pad handling so the logic is that not-linked
7939 pads can push as fast as they like, but only so they never get
7940 ahead of any linked pads.
7942 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7943 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7944 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7946 Add a test to check that not-linked pads always stay behind
7951 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7953 * docs/random/release:
7954 Some updates to the release procedure.
7956 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7958 * gst/gstelementfactory.c: (__gst_element_details_clear):
7959 Microoptimization that saves stunning 80 bytes.
7961 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7963 * docs/plugins/gstreamer-plugins.args:
7964 * docs/plugins/inspect/plugin-coreelements.xml:
7965 * docs/plugins/inspect/plugin-coreindexers.xml:
7966 Update docs with caps info.
7968 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7971 Updated Italian translation.
7973 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7977 Update Vietnamese translations.
7979 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7981 * libs/gst/base/gstbasesink.c:
7982 Remove unused signal enum.
7984 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7986 * docs/gst/gstreamer-sections.txt:
7988 * gst/gstutils.c: (gst_type_register_static_full):
7989 Beef up and include the docs for gst_type_register_static_full and
7990 gst_element_class_set_details_simple and add the API keyword
7993 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7995 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7996 (update_time_level), (gst_single_queue_push_one),
7997 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7998 (single_queue_overrun_cb), (single_queue_underrun_cb),
7999 (single_queue_check_full):
8000 Fix setting max-* properties after adding queues.
8001 Use IS_FILLED for checking visible items.
8002 Signal overrun if multiple queues overrun.
8003 Add extra debug output.
8004 Patch by: Wim Taymans <wim@fluendo.com>
8006 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8008 * gst/gstelement.c: (gst_element_class_set_details_simple):
8010 * gst/gstutils.c: (gst_type_register_static_full):
8012 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8013 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8014 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8015 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8016 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8017 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8018 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8019 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8020 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8021 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8022 (apply_buffer), (gst_queue_chain):
8023 * plugins/elements/gsttee.c: (gst_tee_base_init):
8024 * plugins/elements/gsttypefindelement.c:
8025 (gst_type_find_element_base_init),
8026 (gst_type_find_element_class_init):
8027 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8028 API: add gst_type_register_static_full
8029 API: add gst_element_class_set_details_simple
8031 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8033 * docs/pwg/advanced-types.xml:
8034 Fix typo in iana.org URI.
8036 2007-06-19 Andy Wingo <wingo@pobox.com>
8038 * tests/check/pipelines/simple-launch-lines.c
8039 (test_state_change_returns): Enable pull-mode tests now that
8040 basesink has been fixed.
8042 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8043 Changed from gst_base_sink_is_prerolled, reversing the sense of
8044 the return value. Returns FALSE also if the sink is in pull mode,
8045 in which case it needs no preroll.
8046 (gst_base_sink_query, gst_base_sink_change_state): Update for
8047 needs_preroll change.
8048 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8049 chaining up, in which we return SUCCESS directly if we activated
8050 in pull mode instead of ASYNC. Involves countering an async_start
8051 message sent before chaining up; not sure if this is correct, in
8052 an ideal world we only send async-start when activating in push
8055 * tests/check/pipelines/simple-launch-lines.c
8056 (test_state_change_returns): New test, partially disabled until
8059 2007-06-19 Wim Taymans <wim@fluendo.com>
8061 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8062 (gst_multi_queue_sink_event):
8065 2007-06-19 Wim Taymans <wim@fluendo.com>
8067 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8068 (gst_bin_change_state_func), (bin_push_state_continue),
8069 (bin_handle_async_start), (bin_handle_async_done),
8070 (gst_bin_handle_message_func):
8071 Move the common code for posting state-change messages into
8073 Broadcast the state signal after we posted the messages.
8074 Mark the bin as busy when it's doing a state-change.
8075 Make sure async-start/done messages don't interfere with the bin's
8076 state when it's busy.
8077 After the state change, let the bin check which elements completed the
8078 state change while it was busy so that it can update its state.
8080 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8082 * docs/random/release:
8083 Add a note about updating the doap file to the release checklist
8085 2007-06-18 Wim Taymans <wim@fluendo.com>
8087 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8088 (gst_single_queue_push_one), (gst_multi_queue_chain),
8089 (gst_multi_queue_sink_event):
8090 Make sure we don't reference the buffer/event after we have given away
8091 ownership in the queue.
8093 2007-06-18 Wim Taymans <wim@fluendo.com>
8095 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8096 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8097 Update queue state _after_ adding the item in the queue because else we
8098 could end up being full without the element added yet.
8100 2007-06-18 Wim Taymans <wim@fluendo.com>
8102 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8103 (gst_bin_remove_func), (gst_bin_get_state_func),
8104 (gst_bin_element_set_state), (gst_bin_continue_func),
8105 (bin_push_state_continue), (bin_handle_async_start),
8106 (bin_handle_async_done), (gst_bin_handle_message_func):
8108 Immediatly commit the toplevel bin state when receiving an async-done
8109 message. This enables us to avoid spawning a thread to commit the state
8110 in some common cases and it also avoids some races.
8111 Avoid spawning a state thread when adding/removing async elements to a
8112 toplevel bin. Instead we immediatly update the bin state.
8113 Get rid of iterating all the children when getting the state in the bin
8114 because it is now always up-to-date.
8115 Fix bug where locked elements would always return _SUCCESS even it they
8116 returned NO_PREROLL before being locked.
8117 Fix the order of the state_change, async-start/done messages that was
8118 sometimes incorrect.
8119 Mark the state_dirty field as deprecated, we don't need it anymore as we
8120 are always up-to-date.
8122 * gst/gstelement.c: (gst_element_get_state_func),
8123 (gst_element_continue_state):
8124 Small debug inprovements.
8125 Return the previous element state return when nothing is pending instead
8126 of blindly returning SUCCESS.
8128 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8130 Add a whole bunch of new testcases.
8132 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8136 Update translations.
8138 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8141 Fix typo in the docs.
8143 2007-06-15 Wim Taymans <wim@fluendo.com>
8145 * docs/libs/gstreamer-libs-sections.txt:
8146 Add docs for new methods.
8148 2007-06-15 Wim Taymans <wim@fluendo.com>
8150 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8151 (gst_multi_queue_item_new):
8152 Don't use GSlice because we don't depend on >= 2.10 yet.
8154 2007-06-15 Wim Taymans <wim@fluendo.com>
8156 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8157 (update_time_level), (apply_segment), (apply_buffer),
8158 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8159 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8160 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8161 (single_queue_underrun_cb), (single_queue_check_full):
8162 Remove debug printf.
8164 2007-06-15 Wim Taymans <wim@fluendo.com>
8166 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8167 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8168 (gst_data_queue_set_flushing), (gst_data_queue_push),
8169 (gst_data_queue_pop), (gst_data_queue_drop_head),
8170 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8171 * libs/gst/base/gstdataqueue.h:
8173 Added methods to get the current levels and to inform the queue that the
8174 'full' limits changed.
8176 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8177 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8178 (gst_single_queue_flush), (update_time_level), (apply_segment),
8179 (apply_buffer), (gst_single_queue_push_one),
8180 (gst_multi_queue_item_steal_object),
8181 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8182 (gst_multi_queue_loop), (gst_multi_queue_chain),
8183 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8184 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8185 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8186 (single_queue_underrun_cb), (single_queue_check_full),
8187 (gst_single_queue_new):
8188 Keep track of time in the queue by measuring the difference between
8189 running_time on input and output. This gives more accurate results and
8190 can compensate for segments correctly.
8191 Make a queue by default only 5 buffers deep. We will now increase the
8192 buffer size depending on the filledness of the other queues.
8193 Factor out commong flush code.
8194 Make sure we don't add additional refcounts to buffers when we can avoid
8196 Propagate GstFlowReturn differently.
8197 Use GSlice for intermediate GstMultiQueueItems.
8199 Resize queues on over and underruns based on filled level of other
8201 When checking if the queue is filled, prefer to measure in time if we
8202 can and fall back to bytes when no time is known.
8204 * plugins/elements/gstqueue.c:
8207 2007-06-15 Wim Taymans <wim@fluendo.com>
8209 * libs/gst/base/gstbasetransform.c:
8210 (gst_base_transform_sink_event):
8211 Work around the brokenness of the event vmethod in basetransform. Prefer
8212 to return TRUE when the subclass returned FALSE (meaning don't forward
8215 * libs/gst/base/gstbasetransform.h:
8218 2007-06-15 Wim Taymans <wim@fluendo.com>
8220 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8221 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8222 (gst_base_src_default_query), (gst_base_src_get_range),
8223 (gst_base_src_start):
8224 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8227 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8229 * docs/pwg/advanced-types.xml:
8230 Added more formats to caps table.
8232 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8234 * tools/gst-launch.c: (main):
8235 Remove crufy code. GOption does not need this workaround.
8237 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8239 * libs/gst/controller/gstcontroller.c:
8240 (gst_controlled_property_set_interpolation_mode):
8241 Fix wrong getter for enums in controller.
8243 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8245 * libs/gst/check/gstcheck.c: (gst_check_init):
8246 Intercept criticals and warnings in the Gst-Phonon log domain, so
8247 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8250 2007-06-14 Edward Hervey <edward@fluendo.com>
8252 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8253 Since this file doesn't include "gst.h" it will not go through the
8254 macros that disable GST_LOG if debugging was disabled.
8256 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8258 * libs/gst/check/Makefile.am:
8259 * libs/gst/check/gstcheck.h:
8260 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8261 * pkgconfig/gstreamer-check.pc.in:
8262 Ugly 'fix' for the controller unit test on the p5 bot: in
8263 fail_unless_equals_float() check whether the values are 'almost
8264 equal' by allowing a small absolute error, which should be good
8265 enough for our use cases (normal numbers and values close to 0).
8266 Proper fixage left to floating point arithmetic aficionados.
8268 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8270 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8271 (gst_base_sink_render_object), (gst_base_sink_get_position):
8272 Add two breaks thats where missing.
8274 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8276 * docs/libs/gstreamer-libs-sections.txt:
8277 * libs/gst/check/gstcheck.h:
8278 API: add fail_unless_equals_float() and assert_equals_float().
8279 Add documentation for some of the macros.
8281 * tests/check/libs/controller.c: (GST_START_TEST):
8282 Use newly-added asserts.
8284 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8286 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8287 Show the caps change in the log to help spotting the case of not
8288 exactly matching caps.
8290 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8292 * docs/pwg/building-boiler.xml:
8293 Fix typos, spotted by Thijs Vermeir (#447190).
8295 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8297 * docs/plugins/tmpl/.cvsignore:
8298 Ignore file to keep the buildbots happy
8300 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8302 * docs/plugins/Makefile.am:
8303 * docs/plugins/gstreamer-plugins-docs.sgml:
8304 * docs/plugins/gstreamer-plugins-sections.txt:
8305 Pull fdsink into the docs too.
8307 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8309 * libs/gst/controller/gstinterpolation.c:
8310 Actually use the new functions with min/max checks for the trigger and
8311 none interpolation modes for get() and get_value_array() instead of
8314 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8316 * libs/gst/controller/gstcontroller.c:
8317 (gst_controlled_property_free):
8318 Unset the minimum and maximum GValues when freeing the corresponding
8319 GstControllerProperty struct.
8321 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8323 * libs/gst/controller/gstcontroller.c:
8324 (gst_controlled_property_new):
8325 * libs/gst/controller/gstcontrollerprivate.h:
8326 * libs/gst/controller/gstinterpolation.c:
8327 (gst_controlled_property_find_control_point_node),
8328 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8329 (interpolate_none_get_string_value_array),
8330 (interpolate_trigger_get),
8331 (interpolate_trigger_get_enum_value_array),
8332 (interpolate_trigger_get_string_value_array):
8333 Protect against values larger or smaller than the minimum or maximum
8334 allowed value for the property when using values that can be compared.
8336 Optimize trigger interpolator a bit by taking the last requested value
8337 into account instead of always looping through the complete list.
8339 Fix coding style a bit, everywhere else we use "return foo" instead
8342 * tests/check/libs/controller.c: (GST_START_TEST),
8343 (gst_controller_suite):
8344 Add unit test for the protection against too large or too small
8347 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8349 * docs/random/slomo/controller.txt:
8350 Add some thoughts about the future of the controller.
8352 2007-06-08 Wim Taymans <wim@fluendo.com>
8354 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8355 Don't overflow in retimestamping code.
8357 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8359 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8360 Use gst_util_guint64_to_gdouble for conversions.
8361 * win32/common/libgstreamer.def:
8362 Add new exported functions.
8364 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8367 Small docs addition.
8369 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8372 Remove that test line again.
8374 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8377 Test commit mail sending.
8379 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8382 Fix typo and test commit mail sending.
8384 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8386 * tests/examples/controller/audio-example.c:
8387 Improve comment and test commit mail sending.
8389 2007-06-07 Wim Taymans <wim@fluendo.com>
8391 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8392 (gst_bin_remove_func), (gst_bin_element_set_state),
8393 (bin_handle_async_start), (bin_handle_async_done),
8394 (gst_bin_handle_message_func):
8395 Add helper function to find messages.
8396 Generate the async-done messages together with the state change
8398 Small cleanups in handling toplevel bins.
8400 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8402 * libs/gst/base/gstdataqueue.c:
8403 * libs/gst/base/gstdataqueue.h:
8404 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8405 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8406 (gst_multi_queue_sink_event):
8407 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8408 Fix multiqueue leaking buffers and events when downstream or the
8409 queue are flushing. Make refcounting assumptions explicit and
8410 document them (shouldn't break existing code that uses it other than
8411 maybe leak miniobjects, but that already happens anyway). Add unit
8412 test for the most common flushing case. Fixes #423700.
8414 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8416 * libs/gst/controller/gstcontroller.c:
8417 Clarify docs: The get_all, get_value_array(s) functions
8418 don't modify the GObject properties.
8420 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8422 * libs/gst/controller/gstcontroller.c:
8423 (gst_controlled_property_set_interpolation_mode),
8424 (gst_controlled_property_prepend_default),
8425 (gst_controlled_property_new), (gst_controller_set_unlocked),
8426 (gst_controller_set), (gst_controller_set_from_list),
8427 (gst_controller_unset), (gst_controller_unset_all):
8428 * libs/gst/controller/gstcontrollerprivate.h:
8429 * libs/gst/controller/gstinterpolation.c:
8430 Factor out the 'set' logic into gst_controller_set_unlocked for the
8431 gst_controller_set and gst_controller_set_from_list functions.
8433 To make life of the interpolators easier always add a control point
8434 at timestamp zero with the default value.
8436 In the linear interpolator make things more obvious by better variable
8439 Implement cubic interpolation mode (by using a natural cubic spline)
8440 and map the quadratic interpolation mode to this too (as quadratic
8441 doesn't make much sense, see discussion on the list).
8443 * tests/check/libs/controller.c: (GST_START_TEST),
8444 (gst_controller_suite):
8445 Add unit test for the cubic interpolation mode and check everywhere
8446 if the interpolation mode could be set as expected.
8448 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8450 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8451 Don't use GLib-2.10 functions, we still depend on
8452 GLib-how-old-is-it-again-2.8.
8454 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8456 * docs/gst/gstreamer-sections.txt:
8460 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8461 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8462 (_gst_param_fraction_values_cmp),
8463 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8464 * gst/gstparamspecs.h:
8466 * tests/check/Makefile.am:
8467 * tests/check/gst/.cvsignore:
8468 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8469 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8470 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8471 (GST_START_TEST), (gst_param_spec_suite):
8472 API: add GstParamSpecFraction, so elements can have fraction
8473 properties without lots of painful string parsing (#444648).
8475 2007-06-05 Wim Taymans <wim@fluendo.com>
8477 * gst/gstobject.c: (gst_object_class_init):
8478 Fix signal signature.
8481 Add small clarification in the api docs.
8483 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8484 States are protected with object lock.
8486 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8489 I should probably be listed as an author by now.
8491 * docs/random/release:
8492 Update the release doc
8494 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8497 Make docs for gst_value_compare() mention return enums that
8500 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8505 === release 0.10.13 ===
8507 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8510 releasing 0.10.13, "With or without you"
8512 2007-05-25 Wim Taymans <wim@fluendo.com>
8514 * gst/gstbin.c: (bin_handle_async_done):
8515 Make sure that the child bin stops after completing the async state
8516 change so that the parent can continue the state change to PLAYING.
8519 2007-05-25 Wim Taymans <wim@fluendo.com>
8521 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8522 (unref_data), (gst_collect_pads_remove_pad),
8523 (gst_collect_pads_check_pads):
8524 Use additional refcounting to avoid crashes when dynamically adding and
8525 removing pads. Fixes #420206.
8527 2007-05-24 Wim Taymans <wim@fluendo.com>
8529 * tools/gst-launch.c: (event_loop):
8530 When buffering goes from a two digit to a single digit number, make sure
8531 to remove the old second digit by writing a blank over it.
8533 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8535 * libs/gst/base/gstdataqueue.c:
8536 Eliminate tabs and trailing comma in enum list; fix some typos.
8538 2007-05-24 Wim Taymans <wim@fluendo.com>
8540 * tests/check/gst/gstbin.c: (GST_START_TEST):
8541 Allow refcount of 3 and 4 because some state thread might still be busy
8544 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8546 * plugins/elements/Makefile.am:
8547 * plugins/elements/gstmultiqueue.h:
8548 * plugins/elements/gstqueue.h:
8549 These are not installed headers, no need for padding.
8551 2007-05-24 Wim Taymans <wim@fluendo.com>
8553 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8554 (gst_bin_continue_func):
8555 Enable latency for next release.
8556 Restore STATE_LOCK around recalc_state that was left out during the
8557 rewrite and could result in racy behaviour when _get_state and
8558 recalc_state are run concurrently. See #440463.
8560 2007-05-23 Wim Taymans <wim@fluendo.com>
8562 * tests/check/gst/gstsystemclock.c: (store_callback),
8564 Improve test_async_order to also work when both timers are already
8565 expired when we get scheduled to check it.
8567 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8569 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8570 (gst_bin_set_property), (gst_bin_get_property),
8571 (gst_bin_remove_func), (gst_bin_handle_message_func):
8573 'private' is a c++ keyword, let's not use that in header files,
8574 otherwise c++ compilers will throw a tantrum.
8576 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8578 * plugins/elements/gstelements.c:
8579 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8580 (gst_file_sink_get_current_offset):
8581 * plugins/indexers/gstindexers.c: (plugin_init):
8582 Use #ifdef for HAVE_XYZ for consistency.
8584 * tests/check/Makefile.am:
8585 * tests/check/elements/.cvsignore:
8586 * tests/check/elements/filesink.c: (setup_filesink),
8587 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8588 Add some unit tests for filesink.
8590 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8592 Patch by: Mark Nauwelaerts <manauw at skynet be>
8594 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8595 (gst_file_sink_query), (gst_file_sink_do_seek),
8596 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8597 * plugins/elements/gstfilesink.h:
8598 Fix position reporting; rename data_written member to current_pos to
8599 reflect its real meaning (fixes #412648).
8601 2007-05-22 Edward Hervey <edward@fluendo.com>
8603 * docs/gst/gstreamer-sections.txt:
8604 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8605 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8606 (gst_bin_remove_func), (gst_bin_handle_message_func):
8608 Add a property for bins that handle the state change of their childs.
8611 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8613 * libs/gst/controller/gstinterpolation.c:
8614 Use an array of the correct type when using _get_value_array with
8615 linear interpolation.
8617 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8619 * gst/gstelement.c (gst_element_requires_clock,
8620 gst_element_provides_clock, gst_element_request_pad,
8621 gst_element_class_set_details, gst_element_class_set_details_simple,
8622 gst_element_default_send_event, gst_element_abort_state,
8623 gst_element_continue_state, gst_element_set_state,
8624 gst_element_set_state_func, iterator_activate_fold_with_resync):
8625 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8626 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8627 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8628 gst_pad_get_range, gst_pad_pull_range):
8629 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8630 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8631 GstPadActivateModeFunction, GstPadChainFunction,
8632 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8633 GstPadFixateCapsFunction, GstPadTemplate):
8634 * gst/gstpipeline.c (gst_pipeline_change_state,
8635 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8636 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8637 gst_pipeline_get_delay):
8638 Whitespace and docs fixes.
8640 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8642 * libs/gst/controller/gstinterpolation.c:
8643 (interpolate_trigger_get_enum_value_array),
8644 (interpolate_trigger_get_string_value_array):
8645 Add support for retrieving value arrays when using the trigger
8648 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8650 * libs/gst/controller/gstcontroller.c:
8651 (gst_controller_get_value_array):
8652 * libs/gst/controller/gstcontroller.h:
8653 Clarify the docs of gst_controller_get_value_array(): The array where
8654 the values should be written to must be allocated as there seems to be
8655 no way to get the size of a random GType. This doesn't change any
8656 behaviour. Also fix some typos all over the place and remove an unused,
8657 commented function that is not necessary as g_object_set() could be
8659 * tests/check/libs/controller.c: (GST_START_TEST),
8660 (gst_controller_suite):
8661 Add unit test for gst_controller_get_value_array().
8663 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8665 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8667 Disable part of the gst_buffer_try_new_and_alloc test, because
8668 it can happily succeed on 64-bit systems where there's more address
8671 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8673 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8674 Add unit test for the improved caps checking from bug #421543.
8676 2007-05-21 Wim Taymans <wim@fluendo.com>
8678 * docs/design/part-synchronisation.txt:
8681 * gst/gstbin.c: (gst_bin_query):
8682 * plugins/elements/gstqueue.c: (apply_segment):
8688 2007-05-21 Wim Taymans <wim@fluendo.com>
8690 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8691 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8692 (gst_pad_configure_src):
8693 Added simple version of improved caps checking. It was previously
8694 assumed that a setcaps function would check the validity of the caps but
8695 people prefer us to check caps against the template automatically.
8698 2007-05-21 Wim Taymans <wim@fluendo.com>
8700 * libs/gst/base/gstbasetransform.h:
8701 Fix macro for locking/unlocking the transform lock.
8703 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8705 * docs/plugins/tmpl/.cvsignore:
8708 2007-05-18 Edward Hervey <edward@fluendo.com>
8710 * plugins/elements/gstqueue.c: (gst_queue_loop):
8711 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8712 for the subtle art of warning a potentially blocking thread that it
8713 should check the source pad return value, and relay the information
8716 2007-05-18 Edward Hervey <edward@fluendo.com>
8718 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8719 Release the queue lock !
8721 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8723 * docs/libs/gstreamer-libs-sections.txt:
8724 Add the two new controller functions to the appropiate places.
8726 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8728 reviewed by: Stefan Kost <ensonic@users.sf.net>
8730 * libs/gst/controller/gstcontroller.c:
8731 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8732 (_gst_controller_get_property), (_gst_controller_set_property),
8733 (_gst_controller_init), (_gst_controller_class_init):
8734 * libs/gst/controller/gstcontroller.h:
8735 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8736 (gst_object_get_control_rate), (gst_object_set_control_rate):
8737 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8738 Add API that provides sync suggestion timestamps for elements that
8739 call gst_object_sync_values() from which those elements can subdivide
8740 their processing loop to get the best results for the controlled
8741 properties. For now it just suggests last_sync + control_rate as
8742 new timestamp but this will be improved in the future.
8744 While doing that change the control-rate property to a GstClockTime
8745 from guint and change it's meaning from samples to nanoseconds as
8746 the GstController doesn't know anything about sampling rate. Strictly
8747 speaking this breaks ABI but as the control-rate property didn't do
8748 anything in the past and as such couldn't be used this should be no
8751 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8753 reviewed by: Stefan Kost <ensonic@users.sf.net>
8755 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8756 (gst_controller_unset_all):
8757 * libs/gst/controller/gstcontrollerprivate.h:
8758 * libs/gst/controller/gstinterpolation.c:
8759 (gst_controlled_property_find_control_point_node):
8760 Save last synced value from the list to continue searching from there
8761 in future syncs. This speeds everything up a bit.
8763 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8765 reviewed by: Stefan Kost <ensonic@users.sf.net>
8767 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8768 (gst_control_point_find), (gst_controlled_property_new),
8769 (gst_control_point_free), (gst_controlled_property_free),
8770 (gst_controller_set), (gst_controller_set_from_list),
8771 (gst_controller_unset), (gst_controller_unset_all),
8772 (gst_controller_sync_values):
8773 * libs/gst/controller/gstcontroller.h:
8774 * libs/gst/controller/gstcontrollerprivate.h:
8775 * libs/gst/controller/gstinterpolation.c:
8776 (gst_controlled_property_find_control_point_node),
8777 (interpolate_none_get), (interpolate_trigger_get):
8778 Add a new private GstControlPoint struct which "inherits" from
8779 GstTimedValue to allow different interpolators to store internal
8780 values next to each control point. From the outside everything is
8781 still a GstControlPoint so we don't loose binary compatibility.
8782 Also fixup all the GValue handling to not leak GValues or list nodes.
8783 * tests/check/libs/controller.c: (GST_START_TEST):
8784 Free the list nodes and GValues in the controller_misc test.
8786 2007-05-17 Edward Hervey <edward@fluendo.com>
8791 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8793 * gst/gstplugin.c: (gst_plugin_load_file):
8794 If we fail to load a plugin because of unresolved symbols or missing
8795 libraries and spew a warning to stderr, we may just as well mention
8796 which plugin it was that failed to load.
8798 2007-05-13 David Schleef <ds@schleef.org>
8800 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8801 handles the case when ENABLE_GTK_DOC is false, and installs
8802 the prebuilt documentation. So gtk-doc subdirs are
8803 unconditionally enabled. Fixes: #349099.
8805 2007-05-13 David Schleef <ds@schleef.org>
8807 * gst/gstutils.h: Reword some documentation.
8809 2007-05-12 David Schleef <ds@schleef.org>
8811 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8812 do anything with the passed "module" parameter, so remove it.
8813 Allows removal of additional vestigal code.
8815 2007-05-12 David Schleef <ds@schleef.org>
8818 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8819 Switch to using g_stat() because it's more portable.
8821 2007-05-12 David Schleef <ds@schleef.org>
8824 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8825 parsing for embedded systems.
8826 * gst/gstelementfactory.c:
8827 Allow gst_element_register() to be called with plugin==NULL.
8828 Did nobody notice that static elements were broken?
8830 2007-05-12 Wim Taymans <wim@fluendo.com>
8832 * tools/gst-launch.c: (event_loop):
8833 Give more interesting info when buffering starts and stops.
8834 Fix case where buffering starts but we fail to update the buffering flag
8835 because the target state is not PLAYING.
8837 2007-05-12 Wim Taymans <wim@fluendo.com>
8839 * plugins/elements/gstqueue.c: (gst_queue_init),
8840 (gst_queue_finalize), (update_time_level), (apply_segment),
8841 (apply_buffer), (gst_queue_locked_flush),
8842 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8843 (gst_queue_handle_sink_event), (gst_queue_chain),
8844 (gst_queue_push_one), (gst_queue_loop):
8845 * plugins/elements/gstqueue.h:
8846 Refactor an cleanup queue a bit.
8847 Do better time level calculations that also work when the srcpad is not
8849 Remove some unneeded debug lines.
8851 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8852 Added testcase for time level measurement.
8853 Try to make some stuff more racefree.
8855 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8857 * gst/gsturi.c: (gst_element_make_from_uri):
8858 Don't leak plugin feature.
8860 * tests/check/Makefile.am:
8861 * tests/check/gst/.cvsignore:
8862 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8863 Add brain-dead unit test.
8865 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8867 Patch by: Jeroen Wouters <woutersj at gmail com>
8869 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8870 Treat protocol strings in a case-insensitive way (#437563).
8872 2007-05-11 Michael Smith <msmith@fluendo.com>
8874 * gst/gstplugin.c: (gst_plugin_load_file):
8875 * gst/gstregistry.c: (gst_registry_scan_path_level):
8876 Don't print a g_warning for any failure to load a shared object.
8877 Instead, push this down into gstplugin.c, and warn _only_ if we
8878 failed to open the module (i.e. failure to link).
8879 Avoids warnings on normal, working, non-plugin .so files.
8881 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8883 * gst/gstplugin.c (gst_plugin_load_file):
8884 * gst/gstregistry.c (GST_CAT_DEFAULT,
8885 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8886 Print a g_warning if there was an error when loading a plugins during
8887 registry scan. The shuld help beginners starting with gst-plugin
8890 2007-05-10 Wim Taymans <wim@fluendo.com>
8892 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8893 (update_time_level), (gst_queue_locked_flush),
8894 (gst_queue_handle_sink_event), (gst_queue_chain),
8895 (gst_queue_push_one), (gst_queue_loop):
8896 * plugins/elements/gstqueue.h:
8897 Be smarter when calculating the current amount of data in the queue by
8898 measuring the difference between start and end timestamps (in running
8899 time) inside the queue. Fixes #432876.
8900 API: GstQueue::pushing to notify elements that we are pushing data again
8901 since the running signal is rather broken for this purpose.
8903 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8905 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8906 gst_queue_base_init, gst_queue_init):
8909 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8911 * win32/common/libgstreamer.def:
8912 Add new exported functions.
8913 * win32/vs6/grammar.dsp:
8914 Use grammar pre-generated files.
8916 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8918 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8921 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8923 * gst/gstutils.c: (gst_parse_bin_from_description):
8925 Maintain API and ABI when --disable-parse is used. Now that
8926 we have an appropriate error code, we can just return NULL and the
8927 appropriate error when gst_parse_launch() is used despite it having
8928 been disabled (#342564).
8930 * tests/check/Makefile.am:
8931 * tests/check/pipelines/.cvsignore:
8932 * tests/check/pipelines/parse-disabled.c:
8933 Make sure these functions exist and return NULL plus a GError when
8934 --disable-parse is used.
8936 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8938 * tests/benchmarks/complexity.c: (main):
8939 * tests/benchmarks/mass-elements.c: (main):
8940 Set a good example and don't leak messages.
8942 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8944 * docs/gst/Makefile.am:
8945 * docs/libs/Makefile.am:
8946 Correct fixxrefs options.
8948 * docs/plugins/Makefile.am:
8949 * docs/plugins/gstreamer-plugins-docs.sgml:
8950 * docs/plugins/gstreamer-plugins-sections.txt:
8951 * plugins/elements/Makefile.am:
8952 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8953 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8954 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8955 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8956 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8957 _GstCapsFilterClass, trans_class):
8958 * plugins/elements/gstelements.c (name, rank, type, _elements):
8959 * plugins/elements/gstidentity.c
8960 (gst_identity_check_imperfect_timestamp,
8961 gst_identity_check_imperfect_offset):
8962 Document capsfilter and add doc-blurb to identity.
8964 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8966 * libs/gst/controller/gstcontroller.c:
8967 (gst_controlled_property_set_interpolation_mode):
8968 * libs/gst/controller/gstinterpolation.c:
8969 Don't crash if someone tries to set an interpolation mode that
8970 is invalid or that isn't supported yet. Fixes #422295.
8972 * tests/check/libs/controller.c: (GST_START_TEST),
8973 (gst_controller_suite):
8974 Add a test case for the above.
8976 2007-05-03 Edward Hervey <edward@fluendo.com>
8978 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8979 Properly set the last_stop position on GstSegment. This will only happen
8980 if there is a buffer to push out.
8982 2007-05-03 Wim Taymans <wim@fluendo.com>
8984 * libs/gst/base/gstbasetransform.c:
8985 (gst_base_transform_buffer_alloc):
8986 always_in_place does not mean that the sink and source caps are the
8987 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8989 2007-05-03 Wim Taymans <wim@fluendo.com>
8991 * docs/libs/gstreamer-libs-sections.txt:
8992 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8993 (gst_base_src_default_query), (gst_base_src_get_range):
8994 * libs/gst/base/gstbasesrc.h:
8995 API: gst_base_src_query_latency(). Added method so that subclasses can
8996 easily get the latency values of the base source class.
8998 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9000 * tools/gst-inspect.c (print_implementation_info):
9003 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9005 * tools/Makefile.am:
9006 * tools/gst-launch.1.in:
9007 Don't create a customised man page based on the host architecture,
9008 describe the default registry path generically. That way the man
9009 page is the same for all architectures and packagers have one
9010 multilib issue less to deal with. Fixes #434926.
9012 2007-05-02 Wim Taymans <wim@fluendo.com>
9015 Fix documentation as spotted by rg on IRC.
9017 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9020 Improve docs for gst_element_{link,unlink}.
9022 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9024 * docs/design/part-events.txt:
9025 * docs/design/part-overview.txt:
9029 * libs/gst/base/gstbasesink.c:
9030 Typo fixes; minor docs addition.
9032 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9034 * docs/gst/gstreamer-sections.txt:
9035 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9036 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9038 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9039 or src that supports a given URI protocol exists.
9041 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9043 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9044 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9045 Set the location to NULL if "file://" is set as URI. Otherwise
9046 some random previous URI would still be set if "file://" is
9047 set on an already used filesink/filesrc.
9049 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9051 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9052 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9053 Special case the "file://" URI as as this is used by some
9054 applications to test with gst_element_make_from_uri if there's
9055 an element that supports the URI protocol.
9056 Also move the g_path_is_absolute() check for the location part
9057 of the URI to also check this for "file://localhost/bla" URIs.
9059 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9061 * docs/gst/gstreamer-sections.txt:
9062 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9064 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9066 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9068 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9070 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9071 (gst_registry_binary_load_pad_template),
9072 (gst_registry_binary_load_plugin),
9073 (gst_registry_binary_read_cache):
9074 * gst/gstregistrybinary.h:
9075 Implement no-mmap alternative for registry reading. Do code cleanups.
9076 Add more comments about avoiding strdups for all text data. Comments
9079 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9081 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9082 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9083 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9084 Comment structs and reformat to fix the build (that stuff should go
9085 into a priv. header).
9087 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9089 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9090 (gst_registry_binary_load_feature):
9091 * gst/gstregistrybinary.h:
9092 Refactor so that we can implement multiple features. Add support for
9093 TypeFindFactory features.
9095 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9097 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9100 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9102 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9104 * gst/gstbin.c: (gst_bin_element_set_state),
9105 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9106 (bin_handle_async_done), (gst_bin_handle_message_func):
9107 Fix build with --gst-disable-gst-debug
9109 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9111 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9112 Make sure streaming has finished before calling the ::stop() vfunc,
9113 since that vfunc might clear state which is being used in the
9114 streaming thread. This fixes a race that caused crashes in
9115 audioresample when shutting down a pipeline (#420106).
9117 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9119 * docs/gst/gstreamer-sections.txt:
9120 That was one byte missing.
9122 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9125 * docs/gst/gstreamer-sections.txt:
9127 * gst/gstconfig.h.in:
9128 * gst/gstobject.c: (gst_object_class_init),
9129 (gst_signal_object_class_init):
9131 2nd attempt to have a xml-less build as a joined effort of #413123
9134 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9136 * docs/design/draft-tagreading.txt:
9137 Added open issues/thoughts to draft.
9139 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9141 * gst/parse/grammar.tab.pre.c:
9142 * gst/parse/grammar.tab.pre.h:
9143 * gst/parse/lex._gst_parse_yy.pre.c:
9144 Update the prebuild parser sources.
9146 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9148 * gst/parse/Makefile.am:
9149 And now fix the building of the flex sources. Now everything should
9152 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9154 * gst/parse/Makefile.am:
9155 Now hopefully fix the build failures by setting proper rule
9156 dependencies and moving instead of copying.
9158 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9160 * tests/benchmarks/complexity.gnuplot:
9161 * tests/benchmarks/complexity.scm:
9162 * tests/benchmarks/mass-elements.gnuplot:
9163 * tests/benchmarks/mass-elements.scm:
9164 Total licensification.
9166 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9168 * gst/parse/Makefile.am:
9169 Fix the build by correcting the rule that gave wrong files to flex.
9171 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9173 * tests/benchmarks/complexity.c:
9174 * tests/benchmarks/mass-elements.c:
9175 Change licence to LGPL as granted by Benjamin and Andy.
9177 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9179 * gst/parse/Makefile.am:
9180 Add correct grammar.tab.h dependency if compiling without new enough
9181 flex. Fixes #431150.
9183 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9185 * gst/parse/Makefile.am:
9186 Fix typo and use outdated sources if the flex/bison sources are newer
9187 than the pregenerated ones but flex is too old. Print a warning in
9188 that case. This should fix the build on the build bot.
9190 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9192 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9193 * gst/parse/Makefile.am:
9194 * gst/parse/grammar.y:
9195 * gst/parse/parse.l:
9196 Make the parser reentrant and recursively callable. This requires flex
9197 >= 2.5.31, for older versions pregenerated sources are used as we
9198 can't bump the build dependency. Finally fixes #349180.
9200 * gst/gstparse.c: (gst_parse_launch):
9201 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9204 * docs/gst/Makefile.am:
9205 * docs/gst/Makefile.am:
9206 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9207 (__gst_parse_strfree), (__gst_parse_link_new),
9208 (__gst_parse_link_free), (__gst_parse_chain_new),
9209 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9210 (gst_parse_element_set), (gst_parse_free_link),
9211 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9212 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9213 (_gst_parse_launch):
9214 * gst/parse/grammar.tab.pre.h:
9215 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9216 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9217 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9218 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9219 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9220 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9221 (_gst_parse_yypop_buffer_state),
9222 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9223 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9224 (yy_fatal_error), (_gst_parse_yyget_extra),
9225 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9226 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9227 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9228 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9229 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9230 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9231 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9232 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9233 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9234 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9235 (_gst_parse_yyfree):
9236 If the installed flex version is too old use pre-generated parser
9237 sources. These pre-generated parser sources are always updated when
9238 the actual flex/bison sources change but require everybody who wants
9239 to change something in the parser to have flex >= 2.5.31 installed.
9241 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9243 * common/m4/gst-gettext.m4:
9244 * gst/gst-i18n-lib.h:
9245 Make --disable-nls to work
9247 2007-04-17 Wim Taymans <wim@fluendo.com>
9249 * gst/gstconfig.h.in:
9250 Revert previous change that broke the build.
9252 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9256 * gst/gstconfig.h.in:
9257 Drop libxml2 dependency when building with
9258 --enable-binary-registry --disable-loadsave
9260 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9262 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9263 (gst_registry_binary_read_cache):
9264 * gst/gstregistrybinary.h:
9265 Remove unnecessary <sys/mman.h> include which broke the win32 build
9266 with MingW; move includes from header file to .c file, even if the
9267 header file isn't installed; use g_strerror() where UTF-8 strings
9268 are expected, such as in GST_DEBUG messages.
9270 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9272 * docs/libs/gstreamer-libs-sections.txt:
9273 Remove bogus addition for API I didn't end up keeping.
9275 * libs/gst/base/gstbasesrc.h:
9276 Mention Since: 0.10.13 in the documentation.
9278 Add the API keyword to the previous ChangeLog entry.
9280 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9282 * docs/libs/gstreamer-libs-sections.txt:
9283 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9284 (gst_base_src_default_prepare_seek_segment),
9285 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9286 * libs/gst/base/gstbasesrc.h:
9287 Allow basesrc derived classes to execute seeks in other formats
9288 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9289 to prepare the GstSegment in any format that their perform_seek method
9290 will be able to understand. The default implementation provides the
9291 old behaviour of attempting to convert the seek offsets to the
9292 configured native format.
9294 API: basesrc::prepare_seek_segment vmethod.
9296 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9298 * gst/gstelement.c: (gst_element_get_state_func):
9299 Don't output the same debug statement twice.
9301 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9302 (gst_adapter_peek), (gst_adapter_take_buffer):
9303 Optimise the case where we have buffers at the head of the queue that
9304 can be joined quickly (because they're contiguous sub-buffers) by
9305 merging them together rather than copying data out into new memory.
9307 * gst/parse/grammar.y:
9308 * tests/check/pipelines/parse-launch.c:
9309 Fix a leak in an error path for parse_launch, and add a check
9310 for it to the testsuite.
9312 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9314 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9315 Don't deadlock when releasing a pad - gst_pad_set_active may try
9316 and take the multiqueue lock too.
9318 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9320 * gst/gsterror.c: (_gst_core_errors_init):
9322 API: add GST_CORE_ERROR_DISABLED (#392804).
9324 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9326 * docs/faq/gst-uninstalled:
9327 don't get empty paths on the PATH variables
9328 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9329 Don't format for the uncommon terminal width of 84 characters.
9331 2007-04-06 Wim Taymans <wim@fluendo.com>
9333 * gst/gstpipeline.c: (reset_stream_time),
9334 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9335 Only try to select a different pipeline clock when we went back to
9336 PAUSED and not when we merely got flushed.
9338 2007-04-05 Michael Smith <msmith@fluendo.com>
9340 * tools/gst-launch.1.in:
9341 fractions are better supported in gstreamer than ractions, so
9342 suggest using those.
9344 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9346 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9350 Added Danish translation.
9352 2007-04-05 Wim Taymans <wim@fluendo.com>
9354 * libs/gst/base/gstbasesink.c:
9355 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9356 Fix leak caused when refusing newsegment after EOS.
9358 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9359 (gst_fake_sink_init), (gst_fake_sink_set_property),
9360 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9361 (gst_fake_sink_render), (gst_fake_sink_change_state):
9362 * plugins/elements/gstfakesink.h:
9363 Add num-buffers property to make the element generate EOS after a
9364 configurable amount of buffers.
9365 API: fakesink::num-buffers property.
9367 * tests/check/elements/fakesink.c: (GST_START_TEST),
9369 Fix GstBus leak in test.
9370 Test for fakesink num-buffers.
9372 2007-04-05 Wim Taymans <wim@fluendo.com>
9374 * libs/gst/base/gstbasesink.c:
9375 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9376 (gst_base_sink_change_state):
9377 Don't accept anything after an EOS, return UNEXPECTED instead.
9379 * tests/check/elements/fakesink.c: (GST_START_TEST),
9381 Unit test for new EOS behaviour.
9383 2007-04-05 Wim Taymans <wim@fluendo.com>
9385 * gst/gstelement.c: (gst_element_get_request_pad):
9386 Make padtemplates also work when they don't contain %s or %d.
9388 2007-04-05 Wim Taymans <wim@fluendo.com>
9390 * docs/gst/gstreamer-sections.txt:
9391 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9392 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9394 Improve _adjust_unlocked() so that it overflows less.
9395 Add gst_clock_unadjust_unlocked to convert from external time to
9396 internal time based on calibration.
9397 Add some more debug.
9398 API: GstClock::gst_clock_unadjust_unlocked()
9400 2007-04-03 Wim Taymans <wim@fluendo.com>
9402 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9404 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9405 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9406 when releasing sink pad. Fixes #425400.
9408 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9410 * docs/random/ensonic/dynlink.txt:
9411 More work on proposal for new core api.
9413 * docs/libs/gstreamer-libs-sections.txt:
9414 * libs/gst/base/gstbasetransform.h:
9415 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9417 * libs/gst/controller/gstcontroller.c:
9418 (on_object_controlled_property_changed),
9419 (gst_controller_sync_values),
9420 (gst_controller_set_interpolation_mode):
9421 * libs/gst/controller/gstcontroller.h:
9422 Less verbose logging add docs for unimplemented parts and correctly
9423 return when using unavailable parts.
9425 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9427 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9428 Move all the debug to the CLOCK category, and associate it with
9431 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9433 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9434 Make take_buffer a bit quicker by removing redundant checks
9435 caused by calling gst_adapter_take.
9437 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9439 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9442 * tests/check/Makefile.am:
9443 * tests/check/elements/.cvsignore:
9444 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9445 (GST_START_TEST), (multiqueue_suite):
9446 Add some dead simple unit tests for the 'multiqueue' element
9447 (some bits don't work yet and are disabled for now).
9449 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9451 * gst/gstelement.c: (gst_element_get_request_pad),
9452 (gst_element_class_get_request_pad_template):
9453 Make gst_element_get_request_pad() create request pads only for
9454 request pad templates and not for, say, sometimes pad templates.
9456 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9458 * docs/design/draft-klass.txt:
9459 Add example that needs more thinking.
9461 * docs/design/draft-missing-plugins.txt:
9462 More thoughts about wrapper plugins.
9464 * docs/random/ensonic/embedded.txt:
9465 * docs/random/ensonic/profiling.txt:
9468 2007-03-25 Wim Taymans <wim@fluendo.com>
9470 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9471 (gst_base_src_loop):
9472 Only push the segment events in the PLAYING state for live sources.
9474 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9476 * gst/gstpipeline.c: (gst_pipeline_change_state):
9477 Modify the clock distribution path in PAUSED->PLAYING so that we
9478 never attempt to choose a new clock unless we're actually leaving
9479 the PAUSED state for the first time. This prevents choosing a
9480 different clock when the state_change gets called for a 2nd time due
9481 to some element doing an async state change.
9483 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9485 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9486 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9487 (gst_pad_chain_unchecked), (gst_pad_push):
9488 Revert last commit. This needs some more thoughts.
9490 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9492 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9493 (gst_pad_chain_unchecked), (gst_pad_push):
9494 Check in set_caps if the caps are compatible with the pad and remove
9495 two functions that are redundant now. Fixes #421543.
9497 2007-03-22 Wim Taymans <wim@fluendo.com>
9499 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9500 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9501 Unref some more to make valgrind happy.
9503 2007-03-22 Wim Taymans <wim@fluendo.com>
9505 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9506 (gst_system_clock_id_wait_jitter),
9507 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9508 Fix anoying regression that survived a few releases. When adding an
9509 async entry while blocking on a sync entry, the sync entry will unblock
9510 but still be busy, so it should continue to wait instead of returning
9512 Add some comments here and there.
9514 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9515 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9516 Add testcase for this.
9518 2007-03-22 Wim Taymans <wim@fluendo.com>
9520 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9521 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9522 WRONG_STATE and can silently pause the task. All other cases should
9525 2007-03-22 Wim Taymans <wim@fluendo.com>
9527 Patch by: Ville Syrjala <syrjala at sci dot fi>
9529 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9530 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9533 2007-03-21 Michael Smith <msmith@fluendo.com>
9535 * docs/pwg/advanced-types.xml:
9536 Fix some errors in the typefinding docs pointed out on irc.
9538 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9540 * libs/gst/base/gstbasesrc.c:
9541 Clarify FIXME comment in the face of having added unlock_stop()
9543 2007-03-21 Wim Taymans <wim@fluendo.com>
9545 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9546 Prepare for release where we warn against possible app breakage in the
9547 case of live pipelines along with an env var to enable/disable live
9548 preroll mode (GST_COMPAT=[no-]live-preroll).
9550 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9552 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9553 So we should use correct constants for checking for None offset.
9555 2007-03-20 Wim Taymans <wim@fluendo.com>
9557 * docs/design/part-block.txt:
9558 Mention the fact that the newly switched element should be set to at
9561 2007-03-20 Wim Taymans <wim@fluendo.com>
9564 Fix compilation with registry disabled as spotted by Saur.
9566 2007-03-20 Wim Taymans <wim@fluendo.com>
9568 Patch by: Olivier Crete <tester at tester dot ca>
9570 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9571 Look at the pending state too when syncing the element state to the
9572 parent. Fixes #420133.
9574 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9576 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9577 (gst_base_sink_change_state):
9578 * libs/gst/base/gstbasesink.h:
9579 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9580 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9581 (gst_base_src_deactivate):
9582 * libs/gst/base/gstbasesrc.h:
9583 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9584 for sub-classes to correctly clear any state they set trying to
9585 unlock, such as clearing out unlock commands from a command fd.
9586 API: basesrc::unlock_stop
9587 API: basesink::unlock_stop
9589 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9590 (gst_fd_sink_render), (gst_fd_sink_unlock),
9591 (gst_fd_sink_unlock_stop):
9592 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9593 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9594 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9596 Implement unlock_stop in fdsrc and fdsink.
9597 Implement seeking in fdsrc when a seekable fd is passed, as in
9598 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9600 2007-03-19 Wim Taymans <wim@fluendo.com>
9602 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9604 * gst/gstelement.c: (gst_element_class_init):
9605 Fix pad-added and pad-removed signal signatures so that the pad type is
9606 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9608 2007-03-19 Wim Taymans <wim@fluendo.com>
9610 * docs/gst/gstreamer-sections.txt:
9611 Add new element field and method.
9613 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9614 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9615 (gst_bin_recalc_state), (gst_bin_get_state_func),
9616 (gst_bin_element_set_state), (gst_bin_change_state_func),
9617 (gst_bin_continue_func), (bin_bus_handler),
9618 (bin_push_state_continue), (bin_handle_async_start),
9619 (bin_handle_async_done), (gst_bin_handle_message_func):
9620 Make async state changes a bit smarter by using new ASYNC_START and
9621 ASYNC_DONE messages. This reduces the number of times we run the state
9622 recalculation thread.
9623 Don't change state of element with a pending ASYNC_START message.
9624 Deprecate STATE_DIRTY messages.
9626 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9627 (gst_element_get_state_func), (gst_element_continue_state),
9628 (gst_element_lost_state), (gst_element_set_state_func),
9629 (gst_element_change_state):
9631 Keep the state that was last set by the app in a new element field.
9632 Don't allow state changes when handling an element event.
9633 Post ASYNC_START and ASYNC_DONE messages.
9634 Change lost_state so that we go to PAUSED and wait for the parent to set
9635 us to PLAYING again (so latency calculation can be performed)
9636 Export gst_element_change_state() method so that subclasses can use it.
9637 API: gst_element_change_state()
9638 API: GST_STATE_TARGET
9640 * gst/gstpipeline.c: (gst_pipeline_class_init),
9641 (reset_stream_time), (gst_pipeline_change_state),
9642 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9643 Using the new ASYNC_START message we can reset the base_time when
9644 needed. This can then be used to implement base_time redistribution in
9645 flushing seeks so that we can remove the explicit seek handling.
9646 Perform latency query and configuration when going to PLAYING.
9648 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9649 (gst_base_sink_query), (gst_base_sink_change_state):
9650 Post new ASYNC_START/ASYNC_DONE messages.
9652 * tests/check/generic/sinks.c: (GST_START_TEST):
9653 Fix test because the bin will not set the async element to PLAYING right
9656 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9657 Make the message check a little stronger.
9658 Handle ASYNC messages.
9660 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9661 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9662 Expect ASYNC_DONE messages.
9664 2007-03-19 Wim Taymans <wim@fluendo.com>
9666 * docs/gst/gstreamer-sections.txt:
9667 * gst/gstmessage.c: (gst_message_new_async_start),
9668 (gst_message_new_async_done), (gst_message_parse_info),
9669 (gst_message_parse_async_start):
9671 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9674 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9676 * tools/gst-inspect.c:
9677 (print_plugin_automatic_install_info_codecs):
9678 Now that we don't check for the 'Codec' keyword any longer in the
9679 klass, we shouldn't spew a warning if the klass isn't a decoder or
9680 encoder (since it might be a Source/Network, for example).
9682 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9684 * tools/gst-inspect.c:
9685 (print_plugin_automatic_install_info_codecs):
9686 Don't require decoder/demuxer/depayloader elements or
9687 encoder/muxer/paylader elements to have 'Codec' as part of their
9688 factory class string when introspecting a plugin's capabilities.
9689 draft-klass.txt mentions that it might be removed in future, and
9690 flump3dec doesn't have it as part of its class string, so chances
9691 are others might also not have it.
9693 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9715 Update translations from translation project
9717 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9719 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9720 (gst_child_proxy_set_property):
9721 Invert precondition check to be alike the ones in the mimiced gobject
9724 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9726 * docs/design/draft-tagreading.txt:
9727 * docs/random/ensonic/audiobaseclasses.txt:
9728 Do some Architect work.
9730 * gst/gstobject.c: (gst_object_set_name):
9734 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9736 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9738 * gst/gstsystemclock.c: (gst_system_clock_init),
9739 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9740 Defer starting the async system clock thread until the first async
9741 wait is scheduled. Fixes #414986.
9743 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9745 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9746 (gst_single_queue_free):
9747 Fix small leak (free GstSingleQueue structure too, not only contents).
9749 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9751 * gst/gstbin.c:(gst_bin_add):
9752 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9753 * win32/common/libgstbase.def:
9754 * win32/common/libgstreamer.def:
9755 Add new exported functions.
9757 2007-03-09 Wim Taymans <wim@fluendo.com>
9759 * docs/plugins/gstreamer-plugins-sections.txt:
9762 2007-03-09 Wim Taymans <wim@fluendo.com>
9764 * docs/gst/gstreamer-sections.txt:
9765 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9767 Add metadata copy functions. Fixes #393099.
9768 API: gst_buffer_copy_metadata()
9770 * gst/gstutils.c: (gst_buffer_stamp):
9771 * libs/gst/base/gstbasetransform.c:
9772 (gst_base_transform_prepare_output_buffer):
9773 Use new metadata copy functions.
9775 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9777 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9778 (gst_identity_init), (gst_identity_check_perfect),
9779 (gst_identity_check_imperfect_timestamp),
9780 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9781 (gst_identity_set_property), (gst_identity_get_property):
9782 * plugins/elements/gstidentity.h:
9783 Separate out check-imperfect-timestamp and check-imperfect-offset.
9784 Put back check-perfect as it was to keep compatibility.
9786 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9788 * gst/gstelement.c: (gst_element_dispose):
9789 There's no need to warn if VOID_PENDING is not NONE here, as
9790 long as the state is NULL it's ok, and that's checked immediately
9793 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9795 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9796 Fix check for perfect stream to ignore buffers with -1
9797 offsets/offset ends when checking data contiguity.
9799 2007-03-08 Wim Taymans <wim@fluendo.com>
9801 * tools/gst-launch.c: (event_loop):
9802 Print INFO messages.
9804 2007-03-08 Wim Taymans <wim@fluendo.com>
9806 * libs/gst/base/gstbasetransform.c:
9807 (gst_base_transform_sink_eventfunc),
9808 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9809 (gst_base_transform_activate):
9810 * libs/gst/base/gstbasetransform.h:
9811 Add support for dropping buffers with custom GstFlowReturn.
9812 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9813 buffers or dropped buffers.
9815 * docs/libs/gstreamer-libs-sections.txt:
9816 docs for new custom return code.
9818 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9819 Use drop support in base class to implement drop-probability.
9821 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9823 * gst/gst.c: (load_plugin_func):
9824 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9825 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9826 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9827 Remove newlines at end of debug log strings.
9829 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9831 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9832 Only post bus message at max, once per buffer received.
9834 2007-03-07 Wim Taymans <wim@fluendo.com>
9836 * docs/design/Makefile.am:
9837 * docs/design/part-synchronisation.txt:
9838 Add doc about synchronisation
9840 * docs/design/draft-latency.txt:
9841 * docs/design/part-TODO.txt:
9842 * docs/design/part-clocks.txt:
9843 * docs/design/part-events.txt:
9844 * docs/design/part-gstbus.txt:
9845 * docs/design/part-gstpipeline.txt:
9846 * docs/design/part-live-source.txt:
9847 * docs/design/part-messages.txt:
9848 * docs/design/part-overview.txt:
9849 * docs/design/part-streams.txt:
9850 * docs/design/part-trickmodes.txt:
9851 Documentation updates.
9853 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9856 Update the doap file.
9858 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9860 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9861 Rename non-perfect to imperfect for Mike and for the sanctity of the
9863 Also make sure bus message gets emitted for data-incontiguities.
9865 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9867 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9868 (gst_identity_start):
9869 * plugins/elements/gstidentity.h:
9870 Emit bus message if check-perfect is true and we encounter a
9871 non-perfect stream between 2 consecutive buffers.
9874 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9879 === release 0.10.12 ===
9881 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9884 releasing 0.10.12, "Inevitable Demise"
9886 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9889 Version 0.10.11.2 (0.10.12 pre-release)
9890 Bump libtool versioning.
9892 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9894 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9895 Log flow-names and not numbers.
9897 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9900 Convert to new AG_GST style.
9902 2007-02-28 Wim Taymans <wim@fluendo.com>
9904 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9905 Don't unref query twice.
9907 2007-02-28 Wim Taymans <wim@fluendo.com>
9909 * gst/gstvalue.c: (gst_value_transform_object_string),
9910 (_gst_value_initialize):
9911 Implement GstObject -> string transform so we print object names
9912 when serializing GValues containing GstObjects.
9914 2007-02-28 Wim Taymans <wim@fluendo.com>
9916 * docs/gst/gstreamer-sections.txt:
9917 Add new stuff to docs.
9919 2007-02-28 Wim Taymans <wim@fluendo.com>
9921 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9922 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9923 (gst_base_sink_change_state):
9924 Improve latency query code.
9925 Don't leak latency events.
9927 * tests/check/gst/gstbin.c: (GST_START_TEST):
9930 2007-02-28 Wim Taymans <wim@fluendo.com>
9932 * gst/gstelement.c: (gst_element_message_full),
9933 (gst_element_get_state_func):
9935 Improve docs a little. Added Since: for new macro.
9937 * gst/gstobject.c: (gst_object_sink):
9938 * gst/gstpipeline.c: (gst_pipeline_change_state),
9939 (gst_pipeline_set_new_stream_time):
9940 * gst/gstpipeline.h:
9941 Improve debugging and docs.
9943 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9946 2007-02-28 Wim Taymans <wim@fluendo.com>
9948 * gst/gstelement.c: (gst_element_message_full),
9949 (gst_element_set_locked_state), (gst_element_get_state_func),
9950 (gst_element_change_state):
9951 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9952 Documentation updates.
9953 Small code cleanups.
9955 * gst/gstmessage.c: (gst_message_new_info),
9956 (gst_message_parse_info):
9958 API: gst_message_new_info()
9959 API: gst_message_parse_info()
9960 Add INFO message create and parse code.
9962 2007-02-28 Wim Taymans <wim@fluendo.com>
9964 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9965 (bin_query_latency_done):
9966 Also report the live parameter of a latency query.
9968 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9970 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9971 Copy the current generic/states example from -base and adapt so
9972 we can use the exact same code everywhere.
9973 Check a STATES_IGNORE_ELEMENTS env var which can be used
9974 to ignore certain element factories for this test, which is
9975 what is being done in -base
9976 * tests/check/Makefile.am:
9977 Mention this environment variable.
9979 2007-02-27 Wim Taymans <wim@fluendo.com>
9981 * docs/gst/gstreamer-sections.txt:
9982 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9983 (gst_bus_timed_pop), (gst_bus_pop):
9985 API: gst_bus_timed_pop()
9986 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9987 message to arrive on the bus.
9989 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9991 Two unit tests for new _timed_pop() function.
9993 2007-02-23 Wim Taymans <wim@fluendo.com>
9995 * gst/gstpipeline.c: (gst_pipeline_change_state),
9996 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9997 Don't ref a NULL clock in _provide_clock_func().
9998 Don't allow an INVALID delay.
9999 Don't try to calculate base_time with an invalid start_time.
10000 Also distribute and notify a NULL clock when it was selected.
10002 * tools/gst-launch.c: (event_loop):
10003 Don't crash when a NULL clock was selected in the pipeline.
10005 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10007 * docs/design/Makefile.am:
10008 * docs/design/draft-missing-plugins.txt:
10009 * docs/random/draft-missing-plugins.txt:
10010 Some small updates: update plugin system identifier prefix
10011 ('gstreamer.net' to 'gstreamer'), mention our new install
10012 API in libgstbaseutils rather than libgimme-codec, add
10013 reference to the online docs.
10015 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10017 * win32/common/config.h:
10018 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10019 use moap cl ci to only check in what is mentioned in the ChangeLog.
10021 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10023 * docs/gst/gstreamer-sections.txt:
10024 * gst/gstelement.h:
10025 Fix up documentation to link to the correct GstGError section.
10026 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10028 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10030 * tools/gst-launch.c: (event_loop):
10031 Make sure that we actually show the important message part of a
10033 No need to check if the gerror is not NULL to free; first of all
10034 g_free accepts NULL; and second the default error handler would
10035 segfault if gerror was NULL.
10037 2007-02-21 Wim Taymans <wim@fluendo.com>
10039 * docs/gst/gstreamer-sections.txt:
10040 Removed docs as well.
10042 2007-02-21 Wim Taymans <wim@fluendo.com>
10044 * gst/gstmessage.c: (gst_message_parse_duration):
10045 * gst/gstmessage.h:
10046 Remove new messages for release.
10048 2007-02-20 Wim Taymans <wim@fluendo.com>
10050 * docs/design/part-gstghostpad.txt:
10051 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10052 (gst_ghost_pad_new_full):
10053 Make the ghostpad a parent of the internal pad again for better backward
10054 compatibility. Don't write code that relies on this however.
10056 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10057 (gst_pad_link_check_hierarchy):
10058 Require that parents should be GstElements in the hierarchy check.
10060 2007-02-20 Wim Taymans <wim@fluendo.com>
10062 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10063 (gst_bin_change_state_func), (bin_query_min_max_init),
10064 (bin_query_latency_fold), (bin_query_latency_done),
10066 Improve debug info.
10067 Implement latency query.
10069 2007-02-20 Wim Taymans <wim@fluendo.com>
10071 * docs/design/part-gstghostpad.txt:
10072 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10073 (gst_ghost_pad_internal_do_activate_push),
10074 (gst_ghost_pad_internal_do_activate_pull),
10075 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10076 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10077 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10078 Do not set the internal pad as a parent anymore so we can avoid
10079 hierarchy linking errors when the ghostpad has no parent yet. This also
10080 fixes failed activation because of unlinked internal pads, which in
10081 turn fixes the impossible case where you have to activate a pad before
10082 you can add it to a running element.
10085 * gst/gstpad.c: (pre_activate), (post_activate),
10086 (gst_pad_set_active), (gst_pad_activate_pull),
10087 (gst_pad_activate_push), (gst_pad_check_pull_range):
10088 Add some more debug info.
10089 Mark activation mode in pre_activate so that we don't try to activate in
10090 endless loops. Fixes #385084.
10092 2007-02-19 Wim Taymans <wim@fluendo.com>
10094 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10095 (gst_base_transform_check_get_range):
10096 Implement a checkgetrange function instead of relying on the default
10097 core behaviour that assumes we can operate in pull mode if we have a
10098 getrange function. First step at fixing #385084.
10100 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10102 * gst/gstchildproxy.h:
10103 * libs/gst/base/gstbasesink.h:
10104 * libs/gst/base/gstbasesrc.h:
10105 * libs/gst/base/gstbasetransform.h:
10106 More docs coverage and some ChangeLog surgery (add missing names)
10108 2007-02-15 Wim Taymans <wim@fluendo.com>
10110 * docs/design/part-TODO.txt:
10111 * docs/design/part-activation.txt:
10112 * docs/design/part-block.txt:
10113 * docs/design/part-buffering.txt:
10114 * docs/design/part-clocks.txt:
10115 * docs/design/part-element-source.txt:
10116 * docs/design/part-events.txt:
10117 * docs/design/part-gstbin.txt:
10118 * docs/design/part-gstbus.txt:
10119 * docs/design/part-gstpipeline.txt:
10120 * docs/design/part-live-source.txt:
10121 * docs/design/part-messages.txt:
10122 * docs/design/part-overview.txt:
10123 * docs/design/part-qos.txt:
10124 * docs/design/part-query.txt:
10125 * docs/design/part-states.txt:
10126 * docs/design/part-trickmodes.txt:
10127 Some doc updates. Start renaming from stream_time to running_time where
10128 it was used wrongly.
10130 2007-02-15 Wim Taymans <wim@fluendo.com>
10132 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10133 Answer LATENCY query.
10135 2007-02-15 Wim Taymans <wim@fluendo.com>
10137 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10141 2007-02-15 Wim Taymans <wim@fluendo.com>
10143 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10144 (gst_pad_dispatcher):
10145 Improve debugging of default pad dispatcher and query functions.
10147 2007-02-15 Wim Taymans <wim@fluendo.com>
10149 * docs/gst/gstreamer-sections.txt:
10150 Remove old unused method.
10152 2007-02-13 Wim Taymans <wim@fluendo.com>
10154 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10157 2007-02-13 Wim Taymans <wim@fluendo.com>
10159 * docs/design/part-seeking.txt:
10162 * gst/gstsegment.c: (gst_segment_set_seek):
10163 Revert old bogus change that should make seeking work again.
10165 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10167 * docs/random/ensonic/dynlink.txt:
10168 * docs/random/ensonic/interfaces.txt:
10169 * docs/random/ensonic/receipies.txt:
10170 Possible dynamic reconnection api, plus some type fixes the other two
10173 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10175 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10176 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10177 Also check for an absolute path following file:// in the filesrc
10178 element. Remove redundant check and call g_path_is_absolute() on the
10179 unescaped location.
10181 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10183 * docs/design/draft-klass.txt:
10184 Add existing category analysis.
10187 Fix doc example, framerate is a fraction.
10189 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10192 * docs/gst/Makefile.am:
10193 * docs/gst/gstreamer-sections.txt:
10194 * docs/libs/Makefile.am:
10195 Erm, forgot a bunch of --extra-dir.
10197 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10200 * docs/gst/Makefile.am:
10201 * docs/libs/Makefile.am:
10202 * docs/plugins/Makefile.am:
10203 Add crossreferences to glib/gobject docs.
10205 2007-02-12 Wim Taymans <wim@fluendo.com>
10207 * docs/design/draft-latency.txt:
10210 * docs/libs/gstreamer-libs-sections.txt:
10211 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10212 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10213 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10214 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10215 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10216 (gst_base_sink_get_position), (gst_base_sink_query),
10217 (gst_base_sink_change_state):
10218 * libs/gst/base/gstbasesink.h:
10219 API: gst_base_sink_query_latency() to let subclasses query the upstream
10221 API: gst_base_sink_get_latency() to let subclasses query the configured
10222 latency in the sink.
10223 Implement query and set latency.
10225 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10226 don't continue preroll when we are flushing. Fixes #405284.
10228 * tests/check/pipelines/stress.c: (change_state_timeout),
10229 (quit_timeout), (GST_START_TEST), (stress_suite):
10232 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10234 Patch by: René Stadler <mail at renestadler de>
10236 * docs/gst/gstreamer-sections.txt:
10237 * gst/gsttaglist.c: (_gst_tag_initialize):
10238 * gst/gsttaglist.h:
10239 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10241 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10243 * docs/libs/Makefile.am:
10244 Fix path to core docs.
10246 * gst/gstbin.c: (gst_bin_get_by_interface),
10247 (gst_bin_iterate_all_by_interface):
10248 Refix docs by also renaming 'interface' to 'iface' in implementation.
10250 * docs/gst/gstreamer-sections.txt:
10252 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10253 * gst/gstchildproxy.h:
10254 * gst/gstelementfactory.c:
10255 * gst/gstpadtemplate.h:
10256 * libs/gst/controller/gstcontroller.c:
10257 (gst_controlled_property_new):
10260 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10262 * gst/gstbin.h:(gst_bin_get_by_interface),
10263 (gst_bin_iterate_all_by_interface):
10264 Replace interface parameter name by iface as interface is
10265 a reserved keyword in Visual Studio for C++ projects so it removes
10266 a build error for application developpers using VS.
10267 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10268 Fix a bug on Windows in uri format check. Now the prefix checked
10269 is file:// and next we check if the path after file:// is absolute.
10270 * win32/common/libgstbase.def:
10271 * win32/common/libgstdataprotocol.def:
10272 * win32/common/libgstgstreamer.def:
10273 Add new exported functions.
10275 2007-02-09 Andy Wingo <wingo@pobox.com>
10277 * tests/check/pipelines/simple-launch-lines.c
10278 (simple_launch_lines_suite, test_tee): Disable tee test until I
10279 have time to fix it :-(
10281 * tests/check/Makefile.am (noinst_HEADERS):
10282 * tests/check/libs/libsabi.c:
10283 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10284 * tests/check/gst/gstabi.c:
10285 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10287 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10288 tests for push and pull tee behavior.
10290 * plugins/elements/gsttee.h:
10291 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10292 mark as deprecated as well as unimplemented. It was a crack idea.
10293 Add support for tee operating in pull mode, off by default.
10295 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10296 normal-case logs down to LOG, raise errors to WARNING.
10297 (gst_registry_xml_read_cache): Don't log before calling a function
10300 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10301 exit (registry finalize).
10302 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10303 DEBUG log when we emit signals that people don't even have the
10304 chance to connect to.
10305 (gst_registry_scan_path_level): Less logging in the normal case.
10307 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10309 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10311 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10312 Correctly generate EOS for non-seekable files. We don't have a total
10313 length for them and would get an unexpected end of file if we only
10314 special-cased for regular files. (Fixes: #404569)
10316 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10318 * tests/check/elements/filesrc.c: (GST_START_TEST),
10320 Add unit test for the GstURIHandler interface in filesrc. This also
10321 tests the newly added file://localhost/foo/bar support.
10323 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10325 * gst/gstelementfactory.h:
10326 The klass string is not a hierarchy. Add reference to the design doc
10327 for more information and common types.
10329 2007-02-02 Wim Taymans <wim@fluendo.com>
10331 * gst/gstquery.c: (gst_query_new_latency):
10332 Remove old structure field.
10334 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10336 * tools/gst-launch.1.in:
10337 Give example for network streaming (#351998)
10339 2007-02-02 Wim Taymans <wim@fluendo.com>
10341 * docs/gst/gstreamer-sections.txt:
10342 Add docs for new methods.
10344 * gst/gstevent.c: (gst_event_new_latency),
10345 (gst_event_parse_latency):
10347 Add new LATENCY event to configure latency in a pipeline.
10348 API: gst_event_new_latency
10349 API: gst_event_parse_latency
10351 * gst/gstmessage.c: (gst_message_new_buffering),
10352 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10353 (gst_message_new_latency), (gst_message_parse_buffering),
10354 (gst_message_parse_lost_preroll):
10355 * gst/gstmessage.h:
10356 Added messages used in draft-latency.
10357 API: gst_message_new_lost_preroll
10358 API: gst_message_parse_lost_preroll
10359 API: gst_message_new_prerolled
10360 API: gst_message_new_latency
10362 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10363 (gst_query_parse_latency):
10365 Implemented new latency query as in design doc.
10366 API: gst_query_new_latency
10367 API: gst_query_set_latency
10368 API: gst_query_parse_latency
10370 2007-02-02 Wim Taymans <wim@fluendo.com>
10372 * docs/design/draft-latency.txt:
10373 Slight redesign to allow for dynamic latency adjustments.
10375 * docs/design/part-negotiation.txt:
10378 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10380 reviewed by: Wim Taymans <wim@fluendo.com>
10382 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10383 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10384 Allow file://localhost/foo/bar URLs and correctly fail for every other
10385 hostname that one sets. This was gnomevfssrc is linked for those if
10386 installed as it can handle it (#403172)
10388 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10390 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10392 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10393 (unref_data), (gst_collect_pads_add_pad_full):
10394 * libs/gst/base/gstcollectpads.h:
10395 Don't put the previously added destroy notify in the GstCollectData
10396 struct as all it's padding is already used and we don't want to break
10397 ABI. Instead put in the pad's GObject data for now. This should be
10398 cleaned up for 0.11 (#402393).
10400 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10402 reviewed by: Wim Taymans <wim@fluendo.com>
10404 * docs/libs/gstreamer-libs-sections.txt:
10405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10406 (unref_data), (gst_collect_pads_add_pad),
10407 (gst_collect_pads_add_pad_full):
10408 * libs/gst/base/gstcollectpads.h:
10409 API: Add function to specify a destroy notification for custom
10410 GstCollectData when adding new pads in GstCollectPads (#402393).
10412 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10415 Update Swedish translation (#378255).
10417 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10419 * docs/design/draft-klass.txt:
10420 Fix the previous change, this is a list of categories and not a hierarchy.
10422 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10424 * docs/design/draft-klass.txt:
10425 Add info about how to get a list of used classes.
10427 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10429 * plugins/elements/gsttypefindelement.c:
10430 (gst_type_find_element_chain_do_typefinding),
10431 (gst_type_find_element_change_state):
10432 Don't leak found caps in chain function (no idea why that never
10433 showed up as a leak anywhere).
10435 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10438 Fix and expand GstPluginDesc API docs.
10440 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10443 * gst/gstelementfactory.c:
10444 * gst/gstpadtemplate.h:
10447 * libs/gst/controller/gstcontroller.c:
10448 (gst_controlled_property_new):
10449 * tests/examples/controller/audio-example.c:
10452 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10455 comment about refining the xml deps
10457 * docs/manuals.mak:
10458 comments about moving away from jade for docs
10461 recommit the ifdefs to use the binary registry
10463 * gst/gstbin.c: (gst_bin_change_state_func):
10464 this break is obsolete
10466 * gst/gstelementfactory.h:
10467 better GST_ELEMENT_DETAILS docs, add comment about translation
10472 * gst/gstobject.c: (gst_signal_object_get_type):
10473 add G_UNLIKELY as usual
10475 * gst/gstpad.c: (gst_pad_event_default):
10476 add fall trhu comment
10478 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10479 (gst_registry_binary_initialize_magic),
10480 (gst_registry_binary_save_string),
10481 (gst_registry_binary_save_pad_template),
10482 (gst_registry_binary_save_feature),
10483 (gst_registry_binary_save_plugin),
10484 (gst_registry_binary_write_cache),
10485 (gst_registry_binary_check_magic),
10486 (gst_registry_binary_load_pad_template),
10487 (gst_registry_binary_load_feature),
10488 (gst_registry_binary_load_plugin),
10489 (gst_registry_binary_read_cache):
10490 comment typo and formatting
10492 * gst/gstutils.c: (gst_element_state_get_name),
10493 (gst_element_state_change_return_get_name):
10494 remove obsolete breaks
10496 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10497 add FIXME 0.11 and remove cpp comment
10499 2007-01-29 Edward Hervey <edward@fluendo.com>
10501 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10502 Fix print statement in an even more portable way.
10504 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10506 * docs/gst/gstreamer-sections.txt:
10508 API: add GST_ROUND_DOWN_* macros (#401781).
10510 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10512 * docs/gst/gstreamer.types.in:
10513 * gst/gstregistry.c: (gst_registry_class_init):
10514 Document registry signals and make gtk-doc pick them up (#401381).
10516 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10518 * docs/pwg/building-testapp.xml:
10519 Add some audioconverts and audioresample to the pipeline, and some
10520 more comments and error handling.
10522 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10524 * docs/manual/manual.xml:
10525 * docs/pwg/pwg.xml:
10526 Fix typo (#400987).
10528 2007-01-26 Wim Taymans <wim@fluendo.com>
10530 * gst/gstcaps.c: (gst_static_caps_get):
10531 Init caps flags too.
10533 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10535 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10537 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10538 If not using mmap'ed files try to seek to the end instead of the
10539 start to determine whether we can seek at all. This fixes the case
10540 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10541 seeks for everything afterwards fail. Fixes #400656
10543 2007-01-25 Wim Taymans <wim@fluendo.com>
10545 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10546 Add some refcount debugging.
10547 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10548 in multiple streaming threads.
10550 2007-01-25 Wim Taymans <wim@fluendo.com>
10552 Patch by: David Schleef <ds at schleef dot org>
10554 * docs/libs/gstreamer-libs-sections.txt:
10555 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10556 * libs/gst/base/gstadapter.h:
10557 API: gst_adapter_copy() that can reduce the amount of memcpy when
10558 getting data from the adapter. Fixes #388201.
10560 2007-01-25 Edward Hervey <edward@fluendo.com>
10562 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10563 In print statements, "%x" is for guint. Fixes build on macosx.
10565 2007-01-24 Edward Hervey <edward@fluendo.com>
10567 * plugins/elements/gstmultiqueue.c:
10568 (gst_multi_queue_loop):
10570 (single_queue_overrun_cb), (single_queue_underrun_cb),
10571 (single_queue_check_full), (gst_single_queue_new):
10572 Implement single queue growth system.
10573 This uses the extra-size properties, and will grow single queues by
10574 that much if one goes full whereas there are others empty. This is
10575 called extra-mode in the code.
10576 When a single queue's levels go back below the initial max-size
10577 limits, it is no longer in extra-mode. This is to ensure we don't
10578 consume too much memory.
10581 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10583 * gst/gst.c: (gst_init_get_option_group):
10584 Make warning about late g_thread_init() calls a bit more explicit,
10585 so that it's more obvious to application developers what they need
10586 to do if a user files a bug against their application.
10588 2007-01-22 Edward Hervey <edward@fluendo.com>
10590 * plugins/elements/gstmultiqueue.c:
10591 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10592 Remove previous hack of unsetting the flushing flag for the source pad
10593 instead of activating it. Instead, fix the source pad activate function
10594 so that it no longer depends on having a parent set or not.
10596 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10598 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10600 * docs/manual/basics-bus.xml:
10601 Fix example code, gst_element_unref() doesn't exist any longer.
10603 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10605 Patch by: Mark Nauwelaerts <manauw at skynet be>
10608 Fix two docs typoes (#399094).
10610 2007-01-19 Edward Hervey <edward@fluendo.com>
10612 * docs/faq/gst-uninstalled:
10613 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10614 depending on libgstbaseutils can work in uninstalled environment.
10616 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10618 * gst/gsttaglist.h:
10619 * gst/gsttagsetter.c:
10620 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10621 statement for new tag.
10623 2007-01-17 Edward Hervey <edward@fluendo.com>
10625 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10626 When dynamically creating single queues, activate sinkpad before adding
10628 We should be doing the same thing for the source pad, but we can't
10629 since it would call a method which needs the parent to be set in order
10630 to work propertly. Instead of activating the source pad, we just unset
10631 the flushing flag, which is the minimal requirement for adding a pad
10632 to an element in a state greater than READY.
10634 2007-01-17 Edward Hervey <edward@fluendo.com>
10636 * docs/faq/gst-uninstalled:
10637 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10640 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10642 * tests/check/gst/gstabi.c:
10643 * tests/check/gst/struct_hppa.h:
10644 * tests/check/libs/libsabi.c:
10645 * tests/check/libs/struct_hppa.h:
10646 Add ABI structs for HPPA (see #393796).
10648 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10650 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10651 Actually write ABI structs to the file specified in the GST_ABI
10652 environment variable, as the message we print claims we would.
10654 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10656 * tests/check/gst/gsttask.c:
10657 Fix header comment.
10659 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10661 * gst/gsttaglist.c: (_gst_tag_initialize):
10662 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10663 previous two entries.
10665 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10667 * docs/gst/gstreamer-sections.txt:
10668 * gst/gsttaglist.c: (_gst_tag_initialize):
10669 * gst/gsttaglist.h:
10670 Add tag support for beat-per-minute.
10672 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10674 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10675 (gst_registry_binary_initialize_magic),
10676 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10677 (gst_registry_binary_save_pad_template),
10678 (gst_registry_binary_save_feature),
10679 (gst_registry_binary_save_plugin),
10680 (gst_registry_binary_write_cache),
10681 (gst_registry_binary_check_magic),
10682 (gst_registry_binary_load_pad_template),
10683 (gst_registry_binary_load_feature),
10684 (gst_registry_binary_load_plugin),
10685 (gst_registry_binary_read_cache):
10686 * gst/gstregistrybinary.h:
10687 Use glib types, cleanup comments, impement interfaces and uri-types.
10689 2007-01-13 Andy Wingo <wingo@pobox.com>
10691 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10692 getrange() to return buffers with other caps, while we fix
10693 demuxers and typefind, or otherwise change part-negotiation.txt.
10695 2007-01-12 Andy Wingo <wingo@pobox.com>
10697 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10698 Factor start/stop into this private function instead of partially
10699 in activate functions and partially in the change_state function.
10700 Fixes setup before the element has changed from READY->PAUSED, as
10701 is the case in pull-mode pipelines.
10702 (gst_base_transform_sink_activate_push)
10703 (gst_base_transform_src_activate_pull): Refactor to use
10704 gst_base_transform_activate().
10705 (gst_base_transform_change_state): Removed, not needed any more.
10707 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10708 Truncate before fixating.
10710 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10711 Don't set_caps() if the result of fixating is ANY, as it's not
10712 supported, and not necessary in the case of a link with no
10713 template caps on either side. Fixes tests/check/libs/basesrc in
10714 some pull-mode tests.
10716 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10717 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10718 (gst_base_transform_src_activate_pull):
10719 Track the activation mode.
10720 (gst_base_transform_setcaps): In pull mode, when activating the
10721 src pad, after activating the sink pad, activate the sink pad's
10722 peer, as discussed in part-negotiation.txt.
10724 * libs/gst/base/gstbasesrc.h:
10725 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10726 vmethod, as in basesink.
10728 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10730 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10731 mode, first proxy the setcaps to the peer pad.
10732 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10733 new fixate vmethod.
10734 (gst_base_sink_default_activate_pull): Rename from
10735 gst_base_sink_activate_pull.
10736 (gst_base_sink_negotiate_pull): New function, performs negotiation
10737 in pull mode before calling ::activate_pull().
10738 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10739 vmethod instead of the default implementation. I have no idea how
10740 this worked before. Negotiate before calling activate_pull.
10742 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10743 sink pads in pull mode. In addition to being correct, fixes
10744 filesrc ! decodebin ! identity ! fakesink.
10745 (gst_pad_get_range, gst_pad_pull_range): Don't call
10746 gst_pad_set_caps() if the caps changes; instead error out with
10747 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10749 2007-01-12 Andy Wingo <wingo@pobox.com>
10751 * docs/design/part-negotiation.txt: Update with more policy.
10753 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10755 * libs/gst/check/gstbufferstraw.h:
10756 * libs/gst/check/gstcheck.h:
10757 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10760 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10762 * tests/check/Makefile.am:
10763 * tests/check/gst/.cvsignore:
10764 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10765 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10766 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10767 (GST_START_TEST), (gst_tag_setter_suite):
10768 Add minimal unit test for beforementioned GstTagSetter bug.
10770 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10772 Patch by: René Stadler <mail at renestadler dot de>
10774 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10775 gst_tag_list_merge() returns a new list, so it's not the best idea
10776 to ingore its return value. Effectively meant that tags could only
10777 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10778 Also add function guard to require a non-NULL taglist as input (has
10779 always been so due to gst_tag_list_copy(), just making it explicit).
10781 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10783 * docs/random/draft-missing-plugins.txt:
10784 Some additions: mention new API that is supposed to be used at the
10785 various stages; short blob about new gst-inspect introspection
10786 option; mention potential future problem with plugins that have
10787 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10789 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10791 * tools/gst-inspect.c:
10792 (print_plugin_automatic_install_info_codecs),
10793 (print_plugin_automatic_install_info_protocols),
10794 (print_plugin_automatic_install_info), (main):
10795 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10796 introspect plugin files and get machine-parsable output that corresponds
10797 to the last bit of the missing-plugin installer string (small gotcha:
10798 doesn't take into account ranks).
10800 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10803 * docs/gst/gstreamer-sections.txt:
10805 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10806 (gst_registry_lookup_locked):
10807 * gst/gstregistry.h:
10808 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10809 (gst_registry_binary_initialize_magic),
10810 (gst_registry_binary_save_string),
10811 (gst_registry_binary_save_pad_template),
10812 (gst_registry_binary_save_feature),
10813 (gst_registry_binary_save_plugin),
10814 (gst_registry_binary_write_cache),
10815 (gst_registry_binary_check_magic),
10816 (gst_registry_binary_load_pad_template),
10817 (gst_registry_binary_load_feature),
10818 (gst_registry_binary_load_plugin),
10819 (gst_registry_binary_read_cache):
10820 * gst/gstregistrybinary.h:
10821 * gst/gstregistryxml.c: (load_feature),
10822 (gst_registry_xml_read_cache):
10823 commit binary registry (disabled by default, see #359653)
10825 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10827 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10828 Fix 'make check' too.
10830 2007-01-10 Andy Wingo <wingo@pobox.com>
10832 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10835 * docs/design/part-negotiation.txt: Update with, um, one way that
10836 pull-mode negotiation might work?
10839 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10840 that the pad must be a src pad; makes sense to call it the other
10841 way in pull mode, and the logic is symmetric anyway.
10843 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10845 * plugins/elements/gstfilesink.c:
10846 Include <stdio.h> for fseeko().
10848 2007-01-10 Wim Taymans <wim@fluendo.com>
10852 Reserve LATENCY event.
10854 2007-01-09 Wim Taymans <wim@fluendo.com>
10856 * docs/design/draft-latency.txt:
10859 2007-01-09 Wim Taymans <wim@fluendo.com>
10861 * docs/design/draft-latency.txt:
10864 * gst/gstelement.h:
10865 * gst/gststructure.c:
10869 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10871 * tests/check/.cvsignore:
10872 Ignore test-registry.xml as well.
10874 2007-01-09 Wim Taymans <wim@fluendo.com>
10876 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10877 unref data at the end when we are done with the pad.
10879 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10881 * docs/gst/gstreamer-sections.txt:
10882 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10883 (init_post), (gst_deinit), (gst_update_registry):
10885 API: add gst_update_registry() (#391296).
10887 * tests/check/Makefile.am:
10888 * tests/check/gst/gstregistry.c:
10889 * tests/check/gst/.cvsignore:
10890 Simple unit test for the above.
10892 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10894 * gst/gstregistry.c: (gst_registry_scan_path_level):
10895 Plugin extension on HP-UX is .sl, add that to the list of approved
10896 plugin extensions (see #393796).
10898 * tests/check/gst/gstpad.c: (GST_START_TEST):
10899 ulong => gulong. Fixes compilation with HP-UX compiler.
10901 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10902 Fix compilation if valgrind headers are not available.
10904 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10906 * win32/common/libgstreamer.def:
10907 Add new exported function.
10908 * win32/vs6/libgstbase.dsp:
10909 Add gstdataqueue.c to the build.
10910 * win32/vs6/libgstcoreelements.dsp:
10911 Add gstmultiqueue.c to the build.
10913 2007-01-06 Andy Wingo <wingo@pobox.com>
10915 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10916 activate_pull(), providing for a way to specialize the process of
10917 spawning a thread to pull on the sink pad. There is a default
10920 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10921 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10922 (gst_base_sink_init): Renamed pad activation functions (inserting
10923 "_pad" in their names). Refactor to use the new activate_pull
10924 vmethod, as appropriate.
10925 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10926 default activate_pull function to start a task pulling from the
10927 sink pad, as before.
10929 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10930 on the pads if necessary, as in push()/chain(). Update docs.
10931 Shouldn't affect existing pull() usage as it is currently only
10932 being used on buffers without caps.
10934 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10936 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10938 Call g_thread_init() first thing in gst_init() / gst_check_init().
10939 When initialisation is done via gst_init_get_option_group() and
10940 GOption parsing, issue a warning if the GLib thread system has not
10941 been initialised yet by the time gst_init_get_option_group() is
10942 called, as it's quite likely other GLib functions such as
10943 g_option_context_new() have been called already then, and
10944 g_thread_init() must be called before any other GLib function. The
10945 application in question must be fixed in that case, since memory
10946 corruption might happen otherwise.
10947 We issue the warning because even if the GLib folks decide to work
10948 around the problem on their end in future, this is still an issue
10949 with all GLib versions >= 2.10.0, so we should warn until we depend
10950 on a GLib version we know to be safe.
10951 Update documentation as well.
10952 Closes bug #391278.
10954 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10956 * tools/gst-inspect.c: (main):
10957 * tools/gst-launch.c: (main):
10958 * tools/gst-typefind.c: (main):
10959 * tools/gst-xmlinspect.c: (main):
10960 Call g_thread_init() really really early, before any other GLib
10961 function (see #342564 and recent discussion on gtk-devel-list).
10963 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10965 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10967 * gst/gst_private.h:
10968 * gst/gstconfig.h.in:
10970 On win32, all the __declspec stuff for symbol exporting is
10971 apparently only needed with MSVC, but doesn't work with MingW.
10972 Fixes compilation with MingW and #391909.
10974 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10976 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10977 Change some GST_ERROR_OBJECT that aren't really errors to
10978 GST_WARNING_OBJECT in order to reduce terminal spam.
10980 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10982 * tests/check/Makefile.am:
10983 disable test again, as there seem to be still race problems
10985 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10987 * tests/check/Makefile.am:
10988 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10989 (GST_START_TEST), (queue_suite):
10990 enable queue test again, add tests for the leaky behaviour
10992 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10995 * tests/examples/Makefile.am:
10996 Compile adapter test/example only if the required headers are
10997 available (fixes #391915).
10999 2007-01-01 David Schleef <ds@schleef.org>
11002 Restore the previous signal handler for SIGSEGV instead of
11003 setting to default, since we may have stolen it away from
11004 someone. (i.e., Mono)
11006 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11008 * docs/random/draft-missing-plugins.txt:
11009 Some small additions and clarifications.
11011 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11013 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11014 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11015 since that can lead to random memory corruptions and crashes
11016 (may or may not be related to #383244, #386711, and #386711).
11018 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11020 * tests/check/.cvsignore:
11021 * tests/check/Makefile.am:
11022 sync .cvsignome and CLEANFILES
11024 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11026 * tests/check/Makefile.am:
11029 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11031 * docs/design/part-states.txt:
11032 two tiny additional comments
11034 * gst/gststructure.c:
11037 * tests/check/Makefile.am:
11038 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11040 disable test for now, unless it gets fixed
11042 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11044 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11046 fix race in underrun test
11048 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11050 * tests/check/elements/.cvsignore:
11053 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11055 try to narrow test failure
11057 2006-12-21 David Schleef <ds@schleef.org>
11059 * plugins/elements/gstfakesrc.c:
11060 Use g_random_int_range(), since it produces better random
11061 numbers in a range than almost-correct floating point code.
11063 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11065 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11066 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11067 (gst_check_teardown_sink_pad):
11068 do not automatically (de)activate pads
11070 * tests/check/Makefile.am:
11071 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11072 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11073 add new, yet simple tests for queue
11075 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11076 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11077 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11079 * tests/check/elements/identity.c: (cleanup_identity):
11080 consistent pad (de)activation
11082 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11084 Patch by: Sebastian Dröge <slomo ubuntu com>
11086 * libs/gst/base/gstcollectpads.c:
11087 Fix two doc typos (#387866).
11089 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11091 * docs/manual/advanced-dparams.xml:
11092 Fix typo (g_object_control_properties() doesn't exist).
11094 2006-12-19 Edward Hervey <edward@fluendo.com>
11096 * gst/gstsegment.c: (gst_segment_set_seek):
11097 Fine tune the cases where the segment start/stop values are really
11099 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11100 Add tests for the return values of gst_segment_set_seek().
11102 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11107 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11109 Fix incorrect documentation and flesh it out a bit more.
11110 Set default values for the max properties on the GParamSpec as well,
11111 so it shows up correctly in gst-inspect.
11113 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11115 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11116 Correct docs of queue, add more detail and crosslink it more.
11118 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11120 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11121 Print additional debug info when the stream isn't perfectly
11122 timestamped; don't try to use invalid durations.
11124 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11126 * docs/design/Makefile.am:
11127 Dist new design docs.
11129 2006-12-16 Wim Taymans <wim@fluendo.com>
11131 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11133 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11134 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11135 (gst_collect_pads_stop), (gst_collect_pads_event),
11136 (gst_collect_pads_chain):
11137 * libs/gst/base/gstcollectpads.h:
11138 Add refcounting to the collectpads data so we can track when it's safe
11139 to free the data. Fixes #383382.
11141 2006-12-15 Wim Taymans <wim@fluendo.com>
11143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11144 (gst_collect_pads_remove_pad):
11145 Automatically activate/deactivate pads when they are added to a
11146 started/stoped collectpads.
11148 2006-12-15 Wim Taymans <wim@fluendo.com>
11150 * gst/gstelement.c: (gst_element_add_pad):
11151 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11152 * gst/gstpad.c: (gst_pad_init):
11153 Set pads to FLUSHING when they are created. Check, warn and fix when a
11154 demuxer adds an inactive pad to itself when running. Fixes #339326.
11156 2006-12-15 Wim Taymans <wim@fluendo.com>
11158 * gst/gstelement.c: (gst_element_class_init),
11159 (gst_element_default_send_event), (gst_element_send_event),
11160 (gst_element_default_query), (gst_element_query):
11161 Expose default element send_event and query handling as vmethods that
11162 subclasses can chain up to.
11164 2006-12-15 Wim Taymans <wim@fluendo.com>
11166 * gst/gstelement.c: (gst_element_set_state_func):
11167 Small documentation fixes.
11169 2006-12-15 Wim Taymans <wim@fluendo.com>
11171 * docs/design/draft-latency.txt:
11172 Checked in draft for handling latency in pipelines.
11174 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11178 * gstreamer.spec.in:
11181 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11183 * gst/gst.c: (init_pre), (init_post):
11184 init_pre() and init_post() might be called via our GOptionGroup or
11185 from gst_init(), and we should skip both of them if we've already
11186 been initialised, otherwise we will init some things twice or add
11187 two default log functions.
11189 2006-12-13 Edward Hervey <edward@fluendo.com>
11191 * docs/manual/basics-bus.xml:
11192 No, gst_main_loop does not exist. Its g_main_loop.
11193 Discovered by somebody who abused the copy-paste technique of coding :)
11195 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11197 * gst/gstghostpad.c:
11198 Log ghostpad debug stuff to the GST_PADS category as well rather
11199 than just to the default category.
11201 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11204 * gst/gst.c: (init_pre):
11205 Add some basic system details such as OS and architecture
11206 to the debug output if possible, courtesy of uname().
11208 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11210 * docs/gst/running.xml:
11211 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11212 environment variables.
11214 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11216 * tests/check/gst/gstbin.c: (GST_START_TEST):
11217 It is acceptable to have a refcount of 2 or 3 at this point in the
11218 test, because the pipeline might be just posting its state_change
11219 message. The next line then waits for that message to appear using
11220 bus_poll, so that should be fine too.
11222 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11224 * gst/gst.c: (ensure_current_registry_forking):
11225 Ignore EINTR when reading from the child registry pipe.
11226 Explicitly ignore the return value from close, since it makes no
11229 * gst/gstminiobject.c: (gst_mini_object_ref),
11230 (gst_mini_object_unref):
11231 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11233 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11234 When removing cached plugins, remove their features too, so they're
11235 not visible after they've disappeared.
11237 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11238 In the unlikely case that we are linking pads with no parents, don't
11239 crash trying to get the non-existent parent bin.
11241 * gst/parse/grammar.y:
11242 Output debug in the PIPELINE category
11244 2005-03-08 Wim Taymans <wim@fluendo.com>
11246 Patch by: René Stadler <mail at renestadler dot de>
11248 * gst/gstclock.c: (gst_clock_new_periodic_id):
11249 Reject invalid clock times for interval of periodic ids.
11252 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11254 * gst/gstelementfactory.c: (gst_element_factory_create):
11255 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11256 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11257 * tools/gst-inspect.c: (print_element_info):
11258 Fix refcounting of gst_plugin_feature_load to match the docs.
11261 2006-12-07 Wim Taymans <wim@fluendo.com>
11263 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11264 (gst_base_sink_get_position):
11265 Improve debugging of events.
11267 2006-12-07 Wim Taymans <wim@fluendo.com>
11269 Patch by: René Stadler <mail at renestadler dot de>
11271 * gst/gstclock.c: (gst_clock_id_wait):
11272 Make period ids add the interval to the origial requested time instead
11273 of the possibly updated time which can be wrong when there are multiple
11274 waiters for the same id. Fixes #382592.
11276 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11277 (gst_system_clock_id_wait_jitter_unlocked),
11278 (gst_system_clock_id_wait_jitter):
11279 Fix restart in the async notify thread when an async entry is added to
11280 the front of the list. Fixes #381492.
11282 * tests/check/gst/gstsystemclock.c: (store_callback),
11283 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11284 Added test for multiple async waits.
11285 Added test for async wait order.
11287 2006-12-07 Wim Taymans <wim@fluendo.com>
11289 * gst/gstbin.c: (gst_bin_query):
11290 Add some more docs about the POSITION query.
11292 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11295 Bump version nano - back to CVS.
11297 === release 0.10.11 ===
11299 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11302 releasing 0.10.11, "Love never runs on time"
11304 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11306 * win32/common/libgstbase.def:
11307 * win32/common/libgstreamer.def:
11308 * win32/vs8/libgstbase.vcproj:
11309 * win32/vs8/libgstcoreelements.vcproj:
11310 * win32/vs8/libgstreamer.vcproj:
11311 Fix compilation on win32 under VS8
11312 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11313 Partially fixes #381175
11315 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11317 * gst/gstvalue.c: (gst_value_compare_fraction):
11318 If someone is foolish enough to compare 2 fractions with denominator =
11319 0, return UNORDERED rather than aborting.
11321 2006-11-28 Edward Hervey <edward@fluendo.com>
11323 * libs/gst/base/Makefile.am:
11324 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11325 (gst_data_queue_base_init), (gst_data_queue_class_init),
11326 (gst_data_queue_init), (gst_data_queue_new),
11327 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11328 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11329 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11330 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11331 (gst_data_queue_set_flushing), (gst_data_queue_push),
11332 (gst_data_queue_pop), (gst_data_queue_drop_head),
11333 (gst_data_queue_set_property), (gst_data_queue_get_property):
11334 * libs/gst/base/gstdataqueue.h:
11335 New GstDataQueue object for threadsafe queueing. Most useful for
11336 elements that need some queueing functionnality.
11337 * docs/libs/gstreamer-libs-docs.sgml:
11338 * docs/libs/gstreamer-libs-sections.txt:
11339 Insert documentation for GstDataQueue
11340 * plugins/elements/Makefile.am:
11341 * plugins/elements/gstelements.c:
11342 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11343 (gst_multi_queue_class_init), (gst_multi_queue_init),
11344 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11345 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11346 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11347 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11348 (gst_multi_queue_loop), (gst_multi_queue_chain),
11349 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11350 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11351 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11352 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11353 (wake_up_next_non_linked), (compute_next_non_linked),
11354 (single_queue_overrun_cb), (single_queue_underrun_cb),
11355 (single_queue_check_full), (gst_single_queue_new):
11356 * plugins/elements/gstmultiqueue.h:
11357 New multiqueue element, using GstDataQueue. Used for queuing multiple
11359 Closes #344639 and #347785
11361 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11363 * docs/pwg/advanced-types.xml:
11364 add more missing type details
11366 * tools/gst-run.c: (main):
11367 remove unused variable
11369 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11371 * docs/libs/Makefile.am:
11372 * docs/libs/gstreamer-libs.types:
11373 add types of base classes to enable gobject specific stuff in the docs
11375 * docs/random/ensonic/embedded.txt:
11376 more ideas about isolating platform specific things
11378 2006-11-20 Wim Taymans <wim@fluendo.com>
11380 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11382 * libs/gst/check/gstcheck.h:
11383 Fix compilation and running against 0.9.4. Fixes #377332.
11385 2006-11-20 Wim Taymans <wim@fluendo.com>
11387 * gst/gstsegment.c: (gst_segment_set_seek),
11388 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11389 (gst_segment_to_running_time):
11390 Fix boundary checking in to_running_time() and to_stream_time().
11393 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11394 stream and running time can now be calculated for the complete
11397 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11399 * gst/gstpad.c: (gst_pad_push_event):
11400 Can't access event structure after giving away ownership of
11403 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11405 * docs/random/ensonic/embedded.txt:
11406 * docs/random/ensonic/profiling.txt:
11407 * docs/random/ensonic/receipies.txt:
11410 2006-11-13 Wim Taymans <wim@fluendo.com>
11412 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11415 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11417 2006-11-13 Wim Taymans <wim@fluendo.com>
11419 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11421 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11422 Store new length in segment duration so we don't keep on calling the
11423 potentially expensize get_size() call. Fixes #370865.
11425 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11427 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11429 * win32/common/libgstreamer.def:
11430 Add two missing symbols (#366492).
11432 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11434 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11435 (gst_adapter_take_buffer):
11436 Fix format string to use all its arguments.
11437 Remove useless >= check on a guint
11439 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11441 * tests/examples/adapter/.cvsignore:
11442 Ignore build file as commanded by the build-bot
11444 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11446 * tests/examples/adapter/Makefile.am:
11447 * tests/examples/adapter/adapter_test.c: (run_test_take),
11448 (run_test_take_buffer), (run_tests), (main):
11450 Add new files from the previous commit
11452 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11456 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11457 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11458 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11459 * libs/gst/base/gstadapter.h:
11460 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11461 (GST_START_TEST), (gst_adapter_suite):
11462 * tests/examples/Makefile.am:
11463 Do some optimisation work in GstAdapter to avoid copies in more cases.
11464 It could still do slightly better by merging buffers when
11465 gst_buffer_is_span_fast is true, but is already faster.
11467 Also, avoid traversing a single-linked list to append each incoming
11468 buffer inside the adapter.
11470 Add simple test app that times the adapter behaviour in different
11471 situations, and extend the unit test to check that bytes enter and
11472 exit the adapter in their original order.
11474 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11476 * docs/random/draft-missing-plugins.txt:
11477 Update: use element message instead of adding a new message
11478 type to the core; don't provide GStreamer API to initiate the
11479 plugin download, just provide API to compose the strings needed
11480 and let an external libgimmestuff handle the rest.
11482 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11484 * tools/gst-inspect.c: (print_element_properties_info):
11485 Print a string instead of 'unknown type' for GValueArray properties
11487 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11489 * docs/random/draft-missing-plugins.txt:
11492 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11494 * tests/examples/typefind/typefind.c: (type_found), (main):
11495 Make typefind element example work again (#371894); add a
11498 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11500 * docs/random/draft-missing-plugins.txt:
11501 Commit initial draft about how to deal with missing plugins,
11502 needs work (API too).
11504 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11506 * docs/pwg/advanced-types.xml:
11507 documents the new caps elements (see #363118)
11509 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11511 * gst/gstplugin.c: (gst_plugin_load_file):
11512 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11513 (gst_file_src_map_region), (gst_file_src_start):
11514 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11515 (gst_file_index_commit):
11516 Use g_strerror() instead of strerror() - we want UTF-8.
11518 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11520 Patch by: Peter Kjellerstedt <pkj at axis com>
11522 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11523 Another printf fix (#371493).
11525 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11527 * tests/check/gst/gsttag.c:
11528 relicence (okay with author=company)
11530 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11532 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11533 (gst_pad_push_event):
11534 Enhance debug and improve docs
11539 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11541 * docs/random/ensonic/distributed.txt:
11542 * docs/random/ensonic/profiling.txt:
11545 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11547 * docs/gst/gstreamer-sections.txt:
11548 add new API and fix the build
11550 * gst/gstbin.c: (gst_bin_recalc_state):
11551 * gst/gstelement.c: (gst_element_message_full),
11552 (gst_element_get_state_func), (gst_element_set_state_func):
11553 use new API and improve logging
11555 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11557 API: add function to get StateChangereturn names to improve logs
11559 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11561 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11562 I'm considering shooting the next person to put strerror stuff
11563 in the translateable part of the message.
11565 2006-11-03 Wim Taymans <wim@fluendo.com>
11567 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11568 Get the type and printf conversion specifiers right.
11570 2006-11-03 Wim Taymans <wim@fluendo.com>
11572 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11574 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11575 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11576 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11577 Some small cleanups. Improve debugging.
11579 Signal all waiting threads with a broadcast instead of just one.
11582 2006-11-03 Wim Taymans <wim@fluendo.com>
11584 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11585 (gst_fd_src_create):
11586 Add some debugging.
11587 Only update fd when it's different from the old.
11589 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11591 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11592 Printf fixes for PPC/OSX, take two (#369366).
11594 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11596 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11598 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11599 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11600 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11601 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11602 don't cast to long long for portability reasons, but use
11603 GLib's types instead.
11605 2006-10-30 Michael Smith <msmith@fluendo.com>
11607 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11608 Get the arguments to lseek() the right way around.
11611 2006-10-30 Wim Taymans <wim@fluendo.com>
11613 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11616 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11618 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11620 Patch by: Kjartan Maraas <kmaraas at gnome org>
11622 * docs/design/part-MT-refcounting.txt:
11623 * docs/random/wtay/capsnego2-docs:
11626 Typo fixes (#366212).
11628 2006-10-28 Wim Taymans <wim@fluendo.com>
11630 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11633 * win32/common/libgstbase.def:
11634 * win32/common/libgstreamer.def:
11635 * win32/vs8/libgstbase.vcproj:
11636 * win32/vs8/libgstcontroller.vcproj:
11637 Add needed entries in .def files.
11639 Rearrange def files in vs8 solutions. Fixes #366286.
11641 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11643 * win32/common/gstconfig.h:
11644 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11645 hand-made win32 gstconfig.h. Fixes #366321.
11647 2006-10-27 Wim Taymans <wim@fluendo.com>
11649 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11650 (gst_ghost_pad_new_full):
11651 Make acceptcaps return TRUE when we don't have a target, just like
11654 2006-10-27 Wim Taymans <wim@fluendo.com>
11656 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11657 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11659 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11661 * gst/gststructure.c: (gst_structure_id_set_value):
11662 If someone tries to set a non-UTF8 string field on a structure,
11663 don't just print a warning, but also ignore the request and do
11664 not change/add that field to the structure.
11666 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11667 Test for the above.
11669 2006-10-25 David Schleef <ds@schleef.org>
11672 g_hash_table_insert() needs a cast to a non-const pointer duh.
11674 2006-10-25 David Schleef <ds@schleef.org>
11678 Change name parameter of _gst_debug_register_funcptr to const
11679 to reflect the constness of its use in the function as well
11680 as to quiet a gcc warning.
11682 2006-10-25 Edward Hervey <edward@fluendo.com>
11684 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11685 Don't push the buffer if it's empty.
11688 2006-10-24 Wim Taymans <wim@fluendo.com>
11693 * libs/gst/base/gstbasetransform.c:
11694 (gst_base_transform_sink_eventfunc):
11695 Debug segment values *after* updating them as this is more
11698 2006-10-23 Wim Taymans <wim@fluendo.com>
11700 * docs/design/part-events.txt:
11703 * docs/design/part-block.txt:
11704 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11705 (gst_pad_push_event):
11706 Revert BLOCKING patch, it tries to be smart without really having a
11707 clear idea what or how. So, now we discard all FLUSHING events again on
11708 a blocking pad. Should fix gnonlin again.
11710 2006-10-23 Wim Taymans <wim@fluendo.com>
11712 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11714 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11715 (gst_base_src_start), (gst_base_src_activate_push):
11716 Make sure size is always initialized. Fixes #364388.
11718 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11720 * docs/random/ensonic/distributed.txt:
11721 add some ideas about doing distributed processing
11723 * docs/random/ensonic/profiling.txt:
11724 get_rusage look promising
11726 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11728 * docs/manual/basics-helloworld.xml:
11729 Add a cast in example to fix compile warning
11731 2006-10-18 Wim Taymans <wim@fluendo.com>
11733 * gst/gstsegment.c: (gst_segment_set_last_stop),
11734 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11735 Relax arg checking again, -1 is allowed.
11737 2006-10-18 Wim Taymans <wim@fluendo.com>
11739 * gst/gstsegment.c: (gst_segment_set_last_stop),
11740 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11741 _set_last_stop() must be with a value != -1
11742 A _TYPE_SET to -1 means seek to 0.
11743 Calc last_stop correctly for negative rates.
11744 Make sure we work with positive durations when updating a segment.
11746 2006-10-18 Wim Taymans <wim@fluendo.com>
11748 * docs/design/part-live-source.txt:
11752 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11755 Add an explicit cast to GstBuffer** to keep old code that added an
11756 explicit cast to GstMiniObject** for gst_mini_object_replace()
11757 compiling without warning.
11759 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11761 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11762 check for validity of dates
11764 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11766 * docs/gst/gstreamer-sections.txt:
11767 Forgot this one, makes gtk-doc shut up.
11769 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11771 Patch by: Peter Kjellerstedt <pkj at axis com>
11774 Don't define xmlNodePtr to gpointer if the core was built with
11775 --disable-loadsave and --disable-registry, this will break
11776 applications that want to use libxml2 but are buildling against a
11777 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11778 instead so we don't have to mess with the libxml2 namespace
11781 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11784 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11785 type-punned pointer warnings.
11787 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11789 * gst/gstelement.h:
11790 Add casts to the correct return type to state <=> state transition
11793 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11795 * docs/design/part-live-source.txt:
11796 describe howto handle latency
11798 * docs/random/ensonic/profiling.txt:
11801 * tools/gst-plot-timeline.py:
11802 fix log parsing for solaris, remove unused function
11804 2006-10-16 Wim Taymans <wim@fluendo.com>
11806 * docs/design/part-trickmodes.txt:
11808 Update some docs regarding reverse playback.
11810 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11812 Patch by: Marcus Granado <mrc dot gran at gmail com>
11814 * win32/vs8/grammar.vcproj:
11815 Error out with a warning if glib-genmarshal.exe is not in path,
11816 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11818 2006-10-13 Wim Taymans <wim@fluendo.com>
11820 * gst/gstsegment.c: (gst_segment_set_seek):
11821 When seeking to stop -1, set last_stop (current position) to the
11822 duration of the segment.
11824 2006-10-13 Wim Taymans <wim@fluendo.com>
11826 * gst/gstelement.h:
11827 Clarify _NO_PREROLL a bit more.
11832 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11833 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11834 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11835 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11836 due to wrong locking order. Fixes #361769.
11837 Remove some redundant/misplaced checks in pad_block.
11839 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11840 For negative rates, count backwards from the duration.
11842 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11844 * gst/gsterror.c: (_gst_library_errors_init):
11845 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11846 up with something better).
11848 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11850 * win32/vs6/libgstreamer.dsp:
11851 * win32/vs7/libgstreamer.vcproj:
11852 * win32/vs8/libgstreamer.vcproj:
11853 Don't reference glib-compat.c which is currently not used and not
11854 disted; add gstquark.c which was recently added. Fixes #361730.
11856 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11858 * win32/common/libgstbase.def:
11859 * win32/common/libgstcontroller.def:
11860 * win32/common/libgstreamer.def:
11861 Add gst_caps_merge() and a bunch of other recently-added functions.
11864 2006-10-11 Wim Taymans <wim@fluendo.com>
11866 * docs/plugins/gstreamer-plugins.args:
11867 * docs/plugins/inspect/plugin-coreelements.xml:
11868 * docs/plugins/inspect/plugin-coreindexers.xml:
11869 Update element args.
11871 * gst/gstsystemclock.c:
11872 Small comment update.
11874 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11875 (gst_tee_request_new_pad), (gst_tee_release_pad),
11876 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11877 (gst_tee_sink_activate_pull):
11878 * plugins/elements/gsttee.h:
11880 Add default property defines.
11881 Implement release pad function.
11882 Give properties better blubs etc.
11883 Activate pads before adding them to a running tee.
11884 Do simple buffer_alloc on the first requested pad.
11885 Post error when activation fails.
11887 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11889 * gst/gst.c: (ensure_current_registry_forking):
11890 Check return value of write() to make compiler happy.
11892 2006-10-11 Wim Taymans <wim@fluendo.com>
11894 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11896 * plugins/elements/gstqueue.c: (gst_queue_chain):
11897 Recheck queue filledness after signalling the overrun when we're about
11898 to leak downstream because we released the lock when emitting the signal
11899 and the queue could be empty again. Fixes #352345.
11901 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11903 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11904 Fix refcounting here too, just like we did for _new_valist() a few
11905 days ago (#357180) (thanks to René Stadler). Also remove all those
11906 'Since: 0.9' from the gtk-doc blobs.
11908 * tests/check/libs/controller.c: (controller_refcount_new_list),
11909 (gst_controller_suite):
11910 Unit test for the above.
11912 2006-10-10 Wim Taymans <wim@fluendo.com>
11914 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11916 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11917 (gst_pad_save_thyself):
11919 Write pad direction in XML output. Fixes #345496.
11921 2006-10-10 Wim Taymans <wim@fluendo.com>
11923 Patch by: René Stadler <mail at renestadler dot de>
11925 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11926 (gst_controller_new_list), (_gst_controller_dispose),
11927 (_gst_controller_finalize), (_gst_controller_class_init):
11928 Take ref to controlled object so that it cannot disappear.
11931 2006-10-10 Wim Taymans <wim@fluendo.com>
11933 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11934 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11935 (gst_check_teardown_sink_pad):
11936 Activate/deactivate pads in setup/teardown respectively.
11938 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11940 Patch by: Josep Torra Valles <josep@fluendo.com>
11943 Cast values when making gstenumtypes.h. This pacifies Forte
11944 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11945 in the enumeration.
11947 2006-10-09 Wim Taymans <wim@fluendo.com>
11949 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11950 Rename some more @cur to @start to fix docs.
11952 * gst/gstsegment.c: (gst_segment_set_seek):
11954 time and start must always stay in sync as defined in design doc.
11956 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11957 Rename param to fix docs.
11959 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11960 Check that start and time are in sync.
11962 * tests/check/pipelines/parse-launch.c:
11963 (gst_parse_test_element_change_state):
11964 Activate pad before adding to the element.
11966 2006-10-09 Wim Taymans <wim@fluendo.com>
11968 * docs/design/part-qos.txt:
11973 Update seek event docs regarding negative rates.
11974 Rename @cur to @start.
11976 * gst/gstsegment.c: (gst_segment_set_seek):
11977 * gst/gstsegment.h:
11978 Update set_seek docs regarding negative rates.
11979 Correctly update last_stop to @stop when dealing with negative
11981 Rename @cur to @start.
11983 * tests/check/gst/gstpad.c: (GST_START_TEST):
11984 Activate pads before trying to use them.
11986 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11987 (gst_segment_suite):
11988 Add simple check for segments and negative rates.
11990 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11992 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11993 * gst/gsttaglist.h:
11994 * docs/gst/gstreamer-sections.txt:
11995 API: add gst_tag_list_is_empty() (#360467).
11997 * tests/check/gst/gsttag.c: (GST_START_TEST):
12000 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12002 * gst/gstmessage.h:
12003 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12004 a value that doesn't fit on enumeration.
12006 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12008 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12009 Remove local debugging system and use Gstreamer's instead.
12011 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12013 Patch by: Josep Torra Valles <josep@fluendo.com>
12015 * common/m4/gst-error.m4:
12016 Disable warning of statement not reached on Forte.
12017 * gst/gstmessage.h:
12018 Fix warning on Forte (value doesn't fit on enumeration).
12019 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12020 Fix warning on Forte (value doesn't fit on enumeration).
12021 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12022 DEBUG macro says it takes minimum of 2 args and so Forte
12023 complains about the use with just 1 arg.
12024 * plugins/elements/gstfdsink.c:
12025 * plugins/elements/gstfdsrc.c:
12026 * plugins/elements/gstfilesink.c:
12027 * plugins/elements/gstfilesrc.c:
12028 Use correct return type for the uri handler implementations.
12030 All these fix warnings in Forte. Fixes bug #360860.
12032 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12034 * gst/gstelement.h:
12035 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12036 format string, so don't use G_GNUC_PRINTF for those versions.
12038 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12040 * gst/gsttaglist.c: (gst_is_tag_list):
12041 * gst/gsttaglist.h:
12042 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12044 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12045 Small test for the above.
12047 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12049 * gst/gsttaglist.h:
12050 Less tabs, more spaces.
12052 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12055 Those two function declarations do actually belong there, revert
12056 commit from yesterday that turned them intro macros.
12058 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12060 Patch by: Josep Torra Valles <josep@fluendo.com>
12062 * gst/gst.c: (gst_init_get_option_group):
12063 Fix empty declaration and type mismatch.
12064 * gst/gstbin.c: (gst_bin_change_state_func):
12066 * gst/gstelement.c: (gst_element_continue_state),
12067 (gst_element_set_state_func), (gst_element_change_state),
12068 (gst_element_change_state_func):
12069 Fix type mismatches.
12070 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12071 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12072 Cast as appropriate.
12073 * gst/gstobject.c: (gst_class_signal_connect):
12074 Cast as appropriate. The function pointer parameter really
12075 has the wrong type but would break API if we change it.
12077 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12078 order of including string.h.
12079 * gst/gstutils.c: (gst_element_state_get_name):
12080 Remove unreachable line.
12081 * gst/gstxml.c: (gst_xml_parse_doc):
12083 All these caught by Forte.
12085 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12087 Patch by: Josep Torra Valles <josep@fluendo.com>
12089 * common/m4/gst-error.m4:
12091 We need to disable warnings on Forte for empty declarations
12092 due to gst-indent adding ;s to lines that just use macros
12093 where the macro actually doesn't need a ; at end to end
12096 2006-10-06 Wim Taymans <wim@fluendo.com>
12098 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12099 (gst_file_sink_close_file), (gst_file_sink_event),
12100 (gst_file_sink_render):
12101 Add some FIXME for the NEWSEGMENT handling.
12103 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12105 * gst/parse/grammar.y:
12106 Remove static function gst_parse_element_lock as all it does
12107 is return. Looks like cruft from 0.8.
12109 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12111 Patch by: Josep Torra Valles <josep@fluendo.com>
12113 * common/m4/gst-error.m4:
12115 * libs/gst/net/Makefile.am:
12116 Fix a compilation issue with Forte on Solaris. inet_aton is in
12119 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12121 * gst/gstpad.c: (pre_activate):
12122 * gst/gstregistry.c: (gst_registry_scan_path_level):
12123 * gst/gstregistryxml.c: (load_plugin):
12124 * libs/gst/controller/gstcontroller.c:
12125 (gst_controlled_property_set_interpolation_mode):
12126 * libs/gst/dataprotocol/dataprotocol.c:
12127 (gst_dp_packet_from_event_1_0):
12128 * libs/gst/net/gstnetclientclock.c:
12129 (gst_net_client_clock_observe_times):
12130 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12133 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12136 * docs/gst/gstreamer-sections.txt:
12137 * gst/gstconfig.h.in:
12138 * gst/gstelement.h:
12140 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12141 whether we can use G_GNUC_PRINTF in other header files and at
12142 least check the printf format/arguments of debug messages and
12143 GST_ELEMENT_ERROR messages when the printf extension is not
12145 Replace more tabs with spaces in gstinfo.h and remove two spurious
12146 function declarations in GST_DISABLE_DEBUG part with macros.
12148 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12150 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12151 More docs for the sync-message signal (mention that it is not
12152 emitted by default); log message structures of messages posted on
12155 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12157 * gst/gst.c: (ensure_current_registry_forking):
12158 Use a pipe pair to receive status results from the forked child, and
12159 ignore the result from waitpid. Fixes #355499
12161 2006-10-02 Wim Taymans <wim@fluendo.com>
12163 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12164 (gst_ghost_pad_suite):
12167 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12170 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12172 2006-10-02 Edward Hervey <edward@fluendo.com>
12174 * docs/design/part-block.txt:
12175 Further explain the use of flushing on blocked pads.
12176 * docs/gst/gstreamer-sections.txt:
12177 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12178 (gst_pad_push_event):
12180 Added new GstPadFlag : GST_PAD_BLOCKING.
12181 Adds the notion of pads really blocking, which enables to properly
12182 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12184 API: gst_pad_is_blocking()
12185 API: GST_PAD_IS_BLOCKING() macro
12186 API: GST_PAD_BLOCKING GstPadFlag
12188 2006-10-02 Wim Taymans <wim@fluendo.com>
12190 Patch by: mrcgran <mrc.gran at gmail dot com>
12192 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12193 Filter the proxied caps against the padtemplate if we have one.
12195 * gst/gstquery.c: (gst_query_new_segment):
12196 Add include for gstinfo.h so that compilation with
12197 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12199 2006-10-02 Wim Taymans <wim@fluendo.com>
12201 Patch by: Alessandro Decina <alessandro at nnva org>
12203 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12204 (gst_file_sink_set_location), (gst_file_sink_open_file),
12205 (gst_file_sink_close_file), (gst_file_sink_event),
12206 (gst_file_sink_render):
12207 Set file to NULL when closing filesink so that we can set a new filename
12208 in READY. Fixes #358613.
12210 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12212 Patch by: Alessandro Decina <alessandro at nnva org>
12214 * gst/gstevent.c: (_gst_event_copy):
12215 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12216 with event structures by setting the parent refcount address of the
12217 copied structure to the address of the refcount member of the newly
12218 copied event rather than the address of the refcount member of the
12219 original event. Fixes #358737.
12221 * tests/check/gst/gstevent.c: (GST_START_TEST):
12222 Unit test for the above.
12224 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12226 * docs/design/Makefile.am:
12227 Dist some more files.
12229 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12231 * tests/check/libs/controller.c: (GST_START_TEST),
12232 (gst_controller_suite):
12233 Add test for the previous fix; add some more tests
12234 for correct refcounting behaviour; fix a few leaks
12235 in test cases; call gst_controller_init() at start
12238 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12240 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12241 (gst_controller_set_from_list):
12242 Don't g_return_val_if_fail() on timed values with invalid timestamps
12243 inside a critical section without unlocking the mutex. Spotted by
12244 René Stadler. (#357617)
12245 Also, fix up refcounting properly: when returning an existing
12246 controller, we should increase the reference only once and not
12247 once per property and when trying to control a property again
12248 we should also increase the refcount.
12250 2006-09-29 Wim Taymans <wim@fluendo.com>
12252 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12253 * libs/gst/net/gstnettimeprovider.c:
12254 (gst_net_time_provider_thread):
12255 Stop reading commands when EOF as well.
12257 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12258 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12259 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12260 Unify description of the dump property.
12262 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12264 * tests/examples/manual/.cvsignore:
12265 OK, so it's actually cvsignore that needs changing. Stop laughing.
12267 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12269 * tests/examples/manual/Makefile.am:
12270 Gah, declare vars *before* using them
12272 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12274 * gst/gst.c: (init_pre), (scan_and_update_registry),
12275 (ensure_current_registry_nonforking),
12276 (ensure_current_registry_forking), (ensure_current_registry),
12277 (init_post), (gst_debug_help), (gst_deinit):
12278 * gst/gst_private.h:
12279 * gst/gstregistry.c: (gst_registry_finalize),
12280 (gst_registry_remove_features_for_plugin_unlocked),
12281 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12282 (gst_registry_scan_path),
12283 (_priv_gst_registry_remove_cache_plugins),
12284 (_priv_gst_registry_cleanup):
12285 * gst/gstregistry.h:
12286 Re-commit the registry changes, along with an extra fix:
12287 When a cached plugin is encountered at a different file path,
12288 update the stored path in the registry cache so that the parent
12289 process knows where it actually is now when it re-reads the registry
12290 cache. Fixes the thing that broke distcheck with the previous commit.
12292 * tests/check/Makefile.am:
12293 Clean up files named 'core' too when running make clean.
12295 * tests/examples/manual/Makefile.am:
12296 Set up a registry path for running these tests, and clean it properly
12299 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12302 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12303 want gmodule-no-export-2.0.pc instead so that we don't drag in
12304 --export-dynamic on every project that links to GStreamer.
12306 Also, make our export regex only match the start of symbols, rather
12307 than any symbol that contains '_gst' somewhere.
12309 * libs/gst/check/Makefile.am:
12310 The libgstcheck we build does however need export-dynamic, as it
12311 produces some symbols that don't match our _gst... style regex.
12314 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12316 * gst/gst.c: (init_pre), (scan_and_update_registry),
12317 (ensure_current_registry_nonforking),
12318 (ensure_current_registry_forking), (ensure_current_registry),
12319 (init_post), (gst_debug_help), (gst_deinit):
12320 * gst/gst_private.h:
12321 * gst/gstregistry.c: (gst_registry_finalize),
12322 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12323 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12324 (_gst_registry_cleanup):
12325 * gst/gstregistry.h:
12326 Revert previous change until I figure out why it breaks distcheck.
12328 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12330 * gst/gst.c: (init_pre), (scan_and_update_registry),
12331 (ensure_current_registry_nonforking),
12332 (ensure_current_registry_forking), (ensure_current_registry),
12333 (init_post), (gst_debug_help), (gst_deinit):
12335 Make init_pre and init_post take the full complement of GOptionFunc
12336 args so they can return useful GErrors. Make the registry updating
12339 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12340 ensure that the registry we're about to write out doesn't contain
12341 stale information about old-deleted plugin files.
12343 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12344 that deletion of plugin files is considered a registry change.
12346 * gst/gst_private.h:
12347 * gst/gstregistry.c: (gst_registry_finalize),
12348 (gst_registry_remove_features_for_plugin_unlocked),
12349 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12350 (gst_registry_scan_path),
12351 (_priv_gst_registry_remove_cache_plugins),
12352 (_priv_gst_registry_cleanup):
12353 * gst/gstregistry.h:
12354 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12355 by adding _priv prefix, so that they won't appear in the global
12356 symbol table. They still do atm though because of #318031. Move the
12357 prototypes to gst_private.h
12359 When removing a plugin, remove all features for that plugin too.
12362 2006-09-27 Wim Taymans <wim@fluendo.com>
12364 * docs/random/moving-plugins:
12365 Make it clear that the "compiled-in descriptions" really mean
12366 the element details.
12368 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12369 (gst_base_sink_wait_preroll):
12372 * docs/libs/gstreamer-libs-sections.txt:
12373 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12374 (gst_base_src_get_range), (gst_base_src_activate_push):
12375 * libs/gst/base/gstbasesrc.h:
12376 Added function to block while waiting for PLAYING, this function
12377 is used by live sources that block on the clock.
12378 API: gst_base_src_wait_playing()
12380 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12382 Patch by: Peter Kjellerstedt <pkj at axis com>
12385 gst-element-check.m4 is generated and should therefore be
12386 copied from the build dir rather than the source dir (#357593).
12387 'make distcheck' hasn't noticed this because we were disting
12388 the file as well, so stop doing that.
12390 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12392 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12393 Add some tests for gst_caps_intersect().
12395 * tools/gst-launch.c: (event_loop):
12396 Print all buffering percentages we get, even the 100% one.
12398 2006-09-26 Wim Taymans <wim@fluendo.com>
12400 * tools/gst-inspect.c: (print_element_properties_info),
12401 (print_signal_info):
12402 Fix printing of flags to match the look of enums.
12404 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12406 * gst/gstelementfactory.c:
12407 Fix typo in docs blurb.
12409 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12411 * gst/gsturi.c: (search_by_entry):
12412 Don't assert/crash here if a uri handler doesn't return any
12413 supported protocols. The list of protocols could be generated
12414 dynamically at runtime or at plugin registration, and an error
12415 in the underlying library shouldn't be fatal (#353301).
12417 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12420 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12421 (spotted by Peter Kjellerstedt).
12423 2006-09-23 Wim Taymans <wim@fluendo.com>
12425 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12427 * libs/gst/base/gstbasesrc.c:
12428 (gst_base_src_default_check_get_range), (gst_base_src_start),
12429 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12430 (gst_base_src_change_state):
12431 Match _start/_stop calls in the activate functions. Remove redundant
12432 _stop call from the state change function. Fixes #356910.
12433 Turn failure DEBUG into ERROR.
12435 2006-09-22 Wim Taymans <wim@fluendo.com>
12437 * docs/design/part-buffering.txt:
12438 * gst/gstmessage.c: (gst_message_new_buffering),
12439 (gst_message_parse_buffering):
12440 Update docs about buffering.
12442 * docs/design/part-trickmodes.txt:
12445 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12447 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12448 (gst_controller_new_list):
12449 Ref instances when returning them again (fixes #357180)
12451 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12453 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12454 Don't forget to release proxy lock when there's an error.
12456 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12459 Add extra initialisers for Caps things, to fix some plugin warnings
12462 2006-09-18 Wim Taymans <wim@fluendo.com>
12464 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12465 Also set template on the internal pad so that a getcaps from the
12466 target pad returns the template caps.
12468 2006-09-18 Wim Taymans <wim@fluendo.com>
12470 * gst/gstelement.c: (gst_element_post_message),
12471 (gst_element_dispose):
12472 Use _DEBUG_OBJECT some more.
12474 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12477 * tools/gst-launch.c: (main):
12478 If the toplevel element is not a GstPipeline, it must be put in a
12479 pipeline so that a bus and clock is selected.
12481 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12483 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12484 JITTER, RATE, and LATENCY query should be handled by the
12485 default case and not by the CONVERT query code.
12487 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12489 * gst/gstformat.c: (gst_format_register):
12490 Fix locking order (must take lock before using n_values).
12492 * gst/gstvalue.c: (gst_value_serialize_enum),
12493 (gst_value_deserialize_enum_iter_cmp),
12494 (gst_value_deserialize_enum):
12495 Fix serialisation/deserialisation of custom registered GstFormats.
12497 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12498 Unit test for custom format serialisation/deserialisation.
12500 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12502 * docs/pwg/building-boiler.xml:
12503 * plugins/elements/gstcapsfilter.c:
12504 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12507 2006-09-16 Edward Hervey <edward@fluendo.com>
12509 * libs/gst/base/gstbasetransform.c:
12510 (gst_base_transform_buffer_alloc):
12511 Check if requested caps are the same as the sinks caps IF
12512 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12514 This fixes the renegotiation issues stated in #352827.
12516 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12519 * docs/manual/advanced-autoplugging.xml:
12520 * tests/examples/Makefile.am:
12521 * tests/examples/manual/.cvsignore:
12522 * tests/examples/manual/Makefile.am:
12523 * tests/examples/manual/extract.pl:
12524 Extract the manual examples again like we used to do.
12527 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12529 * win32/common/config.h:
12532 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12535 Documents how to receive errors.
12537 2006-09-15 Wim Taymans <wim@fluendo.com>
12539 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12540 (event_loop), (main):
12541 Added some comments here and there.
12542 Post an application message when an interrupt is caught instead of doing
12543 an uncontrolled state change.
12544 Clean up the event loop.
12545 Handle buffering messages, pause/resume the pipeline.
12546 Make shutdown because of an interrupt more reliable.
12548 2006-09-15 Wim Taymans <wim@fluendo.com>
12550 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12551 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12552 (gst_base_sink_preroll_object):
12553 Make sure that our internal state is correct when we commit our state
12554 asynchronously. This solves a race where a state change to PLAYING
12555 could cause the sink to remain blocked in preroll in some situations.
12557 2006-09-15 Wim Taymans <wim@fluendo.com>
12559 * tools/gst-inspect.c: (print_element_properties_info),
12560 (print_signal_info):
12561 List flags as hex so it's easier to deal with.
12563 2006-09-15 Wim Taymans <wim@fluendo.com>
12565 * docs/libs/gstreamer-libs-sections.txt:
12566 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12567 (gst_base_sink_do_sync):
12568 * libs/gst/base/gstbasesink.h:
12569 Expose logic to wait for preroll so that subclasses such as audiosink
12570 can also use this method.
12571 API: gst_base_sink_wait_preroll()
12573 2006-09-15 Wim Taymans <wim@fluendo.com>
12575 * gst/gstobject.c: (gst_object_set_parent):
12576 * gst/gstpipeline.c: (do_pipeline_seek):
12577 Small cleanups in docs and code.
12579 * gst/gstsegment.c: (gst_segment_clip):
12580 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12581 if stop == start and start is in the segment, no clipping should be
12582 done. Also add a test for this.
12584 2006-09-15 Wim Taymans <wim@fluendo.com>
12586 * docs/design/part-buffering.txt:
12587 * docs/gst/gstreamer-sections.txt:
12588 * gst/gstmessage.c: (gst_message_new_buffering),
12589 (gst_message_parse_buffering):
12590 * gst/gstmessage.h:
12591 Added methods to create and parse BUFFERING messages.
12592 Added preliminary docs about buffering.
12593 API: gst_message_new_buffering
12594 API: gst_message_parse_buffering
12596 2006-09-06 Wim Taymans <wim@fluendo.com>
12599 Update documentation.
12601 * gst/gstelement.c: (gst_element_class_init),
12602 (gst_element_release_request_pad), (gst_element_set_clock),
12603 (gst_element_get_index), (gst_element_add_pad),
12604 (gst_element_remove_pad), (gst_element_get_random_pad),
12605 (gst_element_send_event), (gst_element_get_query_types),
12606 (gst_element_query), (gst_element_post_message),
12607 (gst_element_message_full), (gst_element_continue_state),
12608 (gst_element_lost_state), (gst_element_save_thyself),
12609 (gst_element_restore_thyself):
12610 Documentation updates.
12611 Rename last bit of the new-pad -> pad-added signal rename.
12612 Fix the case where an element query would only work if the source
12614 Avoid some useless type checking in message handling.
12619 Documentation updates.
12621 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12623 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12624 add an INFO line for when we actually update the fd
12626 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12631 === release 0.10.10 ===
12633 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12636 releasing 0.10.10, "Pais"
12638 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12640 * docs/manual/advanced-position.xml:
12641 Fix typo in sample code.
12643 2006-09-05 Wim Taymans <wim@fluendo.com>
12645 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12646 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12647 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12648 * libs/gst/net/gstnetclientclock.h:
12649 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12650 * libs/gst/net/gstnettimepacket.h:
12651 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12652 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12653 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12654 * libs/gst/net/gstnettimeprovider.h:
12655 Make stuff compile on windows. Fixes #345295.
12657 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12659 * gst/gst.c: (ensure_current_registry_forking):
12660 Print better details when child was terminated by signal.
12662 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12664 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12665 Print a warning rather than g_assert() if a plugin feature
12666 is a URI handler but returns no protocols (#353976).
12668 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12670 * docs/random/moving-plugins:
12673 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12675 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12676 Fix locking order, handle NULL function values properly.
12681 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12682 Initialise variable before using it and fix debug statement to
12683 print the address of the function rather than the address of the
12684 variable on the stack holding the address of the function.
12686 2006-09-01 Wim Taymans <wim@fluendo.com>
12688 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12689 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12690 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12691 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12692 (gst_ghost_pad_parent_unset),
12693 (gst_ghost_pad_internal_do_activate_push),
12694 (gst_ghost_pad_internal_do_activate_pull),
12695 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12696 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12697 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12698 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12699 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12700 (gst_ghost_pad_new_no_target_from_template),
12701 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12703 Avoid needless typechecking in macros.
12704 Since the internal pad is always present and never changes, there is
12705 no need to locking or ref when retrieving it.
12706 Improve debugging a bit.
12707 Handle link errors when setting the target. Fixes #341029.
12709 2006-09-01 Wim Taymans <wim@fluendo.com>
12711 * docs/libs/gstreamer-libs-sections.txt:
12712 * docs/plugins/gstreamer-plugins-sections.txt:
12713 Fix docs some more.
12715 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12716 (gst_collect_pads_event):
12717 * libs/gst/base/gstcollectpads.h:
12718 Documentation updates.
12719 Free queued buffer when removing a pad.
12721 2006-08-31 Michael Smith <msmith@fluendo.com>
12723 * gst/gstutils.c: (gst_element_link_pads),
12724 (gst_element_link_pads_filtered):
12725 Ensure that we set a capsfilter to NULL if we failed to link it
12726 when doing filtered linking, to avoid criticals.
12728 No need to check for unreffing srcpad, which is explicly NULLed
12729 above (a trivial code cleanup).
12731 2006-08-31 Wim Taymans <wim@fluendo.com>
12733 * docs/design/part-gstghostpad.txt:
12734 Update ascii art in documentation.
12736 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12737 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12738 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12739 (gst_ghost_pad_internal_do_activate_push),
12740 (gst_ghost_pad_internal_do_activate_pull),
12741 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12742 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12743 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12744 (gst_ghost_pad_set_target):
12745 Small cleanups and leak fixes.
12746 Remove some checks now that the internal pad is never NULL.
12747 Fix the case where linking pads without a target would create nasty
12748 criticals. Fixes #341029.
12749 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12750 value of _set_target().
12752 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12753 (gst_ghost_pad_suite):
12754 Some more tests for creating and linking untargeted ghostpads.
12756 2006-08-31 Edward Hervey <edward@fluendo.com>
12758 * docs/gst/gstreamer-sections.txt:
12759 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12760 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12761 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12762 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12763 (gst_ghost_pad_new_from_template),
12764 (gst_ghost_pad_new_no_target_from_template):
12765 * gst/gstghostpad.h:
12766 Refactored *_new() functions.
12767 Templates are now used as a g_object_new() parameter.
12768 Use template in _do_getcaps() if we don't have a target.
12769 Small documentation cleanups.
12770 Added two new constructors:
12771 gst_ghost_pad_new_from_template()
12772 gst_ghost_pad_new_no_target_from_template()
12773 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12774 (gst_ghost_pad_suite):
12775 Added tests for new ghostpad instanciation functions.
12777 API additions: gst_ghost_pad_new_from_template,
12778 gst_ghost_pad_new_no_target_from_template
12780 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12782 * docs/random/ensonic/profiling.txt:
12783 Ideas about qos profiling.
12785 2006-08-29 Wim Taymans <wim@fluendo.com>
12787 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12791 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12794 Improve and detypofy docs.
12796 * tests/check/Makefile.am:
12797 * tests/check/gst/.cvsignore:
12798 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12799 Add a basic test suite for GstXML.
12801 2006-08-29 Wim Taymans <wim@fluendo.com>
12803 * gst/gstelement.c: (activate_pads), (clear_caps),
12804 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12805 Clear the pad caps when the element shut down all of the pads and
12806 is not streaming data that could modify the caps.
12809 2006-08-28 Michael Smith <msmith@fluendo.com>
12811 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12812 Revert previous change; I misunderstood single-segment mode.
12814 2006-08-28 Michael Smith <msmith@fluendo.com>
12816 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12817 Unset DISCONT on buffers when using single-segment mode.
12819 2006-08-28 Wim Taymans <wim@fluendo.com>
12821 * gst/gstcaps.c: (gst_caps_merge_structure):
12823 Fix docs and indentation again.
12825 * tests/check/gst/gstquery.c: (GST_START_TEST):
12826 Fix leak in tests and add some more tests.
12828 2006-08-28 Edward Hervey <edward@fluendo.com>
12830 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12831 Inform GstSegment of the last stop position in order for the current
12832 segment to have a proper duration if it doesn't have a specific stop
12833 position from which a duration could be calculated.
12834 This bug was noticeable when a non-flushing, non-update new segment was
12835 followed by another segment (all buffers from the new segment were being
12838 2006-08-28 Wim Taymans <wim@fluendo.com>
12840 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12841 Small comment update.
12843 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12844 (gst_identity_transform_ip):
12845 Drop-probability is broken, mention this in the code with a
12846 FIXME and also in the property description.
12847 Make silent also be silent about the drop messages.
12849 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12851 * docs/manual/appendix-win32.xml:
12852 Remove mention of popt, we don't depend on that any
12853 longer (#353136). Add some comments pointing out that
12854 this section is slightly outdated.
12856 2006-08-28 Wim Taymans <wim@fluendo.com>
12858 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12860 * gst/gstquery.c: (gst_query_new_segment):
12861 * tests/check/gst/gstquery.c: (GST_START_TEST):
12862 Initialize variables when creating a new segment query.
12865 2006-08-28 Wim Taymans <wim@fluendo.com>
12867 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12869 * gst/gstelement.c: (gst_element_get_bus):
12870 * tests/check/gst/gstelement.c: (GST_START_TEST):
12871 Check for NULL before _reffing the bus. Fixes #353122.
12873 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12875 * docs/manual/basics-bus.xml:
12876 Docs update: fix wrong callback return value explanation; add
12877 some lines about the implicit relationship between main loop
12878 and main context; remove duplicate main loop variable declaration.
12880 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12882 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12883 Don't leak caps in unit test; add a few more simple
12886 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12888 * docs/gst/gstreamer-sections.txt:
12889 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12890 (gst_caps_structure_is_subset), (gst_caps_merge),
12891 (gst_caps_merge_structure):
12893 * libs/gst/base/gstbasetransform.c:
12894 (gst_base_transform_transform_caps):
12895 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12896 implement caps merging (fixes #352580)
12898 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12900 * tools/Makefile.am:
12901 * tools/gst-plot-timeline.py:
12902 add debug-log plotting developer tool (#340674)
12904 2006-08-23 Wim Taymans <wim@fluendo.com>
12906 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12907 (gst_pad_stop_task):
12908 Improve debugging for task functions.
12910 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12911 (gst_task_start), (gst_task_pause), (gst_task_join):
12912 Make sure that the task function started and finished after a
12914 Don't try to push the task function on the threadpool multiple
12916 Improve the g_warning message with some useful suggestions
12917 about how to fix the problem.
12919 2006-08-23 Wim Taymans <wim@fluendo.com>
12921 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12922 Handle RESYNC correctly in _proxy_getcaps.
12924 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12926 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12927 (gst_xml_parse_memory), (gst_xml_get_element):
12928 Chain up to parent class in dispose function and also
12929 unref the elements in the toplevel_elements GList.
12930 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12931 Always return a reference in gst_xml_get_element() rather
12932 than only sometimes.
12934 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12935 Don't leak GstXml object.
12937 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12939 * docs/gst/gstreamer-sections.txt:
12940 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12943 * libs/gst/base/gstbasetransform.c:
12944 (gst_base_transform_transform_caps):
12945 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12948 2006-08-21 Edward Hervey <edward@fluendo.com>
12950 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12951 Implement GObject::dispose virtual method in GstXML so we can free the
12952 top_elements GList.
12954 2006-08-21 Wim Taymans <wim@fluendo.com>
12956 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12957 (gst_buffer_create_sub):
12958 Copy duration/offset_end/caps when creating a subbuffer of the
12960 Make the subbuffer read-only when we make the metadata writable for
12961 now. Fixes #351768.
12963 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12964 Added check for metadata copy when creating subbuffers.
12966 2006-08-21 Edward Hervey <edward@fluendo.com>
12968 * libs/gst/base/gstbasetransform.c:
12969 (gst_base_transform_buffer_alloc):
12970 Only call downstream buffer_alloc if transform element is passthrough
12971 or always_in_place. Closes #350449.
12973 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12976 ChangeLog surgery to add comments to previous changes
12978 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12983 * gst/gstpad.c: (gst_pad_set_active):
12984 Be more verbose in the log
12986 * libs/gst/base/gstbasetransform.c:
12987 (gst_base_transform_transform_caps):
12988 Simplify caps to get rid of duplicates, fixes #345444
12990 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12994 Use these optimizations only internally.
12996 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12998 * gst/gstvalue.c: (gst_value_compare_list),
12999 (gst_value_compare_fraction_range),
13000 (gst_value_intersect_fraction_fraction_range),
13001 (gst_value_intersect_fraction_range_fraction_range),
13002 (gst_value_subtract_fraction_fraction_range),
13003 (gst_value_subtract_fraction_range_fraction_range),
13004 (gst_value_get_compare_func), (gst_value_compare),
13005 (gst_value_compare_with_func):
13007 Saves the expensive lookup of the compare function in many cases
13010 2006-08-18 Edward Hervey <edward@fluendo.com>
13012 * tests/check/gst/gstinfo.c: (gst_info_suite):
13013 Disable test that require gstdebug if it wasn't built in core.
13015 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13017 * docs/random/ensonic/logging.txt:
13020 * gst/gstinfo.c: (gst_debug_log_default):
13021 reorder fields, save some columns, add optional color codes for log
13024 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13026 * docs/random/ensonic/logging.txt:
13027 add ideas about making the logs a bit more useful
13029 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13031 * docs/pwg/advanced-events.xml:
13032 * docs/pwg/titlepage.xml:
13033 Update for 0.10 API (#340627). Add myself
13036 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13038 * docs/libs/gstreamer-libs-docs.sgml:
13039 * docs/libs/gstreamer-libs-sections.txt:
13040 * libs/gst/check/gstbufferstraw.c:
13041 Make gstcheck stuff show up in docs (still needs to
13042 be documented properly though).
13044 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13046 * docs/gst/gstreamer-sections.txt:
13048 * gst/gst.c: (init_post):
13049 * gst/gst_private.h:
13050 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13052 * gst/gstquery.c: (gst_query_new_position),
13053 (gst_query_set_position), (gst_query_parse_position),
13054 (gst_query_new_duration), (gst_query_set_duration),
13055 (gst_query_parse_duration), (gst_query_new_convert),
13056 (gst_query_set_convert), (gst_query_parse_convert),
13057 (gst_query_new_segment), (gst_query_set_segment),
13058 (gst_query_parse_segment), (gst_query_new_seeking),
13059 (gst_query_set_seeking), (gst_query_parse_seeking):
13060 Add internal helpers for pre-registering quarks from static strings
13061 and using the quark values directly instead of looking them up when
13062 creating and parsing queries. Can be used for event construction too.
13065 2006-08-16 Wim Taymans <wim@fluendo.com>
13070 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13072 * gst/gstutils.c: (gst_util_set_value_from_string):
13073 Fix memleak (#351502).
13075 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13076 Add unit test for most of gst_util_set_value_from_string()
13077 (not that one would want to encourage use of this function).
13079 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13081 * libs/gst/check/gstcheck.h:
13082 Use const gchar * variables in fail_unless_equals_string
13083 macro to avoid compiler warnings (and don't use tabs for
13086 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13088 * tools/gst-launch.c: (print_tag):
13089 More space on the left for the tag names, to cater
13090 for the 'extended comment' tag (not touching the
13091 string for the first line since it's translated).
13093 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13095 * libs/gst/check/gstcheck.h:
13096 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13097 print something when they fail.
13099 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13101 * docs/gst/gstreamer-sections.txt:
13102 * gst/gsttaglist.c: (_gst_tag_initialize):
13103 * gst/gsttaglist.h:
13104 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13105 Also change merge function for GST_TAG_COMMENT to
13108 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13110 * gst/gstinfo.c: (gst_debug_print_object):
13111 Make GST_PTR_FORMAT print messages as well.
13113 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13114 (GST_START_TEST), (gst_info_suite):
13117 2006-08-14 Edward Hervey <edward@fluendo.com>
13119 * gst/gstelementfactory.c: (gst_element_register):
13120 If the GstElementClass doesn't have a GstElementDetails with all fields
13121 filled up correctly (longname, description AND author), then error out
13122 nicely instead of crashing.
13124 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13126 * gst/gststructure.c:
13127 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13130 Expand on the difference between arrays and lists as we use them.
13132 2006-08-14 Wim Taymans <wim@fluendo.com>
13134 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13135 If the parent state change function failed, don't assume we can safely
13136 stop the source, this will be done when the pads are deactivated.
13138 2006-08-14 Wim Taymans <wim@fluendo.com>
13141 * gst/gsttask.c: (gst_task_join):
13144 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13145 (gst_pad_stop_task):
13146 When pad (de)activation failed for some reason, restore the old
13147 activation mode and set the pad to flushing instead of assuming the
13148 pad is deactivated.
13149 If the _task_join() failed, reinstall the task on the pad so that it can
13150 be stopped later and return an error.
13152 2006-08-11 Andy Wingo <wingo@pobox.com>
13155 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13156 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13157 is only for users of API that don't want to see deprecated
13158 functions in the headers; people that want to compile out
13159 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13160 CFLAGS. Fixes the build of multifdsink, or will soon..
13162 2006-08-11 Wim Taymans <wim@fluendo.com>
13164 * docs/gst/gstreamer-sections.txt:
13165 Add GstClockClass vmethod docs.
13168 Mark #endif with comment for associated #if
13170 * gst/gstclock.c: (gst_clock_id_wait):
13172 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13173 most clock implementations.
13175 Flesh out docs about resolution methods.
13176 API: GstClockClass::wait_jitter
13178 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13179 (gst_system_clock_async_thread),
13180 (gst_system_clock_id_wait_jitter_unlocked),
13181 (gst_system_clock_id_wait_jitter):
13182 Use base class wait_jitter variant for improved performance
13183 due to less clock polling.
13185 2006-08-11 Edward Hervey <edward@fluendo.com>
13187 * gst/gst.c: (gst_init_check), (init_post):
13188 Set gst as being initialized before scanning/updating the registry,
13189 since there might be my python plugin loader that calls gst_init() and
13190 we don't want to loop back in.
13193 2006-08-11 Wim Taymans <wim@fluendo.com>
13195 * docs/design/part-qos.txt:
13196 Bring docs in line with the code. Mostly the sign of the jitter was
13197 wrong in the docs. Fixes #349943.
13200 Fix the docs for the jitter.
13202 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13203 (gst_event_parse_tag), (gst_event_new_buffer_size),
13204 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13205 (gst_event_new_seek), (gst_event_parse_seek),
13206 (gst_event_new_navigation):
13207 Make sure the GstStructure has no parent when creating custom
13209 Add some more argument checking so that we avoid 0.0 rates.
13210 Flesh out the docs for the QoS event some more.
13212 2006-08-11 Wim Taymans <wim@fluendo.com>
13214 * docs/gst/gstreamer-sections.txt:
13215 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13216 (ensure_current_registry_forking), (ensure_current_registry),
13217 (parse_one_option), (parse_goption_arg), (gst_deinit),
13218 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13221 Added API and command line option to disable registry forking in
13222 addition to the environment variable.
13223 Constify some static arrays.
13224 Added some more debug.
13225 Don't deinit twice.
13226 API: gst_registry_fork_is_enabled()
13227 API: gst_registry_fork_set_enabled()
13228 API: --gst-disable-registry-fork command line option
13231 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13233 * gst/gst.c: (gst_init):
13234 Fix typo in error message.
13236 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13238 * libs/gst/controller/gstcontroller.h:
13239 fix ABI size-correction
13241 * tests/check/libs/gdp.c: (gst_dp_suite):
13242 make tests that use deprecated API conditional
13244 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13246 * docs/libs/gstreamer-libs-sections.txt:
13247 * libs/gst/controller/gstcontroller.c:
13248 (_gst_controller_get_property), (_gst_controller_set_property),
13249 (_gst_controller_init), (_gst_controller_class_init):
13250 * libs/gst/controller/gstcontroller.h:
13251 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13252 (gst_object_set_control_rate):
13253 API: add gst_object_{s,g}et_control_rate(), add private data section,
13256 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13257 * libs/gst/dataprotocol/dataprotocol.h:
13258 add deprecation guards to make gtk-doc happy and allow disabling cruft
13260 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13262 * tests/check/Makefile.am:
13263 * tests/check/gst/.cvsignore:
13264 Let's enable the new unit test as well.
13266 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13269 * docs/gst/gstreamer-sections.txt:
13270 * gst/gstconfig.h.in:
13271 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13272 (_gst_info_printf_extension_ptr),
13273 (_gst_info_printf_extension_segment):
13274 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13275 register that lets us easily dump GstSegments into debug
13278 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13279 (info_segment_format_printf_extension), (gst_info_suite):
13280 Add simple unit test that logs a bunch of different segments (not
13281 valgrinded at the moment because of leaks in
13282 gst_debug_add_log_function).
13284 2006-08-09 Edward Hervey <edward@fluendo.com>
13286 * libs/gst/base/gstbasetransform.c:
13287 (gst_base_transform_buffer_alloc):
13288 Even if we can't figure out the proper format to request downstream,
13289 call buffer_alloc() downstream with the input parameters without setting
13290 the caps on the srcpad. This will force negotiation in the chain
13294 2006-08-08 Edward Hervey <edward@fluendo.com>
13296 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13297 Unlinking from a pad without a target is now a perfectly valid case
13298 which should NOT raise an assertion.
13299 This case would happen if a linked ghostpad its target set to NULL after
13300 it was previously linked.
13302 2006-08-08 Edward Hervey <edward@fluendo.com>
13304 * tests/check/libs/gdp.c:
13305 Also comment out the test (see below).
13307 2006-08-08 Edward Hervey <edward@fluendo.com>
13309 * tests/check/libs/gdp.c: (gst_dp_suite):
13310 Use the architecture information from config.h and not gcc macros
13311 in order to properly disable a test that fails on PPC64.
13313 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13315 * gst/gstelement.c: (gst_element_remove_pad):
13316 Don't crash printing the warning if the pad has no parent.
13318 2006-08-02 Wim Taymans <wim@fluendo.com>
13320 * libs/gst/dataprotocol/dataprotocol.c:
13321 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13322 (gst_dp_crc), (gst_dp_header_payload_length),
13323 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13324 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13325 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13326 (gst_dp_event_from_packet), (gst_dp_validate_header),
13327 (gst_dp_validate_payload):
13328 Make debug category static
13329 Constify the crc table.
13330 Do some more arg checking in public functions.
13331 Fix some docs and do some small cleanups.
13333 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13334 Add some more checks to see if GDP deals with bogus input.
13336 2006-07-31 Wim Taymans <wim@fluendo.com>
13338 * gst/gstvalue.c: (gst_value_compare_list):
13339 Fix GstValueList comparison code. Fixes #347293.
13341 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13342 Check to test GstValueList comparison.
13344 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13346 * gst/gstelementfactory.c: (gst_element_factory_create):
13347 Remove unnecessary ref/unref pair
13349 * gst/parse/grammar.y:
13350 Make sure to free the parse buffer on all code paths.
13351 Move a g_free up to the error handler where it's easier to see.
13353 * tests/check/gst/gstevent.c: (test_event):
13354 Extending timeout for downstream travelling events to 10 seconds to
13355 hopefully avoid intermittent failure on the buildbots.
13357 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13358 Don't manually set the state of the src element - it will happen as a
13359 natural consequence of the pipeline changing state, and that way it
13360 will do it in the right order too.
13362 2006-07-31 Wim Taymans <wim@fluendo.com>
13364 * libs/gst/base/gstbasetransform.c:
13365 (gst_base_transform_buffer_alloc):
13366 Use OBJECT_LOCK and refcounting to get the pad caps in the
13367 buffer_alloc function because the caps could change while we are
13368 busy with them. Fixes #349105
13370 2006-07-31 Wim Taymans <wim@fluendo.com>
13372 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13373 Protect _PAD_CAPS with OBJECT_LOCK.
13375 2006-07-31 Wim Taymans <wim@fluendo.com>
13377 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13378 (gst_pad_get_property), (gst_pad_activate_pull),
13379 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13380 (gst_pad_set_activate_function),
13381 (gst_pad_set_activatepull_function),
13382 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13383 (gst_pad_set_getrange_function),
13384 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13385 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13386 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13387 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13388 (gst_pad_set_acceptcaps_function),
13389 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13390 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13391 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13392 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13393 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13394 (gst_pad_configure_sink), (gst_pad_configure_src),
13395 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13396 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13397 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13398 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13399 (gst_pad_send_event):
13400 Use _DEBUG_OBJECT when it makes sense.
13401 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13402 Small cleanups and code reflows.
13403 Avoid caps refcounting in _accept_caps.
13404 Refactor alloc_buffer so that the code performed on the peer is in a
13405 separate function. Also if the pad does not implement a buffer alloc
13406 function, we should still check if the pad is flushing before falling
13407 back to the default allocator.
13409 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13411 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13412 Make all uses of identity and fakesink have silent=true to avoid
13413 serialising every passing data structure, which is breaking tests
13414 on FC4 for some unknown reason.
13416 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13418 * gst/parse/Makefile.am:
13419 * gst/parse/grammar.y:
13420 * gst/parse/parse.l:
13421 Reverted previous patch as it required to bump the flex dependency to
13422 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13424 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13426 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13428 * gst/parse/Makefile.am:
13429 * gst/parse/grammar.y:
13430 * gst/parse/parse.l:
13431 push & pop the state of the lexer for reentrant use case
13434 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13436 * libs/gst/base/gstbasesrc.h:
13437 Note in the docs that the ::newsegment vfunc is not actually used by
13440 2006-07-28 Wim Taymans <wim@fluendo.com>
13442 * libs/gst/base/gstcollectpads.c:
13443 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13444 (gst_collect_pads_clear), (gst_collect_pads_flush),
13445 (gst_collect_pads_event), (gst_collect_pads_chain):
13446 When flushing a pad, also clear the queued buffer so that we don't
13447 accidentally use it when we shouldn't.
13448 Fix leaks by inreffing incomming buffer.
13449 Flush out queued buffers in case of errors.
13452 2006-07-28 Wim Taymans <wim@fluendo.com>
13454 * docs/random/phonon-gst:
13455 Random notes about a Phonon backend.
13457 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13459 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13461 * tests/check/libs/gdp.c: (gst_dp_suite):
13462 Take a whack at fixing the ppc compile using a different define to
13463 disable the broken test.
13465 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13466 Remove excess g_print()
13468 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13470 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13471 Oops, meant to uncomment this line too to dampen the noise a bit.
13473 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13475 * gst/parse/grammar.y:
13476 * gst/parse/parse.l:
13477 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13478 (GST_START_TEST), (parse_suite):
13479 Fix some of the leaks exposed by extending the parse-launch testsuite,
13480 and move the 3 I can't figure out into a separate test that won't run
13481 the pipelines unless the appropriate line is uncommented.
13483 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13485 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13486 Requesting 0 bytes before the end of the file should result in
13487 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13490 2006-07-27 Wim Taymans <wim@fluendo.com>
13492 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13493 Fix useless assert, a uint is always positive.
13495 * gst/gststructure.c: (gst_structure_nth_field_name),
13496 (gst_structure_foreach), (gst_structure_map_in_place):
13497 Check input arguments for public functions to avoid obvious crashes.
13499 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13500 * plugins/elements/gstfakesink.h:
13501 Do less useless typechecking.
13503 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13505 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13506 Do not use mmap() by default since there are a number of error
13507 conditions that we would like to handle in a non-fatal way that
13508 will result in a SIGBUS if we use mmap(). Examples: external
13509 devices (USB harddrive, portable music player) being unplugged
13510 while in use; file on mounted CD/DVD that can't be read because
13511 the medium is partly damaged. Fixes #348455 and #348475.
13513 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13516 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13517 rates are a gdouble
13519 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13521 * gst/gstregistry.c:
13522 Move big documentation comment into class section header, so that it
13523 appears in the API docs.
13525 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13527 * docs/gst/gstreamer-sections.txt:
13528 Oops. Commit the docs additions too for new API.
13529 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13531 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13533 * gst/gststructure.c: (gst_structure_id_set),
13534 (gst_structure_id_set_valist):
13535 * gst/gststructure.h:
13536 Add API for setting values into structures without performing
13537 a quark lookup, if the appropriate quark is already known.
13539 API: gst_structure_id_set
13540 API: gst_structure_id_set_valist
13542 * gst/parse/grammar.y:
13543 * gst/parse/parse.l:
13544 Remove some dead code shown by the coverage information.
13545 Don't throw a critical g_warning when encountering a syntax error,
13546 just warn and let the normal error path handle it.
13548 * plugins/elements/gstelements.c:
13549 Bump the rank of filesink up to PRIMARY so that it is preferred over
13550 gnomevfssink for file:// sink uri's
13552 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13553 (GST_START_TEST), (run_delayed_test),
13554 (gst_parse_test_element_base_init),
13555 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13556 (gst_parse_test_element_change_state),
13557 (gst_register_parse_element), (parse_suite):
13558 Beef up the tests for parse syntax to check that more error cases
13559 fail as they are supposed to. Increases the test coverage a bit.
13561 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13563 * docs/manual/basics-elements.xml:
13564 Fix gst_element_link() example.
13567 Mention in API docs that one should usually gst_bin_add()
13568 elements to a bin or pipeline before doing the linking.
13570 2006-07-26 Wim Taymans <wim@fluendo.com>
13572 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13573 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13574 Avoid function call for known types by keeping the buffer and
13575 subbuffer GType global.
13577 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13578 Random silly optimisations in read() path.
13580 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13582 * tools/gst-launch.c: (main):
13583 If the top-level of the parse is a normal bin, it doesn't do the
13584 right logic to run as a top-level element, so place it inside a
13587 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13589 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13590 Remove superfluous g_object_notify() calls, GObject does
13591 that for us automatically.
13593 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13596 on Win32, use dllspec to export the debug category symbols
13598 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13600 * gst/gsttaglist.c: (_gst_tag_initialize):
13601 Allow more than one GST_TAG_IMAGE per taglist.
13603 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13605 * gst/gstminiobject.c:
13607 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13608 (gst_fd_src_create):
13609 log recurring events at LOG level
13610 add more debug for when the fd gets set
13612 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13614 * gst/gstparse.c: (gst_parse_launch):
13615 Also remove reentrance checks if flex is MT safe (#348179)
13616 Fix my empty ChangeLog entry below
13618 2006-07-21 Andy Wingo <wingo@pobox.com>
13620 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13622 * libs/gst/check/Makefile.am
13623 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13624 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13625 * libs/gst/check/gstbufferstraw.h:
13626 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13627 functions, thus proving I am still a GStreamer haxor. OK I wrote
13628 them a long time ago, but anyways.
13630 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13633 * gst/gstparse.c: (gst_parse_launch):
13634 Check for flex version and omit mutex if we have a MT save flex
13637 2006-07-21 Wim Taymans <wim@fluendo.com>
13639 * gst/gstparse.c: (gst_parse_launch):
13640 Protect recursive calls to _parse with a recursive mutex
13643 2006-07-21 Wim Taymans <wim@fluendo.com>
13645 * tests/check/gst/gstpad.c: (GST_START_TEST):
13648 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13650 * gst/gstparse.c: (gst_parse_launch):
13651 Do not hang on recursive usage of gst_parse_launch()
13653 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13655 * gst/gsttaglist.c:
13656 Add some more docs, comments and FIXME 0.11s here and there
13657 and also fix some typos.
13659 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13661 * gst/gstsegment.h:
13662 Convert tabs to spaces for better readability.
13664 2006-07-20 Edward Hervey <edward@fluendo.com>
13666 * tests/check/libs/gdp.c: (gst_dp_suite):
13667 the test_buffer test fails at line 140 on ppc64 at the following
13669 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13670 GST_BUFFER_FLAG_IN_CAPS),
13671 "GST_BUFFER_IN_CAPS flag should have been copied !");
13672 See bug #348114 for more details.
13674 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13676 * docs/pwg/advanced-scheduling.xml:
13678 Fix typos (#348000).
13680 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13682 * docs/pwg/intro-basics.xml:
13683 Fix wrong links (#347927).
13685 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13687 * gst/gstregistry.h:
13688 * gst/gstregistryxml.c: (load_feature),
13689 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13690 * win32/common/config.h:
13691 make --disable-index work (#342564)
13693 2006-07-18 Wim Taymans <wim@fluendo.com>
13695 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13699 The attached patch adds two missing defines to gsttrace.h when tracing
13700 is disabled. It also corrects one existing define.
13703 2006-07-17 Wim Taymans <wim@fluendo.com>
13705 * docs/gst/gstreamer-sections.txt:
13706 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13708 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13709 Add two functions to check and change the SIGSEGV behaviour
13710 when loading plugins.
13711 Don't mess with the SIGSEGV handler when we were told not to.
13713 API: gst_segtrap_is_enabled
13714 API: gst_segtrap_set_enabled
13716 2006-07-14 Wim Taymans <wim@fluendo.com>
13718 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13719 * tests/check/elements/filesrc.c: (GST_START_TEST):
13720 Revert fix for regression in #347408 after release.
13722 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13724 Patch by: Antoine Tremblay <hexa00 at gmail com>
13726 * gst/gstutils.c: (gst_element_unlink):
13727 Free iterator when done (#347311).
13729 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13730 And add a test case for this.
13732 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13735 Bump nano back to CVS
13737 === release 0.10.9 ===
13739 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13742 releasing 0.10.9, "On the road again"
13744 2006-07-13 Wim Taymans <wim@fluendo.com>
13746 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13747 * tests/check/elements/filesrc.c: (GST_START_TEST):
13748 Revert pull-0 fix for release. Disable check. Fixes #347408.
13750 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13752 * libs/gst/dataprotocol/dataprotocol.c:
13753 (gst_dp_event_from_packet_1_0):
13754 Fixes #347337: failure to deserialize event packets with
13755 empty payload (only event type)
13757 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13760 do not install a .c file in the header directory
13762 2006-07-13 Edward Hervey <edward@fluendo.com>
13764 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13765 GhostPad no longer implicitely use the padtemplates of the targets.
13768 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13770 * gst/gstvalue.c: (gst_value_compare_list),
13771 (gst_value_compare_array), (_gst_value_initialize):
13772 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13773 Make GstValueArray comparison be order dependent as designed.
13774 Add checks for value lists and value array comparisons.
13777 2006-07-11 Edward Hervey <edward@fluendo.com>
13779 * gst/gstbin.c: (activate_pads),
13780 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13781 (gst_bin_change_state_func):
13782 (de)activate src pads before calling state_change on the childs.
13783 This is to avoid the case where a src ghostpad is blocked (holding the
13784 stream lock), which would block the deactivation of the ghostpad's
13786 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13787 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13788 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13789 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13790 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13791 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13792 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13793 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13794 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13795 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13796 (gst_ghost_pad_class_init),
13797 (gst_ghost_pad_internal_do_activate_push),
13798 (gst_ghost_pad_internal_do_activate_pull),
13799 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13800 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13801 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13802 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13803 GhostPads now create their internal GstProxyPad at creation (and not
13804 when they're linked, as it was being done previously).
13805 The internal and target pads are linked straight away.
13806 The data will also travel through the other pad in order to make
13807 pad blocking and probes non-hackish (the probe/block now really happens
13808 on the GhostPad and not on the target).
13809 * gst/gstpad.c: (gst_pad_set_blocked_async),
13810 (gst_pad_link_prepare), (gst_pad_push_event):
13811 Remove previous ghostpad cruft.
13812 * gst/gstutils.c: (gst_pad_add_data_probe),
13813 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13814 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13815 (gst_pad_remove_buffer_probe):
13816 Remove previous ghost pad cruft.
13817 Added more detailed debug statements.
13818 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13819 Fix the testsuite for refcounting changes.
13820 The comments about who has references were correct, but the refcount
13821 being checked wasn't the same (!?!).
13825 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13827 * docs/gst/gstreamer-sections.txt:
13828 * gst/gstconfig.h.in:
13829 More docs for configuration options, add docs to gtk-doc.
13831 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13834 * gst/gstconfig.h.in:
13835 * win32/common/config.h:
13836 Fix build when disabling tracing (fixes #344016). Also start to document
13837 the defines that disable the sub-systems.
13839 2006-07-10 Edward Hervey <edward@fluendo.com>
13841 * gst/gst.c: (ensure_current_registry_forking):
13842 let's make valgrind happy...
13844 2006-07-09 Wim Taymans <wim@fluendo.com>
13846 * gst/gstelement.c: (activate_pads),
13847 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13848 Better pad activation code: Reset the collect value too on resync.
13851 2006-07-09 Wim Taymans <wim@fluendo.com>
13853 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13854 (gst_pad_activate_push):
13855 Use some more macros where it makes sense.
13856 Allow pad mode switching instead of asserting. When a pad
13857 is activated in one mode and we activate it in another,
13858 deactivate it first before activating it in a different mode.
13861 2006-07-08 Andy Wingo <wingo@pobox.com>
13863 * tools/gst-launch.c (main): Handle err == NULL.
13865 * gst/gst.c (init_post, ensure_current_registry)
13866 (ensure_current_registry_forking)
13867 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13868 factoring out the registry scanning into separate functions. Don't
13869 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13870 Better environment var name/interface suggestions accepted.
13872 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13874 * gst/gstobject.c: (gst_object_set_name_default),
13875 (gst_object_set_name):
13876 Random micro-optimisation: don't use a hash table
13877 with strings as keys and the usual strdup/strcmp
13878 involved, but rather just use the GQuark of the
13879 type name as key, since it needs to be looked up
13880 anyway to get the type name string.
13882 * tests/check/gst/gstobject.c: (GST_START_TEST):
13885 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13887 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13888 (gst_bin_iterate_all_by_interface):
13889 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13890 GTypes are gulongs and thus the top 4 bytes might be cut
13891 off on some platforms when doing GPOINTER_TO_INT, leading
13892 to invalid GTypes and bad things happening (see RH bug #179654).
13893 Also add a check to make sure the type passed in is really
13896 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13901 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13905 * gst-element-check.m4:
13906 * gst-element-check.m4.in:
13907 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13908 instead of the unversioned gst-inspect (#324176, #168659).
13910 2006-07-06 Wim Taymans <wim@fluendo.com>
13912 * gst/gstmessage.h:
13913 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13916 2006-07-06 Wim Taymans <wim@fluendo.com>
13918 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13919 (gst_base_src_wait), (gst_base_src_update_length),
13920 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13921 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13922 (gst_base_src_loop), (gst_base_src_start),
13923 (gst_base_src_activate_pull):
13925 blocksize == 0 now means the default blocksize when working in push
13927 Remove some pointless asserts in _wait function.
13928 Fix offset/length calculations and EOS handling. We can now pull 0
13929 bytes as well, which is allowed.
13930 use _check_get_range() to decide if we can operate in _pull based
13932 Fix refcounting leak when check_get_range function was not
13934 API GstBaseSrc::blocksize range can be 0 too now (default)
13936 * tests/check/elements/filesrc.c: (GST_START_TEST),
13938 Added check to test _get_range() behaviour.
13940 2006-07-06 Wim Taymans <wim@fluendo.com>
13942 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13943 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13944 (gst_pad_pull_range):
13946 Lots of comments and docs added to the pad functions.
13947 Flesh out the expected behaviour of the get_range() functions.
13949 2006-07-06 Wim Taymans <wim@fluendo.com>
13954 * gst/gstiterator.h:
13958 Remove comma at end of enumerator list.
13960 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13962 * win32/common/libgstbase.def:
13963 * win32/common/libgstdataprotocol.def:
13964 * win32/common/libsgtreamer.def:
13965 Add new exported functions.
13967 2006-07-05 Wim Taymans <wim@fluendo.com>
13969 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13970 Add some more docs here and there.
13972 2006-07-05 Wim Taymans <wim@fluendo.com>
13974 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13975 (gst_base_sink_loop), (gst_base_sink_get_position):
13976 When operating in pull mode update the offset so that we
13979 2006-07-05 Wim Taymans <wim@fluendo.com>
13981 * gst/gstregistryxml.c: (read_string):
13982 Avoid strdup. (will happen in libxml, but hey!)
13985 Add some more docs.
13987 2006-07-05 Wim Taymans <wim@fluendo.com>
13989 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13990 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13991 (gst_buffer_suite):
13992 No point in checking if the size of the subbuffer > 0, the
13993 code handles it correclty as demonstrated by unit test.
13994 Also add a unit test for the zero sized _new_and_alloc and
13995 _copy. Fixes #346663.
13997 2006-07-05 Wim Taymans <wim@fluendo.com>
13999 * libs/gst/base/gstbasetransform.c:
14000 (gst_base_transform_prepare_output_buffer),
14001 (gst_base_transform_buffer_alloc),
14002 (gst_base_transform_handle_buffer):
14003 Make sure the buffer we pass to transform_ip has a refcount of
14004 1 and thus is writable. Fixes #343196
14006 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14008 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14009 (gst_file_src_init), (gst_file_src_set_property),
14010 (gst_file_src_get_property), (gst_file_src_map_region):
14011 * plugins/elements/gstfilesrc.h:
14012 Add "sequential" property, off by default, to use madvise and hint
14013 to the kernel that sequential access is desired.
14014 Touch all retrieved pages by default to ensure they are pulled
14015 into memory. (Closes #345720)
14017 2006-07-03 Wim Taymans <wim@fluendo.com>
14019 * docs/design/part-block.txt:
14020 * docs/design/part-dynamic.txt:
14021 Small docs updates.
14023 2006-07-03 Wim Taymans <wim@fluendo.com>
14025 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14026 (gst_caps_unref), (gst_static_caps_get),
14027 (gst_caps_append_structure):
14028 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14029 Use GSlice when the glib we build against is >= 2.10
14031 2006-07-03 Wim Taymans <wim@fluendo.com>
14033 * gst/gstelement.c: (gst_element_pads_activate):
14034 Small cleanup in pad activation code.
14036 2006-07-03 Wim Taymans <wim@fluendo.com>
14038 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14040 * gst/gst-i18n-app.h:
14041 * gst/gst-i18n-lib.h:
14042 * tools/gst-inspect.c: (print_signal_info):
14043 The attached patch will make the inclusion of gettext.h unconditional in
14044 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14045 libintl.h in tools/gst-inspect.c.
14046 This allows use of --disable-nls again and fixes #344642.
14048 2006-07-03 Edward Hervey <edward@fluendo.com>
14050 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14051 Implement pad blocking on events according to part-block.txt.
14052 More comments on behaviour.
14053 * tests/check/gst/gstevent.c: (test_event):
14054 Send event to peer pad of blocked pad (else it will block).
14056 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14058 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14059 (gst_check_run_suite):
14060 if we get the wrong message, give us the types as string
14061 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14063 * tests/check/elements/filesrc.c: (GST_START_TEST):
14064 add a test for trying to open a non-existing file
14066 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14068 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14069 add a test for adding self
14071 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14073 * libs/gst/check/gstcheck.h:
14074 add some assert_ as alias for fail_unless_*
14075 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14076 increase test coverage
14078 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14081 include lcov.mak for lcov coverage generation
14082 * tools/Makefile.am:
14085 2006-07-02 Edward Hervey <edward@fluendo.com>
14087 * tests/check/elements/.cvsignore:
14090 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14093 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14094 * tests/check/Makefile.am:
14095 clean up gcov files
14097 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14099 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14100 remove gst_caps_simplify; it was not declared and not used
14101 and deprecated in 0.8
14103 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14105 * docs/faq/gst-uninstalled:
14106 don't put empty paths on PYTHONPATH
14107 * docs/gst/gstreamer-sections.txt:
14108 remove some symbols that are not there
14110 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14112 * gst/gstcaps.c: (gst_caps_compare_structures):
14114 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14115 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14118 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14120 * libs/gst/dataprotocol/Makefile.am:
14121 build dataprotocol test by linking to the lib, instead of
14122 compiling the source, so we get coverage
14123 * tests/check/Makefile.am:
14124 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14125 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14126 add a test for filesrc
14128 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14130 * tests/check/gst/gststructure.c: (GST_START_TEST),
14131 (gst_structure_suite):
14132 Push coverage from 59.04% to 70.00%
14134 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14136 * tests/check/Makefile.am:
14137 gst-inspect every element; this makes sure that we also get
14138 coverage on element's get/set functions
14140 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14143 set CFLAGS and friends to -O0 if gcov is being used
14146 * libs/gst/base/Makefile.am:
14147 * libs/gst/check/Makefile.am:
14148 * libs/gst/controller/Makefile.am:
14149 * libs/gst/dataprotocol/Makefile.am:
14150 * libs/gst/net/Makefile.am:
14151 * plugins/elements/Makefile.am:
14152 * plugins/indexers/Makefile.am:
14153 add makefile rules to generate gcov data and clean up
14154 * tests/check/Makefile.am:
14155 add a coverage target that generates an html overview
14158 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14160 * tests/check/elements/fakesink.c:
14161 * tests/check/elements/fakesrc.c:
14162 * tests/check/elements/fdsrc.c:
14163 * tests/check/elements/identity.c:
14164 * tests/check/generic/sinks.c: (gst_sinks_suite):
14165 * tests/check/generic/states.c:
14166 * tests/check/gst/gst.c:
14167 * tests/check/gst/gstabi.c:
14168 * tests/check/gst/gstbin.c:
14169 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14170 * tests/check/gst/gstbus.c: (gst_bus_suite):
14171 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14172 * tests/check/gst/gstelement.c:
14173 * tests/check/gst/gstevent.c: (gst_event_suite):
14174 * tests/check/gst/gstghostpad.c:
14175 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14176 * tests/check/gst/gstmessage.c: (gst_message_suite):
14177 * tests/check/gst/gstminiobject.c:
14178 * tests/check/gst/gstobject.c:
14179 * tests/check/gst/gstpad.c:
14180 * tests/check/gst/gstpipeline.c:
14181 * tests/check/gst/gstplugin.c:
14182 * tests/check/gst/gstquery.c: (gst_query_suite):
14183 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14184 * tests/check/gst/gststructure.c:
14185 * tests/check/gst/gstsystemclock.c:
14186 * tests/check/gst/gsttag.c:
14187 * tests/check/gst/gsttask.c: (gst_task_suite):
14188 * tests/check/gst/gstutils.c:
14189 * tests/check/gst/gstvalue.c:
14190 * tests/check/libs/adapter.c:
14191 * tests/check/libs/basesrc.c:
14192 * tests/check/libs/collectpads.c:
14193 * tests/check/libs/controller.c:
14194 * tests/check/libs/gdp.c: (gst_dp_suite):
14195 * tests/check/libs/gstnetclientclock.c:
14196 * tests/check/libs/gstnettimeprovider.c:
14197 * tests/check/libs/libsabi.c: (libsabi_suite):
14198 * tests/check/libs/typefindhelper.c:
14199 * tests/check/pipelines/cleanup.c:
14200 * tests/check/pipelines/parse-launch.c:
14201 * tests/check/pipelines/simple-launch-lines.c:
14202 * tests/check/pipelines/stress.c: (stress_suite):
14205 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14207 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14208 * libs/gst/check/gstcheck.h:
14209 create a macro and function so that the simple unit test
14210 case can be just one macro to create main()
14212 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14214 * gst/gstbin.c: (gst_bin_restore_thyself):
14215 * gst/gstxml.c: (gst_xml_make_element):
14216 Fix deserialisation from XML. Set parent manually
14217 instead of using gst_bin_add(), since gst_bin_add()
14218 will unlink all pads of the element being added.
14221 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14223 Patch by: Peter Kjellerstedt <pkj at axis com>
14225 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14226 Fix missing g_strdup() and double free when using the
14227 --gst-plugin-load command line option (#346097).
14229 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14232 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14234 * libs/gst/net/gstnetclientclock.c:
14235 * libs/gst/net/gstnettimeprovider.c:
14236 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14238 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14240 * docs/manual/advanced-dataaccess.xml:
14241 Fix buffer probe example compilation in
14244 2006-06-22 Edward Hervey <edward@fluendo.com>
14246 * gst/gstelement.c: (gst_element_pads_activate):
14247 We need to deactivate src pads first and then sink pads.
14248 The reason is the src pads might be blocking while holding the streaming
14249 lock, so we need to deactivate them first so that deactivating the sink
14250 pads doesn't block (since it will require the streaming lock).
14252 2006-06-22 Wim Taymans <wim@fluendo.com>
14254 * libs/gst/base/gstbasetransform.c:
14255 (gst_base_transform_buffer_alloc):
14256 Forgot to remove two unneeded unrefs.
14257 Simplify a check _is_equal allready checks the obvious case.
14259 2006-06-22 Wim Taymans <wim@fluendo.com>
14261 * docs/design/part-block.txt:
14262 Some docs about what pad_block should do.
14264 2006-06-22 Wim Taymans <wim@fluendo.com>
14266 * gst/gstcaps.c: (gst_caps_replace):
14267 Fix crasher when passed NULL. Doc clarification.
14268 Optimize for the trivial case.
14270 * gst/gstpipeline.c: (gst_pipeline_change_state):
14273 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14274 Small documentation cleanup.
14276 * libs/gst/base/gstbasetransform.c:
14277 (gst_base_transform_buffer_alloc):
14278 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14279 is what we need and it avoids a whole lot of redundant
14280 refcount operations.
14282 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14284 Patch by: Philip Jägenstedt <philip at lysator liu se>
14286 * docs/manual/advanced-dataaccess.xml:
14287 Fix 'Embedding static elements' section to use
14288 GST_PLUGIN_DEFINE_STATIC (#345607).
14290 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14292 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14293 Attempt to 'fix' spuriously failing test case: it seems like the
14294 timeout of half a second is simply too small when the system is under
14295 load otherwise, and the timeout doesn't really seem to serve any
14296 particular purpose here. Give the pipeline a few seconds to preroll
14297 first, and then give it another half a second to go from PAUSED to
14298 PLAYING and marshal the message into the main thread.
14300 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14302 * tools/gst-feedback-m.m:
14303 Don't only use unversioned tools, try versioned tools as well
14306 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14308 * gst/gstbus.c: (gst_bus_class_init):
14309 Fix some typos, make docs more explicit.
14311 2006-06-20 Wim Taymans <wim@fluendo.com>
14313 * tests/check/gst/gstghostpad.c: (block_callback),
14314 (GST_START_TEST), (gst_ghost_pad_suite):
14315 Added some more ghostpad tests, mainly blocking
14318 2006-06-16 Wim Taymans <wim@fluendo.com>
14320 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14321 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14322 (gst_file_sink_event), (gst_file_sink_render):
14323 * plugins/elements/gstfilesink.h:
14324 Check if we can seek in the file instead of assuming
14325 we always can. Post an error when we are asked to seek in a
14326 non-seekable file (like a fifo). Fixes #343312.
14329 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14331 * tools/gst-launch.1.in:
14332 Un-garble (fourcc) bit in filtered caps section.
14334 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14336 * docs/manual/advanced-autoplugging.xml:
14337 * docs/manual/basics-helloworld.xml:
14338 * docs/manual/highlevel-components.xml:
14339 Don't leak bus reference in sample code.
14341 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14344 Add default for new --enable-plugin-docs switch.
14347 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14350 * docs/Makefile.am:
14351 Use new ENABLE_PLUGIN_DOCS conditional.
14353 2006-06-14 Wim Taymans <wim@fluendo.com>
14355 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14356 Make it clear with a FIXME and a real define what the #if 0
14357 previously disabled.
14359 2006-06-14 Wim Taymans <wim@fluendo.com>
14361 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14362 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14363 * libs/gst/base/gstbasetransform.c:
14364 (gst_base_transform_sink_eventfunc):
14365 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14366 Don't randomly and silently reset a segment when the format
14367 changes as this is a bug somewhere upstream. Fixes #330379.
14369 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14371 Patch by: Wouter Paesen <wouter at kangaroot net>
14373 * libs/gst/controller/gstcontroller.c:
14374 (gst_controlled_property_new):
14375 Fix controlling of float properties (#344849).
14377 * tests/check/libs/controller.c:
14378 (gst_test_mono_source_get_property),
14379 (gst_test_mono_source_set_property),
14380 (gst_test_mono_source_class_init), (GST_START_TEST):
14381 While we're at it, add some float stuff to unit test.
14383 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14386 * docs/images/gdp-header.svg:
14388 * docs/libs/Makefile.am:
14389 * docs/libs/gdp-header.png:
14390 * libs/gst/dataprotocol/dataprotocol.c:
14391 add it to the API docs
14392 * docs/manual/intro-motivation.xml:
14395 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14397 * gst/gst.c: (scan_and_update_registry), (init_post):
14398 If the fork()'ed child process can't write the updated registry cache
14399 file to disk for some reason, make it exit with a failure exit code,
14400 so that the parent can then re-scan the plugins itself and update the
14401 registry structures in memory and work with that (rather than failing
14402 when creating elements because seemingly no plugins are available).
14403 Refactor registry scanning code into separate function for this and
14404 also separate fork() and non-fork() code paths. Fixes #344748.
14406 2006-06-13 Wim Taymans <wim@fluendo.com>
14408 * docs/manual/advanced-dataaccess.xml:
14409 Fix wrong PluginDesc. Fixes #344755.
14411 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14413 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14414 Fix silly bug that prevented us from creating
14415 ~/.gstreamer-0.10 and writing the registry in one
14416 go (the first call to g_mkstemp() would overwrite the
14417 placeholder in the template string, so the second call
14418 to g_mkstemp() after creating the missing directory
14419 would then error out with 'invalid argument').
14421 2006-06-13 Edward Hervey <edward@fluendo.com>
14423 * gst/gst.c: (init_post):
14426 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14428 * gst/glib-compat-private.h:
14429 * gst/glib-compat.c:
14430 * gst/glib-compat.h:
14431 * gst/gstvalue.c: (gst_value_serialize_flags):
14432 remove GLib 2.6 compatibility code
14434 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14436 * gst/parse/Makefile.am:
14437 Fix build with 'make -j N' even more (#340016).
14439 2006-06-12 Wim Taymans <wim@fluendo.com>
14441 * docs/gst/gstreamer-sections.txt:
14444 2006-06-12 Wim Taymans <wim@fluendo.com>
14446 * gst/gstsegment.c: (gst_segment_set_duration),
14447 (gst_segment_set_last_stop), (gst_segment_set_seek),
14448 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14449 (gst_segment_to_running_time), (gst_segment_clip):
14450 Use G_UNLIKELY to help the compiler a bit.
14452 2006-06-12 Wim Taymans <wim@fluendo.com>
14454 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14456 * gst/gstevent.c: (gst_event_get_type):
14457 * gst/gstmessage.c:
14458 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14460 constify quark registration strings. Fixes #344115
14461 Avoid unneeded type checking is _pad_push() by internally
14462 calling gst_pad_chain_unchecked().
14464 2006-06-12 Wim Taymans <wim@fluendo.com>
14466 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14467 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14468 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14469 (gst_buffer_is_span_fast), (gst_buffer_span):
14470 Init _type for consistency.
14471 Use _FLAGS macro to avoid type check.
14472 Avoid unneeded type checks in subbufer code.
14474 2006-06-12 Wim Taymans <wim@fluendo.com>
14476 * gst/gst.c: (gst_debug_help):
14477 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14478 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14479 (gst_plugin_feature_list_free):
14480 * gst/gstregistry.c: (gst_registry_add_plugin),
14481 (gst_registry_add_feature), (gst_registry_plugin_filter),
14482 (gst_registry_feature_filter), (gst_registry_find_plugin),
14483 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14484 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14485 * gst/gstregistryxml.c: (load_feature),
14486 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14487 * gst/gstminiobject.c: (gst_mini_object_unref),
14488 (gst_mini_object_replace), (gst_value_mini_object_free),
14489 (gst_value_mini_object_copy):
14490 Use _CAST macros to avoid unneeded type checking.
14491 Added some more G_UNLIKELY.
14493 2006-06-12 Wim Taymans <wim@fluendo.com>
14496 Avoid unneeded type checking.
14497 API: GST_BUFFER_IS_DISCONT
14499 * gst/gstminiobject.h:
14500 Avoid type check in flag accessor.
14502 * gst/gstelementfactory.h:
14504 * gst/gstpluginfeature.h:
14506 API: GST_ELEMENT_FACTORY_CAST
14507 API: GST_PLUGIN_CAST
14508 API: GST_PLUGIN_FEATURE_CAST
14510 2006-06-12 Wim Taymans <wim@fluendo.com>
14512 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14513 (gst_object_unref):
14514 Add G_UNLIKELY in type registration.
14515 Avoid type check in _ref/_unref since that is also
14518 2006-06-12 Wim Taymans <wim@fluendo.com>
14520 * gst/gsterror.c: (gst_g_error_get_type):
14521 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14522 (gst_static_pad_template_get_type):
14523 * gst/gsttaglist.c: (gst_tag_list_get_type):
14524 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14525 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14526 * gst/gsturi.c: (gst_uri_handler_get_type):
14527 * gst/gstvalue.c: (gst_date_get_type):
14528 * gst/gstxml.c: (gst_xml_get_type):
14529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14530 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14531 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14532 Add G_UNLIKELY in type registration.
14534 2006-06-12 Wim Taymans <wim@fluendo.com>
14536 * tools/gst-inspect.c: (print_signal_info):
14537 Properly print enum values.
14539 2006-06-12 Wim Taymans <wim@fluendo.com>
14541 * gst/gstinfo.c: (gst_debug_set_active),
14542 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14544 Add some G_[UN]LIKELY.
14545 Maintain __gst_debug_min to avoid formatting the arguments of
14546 debug messages that will be dropped anyway to avoid a lot of
14547 overhead from the debugging system.
14549 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14552 * po/POTFILES.skip:
14553 add missing files containing translatable strings, tell intltool about
14556 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14558 * tests/check/libs/.cvsignore:
14559 add test-binary to ignore list
14561 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14563 * docs/libs/gstreamer-libs-docs.sgml:
14564 reorder (put dp into a chapter) and indent
14566 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14571 === release 0.10.8 ===
14573 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14576 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14578 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14580 * gst/gst.c: (init_post):
14581 move pid declaration to declaration block
14583 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14585 * gst/gst.c: (init_post):
14586 use _exit() instead of exit() in our forked child; this ensures
14587 that none of the registered exit handlers from whatever is using
14588 GStreamer get executed. This fixes gnome-mixer-applet failing
14589 to load, because ORBit would shut down.
14590 Spotted by: Edward Hervey <edward@fluendo.com>
14591 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14594 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14599 === release 0.10.7 ===
14601 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14604 releasing 0.10.7, "Soepeke, ik zie ou"
14606 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14629 * win32/common/config.h:
14630 0.10.6.2 prerelease
14632 2006-06-07 Wim Taymans <wim@fluendo.com>
14634 * gst/gstindex.c: (gst_index_gtype_resolver):
14635 * tools/gst-xmlinspect.c: (print_plugin_info):
14636 Fix leak spotted by coverity checker. Fixes #343827
14637 Fix another other leak found by paolo borelli.
14639 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14641 * libs/gst/dataprotocol/dataprotocol.c:
14642 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14643 (gst_dp_version_get_type), (gst_dp_init),
14644 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14645 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14646 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14647 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14648 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14649 (gst_dp_packetizer_free):
14650 * libs/gst/dataprotocol/dataprotocol.h:
14651 API: add a GstDPPacketizer object, and create/free functions
14652 API: add GstDPVersion enum
14653 Add 1.0 event function that uses the string serialization
14654 Serialize more useful buffer flags
14657 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14659 * tests/check/Makefile.am:
14660 * tests/check/gst/gstabi.c:
14661 * tests/check/gst/struct_ppc64.h:
14662 * tests/check/libs/libsabi.c:
14663 * tests/check/libs/struct_ppc64.h:
14664 add ppc64 structure sizes
14666 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14668 * tests/check/Makefile.am:
14669 * tests/check/gst/gstabi.c:
14670 * tests/check/gst/struct_x86_64.h:
14671 * tests/check/libs/libsabi.c:
14672 * tests/check/libs/struct_x86_64.h:
14673 generate and add structure size lists for x86_64
14675 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14677 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14678 * libs/gst/check/gstcheck.h:
14679 factor out the method from tests that checks size of structures,
14680 and add code to generate the header containing these sizes
14681 * tests/check/gst/gstabi.c: (GST_START_TEST):
14682 * tests/check/gst/struct_i386.h:
14683 * tests/check/libs/libsabi.c: (GST_START_TEST):
14684 * tests/check/libs/struct_i386.h:
14687 2006-06-06 Michael Smith <msmith@fluendo.com>
14689 * gst/gstsegment.h:
14690 Don't use c++-style comments, fixes #343929
14692 2006-06-05 Edward Hervey <edward@fluendo.com>
14695 plugin_paths is not used if we build without registry support.
14697 * gst/gstsegment.c: (gst_segment_copy):
14698 _copy() was always returning NULL...
14700 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14702 * libs/gst/dataprotocol/dataprotocol.c:
14703 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14704 (gst_dp_packet_from_event):
14705 factor out CRC code
14707 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14709 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14710 make sure we unset caps
14712 2006-06-02 Michael Smith <msmith@fluendo.com>
14714 * libs/gst/check/gstcheck.c: (gst_check_init),
14715 (gst_check_chain_func):
14716 * libs/gst/check/gstcheck.h:
14717 Add a cond/mutex to the check support lib, signal this whenever we
14718 add to the buffers list. This will allow tests to not busy-wait on
14721 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14723 * libs/gst/dataprotocol/dataprotocol.c:
14724 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14725 (gst_dp_packet_from_event):
14726 factor out some common header init code
14728 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14730 * docs/libs/gstreamer-libs-sections.txt:
14731 * docs/libs/tmpl/gstdataprotocol.sgml:
14732 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14733 * libs/gst/dataprotocol/dataprotocol.h:
14734 API: make gst_dp_crc() public
14736 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14738 * plugins/indexers/gstindexers.c: (plugin_init):
14739 conditionally register fileindexer (fixes #343598)
14741 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14743 * gst/gsttagsetter.h:
14744 Can't cast ifaces to a class
14746 * libs/gst/net/gstnetclientclock.h:
14747 * libs/gst/net/gstnettimeprovider.h:
14748 * plugins/elements/gstfakesink.h:
14749 * plugins/elements/gstfakesrc.h:
14750 * plugins/elements/gstfdsink.h:
14751 * plugins/elements/gstfdsrc.h:
14752 * plugins/elements/gstfilesink.h:
14753 * plugins/elements/gstfilesrc.h:
14754 * plugins/elements/gstidentity.h:
14755 * plugins/elements/gstqueue.h:
14756 * plugins/elements/gsttee.h:
14757 * plugins/indexers/gstfileindex.c:
14758 * plugins/indexers/gstmemindex.c:
14759 * tests/old/examples/plugins/example.h:
14760 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14762 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14764 * libs/gst/dataprotocol/dataprotocol.c:
14765 (gst_dp_header_from_buffer):
14766 make sure we zero the whole ABI-compatible area
14768 2006-06-01 Wim Taymans <wim@fluendo.com>
14770 Patch by: Alessandro Decina <alessandro at nnva dot org>
14772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14773 Make sure the EOS flag is cleared from pads after a flush
14774 or stop. Fixes #343538.
14776 * tests/check/libs/collectpads.c: (GST_START_TEST),
14777 (gst_collect_pads_suite):
14778 Added test for collectpads reusage after EOS.
14780 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14783 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14784 * win32/common/libgstbase.def:
14785 export gst_collect_pads_set_flushing
14786 * win32/common/libgstreamer.def:
14787 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14788 gst_value_fraction_multiply
14789 * win32/vs6/gst_inspect.dsp:
14790 add a link to intl.lib
14792 2006-05-30 Wim Taymans <wim@fluendo.com>
14794 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14795 (gst_collect_pads_chain):
14796 Handle the case where a pad is removed from the collection
14797 that could cause the other pads to become collectable.
14799 2006-05-30 Wim Taymans <wim@fluendo.com>
14801 * gst/gstelement.c:
14802 Clarify the use of _release_request_pad() and
14803 _get_request_pad() a bit better.
14805 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14806 (gst_adapter_take_buffer):
14807 Fix some doc and comment typos.
14809 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14811 * docs/gst/gstreamer-sections.txt:
14812 * docs/libs/gstreamer-libs-sections.txt:
14813 add declared symbols
14815 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14817 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14818 Add debug that can be enabled using a #define at the top of the file,
14819 for dumping stats about how late/early we were when waking up from
14820 waiting on the clock.
14822 2006-05-30 Wim Taymans <wim@fluendo.com>
14824 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14825 When rebuilding the pad list, don't leak the previous list.
14827 2006-05-30 Wim Taymans <wim@fluendo.com>
14829 Patch by: Lutz Mueller <lutz at topfrose dot de>
14831 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14832 (gst_base_src_get_query_types), (gst_base_src_update_length):
14833 Publish supported query types.
14834 Update last_stop field in get_range mode so the position
14835 query works. Fixes #342321.
14837 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14839 * docs/gst/gstreamer-sections.txt:
14840 * gst/gsttaglist.c: (_gst_tag_initialize):
14841 * gst/gsttaglist.h:
14842 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14844 2006-05-30 Wim Taymans <wim@fluendo.com>
14846 Patch by: Alessandro Decina <alessandro at nnva dot org>
14848 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14849 Unlock mutex when removing an unknown pad.
14852 * tests/check/Makefile.am:
14853 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14854 (push_event), (setup), (teardown), (GST_START_TEST),
14855 (gst_collect_pads_suite), (main):
14856 Added collecpads check, disabled for now as check crashes for
14859 2006-05-29 Wim Taymans <wim@fluendo.com>
14861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14862 Don't leak pads lists.
14864 2006-05-29 Wim Taymans <wim@fluendo.com>
14866 * docs/libs/gstreamer-libs-sections.txt:
14867 * libs/gst/base/gstcollectpads.c:
14868 (gst_collect_pads_set_flushing_unlocked),
14869 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14870 (gst_collect_pads_stop):
14871 * libs/gst/base/gstcollectpads.h:
14872 API: gst_collect_pads_set_flushing()
14873 Added api to set the pads to flushing, useful for seeking
14874 code in elements using collectpads.
14875 Clear segment when receiving a flush.
14877 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14879 * gst/gst.c: (add_path_func), (init_post):
14880 Don't scan registry paths passed via --gst-plugin-path immediately
14881 (will crash, because absolutely nothing is set up and no types are
14882 registered etc.); do this later in init_post(). Fixes #343057.
14884 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14886 * gst/gst.c: (init_post):
14887 if we have fork, fork while reading/rebuilding the registry
14888 so the parent doesn't take the hit of having all plugins loaded
14889 in memory. Fixes #342777.
14891 Check if we have fork()
14892 * win32/common/config.h.in:
14895 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14897 * plugins/elements/gstelements.c:
14898 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14899 (gst_file_src_init), (gst_file_src_set_property),
14900 (gst_file_src_get_property), (gst_file_src_start):
14901 * plugins/elements/gstfilesrc.h:
14902 API: GstFileSrc::use-mmap
14904 Add a use-mmap property to enable easier testing of all code paths.
14905 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14906 in the absence of gnomevfssrc. (Closes #340501)
14908 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14910 * tools/gst-inspect.c:
14911 Add missing include, removes warning of ngettext not being defined on
14914 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14916 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14917 Handle NULL input and output pointers silently as a failed conversion,
14918 rather than g_warnings.
14920 2006-05-25 Wim Taymans <wim@fluendo.com>
14922 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14923 Initialize variable before using. Fixes #342820.
14925 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14927 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14928 Fix off-by-one bug that would only allow peeks of N-1 bytes
14929 from the start even if the buffer to typefind on contains
14930 in fact N bytes of data (makes vorbis typefinding from a
14931 vorbis identification header buffer work).
14933 * tests/check/Makefile.am:
14934 * tests/check/libs/.cvsignore:
14935 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14936 (gst_typefindhelper_suite), (main), (foobar_typefind),
14938 Add very basic unit test for gst_type_find_helper_for_buffer()
14939 that checks for the problem fixed above.
14941 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14943 * tools/gst-inspect.c: (print_interfaces),
14944 (print_element_properties_info), (print_element_list), (main):
14945 add more translatable strings
14947 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14949 Patch by: Julien Moutte <julien at moutte net>
14951 * docs/gst/gstreamer-sections.txt:
14952 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14954 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14955 (gst_fake_sink_preroll):
14956 * plugins/elements/gstfakesink.h:
14957 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14959 2006-05-23 Wim Taymans <wim@fluendo.com>
14961 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14963 Added _CUSTOM error and success GstFlowReturn that can be
14964 used be elements internally.
14965 Added macro to check for SUCCESS flowreturns.
14966 API: GST_FLOW_CUSTOM_SUCCESS
14967 API: GST_FLOW_CUSTOM_ERROR
14968 API: GST_FLOW_IS_SUCCESS
14970 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14971 Added check for GstFlowReturn sanity.
14973 2006-05-23 Wim Taymans <wim@fluendo.com>
14975 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14977 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14978 (gst_collect_pads_event):
14979 clear/reset segment info in FLUSH_STOP.
14982 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14984 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14985 (gst_collect_pads_check_collected):
14986 Flush queued buffer on _stop(), fixes playing again (#342454)
14988 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14990 * tests/check/gst/gststructure.c: (GST_START_TEST),
14991 (gst_structure_suite):
14992 add a test for a complete structure
14994 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14996 * docs/faq/developing.xml:
14997 * docs/faq/faq.xml:
14998 * docs/faq/troubleshooting.xml:
14999 * docs/faq/using.xml:
15000 Some minor FAQ updates that won't change the fact that
15001 our FAQ is badly structured, full of information hardly
15002 anyone new to GStreamer needs to know and lacking lots
15003 of information people constantly ask for.
15005 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15007 * gst/gstpad.c: (gst_pad_set_caps):
15008 Short-circuit gst_pad_set_caps if setting the existing
15009 caps pointer again, and avoid printing debug and
15010 reffing/unreffing the caps.
15012 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15013 There's actually no need to set the caps before pushing -
15014 the acceptcaps method will handle it anyway.
15016 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15018 * docs/gst/gstreamer-sections.txt:
15019 * win32/common/libgstreamer.def:
15020 * gst/gstutils.c: (gst_element_seek_simple):
15022 API: add gst_element_seek_simple() (#342238).
15024 2006-05-18 Edward Hervey <edward@fluendo.com>
15026 * gst/gsttypefind.c: (gst_type_find_get_type):
15027 * gst/gsttypefind.h:
15028 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15029 registered for GstTypeFind pointers. This allows wrapping the structure
15030 in bindings (i.e. gst-python).
15032 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15034 * gst/gsttagsetter.c:
15035 Docs additions and fixes (see #339918).
15037 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15039 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15040 The caps intersection algorithm can produce multiple copies of the
15041 caps. Until that is fixed, we need to simplify the result to be
15042 sure whether the allowed caps are fixed or not.
15044 * plugins/elements/gstqueue.c: (gst_queue_init),
15045 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15046 (gst_queue_push_one):
15047 Proxied buffer alloc should not set the caps on the source pad.
15048 When pushing buffers, we always accept the caps change that triggers.
15049 This prevents negotiation errors caused by caps changing mid-stream
15050 and then being refused on our source pad (because upstream is now
15051 refusing those caps).
15053 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15055 * tests/examples/helloworld/helloworld.c: (main):
15056 Must plug audioconvert and audioresample between decoder
15059 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15061 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15062 (load_feature), (load_plugin):
15063 Allow empty strings for some of the plugin fields so we don't
15064 drop valid plugin entries that were written out correctly
15067 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15069 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15070 Use g_remove and g_rename instead of remove and rename that don't
15071 handle utf8 characters. rename was failing for users who had specific
15072 characters in their name then the registry was built at each
15074 * win32/vs6/gst_inspect.dsp:
15075 * win32/vs6/gst_launch.dsp:
15076 * win32/vs6/libgstbase.dsp:
15077 * win32/vs6/libgstcoreelements.dsp:
15078 * win32/vs6/libgstreamer.dsp:
15079 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15080 build of libgstreamer and clean unused libraries in projects link
15083 2006-05-17 Edward Hervey <edward@fluendo.com>
15085 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15086 The queue is not responsible for pushing an EOS when receiving a fatal
15087 flow error. It's up to the real element driving the pipeline to do that.
15089 2006-05-16 Edward Hervey <edward@fluendo.com>
15091 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15092 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15093 buffer returned a fatal error. It should just send an EOS and stop
15095 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15096 when pushing buffers on the queue and will be able to handle the event.
15098 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15100 * docs/manual/basics-bins.xml:
15101 * docs/manual/basics-init.xml:
15102 Fix typos and minor errors in sample code (#341856).
15104 2006-05-16 Wim Taymans <wim@fluendo.com>
15106 * docs/design/part-qos.txt:
15107 Fix indexes in formulas to make more sense.
15109 2006-05-15 Wim Taymans <wim@fluendo.com>
15111 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15112 Don't report POSITION based on clock time if sync is
15113 disabled in a sink.
15115 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15118 Add cast to make compiler happy - refcount variable was a gint
15119 in GstObject but is a guint in GObject and g_atomic_int_get()
15122 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15124 * gst/parse/Makefile.am:
15125 chain commands using &&, which also makes parallel make work
15127 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15129 * docs/gst/gstreamer-sections.txt:
15132 * gst/gstmessage.h:
15135 === release 0.10.6 ===
15137 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15140 releasing 0.10.6, "Take the cannoli"
15142 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15144 * tools/gst-launch.c: (print_tag):
15145 Fix use of uninitialized variable in the hypothetical
15146 case that some broken plugin creates a GST_TAG_IMAGE
15147 tag containing a NULL buffer (#341667).
15149 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15151 * tools/gst-launch.c: (print_tag):
15152 Print something more intelligible for image tags when
15153 using the -t switch (#341556).
15155 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15160 define GST_MAJORMINOR so we have it available in win32/common/config.h
15161 Possibly remove it from our Makefile.am files later
15162 * win32/common/config.h:
15163 * win32/common/config.h.in:
15164 added GST_MAJORMINOR
15165 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15166 * win32/common/gstversion.h:
15169 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15172 Update win32 files listing.
15173 * win32/common/gstversion.h:
15174 Add GST_MAJORMINOR definition.
15175 * win32/common/libgstreamer.def:
15176 Add new exported functions.
15178 2006-05-12 Michael Smith <msmith@fluendo.com>
15180 * gst/gstplugin.c: (gst_plugin_load_file):
15181 If an so file has no plugin entry point, unload the module.
15183 2006-05-11 Wim Taymans <wim@fluendo.com>
15185 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15186 (gst_queue_set_property):
15187 Don't forget to signal the _chain or _loop function
15188 when the queue size or thresholds change since that might
15189 cause them to make progres again.
15191 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15193 * gst/gstclock.c: (gst_clock_class_init):
15194 * gst/gstindex.c: (gst_index_class_init):
15195 * gst/gstobject.c: (gst_object_class_init):
15196 * gst/gstpad.c: (gst_pad_class_init):
15197 * gst/gstpipeline.c: (gst_pipeline_class_init):
15198 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15199 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15200 * libs/gst/base/gstbasetransform.c:
15201 (gst_base_transform_class_init):
15202 * libs/gst/net/gstnetclientclock.c:
15203 (gst_net_client_clock_class_init):
15204 * libs/gst/net/gstnettimeprovider.c:
15205 (gst_net_time_provider_class_init):
15206 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15207 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15208 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15209 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15210 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15211 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15212 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15213 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15214 * plugins/elements/gsttee.c: (gst_tee_class_init):
15215 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15216 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15217 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15219 2006-05-11 Wim Taymans <wim@fluendo.com>
15221 * gst/gstbuffer.c: (_gst_buffer_initialize):
15222 Register subbufer along with the buffer type so that
15223 it does not accidentally gets registered from N
15224 different streaming threads in a non threadsafe way.
15226 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15230 * gst/gstmessage.h:
15231 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15232 gst_event_ref() and gst_message_ref() functions again
15233 (ugly hack, please do fix if there's a better way besides
15234 overrides.txt, which doesn't seem to work).
15236 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15238 * libs/gst/check/gstcheck.h:
15239 add an assert for setting state to avoid lots of repetitive code
15242 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15244 * gst/gstvalue.c: (gst_value_serialize_flags):
15245 fix a leak if no flags are set
15246 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15249 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15251 * docs/manual/basics-pads.xml:
15252 Expand a bit on caps and filtered links and update
15253 examples that were still using the no longer existing
15254 gst_pad_link_filtered() (#338206).
15256 2006-05-10 Wim Taymans <wim@fluendo.com>
15258 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15259 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15260 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15261 (gst_collect_pads_stop):
15262 * libs/gst/base/gstcollectpads.h:
15263 No need to call _stop in _finalize.
15264 Iterate the main pad list in _finalize.
15265 Added some more debug.
15266 Free lists and data in the right order.
15267 Also free data whem doing _remove_pad when stopped for
15268 backward compatibility protect ::started with PAD_LOCK as
15271 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15273 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15274 (gst_structure_parse_value):
15276 rename a method so that it actually says what it does better
15278 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15280 * gst/gstevent.c: (_gst_event_initialize):
15281 * gst/gstformat.c: (_gst_format_initialize):
15282 make sure some essential types used by events are registered
15283 as part of gst_init()
15284 * gst/gstvalue.c: (gst_value_serialize_flags):
15285 if no flags are set, serialize them to a value that represents NONE
15286 so that deserializing them works
15287 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15288 add tests for serialization and deserialization of flags
15290 2006-05-10 Wim Taymans <wim@fluendo.com>
15292 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15293 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15294 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15295 (gst_collect_pads_event), (gst_collect_pads_chain):
15298 Catch and return errors from the collect function
15299 Refuse data on eos pads.
15301 2006-05-10 Edward Hervey <edward@fluendo.com>
15303 * gst/gstinterface.h:
15304 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15305 GInterface type checking.
15306 They were previously using non-defined macros.
15308 2006-05-09 Wim Taymans <wim@fluendo.com>
15310 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15311 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15312 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15313 (gst_collect_pads_start), (gst_collect_pads_stop),
15314 (gst_collect_pads_peek), (gst_collect_pads_pop),
15315 (gst_collect_pads_available), (gst_collect_pads_read),
15316 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15317 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15318 (gst_collect_pads_chain):
15319 * libs/gst/base/gstcollectpads.h:
15320 Clean up the mess that is collectpads, add comments and
15321 FIXMEs where needed.
15322 Maintain a separate pad list so we can add pads while
15323 collecting the other ones. For this we need a new separate
15325 Fix memory leak in finalize.
15326 Refactor some weird code to set/unset pad flushing flags, mark
15328 Don't crash in _available, _read, _flush when we're EOS.
15330 * tests/check/libs/.cvsignore:
15331 Ignore adapter check binary.
15333 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15335 * gst/gstindex.c: (gst_index_resolver_get_type):
15336 * plugins/elements/gstfakesink.c:
15337 (gst_fake_sink_state_error_get_type):
15338 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15339 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15340 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15341 Const-ify GEnumValue arrays.
15343 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15345 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15346 Add test case for flags + gst_buffer_make_metadata_writable().
15348 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15350 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15351 gst_buffer_make_metadata_writable() should maintain the
15352 buffer flags (those that make sense at least) (see #340859).
15354 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15356 * tools/gst-inspect.c:
15357 * tools/gst-launch.c:
15358 * tools/gst-typefind.c:
15359 * tools/gst-xmlinspect.c:
15361 Fix up includes: need to include stdlib.h in tools.h for exit().
15363 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15365 * gst/gsttaglist.c: (_gst_tag_initialize):
15366 * gst/gsttaglist.h:
15367 API: add GST_TAG_IMAGE tag (#340721).
15369 2006-05-08 Wim Taymans <wim@fluendo.com>
15372 Added some docs for the segment query.
15374 2006-05-08 Wim Taymans <wim@fluendo.com>
15376 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15377 (gst_base_src_loop), (gst_base_src_change_state):
15378 Always push non-flushing serialized events in the streaming
15381 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15383 * gst/gsterror.c: (_gst_stream_errors_init):
15384 Add a missing error string.
15386 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15388 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15389 Add applied_rate to the debug
15391 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15392 Copy applied_rate into the outgoing NEWSEGMENT event
15394 2006-05-08 Wim Taymans <wim@fluendo.com>
15396 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15398 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15399 (gst_base_sink_change_state):
15400 call ::unlock before taking the PREROLL_LOCK so we can safely
15401 handle elements that lock in ::render.
15404 2006-05-08 Edward Hervey <edward@fluendo.com>
15406 * autogen.sh: (CONFIGURE_DEF_OPT):
15407 Darwin's libtoolize is in fact called glibtoolize.
15408 Adding glibtoolize to the list of accepted names for libtoolize.
15410 2006-05-08 Wim Taymans <wim@fluendo.com>
15412 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15413 Unify error handling, don't post an error message
15414 when a push() returns EOS but perform our normal EOS
15415 handling code. Fixes #340772.
15417 2006-05-08 Wim Taymans <wim@fluendo.com>
15419 * docs/design/part-overview.txt:
15420 Make upsteam/downstream concepts more clear.
15421 Give an example of serialized/non-serialized events.
15423 * docs/design/part-events.txt:
15424 * docs/design/part-streams.txt:
15425 Mention applied_rate.
15427 * docs/design/part-trickmodes.txt:
15428 Mention applied rate, flesh out some more use cases.
15430 * gst/gstevent.c: (gst_event_new_new_segment),
15431 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15432 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15433 (gst_event_parse_tag), (gst_event_new_buffer_size),
15434 (gst_event_parse_buffer_size), (gst_event_new_qos),
15435 (gst_event_parse_qos), (gst_event_parse_seek),
15436 (gst_event_new_navigation):
15438 Add applied_rate field to NEWSEGMENT event.
15439 API: gst_event_new_new_segment_full()
15440 API: gst_event_parse_new_segment_full()
15442 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15443 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15444 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15445 * gst/gstsegment.h:
15446 Add applied_rate to GstSegment structure.
15447 Make calculation of stream_time and running_time more correct
15448 wrt rate/applied_rate.
15449 Add some more docs.
15450 API: GstSegment::applied_rate field
15451 API: gst_segment_set_newsegment_full();
15453 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15454 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15455 * libs/gst/base/gstbasetransform.c:
15456 (gst_base_transform_sink_eventfunc),
15457 (gst_base_transform_handle_buffer):
15458 Parse and use applied_rate in the GstSegment field.
15460 * tests/check/gst/gstevent.c: (GST_START_TEST):
15461 Add check for applied_rate field.
15463 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15464 (gstsegments_suite):
15465 Add more checks for various GstSegment operations.
15467 2006-05-08 Wim Taymans <wim@fluendo.com>
15469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15470 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15471 (gst_base_sink_get_position), (gst_base_sink_change_state):
15472 Store the sync time of the buffer end position separatly in a
15473 new variable eos_rtime so we can properly sync the EOS event.
15475 Fix the docs for gst_base_sink_set_qos_enabled().
15476 Don't set segment start to invalid value when we receive a
15477 non TIME newsegment.
15478 get closer to handling position reporting for negative rates
15481 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15484 Docs about how to print caps for debug purposes.
15486 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15487 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15489 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15491 * gst/gstelement.c:
15492 use full enum names and preprend a '%' in docs strings to make recent
15493 gtk-doc turn that into a link
15495 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15497 * docs/manual/basics-bins.xml:
15498 * docs/manual/basics-bus.xml:
15499 * docs/manual/basics-pads.xml:
15500 Some typo fixes, some additions, some clarifications.
15502 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15504 * tools/gst-inspect.c: (main):
15505 * tools/gst-launch.c: (main):
15506 * tools/gst-run.c: (main):
15507 * tools/gst-typefind.c: (main):
15508 * tools/gst-xmlinspect.c: (main):
15509 Use the string passed to g_option_context_new() for
15510 what it's intended for - the program name is already
15513 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15515 * tools/Makefile.am:
15516 * tools/gst-inspect.c: (main):
15517 * tools/gst-launch.c: (main):
15518 * tools/gst-xmlinspect.c: (main):
15520 Add back --version command line option (#340460).
15522 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15523 Add --version option and use GOption for argument parsing; refactor a
15524 bit; accept directories as arguments and recurse into them; lastly,
15525 print a decent error message when things go wrong.
15527 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15529 * docs/manual/basics-bins.xml:
15530 Don't mention GstThread (#340611)
15531 * docs/manual/basics-elements.xml:
15532 Update link to GObject tutorial (#340607)
15534 2006-05-05 Wim Taymans <wim@fluendo.com>
15537 * gst/gstminiobject.c:
15538 Add note about refcounting and miniobject/buffer writeability
15539 to docs. Fixes #340604
15541 * gst/gstelementfactory.h:
15542 Added some explanation about @klass.
15544 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15546 * docs/manual/intro-motivation.xml:
15547 * docs/manual/manual.xml:
15548 Avoid CORBA & Bonobo references (#340598)
15550 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15552 * docs/manual/basics-bus.xml:
15553 * docs/manual/basics-pads.xml:
15554 Fix up some inaccuracies and omissions (#340609)
15556 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15558 * gst/gstghostpad.c:
15559 Small typo in docs (#340625)
15561 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15563 * gst/parse/Makefile.am:
15564 Make 'make -j' proof (see #340698).
15566 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15569 Require GLib-2.8 here as well.
15571 2006-05-05 Wim Taymans <wim@fluendo.com>
15573 * gst/glib-compat.c:
15574 * gst/gst.c: (init_pre):
15575 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15576 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15577 (gst_object_dispatch_properties_changed):
15579 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15580 * gst/gststructure.c: (gst_structure_set_valist):
15581 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15582 Remove pre glib2.8 compatibility, fixes #340508
15584 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15586 * gst/gsttaglist.h:
15587 Mention type of tags in doc blurbs.
15589 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15591 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15592 (gst_pad_configure_src), (gst_pad_push):
15593 Restore acceptcaps checking behaviour now that good plugins have
15596 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15598 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15605 * gst/gstmessage.c:
15609 * gst/parse/Makefile.am:
15610 * libs/gst/base/gstadapter.c:
15611 * libs/gst/base/gstbasesrc.c:
15612 * libs/gst/base/gstpushsrc.c:
15613 * libs/gst/base/gsttypefindhelper.c:
15614 * plugins/elements/gstfakesrc.c:
15615 * plugins/elements/gstidentity.c:
15616 Make sure gstprivate.h and/or config.h are
15617 always included first, otherwise some of our
15618 defines (like _FILE_OFFSET_BITS) might be
15619 redefined in the system headers. Fixes build
15620 on opensolaris (#340016).
15622 2006-05-04 Wim Taymans <wim@fluendo.com>
15624 * docs/libs/gstreamer-libs-sections.txt:
15625 API: addition: gst_adapter_take_buffer()
15627 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15628 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15629 (gst_adapter_available_fast):
15630 * libs/gst/base/gstadapter.h:
15631 Prepare for optimizing the hell out of this hugely inefficient
15633 Added gst_adapter_take_buffer() so we can at least start thinking
15634 about subbuffering and merging.
15635 Added some comments.
15637 * tests/check/Makefile.am:
15638 * tests/check/libs/adapter.c: (GST_START_TEST),
15639 (gst_adapter_suite), (main):
15640 Added GstAdapter check.
15642 2006-05-04 Wim Taymans <wim@fluendo.com>
15644 * docs/design/part-overview.txt:
15645 Fix some typos, add blurb about buffer flags.
15647 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15649 * docs/libs/gstreamer-libs-sections.txt:
15650 make sure GstBaseTransformClass shows up in the docs
15651 * libs/gst/base/gstbasetransform.c:
15652 * libs/gst/base/gstbasetransform.h:
15653 move docs so gtk-doc picks it up now
15655 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15657 * docs/libs/gstreamer-libs-sections.txt:
15658 add missing symbols to docs
15660 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15662 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15663 back out the newsegment handling change, see #340060 for ongoing
15666 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15668 * tools/gst-run.c: (get_candidates), (main):
15669 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15670 work); fix typo in error message. Fixes #340079.
15672 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15674 * common/Makefile.am:
15675 * docs/Makefile.am:
15676 * docs/faq/Makefile.am:
15677 * docs/gst/Makefile.am:
15678 * docs/libs/Makefile.am:
15679 * docs/manual/Makefile.am:
15680 * docs/plugins/Makefile.am:
15681 * docs/pwg/Makefile.am:
15682 * docs/slides/Makefile.am:
15684 * common/upload.mak:
15685 move upload.mak to common
15687 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15689 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15690 add more asserts on refcounts
15691 do more cleanup at end of tests
15692 fix test leaks showing in FC5
15694 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15696 * plugins/elements/gsttypefindelement.c:
15697 (gst_type_find_element_handle_event):
15698 reverted wrong change and reflowed code to avoid others falling into
15701 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15703 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15704 fix changelog entry about last collectpads change,
15705 add notes about proper fix
15707 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15710 * gst/gstregistry.c: (gst_registry_scan_path_level),
15711 (gst_registry_scan_path):
15712 * gst/gstregistry.h:
15713 only write out registry if it has changed, fixes #338339
15715 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15718 * gst/gstpipeline.c:
15719 * plugins/elements/gstcapsfilter.c:
15720 * plugins/elements/gstfakesink.c:
15721 * plugins/elements/gstfakesrc.c:
15722 * plugins/elements/gstfdsink.c:
15723 * plugins/elements/gstfdsrc.c:
15724 * plugins/elements/gstfilesink.c:
15725 * plugins/elements/gstfilesrc.c:
15726 * plugins/elements/gstidentity.c:
15727 * plugins/elements/gstqueue.c:
15728 * plugins/elements/gsttee.c:
15729 * plugins/elements/gsttypefindelement.c:
15730 (gst_type_find_element_handle_event):
15731 make GstElementDetails const
15733 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15735 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15736 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15737 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15738 more detailed debug and formatting cleanup,
15739 forward newsegments to src-pad (so that e.g. adder not eats them)
15741 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15743 * gst/gstutils.c: (gst_element_link_pads):
15744 cleanup double code
15746 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15748 * libs/gst/controller/gstcontroller.c:
15749 (gst_controller_sync_values):
15751 * tests/check/libs/controller.c: (GST_START_TEST),
15752 (gst_controller_suite):
15753 a new test for live value handling
15755 2006-04-28 Wim Taymans <wim@fluendo.com>
15757 * gst/gstutils.c: (push_and_ref):
15758 Added some more docs.
15759 Fix refcount issue whith gst_element_found_tags() helper
15760 function. Fixes #338335
15762 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15763 Added testsuite for gst_element_found_tags().
15765 2006-04-28 Michael Smith <msmith@fluendo.com>
15767 * gst/gstvalue.c: (gst_value_serialize_flags):
15768 Avoid NULL dereference when trying to serialize flags containing
15771 2006-04-28 Michael Smith <msmith@fluendo.com>
15773 * plugins/elements/gsttypefindelement.c:
15774 (gst_type_find_element_handle_event):
15775 If we get EOS before any data is accumulated, don't use
15776 uninitialised local variables.
15778 2006-04-28 Michael Smith <msmith@fluendo.com>
15780 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15781 (gst_dp_event_from_packet):
15782 Fixes in reading/writing events over GDP (not currently used?) -
15783 dereferencing NULL events for unknown/invalid event types, memory
15784 leak, and change g_warning to GST_WARNING.
15786 2006-04-28 Wim Taymans <wim@fluendo.com>
15788 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15789 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15790 (gst_base_sink_get_position), (gst_base_sink_change_state):
15791 When frame dropping is enabled, we should not ignore frames
15792 without a duration.
15793 Update some documentation.
15795 2006-04-28 Wim Taymans <wim@fluendo.com>
15797 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15798 (gst_base_src_send_event), (gst_base_src_change_state):
15799 Documentation updates.
15801 2006-04-28 Wim Taymans <wim@fluendo.com>
15803 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15804 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15805 handle EAGAIN, EINTR and short writes correctly. Also clean
15806 up some error cases, avoid a deadlock on bad file descriptors and
15807 use GST_DEBUG_OBJECT.
15810 2006-04-28 Wim Taymans <wim@fluendo.com>
15812 * gst/gstvalue.c: (gst_value_serialize_buffer),
15813 (gst_value_deserialize_buffer):
15814 Don't try to serialize a GValue with a NULL buffer.
15817 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15818 Added check for serialisation of NULL buffers.
15820 2006-04-28 Wim Taymans <wim@fluendo.com>
15822 * gst/gstminiobject.c: (gst_value_take_mini_object):
15823 Taking a NULL miniobject is valid, fix the case where
15824 we try to unref the NULL miniobject.
15826 2006-04-28 Wim Taymans <wim@fluendo.com>
15828 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15830 * gst/gstbin.c: (gst_bin_handle_message_func):
15832 Don't leak bin refcount when a state recalc is
15833 in progress and we delay another one #339808.
15835 2006-04-28 Wim Taymans <wim@fluendo.com>
15837 * docs/design/part-TODO.txt:
15838 Mention QoS as an ongoing work item.
15840 * docs/design/part-buffering.txt:
15841 New doc about buffering that needs to be fleshed out
15844 * docs/design/part-qos.txt:
15845 More QoS policy for decoders/demuxers/transforms
15847 * docs/design/part-trickmodes.txt:
15850 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15855 === release 0.10.5 ===
15857 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15860 releasing 0.10.5, "Fogo"
15862 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15864 patch by: Wim Taymans
15866 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15867 (gst_pad_configure_src), (gst_pad_push):
15868 * gst/gstpipeline.c: (gst_pipeline_init):
15869 Fix internal data flow errors. Fixes #338711.
15871 2006-04-12 Wim Taymans <wim@fluendo.com>
15873 * tests/check/gst/gstelement.c: (GST_START_TEST):
15874 Don't leak the factory.
15876 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15879 * win32/common/config.h:
15882 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15884 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15885 (gst_controller_unset_all):
15886 Free allocated GstTimedValues when freeing list nodes.
15887 Should fix leaks 'make check-valgrind' complains about.
15889 * win32/common/libgstcontroller.def:
15890 Add gst_controller_unset_all.
15892 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15894 * docs/libs/gstreamer-libs-sections.txt:
15895 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15896 (gst_controller_unset_all):
15897 * libs/gst/controller/gstcontroller.h:
15898 API: Added new method gst_controller_unset_all()
15899 fixed gst_controller_unset()
15900 * tests/check/libs/controller.c: (GST_START_TEST),
15901 (gst_controller_suite):
15902 Added two testcases for new and fixed method
15904 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15906 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15907 MSG_DONTWAIT is not defined on Cygwin, so work
15908 around that (fixes #317048).
15910 2006-04-11 Wim Taymans <wim@fluendo.com>
15912 * gst/gstelementfactory.c: (gst_element_register),
15913 (gst_element_factory_create), (gst_element_factory_make):
15916 Updated docs (Fixes #131079)
15918 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15921 * tests/check/gst/gstelement.c: (GST_START_TEST),
15922 (gst_element_suite):
15923 Added testcase for elementfactory class field.
15925 2006-04-10 Wim Taymans <wim@fluendo.com>
15927 * gst/gstsegment.c:
15928 Added some more docs.
15930 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15931 (gst_base_sink_reset_qos):
15932 Calculate more accurate rate values.
15934 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15936 * gst/gst_private.h:
15937 add a new #ifdef to use __declspec(dllimport) only for
15938 other modules and not for gstreamer core
15939 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15940 use gst_guint64_to_gdouble for conversion
15941 * win32/common/libgstreamer.def:
15942 add new exported functions
15943 * win32/vs6/gst_inspect.dsp:
15944 * win32/vs6/gst_launch.dsp:
15945 * win32/vs6/libgstbase.dsp:
15946 * win32/vs6/libgstcontroller.dsp:
15947 * win32/vs6/libgstcoreelements.dsp:
15948 * win32/vs6/libgstdataprotocol.dsp:
15949 * win32/vs6/libgstnet.dsp:
15950 update project files
15952 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15954 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15955 * gst/gstclock.c: (gst_clock_class_init):
15956 * gst/gstelement.c: (gst_element_class_init):
15957 * gst/gstindex.c: (gst_index_class_init):
15958 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15959 * gst/gstobject.c: (gst_object_class_init),
15960 (gst_signal_object_class_init):
15961 * gst/gstpad.c: (gst_pad_class_init):
15962 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15963 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15964 * gst/gstregistry.c: (gst_registry_class_init):
15965 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15966 * gst/gsttask.c: (gst_task_class_init):
15967 * gst/gstxml.c: (gst_xml_class_init):
15968 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15969 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15970 (gst_base_src_loop):
15971 * libs/gst/controller/gstcontroller.c:/
15972 (_gst_controller_class_init):
15973 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15974 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15975 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15976 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15977 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15978 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15980 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15982 * gst/gstpad.c: (gst_pad_link):
15983 Must set peer pads before calling the link function, otherwise
15984 a task started from a link function might get a flow-not-linked
15985 result when trying to push because the other thread where the
15986 linking happens hasn't had a chance to set the peers yet. This
15987 might happen for example when a queue gets linked to a downstream
15988 element, as queue starts a streaming task when its source pad
15989 gets linked. Happens in real life when playing back flac/musepack
15990 files in playbin (#332390).
15992 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15996 * libs/gst/base/gstadapter.h:
15997 * libs/gst/base/gstbasesink.h:
15998 * libs/gst/base/gstbasesrc.h:
15999 * libs/gst/base/gstbasetransform.h:
16000 * libs/gst/base/gstcollectpads.h:
16001 * libs/gst/base/gstpushsrc.h:
16002 Fix broken GObject macros
16004 2006-04-07 Wim Taymans <wim@fluendo.com>
16006 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16007 Initialize start and stop times, thanks valgrind.
16009 2006-04-07 Wim Taymans <wim@fluendo.com>
16011 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16012 Be a bit nicer to badly behaving upstream elements that expect
16013 us to deal with non TIME segments and timestamps (such as fakesrc
16016 2006-04-07 Wim Taymans <wim@fluendo.com>
16019 Small documentation clarification about the signal watch.
16021 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16022 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16023 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16024 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16025 (gst_base_sink_get_position_last),
16026 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16027 Convert and store timestamps in stream time and running time, the
16028 raw timestamps are not useful, also document this better.
16029 Use different window sizes for good and bad QoS observations so
16030 we react to badness a little quicker.
16031 Keep track of the amount of rendered and dropped buffers.
16032 Send QoS timestamps in running time.
16034 * libs/gst/base/gstbasetransform.c:
16035 (gst_base_transform_sink_eventfunc),
16036 (gst_base_transform_handle_buffer):
16037 Compare QoS timestamps against running time.
16039 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16042 Typo fixes in docs.
16044 2006-04-06 Michael Smith <msmith@fluendo.com>
16046 * gst/gstpad.c: (gst_pad_set_property):
16047 Use g_value_get_object() instead of g_value_dup_gst_object(),
16048 to avoid double-reffing the pad template (which we then sink,
16049 so this worked previously if (and only if) the pad template
16052 * gst/gstpadtemplate.c: (gst_pad_template_init),
16053 (gst_pad_template_pad_created):
16054 Never return floating references to pad templates, create
16055 them as initially-sunken.
16057 Document an extra function (and make this stop sinking our
16058 pad template, since that is now guaranteed to do nothing,
16059 since we created it sunken).
16061 * gst/gstghostpad.c:
16064 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16066 * gst/gstinfo.c: (__gst_in_valgrind):
16069 * plugins/elements/gsttypefindelement.c:
16070 (gst_type_find_element_chain):
16071 Don't leak buffer caps.
16073 2006-04-06 Michael Smith <msmith@fluendo.com>
16075 * gst/parse/grammar.y:
16076 Fix a leak in parse-launch for any source-or-sink named element
16079 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16080 Unref the pipeline if it exists after we've failed parsing.
16082 2006-04-05 Michael Smith <msmith@fluendo.com>
16084 * gst/gstpipeline.c: (gst_pipeline_init):
16085 When we create a pipeline bus, initially create it in flushing mode.
16086 Fixes leaks in at least one test, and makes a new pipeline work the
16087 same as one that has gone to READY and then back to NULL.
16089 * gst/gstelement.c:
16092 2006-04-05 Michael Smith <msmith@fluendo.com>
16094 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16095 Unref a pad we reffed.
16096 * tests/check/gst/gstutils.c: (GST_START_TEST):
16099 2006-04-05 Michael Smith <msmith@fluendo.com>
16101 * gst/gstquery.c: (gst_query_set_formats),
16102 (gst_query_set_formatsv):
16103 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16105 2006-04-05 Michael Smith <msmith@fluendo.com>
16107 * tests/check/generic/sinks.c: (GST_START_TEST):
16108 Fix a variety of memleaks in sinks check, which are only sometimes
16109 shown by running the tests under valgrind (weird?).
16111 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16113 * docs/version.entities.in:
16114 Fix the substituted entity name after thomas' changes on the
16117 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16119 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16122 2006-04-05 Andy Wingo <wingo@pobox.com>
16124 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16126 * libs/gst/base/gstbasetransform.c
16127 (gst_base_transform_sink_eventfunc): When resetting our segment on
16128 FLUSH_STOP, also update the flag saying we haven't seen a
16131 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16133 Patch by: Paolo Borelli <pborelli at katamail dot com>
16135 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16136 (gst_plugin_check_license):
16137 minor clean-ups: G_DEFINE_TYPE already takes care of the
16138 parent_class stuff, no need to do it twice. Mark array of
16139 license strings as constant. (#337103)
16141 2006-04-04 Michael Smith <msmith@fluendo.com>
16143 * tools/gst-inspect.c: (print_element_list):
16144 Free the right plugin list; fixes a memory leak.
16146 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16148 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16150 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16151 Don't error out on empty buffers (#336945).
16153 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16155 * docs/libs/gstreamer-libs-sections.txt:
16156 * gst/gsttaglist.c:
16157 * libs/gst/base/gstbasesink.c:
16158 * libs/gst/base/gstbasesink.h:
16159 * libs/gst/base/gstbasesrc.c:
16160 * libs/gst/base/gstbasesrc.h:
16161 Documentation updates. Make BaseSink and BaseSrc docs contain the
16162 class structure so that people can actually see the prototypes for
16163 virtual functions they're supposed to be overriding.
16165 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16167 * plugins/elements/gsttypefindelement.c:
16168 (gst_type_find_element_chain):
16169 More debug info; when skipping typefinding, send cached
16170 events in all cases.
16172 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16175 use new AS_VERSION and AS_NANO macros
16176 * gst/gst-i18n-lib.h:
16179 * gst/gstversion.h.in:
16180 * win32/common/config.h:
16181 * win32/common/config.h.in:
16184 2006-03-31 Michael Smith <msmith@fluendo.com>
16186 * plugins/elements/gsttypefindelement.c:
16187 (gst_type_find_element_chain):
16188 Do not typefind content if the buffers already have caps.
16189 Neccesary for icydemux (#333657), and the right thing to do anyway.
16191 2006-03-30 Wim Taymans <wim@fluendo.com>
16193 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16194 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16195 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16196 (gst_base_sink_record_qos_observation),
16197 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16198 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16199 (gst_base_sink_change_state):
16200 More QoS measurements as described in the design doc.
16201 Get rid of ringbuffer with observations, running average is
16202 more simple and equally good.
16203 Calculates valid proportion now.
16204 Added beginning of flood measurement.
16206 2006-03-29 Wim Taymans <wim@fluendo.com>
16208 * docs/design/part-qos.txt:
16210 Small documentation updates and additions.
16212 2006-03-29 Wim Taymans <wim@fluendo.com>
16214 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16215 (gst_base_src_send_event), (gst_base_src_loop),
16216 (gst_base_src_change_state):
16217 Perform the EOS logic when we reach the segment stop position.
16218 Fix compilation on gcc4.1
16220 2006-03-29 Wim Taymans <wim@fluendo.com>
16222 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16224 * plugins/elements/gstqueue.c: (gst_queue_init),
16225 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16226 (gst_queue_set_property):
16227 * plugins/elements/gstqueue.h:
16228 In queue, when EOS is received, if minimum threshold > max_size -
16229 current_level, there is chance that queue blocks forever in conditional
16230 item del wait. This is because the queue is not emptied completely due
16231 to minimum threshold. Here is another approach. Instead of setting
16232 cur_levels to max in EOS, just zero all minimum threshold levels. This
16233 should make sure that queue gives out all data. When going to READY
16234 (stop) state, just reset the original minimum threshold levels.
16237 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16239 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16240 (gst_type_find_element_handle_event),
16241 (gst_type_find_element_send_cached_events),
16242 (gst_type_find_element_change_state):
16243 * plugins/elements/gsttypefindelement.h:
16244 When typefinding is done in push mode, we should cache
16245 events we receive during typefinding instead of just
16246 dropping them (e.g. newsegment, custom events from
16247 dvdreadsrc etc.) and then send them out once we've
16248 determined the type of the stream (and decodebin
16249 has had a chance to plug in a decoder/demuxer).
16251 2006-03-27 Wim Taymans <wim@fluendo.com>
16253 * docs/design/part-qos.txt:
16256 2006-03-27 Wim Taymans <wim@fluendo.com>
16258 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16260 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16261 (gst_base_src_send_event), (gst_base_src_change_state):
16262 Handle element seek correctly when we are streaming.
16265 2006-03-24 Michael Smith <msmith@fluendo.com>
16267 * docs/faq/gst-uninstalled:
16268 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16269 allow you to correctly run intalled applications built against old
16270 core, using plugins that require updated core (e.g. running
16271 installed totem against a full uninstalled gstreamer stack)
16273 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16275 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16278 2006-03-24 Wim Taymans <wim@fluendo.com>
16280 * docs/gst/gstreamer-sections.txt:
16281 Rearrange the order of the methods so that related methods
16282 are grouped together in sections.
16284 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16286 * gst/gstelement.c:
16287 Little clarification in the docs
16289 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16293 * plugins/elements/gstidentity.c:
16294 * plugins/elements/gstqueue.c:
16295 * plugins/elements/gsttee.c:
16296 * plugins/elements/gsttypefindelement.c:
16297 GST_ELEMENT_DETAILS formatting
16299 2006-03-24 Wim Taymans <wim@fluendo.com>
16301 * libs/gst/base/gstbasesink.h:
16302 Only add fields, not insert or we break ABI.
16304 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16306 * win32/common/libgstbase.def:
16307 * win32/common/libgstreamer.def:
16308 Update, add recently added functions.
16310 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16312 * docs/gst/gstreamer-sections.txt:
16313 * gst/gstutils.c: (gst_pad_query_peer_position),
16314 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16316 API: add some new utility functions:
16317 - gst_pad_query_peer_position()
16318 - gst_pad_query_peer_duration()
16319 - gst_pad_query_peer_convert()
16321 2006-03-23 Wim Taymans <wim@fluendo.com>
16323 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16324 (gst_base_sink_init), (gst_base_sink_finalize),
16325 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16326 (gst_base_sink_set_property), (gst_base_sink_get_property),
16327 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16328 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16329 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16330 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16331 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16332 (gst_base_sink_preroll_object), (gst_base_sink_event),
16333 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16334 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16335 (gst_base_sink_query), (gst_base_sink_change_state):
16336 Decouple max-lateness and the fact that QoS messages are generated
16337 with a new property (qos).
16338 added API: GstBaseSink::async_play()
16339 Add vmethod so subclasses can be notified of ASYNC playing
16341 Collect timestamp start and stop to report better current
16342 position in EOS/PLAYING/PAUSED/READY/NULL.
16343 Refactor QoS/frame dropping and other measurements.
16344 API: GstBaseSrc::qos
16347 * libs/gst/base/gstbasesink.h:
16348 Added Private struct.
16349 API: gst_base_sink_set_qos_enabled()
16350 API: gst_base_sink_is_qos_enabled()
16352 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16354 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16355 If compiling against GLib-2.8 or newer, try to read the
16356 registry file using GMappedFile first before falling back
16357 to fopen() + fread() (#332151).
16359 2006-03-22 Wim Taymans <wim@fluendo.com>
16361 * gst/gstinfo.c: (gst_debug_set_active),
16362 (gst_debug_category_set_threshold):
16363 Disable debugging unless explicitly activated.
16366 2006-03-22 Wim Taymans <wim@fluendo.com>
16368 * gst/gstelement.c: (gst_element_set_locked_state),
16369 (gst_element_dispose):
16370 Cleanup the error case.
16372 * gst/gstobject.c: (gst_object_dispose):
16373 print a critical when some object was disposed with
16374 a parent, also revive the object since it might
16377 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16379 * tools/gst-launch.1.in:
16382 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16385 * tests/check/Makefile.am:
16386 disable some tests when we don't have a registry
16387 * tests/check/gst/gstutils.c: (gst_utils_suite):
16388 don't build the part that needs parsing
16390 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16393 * tests/examples/Makefile.am:
16394 fix --disable-parse build
16396 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16398 * tools/gst-feedback.1.in:
16399 Fix typo: s/feeback/feedback/ (#133494).
16401 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16403 * tools/Makefile.am:
16404 * tools/gst-launch.1.in:
16405 Add FILES section and correct entry about GST_REGISTRY_PATH
16406 environment variable (#133495; #133494).
16408 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16410 * tools/Makefile.am:
16411 * tools/gst-md5sum.1.in:
16412 * tools/gst-md5sum.c:
16413 Remove gst-md5sum and man page (the md5sink element
16414 required was removed ages ago)
16416 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16418 * gst/gststructure.c: (gst_structure_id_set_value):
16419 Make sure that string fields in structures/taglists
16420 contain valid UTF-8 - we don't want to pass rubbish to
16421 applications because of a buggy plugin (cp. #334167).
16423 2006-03-21 Edward Hervey <edward@fluendo.com>
16425 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16426 (gst_bin_handle_message_func):
16427 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16428 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16429 (gst_element_set_bus_func):
16430 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16431 * gst/gstminiobject.c: (gst_value_set_mini_object),
16432 (gst_value_take_mini_object):
16433 * gst/gstpad.c: (gst_pad_set_pad_template):
16434 * gst/gstpipeline.c: (gst_pipeline_dispose),
16435 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16436 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16437 (gst_collect_pads_chain):
16438 * libs/gst/net/gstnettimeprovider.c:
16439 (gst_net_time_provider_set_property):
16440 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16441 It's in fact all issues with gst_*object_replace().
16443 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16445 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16447 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16448 * pkgconfig/gstreamer-check.pc.in:
16449 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16451 2006-03-21 Edward Hervey <edward@fluendo.com>
16455 * gst/gstmessage.h:
16456 gst_[buffer|event|message]_ref() macros are replaced by a static
16457 inline functions because gcc-4.1 will about if the return value
16459 * tests/check/gst/gstevent.c: (event_probe):
16460 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16462 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16465 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16466 the type' case. (Closes: #335195 for now). In the future, when we
16467 depend on GLib 2.10, we could also intern the type name using
16468 g_intern_static_string()
16470 2006-03-20 Wim Taymans <wim@fluendo.com>
16472 * gst/gstbin.c: (gst_bin_handle_message_func),
16473 (bin_query_max_init), (bin_query_position_fold),
16474 (bin_query_position_done), (gst_bin_query):
16475 Position query should also take max of all streams.
16477 2006-03-20 Wim Taymans <wim@fluendo.com>
16479 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16480 (gst_fake_src_finalize):
16481 Fix leaks in fakesrc.
16483 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16484 Fix leaks in the testcase.
16486 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16488 * gst/gst_private.h:
16489 add win32 specific import decoration(__declspec(dllimport))
16490 for all extern GstDebugCategory * variables
16491 * win32/common/libgstbase.def:
16492 * win32/common/libgstcontroller.def:
16493 * win32/common/libgstreamer.def:
16494 Add some exports, remove empty lines
16495 * win32/common/libgstdataprotocol.def:
16496 * win32/common/libgstdataprotocol.dsp:
16497 * win32/common/libgstnet.def:
16498 * win32/common/libgstnet.dsp:
16499 new project files and exportation files added
16501 2006-03-19 Wim Taymans <wim@fluendo.com>
16503 * tests/check/libs/basesrc.c: (eos_event_counter):
16504 Use proper return value for probe.
16506 2006-03-17 Wim Taymans <wim@fluendo.com>
16508 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16510 Don't leak buffers, caps and pads on negotiation errors.
16512 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16514 * docs/faq/cvs.xml:
16515 * docs/faq/dependencies.xml:
16516 * docs/faq/developing.xml:
16517 * docs/faq/faq.xml:
16518 * docs/faq/general.xml:
16519 * docs/faq/getting.xml:
16520 * docs/faq/legal.xml:
16521 * docs/faq/troubleshooting.xml:
16522 * docs/faq/using.xml:
16523 Faq review and update.
16525 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16527 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16529 Don't pound the cpu to pieces by checking get_caps when accept_caps
16530 is called with the same caps as the pad already has.
16531 Use GST_DEBUG_OBJECT when outputting caps change information.
16533 2006-03-15 Wim Taymans <wim@fluendo.com>
16535 * gst/gstclock.c: (gst_clock_class_init):
16538 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16543 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16544 (gst_pad_accept_caps), (gst_pad_configure_sink),
16545 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16546 Make the default acceptcaps behaviour be to check the requested
16547 caps against the gst_pad_get_caps output.
16549 Ensure that gst_pad_accept_caps is used to check caps when a pad
16550 doesn't have a setcaps function, so that pads automatically refuse
16551 caps that they don't allow in their pad template. (Fixes #332986)
16553 When a buffer with attached caps is pushed, ensure that the source
16554 pad receives those caps even if the element didn't call
16555 gst_pad_set_caps first.
16557 2006-03-15 Wim Taymans <wim@fluendo.com>
16559 * libs/gst/base/gstadapter.c:
16562 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16564 * win32/common/libgstbase.def:
16565 * win32/common/libgstcontroller.def:
16566 * win32/common/libgstreamer.def:
16567 Add a whole bunch of missing functions (#334434).
16569 2006-03-14 Wim Taymans <wim@fluendo.com>
16571 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16572 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16573 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16574 Better debug info when we receive a segment event.
16575 Reorganize a bit so we can pass the get_times() results around.
16576 Use the segment format when calculating the running time.
16577 Don't do QoS is sync is disabled or we have no clock or the
16578 element does not want us to sync to the clock.
16579 Don't drop buffers if QoS is disabled for now.
16581 2006-03-14 Wim Taymans <wim@fluendo.com>
16583 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16584 Marked the stats property as unimplemented so people don't get
16586 Add debug message when regression goes wrong.
16587 Added some more docs.
16589 2006-03-14 Wim Taymans <wim@fluendo.com>
16591 * gst/gstsegment.c: (gst_segment_to_stream_time):
16592 Return correct return type in case of errors.
16594 2006-03-14 Wim Taymans <wim@fluendo.com>
16596 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16597 Don't segfault on invalid formats.
16599 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16601 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16602 Can't use gst_segment_to_running_time() when the segment
16603 is not in GST_TIME_FORMAT (like with filesink, for example).
16604 Stops flac encoding pipelines from spewing critical warnings
16607 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16609 * gst/gstpipeline.c: (gst_pipeline_class_init):
16610 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16612 * plugins/elements/gsttypefindelement.c:
16613 (gst_type_find_element_handle_event):
16614 Don't try to typefind empty streams.
16616 2006-03-14 Wim Taymans <wim@fluendo.com>
16618 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16619 (gst_base_sink_do_qos):
16620 Separate QoS calculation.
16621 Only drop buffers when lateness is bigger than the
16622 duration of the buffer.
16624 2006-03-13 Wim Taymans <wim@fluendo.com>
16626 * gst/gstpipeline.c: (gst_pipeline_set_property),
16627 (gst_pipeline_get_property), (do_pipeline_seek),
16628 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16629 (gst_pipeline_get_delay):
16630 Don't deadlock when reading properties.
16632 2006-03-13 Wim Taymans <wim@fluendo.com>
16634 * libs/gst/base/gstbasetransform.c:
16635 (gst_base_transform_class_init), (gst_base_transform_init),
16636 (gst_base_transform_sink_event),
16637 (gst_base_transform_sink_eventfunc),
16638 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16639 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16640 (gst_base_transform_set_property),
16641 (gst_base_transform_get_property),
16642 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16643 (gst_base_transform_set_qos_enabled),
16644 (gst_base_transform_is_qos_enabled):
16645 * libs/gst/base/gstbasetransform.h:
16646 Make basetransform virtual method for src events too.
16647 Handle QOS in basetransform.
16648 API: gst_base_transform_update_qos()
16649 API: gst_base_transform_set_qos_enabled()
16650 API: gst_base_transform_is_qos_enabled()
16652 2006-03-13 Wim Taymans <wim@fluendo.com>
16654 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16655 (gst_base_sink_do_sync):
16657 Use QOS debug category.
16659 2006-03-13 Wim Taymans <wim@fluendo.com>
16661 * plugins/elements/gstqueue.c:
16662 Very small doc update.
16664 2006-03-13 Wim Taymans <wim@fluendo.com>
16666 * gst/gst_private.h:
16667 * gst/gstinfo.c: (_gst_debug_init):
16668 Added QOS debug category
16670 2006-03-13 Wim Taymans <wim@fluendo.com>
16672 * docs/gst/gstreamer-sections.txt:
16673 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16675 * gst/gstbus.c: (gst_bus_class_init):
16678 * gst/gstelement.c: (gst_element_set_locked_state):
16679 * gst/gstsegment.c:
16680 Documentation updates.
16682 * gst/gstpipeline.c: (gst_pipeline_get_type),
16683 (gst_pipeline_class_init), (gst_pipeline_init),
16684 (gst_pipeline_dispose), (gst_pipeline_set_property),
16685 (gst_pipeline_get_property), (do_pipeline_seek),
16686 (gst_pipeline_send_event), (gst_pipeline_change_state),
16687 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16688 (gst_pipeline_get_delay):
16689 * gst/gstpipeline.h:
16690 Added methods for setting the delay.
16691 API: gst_pipeline_set_delay()
16692 API: gst_pipeline_get_delay()
16693 Add pipeline debug category
16696 Don't reset stream time when seek failed.
16698 2006-03-13 Wim Taymans <wim@fluendo.com>
16700 * docs/design/draft-klass.txt:
16701 * docs/design/part-clocks.txt:
16702 * docs/design/part-events.txt:
16703 * docs/design/part-gstbin.txt:
16704 * docs/design/part-gstpipeline.txt:
16705 * docs/design/part-messages.txt:
16706 * docs/design/part-negotiation.txt:
16707 * docs/design/part-overview.txt:
16708 * docs/design/part-preroll.txt:
16709 * docs/design/part-seeking.txt:
16710 * docs/design/part-states.txt:
16711 * docs/design/part-streams.txt:
16712 Documentation updates.
16714 2006-03-12 Julien MOUTTE <julien@moutte.net>
16716 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16717 us to leak strings...
16719 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16721 * libs/gst/net/gstnettimeprovider.c:
16723 * win32/common/config.h:
16726 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16728 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16731 Don't check for libgnomeui (leftover from old examples
16732 that aren't built or disted any longer) (#334303).
16734 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16736 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16737 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16738 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16739 there's no space left on the device.
16741 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16744 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16745 to cast the input to GstClockTime before comparing with
16746 another GstClockTime value.
16748 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16753 === release 0.10.4 ===
16755 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16758 releasing 0.10.4, "Light"
16760 2006-03-10 Michael Smith <msmith@fluendo.com>
16762 * libs/gst/dataprotocol/dataprotocol.c:
16763 Fix docs for dataprocotol to not get the return types completely
16764 wrong for a few functions.
16766 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16768 * docs/gst/gstreamer-sections.txt:
16769 * gst/gstpipeline.c: (gst_pipeline_class_init),
16770 (gst_pipeline_init), (gst_pipeline_set_property),
16771 (gst_pipeline_get_property), (gst_pipeline_change_state),
16772 (gst_pipeline_set_auto_flush_bus),
16773 (gst_pipeline_get_auto_flush_bus):
16774 * gst/gstpipeline.h:
16775 Add new API: gst_pipeline_set_auto_flush_bus() and
16776 gst_pipeline_get_auto_flush_bus() to disable automatic
16777 flushing of the pipeline's GstBus when going from READY
16778 to NULL state (#332045).
16780 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16782 * docs/gst/gstreamer-sections.txt:
16783 * gst/gsturi.c: (gst_uri_has_protocol):
16785 Add new API: gst_uri_has_protocol() (#333779).
16787 2006-03-09 Wim Taymans <wim@fluendo.com>
16789 * gst/gstclock.c: (gst_clock_entry_new),
16790 (gst_clock_id_compare_func), (gst_clock_id_wait),
16791 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16792 (gst_clock_init), (gst_clock_get_internal_time),
16793 (gst_clock_set_master), (do_linear_regression),
16794 (gst_clock_add_observation), (gst_clock_set_property):
16798 Fix a possible segfault when the window-size is made smaller.
16799 Calculate jitter before performing the clock wait. Ideally
16800 the clock implementation should calculate jitter but we need
16801 API breakage for that.
16803 * gst/gstsystemclock.c: (gst_system_clock_init):
16806 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16807 Remove leftover else
16809 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16810 (gst_systemclock_suite):
16811 Added check to test GST_CLOCK_DIFF.
16813 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16815 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16816 (gst_type_find_helper_get_range):
16817 If we are provided with the size, we should implement
16818 GstTypeFind::get_length, so that typefind functions who
16819 want to can actually peek at the middle of a file.
16821 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16823 * docs/manual/advanced-dataaccess.xml:
16824 Add some very very basic error checking.
16826 * docs/pwg/appendix-checklist.xml:
16827 Some updates to the list of things to check when writing an element.
16829 2006-03-08 Wim Taymans <wim@fluendo.com>
16831 * docs/design/part-element-transform.txt:
16832 Added some docs about the design of tranform elements.
16834 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16835 (gst_base_src_loop), (gst_base_src_change_state):
16836 Mark buffers with the DISCONT flag.
16838 2006-03-08 Michael Smith <msmith@fluendo.com>
16840 * gst/gstregistry.h:
16841 * gst/gstregistryxml.c: (gst_registry_save),
16842 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16843 (gst_registry_xml_save_pad_template),
16844 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16845 (gst_registry_xml_write_cache):
16846 Rewrite registry-saving to avoid race conditions and check for
16849 2006-03-08 Wim Taymans <wim@fluendo.com>
16851 * libs/gst/base/gstbasetransform.c:
16852 (gst_base_transform_transform_caps),
16853 (gst_base_transform_transform_size),
16854 (gst_base_transform_prepare_output_buffer),
16855 (gst_base_transform_get_unit_size),
16856 (gst_base_transform_buffer_alloc),
16857 (gst_base_transform_handle_buffer),
16858 (gst_base_transform_change_state):
16859 Cleanups, separate normal flow from errors, add sensible
16861 Don't try to renegotiate when allocating an output buffer.
16862 Also copy DISCONT buffer flag when copying a buffer.
16863 Reset the transform after we finish streaming, not during.
16865 2006-03-08 Wim Taymans <wim@fluendo.com>
16867 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16868 Use last buffer timestamp in qos message.
16870 2006-03-07 Wim Taymans <wim@fluendo.com>
16872 Patch by: Christophe Fergeau
16874 * docs/pwg/advanced-tagging.xml:
16875 * docs/pwg/building-pads.xml:
16878 2006-03-07 Wim Taymans <wim@fluendo.com>
16880 * docs/libs/gstreamer-libs-sections.txt:
16881 Added basesink new methods.
16885 Docs updates. Flesh out the QoS docs.
16887 * libs/gst/base/gstadapter.c:
16888 Small doc clarification about ownership and flushing.
16890 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16891 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16892 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16893 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16894 * libs/gst/base/gstbasesink.h:
16896 Added new methods to allow subclass to control max-lateness
16898 Generate very basic QoS events based on last sync observation.
16899 Updated docs, fix typo, added some QoS blurb.
16901 * libs/gst/base/gstbasesrc.c:
16902 Remove obsolete _get_state() calls from docs.
16904 2006-03-07 Wim Taymans <wim@fluendo.com>
16906 * docs/libs/gstreamer-libs-sections.txt:
16907 * libs/gst/base/gstbasetransform.h:
16908 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16909 Fix docs for GstBaseSrc.
16911 2006-03-07 Wim Taymans <wim@fluendo.com>
16913 * docs/gst/gstreamer-sections.txt:
16916 * libs/gst/base/gstbasetransform.h:
16917 Small documentation fixes.
16919 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16922 Document thread-unsafety of gst_value_register_foo_func()
16923 when used at the same time as gst_value_foo() (#322628).
16925 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16927 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16928 (gst_push_src_check_get_range):
16929 Push sources don't support pull mode by default.
16931 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16933 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16934 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16935 (gst_base_src_default_check_get_range):
16936 * libs/gst/base/gstbasesrc.h:
16937 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16938 provide default implementation, and rename
16939 gst_base_src_check_get_range() to
16940 gst_base_src_pad_check_get_range() for clarity.
16942 2006-03-06 Wim Taymans <wim@fluendo.com>
16944 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16945 Make property overridable.
16947 2006-03-06 Wim Taymans <wim@fluendo.com>
16949 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16950 (gst_base_sink_init), (gst_base_sink_set_property),
16951 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16952 * libs/gst/base/gstbasesink.h:
16953 API addition: Make max-lateness a property.
16955 2006-03-06 Wim Taymans <wim@fluendo.com>
16957 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16958 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16959 Don't ever draw a frame that is >10ms late.
16961 2006-03-06 Michael Smith <msmith@fluendo.com>
16963 * gst/gstmessage.c: (_gst_message_copy):
16964 When copying a message, set the parent_refcount of the enclosed
16965 structure to point at the copy, not the original message.
16967 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16969 Patch by: Christophe Fergeau
16972 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16973 usable in c++ code (#333417)
16975 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16978 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16980 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16982 * libs/gst/base/gstbasetransform.c:
16983 (gst_base_transform_transform_caps):
16984 Make sure caps are writable before passing them to
16987 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16990 Fix some minor docs errors.
16992 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16994 Patch by: Ross Burton <ross at burtonini dot com>
16996 * gst/gsterror.c: (_gst_resource_errors_init):
16998 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17000 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17003 Add a check and output a g_warning when GStreamer is built
17004 against GLib 2.6 but running against 2.8 or higher, and vice
17005 versa. (Closes: #323542)
17007 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17009 * gst/parse/parse.l:
17010 Commit patch for parse_launch syntax from #331255. Removes
17011 support for quoted strings and mimetypes when writing filtered
17012 caps. See the bug report for more details - I'm pretty sure this
17013 obscure feature is not in use by _anyone_ anywhere.
17015 With this simple change, the size of the gstreamer.so here
17016 drops from 2193KB to 1565KB.
17018 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17020 * plugins/elements/gsttypefindelement.h:
17021 * plugins/elements/gsttypefindelement.c:
17022 (gst_type_find_element_src_event), (start_typefinding),
17023 (stop_typefinding), (gst_type_find_element_handle_event),
17024 (gst_type_find_element_chain),
17025 (gst_type_find_element_chain_do_typefinding):
17026 Use gst_type_find_helper_for_buffer() for chain-based
17029 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17031 * plugins/elements/gsttypefindelement.c:
17032 (gst_type_find_element_class_init),
17033 (gst_type_find_element_set_property),
17034 (gst_type_find_element_get_property):
17035 Deprecate "maximum" property (not only was it only taken into
17036 account for typefinding in push-mode anyway, it also was never
17037 actually possible to set it in the first place because the
17038 property was registered with the numeric property ID for the
17039 "minimum" property). Register "maximum" property correctly,
17040 for the sake of future copy'n'pasters. Remove some cruft
17041 from property get/set functions.
17043 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17045 * plugins/elements/gsttypefindelement.c:
17046 (gst_type_find_element_activate):
17047 Use gst_type_find_helper_get_range() here, so we
17048 can honour the "minimum" property and also emit
17049 the signal with the correct probability of the found caps.
17051 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17053 * docs/libs/gstreamer-libs-sections.txt:
17054 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17055 (helper_find_suggest), (gst_type_find_helper_get_range),
17056 (gst_type_find_helper):
17057 * libs/gst/base/gsttypefindhelper.h:
17058 New API: gst_type_find_helper_get_range() (#333042).
17060 2006-03-02 Michael Smith <msmith@fluendo.com>
17062 * gst/gstregistryxml.c: (load_feature):
17063 Asserting on a failure to read part of the registry is Not Cool.
17064 Just log a warning and return NULL (which is already handled)
17066 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17068 * win32/common/libgstbase.def:
17069 added export of gst_type_find_helper_for_buffer
17070 * win32/common/libgstbase.def:
17071 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17072 gst_ghost_pad_get_target
17074 2006-02-28 Wim Taymans <wim@fluendo.com>
17076 * docs/design/draft-klass.txt:
17078 Added Connector to mark elements that are only used to
17079 allow pipeline connections.
17080 Moved Debug to extra feature since most of them are
17081 functionally something else.
17083 2006-02-28 Wim Taymans <wim@fluendo.com>
17085 * docs/design/draft-klass.txt:
17086 Some updates and clarifications.
17088 2006-02-28 Wim Taymans <wim@fluendo.com>
17090 * docs/design/draft-klass.txt:
17091 Proposal for klass field values.
17093 * docs/design/part-streams.txt:
17094 Start of a doc describing stream anatomy.
17096 2006-02-28 Wim Taymans <wim@fluendo.com>
17098 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17099 Help the compiler a bit with type registration.
17100 Use existing forward cod path instead of duplicating it when
17101 handling a message.
17103 * gst/gstbus.c: (gst_bus_get_type):
17104 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17105 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17106 * gst/gstclock.c: (gst_clock_get_type):
17107 * gst/gstelement.c: (gst_element_get_type),
17108 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17109 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17110 * gst/gstminiobject.c: (gst_mini_object_get_type):
17111 * gst/gstpad.c: (gst_pad_get_type):
17112 * gst/gstsegment.c: (gst_segment_get_type):
17113 * gst/gststructure.c: (gst_structure_get_type):
17114 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17115 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17117 Help compiler with type registration.
17119 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17122 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17124 * plugins/elements/gsttypefindelement.c:
17125 (gst_type_find_element_handle_event):
17126 When we get an EOS event and have not found a type yet
17127 (most likely because we had not yet accumulated
17128 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17129 type given the data we have so far. Fixes typefinding
17130 for very short streams again, most notably quicktime
17131 redirections as used on Apple's trailer site (#331701).
17133 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17135 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17136 (gst_type_find_helper):
17137 Try typefinding factories with the highest rank first.
17139 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17141 * docs/libs/gstreamer-libs-docs.sgml:
17142 * docs/libs/gstreamer-libs-sections.txt:
17143 * libs/gst/base/gsttypefindhelper.c:
17144 Add section for typefind helper and add documentation
17145 for the old and the new function.
17147 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17149 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17150 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17151 (gst_type_find_helper_for_buffer):
17152 * libs/gst/base/gsttypefindhelper.h:
17153 New API: gst_type_find_helper_for_buffer() (#332723).
17155 2006-02-27 Michael Smith <msmith@fluendo.com>
17157 Patch by: Loïc Minier
17160 * docs/Makefile.am:
17161 * docs/slides/Makefile.am:
17162 prevent CVS directories getting disted.
17164 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17166 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17167 Use the REFCOUNTING category for caps refcounting.
17169 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17171 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17172 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17174 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17176 * plugins/elements/gsttypefindelement.c:
17177 (gst_type_find_element_activate):
17178 Use gst_pad_check_pull_range() before _activate_pull()
17179 to avoid unnecessary open/close (see #331690).
17181 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17184 Docs enhancement: make it crystal clear what the
17185 gst_pad_add_*_probe() callbacks should look like.
17187 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17189 * libs/gst/base/gstbasesrc.c:
17190 Document how applications can stop recording from
17191 live sources (see #330996).
17193 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17195 * tests/check/Makefile.am:
17196 * tests/check/libs/basesrc.c: (eos_event_counter),
17197 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17198 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17199 (gst_basesrc_suite), (main):
17200 ... and add some tests for the base source EOS stuff.
17202 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17204 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17205 Test case originally showed the problem fixed below,
17206 but was then amended. Add checks back at the place
17207 where they used to be.
17209 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17211 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17212 (gst_base_src_init), (gst_base_src_loop),
17213 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17214 (gst_base_src_change_state):
17215 * libs/gst/base/gstbasesrc.h:
17216 Don't unconditionally send EOS when going from PAUSED to
17217 READY state, esp. make sure we don't send two EOS events
17218 in some cases (e.g. one when reaching EOS and one when
17219 going from PAUSED to READY). Also, we don't want to send
17220 EOS events when operating in pull mode. However, we do
17221 want to send an EOS event when shutting down a live
17222 source explicitly, for example (fixes #330996).
17224 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17226 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17227 Update src->read_position after a seek when not using mmap.
17228 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17230 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17236 Make things work with --disable-parse as they do with
17237 --disable-load-save - the symbols involved disappear, but the
17238 header is still installed and GST_DISABLE_PARSE is included via
17241 2006-02-20 Julien MOUTTE <julien@moutte.net>
17243 * libs/gst/base/gstbasetransform.c:
17244 (gst_base_transform_change_state): Fix a stupid bug. I was
17245 sure I compiled that.
17247 2006-02-20 Julien MOUTTE <julien@moutte.net>
17249 * gst/gstpad.c: (gst_pad_set_blocked_async):
17250 * gst/gstutils.c: (gst_pad_add_data_probe),
17251 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17252 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17253 (gst_pad_remove_buffer_probe): Make those function act on the
17254 ghostpad target when it's a ghostpad. (Closes #331727)
17256 2006-02-20 Julien MOUTTE <julien@moutte.net>
17258 * libs/gst/base/gstbasetransform.c:
17259 (gst_base_transform_change_state): Make basetransform reusable.
17262 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17264 * docs/random/release:
17265 Move the current documentation of how to do a release to the top
17268 * gst/gstbin.c: (gst_bin_class_init),
17269 (gst_bin_handle_message_func):
17270 Allow multiple state-recalculation threads. (Closes #328873)
17272 2006-02-19 Julien MOUTTE <julien@moutte.net>
17274 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17275 * gst/gstpad.c: (gst_pad_set_event_function),
17276 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17277 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17278 2 strings. You can't use the STR_NULL macro on that.
17280 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17282 * gst/gstpad.c: (gst_pad_set_event_function),
17283 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17284 (gst_pad_set_getcaps_function)
17285 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17286 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17287 So now, we can use --gst-debug-level=5 on Windows
17288 * win32/common/libgstcontroller.def:
17289 Added export of gst_controller_init
17290 * win32/vs6/libgstcontroller.dsp:
17291 Fixed Release post build configuration
17293 2006-02-17 Wim Taymans <wim@fluendo.com>
17295 * tests/check/gst/gstquery.c: (GST_START_TEST):
17296 Added another check.
17298 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17300 * plugins/elements/gsttypefindelement.c: (find_peek):
17301 We can do peeks at non-zero offsets, as long as they
17302 fall within the buffer we have.
17304 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17306 * tests/check/Makefile.am:
17307 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17308 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17309 (parse_suite), (main):
17310 Add testsuite for parse launch syntax
17312 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17314 * plugins/elements/gsttypefindelement.c:
17315 (gst_type_find_element_chain):
17316 When typefinding is unsuccessful in the chain function, don't
17317 error out immediately. Only error out with NO_CAPS_FOUND if
17318 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17319 otherwise simply wait for more data so we can try typefinding
17320 again with more data later. Also, don't attempt to typefind
17321 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17322 this should improve typefinding from network sources where the
17323 size of the first buffer can be somewhat random.
17325 2006-02-14 Wim Taymans <wim@fluendo.com>
17327 * docs/gst/gstreamer-sections.txt:
17328 * gst/gstpadtemplate.c:
17329 * gst/gstpadtemplate.h:
17330 Fix padtemplate docs, fixes #328805.
17332 2006-02-14 Wim Taymans <wim@fluendo.com>
17334 * tools/gst-launch.c: (main):
17335 NO_PREROLL is not an ERROR so don't send confusing messages
17338 2006-02-14 Wim Taymans <wim@fluendo.com>
17340 Patch by: Torsten Schoenfeld
17342 * gst/gstregistry.c: (gst_registry_get_default),
17343 (_gst_registry_cleanup):
17344 Protect default registry with lock and ref/sink it.
17347 2006-02-14 Wim Taymans <wim@fluendo.com>
17350 * gst/gstquery.c: (gst_query_list_add_format),
17351 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17352 (gst_query_parse_formats_nth):
17353 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17356 2006-02-14 Wim Taymans <wim@fluendo.com>
17358 * docs/gst/gstreamer-sections.txt:
17359 Reworked query docs.
17361 * gst/gstquery.c: (gst_query_new_formats),
17362 (gst_query_list_add_format), (gst_query_set_formats),
17363 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17364 (gst_query_parse_formats_nth):
17366 Flesh out formats query, added some new methods.
17367 Fix part of #324398.
17369 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17370 Added query creation tests.
17372 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17374 * gst/gstpad.c: (fixate_value):
17375 Add a default fixation for fraction lists.
17377 2006-02-13 Wim Taymans <wim@fluendo.com>
17379 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17380 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17383 Detect and warn for obvious deadlocks. fixes #320340
17384 Fix error case where lock was not released.
17386 * tests/check/Makefile.am:
17387 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17388 (task_func), (gst_element_suite), (main):
17391 2006-02-13 Wim Taymans <wim@fluendo.com>
17393 * docs/gst/gstreamer-sections.txt:
17395 Add new functions to docs.
17397 2006-02-13 Wim Taymans <wim@fluendo.com>
17399 * docs/design/part-TODO.txt:
17400 Updated TODO list, basesrc supports seeking to non-bytes
17403 * docs/design/part-element-sink.txt:
17406 * gst/gstbin.c: (bin_replace_message),
17407 (gst_bin_handle_message_func):
17408 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17409 * gst/gstevent.c: (gst_event_finalize):
17410 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17411 (gst_pad_send_event):
17412 Use shiny new _TYPE_NAME macros.
17414 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17415 Move debug statement up.
17417 * gst/gstelement.c: (gst_element_set_locked_state):
17418 Add some debugging.
17420 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17422 * docs/gst/gstreamer-sections.txt:
17423 * gst/gstmessage.h:
17425 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17426 macros (#330906). Also, document the already existing
17427 GST_QUERY_TYPE macro.
17429 2006-02-13 Wim Taymans <wim@fluendo.com>
17431 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17432 (event_probe), (GST_START_TEST):
17433 Only events up to the pipeline EOS are counted, there are
17434 some more when going to NULL currently which we don't care
17437 2006-02-13 Wim Taymans <wim@fluendo.com>
17439 * gst/gstpad.c: (gst_pad_send_event):
17440 Correctly check flushing and emit probes. fixes #330125
17442 2006-02-10 Andy Wingo <wingo@pobox.com>
17444 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17446 (gst_bus_init): Cache the location of the private data in the
17447 instance structure.
17448 (gst_bus_enable_sync_message_emission)
17449 (gst_bus_disable_sync_message_emission): Implement new public
17451 (gst_bus_post): Emit the sync-message signal if the user asked for
17454 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17455 location of the bus-private structure.
17456 (gst_bus_enable_sync_message_emission)
17457 (gst_bus_disable_sync_message_emission): API addition
17459 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17461 Patch by: Vincent Torri
17463 * docs/pwg/building-boiler.xml:
17464 PWG patch from #326800
17466 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17469 * docs/Makefile.am:
17470 * docs/design/Makefile.am:
17473 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17478 === release 0.10.3 ===
17480 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17483 releasing 0.10.3, "Like a virgin"
17485 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17488 2nd prerelease of 0.10.3
17489 Bump libtool versioning.
17491 2006-02-07 Andy Wingo <wingo@pobox.com>
17493 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17494 update last_stop if we're in TIME format and the timestamp is
17497 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17498 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17499 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17500 If we get a new newsegment with a different format, adapt
17503 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17504 of 0. Not a problem, really.
17506 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17509 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17514 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17517 project files updated to the default vs7 configuration
17518 * win32/common/libgstbase.def:
17519 * win32/common/libgstreamer.def:
17521 removed empty lines,
17522 sorted all exported symbols alphabetically
17523 * win32/common/dirent.c:
17524 * win32/common/dirent.h:
17525 * win32/common/gchar.h:
17526 use windows line end.
17528 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17530 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17531 Send EOS event when stopping.
17533 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17536 Tell folks what to do if the plugin-foobar.xml file
17537 hasn't been generated for a newly-added plugin.
17539 2006-02-05 Julien MOUTTE <julien@moutte.net>
17541 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17542 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17543 (gst_collect_pads_start), (gst_collect_pads_stop),
17544 (gst_collect_pads_event): Collectpads now holds a reference
17545 to the GstPad that was added. Indeed we don't want to look
17546 at pads that might just go away with no warning...
17548 2006-02-05 Julien MOUTTE <julien@moutte.net>
17550 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17551 (gst_collect_pads_start), (gst_collect_pads_stop),
17552 (gst_collect_pads_event), (gst_collect_pads_chain):
17553 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17554 Mark Nauwelaerts's patch on bug #328491.
17556 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17558 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17560 Add some simple tests for gst_parse_bin_from_description() and
17561 gst_bin_find_unconnected_pad() (#329069).
17563 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17565 * tools/gst-launch.c: (event_loop), (main):
17566 Catch errors during preroll (#320084).
17568 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17570 * plugins/elements/gsttypefindelement.c:
17571 (gst_type_find_element_activate):
17572 Post TYPE_NOT_FOUND error message when typefinding
17573 is unsuccessful in the activate function as well.
17575 2006-02-02 Wim Taymans <wim@fluendo.com>
17577 * docs/design/part-element-sink.txt:
17580 2006-02-02 Wim Taymans <wim@fluendo.com>
17582 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17583 (gst_base_sink_render_object),
17584 (gst_base_sink_queue_object_unlocked):
17585 Only keep track of prerollable items when we are
17587 Before rendering after preroll, always check if we
17589 Added some more debugging.
17591 2006-02-02 Wim Taymans <wim@fluendo.com>
17593 * gst/gstelement.c: (gst_element_continue_state),
17594 (gst_element_set_state_func), (gst_element_change_state):
17595 Fixed #326576, been running this for quite some time with
17596 no regressions at all.
17598 2006-02-02 Wim Taymans <wim@fluendo.com>
17601 Added more suppressions
17603 2006-02-02 Wim Taymans <wim@fluendo.com>
17605 * docs/design/part-element-sink.txt:
17608 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17609 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17610 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17611 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17612 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17613 (gst_base_sink_preroll_object),
17614 (gst_base_sink_queue_object_unlocked),
17615 (gst_base_sink_queue_object), (gst_base_sink_event),
17616 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17617 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17618 (gst_base_sink_get_position), (gst_base_sink_change_state):
17619 * libs/gst/base/gstbasesink.h:
17620 Totally refactored matching the design doc.
17621 Use two segments, one to clip incomming buffers and another to
17623 Handle queueing correctly, bypass the queue when playing.
17624 Make EOS cancelable.
17625 Handle errors correctly when operating in pull based mode.
17627 * tests/check/elements/fakesink.c: (GST_START_TEST),
17629 Added new check for sinks.
17631 2006-02-02 Wim Taymans <wim@fluendo.com>
17633 * gst/gstsegment.c: (gst_segment_clip):
17634 No reason to refuse to clip when start == -1
17636 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17639 * docs/manual/intro-basics.xml:
17640 * docs/manual/intro-preface.xml:
17641 * docs/manual/manual.xml:
17642 * docs/pwg/advanced-dparams.xml:
17643 * docs/pwg/intro-basics.xml:
17644 * docs/pwg/intro-preface.xml:
17645 * docs/pwg/pwg.xml:
17646 describe dparams (controller) for plugins
17647 unify docs a little more
17649 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17651 * docs/gst/gstreamer-sections.txt:
17652 * gst/gstutils.c: (element_find_unconnected_pad),
17653 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17655 Add new API: gst_parse_bin_from_description() and
17656 gst_bin_find_unconnected_pad() (#329069).
17658 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17660 * docs/manual/README:
17661 uncover a nasty detail of the docs build
17663 2006-01-31 Wim Taymans <wim@fluendo.com>
17665 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17666 Don't cache duration messages if we're not going to use or
17669 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17671 * docs/manual/advanced-dparams.xml:
17672 * docs/pwg/advanced-dparams.xml:
17676 * libs/gst/controller/lib.c: (gst_controller_init):
17679 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17681 * gst/gstelement.c: (gst_element_message_full):
17682 also show file/line/func if no additional debug was given
17684 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17686 * win32/vs7/grammar.vcproj:
17687 activate copy of autogenerated files for Release mode
17689 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17691 * win32/common/libgstreamer.def:
17692 export gst_value_compare
17694 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17696 * plugins/elements/Makefile.am:
17697 * plugins/elements/gstelements.c:
17698 * plugins/elements/gstfdsink.c: (_do_init),
17699 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17700 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17701 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17702 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17703 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17704 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17705 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17706 * plugins/elements/gstfdsink.h:
17707 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17709 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17711 * docs/manual/advanced-dparams.xml:
17712 describe controller
17713 * docs/manual/advanced-position.xml:
17714 * docs/manual/basics-init.xml:
17715 * docs/manual/manual.xml:
17716 * docs/manual/titlepage.xml:
17717 * docs/pwg/pwg.xml:
17718 * docs/pwg/titlepage.xml:
17719 cleanup xml (more to come)
17720 * libs/gst/controller/gstcontroller.c:
17723 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17725 * win32/vs6/grammar.dsp:
17726 add autogen of gstmarshal.c,h for Release mode
17728 2006-01-30 Wim Taymans <wim@fluendo.com>
17730 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17731 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17732 (gst_base_sink_handle_object), (gst_base_sink_event),
17733 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17734 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17735 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17736 (gst_base_sink_deactivate), (gst_base_sink_activate),
17737 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17738 (gst_base_sink_query), (gst_base_sink_change_state):
17739 Basesink cleanups, remove some old code.
17740 Handle the case where a subclass can preroll in the render
17741 method (mostly audiosinks).
17742 Handle more events.
17743 Remove some locks around variables that are now protected
17744 with the PREROLL_LOCK (clock_id, flushing, ..).
17745 Optimize position query some more, do correct locking.
17746 Remove old code to push queue in state change, this is not
17747 needed anymore since preroll blocks on all prerollable items
17749 Almost implemented as described in design doc.
17751 2006-01-30 Wim Taymans <wim@fluendo.com>
17753 * tests/check/gst/gstbin.c: (GST_START_TEST):
17754 Wait for refcount to settle down before checking.
17756 2006-01-30 Wim Taymans <wim@fluendo.com>
17758 * docs/design/part-element-sink.txt:
17759 Pseudo code overview of desired sink behaviour regarding
17762 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17763 * win32/vs6/grammar.dsp:
17764 fix some bugs in Release mode for autogenerated files
17766 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17767 * win32/common/libgstbase.def:
17768 * win32/common/libgstreamer.def:
17769 export some new symbols: gst_base_src_set_format,
17770 gst_iterator_next, gst_structure_set_valist
17772 2006-01-29 Julien MOUTTE <julien@moutte.net>
17774 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17775 Set pad functions unconditionally. Fixes #329105.
17777 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17779 add vs8 project files created by Sergey Scobich
17781 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17783 * gst/gstutils.c: (gst_element_unlink_pads):
17784 Don't leak pad references.
17786 * tests/check/elements/fakesink.c: (GST_START_TEST):
17787 * tests/check/generic/sinks.c: (GST_START_TEST):
17788 * tests/check/generic/states.c: (GST_START_TEST):
17789 * tests/check/gst/gstbin.c: (GST_START_TEST):
17790 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17791 * tests/check/gst/gstelement.c: (GST_START_TEST):
17792 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17793 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17794 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17795 Fix a bunch of leaks. Make generic/sinks.c
17796 use a bit less cpu by slowing the buffer rate
17797 between fakesrc and fakesink.
17799 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17801 * gst/gstelement.c: (gst_element_send_event):
17804 * gst/gstiterator.c:
17805 * gst/gstiterator.h:
17806 * gst/gstpad.c: (gst_pad_send_event):
17807 * gst/gststructure.c:
17811 * libs/gst/base/gstadapter.c:
17812 doc fixes, to link to function, just write gst_cool_function(), don't
17815 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17817 * plugins/elements/gsttee.c: (gst_tee_do_push),
17818 (gst_tee_handle_buffer):
17819 Always prefer an actual return value from a src
17820 pad in place of NOT_LINKED. This means we return
17821 WRONG_STATE when all src pads are WRONG_STATE
17822 instead of NOT_LINKED.
17824 Lock when replacing the last message to prevent
17825 racing with the get_property method.
17829 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17831 * tests/check/Makefile.am:
17832 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17834 Add a very simple check that should have caught the memleak I fixed
17835 last night (if not for the slice allocator hiding it)
17837 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17839 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17840 (gst_bin_remove_func), (gst_bin_handle_message_func),
17841 (bin_query_duration_fold), (bin_query_generic_fold):
17842 Clean up references to the clock provider when disposed or when
17843 handling a clock-lost message from it.
17845 Unref sinks when performing a query via gst_iterator_fold, as the
17846 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17848 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17849 (gst_clock_set_master):
17850 Drop our reference to the master clock, if any, when we are disposed.
17852 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17853 Chain up in dispose.
17855 2006-01-26 Wim Taymans <wim@fluendo.com>
17857 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17858 Add some debugging.
17860 2006-01-26 Julien MOUTTE <julien@moutte.net>
17862 * plugins/elements/gsttee.c: (gst_tee_do_push),
17863 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17864 handles pad being NOT_LINKED or in WRONG_STATE.
17866 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17871 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17874 remove obsolete entry
17876 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17878 * docs/gst/gstreamer-sections.txt:
17879 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17880 (gst_bin_iterate_sources), (gst_bin_send_event):
17882 * gst/gstelement.c: (gst_element_send_event):
17884 * gst/gstpad.c: (gst_pad_send_event):
17885 added code for downstream events, reviewed docs in gstevent.c
17887 2006-01-25 Julien MOUTTE <julien@moutte.net>
17889 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17890 We only query position using the clock in the playing state.
17891 Query peer in the other cases.
17892 * win32/common/config.h: Updates.
17894 2006-01-24 Wim Taymans <wim@fluendo.com>
17896 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17897 A clock entry that is scheduled for the exact time of the
17898 clock is still in time.
17900 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17901 (gst_base_sink_do_sync):
17902 Add some more debug info.
17904 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17907 Add new vs7 project files and solution.
17909 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17912 all files removed as they were out-dated.
17914 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17916 * docs/random/release:
17918 * gst/gstbin.c: (gst_bin_init):
17919 * gst/gstbus.c: (gst_bus_new):
17921 * gst/gstpipeline.c: (gst_pipeline_init):
17922 use gst_bus_new(), improve logging, fix docs
17923 * win32/common/config.h:
17924 update for cvs build
17926 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17929 up required version of automake to 1.7
17931 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17933 * win32/common/libgstreamer.def:
17934 export gst_buffer_is_metadata_writable
17936 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17938 * docs/gst/gstreamer-sections.txt:
17940 Add gst_event_replace() (#327001)
17942 2006-01-20 Wim Taymans <wim@fluendo.com>
17944 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17945 Make it actually compile too..
17947 2006-01-20 Wim Taymans <wim@fluendo.com>
17950 Clarify behaviour of _is_equal() when passing NULL parameters.
17952 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17953 (gst_pad_set_caps):
17954 Cleanups. Don't unref NULL caps.
17955 When setting the same caps, protect caps of the pad with
17957 Use full functionality of _is_equal() when comparing caps.
17959 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17961 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17962 Don't loop infinitely if there are no buffers to present. Partially
17963 fixes #327197, but collectpads is just broken for reusing elements
17964 to do multiple encodes atm.
17966 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17968 * tools/gst-inspect.c: (print_element_features):
17969 * tools/gst-xmlinspect.c: (main):
17970 URL_HANDLER is not a plugin feature we can search for in
17973 2006-01-19 Edward Hervey <edward@fluendo.com>
17975 * gst/gstelement.c: (gst_element_pads_activate):
17976 When activating, do src pads first, then sink pads.
17977 When de-activating, do sink pads first, then src pads.
17979 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17981 * docs/gst/gstreamer-sections.txt:
17982 Add gst_index_add_associationv to the docs
17984 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17989 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17990 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17991 Do some refactoring. Doesn't actually change functionality,
17992 but makes landing the DRAIN event easier later.
17994 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17996 * docs/pwg/advanced-scheduling.xml:
17997 Update from 0.9.x to 0.10 API and make example a bit
18000 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18002 * docs/gst/gstreamer-sections.txt:
18003 Add gst_buffer_(is|make)_metadata_writable methods.
18005 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18007 * docs/design/part-sparsestreams.txt:
18008 Update sparse streams doc, hopefully for greater clarity
18010 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18012 * docs/design/part-events.txt:
18013 Remove mention of FILLER events.
18016 * docs/design/part-sparsestreams.txt:
18017 Write some things about using NEWSEGMENT to keep sparse streams
18020 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18022 * gst/gstbin.c: (gst_bin_dispose):
18023 Guard gst_object_unref call against a NULL object (dispose
18024 can theoretically be called multiple times).
18026 2006-01-18 Wim Taymans <wim@fluendo.com>
18028 * gst/gstbin.c: (gst_bin_element_set_state):
18029 * gst/gstclock.c: (gst_clock_id_wait):
18030 Added some more debug info.
18032 * libs/gst/base/gstadapter.c:
18035 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18036 (gst_base_sink_do_sync), (gst_base_sink_chain):
18037 Added some comments.
18039 2006-01-18 Wim Taymans <wim@fluendo.com>
18041 * tests/check/Makefile.am:
18042 * tests/check/elements/fakesink.c: (chain_async_buffer),
18043 (chain_async), (chain_async_return), (GST_START_TEST),
18044 (fakesink_suite), (main):
18045 Added fakesink test that checks prerolling and clipping
18048 * tests/check/gst/gstutils.c: (GST_START_TEST):
18049 Make check run faster so that buildbots don't timeout.
18051 2006-01-18 Wim Taymans <wim@fluendo.com>
18053 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18054 (gst_base_sink_do_sync):
18056 When the sink finishes blocking on the preroll buffer, it can
18057 immediatly render it instead of rendering when the next buffer
18060 2006-01-18 Wim Taymans <wim@fluendo.com>
18062 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18063 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18064 (gst_base_sink_chain):
18066 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18067 Don't store _last_stop if the buffer is dropped.
18069 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18071 * plugins/elements/gsttypefindelement.c:
18072 (gst_type_find_element_class_init):
18073 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18074 object method handler that sets the caps on the pad and we want
18075 that to happen before we emit the signal (fixes e.g. feeding a
18076 plain text file to decodebin).
18078 2006-01-18 Christian Schaller <Christian@fluendo.com>
18080 * gst/gstplugin.c: Add MPL and Proprietary as license options
18082 2006-01-18 Andy Wingo <wingo@pobox.com>
18084 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18085 symbol was exported before, it appears this was just an oversight.
18087 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18089 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18090 prototype to gint. OK since this prototype was not in the header.
18092 2006-01-17 Andy Wingo <wingo@pobox.com>
18094 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18095 registry while we remove plugins.
18097 * tools/gst-inspect.c (print_element_info): Don't unref the
18098 factory arg, that should be the responsibility of whatever code
18099 received the ref. Fixes a double-free when called from
18100 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18101 (main): Unref the factory if we have one.
18102 (print_element_list): No change -- relies on the
18103 plugin_feature_list_free to free the list of features.
18105 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18107 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18108 (gst_buffer_make_metadata_writable):
18110 * libs/gst/base/gstbasetransform.c:
18111 (gst_base_transform_prepare_output_buf):
18112 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18113 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18114 Replace gst_buffer_(make|is)_metadata_writable patch now
18115 that the release is out.
18117 2006-01-17 Andy Wingo <wingo@pobox.com>
18119 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18120 in the present tense without reference to versions.
18122 * gst/gstregistry.c (gst_registry_add_plugin)
18123 (gst_registry_remove_plugin, gst_registry_remove_feature)
18124 (gst_registry_find_feature, gst_registry_get_feature_list)
18125 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18126 (gst_registry_lookup, gst_registry_scan_path)
18127 (_gst_registry_remove_cache_plugins)
18128 (gst_registry_get_feature_list_by_plugin): Add argument
18131 === release 0.10.2 ===
18133 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18136 releasing 0.10.2, "If man is five"
18138 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18142 * libs/gst/base/gstbasetransform.c:
18143 (gst_base_transform_prepare_output_buf):
18144 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18145 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18146 Back out patch until after the release.
18148 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18150 * gst/gstminiobject.c:
18151 Spelling fix in docs.
18152 * ChangeLog - remove conflict indicator
18154 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18156 Reviewed By: Andy Wingo
18158 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18159 (gst_buffer_make_metadata_writable):
18161 Add gst_buffer_(is|make)_metadata_writable as analogues of
18162 gst_buffer_(is|make)_writable.
18164 * libs/gst/base/gstbasetransform.c:
18165 (gst_base_transform_prepare_output_buf):
18166 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18167 Use name gst_buffer_(is|make)_metadata_writable functions.
18169 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18170 Test gst_buffer_(is|make)_metadata_writable
18174 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18176 * docs/manual/Makefile.am:
18177 don't do parallel make
18180 * win32/common/config.h.in:
18181 add generations for HOST_CPU and GST_MAJORMINOR
18182 * win32/common/config.h:
18183 commit generated result
18185 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18187 * docs/manual/appendix-integration.xml:
18188 Update GNOME integration section to use gst_init_get_option_group()
18189 instead of the old popt stuff (#322911). Also, GNOME applications
18190 should now use gconf*sink and gconf*src instead of the old gconf
18193 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18196 * docs/gst/gstreamer-docs.sgml:
18197 * docs/gst/gstreamer-sections.txt:
18198 * docs/libs/gstreamer-libs-sections.txt:
18199 add new API entries to the docs
18200 * libs/gst/controller/Makefile.am:
18201 * libs/gst/controller/gstcontroller.c:
18202 * libs/gst/controller/gstcontroller.h:
18203 * libs/gst/controller/gstcontrollerprivate.h:
18204 * libs/gst/controller/gsthelper.c:
18205 * libs/gst/controller/gstinterpolation.c:
18206 move private structs to private header
18208 gstreamer-0.7 -> gstreamer-0.10
18209 * tests/check/libs/struct_i386.h:
18210 remove private structs
18212 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18214 * plugins/indexers/Makefile.am:
18215 Fixes as part of #317048
18217 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18219 * plugins/indexers/Makefile.am:
18220 fix #316086 - compilation when mmap is missing
18222 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18224 * libs/gst/base/gstbasesink.c:
18225 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18226 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18227 * win32/common/config.h:
18228 added some defines GST_MAJORMINOR and HOST_CPU
18229 * win32/common/libgstbase.def:
18230 * win32/common/libgstreamer.def:
18231 added some exported functions.
18233 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18235 * libs/gst/controller/gstcontroller.c:
18236 (gst_controlled_property_set_interpolation_mode),
18237 (gst_controlled_property_new):
18238 * libs/gst/controller/gstcontroller.h:
18239 * libs/gst/controller/gstinterpolation.c:
18240 (interpolate_none_get_string_value_array):
18241 make G_TYPE_STRING controlable
18243 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18246 * tools/gst-feedback.1.in:
18247 * tools/gst-inspect.1.in:
18248 * tools/gst-launch.1.in:
18249 * tools/gst-md5sum.1.in:
18250 * tools/gst-typefind.1.in:
18251 * tools/gst-xmlinspect.1.in:
18252 * tools/gst-xmllaunch.1.in:
18253 cleanup man-pages, remove reference to gst-register, document env-vars
18255 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18257 * gst/gstbuffer.c: (gst_buffer_span):
18258 gst_buffer_span should copy the timestamp of the first buffer
18259 if they were both originally overlapping subbuffers of the
18260 same parent, using the same logic as the 'slow copy' case.
18262 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18264 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18265 Need to awaken ALL the pads when we pop a buffer, otherwise
18266 collectpads only works when there is 2 input streams.
18268 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18270 * docs/random/ensonic/media-device-daemon.txt:
18273 fix doc example, add clarification
18274 * tools/gst-launch.1.in:
18275 add initial info about GST_PLUGIN_PATH, needs more work
18277 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18279 * docs/manual/basics-bins.xml:
18280 * docs/manual/basics-elements.xml:
18281 * docs/manual/intro-basics.xml:
18282 Some more minor docs additions and updates.
18284 2006-01-11 Wim Taymans <wim@fluendo.com>
18286 * docs/manual/basics-bins.xml:
18287 * docs/manual/basics-elements.xml:
18288 Some small fixes as pointed out by Ser-ver on IRC.
18290 2006-01-10 Edward Hervey <edward@fluendo.com>
18292 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18293 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18294 the single-segment mode.
18296 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18298 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18300 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18301 (gst_base_src_perform_seek), (gst_base_src_send_event),
18302 (gst_base_src_set_property), (gst_base_src_get_property),
18303 (gst_base_src_loop), (gst_base_src_start),
18304 (gst_base_src_activate_push):
18305 * libs/gst/base/gstbasesrc.h:
18306 Name (private) union; makes Sun's Forte compiler happy (#324900).
18308 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18311 gst-register is gone.
18313 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18315 * gst/gstvalue.c: (_gst_value_initialize):
18316 make the G_TYPE_DATE instantiation work if debug is disabled
18318 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18320 * gst/gstmessage.c: (gst_message_parse_tag),
18321 (gst_message_parse_error), (gst_message_parse_warning):
18322 Don't crash when return location for error/warning debug
18323 string is NULL; add fact that return locations can be
18324 NULL to docs where appropriate.
18326 2006-01-05 Wim Taymans <wim@fluendo.com>
18328 * gst/gstplugin.c: (gst_plugin_load_file):
18329 Replace strdup by g_strdup.
18331 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18333 * docs/pwg/advanced-types.xml:
18336 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18338 submitted by: Abel Cheung
18342 Added Chinese (traditional) translation
18344 2006-01-04 Wim Taymans <wim@fluendo.com>
18346 * docs/manual/basics-pads.xml:
18347 * docs/plugins/Makefile.am:
18348 * docs/plugins/gstreamer-plugins-docs.sgml:
18349 * docs/plugins/gstreamer-plugins-sections.txt:
18350 * docs/pwg/advanced-clock.xml:
18351 * docs/pwg/advanced-scheduling.xml:
18352 * docs/pwg/advanced-types.xml:
18353 * plugins/elements/gstfdsink.c:
18354 * plugins/elements/gstfdsrc.c:
18355 * plugins/elements/gstfdsrc.h:
18356 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18357 * plugins/elements/gstidentity.h:
18358 * plugins/elements/gstqueue.h:
18359 * plugins/elements/gsttee.c:
18360 * plugins/elements/gsttee.h:
18361 * plugins/elements/gsttypefindelement.c:
18362 (gst_type_find_element_class_init):
18363 * plugins/elements/gsttypefindelement.h:
18364 Small updates to various docs.
18365 Added core plugins to docs.
18367 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18370 add a suppression for liboil's uninitialized variable
18372 2006-01-02 James Livingston <jrl at ids dot org dot au>
18374 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18377 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18378 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18379 compiler switch is being used (#325429).
18381 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18383 * gst/gstbin.c: (gst_bin_query):
18384 Disable duration query caching in bins until it gets
18385 fixed (see #324807).
18387 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18389 * tools/gst-inspect.c: (print_element_properties_info):
18390 Handle properties of POINTER and BOXED type.
18392 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18394 * gst/gst.c: (init_post):
18395 Init tags stuff and some other things before loading
18396 any static plugins (there may be other static plugins
18397 than just the GStreamer ones, and they may want to
18398 register their own tags or formats or whatever, and
18399 preferably without segfaulting).
18401 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18402 Print at least a warning in the debug logs if we drop a
18403 query just because we don't know how to adjust the value
18404 in the particular format.
18406 2005-12-24 David Schleef <ds@schleef.org>
18408 * tools/gstreamer-completion:
18409 Replacement for gst-complete written in sh and sed. Only
18410 completes names of features, but that's 90% of what I want
18411 it for. Properties are not available in registry.xml. (Maybe
18414 === release 0.10.1 ===
18416 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18419 releasing 0.10.1, "Nollaig chridheil"
18421 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18423 * docs/faq/cvs.xml:
18424 Add missing quote, should be make ERROR_CFLAGS="".
18426 2005-12-20 Wim Taymans <wim@fluendo.com>
18428 * docs/design/part-trickmodes.txt:
18429 More documentation on trickmodes.
18431 2005-12-20 Edward Hervey <edward@fluendo.com>
18433 * gst/gstcaps.c: (gst_static_caps_get_type):
18435 API addition: GST_TYPE_STATIC_CAPS
18436 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18437 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18438 * gst/gstpadtemplate.h:
18439 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18440 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18443 2005-12-18 Wim Taymans <wim@fluendo.com>
18445 * libs/gst/base/gstadapter.c:
18446 * libs/gst/base/gstadapter.h:
18447 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18448 (gst_base_sink_get_position):
18449 * libs/gst/base/gstbasesink.h:
18450 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18451 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18452 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18453 (gst_base_src_send_event), (gst_base_src_update_length),
18454 (gst_base_src_get_range), (gst_base_src_loop),
18455 (gst_base_src_start):
18456 * libs/gst/base/gstbasesrc.h:
18457 * libs/gst/base/gstbasetransform.h:
18458 * libs/gst/base/gstcollectpads.h:
18459 * libs/gst/base/gstpushsrc.c:
18460 * libs/gst/base/gstpushsrc.h:
18461 * libs/gst/dataprotocol/dataprotocol.c:
18462 * libs/gst/dataprotocol/dataprotocol.h:
18463 * libs/gst/net/gstnetclientclock.h:
18464 * libs/gst/net/gstnettimeprovider.h:
18465 Documentation updates.
18467 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18469 * docs/manual/basics-helloworld.xml:
18470 Remove superfluous closing bracket in helloworld example.
18472 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18474 * tools/gst-launch.1.in:
18475 Update gst-launch man page; add a section with useful
18476 environment variables. Fixes #323882.
18478 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18481 * gst/gst_private.h:
18482 change some char* into char[]
18484 2005-12-16 Wim Taymans <wim@fluendo.com>
18486 * gst/gstregistryxml.c: (load_feature):
18488 Don't use g_object_unref on GstObjects so that we avoid
18489 leaks on unsafe glibs.
18491 2005-12-16 Wim Taymans <wim@fluendo.com>
18493 * gst/gstbin.c: (gst_bin_recalc_state):
18496 2005-12-16 Wim Taymans <wim@fluendo.com>
18498 * common/check.mak:
18499 Added make forever target for check.
18501 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18503 * gst/gst.c: (init_post):
18504 make the registry cache file HOST_CPU-dependent
18506 2005-12-16 Andy Wingo <wingo@pobox.com>
18508 * plugins/elements/gstbufferstore.c
18509 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18512 * tests/check/gst/gstobject.c
18513 (test_fake_object_name_threaded_unique): Pay attention to
18514 g_list_sort return value.
18516 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18518 * tools/gst-feedback-m.m:
18519 Update for 0.9/0.10 (fixes #323870).
18521 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18523 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18524 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18526 * tests/check/gst/gstminiobject.c: (my_foo_init),
18527 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18528 (test_value_collection), (gst_mini_object_suite):
18529 Add test to ensure refcounts end up as expected when passing
18530 GstMiniObjects through g_object_get() and g_object_set().
18532 2005-12-14 Julien MOUTTE <julien@moutte.net>
18534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18535 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18536 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18537 of collectpads. This version removes a lot of races without
18538 touching API/ABI. Yay !
18540 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18542 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18543 Don't allow activation of a srcpad in pull_range if it has no
18545 Change some debug statements to be a little clearer
18547 * plugins/elements/gsttypefindelement.c:
18548 (gst_type_find_handle_src_query):
18549 Check that we have a peer before executing queries thereupon.
18551 * tests/examples/metadata/read-metadata.c: (message_loop):
18552 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18553 immediately return us any available message with 0 timeout.
18555 2005-12-12 Michael Smith <msmith@fluendo.com>
18557 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18558 Don't unref factories after calling them.
18559 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18560 * plugins/elements/gsttypefindelement.c:
18561 (gst_type_find_element_chain):
18562 Free lists of factories after using them. Fixing typefinding memory
18565 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18567 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18568 (gst_plugin_feature_load):
18569 more meaningful debug output
18571 * tests/Makefile.am:
18572 * tests/old/examples/Makefile.am:
18573 make make distcheck happy again
18575 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18577 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18578 Catch the special case where we are operating chain-based,
18579 but the downstream peer pad has no chain function. Emit a
18580 custom error message in this case instead of letting the
18581 core generate one implying that this is some sort of core
18582 bug. It's not, it just means that whatever got plugged
18583 into the pipeline downstream when we announced the type
18584 can only operate pull-based, while our source can only
18585 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18586 Error string has not been marked for translation yet, as
18587 it probably needs some more work first.
18589 (gst_type_find_element_get_best_possibility):
18590 Add helper function to find the best of all available
18591 found possibilities that qualify given the min. threshold.
18593 (gst_type_find_element_handle_event):
18594 Fix the case where we get an EOS while still in TYPEFIND
18595 mode (we want to chose the best of all possible types,
18596 not just the first type that happens to be in our unsorted
18597 list of possible types).
18599 (gst_type_find_element_chain):
18600 Make sure we return GST_FLOW_ERROR when we errored out
18601 in stop_typefinding(); also, don't just find the best of
18602 all found type entries and then use the last examined
18603 type entry, but actually use the best entry.
18605 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18607 * tests/examples/typefind/typefind.c: (type_found):
18608 * tests/examples/xml/runxml.c: (xml_loaded):
18609 More gcc4 fixes and a mem leak fix.
18611 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18613 * tests/examples/xml/createxml.c: (object_saved):
18616 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18618 * tests/Makefile.am:
18619 enable the examples even more
18621 2005-12-12 Andy Wingo <wingo@pobox.com>
18623 * libs/gst/net/gstnettimeprovider.c
18624 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18625 (gst_net_time_provider_set_property)
18626 (gst_net_time_provider_get_property):
18627 API addition: Export "active" as a GObject property.
18628 (gst_net_time_provider_thread): Only respond to time queries if
18629 the time provider is active.
18631 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18632 NetTimeProvider, preserving binary compat.
18634 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18636 * tests/examples/controller/audio-example.c: (main):
18637 * tests/examples/launch/Makefile.am:
18638 convert comments again
18640 2005-12-12 Wim Taymans <wim@fluendo.com>
18642 * libs/gst/base/gstpushsrc.c:
18645 2005-12-12 Wim Taymans <wim@fluendo.com>
18647 * docs/libs/gstreamer-libs-sections.txt:
18648 Added new symbol to docs.
18650 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18651 (gst_base_src_init), (gst_base_src_set_format),
18652 (gst_base_src_default_query), (gst_base_src_query),
18653 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18654 (gst_base_src_perform_seek), (gst_base_src_send_event),
18655 (gst_base_src_default_event), (gst_base_src_event_handler),
18656 (gst_base_src_set_property), (gst_base_src_get_property),
18657 (gst_base_src_wait), (gst_base_src_do_sync),
18658 (gst_base_src_update_length), (gst_base_src_get_range),
18659 (gst_base_src_check_get_range), (gst_base_src_loop),
18660 (gst_base_src_default_negotiate), (gst_base_src_start),
18661 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18662 (gst_base_src_change_state):
18663 * libs/gst/base/gstbasesrc.h:
18664 Implement seeking to other formats than _BYTES.
18665 Implement more seeking methods correctly.
18667 Added query vmethod.
18668 Added do_seek vmethod to make life easier for subclasses
18670 API addition: gst_base_src_set_format()
18672 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18674 * tests/examples/Makefile.am:
18677 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18680 * docs/random/ensonic/media-device-daemon.txt:
18681 * tests/examples/controller/.cvsignore:
18682 * tests/examples/controller/Makefile.am:
18683 * tests/examples/controller/audio-example.c: (main):
18684 * tests/examples/helloworld/.cvsignore:
18685 * tests/examples/helloworld/Makefile.am:
18686 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18687 * tests/examples/launch/.cvsignore:
18688 * tests/examples/launch/Makefile.am:
18689 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18690 * tests/examples/metadata/.cvsignore:
18691 * tests/examples/metadata/Makefile.am:
18692 * tests/examples/metadata/read-metadata.c: (message_loop),
18693 (make_pipeline), (print_tag), (main):
18694 * tests/examples/queue/.cvsignore:
18695 * tests/examples/queue/Makefile.am:
18696 * tests/examples/queue/queue.c: (event_loop), (main):
18697 * tests/examples/typefind/.cvsignore:
18698 * tests/examples/typefind/Makefile.am:
18699 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18701 * tests/examples/xml/.cvsignore:
18702 * tests/examples/xml/Makefile.am:
18703 * tests/examples/xml/createxml.c: (object_saved), (main):
18704 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18705 * tests/old/examples/Makefile.am:
18706 * tests/old/examples/TODO:
18707 * tests/old/examples/controller/.cvsignore:
18708 * tests/old/examples/controller/Makefile.am:
18709 * tests/old/examples/controller/audio-example.c:
18710 * tests/old/examples/helloworld/.cvsignore:
18711 * tests/old/examples/helloworld/Makefile.am:
18712 * tests/old/examples/helloworld/helloworld.c:
18713 * tests/old/examples/launch/.cvsignore:
18714 * tests/old/examples/launch/Makefile.am:
18715 * tests/old/examples/launch/mp3parselaunch.c:
18716 * tests/old/examples/launch/mp3play:
18717 * tests/old/examples/manual/Makefile.am:
18718 * tests/old/examples/metadata/Makefile.am:
18719 * tests/old/examples/metadata/read-metadata.c:
18720 * tests/old/examples/queue/.cvsignore:
18721 * tests/old/examples/queue/Makefile.am:
18722 * tests/old/examples/queue/queue.c:
18723 * tests/old/examples/typefind/.cvsignore:
18724 * tests/old/examples/typefind/Makefile.am:
18725 * tests/old/examples/typefind/typefind.c:
18726 * tests/old/examples/xml/.cvsignore:
18727 * tests/old/examples/xml/Makefile.am:
18728 * tests/old/examples/xml/createxml.c:
18729 * tests/old/examples/xml/runxml.c:
18730 applied some simple fixing to some examples
18731 re-enabled the working examples
18733 2005-12-12 Wim Taymans <wim@fluendo.com>
18735 * gst/gstsegment.c: (gst_segment_init),
18736 (gst_segment_set_last_stop), (gst_segment_set_seek),
18737 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18738 (gst_segment_to_running_time):
18739 Added more documentation.
18740 Make sure the last_pos value is updated properly.
18741 Make sure to_stream_time and to_running_time don't
18742 operate on wrong values.
18744 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18747 2005-12-12 Michael Smith <msmith@fluendo.com>
18749 * plugins/elements/gsttypefindelement.c: (free_entry),
18750 (gst_type_find_element_chain):
18751 Now that we're not leaking factories, make sure we keep references
18752 to them while we need them.
18754 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18756 * tests/check/gst/struct_i386.h:
18757 ifdef out the XML structs
18759 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18761 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18762 floor is not needed, F is always positive; this obviates the
18763 need for adding -lm when building without libxml
18765 2005-12-12 Wim Taymans <wim@fluendo.com>
18767 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18768 Take current playback rate into account when reporting
18771 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18773 * docs/manual/mime-world.fig:
18774 Let's try this again, this time with a file that is
18775 actually in XFig format.
18777 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18779 * docs/manual/mime-world.fig:
18780 Add audioconvert element to diagram so that it
18781 matches the text and the code (fixes #319526).
18783 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18785 * docs/pwg/building-chainfn.xml:
18786 * docs/pwg/building-pads.xml:
18787 * docs/pwg/building-state.xml:
18788 * docs/pwg/other-source.xml:
18789 Update state change stuff for 0.10 (fixes #322969).
18791 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18793 * docs/manual/advanced-dataaccess.xml:
18794 * docs/manual/appendix-checklist.xml:
18795 * docs/manual/appendix-programs.xml:
18796 * docs/manual/basics-pads.xml:
18797 * docs/manual/highlevel-components.xml:
18798 * docs/manual/manual.xml:
18799 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18800 add converters in front of pipelines; remove curly
18801 brackets for threads stuff, they no longer exist; use
18802 GST_TYPE_FRACTION for framerates; update some pieces of
18803 code to 0.10, but there's plenty more to do.
18805 * docs/manual/appendix-porting.xml:
18806 Expand on asynchroneous state changes; s/0.9/0.10/;
18807 mention disappearance of gst_init_get_popt_table()
18810 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18812 * docs/faq/using.xml:
18813 Spider no longer exists, and neither does gst-launch-ext.
18814 Update examples to use decodebin and playbin and put
18815 converters in front of sinks (fixes #323726).
18817 2005-12-09 Michael Smith <msmith@fluendo.com>
18819 * plugins/elements/gsttypefindelement.c: (find_peek),
18820 (gst_type_find_element_chain):
18821 Fix leaking element factories in typefinding.
18822 Fix problem where we forgot about a probable type on non-seekable
18823 files, and thus later mis-typefound it.
18825 2005-12-09 Michael Smith <msmith@fluendo.com>
18827 * common/m4/gst-makecontext.m4:
18828 * common/m4/gst-mcsc.m4:
18830 * win32/common/config.h:
18831 * win32/common/config.h.in:
18832 Remove makecontext stuff; not used in 0.10 and causes problems on
18833 HPUX according to bug #322441
18835 2005-12-07 Wim Taymans <wim@fluendo.com>
18837 * tests/check/Makefile.am:
18838 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18840 * tests/check/libs/struct_i386.h:
18841 Added ABI check for libs
18843 2005-12-07 Wim Taymans <wim@fluendo.com>
18845 * tests/check/Makefile.am:
18846 And add the struct_i386.h to dist.
18848 2005-12-07 Wim Taymans <wim@fluendo.com>
18850 * tests/check/Makefile.am:
18851 * tests/check/gst/.cvsignore:
18852 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18854 * tests/check/gst/struct_i386.h:
18855 Added check for ABI compatibility.
18857 2005-12-07 Wim Taymans <wim@fluendo.com>
18859 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18860 (gst_fake_src_get_times), (gst_fake_src_create):
18861 Fix broken sync option, fixes #323259
18863 2005-12-07 Wim Taymans <wim@fluendo.com>
18868 * gst/gstcaps.c: (gst_caps_is_equal):
18869 Don't assert on NULL <--> X. Fixes #323260
18871 * gst/gstminiobject.c: (gst_mini_object_replace):
18872 If we're doing atomic operations, we might just as well use
18873 the proper way to get an atomic pointer.
18875 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18876 Clean up debugging.
18878 2005-12-07 Michael Smith <msmith@fluendo.com>
18880 * gst/parse/grammar.y:
18881 Remove handling of { } for threads.
18883 2005-12-06 David Schleef <ds@schleef.org>
18885 * libs/gst/base/gstbasetransform.c: speling fix.
18887 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18889 * docs/libs/tmpl/gstdataprotocol.sgml:
18890 * docs/random/omega/testing/gstobject.c:
18893 * gst/gstelement.c:
18894 * gst/gstelementfactory.c:
18897 * gst/gstghostpad.c:
18899 * gst/gstpadtemplate.c:
18900 * gst/gstregistryxml.c:
18901 * gst/gsttaglist.c:
18902 * gst/gsttagsetter.c:
18903 * gst/gsttypefind.c:
18905 * libs/gst/base/gstbasesrc.c:
18906 * libs/gst/net/gstnetclientclock.c:
18907 * libs/gst/net/gstnettimeprovider.c:
18908 * plugins/elements/gstfakesrc.c:
18909 * plugins/elements/gstfdsrc.c:
18910 * plugins/elements/gstfilesrc.c:
18911 * plugins/elements/gstidentity.c:
18912 * plugins/elements/gstqueue.c:
18913 * plugins/elements/gsttypefindelement.c:
18914 * plugins/indexers/gstfileindex.c:
18915 * plugins/indexers/gstmemindex.c:
18916 * tests/check/gst/gsttag.c:
18917 * tests/old/examples/cutter/cutter.c:
18918 * tests/old/examples/mixer/mixer.c:
18919 * tests/old/examples/xml/runxml.c: (main):
18920 * tests/old/testsuite/caps/normalisation.c:
18921 * tests/old/testsuite/debug/global.c:
18922 * tests/old/testsuite/parse/parse1.c:
18923 * tools/gst-xmlinspect.c:
18924 * win32/common/dirent.c:
18927 === release 0.10.0 ===
18929 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18932 releasing 0.10.0, "Maroilles"
18934 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18936 submitted by: Funda Wang <fundawang@linux.net.cn>
18940 added Chinese (Traditional) translation
18942 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18944 * docs/gst/gstreamer-sections.txt:
18945 * docs/libs/tmpl/gstdataprotocol.sgml:
18946 * docs/random/thomasvs/TODO:
18951 2005-12-05 Andy Wingo <wingo@pobox.com>
18953 patch by: Wim Taymans <wim@fluendo.com>
18955 * libs/gst/base/gstbasetransform.c
18956 (gst_base_transform_prepare_output_buf)
18957 (gst_base_transform_buffer_alloc):
18958 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18959 alloc_buffer_and_set_caps.
18961 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18962 set_caps on the source pad.
18963 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18964 alloc_buffer used to do. Fixes #322874.
18966 * docs/gst/gstreamer-sections.txt:
18967 * docs/design/part-negotiation.txt:
18968 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18971 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18973 patch by: Sebastien Moutte
18976 * win32/common/config.h.in:
18977 * win32/vs6/libgstcontroller.dsp:
18980 2005-12-05 Wim Taymans <wim@fluendo.com>
18982 * gst/gstcaps.c: (gst_caps_is_equal):
18983 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18984 (gst_fake_src_create):
18985 Back out previous code changes, leave doc updates, file bugs
18988 2005-12-05 Wim Taymans <wim@fluendo.com>
18990 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18991 (gst_fake_src_get_times), (gst_fake_src_create):
18992 * plugins/elements/gstfakesrc.h:
18993 Fix broken sync code.
18995 2005-12-05 Wim Taymans <wim@fluendo.com>
18997 * gst/gstcaps.c: (gst_caps_is_equal):
18998 Comparing NULL against !NULL yields different caps, not a
19001 2005-12-05 Wim Taymans <wim@fluendo.com>
19003 * gst/gstpipeline.c:
19004 Fix small typo in docs.
19006 2005-12-05 Andy Wingo <wingo@pobox.com>
19008 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19010 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19011 registries/plugins with a MAJORMINOR one.
19012 (plugin_desc): Rename library from gstcoreleements to
19013 staticelements. Fixes #323222.
19015 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19017 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19018 Change debug category to 'collectpads' from 'collect_pads'
19021 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19023 patch by: Sebastien Moutte
19025 * libs/gst/controller/gstinterpolation.c:
19026 use convert function for uint64/double
19027 * win32/vs6/libgstcontroller.dsp:
19030 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19032 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19033 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19035 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19036 add tests that seem to show that the guint64/gdouble conversions
19039 2005-12-02 Wim Taymans <wim@fluendo.com>
19041 * gst/gstregistry.c: (gst_registry_add_path):
19042 * gst/gstregistry.h:
19043 * gst/gstregistryxml.c:
19046 2005-12-02 Wim Taymans <wim@fluendo.com>
19048 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19049 (gst_util_uint64_scale_int):
19052 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19053 Add debug log line.
19055 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19058 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19061 * win32/common/config.h:
19062 * win32/vs6/gstreamer.dsw:
19063 * win32/vs6/libgstcoreelements.dsp:
19064 * win32/vs6/libgstelements.dsp:
19065 renamed core elements plugin
19067 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19069 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19071 do piece-wise major/minor comparison so 0.9 < 0.10
19072 also allow .exe extensions for tools
19074 2005-12-02 Michael Smith <msmith@fluendo.com>
19077 Escape a % to make gtkdoc happier; bug 322958.
19079 === release 0.9.7 ===
19081 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19084 releasing 0.9.7, "My Dog Has No Nose"
19086 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19088 * common/gst-xmlinspect.py:
19090 * docs/libs/tmpl/gstdataprotocol.sgml:
19091 * docs/random/release:
19110 * win32/common/config.h:
19111 * win32/common/config.h.in:
19112 * win32/vs6/gst_inspect.dsp:
19113 * win32/vs6/gst_launch.dsp:
19114 * win32/vs6/libgstbase.dsp:
19115 * win32/vs6/libgstelements.dsp:
19116 * win32/vs6/libgstreamer.dsp:
19117 * win32/vs7/GStreamer.vcproj:
19118 * win32/vs7/gst-inspect.vcproj:
19119 * win32/vs7/gst-launch.vcproj:
19120 * win32/vs7/libgstbase.vcproj:
19121 bump GST_MAJORMINOR to 0.10
19122 reset libtool version
19124 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19128 Added Bulgarian translation by (Alexander Shopov)
19130 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19132 * tests/check/gst/gstplugin.c:
19135 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19137 * common/gst-xmlinspect.py:
19138 * common/gtk-doc-plugins.mak:
19140 * docs/Makefile.am:
19141 * docs/gst/Makefile.am:
19142 * docs/gst/gstreamer-docs.sgml:
19143 * docs/gst/gstreamer-sections.txt:
19144 * docs/gst/gstreamer.types:
19145 * docs/gst/gstreamer.types.in:
19146 * docs/plugins/Makefile.am:
19147 * docs/plugins/gstreamer-plugins-docs.sgml:
19148 * docs/plugins/gstreamer-plugins-sections.txt:
19149 * docs/plugins/gstreamer-plugins.types:
19150 * docs/plugins/inspect.stamp:
19151 * docs/plugins/inspect/plugin-coreelements.xml:
19152 * docs/plugins/inspect/plugin-coreindexers.xml:
19153 * docs/plugins/scanobj-build.stamp:
19154 * gstreamer.spec.in:
19155 * plugins/elements/Makefile.am:
19156 * plugins/elements/gstelements.c:
19157 * plugins/elements/gstfakesink.c:
19158 * plugins/elements/gstfakesrc.c:
19159 * plugins/elements/gstfilesink.c:
19160 * plugins/elements/gstfilesrc.c:
19161 * plugins/elements/gstqueue.c:
19162 * plugins/indexers/Makefile.am:
19163 * plugins/indexers/gstindexers.c:
19164 document core plugins in a separate document just like all the
19166 rename these plugins to something starting with core
19168 2005-12-01 Andy Wingo <wingo@pobox.com>
19170 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19171 padding here before, but it missed the commit.
19173 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19175 * libs/gst/controller/gstinterpolation.c:
19176 whitespace prices have crashed, we should feel free to use some now
19177 use gst_guint64_to_gdouble
19179 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19181 * libs/gst/controller/gstcontroller.c:
19182 * libs/gst/controller/gsthelper.c:
19183 * libs/gst/controller/gstinterpolation.c:
19184 * libs/gst/controller/lib.c:
19185 wrap config.h include
19187 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19189 * docs/gst/gstreamer-sections.txt:
19192 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19194 * plugins/elements/gstelements.c:
19195 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19196 (gst_fd_sink__class_init), (gst_fd_sink__init),
19197 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19198 (gst_fd_sink__get_property):
19199 * plugins/elements/gstfdsink.h:
19200 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19201 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19202 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19203 (gst_fd_src_unlock), (gst_fd_src_set_property),
19204 (gst_fd_src_get_property), (gst_fd_src_create),
19205 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19206 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19207 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19208 (gst_fd_src_uri_handler_init):
19209 * plugins/elements/gstfdsrc.h:
19210 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19213 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19215 * docs/gst/Makefile.am:
19216 * docs/gst/gstreamer.types.in:
19220 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19226 * gst/gstregistry.h:
19227 * tests/benchmarks/complexity.c:
19228 * tests/benchmarks/mass-elements.c:
19229 * tests/check/Makefile.am:
19230 * tools/Makefile.am:
19231 * tools/gst-inspect.c:
19232 * tools/gst-xmlinspect.c:
19233 various fixes to make
19234 --disable-nls --disable-registry --disable-loadsave
19235 --disable-parse --disable-gst-debug
19236 work and get the core .so down to 360444 bytes after stripping
19238 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19243 * docs/random/thomasvs/TODO:
19244 * tests/Makefile.am:
19248 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19250 * win32/GStreamer.vcproj:
19253 * win32/Makefile.inspect:
19254 * win32/Makefile.launch:
19255 * win32/Makefile.register:
19256 * win32/README.txt:
19257 * win32/gst-inspect.vcproj:
19258 * win32/gst-launch.vcproj:
19259 * win32/gst-register.vcproj:
19260 * win32/gstelements.vcproj:
19261 * win32/gstgetbits.def:
19262 * win32/gstgetbits.vcproj:
19263 * win32/gstreamer-dbg.def:
19264 * win32/gstreamer.def:
19265 * win32/libgstbase.def:
19266 * win32/libgstbase.vcproj:
19267 * win32/link_oldruntime.c:
19271 * win32/msvc71.sln:
19272 move even more stuff, win32/ is nice and clean now
19274 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19276 * libs/gst/control/.cvsignore:
19281 * win32/gstbytestream.def:
19282 * win32/gstbytestream.vcproj:
19283 * win32/gstconfig.h:
19284 * win32/gstenumtypes.c:
19285 * win32/gstenumtypes.h:
19286 * win32/gstoptimalscheduler.vcproj:
19287 * win32/gstversion.h:
19289 * win32/testsuite/bins.vcproj:
19290 * win32/testsuite/bytestream.vcproj:
19291 * win32/testsuite/caps.vcproj:
19292 * win32/testsuite/cleanup.vcproj:
19293 * win32/testsuite/clock.vcproj:
19294 * win32/testsuite/debug.vcproj:
19295 * win32/testsuite/dlopen.vcproj:
19296 * win32/testsuite/dynparams.vcproj:
19297 * win32/testsuite/elements.vcproj:
19298 * win32/testsuite/ghostpads.vcproj:
19299 * win32/testsuite/indexers.vcproj:
19300 * win32/testsuite/negotiation.vcproj:
19301 * win32/testsuite/parse.vcproj:
19302 * win32/testsuite/plugin.vcproj:
19303 * win32/testsuite/refcounting.vcproj:
19304 * win32/testsuite/schedulers.vcproj:
19305 * win32/testsuite/states.vcproj:
19306 * win32/testsuite/tags.vcproj:
19307 * win32/testsuite/threads.vcproj:
19308 remove old win32 stuff that isn't maintained and should be
19311 2005-11-30 Andy Wingo <wingo@pobox.com>
19313 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19314 loading the gst.interfaces python module bork.
19316 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19317 available since GLib 2.2. Fixes #318031.
19319 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19322 * check/.cvsignore:
19323 * check/Makefile.am:
19324 * check/elements/.cvsignore:
19325 * check/elements/fakesrc.c:
19326 * check/elements/fdsrc.c:
19327 * check/elements/identity.c:
19328 * check/generic/.cvsignore:
19329 * check/generic/states.c:
19330 * check/gst-libs/.cvsignore:
19331 * check/gst-libs/controller.c:
19332 * check/gst-libs/gdp.c:
19333 * check/gst/.cvsignore:
19334 * check/gst/capslist.h:
19336 * check/gst/gstbin.c:
19337 * check/gst/gstbuffer.c:
19338 * check/gst/gstbus.c:
19339 * check/gst/gstcaps.c:
19340 * check/gst/gstelement.c:
19341 * check/gst/gstevent.c:
19342 * check/gst/gstghostpad.c:
19343 * check/gst/gstiterator.c:
19344 * check/gst/gstmessage.c:
19345 * check/gst/gstminiobject.c:
19346 * check/gst/gstobject.c:
19347 * check/gst/gstpad.c:
19348 * check/gst/gstpipeline.c:
19349 * check/gst/gstplugin.c:
19350 * check/gst/gstsegment.c:
19351 * check/gst/gststructure.c:
19352 * check/gst/gstsystemclock.c:
19353 * check/gst/gsttag.c:
19354 * check/gst/gstutils.c:
19355 * check/gst/gstvalue.c:
19356 * check/net/.cvsignore:
19357 * check/net/gstnetclientclock.c:
19358 * check/net/gstnettimeprovider.c:
19359 * check/pipelines/.cvsignore:
19360 * check/pipelines/cleanup.c:
19361 * check/pipelines/simple_launch_lines.c:
19362 * check/pipelines/stress.c:
19363 * check/states/.cvsignore:
19364 * check/states/sinks.c:
19366 * examples/Makefile.am:
19367 * examples/appreader/.cvsignore:
19368 * examples/appreader/Makefile.am:
19369 * examples/appreader/appreader.c:
19370 * examples/controller/.cvsignore:
19371 * examples/controller/Makefile.am:
19372 * examples/controller/audio-example.c:
19373 * examples/cutter/.cvsignore:
19374 * examples/cutter/Makefile.am:
19375 * examples/cutter/cutter.c:
19376 * examples/cutter/cutter.h:
19377 * examples/events/Makefile.am:
19378 * examples/events/seek.c:
19379 * examples/helloworld/.cvsignore:
19380 * examples/helloworld/Makefile.am:
19381 * examples/helloworld/helloworld.c:
19382 * examples/helloworld2/.cvsignore:
19383 * examples/helloworld2/Makefile.am:
19384 * examples/helloworld2/helloworld2.c:
19385 * examples/launch/.cvsignore:
19386 * examples/launch/Makefile.am:
19387 * examples/launch/mp3parselaunch.c:
19388 * examples/launch/mp3play:
19389 * examples/manual/.cvsignore:
19390 * examples/manual/Makefile.am:
19391 * examples/manual/extract.pl:
19392 * examples/metadata/Makefile.am:
19393 * examples/metadata/read-metadata.c:
19394 * examples/mixer/.cvsignore:
19395 * examples/mixer/Makefile.am:
19396 * examples/mixer/mixer.c:
19397 * examples/mixer/mixer.h:
19398 * examples/pingpong/.cvsignore:
19399 * examples/pingpong/Makefile.am:
19400 * examples/pingpong/pingpong.c:
19401 * examples/plugins/.cvsignore:
19402 * examples/plugins/Makefile.am:
19403 * examples/plugins/example.c:
19404 * examples/plugins/example.h:
19405 * examples/pwg/.cvsignore:
19406 * examples/pwg/Makefile.am:
19407 * examples/pwg/extract.pl:
19408 * examples/queue/.cvsignore:
19409 * examples/queue/Makefile.am:
19410 * examples/queue/queue.c:
19411 * examples/queue2/.cvsignore:
19412 * examples/queue2/Makefile.am:
19413 * examples/queue2/queue2.c:
19414 * examples/queue3/.cvsignore:
19415 * examples/queue3/Makefile.am:
19416 * examples/queue3/queue3.c:
19417 * examples/queue4/.cvsignore:
19418 * examples/queue4/Makefile.am:
19419 * examples/queue4/queue4.c:
19420 * examples/retag/.cvsignore:
19421 * examples/retag/Makefile.am:
19422 * examples/retag/retag.c:
19423 * examples/retag/transcode.c:
19424 * examples/thread/.cvsignore:
19425 * examples/thread/Makefile.am:
19426 * examples/thread/thread.c:
19427 * examples/typefind/.cvsignore:
19428 * examples/typefind/Makefile.am:
19429 * examples/typefind/typefind.c:
19430 * examples/xml/.cvsignore:
19431 * examples/xml/Makefile.am:
19432 * examples/xml/createxml.c:
19433 * examples/xml/runxml.c:
19434 * tests/Makefile.am:
19435 * tests/check/Makefile.am:
19436 * testsuite/.cvsignore:
19437 * testsuite/Makefile.am:
19439 * testsuite/caps/.cvsignore:
19440 * testsuite/caps/Makefile.am:
19441 * testsuite/caps/app_fixate.c:
19442 * testsuite/caps/audioscale.c:
19443 * testsuite/caps/caps.c:
19444 * testsuite/caps/caps.h:
19445 * testsuite/caps/caps_strings:
19446 * testsuite/caps/compatibility.c:
19447 * testsuite/caps/deserialize.c:
19448 * testsuite/caps/enumcaps.c:
19449 * testsuite/caps/eratosthenes.c:
19450 * testsuite/caps/filtercaps.c:
19451 * testsuite/caps/fixed.c:
19452 * testsuite/caps/fraction-convert.c:
19453 * testsuite/caps/fraction-multiply-and-zero.c:
19454 * testsuite/caps/intersect2.c:
19455 * testsuite/caps/intersection.c:
19456 * testsuite/caps/normalisation.c:
19457 * testsuite/caps/random.c:
19458 * testsuite/caps/renegotiate.c:
19459 * testsuite/caps/sets.c:
19460 * testsuite/caps/simplify.c:
19461 * testsuite/caps/string-conversions.c:
19462 * testsuite/caps/structure.c:
19463 * testsuite/caps/subtract.c:
19464 * testsuite/caps/union.c:
19465 * testsuite/debug/.cvsignore:
19466 * testsuite/debug/Makefile.am:
19467 * testsuite/debug/category.c:
19468 * testsuite/debug/commandline.c:
19469 * testsuite/debug/global.c:
19470 * testsuite/debug/output.c:
19471 * testsuite/debug/printf_extension.c:
19472 * testsuite/dlopen/.cvsignore:
19473 * testsuite/dlopen/Makefile.am:
19474 * testsuite/dlopen/dlopen_gst.c:
19475 * testsuite/dlopen/loadgst.c:
19476 * testsuite/elements/.cvsignore:
19477 * testsuite/elements/Makefile.am:
19478 * testsuite/elements/gst-inspect-check.in:
19479 * testsuite/elements/struct_i386.h:
19480 * testsuite/elements/struct_size.c:
19481 * testsuite/indexers/.cvsignore:
19482 * testsuite/indexers/Makefile.am:
19483 * testsuite/indexers/cache1.c:
19484 * testsuite/indexers/indexdump.c:
19485 * testsuite/parse/.cvsignore:
19486 * testsuite/parse/Makefile.am:
19487 * testsuite/parse/parse1.c:
19488 * testsuite/parse/parse2.c:
19489 * testsuite/plugin/.cvsignore:
19490 * testsuite/plugin/Makefile.am:
19491 * testsuite/plugin/README:
19492 * testsuite/plugin/dynamic.c:
19493 * testsuite/plugin/linked.c:
19494 * testsuite/plugin/loading.c:
19495 * testsuite/plugin/registry.c:
19496 * testsuite/plugin/static.c:
19497 * testsuite/plugin/static2.c:
19498 * testsuite/plugin/testplugin.c:
19499 * testsuite/plugin/testplugin2.c:
19500 * testsuite/plugin/testplugin2_s.c:
19501 * testsuite/plugin/testplugin_s.c:
19502 * testsuite/refcounting/.cvsignore:
19503 * testsuite/refcounting/Makefile.am:
19504 * testsuite/refcounting/bin.c:
19505 * testsuite/refcounting/element.c:
19506 * testsuite/refcounting/element_pad.c:
19507 * testsuite/refcounting/mainloop.c:
19508 * testsuite/refcounting/mem.c:
19509 * testsuite/refcounting/mem.h:
19510 * testsuite/refcounting/object.c:
19511 * testsuite/refcounting/pad.c:
19512 * testsuite/refcounting/sched.c:
19513 * testsuite/refcounting/thread.c:
19514 * testsuite/states/.cvsignore:
19515 * testsuite/states/Makefile.am:
19516 * testsuite/states/bin.c:
19517 * testsuite/states/locked.c:
19518 * testsuite/states/parent.c:
19519 * testsuite/threads/.cvsignore:
19520 * testsuite/threads/159566.c:
19521 * testsuite/threads/159852.c:
19522 * testsuite/threads/Makefile.am:
19523 * testsuite/threads/queue.c:
19524 * testsuite/threads/signals.c:
19525 * testsuite/threads/staticrec.c:
19526 * testsuite/threads/thread.c:
19527 * testsuite/threads/threadb.c:
19528 * testsuite/threads/threadc.c:
19529 * testsuite/threads/threadd.c:
19530 * testsuite/threads/threade.c:
19531 * testsuite/threads/threadf.c:
19532 * testsuite/threads/threadg.c:
19533 * testsuite/threads/threadh.c:
19534 * testsuite/threads/threadi.c:
19535 move all of these under tests
19537 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19540 * tests/Makefile.am:
19543 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19545 * docs/gst/gstreamer-sections.txt:
19546 * tests/sched/.cvsignore:
19547 * tests/sched/Makefile.am:
19548 * tests/sched/cases/(fs-fs).xml:
19549 * tests/sched/cases/(fs-i-fs).xml:
19550 * tests/sched/cases/(fs-i-i-fs).xml:
19551 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19552 * tests/sched/dynamic-pipeline.c:
19553 * tests/sched/interrupt1.c:
19554 * tests/sched/interrupt2.c:
19555 * tests/sched/interrupt3.c:
19556 * tests/sched/runtestcases:
19557 * tests/sched/runxml.c:
19558 * tests/sched/sched-stress.c:
19559 * tests/sched/sort.c:
19560 * tests/sched/testcases:
19561 * tests/sched/testcases1.tc:
19562 * tests/seeking/.cvsignore:
19563 * tests/seeking/Makefile.am:
19564 * tests/seeking/seeking1.c:
19565 * tests/threadstate/.cvsignore:
19566 * tests/threadstate/Makefile.am:
19567 * tests/threadstate/test1.c:
19568 * tests/threadstate/test2.c:
19569 * tests/threadstate/threadstate1.c:
19570 * tests/threadstate/threadstate2.c:
19571 * tests/threadstate/threadstate3.c:
19572 * tests/threadstate/threadstate4.c:
19573 * tests/threadstate/threadstate5.c:
19574 remove obsolete tests
19576 * tests/bench-complexity.scm:
19577 * tests/bench-mass_elements.scm:
19578 * tests/complexity.c:
19579 * tests/complexity.gnuplot:
19580 * tests/instantiate/.cvsignore:
19581 * tests/instantiate/Makefile.am:
19582 * tests/instantiate/caps.c:
19583 * tests/mass_elements.c:
19584 * tests/network-clock-utils.scm:
19585 * tests/network-clock.scm:
19587 First pass at cleaning up tests/ dir before moving the rest
19588 Combined with CVS surgery
19590 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19593 queue has moved, update
19595 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19597 * docs/gst/gstreamer-sections.txt:
19598 remove double entries from the docs
19599 * gst/gst_private.h:
19600 * gst/gstinfo.c: (_gst_debug_init):
19601 remove the THREAD debug category
19605 * docs/gst/gstreamer.types:
19606 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19607 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19608 completely move queue and fix up debugging categories
19610 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19612 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19613 make initialization portable, using LL is not
19615 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19617 * win32/common/gstconfig.h:
19620 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19622 * win32/common/libgstreamer.def:
19623 rename symbols; sort base section
19625 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19627 * gst/gstclock.c: (do_linear_regression):
19628 remove crack non-portable handrolled DEBUG macro
19630 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19632 * docs/random/release:
19634 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19635 (gst_object_flags_get_type), (register_gst_bin_flags),
19636 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19637 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19638 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19639 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19640 (gst_caps_flags_get_type), (register_gst_clock_return),
19641 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19642 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19643 (gst_clock_flags_get_type), (register_gst_state),
19644 (gst_state_get_type), (register_gst_state_change_return),
19645 (gst_state_change_return_get_type), (register_gst_state_change),
19646 (gst_state_change_get_type), (register_gst_element_flags),
19647 (gst_element_flags_get_type), (register_gst_core_error),
19648 (gst_core_error_get_type), (register_gst_library_error),
19649 (gst_library_error_get_type), (register_gst_resource_error),
19650 (gst_resource_error_get_type), (register_gst_stream_error),
19651 (gst_stream_error_get_type), (register_gst_event_type_flags),
19652 (gst_event_type_flags_get_type), (register_gst_event_type),
19653 (gst_event_type_get_type), (register_gst_seek_type),
19654 (gst_seek_type_get_type), (register_gst_seek_flags),
19655 (gst_seek_flags_get_type), (register_gst_format),
19656 (gst_format_get_type), (register_gst_index_certainty),
19657 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19658 (gst_index_entry_type_get_type),
19659 (register_gst_index_lookup_method),
19660 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19661 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19662 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19663 (gst_index_flags_get_type), (register_gst_debug_level),
19664 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19665 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19666 (gst_iterator_result_get_type), (register_gst_iterator_item),
19667 (gst_iterator_item_get_type), (register_gst_message_type),
19668 (gst_message_type_get_type), (register_gst_mini_object_flags),
19669 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19670 (gst_pad_link_return_get_type), (register_gst_flow_return),
19671 (gst_flow_return_get_type), (register_gst_activate_mode),
19672 (gst_activate_mode_get_type), (register_gst_pad_direction),
19673 (gst_pad_direction_get_type), (register_gst_pad_flags),
19674 (gst_pad_flags_get_type), (register_gst_pad_presence),
19675 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19676 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19677 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19678 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19679 (gst_plugin_flags_get_type), (register_gst_rank),
19680 (gst_rank_get_type), (register_gst_query_type),
19681 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19682 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19683 (gst_tag_flag_get_type), (register_gst_task_state),
19684 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19685 (gst_alloc_trace_flags_get_type),
19686 (register_gst_type_find_probability),
19687 (gst_type_find_probability_get_type), (register_gst_uri_type),
19688 (gst_uri_type_get_type), (register_gst_parse_error),
19689 (gst_parse_error_get_type):
19690 * win32/common/gstenumtypes.h:
19691 * win32/common/gstversion.h:
19692 update visual studio generated files
19694 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19696 * win32/vs6/libgstbase.dsp:
19697 * win32/vs6/libgstelements.dsp:
19698 update project files for new locations
19700 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19705 reinstate and update
19710 * docs/random/LICENSE:
19713 2005-11-30 Edward Hervey <edward@fluendo.com>
19715 * gst/gsttypefind.c: (gst_type_find_register):
19716 * gst/gsttypefind.h:
19717 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19718 (gst_type_find_factory_dispose):
19719 * gst/gsttypefindfactory.h:
19720 Fix memory leak in GstTypeFindFactory.
19722 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19725 * plugins/elements/Makefile.am:
19726 * plugins/elements/gstelements.c:
19727 * plugins/elements/gstqueue.c:
19728 move queue from core to the elements plugin
19730 2005-11-29 Andy Wingo <wingo@pobox.com>
19732 * libs/gst/base/gstbasetransform.h:
19733 * libs/gst/base/gstbasesrc.h:
19734 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19736 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19737 of pointers by which to pad very extensible base classes (like the
19738 ones in libs/gst/base).
19740 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19742 * docs/gst/gstreamer-docs.sgml:
19743 * docs/gst/gstreamer-sections.txt:
19744 * docs/libs/gstreamer-libs-docs.sgml:
19745 * docs/libs/gstreamer-libs-sections.txt:
19746 moving documentation from core to lib
19748 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19750 * check/Makefile.am:
19752 * docs/gst/Makefile.am:
19754 * gst/base/.cvsignore:
19755 * gst/base/Makefile.am:
19757 * gst/base/gstadapter.c:
19758 * gst/base/gstadapter.h:
19759 * gst/base/gstbasesink.c:
19760 * gst/base/gstbasesink.h:
19761 * gst/base/gstbasesrc.c:
19762 * gst/base/gstbasesrc.h:
19763 * gst/base/gstbasetransform.c:
19764 * gst/base/gstbasetransform.h:
19765 * gst/base/gstcollectpads.c:
19766 * gst/base/gstcollectpads.h:
19767 * gst/base/gstpushsrc.c:
19768 * gst/base/gstpushsrc.h:
19769 * gst/base/gsttypefindhelper.c:
19770 * gst/base/gsttypefindhelper.h:
19771 * gst/check/Makefile.am:
19772 * gst/check/gstcheck.c:
19773 * gst/check/gstcheck.h:
19774 * gst/net/Makefile.am:
19775 * gst/net/gstnet.h:
19776 * gst/net/gstnetclientclock.c:
19777 * gst/net/gstnetclientclock.h:
19778 * gst/net/gstnettimepacket.c:
19779 * gst/net/gstnettimepacket.h:
19780 * gst/net/gstnettimeprovider.c:
19781 * gst/net/gstnettimeprovider.h:
19782 * libs/gst/Makefile.am:
19783 * libs/gst/base/Makefile.am:
19784 * libs/gst/base/gstbasetransform.c:
19785 * libs/gst/check/Makefile.am:
19786 * plugins/elements/Makefile.am:
19788 CVS surgery + support to move base, check, and net out of gst
19791 2005-11-29 Andy Wingo <wingo@pobox.com>
19793 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19795 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19798 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19800 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19802 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19804 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19805 padding; reduces object size by about 30%. We don't expect
19806 anything else to go into gstobject.
19808 * gst/gstminiobject.h (struct _GstMiniObject)
19809 (struct _GstMiniObjectClass): Only one pointer of padding; the
19810 payload is only a pointer and two ints anyway. For the class there
19811 are only two methods as well.
19813 * gst/gstelement.h (struct _GstElementClass): Removed
19814 the state_changed signal callback, it is not used.
19816 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * docs/gst/gstreamer.types:
19819 fix includes, though they are a little dinky
19821 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19823 * check/Makefile.am:
19824 look in the right place for elements, a lot more chance of
19827 remove indexers and elements subdirs
19828 * plugins/Makefile.am:
19829 make indexers conditional
19831 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19835 * plugins/elements/Makefile.am:
19836 * plugins/elements/gstcapsfilter.c:
19837 * plugins/elements/gstfilesink.c:
19838 * plugins/elements/gstfilesrc.c:
19839 * plugins/elements/gstidentity.c:
19840 * plugins/indexers/Makefile.am:
19841 do CVS surgery and related build fixery to move elements
19842 and indexers in a new gstreamer/plugins directory, out of the
19845 2005-11-29 Andy Wingo <wingo@pobox.com>
19847 * check/Makefile.am:
19848 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19849 * pkgconfig/gstreamer-net.pc.in:
19850 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19853 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19855 * tools/Makefile.am:
19856 * tools/gst-complete.1.in:
19857 * tools/gst-complete.c:
19858 * tools/gst-compprep.1.in:
19859 * tools/gst-compprep.c:
19860 removing -compprep and -complete
19862 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19864 * gst/gstevent.c: (gst_event_new_new_segment),
19865 (gst_event_parse_new_segment):
19867 fix #320529 - clean up new_segment API and structure.
19868 Let's hope everyone was using the methods, and not the structure.
19870 2005-11-29 Edward Hervey <edward@fluendo.com>
19872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19873 (gst_base_sink_event), (gst_base_sink_do_sync),
19874 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19875 Properly handle non GST_FORMAT_TIME segment
19876 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19877 Properly handle non GST_FORMAT_TIME segment
19878 * gst/gstsegment.c:
19879 This function is valid if the accumulator is 0 and the format
19880 is different from the requested format.
19882 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19884 * docs/gst/gstreamer-sections.txt:
19885 Add gst_query_new_seeking and gst_query_parse_seeking to the
19888 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19890 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19891 Treat a pad alloc with new caps the same as if we were not
19892 negotiated, in order to allow a changing upstream output
19893 to produce a new format of data.
19895 2005-11-29 Edward Hervey <edward@fluendo.com>
19897 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19898 (gst_base_transform_event), (gst_base_transform_eventfunc):
19899 The event virtual method is now properly implemented, with a default
19901 Sub classes should call the parent_class event method. They should
19902 return FALSE if they had a problem handling the given event, or don't
19903 want GstBaseTransform to send that even downstream
19904 * gst/elements/gstidentity.c: (gst_identity_class_init),
19905 (gst_identity_init), (gst_identity_event),
19906 (gst_identity_transform_ip), (gst_identity_set_property),
19907 (gst_identity_get_property):
19908 * gst/elements/gstidentity.h:
19909 Added the single-segment boolean property.
19910 If set to TRUE, it will output a single segment of data, starting from
19911 0, will eat up all incoming newsegment, and modify the timestamp of the
19912 buffers accordingly
19914 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19916 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19917 Don't ref NULL target pad (#322751). Improve docs.
19919 2005-11-29 Michael Smith <msmith@fluendo.com>
19921 * gst/gstregistryxml.c: (load_plugin):
19922 Don't crash if we failed to load a feature from a plugin.
19924 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19926 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19928 use more check API and less GLib API
19930 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19933 don't run checks if we don't have check
19934 * common/check.mak:
19935 remove the registry when running make torture
19936 * docs/gst/gstreamer-sections.txt:
19937 remove second multiply
19938 * gst/gstqueue.c: (gst_queue_loop):
19939 fix a compile warning when disabling debug
19941 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19944 Hey! Let's print the pad name if the pointer != NULL instead
19945 of when it == NULL :-)
19947 2005-11-28 Wim Taymans <wim@fluendo.com>
19949 * check/gst/gstutils.c: (GST_START_TEST):
19950 Updated check, add some scaling accuracy checking code.
19952 * gst/gstutils.c: (gst_util_div128_64),
19953 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19954 (gst_util_uint64_scale_int):
19955 Fix 6 times faster division code. Optimize for common
19956 1/1 and less common X/1 cases.
19958 2005-11-28 Wim Taymans <wim@fluendo.com>
19960 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19963 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19964 (do_linear_regression), (gst_clock_add_observation):
19966 Release lock when the clock cannot be slaved.
19967 Catch the case where the regression returned an invalid denominator.
19969 * gst/gstutils.c: (gst_util_div128_64_iterate),
19970 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19971 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19972 Add protentially more performant non-iterative 128/64 divide function
19973 that unfortunatly does not work yet.
19974 Shortcut the trivial 0/X = 0 case.
19975 Remove the warnings on overflow.
19977 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19979 * gst/gstplugin.c: (gst_plugin_register_func):
19980 everything causing a plugin not to load should be at least a WARNING
19982 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19984 * docs/random/ensonic/dparams.txt:
19985 some TODOs for the next dev cycle
19986 * libs/gst/controller/gstcontroller.c:
19987 (gst_controlled_property_set_interpolation_mode),
19988 (gst_controlled_property_new):
19989 * libs/gst/controller/gstcontroller.h:
19990 use base type to assign acccessor functions
19992 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19994 * check/Makefile.am:
19995 Oops, that should have been top_srcdir
19997 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19999 * check/Makefile.am:
20000 * check/elements/fdsrc.c: (GST_START_TEST):
20001 Use a cmdline define to specify the location of a file to use for
20002 testing, to avoid breaking distcheck.
20004 2005-11-28 Andy Wingo <wingo@pobox.com>
20006 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20008 2005-11-28 Edward Hervey <edward@fluendo.com>
20010 * tools/gst-launch.c: (main):
20011 Clarify the output strings, makes it easier to translate.
20014 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20017 don't try and build net if we don't even have <sys/socket.h>
20019 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20021 * check/Makefile.am:
20022 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20023 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20024 Add tests for fdsrc seekability
20026 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20027 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20028 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20029 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20030 * gst/elements/gstfdsrc.h:
20031 fdsrc should not be a 'live' source.
20032 Implement seeking on seekable fd's.
20034 * gst/gstquery.c: (gst_query_new_seeking),
20035 (gst_query_parse_seeking):
20037 Implement SEEKING query functions:
20038 *_new_seeking and *_parse_seeking
20040 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20042 * gst/gstelement.c: (gst_element_dispose):
20045 * gst/gstiterator.c:
20046 * gst/gststructure.c:
20049 * libs/gst/controller/gstcontroller.c:
20050 (gst_controlled_property_set_interpolation_mode):
20051 * libs/gst/controller/gstcontroller.h:
20052 * libs/gst/controller/gstinterpolation.c:
20053 (interpolate_none_get_enum_value_array):
20054 support controlling enums
20056 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20059 Improve documentation for gst_value_union().
20062 Change return value for union, intersect and subtract functions
20063 from gint to gboolean.
20065 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20067 * gst/gstvalue.c: (gst_value_serialize_any_list),
20068 (gst_value_transform_any_list_string),
20069 (gst_value_deserialize_list), (gst_value_deserialize_array),
20070 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20071 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20072 (gst_value_set_fraction_range_full),
20073 (gst_value_deserialize_fraction_range),
20074 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20075 (gst_value_deserialize_boolean),
20076 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20077 (gst_value_serialize_float), (gst_value_deserialize_float),
20078 (gst_string_wrap), (gst_value_deserialize_string),
20079 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20080 (gst_value_union_int_range_int_range),
20081 (gst_value_intersect_int_range_int_range),
20082 (gst_value_intersect_double_range_double_range),
20083 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20084 (gst_value_subtract_int_range_int_range),
20085 (gst_value_subtract_double_double_range),
20086 (gst_value_subtract_double_range_double_range),
20087 (gst_value_deserialize_fraction):
20089 Use gint, gdouble and gchar in our API instead of int, double and
20090 char (and make usage in gstvalue.c more consistent).
20092 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20094 * check/Makefile.am:
20095 * libs/gst/controller/Makefile.am:
20096 * libs/gst/dataprotocol/Makefile.am:
20097 fix up Makefile.am and remove GST_ENABLE_NEW
20099 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20103 * gst/base/Makefile.am:
20104 * gst/check/Makefile.am:
20105 * gst/elements/Makefile.am:
20106 * gst/net/Makefile.am:
20107 update LDFLAGS use some more
20109 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20111 * common/m4/gst-doc.m4:
20114 2005-11-26 Edward Hervey <edward@fluendo.com>
20116 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20117 This shouldn't issue a g_warning since it returns NULL if it
20118 couldn't find the plugin, and all functions using this behave
20119 properly on a NULL return. Switching to a GST_WARNING.
20121 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20123 * gst/gstbin.c: (gst_bin_handle_message_func):
20124 Don't leak clock messages.
20126 2005-11-25 Wim Taymans <wim@fluendo.com>
20128 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20129 (gst_util_uint64_scale_int):
20130 Optimisations, remove unneeded vars.
20132 2005-11-25 Wim Taymans <wim@fluendo.com>
20134 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20135 Added more checks for the high precision uint64 cases.
20137 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20138 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20139 Implement high precision (guint64 * guint64) / guint64.
20141 2005-11-24 Wim Taymans <wim@fluendo.com>
20143 * gst/base/gstbasesrc.c: (gst_base_src_query):
20144 Fix wrong percentage query.
20146 * gst/gstutils.c: (gst_util_uint64_scale),
20147 (gst_util_uint64_scale_int):
20148 Add some more common cases that can be handled
20149 efficiently to _scale.
20151 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20153 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20154 (gst_mini_object_suite):
20155 don't use check calls from threads; check probably isn't
20156 threadsafe and using a lock to make it threadsafe would
20157 defeat the purpose of this check
20158 * gst/check/gstcheck.c:
20159 * gst/check/gstcheck.h:
20160 use GST_DEBUG some more
20162 2005-11-24 Wim Taymans <wim@fluendo.com>
20164 * gst/gstutils.c: (gst_util_uint64_scale),
20165 (gst_util_uint64_scale_int):
20166 Chain trivial case to _scale_int.
20168 2005-11-24 Wim Taymans <wim@fluendo.com>
20170 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20171 Added test for scaling.
20176 * gst/gstutils.c: (gst_util_uint64_scale_int):
20177 Implemented high precision scaling code.
20179 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20182 do not crash on pad==NULL
20184 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20186 Patch by: Stefan Kost
20188 * common/gtk-doc.mak:
20189 * docs/gst/Makefile.am:
20190 * docs/libs/Makefile.am:
20191 Fix distcheck issues for the libraries docs build
20194 2005-11-24 Michael Smith <msmith@fluendo.com>
20196 * docs/manual/basics-helloworld.xml:
20197 Fix bug #315027: memory leak in example code in docs.
20199 2005-11-24 Michael Smith <msmith@fluendo.com>
20201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20202 Unlock the PREROLL_LOCK in a failure case.
20204 2005-11-24 Wim Taymans <wim@fluendo.com>
20206 * docs/gst/gstreamer-sections.txt:
20207 * gst/base/gstadapter.h:
20208 * gst/base/gstbasesink.h:
20209 * gst/base/gstbasesrc.h:
20210 * gst/base/gstbasetransform.h:
20211 * gst/base/gstpushsrc.h:
20212 * gst/elements/gstfakesink.h:
20213 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20214 * gst/elements/gstfakesrc.h:
20215 * gst/elements/gstfilesink.h:
20216 * gst/elements/gstfilesrc.h:
20219 * gst/gstbuffer.c: (_gst_buffer_copy):
20222 * gst/gstchildproxy.c:
20224 * gst/gstelement.c:
20225 * gst/gstelementfactory.c:
20226 * gst/gstelementfactory.h:
20228 * gst/gstghostpad.h:
20230 * gst/gstinterface.h:
20231 * gst/gstminiobject.c:
20232 * gst/gstminiobject.h:
20235 * gst/gstpadtemplate.h:
20236 * gst/gstpipeline.h:
20237 * gst/gstpluginfeature.h:
20240 * gst/gsttaglist.c:
20241 * gst/gsttaglist.h:
20242 * gst/gsttagsetter.c:
20243 * gst/gsttagsetter.h:
20246 * gst/gsttypefind.h:
20249 * gst/net/gstnetclientclock.c:
20250 * gst/net/gstnetclientclock.h:
20251 * gst/net/gstnettimepacket.c:
20252 * gst/net/gstnettimeprovider.c:
20253 * gst/net/gstnettimeprovider.h:
20256 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20258 * configure.ac: back to HEAD
20260 === release 0.9.6 ===
20262 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20265 releasing 0.9.6, "Always On Time"
20267 2005-11-23 Wim Taymans <wim@fluendo.com>
20269 * docs/gst/gstreamer-sections.txt:
20270 * gst/glib-compat.c:
20271 * gst/gsttagsetter.c:
20273 * gst/net/gstnetclientclock.c:
20274 * gst/net/gstnettimepacket.h:
20277 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20279 * docs/faq/using.xml:
20280 * docs/libs/tmpl/gstcontrol.sgml:
20281 * docs/manual/advanced-dparams.xml:
20282 * docs/manual/appendix-checklist.xml:
20283 * docs/manual/basics-elements.xml:
20284 * docs/pwg/other-source.xml:
20285 * docs/random/moving-plugins:
20287 * tools/gst-launch.1.in:
20288 remove mentions of sinesrc
20290 2005-11-23 Michael Smith <msmith@fluendo.com>
20292 * docs/gst/gstreamer-sections.txt:
20293 Update for new API and API changes.
20295 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20297 Documentation typo fix.
20298 * gst/net/gstnettimepacket.c:
20299 Documentation fixes for arguments.
20301 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20303 * gst/gststructure.c: (gst_structure_get_fraction),
20304 (gst_structure_parse_value),
20305 (gst_structure_fixate_field_nearest_fraction):
20306 * gst/gststructure.h:
20307 * gst/gstutils.c: (gst_util_uint64_scale_int):
20309 * scripts/update-funcnames:
20311 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20312 Make gst_structure_fixate_field_nearest_fraction take a numerator
20313 and denominator argument instead of a GValue
20314 add gst_structure_get_fraction helper function.
20316 2005-11-23 Wim Taymans <wim@fluendo.com>
20318 * docs/design/part-TODO.txt:
20321 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20322 * gst/net/gstnetclientclock.h:
20323 Use parent fields for timeout and window_size.
20325 2005-11-23 Andy Wingo <wingo@pobox.com>
20327 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20328 rate_num/rate_denom change.
20330 * gst/net/gstnetclientclock.c
20331 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20332 OBJECT_LOCK. Don't call add_observation with the lock.
20334 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20336 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20338 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20339 deal with rate as a fraction whose numerator and denominator are
20340 GstClockTime values.
20341 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20342 master; the other fields are protected by the SLAVE_LOCK.
20343 (do_linear_regression): Note that this must be called with the
20345 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20346 OBJECT_LOCK. Call set_calibration instead of touching the
20347 variables directly.
20348 (gst_clock_set_property, gst_clock_get_property): Protect
20349 master/slave parameters with the SLAVE_LOCK.
20351 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20352 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20353 note that all of the instance variables that add_observation and
20354 the set_master functions use are protected by that lock and not
20356 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20358 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20359 the caller to take the object lock.
20361 2005-11-23 Wim Taymans <wim@fluendo.com>
20363 * gst/gsterror.c: (_gst_core_errors_init):
20365 Add error for clock stuff.
20367 * gst/gstpipeline.c: (gst_pipeline_change_state),
20368 (gst_pipeline_set_clock):
20369 Post clock error when clock cannot be used in a pipeline.
20371 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20373 * docs/gst/gstreamer-sections.txt:
20374 make two symbols from gstinfo private for the docs
20375 * gst/base/gstcollectpads.h:
20377 fix doc typos, update docs
20379 2005-11-22 Wim Taymans <wim@fluendo.com>
20381 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20382 (gst_base_sink_wait), (gst_base_sink_do_sync),
20383 (gst_base_sink_handle_event):
20384 * gst/base/gstbasesink.h:
20385 No need to store the clock, the parent element class already
20388 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20389 Updates for clock_set returning a gboolean
20391 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20392 (gst_clock_id_wait_async), (gst_clock_class_init),
20393 (gst_clock_init), (gst_clock_finalize),
20394 (gst_clock_get_internal_time), (gst_clock_get_time),
20395 (gst_clock_slave_callback), (gst_clock_set_master),
20396 (gst_clock_get_master), (do_linear_regression),
20397 (gst_clock_add_observation), (gst_clock_set_property),
20398 (gst_clock_get_property):
20400 Implement master/slave. When setting a clock as a slave, a
20401 periodic timeout is scheduled to sample master and slave times.
20402 Then the slave clock is recalibrated to match offset and rate
20403 of the master clock.
20404 Update logging a bit.
20405 Add flag so that a clock can state that is cannot be slaved to
20408 * gst/gstelement.c: (gst_element_set_clock):
20409 * gst/gstelement.h:
20410 The set clock returns a gboolean for when an element cannot
20411 deal with the selected clock in the pipeline.
20413 * gst/gstpipeline.c: (gst_pipeline_change_state),
20414 (gst_pipeline_set_clock):
20415 * gst/gstpipeline.h:
20416 Handle the case where the selected clock cannot be set on
20419 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20420 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20421 (gst_net_client_clock_set_property),
20422 (gst_net_client_clock_get_property),
20423 (gst_net_client_clock_observe_times):
20424 * gst/net/gstnetclientclock.h:
20425 Use regression code in GstClock parent, remove duplicated
20428 2005-11-22 Michael Smith <msmith@fluendo.com>
20430 * gst/gstutils.c: (gst_util_clock_time_scale):
20432 * docs/gst/gstreamer-sections.txt:
20433 Rename method to have extra underscore.
20435 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20437 * gst/elements/Makefile.am:
20438 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20439 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20440 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20441 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20442 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20443 * gst/elements/gstfakesrc.h:
20444 * gst/gstqueue.c: (queue_leaky_get_type):
20445 correctly fix GEnumValues so that nick is the short lowercase
20447 * tools/gst-inspect.c: (print_element_properties_info):
20448 also show the nick, since it's useful to use from parse_launch
20452 2005-11-22 Michael Smith <msmith@fluendo.com>
20454 * gst/gstutils.c: (gst_util_clocktime_scale):
20456 * docs/gst/gstreamer-sections.txt:
20457 Add util method for scaling a clocktime by a fraction. Useful
20458 implementation is left as an exercise for the reader.
20460 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20462 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20463 If needed, allocate storage in the destination value during
20466 2005-11-22 Edward Hervey <edward@fluendo.com>
20468 * docs/gst/gstreamer-sections.txt:
20471 * gst/gsturitype.c:
20472 * gst/gsturitype.h:
20473 * gst/gstutils.c: (gst_util_set_object_arg):
20474 * tools/gst-compprep.c: (main):
20475 * tools/gst-inspect.c: (print_element_properties_info):
20476 Removed GstURI, closes bug #321061
20478 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20480 * check/gst/gststructure.c: (GST_START_TEST):
20481 * gst/gststructure.c: (gst_structure_parse_value):
20482 Oops, broke automatic string type parsing.
20483 Add a test to catch it in future.
20485 2005-11-22 Andy Wingo <wingo@pobox.com>
20487 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20488 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20489 Actually rename the function implementations. Grr.
20491 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20493 * check/gst/capslist.h:
20495 * check/gst/gststructure.c: (GST_START_TEST),
20496 (gst_structure_suite):
20497 Test automatic value type detection in gst_structure_from_string.
20498 * gst/gststructure.c: (gst_structure_parse_value):
20499 Add fraction as a type we try and guess automatically in
20500 caps/structure strings.
20502 2005-11-22 Andy Wingo <wingo@pobox.com>
20504 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20506 * gst/gsttagsetter.h:
20507 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20508 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20509 (gst_tag_setter_add_tag_valist)
20510 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20511 _add_values, _add_valist, and _add_valist_values. Since this is an
20512 interface the function suffixes should be more explicit so
20513 language binding don't end up with element.add_valist ->
20514 gst_tag_setter_add_valist, for example. Fixes #322069.
20516 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20518 * check/gst/gstcaps.c: (GST_START_TEST):
20519 Extend caps string tests to check that a caps to string
20520 conversion is reversible and produces the same caps.
20522 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20523 Output "fraction" as the generic type fraction range, so caps
20524 serialisation and deserialisation works.
20525 * check/gst/capslist.h:
20526 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20527 Support 'MIN' and 'MAX' for deserialising fractions.
20529 2005-11-22 Andy Wingo <wingo@pobox.com>
20531 * gst/gstevent.h (gst_event_new_new_segment)
20532 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20533 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20534 Renamed from *_newsegment, *_buffersize, *_notarget.
20536 * scripts/update-funcnames: New script, performs the changes
20539 2005-11-22 Wim Taymans <wim@fluendo.com>
20541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20542 Make sure the GstFlowReturn is returned.
20544 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20545 (gst_bus_add_signal_watch):
20547 add gst_bus_add_signal_watch_full.
20549 * gst/gstplugin.c: (gst_plugin_load_file):
20550 Small style cleanup.
20552 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20554 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20555 Block the fakesrc srcpad when we send an event, to avoid
20556 contention on the stream_lock causing random test failures.
20558 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20560 * check/gst/gstvalue.c: (GST_START_TEST):
20561 * gst/gstvalue.c: (gst_value_fraction_subtract):
20564 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20567 include "gstchildproxy.h"
20568 * gst/gstchildproxy.h:
20569 * libs/gst/controller/gstcontroller.h:
20570 use G_GNUC_NULL_TERMINATED
20572 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20574 * check/gst/capslist.h:
20575 * check/gst/gstcaps.c: (GST_START_TEST):
20576 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20577 * gst/gststructure.c: (gst_structure_parse_range),
20578 (gst_structure_fixate_field_nearest_fraction):
20579 * gst/gststructure.h:
20580 * gst/gstvalue.c: (gst_value_init_fraction_range),
20581 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20582 (gst_value_collect_fraction_range),
20583 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20584 (gst_value_set_fraction_range_full),
20585 (gst_value_get_fraction_range_min),
20586 (gst_value_get_fraction_range_max),
20587 (gst_value_serialize_fraction_range),
20588 (gst_value_transform_fraction_range_string),
20589 (gst_value_compare_fraction_range),
20590 (gst_value_deserialize_fraction_range),
20591 (gst_value_intersect_fraction_fraction_range),
20592 (gst_value_intersect_fraction_range_fraction_range),
20593 (gst_value_subtract_fraction_fraction_range),
20594 (gst_value_subtract_fraction_range_fraction),
20595 (gst_value_subtract_fraction_range_fraction_range),
20596 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20597 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20598 (gst_value_transform_string_fraction), (_gst_value_initialize):
20600 Implement fraction ranges and extend GstFraction to support
20601 arithmetic subtraction, as well as deserialization from integer
20602 strings such as "100"
20603 Add a testsuite as for int and double range set operations
20605 2005-11-21 Andy Wingo <wingo@pobox.com>
20607 * gst/gsttaglist.h:
20609 * gst/gststructure.h: Add glib-compat.h.
20611 2005-11-21 Wim Taymans <wim@fluendo.com>
20613 * gst/gstbin.c: (gst_bin_change_state_func):
20616 2005-11-21 Wim Taymans <wim@fluendo.com>
20618 * gst/gstsegment.h:
20619 And add a nice define too.
20621 2005-11-21 Wim Taymans <wim@fluendo.com>
20623 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20624 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20625 (gst_segment_set_duration), (gst_segment_set_last_stop),
20626 (gst_segment_set_seek), (gst_segment_set_newsegment),
20627 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20628 (gst_segment_clip):
20629 * gst/gstsegment.h:
20630 Make binding friendly.
20632 2005-11-21 Andy Wingo <wingo@pobox.com>
20634 * gst/gsttagsetter.h:
20635 * gst/gsttaglist.h:
20636 * gst/gststructure.h:
20638 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20641 * gst/gsterror.c (_gst_core_errors_init):
20642 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20645 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20646 (noinst_HEADERS): noinst the -private.
20648 2005-11-21 Michael Smith <msmith@fluendo.com>
20651 * gst/gstregistry.h:
20652 Remove unimplemented declarations for which we can see no sensible
20655 2005-11-21 Andy Wingo <wingo@pobox.com>
20657 * gst/gst.h: Include glib-compat.h.
20659 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20661 * gst/glib-compat.c: Include the public and the private header.
20663 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20667 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20669 * check/gst/gstevent.c (create_custom_events): Check that
20670 FLUSH_STOP is serialized.
20672 * check/elements/identity.c (event_func):
20673 * check/elements/fakesrc.c (event_func): No stream lock, the core
20676 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20677 stream lock taking, yay.
20679 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20680 ensure that core takes the stream lock.
20682 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20685 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20686 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20687 it already. For the flush start we do take it though so we get the
20688 right preroll state change messages.
20690 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20691 the stream lock here, the core does it for us.
20693 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20694 GST_STREAM_GET_LOCK.
20695 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20696 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20697 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20698 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20699 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20700 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20702 * gst/gstpad.c: Update for stream lock name change.
20704 * gst/base/gstbasesink.c: Update for preroll lock name change.
20706 2005-11-21 Wim Taymans <wim@fluendo.com>
20708 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20709 (gst_clock_get_master):
20711 * gst/gstsystemclock.c: (gst_system_clock_init):
20712 Convert Clock flags to object flags.
20713 Added methods to manage master/slave clocks.
20715 2005-11-21 Wim Taymans <wim@fluendo.com>
20717 * check/gst/gstsegment.c: (GST_START_TEST):
20718 * docs/design/part-TODO.txt:
20719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20720 (gst_base_sink_event), (gst_base_sink_do_sync),
20721 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20722 (gst_base_sink_query), (gst_base_sink_change_state):
20723 * gst/base/gstbasesink.h:
20724 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20725 (gst_base_src_default_newsegment),
20726 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20727 (gst_base_src_get_range), (gst_base_src_loop),
20728 (gst_base_src_change_state):
20729 * gst/base/gstbasesrc.h:
20730 * gst/base/gstbasetransform.c:
20731 (gst_base_transform_prepare_output_buf),
20732 (gst_base_transform_event), (gst_base_transform_change_state):
20733 * gst/base/gstbasetransform.h:
20734 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20735 (gst_collect_pads_event):
20736 * gst/base/gstcollectpads.h:
20737 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20738 (gst_fake_src_create):
20739 * gst/elements/gstfakesrc.h:
20740 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20741 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20742 (gst_segment_set_last_stop), (gst_segment_set_seek),
20743 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20744 (gst_segment_to_running_time), (gst_segment_clip):
20745 * gst/gstsegment.h:
20746 More segment updates, replace code in plugins with segment
20749 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20751 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20752 Don't ignore sscanf results
20754 2005-11-21 Andy Wingo <wingo@pobox.com>
20756 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20759 * *.c: Ran scripts/update-macros. Oh yes.
20761 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20762 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20765 * scripts/update-macros: New script. Run it on your files to
20766 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20769 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20771 * docs/gst/Makefile.am:
20772 * docs/gst/gstreamer-docs.sgml:
20773 * docs/gst/gstreamer-sections.txt:
20774 * docs/gst/gstreamer.types:
20776 more docs fixes, add new api to the docs
20778 2005-11-21 Andy Wingo <wingo@pobox.com>
20780 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20781 state_broadcast call.
20783 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20785 2005-11-21 Julien MOUTTE <julien@moutte.net>
20787 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20788 function calls for arrays.
20790 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20792 * docs/random/ensonic/media-device-daemon.txt:
20793 wild idea, can this be done?
20794 * docs/gst/gstreamer-sections.txt:
20799 * gst/gstpluginfeature.c:
20803 doc fixes and additions
20805 2005-11-21 Andy Wingo <wingo@pobox.com>
20807 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20808 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20809 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20810 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20811 private to the basesrc implementation.
20813 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20814 behalf of event function if necessary. It should no longer be
20815 necessary to take the stream lock in pad's event functions. Fixes
20818 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20819 * docs/gst/gstreamer-sections.txt:
20820 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20821 (gst_structure_fixate_field_nearest_double),
20822 (gst_structure_fixate_field_boolean):
20823 * gst/gststructure.h:
20824 * win32/common/libgstreamer.def:
20825 * win32/gstreamer.def:
20827 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20830 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20832 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20833 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20834 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20835 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20836 (gst_fdsrc_uri_handler_init):
20837 * gst/elements/gstfdsrc.h:
20838 Port fd:// URI handler from 0.8 to fdsrc
20840 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20842 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20843 (gst_value_serialize_fourcc):
20845 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20846 consistent with our other format defines (#320324).
20848 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20850 * gst/gstvalue.c: (gst_value_is_fixed):
20851 Revert previous commit. Value lists are by definition
20852 not fixed, as they are a list of possible values.
20854 2005-11-21 Andy Wingo <wingo@pobox.com>
20856 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20857 during the stable series if we need it. Fixes #319178.
20859 * gst/gstevent.c (gst_event_new_filler): Removed.
20861 * check/gst/gstevent.c: Update comment about filler events.
20863 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20865 * gst/gstvalue.c: (gst_value_is_fixed):
20866 Should handle both value arrays and value lists.
20868 2005-11-21 Andy Wingo <wingo@pobox.com>
20870 patch by: Alessandro Dessina <alessandro nnva org>
20872 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20873 functions to access arrays. Fixes #321962.
20875 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20877 * docs/gst/gstreamer.types:
20878 gst_collectpads_get_type => gst_collect_pads_get_type.
20880 * gst/base/gstbasetransform.c:
20881 Remove unused SIGNAL_HANDOFF enum.
20883 2005-11-21 Andy Wingo <wingo@pobox.com>
20885 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20886 the event type (upstream, downstream, serialized). Renamed
20887 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20888 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20889 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20891 * gst/gstevent.c: Update for new CUSTOM event names.
20893 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20896 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20899 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20901 * docs/gst/gstreamer-sections.txt:
20902 * win32/common/libgstbase.def:
20903 * win32/libgstbase.def:
20904 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20905 (gst_collect_pads_class_init), (gst_collect_pads_init),
20906 (gst_collect_pads_finalize), (gst_collect_pads_new),
20907 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20908 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20909 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20910 (gst_collect_pads_start), (gst_collect_pads_stop),
20911 (gst_collect_pads_peek), (gst_collect_pads_pop),
20912 (gst_collect_pads_available), (gst_collect_pads_read),
20913 (gst_collect_pads_flush), (gst_collect_pads_event),
20914 (gst_collect_pads_chain):
20915 * gst/base/gstcollectpads.h:
20916 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20917 unimplemented functions as unimplemented. Add padding to
20918 GstCollectData. (#320766, #320423)
20920 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20922 * gst/gstmessage.c:
20923 Improve docs for DURATION message (usage of duration parameter)
20926 2005-11-20 Wim Taymans <wim@fluendo.com>
20928 * check/Makefile.am:
20929 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20933 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20934 (gst_segment_set_seek), (gst_segment_set_newsegment),
20935 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20936 (gst_segment_clip):
20937 * gst/gstsegment.h:
20938 Added segment helper structure and methods. Not fully implemented
20940 Added segment check.
20942 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20944 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20945 Add a deserialisation test for fractions
20946 * examples/metadata/read-metadata.c: (message_loop),
20947 (make_pipeline), (main):
20948 Fix up metadata reading sample.
20949 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20951 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20952 Don't try and fixate empty caps
20953 * gst/gst_private.h:
20954 Wrap in G_BEGIN_DECLS/G_END_DECLS
20955 * gst/gstvalue.c: (gst_value_collect_fraction),
20956 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20957 (gst_value_transform_string_fraction),
20958 (gst_value_compare_fraction):
20959 Add some extra guards to ensure that we don't end up
20960 with an invalid denominator of 0 in a gstfraction and
20961 that fractions always get reduced.
20963 2005-11-20 Wim Taymans <wim@fluendo.com>
20965 * docs/gst/gstreamer-sections.txt:
20967 * gst/gstelement.c:
20976 2005-11-20 Wim Taymans <wim@fluendo.com>
20978 * docs/design/part-TODO.txt:
20980 Make a proper enum of the flag.
20982 2005-11-19 Wim Taymans <wim@fluendo.com>
20984 * docs/design/part-TODO.txt:
20985 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20986 (gst_format_to_quark), (gst_format_register):
20988 * gst/gstquery.c: (_gst_query_initialize),
20989 (gst_query_type_get_name), (gst_query_type_to_quark),
20990 (gst_query_type_register):
20992 Add type to quark and type to string conversions.
20994 2005-11-19 Andy Wingo <wingo@pobox.com>
20996 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20999 2005-11-19 Wim Taymans <wim@fluendo.com>
21001 * docs/design/part-TODO.txt:
21002 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21003 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21004 (gst_bin_handle_message_func):
21006 Make message handling overridable.
21008 2005-11-19 Andy Wingo <wingo@pobox.com>
21010 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21013 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21015 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21016 is a GstClockTime. Fixes #321710.
21018 * gst/gstclock.h (GstClock): Remove offset property. Add
21019 internal_calibration and external_calibration. Fix padding. Pad
21020 also by GstClockTime so we don't run into problems.
21022 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21023 (gst_clock_get_rate_offset): Remove.
21024 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21027 * gst/gstutils.c (g_static_rec_cond_wait)
21028 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21030 * gst/gstbin.c: Remove terrible continue_state prototype.
21032 * gst/gstelement.h (gst_element_continue_state): Make public.
21034 * gst/gstelement.h:
21035 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21036 by continue_state. Fixes #319389.
21038 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21039 Really fixes #168438. However I don't see anywhere where the
21040 filter function is called... stupid GStreamer...
21042 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21043 don't have a dispose function, so it won't get called when the
21044 object is unreffed, but oh well!
21046 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21047 allows a destroy function to be set so user_data can be freed.
21049 (gst_index_set_filter): Call gst_index_set_filter_full.
21051 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21053 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21054 string should produce an error, given the lack of a way to
21055 represent NULL strings. Fixes #165650.
21058 * gst/gstvalue.c (gst_value_array_append_value)
21059 (gst_value_array_prepend_value, gst_value_array_get_size)
21060 (gst_value_array_get_value): New API, copied from
21061 gst_value_list_*, only operates on arrays.
21062 (gst_value_list_append_value, gst_value_list_prepend_value)
21063 (gst_value_list_concat, gst_value_list_get_size)
21064 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21066 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21067 init_list, because it works on both.
21068 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21069 (gst_value_copy_list_or_array): Renamed from copy_list.
21070 (gst_value_free_list_or_array): Renamed from free_list.
21071 (gst_value_collect_list_or_array): Renamed from collect_list.
21072 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21073 (gst_value_list_or_array_peek_pointer): Renamed from
21075 (_gst_value_array_value_table, _gst_value_list_value_table):
21076 Update value table functions.
21077 (gst_value_compare_list_or_array): Renamed from compare_list.
21079 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21082 * gst/gsttaglist.c:
21083 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21084 GstTagList*. Fixes #143472.
21086 * gst/gststructure.h: Clarify what the foreach/map functions can
21087 or can't do to their arguments.
21089 2005-11-18 Wim Taymans <wim@fluendo.com>
21091 * gst/gstclock.c: (gst_clock_set_calibration),
21092 (gst_clock_get_calibration):
21094 Calibration can be set with internal time equal to current
21097 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21103 2005-11-18 Andy Wingo <wingo@pobox.com>
21106 * pkgconfig/gstreamer-net.pc.in:
21107 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21108 * pkgconfig/Makefile.am: Add net pkgconfig files.
21110 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21113 * gst/gstghostpad.c:
21119 2005-11-18 Andy Wingo <wingo@pobox.com>
21121 * gst/net/gstnetclientclock.c: Turn off debugging.
21123 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21124 times connverge somewhat. Can't make a real test.
21126 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21127 integer arithmetic. Return the minimum of the domain, which can be
21128 set as "internal" for gst_clock_set_calibration.
21129 (gst_net_client_clock_observe_times): Call _set_calibration.
21130 (gst_net_client_clock_new): Call _set_calibration instead of
21133 * check/net/gstnetclientclock.c (test_functioning): Use the right
21137 * gst/gstclock.c (gst_clock_get_calibration)
21138 (gst_clock_set_calibration): New functions, obsolete the ones I
21139 added yesterday. Doh. Precision issues mean we have to extrapolate
21140 from a point in the more recent past than 1970.
21141 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21143 (gst_clock_adjust_unlocked): Use the right calibration data.
21145 2005-11-18 Edward Hervey <edward@fluendo.com>
21147 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21148 Also reset the ->current_* values in READY->PAUSED
21150 2005-11-18 Andy Wingo <wingo@pobox.com>
21152 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21153 Whoops, check the right fd. Also add some debugging.
21154 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21155 (do_linear_regression): Add a crapload of debugging. Subtract off
21156 the minimum values from the input series to discard unneeded bits.
21157 Use only int arithmetic. There is still double arithmetic when
21158 calculating the intercept that needs fixing. Return boolean to
21159 indicate success; FALSE would mean the domain or range is too
21160 great. Still needs fixes.
21162 2005-11-18 Wim Taymans <wim@fluendo.com>
21164 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21165 For the current position in stream time, we need to subtract
21168 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21169 Release lock before calling the callback function of async
21172 2005-11-18 Andy Wingo <wingo@pobox.com>
21174 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21175 Port goes all the way to MAXUINT16.
21177 * gst/net/gstnettimeprovider.c: Make the port range the same as
21178 for the kernel: 0 assigns, otherwise ports are less than
21181 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21184 * check/net/gstnetclientclock.c (test_functioning): Add the start
21187 2005-11-18 Wim Taymans <wim@fluendo.com>
21189 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21190 (gst_bin_remove_func), (bin_bus_handler):
21192 Removing a clock provider from a bin, triggers a clock lost message
21193 so that a new clock will be selected.
21194 Adding a clock to a bin triggers a clock provider message.
21195 Make sure we reselect a clock when we received a clock lost message.
21196 Keep a reference to the element that provided the clock.
21198 2005-11-18 Andy Wingo <wingo@pobox.com>
21200 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21201 the clock initially so it produces values around the base time.
21202 (gst_net_client_clock_class_init): Typo fix.
21203 (gst_net_client_clock_thread): Add note on when the socket gets
21206 2005-11-17 Wim Taymans <wim@fluendo.com>
21208 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21209 Free remote and local time arrays.
21211 2005-11-17 Wim Taymans <wim@fluendo.com>
21213 * gst/net/gstnetclientclock.c: (do_linear_regression),
21214 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21215 Fix compilation, uninitialized vars and a forgotten continue.
21217 2005-11-17 Andy Wingo <wingo@pobox.com>
21219 * check/Makefile.am (check_PROGRAMS):
21220 * check/net/gstnetclientclock.c: Add a most minimal test for the
21221 net client clock. More to come later.
21223 * gst/net/gstnet.h:
21224 * gst/net/Makefile.am: Add netclientclock.
21226 * gst/net/gstnetclientclock.h:
21227 * gst/net/gstnetclientclock.c: New files, implement an untested
21228 GstClock that takes its time from a network time provider.
21229 Implements the algorithm in network-clock.scm.
21231 * tests/network-clock.scm (*window-size*): Rename from
21233 * tests/network-clock.scm (network-time):
21234 * tests/network-clock-utils.scm (q-push): Update callers.
21236 2005-11-17 Wim Taymans <wim@fluendo.com>
21238 * gst/gstbin.c: (gst_bin_provide_clock_func),
21239 (gst_bin_sort_iterator_new):
21240 And unref the child too..
21242 2005-11-17 Wim Taymans <wim@fluendo.com>
21244 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21245 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21246 Refactor the sort iterator so it can be used while holding the
21248 Make clock selection select a clock closest to the source.
21250 2005-11-17 Michael Smith <msmith@fluendo.com>
21252 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21253 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21255 Anonymous structs are a gcc (and some other compilers) extension, so
21256 don't use them. Since this is only for ABI-compatibility, and our
21257 API/ABI freeze is over in a few days, this whole thing will only
21258 last a few days, so don't bother trying to think up a meaningful
21259 name for the struct.
21261 2005-11-17 Andy Wingo <wingo@pobox.com>
21263 * gst/gstclock.h (GstClock): Add rate and offset properties,
21264 preserving ABI stability. Add rate/offset accessors. Will file bug
21265 for the freeze break.
21267 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21268 and offset, trying to keep precision and avoiding
21269 underflow/overflow.
21270 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21271 functions. Make gst_clock_set_time_adjust obsolete.
21272 (gst_clock_set_time_adjust): Note that this function is obsolete.
21273 Will file bug soon.
21275 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21276 greppable by using GST_PADDING-1+1.
21278 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21280 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21282 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21283 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21285 * gst/gstpadtemplate.h:
21286 * gst/gstpluginfeature.h:
21287 Don't use c++ style comments in headers (#321638).
21289 2005-11-16 Andy Wingo <wingo@pobox.com>
21291 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21294 * check/net/gstnettimeprovider.c: Check to see that the time
21295 provider actually provides times. Works, yo!
21297 2005-11-16 Wim Taymans <wim@fluendo.com>
21299 * check/Makefile.am:
21302 * check/elements/fakesrc.c: (GST_START_TEST):
21303 Set element to NULL before disposing it.
21305 2005-11-16 Andy Wingo <wingo@pobox.com>
21307 * gst/net/Makefile.am:
21308 * gst/net/gstnet.h:
21309 * gst/net/gstnettimeprovider.c:
21310 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21311 provider, include it from gstnet.h, and add it to the build.
21313 * gst/net/gstnettimepacket.h:
21314 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21315 sending and receiving.
21317 2005-11-16 Wim Taymans <wim@fluendo.com>
21319 * check/Makefile.am:
21320 Enable valgrind check.
21322 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21323 (gst_fake_src_alloc_buffer):
21326 2005-11-16 Wim Taymans <wim@fluendo.com>
21328 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21329 Call parent finalize too.
21331 2005-11-16 Wim Taymans <wim@fluendo.com>
21333 * check/Makefile.am:
21334 Enable valgrind check that should work fine now.
21336 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21337 * gst/gstqueue.c: (gst_queue_init):
21338 Fix memleaks in pad allocation.
21340 2005-11-16 Andy Wingo <wingo@pobox.com>
21342 * gst/net/Makefile.am:
21343 * gst/net/gstnet.h: New part of core to hold network elements and
21344 objects. Put in core because it exposes API that applications want
21345 to use. The library is named libgstnet-tempname right now because
21346 of the existing libgstnet in gst-plugins-base. Solution is
21347 probably to rename the one in plugins-base; will file a bug for
21350 * gst/net/gstnettimeprovider.c:
21351 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21352 get_time call over the network.
21355 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21357 * check/Makefile.am:
21358 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21359 get additions shortly.
21361 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21363 * gst/gstpad.c: (gst_pad_new_from_static_template):
21365 add gst_pad_new_from_static_template functions
21366 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21367 (gst_check_setup_sink_pad):
21368 * gst/elements/gsttee.c: (gst_tee_init):
21371 2005-11-16 Wim Taymans <wim@fluendo.com>
21373 * gst/gstpad.c: (gst_pad_pause_task):
21374 Removed warning, it's not really an error either.
21376 2005-11-16 Wim Taymans <wim@fluendo.com>
21378 * gst/base/gstbasetransform.c:
21379 (gst_base_transform_prepare_output_buf),
21380 (gst_base_transform_event):
21381 Check if the caps are NULL, this can happen if the element
21382 is shutting down and the pad caps are set to NULL.
21384 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21386 * gst/elements/gsttee.c: (gst_tee_init):
21387 fix pad template leak in tee
21389 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21391 * gst/glib-compat.c: (g_value_dup_gst_object):
21392 * gst/glib-compat.h:
21393 * gst/gstpad.c: (gst_pad_set_property):
21394 use gst_object_ref when setting the pad template; this will
21395 trigger the pad template leaks on GLib 2.6 and the slaves
21397 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21399 * gst/glib-compat.c: (gst_flags_get_first_value):
21400 * gst/glib-compat.h:
21401 * gst/gstregistryxml.c:
21402 remove functions copied from GLib 2.6
21404 2005-11-16 Michael Smith <msmith@fluendo.com>
21407 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21408 do, but only breaks with newer valgrind versions. We're not a
21409 valgrind tool, we have no link-time dependencies on libcoregrind.
21411 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21413 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21415 * gst/gstmessage.h:
21418 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21420 * gst/base/gstbasesrc.c: (gst_base_src_init):
21421 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21422 * gst/gstqueue.c: (gst_queue_init):
21423 * gst/gstregistryxml.c: (load_feature):
21424 Revert all these unrefs, they don't even pass make check !
21426 2005-11-15 Johan Dahlin <johan@gnome.org>
21428 * gst/base/gstbasesrc.c: (gst_base_src_init):
21429 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21430 * gst/gstqueue.c: (gst_queue_init):
21431 Free pad templates, fixes a couple of leaks.
21433 2005-11-15 Daniel Fischer <dan at f3c dot com>
21435 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21437 * gst/gstpad.c: (gst_pad_get_property):
21438 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21439 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21442 2005-11-15 Wim Taymans <wim@fluendo.com>
21447 2005-11-15 Andy Wingo <wingo@pobox.com>
21449 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21451 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21452 using GST_CLOCK_TIME_NONE to disable base time management.
21453 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21454 time if it was NONE before.
21455 (gst_pipeline_change_state): Only munge the base time if
21456 stream_time != GST_CLOCK_TIME_NONE.
21458 * check/gst/gstpipeline.c (test_base_time): Punt around the
21459 problem of the probe not being called, because that's not the
21460 issue I'm looking at. Add a check that setting stream_time to NONE
21461 disables base time management.
21463 2005-11-15 Wim Taymans <wim@fluendo.com>
21465 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21466 segment_stop == -1 at startup.
21468 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21469 (gst_base_transform_change_state):
21470 Init segment values at start.
21472 2005-11-15 Wim Taymans <wim@fluendo.com>
21474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21475 0 segment values are 0 in any format.
21477 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21478 * gst/base/gstbasetransform.h:
21479 Parse newsegment correctly in basetransform
21481 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21482 Sync to clock using updated segment values.
21484 2005-11-15 Andy Wingo <wingo@pobox.com>
21486 * check/gst/gstpipeline.c (test_base_time): Add check that the
21487 base time and stream time are reset correctly.
21489 2005-11-15 Wim Taymans <wim@fluendo.com>
21491 * docs/design/part-TODO.txt:
21492 Some more TODO items.
21494 2005-11-15 Andy Wingo <wingo@pobox.com>
21496 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21497 error if the user selected "no clock" as the clocking method.
21499 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21500 timestamps with live capture.
21502 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21503 is 0 but we are a live source, timestamp the buffers using the
21506 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21508 * docs/gst/gstreamer-sections.txt:
21510 * gst/gstghostpad.c:
21515 2005-11-14 Wim Taymans <wim@fluendo.com>
21518 add suppressions from Wim's Debian machine
21520 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21523 add suppressions from Andy's AMD64 Ubuntu machine
21525 2005-11-14 Andy Wingo <wingo@pobox.com>
21527 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21528 STATE_LOCK not necessary. Fixes #311489.
21530 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21533 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21534 this function is not implemented.
21536 2005-11-14 Julien MOUTTE <julien@moutte.net>
21538 * gst/base/gstbasetransform.c:
21539 (gst_base_transform_prepare_output_buf):
21540 Ref the source pad caps while we need them.
21543 2005-11-11 Wim Taymans <wim@fluendo.com>
21545 * docs/gst/gstreamer-sections.txt:
21546 Added some docs for GstCollectData.
21548 * gst/base/gstadapter.c:
21549 Some small code example fix.
21551 * gst/base/gstcollectpads.c:
21552 * gst/base/gstcollectpads.h:
21553 Document some more.
21555 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21557 * configure.ac: back to HEAD
21559 === release 0.9.5 ===
21561 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21564 releasing 0.9.5, "Bike Lunch Day"
21566 2005-11-11 Wim Taymans <wim@fluendo.com>
21568 * gst/gstbuffer.c: (_gst_buffer_copy):
21571 * gst/gstcaps.c: (gst_caps_is_equal):
21573 Make _is_equal fast in the trivial cases.
21575 * gst/gstminiobject.c:
21576 * gst/gstminiobject.h:
21577 More docs. Spifify .h file.
21582 2005-11-11 Wim Taymans <wim@fluendo.com>
21584 * gst/base/gstbasetransform.c:
21585 (gst_base_transform_prepare_output_buf),
21586 (gst_base_transform_handle_buffer):
21588 If we're processing a buffer and need to allocate an output
21589 buffer, we cannot accept a format change. If we did get a
21590 format change, we have to alloc a buffer ourselves of the
21593 2005-11-11 Wim Taymans <wim@fluendo.com>
21595 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21596 While checking the flag for reentrancy in the gstcaps function
21597 is nice to detect recursive invocations, it also makes it
21598 impossible to call getcaps from multiple threads, which must be
21599 possible. So, checking for recursive calls has to go.
21601 2005-11-11 Michael Smith <msmith@fluendo.com>
21603 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21604 Don't sync on buffers that fall partially outside our current
21605 segment. Prevents an assertion failure/abort playing some files.
21607 2005-11-10 Andy Wingo <wingo@pobox.com>
21609 * check/gst/gstbin.c (test_message_state_changed_children): Style
21612 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21613 gst_bus_poll with the signal watch. Ensures that poll and a signal
21614 watch see the same messages.
21616 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21617 a poll and a watch at the same time get the same messages.
21619 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21621 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21622 * gst/gstcaps.c: (gst_caps_intersect):
21623 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21624 and it's not needed.
21626 2005-11-10 Wim Taymans <wim@fluendo.com>
21628 * docs/design/part-TODO.txt:
21631 2005-11-10 Wim Taymans <wim@fluendo.com>
21633 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21634 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21635 (gst_base_src_do_sync), (gst_base_src_get_range):
21636 Implement clock sync in base class.
21638 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21640 patch by: Tim-Philipp Müller <tim at centricular dot net>
21642 * gst/gststructure.c: (gst_structure_parse_field),
21643 (gst_structure_from_string):
21644 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21645 so that gst_parse_launch() can deal with spaces in filtered link
21646 caps (fixes #164479)
21647 * check/gst/capslist.h:
21648 * check/gst/gststructure.c: (GST_START_TEST):
21649 add unit tests for this change
21651 2005-11-10 Wim Taymans <wim@fluendo.com>
21653 * docs/gst/gstreamer-sections.txt:
21654 * gst/gstelement.c:
21655 * gst/gstelement.h:
21656 Fix docs, move some STATE macros to private.
21658 2005-11-10 Wim Taymans <wim@fluendo.com>
21660 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21661 Added check for bug #317341
21665 Some more spiffifying.
21667 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21668 Call peer linkfunction if we are a source pad. Totally fixes
21672 Update docs, source pads should call the peer linkfunction
21673 so they can atomically perform the pad link.
21675 2005-11-09 Wim Taymans <wim@fluendo.com>
21679 Uber-spiffy-spiffify some more.
21681 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21683 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21684 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21685 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21686 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21687 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21688 * gst/gstpad.c: (gst_pad_init):
21689 Use GST_DEBUG_FUNCPTR() more extensively.
21691 2005-11-09 Wim Taymans <wim@fluendo.com>
21693 * gst/gstobject.c: (gst_object_class_init):
21695 Documentation fixes.
21697 2005-11-09 Edward Hervey <edward@fluendo.com>
21699 * gst/gsttypefindfactory.c:
21702 2005-11-09 Edward Hervey <edward@fluendo.com>
21704 * gst/base/gsttypefindhelper.c:
21705 * gst/gsttypefind.c:
21706 * gst/gsttypefind.h:
21709 2005-11-09 Wim Taymans <wim@fluendo.com>
21711 * gst/gstiterator.c:
21718 2005-11-09 Wim Taymans <wim@fluendo.com>
21724 2005-11-09 Wim Taymans <wim@fluendo.com>
21726 * docs/gst/gstreamer-sections.txt:
21727 Moved the message async delivery private lock and cond
21728 to the private section.
21730 * gst/gstmessage.c:
21731 * gst/gstmessage.h:
21734 2005-11-09 Edward Hervey <edward@fluendo.com>
21736 * docs/gst/gstreamer-sections.txt:
21739 Document GstURIHandler
21741 2005-11-09 Wim Taymans <wim@fluendo.com>
21743 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21744 (gst_iterator_find_custom):
21745 * gst/gstiterator.h:
21748 2005-11-09 Wim Taymans <wim@fluendo.com>
21751 Document another field.
21753 * gst/gststructure.c:
21754 * gst/gststructure.h:
21757 2005-11-09 Wim Taymans <wim@fluendo.com>
21760 Documented structs.
21762 2005-11-09 Wim Taymans <wim@fluendo.com>
21764 * docs/gst/gstreamer-sections.txt:
21765 Added some new macros.
21772 2005-11-09 Wim Taymans <wim@fluendo.com>
21774 * docs/design/part-TODO.txt:
21775 Some more items for the TODO
21781 2005-11-09 Andy Wingo <wingo@pobox.com>
21783 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21784 to work on something else now tho...
21786 * gst/base/gstadapter.c: More adapter docs.
21788 * gst/elements/gstfilesink.c (gst_file_sink_start)
21789 (gst_file_sink_stop): New functions, replace the state change
21791 (gst_file_sink_class_init): Hook up the start and stop functions.
21792 (gst_file_sink_base_init): Don't set the state change handler any
21793 more. It was a bit ugly too, being set from here...
21794 (gst_file_sink_get_property, gst_file_sink_set_property):
21796 (gst_file_sink_set_location): More robust check that doesn't call
21797 GST_STATE. Ugggggg.
21799 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21801 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21802 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21804 2005-11-08 Wim Taymans <wim@fluendo.com>
21806 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21807 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21808 (gst_base_sink_chain), (gst_base_sink_change_state):
21809 * gst/base/gstbasesink.h:
21810 * gst/base/gstbasesrc.h:
21811 * gst/gstelement.h:
21813 Avoid excessive typechecking in macros.
21815 * gst/gstminiobject.c: (gst_mini_object_get_type),
21816 (gst_mini_object_init), (gst_mini_object_new),
21817 (gst_mini_object_free):
21818 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21819 (gst_object_finalize):
21820 Remove cruft code, optimize alloc_trace.
21822 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21824 * docs/faq/gst-uninstalled:
21825 fix up PS1 for systems that try to reset it
21827 2005-11-07 Wim Taymans <wim@fluendo.com>
21829 * gst/base/gstbasesrc.c: (gst_base_src_init),
21830 (gst_base_src_get_range):
21831 Set the segment_end to -1 initially. Fixed typefind.
21833 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21835 * gst/base/gstadapter.c:
21836 Debug category should be 'adapter', not 'GstAdapter'.
21838 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21839 (gst_collectpads_class_init), (gst_collectpads_init),
21840 (gst_collectpads_peek), (gst_collectpads_pop),
21841 (gst_collectpads_event), (gst_collectpads_chain):
21842 Add debug category and some debugging output. Use boilerplate
21843 macros. Remove some extraneous words from docs.
21845 2005-11-05 Andy Wingo <wingo@pobox.com>
21847 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21850 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21852 * docs/gst/gstreamer-sections.txt:
21855 * gst/gstminiobject.h:
21860 2005-11-04 Wim Taymans <wim@fluendo.com>
21862 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21863 Small update to stop at the configured segment_end
21866 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21868 * gst/gstregistry.c:
21869 * gst/gstregistry.h:
21872 2005-11-04 Edward Hervey <edward@fluendo.com>
21874 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21875 Check if we are doing a segment seek and have arrived at the
21876 end of that segment.
21878 2005-11-04 Wim Taymans <wim@fluendo.com>
21880 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21881 Don't leak a mutex unlock in case of an error.
21886 2005-11-04 Wim Taymans <wim@fluendo.com>
21888 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21890 Get the context to wake up only once.
21892 2005-11-03 Wim Taymans <wim@fluendo.com>
21894 * check/states/sinks.c: (GST_START_TEST):
21895 Uncomment fixed check.
21897 * docs/design/part-TODO.txt:
21900 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21901 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21902 (gst_base_sink_get_position):
21903 If we are going to PLAYING, post the right pending state
21904 when we post the intermediate paused message.
21906 * gst/gstelement.c: (gst_element_continue_state),
21907 (gst_element_set_state_func), (gst_element_change_state):
21908 Don't post state changes that were between the same state
21909 and were not ASYNC.
21911 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21913 * docs/gst/gstreamer-sections.txt:
21916 * gst/gstminiobject.h:
21919 more docs and doc style fixes
21921 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21923 * docs/gst/gstreamer-sections.txt:
21924 * gst/gstelement.c:
21925 * gst/gstminiobject.c:
21928 2005-11-03 Andy Wingo <wingo@pobox.com>
21930 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21931 state-changed messages actually have the right order and the right
21934 2005-11-03 Wim Taymans <wim@fluendo.com>
21936 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21937 Added some more checks. Specifically the case where NO_PREROLL
21938 elements are in the pipeline.
21940 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21941 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21942 (gst_base_sink_get_position):
21943 Post READY->PAUSED state change messages too.
21944 Fix bug where VOID was posted as pending state...
21946 * gst/gstbin.c: (gst_bin_recalc_state):
21947 use _element_continue_state() to continue the state change.
21949 * gst/gstelement.c: (gst_element_continue_state),
21950 (gst_element_commit_state), (gst_element_set_state_func),
21951 (gst_element_change_state), (gst_element_change_state_func):
21952 Lots of state change cleanups, assign the STATE_RETURN in
21953 a new continue_state() function that also propagates the
21954 last return value from a state change to the app.
21955 Update some debug statements with proper category.
21957 2005-11-03 Wim Taymans <wim@fluendo.com>
21959 * docs/design/part-events.txt:
21960 * docs/design/part-gstpipeline.txt:
21961 * docs/design/part-messages.txt:
21962 * docs/design/part-overview.txt:
21963 * docs/design/part-seeking.txt:
21964 * docs/design/part-states.txt:
21965 * docs/design/part-trickmodes.txt:
21966 * docs/manual/advanced-position.xml:
21967 Small docs updates.
21970 People think !! is ugly, this looks better.
21972 * gst/gstpad.c: (gst_pad_set_blocked_async):
21973 Remove !! since it's fixed elsewhere now.
21975 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21977 * gst/gstminiobject.h:
21979 Add !! to _FLAG_IS_SET macros to make the result boolean.
21981 2005-11-03 Edward Hervey <edward@fluendo.com>
21983 * gst/gstpad.c: (gst_pad_set_blocked_async):
21984 comparing a flag and a gboolean rarely returns coherent results...
21985 Added two characters (!!) to make that work correctly.
21987 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21989 * gst/gstbus.c: (gst_bus_class_init):
21992 * gst/gstqueue.c: (gst_queue_loop):
21993 Don't assume a miniobject that isn't a buffer is an
21994 event (it could be that there is a refcounting
21995 problem somewhere and the pointer is stale and
21996 refers to an already destroyed miniobject).
21998 2005-11-03 Julien MOUTTE <julien@moutte.net>
22000 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22002 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22004 * docs/manual/advanced-position.xml:
22005 Update seek example and explanations to current 0.9 API.
22007 * gst/elements/gsttypefindelement.c:
22008 (gst_type_find_element_activate):
22009 Remove FIXME comment now that the found caps
22012 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22014 * gst/gstregistryxml.c: (load_feature):
22015 Add another GST_STR_NULL instance
22017 2005-11-02 Edward Hervey <edward@fluendo.com>
22019 * gst/gstpad.c: (handle_pad_block):
22020 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22022 2005-11-02 Wim Taymans <wim@fluendo.com>
22027 * gst/gstelement.c: (gst_element_commit_state):
22028 Remove unused value.
22030 * gst/gstiterator.c:
22031 Mention that the returned element is reffed in the docs.
22033 2005-11-02 Wim Taymans <wim@fluendo.com>
22035 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22036 (gst_pad_push), (gst_pad_push_event):
22037 Unlock blocked pads when they are flushed.
22039 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22042 * docs/gst/gstreamer-sections.txt:
22045 * gst/gstregistry.c: (gst_registry_scan_path_level):
22046 fix for a nasty little missed situation where an installed plug-in
22047 which was in the cache did not get overridden by an uninstalled one
22048 which was earlier in the plugin path because the newly created plugin
22049 for the uninstalled one (not in the registry) didn't get its
22050 ->registered set to TRUE
22052 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22054 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22055 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22056 (gst_collectpads_is_active), (gst_collectpads_collect),
22057 (gst_collectpads_collect_range), (gst_collectpads_start),
22058 (gst_collectpads_stop), (gst_collectpads_peek),
22059 (gst_collectpads_pop), (gst_collectpads_available),
22060 (gst_collectpads_read), (gst_collectpads_flush):
22061 Guard public API with assertions.
22064 Fix docs for gst_pad_set_link_function().
22066 2005-11-02 Johan Dahlin <johan@gnome.org>
22068 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22069 Unref found_caps after we used it.
22071 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22073 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22074 Don't try to ref NULL.
22076 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22078 * win32/common/config.h.in:
22079 provide a GST_FUNCTION that just gives a string for now
22081 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22083 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22084 (gst_object_flags_get_type), (register_gst_bin_flags),
22085 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22086 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22087 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22088 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22089 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22090 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22091 (gst_clock_flags_get_type), (register_gst_state),
22092 (gst_state_get_type), (register_gst_state_change_return),
22093 (gst_state_change_return_get_type), (register_gst_state_change),
22094 (gst_state_change_get_type), (register_gst_element_flags),
22095 (gst_element_flags_get_type), (register_gst_core_error),
22096 (gst_core_error_get_type), (register_gst_library_error),
22097 (gst_library_error_get_type), (register_gst_resource_error),
22098 (gst_resource_error_get_type), (register_gst_stream_error),
22099 (gst_stream_error_get_type), (register_gst_event_type),
22100 (gst_event_type_get_type), (register_gst_seek_type),
22101 (gst_seek_type_get_type), (register_gst_seek_flags),
22102 (gst_seek_flags_get_type), (register_gst_format),
22103 (gst_format_get_type), (register_gst_index_certainty),
22104 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22105 (gst_index_entry_type_get_type),
22106 (register_gst_index_lookup_method),
22107 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22108 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22109 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22110 (gst_index_flags_get_type), (register_gst_debug_level),
22111 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22112 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22113 (gst_iterator_result_get_type), (register_gst_iterator_item),
22114 (gst_iterator_item_get_type), (register_gst_message_type),
22115 (gst_message_type_get_type), (register_gst_mini_object_flags),
22116 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22117 (gst_pad_link_return_get_type), (register_gst_flow_return),
22118 (gst_flow_return_get_type), (register_gst_activate_mode),
22119 (gst_activate_mode_get_type), (register_gst_pad_direction),
22120 (gst_pad_direction_get_type), (register_gst_pad_flags),
22121 (gst_pad_flags_get_type), (register_gst_pad_presence),
22122 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22123 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22124 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22125 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22126 (gst_plugin_flags_get_type), (register_gst_rank),
22127 (gst_rank_get_type), (register_gst_query_type),
22128 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22129 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22130 (gst_tag_flag_get_type), (register_gst_task_state),
22131 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22132 (gst_alloc_trace_flags_get_type),
22133 (register_gst_type_find_probability),
22134 (gst_type_find_probability_get_type), (register_gst_uri_type),
22135 (gst_uri_type_get_type), (register_gst_parse_error),
22136 (gst_parse_error_get_type):
22137 * win32/common/gstversion.h:
22138 update win32 copies
22140 2005-11-01 Luca Ognibene <luogni@tin.it>
22143 fix docs. popt is dead, long live GOption.
22145 2005-10-31 Wim Taymans <wim@fluendo.com>
22150 2005-10-31 Andy Wingo <wingo@pobox.com>
22154 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22156 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22157 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22158 the possibility of deadlocks here if code calling notify() or
22159 set() has a lock that can be taken in another notify handler (ABBA
22160 with class lock and e.g. python GIL state lock).
22162 2005-10-28 Julien MOUTTE <julien@moutte.net>
22164 * gst/gstbus.c: Doc updates.
22166 2005-10-28 Wim Taymans <wim@fluendo.com>
22168 * docs/design/part-TODO.txt:
22169 * gst/gstiterator.c:
22170 * gst/gstsystemclock.c:
22171 * gst/gstsystemclock.h:
22174 2005-10-28 Edward Hervey <edward@fluendo.com>
22176 * docs/gst/gstreamer-docs.sgml:
22177 * docs/gst/gstreamer-sections.txt:
22178 the GstURIType documentation page is private, it only defines GstURIType
22179 which should be defined in the GstURIHandler page
22181 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22183 * gst/gstbin.c: (gst_bin_class_init):
22186 Documentation updates.
22188 2005-10-28 Wim Taymans <wim@fluendo.com>
22190 * docs/gst/gstreamer-sections.txt:
22193 Documented the clocks.
22195 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22197 * docs/gst/gstreamer-sections.txt:
22198 move some macros to private sections
22199 * gst/gstminiobject.c:
22200 * gst/gstminiobject.h:
22201 add descriptions provided by ds and some more
22203 mark macro as to be removed
22205 2005-10-28 Wim Taymans <wim@fluendo.com>
22207 * docs/design/part-TODO.txt:
22208 Add an item to TODO.
22210 * gst/gstiterator.c: (gst_iterator_fold),
22211 (gst_iterator_find_custom):
22212 * gst/gstiterator.h:
22215 2005-10-28 Wim Taymans <wim@fluendo.com>
22217 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22218 (gst_base_transform_init):
22221 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22222 An EOS event marks the queue as completely filled.
22224 2005-10-27 Wim Taymans <wim@fluendo.com>
22226 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22227 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22228 Some more debugging.
22230 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22231 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22232 (gst_base_transform_event), (gst_base_transform_getrange),
22233 (gst_base_transform_chain):
22234 * gst/base/gstbasetransform.h:
22236 Protect transform and concurrent buffer alloc with a new lock.
22237 Try not to break ABI/API.
22239 2005-10-27 Wim Taymans <wim@fluendo.com>
22241 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22242 (gst_base_src_init), (gst_base_src_query),
22243 (gst_base_src_default_newsegment),
22244 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22245 (gst_base_src_send_event), (gst_base_src_event_handler),
22246 (gst_base_src_pad_get_range), (gst_base_src_loop),
22247 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22248 (gst_base_src_start), (gst_base_src_deactivate),
22249 (gst_base_src_activate_push), (gst_base_src_change_state):
22250 Move some stuff around and cleanup things.
22252 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22254 * gst/base/gstbasesrc.c: (gst_base_src_query):
22255 Add missing break statements.
22257 2005-10-27 Wim Taymans <wim@fluendo.com>
22259 * check/gst/gstbin.c: (GST_START_TEST):
22260 An extra refcount is taken in basesrc.
22262 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22263 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22264 (gst_base_src_loop):
22265 Small cleanups, check for flushing after being unlocked from the
22266 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22267 Don't send out EOS when going to READY.
22269 2005-10-27 Wim Taymans <wim@fluendo.com>
22271 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22272 (gst_base_sink_get_position):
22275 * gst/gstbin.c: (message_check), (bin_replace_message),
22276 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22277 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22278 (bin_query_duration_init), (bin_query_duration_fold),
22279 (bin_query_duration_done), (bin_query_generic_fold),
22281 * tools/gst-launch.c: (main):
22284 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22286 * examples/controller/audio-example.c: (main):
22287 * examples/queue/queue.c: (event_loop):
22288 * gst/base/gstbasetransform.h:
22289 * gst/gstelement.c: (gst_element_send_event):
22291 * gst/gstpad.c: (gst_pad_send_event):
22294 changing log priority in error situations
22296 2005-10-25 Wim Taymans <wim@fluendo.com>
22298 * gst/gstbin.c: (message_check), (bin_replace_message),
22299 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22300 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22301 (bin_query_duration_init), (bin_query_duration_fold),
22302 (bin_query_duration_done), (bin_query_generic_fold),
22304 Some doc and debug updates.
22305 Cache previously requested query DURATION for speed. invalidate
22306 cached duration if element posts a DURATION message.
22308 2005-10-25 Wim Taymans <wim@fluendo.com>
22310 * docs/design/part-TODO.txt:
22313 * gst/gstbin.c: (message_check), (bin_replace_message),
22314 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22315 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22316 (bin_query_duration_init), (bin_query_duration_fold),
22317 (bin_query_duration_done), (bin_query_generic_fold),
22319 Handle SEGMENT_START/DONE messages correctly.
22320 More evolved query algorithm that handles duration queries
22323 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22324 (gst_element_get_state_func), (gst_element_abort_state),
22325 (gst_element_commit_state), (gst_element_lost_state):
22326 Some more debugging.
22328 * gst/gstmessage.h:
22331 2005-10-25 Wim Taymans <wim@fluendo.com>
22333 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22334 Don't use invalid stream_time.
22336 * gst/gstevent.c: (gst_event_new_newsegment):
22337 stream_time in newsegment cannot be undefined.
22339 2005-10-24 Wim Taymans <wim@fluendo.com>
22344 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22346 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22348 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22350 * docs/libs/tmpl/gstdparam.sgml:
22351 * docs/libs/tmpl/gstdplinint.sgml:
22352 * docs/libs/tmpl/gstdpman.sgml:
22353 * docs/libs/tmpl/gstdpsmooth.sgml:
22354 * docs/libs/tmpl/gstunitconvert.sgml:
22357 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22362 === release 0.9.4 ===
22364 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22367 releasing 0.9.4, "Tyrannosaurus Rex"
22369 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22371 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22372 (gst_file_sink_get_current_offset):
22373 Use fseeko() and ftello() if available. When falling back on
22374 lseek() to get the current offset, fflush() first to make sure
22375 everything is up-to-date and we get the right offset.
22377 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22380 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22381 * gst/gsterror.c: (_gst_stream_errors_init):
22383 * gst/gstqueue.c: (gst_queue_loop):
22385 remove prematurely added error category and clean up the instances
22387 2005-10-21 Wim Taymans <wim@fluendo.com>
22389 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22390 (gst_base_sink_get_position), (gst_base_sink_query),
22391 (gst_base_sink_change_state):
22392 Simply set the right flag when going to playing, that's all
22393 we need to do instead of calling a function inside the object
22394 lock (that could take the lock as well and deadlock)
22396 2005-10-21 Wim Taymans <wim@fluendo.com>
22398 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22399 (gst_base_src_loop):
22400 Don't warn, the peer element knows what to do best when
22401 the seek failed, it might try something else.
22403 2005-10-21 Wim Taymans <wim@fluendo.com>
22405 * gst/base/gstbasesrc.c: (gst_base_src_init),
22406 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22409 2005-10-21 Wim Taymans <wim@fluendo.com>
22411 * docs/design/part-segments.txt:
22414 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22415 Correctly set caps, even on the subbufer.
22417 2005-10-21 Wim Taymans <wim@fluendo.com>
22419 * docs/gst/gstreamer-docs.sgml:
22420 * docs/gst/gstreamer-sections.txt:
22421 * gst/gstelement.h:
22424 * gst/gstmessage.h:
22427 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22431 And 2% more doc coverage.
22433 2005-10-21 Andy Wingo <wingo@pobox.com>
22435 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22436 position reporting.
22438 2005-10-20 Wim Taymans <wim@fluendo.com>
22440 * gst/gsterror.c: (gst_error_get_message):
22443 * gst/gststructure.c:
22448 2005-10-20 Wim Taymans <wim@fluendo.com>
22453 Another 1% more coverage.
22455 2005-10-20 Wim Taymans <wim@fluendo.com>
22457 * docs/gst/gstreamer-sections.txt:
22458 * gst/gstelement.c: (gst_element_get_state_func),
22459 (gst_element_abort_state), (gst_element_commit_state),
22460 (gst_element_lost_state):
22462 * gst/gstquery.c: (gst_query_set_position),
22463 (gst_query_parse_position), (gst_query_set_duration),
22464 (gst_query_parse_duration), (gst_query_new_convert):
22466 Yay! 1% more docs coverage.
22468 2005-10-20 Wim Taymans <wim@fluendo.com>
22471 * gst/gstquery.c: (gst_query_set_position),
22472 (gst_query_parse_position), (gst_query_set_duration),
22473 (gst_query_parse_duration), (gst_query_new_convert):
22475 * gst/gstutils.c: (gst_element_query_convert):
22477 Docs and consistency fixes.
22479 2005-10-20 Wim Taymans <wim@fluendo.com>
22485 2005-10-20 Wim Taymans <wim@fluendo.com>
22487 * gst/gstbin.c: (message_check), (bin_replace_message),
22488 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22489 (update_degree), (gst_bin_sort_iterator_next),
22490 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22491 Reworked the message handling a bit, cache the messages instead of
22492 only the senders. alows us to do more in the future.
22494 2005-10-20 Wim Taymans <wim@fluendo.com>
22496 * docs/design/part-TODO.txt:
22499 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22500 (gst_base_sink_query):
22501 Don't use clock time to report position when in EOS.
22503 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22505 * tools/gst-inspect.c: (print_interfaces),
22506 (print_element_properties_info), (print_element_info):
22507 Fix interface output with gst-inspect -a; don't print
22508 newlines after double/float properties.
22510 2005-10-20 Wim Taymans <wim@fluendo.com>
22512 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22513 (gst_base_sink_query):
22514 Speed up current position calculation.
22516 * gst/base/gstbasesrc.c: (gst_base_src_query),
22517 (gst_base_src_default_newsegment):
22518 Correctly set stream position in newsegment.
22520 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22521 (update_degree), (gst_bin_sort_iterator_next),
22522 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22523 * gst/gstmessage.c: (gst_message_new_custom):
22524 Clean up debugging info
22526 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22527 (gst_queue_loop), (gst_queue_handle_src_query):
22530 2005-10-19 Wim Taymans <wim@fluendo.com>
22532 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22533 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22534 Fix query handling again.
22536 2005-10-19 Wim Taymans <wim@fluendo.com>
22538 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22539 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22540 * gst/base/gstbasesrc.c: (gst_base_src_query):
22541 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22542 * gst/elements/gsttypefindelement.c:
22543 (gst_type_find_handle_src_query), (find_element_get_length),
22544 (gst_type_find_element_activate):
22547 * gst/gstquery.c: (gst_query_new_position),
22548 (gst_query_set_position), (gst_query_parse_position),
22549 (gst_query_new_duration), (gst_query_set_duration),
22550 (gst_query_parse_duration), (gst_query_set_segment),
22551 (gst_query_parse_segment):
22553 Bundling query position/duration is not a good idea since duration
22554 does not change much and we don't want to recalculate it for every
22555 position query, so they are separated again..
22556 Base value in segment query is not needed.
22558 * gst/gstqueue.c: (gst_queue_handle_src_query):
22559 * gst/gstutils.c: (gst_element_query_position),
22560 (gst_element_query_duration), (gst_pad_query_position),
22561 (gst_pad_query_duration):
22563 Updates for query API change.
22564 Added some docs here and there.
22566 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22568 * check/gst/gstbin.c: (GST_START_TEST):
22569 * check/gst/gstghostpad.c: (GST_START_TEST):
22570 * check/pipelines/cleanup.c: (GST_START_TEST):
22571 wait on thread to die so we can check refcount correctly
22573 2005-10-18 Wim Taymans <wim@fluendo.com>
22575 * check/pipelines/stress.c: (GST_START_TEST):
22576 Make check a little more time consuming.
22578 2005-10-18 Wim Taymans <wim@fluendo.com>
22580 * check/Makefile.am:
22581 * check/pipelines/stress.c: (GST_START_TEST),
22582 (simple_launch_lines_suite), (main):
22583 Small state change torture test.
22585 * docs/design/part-states.txt:
22586 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22587 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22588 (gst_base_sink_change_state):
22589 Never take state lock from streaming thread, clean up ugly
22590 hacks. Unfortunatly core does not yet support nice ways to
22591 async commit state.
22593 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22595 Start state recalc if a STATE_DIRTY message is posted, but only
22596 on the toplevel bin.
22598 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22599 (gst_element_get_state_func), (gst_element_abort_state),
22600 (gst_element_commit_state), (gst_element_lost_state),
22601 (gst_element_set_state_func), (gst_element_change_state):
22602 * gst/gstelement.h:
22603 State variables are now protected with the LOCK, the state
22604 lock is only used to serialize _set_state().
22606 2005-10-18 Wim Taymans <wim@fluendo.com>
22608 * check/gst/gstbin.c: (GST_START_TEST):
22609 * check/gst/gstmessage.c: (GST_START_TEST):
22610 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22611 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22613 * gst/gstelement.c: (gst_element_abort_state),
22614 (gst_element_commit_state), (gst_element_lost_state):
22615 * gst/gstmessage.c: (gst_message_new_state_changed),
22616 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22617 (gst_message_new_segment_done), (gst_message_new_duration),
22618 (gst_message_parse_state_changed),
22619 (gst_message_parse_segment_start),
22620 (gst_message_parse_segment_done), (gst_message_parse_duration):
22621 * gst/gstmessage.h:
22622 * tools/gst-launch.c: (event_loop):
22623 Seriously, this is better than a previous commit as we only need
22624 to notify the fact that an element changed state in a streaming
22625 thread, marking the state of the parents dirty, hence the
22626 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22629 2005-10-18 Wim Taymans <wim@fluendo.com>
22631 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22632 (gst_bin_recalc_func):
22633 * gst/gstelement.c: (gst_element_set_clock),
22634 (gst_element_abort_state), (gst_element_lost_state):
22635 Cleanups, prepare for state change fixes.
22637 2005-10-18 Wim Taymans <wim@fluendo.com>
22640 * gst/gstelement.c: (gst_element_class_init),
22641 (gst_element_set_state), (gst_element_set_state_func):
22642 * gst/gstelement.h:
22643 Pending ABI changes.
22644 GThreadPool in GstBinClass to monitor async state changes.
22645 state_cookie in GstElement to detect concurrent gst/set state.
22646 set_state is now virtual too in case a very complicated element
22647 has to be constructed.
22649 2005-10-18 Wim Taymans <wim@fluendo.com>
22651 * check/gst/gstbin.c: (GST_START_TEST):
22652 * check/gst/gstmessage.c: (GST_START_TEST):
22653 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22654 * gst/gstbin.c: (bin_bus_handler):
22655 * gst/gstelement.c: (gst_element_commit_state),
22656 (gst_element_lost_state):
22657 * gst/gstmessage.c: (gst_message_new_state_changed),
22658 (gst_message_new_segment_start), (gst_message_new_segment_done),
22659 (gst_message_new_duration), (gst_message_parse_state_changed),
22660 (gst_message_parse_segment_start),
22661 (gst_message_parse_segment_done), (gst_message_parse_duration):
22662 * gst/gstmessage.h:
22663 * tools/gst-launch.c: (event_loop):
22664 Make messages future proof.
22665 state-change gets a flag if it was a message comming from the
22667 segment-start/stop can also be specified in other formats.
22668 A message to notify an app that a pipeline changed playback
22670 Also fix a GstMessage leak in -launch
22672 2005-10-18 Andy Wingo <wingo@pobox.com>
22674 * gst/gstelement.c (gst_element_dispose): More helpful message.
22676 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22678 reviewed by: <delete if not using a buddy>
22680 * common/gtk-doc.mak:
22682 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22684 * gst/gstregistry.c: (gst_registry_scan_path_level):
22685 unref a plug-in we get that was already initialized
22687 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22689 * docs/gst/gstreamer-sections.txt:
22690 * docs/libs/gstreamer-libs-sections.txt:
22691 * gst/gstelement.h:
22692 add new api entries
22693 hide internal macro
22695 2005-10-17 Andy Wingo <wingo@pobox.com>
22697 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22700 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22702 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22704 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22705 (gst_element_get_state_func): Better debug message.
22706 (gst_element_commit_state): s/INFO/DEBUG/.
22707 (gst_element_lost_state, gst_element_change_state):
22709 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22710 (gst_message_new_custom): s/INFO/LOG/.
22712 2005-10-17 Michael Smith <msmith@fluendo.com>
22714 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22715 Check if end time is valid using end time, not start time.
22717 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22719 * check/gst-libs/controller.c: (GST_START_TEST),
22720 (gst_controller_suite):
22721 * libs/gst/controller/gstcontroller.c:
22722 (gst_controlled_property_set_interpolation_mode):
22723 * libs/gst/controller/gstcontroller.h:
22724 * libs/gst/controller/gstinterpolation.c:
22725 * testsuite/controller/.cvsignore:
22726 * testsuite/controller/Makefile.am:
22727 * testsuite/controller/interpolator.c:
22728 merge controller testsuites
22730 remove mem-chunk from docs
22732 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22734 * gst/gstmemchunk.c:
22735 * gst/gstmemchunk.h:
22736 * gst/gsttrashstack.c:
22737 * gst/gsttrashstack.h:
22738 out. get out. you're fired. to the Attic !
22740 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22742 * gst/gstcaps.c: (gst_caps_intersect):
22743 fix signedness issues in a (hopefully) correct way
22744 * gst/gstelement.c: (gst_element_pads_activate):
22746 * gst/gstobject.c: (gst_object_set_parent):
22749 2005-10-17 Julien MOUTTE <julien@moutte.net>
22751 * gst/gstvalue.h: Fix prototypes.
22753 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22755 * docs/gst/gstreamer-sections.txt:
22756 * gst/gst.c: (gst_version_string):
22758 * gst/gstversion.h.in:
22759 * win32/common/libgstreamer.def:
22760 add gst_version_string ()
22762 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22766 * gst/gst.c: (init_post):
22767 * win32/common/config.h.in:
22769 * gst/gstcaps.c: (gst_caps_intersect):
22770 use gint64, the range could be bigger than a guint
22772 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22775 document potential problem in 2038
22777 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22779 * gst/gstcaps.c: (gst_caps_intersect):
22780 Fix guint j diving under 0
22782 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22785 * win32/common/config.h:
22786 * win32/common/config.h.in:
22787 check for process.h, declares getpid() on Windows
22789 include process.h if we have it
22790 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22791 * gst/gstmemchunk.h:
22792 fix signedness issues
22793 * win32/common/libgstreamer.def:
22796 2005-10-16 Julien MOUTTE <julien@moutte.net>
22798 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22799 fix. Because of unsigned ints, caps intersection was going nuts and
22800 trying to access structures with G_MAXUINT index. That fixes
22801 videotestsrc ! ffmpegcolorspace ! fakesink
22802 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22805 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22808 use the gettext macro
22809 * gst/elements/gstelements.c:
22811 * gst/indexers/gstindexers.c:
22812 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22813 * win32/common/config.h:
22815 * win32/common/config.h.in:
22816 add the template to generate config.h
22817 * win32/common/gstenumtypes.c:
22818 * win32/common/gstversion.h:
22821 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22823 * gst/gst.c: (gst_version):
22824 * gst/gstversion.h.in:
22827 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22830 Oops, add missing closing bracket.
22832 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22835 use common m4's for argument checking
22837 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22839 * docs/gst/gstreamer-sections.txt:
22841 Add GST_EVENT_TYPE_NAME() macro.
22843 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22846 * gst/gstpluginfeature.c:
22848 privatize more symbols
22850 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22853 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22854 everything that uses GStreamer API should have the includes
22856 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22858 * docs/gst/gstreamer-sections.txt:
22859 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22861 give each value a _get_type, removes the DATA exports
22863 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22867 remove _gst_registry_auto_load, not used anymore
22868 * gst/gstbin.c: (gst_bin_get_type):
22870 * gst/gstelement.c: (gst_element_get_type):
22871 * gst/gstelement.h:
22872 * gst/gstobject.c: (gst_object_get_type):
22874 * gst/gstpad.c: (gst_pad_get_type):
22876 make _get_type functions similar, fixes data export from library
22878 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22881 correctly make conditionals
22882 * gst/elements/Makefile.am:
22883 * gst/elements/gstelements.c:
22884 fix typo causing fdsrc not to build
22886 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22888 * testsuite/Makefile.am:
22889 * testsuite/bytestream/.cvsignore:
22890 * testsuite/bytestream/Makefile.am:
22891 * testsuite/bytestream/filepadsink.c:
22892 * testsuite/bytestream/gstbstest.c:
22893 * testsuite/bytestream/test1.c:
22894 * testsuite/bytestream/testfile1:
22895 * testsuite/caps/normalisation.c:
22896 * testsuite/caps/random.c: (main):
22897 * testsuite/cleanup/.cvsignore:
22898 * testsuite/cleanup/Makefile.am:
22899 * testsuite/cleanup/cleanup1.c:
22900 * testsuite/cleanup/cleanup2.c:
22901 * testsuite/cleanup/cleanup3.c:
22902 * testsuite/cleanup/cleanup4.c:
22903 * testsuite/cleanup/cleanup5.c:
22904 * testsuite/controller/interpolator.c:
22905 * testsuite/debug/printf_extension.c: (main):
22906 * testsuite/elements/tee.c:
22907 * testsuite/negotiation/.cvsignore:
22908 * testsuite/negotiation/Makefile.am:
22909 * testsuite/negotiation/pad_link.c:
22910 * testsuite/pad/Makefile.am:
22911 * testsuite/pad/chainnopull.c:
22912 * testsuite/pad/getnopush.c:
22913 * testsuite/pad/link.c:
22914 * testsuite/refcounting/sched.c: (create_pipeline):
22915 * testsuite/registry/Makefile.am:
22916 * testsuite/registry/gst-print-formats.c:
22917 * testsuite/schedulers/.cvsignore:
22918 * testsuite/schedulers/142183-2.c:
22919 * testsuite/schedulers/142183.c:
22920 * testsuite/schedulers/143777-2.c:
22921 * testsuite/schedulers/143777.c:
22922 * testsuite/schedulers/147713.c:
22923 * testsuite/schedulers/147819.c:
22924 * testsuite/schedulers/147894-2.c:
22925 * testsuite/schedulers/147894.c:
22926 * testsuite/schedulers/Makefile.am:
22927 * testsuite/schedulers/group_link.c:
22928 * testsuite/schedulers/queue_link.c:
22929 * testsuite/schedulers/relink.c:
22930 * testsuite/schedulers/unlink.c:
22931 * testsuite/schedulers/unref.c:
22932 * testsuite/schedulers/useless_iteration.c:
22933 * testsuite/states/bin.c:
22934 clean out/remove some stuff from the testsuite directories
22936 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22939 check for some headers
22940 * gst/elements/Makefile.am:
22941 * gst/elements/gstelements.c:
22942 don't compile fdsrc without sys/socket.h
22943 * gst/indexers/Makefile.am:
22944 * gst/indexers/gstindexers.c: (plugin_init):
22945 don't compile fileindex without mmap
22947 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22954 * check/Makefile.am:
22955 * docs/gst/Makefile.am:
22956 * examples/helloworld/Makefile.am:
22958 * gst/base/Makefile.am:
22959 * gst/check/Makefile.am:
22960 * gst/elements/Makefile.am:
22961 * gst/indexers/Makefile.am:
22962 * gst/parse/Makefile.am:
22963 * libs/gst/controller/Makefile.am:
22964 * libs/gst/dataprotocol/Makefile.am:
22965 * examples/helloworld/helloworld.c: (event_loop):
22966 compile fixes, though it's not being compiled currently
22968 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22970 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22971 Add some simple tests for the new taglist date API.
22973 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22975 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22976 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22977 Beautify 'last-message' output: print 'none' for buffer timestamps
22978 and durations if none is set; improve alignment with next messages.
22980 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22982 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22983 * gst/gstpluginfeature.h:
22984 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22985 * gst/gstregistry.h:
22986 * docs/gst/gstreamer-sections.txt:
22987 Add new API to check plugin feature version requirements.
22989 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22990 Some basic tests for the above.
22992 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22994 * gst/gststructure.c: (gst_structure_to_string):
22995 guard against NULL printf - happens when for example
22996 a message structure with GstClock gets serialized
22998 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23000 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23001 Fix presumable copy'n'pasto.
23003 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23005 * gst/elements/gstfakesrc.h:
23006 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23007 * gst/elements/gsttypefindelement.c:
23008 fix some signedness
23009 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23010 I wonder if this could actually write +2GB files before
23012 2005-10-13 Andy Wingo <wingo@pobox.com>
23014 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23015 Fix Timmeke Waymans bug.
23016 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23017 string of the proper length to gst_caps_from_string. There's a
23018 potential for, before this fix, that this could cause someone
23019 connecting over the network to cause a segfault if the payload is
23020 not NUL-terminated.
23022 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23024 * docs/design/draft-push-pull.txt:
23025 * docs/design/part-overview.txt:
23026 * docs/random/TODO-pre-0.9:
23027 * docs/random/old/ChangeLog.gstreamer:
23028 * gst/base/gstpushsrc.c:
23032 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23034 * gst/glib-compat.c: (gst_flags_get_first_value):
23035 * gst/glib-compat.h:
23036 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23037 (gst_value_compare_double), (gst_value_serialize_flags):
23038 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23041 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23043 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23044 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23046 * tools/gst-launch.c: (event_loop):
23047 print out clock nicely
23049 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23051 * docs/gst/gstreamer-sections.txt:
23052 * gst/gsttaglist.h:
23053 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23054 (gst_tag_list_get_date_index):
23055 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23056 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23058 2005-10-13 Julien MOUTTE <julien@moutte.net>
23060 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23061 (gst_collectpads_chain):
23062 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23065 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23067 * docs/gst/gstreamer-sections.txt:
23070 * tools/gst-inspect.c: (main):
23071 * tools/gst-launch.c: (main):
23072 * tools/gst-run.c: (main):
23073 * tools/gst-xmlinspect.c: (main):
23074 fix GOption context leaks
23077 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23081 * win32/common/config.h:
23083 * win32/vs6/grammar.dsp:
23084 * win32/vs6/libgstelements.dsp:
23085 * win32/vs6/libgstreamer.dsp:
23088 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23091 * gst/base/gstbasesrc.c: (gst_base_src_query):
23092 fix more guint64<->gdouble conversions
23094 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23097 add win32-update target
23098 * win32/common/gstconfig.h:
23099 * win32/common/gstenumtypes.c:
23100 * win32/common/gstenumtypes.h:
23101 * win32/common/gstversion.h:
23102 add files that visual studio can't generate
23104 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23107 add a win32-update target
23110 2005-10-12 Wim Taymans <wim@fluendo.com>
23112 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23113 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23114 * gst/gstelement.c: (gst_element_commit_state),
23115 (gst_element_set_state):
23116 Protect flags with proper lock.
23117 unref provided cached clock in dispose.
23119 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23122 * gst/gstminiobject.h:
23124 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23125 removed unused flags from miniobject
23128 2005-10-12 Wim Taymans <wim@fluendo.com>
23130 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23131 (gst_file_sink_event), (gst_file_sink_render):
23132 Flush before seeking.
23134 2005-10-12 Andy Wingo <wingo@pobox.com>
23136 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23137 always been the case.
23139 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23141 * check/gst/gstbin.c: (GST_START_TEST):
23142 * docs/gst/gstreamer-sections.txt:
23143 * gst/base/gstbasesink.c: (gst_base_sink_init):
23144 * gst/base/gstbasesrc.c: (gst_base_src_init),
23145 (gst_base_src_get_range), (gst_base_src_check_get_range),
23146 (gst_base_src_start), (gst_base_src_stop):
23147 * gst/base/gstbasesrc.h:
23148 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23149 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23150 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23154 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23156 * gst/gstelement.c: (gst_element_is_locked_state),
23157 (gst_element_set_locked_state), (gst_element_commit_state),
23158 (gst_element_set_state):
23159 * gst/gstelement.h:
23160 * gst/gstindex.c: (gst_index_init):
23162 * gst/gstminiobject.h:
23163 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23164 (gst_object_set_parent):
23166 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23167 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23169 * gst/gstpadtemplate.h:
23170 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23171 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23172 * gst/gstpipeline.h:
23173 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23174 (gst_file_index_commit):
23175 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23176 * testsuite/pad/link.c: (gst_test_src_init),
23177 (gst_test_filter_init), (gst_test_sink_init):
23178 * testsuite/states/locked.c: (main):
23179 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23180 moved bitshift from macro to enum definition
23182 2005-10-12 Wim Taymans <wim@fluendo.com>
23184 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23185 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23186 (gst_file_sink_render):
23187 Some more debugging info.
23189 2005-10-12 Wim Taymans <wim@fluendo.com>
23191 * docs/design/part-states.txt:
23192 * tools/gst-launch.c: (main):
23194 Revert non-intentional change.
23196 2005-10-12 Wim Taymans <wim@fluendo.com>
23198 * check/gst/gstbin.c: (GST_START_TEST):
23199 * check/gst/gstelement.c: (GST_START_TEST):
23200 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23201 * check/gst/gstghostpad.c: (GST_START_TEST):
23202 * check/gst/gstpipeline.c: (GST_START_TEST):
23203 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23204 * check/states/sinks.c: (GST_START_TEST):
23205 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23206 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23207 (gst_bin_remove_func), (gst_bin_get_state_func),
23208 (gst_bin_recalc_state), (gst_bin_change_state_func),
23210 * gst/gstelement.c: (gst_element_get_state_func),
23211 (gst_element_get_state), (gst_element_abort_state),
23212 (gst_element_commit_state), (gst_element_set_state),
23213 (gst_element_change_state), (gst_element_change_state_func):
23214 * gst/gstelement.h:
23215 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23216 (gst_pipeline_provide_clock_func):
23217 * gst/gstutils.c: (gst_element_link_pads_filtered):
23218 * tools/gst-launch.c: (main):
23219 * tools/gst-typefind.c: (main):
23220 Use GstClockTime in _get_state() instead of GTimeVal.
23221 Remove old code in gstutils.c
23223 2005-10-12 Andy Wingo <wingo@pobox.com>
23225 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23228 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23229 there is no task. Shouldn't affect any code, as nothing in our
23230 plugins checks this return value.
23231 (gst_pad_stop_task): Also take the stream lock if the pad has no
23232 task. Docs updated.
23234 2005-10-12 Wim Taymans <wim@fluendo.com>
23236 * gst/gstpad.c: (pre_activate), (post_activate),
23237 (gst_pad_activate_pull), (gst_pad_activate_push):
23238 Cleanup activation code. Reset old state if
23241 2005-10-12 Wim Taymans <wim@fluendo.com>
23243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23244 (gst_base_sink_change_state):
23245 No need to prerol after receiving EOS.
23247 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23248 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23249 * gst/elements/gstidentity.c: (gst_identity_event):
23250 Print events more verbosely.
23252 2005-10-12 Wim Taymans <wim@fluendo.com>
23254 * check/Makefile.am:
23255 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23256 * check/states/sinks2.c:
23257 Moved sinks2 testcode in sinks check.
23259 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23260 (gst_bin_remove_func), (gst_bin_recalc_state),
23261 (gst_bin_change_state_func), (bin_bus_handler):
23262 Fix potential race condition when _get_state() iterated over an
23263 ASYNC element right before it posted a state completion.
23266 Do proper cast here.
23268 * gst/gstevent.c: (gst_event_new_newsegment),
23269 (gst_event_parse_newsegment):
23270 A playback rate of 0.0 is not allowed.
23272 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23274 * win32/common/config.h:
23275 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23276 (_trewinddir), (_ttelldir), (_tseekdir):
23277 * win32/common/dirent.h:
23278 * win32/common/gtchar.h:
23279 * win32/common/libgstbase.def:
23280 * win32/common/libgstreamer.def:
23281 * win32/vs6/grammar.dsp:
23282 * win32/vs6/gst_inspect.dsp:
23283 * win32/vs6/gst_launch.dsp:
23284 * win32/vs6/gstreamer.dsw:
23285 * win32/vs6/libgstbase.dsp:
23286 * win32/vs6/libgstelements.dsp:
23287 * win32/vs6/libgstreamer.dsp:
23288 Visual Studio 6 project files, and a new common directory.
23291 2005-10-11 Wim Taymans <wim@fluendo.com>
23293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23294 (gst_base_sink_do_sync), (gst_base_sink_query),
23295 (gst_base_sink_change_state):
23296 * gst/base/gstbasesink.h:
23297 Correctly parse newsegment info.
23299 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23301 * gst/gst.c: (init_post):
23302 split plugin paths correctly
23304 2005-10-11 Wim Taymans <wim@fluendo.com>
23306 * check/gst/gstevent.c: (GST_START_TEST):
23307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23308 (gst_base_sink_change_state):
23309 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23310 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23311 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23312 * gst/gstevent.c: (gst_event_new_newsegment),
23313 (gst_event_parse_newsegment):
23315 Added extra flag to newsegment for future API freeze.
23316 Updated check and base elements.
23318 2005-10-11 Julien MOUTTE <julien@moutte.net>
23320 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23321 (gst_collectpads_add_pad), (gst_collectpads_pop),
23322 (gst_collectpads_event), (gst_collectpads_chain):
23323 * gst/base/gstcollectpads.h: Handle EOS correctly.
23325 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23327 * tools/gst-launch.c: (main):
23328 more null protecting
23330 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23332 * gst/gst-i18n-lib.h:
23333 check for ENABLE_NLS, not GETTEXT_PACKAGE
23334 * gst/gstregistry.c: (gst_registry_add_plugin),
23335 (gst_registry_scan_path_level),
23336 (_gst_registry_remove_cache_plugins):
23337 protect possibly NULL strings
23338 * gst/parse/types.h:
23339 config.h already included before
23340 * tools/gst-inspect.c: (main):
23341 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23342 check for ENABLE_NLS, not GETTEXT_PACKAGE
23343 * tools/gst-launch.c: (main):
23344 check for ENABLE_NLS, not GETTEXT_PACKAGE
23346 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23349 if we don't have glib, fail before testing 2.8
23350 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23351 fix a leak, should fix plugins-base testsuite
23353 2005-10-11 Andy Wingo <wingo@pobox.com>
23355 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23356 take the mode we're going to as an arg. Go head and set the mode
23357 and flushing flags now, so that if the activate function starts a
23358 thread all the flags will be in the right state.
23359 (post_activate): Renamed also. Just handle making sure streaming
23360 finishes for the deactivation case, and setting the deactivated
23362 (gst_pad_set_active): Complain loudly if deactivation fails.
23363 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23364 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23365 remove the terrible hack.
23367 2005-10-11 Wim Taymans <wim@fluendo.com>
23369 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23370 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23371 (gst_bin_recalc_state), (gst_bin_change_state_func),
23372 (gst_bin_dispose), (bin_bus_handler):
23374 Prepare to make current EOS message queue more generic.
23377 * gst/gstevent.c: (gst_event_new_newsegment),
23378 (gst_event_parse_newsegment):
23380 Rename base to stream_time.
23382 * gst/gstmessage.h:
23385 2005-10-11 Wim Taymans <wim@fluendo.com>
23387 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23388 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23389 (gst_bin_change_state_func), (bin_bus_handler):
23391 Work on proper clock selection.
23393 2005-10-11 Edward Hervey <edward@fluendo.com>
23395 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23396 * libs/gst/controller/gstcontroller.h:
23397 Added GList* version of _remove_properties() in order to be able to wrap
23400 2005-10-11 Wim Taymans <wim@fluendo.com>
23402 * docs/design/part-states.txt:
23405 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23406 (gst_bin_change_state_func), (bin_bus_handler):
23407 Doc updates. Don't distribute the same clock over and over again.
23413 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23414 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23415 (gst_pad_send_event):
23417 Make probe emission threadsafe again.
23418 Register quarks and move _get_name() from utils.
23421 * gst/gstpipeline.c: (gst_pipeline_class_init),
23422 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23423 Only redistribute the clock of it changed.
23425 * gst/gstsystemclock.h:
23430 Moved the _flow_get_name() to GstPad.
23432 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23434 * check/gst-libs/gdp.c: (GST_START_TEST):
23435 * check/gst/gstcaps.c: (GST_START_TEST):
23436 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23437 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23438 (gst_dp_packet_from_caps):
23439 fix more valgrind warnings before turning up the heat
23441 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23443 * gst/parse/grammar.y:
23444 some cleanup before the hacking
23446 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23448 * gst/base/gstbasesrc.c: (gst_base_src_query):
23450 * gst/gstutils.c: (gst_guint64_to_gdouble),
23451 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23453 externalize, basesrc uses it
23454 obviously the implementation needs testing
23456 2005-10-10 Wim Taymans <wim@fluendo.com>
23458 * tests/sched/Makefile.am:
23459 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23460 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23462 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23464 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23465 apparently converting from guint64 to double is not implemented
23468 2005-10-10 Wim Taymans <wim@fluendo.com>
23470 * check/Makefile.am:
23471 * check/generic/states.c: (GST_START_TEST):
23472 * check/gst/gstbin.c: (GST_START_TEST):
23473 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23474 * check/states/sinks.c: (GST_START_TEST):
23475 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23477 Check fixes, use API as stated in design docs, remove hacks.
23479 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23480 (gst_base_sink_change_state):
23481 Catch stopping our task while we're shutting down.
23483 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23484 (gst_bin_remove_func), (gst_bin_get_state_func),
23485 (gst_bin_recalc_state), (gst_bin_change_state_func),
23488 * gst/gstelement.c: (gst_element_init),
23489 (gst_element_get_state_func), (gst_element_abort_state),
23490 (gst_element_commit_state), (gst_element_lost_state),
23491 (gst_element_set_state), (gst_element_change_state),
23492 (gst_element_change_state_func):
23493 * gst/gstelement.h:
23494 New state change algorithm (see #318116)
23496 * gst/gstpipeline.c: (gst_pipeline_class_init),
23497 (gst_pipeline_init), (gst_pipeline_set_property),
23498 (gst_pipeline_get_property), (do_pipeline_seek),
23499 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23500 * gst/gstpipeline.h:
23501 Remove crude state change hacks.
23504 Remove crude hacks.
23506 * tools/gst-launch.c: (main):
23507 Fixes for state change. Needs some more work to fully use the
23510 2005-10-10 Andy Wingo <wingo@pobox.com>
23512 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23514 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23515 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23518 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23520 * gst/gstiterator.c: (gst_iterator_new):
23521 Fix my previous commit: GTypes passed to gst_iterator_new()
23522 can be fundamental types.
23524 2005-10-10 Wim Taymans <wim@fluendo.com>
23526 * gst/gstelement.c: (gst_element_iterate_pad_list),
23527 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23528 (gst_element_iterate_sink_pads):
23529 Use src/sink pads lists for the respective iterators instead
23532 2005-10-10 Andy Wingo <wingo@pobox.com>
23534 Merged in popt removal + GOption addition patch from Ronald, bug
23537 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23538 GstElement macros around, remove popt-related symbols, add goption
23541 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23543 * docs/gst/Makefile.am:
23544 * docs/libs/Makefile.am: No POPT_CFLAGS.
23546 * examples/manual/Makefile.am:
23547 * docs/manual/basics-init.xml: Doc updates with an example.
23549 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23550 (gst_init), (parse_one_option), (parse_goption_arg):
23551 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23552 bit of hand merging and debugging to get the GOption stuff working
23555 * tests/Makefile.am:
23556 * tools/Makefile.am:
23557 * tools/gst-inspect.c: (main):
23558 * tools/gst-launch.c: (main):
23559 * tools/gst-run.c: (main):
23560 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23562 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23564 * gst/gstiterator.c: (gst_iterator_new):
23565 Add assertions to make sure passed GType is likely to really
23566 be a GType (as the compiler won't catch it if the size and
23567 GType arguments get mixed up, see #318447).
23569 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23571 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23573 * gst/gstbin.c: (gst_bin_iterate_sorted):
23574 Pass GType and size arguments to gst_iterator_new() in the right
23575 order (maybe we should make _new() take the GType as first argument
23576 just like _new_list()?) (#318447).
23579 2005-10-10 Wim Taymans <wim@fluendo.com>
23581 * gst/gstelement.c: (gst_element_finalize):
23582 And free the GStaticRecMutex too
23584 2005-10-10 Andy Wingo <wingo@pobox.com>
23586 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23587 Allocate and free the mutex properly.
23589 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23591 (GstElement): The state_lock is now recursive. Rebuild your
23592 plugins, suckers. Old macros adapted.
23594 * docs/gst/gstreamer-sections.txt: Doc updates.
23597 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23598 (g_static_rec_cond_wait): Ported from state changes patch, while
23599 we wait on bug #317802 to be solved in a well-distributed GLib.
23601 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23602 gst_element_change_state, variable name changes.
23603 (gst_element_change_state): Split out of gst_element_set_state in
23604 preparation for the state change merge. Doesn't pay attention to
23605 the 'transition' argument.
23606 (gst_element_set_state): Updates, hopefully purely cosmetic.
23607 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23608 state change patch.
23609 (gst_element_get_state_func): Renamed from get_state, cosmetic
23612 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23614 * gst/elements/gstelements.c:
23615 * win32/GStreamer.vcproj:
23617 * win32/dirent.c: (_tseekdir):
23618 * win32/gst-inspect.vcproj:
23619 * win32/gst-launch.vcproj:
23620 * win32/gstconfig.h:
23621 * win32/gstelements.vcproj:
23622 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23623 * win32/gstreamer.def:
23624 * win32/msvc71.sln:
23625 updates for the win32 build (patch from Sebastien Moutte)
23627 2005-10-10 Andy Wingo <wingo@pobox.com>
23629 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23630 gst_bin_get_state, cleaned up (but no logic changes).
23631 (bin_element_is_sink): Comment updates.
23632 (sink_iterator_filter): Remove needless cast.
23633 (gst_bin_iterate_sinks): Doc update.
23634 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23635 cleaned up (but no logic changes).
23637 * check/states/sinks.c (test_src_sink): Cleanups from the state
23639 (test_livesrc_sink): Sync on the state.
23641 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23642 the state change patch.
23644 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23647 * check/gst/gstbin.c: Merge in some style fixes and additional
23648 checks from Wim's state change patch.
23650 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23652 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23653 (gst_type_find_helper):
23654 Check whether we have the requested data already in our list of
23655 cached buffers before pulling a new buffer; also make the buffer
23656 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23658 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23663 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23664 don't use long long, it's not portable. Replacing with
23665 gint64 seems to work; let's hope no skeletons fall out of the closet.
23667 2005-10-10 Andy Wingo <wingo@pobox.com>
23669 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23671 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23673 * docs/gst/gstreamer-sections.txt:
23678 * gst/gstmessage.c: (gst_message_parse_state_changed):
23681 more docs, fix compilation
23683 2005-10-09 Philippe Khalaf <burger@speedy.org>
23684 * gst/gstmessage.c:
23685 Fixed a few forgotten variables on previous commit
23687 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23689 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23690 Fix evil typefind crasher: getrange() might return a short
23691 buffer at the end of a file, but gst_type_find_peek() must
23692 either return the full data as requested or NULL, but
23693 never a short buffer.
23695 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23697 * gst/gstmessage.c: (gst_message_new_state_changed),
23698 (gst_message_parse_state_changed):
23699 * gst/gstmessage.h:
23700 don't use "new", it's a C++ keyword
23702 2005-10-08 Wim Taymans <wim@fluendo.com>
23704 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23705 * gst/gstelement.c: (gst_element_post_message):
23706 * gst/gstpipeline.c: (gst_pipeline_change_state):
23707 Small docs and debug updates.
23709 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23711 * docs/gst/gstreamer-sections.txt:
23712 * gst/gstelementfactory.c:
23714 * gst/gsttaglist.c:
23717 2005-10-08 Wim Taymans <wim@fluendo.com>
23719 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23720 (gst_bin_dispose), (bin_bus_handler):
23721 Fix typos, add comments.
23722 Clear EOS list when going to PAUSED from any direction and do it
23723 in a threadsafe way.
23724 Get base time in a threadsafe way too.
23725 Fix confusing debug in the change_state function.
23726 Various other small cleanups.
23728 * gst/gstelement.c: (gst_element_post_message):
23729 Fix very verbose bus posting code.
23731 * gst/gstpipeline.c: (gst_pipeline_class_init),
23732 (gst_pipeline_set_property), (gst_pipeline_get_property),
23733 (gst_pipeline_change_state):
23734 Small ARG_ -> PROP_ cleanup
23736 2005-10-08 Wim Taymans <wim@fluendo.com>
23738 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23739 Do a less CPU demanding EOS check because we can.
23741 2005-10-08 Wim Taymans <wim@fluendo.com>
23743 * libs/gst/dataprotocol/dataprotocol.c:
23744 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23745 (gst_dp_packet_from_event):
23746 * libs/gst/dataprotocol/dataprotocol.h:
23747 * libs/gst/dataprotocol/dp-private.h:
23748 It's about time we bump the version number.
23749 Since event types don't fit in the guint8 anymore describing
23750 the payload type, make payload type 16 bits wide.
23752 2005-10-08 Wim Taymans <wim@fluendo.com>
23754 * docs/design/part-TODO.txt:
23755 * docs/design/part-clocks.txt:
23756 * docs/design/part-events.txt:
23757 * docs/design/part-gstbin.txt:
23758 * docs/design/part-gstelement.txt:
23759 * docs/design/part-gstpipeline.txt:
23760 * docs/design/part-live-source.txt:
23761 * docs/design/part-messages.txt:
23762 * docs/design/part-overview.txt:
23763 * docs/design/part-states.txt:
23766 2005-10-08 Wim Taymans <wim@fluendo.com>
23770 Fix event quark registration.
23771 Add some space between events so we can insert them in the
23774 2005-10-08 Wim Taymans <wim@fluendo.com>
23776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23777 (gst_base_sink_handle_buffer):
23778 Better log message.
23781 * gst/gstelement.h:
23784 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23785 (gst_queue_set_property), (gst_queue_get_property):
23787 Remove old unused properties.
23789 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23790 * docs/gst/gstreamer-sections.txt:
23791 * gst/gstmessage.c:
23792 * gst/gstmessage.h:
23793 * gst/gstminiobject.c:
23794 * gst/gstminiobject.h:
23798 lots of new docs and doc fixes
23800 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23802 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23804 * gst/gstregistry.c: (gst_registry_lookup_locked),
23805 (gst_registry_scan_path_level):
23806 * gst/gstregistryxml.c: (load_plugin):
23807 Only ever load one plugin for a given plugin basename.
23808 This ensures correct overriding of GST_PLUGIN_PATH over
23809 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23810 system installed plugins.
23812 2005-10-08 Wim Taymans <wim@fluendo.com>
23814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23815 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23816 Prepare for doing QOS.
23818 2005-10-08 Wim Taymans <wim@fluendo.com>
23820 * check/gst/gstbin.c: (GST_START_TEST):
23821 * check/pipelines/cleanup.c: (GST_START_TEST):
23822 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23823 Allow new clock message too.
23825 2005-10-08 Wim Taymans <wim@fluendo.com>
23827 * gst/gstmessage.c: (gst_message_new_error),
23828 (gst_message_new_warning), (gst_message_new_tag),
23829 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23830 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23831 (gst_message_new_segment_start), (gst_message_new_segment_done),
23832 (gst_message_parse_state_changed),
23833 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23834 (gst_message_parse_new_clock):
23835 * gst/gstmessage.h:
23836 Also carry the clock in question.
23838 2005-10-08 Wim Taymans <wim@fluendo.com>
23840 * gst/gstmessage.c: (gst_message_new_custom),
23841 (gst_message_new_eos), (gst_message_new_error),
23842 (gst_message_new_warning), (gst_message_new_tag),
23843 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23844 (gst_message_new_new_clock), (gst_message_new_segment_start),
23845 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23846 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23847 * gst/gstmessage.h:
23849 Added clock related messages.
23851 * gst/gstpipeline.c: (gst_pipeline_change_state):
23852 Post message when the clock changed.
23854 * tools/gst-launch.c: (event_loop):
23857 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23859 * tools/gst-inspect.c: (print_element_properties_info):
23860 Can't pass NULL strings to g_print() on windows.
23862 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23864 * docs/Makefile.am:
23865 * docs/gst/Makefile.am:
23866 * docs/gst/gstreamer-docs.sgml:
23867 * docs/gst/running.xml:
23868 * docs/version.entities.in:
23869 add a chapter on running GStreamer.
23870 document GST_DEBUG and GST_PLUGIN* env vars
23872 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23877 remove PLUGINS_BUILDDIR stuff
23878 * gst/gst.c: (init_post):
23879 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23881 remove, it was condescending and not needed
23883 2005-10-08 Wim Taymans <wim@fluendo.com>
23885 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23886 (gst_base_sink_handle_object), (gst_base_sink_event),
23887 (gst_base_sink_wait), (gst_base_sink_handle_event),
23888 (gst_base_sink_change_state):
23889 * gst/base/gstbasesink.h:
23890 Repost EOS message while going to PLAYING if still EOS.
23891 Make sure that when receiving a FLUSH_START we don't attempt
23892 to sync on the clock anymore.
23894 2005-10-08 Wim Taymans <wim@fluendo.com>
23896 * tools/gst-launch.c: (event_loop):
23897 Better message printout.
23899 2005-10-08 Wim Taymans <wim@fluendo.com>
23901 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23902 (gst_bin_child_proxy_get_children_count):
23903 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23904 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23905 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23906 (gst_child_proxy_set_valist):
23907 * gst/parse/grammar.y:
23908 Make ChildProxy threadsafe and fix mem leaks.
23910 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23912 * gst/gst.c: (init_post):
23913 debug the GST_PLUGIN_ env vars
23915 2005-10-08 Wim Taymans <wim@fluendo.com>
23917 * check/gst/gstbin.c: (GST_START_TEST):
23918 * check/gst/gstmessage.c: (GST_START_TEST):
23919 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23920 * gst/gstelement.c: (gst_element_commit_state),
23921 (gst_element_lost_state):
23922 * gst/gstmessage.c: (gst_message_new_state_changed),
23923 (gst_message_parse_state_changed):
23924 * gst/gstmessage.h:
23925 * tools/gst-launch.c: (event_loop):
23926 Added extra field to STATE_CHANGE message with the pending
23927 state, which will be different from the new state soon.
23929 2005-10-08 Wim Taymans <wim@fluendo.com>
23931 * gst/gstbus.c: (gst_bus_pop):
23933 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23934 Small cleanups and doc updates.
23936 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23938 * gst/gst.c: (init_pre):
23939 * gst/gstbin.c: (gst_bin_add_func):
23940 log distributing clocks and base time
23941 * gst/gstregistry.c: (gst_registry_add_plugin),
23942 (gst_registry_scan_path_level), (gst_registry_scan_path):
23943 clean up the debugging output a little
23944 * gst/gstutils.c: (gst_element_state_get_name):
23945 warn about a memleak (I've actually seen this be used, though
23946 it was probably a bug)
23948 2005-10-07 Wim Taymans <wim@fluendo.com>
23950 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23951 (gst_base_src_init), (gst_base_src_default_newsegment),
23952 (gst_base_src_newsegment), (gst_base_src_do_seek),
23953 (gst_base_src_loop), (gst_base_src_start):
23954 * gst/base/gstbasesrc.h:
23955 Make the newsegment event customizable by subclasses.
23957 2005-10-07 Wim Taymans <wim@fluendo.com>
23959 * gst/gstevent.c: (gst_event_new_buffersize),
23960 (gst_event_parse_buffersize):
23962 New event for future idea.
23964 2005-10-07 Andy Wingo <wingo@pobox.com>
23966 * gst/gstelement.c (gst_element_post_message): Doc update.
23968 * docs/gst/gstreamer-sections.txt: Update.
23970 * gst/gstmessage.c (gst_message_new_application): Made into a
23971 function like honest API calls.
23972 (gst_message_new_element): New message type.
23974 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23976 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23977 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23980 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23981 NO_PREROLL from gst_element_change_state to fall through.
23983 2005-10-07 Wim Taymans <wim@fluendo.com>
23985 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23986 (gst_ghost_pad_do_activate_push):
23987 Activating a ghostpad with no internal pad in push mode
23990 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23993 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23994 Fixes compilation on Windows.
23996 2005-10-07 Michael Smith <msmith@fluendo.com>
23998 * tools/gst-inspect.c:
23999 Print out feature and plugin count at the end when printing out
24002 2005-10-04 Michael Smith <msmith@fluendo.com>
24004 * gst/gsterror.c: (_gst_stream_errors_init):
24005 Add another error string used in a few existing plugins.
24008 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24009 * tools/gst-inspect.c: (print_element_info):
24010 When a feature disappears from a plugin (and the feature exists in
24011 the cached registry file), things went horribly wrong. This isn't a
24012 complete fix, we should actually be removing the 'missing' features
24013 from the features list when we load the actual plugin. That's not
24016 2005-10-04 Johan Dahlin <johan@gnome.org>
24018 * check/gst/gstiterator.c: (GST_START_TEST):
24019 * gst/gstbin.c: (gst_bin_iterate_elements),
24020 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24021 * gst/gstelement.c: (gst_element_iterate_pads):
24022 * gst/gstformat.c: (gst_format_iterate_definitions):
24023 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24024 (gst_iterator_new_list), (gst_iterator_filter):
24025 * gst/gstiterator.h:
24026 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24027 Add a GType to GstIterator, update callsites and tests.
24029 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24031 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24032 give events a chance to be handled by event probes when the pad
24035 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24037 * gst/gstevent.c: (gst_event_type_get_name),
24038 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24040 add string representations for event types
24042 2005-10-06 Wim Taymans <wim@fluendo.com>
24044 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24045 Don't use NULL pointers.
24047 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24049 * gst/gst_private.h:
24051 * gst/gstelement.c:
24053 * gst/gstpluginfeature.c:
24054 widen the debug category in output to fit the biggest one we have
24055 add a bus category and use it
24056 play with the colors
24057 fix up some categories
24059 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24061 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24062 add push activation of sink ghost pads.
24063 Andye, please verify
24065 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24067 * gst/gstutils.c: (gst_element_link_pads):
24068 fix a bug in the case where neither element has a pad
24069 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24070 add a test for that case
24072 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24074 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24075 emit have-data before checking for peers. This allows
24076 for probe handlers to connect elements. This helps autopluggers.
24077 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24079 add six checks, linked/unlinked with no/true/false probe
24081 2005-10-04 Wim Taymans <wim@fluendo.com>
24083 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24084 (gst_fake_sink_event), (gst_fake_sink_preroll),
24085 (gst_fake_sink_render), (gst_fake_sink_change_state):
24086 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24087 (gst_fake_src_get_property), (gst_fake_src_create),
24088 (gst_fake_src_stop):
24089 * gst/elements/gstidentity.c: (gst_identity_stop):
24090 Protect last_message with lock.
24092 2005-10-04 Edward Hervey <edward@fluendo.com>
24095 Added precision in the comments for GST_FORMAT_DEFAULT
24097 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24099 * tools/gst-launch.c: (main):
24100 Don't try to run erroneous pipelines.
24102 2005-10-04 Julien MOUTTE <julien@moutte.net>
24104 * gst/gstbus.c: We don't need this header.
24106 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24109 back to development
24111 === release 0.9.3 ===
24113 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24117 Releasing 0.9.3, "Unregistered"
24119 2005-10-03 Andy Wingo <wingo@pobox.com>
24121 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24122 whereby calling a pad's activatepush() function can start a thread
24123 that starts to push or pull before the pad gets the FLUSHING flag
24124 unset. Hack around it by holding the stream lock until the flag is
24125 set. Need to replace this with a proper solution. Together with
24126 the ghost pad fixes, this fixes mp3 playing/tagreading.
24128 * docs/design/part-gstghostpad.txt: Add a note about activation of
24129 proxy pads outside of ghost pads.
24131 * gst/gstghostpad.c: Implement the ghost pad activation design.
24133 2005-10-02 Andy Wingo <wingo@pobox.com>
24135 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24136 It is volatile, after all.
24138 * docs/design/part-gstghostpad.txt: Flesh out activation with
24141 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24144 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24147 Fix (unused) AM_CONDITIONAL tests.
24149 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24151 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24153 * gst/gstutils.c: (gst_pad_query_convert):
24154 Add assertion that makes sure src_val is >=0, just like
24155 gst_query_new_convert() has. (#315895)
24157 2005-09-30 Edward Hervey <edward@fluendo.com>
24159 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24160 Let's not iterate pads we're not interested in, it avoids getting
24161 sky-high refcounts on sinkpad.
24163 2005-09-30 Wim Taymans <wim@fluendo.com>
24165 * gst/gstelement.c: (gst_element_set_state),
24166 (gst_element_change_state):
24167 Small tweak, element in ASYNC remains ASYNC.
24169 2005-09-30 Wim Taymans <wim@fluendo.com>
24171 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24172 Only error is an error.
24174 * gst/gstbin.c: (gst_bin_change_state):
24177 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24178 Also call pad_block in pad alloc.
24180 * gst/gstutils.c: (gst_flow_get_name):
24183 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24185 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24186 (gst_base_src_get_range):
24187 Fix documentation typos. Add some more debug info.
24189 2005-09-29 David Schleef <ds@schleef.org>
24191 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24192 more end-user friendly.
24193 * tools/gst-inspect.c: (main): Check if command-line argument is
24194 a file and attempt to load that file as a plugin.
24196 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24198 * check/gst/gstbin.c:
24199 * check/states/sinks.c:
24200 fix tests for the new warning
24201 * check/gst/gstpipeline.c:
24202 add a test for pipeline and bus interaction
24203 * gst/gstelement.c:
24204 elements should be NULL if they get disposed; add a warning if not
24206 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24209 for 2.6 refcounting, make debug log more correct by printing
24210 the actual refcounts at the time of swap (Wim)
24212 2005-09-29 Andy Wingo <wingo@pobox.com>
24214 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24215 removes signal watches previously added via
24216 gst_bus_add_signal_watch.
24217 (gst_bus_add_signal_watch): Don't return the source id, just store
24218 it on the bus if there wasn't an id already.
24220 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24221 add_signal_watch and remove_signal_watch.
24223 2005-09-29 Edward Hervey <edward@fluendo.com>
24225 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24226 Better if we actually iterate the list :)
24228 2005-09-29 Wim Taymans <wim@fluendo.com>
24230 * check/gst/gstbin.c: (GST_START_TEST):
24231 Change for new bus API.
24233 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24234 (send_messages), (GST_START_TEST), (gstbus_suite):
24235 Change for new bus signal API.
24237 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24238 (gst_bus_source_prepare), (gst_bus_source_check),
24239 (gst_bus_create_watch), (gst_bus_add_watch_full),
24240 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24241 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24243 Remove support for multiple GSources operating on different
24244 message types as it is too complex and unneeded when using
24246 Added support for receiving signals from the bus.
24248 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24250 * docs/libs/tmpl/gstdataprotocol.sgml:
24251 * docs/manual/advanced-dataaccess.xml:
24252 * gst/elements/gstcapsfilter.c:
24254 rename filter-caps to caps property
24256 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24258 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24259 More robust fraction string parsing.
24261 * docs/pwg/appendix-porting.xml:
24262 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24264 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24266 * gst/gstcaps.c: (gst_caps_do_simplify):
24267 Thou shalt not free a structure and then continue using it
24268 in the next loop iteration.
24270 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24272 Add test case for caps simplification.
24274 2005-09-29 Wim Taymans <wim@fluendo.com>
24276 * check/gst/gstbin.c: (GST_START_TEST):
24279 2005-09-29 Wim Taymans <wim@fluendo.com>
24281 * check/gst/gstbin.c: (GST_START_TEST):
24284 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24285 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24286 (find_element), (gst_bin_sort_iterator_next),
24287 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24288 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24289 (gst_bin_change_state), (gst_bin_dispose):
24290 A bin does not have a bus, it gets the bus from the parent.
24292 * gst/gstelement.c: (gst_element_requires_clock),
24293 (gst_element_provides_clock), (gst_element_is_indexable),
24294 (gst_element_is_locked_state), (gst_element_change_state),
24295 (gst_element_set_bus_func):
24298 * gst/gstpipeline.c: (gst_pipeline_class_init),
24299 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24300 The pipeline provides a bus.
24302 2005-09-28 Johan Dahlin <johan@gnome.org>
24304 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24305 gst_structure_get_enum instead of gst_structure_get_int
24307 * gst/gststructure.c (gst_structure_get_enum): Impl.
24309 * gst/gststructure.h (gst_structure_get_enum): Add
24311 * docs/gst/gstreamer-sections.txt: Ditto
24313 * gst/gstmessage.c (gst_message_new_state_changed): Use
24314 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24315 which does introspection.
24316 Reviewed by Christian Schaller
24318 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24320 * gst/gstinfo.c: (gst_debug_log_default):
24321 don't do dummy g_strdup()s
24322 * libs/gst/controller/gstcontroller.c:
24323 (on_object_controlled_property_changed),
24324 (gst_controlled_property_new), (gst_controller_new_valist),
24325 (gst_controller_new_list),
24326 (gst_controller_remove_properties_valist), (gst_controller_set),
24327 (gst_controller_get), (gst_controller_sync_values),
24328 (gst_controller_get_value_array), (_gst_controller_class_init),
24329 (gst_controller_get_type):
24330 * libs/gst/controller/gstcontroller.h:
24331 * libs/gst/controller/gstinterpolation.c:
24332 (gst_controlled_property_find_timed_value_node):
24333 convert // to /**/ comments
24335 2005-09-28 Wim Taymans <wim@fluendo.com>
24337 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24338 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24339 (gst_bus_sync_signal_handler):
24341 Added async-message and sync-message signals to the bus.
24342 Added helper BusFunc to emit signals for all posted messages.
24344 * gst/gstmessage.c: (gst_message_type_get_name),
24345 (gst_message_type_to_quark), (gst_message_get_type):
24346 * gst/gstmessage.h:
24347 Register quarks for message names.
24349 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24351 * docs/libs/gstreamer-libs-sections.txt:
24352 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24353 (gst_controller_new_list):
24354 * libs/gst/controller/gstcontroller.h:
24355 added another constructor for language bindings
24357 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24359 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24363 * gst/gstinfo.c: (_gst_debug_init):
24364 slightly more readable color for refcount debugging
24366 2005-09-28 Wim Taymans <wim@fluendo.com>
24368 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24369 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24370 (find_element), (gst_bin_sort_iterator_next),
24371 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24372 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24373 (gst_bin_change_state), (gst_bin_dispose):
24374 Small doc fixes. get_clock -> provide_clock.
24376 * gst/gstelement.c: (gst_element_class_init),
24377 (gst_element_provides_clock), (gst_element_provide_clock),
24378 (gst_element_get_clock), (gst_element_commit_state),
24379 (gst_element_lost_state):
24380 * gst/gstelement.h:
24381 Make get/set_clock() symetric. Add provide_clock vmethod since
24382 that is actually what this function does.
24384 * gst/gstpipeline.c: (gst_pipeline_class_init),
24385 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24386 (gst_pipeline_get_clock):
24387 get_clock -> provide_clock.
24389 2005-09-28 Andy Wingo <wingo@pobox.com>
24391 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24392 lieu of real docs...
24394 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24396 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24398 * gst/elements/gstcapsfilter.c:
24399 * gst/elements/gstfakesink.c:
24400 * gst/elements/gstfakesrc.c:
24401 * gst/elements/gstfdsink.c:
24402 * gst/elements/gstfdsrc.c:
24403 * gst/elements/gstfilesink.c:
24404 * gst/elements/gstfilesrc.c:
24405 * gst/elements/gstidentity.c:
24406 * gst/elements/gsttee.c:
24407 * gst/elements/gsttypefindelement.c:
24408 Make element details static.
24410 2005-09-28 Wim Taymans <wim@fluendo.com>
24412 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24413 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24414 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24415 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24416 (gst_bin_change_state), (gst_bin_dispose):
24417 Some documentation updates.
24418 Clean up dispose handlers.
24420 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24421 * gst/gstpad.c: (gst_pad_dispose):
24422 Clean up dispose handler.
24424 * gst/gstpipeline.c: (gst_pipeline_change_state):
24425 Removed spurious UNLOCK.
24427 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24429 * docs/gst/gstreamer-sections.txt:
24430 * gst/base/gstbasesrc.h:
24431 * gst/gstelement.h:
24435 * gst/gstpipeline.c:
24436 * gst/gstpipeline.h:
24439 added two new functions to the docs
24440 documents all undocumented GstXXXFlags
24441 completed some incomplete docs
24443 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24445 * gst/gstbin.c: (gst_bin_dispose):
24446 * gst/gstelement.c: (gst_element_dispose):
24447 remove now useless and leaky resurrection code in dispose
24448 * gst/base/gstbasesrc.c: (gst_base_src_init):
24449 * gst/gstelementfactory.c: (gst_element_factory_create):
24450 * gst/gstobject.c: (gst_object_set_parent):
24453 2005-09-27 Wim Taymans <wim@fluendo.com>
24455 * docs/design/part-TODO.txt:
24458 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24459 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24460 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24461 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24462 (gst_bin_change_state):
24463 * gst/gstelement.h:
24464 Remove element variable, we keep element info in the iterator now.
24466 2005-09-27 Andy Wingo <wingo@pobox.com>
24468 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24471 2005-09-27 Wim Taymans <wim@fluendo.com>
24473 * check/gst/gstbin.c: (GST_START_TEST):
24474 Enable check that works now.
24476 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24477 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24478 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24479 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24480 (gst_bin_change_state):
24482 Redid the state change algorithm using a topological sort algo.
24483 Handles all cases correctly.
24484 Exposed iterator for state change order.
24486 * gst/gstelement.h:
24487 Temp storage for state changes. Need to get rid of this soon.
24489 2005-09-27 Wim Taymans <wim@fluendo.com>
24491 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24492 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24493 (link_fold_func), (gst_pad_proxy_setcaps):
24494 Leak fixes, the fold functions need to unref the passed object and
24495 _get_parent_*() returns ref to parent.
24497 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24499 * check/gst/gstbuffer.c: (test_make_writable):
24500 Plug leak in test case and fix 'make check-valgrind'
24502 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24504 * gst/gstbuffer.c: (gst_subbuffer_init):
24505 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24506 works correctly in all circumstances (we could have just copied
24507 the parent buffer's readonly flag, but conceptually it seems
24508 cleaner to mark all subbuffers as read-only). (based on patch
24509 by Alessandro Decina, #314710).
24511 * check/gst/gstbuffer.c: (create_read_only_buffer),
24512 (test_make_writable), (test_subbuffer_make_writable),
24514 Add some tests for gst_buffer_make_writable().
24516 2005-09-27 Wim Taymans <wim@fluendo.com>
24518 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24519 use gst_object_has_ancestor().
24521 * gst/gstobject.c: (gst_object_has_ancestor):
24523 gst_object_has_ancestor() copied from gstbin.c as it is a
24526 * tests/instantiate/create.c: (create_all_elements):
24527 * tests/lat.c: (handoff_src), (handoff_sink):
24528 * tests/sched/runxml.c: (main):
24529 * tests/seeking/seeking1.c: (main):
24530 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24532 Fix compilation of some tests.
24534 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24537 Remove comment. GST_TYPE_G_ERROR is here to stay,
24538 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24539 (#316961, #300610).
24541 2005-09-26 Wim Taymans <wim@fluendo.com>
24543 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24544 Added check that shows error in state change order.
24546 2005-09-26 Wim Taymans <wim@fluendo.com>
24548 * gst/gstbin.c: (gst_bin_change_state):
24549 Make state change function use 3 queues again, we were
24550 adding elements in the wrong order.
24552 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24555 * gst/gstpad.c: (gst_pad_dispose):
24556 Added some debug info first.
24558 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24560 * docs/design/draft-push-pull.txt:
24561 * docs/design/part-events.txt:
24562 * docs/design/part-overview.txt:
24563 * docs/design/part-scheduling.txt:
24564 Replace all _pull_region() with _pull_range()
24566 2005-09-26 Andy Wingo <wingo@pobox.com>
24568 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24570 * check/gst-libs/controller.c: Update for controller api change.
24573 * tests/Makefile.am:
24574 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24575 over by GLib bug 118439.
24577 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24578 routines to a function.
24580 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24582 * libs/gst/controller/gsthelper.c:
24583 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24584 (gst_object_sync_values): Renamed from sink_values. Ugh.
24586 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24588 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24589 Renamed from controller_key, as it is exported.
24591 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24593 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24598 * gst/gstpadtemplate.h:
24601 * gst/gstqueryutils.c:
24602 * gst/gstqueryutils.h:
24603 remove queryutils headers after moving the two used functions
24604 to gstquery. also fixes build problem for gstsiddec
24606 2005-09-26 Michael Smith <msmith@fluendo.com>
24608 * tools/gst-launch.1.in:
24609 Correct documentation in manpage of debug syntax
24611 2005-09-26 Wim Taymans <wim@fluendo.com>
24613 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24614 (gst_base_src_is_seekable), (gst_base_src_change_state):
24615 Some more debugging info.
24617 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24619 * docs/gst/gstreamer-sections.txt:
24620 * gst/base/gstbasetransform.h:
24624 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24626 * docs/gst/.cvsignore:
24627 * docs/gst/tmpl/.cvsignore:
24628 * docs/gst/tmpl/gstpipeline.sgml:
24629 * docs/gst/tmpl/gstplugin.sgml:
24630 * gst/gstpipeline.c:
24633 inlined the last two docs files
24634 removed the tmpl directory from cvs (no more conflicts here!)
24636 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24638 * docs/gst/gstreamer-sections.txt:
24639 * docs/gst/tmpl/.cvsignore:
24640 * docs/gst/tmpl/gstpad.sgml:
24641 * docs/gst/tmpl/gstpadtemplate.sgml:
24643 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24644 (gst_pad_finalize), (gst_pad_set_pad_template):
24646 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24647 (gst_pad_template_class_init), (gst_pad_template_init),
24648 (gst_pad_template_dispose), (name_is_valid),
24649 (gst_static_pad_template_get), (gst_pad_template_new),
24650 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24651 (gst_pad_template_pad_created):
24652 * gst/gstpadtemplate.h:
24653 inlined two more docs
24654 factored gstpadtemplate out of gstpad
24656 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24658 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24659 (test_children_state_change_order_semi_sink):
24660 Fix test case: we can't rely on a fixed state change order when
24661 going from READY => PAUSED because the sink might commit its
24662 new state first when the first buffer created by the source
24663 reaches the sink before the source has finished its change state.
24664 (Test case still fails at times, see #316856, comment 5 onwards)
24666 2005-09-24 Wim Taymans <wim@fluendo.com>
24668 * docs/design/part-events.txt:
24669 * docs/design/part-gstbus.txt:
24670 * docs/design/part-gstpipeline.txt:
24671 * docs/design/part-messages.txt:
24672 * docs/design/part-overview.txt:
24673 * docs/design/part-segments.txt:
24677 * gst/gstelement.c:
24680 * gst/gstiterator.c:
24681 Various documentation updates.
24683 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24686 Well, that's embarassing. Luckily we weren't using
24687 GST_CLOCK_DIFF anywhere.
24689 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24691 * common/gtk-doc.mak:
24692 don't fail on building XML, FC4 slave shows a bunch of doc
24693 missing bits that I don't get
24695 * gst/gstpipeline.c:
24696 * gst/gststructure.c:
24699 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24701 * docs/design/part-gstbin.txt:
24702 * docs/design/part-gstbus.txt:
24704 Add blurb about how the bus goes into flushing mode and
24705 drops all messages when its bin goes from READY into NULL
24708 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24710 * docs/gst/gstreamer-sections.txt:
24711 * gst/gststructure.c: (gst_structure_get_clock_time):
24712 * gst/gststructure.h:
24713 add a method to get a GstClockTime out of a structure
24715 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24717 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24718 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24719 Added test to check state change order in bins (can still be made
24720 to fail here under heavy disk load; bails out with 'Push on pad
24721 fakesink:sink0, but it was not activated in push mode').
24723 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24724 Fix state change order when there is only a semi sink (#316856)
24726 * gst/gstbus.c: (gst_bus_class_init):
24727 Use _class_peek_parent(), not _class_ref(); fix docs to say
24728 'default main context' instead of 'mainloop' where that is
24731 * gst/gstelement.c: (gst_element_commit_state),
24732 (gst_element_set_state):
24733 Fix typos in debug messages
24735 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24738 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24739 * gst/gstpluginfeature.c:
24741 various doc updates
24742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24743 change an assert into an error until it gets fixed properly
24745 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24747 * docs/gst/gstreamer-sections.txt:
24748 * docs/gst/tmpl/.cvsignore:
24749 * docs/gst/tmpl/gstelement.sgml:
24750 * docs/gst/tmpl/gstinfo.sgml:
24751 * docs/gst/tmpl/gstobject.sgml:
24752 * gst/gstelement.c:
24753 * gst/gstelement.h:
24756 * gst/gstobject.c: (gst_object_class_init):
24758 inlined 3 more biiiig doc files and added some missing docs on the fly
24760 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24762 * check/gst/.cvsignore:
24763 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24764 * gst/gstregistryxml.c: (load_plugin),
24765 (gst_registry_xml_save_plugin):
24766 put back source in registry. add checks for find_plugin.
24767 * testsuite/states/bin.c: (assert_state), (empty_bin),
24768 (test_adding_one_element), (main):
24769 * testsuite/states/locked.c: (main):
24770 some compile/run fixes
24772 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24774 * check/gst/gstvalue.c: (GST_START_TEST):
24775 fix leaks in the test itself
24777 2005-09-22 Wim Taymans <wim@fluendo.com>
24779 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24780 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24781 (gst_base_sink_query):
24782 Prepare for more accurate position reporting and query
24785 * gst/gstelement.c: (gst_element_send_event),
24786 (gst_element_set_state):
24789 2005-09-22 Wim Taymans <wim@fluendo.com>
24791 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24792 (gst_query_parse_segment):
24794 More documentation.
24795 Add segment query for future use.
24797 2005-09-22 Wim Taymans <wim@fluendo.com>
24799 * gst/gstbin.c: (gst_bin_add_func):
24800 Some more debug info.
24802 * gst/gstelement.c: (gst_element_send_event):
24803 Simplify send_event
24805 * gst/gstelement.h:
24806 Don't know how flags got broken.
24811 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24813 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24814 Add simplistic test suite for GST_TYPE_DATE serialisation and
24817 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24819 * docs/gst/gstreamer-sections.txt:
24820 * gst/gststructure.c: (gst_structure_set_valist),
24821 (gst_structure_get_date):
24822 * gst/gststructure.h:
24823 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24824 (gst_date_copy), (gst_value_compare_date),
24825 (gst_value_serialize_date), (gst_value_deserialize_date),
24826 (gst_value_transform_date_string),
24827 (gst_value_transform_string_date), (_gst_value_initialize):
24829 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24830 bunch of utility functions along with a hack that checks that
24831 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24832 is required. Part of the grand scheme in #170777.
24834 2005-09-22 Andy Wingo <wingo@pobox.com>
24836 * gst/gstconfig.h.in: Psych out gtk-doc.
24838 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24840 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24842 * tools/gst-inspect.c (print_element_list): Plug some
24843 inconsequential leaks.
24845 * gst/gstregistry.c (gst_registry_get_default): Doc.
24847 * check/gst/gstplugin.c:
24848 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24849 * gst/gstelementfactory.c (gst_element_factory_create):
24850 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24853 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24854 (gst_plugin_feature_load): Doc, don't eat refs.
24856 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24857 (gst_plugin_list_free): Doc.
24858 (gst_plugin_load_file): Doc updates.
24860 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24861 accessors returning refcounted objects, return a ref.
24863 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24864 accessor for caps. IDEMPOTENCE. Oh yes.
24866 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24868 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24870 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24871 (_gst_debug_register_funcptr):
24872 Add mutex to serialise access to the hash table with
24873 the function pointer => function name string mapping;
24874 make that hash table static scope (#316809).
24876 * gst/registries/.cvsignore:
24877 Remove left-over file.
24879 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24881 * docs/pwg/appendix-porting.xml:
24882 And something about newsegment events and caps-on-buffers to
24883 the porting guide (feel free to improve).
24885 2005-09-21 Andy Wingo <wingo@pobox.com>
24887 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24888 data and event probes on the same pad.
24889 (test_buffer_probe_once): Test that removing probes from within
24890 the probe functions works.
24892 2005-09-21 Andy Wingo <wingo@pobox.com>
24894 * check/gst/gstutils.c: New file.
24895 (test_buffer_probe_n_times): A simple buffer probe test. More to
24898 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24899 have-data::buffer, not have-data.
24900 (gst_pad_add_event_probe): Likewise for have-data::event.
24901 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24902 peer' isn't quite right yet though.
24903 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24904 (gst_pad_remove_data_probe): Change to take the guint handler_id
24905 as their arg, not the function+data, which is more glib-like.
24907 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24908 the signal emission to indicate if the data is a buffer or an
24910 (gst_pad_get_type): Initialize buffer and event quarks.
24911 (gst_pad_class_init): have-data is now a detailed signal, yes it
24914 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24916 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24917 * gst/gstutils.c: (gst_util_set_value_from_string),
24918 (gst_util_set_object_arg):
24919 Don't put functional code in g_return_if_fail() or
24920 g_return_val_if_fail() statements, otherwise things will
24921 break when G_DISABLE_CHECKS is defined during compilation.
24923 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24925 * docs/gst/tmpl/.cvsignore:
24926 * docs/gst/tmpl/gstvalue.sgml:
24929 inlied another one and added some obvious docs
24931 2005-09-21 Wim Taymans <wim@fluendo.com>
24933 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24934 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24935 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24936 (gst_fdsrc_get_property), (gst_fdsrc_create):
24937 * gst/elements/gstfdsrc.h:
24938 Properly implement fdsrc. Removed signal and timeout,
24939 better implemented somewhere else.
24941 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24943 * docs/gst/tmpl/.cvsignore:
24944 * docs/gst/tmpl/gstimplementsinterface.sgml:
24945 * gst/gstinterface.c:
24948 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24950 * docs/gst/gstreamer-sections.txt:
24951 * docs/gst/tmpl/.cvsignore:
24952 * docs/gst/tmpl/gstenumtypes.sgml:
24953 remove obsolete doc file
24955 2005-09-21 David Schleef <ds@schleef.org>
24957 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24958 little beer, fix a little leak.
24960 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24962 * docs/gst/gstreamer-docs.sgml:
24963 * docs/gst/gstreamer-sections.txt:
24964 * docs/gst/tmpl/.cvsignore:
24968 * gst/gstelement.h:
24969 * gst/gstindex.c: (gst_index_class_init):
24971 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24972 (gst_index_factory_class_init), (gst_index_factory_init),
24973 (gst_index_factory_finalize), (gst_index_factory_new),
24974 (gst_index_factory_destroy), (gst_index_factory_find),
24975 (gst_index_factory_create), (gst_index_factory_make):
24976 * gst/gstindexfactory.h:
24977 * gst/gstpluginfeature.c:
24978 * gst/gstpluginfeature.h:
24979 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24980 more docs inlined, splitted gstindex.{c,h}
24982 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24984 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24987 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24989 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24990 Set sync to FALSE by default.
24992 2005-09-20 Wim Taymans <wim@fluendo.com>
24994 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24995 (gst_base_sink_init):
24996 Make sync property settable from subclass.
24998 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24999 (gst_fake_sink_change_state):
25000 Set sync to FALSE by default.
25002 2005-09-20 Wim Taymans <wim@fluendo.com>
25004 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25005 * tools/gst-launch.c: (main):
25006 The timeout handler should have lower priority than the source
25007 so we don't timeout before popping a message with 0 timeout.
25008 Dump error messages after failed state change.
25010 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25012 * tools/gst-inspect.c: (print_element_properties_info):
25015 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25017 * check/gst/gstevent.c:
25018 * gst/elements/gstfakesink.c:
25019 * gst/elements/gstfakesink.h:
25020 remove the sync property from fakesink.
25021 has the side effect of setting sync TRUE
25022 for fakesink, which is a change. Anyone who knows how
25023 to fix this nicely in a GObject-y way, feel free.
25025 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25027 * docs/gst/gstreamer-docs.sgml:
25028 remove probe refsection
25030 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25032 * check/Makefile.am:
25033 disable valgrinding the controller test again
25034 * docs/gst/gstreamer-sections.txt:
25035 update for api-changes
25037 2005-09-20 Wim Taymans <wim@fluendo.com>
25039 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25040 (gst_base_sink_set_property), (gst_base_sink_get_property),
25041 (gst_base_sink_do_sync):
25042 * gst/base/gstbasesink.h:
25043 Added sync property to basesink to disable clock sync.
25045 2005-09-20 Andy Wingo <wingo@pobox.com>
25047 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25048 eating the caller's refcount.
25050 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25051 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25054 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25055 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25056 of GLib 2.8 public, so we can know which refcount to check in
25059 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25060 (gst_object_init): Only set the gst refcount if we're going ahead
25061 with the refcount hack.
25063 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25065 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25066 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25067 more leaks plumbed, added more debug-logging
25071 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25073 * gst/gstmessage.c:
25074 remove include of gstmemchunk.h
25076 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25078 * gst/gstclock.c: (_gst_clock_id_free):
25079 Commit from the Political Party For More Atomic CVS Commits,
25080 so that people don't waste too much of their day fishing
25081 out obvious leaks out of massive commits.
25082 Oh, and fix a pretty damn obvious leak in the memchunk
25085 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25087 * check/Makefile.am:
25088 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25089 plug mem-leak, re-add to valgrindable tests
25091 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25094 unbreak the build for those who have chronic arthritis
25095 and typing "make check" is just too taxing on the hands
25097 2005-09-20 Andy Wingo <wingo@pobox.com>
25099 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25100 really want it out, you should fix plugins at the same time.
25102 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25105 * docs/gst/gstreamer-sections.txt:
25107 added missing symbols to api docs
25108 disable ref-count hack if we have glib >= 2.8
25110 2005-09-19 David Schleef <ds@schleef.org>
25112 * docs/gst/Makefile.am: Ignore a few more internal headers
25113 * docs/gst/gstreamer-docs.sgml: Remove old sections
25114 * docs/gst/gstreamer-sections.txt: Remove old sections
25115 * docs/gst/tmpl/gstobject.sgml: update
25116 * docs/gst/tmpl/gstplugin.sgml: update
25117 * docs/gst/tmpl/gstpluginfeature.sgml: update
25118 * docs/random/ds/0.9-suggested-changes: update.
25119 * gst/Makefile.am: remove memchunk and trashstack, since they're
25121 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25122 * gst/gst.h: don't include some headers
25123 * gst/gstchildproxy.c: add gstmarshal.h
25124 * gst/gstclock.c: Don't use memchunks
25125 * gst/gstminiobject.c: Add some docs
25126 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25127 * gst/gstobject.h: same
25128 * gst/gstplugin.c: include gstmacros.h
25129 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25130 * gst/gstquery.c: don't use memchunks
25131 * gst/gstregistry.c: rename gst_registry_deinit()
25132 * gst/gstregistry.h: same
25134 2005-09-19 David Schleef <ds@schleef.org>
25136 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25137 * docs/libs/gstreamer-libs-sections.txt:
25138 * docs/libs/tmpl/gstgetbits.sgml:
25139 * docs/libs/tmpl/gstputbits.sgml:
25141 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25143 * win32/gstenumtypes.c:
25144 * win32/gstenumtypes.h:
25147 2005-09-19 Wim Taymans <wim@fluendo.com>
25149 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25150 Automatically PAUSE and RESUME a pipeline when a flushing seek
25153 2005-09-19 Andy Wingo <wingo@pobox.com>
25155 * gst/gstregistry.h: Spacing fixen.
25157 2005-09-19 Wim Taymans <wim@fluendo.com>
25159 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25160 Handle state change failure more correctly.
25162 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25164 * check/Makefile.am:
25165 * check/pipelines/cleanup.c: (run_pipeline):
25166 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25168 enable cleanup again after fixing the leak
25170 some more info on docs
25172 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25174 * check/Makefile.am:
25175 re-enable tests now that leaks are plugged
25177 * check/gst/gstbin.c:
25178 * check/gst/gstpipeline.c:
25179 add some more tests while fixing leaks
25180 * common/check.mak:
25181 make sure binaries are uptodate when valgrinding/gdbing
25183 * gst/gstelementfactory.c:
25184 remove a ref too many, and add a FIXME for when we get
25185 round to disposing of classes
25187 fix the refcounting when loading a plugin from a file and
25188 the code pretends that the pointer is the same even though
25189 of course it can change
25190 * gst/gstpluginfeature.c:
25191 unref plugins marked cached (a bit confusing as a name)
25192 as the docs state should be done
25193 various doc additions to explain refcounting
25194 * gst/gstregistry.c:
25195 * gst/gstregistryxml.c:
25198 2005-09-19 Wim Taymans <wim@fluendo.com>
25200 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25201 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25202 (send_messages), (GST_START_TEST), (gstbus_suite):
25203 * check/gst/gstpipeline.c: (GST_START_TEST):
25204 * check/pipelines/cleanup.c: (run_pipeline):
25205 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25207 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25208 (gst_bus_source_check), (gst_bus_source_dispatch),
25209 (gst_bus_create_watch), (gst_bus_add_watch_full),
25210 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25212 * tools/gst-launch.c: (event_loop):
25213 * tools/gst-md5sum.c: (event_loop):
25214 GstBusHandler -> GstBusFunc, return value has the same meaning as
25215 any other GSource (FALSE == remove source).
25216 _add_watch() and _add_watch_full() now take a MessageType mask to
25217 only handle specific types of messages.
25218 _poll() returns the GstMessage instead of the message type to avoid
25220 _have_pending() takes a MessageType mask now too.
25221 Added testsuite for multiple bus watches.
25222 Fix testsuites and applications for new bus API.
25224 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25226 * check/Makefile.am:
25227 mark a bunch of the tests as to fix until we fix them
25229 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25231 * common/check.mak:
25232 use GST_PLUGIN settings for valgrind tests as well, so we're
25233 valgrinding the correct thing
25234 * gst/gst.c: (init_post):
25237 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25239 * gst/gst.c: (init_post), (gst_deinit):
25240 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25241 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25242 * gst/gstindex.c: (gst_index_factory_class_init),
25243 (gst_index_factory_finalize):
25244 * gst/gstobject.c: (gst_object_dispose):
25245 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25246 (gst_plugin_load_file), (gst_plugin_desc_free):
25247 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25248 (gst_plugin_feature_finalize):
25249 * gst/gstregistry.c: (gst_registry_class_init),
25250 (gst_registry_init), (gst_registry_finalize),
25251 (gst_registry_get_default), (gst_registry_deinit):
25252 * gst/gstregistry.h:
25253 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25254 various cleanups and memleak plugging. make valgrind is happy now.
25256 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25258 * common/check.mak:
25259 add a check-valgrind target
25261 2005-09-18 David Schleef <ds@schleef.org>
25263 * tools/gst-inspect.c: Revert the GOption code.
25265 2005-09-17 David Schleef <ds@schleef.org>
25267 * check/Makefile.am: Fix environment variables.
25268 * check/gst/gstplugin.c: Fix for API changes.
25269 * tools/gst-inspect.c: Fix for API changes.
25270 * tools/gst-xmlinspect.c: Fix for API changes.
25271 * gst/gstelementfactory.c:
25274 * gst/gstpluginfeature.c:
25275 * gst/gstpluginfeature.h:
25276 * gst/gstregistry.c:
25277 * gst/gstregistry.h:
25278 * gst/gstregistryxml.c:
25279 * gst/gsttypefind.c:
25280 * gst/gsttypefindfactory.c:
25281 * gst/indexers/gstfileindex.c:
25282 * gst/indexers/gstmemindex.c:
25283 * gst/schedulers/Makefile.am:
25284 Change registry to keep track of both plugins and features,
25285 removing the feature tracking from plugins themselves.
25287 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25289 * check/Makefile.am:
25290 * tools/gst-register.1.in:
25291 remove gst-register
25293 2005-09-15 David Schleef <ds@schleef.org>
25295 * check/gst/gstplugin.c:
25296 * gst/gstelementfactory.c:
25298 * gst/gstpluginfeature.c:
25299 * gst/gstregistry.c:
25300 Getting tired of debugging. Disabled all the unreffing of
25301 plugins and features, which fixes the segfaults, but of
25302 course leaks like crazy. At least playbin works.
25304 2005-09-15 David Schleef <ds@schleef.org>
25306 * check/gst/gstplugin.c: (register_check_elements),
25307 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25309 * gst/elements/gsttypefindelement.c: Fix refcounting.
25310 * gst/gsttypefind.c:
25311 * gst/gsttypefindfactory.c:
25312 * gst/gsttypefindfactory.h:
25314 2005-09-15 David Schleef <ds@schleef.org>
25316 * gst/gstindex.c: get refcounting correct.
25317 * gst/gstregistry.c: Handle the case where a feature/plugin is
25320 2005-09-15 David Schleef <ds@schleef.org>
25322 * check/Makefile.am:
25323 * check/gst/gstplugin.c: Add test
25324 * gst/gstplugin.c: Fix problems noticed by testsuite
25326 * gst/gstregistry.c:
25327 * gst/gstregistry.h:
25329 2005-09-15 David Schleef <ds@schleef.org>
25331 * gst/gstplugin.c: Implement semi-decent recounting and locking
25332 in plugins and plugin features.
25334 * gst/gstpluginfeature.c:
25335 * gst/gstpluginfeature.h:
25336 * gst/gstregistry.c:
25338 2005-09-15 Michael Smith <msmith@fluendo.com>
25340 * gst/gstregistry.c: (gst_registry_get_feature_list):
25341 Implement this. Makes oggdemux work; decodebin still broken.
25343 2005-09-14 David Schleef <ds@schleef.org>
25345 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25347 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25348 * gst/check/Makefile.am:
25349 * libs/gst/controller/Makefile.am:
25350 * libs/gst/dataprotocol/Makefile.am:
25352 2005-09-14 David Schleef <ds@schleef.org>
25354 * configure.ac: Remove getbits library. Nothing uses it, and
25355 it should be in something like liboil if someone did want
25357 * libs/gst/Makefile.am:
25358 * libs/gst/getbits/Makefile.am:
25359 * libs/gst/getbits/gbtest.c:
25360 * libs/gst/getbits/getbits.c:
25361 * libs/gst/getbits/getbits.h:
25362 * libs/gst/getbits/gstgetbits_generic.c:
25363 * libs/gst/getbits/gstgetbits_i386.s:
25364 * libs/gst/getbits/gstgetbits_inl.h:
25366 2005-09-14 David Schleef <ds@schleef.org>
25368 * gst/Makefile.am: Dist glib-compat.h
25370 2005-09-14 David Schleef <ds@schleef.org>
25372 * configure.ac: Remove gst/registries, since it's no longer used.
25373 * gst/registries/Makefile.am:
25374 * gst/registries/gstlibxmlregistry.c:
25375 * gst/registries/gstlibxmlregistry.h:
25376 * gst/registries/gstxmlregistry.c:
25377 * gst/registries/gstxmlregistry.h:
25378 * gst/registries/registrytest.c:
25380 2005-09-14 David Schleef <ds@schleef.org>
25382 * gst/glib-compat.h:
25383 * gst/gstregistryxml.c:
25384 Convergence is near. Seriously.
25386 2005-09-14 David Schleef <ds@schleef.org>
25388 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25389 * gst/glib-compat.h:
25390 Attempt #4 to appease the buildbots.
25392 2005-09-14 David Schleef <ds@schleef.org>
25394 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25397 2005-09-14 David Schleef <ds@schleef.org>
25399 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25402 2005-09-14 David Schleef <ds@schleef.org>
25404 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25407 2005-09-14 David Schleef <ds@schleef.org>
25409 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25410 * gst/glib-compat.h: Add some functions that are in newer versions
25411 of glib than we care to require.
25412 * gst/gstregistryxml.c: Use them.
25414 2005-09-14 David Schleef <ds@schleef.org>
25416 * po/POTFILES.in: remove gst-register.c
25418 2005-09-14 David Schleef <ds@schleef.org>
25420 * docs/gst/gstreamer-docs.sgml:
25421 * docs/gst/gstreamer-sections.txt:
25422 * docs/gst/gstreamer.types:
25423 * docs/gst/tmpl/gstelement.sgml:
25424 * docs/gst/tmpl/gstplugin.sgml:
25425 * docs/gst/tmpl/gstpluginfeature.sgml:
25426 Documentation updates for registry changes.
25428 2005-09-14 David Schleef <ds@schleef.org>
25430 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25431 because we don't require glib-2.8.
25433 2005-09-14 David Schleef <ds@schleef.org>
25435 * gst/gstregistryxml.c: Added. Essentially moved out of the
25436 registries directory.
25438 2005-09-14 David Schleef <ds@schleef.org>
25440 * check/Makefile.am:
25441 * check/generic/states.c:
25445 * gst/gst_private.h:
25446 * gst/gstelementfactory.c:
25451 * gst/gstpluginfeature.c:
25452 * gst/gstpluginfeature.h:
25453 * gst/gstregistry.c:
25454 * gst/gstregistry.h:
25455 * gst/gstregistrypool.c: remove
25456 * gst/gstregistrypool.h: remove
25457 * gst/gsttypefind.c:
25458 * gst/gsttypefindfactory.c:
25460 * tools/Makefile.am:
25461 * tools/gst-compprep.c:
25462 * tools/gst-inspect.c:
25463 * tools/gst-register.c: remove
25464 * tools/gst-xmlinspect.c:
25465 Registry rewrite. Changes registry from being a file created
25466 by a tool into a simple cache file created automatically by
25467 libgstreamer. Removed gst-register (because it's no longer
25468 needed). Remove registry pools, because we only have one
25469 registry implementation (XML). Fix up other subsystems as
25472 2005-09-13 Michael Smith <msmith@fluendo.com>
25474 * gst/gstconfig.h.in:
25475 Don't Use windows linking attributes for MinGW. Fixes #316157
25477 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25479 * gst/gstutils.c: (set_state_async_thread_func),
25480 (gst_element_set_state_async):
25481 Apparently people think it's better if this function doesn't
25482 try to set the state to whatever state was asked for on the first
25483 call to this function for any object. Seriously.
25485 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25487 * check/gst/gstpipeline.c: (GST_START_TEST):
25488 * docs/gst/gstreamer-sections.txt:
25489 * gst/gstutils.c: (set_state_async_thread_func),
25490 (gst_element_set_state_async):
25492 add a "gst_element_set_state_async" method that
25493 sets the state and starts a thread to make sure the state
25494 change completes as best as it can
25496 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25498 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25499 codify design+behaviour in testsuite after discussion
25501 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25503 * docs/gst/tmpl/gstelement.sgml:
25504 * docs/manual/appendix-quotes.xml:
25506 * gst/gstelement.c: (gst_element_set_state):
25509 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25511 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25512 (gst_base_transform_prepare_output_buf),
25513 (gst_base_transform_handle_buffer):
25514 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25515 (gst_capsfilter_prepare_buf):
25516 Remove the requirement for sub-classes to call the parent
25517 implementation of prepare_output_buffer with a wrapper function.
25519 * gst/gsttaglist.h:
25520 * gst/gsttagsetter.h:
25521 Fix #define wrapper
25523 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25525 * docs/gst/gstreamer-sections.txt:
25528 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25530 * docs/gst/gstreamer-sections.txt:
25531 * docs/gst/tmpl/gstelement.sgml:
25532 * docs/gst/tmpl/gstplugin.sgml:
25533 * gst/gstminiobject.c:
25535 docs now stop throwing warnings
25537 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25539 * docs/gst/gstreamer-sections.txt:
25540 * docs/gst/gstreamer.types:
25541 * docs/gst/tmpl/gstpad.sgml:
25542 * docs/gst/tmpl/gsttypes.sgml:
25543 * gst/base/gstadapter.h:
25544 * gst/base/gstbasesink.h:
25545 * gst/base/gstbasesrc.h:
25551 * gst/gstelement.h:
25553 * gst/gstmessage.h:
25555 * gst/gststructure.c:
25556 * gst/registries/gstlibxmlregistry.h:
25557 various documentation fixes
25559 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25561 * docs/gst/gstreamer-sections.txt:
25562 * docs/gst/tmpl/gstvalue.sgml:
25563 rearrange gstvalue section
25564 * gst/gstutils.c: (gst_element_state_get_name):
25566 * gst/gstvalue.c: (_gst_value_initialize):
25570 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25572 * check/gst-libs/controller.c:
25573 Header include fix.
25574 * gst/base/gstbasetransform.c:
25575 (gst_base_transform_default_prepare_buf),
25576 (gst_base_transform_handle_buffer):
25577 * gst/base/gstbasetransform.h:
25578 Some more basetransform changes and fixes to enable sub-classes
25579 that modify buffer metadata only.
25580 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25581 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25582 (gst_capsfilter_prepare_buf):
25583 If the output pad has fixed allowed caps and input buffers
25584 don't have any, set the fixed caps on outgoing buffers.
25586 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25587 * check/elements/identity.c: (GST_START_TEST):
25588 Make the error a little clearer when the test fails because
25589 identity made a copy of the buffer.
25590 * docs/gst/gstreamer-sections.txt:
25591 New symbols in gstbasetransform.h
25592 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25593 (gst_base_transform_init), (gst_base_transform_transform_size),
25594 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25595 (gst_base_transform_default_prepare_buf),
25596 (gst_base_transform_get_unit_size),
25597 (gst_base_transform_buffer_alloc),
25598 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25599 (gst_base_transform_change_state),
25600 (gst_base_transform_set_passthrough),
25601 (gst_base_transform_set_in_place),
25602 (gst_base_transform_is_in_place):
25603 * gst/base/gstbasetransform.h:
25604 Change BaseTransform to separate in_place operate from same_caps
25605 output. in_place implies that the element can perform the transform
25606 on incoming buffers in-place, even if the caps on the output are
25608 Sub-class elements can now implement special buffer allocation
25609 methods for outgoing buffers if they wish to.
25610 Big documentation addition.
25611 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25612 * gst/elements/gstelements.c:
25613 Changes for basetransform modifications.
25614 * gst/elements/Makefile.am:
25615 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25616 Compile fix. Extra debug output.
25618 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25620 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25622 add tests for valid pad naming
25623 * gst/check/gstcheck.c: (gst_check_log_message_func),
25624 (gst_check_log_critical_func):
25626 remove printing of code, it is fragile when the code contains
25627 % and the line number is enough info
25628 * gst/check/gstcheck.h:
25629 * gst/gstpad.c: (gst_pad_template_new):
25632 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25635 say what CHECK flags we use
25636 * docs/libs/gstreamer-libs.types:
25637 * libs/gst/controller/Makefile.am:
25638 * libs/gst/controller/gst-controller.c:
25639 * libs/gst/controller/gst-controller.h:
25640 * libs/gst/controller/gst-helper.c:
25641 * libs/gst/controller/gst-interpolation.c:
25642 * libs/gst/controller/gstcontroller.c:
25643 * libs/gst/controller/gsthelper.c:
25644 * libs/gst/controller/gstinterpolation.c:
25645 * tools/gst-inspect.c: (print_plugin_info):
25646 we don't use dashes in header names
25648 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25650 * check/Makefile.am:
25651 * check/gst/.cvsignore:
25652 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25653 (gst_pipeline_suite), (main):
25654 adding a test for pipelines and state changes
25655 * gst/gstutils.c: (get_state_func):
25657 * gstreamer.spec.in:
25660 2005-09-08 Michael Smith <msmith@fluendo.com>
25662 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25663 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25664 (gst_file_src_is_seekable), (gst_file_src_get_size),
25665 (gst_file_src_start):
25666 * gst/elements/gstfilesrc.h:
25667 Various fixes for unseekable, unmmapable, and non-normal files, so
25668 that fallback to read() rather than mmap() works.
25669 * gst/gstevent.c: (gst_event_new_newsegment):
25670 Allow newsegment events with segment_start == segment_end, as will
25671 correctly happen if you use filesrc on a zero-size file, for
25674 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25676 * gst/gstplugin.c: (gst_plugin_load_file):
25677 Call g_module_close when we don't load the module
25679 * gst/registries/gstlibxmlregistry.c:
25680 (gst_xml_registry_get_property):
25681 Port leak fix from 0.8
25683 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25685 * docs/gst/gstreamer-docs.sgml:
25686 * docs/gst/tmpl/.cvsignore:
25687 * docs/gst/tmpl/gsttrace.sgml:
25688 * docs/gst/tmpl/gsttrashstack.sgml:
25691 * gst/gstelement.h:
25693 * gst/gstmessage.c:
25694 * gst/gstmessage.h:
25697 * gst/gsttaginterface.c:
25698 * gst/gsttaginterface.h:
25699 * gst/gsttaglist.c:
25700 * gst/gsttaglist.h:
25701 * gst/gsttagsetter.c:
25702 * gst/gsttagsetter.h:
25705 * gst/gsttrashstack.c:
25706 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25707 inlined docs for gsttrace, gsttrashstack
25709 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25712 * gst/elements/gstbufferstore.h:
25713 * gst/elements/gsttypefindelement.c:
25714 * gst/elements/gsttypefindelement.h:
25716 * gst/gsttypefind.c:
25717 * gst/gsttypefind.h:
25718 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25719 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25720 (gst_type_find_factory_dispose),
25721 (gst_type_find_factory_unload_thyself),
25722 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25723 (gst_type_find_factory_get_caps),
25724 (gst_type_find_factory_get_extensions),
25725 (gst_type_find_factory_call_function):
25726 * gst/gsttypefindfactory.h:
25727 * gst/registries/gstlibxmlregistry.c:
25728 * gst/registries/gstxmlregistry.c:
25729 splitted gsttypefind into gsttypefind, gsttypefindfactory
25731 2005-09-07 Andy Wingo <wingo@pobox.com>
25733 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25734 condition whereby the pad's task function is entered before the
25735 pad_mode variable was set.
25737 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25739 * gst/gstpad.c: (gst_pad_alloc_buffer):
25740 Catch misbehaving pad_alloc functions that don't
25741 set up caps and do it for them.
25743 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25745 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25746 test for pipe!=NULL
25747 * docs/gst/tmpl/.cvsignore:
25748 * docs/gst/tmpl/gstmemchunk.sgml:
25749 * docs/gst/tmpl/gstparse.sgml:
25750 * docs/gst/tmpl/gsttaglist.sgml:
25751 * docs/gst/tmpl/gsttagsetter.sgml:
25752 * docs/gst/tmpl/gsttypefind.sgml:
25753 * docs/gst/tmpl/gsttypefindfactory.sgml:
25754 * gst/gstmemchunk.c:
25757 * gst/gsttaginterface.c:
25758 * gst/gsttypefind.c:
25759 * gst/gsttypefind.h:
25762 === release 0.9.2 ===
25764 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25769 releasing 0.9.2, "South"
25771 2005-09-05 Andy Wingo <wingo@pobox.com>
25773 * gst/registries/gstxmlregistry.h:
25774 * gst/registries/gstxmlregistry.c: Um... resurrect...
25776 * gst/registries/gstxmlregistry.h:
25777 * gst/registries/gstxmlregistry.c: and update to newer API.
25778 Incidentally they should be a bit faster now that they don't have
25781 2005-09-05 Andy Wingo <wingo@pobox.com>
25783 * gst/registries/gstxmlregistry.h:
25784 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25785 replaced by the libxml registry a while back
25787 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25789 * docs/gst/tmpl/gstplugin.sgml:
25790 * gst/elements/gstelements.c:
25792 * gst/gstplugin.c: (gst_plugin_register_func),
25793 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25794 (gst_plugin_get_source):
25796 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25797 (gst_xml_registry_save_plugin):
25798 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25799 (gst_xml_registry_save_plugin):
25800 * tools/gst-inspect.c: (print_plugin_info):
25801 add a "source" plugin description field, to represent the source
25802 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25803 will set it to PACKAGE, which is automake's idea of the name of
25804 the source project.
25806 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25811 * docs/Makefile.am:
25812 * docs/faq/Makefile.am:
25813 * docs/gst/tmpl/gstelement.sgml:
25814 * docs/gst/tmpl/gsttypes.sgml:
25815 * docs/htmlinstall.mak:
25816 * docs/manual/Makefile.am:
25817 * docs/pwg/Makefile.am:
25818 reorganize doc build a little
25819 split out docbook and gtk-doc stuff
25820 have two separate --enable's and enable them through autogen
25821 but disable by default in configure (to be similar to other
25823 * gstreamer.spec.in:
25824 clean up docs install
25842 translation updates
25844 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25846 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25849 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25850 (gst_fake_sink_change_state):
25851 Make state change function thread-safe.
25853 * gst/gstpad.c: (gst_pad_alloc_buffer):
25854 Set offset on generic buffer allocated by fallback.
25856 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25858 * docs/gst/gstreamer-sections.txt:
25859 * docs/gst/tmpl/gstelement.sgml:
25861 * libs/gst/controller/gst-controller.c:
25862 (gst_controlled_property_set_interpolation_mode),
25863 (gst_controlled_property_new),
25864 (gst_controller_find_controlled_property):
25865 run the wingo-magic script against the docs
25867 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25869 * docs/gst/gstreamer-docs.sgml:
25870 * docs/gst/gstreamer-sections.txt:
25871 * docs/gst/tmpl/.cvsignore:
25872 * docs/gst/tmpl/gstelementdetails.sgml:
25873 * docs/gst/tmpl/gstelementfactory.sgml:
25876 * gst/gstelementfactory.c:
25877 * gst/gstelementfactory.h:
25878 merged elementdetails docs into elementfactory docs
25881 2005-09-02 Andy Wingo <wingo@pobox.com>
25883 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25884 consider this enum an enum and not a flags.
25886 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25888 * docs/gst/gstreamer-docs.sgml:
25889 * docs/gst/tmpl/.cvsignore:
25890 * docs/gst/tmpl/gstghostpad.sgml:
25891 * docs/gst/tmpl/gstiterator.sgml:
25892 * docs/gst/tmpl/gstmacros.sgml:
25893 * docs/gst/tmpl/gstrealpad.sgml:
25894 * docs/gst/tmpl/gstregistry.sgml:
25895 * docs/gst/tmpl/gstregistrypool.sgml:
25896 * docs/gst/tmpl/gststructure.sgml:
25897 * docs/gst/tmpl/gstsystemclock.sgml:
25898 * docs/gst/tmpl/gsttrace.sgml:
25899 * gst/gstghostpad.c:
25901 * gst/gstmemchunk.c:
25902 * gst/gstmemchunk.h:
25904 * gst/gstregistry.c:
25905 * gst/gstregistrypool.c:
25906 * gst/gststructure.c:
25907 * gst/gstsystemclock.c:
25910 2005-09-02 Andy Wingo <wingo@pobox.com>
25912 * gst/gstelement.h (GstState): Renamed from GstElementState,
25913 changed to be a normal enum instead of flags.
25914 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25915 munged to be GST_STATE_CHANGE_*.
25916 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25917 work with the new state representation.
25918 (GstStateChange): New enumeration of possible state transitions.
25919 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25920 (GstElementClass::change_state): Pass the GstStateChange along as
25921 an argument. Helps language bindings, so they don't have to use
25922 tricky lock-needing macros like GST_STATE_CHANGE ().
25924 * scripts/update-states (file): New script. Run it on a file to
25925 update it for state naming and API changes. Updates files in
25928 * All files updated for the new API.
25930 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25932 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25933 * gst/gstutils.c: (gst_util_set_value_from_string),
25934 (gst_util_set_object_arg):
25935 fix a bunch of unchecked return values
25936 * tools/gst-complete.c: (main):
25937 * gstreamer.spec.in:
25940 2005-09-01 Wim Taymans <wim@fluendo.com>
25942 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25943 (gst_base_sink_event), (gst_base_sink_do_sync),
25944 (gst_base_sink_handle_event):
25945 * gst/base/gstbasesink.h:
25946 Handle newsegments more correctly.
25951 * gst/gstevent.c: (gst_event_new_newsegment):
25952 A newsegment cannot have a start_time of -1
25954 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25956 * win32/gstenumtypes.c:
25957 * win32/gstenumtypes.h:
25960 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25962 * libs/gst/controller/gst-controller.c:
25963 (gst_controlled_property_set_interpolation_mode),
25964 (gst_controlled_property_new):
25965 fixed boolean again
25967 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25969 * docs/faq/gst-uninstalled:
25974 * gst/gstutils.c: (gst_element_link_filtered):
25976 add gst_element_link_filtered
25978 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25980 * docs/gst/gstreamer-docs.sgml:
25981 * docs/gst/gstreamer-sections.txt:
25982 * docs/gst/tmpl/.cvsignore:
25983 * docs/gst/tmpl/gsterror.sgml:
25984 * docs/gst/tmpl/gstfilter.sgml:
25985 * docs/gst/tmpl/gsturihandler.sgml:
25986 * docs/gst/tmpl/gsturitype.sgml:
25987 * docs/gst/tmpl/gstutils.sgml:
25988 * docs/gst/tmpl/gstxml.sgml:
25993 * gst/gsturitype.c:
25996 inlined more docs, fixed double id-ref
25998 2005-08-31 Wim Taymans <wim@fluendo.com>
26000 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26001 (gst_base_transform_handle_buffer):
26002 Passthrough elements don't need the caps as they don't care.
26004 2005-08-31 Wim Taymans <wim@fluendo.com>
26006 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26007 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26008 Don't leak refcounts on buffers.
26010 2005-08-31 Wim Taymans <wim@fluendo.com>
26012 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26013 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26014 (gst_base_transform_chain), (gst_base_transform_change_state):
26015 * gst/base/gstbasetransform.h:
26016 Handle the case where we are not negotiated more gracefully.
26018 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26020 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26021 (gst_file_src_map_region):
26022 Set READONLY flag on mmap'ed buffers, otherwise
26023 gst_buffer_make_writable() won't work properly (#314708).
26025 2005-08-31 Wim Taymans <wim@fluendo.com>
26027 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26028 passthrough elements can even do inplace on non writable
26029 buffers (as they don't touch them).
26031 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26033 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26034 (gst_test_mono_source_set_property),
26035 (gst_test_mono_source_class_init), (GST_START_TEST),
26036 (gst_controller_suite):
26037 more tests (hehe I have the most)
26039 describe popping messages whenusing mulltiple sources
26040 * libs/gst/controller/gst-controller.c:
26041 (gst_controlled_property_set_interpolation_mode),
26042 (gst_controlled_property_new):
26043 * libs/gst/controller/gst-controller.h:
26044 * libs/gst/controller/gst-interpolation.c:
26045 implement boolean properties
26047 2005-08-31 Wim Taymans <wim@fluendo.com>
26049 * gst/gstminiobject.c: (gst_mini_object_ref):
26050 Cannot assert that the refcount has to be positive
26051 since a disposed object can be resurrected.
26053 2005-08-31 Wim Taymans <wim@fluendo.com>
26055 * gst/gstpad.c: (gst_pad_init):
26056 Revert change, need to first fix badly behaving
26059 2005-08-30 Wim Taymans <wim@fluendo.com>
26061 * check/elements/fakesrc.c: (setup_fakesrc):
26062 * check/elements/identity.c: (setup_identity):
26063 Activate pads before using them.
26065 2005-08-30 Wim Taymans <wim@fluendo.com>
26067 * gst/base/gstadapter.c: (gst_adapter_flush):
26068 Flushing out 0 bytes is ok for this function.
26070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26071 no newsegment gives a warning and sets the start/stop to
26074 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26075 (gst_base_transform_set_passthrough):
26078 * gst/gstminiobject.c: (gst_mini_object_ref):
26079 Check refcount here too.
26081 * gst/gstpad.c: (gst_pad_init):
26082 Pads are initially flushing and refusing data.
26084 * gst/gstutils.c: (gst_element_link_pads_filtered):
26085 When adding a capsfilter element make sure it has the
26086 same state as the parent bin.
26088 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26090 * docs/gst/tmpl/.cvsignore:
26091 * docs/gst/tmpl/gstformat.sgml:
26092 * docs/gst/tmpl/gstversion.sgml:
26096 * gst/gstversion.h.in:
26097 more docs and two more inlined
26099 2005-08-30 Wim Taymans <wim@fluendo.com>
26101 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26102 Don't sync to clock.
26104 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26106 * docs/gst/gstreamer-sections.txt:
26107 ultral33t func10ns deserve to appear in the docs actually
26108 * docs/gst/tmpl/.cvsignore:
26109 * docs/gst/tmpl/gstcompat.sgml:
26110 * docs/gst/tmpl/gstconfig.sgml:
26111 * gst/check/gstcheck.c:
26113 * gst/gstconfig.h.in:
26116 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26118 * docs/gst/tmpl/.cvsignore:
26119 * docs/gst/tmpl/gstquery.sgml:
26120 * docs/gst/tmpl/gstutils.sgml:
26123 inlined and extended docs
26125 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26127 * check/gst-libs/controller.c: (GST_START_TEST),
26128 (gst_controller_suite):
26130 * docs/gst/tmpl/gstutils.sgml:
26131 * docs/libs/gstreamer-libs-sections.txt:
26132 * docs/libs/tmpl/gstdataprotocol.sgml:
26134 * examples/controller/audio-example.c: (main):
26135 controller example works now
26138 * tools/gst-inspect.c: (print_element_properties_info):
26139 show param spec flags
26141 2005-08-29 Andy Wingo <wingo@pobox.com>
26143 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26145 2005-08-28 Andy Wingo <wingo@pobox.com>
26147 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26148 as having two arguments instead of just one. Allows superclasses
26149 to access information on subclasses -- see the terrible for() loop
26150 in gtype.c:g_type_create_instance for the reason why. All callers
26153 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26155 * docs/design/part-messages.txt:
26157 * docs/gst/tmpl/.cvsignore:
26158 * docs/gst/tmpl/gstcaps.sgml:
26159 * docs/gst/tmpl/gstclock.sgml:
26165 * gst/gstmessage.c:
26166 added descriptions for bus and message
26167 inline caps and clock docs
26169 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26171 * gst/gstmessage.c:
26172 * gst/gstmessage.h:
26175 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26177 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26180 2005-08-26 Andy Wingo <wingo@pobox.com>
26182 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26183 element_set_state's return val.
26184 (test_2_elements): Add test that's been disabled for months.
26186 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26187 can-activate-pull properties.
26189 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26190 can-activate-pull properties. Implement is_seekable so fakesrc can
26191 operate in pull mode.
26193 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26195 (gst_base_sink_activate, gst_base_sink_activate_pull)
26196 (gst_base_sink_activate_push): Make activation mode choosing work.
26198 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26199 is right. Make pull mode work. Post an eos before pausing in pull
26201 (gst_base_sink_change_state): Pay attention to the core's
26202 change_state() return val.
26204 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26205 has-getrange properties. Cleanups.
26207 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26208 has_getrange and replace with can_activate_pull and
26211 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26212 locking comments. Remove has_loop, has_chain and replace with
26213 can_activate_pull and can_activate_push.
26215 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26218 * examples/Makefile.am:
26219 * examples/metadata/Makefile.am:
26220 * examples/metadata/read-metadata.c: (message_loop),
26221 (have_pad_handler), (make_pipeline), (print_tag), (main):
26222 Add metadata reading example that loops over a list of filenames,
26223 dumping any tags found.
26225 * gst/gstbus.c: (gst_bus_dispose):
26226 * gst/gstelement.c: (gst_element_dispose):
26227 Release a few potentially-held references in dispose.
26229 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26231 * docs/gst/tmpl/gstminiobject.sgml:
26232 do *not* add tmpl/*.sgml files to CVS!
26234 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26236 * libs/gst/bytestream/.cvsignore:
26237 * libs/gst/bytestream/Makefile.am:
26238 * libs/gst/bytestream/adapter.c:
26239 * libs/gst/bytestream/adapter.h:
26240 * libs/gst/bytestream/bytestream.c:
26241 * libs/gst/bytestream/bytestream.h:
26242 * libs/gst/bytestream/filepad.c:
26243 * libs/gst/bytestream/filepad.h:
26244 removing obsolete files
26246 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26248 * docs/gst/gstreamer-docs.sgml:
26249 * docs/libs/gstreamer-libs-docs.sgml:
26250 disabed additional index entries again, as this makes docs-gen just
26251 slow and they aren't useful yet
26252 * docs/libs/gstreamer-libs-sections.txt:
26253 little -section.txt cleanup for libs
26255 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26258 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26259 fix up some debugging
26260 (gst_base_transform_get_unit_size),
26261 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26262 (gst_base_transform_handle_buffer):
26263 * gst/base/gstbasetransform.h:
26264 handle and store timed NEWSEGMENT events so that subclasses that
26265 calculate time by counting samples have a segment_start time they
26266 need to add to their timestamps - see audioresample
26268 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26271 removed ';' from the end of macro defs
26272 * docs/gst/gstreamer-docs.sgml:
26273 * docs/gst/gstreamer-sections.txt:
26274 * docs/gst/tmpl/.cvsignore:
26276 * gst/gstelement.c: (gst_element_class_init),
26277 (gst_element_set_state), (activate_pads),
26278 (gst_element_save_thyself):
26279 * gst/gstevent.c: (gst_event_new_newsegment):
26281 * gst/gstiterator.c:
26282 * gst/gstiterator.h:
26285 * gst/gstutils.c: (gst_pad_query_convert):
26287 fixed parameter name mismatches between source, header and docs
26288 added some more docs, resolved the last batch of unused elements in
26289 docs (now someone needs to doc them)
26291 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26293 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26294 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26295 don't walk through the plugins backwards. Where is all this
26296 reversed logic coming from ?
26298 2005-08-25 Wim Taymans <wim@fluendo.com>
26300 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26301 (gst_base_transform_transform_size),
26302 (gst_base_transform_configure_caps),
26303 (gst_base_transform_get_unit_size),
26304 (gst_base_transform_buffer_alloc),
26305 (gst_base_transform_change_state):
26306 * gst/base/gstbasetransform.h:
26307 Cache caps unit_size.
26308 Make sure we cannot negotiate up and downstream at the
26311 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26313 * gst/gst.c: (init_pre), (init_post):
26314 register the installed plugin path after the env var
26315 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26316 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26317 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26318 directories, so the tests can prefer uninstalled over installed
26320 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26322 * gst/base/gstbasetransform.h:
26327 2005-08-25 Wim Taymans <wim@fluendo.com>
26329 * gst/gstbin.c: (bin_bus_handler):
26330 Be a bit more conservative about the posted message.
26332 * gst/gstbus.c: (gst_bus_post):
26333 Some cleanups, warn wrong return values.
26335 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26337 * check/gst/gstbin.c: (GST_START_TEST):
26338 * gst/gstbin.c: (bin_bus_handler):
26339 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26340 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26341 (gst_message_new_warning), (gst_message_new_tag),
26342 (gst_message_new_state_changed), (gst_message_new_segment_start),
26343 (gst_message_new_segment_done), (gst_message_new_custom):
26344 * gst/gstmessage.h:
26345 * tools/gst-launch.c: (event_loop):
26346 * tools/gst-md5sum.c: (event_loop):
26347 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26349 2005-08-25 Wim Taymans <wim@fluendo.com>
26351 * check/generic/states.c: (GST_START_TEST):
26352 Cleanup can be done at the end.
26354 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26355 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26356 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26357 Oh boy.. Thanks for finding this, Thomas.
26359 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26361 * docs/gst/gstreamer.types:
26362 added missing types
26364 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26366 * docs/gst/gstreamer-docs.sgml:
26367 * docs/gst/gstreamer-sections.txt:
26368 * docs/gst/tmpl/.cvsignore:
26370 * gst/gstiterator.c:
26372 * gst/registries/gstxmlregistry.h:
26373 added missing classes and symbols (123 more to go)
26374 removed removed symbols from section file
26375 fixed many doc-comments
26377 2005-08-24 Wim Taymans <wim@fluendo.com>
26379 * check/generic/states.c: (GST_START_TEST):
26380 Make sure all tasks are stopped.
26382 * check/gst/gstbin.c: (GST_START_TEST):
26383 Unref after usage for proper valgrinding.
26385 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26386 Really wait for the task to stop before destroying the
26389 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26390 (gst_queue_src_activate_push):
26391 Small cleanups. Don't stop the task when we did not start
26394 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26395 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26396 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26399 Protect the stream lock with the object lock.
26400 Disallow setting the stream lock when running.
26401 Add cleanup_all to wait for the threadpool to finish.
26402 Remove code to autoallocate a mutex if none was provided.
26403 Add _join() to wait for a task to stop.
26404 Protect the thread pool with a global lock.
26406 2005-08-24 Wim Taymans <wim@fluendo.com>
26408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26409 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26410 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26411 * gst/base/gstbasesink.h:
26412 Handle newsegment events correctly.
26413 Drop buffers out of the segment range.
26415 2005-08-22 Andy Wingo <wingo@pobox.com>
26417 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26418 macro, implements an interface and gstimplementsinterface for a
26421 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26423 * check/Makefile.am:
26424 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26425 add a test that does a bunch of state changes on elements
26426 needs some fixing for valgrind
26427 * check/states/sinks.c: (gst_object_suite):
26430 add prototype for gst_caps_is_equal_fixed
26432 * gst/gstregistrypool.c:
26435 2005-08-24 Andy Wingo <wingo@pobox.com>
26437 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26438 convert a negative value. Doesn't make much sense. Mostly this is
26439 here to force callers to ensure -1 maps to -1.
26441 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26443 * docs/pwg/advanced-types.xml:
26444 Well done to Michael for catching my deliberate introduction
26445 of this spelling mistake.
26446 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26447 * gst/gstelement.h:
26448 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26449 unlink pads before removing the element from the bin.
26451 2005-08-24 Andy Wingo <wingo@pobox.com>
26453 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26454 the same thing as GST_DEBUG=*:4.
26455 (parse_debug_level, parse_debug_category): New helper parsers.
26457 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26459 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26460 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26461 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26462 (gst_base_transform_buffer_alloc),
26463 (gst_base_transform_handle_buffer):
26464 use gboolean return values and pointers to size so we can use the
26465 full GST_BUFFER_SIZE range (guint) for buffer sizes
26466 use GstPadDirection for transform_caps
26467 * gst/base/gstbasetransform.h:
26468 rename get_size to get_unit_size since that's what it is
26469 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26470 use GstPadDirection for transform_caps
26471 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26473 cleanup and debugging
26475 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26477 * gst/gstelement.c: (gst_element_class_init),
26478 (gst_element_set_state), (activate_pads),
26479 (gst_element_save_thyself):
26480 * tools/gst-compprep.c: (main):
26481 * tools/gst-inspect.c: (print_element_properties_info):
26482 * tools/gst-xmlinspect.c: (print_element_properties):
26483 Fixed long standing mem-leak
26485 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26487 * check/gst/gstbin.c: (GST_START_TEST):
26488 * gst/gstbin.c: (bin_bus_handler):
26489 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26490 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26491 (gst_message_new_warning), (gst_message_new_tag),
26492 (gst_message_new_state_changed), (gst_message_new_segment_start),
26493 (gst_message_new_segment_done), (gst_message_new_custom):
26494 * gst/gstmessage.h:
26495 * tools/gst-launch.c: (event_loop):
26496 * tools/gst-md5sum.c: (event_loop):
26497 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26498 that applications can sensibly post custom messages with references
26499 to their own objects.
26501 2005-08-24 Andy Wingo <wingo@pobox.com>
26503 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26506 2005-08-24 Wim Taymans <wim@fluendo.com>
26508 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26509 (gst_base_transform_transform_caps),
26510 (gst_base_transform_transform_size),
26511 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26512 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26513 (gst_base_transform_handle_buffer):
26514 * gst/base/gstbasetransform.h:
26515 Many fixes and new features added by Thomas. Can now also do
26516 transforms with variable sizes and a custom fixate_caps function.
26518 2005-08-24 Wim Taymans <wim@fluendo.com>
26520 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26524 Cast to ClockTime before formatting to time.
26529 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26531 * check/gst-libs/controller.c: (GST_START_TEST),
26532 (gst_controller_suite):
26533 * docs/gst/tmpl/gstcaps.sgml:
26534 * docs/gst/tmpl/gstghostpad.sgml:
26535 * docs/gst/tmpl/gstquery.sgml:
26536 * docs/gst/tmpl/gstutils.sgml:
26537 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26538 (gst_object_sink_values), (gst_object_get_value_arrays),
26539 (gst_object_get_value_array):
26540 gracefully handle helper method calls to objects that are not beeing
26541 controlled, added test case for that
26543 2005-08-23 Wim Taymans <wim@fluendo.com>
26545 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26546 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26547 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26548 (gst_event_parse_qos), (gst_event_new_seek),
26549 (gst_event_parse_seek):
26551 Some more debugging output and doc cleanups.
26553 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26554 Fix possible deadlock.
26556 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26558 * docs/gst/gstreamer-docs.sgml:
26559 * docs/gst/gstreamer-sections.txt:
26560 * docs/gst/gstreamer.types:
26561 * docs/gst/tmpl/.cvsignore:
26564 * gst/gstelement.c:
26566 added 100 symbols from gstreamer-unused.txt to the right sections
26567 fixed more broken comments
26568 added GstBus to docs
26570 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26572 * docs/gst/gstreamer-sections.txt:
26573 * docs/gst/tmpl/.cvsignore:
26574 * docs/gst/tmpl/gstbin.sgml:
26575 * docs/gst/tmpl/gstbuffer.sgml:
26576 * gst/base/gstbasesrc.c:
26577 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26580 * tools/gst-launch.1.in:
26581 inlined more doc comments, added missing comments and fixed comments
26584 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26586 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26590 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26592 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26593 * gst/gststructure.h:
26594 add a fixate function for booleans; add a FIXME that these func
26595 names should probably be gst_structure_fixate_*
26597 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26599 * docs/gst/gstreamer-docs.sgml:
26600 * docs/gst/gstreamer-sections.txt:
26602 * gst/gstbin.c: (gst_bin_get_type),
26603 (gst_bin_child_proxy_get_child_by_index),
26604 (gst_bin_child_proxy_get_children_count),
26605 (gst_bin_child_proxy_init):
26606 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26607 (gst_child_proxy_get_child_by_index),
26608 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26609 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26610 (gst_child_proxy_get), (gst_child_proxy_set_property),
26611 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26612 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26613 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26614 * gst/gstchildproxy.h:
26615 * gst/parse/grammar.y:
26616 * tools/gst-inspect.c: (print_interfaces),
26617 (print_element_properties_info), (print_element_info):
26618 ported gstchildproxy over from 0.8
26619 ported gst-inspect fixes and enhancements over from 0.8
26621 2005-08-22 Wim Taymans <wim@fluendo.com>
26623 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26624 (gst_base_transform_handle_buffer):
26625 Also call the transform function if we have ANY caps.
26627 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26630 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26632 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26633 Don't pretend to handle seek events if the source is not seekable
26635 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26637 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26638 Remove extra parameter to debug output
26640 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26641 (gst_base_src_do_seek), (gst_base_src_activate_push):
26642 Fix seek event handling.
26644 * gst/gstpipeline.c: (gst_pipeline_change_state):
26645 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26646 (gst_queue_src_activate_push):
26647 Don't start the src pad task on FLUSH_STOP if the pad
26651 2005-08-22 Wim Taymans <wim@fluendo.com>
26653 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26654 Added check for gst_static_caps_get() refcounting.
26656 2005-08-22 Wim Taymans <wim@fluendo.com>
26658 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26659 Make _static_caps_get() refcounting sane.
26661 * gst/gstelement.c: (gst_element_set_state):
26662 Add g_return_val_if_fail() to protect against segfaults.
26664 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26666 * docs/gst/tmpl/gstevent.sgml:
26669 inlined remaining docs, added missing doc comments
26671 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26673 * check/gst/gstbin.c: (GST_START_TEST):
26674 since we don't know when preroll is done, use refcount range
26676 * gst/check/gstcheck.h:
26677 add macro for checking refcount range
26679 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26681 * check/Makefile.am:
26682 clean up environment for when registry gets built versus
26683 when actual tests are run; valgrind seems to not report
26684 leaks if GST_PLUGIN_PATH is set to some specific values
26685 * check/gst/gstbin.c: (GST_START_TEST):
26686 add more refcounting checks; maybe this exposes a
26688 * common/check.mak:
26689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26690 * gst/check/gstcheck.h:
26691 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26692 (gst_bin_change_state):
26693 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26694 add/fix debugging/whitespace
26696 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26698 * check/gst/gstevent.c: (event_probe), (test_event),
26700 Er, don't call gst_bin_watch_for_state_change you idiot.
26702 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26704 * check/Makefile.am:
26705 Use CHECK_CFLAGS and CHECK_LIBS
26706 * check/gst/gstevent.c: (event_probe), (test_event),
26709 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26710 (gst_base_src_start), (gst_base_src_stop),
26711 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26712 (gst_base_src_change_state):
26713 Sprinkle gst_base_src_stop liberally around error paths to fix
26714 problems reusing a source after failed state changes.
26715 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26716 (helper_find_suggest), (gst_type_find_helper):
26717 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26719 * docs/gst/tmpl/gstevent.sgml:
26720 Migrate part of the docs from the SGML file. Wait for ensonic to
26721 tell me how I did it wrong ;)
26722 * tools/gst-typefind.c: (main):
26723 Extra robustness to state changes between files.
26725 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26727 * check/Makefile.am:
26728 don't valgrind the controller test - it's leaking - Stefan, HELP
26729 * gst/check/gstcheck.c: (gst_check_message_error),
26730 (gst_check_chain_func), (gst_check_setup_element),
26731 (gst_check_teardown_element), (gst_check_setup_src_pad),
26732 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26733 (gst_check_teardown_sink_pad):
26734 * gst/check/gstcheck.h:
26735 add a bunch of methods to set up elements, and src and sink pads
26736 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26737 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26740 * gst/gstmessage.c:
26742 whitespace/doc fixes
26744 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26746 * gst/gstelement.h:
26747 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26748 be handled by the application and not always printed as well
26750 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26752 * check/Makefile.am:
26754 * gst/check/gstcheck.c: (gst_check_message_error):
26755 * gst/check/gstcheck.h:
26756 add a fail_unless_equals_int
26757 add fail_unless for error messages
26759 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26761 * check/Makefile.am:
26763 * common/Makefile.am:
26764 * common/check.mak:
26766 factor out some of the common stuff so we can use it
26768 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26770 * check/Makefile.am:
26771 * check/gst/gstiterator.c: (GST_START_TEST):
26772 * check/gst/gstsystemclock.c: (GST_START_TEST),
26773 (gst_systemclock_suite):
26774 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26776 valgrind more tests
26778 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26780 * check/elements/.cvsignore:
26781 * check/elements/gstfakesrc.c:
26782 rename to name of element
26783 * check/elements/identity.c: (chain_func), (event_func),
26784 (setup_identity), (cleanup_identity), (GST_START_TEST),
26785 (identity_suite), (main):
26786 add a test for identity
26787 * check/Makefile.am:
26788 * pkgconfig/Makefile.am:
26789 * pkgconfig/gstreamer-check.pc.in:
26790 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26794 move the check stuff to a library that gets installed
26795 * check/gst-libs/controller.c: (GST_START_TEST):
26796 * check/gst-libs/gdp.c:
26797 * check/gst/gst.c: (GST_START_TEST):
26798 * check/gst/gstbin.c:
26799 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26800 * check/gst/gstbus.c:
26801 * check/gst/gstcaps.c: (GST_START_TEST):
26802 * check/gst/gstelement.c:
26803 * check/gst/gstghostpad.c:
26804 * check/gst/gstiterator.c:
26805 * check/gst/gstmessage.c:
26806 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26807 * check/gst/gstobject.c:
26808 * check/gst/gstpad.c: (GST_START_TEST):
26809 * check/gst/gststructure.c: (GST_START_TEST):
26810 * check/gst/gstsystemclock.c: (GST_START_TEST),
26811 (gst_systemclock_suite):
26812 * check/gst/gsttag.c: (gst_tag_suite):
26813 * check/gst/gstvalue.c:
26814 * check/pipelines/cleanup.c:
26815 * check/pipelines/simple_launch_lines.c:
26816 * check/states/sinks.c:
26817 change include statement
26819 * docs/gst/gstreamer-sections.txt:
26820 * docs/gst/tmpl/gstpad.sgml:
26821 document more pad stuff
26822 * gst/gstminiobject.c: (gst_mini_object_ref),
26823 (gst_mini_object_unref):
26826 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26828 * docs/gst/tmpl/gst.sgml:
26830 eliminate another tmpl file, fix spelling in the long-description
26832 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26834 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26835 (test_event), (timediff), (gstevents_suite):
26836 Should fix build on 64-bit arch's
26838 2005-08-18 Andy Wingo <wingo@pobox.com>
26840 Make sure that when a pipeline goes to PLAYING, that data has
26841 actually hit the sink.
26843 * check/states/sinks.c (test_sink): A sink that doesn't get any
26844 data shouldn't return SUCCESS for going to either PLAYING or
26845 PAUSED. Test also the return values on the way back down.
26847 * gst/gstelement.c (gst_element_set_state): When changing the
26848 state of an element currently changing state asynchronously, go to
26849 lost-state after commiting the pending state. Makes future calls
26850 to get_state continue to return ASYNC.
26852 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26853 ASYNC when going to PLAYING if we still don't have preroll, as can
26854 happen with live sources.
26856 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26858 * docs/pwg/advanced-types.xml:
26859 Hack long paragraph into 2 chunks as a workaround for buggy
26860 jadetex version in sid and breezy that loops infinitely and
26863 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26865 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26866 (test_event), (timediff), (gstevents_suite):
26867 Provide more error margin in clock measurements to allow for
26868 g_get_current_time inaccuracies.
26870 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26872 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26873 (test_event), (timediff), (gstevents_suite):
26874 Fix error message output so I might be able to tell why the
26875 test works here but fails on the build farm.
26877 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26879 * check/Makefile.am:
26880 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26881 (test_event), (timediff), (gstevents_suite), (main):
26884 * docs/design/part-seeking.txt:
26885 Spelling correction
26887 * docs/gst/tmpl/gstevent.sgml:
26888 * docs/gst/tmpl/gstfakesrc.sgml:
26891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26892 Treat a buffer-without-newsegment the same as a receiving
26893 a newsegment not in time format, and disable syncing to the clock
26896 * gst/gstbus.c: (gst_bus_set_sync_handler):
26897 Assert if anyone tries to replace the existing sync_handler for bus,
26898 as only the owner should be setting it.
26901 Have a fixed set of custom event enums with events identified by
26902 their structure name (as in 0.8), rather than a free-for-all
26903 allowing collisions between enum values from different plugins.
26905 * gst/gstpad.c: (gst_pad_class_init):
26908 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26909 Handle out-of-band downstream events from the sending thread.
26911 2005-08-17 Andy Wingo <wingo@pobox.com>
26913 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26914 play-timeout==0 to mean no timeout at all. In that case, don't
26915 bother with a get_state or a warning, just return directly, even
26918 * gst/base/gstbasetransform.c: Debug changes.
26921 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26922 ensure bins post state change messages. A bit of a hack but I can't
26923 think of a way to avoid it.
26925 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26927 2005-08-16 Andy Wingo <wingo@pobox.com>
26929 * gst/base/gstadapter.h:
26930 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26931 peek() but you own the data. Not terribly efficient atm.
26933 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26935 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26936 (gst_element_found_tags):
26938 Add two utility functions for tag handling.
26940 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26942 * docs/manual/advanced-dataaccess.xml:
26943 * docs/manual/basics-helloworld.xml:
26944 Fix docs to use _bin_add() before _link(), which fixes the examples
26945 with recent core versions (reported by Madhan Raj M
26946 <raj_madan@rediffmail.com>, #313199).
26948 2005-08-16 Wim Taymans <wim@fluendo.com>
26950 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26951 Added subtract checks.
26953 * docs/design/part-events.txt:
26954 Some more docs about newsegment
26956 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26959 * gst/gstcaps.c: (gst_caps_to_string):
26960 Add comments, cleanups.
26962 * gst/gstelement.c: (gst_element_save_thyself):
26965 * gst/gstvalue.c: (gst_value_collect_int_range),
26966 (gst_string_unwrap), (gst_value_union_int_int_range),
26967 (gst_value_union_int_range_int_range),
26968 (gst_value_intersect_int_int_range),
26969 (gst_value_intersect_int_range_int_range),
26970 (gst_value_intersect_double_double_range),
26971 (gst_value_intersect_double_range_double_range),
26972 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26973 (gst_value_subtract_int_range_int),
26974 (gst_value_subtract_double_range_double),
26975 (gst_value_subtract_double_range_double_range),
26976 (gst_value_subtract_from_list), (gst_value_subtract_list),
26977 (gst_value_can_compare), (gst_value_compare_fraction):
26978 Cleanups, add comments, remove unneeded asserts.
26980 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26982 * tools/gst-launch.c: (event_loop):
26983 don't convert NULL structures to strings
26985 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26987 * docs/gst/gstreamer-sections.txt:
26988 made some defines private
26989 * docs/gst/tmpl/gstconfig.sgml:
26990 * docs/gst/tmpl/gstqueue.sgml:
26991 * docs/gst/tmpl/gsttaglist.sgml:
26992 * docs/gst/tmpl/gsttypes.sgml:
26993 * docs/gst/tmpl/gstutils.sgml:
26994 * docs/pwg/appendix-porting.xml:
26995 * gst/base/gstbasesink.h:
26996 * gst/base/gstbasesrc.c:
26997 * gst/base/gstbasesrc.h:
26998 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26999 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27000 * gst/gstelement.c: (gst_element_class_init):
27001 * gst/gstpad.c: (gst_pad_class_init):
27002 * gst/gstqueue.c: (gst_queue_class_init):
27003 * gst/gstxml.c: (gst_xml_class_init):
27004 documented all undocumented signal inline
27005 * libs/gst/controller/gst-controller.h:
27008 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27010 * docs/pwg/appendix-porting.xml:
27011 Document _set_link_function -> _set_setcaps_function.
27013 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27015 * check/Makefile.am:
27016 add a .check target for running the check
27017 * check/gst-libs/controller.c: (GST_START_TEST):
27019 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27020 complete checks for gstbuffer; would be nice if I could get the
27021 gcov stuff to work so I can see if I actually completed gstbuffer.c
27022 * check/gstcheck.h:
27023 add ASSERT_BUFFER_REFCOUNT
27025 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27027 * docs/gst/gstreamer-sections.txt:
27028 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27030 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27031 spew out a warning if a tag that is already registered
27032 is re-registered, unless it is re-registered with a
27033 different type (#308438).
27035 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27037 * docs/pwg/appendix-porting.xml:
27038 * docs/pwg/building-state.xml:
27039 Add some paragraphs about state changes in 0.9 to the PWG
27040 and the porting guide, in particular about the new meaning
27041 of GST_STATE_PAUSED and how to write state change functions
27042 with concurrent access by multiple threads in mind.
27044 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27046 * docs/gst/gstreamer-docs.sgml:
27047 * docs/libs/gstreamer-libs-docs.sgml:
27048 added deprecation and since indexes
27049 * libs/gst/controller/gst-controller.c:
27050 * libs/gst/controller/gst-helper.c:
27054 2005-08-11 Wim Taymans <wim@fluendo.com>
27056 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27057 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27058 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27059 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27060 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27061 (gst_ghost_pad_set_target):
27062 Actually implement (re)setting the target on a ghostpad
27063 as described in the docs.
27065 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27067 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27068 Check whether GST_DEBUG_NO_COLOR environment variable is
27069 set and disable coloured debug output if that is the case.
27071 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27073 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27074 (gst_type_find_helper):
27075 The memory returned by gst_type_find_peek() needs to
27076 stay valid until the end of a typefind function, and
27077 typefind functions may keep results from different
27078 offsets around, so we can't just unref the buffer from
27079 the previous _peek(), but have to save all buffers
27080 returned by _peek() until typefinding is done and only
27083 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27085 * docs/gst/gstreamer-sections.txt:
27087 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27089 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27091 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27092 Fix a pretty good memleak.
27094 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27096 * gst/gstiterator.h:
27097 Fix wrong include and 'make distcheck'.
27099 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27101 * gst/gstbin.c: (bin_bus_handler):
27102 Use gst_element_post_message() instead.
27104 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27106 * gst/base/gstadapter.h:
27107 * gst/base/gstbasesink.h:
27108 * gst/base/gstbasesrc.h:
27109 * gst/base/gstbasetransform.h:
27110 * gst/base/gstcollectpads.h:
27111 * gst/base/gstpushsrc.h:
27112 * gst/gstiterator.h:
27113 Add padding to our base elements' class and instance structs and
27114 to GstIterator (you will need to rebuild all plugins and apps!)
27116 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27118 * gst/gstbin.c: (bin_bus_handler):
27119 Make default message forwarding from child->bus to bin->bus
27120 threadsafe and make it not emit warnings if the parent has no bus.
27122 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27124 * gst/gstelement.c: (activate_pads):
27125 On paused->ready, set pad->caps to NULL, as is the documented
27126 behaviour in this state change. Fixes playback of series of
27127 media files when visualization is enabled in Totem.
27129 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27131 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27132 Allow NULL as filter-caps (which means "any").
27134 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27136 * docs/libs/gstreamer-libs-sections.txt:
27137 * libs/gst/controller/gst-controller.c:
27138 * libs/gst/controller/gst-controller.h:
27139 * libs/gst/controller/gst-helper.c:
27140 adding more entries to the docs and fix small doc-bugs
27142 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27144 * docs/gst/gstreamer-docs.sgml:
27145 * docs/gst/gstreamer-sections.txt:
27146 * docs/gst/gstreamer.types:
27147 * docs/gst/tmpl/gstbasesink.sgml:
27148 * docs/gst/tmpl/gstbasesrc.sgml:
27149 * docs/gst/tmpl/gstbasetransform.sgml:
27150 * docs/gst/tmpl/gstfakesrc.sgml:
27151 * gst/base/gstcollectpads.c:
27152 * gst/base/gstcollectpads.h:
27153 * libs/gst/controller/gst-controller.c:
27154 * libs/gst/controller/gst-controller.h:
27155 * libs/gst/controller/gst-helper.c:
27156 * libs/gst/controller/gst-interpolation.c:
27157 * libs/gst/controller/lib.c:
27158 added long/short desc for controller docs
27159 added collectpads base class docs
27160 added correct includes to base-class docs
27162 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27164 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27165 (gst_test_mono_source_set_property),
27166 (gst_test_mono_source_class_init), (GST_START_TEST),
27167 (gst_controller_suite):
27168 * docs/gst/gstreamer-docs.sgml:
27169 * docs/gst/gstreamer-sections.txt:
27170 * docs/gst/gstreamer.types:
27171 * docs/libs/gstreamer-libs-docs.sgml:
27172 * docs/libs/gstreamer-libs-sections.txt:
27173 * gst/base/gstadapter.c:
27174 * libs/gst/controller/gst-controller.c:
27175 (gst_controlled_property_new), (gst_controlled_property_free),
27176 (gst_controller_new_valist),
27177 (gst_controller_remove_properties_valist),
27178 (gst_controller_sink_values), (_gst_controller_finalize):
27179 * libs/gst/controller/gst-controller.h:
27180 * libs/gst/controller/gst-helper.c:
27181 (gst_object_control_properties), (gst_object_uncontrol_properties),
27182 (gst_object_get_controller), (gst_object_set_controller),
27183 (gst_object_sink_values), (gst_object_get_value_arrays),
27184 (gst_object_get_value_array):
27185 more tests (and fixes) for the controller
27186 more docs for the controller
27187 integrated companies docs for the adapter
27189 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27191 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27192 (GST_START_TEST), (fakesrc_suite):
27193 add tests for sizetype
27195 2005-08-04 Andy Wingo <wingo@pobox.com>
27197 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27198 fixes buffer_alloc proxying among other things.
27200 * gst/base/gstbasetransform.c:
27201 * gst/base/gstbasetransform.h:
27202 Revert patch to gstbasetransform from 7-28 removing
27205 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27206 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27207 Semantics changed, should return not the size of the output buffer
27208 but the byte size of a buffer with a given caps.
27210 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27212 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27213 out) are not the pad caps until setcaps finishes.
27214 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27215 not-in-place case as well. Deal with changing from in-place to
27216 not-in-place within calling pad_alloc_buffer. Still a bit
27217 concerned about the overhead here...
27219 2005-08-03 Andy Wingo <wingo@pobox.com>
27221 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27222 fixating is an error.
27224 2005-08-04 Edward Hervey <edward@fluendo.com>
27226 * gst/base/gstadapter.h:
27227 Added gst_adapter_get_type() to the header
27229 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27231 * check/Makefile.am:
27232 * check/gst-libs/controller.c:
27233 * libs/gst/controller/gst-controller.c:
27234 (gst_controller_new_valist):
27235 added check test suite for the controller
27236 * gst/base/gstpushsrc.c:
27239 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27241 * docs/gst/Makefile.am:
27242 * docs/gst/gstreamer-docs.sgml:
27243 * docs/gst/gstreamer-sections.txt:
27244 * docs/gst/gstreamer.types:
27245 * docs/gst/tmpl/gstfakesrc.sgml:
27247 * gst/base/gstbasesink.c:
27248 * gst/base/gstbasesink.h:
27249 * gst/base/gstbasesrc.c:
27250 * gst/base/gstbasesrc.h:
27251 * gst/base/gstbasetransform.c:
27252 * gst/base/gstpushsrc.c:
27253 * gst/base/gstpushsrc.h:
27254 add short/long description docs to base classes
27255 add pushsrc to the docs
27256 remove consolidated doc fragments
27258 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27261 * docs/libs/Makefile.am:
27262 * docs/libs/gstreamer-libs-docs.sgml:
27263 * docs/libs/gstreamer-libs-sections.txt:
27264 * docs/libs/gstreamer-libs.types:
27265 * examples/Makefile.am:
27266 * examples/controller/.cvsignore:
27267 * examples/controller/Makefile.am:
27268 * examples/controller/audio-example.c: (main):
27269 * libs/gst/Makefile.am:
27270 * libs/gst/controller/.cvsignore:
27271 * libs/gst/controller/Makefile.am:
27272 * libs/gst/controller/gst-controller.c:
27273 (on_object_controlled_property_changed), (gst_timed_value_compare),
27274 (gst_timed_value_find),
27275 (gst_controlled_property_set_interpolation_mode),
27276 (gst_controlled_property_new), (gst_controlled_property_free),
27277 (gst_controller_find_controlled_property),
27278 (gst_controller_new_valist), (gst_controller_new),
27279 (gst_controller_remove_properties_valist),
27280 (gst_controller_remove_properties), (gst_controller_set),
27281 (gst_controller_set_from_list), (gst_controller_unset),
27282 (gst_controller_get), (gst_controller_get_all),
27283 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27284 (gst_controller_get_value_array),
27285 (gst_controller_set_interpolation_mode),
27286 (_gst_controller_finalize), (_gst_controller_init),
27287 (_gst_controller_class_init), (gst_controller_get_type):
27288 * libs/gst/controller/gst-controller.h:
27289 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27290 (g_object_uncontrol_properties), (g_object_get_controller),
27291 (g_object_set_controller), (g_object_sink_values),
27292 (g_object_get_value_arrays), (g_object_get_value_array):
27293 * libs/gst/controller/gst-interpolation.c:
27294 (gst_controlled_property_find_timed_value_node),
27295 (interpolate_none_get), (interpolate_trigger_get),
27296 (interpolate_trigger_get_value_array):
27297 * libs/gst/controller/lib.c: (gst_controller_init):
27298 * pkgconfig/Makefile.am:
27299 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27300 * pkgconfig/gstreamer-control.pc.in:
27301 * testsuite/Makefile.am:
27302 * testsuite/controller/.cvsignore:
27303 * testsuite/controller/Makefile.am:
27304 * testsuite/controller/interpolator.c: (main):
27305 added controller code
27306 removed dparam pc files
27308 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27309 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27310 (gst_collectpads_stop):
27311 Broadcast the condition when shutting down, to make sure we wake all
27312 threads up. Shut down pads on finalize, for safety.
27314 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27315 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27316 (gst_base_transform_handle_buffer),
27317 (gst_base_transform_change_state):
27318 Handle PAUSED->READY->PAUSED transition after negotiation
27320 * gst/gstmessage.c: (gst_message_init):
27321 Extra piece of debug for new messages.
27323 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27326 * docs/gst/tmpl/gstbasesrc.sgml:
27327 * docs/gst/tmpl/gstelement.sgml:
27328 * docs/gst/tmpl/gstevent.sgml:
27329 * docs/gst/tmpl/gstfakesrc.sgml:
27330 * docs/gst/tmpl/gstformat.sgml:
27331 * docs/gst/tmpl/gstghostpad.sgml:
27332 * docs/gst/tmpl/gstpad.sgml:
27333 * docs/gst/tmpl/gstquery.sgml:
27334 * docs/gst/tmpl/gststructure.sgml:
27335 * docs/gst/tmpl/gsttaglist.sgml:
27336 * docs/gst/tmpl/gstvalue.sgml:
27337 * docs/libs/gstreamer-libs-docs.sgml:
27338 * docs/libs/gstreamer-libs-sections.txt:
27339 * docs/libs/gstreamer-libs.types:
27340 * libs/gst/Makefile.am:
27341 * libs/gst/control/.cvsignore:
27342 * libs/gst/control/Makefile.am:
27343 * libs/gst/control/control.c:
27344 * libs/gst/control/control.h:
27345 * libs/gst/control/dparam.c:
27346 * libs/gst/control/dparam.h:
27347 * libs/gst/control/dparam_smooth.c:
27348 * libs/gst/control/dparam_smooth.h:
27349 * libs/gst/control/dparamcommon.h:
27350 * libs/gst/control/dparammanager.c:
27351 * libs/gst/control/dparammanager.h:
27352 * libs/gst/control/dplinearinterp.c:
27353 * libs/gst/control/dplinearinterp.h:
27354 * libs/gst/control/unitconvert.c:
27355 * libs/gst/control/unitconvert.h:
27356 * testsuite/Makefile.am:
27357 * testsuite/dynparams/.cvsignore:
27358 * testsuite/dynparams/Makefile.am:
27359 * testsuite/dynparams/dparamstest.c:
27360 * tools/Makefile.am:
27361 * tools/gst-inspect.c: (print_element_info), (main):
27362 * tools/gst-xmlinspect.c: (print_element_info), (main):
27363 deactivate and remove dparams (libgstcontrol)
27365 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27367 * gst/elements/gsttypefindelement.c:
27368 (gst_type_find_element_have_type), (gst_type_find_element_init),
27369 (stop_typefinding), (gst_type_find_element_handle_event),
27370 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27371 * gst/elements/gsttypefindelement.h:
27372 Set caps on all outgoing buffers, not just the first one.
27374 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27376 * gst/elements/gsttypefindelement.c:
27377 (gst_type_find_element_have_type),
27378 (gst_type_find_element_check_set_buffer_caps),
27379 (gst_type_find_element_init), (stop_typefinding),
27380 (gst_type_find_element_handle_event),
27381 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27382 * gst/elements/gsttypefindelement.h:
27383 Set caps on first outgoing buffer when we've found the type.
27385 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27387 * docs/gst/gstreamer-docs.sgml:
27388 * docs/gst/gstreamer-sections.txt:
27389 * docs/gst/tmpl/gstscheduler.sgml:
27390 * docs/gst/tmpl/gstschedulerfactory.sgml:
27391 Remove some old cruft from docs.
27393 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27396 Fix inline docs for GstPadLinkReturn.
27398 * gst/gststructure.c: (gst_structure_has_name):
27399 * gst/gststructure.h:
27400 * docs/gst/gstreamer-sections.txt:
27401 New API: gst_structure_has_name().
27403 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27406 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27407 and _LARGEFILE_SOURCE in config.h as required. Do not
27408 export those flags in our .pc files any longer (#142209).
27410 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27412 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27413 (gst_file_sink_do_seek), (gst_file_sink_event),
27414 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27415 Redo seek/tell calls with large file support in mind; add some
27416 debugging messages; add log message that tells us when large
27417 file support is unavailable or not enabled for some reason.
27419 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27420 Add log message that tells us when large file support
27421 is unavailable or not enabled for some reason.
27423 2005-07-29 Wim Taymans <wim@fluendo.com>
27425 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27426 Added test for removing an element with ghostpad from a bin.
27427 Fixed test as current implementation does the right thing.
27429 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27430 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27431 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27432 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27433 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27434 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27435 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27436 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27437 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27438 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27439 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27440 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27441 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27442 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27443 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27444 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27445 * gst/gstghostpad.h:
27446 Clean up ghostpads, remove properties for internal stuff.
27449 Prepare for switching targets, not all use cases work yet.
27451 2005-07-29 Wim Taymans <wim@fluendo.com>
27453 * docs/design/part-gstghostpad.txt:
27456 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27457 (gst_bin_remove_func):
27458 Unlinking pads while holding the bin LOCK is not a good
27461 * gst/gstpad.c: (gst_pad_class_init),
27462 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27463 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27464 No prob setting template after creating the pad.
27466 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27468 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27469 (gst_bus_peek), (gst_bus_source_dispatch),
27470 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27471 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27472 gst_bus_poll may be called from other threads. Handle
27473 this nicely by not making poll_data disappear off the
27474 stack once gst_bus_poll returns.
27475 gst_bus_peek now increments the refcount on the returned
27478 2005-07-29 Wim Taymans <wim@fluendo.com>
27480 * docs/design/part-gstghostpad.txt:
27481 Overview of current GhostPad datastructures and use
27482 cases for changing the target.
27484 2005-07-28 Wim Taymans <wim@fluendo.com>
27486 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27487 Added checks for hierarchy consistency whan adding linked
27490 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27491 Added check to test element scheduling without bin/pipeline.
27493 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27494 First add elements to bin, then link.
27496 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27497 (gst_bin_remove_func):
27498 Unlink pads from elements added/removed from bin to maintain
27499 hierarchy consistency.
27501 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27503 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27504 (gst_base_transform_handle_buffer):
27505 * gst/base/gstbasetransform.h:
27506 Remove broken delay_configure (fixes renegotiation of software
27507 scaling pipelines); remove some leftover printf()s.
27509 2005-07-28 Wim Taymans <wim@fluendo.com>
27511 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27512 Added some more tests for wrong hierarchy
27514 * docs/design/part-overview.txt:
27517 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27520 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27521 (gst_element_dispose):
27522 Some more cleanups.
27524 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27525 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27526 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27527 (gst_pad_set_caps), (gst_pad_send_event):
27528 Check for correct hierarchy when linking pads. Moving to
27529 strict requirement for ghostpads when linking elements in
27533 Clean ups. Added WRONG_HIERARCHY return value.
27535 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27537 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27538 Better debug if no transform is possible.
27540 2005-07-27 Wim Taymans <wim@fluendo.com>
27542 * docs/random/wtay/network-transp:
27543 Some old doc I had.
27545 2005-07-27 Wim Taymans <wim@fluendo.com>
27547 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27548 (gst_dp_event_from_packet):
27549 Fix serialization of seek events.
27551 2005-07-27 Wim Taymans <wim@fluendo.com>
27553 * check/gst-libs/gdp.c: (GST_START_TEST):
27554 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27555 Fix compilation and fix event serialization.
27557 2005-07-27 Wim Taymans <wim@fluendo.com>
27560 * docs/design/part-TODO.txt:
27561 * docs/design/part-events.txt:
27564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27565 (gst_base_sink_event), (gst_base_sink_do_sync),
27566 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27567 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27568 (gst_base_src_do_seek), (gst_base_src_event_handler),
27569 (gst_base_src_loop):
27570 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27571 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27572 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27573 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27574 (gst_base_transform_set_passthrough),
27575 (gst_base_transform_is_passthrough):
27576 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27577 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27583 * gst/gstelement.c: (gst_element_seek):
27584 * gst/gstelement.h:
27585 Update gst_element_seek.
27587 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27588 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27589 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27590 (gst_event_new_eos), (gst_event_new_newsegment),
27591 (gst_event_parse_newsegment), (gst_event_new_tag),
27592 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27593 (gst_event_parse_qos), (gst_event_new_seek),
27594 (gst_event_parse_seek), (gst_event_new_navigation):
27596 Make GstEvent use GstStructure. Add parsing code, make sure the
27597 API is sufficiently generic.
27598 Mark possible directions of events and serialization.
27600 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27601 (_gst_message_copy), (gst_message_new_segment_start),
27602 (gst_message_new_segment_done), (gst_message_new_custom),
27603 (gst_message_parse_segment_start),
27604 (gst_message_parse_segment_done):
27607 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27608 (gst_pad_set_caps), (gst_pad_send_event):
27609 Update for new events.
27610 Catch events sent in wrong directions.
27612 * gst/gstqueue.c: (gst_queue_link_src),
27613 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27614 (gst_queue_handle_src_query):
27619 Remove event code from this file.
27621 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27622 (gst_dp_event_from_packet):
27625 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27627 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27628 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27629 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27630 Make debugging actually useful.
27632 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27634 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27635 (gst_pad_fixate_caps):
27636 Implement default fixation once again, so that gst_pad_fixate()
27637 actually does anything at all. This probably needs to be some
27638 sort of a last resort, and use profile-based fixation first, but
27639 since that doesn't exist yet, this is the best we have. Fixes
27640 visualization in Totem.
27642 2005-07-22 Wim Taymans <wim@fluendo.com>
27644 * docs/design/part-events.txt:
27647 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27648 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27649 (gst_base_sink_activate_pull):
27650 Some more comments.
27652 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27653 (gst_fake_src_create):
27654 Fix handoff marshall.
27656 * gst/elements/gstidentity.c: (gst_identity_class_init),
27657 (gst_identity_transform_ip):
27658 We're a real inplace element.
27660 * gst/gstbus.c: (gst_bus_post):
27661 Added some comments.
27663 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27664 * tests/muxing/case1.c: (main):
27665 * tests/sched/dynamic-pipeline.c: (main):
27666 * tests/sched/interrupt1.c: (main):
27667 * tests/sched/interrupt2.c: (main):
27668 * tests/sched/interrupt3.c: (main):
27669 * tests/sched/runxml.c: (main):
27670 * tests/sched/sched-stress.c: (main):
27671 * tests/seeking/seeking1.c: (event_received), (main):
27672 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27674 * tests/threadstate/threadstate3.c: (main):
27675 * tests/threadstate/threadstate4.c: (main):
27676 * tests/threadstate/threadstate5.c: (main):
27679 2005-07-21 Wim Taymans <wim@fluendo.com>
27681 * docs/design/part-seeking.txt:
27682 Some small additions.
27684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27685 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27686 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27687 * gst/base/gstbasesink.h:
27688 discont values are gint64, handle the math correctly.
27690 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27691 Make the basesrc report error if the source pad is not linked.
27693 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27694 (gst_queue_loop), (gst_queue_handle_src_query),
27695 (gst_queue_src_activate_push):
27696 Make queue collect data even if the srcpad is not linked.
27697 Start pushing out data as soon as it is linked.
27699 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27701 Added gst_flow_get_name() to ease error reporting.
27703 2005-07-20 Wim Taymans <wim@fluendo.com>
27705 * gst/gstmessage.c: (gst_message_new_segment_start),
27706 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27707 (gst_message_parse_segment_done):
27708 * gst/gstmessage.h:
27709 Added a bunch of messages for advanced seeking.
27711 * gst/parse/grammar.y:
27712 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27713 (gst_dpman_state_changed):
27714 Fix some new-pad -> pad-added signals
27716 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27718 * docs/manual/appendix-porting.xml:
27719 * docs/pwg/appendix-porting.xml:
27720 Document new-pad/state-change signal renames and the FixedList
27723 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27725 * docs/manual/advanced-autoplugging.xml:
27726 * docs/manual/basics-helloworld.xml:
27727 * docs/manual/basics-pads.xml:
27728 * docs/random/ds/0.9-suggested-changes:
27729 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27730 * gst/gstelement.h:
27734 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27735 (gst_structure_parse_array), (gst_structure_parse_value):
27736 * gst/gstvalue.c: (gst_type_is_fixed),
27737 (gst_value_list_prepend_value), (gst_value_list_append_value),
27738 (gst_value_list_get_size), (gst_value_list_get_value),
27739 (gst_value_transform_array_string), (gst_value_serialize_array),
27740 (gst_value_deserialize_array), (gst_value_intersect_array),
27741 (gst_value_is_fixed), (_gst_value_initialize):
27743 GstElement::new-pad -> pad-added, GstElement::state-change ->
27744 state-changed, GstValueFixedList -> GstValueArray, add format and
27745 flags as their own arguments in gst_element_seek() (should improve
27746 "bindeability"), remove function generators since they don't work
27747 under a whole bunch of compilers (they were deprecated already
27750 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27752 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27753 (_gst_debug_register_funcptr):
27755 Fix illegal cast on some platforms (#309253).
27757 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27759 * gst/gstmessage.c: (gst_message_new_custom):
27760 * gst/gstmessage.h:
27761 Add _new_custom, make _new_application a macro to _new_custom.
27763 2005-07-20 Wim Taymans <wim@fluendo.com>
27765 * gst/base/gstbasesrc.c: (gst_base_src_init),
27766 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27767 * gst/base/gstbasesrc.h:
27768 Add a gboolean to decide when to push out a discont.
27770 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27771 (gst_queue_loop), (gst_queue_handle_src_query),
27772 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27773 (gst_queue_set_property), (gst_queue_get_property):
27776 * tests/threadstate/threadstate1.c: (main):
27777 Make a thread test compile and run... very silly..
27780 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27782 * docs/manual/appendix-porting.xml:
27783 Mention removal of libgstgconf-0.9.la and existence of gconf
27786 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27788 * docs/pwg/advanced-clock.xml:
27789 * docs/pwg/appendix-porting.xml:
27790 * docs/pwg/intro-preface.xml:
27791 * docs/pwg/other-base.xml:
27792 * docs/pwg/other-manager.xml:
27793 * docs/pwg/other-nton.xml:
27794 * docs/pwg/other-ntoone.xml:
27795 * docs/pwg/other-oneton.xml:
27796 * docs/pwg/pwg.xml:
27797 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27798 demuxer), remove n-to-n (was never written), fix some code examples
27799 and links and update the porting section to include all this.
27801 2005-07-19 Wim Taymans <wim@fluendo.com>
27803 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27804 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27805 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27806 (gst_queue_src_activate_push), (gst_queue_change_state),
27807 (gst_queue_get_property):
27809 Propagate GstFlowReturn more intelligently upstream and output
27810 an ERROR/EOS when streaming stopped due to fatal error.
27812 2005-07-19 Wim Taymans <wim@fluendo.com>
27814 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27815 Don't block forever for the state change to complete, the
27816 pipeline already did with a sensible timeout.
27818 2005-07-19 Wim Taymans <wim@fluendo.com>
27820 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27821 Make sure we never call the create function is we
27824 2005-07-19 Andy Wingo <wingo@pobox.com>
27826 * gst/parse/parse.l: Attempt to solve bug #172815.
27828 2005-07-19 Wim Taymans <wim@fluendo.com>
27830 * docs/design/part-clocks.txt:
27831 * docs/design/part-events.txt:
27832 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27833 Small docs updates.
27834 Only update the seeking values when we are not
27837 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27839 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27840 Oops, ignore the result of gst_pad_push_event here.
27842 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27844 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27845 (gst_base_src_activate_push):
27846 Send discont event from the loop function, as pads
27847 aren't activated yet in the activate_push handler.
27849 * gst/gstbin.c: (bin_bus_handler):
27850 Don't leak element name.
27852 2005-07-18 Andy Wingo <wingo@pobox.com>
27854 * configure.ac: Use AS_LIBTOOL_TAGS.
27856 2005-07-18 Wim Taymans <wim@fluendo.com>
27858 * docs/gst/gstreamer.types:
27859 Remove deleted types.
27861 2005-07-18 Wim Taymans <wim@fluendo.com>
27863 * check/elements/gstfakesrc.c: (GST_START_TEST):
27866 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27867 (init_popt_callback):
27869 * gst/gst_private.h:
27870 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27871 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27874 * gst/gstconfig.h.in:
27875 * gst/gstelement.c: (gst_element_class_init),
27876 (gst_element_set_base_time), (gst_element_get_base_time),
27877 (iterator_fold_with_resync), (gst_element_change_state),
27878 (gst_element_dispose), (gst_element_get_bus):
27879 * gst/gstelement.h:
27880 * gst/gstelementfactory.h:
27881 * gst/gsterror.c: (_gst_core_errors_init):
27884 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27886 * gst/gstinfo.c: (_gst_debug_init):
27887 * gst/gstmessage.c: (_gst_message_copy):
27888 * gst/gstmessage.h:
27889 * gst/gstminiobject.h:
27892 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27893 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27896 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27897 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27898 (gst_pipeline_get_last_stream_time):
27899 * gst/gstpipeline.h:
27900 * gst/gstpluginfeature.h:
27902 * gst/gstscheduler.c:
27903 * gst/gstscheduler.h:
27904 * gst/gststructure.h:
27905 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27906 (gst_task_finalize), (gst_task_func), (gst_task_create),
27907 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27908 (gst_task_stop), (gst_task_pause):
27910 * gst/gsttypefind.h:
27912 * gst/registries/gstlibxmlregistry.c: (load_feature),
27913 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27914 * gst/registries/gstxmlregistry.c:
27915 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27916 * gst/schedulers/threadscheduler.c:
27917 * libs/gst/control/dparammanager.h:
27918 * tools/gst-inspect.c: (print_element_list),
27919 (print_plugin_features), (print_element_features):
27920 * tools/gst-xmlinspect.c: (print_element_list),
27921 (print_plugin_info), (main):
27922 Removed plugable schedulers.
27923 Removed Scheduler/Manager from elements.
27924 Removed gsttypes.h, rearranged includes.
27925 Removed dependency pad<->element, element<>pipeline, and
27926 various others, fix includes.
27927 implement gst_pad_get_parent() with gst_object_get_parent()
27928 Make GstTask sefcontained.
27929 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27931 Fix endless loop in iterator_fold_with_resync.
27934 2005-07-18 Wim Taymans <wim@fluendo.com>
27940 2005-07-18 Wim Taymans <wim@fluendo.com>
27943 No more cothreads.h
27945 2005-07-18 Wim Taymans <wim@fluendo.com>
27949 Let's remove these.
27951 2005-07-18 Wim Taymans <wim@fluendo.com>
27953 * docs/design/part-dynamic.txt:
27954 * docs/design/part-events.txt:
27955 * docs/design/part-seeking.txt:
27956 Some more docs in the works.
27958 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27959 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27960 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27961 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27962 (gst_base_transform_handle_buffer),
27963 (gst_base_transform_sink_activate_push),
27964 (gst_base_transform_src_activate_pull),
27965 (gst_base_transform_set_passthrough),
27966 (gst_base_transform_is_passthrough):
27969 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27972 * gst/gstevent.c: (gst_event_finalize):
27975 * gst/gstutils.c: (gst_element_unlink),
27976 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27977 (gst_pad_proxy_setcaps):
27979 Add _get_parent_element() to get a pads parent as an element.
27981 2005-07-18 Wim Taymans <wim@fluendo.com>
27983 * check/gst/gstbin.c: (GST_START_TEST):
27986 2005-07-18 Wim Taymans <wim@fluendo.com>
27988 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27989 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27990 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27991 (gst_base_sink_event), (gst_base_sink_do_sync),
27992 (gst_base_sink_chain), (gst_base_sink_loop),
27993 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27994 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27996 Fix logic for returning ASYNC when not prerolled.
27998 2005-07-18 Wim Taymans <wim@fluendo.com>
28000 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28001 Fix nasty refcount bug.
28003 2005-07-16 Philippe Khalaf <burger@speedy.org>
28005 * gst/elements/gstfdsrc.c:
28006 * gst/elements/gstfdsrc.h:
28007 * gst/elements/gstelements.c:
28008 * gst/elements/Makefile.am:
28009 Ported fdsrc to 0.9.
28011 2005-07-16 Wim Taymans <wim@fluendo.com>
28013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28014 (gst_base_sink_do_sync):
28017 2005-07-16 Wim Taymans <wim@fluendo.com>
28019 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28020 (gst_base_sink_event), (gst_base_sink_get_times),
28021 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28022 * gst/base/gstbasesink.h:
28023 Store and use discont values when syncing buffers as described
28026 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28027 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28028 (gst_base_src_activate_push):
28029 Push discont event when starting.
28031 * gst/elements/gstidentity.c: (gst_identity_transform):
28034 * gst/gstbin.c: (gst_bin_change_state):
28035 Small cleanups in base_time distribution.
28037 * gst/gstelement.c: (gst_element_set_base_time),
28038 (gst_element_get_base_time), (gst_element_change_state):
28039 * gst/gstelement.h:
28040 Added methods for the base_time of the element.
28043 * gst/gstpipeline.c: (gst_pipeline_send_event),
28044 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28045 (gst_pipeline_get_last_stream_time):
28046 * gst/gstpipeline.h:
28048 Handle seeking as described in design doc, remove stream_time
28050 Cleanups clock and stream_time selection code. Added accessors
28051 for the stream_time.
28054 2005-07-16 Andy Wingo <wingo@pobox.com>
28056 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28059 2005-07-16 Wim Taymans <wim@fluendo.com>
28061 * check/gst/gstbin.c: (GST_START_TEST):
28062 Make elements silent as the deep_notify refs the
28063 parent, which might make the test fail.
28065 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28066 Don't hold the lock for too long.
28068 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28070 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28071 Don't unref the caps we passed to gst_caps_make_writable() after
28072 passing them. gst_caps_make_writable() will do that for us.
28074 2005-07-15 Andy Wingo <wingo@pobox.com>
28076 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28079 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28080 own marshalling function for the handoff signal. Properly type the
28081 buffer as a buffer. Fixes some warnings. Should do a more general
28083 (gst_identity_class_init): Plug into the right marshaller.
28085 2005-07-15 Wim Taymans <wim@fluendo.com>
28087 * docs/design/part-TODO.txt:
28088 * docs/design/part-clocks.txt:
28089 * docs/design/part-element-sink.txt:
28090 * docs/design/part-events.txt:
28091 * docs/design/part-gstpipeline.txt:
28092 Updated docs, mostly DISCONT related.
28094 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28096 * docs/pwg/building-pads.xml:
28097 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28099 2005-07-15 Andy Wingo <wingo@pobox.com>
28101 * tools/gst-typefind.c: Update, add copyright block.
28103 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28104 Normalize and truncate caps before fixation.
28107 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28108 discards all but the first structure from its argument.
28110 2005-07-15 Wim Taymans <wim@fluendo.com>
28112 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28113 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28114 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28115 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28116 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28117 (gst_base_transform_chain), (gst_base_transform_change_state),
28118 (gst_base_transform_set_passthrough),
28119 (gst_base_transform_is_passthrough):
28120 * gst/base/gstbasetransform.h:
28121 Make passthrough work using the bufferpools.
28122 Changed API a bit, subclasses have to write into a buffer
28123 provided by the base class.
28124 More debug info in nego functions.
28126 * gst/elements/gstidentity.c: (gst_identity_init),
28127 (gst_identity_transform):
28128 Port to new base class.
28130 2005-07-15 Wim Taymans <wim@fluendo.com>
28132 * gst/gstmessage.c: (gst_message_new_state_changed):
28133 * tools/gst-launch.c: (event_loop), (main):
28134 Totally dump messages in -launch with the -m option.
28135 Fix message name for State messages,
28137 2005-07-14 Wim Taymans <wim@fluendo.com>
28139 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28140 Post error messages on errors.
28142 2005-07-14 Wim Taymans <wim@fluendo.com>
28144 * gst/gstcaps.c: (gst_caps_do_simplify):
28148 Define error for stream stopped.
28150 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28151 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28152 Do proper return values.
28154 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28155 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28156 (gst_pad_get_range):
28157 Better return values.
28160 Reorganise return values, add macro to check for fatal errors.
28162 * gst/gstqueue.c: (gst_queue_chain):
28163 Return proper GstFlowReturn values,
28165 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28167 * docs/gst/gstreamer-sections.txt:
28168 * docs/gst/gstreamer.types:
28169 * docs/gst/tmpl/gst.sgml:
28170 * docs/gst/tmpl/gstbasesink.sgml:
28171 * docs/gst/tmpl/gstbasesrc.sgml:
28172 * docs/gst/tmpl/gstbasetransform.sgml:
28173 * docs/gst/tmpl/gstbin.sgml:
28174 * docs/gst/tmpl/gstbuffer.sgml:
28175 * docs/gst/tmpl/gstcaps.sgml:
28176 * docs/gst/tmpl/gstclock.sgml:
28177 * docs/gst/tmpl/gstcompat.sgml:
28178 * docs/gst/tmpl/gstconfig.sgml:
28179 * docs/gst/tmpl/gstelement.sgml:
28180 * docs/gst/tmpl/gstelementdetails.sgml:
28181 * docs/gst/tmpl/gstelementfactory.sgml:
28182 * docs/gst/tmpl/gstenumtypes.sgml:
28183 * docs/gst/tmpl/gsterror.sgml:
28184 * docs/gst/tmpl/gstevent.sgml:
28185 * docs/gst/tmpl/gstfakesink.sgml:
28186 * docs/gst/tmpl/gstfakesrc.sgml:
28187 * docs/gst/tmpl/gstfilesink.sgml:
28188 * docs/gst/tmpl/gstfilesrc.sgml:
28189 * docs/gst/tmpl/gstfilter.sgml:
28190 * docs/gst/tmpl/gstformat.sgml:
28191 * docs/gst/tmpl/gstghostpad.sgml:
28192 * docs/gst/tmpl/gstimplementsinterface.sgml:
28193 * docs/gst/tmpl/gstindex.sgml:
28194 * docs/gst/tmpl/gstindexfactory.sgml:
28195 * docs/gst/tmpl/gstinfo.sgml:
28196 * docs/gst/tmpl/gstiterator.sgml:
28197 * docs/gst/tmpl/gstmacros.sgml:
28198 * docs/gst/tmpl/gstmemchunk.sgml:
28199 * docs/gst/tmpl/gstminiobject.sgml:
28200 * docs/gst/tmpl/gstobject.sgml:
28201 * docs/gst/tmpl/gstpad.sgml:
28202 * docs/gst/tmpl/gstpadtemplate.sgml:
28203 * docs/gst/tmpl/gstparse.sgml:
28204 * docs/gst/tmpl/gstpipeline.sgml:
28205 * docs/gst/tmpl/gstplugin.sgml:
28206 * docs/gst/tmpl/gstpluginfeature.sgml:
28207 * docs/gst/tmpl/gstquery.sgml:
28208 * docs/gst/tmpl/gstqueue.sgml:
28209 * docs/gst/tmpl/gstregistry.sgml:
28210 * docs/gst/tmpl/gstregistrypool.sgml:
28211 * docs/gst/tmpl/gstscheduler.sgml:
28212 * docs/gst/tmpl/gstschedulerfactory.sgml:
28213 * docs/gst/tmpl/gststructure.sgml:
28214 * docs/gst/tmpl/gstsystemclock.sgml:
28215 * docs/gst/tmpl/gsttaglist.sgml:
28216 * docs/gst/tmpl/gsttagsetter.sgml:
28217 * docs/gst/tmpl/gsttrace.sgml:
28218 * docs/gst/tmpl/gsttrashstack.sgml:
28219 * docs/gst/tmpl/gsttypefind.sgml:
28220 * docs/gst/tmpl/gsttypefindfactory.sgml:
28221 * docs/gst/tmpl/gsttypes.sgml:
28222 * docs/gst/tmpl/gsturihandler.sgml:
28223 * docs/gst/tmpl/gsturitype.sgml:
28224 * docs/gst/tmpl/gstutils.sgml:
28225 * docs/gst/tmpl/gstvalue.sgml:
28226 * docs/gst/tmpl/gstversion.sgml:
28227 * docs/gst/tmpl/gstxml.sgml:
28228 * docs/libs/tmpl/gstcontrol.sgml:
28229 * docs/libs/tmpl/gstdataprotocol.sgml:
28230 * docs/libs/tmpl/gstdparam.sgml:
28231 * docs/libs/tmpl/gstdplinint.sgml:
28232 * docs/libs/tmpl/gstdpman.sgml:
28233 * docs/libs/tmpl/gstdpsmooth.sgml:
28234 * docs/libs/tmpl/gstgetbits.sgml:
28235 * docs/libs/tmpl/gstunitconvert.sgml:
28236 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28237 (gst_push_src_base_init), (gst_push_src_class_init),
28238 (gst_push_src_init), (gst_push_src_create):
28239 * gst/base/gstpushsrc.h:
28240 * gst/elements/gstelements.c:
28241 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28242 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28243 (gst_fake_sink_init), (gst_fake_sink_set_property),
28244 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28245 (gst_fake_sink_event), (gst_fake_sink_preroll),
28246 (gst_fake_sink_render), (gst_fake_sink_change_state):
28247 * gst/elements/gstfakesink.h:
28248 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28249 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28250 (gst_fake_src_base_init), (gst_fake_src_class_init),
28251 (gst_fake_src_init), (gst_fake_src_event_handler),
28252 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28253 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28254 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28255 (gst_fake_src_create_buffer), (gst_fake_src_create),
28256 (gst_fake_src_start), (gst_fake_src_stop):
28257 * gst/elements/gstfakesrc.h:
28258 * gst/elements/gstfilesink.c: (_do_init),
28259 (gst_file_sink_base_init), (gst_file_sink_class_init),
28260 (gst_file_sink_init), (gst_file_sink_dispose),
28261 (gst_file_sink_set_location), (gst_file_sink_set_property),
28262 (gst_file_sink_get_property), (gst_file_sink_open_file),
28263 (gst_file_sink_close_file), (gst_file_sink_query),
28264 (gst_file_sink_event), (gst_file_sink_render),
28265 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28266 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28267 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28268 * gst/elements/gstfilesink.h:
28269 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28270 (gst_file_src_class_init), (gst_file_src_init),
28271 (gst_file_src_finalize), (gst_file_src_set_location),
28272 (gst_file_src_set_property), (gst_file_src_get_property),
28273 (gst_file_src_map_region), (gst_file_src_map_small_region),
28274 (gst_file_src_create_mmap), (gst_file_src_create_read),
28275 (gst_file_src_create), (gst_file_src_is_seekable),
28276 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28277 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28278 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28279 (gst_file_src_uri_handler_init):
28280 * gst/elements/gstfilesrc.h:
28281 more autistic cleanliness in functions/names/defines
28283 2005-07-13 Andy Wingo <wingo@pobox.com>
28285 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28286 source couldn't negotiate.
28288 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28292 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28293 function. I am channeling Hades. Put your boots on suckers!!!
28295 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28297 * testsuite/caps/Makefile.am:
28298 * testsuite/caps/value_compare.c:
28299 * testsuite/caps/value_intersect.c:
28300 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28301 move two testsuite apps over to the check dir
28303 2005-07-12 Wim Taymans <wim@fluendo.com>
28305 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28306 Added more debug info in the negotiate process.
28308 * gst/gstmessage.h:
28309 Prepare for segment playback.
28311 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28317 * tools/gst-launch.c: (main):
28318 NULL pipeline on errors.
28320 2005-07-12 Andy Wingo <wingo@pobox.com>
28322 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28323 not it comes from a malloc region. Make sure our copy gets freed.
28325 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28327 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28328 * check/gst/gstmessage.c: (GST_START_TEST):
28329 * check/gst/gststructure.c: (GST_START_TEST),
28330 (gst_structure_suite), (main):
28332 * gst/gstelement.c: (gst_element_message_full):
28333 clean up GError and debug string now that they get copied
28334 * gst/gstmessage.c: (gst_message_new_error),
28335 (gst_message_new_warning), (gst_message_parse_error),
28336 (gst_message_parse_warning):
28337 use GST_TYPE_G_ERROR for structure_new, and take copies of
28338 arguments, so that we don't mess up refcounting
28340 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28342 * check/Makefile.am:
28343 add per-test valgrind targets
28344 * check/gst-libs/gdp.c: (GST_START_TEST),
28345 (gst_data_protocol_suite), (main):
28348 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28350 * check/Makefile.am:
28351 instate more valgrindable tests
28352 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28353 (GST_START_TEST), (fakesrc_suite):
28354 * check/gst/gstpad.c: (GST_START_TEST):
28355 * check/gst/gststructure.c: (GST_START_TEST):
28357 * docs/gst/tmpl/gstminiobject.sgml:
28358 * gst/gstpad.c: (gst_pad_finalize):
28359 fix the static mutex leak
28361 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28363 * check/Makefile.am:
28364 add two more tests for valgrinding
28365 * check/gst/gstvalue.c: (GST_START_TEST):
28366 test refcount of deserialized buffer, found a leak
28367 * docs/gst/gstreamer-docs.sgml:
28368 * docs/gst/gstreamer-sections.txt:
28369 * docs/gst/gstreamer.types:
28370 * docs/gst/tmpl/gstminiobject.sgml:
28371 add miniobject to docs
28372 * gst/gstminiobject.c:
28374 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28375 (gst_string_unwrap):
28376 fix a hard-to-find invalid write for one of the tests
28377 fix a leak for deserialized buffers
28379 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28381 * docs/pwg/advanced-events.xml:
28382 * docs/pwg/advanced-request.xml:
28383 * docs/pwg/advanced-scheduling.xml:
28384 * docs/pwg/appendix-porting.xml:
28385 * docs/pwg/building-boiler.xml:
28386 * docs/pwg/intro-preface.xml:
28387 * docs/pwg/other-ntoone.xml:
28388 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28389 of example code and explanation for pad activation, loop() and
28390 getrange() functions and a bit more. Remove old comments pointing
28392 * examples/pwg/Makefile.am:
28393 Add loop/getrange examples.
28395 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28398 check for valgrind binary + some fixes
28400 valgrind suppressions for the tests
28401 * check/Makefile.am:
28402 add a valgrind: target that valgrinds the unit tests
28403 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28404 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28405 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28406 * check/gst/gstghostpad.c:
28408 * check/gst/gstdata.c:
28410 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28411 (thread_unref), (gst_mini_object_suite), (main):
28413 * gst/gst.c: (gst_deinit):
28415 add a method to clean up.
28416 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28417 (gst_system_clock_obtain):
28418 allow for disposing the system clock.
28419 * tools/gst-launch.c: (main):
28422 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28424 * docs/gst/tmpl/gstbasesrc.sgml:
28425 * docs/gst/tmpl/gstfakesrc.sgml:
28426 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28427 (gst_base_src_init), (gst_base_src_set_property),
28428 (gst_base_src_get_property), (gst_base_src_get_range),
28429 (gst_base_src_start):
28430 * gst/base/gstbasesrc.h:
28431 add num-buffers property
28432 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28433 (gst_fakesrc_init), (gst_fakesrc_set_property),
28434 (gst_fakesrc_get_property), (gst_fakesrc_create),
28435 (gst_fakesrc_start):
28436 remove num-buffers property
28438 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28440 * docs/gst/gstreamer-sections.txt:
28441 * docs/gst/tmpl/gstbasesink.sgml:
28442 * docs/gst/tmpl/gstbasesrc.sgml:
28443 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28444 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28445 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28446 (gst_base_sink_set_property), (gst_base_sink_get_property),
28447 (gst_base_sink_handle_object), (gst_base_sink_event),
28448 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28449 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28450 (gst_base_sink_loop), (gst_base_sink_deactivate),
28451 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28452 (gst_base_sink_change_state):
28453 * gst/base/gstbasesink.h:
28454 * gst/base/gstbasesrc.h:
28455 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28456 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28457 (gst_filesink_init):
28458 more macro splitting
28460 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28462 * gst/gstelement.c: (gst_element_get_bus):
28464 * tools/gst-launch.c: (check_intr), (event_loop):
28467 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28469 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28472 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28474 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28475 (gst_base_src_finalize):
28476 add finalize method and clean up properly
28477 * gst/gstpipeline.c: (gst_pipeline_dispose):
28480 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28482 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28484 add more things to check
28485 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28486 * gst/gstelement.c:
28489 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28491 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28492 (GST_START_TEST), (fakesrc_suite):
28493 * check/gst-libs/gdp.c: (GST_START_TEST):
28494 * check/gst/gst.c: (GST_START_TEST):
28495 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28496 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28497 * check/gst/gstbus.c: (GST_START_TEST):
28498 * check/gst/gstcaps.c: (GST_START_TEST):
28499 * check/gst/gstdata.c: (GST_START_TEST):
28500 * check/gst/gstelement.c: (GST_START_TEST):
28501 * check/gst/gstghostpad.c: (GST_START_TEST):
28502 * check/gst/gstiterator.c: (GST_START_TEST):
28503 * check/gst/gstmessage.c: (GST_START_TEST):
28504 * check/gst/gstobject.c: (GST_START_TEST):
28505 * check/gst/gstpad.c: (GST_START_TEST):
28506 * check/gst/gststructure.c: (GST_START_TEST):
28507 * check/gst/gstsystemclock.c: (GST_START_TEST),
28508 (gst_systemclock_suite):
28509 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28510 * check/gst/gstvalue.c: (GST_START_TEST):
28511 * check/pipelines/cleanup.c: (GST_START_TEST):
28512 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28513 * check/states/sinks.c: (GST_START_TEST):
28514 * check/gstcheck.c: (gst_check_init):
28515 * check/gstcheck.h:
28516 add debugging category
28517 use GST_START_TEST now, so we add a debug line
28519 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28521 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28522 add test for state change message on a bin
28523 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28525 * gst/gstbin.c: (gst_bin_init):
28526 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28527 * gst/gstelement.c: (gst_element_post_message),
28528 (gst_element_set_state):
28529 * gst/gstelementfactory.c: (gst_element_factory_create):
28530 * gst/gstmessage.c: (gst_message_new):
28531 * gst/gstscheduler.c:
28532 various debugging additions and cleanups
28534 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28536 * check/Makefile.am:
28537 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28539 adding tests for elements
28540 * gst/gstelement.c: (gst_element_dispose):
28542 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28544 * gst/registries/gstlibxmlregistry.c: (load_feature):
28545 plug more leaks. A simple gst_init() now is leakfree, yay.
28547 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28549 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28550 (gst_xml_registry_load):
28551 plug another memleak
28553 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28556 use GST_SET_ERROR_CFLAGS
28557 * docs/faq/cvs.xml:
28558 change to ERROR_CFLAGS
28560 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28563 make GST_ERROR_CFLAGS overridable and re-enable Werror
28564 * docs/faq/cvs.xml:
28565 add a note about error CFLAGS
28566 * docs/gst/tmpl/gstfakesrc.sgml:
28567 * gst/elements/gstfakesrc.c:
28568 comment out some unused code
28569 * gst/gst.c: (split_and_iterate):
28570 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28574 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28576 * common/Makefile.am:
28577 * common/gtk-doc.mak:
28578 * docs/gst/Makefile.am:
28579 factor out gtk-doc.mak
28581 2005-07-07 Wim Taymans <wim@fluendo.com>
28583 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28584 (gst_thread_scheduler_dispose):
28585 Unlock the STREAM_LOCK completely.
28587 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28589 * check/Makefile.am:
28590 * check/elements/.cvsignore:
28591 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28592 (START_TEST), (fakesrc_suite), (main):
28593 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28594 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28595 (gst_fakesrc_create), (gst_fakesrc_start):
28596 * gst/elements/gstfakesrc.h:
28597 adding a first element test
28599 2005-07-07 Andy Wingo <wingo@pobox.com>
28601 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28604 2005-07-07 Wim Taymans <wim@fluendo.com>
28610 2005-07-07 Wim Taymans <wim@fluendo.com>
28612 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28613 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28614 Allow subclasses to implement their own negotiation.
28616 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28618 * docs/design/part-gstbin.txt:
28619 * docs/design/part-gstpipeline.txt:
28620 Update design notes to reflect the movement of
28621 responsibility for bus handling from GstPipeline to
28624 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28627 Remove unnecessary queue2/3/4 examples.
28629 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28631 * examples/Makefile.am:
28632 * examples/helloworld/helloworld.c: (event_loop), (main):
28633 * examples/queue/queue.c: (event_loop), (main):
28634 * examples/queue2/queue2.c: (main):
28635 Update a couple of the examples to work again.
28637 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28638 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28639 Spelling corrections and extra debug.
28641 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28642 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28643 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28645 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28646 (gst_pipeline_change_state):
28647 * gst/gstpipeline.h:
28648 Move the bus handler for children to the GstBin, and create a
28649 separate bus for receiving messages from children to the one the
28650 bus sends 'upwards' on.
28652 2005-07-06 Wim Taymans <wim@fluendo.com>
28655 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28656 (gst_base_sink_handle_object), (gst_base_sink_loop),
28657 (gst_base_sink_change_state):
28658 * gst/base/gstbasesink.h:
28659 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28660 (gst_base_src_init), (gst_base_src_setcaps),
28661 (gst_base_src_getcaps), (gst_base_src_loop),
28662 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28663 (gst_base_src_start), (gst_base_src_change_state):
28664 * gst/base/gstbasesrc.h:
28665 Make basesrc negotiate.
28666 Handle the case where preroll fails in basesink.
28669 2005-07-06 Wim Taymans <wim@fluendo.com>
28671 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28672 Implement the fixate function.
28673 Clean up acceptcaps.
28675 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28677 * docs/pwg/building-filterfactory.xml:
28678 * docs/pwg/pwg.xml:
28679 Remove never-written filter-factory chapter; I'll add the various
28680 base classes to part 4 ("other element types") later on.
28682 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28684 * docs/pwg/advanced-negotiation.xml:
28685 * docs/pwg/building-boiler.xml:
28686 * docs/pwg/building-pads.xml:
28687 * docs/pwg/pwg.xml:
28688 * examples/pwg/Makefile.am:
28689 Add a chapter on caps negotiation, simplify the original code
28690 samples a bit w.r.t. caps negotiation, add link to the advanced
28691 section. Add a bunch of examples showing different use cases of
28692 different types of caps negotiation. Upstream renegotiation isn't
28693 fully documented yet since nobody knows how that works.
28695 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28697 * check/gst/gstpad.c:
28698 * check/gstcheck.c:
28699 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28700 if pad has no parent, return NULL as list of internal links
28702 2005-07-05 Andy Wingo <wingo@pobox.com>
28704 * gst/elements/gstfilesrc.c:
28705 * gst/elements/gstfakesrc.c:
28706 * gst/base/gstpushsrc.c:
28707 * gst/base/gstbasesrc.h:
28708 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28710 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28713 better report generation target (lcov needs a patch)
28715 2005-07-05 Andy Wingo <wingo@pobox.com>
28717 * gst/elements, testsuite: Null if we got it...
28719 2005-07-05 Wim Taymans <wim@fluendo.com>
28722 * libs/gst/dataprotocol/Makefile.am:
28723 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28724 * libs/gst/dataprotocol/dataprotocol.h:
28725 * pkgconfig/Makefile.am:
28726 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28727 * pkgconfig/gstreamer-dataprotocol.pc.in:
28728 Ported dataprotol to 0.9.
28729 Added pkgconfig files.
28731 2005-07-05 Andy Wingo <wingo@pobox.com>
28733 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28734 Default to returning TRUE for the case when tranform_caps returns
28735 a fixed caps, like for identity or volume.
28737 * check/gst/gstbus.c (pound_bus_with_messages):
28738 * check/gst/gstmessage.c (START_TEST):
28739 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28740 message API change.
28742 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28743 logic weaks here: always run transform_caps, trying passthrough
28744 operation only if the original caps intersects with the transform.
28746 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28747 source and sink caps.
28749 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28750 Intersect the peer caps with the pad template before going into
28752 (gst_base_transform_transform_caps): More debugging.
28754 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28757 2005-07-04 Edward Hervey <edward@fluendo.com>
28761 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28764 2005-07-04 Andy Wingo <wingo@pobox.com>
28766 * check/gst/gstpad.c: Only set explicit caps on pads.
28768 2005-07-01 Andy Wingo <wingo@pobox.com>
28770 * tests/network-clock.scm: Commentary update.
28772 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28773 Didn't really make sense, not implementable with basetransform,
28775 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28776 attempt at implementing the sync property, needs an unlock method.
28778 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28779 New func, by default returns the same caps (the identity
28781 (gst_base_transform_getcaps): Uses transform_caps to return
28782 something sensible.
28783 (gst_base_transform_setcaps): Complicated logic to get caps on
28784 both pads, even if they are different, and to call set_caps once
28785 for every time both pads get their caps set.
28786 (gst_base_transform_handle_buffer): Give the ref to the transform
28787 function. Allows in-place modification of the buffer.
28789 * gst/base/gstbasetransform.h (transform_caps): New class method.
28790 Given caps on one side, what can I do on the other.
28791 (set_caps): Take two caps, one for each side of the element.
28794 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28795 caps in place. This is safe because we can check the mutability of
28796 the caps, and a good idea because fixate functions are just called
28797 as a matter of last resort. (Not actually implemented.)
28798 (gst_pad_set_caps): If the caps we're setting is actually the same
28799 as the existing pad caps, just update the pointer without calling
28800 setcaps. Assert that caps is either NULL or fixed, as per the
28803 * gst/gstghostpad.c: Update for fixate changes.
28805 2005-07-02 Andy Wingo <wingo@pobox.com>
28808 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28809 two refcounts makes it immutable, which is enough. Doc more.
28811 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28813 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28814 Put the mini_object into GValue as a mini_object,
28815 not a gpointer, since that's how we declared
28818 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28820 * examples/pwg/Makefile.am:
28821 Fix buildbot again.
28823 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28825 * docs/pwg/building-testapp.xml:
28827 * examples/pwg/Makefile.am:
28830 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28833 * examples/Makefile.am:
28834 * examples/pwg/Makefile.am:
28835 * examples/pwg/extract.pl:
28836 Enable building the PWG examples.
28837 * docs/pwg/advanced-interfaces.xml:
28838 Add URI interface stub.
28839 * docs/pwg/advanced-types.xml:
28840 * docs/pwg/other-autoplugger.xml:
28841 * docs/pwg/appendix-porting.xml:
28842 * docs/pwg/pwg.xml:
28843 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28844 * docs/pwg/building-boiler.xml:
28845 * docs/pwg/building-chainfn.xml:
28846 * docs/pwg/building-pads.xml:
28847 * docs/pwg/building-props.xml:
28848 * docs/pwg/building-state.xml:
28849 * docs/pwg/building-testapp.xml:
28850 Update the building-*.xml parts for 0.9 changes. All examples
28851 code blocks compile in examples/pwg/*.
28853 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28855 * docs/manual/advanced-autoplugging.xml:
28856 * docs/manual/appendix-checklist.xml:
28857 * docs/manual/appendix-integration.xml:
28858 * docs/manual/highlevel-components.xml:
28859 Fix playbin/decodebin examples, update docs a bit, mention bus
28860 instead of signals in various places, mention kmplayer and
28861 kaffeine since they have a working GStreamer backend in the KDE
28864 2005-06-30 Wim Taymans <wim@fluendo.com>
28867 * docs/design/draft-ghostpads.txt:
28868 * docs/design/draft-push-pull.txt:
28869 * docs/design/draft-query.txt:
28870 * docs/design/part-TODO.txt:
28871 * docs/design/part-query.txt:
28872 Added CHANGES-0.9 doc, updated status of other docs.
28877 2005-06-30 Wim Taymans <wim@fluendo.com>
28879 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28880 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28881 (gst_base_sink_change_state):
28882 * gst/base/gstbasesink.h:
28883 Some tweaks, only EOS and a buffer complete a preroll.
28885 2005-06-30 Andy Wingo <wingo@pobox.com>
28887 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28888 activate_push down to the internal pad as well.
28890 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28892 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28894 * gst/gsttaginterface.c:
28895 Some documentation fixes (#307394 and #307397).
28897 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28899 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28901 * gst/gstvalue.c: (gst_value_intersect_list):
28902 Fix memleak (#309125).
28904 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28906 * docs/manual/advanced-dataaccess.xml:
28907 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28908 * docs/manual/basics-pads.xml:
28909 Add reference for filtered caps to above chapter.
28911 2005-06-30 Wim Taymans <wim@fluendo.com>
28913 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28914 (gst_bin_change_state):
28916 Lame attempt at making the state change function a bit
28919 2005-06-30 Wim Taymans <wim@fluendo.com>
28921 * docs/design/part-clocks.txt:
28922 * docs/design/part-element-sink.txt:
28923 * docs/design/part-events.txt:
28924 * docs/design/part-preroll.txt:
28925 * docs/design/part-states.txt:
28926 Some more tweeks and additions to the docs.
28928 2005-06-30 Wim Taymans <wim@fluendo.com>
28930 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28931 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28932 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28933 (gst_pad_check_pull_range), (gst_pad_get_range),
28934 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28936 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28937 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28938 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28939 (gst_pad_remove_buffer_probe):
28940 Removed atomic operations, use existing LOCK.
28941 Move exception handling out of main code path.
28943 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28945 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28946 (silly_return_true_function), (gst_pad_class_init),
28947 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28948 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28949 (gst_pad_send_event):
28950 Fix accumulator, add default value by using _emitv() instead
28951 of _emit() for signal emission.
28953 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28955 * docs/manual/advanced-dataaccess.xml:
28956 * examples/manual/Makefile.am:
28958 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28961 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28963 * gst/elements/gstfilesink.c: (gst_filesink_render):
28964 Simplify code so that we don't have to handle short
28965 writes and return GST_FLOW_ERROR if an error occured.
28967 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28969 * docs/gst/gstreamer-docs.sgml:
28970 Remove probes more.
28972 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28974 * docs/gst/gstreamer-sections.txt:
28975 * docs/gst/tmpl/gstpad.sgml:
28976 * docs/gst/tmpl/gstprobe.sgml:
28978 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28979 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28980 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28981 (gst_pad_push_event), (gst_pad_send_event):
28983 * gst/gstutils.c: (gst_pad_add_data_probe),
28984 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28985 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28986 (gst_pad_remove_buffer_probe):
28988 Remove old probes, add new g-signal-based probes and some utility
28991 2005-06-29 Edward Hervey <edward@fluendo.com>
28993 * gst/gstelementfactory.c:
28996 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28997 the definition to the header file.
28999 2005-06-29 Andy Wingo <wingo@pobox.com>
29001 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29002 plugins from the source directory.
29004 2005-06-29 Wim Taymans <wim@fluendo.com>
29006 * docs/gst/tmpl/gstbuffer.sgml:
29007 * docs/gst/tmpl/gstclock.sgml:
29008 Some fixings for blantently wrong text.
29010 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29012 * check/Makefile.am:
29013 * gst/gst.c: (add_path_func), (init_pre):
29014 * gst/gstregistry.c: (gst_registry_add_path):
29015 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29016 only scan the GST_PLUGIN_PATH locations, and not add
29019 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29021 * docs/gst/gstreamer-sections.txt:
29022 * docs/gst/tmpl/gstbasesrc.sgml:
29023 * gst/gstelement.c:
29024 * gst/gstelement.h:
29029 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29031 * docs/manual/advanced-autoplugging.xml:
29032 Fix autoplugging example.
29034 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29036 * docs/manual/advanced-autoplugging.xml:
29037 * docs/manual/mime-world.fig:
29038 Try to get autoplugging working, fix type detection. Fix text
29039 in hello-world image.
29041 2005-06-29 Wim Taymans <wim@fluendo.com>
29043 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29044 (gst_base_sink_change_state):
29048 map SIGNAL and BROADCAST to the right function.
29051 Remove redundant braces.
29053 * gst/gstpad.c: (gst_pad_set_caps):
29054 Don't call setcaps function when reseting caps to NULL.
29056 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29057 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29058 (gst_system_clock_id_unschedule):
29059 Use BROADCAST as this is what we do.
29061 2005-06-29 Wim Taymans <wim@fluendo.com>
29063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29064 We are actually prerolling before commiting the state
29067 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29069 * docs/manual/advanced-clocks.xml:
29070 * docs/manual/advanced-interfaces.xml:
29071 * docs/manual/advanced-metadata.xml:
29072 * docs/manual/advanced-position.xml:
29073 * docs/manual/advanced-schedulers.xml:
29074 * docs/manual/advanced-threads.xml:
29075 * docs/manual/appendix-porting.xml:
29076 * docs/manual/basics-bins.xml:
29077 * docs/manual/basics-bus.xml:
29078 * docs/manual/basics-elements.xml:
29079 * docs/manual/basics-helloworld.xml:
29080 * docs/manual/basics-pads.xml:
29081 * docs/manual/highlevel-components.xml:
29082 * docs/manual/manual.xml:
29083 * docs/manual/thread.fig:
29084 Update (until threads/scheduling) Application Development Manual;
29085 remove GstThread, add GstBus, add simple porting checklist, add
29086 documentation for tag writing, clocks, make all examples until this
29087 part compile and run.
29088 * examples/manual/Makefile.am:
29089 Update from changes to Application Development Manual; add bus
29090 example, remove thread example.
29092 2005-06-28 Wim Taymans <wim@fluendo.com>
29094 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29095 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29096 (gst_bus_source_dispatch):
29097 Add debugging messages.
29098 Make internal methods static.
29099 Handle the case where the bus is flushed in the handler.
29101 * gst/gstelement.c: (gst_element_get_bus):
29102 Fix refcount in _get_bus();
29104 * gst/gstpipeline.c: (gst_pipeline_change_state),
29105 (gst_pipeline_get_clock_func):
29106 Clock refcounting fixes.
29107 Handle the case where preroll timed out more gracefully.
29109 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29110 Clean up the internal thread in dispose. This is needed
29111 for subclasses that actually get disposed.
29113 * gst/schedulers/threadscheduler.c:
29114 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29115 (gst_thread_scheduler_dispose):
29116 Free thread pool in dispose.
29118 2005-06-28 Andy Wingo <wingo@pobox.com>
29120 * tests/network-clock-utils.scm (debug, print-event): New utils.
29122 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29123 (*packet-loss*): Unified loss probability.
29124 (network-time): Report out-of-band events.
29126 * tests/plot-data: Add support for out-of-band events. Hack it
29127 into this script instead of passing it down the pipe; should fix
29130 2005-06-28 Wim Taymans <wim@fluendo.com>
29132 * docs/gst/gstreamer.types:
29133 * docs/gst/tmpl/gstbasesrc.sgml:
29134 * docs/gst/tmpl/gstpad.sgml:
29137 2005-06-28 Wim Taymans <wim@fluendo.com>
29139 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29140 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29141 (gst_proxy_pad_do_fixatecaps):
29142 Correctly proxy the check_pull_range function.
29144 2005-06-28 Andy Wingo <wingo@pobox.com>
29146 * tests/network-clock.scm: Removed need for slib.
29148 2005-06-28 Wim Taymans <wim@fluendo.com>
29150 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29151 (gst_basesink_preroll_queue_flush):
29152 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29153 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29154 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29155 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29156 (gst_proxy_pad_set_property):
29159 * gst/gstqueue.c: (gst_queue_init):
29160 The deprecated pad loop function is removed now.
29162 2005-06-28 Andy Wingo <wingo@pobox.com>
29164 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29165 New parameters, simulate network packet loss.
29167 * tests/network-clock-utils.scm: Initialize the RNG.
29169 2005-06-28 Wim Taymans <wim@fluendo.com>
29171 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29172 (gst_basesink_event), (gst_basesink_deactivate):
29173 Flushing the preroll queue always needs to unlock the waiters.
29175 2005-06-28 Edward Hervey <edward@fluendo.com>
29177 * gst/gstpipeline.c: (gst_pipeline_send_event):
29178 Wheen a seek was successful on a pipeline, set the stream_time to the
29179 seek offset in order to have a synchronized stream_time.
29181 2005-06-28 Wim Taymans <wim@fluendo.com>
29183 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29184 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29185 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29186 (gst_proxy_pad_do_fixatecaps):
29187 Call wrapper function instead of just calling the function
29188 pointers. This takes care of any locking and whatmore.
29190 2005-06-28 Wim Taymans <wim@fluendo.com>
29192 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29193 (gst_pad_pull_range):
29195 CONNECTED -> LINKED.
29197 2005-06-28 Andy Wingo <wingo@pobox.com>
29199 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29200 source-munging commit!!!
29202 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29203 (gst_object_sink): Take gpointer arguments, not GstObject --
29204 avoids casts. Like GLib.
29206 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29209 2005-06-27 Andy Wingo <wingo@pobox.com>
29211 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29214 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29215 returns a sorted copy of the trace list.
29216 (gst_alloc_trace_print_live): New API, only prints traces with
29217 live objects. Sort the list.
29218 (gst_alloc_trace_print_all): Sort the list.
29219 (gst_alloc_trace_print): Align columns.
29221 * gst/elements/gstttypefindelement.c:
29222 * gst/elements/gsttee.c:
29223 * gst/base/gstbasesrc.c:
29224 * gst/base/gstbasesink.c:
29225 * gst/base/gstbasetransform.c:
29226 * gst/gstqueue.c: Adapt for pad activation changes.
29228 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29230 (gst_pipeline_dispose): Drop ref on sched.
29232 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29233 (gst_pad_activate_default): Push mode by default.
29234 (pre_activate_switch, post_activate_switch): New stubs, things to
29235 do before and after switching activation modes on pads.
29236 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29237 the pad's activate function to choose which mode to activate.
29238 Shortcut on deactivation and call the right function directly.
29239 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29241 (gst_pad_activate_push): New API, same for push mode.
29242 (gst_pad_set_activate_function)
29243 (gst_pad_set_activatepull_function)
29244 (gst_pad_set_activatepush_function): Setters for new API.
29246 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29247 Trace all miniobjects.
29248 (gst_mini_object_make_writable): Unref the arg if we copy, like
29249 gst_caps_make_writable.
29251 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29253 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29254 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29255 Adapt for new pad API.
29257 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29259 * gst/gstelement.h:
29260 * gst/gstelement.c (gst_element_iterate_src_pads)
29261 (gst_element_iterate_sink_pads): New API functions.
29263 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29264 should fold into gstiterator.c in some form.
29265 (gst_element_pads_activate): Simplified via use of fold and
29266 delegation of decisions to gstpad->activate.
29268 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29271 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29272 class once in init, like gstmessage. Didn't run into this issue
29273 but it seems correct. Don't initialize a trace, gstminiobject does
29276 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29277 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29279 (assert_live_count): New util function, uses alloc traces to check
29282 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29283 To be modified when unlink drops the internal pad.
29285 2005-06-27 Wim Taymans <wim@fluendo.com>
29287 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29288 (gst_bin_change_state):
29289 Cleanup the get_state() function a little, make sure it
29290 iterates the same set of elements.
29291 Added stub iterate_state_order().
29293 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29295 * docs/gst/gstreamer-docs.sgml:
29296 * docs/gst/gstreamer-sections.txt:
29297 * docs/gst/gstreamer.types:
29298 * docs/gst/tmpl/gstbasesink.sgml:
29299 * docs/gst/tmpl/gstbasesrc.sgml:
29300 * docs/gst/tmpl/gstbasetransform.sgml:
29301 * docs/gst/tmpl/gstelement.sgml:
29302 * docs/gst/tmpl/gstiterator.sgml:
29303 * gst/base/gstbasesrc.c:
29304 * gst/base/gstbasesrc.h:
29305 * gst/base/gstbasetransform.h:
29306 * gst/gstelement.c:
29307 * gst/gstiterator.h:
29308 adding basetransform and iterator docs
29310 2005-06-27 Andy Wingo <wingo@pobox.com>
29312 * docs/design/part-activation.txt: Notes on how activation should
29313 work -- not quite implemented yet.
29315 2005-06-25 Wim Taymans <wim@fluendo.com>
29317 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29318 At least get the chain function correct, needs more
29321 2005-06-25 Wim Taymans <wim@fluendo.com>
29323 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29324 (gst_basesink_handle_object), (gst_basesink_event),
29325 (gst_basesink_do_sync), (gst_basesink_handle_event),
29326 (gst_basesink_change_state):
29328 Right, two problems here: ghostpads don't take locks and
29329 glib _rec_mutex_lock_full() with depth==0 still locks.
29330 Catch illegal locking and g_warn them.
29332 2005-06-25 Wim Taymans <wim@fluendo.com>
29334 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29335 Have to check for completion now...
29337 2005-06-25 Wim Taymans <wim@fluendo.com>
29339 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29340 (gst_basesink_handle_object), (gst_basesink_event),
29341 (gst_basesink_do_sync), (gst_basesink_handle_event),
29342 (gst_basesink_change_state):
29344 Unlock STREAM_LOCK whatever the recursion was.
29346 2005-06-25 Wim Taymans <wim@fluendo.com>
29348 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29349 (gst_basesink_preroll_queue_empty),
29350 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29351 (gst_basesink_event), (gst_basesink_do_sync),
29352 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29353 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29354 (gst_basesink_change_state):
29355 Reworked the base sink, handle event and buffer serialisation
29356 correctly and removed possible deadlock.
29357 Handle EOS correctly.
29359 2005-06-25 Wim Taymans <wim@fluendo.com>
29361 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29362 (gst_pipeline_change_state):
29363 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29364 Allow elements to post EOS in the state change function.
29365 Fix up -launch, make it exit the poll loop when the
29366 pipeline actually changed state.
29367 Fix up warning parsing in -launch.
29369 2005-06-25 Wim Taymans <wim@fluendo.com>
29371 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29372 (gst_tee_sink_activate):
29373 Core takes STREAM_LOCK for us now.
29375 2005-06-25 Wim Taymans <wim@fluendo.com>
29377 * gst/gstelement.c: (gst_element_get_state_func),
29378 (gst_element_set_state):
29379 * gst/gstelement.h:
29380 * gst/gstmessage.c: (gst_message_parse_error),
29381 (gst_message_parse_warning):
29382 Keep track of current target state while performing a state
29383 change so that subclasses can do something interesting.
29384 Fix parsing of warning/error messages when GError is NULL.
29386 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29388 * docs/gst/Makefile.am:
29389 * docs/gst/gstreamer-docs.sgml:
29390 * docs/gst/gstreamer-sections.txt:
29391 * docs/gst/gstreamer.types:
29392 * docs/gst/tmpl/gstbasesink.sgml:
29393 * docs/gst/tmpl/gstbasesrc.sgml:
29394 * docs/gst/tmpl/gstbin.sgml:
29395 * docs/gst/tmpl/gstcompat.sgml:
29396 * docs/gst/tmpl/gstfakesink.sgml:
29397 * docs/gst/tmpl/gstfakesrc.sgml:
29398 * docs/gst/tmpl/gstfilesink.sgml:
29399 * docs/gst/tmpl/gstfilesrc.sgml:
29400 * docs/gst/tmpl/gstindex.sgml:
29401 * docs/manual/appendix-quotes.xml:
29402 * gst/base/gstbasesrc.h:
29403 * gst/elements/gstfakesrc.h:
29404 * gst/gstmessage.h:
29405 start pulling in base classes and elements in our docs
29407 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29409 * docs/gst/Makefile.am:
29410 * docs/libs/Makefile.am:
29411 fixed make distcheck with gtk-doc 1.3
29413 2005-06-23 Wim Taymans <wim@fluendo.com>
29415 * gst/gstelement.c: (gst_element_get_state_func),
29416 (gst_element_set_state), (gst_element_change_state):
29417 When the state did not change, also report NO_PREROLL
29420 2005-06-23 Wim Taymans <wim@fluendo.com>
29422 * gst/gstpad.c: (gst_pad_event_default):
29423 * gst/gstqueue.c: (gst_queue_loop):
29424 No unsafe task pausing please.
29426 2005-06-23 Wim Taymans <wim@fluendo.com>
29428 * gst/schedulers/threadscheduler.c:
29429 (gst_thread_scheduler_task_start),
29430 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29431 Ref the task before pushing it on the threadpool. This
29432 makes sure that we have a ref when the threadfunction is
29435 2005-06-23 Andy Wingo <wingo@pobox.com>
29437 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29438 offset is greater than the file's size.
29440 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29441 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29442 * gst/gstobject.c (gst_object_class_init): Make the class lock
29443 recursive. Wim won't let me drop deep_notify. Decodebin works
29444 again, whoopdy doo.
29446 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29447 internal pad, and hacks accordingly. Doesn't do it on the target
29448 pad because we change its caps. Probably catches all cases of
29450 (gst_ghost_pad_set_property): Connect to notify::caps as
29453 * tests/network-clock.scm (plot-simulation): Pipe data to the
29454 elite python skript.
29456 * tests/network-clock-utils.scm (define-parameter): New macro,
29457 defines a parameter that can be set via the command line.
29458 (set-parameter!, parse-parameter-arguments): Command line args
29461 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29464 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29466 * gst/elements/gsttypefindelement.c:
29467 (gst_type_find_element_handle_event):
29468 Don't restart typefinding on a discont.
29469 * gst/gstelement.c: (gst_element_set_state):
29470 Debug spelling fix.
29471 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29472 Allow changing mode of an active pad.
29473 Debug output fixes.
29474 * gst/registries/gstlibxmlregistry.c: (load_feature):
29475 Don't cast a static pad template to a normal pad template.
29477 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29479 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29480 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29481 remove gst_strtoll completely, since it didn't actually do
29482 anything more than what g_ascii_strtoull already does.
29483 check for range errors when deserializing
29484 do a cast for the unsigned cases; but further fixing needs
29485 a decision on what the interpretation of "(int)" and
29486 deserialization should be for values that fall outside the
29487 type's boundaries (ie, refuse, or interpret as casting)
29489 2005-06-23 Wim Taymans <wim@fluendo.com>
29491 * check/Makefile.am:
29492 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29493 * docs/design/part-live-source.txt:
29494 * docs/design/part-states.txt:
29495 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29496 (gst_basesrc_set_live), (gst_basesrc_is_live),
29497 (gst_basesrc_get_range), (gst_basesrc_activate),
29498 (gst_basesrc_change_state):
29499 * gst/base/gstbasesrc.h:
29500 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29501 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29502 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29503 * gst/gstelement.c: (gst_element_get_state_func),
29504 (gst_element_set_state):
29505 * gst/gstelement.h:
29507 * tools/gst-launch.c: (event_loop), (main):
29508 Added support for live sources and other elements that
29510 Updated design docs, added live-source design doc.
29511 Implemented live source functionality in basesrc
29512 Fix error condition in _bin_get_state()
29513 Implement live source handling in -launch.
29514 Added check for live sources.
29515 Fixed case in GstBin where elements were changed state
29519 2005-06-23 Andy Wingo <wingo@pobox.com>
29521 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29522 borken refcounting.
29524 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29525 gst_caps_replace takes care of this for us.
29527 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29528 gst_pad_set_caps on the target, not just its setcaps() function.
29530 * tests/network-clock.scm:
29531 * tests/network-clock-utils.scm: A network clock simulator.
29532 Something of an algorithmic testbed before doing something in C.
29534 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29536 * check/Makefile.am:
29537 * check/gst/capslist.h:
29538 copy over from 0.8, and add two with bitmasks specified with
29540 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29541 add test to parse everything from capslist.h
29542 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29544 add test for structure deserialization
29545 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29546 add tests for deserialization of strings to int types
29547 * gst/gststructure.c: (gst_structure_nth_field_name):
29548 * gst/gststructure.h:
29549 add a way to get the name of a field referenced by index
29550 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29551 instead of checking if the resulting long long lies between
29552 min and max, we check if the long long would fit into
29553 a number of bytes for the final type.
29554 This fixes cases where a string represents 2^32 - 1, which
29555 when cast to int would be the (valid) -1, but is bigger than
29558 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29560 * gst/parse/grammar.y:
29561 add a log line for type deserialization
29563 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29565 * check/gst/gstvalue.c: (START_TEST):
29566 * gst/gstvalue.c: (gst_value_deserialize):
29567 return long long, not int, so gint64 deserialization actually
29568 works. Is there any flag that makes the compiler check this ?
29571 2005-06-22 Wim Taymans <wim@fluendo.com>
29574 Added convenience macros for setting buffers in GValue.
29576 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29578 * check/gst/.cvsignore:
29579 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29580 add a test deserializing int64, and comment part out because
29583 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29585 * check/Makefile.am:
29586 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29587 * testsuite/Makefile.am:
29588 * testsuite/caps/Makefile.am:
29589 * testsuite/caps/value_serialize.c:
29590 * testsuite/test_gst_init.c:
29591 move a value_serialize test over
29593 2005-06-20 Wim Taymans <wim@fluendo.com>
29598 * gst/gstvalue.c: (gst_value_compare_buffer),
29599 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29600 (gst_value_compare_flags), (gst_value_serialize_flags),
29601 (gst_value_deserialize_flags), (_gst_value_initialize):
29602 Fix serialisation of buffers, they are not boxed types anymore
29604 2005-06-20 Wim Taymans <wim@fluendo.com>
29606 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29607 Testcase to show error in buffer-on-caps serialisation.
29609 2005-06-20 Andy Wingo <wingo@pobox.com>
29611 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29612 will be adding to later.
29614 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29615 if its socks fill with rocks.
29616 (gst_system_clock_obtain): Set the name on object construction.
29617 Avoid double-checked locking.
29619 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29621 * gst/gsturi.c: (gst_element_make_from_uri):
29622 Fix potential endless loop.
29624 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29626 * check/Makefile.am:
29628 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29630 move over from testsuite dir and clean up
29633 * testsuite/Makefile.am:
29634 * testsuite/tags/.cvsignore:
29635 * testsuite/tags/Makefile.am:
29636 * testsuite/tags/merge.c:
29637 remove testsuite/tags
29639 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29641 * docs/gst/gstreamer-sections.txt:
29642 * docs/gst/tmpl/gstenumtypes.sgml:
29643 * win32/gstenumtypes.c:
29644 clean up documentation build a little
29646 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29648 * check/gstcheck.h:
29649 add macros for checking refcounts on objects and caps
29650 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29651 add some more unit tests
29652 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29653 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29654 fix leaked refcounts (I hope :)) so unittest works
29658 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29660 * configure.ac: back to HEAD
29662 === release 0.9.1 ===
29664 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29670 2005-06-17 Andy Wingo <wingo@pobox.com>
29672 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29673 assert; it's always possible that the pad gets deactivated in
29674 between the checks in gstpad.c and the implementation. Rely on
29675 finish_preroll() to return a FLUSHING or similar instead of on the
29678 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29679 clock and post an EOS message if we come out of finish_preroll in
29682 2005-06-16 David Schleef <ds@schleef.org>
29684 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29685 (gst_capsfilter_set_property): Allow NULL as possible value
29686 for filter_caps property, indicating GST_CAPS_ANY.
29688 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29690 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29692 * gst/schedulers/Makefile.am:
29694 * gstreamer.spec.in:
29697 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29699 * gstreamer.spec.in:
29702 2005-06-08 Andy Wingo <wingo@pobox.com>
29704 * gst/gstutils.c: RPAD fixes all around.
29705 (gst_element_link_pads): Refcounting fixes.
29707 * tools/gst-inspect.c:
29708 * tools/gst-xmlinspect.c:
29710 * gst/base/gsttypefindhelper.c:
29711 * gst/base/gstbasesink.c:
29712 * gst/gstqueue.c: RPAD fixes.
29714 * gst/gstghostpad.h:
29715 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29716 pads. The tricky thing is they provide both source and sink
29717 interfaces, since they proxy the internal pad for the external
29718 pad, and vice versa. Implement with lower-level ProxyPad objects,
29719 with the interior proxy pad as a child of the exterior ghost pad.
29720 Should write a doc on this.
29722 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29723 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29726 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29727 pads are real pads. No ghost pads in this file. Not documenting
29728 the myriad s/RPAD/PAD/ and REALIZE fixes.
29729 (gst_pad_class_init): Add properties for "direction" and
29730 "template". Both are construct-only, so they can't change during
29731 the life of the pad. Fixes properly deriving from GstPad.
29732 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29733 derived objects, just set properties when creating the objects via
29735 (gst_pad_get_parent): Implement as a function, return NULL if the
29736 parent is not an element.
29737 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29738 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29740 * gst/gstobject.c (gst_object_class_init): Make name a construct
29741 property. Don't set it in the object init.
29743 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29744 with UNKNOWN direction.
29745 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29746 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29747 (gst_element_remove_pad): Remove ghost-pad special cases.
29748 (gst_element_pads_activate): Remove rpad cruft.
29750 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29751 catch the pad's-parent-not-an-element case.
29753 * gst/gst.h: Include gstghostpad.h.
29755 * gst/gst.c (init_post): No more real, ghost pads.
29757 * gst/Makefile.am: Add gstghostpad.[ch].
29759 * check/Makefile.am:
29760 * check/gst/gstbin.c:
29761 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29762 into a bin creates ghost pads, and that the refcounts are right.
29763 Partly moved from gstbin.c.
29765 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29767 * check/gst-libs/.cvsignore:
29768 * check/gst/.cvsignore:
29769 * check/pipelines/.cvsignore:
29771 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29772 (START_TEST), (cleanup_suite), (main):
29773 add some tests related to cleanup after running pipelines
29775 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29777 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29778 add a testsuite for GstBuffer
29780 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29782 * gst/gstminiobject.h:
29783 add defines for accessing the refcount
29785 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29787 * Makefile.am: added support for html unit test coverage reports
29789 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29791 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29792 Free existing caps if the capsfilter changes. Add a FIXME about
29793 setting those caps on the pads.
29795 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29796 Before adding a ghost pad to a parent bin, check that there isn't
29797 already one for the element on the bin. Prevents infinite recursion
29798 when using decodebin in parse pipelines. Andy says he'll rewrite the
29799 way this works anyway, so ignore the hack.
29801 2005-06-02 Andy Wingo <wingo@pobox.com>
29803 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29804 file size, pass it on to the type find helper.
29806 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29807 segment_start and segment_end properly according to the seek
29808 method. Segment_end is still a bit flaky because offset can be
29809 negative for CUR and END cases, but it takes -1 as an "unset"
29812 2005-06-02 Wim Taymans <wim@fluendo.com>
29814 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29815 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29816 (gst_basesink_activate):
29817 * gst/base/gstbasesink.h:
29818 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29819 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29820 (gst_pad_query), (gst_pad_start_task):
29822 * gst/gstqueue.c: (gst_queue_bufferalloc),
29823 (gst_queue_handle_sink_event), (gst_queue_chain):
29824 Bufferalloc: return GstFlowReturn to more accuratly report
29825 why allocation failed.
29827 2005-06-02 Wim Taymans <wim@fluendo.com>
29829 * gst/gstpipeline.c: (gst_pipeline_send_event):
29830 Take snapshot of state without blocking.
29832 2005-06-02 Wim Taymans <wim@fluendo.com>
29834 * docs/design/part-TODO.txt:
29835 * docs/design/part-caps.txt:
29836 * docs/design/part-clocks.txt:
29837 * docs/design/part-negotiation.txt:
29838 * docs/design/part-preroll.txt:
29841 2005-05-30 Wim Taymans <wim@fluendo.com>
29843 * gst/elements/gstidentity.c: (gst_identity_event),
29844 (gst_identity_transform), (gst_identity_get_property):
29845 Protect last_message property as it is accessed from
29848 2005-05-30 Wim Taymans <wim@fluendo.com>
29850 * gst/gstelement.c: (gst_element_init),
29851 (gst_element_pads_activate), (gst_element_change_state):
29852 Slicker pad activation code.
29854 2005-05-30 Wim Taymans <wim@fluendo.com>
29857 * gst/gstelement.h:
29858 * gst/gstelementfactory.h:
29860 Move elementfactory methods to separate .h file.
29862 2005-05-30 Wim Taymans <wim@fluendo.com>
29864 * docs/design/part-overview.txt:
29865 * gst/gstsystemclock.h:
29866 Small typo fixes, doc updates.
29868 2005-05-30 Wim Taymans <wim@fluendo.com>
29870 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29871 (init_popt_callback):
29872 Remove cpu-opt flag.
29874 2005-05-30 Wim Taymans <wim@fluendo.com>
29876 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29877 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29879 Avoid typechecking in places where not needed.
29880 Added accessor for malloc_data.
29882 2005-05-30 Wim Taymans <wim@fluendo.com>
29884 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29885 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29886 (gst_pad_configure_sink), (gst_pad_configure_src),
29887 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29888 (gst_pad_start_task):
29889 Propagate errors from _set_caps() in configure_src/sink
29890 functions instead of returning TRUE.
29891 FLUSH events can travel up and downstream
29894 2005-05-30 Wim Taymans <wim@fluendo.com>
29896 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29897 (gst_basesink_activate):
29898 Handle EOS in preroll.
29900 2005-05-30 Wim Taymans <wim@fluendo.com>
29902 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29903 (gst_queue_loop), (gst_queue_handle_src_event):
29904 Remove old pieces of code
29905 Flushing the queue in an upstream event is a very bad idea.
29907 2005-05-26 Andy Wingo <wingo@pobox.com>
29909 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29910 gst_value_set_mini_object so as to add a ref on the object (which
29911 will be removed when the value is unset).
29913 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29914 arg type in ::handoff.
29916 * gst/gstelement.c (gst_element_change_state): Also deactivate
29917 pads in READY->NULL, just in case the element didn't make it to
29918 PAUSED. Wingo tested, Wim approved.
29920 2005-05-26 Wim Taymans <wim@fluendo.com>
29922 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29923 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29924 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29925 A flushing pad cannot be used to alloc_buffer from.
29927 2005-05-26 Wim Taymans <wim@fluendo.com>
29929 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29930 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29931 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29932 (gst_bus_create_watch), (gst_bus_add_watch_full):
29934 Implement a real GSource and use g_main_context_wakeup() to
29935 signal new messages instead of the socketpair.
29937 2005-05-25 Wim Taymans <wim@fluendo.com>
29939 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29940 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29941 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29942 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29943 (gst_pad_send_event), (gst_pad_start_task):
29944 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29945 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29946 (gst_queue_sink_activate), (gst_queue_src_activate),
29947 (gst_queue_change_state):
29949 Fix state changes for non sinks. We now change sinks, then elements
29950 with unconnected srcpads, then the rest.
29951 More efficient queue unlocking in flush and state changes.
29952 Set the pad activate mode even if it does not have an activate
29955 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29957 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29958 Don't go in pull mode for non-seekable sources.
29959 * gst/elements/gsttypefindelement.h:
29960 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29961 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29962 (free_entry), (stop_typefinding),
29963 (gst_type_find_element_handle_event), (find_peek),
29964 (gst_type_find_element_chain), (do_pull_typefind),
29965 (gst_type_find_element_change_state):
29966 Allow typefinding (w/o seeking) in push-mode, simplified version
29967 of what was in 0.8.
29968 * gst/gstutils.c: (gst_buffer_join):
29970 gst_buffer_join() from 0.8.
29972 2005-05-25 Wim Taymans <wim@fluendo.com>
29974 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29975 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29976 (gst_pad_send_event), (gst_pad_start_task):
29977 Disable attempt at mode switching until it is figured out.
29979 2005-05-25 Wim Taymans <wim@fluendo.com>
29981 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29982 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29983 (gst_basesink_finish_preroll), (gst_basesink_chain),
29984 (gst_basesink_loop), (gst_basesink_activate),
29985 (gst_basesink_change_state):
29986 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29987 (gst_basesrc_get_range), (gst_basesrc_loop),
29988 (gst_basesrc_activate):
29989 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29990 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29991 (gst_real_pad_init), (gst_real_pad_set_property),
29992 (gst_real_pad_get_property), (gst_pad_set_active),
29993 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29994 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29995 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29996 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29997 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29998 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29999 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30000 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30001 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30002 (gst_pad_stop_task):
30004 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30005 (gst_queue_loop), (gst_queue_src_activate):
30006 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30007 (gst_task_get_state):
30009 * gst/schedulers/threadscheduler.c:
30010 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30011 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30013 Remove ACTIVE pad flag, use FLUSHING everywhere
30014 Added _pad_chain(), _pad_get_range() to call chain/getrange
30016 Add locks around IS_FLUSHING when reading.
30017 Take STREAM lock in chain(), get_range() functions so plugins
30018 don't need to take it anymore.
30022 2005-05-25 Wim Taymans <wim@fluendo.com>
30024 * tools/gst-launch.c: (event_loop):
30025 Unref message after using its contents instead of
30028 2005-05-24 Wim Taymans <wim@fluendo.com>
30030 * docs/design/draft-ghostpads.txt:
30031 * docs/design/draft-push-pull.txt:
30032 * docs/design/draft-query.txt:
30033 * docs/design/part-overview.txt:
30034 Docs updates, added general overview doc.
30036 2005-05-21 David Schleef <ds@schleef.org>
30038 * docs/gst/tmpl/old/GstBin.sgml:
30039 * docs/gst/tmpl/old/GstBuffer.sgml:
30040 * docs/gst/tmpl/old/GstCaps.sgml:
30041 * docs/gst/tmpl/old/GstClock.sgml:
30042 * docs/gst/tmpl/old/GstCompat.sgml:
30043 * docs/gst/tmpl/old/GstData.sgml:
30044 * docs/gst/tmpl/old/GstElement.sgml:
30045 * docs/gst/tmpl/old/GstEvent.sgml:
30046 * docs/gst/tmpl/old/GstIndex.sgml:
30047 * docs/gst/tmpl/old/GstStructure.sgml:
30048 * docs/gst/tmpl/old/GstTag.sgml:
30049 * docs/gst/tmpl/old/cothreads.sgml:
30050 * docs/gst/tmpl/old/cothreads_compat.sgml:
30051 * docs/gst/tmpl/old/gettext.sgml:
30052 * docs/gst/tmpl/old/gobject2gtk.sgml:
30053 * docs/gst/tmpl/old/grammar.tab.sgml:
30054 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30055 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30056 * docs/gst/tmpl/old/gst_private.sgml:
30057 * docs/gst/tmpl/old/gstaggregator.sgml:
30058 * docs/gst/tmpl/old/gstarch.sgml:
30059 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30060 * docs/gst/tmpl/old/gstbufferstore.sgml:
30061 * docs/gst/tmpl/old/gstdata_private.sgml:
30062 * docs/gst/tmpl/old/gstdisksink.sgml:
30063 * docs/gst/tmpl/old/gstdisksrc.sgml:
30064 * docs/gst/tmpl/old/gstelementfactory.sgml:
30065 * docs/gst/tmpl/old/gstextratypes.sgml:
30066 * docs/gst/tmpl/old/gstfakesink.sgml:
30067 * docs/gst/tmpl/old/gstfakesrc.sgml:
30068 * docs/gst/tmpl/old/gstfdsink.sgml:
30069 * docs/gst/tmpl/old/gstfdsrc.sgml:
30070 * docs/gst/tmpl/old/gstfilesink.sgml:
30071 * docs/gst/tmpl/old/gstfilesrc.sgml:
30072 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30073 * docs/gst/tmpl/old/gstidentity.sgml:
30074 * docs/gst/tmpl/old/gstindexfactory.sgml:
30075 * docs/gst/tmpl/old/gstmarshal.sgml:
30076 * docs/gst/tmpl/old/gstmd5sink.sgml:
30077 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30078 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30079 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30080 * docs/gst/tmpl/old/gstpipefilter.sgml:
30081 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30082 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30083 * docs/gst/tmpl/old/gstshaper.sgml:
30084 * docs/gst/tmpl/old/gstspider.sgml:
30085 * docs/gst/tmpl/old/gstspideridentity.sgml:
30086 * docs/gst/tmpl/old/gststatistics.sgml:
30087 * docs/gst/tmpl/old/gsttee.sgml:
30088 * docs/gst/tmpl/old/gsttimecache.sgml:
30089 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30090 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30091 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30092 * docs/gst/tmpl/old/types.sgml:
30093 I didn't intend to add these or check them in.
30095 2005-05-19 David Schleef <ds@schleef.org>
30097 * configure.ac: Use -no-common everywhere. In a sane world, it
30098 would be the default in libtool, because without it, you can't
30099 build DLLs on Windows.
30100 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30101 * docs/gst/gstreamer-sections.txt:
30102 * docs/gst/tmpl/gstcpu.sgml:
30103 * docs/gst/tmpl/gstdata.sgml:
30104 * docs/gst/tmpl/gstthread.sgml:
30106 2005-05-19 David Schleef <ds@schleef.org>
30108 * gst/gstminiobject.c: (gst_value_set_mini_object),
30109 (gst_value_take_mini_object), (gst_value_get_mini_object):
30110 * gst/gstminiobject.h: Add GValue set/get functions.
30112 2005-05-19 Wim Taymans <wim@fluendo.com>
30114 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30115 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30116 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30118 * gst/gstbus.c: (gst_bus_post):
30119 * gst/gstelement.c: (gst_element_get_random_pad):
30120 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30121 Make subbufer unref the parent in finalize.
30122 some more debugging info.
30125 2005-05-19 Wim Taymans <wim@fluendo.com>
30127 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30128 (gst_basesink_init), (gst_basesink_finalize),
30129 (gst_basesink_activate), (gst_basesink_change_state):
30130 Don't free preroll queue too early.
30132 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30136 Hi, I'm outdated. Please shoot me.
30138 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30140 * gst/gstpipeline.c: (gst_pipeline_send_event):
30141 Do not access variables after they have been deleted.
30143 2005-05-19 Wim Taymans <wim@fluendo.com>
30145 * tools/gst-inspect.c: (print_plugin_features):
30146 A plugin feature does unfortunatly not use the
30149 2005-05-18 Wim Taymans <wim@fluendo.com>
30151 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30152 Port _span() functions to new subbuffers.
30154 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30156 * gst/gstbin.c: (gst_bin_add_func):
30157 Fix clock settery in bins when adding kids after the clock has
30160 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30162 * gst/elements/gstidentity.c: (gst_identity_class_init):
30163 Workaround until signals support GstMiniObject.
30165 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30168 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30170 2005-05-18 Wim Taymans <wim@fluendo.com>
30172 * gst/base/Makefile.am:
30173 * gst/base/gstadapter.c: (gst_adapter_base_init),
30174 (gst_adapter_class_init), (gst_adapter_init),
30175 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30176 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30177 (gst_adapter_flush), (gst_adapter_available),
30178 (gst_adapter_available_fast):
30179 * gst/base/gstadapter.h:
30180 Ported and added adapter to the base classes.
30182 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30185 * gst/gstmessage.c:
30186 Make sure the class is reffed/unreffed once before threads can be
30187 used. Fixes #304551.
30189 2005-05-17 Wim Taymans <wim@fluendo.com>
30191 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30192 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30193 * gst/gstminiobject.c: (gst_mini_object_get_type),
30194 (gst_mini_object_free):
30195 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30196 (gst_pad_push), (gst_pad_push_event):
30197 * gst/gstqueue.c: (gst_queue_change_state):
30198 Don't queue buffers in basesink when we are flushing.
30199 Unref buffer when flushing in basesink.
30200 Flush queue when going to READY
30201 Unref buffer when _push() returns an error.
30202 Don't free MiniObject instance when refcount is incremented
30203 in _finalize() so that we can recover objects.
30205 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30207 * docs/manual/advanced-schedulers.xml:
30208 * docs/manual/appendix-checklist.xml:
30209 * docs/pwg/advanced-clock.xml:
30210 * docs/pwg/advanced-interfaces.xml:
30211 * docs/pwg/advanced-request.xml:
30212 * docs/pwg/advanced-types.xml:
30213 * docs/pwg/intro-preface.xml:
30214 * examples/plugins/example.c: (gst_example_get_type),
30215 (gst_example_class_init), (gst_example_chain),
30216 (gst_example_set_property), (gst_example_get_property),
30217 (gst_example_change_state), (plugin_init):
30218 * examples/plugins/example.h:
30221 2005-05-17 Wim Taymans <wim@fluendo.com>
30223 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30224 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30225 * gst/gstqueue.c: (gst_queue_change_state):
30226 Clear queue when going to READY.
30227 Remove IN_SETCAPS flag too.
30229 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30231 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30232 Remove implicit cast from gboolean to GstElementStateReturn;
30233 make sure we still return failure in paused => ready case if
30234 the parent class fails to change state and our own stop
30237 2005-05-17 Wim Taymans <wim@fluendo.com>
30239 * tools/gst-launch.c: (event_loop):
30240 Message was unreffed too soon.
30242 2005-05-16 Andy Wingo <wingo@pobox.com>
30244 * gst/gstbin.c (sink_iterator_filter): Err... um...
30246 * check/gst/gstbin.c (test_ghost_pads): New test for the
30247 ghosting-if-elements-not-in-same-bin behavior.
30249 2005-05-16 David Schleef <ds@schleef.org>
30251 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30252 accessing refcount directly.
30254 2005-05-15 David Schleef <ds@schleef.org>
30256 * check/Makefile.am: remove GstData checks
30257 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30258 * gst/Makefile.am: add miniobject, remove data
30259 * gst/gst.h: add miniobject, remove data
30260 * gst/gstdata.c: remove
30261 * gst/gstdata.h: remove
30262 * gst/gstdata_private.h: remove
30263 * gst/gsttypes.h: remove GstEvent and GstMessage
30264 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30265 * gst/gstmarshal.list: change BOXED -> OBJECT
30267 Implement GstMiniObject.
30268 * gst/gstminiobject.c:
30269 * gst/gstminiobject.h:
30271 Modify to be subclasses of GstMiniObject.
30272 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30273 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30274 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30275 (gst_subbuffer_get_type), (gst_subbuffer_init),
30276 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30279 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30280 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30281 (_gst_event_copy), (gst_event_new):
30283 * gst/gstmessage.c: (_gst_message_initialize),
30284 (gst_message_get_type), (gst_message_class_init),
30285 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30286 (gst_message_new), (gst_message_new_error),
30287 (gst_message_new_warning), (gst_message_new_tag),
30288 (gst_message_new_state_changed), (gst_message_new_application):
30289 * gst/gstmessage.h:
30290 * gst/gstprobe.c: (gst_probe_perform),
30291 (gst_probe_dispatcher_dispatch):
30293 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30294 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30295 (_gst_query_copy), (gst_query_new):
30297 Update elements for GstData -> GstMiniObject changes
30299 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30300 (gst_queue_chain), (gst_queue_loop):
30301 * gst/elements/gstbufferstore.c:
30302 (gst_buffer_store_add_buffer_func),
30303 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30304 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30305 (gst_fakesink_render):
30306 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30307 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30308 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30309 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30310 (gst_filesrc_create_read):
30311 * gst/elements/gstidentity.c: (gst_identity_class_init):
30312 * gst/elements/gsttypefindelement.c:
30313 (gst_type_find_element_src_event), (free_entry_buffers),
30314 (gst_type_find_element_handle_event):
30315 * libs/gst/dataprotocol/dataprotocol.c:
30316 (gst_dp_header_from_buffer):
30317 * libs/gst/dataprotocol/dataprotocol.h:
30318 * libs/gst/dataprotocol/dp-private.h:
30320 2005-05-15 David Schleef <ds@schleef.org>
30322 * gst/elements/gstelements.c: Don't include headers that were
30325 2005-05-15 David Schleef <ds@schleef.org>
30327 * gst/elements/Makefile.am: Remove some elements that don't
30328 need to be in the core (or even exist at all).
30329 * gst/elements/gstaggregator.c:
30330 * gst/elements/gstaggregator.h:
30331 * gst/elements/gstmd5sink.c:
30332 * gst/elements/gstmd5sink.h:
30333 * gst/elements/gstmultifilesrc.c:
30334 * gst/elements/gstmultifilesrc.h:
30335 * gst/elements/gstpipefilter.c:
30336 * gst/elements/gstpipefilter.h:
30337 * gst/elements/gstshaper.c:
30338 * gst/elements/gstshaper.h:
30339 * gst/elements/gststatistics.c:
30340 * gst/elements/gststatistics.h:
30341 * po/POTFILES.in: Remove above files.
30343 2005-05-14 Andy Wingo <wingo@pobox.com>
30345 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30346 so as to get the refs right.
30347 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30348 unreffing objects that don't pass the filter.
30350 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30351 gst_element_set_bus.
30352 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30353 normal cases, this will destroy the bus.
30355 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30358 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30361 2005-05-13 Andy Wingo <wingo@pobox.com>
30363 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30364 gst_pad_link, call pad_link_maybe_ghosting,
30365 (pad_link_maybe_ghosting): Links pads, making sure that the
30366 elements being linked are in the same bin.
30367 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30368 Helpers for pad_link_maybe_ghosting.
30370 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30373 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30375 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30377 * docs/design/part-element-source.txt:
30380 2005-05-12 Wim Taymans <wim@fluendo.com>
30382 * gst/base/gstbasesink.c: (gst_basesink_init),
30383 (gst_basesink_activate):
30384 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30385 (gst_basesrc_is_seekable):
30386 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30387 (bin_element_is_sink), (gst_bin_change_state):
30388 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30389 * gst/gstelement.h:
30390 Identify sinks by their flag to avoid overly complicated
30392 Do state changes even for elements not reachable from the
30394 BaseSink is a sink now :)
30395 Some more debugging info in the basesrc.
30398 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30400 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30401 Implement _query on a bin, similar to _send_event.
30403 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30405 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30406 Discont event offset format should be GST_FORMAT_BYTES,
30407 not GST_FORMAT_TIME.
30409 2005-05-12 Wim Taymans <wim@fluendo.com>
30411 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30412 Same fix as Ronald's but without the signal.
30414 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30416 * gst/gstutils.c: (gst_element_query_position):
30417 No, an element is not a pad.
30419 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30421 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30422 (gst_bin_get_state):
30423 If a child is removed from a bin while we remove the child from
30424 the bin and while we're retrieving its state, signal this to the
30425 get_state function so we abort the wait (instead of waiting for
30426 a timeout) and can immediately re-iterate over all other elements.
30428 2005-05-12 Wim Taymans <wim@fluendo.com>
30430 * gst/base/Makefile.am:
30431 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30432 (gst_basesrc_start):
30433 * gst/base/gstbasesrc.h:
30434 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30435 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30436 (gst_pushsrc_init), (gst_pushsrc_create):
30437 * gst/base/gstpushsrc.h:
30438 Added is_seekable to BaseSrc
30439 Added simple PushSrc.
30441 2005-05-11 Wim Taymans <wim@fluendo.com>
30443 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30444 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30445 (gst_element_link_pads), (gst_element_query_position),
30446 (gst_element_query_convert), (intersect_caps_func),
30447 (gst_pad_query_position), (gst_pad_query_convert):
30448 Fix refcounting in utils function.
30449 No point in trying to activate a pad when it's added, it could
30450 be added from the state change function and then we deadlock, the
30451 element has to decide what to do.
30453 2005-05-10 Andy Wingo <wingo@pobox.com>
30455 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30456 *all* the arguments.
30458 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30459 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30460 lock (according to the docs -- if this is wrong change the docs).
30462 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30463 flush messages in the NULL state.
30465 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30466 message immediately and return.
30467 (gst_bus_set_flushing): New function. If a bus is flushing, it
30468 flushes out any queued messages and immediately unrefs new
30469 messages. This is so when an element goes to NULL, all of the
30470 unhandled messages coming from it can be freed, and their
30471 references to the element dropped. In other words: message source
30472 ref considered harmful :P
30474 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30475 we're finished with it.
30477 * gst/gstmessage.c (gst_message_new_state_changed):
30479 2005-05-10 Wim Taymans <wim@fluendo.com>
30481 * gst/gstvalue.c: (gst_value_compare_flags),
30482 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30483 (_gst_value_initialize):
30484 Added flags serialize/deserialize/compare code.
30486 2005-05-09 Andy Wingo <wingo@pobox.com>
30488 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30489 Intersect the peer's caps with our caps.
30491 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30493 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30494 * gst/elements/gsttypefindelement.c: (find_peek):
30495 Handle negative offsets better. Fixes decodebin.
30497 2005-05-09 Wim Taymans <wim@fluendo.com>
30499 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30500 (gst_base_transform_event):
30501 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30502 Implement accept_caps.
30503 Fix silly lock/unlock mismatch in base class.
30505 2005-05-09 Wim Taymans <wim@fluendo.com>
30507 * docs/design/draft-push-pull.txt:
30508 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30509 * gst/elements/gstfilesink.c: (gst_filesink_init),
30510 (gst_filesink_query):
30511 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30512 (gst_type_find_handle_src_query), (find_element_get_length):
30513 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30514 * gst/gstelement.h:
30515 * gst/gstmessage.c:
30516 * gst/gstmessage.h:
30517 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30518 (gst_real_pad_get_caps_unlocked),
30519 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30520 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30521 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30522 (gst_real_pad_dispose), (gst_real_pad_finalize),
30523 (gst_pad_load_and_link), (gst_pad_save_thyself),
30524 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30525 (gst_pad_check_pull_range), (gst_pad_pull_range),
30526 (gst_pad_template_get_type), (gst_pad_template_class_init),
30527 (gst_pad_template_init), (gst_pad_template_dispose),
30528 (name_is_valid), (gst_static_pad_template_get),
30529 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30530 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30531 (gst_pad_get_element_private), (gst_pad_start_task),
30532 (gst_pad_pause_task), (gst_pad_stop_task),
30533 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30534 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30535 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30536 (gst_ghost_pad_new):
30538 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30539 (gst_query_new_position), (gst_query_set_position),
30540 (gst_query_parse_position), (gst_query_new_convert),
30541 (gst_query_set_convert), (gst_query_parse_convert):
30543 * gst/gstqueryutils.c:
30544 * gst/gstqueryutils.h:
30545 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30546 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30547 (gst_queue_handle_src_query):
30548 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30549 (gst_element_query_position), (gst_element_query_convert),
30550 (intersect_caps_func), (gst_pad_query_position),
30551 (gst_pad_query_convert):
30553 * tools/gst-inspect.c: (print_pad_info):
30554 * tools/gst-xmlinspect.c: (print_element_info):
30555 Remove old query functions. Ported old code.
30556 Added position/convert helper functions to gstutils.
30557 Reordered gstpad.c code, grouping relevant things.
30558 Remove gst_message_new(), always need to speficy a specific
30562 2005-05-09 Andy Wingo <wingo@pobox.com>
30564 * gst/gstiterator.h: Add some includes.
30566 * gst/gstqueryutils.h: Include more headers.
30569 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30570 some uses of gst_pad_query.
30572 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30573 NULL out parameters.
30574 (gst_query_new_position): New proc, allocates a new position
30577 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30578 gstqueryutils.c to the build.
30580 * gst/gststructure.c (gst_structure_set_valist): Implement with
30581 the generic G_VALUE_COLLECT.
30583 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30585 * gst/Makefile.am: (gst_headers):
30586 Added gstqueryutils.h to the list of headers to install, that was
30587 a 'nachty' move wingo :)
30589 2005-05-06 Andy Wingo <wingo@pobox.com>
30592 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30593 GstData, init a memchunk.
30594 (standard_definitions): Add a few query types, deprecate a few.
30595 (gst_query_get_type): New proc.
30596 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30598 (gst_query_new_application, gst_query_get_structure): New public
30601 * docs/design/draft-query.txt: Removed LINKS from the query types,
30602 because all the rest can be dispatched to other pads -- seemed
30603 ugly to have a query that couldn't be dispatched. internal_links
30604 is fine as a pad method.
30606 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30607 in gstpad.c, but maintain binary compatibility for the moment.
30608 Will fix before 0.9 is out.
30610 * gst/gstqueryutils.c:
30611 * gst/gstqueryutils.h: New files, implement 3 methods for each
30612 query type: parse_query, parse_response, and set. Probably need an
30615 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30617 * gst/elements/gstfilesink.c (gst_filesink_query2):
30618 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30619 query_types, and formats methods.
30621 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30622 (gst_pad_set_query2_function): New functions.
30623 (gst_real_pad_init): Set query2_default as the default query2
30624 function. Basically just dispatches to internally linked pads.
30628 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30629 without using the atomic operations. Only one thread can possibly
30630 be accessing the data at this point. Changed so as to avoid
30631 gst_atomic operations.
30633 2005-05-06 Wim Taymans <wim@fluendo.com>
30635 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30636 Also set caps if we use the fallback buffer alloc.
30638 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30640 * docs/gst/Makefile.am:
30641 * docs/gst/gstreamer-docs.sgml:
30642 * docs/gst/gstreamer-sections.txt:
30643 * docs/gst/tmpl/gstatomic.sgml:
30644 * docs/gst/tmpl/gstmemchunk.sgml:
30645 * testsuite/elements/struct_i386.h:
30646 * win32/GStreamer.vcproj:
30648 Purge GstAtomic stuff from docs and win32 makefiles as well
30650 2005-05-06 Wim Taymans <wim@fluendo.com>
30652 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30653 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30654 * gst/gstpad.c: (gst_pad_peer_get_caps):
30655 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30656 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30657 (gst_queue_src_activate), (gst_queue_change_state):
30659 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30660 (intersect_caps_func):
30661 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30662 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30663 Some fixes for the peer_get_caps() change.
30665 2005-05-06 Wim Taymans <wim@fluendo.com>
30667 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30668 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30669 (gst_basesink_activate):
30670 Actually do something with error codes returned from the push
30673 2005-05-06 Wim Taymans <wim@fluendo.com>
30675 * docs/design/part-element-sink.txt:
30676 * docs/design/part-element-source.txt:
30677 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30678 (gst_basesink_event), (gst_basesink_activate):
30679 * gst/base/gstbasesink.h:
30680 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30681 (gst_basesrc_activate):
30682 * gst/base/gstbasesrc.h:
30683 * gst/gstelement.c: (gst_element_pads_activate):
30684 Some more documentation.
30685 Fixed scheduling decision in _pads_activate().
30687 2005-05-05 Andy Wingo <wingo@pobox.com>
30689 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30692 2005-05-05 Wim Taymans <wim@fluendo.com>
30694 * gst/base/Makefile.am:
30695 * gst/base/gstbasesink.h:
30696 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30697 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30698 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30699 (gst_collectpads_class_init), (gst_collectpads_init),
30700 (gst_collectpads_finalize), (gst_collectpads_new),
30701 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30702 (find_pad), (gst_collectpads_remove_pad),
30703 (gst_collectpads_is_active), (gst_collectpads_collect),
30704 (gst_collectpads_collect_range), (gst_collectpads_start),
30705 (gst_collectpads_stop), (gst_collectpads_peek),
30706 (gst_collectpads_pop), (gst_collectpads_available),
30707 (gst_collectpads_read), (gst_collectpads_flush),
30708 (gst_collectpads_chain):
30709 * gst/base/gstcollectpads.h:
30710 * gst/elements/Makefile.am:
30711 * gst/elements/gstelements.c:
30712 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30713 (gst_fakesink_get_times), (gst_fakesink_event),
30714 (gst_fakesink_preroll), (gst_fakesink_render):
30715 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30716 (gst_filesink_init), (gst_filesink_set_location),
30717 (gst_filesink_open_file), (gst_filesink_close_file),
30718 (gst_filesink_pad_query), (gst_filesink_event),
30719 (gst_filesink_render), (gst_filesink_change_state):
30720 * gst/elements/gstfilesink.h:
30721 Added object to help in making collect pad based elements.
30723 Make event function in sink baseclass return gboolean.
30725 2005-05-05 Wim Taymans <wim@fluendo.com>
30727 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30728 (gst_bin_get_by_name):
30730 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30731 (gst_clock_finalize):
30732 * gst/gstdata.c: (gst_data_replace):
30734 * gst/gstelement.c: (gst_element_request_pad),
30735 (gst_element_pads_activate):
30736 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30737 (gst_object_unref):
30738 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30739 (gst_pad_set_checkgetrange_function),
30740 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30741 (gst_pad_check_pull_range), (gst_pad_pull_range),
30742 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30743 (gst_pad_pause_task), (gst_pad_stop_task):
30744 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30745 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30746 Fix name lookup in GstBin.
30747 Added _data_replace() function and _buffer_replace()
30748 Use finalize method to clean up clock.
30749 Fix refcounting on request pads.
30750 Fix pad schedule mode error.
30751 Some more object refcounting debug info,
30754 2005-05-04 Andy Wingo <wingo@pobox.com>
30756 * check/Makefile.am:
30757 * docs/gst/tmpl/gstatomic.sgml:
30758 * docs/gst/tmpl/gstplugin.sgml:
30759 * gst/base/gstbasesink.c: (gst_basesink_activate):
30760 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30761 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30762 (gst_basesrc_query), (gst_basesrc_set_property),
30763 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30764 (gst_basesrc_activate):
30765 * gst/base/gstbasesrc.h:
30766 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30767 (gst_base_transform_src_activate):
30768 * gst/elements/gstelements.c:
30769 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30770 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30771 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30772 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30773 (gst_type_find_element_checkgetrange),
30774 (gst_type_find_element_activate):
30775 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30776 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30777 (gst_caps_load_thyself):
30778 * gst/gstelement.c: (gst_element_pads_activate),
30779 (gst_element_save_thyself), (gst_element_restore_thyself):
30780 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30781 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30783 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30784 (gst_xml_parse_file), (gst_xml_parse_memory),
30785 (gst_xml_get_element), (gst_xml_make_element):
30786 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30787 (_file_index_id_save_xml), (gst_file_index_commit):
30788 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30789 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30791 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30792 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30793 * tools/gst-complete.c: (main):
30794 * tools/gst-compprep.c: (main):
30795 * tools/gst-inspect.c: (print_element_properties_info):
30796 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30797 * tools/gst-xmlinspect.c: (print_element_properties):
30800 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30802 * gst/gstplugin.c: (gst_plugin_check_module),
30803 (gst_plugin_check_file), (gst_plugin_load_file):
30804 apply patch from #172526 to make register work on MacOSX
30806 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30808 * docs/gst/tmpl/gstconfig.sgml:
30809 * gst/gstconfig.h.in:
30810 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30811 * testsuite/debug/printf_extension.c: (main):
30812 Do not use GST_PTR_FORMAT on pointers to types with
30813 sizeof < sizeof(gpointer). Fixes test on 64-bit
30814 * testsuite/elements/property.h:
30815 use correct printf format
30817 2005-05-02 Wim Taymans <wim@fluendo.com>
30819 * docs/design/draft-push-pull.txt:
30820 * docs/design/draft-query.txt:
30821 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30822 (gst_basesrc_start):
30823 Added draft for new query API.
30824 Added draft for better selecting scheduling methods.
30825 Make basesrc ignore length if the subclass does not support
30828 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30831 possible fixes for automake-1.5 - _LIBADD is reserved
30833 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30835 * docs/faq/Makefile.am:
30836 * docs/manual/Makefile.am:
30837 * docs/manuals.mak:
30838 * docs/pwg/Makefile.am:
30840 possible fixes for automake-1.5
30842 2005-04-28 Wim Taymans <wim@fluendo.com>
30844 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30845 (gst_basesink_pad_getcaps), (gst_basesink_init),
30846 (gst_basesink_do_sync):
30847 * gst/gstclock.c: (gst_clock_entry_new):
30848 * gst/gstevent.c: (gst_event_discont_get_value):
30849 * gst/gstpipeline.c: (pipeline_bus_handler),
30850 (gst_pipeline_change_state):
30851 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30852 Better debugging of clocking info.
30853 Allow NULL values when getting discont values.
30855 2005-04-27 Wim Taymans <wim@fluendo.com>
30857 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30858 * check/gst/gstpad.c: (gst_pad_suite):
30859 Increase timeout for checks.
30861 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30863 * check/Makefile.am:
30864 fix the broken rule for cleanup. Apparently this rule is
30865 only needed on FC2, so maybe this warrants further autotool
30868 2005-04-26 Wim Taymans <wim@fluendo.com>
30870 * gst/gsttrashstack.h:
30871 Ooohh. a nasty one! After having a failed pop() from the stack,
30872 it's possible that the stack is empty. In that case, don't
30873 follow the NULL pointer.
30875 2005-04-25 Wim Taymans <wim@fluendo.com>
30877 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30878 (gst_pad_set_checkgetrange_function),
30879 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30880 (gst_pad_check_pull_range), (gst_pad_pull_range),
30881 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30882 (gst_pad_pause_task), (gst_pad_stop_task):
30883 * gst/gstplugin.c: (gst_plugin_load):
30885 Remove gst_library_load as it does more harm than good with
30886 the new g_module flags.
30887 Revert bogus caps template check in pad linking, pad caps
30888 are important when linking not the template, which is more
30889 general than the current caps.
30891 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30893 * gst/autoplug/.cvsignore:
30894 * gst/autoplug/Makefile.am:
30895 * gst/autoplug/gstsearchfuncs.c:
30896 * gst/autoplug/gstsearchfuncs.h:
30897 * gst/autoplug/gstspider.c:
30898 * gst/autoplug/gstspider.h:
30899 * gst/autoplug/gstspideridentity.c:
30900 * gst/autoplug/gstspideridentity.h:
30901 * gst/autoplug/spidertest.c:
30904 2005-04-25 Wim Taymans <wim@fluendo.com>
30906 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30907 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30908 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30909 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30911 Added stubs for unimplemented functions.
30913 2005-04-24 David Schleef <ds@schleef.org>
30915 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30918 2005-04-24 David Schleef <ds@schleef.org>
30920 Convert everything from GstAtomicInt to g_atomic_int_*, and
30925 * gst/gstatomic_impl.h:
30933 * gst/gstdata_private.h:
30937 * gst/gstmessage.c:
30940 * gst/gststructure.c:
30941 * gst/gststructure.h:
30942 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30945 2005-04-24 David Schleef <ds@schleef.org>
30947 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30948 make the regressions tests work. Remove some code that is no
30950 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30951 Disable warning for pads without templates.
30953 2005-04-24 David Schleef <ds@schleef.org>
30955 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30956 functions that handle filtered links.
30957 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30959 * gst/gstutils.c: Fix/remove utility functions that handle
30962 * gst/gstvalue.c: Add serialization/deserialization of caps
30963 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30964 requires fixing so that the filter caps notation creates
30965 a capsfilter element and sets the filter_caps property. I
30966 think everyone probably wants to keep the shorthand notation.
30967 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30968 * docs/gst/tmpl/gstpad.sgml:
30970 * gst/elements/gstelements.c: Register capsfilter element.
30971 * gst/Makefile.am: fix spacing
30972 * docs/random/ds/0.9-suggested-changes: random
30974 2005-04-23 David Schleef <ds@schleef.org>
30976 * gst/elements/Makefile.am:
30977 * gst/elements/gstcapsfilter.c: New element that acts like an
30978 identity, but filters caps. Will eventually replace filtered
30979 caps in pad linking.
30980 * gst/gstutils.c: (gst_element_create_all_pads): New function
30981 to create all the ALWAYS pads that are registered with an
30982 element class. This functionality should eventually be
30983 merged in with GstElement initialization.
30985 * testsuite/trigger/README: part of trigger test code that should
30986 have been checked in a long time ago.
30988 2005-04-23 David Schleef <ds@schleef.org>
30990 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30991 needed with new versions of libtool (nobody will confirm this),
30992 and hard to carry around.
30993 * gst/autoplug/Makefile.am:
30994 * gst/base/Makefile.am:
30995 * gst/elements/Makefile.am:
30996 * gst/indexers/Makefile.am:
30997 * gst/schedulers/Makefile.am:
30998 * libs/gst/bytestream/Makefile.am:
30999 * libs/gst/control/Makefile.am:
31000 * libs/gst/dataprotocol/Makefile.am:
31001 * libs/gst/getbits/Makefile.am:
31003 2005-04-21 Wim Taymans <wim@fluendo.com>
31005 * docs/design/draft-push-pull.txt:
31006 * docs/design/part-MT-refcounting.txt:
31007 * docs/design/part-TODO.txt:
31008 * docs/design/part-caps.txt:
31009 * docs/design/part-events.txt:
31010 * docs/design/part-gstbus.txt:
31011 * docs/design/part-gstpipeline.txt:
31012 * docs/design/part-messages.txt:
31013 * docs/design/part-push-pull.txt:
31014 * docs/design/part-query.txt:
31017 2005-04-21 Wim Taymans <wim@fluendo.com>
31019 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31020 (gst_message_new), (gst_message_new_error),
31021 (gst_message_new_warning), (gst_message_new_tag),
31022 (gst_message_new_state_changed), (gst_message_new_application),
31023 (gst_message_get_structure):
31024 * gst/gstmessage.h:
31025 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31026 (gst_structure_copy_conditional):
31027 Use parent refcount in GstMessage to ensure GstStructure
31029 Cleaned up headers a bit.
31032 2005-04-20 Wim Taymans <wim@fluendo.com>
31034 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31035 (gst_basesink_pad_getcaps), (gst_basesink_init),
31036 (gst_basesink_chain_unlocked):
31037 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31038 (gst_type_find_helper):
31039 * gst/elements/gsttypefindelement.c:
31040 (gst_type_find_element_have_type), (gst_type_find_element_init),
31041 (stop_typefinding), (gst_type_find_element_handle_event),
31042 (find_suggest), (gst_type_find_element_chain),
31043 (gst_type_find_element_checkgetrange),
31044 (gst_type_find_element_getrange), (do_typefind),
31045 (gst_type_find_element_activate):
31046 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31047 (gst_buffer_default_free), (gst_buffer_default_copy),
31048 (gst_buffer_set_caps):
31049 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31050 (gst_caps_replace):
31051 * gst/gstmessage.c: (gst_message_new),
31052 (gst_message_new_state_changed):
31053 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31054 (gst_pad_set_checkgetrange_function),
31055 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31056 (gst_pad_set_caps), (gst_pad_check_pull_range),
31057 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31059 * gst/gsttypefind.c: (gst_type_find_register):
31060 Make gst_caps_replace() work like other _replace() functions.
31061 Use _caps_replace() where possible.
31062 Make sure _message_new() initialises its field.
31063 Add gst_static_pad_template_get_caps()
31066 2005-04-18 Andy Wingo <wingo@pobox.com>
31068 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31069 on the peer, not the pad. I think that was a typo. Pass an extra
31070 arg to see if random access is possible. Activate the pads as
31071 PULL_RANGE if possible.
31073 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31075 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31076 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31079 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31081 * docs/faq/using.xml:
31082 Add note on gstreamer-properties (#154996).
31084 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31086 * docs/random/bbb/optional-properties:
31087 Some analysis on optional properties.
31089 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31091 * docs/gst/tmpl/gstelementfactory.sgml:
31092 * gst/gstelement.h:
31093 * gst/gstelementfactory.c: (gst_element_factory_init),
31094 (gst_element_factory_cleanup), (gst_element_register),
31095 (__gst_element_factory_add_static_pad_template),
31096 (gst_element_factory_get_static_pad_templates),
31097 (gst_element_factory_can_src_caps),
31098 (gst_element_factory_can_sink_caps):
31099 * gst/registries/Makefile.am:
31100 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31101 (gst_xml_registry_class_init), (gst_xml_registry_init),
31102 (gst_xml_registry_new), (gst_xml_registry_set_property),
31103 (gst_xml_registry_get_property), (get_time), (make_dir),
31104 (gst_xml_registry_get_perms_func),
31105 (plugin_times_older_than_recurse), (plugin_times_older_than),
31106 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31107 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31108 (add_to_char_array), (read_string), (read_uint), (read_enum),
31109 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31110 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31111 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31112 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31113 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31114 (gst_xml_registry_rebuild):
31115 * gst/registries/gstlibxmlregistry.h:
31116 * tools/gst-compprep.c: (main):
31117 * tools/gst-inspect.c: (print_pad_templates_info):
31118 * tools/gst-xmlinspect.c: (print_element_info):
31119 Use libxml2 for registry parsing, use staticpadtemplates in
31120 elementfactories. Makes gst_init() +/- 10x faster.
31122 2005-04-12 Wim Taymans <wim@fluendo.com>
31124 * gst/base/Makefile.am:
31125 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31126 (gst_basesink_pad_getcaps), (gst_basesink_init),
31127 (gst_basesink_event), (gst_basesink_change_state):
31128 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31129 (gst_basesrc_init), (gst_basesrc_query),
31130 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31131 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31132 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31133 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31134 (gst_basesrc_stop), (gst_basesrc_activate),
31135 (gst_basesrc_change_state):
31136 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31137 (helper_find_suggest), (gst_type_find_helper):
31138 * gst/base/gsttypefindhelper.h:
31139 * gst/elements/Makefile.am:
31140 * gst/elements/gstelements.c:
31141 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31142 (gst_fakesink_get_times), (gst_fakesink_event),
31143 (gst_fakesink_preroll), (gst_fakesink_render):
31144 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31145 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31146 (gst_fakesrc_get_property), (gst_fakesrc_create),
31147 (gst_fakesrc_start), (gst_fakesrc_stop):
31148 * gst/elements/gstfakesrc.h:
31149 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31150 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31151 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31152 (gst_filesrc_create_read), (gst_filesrc_create),
31153 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31154 (gst_filesrc_start):
31155 * gst/elements/gsttypefindelement.c:
31156 (gst_type_find_element_have_type), (gst_type_find_element_init),
31157 (start_typefinding), (stop_typefinding), (push_buffer_store),
31158 (gst_type_find_element_handle_event),
31159 (gst_type_find_element_chain),
31160 (gst_type_find_element_checkgetrange),
31161 (gst_type_find_element_getrange), (do_typefind),
31162 (gst_type_find_element_activate),
31163 (gst_type_find_element_change_state):
31164 * gst/elements/gsttypefindelement.h:
31165 * gst/gstpipeline.c: (pipeline_bus_handler):
31166 Added typefind helper.
31167 Small preroll fix in the base sink.
31168 Disable typefind code in basesrc.
31169 Crude port of typefindelement.
31173 2005-04-11 Wim Taymans <wim@fluendo.com>
31175 * check/gst/gstbus.c: (gstbus_suite):
31176 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31177 * check/gstcheck.h:
31178 Fix up the timeout so that the test does not fail.
31180 2005-04-06 Wim Taymans <wim@fluendo.com>
31183 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31184 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31185 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31186 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31187 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31188 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31189 (gst_basesrc_stop), (gst_basesrc_activate),
31190 (gst_basesrc_change_state), (basesrc_find_peek),
31191 (basesrc_find_suggest), (gst_basesrc_type_find):
31192 * gst/base/gstbasesrc.h:
31193 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31194 (gst_filesrc_class_init), (gst_filesrc_init),
31195 (gst_filesrc_finalize), (gst_filesrc_set_location),
31196 (gst_filesrc_set_property), (gst_filesrc_get_property),
31197 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31198 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31199 (gst_filesrc_create_read), (gst_filesrc_create),
31200 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31201 * gst/elements/gstfilesrc.h:
31202 * gst/gstelement.c: (gst_element_get_state_func),
31203 (gst_element_lost_state), (gst_element_pads_activate):
31204 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31205 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31206 (gst_pad_pull_range):
31208 More work on the generic source base class, implement seeking,
31210 Make filesrc extend the base source class.
31211 Added gst_pad_set_checkgetrange_function to GstPad.
31213 2005-04-06 Andy Wingo <wingo@pobox.com>
31215 * pkgconfig/gstreamer-base.pc.in:
31216 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31218 * pkgconfig/Makefile.am:
31219 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31221 2005-04-04 Wim Taymans <wim@fluendo.com>
31223 * gst/base/Makefile.am:
31225 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31226 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31227 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31228 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31229 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31230 (gst_basesrc_base_init), (gst_basesrc_class_init),
31231 (gst_basesrc_init), (gst_basesrc_get_formats),
31232 (gst_basesrc_get_query_types), (gst_basesrc_query),
31233 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31234 (gst_basesrc_set_property), (gst_basesrc_get_property),
31235 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31236 (gst_basesrc_loop), (gst_basesrc_activate),
31237 (gst_basesrc_change_state):
31238 * gst/base/gstbasesrc.h:
31239 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31240 (gst_fakesrc_class_init), (gst_fakesrc_init),
31241 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31242 (gst_fakesrc_get_property), (gst_fakesrc_create):
31243 * gst/elements/gstfakesrc.h:
31244 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31245 (gst_filesrc_open_file), (gst_filesrc_loop),
31246 (gst_filesrc_activate), (filesrc_find_peek),
31247 (gst_filesrc_type_find):
31248 Made base source class, make fakesrc extend it.
31249 Add comments to basesink class.
31250 Some filesrc cleanup.
31252 2005-03-31 David Schleef <ds@schleef.org>
31254 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31255 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31256 expected to link against libgstreamer.
31257 * gst/base/Makefile.am: link against libgstreamer
31258 * gst/elements/Makefile.am: same
31260 2005-03-31 Andy Wingo <wingo@pobox.com>
31262 * tests/instantiate/Makefile.am:
31263 * tests/instantiate/caps.c: Add test to test speed of caps copy
31266 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31267 GMemChunk to be fair.
31269 * gst/gsttrashstack.h: Remove warning about using the fallback
31270 trash stack implementation, it's still faster than malloc.
31272 2005-03-30 Andy Wingo <wingo@pobox.com>
31274 * tests/complexity.c: Add a copyright.
31276 2005-03-31 Wim Taymans <wim@fluendo.com>
31278 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31279 (gst_base_transform_class_init), (gst_base_transform_init),
31280 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31281 (gst_base_transform_get_property),
31282 (gst_base_transform_sink_activate),
31283 (gst_base_transform_src_activate),
31284 (gst_base_transform_change_state):
31285 * gst/base/gstbasetransform.h:
31286 * gst/elements/gstidentity.c: (gst_identity_class_init),
31287 (gst_identity_event), (gst_identity_check_perfect),
31288 (gst_identity_transform), (gst_identity_start),
31289 (gst_identity_stop):
31290 Added start/stop methods to transform base class so subclasses
31291 don't need to deal with state changes even.
31293 2005-03-31 Wim Taymans <wim@fluendo.com>
31295 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31296 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31299 (gst_pad_pull_range):
31300 Added rate to the discont event to prepare for variable speed
31301 and reverse playback.
31303 2005-03-29 David Schleef <ds@schleef.org>
31306 * testsuite/trigger/Makefile.am:
31307 * testsuite/trigger/trigger.c: A little example program to show
31308 how trigger-based elements can work.
31310 2005-03-29 Wim Taymans <wim@fluendo.com>
31312 * gst/base/Makefile.am:
31314 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31315 (gst_basesink_base_init), (gst_basesink_class_init),
31316 (gst_basesink_pad_getcaps), (gst_basesink_init),
31317 (gst_basesink_activate), (gst_basesink_change_state):
31318 * gst/base/gstbasesink.h:
31319 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31320 (gst_base_transform_base_init), (gst_base_transform_finalize),
31321 (gst_base_transform_class_init), (gst_base_transform_init),
31322 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31323 (gst_base_transform_event), (gst_base_transform_getrange),
31324 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31325 (gst_base_transform_set_property),
31326 (gst_base_transform_get_property),
31327 (gst_base_transform_sink_activate),
31328 (gst_base_transform_src_activate),
31329 (gst_base_transform_change_state):
31330 * gst/base/gstbasetransform.h:
31331 * gst/elements/gstidentity.c: (gst_identity_finalize),
31332 (gst_identity_class_init), (gst_identity_init),
31333 (gst_identity_event), (gst_identity_check_perfect),
31334 (gst_identity_transform), (gst_identity_set_property),
31335 (gst_identity_get_property), (gst_identity_change_state):
31336 * gst/elements/gstidentity.h:
31337 * gst/gstelement.c: (gst_element_get_state_func),
31338 (gst_element_lost_state), (gst_element_pads_activate):
31339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31340 (gst_pad_check_pull_range), (gst_pad_pull_range):
31342 Simplify pad activation.
31343 Added function to check if pull_range can be performed.
31344 Error out when pulling inactive or flushing pads.
31345 Removed const from refcounted types as it does not make sense.
31346 Simplify pad templates in basesink
31347 Added base class for simple 1-to-1 transforms.
31348 Make identity subclass the base transform.
31350 2005-03-29 Andy Wingo <wingo@pobox.com>
31352 * docs/libs/gstreamer-libs-overrides.txt:
31353 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31354 really don't understand what's going on, but like whatever. I want
31357 * docs/gst/Makefile.am:
31358 * docs/libs/Makefile.am: Dist the overrides files.
31360 * check/Makefile.am (clean-local): Remove .libs directories.
31362 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31363 elements to EXTRA_DIST, so po/ files are happy.
31365 * po/POTFILES.in: Er, remove it here.
31367 * po/POTFILES: Remove gstspider.c.
31369 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31371 * docs/libs/gstreamer-libs-docs.sgml:
31372 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31375 * tests/complexity.c (main): Set the length of the preroll queue
31376 on the sinks to prevent a lockup.
31378 * libs/gst/dataprotocol/Makefile.am:
31379 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31380 the same as the one in check/gst-libs/gdp.c.
31382 * po/, docs/gst/: Commit automatic changes to docs and po files.
31384 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31385 the versioned libgstbase.
31387 * check/Makefile.am: Depend on an unversioned gst-register, seems
31388 to make autoconf happier.
31390 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31392 2005-03-28 Wim Taymans <wim@fluendo.com>
31395 * docs/design/part-gstelement.txt:
31396 * docs/design/part-negotiation.txt:
31397 * docs/design/part-preroll.txt:
31398 * docs/design/part-scheduling.txt:
31399 * docs/design/part-states.txt:
31401 * gst/base/Makefile.am:
31403 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31404 (gst_basesink_base_init), (gst_basesink_class_init),
31405 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31406 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31407 (gst_basesink_set_pad_functions),
31408 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31409 (gst_basesink_set_property), (gst_basesink_get_property),
31410 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31411 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31412 (gst_basesink_preroll_queue_push),
31413 (gst_basesink_preroll_queue_empty),
31414 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31415 (gst_basesink_event), (gst_basesink_get_times),
31416 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31417 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31418 (gst_basesink_loop), (gst_basesink_activate),
31419 (gst_basesink_change_state):
31420 * gst/base/gstbasesink.h:
31421 * gst/elements/Makefile.am:
31422 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31423 (gst_fakesink_class_init), (gst_fakesink_init),
31424 (gst_fakesink_set_property), (gst_fakesink_get_property),
31425 (gst_fakesink_get_times), (gst_fakesink_event),
31426 (gst_fakesink_preroll), (gst_fakesink_render),
31427 (gst_fakesink_change_state):
31428 * gst/elements/gstfakesink.h:
31429 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31430 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31431 * gst/gstelement.c: (gst_element_add_pad),
31432 (gst_element_get_state_func), (gst_element_abort_state),
31433 (gst_element_commit_state), (gst_element_lost_state),
31434 (gst_element_set_state), (gst_element_pads_activate):
31435 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31436 * gst/gstpipeline.c: (gst_pipeline_send_event),
31437 (gst_pipeline_change_state):
31438 Added state change code.
31439 Added/updated docs.
31440 Added sink base class, make fakesink extend the base class.
31441 Small cleanups in GstPipeline.
31443 2005-03-26 David Schleef <ds@schleef.org>
31445 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31446 is broken and should be implemented in a different library.
31447 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31448 * gst/gst.h: remove gstcpu.h
31449 * gst/gstcpu.c: remove
31450 * gst/gstcpu.h: remove
31451 * gst/Makefile.am.future: Remove this file. It's ancient.
31453 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31455 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31456 (gst_bin_send_event):
31457 Add default event/set_manager handlers. The set_manager handler
31458 takes care that the manager is distributed over kids that were
31459 already in the bin before the manager was set. The event handler
31460 is a utility virtual function that sends the event over all sinks,
31461 so that gst_element_send_event (bin, event); has the expected
31463 * gst/gstpad.c: (gst_pad_event_default):
31464 Re-install default event handling for discontinuities, so that
31465 seeking works without requiring hacks in applications or extra
31467 * gst/gstpipeline.c: (gst_pipeline_class_init),
31468 (gst_pipeline_send_event):
31469 Half hack, half utility: set a pipeline to PAUSED for seek events,
31470 since that is the only way we can guarantee a/v sync. Means that
31471 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31472 and it "just works".
31474 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31476 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31477 Lock/unlock mismatch.
31479 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31481 * docs/faq/gst-uninstalled:
31482 add gst-plugins-base
31483 * docs/gst/Makefile.am:
31484 don't error out until docs are fixed
31485 * docs/gst/gstreamer.types:
31488 2005-03-22 Wim Taymans <wim@fluendo.com>
31490 * check/Makefile.am:
31491 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31492 * gst/gststructure.c: (gst_structure_set_valist),
31493 (gst_structure_copy_conditional):
31494 Activated more tests.
31495 Added message test.
31496 Added G_TYPE_POINTER to GstStructure.
31499 2005-03-22 Wim Taymans <wim@fluendo.com>
31501 * docs/design/part-TODO.txt:
31502 * docs/design/part-events.txt:
31503 * docs/design/part-gstbin.txt:
31504 * docs/design/part-gstbus.txt:
31505 * docs/design/part-gstpipeline.txt:
31506 * docs/design/part-messages.txt:
31508 * gst/gstmessage.c:
31511 2005-03-21 Wim Taymans <wim@fluendo.com>
31513 * gst/gstbus.c: (gst_bus_post):
31514 Fix copy-and-paste error.
31516 2005-03-21 Wim Taymans <wim@fluendo.com>
31518 * check/Makefile.am:
31520 * gst/elements/Makefile.am:
31521 * gst/elements/gstelements.c:
31522 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31523 (gst_fakesink_event), (gst_fakesink_chain):
31524 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31525 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31526 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31527 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31528 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31529 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31530 (gst_fakesrc_loop), (gst_fakesrc_activate),
31531 (gst_fakesrc_change_state):
31532 * gst/elements/gstfakesrc.h:
31533 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31534 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31535 (gst_filesrc_open_file), (gst_filesrc_loop),
31536 (gst_filesrc_activate), (gst_filesrc_change_state),
31537 (filesrc_find_peek), (filesrc_find_suggest),
31538 (gst_filesrc_type_find):
31539 * gst/elements/gstidentity.c: (gst_identity_finalize),
31540 (gst_identity_class_init), (gst_identity_init),
31541 (gst_identity_proxy_getcaps), (identity_queue_push),
31542 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31543 (gst_identity_getrange), (gst_identity_chain),
31544 (gst_identity_sink_loop), (gst_identity_src_loop),
31545 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31546 (gst_identity_set_property), (gst_identity_get_property),
31547 (gst_identity_change_state):
31548 * gst/elements/gstidentity.h:
31549 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31550 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31551 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31552 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31553 (gst_tee_sink_activate):
31554 * gst/elements/gsttee.h:
31555 * gst/gst.c: (gst_register_core_elements), (init_post):
31557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31558 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31559 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31560 (gst_bin_change_state):
31562 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31563 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31564 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31565 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31566 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31567 (bus_watch_callback), (bus_watch_destroy),
31568 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31569 (poll_timeout), (gst_bus_poll):
31573 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31574 (gst_element_post_message), (gst_element_message_full),
31575 (gst_element_get_state_func), (gst_element_get_state),
31576 (gst_element_abort_state), (gst_element_commit_state),
31577 (gst_element_lost_state), (gst_element_set_state),
31578 (gst_element_pads_activate), (gst_element_change_state),
31579 (gst_element_dispose), (gst_element_set_manager_func),
31580 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31581 (gst_element_set_manager), (gst_element_get_manager),
31582 (gst_element_set_bus), (gst_element_get_bus),
31583 (gst_element_set_scheduler), (gst_element_get_scheduler):
31584 * gst/gstelement.h:
31585 * gst/gstevent.c: (gst_event_new_segment_seek),
31586 (gst_event_new_flush):
31588 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31589 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31590 (gst_message_new_eos), (gst_message_new_error),
31591 (gst_message_new_warning), (gst_message_new_tag),
31592 (gst_message_new_state_changed), (gst_message_new_application),
31593 (gst_message_get_structure), (gst_message_parse_tag),
31594 (gst_message_parse_state_changed), (gst_message_parse_error),
31595 (gst_message_parse_warning):
31596 * gst/gstmessage.h:
31597 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31598 (gst_real_pad_set_property), (gst_pad_set_active),
31599 (gst_pad_is_active), (gst_pad_set_blocked_async),
31600 (gst_pad_set_blocked), (gst_pad_is_blocked),
31601 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31602 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31603 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31604 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31605 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31606 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31607 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31608 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31609 (gst_pad_set_caps), (gst_pad_configure_sink),
31610 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31611 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31612 (gst_real_pad_dispose), (gst_real_pad_finalize),
31613 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31614 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31615 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31617 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31618 (pipeline_bus_handler), (gst_pipeline_change_state),
31619 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31620 * gst/gstpipeline.h:
31622 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31623 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31624 (gst_queue_link_src), (gst_queue_bufferalloc),
31625 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31626 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31627 (gst_queue_loop), (gst_queue_handle_src_event),
31628 (gst_queue_handle_src_query), (gst_queue_src_activate),
31629 (gst_queue_change_state):
31631 * gst/gstscheduler.c: (gst_scheduler_init),
31632 (gst_scheduler_dispose), (gst_scheduler_create_task),
31633 (gst_scheduler_factory_create):
31634 * gst/gstscheduler.h:
31635 * gst/gststructure.c: (gst_structure_get_type),
31636 (gst_structure_copy_conditional):
31637 * gst/gststructure.h:
31638 * gst/gsttaginterface.h:
31639 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31640 (gst_task_init), (gst_task_dispose), (gst_task_create),
31641 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31647 * gst/schedulers/Makefile.am:
31648 * gst/schedulers/cothreads_compat.h:
31649 * gst/schedulers/entryscheduler.c:
31650 * gst/schedulers/faircothreads.c:
31651 * gst/schedulers/faircothreads.h:
31652 * gst/schedulers/fairscheduler.c:
31653 * gst/schedulers/gstbasicscheduler.c:
31654 * gst/schedulers/gstoptimalscheduler.c:
31655 * gst/schedulers/gthread-cothreads.h:
31656 * gst/schedulers/threadscheduler.c:
31657 (gst_thread_scheduler_task_get_type),
31658 (gst_thread_scheduler_task_class_init),
31659 (gst_thread_scheduler_task_init),
31660 (gst_thread_scheduler_task_start),
31661 (gst_thread_scheduler_task_stop),
31662 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31663 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31664 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31665 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31667 * libs/gst/Makefile.am:
31668 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31669 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31670 (gst_file_pad_parent_set):
31671 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31672 (gst_dp_event_from_packet):
31673 * tests/complexity.c: (main):
31674 * tests/mass_elements.c: (main):
31675 * testsuite/states/locked.c: (message_received), (main):
31676 * testsuite/states/parent.c: (main):
31677 * tools/gst-inspect.c: (print_element_flag_info),
31678 (print_implementation_info), (print_pad_info):
31679 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31681 * tools/gst-md5sum.c: (event_loop), (main):
31682 * tools/gst-typefind.c: (main):
31683 * tools/gst-xmlinspect.c: (print_element_info):
31685 Added GstBus for mainloop integration.
31686 Added GstMessage for sending notifications on the bus.
31687 Added GstTask as an abstraction for pipeline entry points.
31689 Removed Schedulers.
31690 Simplified GstQueue for multithreaded core.
31691 Made _link threadsafe, removed old capsnego.
31692 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31693 Added pad blocking functions.
31694 Reworked scheduling functions in GstPad to prepare for
31695 scheduling updates soon.
31696 Moved events out of data stream.
31697 Simplified GstEvent types.
31698 Added return values to push/pull.
31699 Removed clocking from GstElement.
31700 Added prototypes for state change function for next merge.
31701 Removed iterate from bins and state change management.
31702 Fixed some elements, disabled others for now.
31703 Fixed -inspect and -launch.
31704 Added check for GstBus.
31706 2005-03-10 Wim Taymans <wim@fluendo.com>
31708 * docs/design/part-MT-refcounting.txt:
31709 * docs/design/part-clocks.txt:
31710 * docs/design/part-gstelement.txt:
31711 * docs/design/part-gstobject.txt:
31712 * docs/design/part-standards.txt:
31713 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31714 (gst_bin_remove_func), (gst_bin_remove):
31718 * testsuite/clock/clock1.c: (main):
31719 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31721 * testsuite/dlopen/loadgst.c: (do_test):
31722 * testsuite/refcounting/bin.c: (add_remove_test1),
31723 (add_remove_test2), (main):
31724 * testsuite/refcounting/element.c: (main):
31725 * testsuite/refcounting/element_pad.c: (main):
31726 * testsuite/refcounting/pad.c: (main):
31727 * tools/gst-launch.c: (sigint_handler_sighandler):
31728 * tools/gst-typefind.c: (main):
31730 Added doc about clock.
31731 removed gst_bin_iterate_recurse_up(), marked methods
31733 Fix more testsuites.
31735 2005-03-09 Wim Taymans <wim@fluendo.com>
31737 * gst/gstpad.c: (gst_pad_get_direction),
31738 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31739 (gst_pad_collect_valist):
31740 * testsuite/bins/interface.c: (main):
31741 * testsuite/caps/audioscale.c: (test_caps):
31742 * testsuite/caps/caps.c: (test1), (test2), (test3):
31743 * testsuite/caps/deserialize.c: (main):
31744 * testsuite/caps/enumcaps.c: (main):
31745 * testsuite/caps/filtercaps.c: (main):
31746 * testsuite/caps/intersect2.c: (main):
31747 * testsuite/caps/random.c: (main):
31748 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31749 * testsuite/caps/sets.c: (check_caps):
31750 * testsuite/caps/simplify.c: (check_caps), (main):
31751 * testsuite/caps/subtract.c: (check_caps):
31752 Fix _pad_get_direction wrt ghostpads.
31753 Fix caps testsuite.
31755 2005-03-09 Wim Taymans <wim@fluendo.com>
31757 * check/Makefile.am:
31758 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31759 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31760 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31761 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31762 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31763 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31764 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31765 (bin_element_is_sink), (gst_bin_iterate_sinks),
31766 (gst_bin_iterate_all_by_interface):
31768 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31769 (gst_element_change_state), (gst_element_dispose),
31770 (gst_element_finalize), (gst_element_set_loop_function):
31771 * gst/gstelement.h:
31772 * gst/gstiterator.c: (find_custom_fold_func):
31773 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31774 (gst_pad_collectv), (gst_pad_collect_valist),
31775 (gst_pad_template_new):
31776 * gst/gstpipeline.c: (gst_pipeline_class_init),
31777 (gst_pipeline_dispose), (gst_pipeline_set_property),
31778 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31779 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31780 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31782 * gst/schedulers/entryscheduler.c:
31783 * gst/schedulers/gstbasicscheduler.c:
31784 (gst_basic_scheduler_cothreaded_chain),
31785 (gst_basic_scheduler_chain_add_element):
31786 * testsuite/bins/interface.c: (main):
31788 Added GstSystemClock test.
31789 Implemented clock distribution code in GstBin.
31790 Implemented iterate sinks method for future use.
31791 Rearranged gstelement.h
31792 Fix GstIterator comparison bug.
31793 Moved some code to GstPipeline, mostly clocking related.
31795 2005-03-09 Wim Taymans <wim@fluendo.com>
31798 * gst/gst_private.h:
31799 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31800 (gst_bin_remove_func), (gst_bin_remove),
31801 (gst_bin_get_by_name_recurse_up):
31802 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31803 (gst_clock_id_compare_func), (gst_clock_id_wait),
31804 (gst_clock_id_wait_async), (gst_clock_init),
31805 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31806 * gst/gstelement.h:
31807 * gst/gstinfo.c: (_gst_debug_init):
31809 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31810 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31812 Bump version number, we're now 0.9.0
31813 Add future debugging category.
31814 Fix NULL _unref() in _get_by_name_recurse_up
31815 Rearrange gstpad.h.
31818 2005-03-08 Wim Taymans <wim@fluendo.com>
31820 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31821 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31822 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31823 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31824 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31825 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31826 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31827 * gst/elements/gstidentity.c: (gst_identity_class_init):
31828 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31829 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31830 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31831 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31832 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31834 * gst/gstelement.c: (gst_element_class_init),
31835 (gst_element_base_class_init), (gst_element_init),
31836 (gst_element_get_random_pad), (gst_element_wait_state_change),
31837 (gst_element_change_state), (gst_element_dispose),
31838 (gst_element_finalize), (gst_element_set_loop_function):
31839 * gst/gstelement.h:
31840 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31841 * gst/gstthread.c: (gst_thread_class_init),
31842 (gst_thread_release_children_locks), (gst_thread_change_state):
31843 * gst/schedulers/gstbasicscheduler.c:
31844 (gst_basic_scheduler_loopfunc_wrapper),
31845 (gst_basic_scheduler_chain_wrapper),
31846 (gst_basic_scheduler_src_wrapper),
31847 (gst_basic_scheduler_remove_element):
31848 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31849 Remove threadsafe properties. Fix elements because GObject
31850 complains when installing a property before declaring a
31851 set/get_property handler.
31852 Rearrange gstelement.h file, use STATE macros for state locks.
31853 Free mutexes in the finalize method instead of dispose.
31855 2005-03-08 Wim Taymans <wim@fluendo.com>
31857 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31858 * gst/gstthread.c: (gst_thread_release_children_locks):
31859 Added parentage check.
31860 Fix build og GstThread again.
31862 2005-03-08 Wim Taymans <wim@fluendo.com>
31864 * docs/design/part-MT-refcounting.txt:
31865 * docs/design/part-conventions.txt:
31866 * docs/design/part-gstobject.txt:
31867 * docs/design/part-relations.txt:
31868 * docs/design/part-standards.txt:
31869 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31870 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31871 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31872 (gst_bin_iterate_all_by_interface):
31875 * gst/gstelement.c: (gst_element_class_init),
31876 (gst_element_change_state), (gst_element_set_loop_function):
31877 * gst/gstelement.h:
31878 * gst/gstiterator.c:
31879 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31880 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31881 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31882 (gst_object_set_parent), (gst_object_unparent),
31883 (gst_object_check_uniqueness):
31885 Docs updates, clean up some headers.
31887 2005-03-07 Wim Taymans <wim@fluendo.com>
31889 * check/.cvsignore:
31890 * check/Makefile.am:
31891 * check/gst-libs/.cvsignore:
31892 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31893 * check/gst/.cvsignore:
31894 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31895 (START_TEST), (gstbus_suite), (main):
31896 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31897 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31898 (gst_data_suite), (main):
31899 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31900 (add_fold_func), (gstiterator_suite), (main):
31901 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31902 (thread_name_object), (thread_name_object_default),
31903 (gst_object_name_compare), (gst_object_suite), (main):
31904 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31905 (gst_pad_suite), (main):
31906 * check/gstcheck.c: (gst_check_log_message_func),
31907 (gst_check_log_critical_func), (gst_check_init):
31908 * check/gstcheck.h:
31909 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31910 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31913 2005-03-07 Wim Taymans <wim@fluendo.com>
31915 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31916 (gst_list_iterator_next), (gst_list_iterator_resync),
31917 (gst_list_iterator_free), (gst_iterator_new_list),
31918 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31919 (gst_iterator_free), (gst_iterator_push), (filter_next),
31920 (filter_resync), (filter_uninit), (filter_free),
31921 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31922 (gst_iterator_foreach), (find_custom_fold_func),
31923 (gst_iterator_find_custom):
31924 * gst/gstiterator.h:
31925 Added missing files.
31927 2005-03-07 Wim Taymans <wim@fluendo.com>
31931 * docs/design/part-MT-refcounting.txt:
31932 * docs/design/part-conventions.txt:
31933 * docs/design/part-gstobject.txt:
31934 * docs/design/part-relations.txt:
31935 * examples/mixer/mixer.c: (main):
31936 * examples/thread/thread.c: (eos), (main):
31938 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31939 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31940 (gst_spider_plug_from_srcpad):
31941 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31942 (gst_spider_identity_change_state),
31943 (gst_spider_identity_sink_loop_type_finding):
31944 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31945 * gst/elements/gstidentity.c: (gst_identity_init):
31946 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31947 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31948 * gst/elements/gsttypefindelement.c: (free_entry):
31951 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31952 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31953 (gst_bin_set_index), (gst_bin_set_element_sched),
31954 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31955 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31956 (gst_bin_iterate_elements), (iterate_child_recurse),
31957 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31958 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31959 (compare_interface), (gst_bin_get_by_interface),
31960 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31962 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31963 (gst_buffer_default_free), (gst_buffer_default_copy),
31964 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31965 (gst_buffer_create_sub):
31967 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31968 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31969 (gst_caps_unref), (gst_static_caps_get),
31970 (gst_caps_remove_and_get_structure), (gst_caps_append),
31971 (gst_caps_append_structure), (gst_caps_remove_structure),
31972 (gst_caps_copy_nth), (gst_caps_set_simple),
31973 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31974 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31975 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31976 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31977 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31978 (gst_caps_structure_figure_out_union),
31979 (gst_caps_switch_structures), (gst_caps_do_simplify),
31980 (gst_caps_replace), (gst_caps_from_string),
31981 (gst_caps_copy_conditional):
31983 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31984 (_gst_clock_id_free), (gst_clock_id_unref),
31985 (gst_clock_id_compare_func), (gst_clock_id_wait),
31986 (gst_clock_id_wait_async), (gst_clock_class_init),
31987 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31988 (gst_clock_get_time), (gst_clock_set_time_adjust),
31989 (gst_clock_set_property), (gst_clock_get_property):
31992 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31993 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31995 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31996 (gst_element_requires_clock), (gst_element_provides_clock),
31997 (gst_element_set_clock), (gst_element_clock_wait),
31998 (gst_element_wait), (gst_element_set_time_delay),
31999 (gst_element_is_indexable), (gst_element_add_pad),
32000 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32001 (pad_compare_name), (gst_element_get_static_pad),
32002 (gst_element_request_pad), (gst_element_get_request_pad),
32003 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32004 (gst_element_class_get_pad_template_list),
32005 (gst_element_class_get_pad_template), (gst_element_error_func),
32006 (gst_element_get_random_pad), (gst_element_get_event_masks),
32007 (gst_element_send_event), (gst_element_seek),
32008 (gst_element_get_query_types), (gst_element_query),
32009 (gst_element_get_formats), (gst_element_convert),
32010 (gst_element_is_locked_state), (gst_element_set_locked_state),
32011 (gst_element_sync_state_with_parent), (gst_element_change_state),
32012 (gst_element_finalize), (gst_element_yield),
32013 (gst_element_interrupt), (gst_element_set_scheduler),
32014 (gst_element_get_scheduler), (gst_element_set_loop_function):
32015 * gst/gstelement.h:
32017 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32018 (gst_format_get_by_nick), (gst_format_get_details),
32019 (gst_format_iterate_definitions):
32021 * gst/gstindex.c: (gst_index_gtype_resolver):
32024 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32025 (gst_mem_chunk_free):
32026 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32027 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32028 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32029 (gst_object_dispatch_properties_changed),
32030 (gst_object_set_name_default), (gst_object_set_name),
32031 (gst_object_get_name), (gst_object_set_name_prefix),
32032 (gst_object_get_name_prefix), (gst_object_set_parent),
32033 (gst_object_get_parent), (gst_object_unparent),
32034 (gst_object_check_uniqueness), (gst_object_save_thyself),
32035 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32036 (gst_object_set_property), (gst_object_get_property),
32037 (gst_object_get_path_string):
32039 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32040 (gst_real_pad_init), (gst_real_pad_get_property),
32041 (gst_pad_custom_new), (gst_pad_get_direction),
32042 (gst_pad_set_active), (gst_pad_is_active),
32043 (gst_pad_set_event_function), (gst_pad_is_linked),
32044 (gst_pad_link_free), (gst_pad_link_intersect),
32045 (gst_pad_link_fixate), (gst_pad_set_caps),
32046 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32047 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32048 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32049 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32050 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32051 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32052 (gst_pad_realize), (gst_pad_get_allowed_caps),
32053 (gst_real_pad_dispose), (gst_real_pad_finalize),
32054 (gst_pad_collectv), (gst_pad_collect_valist),
32055 (gst_pad_template_dispose), (gst_pad_template_new),
32056 (gst_pad_get_internal_links):
32058 * gst/gstpipeline.c: (gst_pipeline_dispose),
32059 (gst_pipeline_change_state):
32060 * gst/gstpipeline.h:
32062 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32063 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32064 * gst/gstpluginfeature.h:
32065 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32066 * gst/gstquery.c: (_gst_query_type_initialize),
32067 (gst_query_type_register), (gst_query_type_get_by_nick),
32068 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32070 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32071 * gst/gstscheduler.c: (gst_scheduler_add_element),
32072 (gst_scheduler_factory_create):
32073 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32074 (gst_structure_free), (gst_structure_set_name),
32075 (gst_structure_id_set_value), (gst_structure_set_value),
32076 (gst_structure_set_valist), (gst_structure_remove_field),
32077 (gst_structure_remove_fields),
32078 (gst_structure_remove_fields_valist),
32079 (gst_structure_remove_all_fields), (gst_structure_foreach),
32080 (gst_structure_map_in_place),
32081 (gst_caps_structure_fixate_field_nearest_int),
32082 (gst_caps_structure_fixate_field_nearest_double):
32083 * gst/gststructure.h:
32084 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32085 (gst_system_clock_init), (gst_system_clock_dispose),
32086 (gst_system_clock_async_thread),
32087 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32088 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32089 * gst/gstsystemclock.h:
32090 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32091 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32092 * gst/gsttaginterface.c:
32093 * gst/gstthread.c: (gst_thread_dispose),
32094 (gst_thread_release_children_locks), (gst_thread_change_state),
32095 (gst_thread_main_loop):
32096 * gst/gsttrashstack.h:
32097 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32099 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32100 (gst_element_request_pad), (gst_element_get_pad_from_template),
32101 (gst_element_request_compatible_pad),
32102 (gst_element_get_compatible_pad_filtered),
32103 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32104 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32105 (gst_element_link_many), (gst_element_link),
32106 (gst_element_link_pads), (gst_element_unlink_pads),
32107 (gst_element_unlink_many), (gst_element_unlink),
32108 (gst_pad_can_link_filtered), (gst_pad_can_link),
32109 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32110 (gst_object_default_error), (gst_bin_add_many),
32111 (gst_bin_remove_many), (gst_element_populate_std_props),
32112 (gst_element_class_install_std_props), (gst_buffer_merge),
32113 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32114 (link_fold_func), (gst_pad_proxy_setcaps):
32116 * gst/gstvalue.c: (gst_value_deserialize_string):
32117 * gst/parse/grammar.y:
32118 * gst/schedulers/gstbasicscheduler.c:
32119 (gst_basic_scheduler_cothreaded_chain),
32120 (gst_basic_scheduler_chain_recursive_add),
32121 (gst_basic_scheduler_pad_link):
32122 * gst/schedulers/gstoptimalscheduler.c:
32123 (get_group_schedule_function),
32124 (gst_opt_scheduler_state_transition),
32125 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32126 * libs/gst/bytestream/bytestream.c:
32127 * libs/gst/dataprotocol/dataprotocol.c:
32128 (gst_dp_header_from_buffer):
32131 * tests/threadstate/threadstate2.c: (eos):
32132 * tools/gst-compprep.c: (main):
32133 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32134 (print_pad_info), (print_children_info):
32135 * tools/gst-launch.c: (idle_func), (main):
32136 * tools/gst-md5sum.c: (idle_func), (main):
32137 * tools/gst-xmlinspect.c: (print_element_info):
32138 First THREADED backport attempt, focusing on adding locks and
32139 making sure the API is threadsafe. Needs more work. More docs
32142 2005-02-24 Andy Wingo <wingo@pobox.com>
32144 * tests/bench-complexity.scm:
32145 * tests/complexity.gnuplot: New files, good for running complexity
32148 * tests/Makefile.am:
32149 * tests/complexity.c: New test, sets up N elements, at each level
32150 teeing into M streams per element. Eeeenteresting.
32152 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32153 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32154 running bench-mass_elements.scm.
32156 * tests/bench-mass_elements.scm: New script, runs mass_elements
32157 for various numbers of identities, outputting the results to a
32158 file. Requires guile 1.6. Just for testing.
32160 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32162 * gst/schedulers/fairscheduler.c:
32163 compile with debug disabled
32165 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32168 hunting season on 0.9 is now OPEN